@eric-emg/symphiq-components 1.2.463 → 1.2.465
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 +451 -336
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +26 -18
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -45566,20 +45566,34 @@ 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_1_Template(rf, ctx) { if (rf & 1) {
|
|
45570
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
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-700" : "text-slate-300");
|
|
45576
|
+
i0.ɵɵadvance();
|
|
45577
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.compactTitle(), " ");
|
|
45578
|
+
} }
|
|
45569
45579
|
function ContentGenerationProgressComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
45570
|
-
i0.ɵɵelementStart(0, "div", 0)
|
|
45571
|
-
i0.ɵɵ
|
|
45572
|
-
i0.ɵɵelementStart(
|
|
45573
|
-
i0.ɵɵ
|
|
45580
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
45581
|
+
i0.ɵɵconditionalCreate(1, ContentGenerationProgressComponent_Conditional_0_Conditional_1_Template, 2, 2, "div", 2);
|
|
45582
|
+
i0.ɵɵelementStart(2, "div", 3);
|
|
45583
|
+
i0.ɵɵelement(3, "div", 4);
|
|
45584
|
+
i0.ɵɵelementStart(4, "span", 5);
|
|
45585
|
+
i0.ɵɵtext(5);
|
|
45574
45586
|
i0.ɵɵelementEnd()();
|
|
45575
|
-
i0.ɵɵelementStart(
|
|
45576
|
-
i0.ɵɵelement(
|
|
45587
|
+
i0.ɵɵelementStart(6, "div", 6)(7, "div", 7);
|
|
45588
|
+
i0.ɵɵelement(8, "div", 8);
|
|
45577
45589
|
i0.ɵɵelementEnd()();
|
|
45578
|
-
i0.ɵɵelementStart(
|
|
45579
|
-
i0.ɵɵtext(
|
|
45590
|
+
i0.ɵɵelementStart(9, "div", 9);
|
|
45591
|
+
i0.ɵɵtext(10);
|
|
45580
45592
|
i0.ɵɵelementEnd()();
|
|
45581
45593
|
} if (rf & 2) {
|
|
45582
45594
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
45595
|
+
i0.ɵɵadvance();
|
|
45596
|
+
i0.ɵɵconditional(ctx_r0.compactTitle() ? 1 : -1);
|
|
45583
45597
|
i0.ɵɵadvance(3);
|
|
45584
45598
|
i0.ɵɵproperty("ngClass", ctx_r0.isLightMode() ? "text-blue-600" : "text-blue-400");
|
|
45585
45599
|
i0.ɵɵadvance();
|
|
@@ -45594,8 +45608,8 @@ function ContentGenerationProgressComponent_Conditional_0_Template(rf, ctx) { if
|
|
|
45594
45608
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.progressPercentage(), "% complete ");
|
|
45595
45609
|
} }
|
|
45596
45610
|
function ContentGenerationProgressComponent_Conditional_1_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
45597
|
-
i0.ɵɵelementStart(0, "div",
|
|
45598
|
-
i0.ɵɵelement(1, "div",
|
|
45611
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
45612
|
+
i0.ɵɵelement(1, "div", 29)(2, "div", 30)(3, "div", 31)(4, "div", 32)(5, "div", 33)(6, "div", 34);
|
|
45599
45613
|
i0.ɵɵelementEnd();
|
|
45600
45614
|
} if (rf & 2) {
|
|
45601
45615
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -45614,39 +45628,39 @@ function ContentGenerationProgressComponent_Conditional_1_Conditional_20_Templat
|
|
|
45614
45628
|
i0.ɵɵstyleProp("background-color", ctx_r0.dotColor());
|
|
45615
45629
|
} }
|
|
45616
45630
|
function ContentGenerationProgressComponent_Conditional_1_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
45617
|
-
i0.ɵɵelement(0, "div",
|
|
45631
|
+
i0.ɵɵelement(0, "div", 35);
|
|
45618
45632
|
} if (rf & 2) {
|
|
45619
45633
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
45620
45634
|
i0.ɵɵstyleProp("left", ctx_r0.progressPercentage(), "%");
|
|
45621
45635
|
i0.ɵɵproperty("ngClass", ctx_r0.progressGlowClasses());
|
|
45622
45636
|
} }
|
|
45623
45637
|
function ContentGenerationProgressComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
45624
|
-
i0.ɵɵelementStart(0, "div", 1)(1, "div",
|
|
45638
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 10)(2, "div", 11)(3, "div", 12)(4, "div", 13);
|
|
45625
45639
|
i0.ɵɵnamespaceSVG();
|
|
45626
|
-
i0.ɵɵelementStart(5, "svg",
|
|
45627
|
-
i0.ɵɵelement(6, "path",
|
|
45640
|
+
i0.ɵɵelementStart(5, "svg", 14);
|
|
45641
|
+
i0.ɵɵelement(6, "path", 15);
|
|
45628
45642
|
i0.ɵɵelementEnd();
|
|
45629
45643
|
i0.ɵɵnamespaceHTML();
|
|
45630
|
-
i0.ɵɵelement(7, "div",
|
|
45644
|
+
i0.ɵɵelement(7, "div", 16);
|
|
45631
45645
|
i0.ɵɵelementEnd()();
|
|
45632
|
-
i0.ɵɵelementStart(8, "h2",
|
|
45646
|
+
i0.ɵɵelementStart(8, "h2", 17);
|
|
45633
45647
|
i0.ɵɵtext(9);
|
|
45634
45648
|
i0.ɵɵelementEnd();
|
|
45635
|
-
i0.ɵɵelementStart(10, "p",
|
|
45649
|
+
i0.ɵɵelementStart(10, "p", 18);
|
|
45636
45650
|
i0.ɵɵtext(11);
|
|
45637
45651
|
i0.ɵɵelementEnd()();
|
|
45638
|
-
i0.ɵɵelementStart(12, "div",
|
|
45652
|
+
i0.ɵɵelementStart(12, "div", 19)(13, "div", 20)(14, "p", 21);
|
|
45639
45653
|
i0.ɵɵtext(15);
|
|
45640
45654
|
i0.ɵɵelementEnd()();
|
|
45641
|
-
i0.ɵɵelementStart(16, "div",
|
|
45642
|
-
i0.ɵɵelement(17, "div",
|
|
45643
|
-
i0.ɵɵelementStart(18, "div",
|
|
45644
|
-
i0.ɵɵelement(19, "div",
|
|
45655
|
+
i0.ɵɵelementStart(16, "div", 22);
|
|
45656
|
+
i0.ɵɵelement(17, "div", 23);
|
|
45657
|
+
i0.ɵɵelementStart(18, "div", 24);
|
|
45658
|
+
i0.ɵɵelement(19, "div", 8);
|
|
45645
45659
|
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",
|
|
45660
|
+
i0.ɵɵconditionalCreate(20, ContentGenerationProgressComponent_Conditional_1_Conditional_20_Template, 7, 14, "div", 25);
|
|
45661
|
+
i0.ɵɵconditionalCreate(21, ContentGenerationProgressComponent_Conditional_1_Conditional_21_Template, 1, 3, "div", 26);
|
|
45648
45662
|
i0.ɵɵelementEnd();
|
|
45649
|
-
i0.ɵɵelementStart(22, "div",
|
|
45663
|
+
i0.ɵɵelementStart(22, "div", 20)(23, "span", 27);
|
|
45650
45664
|
i0.ɵɵtext(24);
|
|
45651
45665
|
i0.ɵɵelementEnd()()()()();
|
|
45652
45666
|
} if (rf & 2) {
|
|
@@ -45690,6 +45704,7 @@ class ContentGenerationProgressComponent {
|
|
|
45690
45704
|
this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
|
|
45691
45705
|
this.showIcon = input(true, ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
|
|
45692
45706
|
this.compact = input(false, ...(ngDevMode ? [{ debugName: "compact" }] : []));
|
|
45707
|
+
this.compactTitle = input('', ...(ngDevMode ? [{ debugName: "compactTitle" }] : []));
|
|
45693
45708
|
this.progressPercentage = computed(() => {
|
|
45694
45709
|
const status = this.itemStatus();
|
|
45695
45710
|
if (!status?.percentageComplete) {
|
|
@@ -45763,8 +45778,8 @@ class ContentGenerationProgressComponent {
|
|
|
45763
45778
|
}, ...(ngDevMode ? [{ debugName: "percentageClasses" }] : []));
|
|
45764
45779
|
}
|
|
45765
45780
|
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", "space-y-
|
|
45767
|
-
i0.ɵɵconditionalCreate(0, ContentGenerationProgressComponent_Conditional_0_Template,
|
|
45781
|
+
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", "space-y-1.5", "py-2"], [1, "min-h-[60vh]", "flex", "items-center", "justify-center", "px-4", "py-12", 3, "ngClass"], [1, "text-xs", "font-semibold", "mb-1", 3, "ngClass"], [1, "flex", "items-center", "gap-2"], [1, "animate-spin", "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "w-full", "h-2", "rounded-full", "relative", 2, "overflow", "visible", 3, "ngClass"], [1, "h-full", "bg-gradient-to-r", "from-blue-500", "to-cyan-500", "rounded-full", "transition-all", "duration-500", "overflow-hidden"], [1, "absolute", "inset-0", "shimmer-effect"], [1, "text-xs", "tabular-nums", 3, "ngClass"], [1, "max-w-3xl", "w-full", "space-y-8"], [1, "text-center", "space-y-3"], [1, "flex", "items-center", "justify-center", "mb-4"], [1, "relative", "w-20", "h-20", "rounded-2xl", "flex", "items-center", "justify-center", "icon-pulse", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-10", "h-10"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 10V3L4 14h7v7l9-11h-7z"], [1, "absolute", "inset-0", "rounded-2xl", "icon-glow"], [1, "text-3xl", "sm:text-4xl", "font-bold", 3, "ngClass"], [1, "text-base", "sm:text-lg", "max-w-2xl", "mx-auto", 3, "ngClass"], [1, "space-y-4"], [1, "text-center"], [1, "text-lg", "sm:text-xl", "font-medium", "message-fade", 3, "ngClass"], [1, "relative", "h-3", "rounded-full", 2, "overflow", "visible", 3, "ngClass"], [1, "absolute", "inset-0", "rounded-full", 3, "ngClass"], [1, "absolute", "inset-y-0", "left-0", "rounded-full", "transition-all", "duration-700", "ease-out", "overflow-hidden", 3, "ngClass"], [1, "absolute", "pointer-events-none", 2, "right", "0", "top", "-4px", "bottom", "-4px", "overflow", "visible", 3, "left"], [1, "absolute", "top-1/2", "-translate-y-1/2", "w-4", "h-4", "rounded-full", "blur-md", "transition-all", "duration-700", "ease-out", 2, "margin-left", "-8px", 3, "ngClass", "left"], [1, "text-sm", "font-medium", "tabular-nums", 3, "ngClass"], [1, "absolute", "pointer-events-none", 2, "right", "0", "top", "-4px", "bottom", "-4px", "overflow", "visible"], [1, "animated-dot", "animated-dot-1"], [1, "animated-dot", "animated-dot-2"], [1, "animated-dot", "animated-dot-3"], [1, "animated-dot", "animated-dot-4"], [1, "animated-dot", "animated-dot-5"], [1, "animated-dot", "animated-dot-6"], [1, "absolute", "top-1/2", "-translate-y-1/2", "w-4", "h-4", "rounded-full", "blur-md", "transition-all", "duration-700", "ease-out", 2, "margin-left", "-8px", 3, "ngClass"]], template: function ContentGenerationProgressComponent_Template(rf, ctx) { if (rf & 1) {
|
|
45782
|
+
i0.ɵɵconditionalCreate(0, ContentGenerationProgressComponent_Conditional_0_Template, 11, 8, "div", 0)(1, ContentGenerationProgressComponent_Conditional_1_Template, 25, 17, "div", 1);
|
|
45768
45783
|
} if (rf & 2) {
|
|
45769
45784
|
i0.ɵɵconditional(ctx.compact() ? 0 : 1);
|
|
45770
45785
|
} }, 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,7 +45788,12 @@ class ContentGenerationProgressComponent {
|
|
|
45773
45788
|
type: Component,
|
|
45774
45789
|
args: [{ selector: 'symphiq-content-generation-progress', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
45775
45790
|
@if (compact()) {
|
|
45776
|
-
<div class="w-full space-y-
|
|
45791
|
+
<div class="w-full space-y-1.5 py-2">
|
|
45792
|
+
@if (compactTitle()) {
|
|
45793
|
+
<div class="text-xs font-semibold mb-1" [ngClass]="isLightMode() ? 'text-slate-700' : 'text-slate-300'">
|
|
45794
|
+
{{ compactTitle() }}
|
|
45795
|
+
</div>
|
|
45796
|
+
}
|
|
45777
45797
|
<div class="flex items-center gap-2">
|
|
45778
45798
|
<div class="animate-spin w-4 h-4 border-2 border-blue-500/30 border-t-blue-500 rounded-full"></div>
|
|
45779
45799
|
<span class="text-xs font-medium" [ngClass]="isLightMode() ? 'text-blue-600' : 'text-blue-400'">
|
|
@@ -45864,8 +45884,8 @@ class ContentGenerationProgressComponent {
|
|
|
45864
45884
|
</div>
|
|
45865
45885
|
}
|
|
45866
45886
|
`, 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:
|
|
45887
|
+
}], 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 }] }] }); })();
|
|
45888
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContentGenerationProgressComponent, { className: "ContentGenerationProgressComponent", filePath: "lib/components/shared/content-generation-progress.component.ts", lineNumber: 238 }); })();
|
|
45869
45889
|
|
|
45870
45890
|
class ContentGenerationProgressWithConfettiComponent {
|
|
45871
45891
|
constructor() {
|
|
@@ -89052,18 +89072,29 @@ class ProfileAnswerAnimationService {
|
|
|
89052
89072
|
}], null, null); })();
|
|
89053
89073
|
|
|
89054
89074
|
const _forTrack0$9 = ($index, $item) => $item.answer.id;
|
|
89055
|
-
function
|
|
89056
|
-
i0.ɵɵelementStart(0, "div",
|
|
89075
|
+
function ProfileQuestionCardComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
89076
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "span", 15);
|
|
89077
|
+
i0.ɵɵtext(2);
|
|
89078
|
+
i0.ɵɵelementEnd()();
|
|
89079
|
+
} if (rf & 2) {
|
|
89080
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
89081
|
+
i0.ɵɵadvance();
|
|
89082
|
+
i0.ɵɵproperty("ngClass", ctx_r0.categoryBreadcrumbClasses());
|
|
89083
|
+
i0.ɵɵadvance();
|
|
89084
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.formattedCategoryName(), " ");
|
|
89085
|
+
} }
|
|
89086
|
+
function ProfileQuestionCardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
89087
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
89057
89088
|
i0.ɵɵnamespaceSVG();
|
|
89058
|
-
i0.ɵɵelementStart(1, "svg",
|
|
89059
|
-
i0.ɵɵelement(2, "path",
|
|
89089
|
+
i0.ɵɵelementStart(1, "svg", 13);
|
|
89090
|
+
i0.ɵɵelement(2, "path", 16);
|
|
89060
89091
|
i0.ɵɵelementEnd()();
|
|
89061
89092
|
} if (rf & 2) {
|
|
89062
89093
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
89063
89094
|
i0.ɵɵproperty("ngClass", ctx_r0.checkboxClasses());
|
|
89064
89095
|
} }
|
|
89065
|
-
function
|
|
89066
|
-
i0.ɵɵelementStart(0, "p",
|
|
89096
|
+
function ProfileQuestionCardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
89097
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
89067
89098
|
i0.ɵɵtext(1);
|
|
89068
89099
|
i0.ɵɵelementEnd();
|
|
89069
89100
|
} if (rf & 2) {
|
|
@@ -89072,8 +89103,8 @@ function ProfileQuestionCardComponent_Conditional_6_Template(rf, ctx) { if (rf &
|
|
|
89072
89103
|
i0.ɵɵadvance();
|
|
89073
89104
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.question().context, " ");
|
|
89074
89105
|
} }
|
|
89075
|
-
function
|
|
89076
|
-
i0.ɵɵelementStart(0, "span",
|
|
89106
|
+
function ProfileQuestionCardComponent_Conditional_8_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
89107
|
+
i0.ɵɵelementStart(0, "span", 20);
|
|
89077
89108
|
i0.ɵɵtext(1);
|
|
89078
89109
|
i0.ɵɵelementEnd();
|
|
89079
89110
|
} if (rf & 2) {
|
|
@@ -89083,12 +89114,12 @@ function ProfileQuestionCardComponent_Conditional_7_For_6_Template(rf, ctx) { if
|
|
|
89083
89114
|
i0.ɵɵadvance();
|
|
89084
89115
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.getFocusAreaTitle(focusArea_r2), " ");
|
|
89085
89116
|
} }
|
|
89086
|
-
function
|
|
89087
|
-
i0.ɵɵelementStart(0, "div",
|
|
89117
|
+
function ProfileQuestionCardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
89118
|
+
i0.ɵɵelementStart(0, "div", 7)(1, "div", 17)(2, "span", 18);
|
|
89088
89119
|
i0.ɵɵtext(3);
|
|
89089
89120
|
i0.ɵɵelementEnd()();
|
|
89090
|
-
i0.ɵɵelementStart(4, "div",
|
|
89091
|
-
i0.ɵɵrepeaterCreate(5,
|
|
89121
|
+
i0.ɵɵelementStart(4, "div", 19);
|
|
89122
|
+
i0.ɵɵrepeaterCreate(5, ProfileQuestionCardComponent_Conditional_8_For_6_Template, 2, 2, "span", 20, i0.ɵɵrepeaterTrackByIdentity);
|
|
89092
89123
|
i0.ɵɵelementEnd()();
|
|
89093
89124
|
} if (rf & 2) {
|
|
89094
89125
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -89099,16 +89130,16 @@ function ProfileQuestionCardComponent_Conditional_7_Template(rf, ctx) { if (rf &
|
|
|
89099
89130
|
i0.ɵɵadvance(2);
|
|
89100
89131
|
i0.ɵɵrepeater(ctx_r0.relatedFocusAreas());
|
|
89101
89132
|
} }
|
|
89102
|
-
function
|
|
89133
|
+
function ProfileQuestionCardComponent_Conditional_9_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
89103
89134
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
89104
|
-
i0.ɵɵelementStart(0, "div",
|
|
89105
|
-
i0.ɵɵlistener("animationend", function
|
|
89106
|
-
i0.ɵɵelementStart(1, "span",
|
|
89135
|
+
i0.ɵɵelementStart(0, "div", 21);
|
|
89136
|
+
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)); });
|
|
89137
|
+
i0.ɵɵelementStart(1, "span", 22);
|
|
89107
89138
|
i0.ɵɵtext(2);
|
|
89108
89139
|
i0.ɵɵelementEnd();
|
|
89109
|
-
i0.ɵɵelement(3, "symphiq-user-avatar",
|
|
89140
|
+
i0.ɵɵelement(3, "symphiq-user-avatar", 23);
|
|
89110
89141
|
i0.ɵɵelementEnd();
|
|
89111
|
-
i0.ɵɵelementStart(4, "div",
|
|
89142
|
+
i0.ɵɵelementStart(4, "div", 24);
|
|
89112
89143
|
i0.ɵɵtext(5);
|
|
89113
89144
|
i0.ɵɵelementEnd();
|
|
89114
89145
|
} if (rf & 2) {
|
|
@@ -89127,28 +89158,28 @@ function ProfileQuestionCardComponent_Conditional_8_For_2_Template(rf, ctx) { if
|
|
|
89127
89158
|
i0.ɵɵadvance();
|
|
89128
89159
|
i0.ɵɵtextInterpolate1(" Answered ", ctx_r0.formatAnswerDate(answerData_r4.answer.createdDate), " ");
|
|
89129
89160
|
} }
|
|
89130
|
-
function
|
|
89131
|
-
i0.ɵɵelementStart(0, "div",
|
|
89132
|
-
i0.ɵɵrepeaterCreate(1,
|
|
89161
|
+
function ProfileQuestionCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
89162
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
89163
|
+
i0.ɵɵrepeaterCreate(1, ProfileQuestionCardComponent_Conditional_9_For_2_Template, 6, 11, null, null, _forTrack0$9);
|
|
89133
89164
|
i0.ɵɵelementEnd();
|
|
89134
89165
|
} if (rf & 2) {
|
|
89135
89166
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
89136
89167
|
i0.ɵɵadvance();
|
|
89137
89168
|
i0.ɵɵrepeater(ctx_r0.displayAnswers());
|
|
89138
89169
|
} }
|
|
89139
|
-
function
|
|
89140
|
-
i0.ɵɵelementStart(0, "div",
|
|
89170
|
+
function ProfileQuestionCardComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
89171
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 25)(2, "div", 26);
|
|
89141
89172
|
i0.ɵɵnamespaceSVG();
|
|
89142
|
-
i0.ɵɵelementStart(3, "svg",
|
|
89143
|
-
i0.ɵɵelement(4, "path",
|
|
89173
|
+
i0.ɵɵelementStart(3, "svg", 27);
|
|
89174
|
+
i0.ɵɵelement(4, "path", 28);
|
|
89144
89175
|
i0.ɵɵelementEnd();
|
|
89145
89176
|
i0.ɵɵnamespaceHTML();
|
|
89146
|
-
i0.ɵɵelement(5, "div",
|
|
89177
|
+
i0.ɵɵelement(5, "div", 29);
|
|
89147
89178
|
i0.ɵɵelementEnd();
|
|
89148
|
-
i0.ɵɵelementStart(6, "div")(7, "div",
|
|
89179
|
+
i0.ɵɵelementStart(6, "div")(7, "div", 30);
|
|
89149
89180
|
i0.ɵɵtext(8, " Not answered yet ");
|
|
89150
89181
|
i0.ɵɵelementEnd();
|
|
89151
|
-
i0.ɵɵelementStart(9, "div",
|
|
89182
|
+
i0.ɵɵelementStart(9, "div", 31);
|
|
89152
89183
|
i0.ɵɵtext(10, " Click the button below to provide your answer ");
|
|
89153
89184
|
i0.ɵɵelementEnd()()()();
|
|
89154
89185
|
} if (rf & 2) {
|
|
@@ -89165,13 +89196,13 @@ function ProfileQuestionCardComponent_Conditional_9_Template(rf, ctx) { if (rf &
|
|
|
89165
89196
|
i0.ɵɵadvance(2);
|
|
89166
89197
|
i0.ɵɵproperty("ngClass", ctx_r0.unansweredTextClasses());
|
|
89167
89198
|
} }
|
|
89168
|
-
function
|
|
89199
|
+
function ProfileQuestionCardComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
89169
89200
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
89170
|
-
i0.ɵɵelementStart(0, "button",
|
|
89171
|
-
i0.ɵɵlistener("click", function
|
|
89201
|
+
i0.ɵɵelementStart(0, "button", 32);
|
|
89202
|
+
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
89203
|
i0.ɵɵnamespaceSVG();
|
|
89173
|
-
i0.ɵɵelementStart(1, "svg",
|
|
89174
|
-
i0.ɵɵelement(2, "path",
|
|
89204
|
+
i0.ɵɵelementStart(1, "svg", 13);
|
|
89205
|
+
i0.ɵɵelement(2, "path", 33);
|
|
89175
89206
|
i0.ɵɵelementEnd();
|
|
89176
89207
|
i0.ɵɵnamespaceHTML();
|
|
89177
89208
|
i0.ɵɵelementStart(3, "span");
|
|
@@ -89181,7 +89212,7 @@ function ProfileQuestionCardComponent_Conditional_11_Template(rf, ctx) { if (rf
|
|
|
89181
89212
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
89182
89213
|
i0.ɵɵproperty("ngClass", ctx_r0.historyButtonClasses());
|
|
89183
89214
|
} }
|
|
89184
|
-
function
|
|
89215
|
+
function ProfileQuestionCardComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
89185
89216
|
i0.ɵɵelement(0, "div");
|
|
89186
89217
|
} }
|
|
89187
89218
|
class ProfileQuestionCardComponent {
|
|
@@ -89194,6 +89225,7 @@ class ProfileQuestionCardComponent {
|
|
|
89194
89225
|
this.profileAnswerHistories = input([], ...(ngDevMode ? [{ debugName: "profileAnswerHistories" }] : []));
|
|
89195
89226
|
this.users = input([], ...(ngDevMode ? [{ debugName: "users" }] : []));
|
|
89196
89227
|
this.showFocusAreaChips = input(false, ...(ngDevMode ? [{ debugName: "showFocusAreaChips" }] : []));
|
|
89228
|
+
this.categoryNameFormatter = input(null, ...(ngDevMode ? [{ debugName: "categoryNameFormatter" }] : []));
|
|
89197
89229
|
this.answerClick = output();
|
|
89198
89230
|
this.historyClick = output();
|
|
89199
89231
|
this.questionAnswers = computed(() => {
|
|
@@ -89230,6 +89262,18 @@ class ProfileQuestionCardComponent {
|
|
|
89230
89262
|
const q = this.question();
|
|
89231
89263
|
return 'focusAreaDomains' in q ? (q.focusAreaDomains || []) : [];
|
|
89232
89264
|
}, ...(ngDevMode ? [{ debugName: "relatedFocusAreas" }] : []));
|
|
89265
|
+
this.showCategoryBreadcrumb = computed(() => {
|
|
89266
|
+
const q = this.question();
|
|
89267
|
+
return this.viewType() === 'all' && 'category' in q && q.category;
|
|
89268
|
+
}, ...(ngDevMode ? [{ debugName: "showCategoryBreadcrumb" }] : []));
|
|
89269
|
+
this.formattedCategoryName = computed(() => {
|
|
89270
|
+
const q = this.question();
|
|
89271
|
+
const category = 'category' in q ? q.category : null;
|
|
89272
|
+
if (!category)
|
|
89273
|
+
return '';
|
|
89274
|
+
const formatter = this.categoryNameFormatter();
|
|
89275
|
+
return formatter ? formatter(category) : category;
|
|
89276
|
+
}, ...(ngDevMode ? [{ debugName: "formattedCategoryName" }] : []));
|
|
89233
89277
|
this.hasHistory = computed(() => {
|
|
89234
89278
|
const q = this.question();
|
|
89235
89279
|
const histories = this.profileAnswerHistories();
|
|
@@ -89281,6 +89325,11 @@ class ProfileQuestionCardComponent {
|
|
|
89281
89325
|
? 'bg-white border-slate-200 hover:border-slate-300 hover:shadow-lg'
|
|
89282
89326
|
: 'bg-slate-800/50 border-slate-700/50 hover:border-slate-600/70 hover:shadow-xl hover:shadow-slate-900/30';
|
|
89283
89327
|
}
|
|
89328
|
+
categoryBreadcrumbClasses() {
|
|
89329
|
+
return this.isLightMode()
|
|
89330
|
+
? 'text-blue-600'
|
|
89331
|
+
: 'text-blue-400';
|
|
89332
|
+
}
|
|
89284
89333
|
questionTextClasses() {
|
|
89285
89334
|
return this.isLightMode()
|
|
89286
89335
|
? 'text-slate-900'
|
|
@@ -89368,42 +89417,46 @@ class ProfileQuestionCardComponent {
|
|
|
89368
89417
|
: '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
89418
|
}
|
|
89370
89419
|
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.ɵɵ
|
|
89420
|
+
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) {
|
|
89421
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
89422
|
+
i0.ɵɵconditionalCreate(1, ProfileQuestionCardComponent_Conditional_1_Template, 3, 2, "div", 1);
|
|
89423
|
+
i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "h3", 4);
|
|
89424
|
+
i0.ɵɵtext(5);
|
|
89374
89425
|
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(
|
|
89426
|
+
i0.ɵɵconditionalCreate(6, ProfileQuestionCardComponent_Conditional_6_Template, 3, 1, "div", 5);
|
|
89427
|
+
i0.ɵɵelementEnd();
|
|
89428
|
+
i0.ɵɵconditionalCreate(7, ProfileQuestionCardComponent_Conditional_7_Template, 2, 2, "p", 6);
|
|
89429
|
+
i0.ɵɵconditionalCreate(8, ProfileQuestionCardComponent_Conditional_8_Template, 7, 2, "div", 7);
|
|
89430
|
+
i0.ɵɵconditionalCreate(9, ProfileQuestionCardComponent_Conditional_9_Template, 3, 0, "div", 8)(10, ProfileQuestionCardComponent_Conditional_10_Template, 11, 6, "div", 9);
|
|
89431
|
+
i0.ɵɵelementStart(11, "div", 10);
|
|
89432
|
+
i0.ɵɵconditionalCreate(12, ProfileQuestionCardComponent_Conditional_12_Template, 5, 1, "button", 11)(13, ProfileQuestionCardComponent_Conditional_13_Template, 1, 0, "div");
|
|
89433
|
+
i0.ɵɵelementStart(14, "button", 12);
|
|
89434
|
+
i0.ɵɵlistener("click", function ProfileQuestionCardComponent_Template_button_click_14_listener() { return ctx.onAnswerClick(); });
|
|
89435
|
+
i0.ɵɵelementStart(15, "span");
|
|
89436
|
+
i0.ɵɵtext(16);
|
|
89386
89437
|
i0.ɵɵelementEnd();
|
|
89387
89438
|
i0.ɵɵnamespaceSVG();
|
|
89388
|
-
i0.ɵɵelementStart(
|
|
89389
|
-
i0.ɵɵelement(
|
|
89439
|
+
i0.ɵɵelementStart(17, "svg", 13);
|
|
89440
|
+
i0.ɵɵelement(18, "path", 14);
|
|
89390
89441
|
i0.ɵɵelementEnd()()()();
|
|
89391
89442
|
} if (rf & 2) {
|
|
89392
89443
|
i0.ɵɵproperty("ngClass", ctx.containerClasses());
|
|
89444
|
+
i0.ɵɵadvance();
|
|
89445
|
+
i0.ɵɵconditional(ctx.showCategoryBreadcrumb() ? 1 : -1);
|
|
89393
89446
|
i0.ɵɵadvance(3);
|
|
89394
89447
|
i0.ɵɵproperty("ngClass", ctx.questionTextClasses());
|
|
89395
89448
|
i0.ɵɵadvance();
|
|
89396
89449
|
i0.ɵɵtextInterpolate1(" ", ctx.question().question, " ");
|
|
89397
89450
|
i0.ɵɵadvance();
|
|
89398
|
-
i0.ɵɵconditional(ctx.isAnswered() ?
|
|
89451
|
+
i0.ɵɵconditional(ctx.isAnswered() ? 6 : -1);
|
|
89399
89452
|
i0.ɵɵadvance();
|
|
89400
|
-
i0.ɵɵconditional(ctx.question().context ?
|
|
89453
|
+
i0.ɵɵconditional(ctx.question().context ? 7 : -1);
|
|
89401
89454
|
i0.ɵɵadvance();
|
|
89402
|
-
i0.ɵɵconditional(ctx.showFocusAreaChips() && ctx.relatedFocusAreas().length > 0 ?
|
|
89455
|
+
i0.ɵɵconditional(ctx.showFocusAreaChips() && ctx.relatedFocusAreas().length > 0 ? 8 : -1);
|
|
89403
89456
|
i0.ɵɵadvance();
|
|
89404
|
-
i0.ɵɵconditional(ctx.displayAnswers().length > 0 ?
|
|
89457
|
+
i0.ɵɵconditional(ctx.displayAnswers().length > 0 ? 9 : 10);
|
|
89405
89458
|
i0.ɵɵadvance(3);
|
|
89406
|
-
i0.ɵɵconditional(ctx.hasHistory() ?
|
|
89459
|
+
i0.ɵɵconditional(ctx.hasHistory() ? 12 : 13);
|
|
89407
89460
|
i0.ɵɵadvance(2);
|
|
89408
89461
|
i0.ɵɵproperty("ngClass", ctx.buttonClasses());
|
|
89409
89462
|
i0.ɵɵadvance(2);
|
|
@@ -89414,6 +89467,13 @@ class ProfileQuestionCardComponent {
|
|
|
89414
89467
|
type: Component,
|
|
89415
89468
|
args: [{ selector: 'symphiq-profile-question-card', standalone: true, imports: [CommonModule, UserAvatarComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
89416
89469
|
<div [ngClass]="containerClasses()" class="rounded-xl border-2 p-6 transition-all duration-200">
|
|
89470
|
+
@if (showCategoryBreadcrumb()) {
|
|
89471
|
+
<div class="mb-3">
|
|
89472
|
+
<span [ngClass]="categoryBreadcrumbClasses()" class="text-xs font-semibold uppercase tracking-wider">
|
|
89473
|
+
{{ formattedCategoryName() }}
|
|
89474
|
+
</span>
|
|
89475
|
+
</div>
|
|
89476
|
+
}
|
|
89417
89477
|
<div class="flex items-start gap-3">
|
|
89418
89478
|
<div class="flex-1 min-w-0">
|
|
89419
89479
|
<h3 [ngClass]="questionTextClasses()" class="text-lg font-bold mb-2">
|
|
@@ -89525,8 +89585,8 @@ class ProfileQuestionCardComponent {
|
|
|
89525
89585
|
</div>
|
|
89526
89586
|
</div>
|
|
89527
89587
|
`, 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:
|
|
89588
|
+
}], 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"] }] }); })();
|
|
89589
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileQuestionCardComponent, { className: "ProfileQuestionCardComponent", filePath: "lib/components/shared/profile/profile-question-card.component.ts", lineNumber: 175 }); })();
|
|
89530
89590
|
|
|
89531
89591
|
const _forTrack0$8 = ($index, $item) => $item.answer.id;
|
|
89532
89592
|
const _forTrack1$1 = ($index, $item) => $item.history.id;
|
|
@@ -90072,11 +90132,11 @@ function ProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_
|
|
|
90072
90132
|
} if (rf & 2) {
|
|
90073
90133
|
const question_r6 = ctx.$implicit;
|
|
90074
90134
|
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());
|
|
90135
|
+
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
90136
|
} }
|
|
90077
90137
|
function ProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
90078
90138
|
i0.ɵɵelementStart(0, "div", 25);
|
|
90079
|
-
i0.ɵɵrepeaterCreate(1, ProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_For_2_Template, 1,
|
|
90139
|
+
i0.ɵɵrepeaterCreate(1, ProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_For_2_Template, 1, 9, "symphiq-profile-question-card", 31, _forTrack0$7);
|
|
90080
90140
|
i0.ɵɵelementEnd();
|
|
90081
90141
|
} if (rf & 2) {
|
|
90082
90142
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -90591,7 +90651,7 @@ class ProfileQuestionsModalComponent {
|
|
|
90591
90651
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
|
|
90592
90652
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalWrapper = _t.first);
|
|
90593
90653
|
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) {
|
|
90654
|
+
} }, 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
90655
|
i0.ɵɵconditionalCreate(0, ProfileQuestionsModalComponent_Conditional_0_Template, 11, 5, "div", 3);
|
|
90596
90656
|
} if (rf & 2) {
|
|
90597
90657
|
i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
|
|
@@ -90729,6 +90789,7 @@ class ProfileQuestionsModalComponent {
|
|
|
90729
90789
|
[profileAnswerHistories]="profileAnswerHistories()"
|
|
90730
90790
|
[users]="users()"
|
|
90731
90791
|
[showFocusAreaChips]="showFocusAreaChips()"
|
|
90792
|
+
[categoryNameFormatter]="categoryNameFormatter()"
|
|
90732
90793
|
(answerClick)="onQuestionAnswerClick($event)"
|
|
90733
90794
|
(historyClick)="onQuestionHistoryClick($event)" />
|
|
90734
90795
|
}
|
|
@@ -90811,7 +90872,7 @@ class ProfileQuestionsModalComponent {
|
|
|
90811
90872
|
type: ViewChild,
|
|
90812
90873
|
args: ['scrollContainer']
|
|
90813
90874
|
}] }); })();
|
|
90814
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileQuestionsModalComponent, { className: "ProfileQuestionsModalComponent", filePath: "lib/components/shared/profile/profile-questions-modal.component.ts", lineNumber:
|
|
90875
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileQuestionsModalComponent, { className: "ProfileQuestionsModalComponent", filePath: "lib/components/shared/profile/profile-questions-modal.component.ts", lineNumber: 213 }); })();
|
|
90815
90876
|
|
|
90816
90877
|
const _c0$7 = ["chartdiv"];
|
|
90817
90878
|
function ProfileStatusCardComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -94656,7 +94717,7 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_7
|
|
|
94656
94717
|
i0.ɵɵelementEnd();
|
|
94657
94718
|
} }
|
|
94658
94719
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
94659
|
-
i0.ɵɵelementStart(0, "span",
|
|
94720
|
+
i0.ɵɵelementStart(0, "span", 52);
|
|
94660
94721
|
i0.ɵɵtext(1);
|
|
94661
94722
|
i0.ɵɵelementEnd();
|
|
94662
94723
|
} if (rf & 2) {
|
|
@@ -94667,11 +94728,11 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_1
|
|
|
94667
94728
|
i0.ɵɵtextInterpolate1(" ", tool_r4, " ");
|
|
94668
94729
|
} }
|
|
94669
94730
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
94670
|
-
i0.ɵɵelementStart(0, "div",
|
|
94731
|
+
i0.ɵɵelementStart(0, "div", 44)(1, "div", 49)(2, "span", 50);
|
|
94671
94732
|
i0.ɵɵtext(3, "Marketing Tools:");
|
|
94672
94733
|
i0.ɵɵelementEnd();
|
|
94673
|
-
i0.ɵɵelementStart(4, "div",
|
|
94674
|
-
i0.ɵɵrepeaterCreate(5, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_For_6_Template, 2, 2, "span",
|
|
94734
|
+
i0.ɵɵelementStart(4, "div", 51);
|
|
94735
|
+
i0.ɵɵrepeaterCreate(5, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_For_6_Template, 2, 2, "span", 52, i0.ɵɵrepeaterTrackByIdentity);
|
|
94675
94736
|
i0.ɵɵelementEnd()()();
|
|
94676
94737
|
} if (rf & 2) {
|
|
94677
94738
|
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
@@ -94682,64 +94743,64 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_1
|
|
|
94682
94743
|
i0.ɵɵrepeater(focusArea_r3.tools);
|
|
94683
94744
|
} }
|
|
94684
94745
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
94685
|
-
i0.ɵɵelement(0, "symphiq-content-generation-progress",
|
|
94746
|
+
i0.ɵɵelement(0, "symphiq-content-generation-progress", 45);
|
|
94686
94747
|
} if (rf & 2) {
|
|
94687
94748
|
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
94688
94749
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
94689
|
-
i0.ɵɵproperty("itemStatus", focusArea_r3.itemStatusProfileFocusArea ?? undefined)("viewMode", ctx_r1.viewMode())("compact", true);
|
|
94750
|
+
i0.ɵɵproperty("itemStatus", focusArea_r3.itemStatusProfileFocusArea ?? undefined)("viewMode", ctx_r1.viewMode())("compact", true)("compactTitle", "Generating Focus Area Profile");
|
|
94690
94751
|
} }
|
|
94691
94752
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
94692
|
-
i0.ɵɵelement(0, "symphiq-content-generation-progress",
|
|
94753
|
+
i0.ɵɵelement(0, "symphiq-content-generation-progress", 45);
|
|
94693
94754
|
} if (rf & 2) {
|
|
94694
94755
|
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
94695
94756
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
94696
|
-
i0.ɵɵproperty("itemStatus", focusArea_r3.itemStatusProfileAnalysis ?? undefined)("viewMode", ctx_r1.viewMode())("compact", true);
|
|
94757
|
+
i0.ɵɵproperty("itemStatus", focusArea_r3.itemStatusProfileAnalysis ?? undefined)("viewMode", ctx_r1.viewMode())("compact", true)("compactTitle", "Generating Focus Area Analysis");
|
|
94697
94758
|
} }
|
|
94698
94759
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
94699
|
-
i0.ɵɵelementStart(0, "div",
|
|
94700
|
-
i0.ɵɵelement(1, "div",
|
|
94701
|
-
i0.ɵɵelementStart(2, "span",
|
|
94760
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
94761
|
+
i0.ɵɵelement(1, "div", 53);
|
|
94762
|
+
i0.ɵɵelementStart(2, "span", 54);
|
|
94702
94763
|
i0.ɵɵtext(3, "Profile Generation Pending");
|
|
94703
94764
|
i0.ɵɵelementEnd()();
|
|
94704
94765
|
} }
|
|
94705
94766
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
94706
|
-
i0.ɵɵelementStart(0, "div",
|
|
94767
|
+
i0.ɵɵelementStart(0, "div", 57);
|
|
94707
94768
|
i0.ɵɵnamespaceSVG();
|
|
94708
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94769
|
+
i0.ɵɵelementStart(1, "svg", 60);
|
|
94709
94770
|
i0.ɵɵelement(2, "path", 29);
|
|
94710
94771
|
i0.ɵɵelementEnd();
|
|
94711
94772
|
i0.ɵɵtext(3, " Complete ");
|
|
94712
94773
|
i0.ɵɵelementEnd();
|
|
94713
94774
|
} }
|
|
94714
94775
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
94715
|
-
i0.ɵɵelementStart(0, "div",
|
|
94776
|
+
i0.ɵɵelementStart(0, "div", 58);
|
|
94716
94777
|
i0.ɵɵnamespaceSVG();
|
|
94717
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94718
|
-
i0.ɵɵelement(2, "path",
|
|
94778
|
+
i0.ɵɵelementStart(1, "svg", 60);
|
|
94779
|
+
i0.ɵɵelement(2, "path", 61);
|
|
94719
94780
|
i0.ɵɵelementEnd();
|
|
94720
94781
|
i0.ɵɵtext(3, " In Progress ");
|
|
94721
94782
|
i0.ɵɵelementEnd();
|
|
94722
94783
|
} }
|
|
94723
94784
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
94724
|
-
i0.ɵɵelementStart(0, "div",
|
|
94785
|
+
i0.ɵɵelementStart(0, "div", 59);
|
|
94725
94786
|
i0.ɵɵnamespaceSVG();
|
|
94726
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94727
|
-
i0.ɵɵelement(2, "path",
|
|
94787
|
+
i0.ɵɵelementStart(1, "svg", 60);
|
|
94788
|
+
i0.ɵɵelement(2, "path", 62);
|
|
94728
94789
|
i0.ɵɵelementEnd();
|
|
94729
94790
|
i0.ɵɵtext(3, " Not Started ");
|
|
94730
94791
|
i0.ɵɵelementEnd();
|
|
94731
94792
|
} }
|
|
94732
94793
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
94733
|
-
i0.ɵɵelementStart(0, "div",
|
|
94794
|
+
i0.ɵɵelementStart(0, "div", 47)(1, "div", 55)(2, "span");
|
|
94734
94795
|
i0.ɵɵtext(3, "Progress");
|
|
94735
94796
|
i0.ɵɵelementEnd();
|
|
94736
94797
|
i0.ɵɵelementStart(4, "span");
|
|
94737
94798
|
i0.ɵɵtext(5);
|
|
94738
94799
|
i0.ɵɵelementEnd()();
|
|
94739
94800
|
i0.ɵɵelementStart(6, "div");
|
|
94740
|
-
i0.ɵɵelement(7, "div",
|
|
94801
|
+
i0.ɵɵelement(7, "div", 56);
|
|
94741
94802
|
i0.ɵɵelementEnd();
|
|
94742
|
-
i0.ɵɵconditionalCreate(8, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_8_Template, 4, 0, "div",
|
|
94803
|
+
i0.ɵɵconditionalCreate(8, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_8_Template, 4, 0, "div", 57)(9, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_9_Template, 4, 0, "div", 58)(10, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Conditional_10_Template, 4, 0, "div", 59);
|
|
94743
94804
|
i0.ɵɵelementEnd();
|
|
94744
94805
|
} if (rf & 2) {
|
|
94745
94806
|
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
@@ -94758,34 +94819,37 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_1
|
|
|
94758
94819
|
i0.ɵɵconditional(focusArea_r3.status === "complete" ? 8 : focusArea_r3.status === "in-progress" ? 9 : 10);
|
|
94759
94820
|
} }
|
|
94760
94821
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
94761
|
-
i0.ɵɵtext(0, " View
|
|
94822
|
+
i0.ɵɵtext(0, " View Analysis ");
|
|
94762
94823
|
} }
|
|
94763
94824
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
94764
|
-
i0.ɵɵtext(0, "
|
|
94825
|
+
i0.ɵɵtext(0, " View Details ");
|
|
94765
94826
|
} }
|
|
94766
94827
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
94767
|
-
i0.ɵɵtext(0, "
|
|
94828
|
+
i0.ɵɵtext(0, " All Questions Answered ");
|
|
94768
94829
|
} }
|
|
94769
94830
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
94831
|
+
i0.ɵɵtext(0, " Continue Answering Questions ");
|
|
94832
|
+
} }
|
|
94833
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
94770
94834
|
i0.ɵɵtext(0, " Start Answering Questions ");
|
|
94771
94835
|
} }
|
|
94772
94836
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
94773
94837
|
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);
|
|
94838
|
+
i0.ɵɵelementStart(0, "div", 63);
|
|
94839
|
+
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)); });
|
|
94840
|
+
i0.ɵɵelementStart(1, "div", 64)(2, "span", 65);
|
|
94841
|
+
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
94842
|
i0.ɵɵelementEnd();
|
|
94779
94843
|
i0.ɵɵnamespaceSVG();
|
|
94780
|
-
i0.ɵɵelementStart(
|
|
94781
|
-
i0.ɵɵelement(
|
|
94844
|
+
i0.ɵɵelementStart(8, "svg", 66);
|
|
94845
|
+
i0.ɵɵelement(9, "path", 67);
|
|
94782
94846
|
i0.ɵɵelementEnd()()();
|
|
94783
94847
|
} if (rf & 2) {
|
|
94784
94848
|
const focusArea_r3 = i0.ɵɵnextContext().$implicit;
|
|
94785
94849
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
94786
94850
|
i0.ɵɵclassMap(ctx_r1.getCardFooterClasses());
|
|
94787
94851
|
i0.ɵɵadvance(3);
|
|
94788
|
-
i0.ɵɵconditional(focusArea_r3.
|
|
94852
|
+
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
94853
|
} }
|
|
94790
94854
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template(rf, ctx) { if (rf & 1) {
|
|
94791
94855
|
i0.ɵɵelementStart(0, "div")(1, "div", 37)(2, "div", 38)(3, "div", 39);
|
|
@@ -94798,13 +94862,13 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template(rf,
|
|
|
94798
94862
|
i0.ɵɵelementStart(8, "h3");
|
|
94799
94863
|
i0.ɵɵtext(9);
|
|
94800
94864
|
i0.ɵɵelementEnd();
|
|
94801
|
-
i0.ɵɵelementStart(10, "p");
|
|
94865
|
+
i0.ɵɵelementStart(10, "p", 43);
|
|
94802
94866
|
i0.ɵɵtext(11);
|
|
94803
94867
|
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, 1,
|
|
94868
|
+
i0.ɵɵconditionalCreate(12, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_12_Template, 7, 1, "div", 44);
|
|
94869
|
+
i0.ɵɵconditionalCreate(13, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_13_Template, 1, 4, "symphiq-content-generation-progress", 45)(14, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_14_Template, 1, 4, "symphiq-content-generation-progress", 45)(15, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_15_Template, 4, 0, "div", 46)(16, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_16_Template, 11, 11, "div", 47);
|
|
94806
94870
|
i0.ɵɵelementEnd();
|
|
94807
|
-
i0.ɵɵconditionalCreate(17, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Template,
|
|
94871
|
+
i0.ɵɵconditionalCreate(17, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Conditional_17_Template, 10, 3, "div", 48);
|
|
94808
94872
|
i0.ɵɵelementEnd();
|
|
94809
94873
|
} if (rf & 2) {
|
|
94810
94874
|
const focusArea_r3 = ctx.$implicit;
|
|
@@ -94815,13 +94879,14 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template(rf,
|
|
|
94815
94879
|
i0.ɵɵadvance(2);
|
|
94816
94880
|
i0.ɵɵconditional(focusArea_r3.engagementStatus ? 6 : -1);
|
|
94817
94881
|
i0.ɵɵadvance();
|
|
94818
|
-
i0.ɵɵconditional(focusArea_r3.
|
|
94882
|
+
i0.ɵɵconditional(focusArea_r3.selfContentStatusProfileAnalysis === ctx_r1.AiDynamicContentStatusEnum.GENERATED ? 7 : -1);
|
|
94819
94883
|
i0.ɵɵadvance();
|
|
94820
94884
|
i0.ɵɵclassMap(ctx_r1.getTitleClasses());
|
|
94821
94885
|
i0.ɵɵadvance();
|
|
94822
94886
|
i0.ɵɵtextInterpolate1(" ", focusArea_r3.title, " ");
|
|
94823
94887
|
i0.ɵɵadvance();
|
|
94824
94888
|
i0.ɵɵclassMap(ctx_r1.getDescriptionClasses());
|
|
94889
|
+
i0.ɵɵproperty("libSymphiqTooltip", focusArea_r3.description);
|
|
94825
94890
|
i0.ɵɵadvance();
|
|
94826
94891
|
i0.ɵɵtextInterpolate1(" ", focusArea_r3.description, " ");
|
|
94827
94892
|
i0.ɵɵadvance();
|
|
@@ -94844,14 +94909,14 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8
|
|
|
94844
94909
|
} }
|
|
94845
94910
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
94846
94911
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
94847
|
-
i0.ɵɵelementStart(0, "div",
|
|
94912
|
+
i0.ɵɵelementStart(0, "div", 63);
|
|
94848
94913
|
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",
|
|
94914
|
+
i0.ɵɵelementStart(1, "div", 64)(2, "span", 65);
|
|
94850
94915
|
i0.ɵɵtext(3, "View Details");
|
|
94851
94916
|
i0.ɵɵelementEnd();
|
|
94852
94917
|
i0.ɵɵnamespaceSVG();
|
|
94853
|
-
i0.ɵɵelementStart(4, "svg",
|
|
94854
|
-
i0.ɵɵelement(5, "path",
|
|
94918
|
+
i0.ɵɵelementStart(4, "svg", 66);
|
|
94919
|
+
i0.ɵɵelement(5, "path", 67);
|
|
94855
94920
|
i0.ɵɵelementEnd()()();
|
|
94856
94921
|
} if (rf & 2) {
|
|
94857
94922
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -94867,10 +94932,10 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8
|
|
|
94867
94932
|
i0.ɵɵelementStart(7, "h3");
|
|
94868
94933
|
i0.ɵɵtext(8);
|
|
94869
94934
|
i0.ɵɵelementEnd();
|
|
94870
|
-
i0.ɵɵelementStart(9, "p");
|
|
94935
|
+
i0.ɵɵelementStart(9, "p", 43);
|
|
94871
94936
|
i0.ɵɵtext(10);
|
|
94872
94937
|
i0.ɵɵelementEnd()();
|
|
94873
|
-
i0.ɵɵconditionalCreate(11, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_11_Template, 6, 2, "div",
|
|
94938
|
+
i0.ɵɵconditionalCreate(11, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_11_Template, 6, 2, "div", 48);
|
|
94874
94939
|
i0.ɵɵelementEnd();
|
|
94875
94940
|
} if (rf & 2) {
|
|
94876
94941
|
const focusArea_r6 = ctx.$implicit;
|
|
@@ -94886,21 +94951,22 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8
|
|
|
94886
94951
|
i0.ɵɵtextInterpolate1(" ", focusArea_r6.title, " ");
|
|
94887
94952
|
i0.ɵɵadvance();
|
|
94888
94953
|
i0.ɵɵclassMap(ctx_r1.getDescriptionClasses());
|
|
94954
|
+
i0.ɵɵproperty("libSymphiqTooltip", focusArea_r6.description);
|
|
94889
94955
|
i0.ɵɵadvance();
|
|
94890
94956
|
i0.ɵɵtextInterpolate1(" ", focusArea_r6.description, " ");
|
|
94891
94957
|
i0.ɵɵadvance();
|
|
94892
94958
|
i0.ɵɵconditional(focusArea_r6.canViewDetails && focusArea_r6.profileFocusArea ? 11 : -1);
|
|
94893
94959
|
} }
|
|
94894
94960
|
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",
|
|
94961
|
+
i0.ɵɵelementStart(0, "div", 35)(1, "div", 68);
|
|
94962
|
+
i0.ɵɵelement(2, "div", 69);
|
|
94963
|
+
i0.ɵɵelementStart(3, "span", 70);
|
|
94898
94964
|
i0.ɵɵtext(4, "Not Interested");
|
|
94899
94965
|
i0.ɵɵelementEnd();
|
|
94900
|
-
i0.ɵɵelement(5, "div",
|
|
94966
|
+
i0.ɵɵelement(5, "div", 69);
|
|
94901
94967
|
i0.ɵɵelementEnd();
|
|
94902
|
-
i0.ɵɵelementStart(6, "div",
|
|
94903
|
-
i0.ɵɵrepeaterCreate(7, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Template, 12,
|
|
94968
|
+
i0.ɵɵelementStart(6, "div", 71);
|
|
94969
|
+
i0.ɵɵrepeaterCreate(7, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Template, 12, 12, "div", 34, _forTrack0$5);
|
|
94904
94970
|
i0.ɵɵelementEnd()();
|
|
94905
94971
|
} if (rf & 2) {
|
|
94906
94972
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -94915,7 +94981,7 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_Templ
|
|
|
94915
94981
|
} }
|
|
94916
94982
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_67_Template(rf, ctx) { if (rf & 1) {
|
|
94917
94983
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
94918
|
-
i0.ɵɵelementStart(0, "symphiq-search-modal",
|
|
94984
|
+
i0.ɵɵelementStart(0, "symphiq-search-modal", 72);
|
|
94919
94985
|
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
94986
|
i0.ɵɵelementEnd();
|
|
94921
94987
|
} }
|
|
@@ -94945,6 +95011,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94945
95011
|
this.displayMode = input(DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "displayMode" }] : []));
|
|
94946
95012
|
this.currentStepId = input(JourneyStepIdEnum.FOCUS_AREA_ANALYSIS, ...(ngDevMode ? [{ debugName: "currentStepId" }] : []));
|
|
94947
95013
|
this.navigateToProfileFocusArea = output();
|
|
95014
|
+
this.navigateToProfileAnalysis = output();
|
|
94948
95015
|
this.stepClick = output();
|
|
94949
95016
|
this.nextStepClick = output();
|
|
94950
95017
|
this.answerFocusAreaProfileQuestions = output();
|
|
@@ -95127,7 +95194,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95127
95194
|
if (interestedCards.length === 0) {
|
|
95128
95195
|
return false;
|
|
95129
95196
|
}
|
|
95130
|
-
return interestedCards.every(card => card.
|
|
95197
|
+
return interestedCards.every(card => card.selfContentStatusProfileAnalysis === AiDynamicContentStatusEnum.GENERATED);
|
|
95131
95198
|
}, ...(ngDevMode ? [{ debugName: "allInterestedFocusAreasGenerated" }] : []));
|
|
95132
95199
|
}
|
|
95133
95200
|
onScroll() {
|
|
@@ -95136,6 +95203,9 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95136
95203
|
handleFooterClick(profileFocusArea) {
|
|
95137
95204
|
this.navigateToProfileFocusArea.emit(profileFocusArea);
|
|
95138
95205
|
}
|
|
95206
|
+
handleAnalysisFooterClick(profileAnalysis) {
|
|
95207
|
+
this.navigateToProfileAnalysis.emit(profileAnalysis);
|
|
95208
|
+
}
|
|
95139
95209
|
handleSearchClick() {
|
|
95140
95210
|
this.showSearchModal.set(true);
|
|
95141
95211
|
}
|
|
@@ -95297,7 +95367,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95297
95367
|
static { this.ɵfac = function SymphiqProfileFocusAreasAnalysesDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqProfileFocusAreasAnalysesDashboardComponent)(); }; }
|
|
95298
95368
|
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
95369
|
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: 68, vars: 29, consts: [[1, "min-h-screen", "relative"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "fixed", "top-0", "left-0", "right-0", "h-1", "z-[60]", "bg-slate-200/30"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "title", "subtitle", "viewMode", "showControls"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "container", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8", "md:py-12", "relative", "z-10"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "px-8", "py-8"], [1, "flex", "items-start", "gap-6"], [1, "flex-shrink-0", "w-16", "h-16", "rounded-2xl", "flex", "items-center", "justify-center", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-8", "h-8"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"], [1, "flex-1"], [1, "text-2xl", "sm:text-3xl", "font-bold", "mb-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "lg:grid-cols-3", "gap-6", "mb-6"], [1, "lg:col-span-2", "space-y-3"], [1, "text-base", "leading-relaxed", 3, "ngClass"], [1, "font-semibold"], [1, "lg:col-span-1"], ["currentStepId", "focus-areas", 3, "viewMode", "focusAreaDetails"], [1, "mt-6", "p-5", "rounded-xl", "border-l-4", "flex", "items-start", "gap-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "flex-shrink-0", "mt-0.5", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "font-bold", "text-lg", "mb-2", 3, "ngClass"], [1, "space-y-2", "text-sm", 3, "ngClass"], [1, "flex", "items-start", "gap-2"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-5", "h-5", "flex-shrink-0", "mt-0.5"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clip-rule", "evenodd"], [1, "mt-6", "p-5", "rounded-xl", "border", "flex", "items-start", "gap-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6"], [3, "class"], [1, "mt-12"], [3, "nextStepClick", "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "p-6", "flex-1"], [1, "flex", "items-start", "justify-between", "mb-4"], [1, "text-4xl"], [1, "flex", "flex-col", "items-end", "gap-2"], [3, "ngClass"], [1, "px-3", "py-1", "bg-green-100", "dark:bg-green-900/30", "text-green-700", "dark:text-green-400", "text-xs", "font-semibold", "rounded-full"], [1, "mt-3", "mb-2"], [3, "itemStatus", "viewMode", "compact"], [1, "flex", "items-center", "gap-2", "py-2"], [1, "space-y-2"], [1, "mt-auto", "cursor-pointer", "hover:bg-slate-100", "dark:hover:bg-slate-700/50", "transition-colors", 3, "class"], [1, "flex", "items-center", "gap-2"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-1.5"], [1, "px-2", "py-0.5", "rounded", "text-xs", 3, "ngClass"], [1, "animate-spin", "w-4", "h-4", "border-2", "border-amber-500/30", "border-t-amber-500", "rounded-full"], [1, "text-xs", "text-amber-600", "dark:text-amber-400", "font-medium"], [1, "flex", "items-center", "justify-between", "text-sm"], [1, "h-full", "bg-gradient-to-r", "from-blue-500", "to-cyan-500", "rounded-full", "transition-all", "duration-500"], [1, "flex", "items-center", "gap-1", "text-xs", "text-green-600", "dark:text-green-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-blue-600", "dark:text-blue-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-slate-500", "dark:text-slate-400", "font-medium"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z", "clip-rule", "evenodd"], [1, "mt-auto", "cursor-pointer", "hover:bg-slate-100", "dark:hover:bg-slate-700/50", "transition-colors", 3, "click"], [1, "flex", "items-center", "justify-between"], [1, "text-sm", "font-medium", "text-slate-600", "dark:text-slate-400"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "text-slate-400", "dark:text-slate-500", "hover:text-blue-500", "dark:hover:text-blue-400", "hover:translate-x-1", "transition-all"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"], [1, "flex", "items-center", "gap-4", "mb-6"], [1, "flex-1", "h-px", 3, "ngClass"], [1, "text-sm", "font-medium", "px-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6", "opacity-60"], [3, "closeModal"]], template: function SymphiqProfileFocusAreasAnalysesDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
95370
|
+
} }, 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: 68, vars: 29, consts: [[1, "min-h-screen", "relative"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "fixed", "top-0", "left-0", "right-0", "h-1", "z-[60]", "bg-slate-200/30"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "title", "subtitle", "viewMode", "showControls"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "container", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8", "md:py-12", "relative", "z-10"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "px-8", "py-8"], [1, "flex", "items-start", "gap-6"], [1, "flex-shrink-0", "w-16", "h-16", "rounded-2xl", "flex", "items-center", "justify-center", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-8", "h-8"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"], [1, "flex-1"], [1, "text-2xl", "sm:text-3xl", "font-bold", "mb-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "lg:grid-cols-3", "gap-6", "mb-6"], [1, "lg:col-span-2", "space-y-3"], [1, "text-base", "leading-relaxed", 3, "ngClass"], [1, "font-semibold"], [1, "lg:col-span-1"], ["currentStepId", "focus-areas", 3, "viewMode", "focusAreaDetails"], [1, "mt-6", "p-5", "rounded-xl", "border-l-4", "flex", "items-start", "gap-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "flex-shrink-0", "mt-0.5", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "font-bold", "text-lg", "mb-2", 3, "ngClass"], [1, "space-y-2", "text-sm", 3, "ngClass"], [1, "flex", "items-start", "gap-2"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-5", "h-5", "flex-shrink-0", "mt-0.5"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clip-rule", "evenodd"], [1, "mt-6", "p-5", "rounded-xl", "border", "flex", "items-start", "gap-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6"], [3, "class"], [1, "mt-12"], [3, "nextStepClick", "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "p-6", "flex-1"], [1, "flex", "items-start", "justify-between", "mb-4"], [1, "text-4xl"], [1, "flex", "flex-col", "items-end", "gap-2"], [3, "ngClass"], [1, "px-3", "py-1", "bg-green-100", "dark:bg-green-900/30", "text-green-700", "dark:text-green-400", "text-xs", "font-semibold", "rounded-full"], ["tooltipPosition", "bottom", 3, "libSymphiqTooltip"], [1, "mt-3", "mb-2"], [3, "itemStatus", "viewMode", "compact", "compactTitle"], [1, "flex", "items-center", "gap-2", "py-2"], [1, "space-y-2"], [1, "mt-auto", "cursor-pointer", "hover:bg-slate-100", "dark:hover:bg-slate-700/50", "transition-colors", 3, "class"], [1, "flex", "items-center", "gap-2"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-1.5"], [1, "px-2", "py-0.5", "rounded", "text-xs", 3, "ngClass"], [1, "animate-spin", "w-4", "h-4", "border-2", "border-amber-500/30", "border-t-amber-500", "rounded-full"], [1, "text-xs", "text-amber-600", "dark:text-amber-400", "font-medium"], [1, "flex", "items-center", "justify-between", "text-sm"], [1, "h-full", "bg-gradient-to-r", "from-blue-500", "to-cyan-500", "rounded-full", "transition-all", "duration-500"], [1, "flex", "items-center", "gap-1", "text-xs", "text-green-600", "dark:text-green-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-blue-600", "dark:text-blue-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-slate-500", "dark:text-slate-400", "font-medium"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z", "clip-rule", "evenodd"], [1, "mt-auto", "cursor-pointer", "hover:bg-slate-100", "dark:hover:bg-slate-700/50", "transition-colors", 3, "click"], [1, "flex", "items-center", "justify-between"], [1, "text-sm", "font-medium", "text-slate-600", "dark:text-slate-400"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "text-slate-400", "dark:text-slate-500", "hover:text-blue-500", "dark:hover:text-blue-400", "hover:translate-x-1", "transition-all"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"], [1, "flex", "items-center", "gap-4", "mb-6"], [1, "flex-1", "h-px", 3, "ngClass"], [1, "text-sm", "font-medium", "px-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6", "opacity-60"], [3, "closeModal"]], template: function SymphiqProfileFocusAreasAnalysesDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
95301
95371
|
i0.ɵɵelementStart(0, "div", 0);
|
|
95302
95372
|
i0.ɵɵelement(1, "div", 1);
|
|
95303
95373
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -95381,7 +95451,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95381
95451
|
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
95452
|
i0.ɵɵelementEnd()()()()()()();
|
|
95383
95453
|
i0.ɵɵelementStart(63, "div", 33);
|
|
95384
|
-
i0.ɵɵrepeaterCreate(64, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template, 18,
|
|
95454
|
+
i0.ɵɵrepeaterCreate(64, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template, 18, 15, "div", 34, _forTrack0$5);
|
|
95385
95455
|
i0.ɵɵelementEnd();
|
|
95386
95456
|
i0.ɵɵconditionalCreate(66, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_Template, 9, 3, "div", 35);
|
|
95387
95457
|
i0.ɵɵelementEnd()();
|
|
@@ -95432,11 +95502,11 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95432
95502
|
i0.ɵɵconditional(ctx.notInterestedFocusAreaCards().length > 0 ? 66 : -1);
|
|
95433
95503
|
i0.ɵɵadvance();
|
|
95434
95504
|
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 }); }
|
|
95505
|
+
} }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent, ConfidenceLevelCardComponent, ContentGenerationProgressComponent, TooltipDirective], 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
95506
|
}
|
|
95437
95507
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqProfileFocusAreasAnalysesDashboardComponent, [{
|
|
95438
95508
|
type: Component,
|
|
95439
|
-
args: [{ selector: 'symphiq-profile-focus-areas-analyses-dashboard', standalone: true, imports: [CommonModule, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent, ConfidenceLevelCardComponent, ContentGenerationProgressComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
95509
|
+
args: [{ selector: 'symphiq-profile-focus-areas-analyses-dashboard', standalone: true, imports: [CommonModule, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent, ConfidenceLevelCardComponent, ContentGenerationProgressComponent, TooltipDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
95440
95510
|
<div [class]="getContainerClasses()" class="min-h-screen relative">
|
|
95441
95511
|
<div class="animated-bubbles" [class.light-mode]="isLightMode()"
|
|
95442
95512
|
style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
|
|
@@ -95573,7 +95643,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95573
95643
|
{{ getEngagementStatusLabel(focusArea.engagementStatus) }}
|
|
95574
95644
|
</div>
|
|
95575
95645
|
}
|
|
95576
|
-
@if (focusArea.
|
|
95646
|
+
@if (focusArea.selfContentStatusProfileAnalysis === AiDynamicContentStatusEnum.GENERATED) {
|
|
95577
95647
|
<div class="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">
|
|
95578
95648
|
Analysis Ready
|
|
95579
95649
|
</div>
|
|
@@ -95585,7 +95655,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95585
95655
|
{{ focusArea.title }}
|
|
95586
95656
|
</h3>
|
|
95587
95657
|
|
|
95588
|
-
<p [class]="getDescriptionClasses()">
|
|
95658
|
+
<p [class]="getDescriptionClasses()" [libSymphiqTooltip]="focusArea.description" tooltipPosition="bottom">
|
|
95589
95659
|
{{ focusArea.description }}
|
|
95590
95660
|
</p>
|
|
95591
95661
|
|
|
@@ -95609,12 +95679,14 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95609
95679
|
[itemStatus]="focusArea.itemStatusProfileFocusArea ?? undefined"
|
|
95610
95680
|
[viewMode]="viewMode()"
|
|
95611
95681
|
[compact]="true"
|
|
95682
|
+
[compactTitle]="'Generating Focus Area Profile'"
|
|
95612
95683
|
/>
|
|
95613
95684
|
} @else if (focusArea.profileAnalysis && focusArea.selfContentStatusProfileAnalysis !== null && focusArea.selfContentStatusProfileAnalysis !== AiDynamicContentStatusEnum.GENERATED && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
|
|
95614
95685
|
<symphiq-content-generation-progress
|
|
95615
95686
|
[itemStatus]="focusArea.itemStatusProfileAnalysis ?? undefined"
|
|
95616
95687
|
[viewMode]="viewMode()"
|
|
95617
95688
|
[compact]="true"
|
|
95689
|
+
[compactTitle]="'Generating Focus Area Analysis'"
|
|
95618
95690
|
/>
|
|
95619
95691
|
} @else if (focusArea.selfContentStatusProfileFocusArea === null && focusArea.engagementStatus !== FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST) {
|
|
95620
95692
|
<div class="flex items-center gap-2 py-2">
|
|
@@ -95667,10 +95739,12 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95667
95739
|
<div
|
|
95668
95740
|
[class]="getCardFooterClasses()"
|
|
95669
95741
|
class="mt-auto cursor-pointer hover:bg-slate-100 dark:hover:bg-slate-700/50 transition-colors"
|
|
95670
|
-
(click)="handleFooterClick(focusArea.profileFocusArea)">
|
|
95742
|
+
(click)="focusArea.selfContentStatusProfileAnalysis === AiDynamicContentStatusEnum.GENERATED && focusArea.profileAnalysis ? handleAnalysisFooterClick(focusArea.profileAnalysis) : handleFooterClick(focusArea.profileFocusArea)">
|
|
95671
95743
|
<div class="flex items-center justify-between">
|
|
95672
95744
|
<span class="text-sm font-medium text-slate-600 dark:text-slate-400">
|
|
95673
|
-
@if (focusArea.
|
|
95745
|
+
@if (focusArea.selfContentStatusProfileAnalysis === AiDynamicContentStatusEnum.GENERATED) {
|
|
95746
|
+
View Analysis
|
|
95747
|
+
} @else if (focusArea.hasAnalysis) {
|
|
95674
95748
|
View Details
|
|
95675
95749
|
} @else if (focusArea.status === 'complete') {
|
|
95676
95750
|
All Questions Answered
|
|
@@ -95718,7 +95792,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95718
95792
|
{{ focusArea.title }}
|
|
95719
95793
|
</h3>
|
|
95720
95794
|
|
|
95721
|
-
<p [class]="getDescriptionClasses()">
|
|
95795
|
+
<p [class]="getDescriptionClasses()" [libSymphiqTooltip]="focusArea.description" tooltipPosition="bottom">
|
|
95722
95796
|
{{ focusArea.description }}
|
|
95723
95797
|
</p>
|
|
95724
95798
|
</div>
|
|
@@ -95752,11 +95826,11 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95752
95826
|
}
|
|
95753
95827
|
</div>
|
|
95754
95828
|
`, 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: [{
|
|
95829
|
+
}], 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
95830
|
type: HostListener,
|
|
95757
95831
|
args: ['window:scroll', ['$event']]
|
|
95758
95832
|
}] }); })();
|
|
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:
|
|
95833
|
+
(() => { (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: 440 }); })();
|
|
95760
95834
|
|
|
95761
95835
|
const _c0$5 = () => [];
|
|
95762
95836
|
function SymphiqProfileFocusAreaDashboardComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -96285,18 +96359,29 @@ class ShopProfileViewToggleComponent {
|
|
|
96285
96359
|
(() => { (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
96360
|
|
|
96287
96361
|
const _forTrack0$3 = ($index, $item) => $item.answer.id;
|
|
96288
|
-
function
|
|
96289
|
-
i0.ɵɵelementStart(0, "div",
|
|
96362
|
+
function ShopProfileQuestionCardComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
96363
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "span", 15);
|
|
96364
|
+
i0.ɵɵtext(2);
|
|
96365
|
+
i0.ɵɵelementEnd()();
|
|
96366
|
+
} if (rf & 2) {
|
|
96367
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
96368
|
+
i0.ɵɵadvance();
|
|
96369
|
+
i0.ɵɵproperty("ngClass", ctx_r0.categoryBreadcrumbClasses());
|
|
96370
|
+
i0.ɵɵadvance();
|
|
96371
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.formattedCategoryName(), " ");
|
|
96372
|
+
} }
|
|
96373
|
+
function ShopProfileQuestionCardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
96374
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
96290
96375
|
i0.ɵɵnamespaceSVG();
|
|
96291
|
-
i0.ɵɵelementStart(1, "svg",
|
|
96292
|
-
i0.ɵɵelement(2, "path",
|
|
96376
|
+
i0.ɵɵelementStart(1, "svg", 13);
|
|
96377
|
+
i0.ɵɵelement(2, "path", 16);
|
|
96293
96378
|
i0.ɵɵelementEnd()();
|
|
96294
96379
|
} if (rf & 2) {
|
|
96295
96380
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
96296
96381
|
i0.ɵɵproperty("ngClass", ctx_r0.checkboxClasses());
|
|
96297
96382
|
} }
|
|
96298
|
-
function
|
|
96299
|
-
i0.ɵɵelementStart(0, "p",
|
|
96383
|
+
function ShopProfileQuestionCardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
96384
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
96300
96385
|
i0.ɵɵtext(1);
|
|
96301
96386
|
i0.ɵɵelementEnd();
|
|
96302
96387
|
} if (rf & 2) {
|
|
@@ -96305,8 +96390,8 @@ function ShopProfileQuestionCardComponent_Conditional_6_Template(rf, ctx) { if (
|
|
|
96305
96390
|
i0.ɵɵadvance();
|
|
96306
96391
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.question().context, " ");
|
|
96307
96392
|
} }
|
|
96308
|
-
function
|
|
96309
|
-
i0.ɵɵelementStart(0, "span",
|
|
96393
|
+
function ShopProfileQuestionCardComponent_Conditional_8_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
96394
|
+
i0.ɵɵelementStart(0, "span", 20);
|
|
96310
96395
|
i0.ɵɵtext(1);
|
|
96311
96396
|
i0.ɵɵelementEnd();
|
|
96312
96397
|
} if (rf & 2) {
|
|
@@ -96316,12 +96401,12 @@ function ShopProfileQuestionCardComponent_Conditional_7_For_6_Template(rf, ctx)
|
|
|
96316
96401
|
i0.ɵɵadvance();
|
|
96317
96402
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.getFocusAreaTitle(focusArea_r2), " ");
|
|
96318
96403
|
} }
|
|
96319
|
-
function
|
|
96320
|
-
i0.ɵɵelementStart(0, "div",
|
|
96404
|
+
function ShopProfileQuestionCardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
96405
|
+
i0.ɵɵelementStart(0, "div", 7)(1, "div", 17)(2, "span", 18);
|
|
96321
96406
|
i0.ɵɵtext(3);
|
|
96322
96407
|
i0.ɵɵelementEnd()();
|
|
96323
|
-
i0.ɵɵelementStart(4, "div",
|
|
96324
|
-
i0.ɵɵrepeaterCreate(5,
|
|
96408
|
+
i0.ɵɵelementStart(4, "div", 19);
|
|
96409
|
+
i0.ɵɵrepeaterCreate(5, ShopProfileQuestionCardComponent_Conditional_8_For_6_Template, 2, 2, "span", 20, i0.ɵɵrepeaterTrackByIdentity);
|
|
96325
96410
|
i0.ɵɵelementEnd()();
|
|
96326
96411
|
} if (rf & 2) {
|
|
96327
96412
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -96332,16 +96417,16 @@ function ShopProfileQuestionCardComponent_Conditional_7_Template(rf, ctx) { if (
|
|
|
96332
96417
|
i0.ɵɵadvance(2);
|
|
96333
96418
|
i0.ɵɵrepeater(ctx_r0.relatedFocusAreas());
|
|
96334
96419
|
} }
|
|
96335
|
-
function
|
|
96420
|
+
function ShopProfileQuestionCardComponent_Conditional_9_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
96336
96421
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
96337
|
-
i0.ɵɵelementStart(0, "div",
|
|
96338
|
-
i0.ɵɵlistener("animationend", function
|
|
96339
|
-
i0.ɵɵelementStart(1, "span",
|
|
96422
|
+
i0.ɵɵelementStart(0, "div", 21);
|
|
96423
|
+
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)); });
|
|
96424
|
+
i0.ɵɵelementStart(1, "span", 22);
|
|
96340
96425
|
i0.ɵɵtext(2);
|
|
96341
96426
|
i0.ɵɵelementEnd();
|
|
96342
|
-
i0.ɵɵelement(3, "symphiq-user-avatar",
|
|
96427
|
+
i0.ɵɵelement(3, "symphiq-user-avatar", 23);
|
|
96343
96428
|
i0.ɵɵelementEnd();
|
|
96344
|
-
i0.ɵɵelementStart(4, "div",
|
|
96429
|
+
i0.ɵɵelementStart(4, "div", 24);
|
|
96345
96430
|
i0.ɵɵtext(5);
|
|
96346
96431
|
i0.ɵɵelementEnd();
|
|
96347
96432
|
} if (rf & 2) {
|
|
@@ -96360,28 +96445,28 @@ function ShopProfileQuestionCardComponent_Conditional_8_For_2_Template(rf, ctx)
|
|
|
96360
96445
|
i0.ɵɵadvance();
|
|
96361
96446
|
i0.ɵɵtextInterpolate1(" Answered ", ctx_r0.formatAnswerDate(answerData_r4.answer.createdDate), " ");
|
|
96362
96447
|
} }
|
|
96363
|
-
function
|
|
96364
|
-
i0.ɵɵelementStart(0, "div",
|
|
96365
|
-
i0.ɵɵrepeaterCreate(1,
|
|
96448
|
+
function ShopProfileQuestionCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
96449
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
96450
|
+
i0.ɵɵrepeaterCreate(1, ShopProfileQuestionCardComponent_Conditional_9_For_2_Template, 6, 11, null, null, _forTrack0$3);
|
|
96366
96451
|
i0.ɵɵelementEnd();
|
|
96367
96452
|
} if (rf & 2) {
|
|
96368
96453
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
96369
96454
|
i0.ɵɵadvance();
|
|
96370
96455
|
i0.ɵɵrepeater(ctx_r0.displayAnswers());
|
|
96371
96456
|
} }
|
|
96372
|
-
function
|
|
96373
|
-
i0.ɵɵelementStart(0, "div",
|
|
96457
|
+
function ShopProfileQuestionCardComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
96458
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 25)(2, "div", 26);
|
|
96374
96459
|
i0.ɵɵnamespaceSVG();
|
|
96375
|
-
i0.ɵɵelementStart(3, "svg",
|
|
96376
|
-
i0.ɵɵelement(4, "path",
|
|
96460
|
+
i0.ɵɵelementStart(3, "svg", 27);
|
|
96461
|
+
i0.ɵɵelement(4, "path", 28);
|
|
96377
96462
|
i0.ɵɵelementEnd();
|
|
96378
96463
|
i0.ɵɵnamespaceHTML();
|
|
96379
|
-
i0.ɵɵelement(5, "div",
|
|
96464
|
+
i0.ɵɵelement(5, "div", 29);
|
|
96380
96465
|
i0.ɵɵelementEnd();
|
|
96381
|
-
i0.ɵɵelementStart(6, "div")(7, "div",
|
|
96466
|
+
i0.ɵɵelementStart(6, "div")(7, "div", 30);
|
|
96382
96467
|
i0.ɵɵtext(8, " Not answered yet ");
|
|
96383
96468
|
i0.ɵɵelementEnd();
|
|
96384
|
-
i0.ɵɵelementStart(9, "div",
|
|
96469
|
+
i0.ɵɵelementStart(9, "div", 31);
|
|
96385
96470
|
i0.ɵɵtext(10, " Click the button below to provide your answer ");
|
|
96386
96471
|
i0.ɵɵelementEnd()()()();
|
|
96387
96472
|
} if (rf & 2) {
|
|
@@ -96398,13 +96483,13 @@ function ShopProfileQuestionCardComponent_Conditional_9_Template(rf, ctx) { if (
|
|
|
96398
96483
|
i0.ɵɵadvance(2);
|
|
96399
96484
|
i0.ɵɵproperty("ngClass", ctx_r0.unansweredTextClasses());
|
|
96400
96485
|
} }
|
|
96401
|
-
function
|
|
96486
|
+
function ShopProfileQuestionCardComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
96402
96487
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
96403
|
-
i0.ɵɵelementStart(0, "button",
|
|
96404
|
-
i0.ɵɵlistener("click", function
|
|
96488
|
+
i0.ɵɵelementStart(0, "button", 32);
|
|
96489
|
+
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
96490
|
i0.ɵɵnamespaceSVG();
|
|
96406
|
-
i0.ɵɵelementStart(1, "svg",
|
|
96407
|
-
i0.ɵɵelement(2, "path",
|
|
96491
|
+
i0.ɵɵelementStart(1, "svg", 13);
|
|
96492
|
+
i0.ɵɵelement(2, "path", 33);
|
|
96408
96493
|
i0.ɵɵelementEnd();
|
|
96409
96494
|
i0.ɵɵnamespaceHTML();
|
|
96410
96495
|
i0.ɵɵelementStart(3, "span");
|
|
@@ -96414,7 +96499,7 @@ function ShopProfileQuestionCardComponent_Conditional_11_Template(rf, ctx) { if
|
|
|
96414
96499
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
96415
96500
|
i0.ɵɵproperty("ngClass", ctx_r0.historyButtonClasses());
|
|
96416
96501
|
} }
|
|
96417
|
-
function
|
|
96502
|
+
function ShopProfileQuestionCardComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
96418
96503
|
i0.ɵɵelement(0, "div");
|
|
96419
96504
|
} }
|
|
96420
96505
|
class ShopProfileQuestionCardComponent {
|
|
@@ -96426,6 +96511,7 @@ class ShopProfileQuestionCardComponent {
|
|
|
96426
96511
|
this.profileAnswers = input([], ...(ngDevMode ? [{ debugName: "profileAnswers" }] : []));
|
|
96427
96512
|
this.profileAnswerHistories = input([], ...(ngDevMode ? [{ debugName: "profileAnswerHistories" }] : []));
|
|
96428
96513
|
this.users = input([], ...(ngDevMode ? [{ debugName: "users" }] : []));
|
|
96514
|
+
this.categoryNameFormatter = input(null, ...(ngDevMode ? [{ debugName: "categoryNameFormatter" }] : []));
|
|
96429
96515
|
this.answerClick = output();
|
|
96430
96516
|
this.historyClick = output();
|
|
96431
96517
|
this.questionAnswers = computed(() => {
|
|
@@ -96461,6 +96547,16 @@ class ShopProfileQuestionCardComponent {
|
|
|
96461
96547
|
this.showFocusAreaChips = computed(() => {
|
|
96462
96548
|
return this.viewType() === 'category';
|
|
96463
96549
|
}, ...(ngDevMode ? [{ debugName: "showFocusAreaChips" }] : []));
|
|
96550
|
+
this.showCategoryBreadcrumb = computed(() => {
|
|
96551
|
+
return this.viewType() === 'all' && this.question().category;
|
|
96552
|
+
}, ...(ngDevMode ? [{ debugName: "showCategoryBreadcrumb" }] : []));
|
|
96553
|
+
this.formattedCategoryName = computed(() => {
|
|
96554
|
+
const category = this.question().category;
|
|
96555
|
+
if (!category)
|
|
96556
|
+
return '';
|
|
96557
|
+
const formatter = this.categoryNameFormatter();
|
|
96558
|
+
return formatter ? formatter(category) : category;
|
|
96559
|
+
}, ...(ngDevMode ? [{ debugName: "formattedCategoryName" }] : []));
|
|
96464
96560
|
this.relatedFocusAreas = computed(() => {
|
|
96465
96561
|
return this.question().focusAreaDomains || [];
|
|
96466
96562
|
}, ...(ngDevMode ? [{ debugName: "relatedFocusAreas" }] : []));
|
|
@@ -96515,6 +96611,11 @@ class ShopProfileQuestionCardComponent {
|
|
|
96515
96611
|
? 'bg-white border-slate-200 hover:border-slate-300 hover:shadow-lg'
|
|
96516
96612
|
: 'bg-slate-800/50 border-slate-700/50 hover:border-slate-600/70 hover:shadow-xl hover:shadow-slate-900/30';
|
|
96517
96613
|
}
|
|
96614
|
+
categoryBreadcrumbClasses() {
|
|
96615
|
+
return this.isLightMode()
|
|
96616
|
+
? 'text-blue-600'
|
|
96617
|
+
: 'text-blue-400';
|
|
96618
|
+
}
|
|
96518
96619
|
questionTextClasses() {
|
|
96519
96620
|
return this.isLightMode()
|
|
96520
96621
|
? 'text-slate-900'
|
|
@@ -96602,42 +96703,46 @@ class ShopProfileQuestionCardComponent {
|
|
|
96602
96703
|
: '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
96704
|
}
|
|
96604
96705
|
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.ɵɵ
|
|
96706
|
+
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) {
|
|
96707
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
96708
|
+
i0.ɵɵconditionalCreate(1, ShopProfileQuestionCardComponent_Conditional_1_Template, 3, 2, "div", 1);
|
|
96709
|
+
i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "h3", 4);
|
|
96710
|
+
i0.ɵɵtext(5);
|
|
96608
96711
|
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(
|
|
96712
|
+
i0.ɵɵconditionalCreate(6, ShopProfileQuestionCardComponent_Conditional_6_Template, 3, 1, "div", 5);
|
|
96713
|
+
i0.ɵɵelementEnd();
|
|
96714
|
+
i0.ɵɵconditionalCreate(7, ShopProfileQuestionCardComponent_Conditional_7_Template, 2, 2, "p", 6);
|
|
96715
|
+
i0.ɵɵconditionalCreate(8, ShopProfileQuestionCardComponent_Conditional_8_Template, 7, 2, "div", 7);
|
|
96716
|
+
i0.ɵɵconditionalCreate(9, ShopProfileQuestionCardComponent_Conditional_9_Template, 3, 0, "div", 8)(10, ShopProfileQuestionCardComponent_Conditional_10_Template, 11, 6, "div", 9);
|
|
96717
|
+
i0.ɵɵelementStart(11, "div", 10);
|
|
96718
|
+
i0.ɵɵconditionalCreate(12, ShopProfileQuestionCardComponent_Conditional_12_Template, 5, 1, "button", 11)(13, ShopProfileQuestionCardComponent_Conditional_13_Template, 1, 0, "div");
|
|
96719
|
+
i0.ɵɵelementStart(14, "button", 12);
|
|
96720
|
+
i0.ɵɵlistener("click", function ShopProfileQuestionCardComponent_Template_button_click_14_listener() { return ctx.onAnswerClick(); });
|
|
96721
|
+
i0.ɵɵelementStart(15, "span");
|
|
96722
|
+
i0.ɵɵtext(16);
|
|
96620
96723
|
i0.ɵɵelementEnd();
|
|
96621
96724
|
i0.ɵɵnamespaceSVG();
|
|
96622
|
-
i0.ɵɵelementStart(
|
|
96623
|
-
i0.ɵɵelement(
|
|
96725
|
+
i0.ɵɵelementStart(17, "svg", 13);
|
|
96726
|
+
i0.ɵɵelement(18, "path", 14);
|
|
96624
96727
|
i0.ɵɵelementEnd()()()();
|
|
96625
96728
|
} if (rf & 2) {
|
|
96626
96729
|
i0.ɵɵproperty("ngClass", ctx.containerClasses());
|
|
96730
|
+
i0.ɵɵadvance();
|
|
96731
|
+
i0.ɵɵconditional(ctx.showCategoryBreadcrumb() ? 1 : -1);
|
|
96627
96732
|
i0.ɵɵadvance(3);
|
|
96628
96733
|
i0.ɵɵproperty("ngClass", ctx.questionTextClasses());
|
|
96629
96734
|
i0.ɵɵadvance();
|
|
96630
96735
|
i0.ɵɵtextInterpolate1(" ", ctx.question().question, " ");
|
|
96631
96736
|
i0.ɵɵadvance();
|
|
96632
|
-
i0.ɵɵconditional(ctx.isAnswered() ?
|
|
96737
|
+
i0.ɵɵconditional(ctx.isAnswered() ? 6 : -1);
|
|
96633
96738
|
i0.ɵɵadvance();
|
|
96634
|
-
i0.ɵɵconditional(ctx.question().context ?
|
|
96739
|
+
i0.ɵɵconditional(ctx.question().context ? 7 : -1);
|
|
96635
96740
|
i0.ɵɵadvance();
|
|
96636
|
-
i0.ɵɵconditional(ctx.showFocusAreaChips() && ctx.relatedFocusAreas().length > 0 ?
|
|
96741
|
+
i0.ɵɵconditional(ctx.showFocusAreaChips() && ctx.relatedFocusAreas().length > 0 ? 8 : -1);
|
|
96637
96742
|
i0.ɵɵadvance();
|
|
96638
|
-
i0.ɵɵconditional(ctx.displayAnswers().length > 0 ?
|
|
96743
|
+
i0.ɵɵconditional(ctx.displayAnswers().length > 0 ? 9 : 10);
|
|
96639
96744
|
i0.ɵɵadvance(3);
|
|
96640
|
-
i0.ɵɵconditional(ctx.hasHistory() ?
|
|
96745
|
+
i0.ɵɵconditional(ctx.hasHistory() ? 12 : 13);
|
|
96641
96746
|
i0.ɵɵadvance(2);
|
|
96642
96747
|
i0.ɵɵproperty("ngClass", ctx.buttonClasses());
|
|
96643
96748
|
i0.ɵɵadvance(2);
|
|
@@ -96646,131 +96751,137 @@ class ShopProfileQuestionCardComponent {
|
|
|
96646
96751
|
}
|
|
96647
96752
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShopProfileQuestionCardComponent, [{
|
|
96648
96753
|
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
|
-
|
|
96754
|
+
args: [{ selector: 'symphiq-shop-profile-question-card', standalone: true, imports: [CommonModule, UserAvatarComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
96755
|
+
<div [ngClass]="containerClasses()" class="rounded-xl border-2 p-6 transition-all duration-200">
|
|
96756
|
+
@if (showCategoryBreadcrumb()) {
|
|
96757
|
+
<div class="mb-3">
|
|
96758
|
+
<span [ngClass]="categoryBreadcrumbClasses()" class="text-xs font-semibold uppercase tracking-wider">
|
|
96759
|
+
{{ formattedCategoryName() }}
|
|
96760
|
+
</span>
|
|
96761
|
+
</div>
|
|
96762
|
+
}
|
|
96763
|
+
<div class="flex items-start gap-3">
|
|
96764
|
+
<div class="flex-1 min-w-0">
|
|
96765
|
+
<h3 [ngClass]="questionTextClasses()" class="text-lg font-bold mb-2">
|
|
96766
|
+
{{ question().question }}
|
|
96767
|
+
</h3>
|
|
96768
|
+
</div>
|
|
96769
|
+
@if (isAnswered()) {
|
|
96770
|
+
<div [ngClass]="checkboxClasses()" class="flex-shrink-0 w-6 h-6 rounded flex items-center justify-center">
|
|
96771
|
+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
96772
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
|
|
96773
|
+
</svg>
|
|
96774
|
+
</div>
|
|
96775
|
+
}
|
|
96776
|
+
</div>
|
|
96777
|
+
|
|
96778
|
+
<!-- Context -->
|
|
96779
|
+
@if (question().context) {
|
|
96780
|
+
<p [ngClass]="contextTextClasses()" class="text-sm leading-relaxed mb-4">
|
|
96781
|
+
{{ question().context }}
|
|
96782
|
+
</p>
|
|
96783
|
+
}
|
|
96784
|
+
|
|
96785
|
+
<!-- Related Focus Areas (only show when viewing by category) -->
|
|
96786
|
+
@if (showFocusAreaChips() && relatedFocusAreas().length > 0) {
|
|
96787
|
+
<div class="mb-4">
|
|
96788
|
+
<div class="mb-2">
|
|
96789
|
+
<span [ngClass]="relatedLabelClasses()" class="text-xs font-semibold">
|
|
96790
|
+
Related to {{ relatedFocusAreas().length }} focus area(s)
|
|
96791
|
+
</span>
|
|
96792
|
+
</div>
|
|
96793
|
+
<div class="flex flex-wrap gap-2">
|
|
96794
|
+
@for (focusArea of relatedFocusAreas(); track focusArea) {
|
|
96795
|
+
<span [ngClass]="focusAreaChipClasses()" class="px-3 py-1.5 rounded-full text-xs font-medium">
|
|
96796
|
+
{{ getFocusAreaTitle(focusArea) }}
|
|
96797
|
+
</span>
|
|
96798
|
+
}
|
|
96799
|
+
</div>
|
|
96800
|
+
</div>
|
|
96801
|
+
}
|
|
96802
|
+
|
|
96803
|
+
<!-- Answer Section -->
|
|
96804
|
+
@if (displayAnswers().length > 0) {
|
|
96805
|
+
<!-- Answered State - Show answer chips -->
|
|
96806
|
+
<div class="flex flex-wrap gap-3">
|
|
96807
|
+
@for (answerData of displayAnswers(); track answerData.answer.id) {
|
|
96808
|
+
<div
|
|
96809
|
+
[ngClass]="answerChipClasses()"
|
|
96810
|
+
[class.animate-answer-pop-in]="isNewAnswer(answerData.answer.id)"
|
|
96811
|
+
[class.animate-answer-fade-out]="isRemovedAnswer(answerData.answer.id)"
|
|
96812
|
+
(animationend)="onAnimationEnd(answerData.answer.id)"
|
|
96813
|
+
class="flex items-center gap-2 px-4 py-2.5 rounded-full">
|
|
96814
|
+
<span [ngClass]="answerTextClasses()" class="text-sm font-medium">
|
|
96815
|
+
{{ answerData.answer.answer }}
|
|
96816
|
+
</span>
|
|
96817
|
+
<symphiq-user-avatar
|
|
96818
|
+
[viewMode]="viewMode()"
|
|
96819
|
+
[user]="answerData.user"
|
|
96820
|
+
size="small"
|
|
96821
|
+
/>
|
|
96822
|
+
</div>
|
|
96823
|
+
<div [ngClass]="answerDateClasses()" class="self-center text-xs -ml-1">
|
|
96824
|
+
Answered {{ formatAnswerDate(answerData.answer.createdDate) }}
|
|
96825
|
+
</div>
|
|
96826
|
+
}
|
|
96827
|
+
</div>
|
|
96828
|
+
} @else {
|
|
96829
|
+
<!-- Unanswered State -->
|
|
96830
|
+
<div [ngClass]="unansweredContainerClasses()" class="rounded-lg p-6 border-2 border-dashed text-center">
|
|
96831
|
+
<div class="flex flex-col items-center gap-3">
|
|
96832
|
+
<!-- Empty State Icon -->
|
|
96833
|
+
<div [ngClass]="emptyStateIconContainerClasses()" class="relative w-16 h-16">
|
|
96834
|
+
<svg [ngClass]="emptyStateIconClasses()" class="w-full h-full" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
96835
|
+
<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>
|
|
96836
|
+
</svg>
|
|
96837
|
+
<div [ngClass]="emptyStateDotClasses()" class="absolute top-1 right-1 w-3 h-3 rounded-full border-2"></div>
|
|
96838
|
+
</div>
|
|
96839
|
+
<div>
|
|
96840
|
+
<div [ngClass]="unansweredLabelClasses()" class="text-sm font-semibold mb-1">
|
|
96841
|
+
Not answered yet
|
|
96842
|
+
</div>
|
|
96843
|
+
<div [ngClass]="unansweredTextClasses()" class="text-xs">
|
|
96844
|
+
Click the button below to provide your answer
|
|
96845
|
+
</div>
|
|
96846
|
+
</div>
|
|
96847
|
+
</div>
|
|
96848
|
+
</div>
|
|
96849
|
+
}
|
|
96850
|
+
|
|
96851
|
+
<!-- Action Buttons -->
|
|
96852
|
+
<div class="mt-4 flex items-center justify-between">
|
|
96853
|
+
<!-- History Button (left) -->
|
|
96854
|
+
@if (hasHistory()) {
|
|
96855
|
+
<button
|
|
96856
|
+
type="button"
|
|
96857
|
+
(click)="onHistoryClick()"
|
|
96858
|
+
[ngClass]="historyButtonClasses()"
|
|
96859
|
+
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">
|
|
96860
|
+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
96861
|
+
<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>
|
|
96862
|
+
</svg>
|
|
96863
|
+
<span>History</span>
|
|
96864
|
+
</button>
|
|
96865
|
+
} @else {
|
|
96866
|
+
<div></div>
|
|
96867
|
+
}
|
|
96868
|
+
|
|
96869
|
+
<!-- Answer Button (right) -->
|
|
96870
|
+
<button
|
|
96871
|
+
type="button"
|
|
96872
|
+
(click)="onAnswerClick()"
|
|
96873
|
+
[ngClass]="buttonClasses()"
|
|
96874
|
+
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">
|
|
96875
|
+
<span>{{ isAnswered() ? 'Edit Answer' : 'Answer' }}</span>
|
|
96876
|
+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
96877
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
|
|
96878
|
+
</svg>
|
|
96879
|
+
</button>
|
|
96880
|
+
</div>
|
|
96881
|
+
</div>
|
|
96771
96882
|
`, 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:
|
|
96883
|
+
}], 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"] }] }); })();
|
|
96884
|
+
(() => { (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
96885
|
|
|
96775
96886
|
const _c0$4 = ["scrollContainer"];
|
|
96776
96887
|
const _c1$1 = ["stickySentinel"];
|
|
@@ -98291,11 +98402,11 @@ function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditio
|
|
|
98291
98402
|
} if (rf & 2) {
|
|
98292
98403
|
const question_r6 = ctx.$implicit;
|
|
98293
98404
|
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());
|
|
98405
|
+
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
98406
|
} }
|
|
98296
98407
|
function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
98297
98408
|
i0.ɵɵelementStart(0, "div", 25);
|
|
98298
|
-
i0.ɵɵrepeaterCreate(1, ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_For_2_Template, 1,
|
|
98409
|
+
i0.ɵɵrepeaterCreate(1, ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_18_For_2_Template, 1, 8, "symphiq-shop-profile-question-card", 31, _forTrack0);
|
|
98299
98410
|
i0.ɵɵelementEnd();
|
|
98300
98411
|
} if (rf & 2) {
|
|
98301
98412
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -98675,6 +98786,9 @@ class ShopProfileQuestionsModalComponent {
|
|
|
98675
98786
|
.map(word => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase())
|
|
98676
98787
|
.join(' ');
|
|
98677
98788
|
}
|
|
98789
|
+
getCategoryNameFormatter() {
|
|
98790
|
+
return (category) => this.formatCategoryName(category);
|
|
98791
|
+
}
|
|
98678
98792
|
formatFocusAreaName(focusArea) {
|
|
98679
98793
|
if (focusArea === 'general')
|
|
98680
98794
|
return 'General';
|
|
@@ -98786,7 +98900,7 @@ class ShopProfileQuestionsModalComponent {
|
|
|
98786
98900
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
|
|
98787
98901
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalWrapper = _t.first);
|
|
98788
98902
|
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) {
|
|
98903
|
+
} }, 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
98904
|
i0.ɵɵconditionalCreate(0, ShopProfileQuestionsModalComponent_Conditional_0_Template, 11, 5, "div", 3);
|
|
98791
98905
|
} if (rf & 2) {
|
|
98792
98906
|
i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
|
|
@@ -98930,6 +99044,7 @@ class ShopProfileQuestionsModalComponent {
|
|
|
98930
99044
|
[profileAnswers]="profileAnswers()"
|
|
98931
99045
|
[profileAnswerHistories]="profileAnswerHistories()"
|
|
98932
99046
|
[users]="users()"
|
|
99047
|
+
[categoryNameFormatter]="getCategoryNameFormatter()"
|
|
98933
99048
|
(answerClick)="onQuestionAnswerClick($event)"
|
|
98934
99049
|
(historyClick)="onQuestionHistoryClick($event)" />
|
|
98935
99050
|
}
|
|
@@ -99014,7 +99129,7 @@ class ShopProfileQuestionsModalComponent {
|
|
|
99014
99129
|
type: ViewChild,
|
|
99015
99130
|
args: ['scrollContainer']
|
|
99016
99131
|
}] }); })();
|
|
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:
|
|
99132
|
+
(() => { (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
99133
|
|
|
99019
99134
|
const _c0$2 = ["chartdiv"];
|
|
99020
99135
|
function ShopProfileStatusCardComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|