@eric-emg/symphiq-components 1.2.464 → 1.2.467
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.
- package/fesm2022/symphiq-components.mjs +513 -378
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +23 -15
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/styles.css +6 -0
|
@@ -45566,36 +45566,51 @@ 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_0_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
45570
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
45571
|
+
i0.ɵɵtext(1);
|
|
45572
|
+
i0.ɵɵelementEnd();
|
|
45573
|
+
} if (rf & 2) {
|
|
45574
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
45575
|
+
i0.ɵɵproperty("ngClass", ctx_r0.isLightMode() ? "text-slate-500" : "text-slate-400");
|
|
45576
|
+
i0.ɵɵadvance();
|
|
45577
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.progressMessage(), " ");
|
|
45578
|
+
} }
|
|
45569
45579
|
function ContentGenerationProgressComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
45570
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 2);
|
|
45571
|
-
i0.ɵɵelement(
|
|
45572
|
-
i0.ɵɵelementStart(
|
|
45573
|
-
i0.ɵɵtext(
|
|
45574
|
-
i0.ɵɵelementEnd()();
|
|
45575
|
-
i0.ɵɵelementStart(5, "div", 5)(6, "div", 6);
|
|
45576
|
-
i0.ɵɵelement(7, "div", 7);
|
|
45580
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 2)(2, "div", 3);
|
|
45581
|
+
i0.ɵɵelement(3, "div", 4);
|
|
45582
|
+
i0.ɵɵelementStart(4, "span", 5);
|
|
45583
|
+
i0.ɵɵtext(5);
|
|
45577
45584
|
i0.ɵɵelementEnd()();
|
|
45578
|
-
i0.ɵɵelementStart(
|
|
45579
|
-
i0.ɵɵtext(
|
|
45585
|
+
i0.ɵɵelementStart(6, "span", 6);
|
|
45586
|
+
i0.ɵɵtext(7);
|
|
45580
45587
|
i0.ɵɵelementEnd()();
|
|
45588
|
+
i0.ɵɵelementStart(8, "div", 7);
|
|
45589
|
+
i0.ɵɵelement(9, "div", 8);
|
|
45590
|
+
i0.ɵɵelementEnd();
|
|
45591
|
+
i0.ɵɵconditionalCreate(10, ContentGenerationProgressComponent_Conditional_0_Conditional_10_Template, 2, 2, "div", 9);
|
|
45592
|
+
i0.ɵɵelementEnd();
|
|
45581
45593
|
} if (rf & 2) {
|
|
45582
45594
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
45583
|
-
i0.ɵɵ
|
|
45595
|
+
i0.ɵɵproperty("ngClass", ctx_r0.isLightMode() ? "bg-slate-100/80" : "bg-slate-800/50");
|
|
45596
|
+
i0.ɵɵadvance(4);
|
|
45597
|
+
i0.ɵɵproperty("ngClass", ctx_r0.isLightMode() ? "text-slate-700" : "text-slate-300");
|
|
45598
|
+
i0.ɵɵadvance();
|
|
45599
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.compactTitle() || ctx_r0.progressMessage(), " ");
|
|
45600
|
+
i0.ɵɵadvance();
|
|
45584
45601
|
i0.ɵɵproperty("ngClass", ctx_r0.isLightMode() ? "text-blue-600" : "text-blue-400");
|
|
45585
45602
|
i0.ɵɵadvance();
|
|
45586
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.
|
|
45603
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.progressPercentage(), "% ");
|
|
45587
45604
|
i0.ɵɵadvance();
|
|
45588
45605
|
i0.ɵɵproperty("ngClass", ctx_r0.isLightMode() ? "bg-slate-200" : "bg-slate-700");
|
|
45589
45606
|
i0.ɵɵadvance();
|
|
45590
45607
|
i0.ɵɵstyleProp("width", ctx_r0.progressPercentage(), "%");
|
|
45591
|
-
i0.ɵɵadvance(2);
|
|
45592
|
-
i0.ɵɵproperty("ngClass", ctx_r0.isLightMode() ? "text-slate-500" : "text-slate-400");
|
|
45593
45608
|
i0.ɵɵadvance();
|
|
45594
|
-
i0.ɵɵ
|
|
45609
|
+
i0.ɵɵconditional(ctx_r0.compactTitle() ? 10 : -1);
|
|
45595
45610
|
} }
|
|
45596
45611
|
function ContentGenerationProgressComponent_Conditional_1_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
45597
|
-
i0.ɵɵelementStart(0, "div",
|
|
45598
|
-
i0.ɵɵelement(1, "div",
|
|
45612
|
+
i0.ɵɵelementStart(0, "div", 29);
|
|
45613
|
+
i0.ɵɵelement(1, "div", 30)(2, "div", 31)(3, "div", 32)(4, "div", 33)(5, "div", 34)(6, "div", 35);
|
|
45599
45614
|
i0.ɵɵelementEnd();
|
|
45600
45615
|
} if (rf & 2) {
|
|
45601
45616
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -45614,39 +45629,39 @@ function ContentGenerationProgressComponent_Conditional_1_Conditional_20_Templat
|
|
|
45614
45629
|
i0.ɵɵstyleProp("background-color", ctx_r0.dotColor());
|
|
45615
45630
|
} }
|
|
45616
45631
|
function ContentGenerationProgressComponent_Conditional_1_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
45617
|
-
i0.ɵɵelement(0, "div",
|
|
45632
|
+
i0.ɵɵelement(0, "div", 36);
|
|
45618
45633
|
} if (rf & 2) {
|
|
45619
45634
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
45620
45635
|
i0.ɵɵstyleProp("left", ctx_r0.progressPercentage(), "%");
|
|
45621
45636
|
i0.ɵɵproperty("ngClass", ctx_r0.progressGlowClasses());
|
|
45622
45637
|
} }
|
|
45623
45638
|
function ContentGenerationProgressComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
45624
|
-
i0.ɵɵelementStart(0, "div", 1)(1, "div",
|
|
45639
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 10)(2, "div", 11)(3, "div", 12)(4, "div", 13);
|
|
45625
45640
|
i0.ɵɵnamespaceSVG();
|
|
45626
|
-
i0.ɵɵelementStart(5, "svg",
|
|
45627
|
-
i0.ɵɵelement(6, "path",
|
|
45641
|
+
i0.ɵɵelementStart(5, "svg", 14);
|
|
45642
|
+
i0.ɵɵelement(6, "path", 15);
|
|
45628
45643
|
i0.ɵɵelementEnd();
|
|
45629
45644
|
i0.ɵɵnamespaceHTML();
|
|
45630
|
-
i0.ɵɵelement(7, "div",
|
|
45645
|
+
i0.ɵɵelement(7, "div", 16);
|
|
45631
45646
|
i0.ɵɵelementEnd()();
|
|
45632
|
-
i0.ɵɵelementStart(8, "h2",
|
|
45647
|
+
i0.ɵɵelementStart(8, "h2", 17);
|
|
45633
45648
|
i0.ɵɵtext(9);
|
|
45634
45649
|
i0.ɵɵelementEnd();
|
|
45635
|
-
i0.ɵɵelementStart(10, "p",
|
|
45650
|
+
i0.ɵɵelementStart(10, "p", 18);
|
|
45636
45651
|
i0.ɵɵtext(11);
|
|
45637
45652
|
i0.ɵɵelementEnd()();
|
|
45638
|
-
i0.ɵɵelementStart(12, "div",
|
|
45653
|
+
i0.ɵɵelementStart(12, "div", 19)(13, "div", 20)(14, "p", 21);
|
|
45639
45654
|
i0.ɵɵtext(15);
|
|
45640
45655
|
i0.ɵɵelementEnd()();
|
|
45641
|
-
i0.ɵɵelementStart(16, "div",
|
|
45642
|
-
i0.ɵɵelement(17, "div",
|
|
45643
|
-
i0.ɵɵelementStart(18, "div",
|
|
45644
|
-
i0.ɵɵelement(19, "div",
|
|
45656
|
+
i0.ɵɵelementStart(16, "div", 22);
|
|
45657
|
+
i0.ɵɵelement(17, "div", 23);
|
|
45658
|
+
i0.ɵɵelementStart(18, "div", 24);
|
|
45659
|
+
i0.ɵɵelement(19, "div", 25);
|
|
45645
45660
|
i0.ɵɵelementEnd();
|
|
45646
|
-
i0.ɵɵconditionalCreate(20, ContentGenerationProgressComponent_Conditional_1_Conditional_20_Template, 7, 14, "div",
|
|
45647
|
-
i0.ɵɵconditionalCreate(21, ContentGenerationProgressComponent_Conditional_1_Conditional_21_Template, 1, 3, "div",
|
|
45661
|
+
i0.ɵɵconditionalCreate(20, ContentGenerationProgressComponent_Conditional_1_Conditional_20_Template, 7, 14, "div", 26);
|
|
45662
|
+
i0.ɵɵconditionalCreate(21, ContentGenerationProgressComponent_Conditional_1_Conditional_21_Template, 1, 3, "div", 27);
|
|
45648
45663
|
i0.ɵɵelementEnd();
|
|
45649
|
-
i0.ɵɵelementStart(22, "div",
|
|
45664
|
+
i0.ɵɵelementStart(22, "div", 20)(23, "span", 28);
|
|
45650
45665
|
i0.ɵɵtext(24);
|
|
45651
45666
|
i0.ɵɵelementEnd()()()()();
|
|
45652
45667
|
} if (rf & 2) {
|
|
@@ -45690,6 +45705,7 @@ class ContentGenerationProgressComponent {
|
|
|
45690
45705
|
this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
|
|
45691
45706
|
this.showIcon = input(true, ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
|
|
45692
45707
|
this.compact = input(false, ...(ngDevMode ? [{ debugName: "compact" }] : []));
|
|
45708
|
+
this.compactTitle = input('', ...(ngDevMode ? [{ debugName: "compactTitle" }] : []));
|
|
45693
45709
|
this.progressPercentage = computed(() => {
|
|
45694
45710
|
const status = this.itemStatus();
|
|
45695
45711
|
if (!status?.percentageComplete) {
|
|
@@ -45763,8 +45779,8 @@ class ContentGenerationProgressComponent {
|
|
|
45763
45779
|
}, ...(ngDevMode ? [{ debugName: "percentageClasses" }] : []));
|
|
45764
45780
|
}
|
|
45765
45781
|
static { this.ɵfac = function ContentGenerationProgressComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ContentGenerationProgressComponent)(); }; }
|
|
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", "
|
|
45767
|
-
i0.ɵɵconditionalCreate(0, ContentGenerationProgressComponent_Conditional_0_Template,
|
|
45782
|
+
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"], compactTitle: [1, "compactTitle"] }, decls: 2, vars: 1, consts: [[1, "w-full", "rounded-lg", "p-3", 3, "ngClass"], [1, "min-h-[60vh]", "flex", "items-center", "justify-center", "px-4", "py-12", 3, "ngClass"], [1, "flex", "items-center", "justify-between", "gap-3", "mb-2"], [1, "flex", "items-center", "gap-2", "min-w-0"], [1, "animate-spin", "w-3.5", "h-3.5", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full", "flex-shrink-0"], [1, "text-xs", "font-semibold", "truncate", 3, "ngClass"], [1, "text-xs", "font-medium", "tabular-nums", "flex-shrink-0", 3, "ngClass"], [1, "w-full", "h-1.5", "rounded-full", "relative", 3, "ngClass"], [1, "h-full", "bg-gradient-to-r", "from-blue-500", "to-cyan-500", "rounded-full", "transition-all", "duration-500"], [1, "mt-1.5", "text-xs", "truncate", 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) {
|
|
45783
|
+
i0.ɵɵconditionalCreate(0, ContentGenerationProgressComponent_Conditional_0_Template, 11, 9, "div", 0)(1, ContentGenerationProgressComponent_Conditional_1_Template, 25, 17, "div", 1);
|
|
45768
45784
|
} if (rf & 2) {
|
|
45769
45785
|
i0.ɵɵconditional(ctx.compact() ? 0 : 1);
|
|
45770
45786
|
} }, 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 }); }
|
|
@@ -45773,23 +45789,29 @@ class ContentGenerationProgressComponent {
|
|
|
45773
45789
|
type: Component,
|
|
45774
45790
|
args: [{ selector: 'symphiq-content-generation-progress', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
45775
45791
|
@if (compact()) {
|
|
45776
|
-
<div class="w-full
|
|
45777
|
-
<div class="flex items-center gap-2">
|
|
45778
|
-
<div class="
|
|
45779
|
-
|
|
45780
|
-
|
|
45792
|
+
<div class="w-full rounded-lg p-3" [ngClass]="isLightMode() ? 'bg-slate-100/80' : 'bg-slate-800/50'">
|
|
45793
|
+
<div class="flex items-center justify-between gap-3 mb-2">
|
|
45794
|
+
<div class="flex items-center gap-2 min-w-0">
|
|
45795
|
+
<div class="animate-spin w-3.5 h-3.5 border-2 border-blue-500/30 border-t-blue-500 rounded-full flex-shrink-0"></div>
|
|
45796
|
+
<span class="text-xs font-semibold truncate" [ngClass]="isLightMode() ? 'text-slate-700' : 'text-slate-300'">
|
|
45797
|
+
{{ compactTitle() || progressMessage() }}
|
|
45798
|
+
</span>
|
|
45799
|
+
</div>
|
|
45800
|
+
<span class="text-xs font-medium tabular-nums flex-shrink-0" [ngClass]="isLightMode() ? 'text-blue-600' : 'text-blue-400'">
|
|
45801
|
+
{{ progressPercentage() }}%
|
|
45781
45802
|
</span>
|
|
45782
45803
|
</div>
|
|
45783
|
-
<div class="w-full h-
|
|
45804
|
+
<div class="w-full h-1.5 rounded-full relative" [ngClass]="isLightMode() ? 'bg-slate-200' : 'bg-slate-700'">
|
|
45784
45805
|
<div
|
|
45785
|
-
class="h-full bg-gradient-to-r from-blue-500 to-cyan-500 rounded-full transition-all duration-500
|
|
45806
|
+
class="h-full bg-gradient-to-r from-blue-500 to-cyan-500 rounded-full transition-all duration-500"
|
|
45786
45807
|
[style.width.%]="progressPercentage()">
|
|
45787
|
-
<div class="absolute inset-0 shimmer-effect"></div>
|
|
45788
45808
|
</div>
|
|
45789
45809
|
</div>
|
|
45790
|
-
|
|
45791
|
-
|
|
45792
|
-
|
|
45810
|
+
@if (compactTitle()) {
|
|
45811
|
+
<div class="mt-1.5 text-xs truncate" [ngClass]="isLightMode() ? 'text-slate-500' : 'text-slate-400'">
|
|
45812
|
+
{{ progressMessage() }}
|
|
45813
|
+
</div>
|
|
45814
|
+
}
|
|
45793
45815
|
</div>
|
|
45794
45816
|
} @else {
|
|
45795
45817
|
<div [ngClass]="containerClasses()" class="min-h-[60vh] flex items-center justify-center px-4 py-12">
|
|
@@ -45864,8 +45886,8 @@ class ContentGenerationProgressComponent {
|
|
|
45864
45886
|
</div>
|
|
45865
45887
|
}
|
|
45866
45888
|
`, 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"] }]
|
|
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:
|
|
45889
|
+
}], 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 }] }], compactTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "compactTitle", required: false }] }] }); })();
|
|
45890
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContentGenerationProgressComponent, { className: "ContentGenerationProgressComponent", filePath: "lib/components/shared/content-generation-progress.component.ts", lineNumber: 239 }); })();
|
|
45869
45891
|
|
|
45870
45892
|
class ContentGenerationProgressWithConfettiComponent {
|
|
45871
45893
|
constructor() {
|
|
@@ -89052,18 +89074,29 @@ class ProfileAnswerAnimationService {
|
|
|
89052
89074
|
}], null, null); })();
|
|
89053
89075
|
|
|
89054
89076
|
const _forTrack0$9 = ($index, $item) => $item.answer.id;
|
|
89055
|
-
function
|
|
89056
|
-
i0.ɵɵelementStart(0, "div",
|
|
89077
|
+
function ProfileQuestionCardComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
89078
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "span", 15);
|
|
89079
|
+
i0.ɵɵtext(2);
|
|
89080
|
+
i0.ɵɵelementEnd()();
|
|
89081
|
+
} if (rf & 2) {
|
|
89082
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
89083
|
+
i0.ɵɵadvance();
|
|
89084
|
+
i0.ɵɵproperty("ngClass", ctx_r0.categoryBreadcrumbClasses());
|
|
89085
|
+
i0.ɵɵadvance();
|
|
89086
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.formattedCategoryName(), " ");
|
|
89087
|
+
} }
|
|
89088
|
+
function ProfileQuestionCardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
89089
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
89057
89090
|
i0.ɵɵnamespaceSVG();
|
|
89058
|
-
i0.ɵɵelementStart(1, "svg",
|
|
89059
|
-
i0.ɵɵelement(2, "path",
|
|
89091
|
+
i0.ɵɵelementStart(1, "svg", 13);
|
|
89092
|
+
i0.ɵɵelement(2, "path", 16);
|
|
89060
89093
|
i0.ɵɵelementEnd()();
|
|
89061
89094
|
} if (rf & 2) {
|
|
89062
89095
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
89063
89096
|
i0.ɵɵproperty("ngClass", ctx_r0.checkboxClasses());
|
|
89064
89097
|
} }
|
|
89065
|
-
function
|
|
89066
|
-
i0.ɵɵelementStart(0, "p",
|
|
89098
|
+
function ProfileQuestionCardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
89099
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
89067
89100
|
i0.ɵɵtext(1);
|
|
89068
89101
|
i0.ɵɵelementEnd();
|
|
89069
89102
|
} if (rf & 2) {
|
|
@@ -89072,8 +89105,8 @@ function ProfileQuestionCardComponent_Conditional_6_Template(rf, ctx) { if (rf &
|
|
|
89072
89105
|
i0.ɵɵadvance();
|
|
89073
89106
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.question().context, " ");
|
|
89074
89107
|
} }
|
|
89075
|
-
function
|
|
89076
|
-
i0.ɵɵelementStart(0, "span",
|
|
89108
|
+
function ProfileQuestionCardComponent_Conditional_8_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
89109
|
+
i0.ɵɵelementStart(0, "span", 20);
|
|
89077
89110
|
i0.ɵɵtext(1);
|
|
89078
89111
|
i0.ɵɵelementEnd();
|
|
89079
89112
|
} if (rf & 2) {
|
|
@@ -89083,12 +89116,12 @@ function ProfileQuestionCardComponent_Conditional_7_For_6_Template(rf, ctx) { if
|
|
|
89083
89116
|
i0.ɵɵadvance();
|
|
89084
89117
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.getFocusAreaTitle(focusArea_r2), " ");
|
|
89085
89118
|
} }
|
|
89086
|
-
function
|
|
89087
|
-
i0.ɵɵelementStart(0, "div",
|
|
89119
|
+
function ProfileQuestionCardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
89120
|
+
i0.ɵɵelementStart(0, "div", 7)(1, "div", 17)(2, "span", 18);
|
|
89088
89121
|
i0.ɵɵtext(3);
|
|
89089
89122
|
i0.ɵɵelementEnd()();
|
|
89090
|
-
i0.ɵɵelementStart(4, "div",
|
|
89091
|
-
i0.ɵɵrepeaterCreate(5,
|
|
89123
|
+
i0.ɵɵelementStart(4, "div", 19);
|
|
89124
|
+
i0.ɵɵrepeaterCreate(5, ProfileQuestionCardComponent_Conditional_8_For_6_Template, 2, 2, "span", 20, i0.ɵɵrepeaterTrackByIdentity);
|
|
89092
89125
|
i0.ɵɵelementEnd()();
|
|
89093
89126
|
} if (rf & 2) {
|
|
89094
89127
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -89099,16 +89132,16 @@ function ProfileQuestionCardComponent_Conditional_7_Template(rf, ctx) { if (rf &
|
|
|
89099
89132
|
i0.ɵɵadvance(2);
|
|
89100
89133
|
i0.ɵɵrepeater(ctx_r0.relatedFocusAreas());
|
|
89101
89134
|
} }
|
|
89102
|
-
function
|
|
89135
|
+
function ProfileQuestionCardComponent_Conditional_9_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
89103
89136
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
89104
|
-
i0.ɵɵelementStart(0, "div",
|
|
89105
|
-
i0.ɵɵlistener("animationend", function
|
|
89106
|
-
i0.ɵɵelementStart(1, "span",
|
|
89137
|
+
i0.ɵɵelementStart(0, "div", 21);
|
|
89138
|
+
i0.ɵɵlistener("animationend", function ProfileQuestionCardComponent_Conditional_9_For_2_Template_div_animationend_0_listener() { const answerData_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onAnimationEnd(answerData_r4.answer.id)); });
|
|
89139
|
+
i0.ɵɵelementStart(1, "span", 22);
|
|
89107
89140
|
i0.ɵɵtext(2);
|
|
89108
89141
|
i0.ɵɵelementEnd();
|
|
89109
|
-
i0.ɵɵelement(3, "symphiq-user-avatar",
|
|
89142
|
+
i0.ɵɵelement(3, "symphiq-user-avatar", 23);
|
|
89110
89143
|
i0.ɵɵelementEnd();
|
|
89111
|
-
i0.ɵɵelementStart(4, "div",
|
|
89144
|
+
i0.ɵɵelementStart(4, "div", 24);
|
|
89112
89145
|
i0.ɵɵtext(5);
|
|
89113
89146
|
i0.ɵɵelementEnd();
|
|
89114
89147
|
} if (rf & 2) {
|
|
@@ -89127,28 +89160,28 @@ function ProfileQuestionCardComponent_Conditional_8_For_2_Template(rf, ctx) { if
|
|
|
89127
89160
|
i0.ɵɵadvance();
|
|
89128
89161
|
i0.ɵɵtextInterpolate1(" Answered ", ctx_r0.formatAnswerDate(answerData_r4.answer.createdDate), " ");
|
|
89129
89162
|
} }
|
|
89130
|
-
function
|
|
89131
|
-
i0.ɵɵelementStart(0, "div",
|
|
89132
|
-
i0.ɵɵrepeaterCreate(1,
|
|
89163
|
+
function ProfileQuestionCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
89164
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
89165
|
+
i0.ɵɵrepeaterCreate(1, ProfileQuestionCardComponent_Conditional_9_For_2_Template, 6, 11, null, null, _forTrack0$9);
|
|
89133
89166
|
i0.ɵɵelementEnd();
|
|
89134
89167
|
} if (rf & 2) {
|
|
89135
89168
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
89136
89169
|
i0.ɵɵadvance();
|
|
89137
89170
|
i0.ɵɵrepeater(ctx_r0.displayAnswers());
|
|
89138
89171
|
} }
|
|
89139
|
-
function
|
|
89140
|
-
i0.ɵɵelementStart(0, "div",
|
|
89172
|
+
function ProfileQuestionCardComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
89173
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 25)(2, "div", 26);
|
|
89141
89174
|
i0.ɵɵnamespaceSVG();
|
|
89142
|
-
i0.ɵɵelementStart(3, "svg",
|
|
89143
|
-
i0.ɵɵelement(4, "path",
|
|
89175
|
+
i0.ɵɵelementStart(3, "svg", 27);
|
|
89176
|
+
i0.ɵɵelement(4, "path", 28);
|
|
89144
89177
|
i0.ɵɵelementEnd();
|
|
89145
89178
|
i0.ɵɵnamespaceHTML();
|
|
89146
|
-
i0.ɵɵelement(5, "div",
|
|
89179
|
+
i0.ɵɵelement(5, "div", 29);
|
|
89147
89180
|
i0.ɵɵelementEnd();
|
|
89148
|
-
i0.ɵɵelementStart(6, "div")(7, "div",
|
|
89181
|
+
i0.ɵɵelementStart(6, "div")(7, "div", 30);
|
|
89149
89182
|
i0.ɵɵtext(8, " Not answered yet ");
|
|
89150
89183
|
i0.ɵɵelementEnd();
|
|
89151
|
-
i0.ɵɵelementStart(9, "div",
|
|
89184
|
+
i0.ɵɵelementStart(9, "div", 31);
|
|
89152
89185
|
i0.ɵɵtext(10, " Click the button below to provide your answer ");
|
|
89153
89186
|
i0.ɵɵelementEnd()()()();
|
|
89154
89187
|
} if (rf & 2) {
|
|
@@ -89165,13 +89198,13 @@ function ProfileQuestionCardComponent_Conditional_9_Template(rf, ctx) { if (rf &
|
|
|
89165
89198
|
i0.ɵɵadvance(2);
|
|
89166
89199
|
i0.ɵɵproperty("ngClass", ctx_r0.unansweredTextClasses());
|
|
89167
89200
|
} }
|
|
89168
|
-
function
|
|
89201
|
+
function ProfileQuestionCardComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
89169
89202
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
89170
|
-
i0.ɵɵelementStart(0, "button",
|
|
89171
|
-
i0.ɵɵlistener("click", function
|
|
89203
|
+
i0.ɵɵelementStart(0, "button", 32);
|
|
89204
|
+
i0.ɵɵlistener("click", function ProfileQuestionCardComponent_Conditional_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onHistoryClick()); });
|
|
89172
89205
|
i0.ɵɵnamespaceSVG();
|
|
89173
|
-
i0.ɵɵelementStart(1, "svg",
|
|
89174
|
-
i0.ɵɵelement(2, "path",
|
|
89206
|
+
i0.ɵɵelementStart(1, "svg", 13);
|
|
89207
|
+
i0.ɵɵelement(2, "path", 33);
|
|
89175
89208
|
i0.ɵɵelementEnd();
|
|
89176
89209
|
i0.ɵɵnamespaceHTML();
|
|
89177
89210
|
i0.ɵɵelementStart(3, "span");
|
|
@@ -89181,7 +89214,7 @@ function ProfileQuestionCardComponent_Conditional_11_Template(rf, ctx) { if (rf
|
|
|
89181
89214
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
89182
89215
|
i0.ɵɵproperty("ngClass", ctx_r0.historyButtonClasses());
|
|
89183
89216
|
} }
|
|
89184
|
-
function
|
|
89217
|
+
function ProfileQuestionCardComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
89185
89218
|
i0.ɵɵelement(0, "div");
|
|
89186
89219
|
} }
|
|
89187
89220
|
class ProfileQuestionCardComponent {
|
|
@@ -89194,6 +89227,7 @@ class ProfileQuestionCardComponent {
|
|
|
89194
89227
|
this.profileAnswerHistories = input([], ...(ngDevMode ? [{ debugName: "profileAnswerHistories" }] : []));
|
|
89195
89228
|
this.users = input([], ...(ngDevMode ? [{ debugName: "users" }] : []));
|
|
89196
89229
|
this.showFocusAreaChips = input(false, ...(ngDevMode ? [{ debugName: "showFocusAreaChips" }] : []));
|
|
89230
|
+
this.categoryNameFormatter = input(null, ...(ngDevMode ? [{ debugName: "categoryNameFormatter" }] : []));
|
|
89197
89231
|
this.answerClick = output();
|
|
89198
89232
|
this.historyClick = output();
|
|
89199
89233
|
this.questionAnswers = computed(() => {
|
|
@@ -89230,6 +89264,18 @@ class ProfileQuestionCardComponent {
|
|
|
89230
89264
|
const q = this.question();
|
|
89231
89265
|
return 'focusAreaDomains' in q ? (q.focusAreaDomains || []) : [];
|
|
89232
89266
|
}, ...(ngDevMode ? [{ debugName: "relatedFocusAreas" }] : []));
|
|
89267
|
+
this.showCategoryBreadcrumb = computed(() => {
|
|
89268
|
+
const q = this.question();
|
|
89269
|
+
return this.viewType() === 'all' && 'category' in q && q.category;
|
|
89270
|
+
}, ...(ngDevMode ? [{ debugName: "showCategoryBreadcrumb" }] : []));
|
|
89271
|
+
this.formattedCategoryName = computed(() => {
|
|
89272
|
+
const q = this.question();
|
|
89273
|
+
const category = 'category' in q ? q.category : null;
|
|
89274
|
+
if (!category)
|
|
89275
|
+
return '';
|
|
89276
|
+
const formatter = this.categoryNameFormatter();
|
|
89277
|
+
return formatter ? formatter(category) : category;
|
|
89278
|
+
}, ...(ngDevMode ? [{ debugName: "formattedCategoryName" }] : []));
|
|
89233
89279
|
this.hasHistory = computed(() => {
|
|
89234
89280
|
const q = this.question();
|
|
89235
89281
|
const histories = this.profileAnswerHistories();
|
|
@@ -89281,6 +89327,11 @@ class ProfileQuestionCardComponent {
|
|
|
89281
89327
|
? 'bg-white border-slate-200 hover:border-slate-300 hover:shadow-lg'
|
|
89282
89328
|
: 'bg-slate-800/50 border-slate-700/50 hover:border-slate-600/70 hover:shadow-xl hover:shadow-slate-900/30';
|
|
89283
89329
|
}
|
|
89330
|
+
categoryBreadcrumbClasses() {
|
|
89331
|
+
return this.isLightMode()
|
|
89332
|
+
? 'text-blue-600'
|
|
89333
|
+
: 'text-blue-400';
|
|
89334
|
+
}
|
|
89284
89335
|
questionTextClasses() {
|
|
89285
89336
|
return this.isLightMode()
|
|
89286
89337
|
? 'text-slate-900'
|
|
@@ -89368,42 +89419,46 @@ class ProfileQuestionCardComponent {
|
|
|
89368
89419
|
: 'bg-gradient-to-r from-blue-500 to-cyan-500 hover:from-blue-600 hover:to-cyan-600 text-white shadow-lg shadow-blue-500/20';
|
|
89369
89420
|
}
|
|
89370
89421
|
static { this.ɵfac = function ProfileQuestionCardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProfileQuestionCardComponent)(); }; }
|
|
89371
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProfileQuestionCardComponent, selectors: [["symphiq-profile-question-card"]], inputs: { question: [1, "question"], viewMode: [1, "viewMode"], viewType: [1, "viewType"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], showFocusAreaChips: [1, "showFocusAreaChips"] }, outputs: { answerClick: "answerClick", historyClick: "historyClick" }, decls:
|
|
89372
|
-
i0.ɵɵelementStart(0, "div", 0)
|
|
89373
|
-
i0.ɵɵ
|
|
89422
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProfileQuestionCardComponent, selectors: [["symphiq-profile-question-card"]], inputs: { question: [1, "question"], viewMode: [1, "viewMode"], viewType: [1, "viewType"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], showFocusAreaChips: [1, "showFocusAreaChips"], categoryNameFormatter: [1, "categoryNameFormatter"] }, outputs: { answerClick: "answerClick", historyClick: "historyClick" }, decls: 19, vars: 11, consts: [[1, "rounded-xl", "border-2", "p-6", "transition-all", "duration-200", 3, "ngClass"], [1, "mb-3"], [1, "flex", "items-start", "gap-3"], [1, "flex-1", "min-w-0"], [1, "text-lg", "font-bold", "mb-2", 3, "ngClass"], [1, "flex-shrink-0", "w-6", "h-6", "rounded", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "text-sm", "leading-relaxed", "mb-4", 3, "ngClass"], [1, "mb-4"], [1, "flex", "flex-wrap", "gap-3"], [1, "rounded-lg", "p-6", "border-2", "border-dashed", "text-center", 3, "ngClass"], [1, "mt-4", "flex", "items-center", "justify-between"], ["type", "button", 1, "px-4", "py-2", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-300", "flex", "items-center", "gap-2", "hover:scale-105", "active:scale-95", 3, "ngClass"], ["type", "button", 1, "px-5", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-300", "flex", "items-center", "gap-2", "hover:scale-105", "active:scale-95", 3, "click", "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 5l7 7-7 7"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M5 13l4 4L19 7"], [1, "mb-2"], [1, "text-xs", "font-semibold", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-2"], [1, "px-3", "py-1.5", "rounded-full", "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "px-4", "py-2.5", "rounded-full", 3, "animationend", "ngClass"], [1, "text-sm", "font-medium", 3, "ngClass"], ["size", "small", 3, "viewMode", "user"], [1, "self-center", "text-xs", "-ml-1", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "gap-3"], [1, "relative", "w-16", "h-16", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-full", "h-full", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "1.5", "d", "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"], [1, "absolute", "top-1", "right-1", "w-3", "h-3", "rounded-full", "border-2", 3, "ngClass"], [1, "text-sm", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-xs", 3, "ngClass"], ["type", "button", 1, "px-4", "py-2", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-300", "flex", "items-center", "gap-2", "hover:scale-105", "active:scale-95", 3, "click", "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"]], template: function ProfileQuestionCardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
89423
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
89424
|
+
i0.ɵɵconditionalCreate(1, ProfileQuestionCardComponent_Conditional_1_Template, 3, 2, "div", 1);
|
|
89425
|
+
i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "h3", 4);
|
|
89426
|
+
i0.ɵɵtext(5);
|
|
89374
89427
|
i0.ɵɵelementEnd()();
|
|
89375
|
-
i0.ɵɵconditionalCreate(
|
|
89376
|
-
i0.ɵɵelementEnd();
|
|
89377
|
-
i0.ɵɵconditionalCreate(
|
|
89378
|
-
i0.ɵɵconditionalCreate(
|
|
89379
|
-
i0.ɵɵconditionalCreate(
|
|
89380
|
-
i0.ɵɵelementStart(
|
|
89381
|
-
i0.ɵɵconditionalCreate(
|
|
89382
|
-
i0.ɵɵelementStart(
|
|
89383
|
-
i0.ɵɵlistener("click", function
|
|
89384
|
-
i0.ɵɵelementStart(
|
|
89385
|
-
i0.ɵɵtext(
|
|
89428
|
+
i0.ɵɵconditionalCreate(6, ProfileQuestionCardComponent_Conditional_6_Template, 3, 1, "div", 5);
|
|
89429
|
+
i0.ɵɵelementEnd();
|
|
89430
|
+
i0.ɵɵconditionalCreate(7, ProfileQuestionCardComponent_Conditional_7_Template, 2, 2, "p", 6);
|
|
89431
|
+
i0.ɵɵconditionalCreate(8, ProfileQuestionCardComponent_Conditional_8_Template, 7, 2, "div", 7);
|
|
89432
|
+
i0.ɵɵconditionalCreate(9, ProfileQuestionCardComponent_Conditional_9_Template, 3, 0, "div", 8)(10, ProfileQuestionCardComponent_Conditional_10_Template, 11, 6, "div", 9);
|
|
89433
|
+
i0.ɵɵelementStart(11, "div", 10);
|
|
89434
|
+
i0.ɵɵconditionalCreate(12, ProfileQuestionCardComponent_Conditional_12_Template, 5, 1, "button", 11)(13, ProfileQuestionCardComponent_Conditional_13_Template, 1, 0, "div");
|
|
89435
|
+
i0.ɵɵelementStart(14, "button", 12);
|
|
89436
|
+
i0.ɵɵlistener("click", function ProfileQuestionCardComponent_Template_button_click_14_listener() { return ctx.onAnswerClick(); });
|
|
89437
|
+
i0.ɵɵelementStart(15, "span");
|
|
89438
|
+
i0.ɵɵtext(16);
|
|
89386
89439
|
i0.ɵɵelementEnd();
|
|
89387
89440
|
i0.ɵɵnamespaceSVG();
|
|
89388
|
-
i0.ɵɵelementStart(
|
|
89389
|
-
i0.ɵɵelement(
|
|
89441
|
+
i0.ɵɵelementStart(17, "svg", 13);
|
|
89442
|
+
i0.ɵɵelement(18, "path", 14);
|
|
89390
89443
|
i0.ɵɵelementEnd()()()();
|
|
89391
89444
|
} if (rf & 2) {
|
|
89392
89445
|
i0.ɵɵproperty("ngClass", ctx.containerClasses());
|
|
89446
|
+
i0.ɵɵadvance();
|
|
89447
|
+
i0.ɵɵconditional(ctx.showCategoryBreadcrumb() ? 1 : -1);
|
|
89393
89448
|
i0.ɵɵadvance(3);
|
|
89394
89449
|
i0.ɵɵproperty("ngClass", ctx.questionTextClasses());
|
|
89395
89450
|
i0.ɵɵadvance();
|
|
89396
89451
|
i0.ɵɵtextInterpolate1(" ", ctx.question().question, " ");
|
|
89397
89452
|
i0.ɵɵadvance();
|
|
89398
|
-
i0.ɵɵconditional(ctx.isAnswered() ?
|
|
89453
|
+
i0.ɵɵconditional(ctx.isAnswered() ? 6 : -1);
|
|
89399
89454
|
i0.ɵɵadvance();
|
|
89400
|
-
i0.ɵɵconditional(ctx.question().context ?
|
|
89455
|
+
i0.ɵɵconditional(ctx.question().context ? 7 : -1);
|
|
89401
89456
|
i0.ɵɵadvance();
|
|
89402
|
-
i0.ɵɵconditional(ctx.showFocusAreaChips() && ctx.relatedFocusAreas().length > 0 ?
|
|
89457
|
+
i0.ɵɵconditional(ctx.showFocusAreaChips() && ctx.relatedFocusAreas().length > 0 ? 8 : -1);
|
|
89403
89458
|
i0.ɵɵadvance();
|
|
89404
|
-
i0.ɵɵconditional(ctx.displayAnswers().length > 0 ?
|
|
89459
|
+
i0.ɵɵconditional(ctx.displayAnswers().length > 0 ? 9 : 10);
|
|
89405
89460
|
i0.ɵɵadvance(3);
|
|
89406
|
-
i0.ɵɵconditional(ctx.hasHistory() ?
|
|
89461
|
+
i0.ɵɵconditional(ctx.hasHistory() ? 12 : 13);
|
|
89407
89462
|
i0.ɵɵadvance(2);
|
|
89408
89463
|
i0.ɵɵproperty("ngClass", ctx.buttonClasses());
|
|
89409
89464
|
i0.ɵɵadvance(2);
|
|
@@ -89414,6 +89469,13 @@ class ProfileQuestionCardComponent {
|
|
|
89414
89469
|
type: Component,
|
|
89415
89470
|
args: [{ selector: 'symphiq-profile-question-card', standalone: true, imports: [CommonModule, UserAvatarComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
89416
89471
|
<div [ngClass]="containerClasses()" class="rounded-xl border-2 p-6 transition-all duration-200">
|
|
89472
|
+
@if (showCategoryBreadcrumb()) {
|
|
89473
|
+
<div class="mb-3">
|
|
89474
|
+
<span [ngClass]="categoryBreadcrumbClasses()" class="text-xs font-semibold uppercase tracking-wider">
|
|
89475
|
+
{{ formattedCategoryName() }}
|
|
89476
|
+
</span>
|
|
89477
|
+
</div>
|
|
89478
|
+
}
|
|
89417
89479
|
<div class="flex items-start gap-3">
|
|
89418
89480
|
<div class="flex-1 min-w-0">
|
|
89419
89481
|
<h3 [ngClass]="questionTextClasses()" class="text-lg font-bold mb-2">
|
|
@@ -89525,8 +89587,8 @@ class ProfileQuestionCardComponent {
|
|
|
89525
89587
|
</div>
|
|
89526
89588
|
</div>
|
|
89527
89589
|
`, styles: ["@keyframes answerPopIn{0%{opacity:0;transform:scale(.8);box-shadow:0 0 #3b82f600}50%{opacity:1;transform:scale(1.05);box-shadow:0 0 20px 4px #3b82f680}to{opacity:1;transform:scale(1);box-shadow:0 0 #3b82f600}}.animate-answer-pop-in{animation:answerPopIn .5s ease-out forwards}@keyframes answerFadeOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}.animate-answer-fade-out{animation:answerFadeOut .4s ease-out forwards}\n"] }]
|
|
89528
|
-
}], null, { question: [{ type: i0.Input, args: [{ isSignal: true, alias: "question", required: true }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], viewType: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewType", required: false }] }], profileAnswers: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswers", required: false }] }], profileAnswerHistories: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswerHistories", required: false }] }], users: [{ type: i0.Input, args: [{ isSignal: true, alias: "users", required: false }] }], showFocusAreaChips: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFocusAreaChips", required: false }] }], answerClick: [{ type: i0.Output, args: ["answerClick"] }], historyClick: [{ type: i0.Output, args: ["historyClick"] }] }); })();
|
|
89529
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileQuestionCardComponent, { className: "ProfileQuestionCardComponent", filePath: "lib/components/shared/profile/profile-question-card.component.ts", lineNumber:
|
|
89590
|
+
}], null, { question: [{ type: i0.Input, args: [{ isSignal: true, alias: "question", required: true }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], viewType: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewType", required: false }] }], profileAnswers: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswers", required: false }] }], profileAnswerHistories: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswerHistories", required: false }] }], users: [{ type: i0.Input, args: [{ isSignal: true, alias: "users", required: false }] }], showFocusAreaChips: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFocusAreaChips", required: false }] }], categoryNameFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "categoryNameFormatter", required: false }] }], answerClick: [{ type: i0.Output, args: ["answerClick"] }], historyClick: [{ type: i0.Output, args: ["historyClick"] }] }); })();
|
|
89591
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileQuestionCardComponent, { className: "ProfileQuestionCardComponent", filePath: "lib/components/shared/profile/profile-question-card.component.ts", lineNumber: 175 }); })();
|
|
89530
89592
|
|
|
89531
89593
|
const _forTrack0$8 = ($index, $item) => $item.answer.id;
|
|
89532
89594
|
const _forTrack1$1 = ($index, $item) => $item.history.id;
|
|
@@ -90072,11 +90134,11 @@ function ProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_
|
|
|
90072
90134
|
} if (rf & 2) {
|
|
90073
90135
|
const question_r6 = ctx.$implicit;
|
|
90074
90136
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
90075
|
-
i0.ɵɵproperty("id", "question-" + question_r6.id)("question", question_r6)("viewMode", ctx_r1.viewMode())("viewType", ctx_r1.viewType())("profileAnswers", ctx_r1.profileAnswers())("profileAnswerHistories", ctx_r1.profileAnswerHistories())("users", ctx_r1.users())("showFocusAreaChips", ctx_r1.showFocusAreaChips());
|
|
90137
|
+
i0.ɵɵproperty("id", "question-" + question_r6.id)("question", question_r6)("viewMode", ctx_r1.viewMode())("viewType", ctx_r1.viewType())("profileAnswers", ctx_r1.profileAnswers())("profileAnswerHistories", ctx_r1.profileAnswerHistories())("users", ctx_r1.users())("showFocusAreaChips", ctx_r1.showFocusAreaChips())("categoryNameFormatter", ctx_r1.categoryNameFormatter());
|
|
90076
90138
|
} }
|
|
90077
90139
|
function ProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
90078
90140
|
i0.ɵɵelementStart(0, "div", 25);
|
|
90079
|
-
i0.ɵɵrepeaterCreate(1, ProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_For_2_Template, 1,
|
|
90141
|
+
i0.ɵɵrepeaterCreate(1, ProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_For_2_Template, 1, 9, "symphiq-profile-question-card", 31, _forTrack0$7);
|
|
90080
90142
|
i0.ɵɵelementEnd();
|
|
90081
90143
|
} if (rf & 2) {
|
|
90082
90144
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -90591,7 +90653,7 @@ class ProfileQuestionsModalComponent {
|
|
|
90591
90653
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
|
|
90592
90654
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalWrapper = _t.first);
|
|
90593
90655
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scrollContainer = _t.first);
|
|
90594
|
-
} }, inputs: { isOpen: [1, "isOpen"], questions: [1, "questions"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], selectedCategoryId: [1, "selectedCategoryId"], selectedFocusAreaId: [1, "selectedFocusAreaId"], showAllQuestions: [1, "showAllQuestions"], startDirectAnswer: [1, "startDirectAnswer"], viewMode: [1, "viewMode"], breadcrumbPrefix: [1, "breadcrumbPrefix"], showFocusAreaChips: [1, "showFocusAreaChips"], categoryNameFormatter: [1, "categoryNameFormatter"], focusAreaNameFormatter: [1, "focusAreaNameFormatter"], questionFilterFn: [1, "questionFilterFn"] }, outputs: { close: "close", questionAnswerClick: "questionAnswerClick", answerSave: "answerSave" }, decls: 1, vars: 1, consts: [["modalWrapper", ""], ["modalContent", ""], ["scrollContainer", ""], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "px-4", "pt-4", "pb-20", "text-center", "sm:block", "sm:p-0"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-sm", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "sm:max-w-4xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "block", "h-[80vh]", 3, "question", "viewMode", "profileAnswerHistories", "profileAnswers", "users"], [1, "block", "h-[80vh]", 3, "close", "back", "question", "viewMode", "profileAnswerHistories", "profileAnswers", "users"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", "sticky", "top-0", "z-10", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-3", 3, "ngClass"], [1, "space-y-2"], [1, "h-2", "rounded-full", "overflow-hidden", 3, "ngClass"], [1, "h-full", "transition-all", "duration-500", "ease-out", "rounded-full", 3, "ngClass"], [1, "text-sm", "font-medium", 3, "ngClass"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", "relative", "ml-4", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "px-6", "py-8", "max-h-[70vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [1, "text-center", "py-12"], [1, "flex", "flex-col", "gap-6"], [1, "w-16", "h-16", "mx-auto", "mb-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-full", "h-full"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "1.5", "d", "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"], [1, "text-lg", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [3, "id", "question", "viewMode", "viewType", "profileAnswers", "profileAnswerHistories", "users", "showFocusAreaChips"], [3, "answerClick", "historyClick", "id", "question", "viewMode", "viewType", "profileAnswers", "profileAnswerHistories", "users", "showFocusAreaChips"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", 3, "click", "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 19l-7-7 7-7"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "h-[70vh]", "overflow-hidden"], [1, "block", "h-full", 3, "question", "viewMode", "viewType", "selectedCategoryId", "selectedFocusAreaId", "filteredQuestions", "profileAnswers", "breadcrumbPrefix", "showFocusAreaChips", "categoryNameFormatter", "focusAreaNameFormatter"], [1, "block", "h-full", 3, "backClick", "saveClick", "saveAndNextClick", "navigateToList", "navigateToNextQuestion", "question", "viewMode", "viewType", "selectedCategoryId", "selectedFocusAreaId", "filteredQuestions", "profileAnswers", "breadcrumbPrefix", "showFocusAreaChips", "categoryNameFormatter", "focusAreaNameFormatter"]], template: function ProfileQuestionsModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
90656
|
+
} }, inputs: { isOpen: [1, "isOpen"], questions: [1, "questions"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], selectedCategoryId: [1, "selectedCategoryId"], selectedFocusAreaId: [1, "selectedFocusAreaId"], showAllQuestions: [1, "showAllQuestions"], startDirectAnswer: [1, "startDirectAnswer"], viewMode: [1, "viewMode"], breadcrumbPrefix: [1, "breadcrumbPrefix"], showFocusAreaChips: [1, "showFocusAreaChips"], categoryNameFormatter: [1, "categoryNameFormatter"], focusAreaNameFormatter: [1, "focusAreaNameFormatter"], questionFilterFn: [1, "questionFilterFn"] }, outputs: { close: "close", questionAnswerClick: "questionAnswerClick", answerSave: "answerSave" }, decls: 1, vars: 1, consts: [["modalWrapper", ""], ["modalContent", ""], ["scrollContainer", ""], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "px-4", "pt-4", "pb-20", "text-center", "sm:block", "sm:p-0"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-sm", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "sm:max-w-4xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "block", "h-[80vh]", 3, "question", "viewMode", "profileAnswerHistories", "profileAnswers", "users"], [1, "block", "h-[80vh]", 3, "close", "back", "question", "viewMode", "profileAnswerHistories", "profileAnswers", "users"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", "sticky", "top-0", "z-10", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-3", 3, "ngClass"], [1, "space-y-2"], [1, "h-2", "rounded-full", "overflow-hidden", 3, "ngClass"], [1, "h-full", "transition-all", "duration-500", "ease-out", "rounded-full", 3, "ngClass"], [1, "text-sm", "font-medium", 3, "ngClass"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", "relative", "ml-4", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "px-6", "py-8", "max-h-[70vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [1, "text-center", "py-12"], [1, "flex", "flex-col", "gap-6"], [1, "w-16", "h-16", "mx-auto", "mb-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-full", "h-full"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "1.5", "d", "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"], [1, "text-lg", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [3, "id", "question", "viewMode", "viewType", "profileAnswers", "profileAnswerHistories", "users", "showFocusAreaChips", "categoryNameFormatter"], [3, "answerClick", "historyClick", "id", "question", "viewMode", "viewType", "profileAnswers", "profileAnswerHistories", "users", "showFocusAreaChips", "categoryNameFormatter"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", 3, "click", "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 19l-7-7 7-7"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "h-[70vh]", "overflow-hidden"], [1, "block", "h-full", 3, "question", "viewMode", "viewType", "selectedCategoryId", "selectedFocusAreaId", "filteredQuestions", "profileAnswers", "breadcrumbPrefix", "showFocusAreaChips", "categoryNameFormatter", "focusAreaNameFormatter"], [1, "block", "h-full", 3, "backClick", "saveClick", "saveAndNextClick", "navigateToList", "navigateToNextQuestion", "question", "viewMode", "viewType", "selectedCategoryId", "selectedFocusAreaId", "filteredQuestions", "profileAnswers", "breadcrumbPrefix", "showFocusAreaChips", "categoryNameFormatter", "focusAreaNameFormatter"]], template: function ProfileQuestionsModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
90595
90657
|
i0.ɵɵconditionalCreate(0, ProfileQuestionsModalComponent_Conditional_0_Template, 11, 5, "div", 3);
|
|
90596
90658
|
} if (rf & 2) {
|
|
90597
90659
|
i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
|
|
@@ -90729,6 +90791,7 @@ class ProfileQuestionsModalComponent {
|
|
|
90729
90791
|
[profileAnswerHistories]="profileAnswerHistories()"
|
|
90730
90792
|
[users]="users()"
|
|
90731
90793
|
[showFocusAreaChips]="showFocusAreaChips()"
|
|
90794
|
+
[categoryNameFormatter]="categoryNameFormatter()"
|
|
90732
90795
|
(answerClick)="onQuestionAnswerClick($event)"
|
|
90733
90796
|
(historyClick)="onQuestionHistoryClick($event)" />
|
|
90734
90797
|
}
|
|
@@ -90811,7 +90874,7 @@ class ProfileQuestionsModalComponent {
|
|
|
90811
90874
|
type: ViewChild,
|
|
90812
90875
|
args: ['scrollContainer']
|
|
90813
90876
|
}] }); })();
|
|
90814
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileQuestionsModalComponent, { className: "ProfileQuestionsModalComponent", filePath: "lib/components/shared/profile/profile-questions-modal.component.ts", lineNumber:
|
|
90877
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileQuestionsModalComponent, { className: "ProfileQuestionsModalComponent", filePath: "lib/components/shared/profile/profile-questions-modal.component.ts", lineNumber: 213 }); })();
|
|
90815
90878
|
|
|
90816
90879
|
const _c0$7 = ["chartdiv"];
|
|
90817
90880
|
function ProfileStatusCardComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -94656,7 +94719,7 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_7
|
|
|
94656
94719
|
i0.ɵɵelementEnd();
|
|
94657
94720
|
} }
|
|
94658
94721
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
94659
|
-
i0.ɵɵelementStart(0, "span",
|
|
94722
|
+
i0.ɵɵelementStart(0, "span", 52);
|
|
94660
94723
|
i0.ɵɵtext(1);
|
|
94661
94724
|
i0.ɵɵelementEnd();
|
|
94662
94725
|
} if (rf & 2) {
|
|
@@ -94667,11 +94730,11 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_1
|
|
|
94667
94730
|
i0.ɵɵtextInterpolate1(" ", tool_r4, " ");
|
|
94668
94731
|
} }
|
|
94669
94732
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
94670
|
-
i0.ɵɵelementStart(0, "div",
|
|
94733
|
+
i0.ɵɵelementStart(0, "div", 44)(1, "div", 49)(2, "span", 50);
|
|
94671
94734
|
i0.ɵɵtext(3, "Marketing Tools:");
|
|
94672
94735
|
i0.ɵɵelementEnd();
|
|
94673
|
-
i0.ɵɵelementStart(4, "div",
|
|
94674
|
-
i0.ɵɵrepeaterCreate(5, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_For_6_Template, 2, 2, "span",
|
|
94736
|
+
i0.ɵɵelementStart(4, "div", 51);
|
|
94737
|
+
i0.ɵɵrepeaterCreate(5, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_For_6_Template, 2, 2, "span", 52, i0.ɵɵrepeaterTrackByIdentity);
|
|
94675
94738
|
i0.ɵɵelementEnd()()();
|
|
94676
94739
|
} if (rf & 2) {
|
|
94677
94740
|
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
@@ -94682,64 +94745,50 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_1
|
|
|
94682
94745
|
i0.ɵɵrepeater(focusArea_r3.tools);
|
|
94683
94746
|
} }
|
|
94684
94747
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
94685
|
-
i0.ɵɵelement(0, "symphiq-content-generation-progress", 44);
|
|
94686
|
-
} if (rf & 2) {
|
|
94687
|
-
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
94688
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
94689
|
-
i0.ɵɵproperty("itemStatus", focusArea_r3.itemStatusProfileFocusArea ?? undefined)("viewMode", ctx_r1.viewMode())("compact", true);
|
|
94690
|
-
} }
|
|
94691
|
-
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
94692
|
-
i0.ɵɵelement(0, "symphiq-content-generation-progress", 44);
|
|
94693
|
-
} if (rf & 2) {
|
|
94694
|
-
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
94695
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
94696
|
-
i0.ɵɵproperty("itemStatus", focusArea_r3.itemStatusProfileAnalysis ?? undefined)("viewMode", ctx_r1.viewMode())("compact", true);
|
|
94697
|
-
} }
|
|
94698
|
-
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
94699
94748
|
i0.ɵɵelementStart(0, "div", 45);
|
|
94700
|
-
i0.ɵɵelement(1, "div",
|
|
94701
|
-
i0.ɵɵelementStart(2, "span",
|
|
94749
|
+
i0.ɵɵelement(1, "div", 53);
|
|
94750
|
+
i0.ɵɵelementStart(2, "span", 54);
|
|
94702
94751
|
i0.ɵɵtext(3, "Profile Generation Pending");
|
|
94703
94752
|
i0.ɵɵelementEnd()();
|
|
94704
94753
|
} }
|
|
94705
|
-
function
|
|
94706
|
-
i0.ɵɵelementStart(0, "div",
|
|
94754
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
94755
|
+
i0.ɵɵelementStart(0, "div", 57);
|
|
94707
94756
|
i0.ɵɵnamespaceSVG();
|
|
94708
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94757
|
+
i0.ɵɵelementStart(1, "svg", 60);
|
|
94709
94758
|
i0.ɵɵelement(2, "path", 29);
|
|
94710
94759
|
i0.ɵɵelementEnd();
|
|
94711
94760
|
i0.ɵɵtext(3, " Complete ");
|
|
94712
94761
|
i0.ɵɵelementEnd();
|
|
94713
94762
|
} }
|
|
94714
|
-
function
|
|
94715
|
-
i0.ɵɵelementStart(0, "div",
|
|
94763
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
94764
|
+
i0.ɵɵelementStart(0, "div", 58);
|
|
94716
94765
|
i0.ɵɵnamespaceSVG();
|
|
94717
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94718
|
-
i0.ɵɵelement(2, "path",
|
|
94766
|
+
i0.ɵɵelementStart(1, "svg", 60);
|
|
94767
|
+
i0.ɵɵelement(2, "path", 61);
|
|
94719
94768
|
i0.ɵɵelementEnd();
|
|
94720
94769
|
i0.ɵɵtext(3, " In Progress ");
|
|
94721
94770
|
i0.ɵɵelementEnd();
|
|
94722
94771
|
} }
|
|
94723
|
-
function
|
|
94724
|
-
i0.ɵɵelementStart(0, "div",
|
|
94772
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
94773
|
+
i0.ɵɵelementStart(0, "div", 59);
|
|
94725
94774
|
i0.ɵɵnamespaceSVG();
|
|
94726
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94727
|
-
i0.ɵɵelement(2, "path",
|
|
94775
|
+
i0.ɵɵelementStart(1, "svg", 60);
|
|
94776
|
+
i0.ɵɵelement(2, "path", 62);
|
|
94728
94777
|
i0.ɵɵelementEnd();
|
|
94729
94778
|
i0.ɵɵtext(3, " Not Started ");
|
|
94730
94779
|
i0.ɵɵelementEnd();
|
|
94731
94780
|
} }
|
|
94732
|
-
function
|
|
94733
|
-
i0.ɵɵelementStart(0, "div", 46)(1, "div",
|
|
94781
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
94782
|
+
i0.ɵɵelementStart(0, "div", 46)(1, "div", 55)(2, "span");
|
|
94734
94783
|
i0.ɵɵtext(3, "Progress");
|
|
94735
94784
|
i0.ɵɵelementEnd();
|
|
94736
94785
|
i0.ɵɵelementStart(4, "span");
|
|
94737
94786
|
i0.ɵɵtext(5);
|
|
94738
94787
|
i0.ɵɵelementEnd()();
|
|
94739
94788
|
i0.ɵɵelementStart(6, "div");
|
|
94740
|
-
i0.ɵɵelement(7, "div",
|
|
94789
|
+
i0.ɵɵelement(7, "div", 56);
|
|
94741
94790
|
i0.ɵɵelementEnd();
|
|
94742
|
-
i0.ɵɵconditionalCreate(8,
|
|
94791
|
+
i0.ɵɵconditionalCreate(8, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Conditional_8_Template, 4, 0, "div", 57)(9, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Conditional_9_Template, 4, 0, "div", 58)(10, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Conditional_10_Template, 4, 0, "div", 59);
|
|
94743
94792
|
i0.ɵɵelementEnd();
|
|
94744
94793
|
} if (rf & 2) {
|
|
94745
94794
|
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
@@ -94757,35 +94806,58 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_1
|
|
|
94757
94806
|
i0.ɵɵadvance();
|
|
94758
94807
|
i0.ɵɵconditional(focusArea_r3.status === "complete" ? 8 : focusArea_r3.status === "in-progress" ? 9 : 10);
|
|
94759
94808
|
} }
|
|
94809
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
94810
|
+
i0.ɵɵelementStart(0, "div", 47);
|
|
94811
|
+
i0.ɵɵelement(1, "symphiq-content-generation-progress", 63);
|
|
94812
|
+
i0.ɵɵelementEnd();
|
|
94813
|
+
} if (rf & 2) {
|
|
94814
|
+
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
94815
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
94816
|
+
i0.ɵɵadvance();
|
|
94817
|
+
i0.ɵɵproperty("itemStatus", focusArea_r3.itemStatusProfileFocusArea ?? undefined)("viewMode", ctx_r1.viewMode())("compact", true)("compactTitle", "Generating Focus Area Profile");
|
|
94818
|
+
} }
|
|
94819
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
94820
|
+
i0.ɵɵelementStart(0, "div", 47);
|
|
94821
|
+
i0.ɵɵelement(1, "symphiq-content-generation-progress", 63);
|
|
94822
|
+
i0.ɵɵelementEnd();
|
|
94823
|
+
} if (rf & 2) {
|
|
94824
|
+
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
94825
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
94826
|
+
i0.ɵɵadvance();
|
|
94827
|
+
i0.ɵɵproperty("itemStatus", focusArea_r3.itemStatusProfileAnalysis ?? undefined)("viewMode", ctx_r1.viewMode())("compact", true)("compactTitle", "Generating Focus Area Analysis");
|
|
94828
|
+
} }
|
|
94760
94829
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
94761
|
-
i0.ɵɵtext(0, " View
|
|
94830
|
+
i0.ɵɵtext(0, " View Analysis ");
|
|
94762
94831
|
} }
|
|
94763
94832
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
94764
|
-
i0.ɵɵtext(0, "
|
|
94833
|
+
i0.ɵɵtext(0, " View Details ");
|
|
94765
94834
|
} }
|
|
94766
94835
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
94767
|
-
i0.ɵɵtext(0, "
|
|
94836
|
+
i0.ɵɵtext(0, " All Questions Answered ");
|
|
94768
94837
|
} }
|
|
94769
94838
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
94839
|
+
i0.ɵɵtext(0, " Continue Answering Questions ");
|
|
94840
|
+
} }
|
|
94841
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
94770
94842
|
i0.ɵɵtext(0, " Start Answering Questions ");
|
|
94771
94843
|
} }
|
|
94772
94844
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
94773
94845
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
94774
|
-
i0.ɵɵelementStart(0, "div",
|
|
94775
|
-
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)); });
|
|
94776
|
-
i0.ɵɵelementStart(1, "div",
|
|
94777
|
-
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);
|
|
94846
|
+
i0.ɵɵelementStart(0, "div", 64);
|
|
94847
|
+
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(focusArea_r3.selfContentStatusProfileAnalysis === ctx_r1.AiDynamicContentStatusEnum.GENERATED && focusArea_r3.profileAnalysis ? ctx_r1.handleAnalysisFooterClick(focusArea_r3.profileAnalysis) : ctx_r1.handleFooterClick(focusArea_r3.profileFocusArea)); });
|
|
94848
|
+
i0.ɵɵelementStart(1, "div", 65)(2, "span", 66);
|
|
94849
|
+
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)(7, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_7_Template, 1, 0);
|
|
94778
94850
|
i0.ɵɵelementEnd();
|
|
94779
94851
|
i0.ɵɵnamespaceSVG();
|
|
94780
|
-
i0.ɵɵelementStart(
|
|
94781
|
-
i0.ɵɵelement(
|
|
94852
|
+
i0.ɵɵelementStart(8, "svg", 67);
|
|
94853
|
+
i0.ɵɵelement(9, "path", 68);
|
|
94782
94854
|
i0.ɵɵelementEnd()()();
|
|
94783
94855
|
} if (rf & 2) {
|
|
94784
94856
|
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
94785
94857
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
94786
94858
|
i0.ɵɵclassMap(ctx_r1.getCardFooterClasses());
|
|
94787
94859
|
i0.ɵɵadvance(3);
|
|
94788
|
-
i0.ɵɵconditional(focusArea_r3.
|
|
94860
|
+
i0.ɵɵconditional(focusArea_r3.selfContentStatusProfileAnalysis === ctx_r1.AiDynamicContentStatusEnum.GENERATED ? 3 : focusArea_r3.hasAnalysis ? 4 : focusArea_r3.status === "complete" ? 5 : focusArea_r3.status === "in-progress" ? 6 : 7);
|
|
94789
94861
|
} }
|
|
94790
94862
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template(rf, ctx) { if (rf & 1) {
|
|
94791
94863
|
i0.ɵɵelementStart(0, "div")(1, "div", 37)(2, "div", 38)(3, "div", 39);
|
|
@@ -94798,13 +94870,14 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template(rf,
|
|
|
94798
94870
|
i0.ɵɵelementStart(8, "h3");
|
|
94799
94871
|
i0.ɵɵtext(9);
|
|
94800
94872
|
i0.ɵɵelementEnd();
|
|
94801
|
-
i0.ɵɵelementStart(10, "p");
|
|
94873
|
+
i0.ɵɵelementStart(10, "p", 43);
|
|
94802
94874
|
i0.ɵɵtext(11);
|
|
94803
94875
|
i0.ɵɵelementEnd();
|
|
94804
|
-
i0.ɵɵconditionalCreate(12, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_Template, 7, 1, "div",
|
|
94805
|
-
i0.ɵɵconditionalCreate(13, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_13_Template,
|
|
94876
|
+
i0.ɵɵconditionalCreate(12, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_Template, 7, 1, "div", 44);
|
|
94877
|
+
i0.ɵɵconditionalCreate(13, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_13_Template, 4, 0, "div", 45)(14, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Template, 11, 11, "div", 46);
|
|
94806
94878
|
i0.ɵɵelementEnd();
|
|
94807
|
-
i0.ɵɵconditionalCreate(
|
|
94879
|
+
i0.ɵɵconditionalCreate(15, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Template, 2, 4, "div", 47)(16, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Template, 2, 4, "div", 47);
|
|
94880
|
+
i0.ɵɵconditionalCreate(17, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Template, 10, 3, "div", 48);
|
|
94808
94881
|
i0.ɵɵelementEnd();
|
|
94809
94882
|
} if (rf & 2) {
|
|
94810
94883
|
const focusArea_r3 = ctx.$implicit;
|
|
@@ -94822,13 +94895,16 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template(rf,
|
|
|
94822
94895
|
i0.ɵɵtextInterpolate1(" ", focusArea_r3.title, " ");
|
|
94823
94896
|
i0.ɵɵadvance();
|
|
94824
94897
|
i0.ɵɵclassMap(ctx_r1.getDescriptionClasses());
|
|
94898
|
+
i0.ɵɵproperty("libSymphiqTooltip", focusArea_r3.description);
|
|
94825
94899
|
i0.ɵɵadvance();
|
|
94826
94900
|
i0.ɵɵtextInterpolate1(" ", focusArea_r3.description, " ");
|
|
94827
94901
|
i0.ɵɵadvance();
|
|
94828
94902
|
i0.ɵɵconditional(focusArea_r3.engagementStatus === ctx_r1.FocusAreaDetailStatusEnum.ENGAGED && focusArea_r3.tools.length > 0 ? 12 : -1);
|
|
94829
94903
|
i0.ɵɵadvance();
|
|
94830
|
-
i0.ɵɵconditional(focusArea_r3.
|
|
94831
|
-
i0.ɵɵadvance(
|
|
94904
|
+
i0.ɵɵconditional(focusArea_r3.selfContentStatusProfileFocusArea === null && focusArea_r3.engagementStatus !== ctx_r1.FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST ? 13 : focusArea_r3.selfContentStatusProfileFocusArea === ctx_r1.AiDynamicContentStatusEnum.GENERATED && (focusArea_r3.selfContentStatusProfileAnalysis === null || focusArea_r3.selfContentStatusProfileAnalysis === ctx_r1.AiDynamicContentStatusEnum.GENERATED) || focusArea_r3.status !== "pending" ? 14 : -1);
|
|
94905
|
+
i0.ɵɵadvance(2);
|
|
94906
|
+
i0.ɵɵconditional(focusArea_r3.profileFocusArea && focusArea_r3.selfContentStatusProfileFocusArea !== ctx_r1.AiDynamicContentStatusEnum.GENERATED && focusArea_r3.engagementStatus !== ctx_r1.FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST ? 15 : 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 ? 16 : -1);
|
|
94907
|
+
i0.ɵɵadvance(2);
|
|
94832
94908
|
i0.ɵɵconditional(focusArea_r3.canViewDetails && focusArea_r3.profileFocusArea && !(focusArea_r3.profileAnalysis && focusArea_r3.selfContentStatusProfileAnalysis !== null && focusArea_r3.selfContentStatusProfileAnalysis !== ctx_r1.AiDynamicContentStatusEnum.GENERATED) ? 17 : -1);
|
|
94833
94909
|
} }
|
|
94834
94910
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -94844,14 +94920,14 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8
|
|
|
94844
94920
|
} }
|
|
94845
94921
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
94846
94922
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
94847
|
-
i0.ɵɵelementStart(0, "div",
|
|
94923
|
+
i0.ɵɵelementStart(0, "div", 64);
|
|
94848
94924
|
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)); });
|
|
94849
|
-
i0.ɵɵelementStart(1, "div",
|
|
94925
|
+
i0.ɵɵelementStart(1, "div", 65)(2, "span", 66);
|
|
94850
94926
|
i0.ɵɵtext(3, "View Details");
|
|
94851
94927
|
i0.ɵɵelementEnd();
|
|
94852
94928
|
i0.ɵɵnamespaceSVG();
|
|
94853
|
-
i0.ɵɵelementStart(4, "svg",
|
|
94854
|
-
i0.ɵɵelement(5, "path",
|
|
94929
|
+
i0.ɵɵelementStart(4, "svg", 67);
|
|
94930
|
+
i0.ɵɵelement(5, "path", 68);
|
|
94855
94931
|
i0.ɵɵelementEnd()()();
|
|
94856
94932
|
} if (rf & 2) {
|
|
94857
94933
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -94867,10 +94943,10 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8
|
|
|
94867
94943
|
i0.ɵɵelementStart(7, "h3");
|
|
94868
94944
|
i0.ɵɵtext(8);
|
|
94869
94945
|
i0.ɵɵelementEnd();
|
|
94870
|
-
i0.ɵɵelementStart(9, "p");
|
|
94946
|
+
i0.ɵɵelementStart(9, "p", 43);
|
|
94871
94947
|
i0.ɵɵtext(10);
|
|
94872
94948
|
i0.ɵɵelementEnd()();
|
|
94873
|
-
i0.ɵɵconditionalCreate(11, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_11_Template, 6, 2, "div",
|
|
94949
|
+
i0.ɵɵconditionalCreate(11, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_11_Template, 6, 2, "div", 48);
|
|
94874
94950
|
i0.ɵɵelementEnd();
|
|
94875
94951
|
} if (rf & 2) {
|
|
94876
94952
|
const focusArea_r6 = ctx.$implicit;
|
|
@@ -94886,21 +94962,22 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8
|
|
|
94886
94962
|
i0.ɵɵtextInterpolate1(" ", focusArea_r6.title, " ");
|
|
94887
94963
|
i0.ɵɵadvance();
|
|
94888
94964
|
i0.ɵɵclassMap(ctx_r1.getDescriptionClasses());
|
|
94965
|
+
i0.ɵɵproperty("libSymphiqTooltip", focusArea_r6.description);
|
|
94889
94966
|
i0.ɵɵadvance();
|
|
94890
94967
|
i0.ɵɵtextInterpolate1(" ", focusArea_r6.description, " ");
|
|
94891
94968
|
i0.ɵɵadvance();
|
|
94892
94969
|
i0.ɵɵconditional(focusArea_r6.canViewDetails && focusArea_r6.profileFocusArea ? 11 : -1);
|
|
94893
94970
|
} }
|
|
94894
94971
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_Template(rf, ctx) { if (rf & 1) {
|
|
94895
|
-
i0.ɵɵelementStart(0, "div", 35)(1, "div",
|
|
94896
|
-
i0.ɵɵelement(2, "div",
|
|
94897
|
-
i0.ɵɵelementStart(3, "span",
|
|
94972
|
+
i0.ɵɵelementStart(0, "div", 35)(1, "div", 69);
|
|
94973
|
+
i0.ɵɵelement(2, "div", 70);
|
|
94974
|
+
i0.ɵɵelementStart(3, "span", 71);
|
|
94898
94975
|
i0.ɵɵtext(4, "Not Interested");
|
|
94899
94976
|
i0.ɵɵelementEnd();
|
|
94900
|
-
i0.ɵɵelement(5, "div",
|
|
94977
|
+
i0.ɵɵelement(5, "div", 70);
|
|
94901
94978
|
i0.ɵɵelementEnd();
|
|
94902
|
-
i0.ɵɵelementStart(6, "div",
|
|
94903
|
-
i0.ɵɵrepeaterCreate(7, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Template, 12,
|
|
94979
|
+
i0.ɵɵelementStart(6, "div", 72);
|
|
94980
|
+
i0.ɵɵrepeaterCreate(7, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Template, 12, 12, "div", 34, _forTrack0$5);
|
|
94904
94981
|
i0.ɵɵelementEnd()();
|
|
94905
94982
|
} if (rf & 2) {
|
|
94906
94983
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -94915,7 +94992,7 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_Templ
|
|
|
94915
94992
|
} }
|
|
94916
94993
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_67_Template(rf, ctx) { if (rf & 1) {
|
|
94917
94994
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
94918
|
-
i0.ɵɵelementStart(0, "symphiq-search-modal",
|
|
94995
|
+
i0.ɵɵelementStart(0, "symphiq-search-modal", 73);
|
|
94919
94996
|
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()); });
|
|
94920
94997
|
i0.ɵɵelementEnd();
|
|
94921
94998
|
} }
|
|
@@ -94945,6 +95022,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94945
95022
|
this.displayMode = input(DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "displayMode" }] : []));
|
|
94946
95023
|
this.currentStepId = input(JourneyStepIdEnum.FOCUS_AREA_ANALYSIS, ...(ngDevMode ? [{ debugName: "currentStepId" }] : []));
|
|
94947
95024
|
this.navigateToProfileFocusArea = output();
|
|
95025
|
+
this.navigateToProfileAnalysis = output();
|
|
94948
95026
|
this.stepClick = output();
|
|
94949
95027
|
this.nextStepClick = output();
|
|
94950
95028
|
this.answerFocusAreaProfileQuestions = output();
|
|
@@ -95127,7 +95205,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95127
95205
|
if (interestedCards.length === 0) {
|
|
95128
95206
|
return false;
|
|
95129
95207
|
}
|
|
95130
|
-
return interestedCards.every(card => card.
|
|
95208
|
+
return interestedCards.every(card => card.selfContentStatusProfileAnalysis === AiDynamicContentStatusEnum.GENERATED);
|
|
95131
95209
|
}, ...(ngDevMode ? [{ debugName: "allInterestedFocusAreasGenerated" }] : []));
|
|
95132
95210
|
}
|
|
95133
95211
|
onScroll() {
|
|
@@ -95136,6 +95214,9 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95136
95214
|
handleFooterClick(profileFocusArea) {
|
|
95137
95215
|
this.navigateToProfileFocusArea.emit(profileFocusArea);
|
|
95138
95216
|
}
|
|
95217
|
+
handleAnalysisFooterClick(profileAnalysis) {
|
|
95218
|
+
this.navigateToProfileAnalysis.emit(profileAnalysis);
|
|
95219
|
+
}
|
|
95139
95220
|
handleSearchClick() {
|
|
95140
95221
|
this.showSearchModal.set(true);
|
|
95141
95222
|
}
|
|
@@ -95297,7 +95378,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95297
95378
|
static { this.ɵfac = function SymphiqProfileFocusAreasAnalysesDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqProfileFocusAreasAnalysesDashboardComponent)(); }; }
|
|
95298
95379
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqProfileFocusAreasAnalysesDashboardComponent, selectors: [["symphiq-profile-focus-areas-analyses-dashboard"]], hostBindings: function SymphiqProfileFocusAreasAnalysesDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
95299
95380
|
i0.ɵɵlistener("scroll", function SymphiqProfileFocusAreasAnalysesDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow);
|
|
95300
|
-
} }, 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:
|
|
95381
|
+
} }, 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", navigateToProfileAnalysis: "navigateToProfileAnalysis", stepClick: "stepClick", nextStepClick: "nextStepClick", answerFocusAreaProfileQuestions: "answerFocusAreaProfileQuestions", continueFocusAreaProfileQuestions: "continueFocusAreaProfileQuestions", profileQuestionAnswerSave: "profileQuestionAnswerSave", focusAreaProfileAdminAnswerAction: "focusAreaProfileAdminAnswerAction" }, decls: 69, 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"], ["tooltipPosition", "bottom", 3, "libSymphiqTooltip"], [1, "mt-3", "mb-2"], [1, "flex", "items-center", "gap-2", "py-2"], [1, "space-y-2"], [1, "px-6", "pb-4"], [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"], [3, "itemStatus", "viewMode", "compact", "compactTitle"], [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) {
|
|
95301
95382
|
i0.ɵɵelementStart(0, "div", 0);
|
|
95302
95383
|
i0.ɵɵelement(1, "div", 1);
|
|
95303
95384
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -95381,11 +95462,12 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95381
95462
|
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. ");
|
|
95382
95463
|
i0.ɵɵelementEnd()()()()()()();
|
|
95383
95464
|
i0.ɵɵelementStart(63, "div", 33);
|
|
95384
|
-
i0.ɵɵrepeaterCreate(64, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template, 18,
|
|
95465
|
+
i0.ɵɵrepeaterCreate(64, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template, 18, 16, "div", 34, _forTrack0$5);
|
|
95385
95466
|
i0.ɵɵelementEnd();
|
|
95386
95467
|
i0.ɵɵconditionalCreate(66, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_Template, 9, 3, "div", 35);
|
|
95387
95468
|
i0.ɵɵelementEnd()();
|
|
95388
95469
|
i0.ɵɵconditionalCreate(67, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_67_Template, 1, 0, "symphiq-search-modal");
|
|
95470
|
+
i0.ɵɵelement(68, "symphiq-tooltip-container");
|
|
95389
95471
|
i0.ɵɵelementEnd();
|
|
95390
95472
|
} if (rf & 2) {
|
|
95391
95473
|
i0.ɵɵclassMap(ctx.getContainerClasses());
|
|
@@ -95432,11 +95514,11 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95432
95514
|
i0.ɵɵconditional(ctx.notInterestedFocusAreaCards().length > 0 ? 66 : -1);
|
|
95433
95515
|
i0.ɵɵadvance();
|
|
95434
95516
|
i0.ɵɵconditional(ctx.showSearchModal() ? 67 : -1);
|
|
95435
|
-
} }, 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 }); }
|
|
95517
|
+
} }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent, ConfidenceLevelCardComponent, ContentGenerationProgressComponent, TooltipDirective, TooltipContainerComponent], 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 }); }
|
|
95436
95518
|
}
|
|
95437
95519
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqProfileFocusAreasAnalysesDashboardComponent, [{
|
|
95438
95520
|
type: Component,
|
|
95439
|
-
args: [{ selector: 'symphiq-profile-focus-areas-analyses-dashboard', standalone: true, imports: [CommonModule, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent, ConfidenceLevelCardComponent, ContentGenerationProgressComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
95521
|
+
args: [{ selector: 'symphiq-profile-focus-areas-analyses-dashboard', standalone: true, imports: [CommonModule, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent, ConfidenceLevelCardComponent, ContentGenerationProgressComponent, TooltipDirective, TooltipContainerComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
95440
95522
|
<div [class]="getContainerClasses()" class="min-h-screen relative">
|
|
95441
95523
|
<div class="animated-bubbles" [class.light-mode]="isLightMode()"
|
|
95442
95524
|
style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
|
|
@@ -95585,7 +95667,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95585
95667
|
{{ focusArea.title }}
|
|
95586
95668
|
</h3>
|
|
95587
95669
|
|
|
95588
|
-
<p [class]="getDescriptionClasses()">
|
|
95670
|
+
<p [class]="getDescriptionClasses()" [libSymphiqTooltip]="focusArea.description" tooltipPosition="bottom">
|
|
95589
95671
|
{{ focusArea.description }}
|
|
95590
95672
|
</p>
|
|
95591
95673
|
|
|
@@ -95604,19 +95686,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95604
95686
|
</div>
|
|
95605
95687
|
}
|
|
95606
95688
|
|
|
95607
|
-
@if (focusArea.
|
|
95608
|
-
<symphiq-content-generation-progress
|
|
95609
|
-
[itemStatus]="focusArea.itemStatusProfileFocusArea ?? undefined"
|
|
95610
|
-
[viewMode]="viewMode()"
|
|
95611
|
-
[compact]="true"
|
|
95612
|
-
/>
|
|
95613
|
-
} @else if (focusArea.profileAnalysis && focusArea.selfContentStatusProfileAnalysis !== null && focusArea.selfContentStatusProfileAnalysis !== AiDynamicContentStatusEnum.GENERATED && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
|
|
95614
|
-
<symphiq-content-generation-progress
|
|
95615
|
-
[itemStatus]="focusArea.itemStatusProfileAnalysis ?? undefined"
|
|
95616
|
-
[viewMode]="viewMode()"
|
|
95617
|
-
[compact]="true"
|
|
95618
|
-
/>
|
|
95619
|
-
} @else if (focusArea.selfContentStatusProfileFocusArea === null && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
|
|
95689
|
+
@if (focusArea.selfContentStatusProfileFocusArea === null && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
|
|
95620
95690
|
<div class="flex items-center gap-2 py-2">
|
|
95621
95691
|
<div class="animate-spin w-4 h-4 border-2 border-amber-500/30 border-t-amber-500 rounded-full"></div>
|
|
95622
95692
|
<span class="text-xs text-amber-600 dark:text-amber-400 font-medium">Profile Generation Pending</span>
|
|
@@ -95663,14 +95733,36 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95663
95733
|
}
|
|
95664
95734
|
</div>
|
|
95665
95735
|
|
|
95736
|
+
@if (focusArea.profileFocusArea && focusArea.selfContentStatusProfileFocusArea !== AiDynamicContentStatusEnum.GENERATED && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
|
|
95737
|
+
<div class="px-6 pb-4">
|
|
95738
|
+
<symphiq-content-generation-progress
|
|
95739
|
+
[itemStatus]="focusArea.itemStatusProfileFocusArea ?? undefined"
|
|
95740
|
+
[viewMode]="viewMode()"
|
|
95741
|
+
[compact]="true"
|
|
95742
|
+
[compactTitle]="'Generating Focus Area Profile'"
|
|
95743
|
+
/>
|
|
95744
|
+
</div>
|
|
95745
|
+
} @else if (focusArea.profileAnalysis && focusArea.selfContentStatusProfileAnalysis !== null && focusArea.selfContentStatusProfileAnalysis !== AiDynamicContentStatusEnum.GENERATED && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
|
|
95746
|
+
<div class="px-6 pb-4">
|
|
95747
|
+
<symphiq-content-generation-progress
|
|
95748
|
+
[itemStatus]="focusArea.itemStatusProfileAnalysis ?? undefined"
|
|
95749
|
+
[viewMode]="viewMode()"
|
|
95750
|
+
[compact]="true"
|
|
95751
|
+
[compactTitle]="'Generating Focus Area Analysis'"
|
|
95752
|
+
/>
|
|
95753
|
+
</div>
|
|
95754
|
+
}
|
|
95755
|
+
|
|
95666
95756
|
@if (focusArea.canViewDetails && focusArea.profileFocusArea && !(focusArea.profileAnalysis && focusArea.selfContentStatusProfileAnalysis !== null && focusArea.selfContentStatusProfileAnalysis !== AiDynamicContentStatusEnum.GENERATED)) {
|
|
95667
95757
|
<div
|
|
95668
95758
|
[class]="getCardFooterClasses()"
|
|
95669
95759
|
class="mt-auto cursor-pointer hover:bg-slate-100 dark:hover:bg-slate-700/50 transition-colors"
|
|
95670
|
-
(click)="handleFooterClick(focusArea.profileFocusArea)">
|
|
95760
|
+
(click)="focusArea.selfContentStatusProfileAnalysis === AiDynamicContentStatusEnum.GENERATED && focusArea.profileAnalysis ? handleAnalysisFooterClick(focusArea.profileAnalysis) : handleFooterClick(focusArea.profileFocusArea)">
|
|
95671
95761
|
<div class="flex items-center justify-between">
|
|
95672
95762
|
<span class="text-sm font-medium text-slate-600 dark:text-slate-400">
|
|
95673
|
-
@if (focusArea.
|
|
95763
|
+
@if (focusArea.selfContentStatusProfileAnalysis === AiDynamicContentStatusEnum.GENERATED) {
|
|
95764
|
+
View Analysis
|
|
95765
|
+
} @else if (focusArea.hasAnalysis) {
|
|
95674
95766
|
View Details
|
|
95675
95767
|
} @else if (focusArea.status === 'complete') {
|
|
95676
95768
|
All Questions Answered
|
|
@@ -95718,7 +95810,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95718
95810
|
{{ focusArea.title }}
|
|
95719
95811
|
</h3>
|
|
95720
95812
|
|
|
95721
|
-
<p [class]="getDescriptionClasses()">
|
|
95813
|
+
<p [class]="getDescriptionClasses()" [libSymphiqTooltip]="focusArea.description" tooltipPosition="bottom">
|
|
95722
95814
|
{{ focusArea.description }}
|
|
95723
95815
|
</p>
|
|
95724
95816
|
</div>
|
|
@@ -95750,13 +95842,15 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95750
95842
|
(closeModal)="handleCloseSearchModal()"
|
|
95751
95843
|
></symphiq-search-modal>
|
|
95752
95844
|
}
|
|
95845
|
+
|
|
95846
|
+
<symphiq-tooltip-container />
|
|
95753
95847
|
</div>
|
|
95754
95848
|
`, 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"] }]
|
|
95755
|
-
}], 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: [{
|
|
95849
|
+
}], 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"] }], navigateToProfileAnalysis: [{ type: i0.Output, args: ["navigateToProfileAnalysis"] }], 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: [{
|
|
95756
95850
|
type: HostListener,
|
|
95757
95851
|
args: ['window:scroll', ['$event']]
|
|
95758
95852
|
}] }); })();
|
|
95759
|
-
(() => { (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:
|
|
95853
|
+
(() => { (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: 449 }); })();
|
|
95760
95854
|
|
|
95761
95855
|
const _c0$5 = () => [];
|
|
95762
95856
|
function SymphiqProfileFocusAreaDashboardComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -96285,18 +96379,29 @@ class ShopProfileViewToggleComponent {
|
|
|
96285
96379
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShopProfileViewToggleComponent, { className: "ShopProfileViewToggleComponent", filePath: "lib/components/profile-analysis-shop-dashboard/cards/shop-profile-view-toggle.component.ts", lineNumber: 33 }); })();
|
|
96286
96380
|
|
|
96287
96381
|
const _forTrack0$3 = ($index, $item) => $item.answer.id;
|
|
96288
|
-
function
|
|
96289
|
-
i0.ɵɵelementStart(0, "div",
|
|
96382
|
+
function ShopProfileQuestionCardComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
96383
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "span", 15);
|
|
96384
|
+
i0.ɵɵtext(2);
|
|
96385
|
+
i0.ɵɵelementEnd()();
|
|
96386
|
+
} if (rf & 2) {
|
|
96387
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
96388
|
+
i0.ɵɵadvance();
|
|
96389
|
+
i0.ɵɵproperty("ngClass", ctx_r0.categoryBreadcrumbClasses());
|
|
96390
|
+
i0.ɵɵadvance();
|
|
96391
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.formattedCategoryName(), " ");
|
|
96392
|
+
} }
|
|
96393
|
+
function ShopProfileQuestionCardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
96394
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
96290
96395
|
i0.ɵɵnamespaceSVG();
|
|
96291
|
-
i0.ɵɵelementStart(1, "svg",
|
|
96292
|
-
i0.ɵɵelement(2, "path",
|
|
96396
|
+
i0.ɵɵelementStart(1, "svg", 13);
|
|
96397
|
+
i0.ɵɵelement(2, "path", 16);
|
|
96293
96398
|
i0.ɵɵelementEnd()();
|
|
96294
96399
|
} if (rf & 2) {
|
|
96295
96400
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
96296
96401
|
i0.ɵɵproperty("ngClass", ctx_r0.checkboxClasses());
|
|
96297
96402
|
} }
|
|
96298
|
-
function
|
|
96299
|
-
i0.ɵɵelementStart(0, "p",
|
|
96403
|
+
function ShopProfileQuestionCardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
96404
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
96300
96405
|
i0.ɵɵtext(1);
|
|
96301
96406
|
i0.ɵɵelementEnd();
|
|
96302
96407
|
} if (rf & 2) {
|
|
@@ -96305,8 +96410,8 @@ function ShopProfileQuestionCardComponent_Conditional_6_Template(rf, ctx) { if (
|
|
|
96305
96410
|
i0.ɵɵadvance();
|
|
96306
96411
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.question().context, " ");
|
|
96307
96412
|
} }
|
|
96308
|
-
function
|
|
96309
|
-
i0.ɵɵelementStart(0, "span",
|
|
96413
|
+
function ShopProfileQuestionCardComponent_Conditional_8_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
96414
|
+
i0.ɵɵelementStart(0, "span", 20);
|
|
96310
96415
|
i0.ɵɵtext(1);
|
|
96311
96416
|
i0.ɵɵelementEnd();
|
|
96312
96417
|
} if (rf & 2) {
|
|
@@ -96316,12 +96421,12 @@ function ShopProfileQuestionCardComponent_Conditional_7_For_6_Template(rf, ctx)
|
|
|
96316
96421
|
i0.ɵɵadvance();
|
|
96317
96422
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.getFocusAreaTitle(focusArea_r2), " ");
|
|
96318
96423
|
} }
|
|
96319
|
-
function
|
|
96320
|
-
i0.ɵɵelementStart(0, "div",
|
|
96424
|
+
function ShopProfileQuestionCardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
96425
|
+
i0.ɵɵelementStart(0, "div", 7)(1, "div", 17)(2, "span", 18);
|
|
96321
96426
|
i0.ɵɵtext(3);
|
|
96322
96427
|
i0.ɵɵelementEnd()();
|
|
96323
|
-
i0.ɵɵelementStart(4, "div",
|
|
96324
|
-
i0.ɵɵrepeaterCreate(5,
|
|
96428
|
+
i0.ɵɵelementStart(4, "div", 19);
|
|
96429
|
+
i0.ɵɵrepeaterCreate(5, ShopProfileQuestionCardComponent_Conditional_8_For_6_Template, 2, 2, "span", 20, i0.ɵɵrepeaterTrackByIdentity);
|
|
96325
96430
|
i0.ɵɵelementEnd()();
|
|
96326
96431
|
} if (rf & 2) {
|
|
96327
96432
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -96332,16 +96437,16 @@ function ShopProfileQuestionCardComponent_Conditional_7_Template(rf, ctx) { if (
|
|
|
96332
96437
|
i0.ɵɵadvance(2);
|
|
96333
96438
|
i0.ɵɵrepeater(ctx_r0.relatedFocusAreas());
|
|
96334
96439
|
} }
|
|
96335
|
-
function
|
|
96440
|
+
function ShopProfileQuestionCardComponent_Conditional_9_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
96336
96441
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
96337
|
-
i0.ɵɵelementStart(0, "div",
|
|
96338
|
-
i0.ɵɵlistener("animationend", function
|
|
96339
|
-
i0.ɵɵelementStart(1, "span",
|
|
96442
|
+
i0.ɵɵelementStart(0, "div", 21);
|
|
96443
|
+
i0.ɵɵlistener("animationend", function ShopProfileQuestionCardComponent_Conditional_9_For_2_Template_div_animationend_0_listener() { const answerData_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onAnimationEnd(answerData_r4.answer.id)); });
|
|
96444
|
+
i0.ɵɵelementStart(1, "span", 22);
|
|
96340
96445
|
i0.ɵɵtext(2);
|
|
96341
96446
|
i0.ɵɵelementEnd();
|
|
96342
|
-
i0.ɵɵelement(3, "symphiq-user-avatar",
|
|
96447
|
+
i0.ɵɵelement(3, "symphiq-user-avatar", 23);
|
|
96343
96448
|
i0.ɵɵelementEnd();
|
|
96344
|
-
i0.ɵɵelementStart(4, "div",
|
|
96449
|
+
i0.ɵɵelementStart(4, "div", 24);
|
|
96345
96450
|
i0.ɵɵtext(5);
|
|
96346
96451
|
i0.ɵɵelementEnd();
|
|
96347
96452
|
} if (rf & 2) {
|
|
@@ -96360,28 +96465,28 @@ function ShopProfileQuestionCardComponent_Conditional_8_For_2_Template(rf, ctx)
|
|
|
96360
96465
|
i0.ɵɵadvance();
|
|
96361
96466
|
i0.ɵɵtextInterpolate1(" Answered ", ctx_r0.formatAnswerDate(answerData_r4.answer.createdDate), " ");
|
|
96362
96467
|
} }
|
|
96363
|
-
function
|
|
96364
|
-
i0.ɵɵelementStart(0, "div",
|
|
96365
|
-
i0.ɵɵrepeaterCreate(1,
|
|
96468
|
+
function ShopProfileQuestionCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
96469
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
96470
|
+
i0.ɵɵrepeaterCreate(1, ShopProfileQuestionCardComponent_Conditional_9_For_2_Template, 6, 11, null, null, _forTrack0$3);
|
|
96366
96471
|
i0.ɵɵelementEnd();
|
|
96367
96472
|
} if (rf & 2) {
|
|
96368
96473
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
96369
96474
|
i0.ɵɵadvance();
|
|
96370
96475
|
i0.ɵɵrepeater(ctx_r0.displayAnswers());
|
|
96371
96476
|
} }
|
|
96372
|
-
function
|
|
96373
|
-
i0.ɵɵelementStart(0, "div",
|
|
96477
|
+
function ShopProfileQuestionCardComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
96478
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 25)(2, "div", 26);
|
|
96374
96479
|
i0.ɵɵnamespaceSVG();
|
|
96375
|
-
i0.ɵɵelementStart(3, "svg",
|
|
96376
|
-
i0.ɵɵelement(4, "path",
|
|
96480
|
+
i0.ɵɵelementStart(3, "svg", 27);
|
|
96481
|
+
i0.ɵɵelement(4, "path", 28);
|
|
96377
96482
|
i0.ɵɵelementEnd();
|
|
96378
96483
|
i0.ɵɵnamespaceHTML();
|
|
96379
|
-
i0.ɵɵelement(5, "div",
|
|
96484
|
+
i0.ɵɵelement(5, "div", 29);
|
|
96380
96485
|
i0.ɵɵelementEnd();
|
|
96381
|
-
i0.ɵɵelementStart(6, "div")(7, "div",
|
|
96486
|
+
i0.ɵɵelementStart(6, "div")(7, "div", 30);
|
|
96382
96487
|
i0.ɵɵtext(8, " Not answered yet ");
|
|
96383
96488
|
i0.ɵɵelementEnd();
|
|
96384
|
-
i0.ɵɵelementStart(9, "div",
|
|
96489
|
+
i0.ɵɵelementStart(9, "div", 31);
|
|
96385
96490
|
i0.ɵɵtext(10, " Click the button below to provide your answer ");
|
|
96386
96491
|
i0.ɵɵelementEnd()()()();
|
|
96387
96492
|
} if (rf & 2) {
|
|
@@ -96398,13 +96503,13 @@ function ShopProfileQuestionCardComponent_Conditional_9_Template(rf, ctx) { if (
|
|
|
96398
96503
|
i0.ɵɵadvance(2);
|
|
96399
96504
|
i0.ɵɵproperty("ngClass", ctx_r0.unansweredTextClasses());
|
|
96400
96505
|
} }
|
|
96401
|
-
function
|
|
96506
|
+
function ShopProfileQuestionCardComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
96402
96507
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
96403
|
-
i0.ɵɵelementStart(0, "button",
|
|
96404
|
-
i0.ɵɵlistener("click", function
|
|
96508
|
+
i0.ɵɵelementStart(0, "button", 32);
|
|
96509
|
+
i0.ɵɵlistener("click", function ShopProfileQuestionCardComponent_Conditional_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onHistoryClick()); });
|
|
96405
96510
|
i0.ɵɵnamespaceSVG();
|
|
96406
|
-
i0.ɵɵelementStart(1, "svg",
|
|
96407
|
-
i0.ɵɵelement(2, "path",
|
|
96511
|
+
i0.ɵɵelementStart(1, "svg", 13);
|
|
96512
|
+
i0.ɵɵelement(2, "path", 33);
|
|
96408
96513
|
i0.ɵɵelementEnd();
|
|
96409
96514
|
i0.ɵɵnamespaceHTML();
|
|
96410
96515
|
i0.ɵɵelementStart(3, "span");
|
|
@@ -96414,7 +96519,7 @@ function ShopProfileQuestionCardComponent_Conditional_11_Template(rf, ctx) { if
|
|
|
96414
96519
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
96415
96520
|
i0.ɵɵproperty("ngClass", ctx_r0.historyButtonClasses());
|
|
96416
96521
|
} }
|
|
96417
|
-
function
|
|
96522
|
+
function ShopProfileQuestionCardComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
96418
96523
|
i0.ɵɵelement(0, "div");
|
|
96419
96524
|
} }
|
|
96420
96525
|
class ShopProfileQuestionCardComponent {
|
|
@@ -96426,6 +96531,7 @@ class ShopProfileQuestionCardComponent {
|
|
|
96426
96531
|
this.profileAnswers = input([], ...(ngDevMode ? [{ debugName: "profileAnswers" }] : []));
|
|
96427
96532
|
this.profileAnswerHistories = input([], ...(ngDevMode ? [{ debugName: "profileAnswerHistories" }] : []));
|
|
96428
96533
|
this.users = input([], ...(ngDevMode ? [{ debugName: "users" }] : []));
|
|
96534
|
+
this.categoryNameFormatter = input(null, ...(ngDevMode ? [{ debugName: "categoryNameFormatter" }] : []));
|
|
96429
96535
|
this.answerClick = output();
|
|
96430
96536
|
this.historyClick = output();
|
|
96431
96537
|
this.questionAnswers = computed(() => {
|
|
@@ -96461,6 +96567,16 @@ class ShopProfileQuestionCardComponent {
|
|
|
96461
96567
|
this.showFocusAreaChips = computed(() => {
|
|
96462
96568
|
return this.viewType() === 'category';
|
|
96463
96569
|
}, ...(ngDevMode ? [{ debugName: "showFocusAreaChips" }] : []));
|
|
96570
|
+
this.showCategoryBreadcrumb = computed(() => {
|
|
96571
|
+
return this.viewType() === 'all' && this.question().category;
|
|
96572
|
+
}, ...(ngDevMode ? [{ debugName: "showCategoryBreadcrumb" }] : []));
|
|
96573
|
+
this.formattedCategoryName = computed(() => {
|
|
96574
|
+
const category = this.question().category;
|
|
96575
|
+
if (!category)
|
|
96576
|
+
return '';
|
|
96577
|
+
const formatter = this.categoryNameFormatter();
|
|
96578
|
+
return formatter ? formatter(category) : category;
|
|
96579
|
+
}, ...(ngDevMode ? [{ debugName: "formattedCategoryName" }] : []));
|
|
96464
96580
|
this.relatedFocusAreas = computed(() => {
|
|
96465
96581
|
return this.question().focusAreaDomains || [];
|
|
96466
96582
|
}, ...(ngDevMode ? [{ debugName: "relatedFocusAreas" }] : []));
|
|
@@ -96515,6 +96631,11 @@ class ShopProfileQuestionCardComponent {
|
|
|
96515
96631
|
? 'bg-white border-slate-200 hover:border-slate-300 hover:shadow-lg'
|
|
96516
96632
|
: 'bg-slate-800/50 border-slate-700/50 hover:border-slate-600/70 hover:shadow-xl hover:shadow-slate-900/30';
|
|
96517
96633
|
}
|
|
96634
|
+
categoryBreadcrumbClasses() {
|
|
96635
|
+
return this.isLightMode()
|
|
96636
|
+
? 'text-blue-600'
|
|
96637
|
+
: 'text-blue-400';
|
|
96638
|
+
}
|
|
96518
96639
|
questionTextClasses() {
|
|
96519
96640
|
return this.isLightMode()
|
|
96520
96641
|
? 'text-slate-900'
|
|
@@ -96602,42 +96723,46 @@ class ShopProfileQuestionCardComponent {
|
|
|
96602
96723
|
: 'bg-gradient-to-r from-blue-500 to-cyan-500 hover:from-blue-600 hover:to-cyan-600 text-white shadow-lg shadow-blue-500/20';
|
|
96603
96724
|
}
|
|
96604
96725
|
static { this.ɵfac = function ShopProfileQuestionCardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ShopProfileQuestionCardComponent)(); }; }
|
|
96605
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShopProfileQuestionCardComponent, selectors: [["symphiq-shop-profile-question-card"]], inputs: { question: [1, "question"], viewMode: [1, "viewMode"], viewType: [1, "viewType"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"] }, outputs: { answerClick: "answerClick", historyClick: "historyClick" }, decls:
|
|
96606
|
-
i0.ɵɵelementStart(0, "div", 0)
|
|
96607
|
-
i0.ɵɵ
|
|
96726
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShopProfileQuestionCardComponent, selectors: [["symphiq-shop-profile-question-card"]], inputs: { question: [1, "question"], viewMode: [1, "viewMode"], viewType: [1, "viewType"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], categoryNameFormatter: [1, "categoryNameFormatter"] }, outputs: { answerClick: "answerClick", historyClick: "historyClick" }, decls: 19, vars: 11, consts: [[1, "rounded-xl", "border-2", "p-6", "transition-all", "duration-200", 3, "ngClass"], [1, "mb-3"], [1, "flex", "items-start", "gap-3"], [1, "flex-1", "min-w-0"], [1, "text-lg", "font-bold", "mb-2", 3, "ngClass"], [1, "flex-shrink-0", "w-6", "h-6", "rounded", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "text-sm", "leading-relaxed", "mb-4", 3, "ngClass"], [1, "mb-4"], [1, "flex", "flex-wrap", "gap-3"], [1, "rounded-lg", "p-6", "border-2", "border-dashed", "text-center", 3, "ngClass"], [1, "mt-4", "flex", "items-center", "justify-between"], ["type", "button", 1, "px-4", "py-2", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-300", "flex", "items-center", "gap-2", "hover:scale-105", "active:scale-95", 3, "ngClass"], ["type", "button", 1, "px-5", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-300", "flex", "items-center", "gap-2", "hover:scale-105", "active:scale-95", 3, "click", "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 5l7 7-7 7"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M5 13l4 4L19 7"], [1, "mb-2"], [1, "text-xs", "font-semibold", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-2"], [1, "px-3", "py-1.5", "rounded-full", "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "px-4", "py-2.5", "rounded-full", 3, "animationend", "ngClass"], [1, "text-sm", "font-medium", 3, "ngClass"], ["size", "small", 3, "viewMode", "user"], [1, "self-center", "text-xs", "-ml-1", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "gap-3"], [1, "relative", "w-16", "h-16", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-full", "h-full", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "1.5", "d", "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"], [1, "absolute", "top-1", "right-1", "w-3", "h-3", "rounded-full", "border-2", 3, "ngClass"], [1, "text-sm", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-xs", 3, "ngClass"], ["type", "button", 1, "px-4", "py-2", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-300", "flex", "items-center", "gap-2", "hover:scale-105", "active:scale-95", 3, "click", "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"]], template: function ShopProfileQuestionCardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
96727
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
96728
|
+
i0.ɵɵconditionalCreate(1, ShopProfileQuestionCardComponent_Conditional_1_Template, 3, 2, "div", 1);
|
|
96729
|
+
i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "h3", 4);
|
|
96730
|
+
i0.ɵɵtext(5);
|
|
96608
96731
|
i0.ɵɵelementEnd()();
|
|
96609
|
-
i0.ɵɵconditionalCreate(
|
|
96610
|
-
i0.ɵɵelementEnd();
|
|
96611
|
-
i0.ɵɵconditionalCreate(
|
|
96612
|
-
i0.ɵɵconditionalCreate(
|
|
96613
|
-
i0.ɵɵconditionalCreate(
|
|
96614
|
-
i0.ɵɵelementStart(
|
|
96615
|
-
i0.ɵɵconditionalCreate(
|
|
96616
|
-
i0.ɵɵelementStart(
|
|
96617
|
-
i0.ɵɵlistener("click", function
|
|
96618
|
-
i0.ɵɵelementStart(
|
|
96619
|
-
i0.ɵɵtext(
|
|
96732
|
+
i0.ɵɵconditionalCreate(6, ShopProfileQuestionCardComponent_Conditional_6_Template, 3, 1, "div", 5);
|
|
96733
|
+
i0.ɵɵelementEnd();
|
|
96734
|
+
i0.ɵɵconditionalCreate(7, ShopProfileQuestionCardComponent_Conditional_7_Template, 2, 2, "p", 6);
|
|
96735
|
+
i0.ɵɵconditionalCreate(8, ShopProfileQuestionCardComponent_Conditional_8_Template, 7, 2, "div", 7);
|
|
96736
|
+
i0.ɵɵconditionalCreate(9, ShopProfileQuestionCardComponent_Conditional_9_Template, 3, 0, "div", 8)(10, ShopProfileQuestionCardComponent_Conditional_10_Template, 11, 6, "div", 9);
|
|
96737
|
+
i0.ɵɵelementStart(11, "div", 10);
|
|
96738
|
+
i0.ɵɵconditionalCreate(12, ShopProfileQuestionCardComponent_Conditional_12_Template, 5, 1, "button", 11)(13, ShopProfileQuestionCardComponent_Conditional_13_Template, 1, 0, "div");
|
|
96739
|
+
i0.ɵɵelementStart(14, "button", 12);
|
|
96740
|
+
i0.ɵɵlistener("click", function ShopProfileQuestionCardComponent_Template_button_click_14_listener() { return ctx.onAnswerClick(); });
|
|
96741
|
+
i0.ɵɵelementStart(15, "span");
|
|
96742
|
+
i0.ɵɵtext(16);
|
|
96620
96743
|
i0.ɵɵelementEnd();
|
|
96621
96744
|
i0.ɵɵnamespaceSVG();
|
|
96622
|
-
i0.ɵɵelementStart(
|
|
96623
|
-
i0.ɵɵelement(
|
|
96745
|
+
i0.ɵɵelementStart(17, "svg", 13);
|
|
96746
|
+
i0.ɵɵelement(18, "path", 14);
|
|
96624
96747
|
i0.ɵɵelementEnd()()()();
|
|
96625
96748
|
} if (rf & 2) {
|
|
96626
96749
|
i0.ɵɵproperty("ngClass", ctx.containerClasses());
|
|
96750
|
+
i0.ɵɵadvance();
|
|
96751
|
+
i0.ɵɵconditional(ctx.showCategoryBreadcrumb() ? 1 : -1);
|
|
96627
96752
|
i0.ɵɵadvance(3);
|
|
96628
96753
|
i0.ɵɵproperty("ngClass", ctx.questionTextClasses());
|
|
96629
96754
|
i0.ɵɵadvance();
|
|
96630
96755
|
i0.ɵɵtextInterpolate1(" ", ctx.question().question, " ");
|
|
96631
96756
|
i0.ɵɵadvance();
|
|
96632
|
-
i0.ɵɵconditional(ctx.isAnswered() ?
|
|
96757
|
+
i0.ɵɵconditional(ctx.isAnswered() ? 6 : -1);
|
|
96633
96758
|
i0.ɵɵadvance();
|
|
96634
|
-
i0.ɵɵconditional(ctx.question().context ?
|
|
96759
|
+
i0.ɵɵconditional(ctx.question().context ? 7 : -1);
|
|
96635
96760
|
i0.ɵɵadvance();
|
|
96636
|
-
i0.ɵɵconditional(ctx.showFocusAreaChips() && ctx.relatedFocusAreas().length > 0 ?
|
|
96761
|
+
i0.ɵɵconditional(ctx.showFocusAreaChips() && ctx.relatedFocusAreas().length > 0 ? 8 : -1);
|
|
96637
96762
|
i0.ɵɵadvance();
|
|
96638
|
-
i0.ɵɵconditional(ctx.displayAnswers().length > 0 ?
|
|
96763
|
+
i0.ɵɵconditional(ctx.displayAnswers().length > 0 ? 9 : 10);
|
|
96639
96764
|
i0.ɵɵadvance(3);
|
|
96640
|
-
i0.ɵɵconditional(ctx.hasHistory() ?
|
|
96765
|
+
i0.ɵɵconditional(ctx.hasHistory() ? 12 : 13);
|
|
96641
96766
|
i0.ɵɵadvance(2);
|
|
96642
96767
|
i0.ɵɵproperty("ngClass", ctx.buttonClasses());
|
|
96643
96768
|
i0.ɵɵadvance(2);
|
|
@@ -96646,131 +96771,137 @@ class ShopProfileQuestionCardComponent {
|
|
|
96646
96771
|
}
|
|
96647
96772
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShopProfileQuestionCardComponent, [{
|
|
96648
96773
|
type: Component,
|
|
96649
|
-
args: [{ selector: 'symphiq-shop-profile-question-card', standalone: true, imports: [CommonModule, UserAvatarComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
96650
|
-
<div [ngClass]="containerClasses()" class="rounded-xl border-2 p-6 transition-all duration-200">
|
|
96651
|
-
|
|
96652
|
-
|
|
96653
|
-
|
|
96654
|
-
|
|
96655
|
-
|
|
96656
|
-
|
|
96657
|
-
|
|
96658
|
-
|
|
96659
|
-
|
|
96660
|
-
|
|
96661
|
-
|
|
96662
|
-
|
|
96663
|
-
|
|
96664
|
-
|
|
96665
|
-
|
|
96666
|
-
|
|
96667
|
-
|
|
96668
|
-
|
|
96669
|
-
|
|
96670
|
-
|
|
96671
|
-
|
|
96672
|
-
|
|
96673
|
-
|
|
96674
|
-
|
|
96675
|
-
|
|
96676
|
-
|
|
96677
|
-
|
|
96678
|
-
|
|
96679
|
-
|
|
96680
|
-
|
|
96681
|
-
|
|
96682
|
-
|
|
96683
|
-
|
|
96684
|
-
|
|
96685
|
-
|
|
96686
|
-
|
|
96687
|
-
|
|
96688
|
-
|
|
96689
|
-
|
|
96690
|
-
|
|
96691
|
-
|
|
96692
|
-
|
|
96693
|
-
|
|
96694
|
-
|
|
96695
|
-
|
|
96696
|
-
|
|
96697
|
-
|
|
96698
|
-
|
|
96699
|
-
|
|
96700
|
-
|
|
96701
|
-
|
|
96702
|
-
|
|
96703
|
-
|
|
96704
|
-
|
|
96705
|
-
|
|
96706
|
-
|
|
96707
|
-
|
|
96708
|
-
|
|
96709
|
-
|
|
96710
|
-
|
|
96711
|
-
|
|
96712
|
-
|
|
96713
|
-
|
|
96714
|
-
|
|
96715
|
-
|
|
96716
|
-
|
|
96717
|
-
|
|
96718
|
-
|
|
96719
|
-
|
|
96720
|
-
|
|
96721
|
-
|
|
96722
|
-
|
|
96723
|
-
|
|
96724
|
-
|
|
96725
|
-
|
|
96726
|
-
|
|
96727
|
-
|
|
96728
|
-
<div>
|
|
96729
|
-
<
|
|
96730
|
-
|
|
96731
|
-
</
|
|
96732
|
-
<div [ngClass]="
|
|
96733
|
-
|
|
96734
|
-
|
|
96735
|
-
|
|
96736
|
-
|
|
96737
|
-
|
|
96738
|
-
|
|
96739
|
-
|
|
96740
|
-
|
|
96741
|
-
|
|
96742
|
-
|
|
96743
|
-
|
|
96744
|
-
|
|
96745
|
-
|
|
96746
|
-
|
|
96747
|
-
|
|
96748
|
-
|
|
96749
|
-
|
|
96750
|
-
|
|
96751
|
-
|
|
96752
|
-
|
|
96753
|
-
|
|
96754
|
-
|
|
96755
|
-
|
|
96756
|
-
|
|
96757
|
-
|
|
96758
|
-
|
|
96759
|
-
|
|
96760
|
-
|
|
96761
|
-
|
|
96762
|
-
|
|
96763
|
-
|
|
96764
|
-
|
|
96765
|
-
|
|
96766
|
-
|
|
96767
|
-
|
|
96768
|
-
|
|
96769
|
-
|
|
96770
|
-
|
|
96774
|
+
args: [{ selector: 'symphiq-shop-profile-question-card', standalone: true, imports: [CommonModule, UserAvatarComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
96775
|
+
<div [ngClass]="containerClasses()" class="rounded-xl border-2 p-6 transition-all duration-200">
|
|
96776
|
+
@if (showCategoryBreadcrumb()) {
|
|
96777
|
+
<div class="mb-3">
|
|
96778
|
+
<span [ngClass]="categoryBreadcrumbClasses()" class="text-xs font-semibold uppercase tracking-wider">
|
|
96779
|
+
{{ formattedCategoryName() }}
|
|
96780
|
+
</span>
|
|
96781
|
+
</div>
|
|
96782
|
+
}
|
|
96783
|
+
<div class="flex items-start gap-3">
|
|
96784
|
+
<div class="flex-1 min-w-0">
|
|
96785
|
+
<h3 [ngClass]="questionTextClasses()" class="text-lg font-bold mb-2">
|
|
96786
|
+
{{ question().question }}
|
|
96787
|
+
</h3>
|
|
96788
|
+
</div>
|
|
96789
|
+
@if (isAnswered()) {
|
|
96790
|
+
<div [ngClass]="checkboxClasses()" class="flex-shrink-0 w-6 h-6 rounded flex items-center justify-center">
|
|
96791
|
+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
96792
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
|
|
96793
|
+
</svg>
|
|
96794
|
+
</div>
|
|
96795
|
+
}
|
|
96796
|
+
</div>
|
|
96797
|
+
|
|
96798
|
+
<!-- Context -->
|
|
96799
|
+
@if (question().context) {
|
|
96800
|
+
<p [ngClass]="contextTextClasses()" class="text-sm leading-relaxed mb-4">
|
|
96801
|
+
{{ question().context }}
|
|
96802
|
+
</p>
|
|
96803
|
+
}
|
|
96804
|
+
|
|
96805
|
+
<!-- Related Focus Areas (only show when viewing by category) -->
|
|
96806
|
+
@if (showFocusAreaChips() && relatedFocusAreas().length > 0) {
|
|
96807
|
+
<div class="mb-4">
|
|
96808
|
+
<div class="mb-2">
|
|
96809
|
+
<span [ngClass]="relatedLabelClasses()" class="text-xs font-semibold">
|
|
96810
|
+
Related to {{ relatedFocusAreas().length }} focus area(s)
|
|
96811
|
+
</span>
|
|
96812
|
+
</div>
|
|
96813
|
+
<div class="flex flex-wrap gap-2">
|
|
96814
|
+
@for (focusArea of relatedFocusAreas(); track focusArea) {
|
|
96815
|
+
<span [ngClass]="focusAreaChipClasses()" class="px-3 py-1.5 rounded-full text-xs font-medium">
|
|
96816
|
+
{{ getFocusAreaTitle(focusArea) }}
|
|
96817
|
+
</span>
|
|
96818
|
+
}
|
|
96819
|
+
</div>
|
|
96820
|
+
</div>
|
|
96821
|
+
}
|
|
96822
|
+
|
|
96823
|
+
<!-- Answer Section -->
|
|
96824
|
+
@if (displayAnswers().length > 0) {
|
|
96825
|
+
<!-- Answered State - Show answer chips -->
|
|
96826
|
+
<div class="flex flex-wrap gap-3">
|
|
96827
|
+
@for (answerData of displayAnswers(); track answerData.answer.id) {
|
|
96828
|
+
<div
|
|
96829
|
+
[ngClass]="answerChipClasses()"
|
|
96830
|
+
[class.animate-answer-pop-in]="isNewAnswer(answerData.answer.id)"
|
|
96831
|
+
[class.animate-answer-fade-out]="isRemovedAnswer(answerData.answer.id)"
|
|
96832
|
+
(animationend)="onAnimationEnd(answerData.answer.id)"
|
|
96833
|
+
class="flex items-center gap-2 px-4 py-2.5 rounded-full">
|
|
96834
|
+
<span [ngClass]="answerTextClasses()" class="text-sm font-medium">
|
|
96835
|
+
{{ answerData.answer.answer }}
|
|
96836
|
+
</span>
|
|
96837
|
+
<symphiq-user-avatar
|
|
96838
|
+
[viewMode]="viewMode()"
|
|
96839
|
+
[user]="answerData.user"
|
|
96840
|
+
size="small"
|
|
96841
|
+
/>
|
|
96842
|
+
</div>
|
|
96843
|
+
<div [ngClass]="answerDateClasses()" class="self-center text-xs -ml-1">
|
|
96844
|
+
Answered {{ formatAnswerDate(answerData.answer.createdDate) }}
|
|
96845
|
+
</div>
|
|
96846
|
+
}
|
|
96847
|
+
</div>
|
|
96848
|
+
} @else {
|
|
96849
|
+
<!-- Unanswered State -->
|
|
96850
|
+
<div [ngClass]="unansweredContainerClasses()" class="rounded-lg p-6 border-2 border-dashed text-center">
|
|
96851
|
+
<div class="flex flex-col items-center gap-3">
|
|
96852
|
+
<!-- Empty State Icon -->
|
|
96853
|
+
<div [ngClass]="emptyStateIconContainerClasses()" class="relative w-16 h-16">
|
|
96854
|
+
<svg [ngClass]="emptyStateIconClasses()" class="w-full h-full" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
96855
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path>
|
|
96856
|
+
</svg>
|
|
96857
|
+
<div [ngClass]="emptyStateDotClasses()" class="absolute top-1 right-1 w-3 h-3 rounded-full border-2"></div>
|
|
96858
|
+
</div>
|
|
96859
|
+
<div>
|
|
96860
|
+
<div [ngClass]="unansweredLabelClasses()" class="text-sm font-semibold mb-1">
|
|
96861
|
+
Not answered yet
|
|
96862
|
+
</div>
|
|
96863
|
+
<div [ngClass]="unansweredTextClasses()" class="text-xs">
|
|
96864
|
+
Click the button below to provide your answer
|
|
96865
|
+
</div>
|
|
96866
|
+
</div>
|
|
96867
|
+
</div>
|
|
96868
|
+
</div>
|
|
96869
|
+
}
|
|
96870
|
+
|
|
96871
|
+
<!-- Action Buttons -->
|
|
96872
|
+
<div class="mt-4 flex items-center justify-between">
|
|
96873
|
+
<!-- History Button (left) -->
|
|
96874
|
+
@if (hasHistory()) {
|
|
96875
|
+
<button
|
|
96876
|
+
type="button"
|
|
96877
|
+
(click)="onHistoryClick()"
|
|
96878
|
+
[ngClass]="historyButtonClasses()"
|
|
96879
|
+
class="px-4 py-2 rounded-lg font-medium text-sm transition-all duration-300 flex items-center gap-2 hover:scale-105 active:scale-95">
|
|
96880
|
+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
96881
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
|
|
96882
|
+
</svg>
|
|
96883
|
+
<span>History</span>
|
|
96884
|
+
</button>
|
|
96885
|
+
} @else {
|
|
96886
|
+
<div></div>
|
|
96887
|
+
}
|
|
96888
|
+
|
|
96889
|
+
<!-- Answer Button (right) -->
|
|
96890
|
+
<button
|
|
96891
|
+
type="button"
|
|
96892
|
+
(click)="onAnswerClick()"
|
|
96893
|
+
[ngClass]="buttonClasses()"
|
|
96894
|
+
class="px-5 py-2.5 rounded-lg font-medium text-sm transition-all duration-300 flex items-center gap-2 hover:scale-105 active:scale-95">
|
|
96895
|
+
<span>{{ isAnswered() ? 'Edit Answer' : 'Answer' }}</span>
|
|
96896
|
+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
96897
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
|
|
96898
|
+
</svg>
|
|
96899
|
+
</button>
|
|
96900
|
+
</div>
|
|
96901
|
+
</div>
|
|
96771
96902
|
`, styles: ["@keyframes answerPopIn{0%{opacity:0;transform:scale(.8);box-shadow:0 0 #3b82f600}50%{opacity:1;transform:scale(1.05);box-shadow:0 0 20px 4px #3b82f680}to{opacity:1;transform:scale(1);box-shadow:0 0 #3b82f600}}.animate-answer-pop-in{animation:answerPopIn .5s ease-out forwards}@keyframes answerFadeOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}.animate-answer-fade-out{animation:answerFadeOut .4s ease-out forwards}\n"] }]
|
|
96772
|
-
}], null, { question: [{ type: i0.Input, args: [{ isSignal: true, alias: "question", required: true }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], viewType: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewType", required: false }] }], profileAnswers: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswers", required: false }] }], profileAnswerHistories: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswerHistories", required: false }] }], users: [{ type: i0.Input, args: [{ isSignal: true, alias: "users", required: false }] }], answerClick: [{ type: i0.Output, args: ["answerClick"] }], historyClick: [{ type: i0.Output, args: ["historyClick"] }] }); })();
|
|
96773
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShopProfileQuestionCardComponent, { className: "ShopProfileQuestionCardComponent", filePath: "lib/components/profile-analysis-shop-dashboard/cards/shop-profile-question-card.component.ts", lineNumber:
|
|
96903
|
+
}], null, { question: [{ type: i0.Input, args: [{ isSignal: true, alias: "question", required: true }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], viewType: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewType", required: false }] }], profileAnswers: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswers", required: false }] }], profileAnswerHistories: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswerHistories", required: false }] }], users: [{ type: i0.Input, args: [{ isSignal: true, alias: "users", required: false }] }], categoryNameFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "categoryNameFormatter", required: false }] }], answerClick: [{ type: i0.Output, args: ["answerClick"] }], historyClick: [{ type: i0.Output, args: ["historyClick"] }] }); })();
|
|
96904
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShopProfileQuestionCardComponent, { className: "ShopProfileQuestionCardComponent", filePath: "lib/components/profile-analysis-shop-dashboard/cards/shop-profile-question-card.component.ts", lineNumber: 184 }); })();
|
|
96774
96905
|
|
|
96775
96906
|
const _c0$4 = ["scrollContainer"];
|
|
96776
96907
|
const _c1$1 = ["stickySentinel"];
|
|
@@ -98291,11 +98422,11 @@ function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditio
|
|
|
98291
98422
|
} if (rf & 2) {
|
|
98292
98423
|
const question_r6 = ctx.$implicit;
|
|
98293
98424
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
98294
|
-
i0.ɵɵproperty("id", "question-" + question_r6.id)("question", question_r6)("viewMode", ctx_r1.viewMode())("viewType", ctx_r1.viewType())("profileAnswers", ctx_r1.profileAnswers())("profileAnswerHistories", ctx_r1.profileAnswerHistories())("users", ctx_r1.users());
|
|
98425
|
+
i0.ɵɵproperty("id", "question-" + question_r6.id)("question", question_r6)("viewMode", ctx_r1.viewMode())("viewType", ctx_r1.viewType())("profileAnswers", ctx_r1.profileAnswers())("profileAnswerHistories", ctx_r1.profileAnswerHistories())("users", ctx_r1.users())("categoryNameFormatter", ctx_r1.getCategoryNameFormatter());
|
|
98295
98426
|
} }
|
|
98296
98427
|
function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
98297
98428
|
i0.ɵɵelementStart(0, "div", 25);
|
|
98298
|
-
i0.ɵɵrepeaterCreate(1, ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_For_2_Template, 1,
|
|
98429
|
+
i0.ɵɵrepeaterCreate(1, ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_For_2_Template, 1, 8, "symphiq-shop-profile-question-card", 31, _forTrack0);
|
|
98299
98430
|
i0.ɵɵelementEnd();
|
|
98300
98431
|
} if (rf & 2) {
|
|
98301
98432
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -98675,6 +98806,9 @@ class ShopProfileQuestionsModalComponent {
|
|
|
98675
98806
|
.map(word => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase())
|
|
98676
98807
|
.join(' ');
|
|
98677
98808
|
}
|
|
98809
|
+
getCategoryNameFormatter() {
|
|
98810
|
+
return (category) => this.formatCategoryName(category);
|
|
98811
|
+
}
|
|
98678
98812
|
formatFocusAreaName(focusArea) {
|
|
98679
98813
|
if (focusArea === 'general')
|
|
98680
98814
|
return 'General';
|
|
@@ -98786,7 +98920,7 @@ class ShopProfileQuestionsModalComponent {
|
|
|
98786
98920
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
|
|
98787
98921
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalWrapper = _t.first);
|
|
98788
98922
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scrollContainer = _t.first);
|
|
98789
|
-
} }, inputs: { isOpen: [1, "isOpen"], questions: [1, "questions"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], selectedCategoryId: [1, "selectedCategoryId"], selectedFocusAreaId: [1, "selectedFocusAreaId"], showAllQuestions: [1, "showAllQuestions"], startDirectAnswer: [1, "startDirectAnswer"], viewMode: [1, "viewMode"] }, outputs: { close: "close", questionAnswerClick: "questionAnswerClick", answerSave: "answerSave" }, decls: 1, vars: 1, consts: [["modalWrapper", ""], ["modalContent", ""], ["scrollContainer", ""], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "px-4", "pt-4", "pb-20", "text-center", "sm:block", "sm:p-0"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-sm", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "sm:max-w-4xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "block", "h-[80vh]", 3, "question", "viewMode", "profileAnswerHistories", "profileAnswers", "users"], [1, "block", "h-[80vh]", 3, "close", "back", "question", "viewMode", "profileAnswerHistories", "profileAnswers", "users"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", "sticky", "top-0", "z-10", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-3", 3, "ngClass"], [1, "space-y-2"], [1, "h-2", "rounded-full", "overflow-hidden", 3, "ngClass"], [1, "h-full", "transition-all", "duration-500", "ease-out", "rounded-full", 3, "ngClass"], [1, "text-sm", "font-medium", 3, "ngClass"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", "relative", "ml-4", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "px-6", "py-8", "max-h-[70vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [1, "text-center", "py-12"], [1, "flex", "flex-col", "gap-6"], [1, "w-16", "h-16", "mx-auto", "mb-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-full", "h-full"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "1.5", "d", "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"], [1, "text-lg", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [3, "id", "question", "viewMode", "viewType", "profileAnswers", "profileAnswerHistories", "users"], [3, "answerClick", "historyClick", "id", "question", "viewMode", "viewType", "profileAnswers", "profileAnswerHistories", "users"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", 3, "click", "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 19l-7-7 7-7"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "h-[70vh]", "overflow-hidden"], [1, "block", "h-full", 3, "question", "viewMode", "viewType", "selectedCategoryId", "selectedFocusAreaId", "filteredQuestions", "profileAnswers"], [1, "block", "h-full", 3, "backClick", "saveClick", "saveAndNextClick", "navigateToList", "navigateToNextQuestion", "question", "viewMode", "viewType", "selectedCategoryId", "selectedFocusAreaId", "filteredQuestions", "profileAnswers"]], template: function ShopProfileQuestionsModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
98923
|
+
} }, inputs: { isOpen: [1, "isOpen"], questions: [1, "questions"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], selectedCategoryId: [1, "selectedCategoryId"], selectedFocusAreaId: [1, "selectedFocusAreaId"], showAllQuestions: [1, "showAllQuestions"], startDirectAnswer: [1, "startDirectAnswer"], viewMode: [1, "viewMode"] }, outputs: { close: "close", questionAnswerClick: "questionAnswerClick", answerSave: "answerSave" }, decls: 1, vars: 1, consts: [["modalWrapper", ""], ["modalContent", ""], ["scrollContainer", ""], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "px-4", "pt-4", "pb-20", "text-center", "sm:block", "sm:p-0"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-sm", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "sm:max-w-4xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "block", "h-[80vh]", 3, "question", "viewMode", "profileAnswerHistories", "profileAnswers", "users"], [1, "block", "h-[80vh]", 3, "close", "back", "question", "viewMode", "profileAnswerHistories", "profileAnswers", "users"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", "sticky", "top-0", "z-10", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-3", 3, "ngClass"], [1, "space-y-2"], [1, "h-2", "rounded-full", "overflow-hidden", 3, "ngClass"], [1, "h-full", "transition-all", "duration-500", "ease-out", "rounded-full", 3, "ngClass"], [1, "text-sm", "font-medium", 3, "ngClass"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", "relative", "ml-4", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "px-6", "py-8", "max-h-[70vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [1, "text-center", "py-12"], [1, "flex", "flex-col", "gap-6"], [1, "w-16", "h-16", "mx-auto", "mb-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-full", "h-full"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "1.5", "d", "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"], [1, "text-lg", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [3, "id", "question", "viewMode", "viewType", "profileAnswers", "profileAnswerHistories", "users", "categoryNameFormatter"], [3, "answerClick", "historyClick", "id", "question", "viewMode", "viewType", "profileAnswers", "profileAnswerHistories", "users", "categoryNameFormatter"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", 3, "click", "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 19l-7-7 7-7"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "h-[70vh]", "overflow-hidden"], [1, "block", "h-full", 3, "question", "viewMode", "viewType", "selectedCategoryId", "selectedFocusAreaId", "filteredQuestions", "profileAnswers"], [1, "block", "h-full", 3, "backClick", "saveClick", "saveAndNextClick", "navigateToList", "navigateToNextQuestion", "question", "viewMode", "viewType", "selectedCategoryId", "selectedFocusAreaId", "filteredQuestions", "profileAnswers"]], template: function ShopProfileQuestionsModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
98790
98924
|
i0.ɵɵconditionalCreate(0, ShopProfileQuestionsModalComponent_Conditional_0_Template, 11, 5, "div", 3);
|
|
98791
98925
|
} if (rf & 2) {
|
|
98792
98926
|
i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
|
|
@@ -98930,6 +99064,7 @@ class ShopProfileQuestionsModalComponent {
|
|
|
98930
99064
|
[profileAnswers]="profileAnswers()"
|
|
98931
99065
|
[profileAnswerHistories]="profileAnswerHistories()"
|
|
98932
99066
|
[users]="users()"
|
|
99067
|
+
[categoryNameFormatter]="getCategoryNameFormatter()"
|
|
98933
99068
|
(answerClick)="onQuestionAnswerClick($event)"
|
|
98934
99069
|
(historyClick)="onQuestionHistoryClick($event)" />
|
|
98935
99070
|
}
|
|
@@ -99014,7 +99149,7 @@ class ShopProfileQuestionsModalComponent {
|
|
|
99014
99149
|
type: ViewChild,
|
|
99015
99150
|
args: ['scrollContainer']
|
|
99016
99151
|
}] }); })();
|
|
99017
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShopProfileQuestionsModalComponent, { className: "ShopProfileQuestionsModalComponent", filePath: "lib/components/profile-analysis-shop-dashboard/cards/shop-profile-questions-modal.component.ts", lineNumber:
|
|
99152
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShopProfileQuestionsModalComponent, { className: "ShopProfileQuestionsModalComponent", filePath: "lib/components/profile-analysis-shop-dashboard/cards/shop-profile-questions-modal.component.ts", lineNumber: 220 }); })();
|
|
99018
99153
|
|
|
99019
99154
|
const _c0$2 = ["chartdiv"];
|
|
99020
99155
|
function ShopProfileStatusCardComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|