@eric-emg/symphiq-components 1.2.498 → 1.2.499
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 +630 -627
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +6 -6
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -46124,10 +46124,12 @@ class MarkAsReviewedFooterComponent {
|
|
|
46124
46124
|
this.confettiService = inject(ConfettiService);
|
|
46125
46125
|
this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
|
|
46126
46126
|
this.reviewStatus = input(...(ngDevMode ? [undefined, { debugName: "reviewStatus" }] : []));
|
|
46127
|
+
this.selfContentStatus = input.required(...(ngDevMode ? [{ debugName: "selfContentStatus" }] : []));
|
|
46127
46128
|
this.isMarkingAsReviewed = input(false, ...(ngDevMode ? [{ debugName: "isMarkingAsReviewed" }] : []));
|
|
46128
46129
|
this.markAsReviewedClick = output();
|
|
46129
46130
|
this.shouldShowFooter = computed(() => {
|
|
46130
|
-
return this.
|
|
46131
|
+
return this.selfContentStatus() === AiDynamicContentStatusEnum.GENERATED &&
|
|
46132
|
+
this.reviewStatus() === ProfileAnalysisReviewStatusEnum.NOT_REVIEWED;
|
|
46131
46133
|
}, ...(ngDevMode ? [{ debugName: "shouldShowFooter" }] : []));
|
|
46132
46134
|
this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
46133
46135
|
}
|
|
@@ -46139,7 +46141,7 @@ class MarkAsReviewedFooterComponent {
|
|
|
46139
46141
|
this.markAsReviewedClick.emit();
|
|
46140
46142
|
}
|
|
46141
46143
|
static { this.ɵfac = function MarkAsReviewedFooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MarkAsReviewedFooterComponent)(); }; }
|
|
46142
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkAsReviewedFooterComponent, selectors: [["symphiq-mark-as-reviewed-footer"]], inputs: { viewMode: [1, "viewMode"], reviewStatus: [1, "reviewStatus"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { markAsReviewedClick: "markAsReviewedClick" }, decls: 1, vars: 1, consts: [[1, "fixed", "bottom-0", "left-0", "right-0", "z-[100]", "border-t", "backdrop-blur-lg", 3, "ngClass"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4"], ["type", "button", 1, "w-full", "px-6", "py-4", "rounded-xl", "font-semibold", "text-lg", "transition-all", "duration-300", "flex", "items-center", "justify-center", "gap-3", "shadow-2xl", "group", 3, "click", "disabled", "ngClass"], ["fill", "none", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "animate-spin"], ["cx", "12", "cy", "12", "r", "10", "stroke", "currentColor", "stroke-width", "4", 1, "opacity-25"], ["fill", "currentColor", "d", "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z", 1, "opacity-75"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "transition-transform", "duration-200", "group-hover:translate-x-1"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"]], template: function MarkAsReviewedFooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
46144
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkAsReviewedFooterComponent, selectors: [["symphiq-mark-as-reviewed-footer"]], inputs: { viewMode: [1, "viewMode"], reviewStatus: [1, "reviewStatus"], selfContentStatus: [1, "selfContentStatus"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { markAsReviewedClick: "markAsReviewedClick" }, decls: 1, vars: 1, consts: [[1, "fixed", "bottom-0", "left-0", "right-0", "z-[100]", "border-t", "backdrop-blur-lg", 3, "ngClass"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4"], ["type", "button", 1, "w-full", "px-6", "py-4", "rounded-xl", "font-semibold", "text-lg", "transition-all", "duration-300", "flex", "items-center", "justify-center", "gap-3", "shadow-2xl", "group", 3, "click", "disabled", "ngClass"], ["fill", "none", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "animate-spin"], ["cx", "12", "cy", "12", "r", "10", "stroke", "currentColor", "stroke-width", "4", 1, "opacity-25"], ["fill", "currentColor", "d", "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z", 1, "opacity-75"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "transition-transform", "duration-200", "group-hover:translate-x-1"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"]], template: function MarkAsReviewedFooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
46143
46145
|
i0.ɵɵconditionalCreate(0, MarkAsReviewedFooterComponent_Conditional_0_Template, 5, 4, "div", 0);
|
|
46144
46146
|
} if (rf & 2) {
|
|
46145
46147
|
i0.ɵɵconditional(ctx.shouldShowFooter() ? 0 : -1);
|
|
@@ -46191,7 +46193,7 @@ class MarkAsReviewedFooterComponent {
|
|
|
46191
46193
|
}
|
|
46192
46194
|
`
|
|
46193
46195
|
}]
|
|
46194
|
-
}], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], reviewStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "reviewStatus", required: false }] }], isMarkingAsReviewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isMarkingAsReviewed", required: false }] }], markAsReviewedClick: [{ type: i0.Output, args: ["markAsReviewedClick"] }] }); })();
|
|
46196
|
+
}], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], reviewStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "reviewStatus", required: false }] }], selfContentStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "selfContentStatus", required: true }] }], isMarkingAsReviewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isMarkingAsReviewed", required: false }] }], markAsReviewedClick: [{ type: i0.Output, args: ["markAsReviewedClick"] }] }); })();
|
|
46195
46197
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MarkAsReviewedFooterComponent, { className: "MarkAsReviewedFooterComponent", filePath: "lib/components/shared/mark-as-reviewed-footer.component.ts", lineNumber: 50 }); })();
|
|
46196
46198
|
|
|
46197
46199
|
const _c0$F = ["dashboardContainer"];
|
|
@@ -47481,7 +47483,8 @@ class SymphiqFunnelAnalysisDashboardComponent {
|
|
|
47481
47483
|
const funnelAnalysis = this.funnelAnalysis();
|
|
47482
47484
|
if (!funnelAnalysis)
|
|
47483
47485
|
return false;
|
|
47484
|
-
return funnelAnalysis.
|
|
47486
|
+
return funnelAnalysis.selfContentStatus === AiDynamicContentStatusEnum.GENERATED &&
|
|
47487
|
+
funnelAnalysis.reviewStatus === ProfileAnalysisReviewStatusEnum.NOT_REVIEWED;
|
|
47485
47488
|
}, ...(ngDevMode ? [{ debugName: "shouldShowReviewFooter" }] : []));
|
|
47486
47489
|
this.showNextStepAction = computed(() => {
|
|
47487
47490
|
const funnelAnalysis = this.funnelAnalysis();
|
|
@@ -48518,7 +48521,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
|
|
|
48518
48521
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dashboardContainer = _t.first);
|
|
48519
48522
|
} }, hostBindings: function SymphiqFunnelAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
48520
48523
|
i0.ɵɵlistener("scroll", function SymphiqFunnelAnalysisDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow);
|
|
48521
|
-
} }, inputs: { requestedByUser: [1, "requestedByUser"], viewMode: [1, "viewMode"], funnelAnalysis: [1, "funnelAnalysis"], businessProfile: [1, "businessProfile"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], isOnboarded: [1, "isOnboarded"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"], itemStatus: [1, "itemStatus"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, decls: 63, vars: 92, consts: [["dashboardContainer", ""], [1, "bg-transparent"], [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, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "sticky", "top-0", "z-50", "animate-fade-in", 2, "animation-delay", "0s"], [1, "transition-all", "duration-300", "ease-in-out", "overflow-hidden"], [1, "max-w-7xl", "mx-auto", "px-6", "sm:px-8", "py-6", "sm:py-8"], [1, "flex", "flex-col", "sm:flex-row", "items-start", "sm:items-center", "justify-between", "gap-3", "sm:gap-0"], [1, "flex-1"], [1, "flex", "items-center", "gap-3"], [1, "text-2xl", "sm:text-3xl", "font-bold", "mb-2", "bg-gradient-to-r", "from-blue-600", "via-purple-600", "to-indigo-600", "bg-clip-text", "text-transparent"], ["title", "Refreshing data...", 1, "animate-spin", "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full"], [1, "flex", "flex-wrap", "items-center", "justify-between", "gap-3", "sm:gap-4"], [1, "text-sm", "sm:text-base"], [1, "flex", "items-center", "gap-4"], ["type", "button", "title", "Search (/ or Cmd+K)", 1, "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "class"], ["type", "button", 1, "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 12a3 3 0 11-6 0 3 3 0 016 0z"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"], [1, "flex", "items-center", "gap-2", "sm:gap-3", "whitespace-nowrap"], [1, "flex", "flex-col", "gap-4", "min-w-[180px]"], [1, "text-left", "sm:text-right"], [1, "text-xs", "sm:text-sm"], [1, "text-sm", "sm:text-base", "font-medium"], [1, "max-w-7xl", "mx-auto", "px-6", "sm:px-8", "py-3"], [1, "flex", "items-center", "justify-between", "gap-4"], [1, "flex", "items-center", "gap-4", "flex-1", "min-w-0"], [1, "text-lg", "font-bold", "truncate", "bg-gradient-to-r", "from-blue-600", "via-purple-600", "to-indigo-600", "bg-clip-text", "text-transparent"], [1, "hidden", "lg:flex", "items-center", "gap-3", "px-4", "py-1.5", "rounded-lg", 3, "ngClass"], ["type", "button", "title", "Search (/ or Cmd+K)", 1, "p-2", "rounded-lg", "transition-all", "duration-200", "hover:scale-110", 3, "class"], ["type", "button", 1, "p-2", "rounded-lg", "transition-all", "duration-200", "hover:scale-110", 3, "click", "title"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], [1, "sticky", "top-[var(--header-height)]", "z-40", "border-b", "backdrop-blur-md", "animate-slide-up-fade", 3, "ngClass"], [3, "sections", "viewMode", "embedded", "scrollElement"], [1, "fixed", "right-6", "top-1/2", "-translate-y-1/2", "z-40", "hidden", "xl:flex", "flex-col", "gap-4"], [1, "flex", "items-center", "justify-center", "min-h-[60vh]"], [1, "max-w-7xl", "mx-auto", "px-6", "sm:px-8", 3, "pb-32"], [3, "isLightMode", "viewMode", "allMetrics", "allInsights", "allCharts", "currencySymbol", "businessProfile"], [3, "isLightMode", "allMetrics"], [3, "isLightMode"], [3, "resultSelected", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode", "isLoading"], [3, "expandedChange", "scrollToTop", "toggleView", "isLightMode", "isCompactMode", "isExpanded"], [3, "navigate", "isLightMode", "sections", "activeSection"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "isMarkingAsReviewed"], ["type", "button", "title", "Search (/ or Cmd+K)", 1, "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"], [1, "text-xs", "sm:text-sm", "font-medium"], [3, "click", "mousedown", "pointerdown"], [1, "px-3", "sm:px-4", "py-1.5", "rounded-lg", "text-xs", "sm:text-sm", "font-medium", "focus:outline-none", "focus:ring-2", "focus:ring-blue-500", "focus:border-transparent", "transition-colors", "duration-200", "cursor-pointer", 3, "ngModelChange", "ngModel"], [3, "value"], [1, "text-xs", "font-medium"], [1, "text-sm", "font-bold"], [1, "text-xs", "font-semibold", 3, "ngClass"], ["type", "button", "title", "Search (/ or Cmd+K)", 1, "p-2", "rounded-lg", "transition-all", "duration-200", "hover:scale-110", 3, "click"], [1, "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "focus:outline-none", "focus:ring-2", "focus:ring-blue-500", "focus:border-transparent", "transition-colors", "duration-200", "cursor-pointer", 3, "ngModelChange", "ngModel"], [1, "flex", "items-center", "gap-3", "flex-1", "min-w-0"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "flex-shrink-0", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "flex-1", "min-w-0"], [1, "text-sm", "font-medium", 3, "ngClass"], [1, "text-sm", "font-semibold", "truncate", 3, "ngClass"], [1, "px-2", "py-0.5", "rounded", "text-xs", "font-medium", "uppercase", "border", "flex-shrink-0", 3, "ngClass"], ["title", "Clear search", 1, "p-2", "rounded-lg", "transition-colors", "flex-shrink-0", 3, "click", "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "w-3", "h-3", "rounded-full", "transition-all", "duration-200", "hover:scale-150", "active:scale-100", "cursor-pointer", 3, "libSymphiqTooltip", "tooltipPosition", "ngClass"], [1, "w-3", "h-3", "rounded-full", "transition-all", "duration-200", "hover:scale-150", "active:scale-100", "cursor-pointer", 3, "click", "libSymphiqTooltip", "tooltipPosition", "ngClass"], ["size", "large", 3, "viewMode"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "viewMode", "itemStatus", "currentStatus", "confettiIntensity", "title", "subtitle"], [3, "stepClick", "nextStepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "max-w-7xl", "mx-auto", "px-6", "sm:px-8"], [1, "pt-8", "sm:pt-12", "pb-16", "sm:pb-24"], [1, "mb-8"], [3, "viewMode", "isOnboarded"], ["id", "section-insights", 1, "mb-8"], [3, "viewMode"], ["slot", "overall-performance"], [1, "p-6"], ["slot", "performance-metrics"], [1, "p-6", "space-y-8"], ["slot", "performance-breakdowns"], ["slot", "competitive-intelligence"], [1, "flex", "items-center", "justify-between", "mb-6"], [1, "pl-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"], [1, "text-xl", "sm:text-2xl", "font-bold"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "gap-6"], [3, "insight", "allMetrics", "charts", "allCharts", "allBusinessInsights", "isLightMode", "viewMode", "isCompactMode", "isLoading"], [3, "width", "height", "isLightMode"], [3, "assessment", "revenueMetric", "charts", "metrics", "isLightMode", "isLoading", "isCompactMode", "isChartsLoading", "strengths", "weaknesses", "currencySymbol"], [3, "scrollToSection", "assessment", "revenueMetric", "charts", "metrics", "isLightMode", "isLoading", "isCompactMode", "isChartsLoading", "strengths", "weaknesses", "currencySymbol"], [1, "w-full"], [3, "metric", "insights", "charts", "allCharts", "analysis", "isLightMode", "viewMode", "isCompactMode", "currencySymbol"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6", "mt-4"], [3, "breakdown", "charts", "isLightMode", "isLoading", "isCompactMode", "currencySymbol"], [3, "metrics", "allCharts", "isLightMode", "isCompactMode", "competitiveBenchmark", "currencySymbol"], ["id", "section-overall", 1, "animate-fade-in-up", "mb-20", "sm:mb-28", 2, "animation-delay", "0.1s"], [1, "rounded-xl", "border", "p-6", "sm:p-8", "animate-pulse", 3, "ngClass"], [1, "space-y-6"], [1, "flex-1", "space-y-2"], [1, "space-y-2"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "gap-4", "mt-6"], ["animationDelay", "0.15s", 3, "viewMode"], ["id", "section-insights", 1, "relative"], [1, "absolute", "inset-0", "-mx-6", "sm:-mx-8", "-mt-8", "rounded-3xl", "opacity-30", "backdrop-blur-sm", 2, "mask-image", "radial-gradient(ellipse at center, black 0%, transparent 70%)", 3, "ngClass"], [1, "relative"], [1, "flex", "items-center", "justify-between", "mb-6", "sm:mb-8", "animate-fade-in", 2, "animation-delay", "0.2s"], [1, "masonry-grid"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-4"], [1, "rounded-xl", "border", "p-6", "animate-pulse", "min-h-[280px]", 3, "ngClass"], [1, "space-y-4"], [1, "flex", "items-center", "gap-3", "mb-4"], [1, "mt-6", "space-y-2"], [1, "flex", "gap-2", "mt-4"], [1, "animate-fade-in-up", 3, "class", "animation-delay", "libSymphiqSearchHighlight", "highlightId"], [1, "animate-fade-in-up", 3, "libSymphiqSearchHighlight", "highlightId"], [3, "insight", "allMetrics", "charts", "allCharts", "allBusinessInsights", "isLightMode", "viewMode", "isCompactMode"], [1, "animate-fade-in-up", 3, "animation-delay", "libSymphiqSearchHighlight", "highlightId"], [1, "relative", "mb-14", "sm:mb-24", "mt-24", "sm:mt-32", "animate-fade-in", 2, "animation-delay", "0.35s"], ["id", "section-metrics", 1, "relative"], [1, "absolute", "inset-0", "-mx-6", "sm:-mx-8", "-mt-8", "rounded-3xl", "opacity-30", "backdrop-blur-sm", 2, "mask-image", "radial-gradient(ellipse at top right, black 0%, transparent 70%)", 3, "ngClass"], [1, "flex", "flex-col", "gap-4", "mb-6", "sm:mb-8", "animate-fade-in", 2, "animation-delay", "0.4s"], [1, "flex", "items-center", "justify-between"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"], [1, "hidden", "sm:flex", "gap-2", "sm:gap-3", "items-center", "relative"], [1, "absolute", "-right-2", "top-1/2", "-translate-y-1/2", "z-10"], [1, "px-3", "sm:px-4", "py-2", "rounded-lg", "text-xs", "sm:text-sm", "font-medium", "focus:outline-none", "focus:ring-2", "focus:ring-blue-500", "focus:border-transparent", "transition-all", "duration-200", "cursor-pointer", 3, "ngModelChange", "ngModel"], [1, "px-3", "sm:px-4", "py-2", "rounded-lg", "text-xs", "sm:text-sm", "font-medium", "focus:outline-none", "focus:ring-2", "focus:ring-blue-500", "transition-all", "flex", "items-center", "gap-2", "cursor-pointer", "hover:scale-105", "active:scale-95", 3, "click", "title"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M3 4h13M3 8h9m-9 4h6m4 0l4-4m0 0l4 4m-4-4v12"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M3 4h13M3 8h9m-9 4h9m5-4v12m0 0l-4-4m4 4l4-4"], [1, "sm:hidden", "-mx-6", "px-6"], [1, "flex", "gap-2", "overflow-x-auto", "pb-2", "snap-x", "snap-mandatory", "scrollbar-hide"], [1, "space-y-8", "sm:space-y-10"], [1, "space-y-8", "sm:space-y-10", 3, "animate-content-change", "transition-opacity-slow"], ["aria-hidden", "true", 1, "absolute", "inset-0", "flex", "items-center"], [1, "w-full", "h-px", "bg-gradient-to-r", 3, "ngClass"], [1, "relative", "flex", "justify-center"], [1, "px-4", "py-2", "rounded-full", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"], [1, "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full", "animate-spin"], ["disabled", "", 1, "font-semibold", 3, "value"], [1, "px-4", "py-2", "rounded-full", "text-xs", "font-medium", "whitespace-nowrap", "transition-all", "duration-200", "flex-shrink-0", "snap-start", "active:scale-95", 3, "ngClass", "opacity-70"], [1, "px-4", "py-2", "rounded-full", "text-xs", "font-medium", "whitespace-nowrap", "transition-all", "duration-200", "flex-shrink-0", "snap-start", "active:scale-95", 3, "click", "ngClass"], [1, "rounded-xl", "border", "p-6", "animate-pulse", 3, "ngClass"], [1, "flex", "items-center", "justify-between", "mb-4"], [1, "grid", "grid-cols-2", "md:grid-cols-4", "gap-4", "mt-6"], [1, "rounded-xl", "p-12", "border", "text-center", "animate-fade-in", 3, "ngClass"], [1, "w-full", "animate-fade-in-up", 3, "libSymphiqSearchHighlight", "highlightId"], [1, "bento-grid", "mt-4"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-4", "gap-3", "sm:gap-4", "mt-4"], [1, "animate-fade-in-up", 3, "class", "animation-delay"], [1, "animate-fade-in-up"], [1, "h-full", 3, "metric", "insights", "charts", "allCharts", "analysis", "isLightMode", "viewMode", "isCompactMode", "currencySymbol"], [1, "animate-fade-in-up", 3, "animation-delay"], [1, "rounded-xl", "border", "p-6", "animate-pulse", "min-h-[240px]", 3, "ngClass"], [1, "flex", "items-center", "gap-3", "mt-4"], [1, "mt-4"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-16", "h-16", "mx-auto", "mb-4", 3, "ngClass"], [1, "text-lg", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "mt-28", "sm:mt-36"], ["id", "section-breakdowns", 1, "relative"], [1, "absolute", "inset-0", "-mx-6", "sm:-mx-8", "-mt-8", "rounded-3xl", "opacity-30", "backdrop-blur-sm", 2, "mask-image", "radial-gradient(ellipse at bottom left, black 0%, transparent 70%)", 3, "ngClass"], [1, "flex", "flex-col", "sm:flex-row", "sm:items-center", "justify-between", "gap-4", "mb-6", "sm:mb-8", "animate-fade-in", 2, "animation-delay", "0.7s"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"], [1, "relative", "inline-block", 3, "click", "mousedown", "pointerdown"], [1, "px-3", "py-2", "text-sm", "rounded-lg", "border", "transition-all", "duration-200", "cursor-pointer", "focus:ring-2", "focus:ring-blue-500", "focus:outline-none", 3, "ngModelChange", "ngModel", "ngClass"], [1, "space-y-6", 3, "animate-content-change", "transition-opacity-slow"], ["animationDelay", "0.65s", 3, "viewMode"], [1, "w-4", "h-4", "border-2", "border-purple-500/30", "border-t-purple-500", "rounded-full", "animate-spin"], [1, "space-y-3"], [1, "flex", "items-center", "justify-between", "p-3", "rounded-lg", 3, "ngClass"], [3, "breakdown", "charts", "isLightMode", "isCompactMode", "currencySymbol"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"], ["id", "section-competitive", 1, "relative"], [1, "flex", "items-center", "justify-between", "mb-6", "sm:mb-8", "animate-fade-in", 2, "animation-delay", "0.9s"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"], [1, "hidden", "sm:block", "relative"], ["animationDelay", "0.85s", 3, "viewMode"], [1, "w-4", "h-4", "border-2", "border-indigo-500/30", "border-t-indigo-500", "rounded-full", "animate-spin"], [1, "grid", "grid-cols-1", "md:grid-cols-3", "gap-4", "mt-6"]], template: function SymphiqFunnelAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48524
|
+
} }, inputs: { requestedByUser: [1, "requestedByUser"], viewMode: [1, "viewMode"], funnelAnalysis: [1, "funnelAnalysis"], businessProfile: [1, "businessProfile"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], isOnboarded: [1, "isOnboarded"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"], itemStatus: [1, "itemStatus"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, decls: 63, vars: 93, consts: [["dashboardContainer", ""], [1, "bg-transparent"], [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, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "sticky", "top-0", "z-50", "animate-fade-in", 2, "animation-delay", "0s"], [1, "transition-all", "duration-300", "ease-in-out", "overflow-hidden"], [1, "max-w-7xl", "mx-auto", "px-6", "sm:px-8", "py-6", "sm:py-8"], [1, "flex", "flex-col", "sm:flex-row", "items-start", "sm:items-center", "justify-between", "gap-3", "sm:gap-0"], [1, "flex-1"], [1, "flex", "items-center", "gap-3"], [1, "text-2xl", "sm:text-3xl", "font-bold", "mb-2", "bg-gradient-to-r", "from-blue-600", "via-purple-600", "to-indigo-600", "bg-clip-text", "text-transparent"], ["title", "Refreshing data...", 1, "animate-spin", "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full"], [1, "flex", "flex-wrap", "items-center", "justify-between", "gap-3", "sm:gap-4"], [1, "text-sm", "sm:text-base"], [1, "flex", "items-center", "gap-4"], ["type", "button", "title", "Search (/ or Cmd+K)", 1, "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "class"], ["type", "button", 1, "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 12a3 3 0 11-6 0 3 3 0 016 0z"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"], [1, "flex", "items-center", "gap-2", "sm:gap-3", "whitespace-nowrap"], [1, "flex", "flex-col", "gap-4", "min-w-[180px]"], [1, "text-left", "sm:text-right"], [1, "text-xs", "sm:text-sm"], [1, "text-sm", "sm:text-base", "font-medium"], [1, "max-w-7xl", "mx-auto", "px-6", "sm:px-8", "py-3"], [1, "flex", "items-center", "justify-between", "gap-4"], [1, "flex", "items-center", "gap-4", "flex-1", "min-w-0"], [1, "text-lg", "font-bold", "truncate", "bg-gradient-to-r", "from-blue-600", "via-purple-600", "to-indigo-600", "bg-clip-text", "text-transparent"], [1, "hidden", "lg:flex", "items-center", "gap-3", "px-4", "py-1.5", "rounded-lg", 3, "ngClass"], ["type", "button", "title", "Search (/ or Cmd+K)", 1, "p-2", "rounded-lg", "transition-all", "duration-200", "hover:scale-110", 3, "class"], ["type", "button", 1, "p-2", "rounded-lg", "transition-all", "duration-200", "hover:scale-110", 3, "click", "title"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], [1, "sticky", "top-[var(--header-height)]", "z-40", "border-b", "backdrop-blur-md", "animate-slide-up-fade", 3, "ngClass"], [3, "sections", "viewMode", "embedded", "scrollElement"], [1, "fixed", "right-6", "top-1/2", "-translate-y-1/2", "z-40", "hidden", "xl:flex", "flex-col", "gap-4"], [1, "flex", "items-center", "justify-center", "min-h-[60vh]"], [1, "max-w-7xl", "mx-auto", "px-6", "sm:px-8", 3, "pb-32"], [3, "isLightMode", "viewMode", "allMetrics", "allInsights", "allCharts", "currencySymbol", "businessProfile"], [3, "isLightMode", "allMetrics"], [3, "isLightMode"], [3, "resultSelected", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode", "isLoading"], [3, "expandedChange", "scrollToTop", "toggleView", "isLightMode", "isCompactMode", "isExpanded"], [3, "navigate", "isLightMode", "sections", "activeSection"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "selfContentStatus", "isMarkingAsReviewed"], ["type", "button", "title", "Search (/ or Cmd+K)", 1, "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"], [1, "text-xs", "sm:text-sm", "font-medium"], [3, "click", "mousedown", "pointerdown"], [1, "px-3", "sm:px-4", "py-1.5", "rounded-lg", "text-xs", "sm:text-sm", "font-medium", "focus:outline-none", "focus:ring-2", "focus:ring-blue-500", "focus:border-transparent", "transition-colors", "duration-200", "cursor-pointer", 3, "ngModelChange", "ngModel"], [3, "value"], [1, "text-xs", "font-medium"], [1, "text-sm", "font-bold"], [1, "text-xs", "font-semibold", 3, "ngClass"], ["type", "button", "title", "Search (/ or Cmd+K)", 1, "p-2", "rounded-lg", "transition-all", "duration-200", "hover:scale-110", 3, "click"], [1, "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "focus:outline-none", "focus:ring-2", "focus:ring-blue-500", "focus:border-transparent", "transition-colors", "duration-200", "cursor-pointer", 3, "ngModelChange", "ngModel"], [1, "flex", "items-center", "gap-3", "flex-1", "min-w-0"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "flex-shrink-0", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "flex-1", "min-w-0"], [1, "text-sm", "font-medium", 3, "ngClass"], [1, "text-sm", "font-semibold", "truncate", 3, "ngClass"], [1, "px-2", "py-0.5", "rounded", "text-xs", "font-medium", "uppercase", "border", "flex-shrink-0", 3, "ngClass"], ["title", "Clear search", 1, "p-2", "rounded-lg", "transition-colors", "flex-shrink-0", 3, "click", "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "w-3", "h-3", "rounded-full", "transition-all", "duration-200", "hover:scale-150", "active:scale-100", "cursor-pointer", 3, "libSymphiqTooltip", "tooltipPosition", "ngClass"], [1, "w-3", "h-3", "rounded-full", "transition-all", "duration-200", "hover:scale-150", "active:scale-100", "cursor-pointer", 3, "click", "libSymphiqTooltip", "tooltipPosition", "ngClass"], ["size", "large", 3, "viewMode"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "viewMode", "itemStatus", "currentStatus", "confettiIntensity", "title", "subtitle"], [3, "stepClick", "nextStepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "max-w-7xl", "mx-auto", "px-6", "sm:px-8"], [1, "pt-8", "sm:pt-12", "pb-16", "sm:pb-24"], [1, "mb-8"], [3, "viewMode", "isOnboarded"], ["id", "section-insights", 1, "mb-8"], [3, "viewMode"], ["slot", "overall-performance"], [1, "p-6"], ["slot", "performance-metrics"], [1, "p-6", "space-y-8"], ["slot", "performance-breakdowns"], ["slot", "competitive-intelligence"], [1, "flex", "items-center", "justify-between", "mb-6"], [1, "pl-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"], [1, "text-xl", "sm:text-2xl", "font-bold"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "gap-6"], [3, "insight", "allMetrics", "charts", "allCharts", "allBusinessInsights", "isLightMode", "viewMode", "isCompactMode", "isLoading"], [3, "width", "height", "isLightMode"], [3, "assessment", "revenueMetric", "charts", "metrics", "isLightMode", "isLoading", "isCompactMode", "isChartsLoading", "strengths", "weaknesses", "currencySymbol"], [3, "scrollToSection", "assessment", "revenueMetric", "charts", "metrics", "isLightMode", "isLoading", "isCompactMode", "isChartsLoading", "strengths", "weaknesses", "currencySymbol"], [1, "w-full"], [3, "metric", "insights", "charts", "allCharts", "analysis", "isLightMode", "viewMode", "isCompactMode", "currencySymbol"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6", "mt-4"], [3, "breakdown", "charts", "isLightMode", "isLoading", "isCompactMode", "currencySymbol"], [3, "metrics", "allCharts", "isLightMode", "isCompactMode", "competitiveBenchmark", "currencySymbol"], ["id", "section-overall", 1, "animate-fade-in-up", "mb-20", "sm:mb-28", 2, "animation-delay", "0.1s"], [1, "rounded-xl", "border", "p-6", "sm:p-8", "animate-pulse", 3, "ngClass"], [1, "space-y-6"], [1, "flex-1", "space-y-2"], [1, "space-y-2"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "gap-4", "mt-6"], ["animationDelay", "0.15s", 3, "viewMode"], ["id", "section-insights", 1, "relative"], [1, "absolute", "inset-0", "-mx-6", "sm:-mx-8", "-mt-8", "rounded-3xl", "opacity-30", "backdrop-blur-sm", 2, "mask-image", "radial-gradient(ellipse at center, black 0%, transparent 70%)", 3, "ngClass"], [1, "relative"], [1, "flex", "items-center", "justify-between", "mb-6", "sm:mb-8", "animate-fade-in", 2, "animation-delay", "0.2s"], [1, "masonry-grid"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-4"], [1, "rounded-xl", "border", "p-6", "animate-pulse", "min-h-[280px]", 3, "ngClass"], [1, "space-y-4"], [1, "flex", "items-center", "gap-3", "mb-4"], [1, "mt-6", "space-y-2"], [1, "flex", "gap-2", "mt-4"], [1, "animate-fade-in-up", 3, "class", "animation-delay", "libSymphiqSearchHighlight", "highlightId"], [1, "animate-fade-in-up", 3, "libSymphiqSearchHighlight", "highlightId"], [3, "insight", "allMetrics", "charts", "allCharts", "allBusinessInsights", "isLightMode", "viewMode", "isCompactMode"], [1, "animate-fade-in-up", 3, "animation-delay", "libSymphiqSearchHighlight", "highlightId"], [1, "relative", "mb-14", "sm:mb-24", "mt-24", "sm:mt-32", "animate-fade-in", 2, "animation-delay", "0.35s"], ["id", "section-metrics", 1, "relative"], [1, "absolute", "inset-0", "-mx-6", "sm:-mx-8", "-mt-8", "rounded-3xl", "opacity-30", "backdrop-blur-sm", 2, "mask-image", "radial-gradient(ellipse at top right, black 0%, transparent 70%)", 3, "ngClass"], [1, "flex", "flex-col", "gap-4", "mb-6", "sm:mb-8", "animate-fade-in", 2, "animation-delay", "0.4s"], [1, "flex", "items-center", "justify-between"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"], [1, "hidden", "sm:flex", "gap-2", "sm:gap-3", "items-center", "relative"], [1, "absolute", "-right-2", "top-1/2", "-translate-y-1/2", "z-10"], [1, "px-3", "sm:px-4", "py-2", "rounded-lg", "text-xs", "sm:text-sm", "font-medium", "focus:outline-none", "focus:ring-2", "focus:ring-blue-500", "focus:border-transparent", "transition-all", "duration-200", "cursor-pointer", 3, "ngModelChange", "ngModel"], [1, "px-3", "sm:px-4", "py-2", "rounded-lg", "text-xs", "sm:text-sm", "font-medium", "focus:outline-none", "focus:ring-2", "focus:ring-blue-500", "transition-all", "flex", "items-center", "gap-2", "cursor-pointer", "hover:scale-105", "active:scale-95", 3, "click", "title"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M3 4h13M3 8h9m-9 4h6m4 0l4-4m0 0l4 4m-4-4v12"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M3 4h13M3 8h9m-9 4h9m5-4v12m0 0l-4-4m4 4l4-4"], [1, "sm:hidden", "-mx-6", "px-6"], [1, "flex", "gap-2", "overflow-x-auto", "pb-2", "snap-x", "snap-mandatory", "scrollbar-hide"], [1, "space-y-8", "sm:space-y-10"], [1, "space-y-8", "sm:space-y-10", 3, "animate-content-change", "transition-opacity-slow"], ["aria-hidden", "true", 1, "absolute", "inset-0", "flex", "items-center"], [1, "w-full", "h-px", "bg-gradient-to-r", 3, "ngClass"], [1, "relative", "flex", "justify-center"], [1, "px-4", "py-2", "rounded-full", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"], [1, "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full", "animate-spin"], ["disabled", "", 1, "font-semibold", 3, "value"], [1, "px-4", "py-2", "rounded-full", "text-xs", "font-medium", "whitespace-nowrap", "transition-all", "duration-200", "flex-shrink-0", "snap-start", "active:scale-95", 3, "ngClass", "opacity-70"], [1, "px-4", "py-2", "rounded-full", "text-xs", "font-medium", "whitespace-nowrap", "transition-all", "duration-200", "flex-shrink-0", "snap-start", "active:scale-95", 3, "click", "ngClass"], [1, "rounded-xl", "border", "p-6", "animate-pulse", 3, "ngClass"], [1, "flex", "items-center", "justify-between", "mb-4"], [1, "grid", "grid-cols-2", "md:grid-cols-4", "gap-4", "mt-6"], [1, "rounded-xl", "p-12", "border", "text-center", "animate-fade-in", 3, "ngClass"], [1, "w-full", "animate-fade-in-up", 3, "libSymphiqSearchHighlight", "highlightId"], [1, "bento-grid", "mt-4"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-4", "gap-3", "sm:gap-4", "mt-4"], [1, "animate-fade-in-up", 3, "class", "animation-delay"], [1, "animate-fade-in-up"], [1, "h-full", 3, "metric", "insights", "charts", "allCharts", "analysis", "isLightMode", "viewMode", "isCompactMode", "currencySymbol"], [1, "animate-fade-in-up", 3, "animation-delay"], [1, "rounded-xl", "border", "p-6", "animate-pulse", "min-h-[240px]", 3, "ngClass"], [1, "flex", "items-center", "gap-3", "mt-4"], [1, "mt-4"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-16", "h-16", "mx-auto", "mb-4", 3, "ngClass"], [1, "text-lg", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "mt-28", "sm:mt-36"], ["id", "section-breakdowns", 1, "relative"], [1, "absolute", "inset-0", "-mx-6", "sm:-mx-8", "-mt-8", "rounded-3xl", "opacity-30", "backdrop-blur-sm", 2, "mask-image", "radial-gradient(ellipse at bottom left, black 0%, transparent 70%)", 3, "ngClass"], [1, "flex", "flex-col", "sm:flex-row", "sm:items-center", "justify-between", "gap-4", "mb-6", "sm:mb-8", "animate-fade-in", 2, "animation-delay", "0.7s"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"], [1, "relative", "inline-block", 3, "click", "mousedown", "pointerdown"], [1, "px-3", "py-2", "text-sm", "rounded-lg", "border", "transition-all", "duration-200", "cursor-pointer", "focus:ring-2", "focus:ring-blue-500", "focus:outline-none", 3, "ngModelChange", "ngModel", "ngClass"], [1, "space-y-6", 3, "animate-content-change", "transition-opacity-slow"], ["animationDelay", "0.65s", 3, "viewMode"], [1, "w-4", "h-4", "border-2", "border-purple-500/30", "border-t-purple-500", "rounded-full", "animate-spin"], [1, "space-y-3"], [1, "flex", "items-center", "justify-between", "p-3", "rounded-lg", 3, "ngClass"], [3, "breakdown", "charts", "isLightMode", "isCompactMode", "currencySymbol"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"], ["id", "section-competitive", 1, "relative"], [1, "flex", "items-center", "justify-between", "mb-6", "sm:mb-8", "animate-fade-in", 2, "animation-delay", "0.9s"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"], [1, "hidden", "sm:block", "relative"], ["animationDelay", "0.85s", 3, "viewMode"], [1, "w-4", "h-4", "border-2", "border-indigo-500/30", "border-t-indigo-500", "rounded-full", "animate-spin"], [1, "grid", "grid-cols-1", "md:grid-cols-3", "gap-4", "mt-6"]], template: function SymphiqFunnelAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48522
48525
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
48523
48526
|
i0.ɵɵelementStart(0, "div", 1, 0);
|
|
48524
48527
|
i0.ɵɵelement(2, "div", 2);
|
|
@@ -48596,6 +48599,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
|
|
|
48596
48599
|
let tmp_26_0;
|
|
48597
48600
|
let tmp_33_0;
|
|
48598
48601
|
let tmp_65_0;
|
|
48602
|
+
let tmp_66_0;
|
|
48599
48603
|
i0.ɵɵstyleProp("display", ctx.embedded() ? "block" : null)("min-height", ctx.embedded() ? "auto" : null);
|
|
48600
48604
|
i0.ɵɵclassProp("min-h-screen", !ctx.embedded())("relative", !ctx.embedded());
|
|
48601
48605
|
i0.ɵɵadvance(2);
|
|
@@ -48671,7 +48675,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
|
|
|
48671
48675
|
i0.ɵɵadvance();
|
|
48672
48676
|
i0.ɵɵproperty("isLightMode", ctx.isLightMode())("sections", ctx.navSections)("activeSection", ctx.activeNavSection());
|
|
48673
48677
|
i0.ɵɵadvance();
|
|
48674
|
-
i0.ɵɵproperty("viewMode", ctx.isLightMode() ? ctx.ViewModeEnum.LIGHT : ctx.ViewModeEnum.DARK)("reviewStatus", (tmp_65_0 = ctx.funnelAnalysis()) == null ? null : tmp_65_0.reviewStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
|
|
48678
|
+
i0.ɵɵproperty("viewMode", ctx.isLightMode() ? ctx.ViewModeEnum.LIGHT : ctx.ViewModeEnum.DARK)("reviewStatus", (tmp_65_0 = ctx.funnelAnalysis()) == null ? null : tmp_65_0.reviewStatus)("selfContentStatus", (tmp_66_0 = ctx.funnelAnalysis()) == null ? null : tmp_66_0.selfContentStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
|
|
48675
48679
|
} }, dependencies: [CommonModule, i1$1.NgClass, FormsModule, i2$1.NgSelectOption, i2$1.ɵNgSelectMultipleOption, i2$1.SelectControlValueAccessor, i2$1.NgControlStatus, i2$1.NgModel, OverallAssessmentComponent,
|
|
48676
48680
|
InsightCardComponent,
|
|
48677
48681
|
MetricCardComponent,
|
|
@@ -49755,6 +49759,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
|
|
|
49755
49759
|
<symphiq-mark-as-reviewed-footer
|
|
49756
49760
|
[viewMode]="isLightMode() ? ViewModeEnum.LIGHT : ViewModeEnum.DARK"
|
|
49757
49761
|
[reviewStatus]="funnelAnalysis()?.reviewStatus"
|
|
49762
|
+
[selfContentStatus]="funnelAnalysis()?.selfContentStatus"
|
|
49758
49763
|
[isMarkingAsReviewed]="isMarkingAsReviewed()"
|
|
49759
49764
|
(markAsReviewedClick)="handleMarkAsReviewedClick()"
|
|
49760
49765
|
/>
|
|
@@ -49771,7 +49776,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
|
|
|
49771
49776
|
type: HostListener,
|
|
49772
49777
|
args: ['window:scroll', ['$event']]
|
|
49773
49778
|
}] }); })();
|
|
49774
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqFunnelAnalysisDashboardComponent, { className: "SymphiqFunnelAnalysisDashboardComponent", filePath: "lib/components/funnel-analysis-dashboard/symphiq-funnel-analysis-dashboard.component.ts", lineNumber:
|
|
49779
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqFunnelAnalysisDashboardComponent, { className: "SymphiqFunnelAnalysisDashboardComponent", filePath: "lib/components/funnel-analysis-dashboard/symphiq-funnel-analysis-dashboard.component.ts", lineNumber: 1248 }); })();
|
|
49775
49780
|
|
|
49776
49781
|
/**
|
|
49777
49782
|
* Shared Theme Color Utilities
|
|
@@ -67760,16 +67765,6 @@ function SymphiqBusinessAnalysisDashboardComponent_Conditional_29_Template(rf, c
|
|
|
67760
67765
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
67761
67766
|
i0.ɵɵproperty("sections", ctx_r1.sections())("viewMode", ctx_r1.viewMode())("embedded", ctx_r1.embedded())("scrollElement", ctx_r1.scrollElement() ?? undefined);
|
|
67762
67767
|
} }
|
|
67763
|
-
function SymphiqBusinessAnalysisDashboardComponent_Conditional_35_Template(rf, ctx) { if (rf & 1) {
|
|
67764
|
-
const _r10 = i0.ɵɵgetCurrentView();
|
|
67765
|
-
i0.ɵɵelementStart(0, "symphiq-mark-as-reviewed-footer", 40);
|
|
67766
|
-
i0.ɵɵlistener("markAsReviewedClick", function SymphiqBusinessAnalysisDashboardComponent_Conditional_35_Template_symphiq_mark_as_reviewed_footer_markAsReviewedClick_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleMarkAsReviewedClick()); });
|
|
67767
|
-
i0.ɵɵelementEnd();
|
|
67768
|
-
} if (rf & 2) {
|
|
67769
|
-
let tmp_2_0;
|
|
67770
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
67771
|
-
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("reviewStatus", (tmp_2_0 = ctx_r1.profile()) == null ? null : tmp_2_0.reviewStatus)("isMarkingAsReviewed", ctx_r1.isMarkingAsReviewed());
|
|
67772
|
-
} }
|
|
67773
67768
|
class SymphiqBusinessAnalysisDashboardComponent {
|
|
67774
67769
|
sectionHasContent(section) {
|
|
67775
67770
|
if (!section?.subsections || section.subsections.length === 0) {
|
|
@@ -68295,7 +68290,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
68295
68290
|
static { this.ɵfac = function SymphiqBusinessAnalysisDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqBusinessAnalysisDashboardComponent)(); }; }
|
|
68296
68291
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqBusinessAnalysisDashboardComponent, selectors: [["symphiq-business-analysis-dashboard"]], hostBindings: function SymphiqBusinessAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
68297
68292
|
i0.ɵɵlistener("scroll", function SymphiqBusinessAnalysisDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow)("keydown", function SymphiqBusinessAnalysisDashboardComponent_keydown_HostBindingHandler($event) { return ctx.handleKeyDown($event); }, i0.ɵɵresolveDocument);
|
|
68298
|
-
} }, inputs: { embedded: [1, "embedded"], profile: [1, "profile"], parentHeaderOffset: [1, "parentHeaderOffset"], requestedByUser: [1, "requestedByUser"], viewMode: [1, "viewMode"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], isOnboarded: [1, "isOnboarded"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"], itemStatus: [1, "itemStatus"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, decls: 36, vars:
|
|
68293
|
+
} }, inputs: { embedded: [1, "embedded"], profile: [1, "profile"], parentHeaderOffset: [1, "parentHeaderOffset"], requestedByUser: [1, "requestedByUser"], viewMode: [1, "viewMode"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], isOnboarded: [1, "isOnboarded"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"], itemStatus: [1, "itemStatus"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, decls: 36, vars: 64, consts: [[3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [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, "relative", "z-[51]"], [1, "sticky", "top-0", "z-50", 3, "ngClass"], [1, "transition-all", "duration-300", "ease-in-out", "overflow-hidden"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-2"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-3"], [1, "flex-1", "min-w-0", "mr-4"], [1, "flex", "items-center", "gap-4"], [1, "flex", "items-center", "gap-2", "text-sm", "flex-shrink-0"], [1, "relative"], [1, "flex", "items-center", "justify-center", "min-h-[60vh]"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "viewMode", "embedded"], [3, "viewInContextRequested", "isLightMode"], [3, "searchChange", "resultSelected", "close", "isLightMode", "isOpen", "searchQuery", "results", "hasResults", "selectedIndex", "placeholder"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode", "isLoading"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "selfContentStatus", "isMarkingAsReviewed"], [3, "searchClick", "isLightMode"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 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", "M15 12a3 3 0 11-6 0 3 3 0 016 0z"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"], [1, "transition-opacity", "duration-300", 3, "ngClass"], [3, "searchClick", "isLightMode", "minimized"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-2", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"], ["size", "large", 3, "viewMode"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "viewMode", "itemStatus", "currentStatus", "confettiIntensity", "title", "subtitle"], [3, "stepClick", "nextStepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "mb-8"], [3, "viewMode", "businessName", "isOnboarded"], [3, "viewMoreClick", "recommendations", "viewMode"], [3, "sections", "viewMode"], [3, "section", "viewMode", "forceExpanded"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8"], [3, "viewMode", "subsections"]], template: function SymphiqBusinessAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
68299
68294
|
i0.ɵɵelementStart(0, "div", 0)(1, "div");
|
|
68300
68295
|
i0.ɵɵelement(2, "div", 1);
|
|
68301
68296
|
i0.ɵɵelementEnd();
|
|
@@ -68332,13 +68327,16 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
68332
68327
|
i0.ɵɵelementStart(34, "symphiq-view-mode-switcher-modal", 19);
|
|
68333
68328
|
i0.ɵɵlistener("close", function SymphiqBusinessAnalysisDashboardComponent_Template_symphiq_view_mode_switcher_modal_close_34_listener() { return ctx.closeViewModeSwitcher(); })("modeSelected", function SymphiqBusinessAnalysisDashboardComponent_Template_symphiq_view_mode_switcher_modal_modeSelected_34_listener($event) { return ctx.handleDisplayModeChange($event); });
|
|
68334
68329
|
i0.ɵɵelementEnd();
|
|
68335
|
-
i0.ɵɵ
|
|
68336
|
-
i0.ɵɵ
|
|
68330
|
+
i0.ɵɵelementStart(35, "symphiq-mark-as-reviewed-footer", 20);
|
|
68331
|
+
i0.ɵɵlistener("markAsReviewedClick", function SymphiqBusinessAnalysisDashboardComponent_Template_symphiq_mark_as_reviewed_footer_markAsReviewedClick_35_listener() { return ctx.handleMarkAsReviewedClick(); });
|
|
68332
|
+
i0.ɵɵelementEnd()();
|
|
68337
68333
|
} if (rf & 2) {
|
|
68338
68334
|
let tmp_13_0;
|
|
68339
68335
|
let tmp_15_0;
|
|
68340
68336
|
let tmp_23_0;
|
|
68341
68337
|
let tmp_25_0;
|
|
68338
|
+
let tmp_45_0;
|
|
68339
|
+
let tmp_46_0;
|
|
68342
68340
|
i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
|
|
68343
68341
|
i0.ɵɵadvance();
|
|
68344
68342
|
i0.ɵɵclassMap(ctx.embedded() ? "sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30" : "fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30");
|
|
@@ -68390,274 +68388,273 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
68390
68388
|
i0.ɵɵadvance();
|
|
68391
68389
|
i0.ɵɵproperty("isOpen", ctx.isViewModeSwitcherOpen())("currentMode", ctx.displayMode())("viewMode", ctx.viewMode())("isLoading", ctx.isViewModeSwitching());
|
|
68392
68390
|
i0.ɵɵadvance();
|
|
68393
|
-
i0.ɵɵ
|
|
68391
|
+
i0.ɵɵproperty("viewMode", ctx.viewMode())("reviewStatus", (tmp_45_0 = ctx.profile()) == null ? null : tmp_45_0.reviewStatus)("selfContentStatus", (tmp_46_0 = ctx.profile()) == null ? null : tmp_46_0.selfContentStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
|
|
68394
68392
|
} }, dependencies: [CommonModule, i1$1.NgClass, ProfileSectionComponent, SectionNavigationComponent, FloatingTocComponent, FloatingBackButtonComponent, TooltipContainerComponent, SectionDividerComponent, BusinessAnalysisModalComponent, SearchButtonComponent, SearchModalComponent, ViewModeSwitcherModalComponent, JourneyProgressIndicatorComponent, WelcomeBannerComponent, RecommendationsTiledGridComponent, CollapsibleSectionGroupComponent, ContentGenerationProgressWithConfettiComponent, IndeterminateSpinnerComponent, MarkAsReviewedFooterComponent], styles: ["[_nghost-%COMP%]{display:block}@keyframes _ngcontent-%COMP%_spin{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_pulse-highlight{0%,to{transform:scale(1);box-shadow:0 0 #3b82f6b3}50%{transform:scale(1.02);box-shadow:0 0 20px 8px #3b82f64d}}[_nghost-%COMP%] .search-highlight-pulse{animation:_ngcontent-%COMP%_pulse-highlight 2s ease-in-out;border-color:#3b82f6!important}"], changeDetection: 0 }); }
|
|
68395
68393
|
}
|
|
68396
68394
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqBusinessAnalysisDashboardComponent, [{
|
|
68397
68395
|
type: Component,
|
|
68398
|
-
args: [{ selector: 'symphiq-business-analysis-dashboard', standalone: true, imports: [CommonModule, ProfileSectionComponent, SectionNavigationComponent, FloatingTocComponent, FloatingBackButtonComponent, TooltipContainerComponent, SectionDividerComponent, BusinessAnalysisModalComponent, SearchButtonComponent, SearchModalComponent, ViewModeSwitcherModalComponent, JourneyProgressIndicatorComponent, WelcomeBannerComponent, RecommendationsTiledGridComponent, CollapsibleSectionGroupComponent, ContentGenerationProgressWithConfettiComponent, IndeterminateSpinnerComponent, MarkAsReviewedFooterComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
68399
|
-
<div [ngClass]="getContainerClasses()">
|
|
68400
|
-
<!-- Scroll Progress Bar (fixed at top) -->
|
|
68401
|
-
<div [class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
|
|
68402
|
-
<div
|
|
68403
|
-
[style.width.%]="scrollProgress()"
|
|
68404
|
-
[ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
|
|
68405
|
-
class="h-full transition-all duration-200 ease-out">
|
|
68406
|
-
</div>
|
|
68407
|
-
</div>
|
|
68408
|
-
|
|
68409
|
-
<div class="animated-bubbles" [class.light-mode]="isLightMode()" style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
|
|
68410
|
-
|
|
68411
|
-
<div class="relative z-[51]">
|
|
68412
|
-
<header [ngClass]="getHeaderClasses()" class="sticky top-0 z-50">
|
|
68413
|
-
<!-- Expanded Header (default state) -->
|
|
68414
|
-
<div
|
|
68415
|
-
class="transition-all duration-300 ease-in-out overflow-hidden"
|
|
68416
|
-
[class.max-h-0]="headerScrollService.isScrolled()"
|
|
68417
|
-
[class.opacity-0]="headerScrollService.isScrolled()"
|
|
68418
|
-
[class.max-h-96]="!headerScrollService.isScrolled()"
|
|
68419
|
-
[class.opacity-100]="!headerScrollService.isScrolled()">
|
|
68420
|
-
<div
|
|
68421
|
-
class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"
|
|
68422
|
-
[class.pointer-events-none]="headerScrollService.isScrolled()"
|
|
68423
|
-
[class.pointer-events-auto]="!headerScrollService.isScrolled()">
|
|
68424
|
-
<div class="flex items-center justify-between">
|
|
68425
|
-
<div>
|
|
68426
|
-
<h1 [ngClass]="getMainTitleClasses()">
|
|
68427
|
-
{{ currentProfile()?.profileStructured?.businessName || 'Business Analysis' }}
|
|
68428
|
-
</h1>
|
|
68429
|
-
<p [ngClass]="getSubtitleClasses()">
|
|
68430
|
-
Business Profile & Analysis
|
|
68431
|
-
</p>
|
|
68432
|
-
</div>
|
|
68433
|
-
@if (profile()?.selfContentStatus === AiDynamicContentStatusEnum.GENERATED) {
|
|
68434
|
-
<div class="flex items-center gap-2">
|
|
68435
|
-
<symphiq-search-button
|
|
68436
|
-
[isLightMode]="isLightMode()"
|
|
68437
|
-
(searchClick)="openSearch()"
|
|
68438
|
-
/>
|
|
68439
|
-
<button
|
|
68440
|
-
type="button"
|
|
68441
|
-
(click)="openViewModeSwitcher()"
|
|
68442
|
-
[ngClass]="getViewModeButtonClasses()"
|
|
68443
|
-
class="cursor-pointer flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
|
|
68444
|
-
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
68445
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
|
|
68446
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
|
|
68447
|
-
</svg>
|
|
68448
|
-
<span>{{ displayModeLabel() }}</span>
|
|
68449
|
-
</button>
|
|
68450
|
-
</div>
|
|
68451
|
-
}
|
|
68452
|
-
</div>
|
|
68453
|
-
</div>
|
|
68454
|
-
</div>
|
|
68455
|
-
|
|
68456
|
-
<!-- Condensed Header (scrolled state) -->
|
|
68457
|
-
<div
|
|
68458
|
-
class="transition-all duration-300 ease-in-out overflow-hidden"
|
|
68459
|
-
[class.max-h-0]="!headerScrollService.isScrolled()"
|
|
68460
|
-
[class.opacity-0]="!headerScrollService.isScrolled()"
|
|
68461
|
-
[class.max-h-20]="headerScrollService.isScrolled()"
|
|
68462
|
-
[class.opacity-100]="headerScrollService.isScrolled()">
|
|
68463
|
-
<div
|
|
68464
|
-
class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3"
|
|
68465
|
-
[class.pointer-events-none]="!headerScrollService.isScrolled()"
|
|
68466
|
-
[class.pointer-events-auto]="headerScrollService.isScrolled()">
|
|
68467
|
-
<div class="flex items-center justify-between">
|
|
68468
|
-
<div class="flex-1 min-w-0 mr-4">
|
|
68469
|
-
<h1 [ngClass]="isLightMode() ? 'text-xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent truncate' : 'text-xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent truncate'">
|
|
68470
|
-
{{ currentProfile()?.profileStructured?.businessName || 'Business Analysis' }}
|
|
68471
|
-
</h1>
|
|
68472
|
-
</div>
|
|
68473
|
-
<div class="flex items-center gap-4">
|
|
68474
|
-
@if (!isSimplifiedView()) {
|
|
68475
|
-
<div class="flex items-center gap-2 text-sm flex-shrink-0">
|
|
68476
|
-
<span [ngClass]="isLightMode() ? 'text-slate-600 font-medium' : 'text-slate-400 font-medium'" class="transition-opacity duration-300" [class.opacity-0]="sectionTitleFading()" [class.opacity-100]="!sectionTitleFading()">
|
|
68477
|
-
{{ currentSectionTitle() }}
|
|
68478
|
-
</span>
|
|
68479
|
-
@if (currentSubsectionTitle()) {
|
|
68480
|
-
<span [ngClass]="isLightMode() ? 'text-slate-400' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionTitleFading()" [class.opacity-100]="!subsectionTitleFading()">›</span>
|
|
68481
|
-
<span [ngClass]="isLightMode() ? 'text-slate-500' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionTitleFading()" [class.opacity-100]="!subsectionTitleFading()">
|
|
68482
|
-
{{ currentSubsectionTitle() }}
|
|
68483
|
-
</span>
|
|
68484
|
-
}
|
|
68485
|
-
</div>
|
|
68486
|
-
}
|
|
68487
|
-
@if (profile()?.selfContentStatus === AiDynamicContentStatusEnum.GENERATED) {
|
|
68488
|
-
<symphiq-search-button
|
|
68489
|
-
[isLightMode]="isLightMode()"
|
|
68490
|
-
[minimized]="true"
|
|
68491
|
-
(searchClick)="openSearch()"
|
|
68492
|
-
/>
|
|
68493
|
-
<button
|
|
68494
|
-
type="button"
|
|
68495
|
-
(click)="openViewModeSwitcher()"
|
|
68496
|
-
[ngClass]="getViewModeButtonClasses()"
|
|
68497
|
-
class="cursor-pointer flex items-center gap-2 px-2 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
|
|
68498
|
-
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
68499
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
|
|
68500
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
|
|
68501
|
-
</svg>
|
|
68502
|
-
</button>
|
|
68503
|
-
}
|
|
68504
|
-
</div>
|
|
68505
|
-
</div>
|
|
68506
|
-
</div>
|
|
68507
|
-
</div>
|
|
68508
|
-
</header>
|
|
68509
|
-
|
|
68510
|
-
<main class="relative" [class.pb-32]="shouldShowReviewFooter()">
|
|
68511
|
-
@if (isLoading()) {
|
|
68512
|
-
<!-- Pure Loading State -->
|
|
68513
|
-
<div class="flex items-center justify-center min-h-[60vh]">
|
|
68514
|
-
<symphiq-indeterminate-spinner
|
|
68515
|
-
[viewMode]="viewMode()"
|
|
68516
|
-
size="large"
|
|
68517
|
-
/>
|
|
68518
|
-
</div>
|
|
68519
|
-
} @else if (isContentGenerating()) {
|
|
68520
|
-
<!-- Journey Progress Banner (always show when not onboarded) -->
|
|
68521
|
-
@if (!isOnboarded()) {
|
|
68522
|
-
<symphiq-journey-progress-indicator
|
|
68523
|
-
[viewMode]="viewMode()"
|
|
68524
|
-
[currentStepId]="JourneyStepIdEnum.BUSINESS_ANALYSIS"
|
|
68525
|
-
[showNextStepAction]="false"
|
|
68526
|
-
[forDemo]="forDemo()"
|
|
68527
|
-
[maxAccessibleStepId]="maxAccessibleStepId()"
|
|
68528
|
-
(stepClick)="stepClick.emit($event)"
|
|
68529
|
-
(nextStepClick)="nextStepClick.emit()"
|
|
68530
|
-
/>
|
|
68531
|
-
}
|
|
68532
|
-
|
|
68533
|
-
<!-- Content Generation Progress Component -->
|
|
68534
|
-
<symphiq-content-generation-progress-with-confetti
|
|
68535
|
-
[viewMode]="viewMode()"
|
|
68536
|
-
[itemStatus]="itemStatus()"
|
|
68537
|
-
[currentStatus]="profile()?.selfContentStatus"
|
|
68538
|
-
[confettiIntensity]="'celebration'"
|
|
68539
|
-
[title]="'We are generating a new Business Analysis for ' + (currentProfile()?.profileStructured?.businessName || 'your business') + '.'"
|
|
68540
|
-
[subtitle]="'It will appear here when ready. You can check back later as this will take a few minutes to complete.'"
|
|
68541
|
-
/>
|
|
68542
|
-
} @else {
|
|
68543
|
-
@if (isSimplifiedView()) {
|
|
68544
|
-
<!-- Journey Progress Banner - Full Width Sticky (only show when not onboarded) -->
|
|
68545
|
-
@if (!isOnboarded()) {
|
|
68546
|
-
<symphiq-journey-progress-indicator
|
|
68547
|
-
[viewMode]="viewMode()"
|
|
68548
|
-
[currentStepId]="JourneyStepIdEnum.BUSINESS_ANALYSIS"
|
|
68549
|
-
[showNextStepAction]="showNextStepAction()"
|
|
68550
|
-
[forDemo]="forDemo()"
|
|
68551
|
-
[maxAccessibleStepId]="maxAccessibleStepId()"
|
|
68552
|
-
(stepClick)="stepClick.emit($event)"
|
|
68553
|
-
(nextStepClick)="nextStepClick.emit()"
|
|
68554
|
-
/>
|
|
68555
|
-
}
|
|
68556
|
-
|
|
68557
|
-
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
|
68558
|
-
<div class="mb-8">
|
|
68559
|
-
<symphiq-welcome-banner
|
|
68560
|
-
[viewMode]="viewMode()"
|
|
68561
|
-
[businessName]="currentProfile()?.profileStructured?.businessName || 'your business'"
|
|
68562
|
-
[isOnboarded]="isOnboarded()"
|
|
68563
|
-
/>
|
|
68564
|
-
</div>
|
|
68565
|
-
|
|
68566
|
-
<div class="mb-8">
|
|
68567
|
-
<symphiq-recommendations-tiled-grid
|
|
68568
|
-
[recommendations]="recommendationItems()"
|
|
68569
|
-
[viewMode]="viewMode()"
|
|
68570
|
-
(viewMoreClick)="openRecommendationDetailsModal($event)"
|
|
68571
|
-
/>
|
|
68572
|
-
</div>
|
|
68573
|
-
|
|
68574
|
-
<div>
|
|
68575
|
-
<symphiq-collapsible-section-group
|
|
68576
|
-
[sections]="nonRecommendationSections()"
|
|
68577
|
-
[viewMode]="viewMode()"
|
|
68578
|
-
/>
|
|
68579
|
-
</div>
|
|
68580
|
-
</div>
|
|
68581
|
-
} @else {
|
|
68582
|
-
@for (section of sections(); track trackBySectionId($index, section); let idx = $index; let last = $last) {
|
|
68583
|
-
<symphiq-profile-section
|
|
68584
|
-
[section]="section"
|
|
68585
|
-
[viewMode]="viewMode()"
|
|
68586
|
-
[forceExpanded]="!isCompactView()"
|
|
68587
|
-
/>
|
|
68588
|
-
@if (!last) {
|
|
68589
|
-
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
68590
|
-
<symphiq-section-divider
|
|
68591
|
-
[viewMode]="viewMode()"
|
|
68592
|
-
[subsections]="sections()[idx + 1].subsections || []" />
|
|
68593
|
-
</div>
|
|
68594
|
-
}
|
|
68595
|
-
}
|
|
68596
|
-
}
|
|
68597
|
-
}
|
|
68598
|
-
</main>
|
|
68599
|
-
|
|
68600
|
-
@if (!isSimplifiedView()) {
|
|
68601
|
-
<symphiq-section-navigation
|
|
68602
|
-
[sections]="sections()"
|
|
68603
|
-
[viewMode]="viewMode()"
|
|
68604
|
-
[embedded]="embedded()"
|
|
68605
|
-
[scrollElement]="scrollElement() ?? undefined"
|
|
68606
|
-
/>
|
|
68607
|
-
}
|
|
68608
|
-
|
|
68609
|
-
@if (!isSimplifiedView()) {
|
|
68610
|
-
<symphiq-floating-toc
|
|
68611
|
-
[sections]="sections()"
|
|
68612
|
-
[viewMode]="viewMode()"
|
|
68613
|
-
[embedded]="embedded()"
|
|
68614
|
-
[scrollElement]="scrollElement() ?? undefined"
|
|
68615
|
-
/>
|
|
68616
|
-
}
|
|
68617
|
-
|
|
68618
|
-
<symphiq-floating-back-button
|
|
68619
|
-
[viewMode]="viewMode()"
|
|
68620
|
-
[embedded]="embedded()"
|
|
68621
|
-
/>
|
|
68622
|
-
</div>
|
|
68623
|
-
|
|
68624
|
-
<symphiq-tooltip-container />
|
|
68625
|
-
<symphiq-business-analysis-modal
|
|
68626
|
-
[isLightMode]="isLightMode()"
|
|
68627
|
-
(viewInContextRequested)="handleViewInContext($event)" />
|
|
68628
|
-
|
|
68629
|
-
<symphiq-search-modal
|
|
68630
|
-
[isLightMode]="isLightMode()"
|
|
68631
|
-
[isOpen]="searchService.isSearchOpen()"
|
|
68632
|
-
[searchQuery]="searchService.getSearchQuery()"
|
|
68633
|
-
[results]="searchService.searchResults()"
|
|
68634
|
-
[hasResults]="searchService.hasResults()"
|
|
68635
|
-
[selectedIndex]="selectedSearchIndex()"
|
|
68636
|
-
[placeholder]="'Search sections, items, and analysis...'"
|
|
68637
|
-
(searchChange)="onSearchChange($event)"
|
|
68638
|
-
(resultSelected)="onSearchResultSelected($event)"
|
|
68639
|
-
(close)="closeSearch()"
|
|
68640
|
-
/>
|
|
68641
|
-
|
|
68642
|
-
<symphiq-view-mode-switcher-modal
|
|
68643
|
-
[isOpen]="isViewModeSwitcherOpen()"
|
|
68644
|
-
[currentMode]="displayMode()"
|
|
68645
|
-
[viewMode]="viewMode()"
|
|
68646
|
-
[isLoading]="isViewModeSwitching()"
|
|
68647
|
-
(close)="closeViewModeSwitcher()"
|
|
68648
|
-
(modeSelected)="handleDisplayModeChange($event)"
|
|
68649
|
-
/>
|
|
68650
|
-
|
|
68651
|
-
<!-- Mark as Reviewed Sticky Footer -->
|
|
68652
|
-
|
|
68653
|
-
|
|
68654
|
-
|
|
68655
|
-
|
|
68656
|
-
|
|
68657
|
-
|
|
68658
|
-
|
|
68659
|
-
|
|
68660
|
-
</div>
|
|
68396
|
+
args: [{ selector: 'symphiq-business-analysis-dashboard', standalone: true, imports: [CommonModule, ProfileSectionComponent, SectionNavigationComponent, FloatingTocComponent, FloatingBackButtonComponent, TooltipContainerComponent, SectionDividerComponent, BusinessAnalysisModalComponent, SearchButtonComponent, SearchModalComponent, ViewModeSwitcherModalComponent, JourneyProgressIndicatorComponent, WelcomeBannerComponent, RecommendationsTiledGridComponent, CollapsibleSectionGroupComponent, ContentGenerationProgressWithConfettiComponent, IndeterminateSpinnerComponent, MarkAsReviewedFooterComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
68397
|
+
<div [ngClass]="getContainerClasses()">
|
|
68398
|
+
<!-- Scroll Progress Bar (fixed at top) -->
|
|
68399
|
+
<div [class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
|
|
68400
|
+
<div
|
|
68401
|
+
[style.width.%]="scrollProgress()"
|
|
68402
|
+
[ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
|
|
68403
|
+
class="h-full transition-all duration-200 ease-out">
|
|
68404
|
+
</div>
|
|
68405
|
+
</div>
|
|
68406
|
+
|
|
68407
|
+
<div class="animated-bubbles" [class.light-mode]="isLightMode()" style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
|
|
68408
|
+
|
|
68409
|
+
<div class="relative z-[51]">
|
|
68410
|
+
<header [ngClass]="getHeaderClasses()" class="sticky top-0 z-50">
|
|
68411
|
+
<!-- Expanded Header (default state) -->
|
|
68412
|
+
<div
|
|
68413
|
+
class="transition-all duration-300 ease-in-out overflow-hidden"
|
|
68414
|
+
[class.max-h-0]="headerScrollService.isScrolled()"
|
|
68415
|
+
[class.opacity-0]="headerScrollService.isScrolled()"
|
|
68416
|
+
[class.max-h-96]="!headerScrollService.isScrolled()"
|
|
68417
|
+
[class.opacity-100]="!headerScrollService.isScrolled()">
|
|
68418
|
+
<div
|
|
68419
|
+
class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"
|
|
68420
|
+
[class.pointer-events-none]="headerScrollService.isScrolled()"
|
|
68421
|
+
[class.pointer-events-auto]="!headerScrollService.isScrolled()">
|
|
68422
|
+
<div class="flex items-center justify-between">
|
|
68423
|
+
<div>
|
|
68424
|
+
<h1 [ngClass]="getMainTitleClasses()">
|
|
68425
|
+
{{ currentProfile()?.profileStructured?.businessName || 'Business Analysis' }}
|
|
68426
|
+
</h1>
|
|
68427
|
+
<p [ngClass]="getSubtitleClasses()">
|
|
68428
|
+
Business Profile & Analysis
|
|
68429
|
+
</p>
|
|
68430
|
+
</div>
|
|
68431
|
+
@if (profile()?.selfContentStatus === AiDynamicContentStatusEnum.GENERATED) {
|
|
68432
|
+
<div class="flex items-center gap-2">
|
|
68433
|
+
<symphiq-search-button
|
|
68434
|
+
[isLightMode]="isLightMode()"
|
|
68435
|
+
(searchClick)="openSearch()"
|
|
68436
|
+
/>
|
|
68437
|
+
<button
|
|
68438
|
+
type="button"
|
|
68439
|
+
(click)="openViewModeSwitcher()"
|
|
68440
|
+
[ngClass]="getViewModeButtonClasses()"
|
|
68441
|
+
class="cursor-pointer flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
|
|
68442
|
+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
68443
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
|
|
68444
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
|
|
68445
|
+
</svg>
|
|
68446
|
+
<span>{{ displayModeLabel() }}</span>
|
|
68447
|
+
</button>
|
|
68448
|
+
</div>
|
|
68449
|
+
}
|
|
68450
|
+
</div>
|
|
68451
|
+
</div>
|
|
68452
|
+
</div>
|
|
68453
|
+
|
|
68454
|
+
<!-- Condensed Header (scrolled state) -->
|
|
68455
|
+
<div
|
|
68456
|
+
class="transition-all duration-300 ease-in-out overflow-hidden"
|
|
68457
|
+
[class.max-h-0]="!headerScrollService.isScrolled()"
|
|
68458
|
+
[class.opacity-0]="!headerScrollService.isScrolled()"
|
|
68459
|
+
[class.max-h-20]="headerScrollService.isScrolled()"
|
|
68460
|
+
[class.opacity-100]="headerScrollService.isScrolled()">
|
|
68461
|
+
<div
|
|
68462
|
+
class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3"
|
|
68463
|
+
[class.pointer-events-none]="!headerScrollService.isScrolled()"
|
|
68464
|
+
[class.pointer-events-auto]="headerScrollService.isScrolled()">
|
|
68465
|
+
<div class="flex items-center justify-between">
|
|
68466
|
+
<div class="flex-1 min-w-0 mr-4">
|
|
68467
|
+
<h1 [ngClass]="isLightMode() ? 'text-xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent truncate' : 'text-xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent truncate'">
|
|
68468
|
+
{{ currentProfile()?.profileStructured?.businessName || 'Business Analysis' }}
|
|
68469
|
+
</h1>
|
|
68470
|
+
</div>
|
|
68471
|
+
<div class="flex items-center gap-4">
|
|
68472
|
+
@if (!isSimplifiedView()) {
|
|
68473
|
+
<div class="flex items-center gap-2 text-sm flex-shrink-0">
|
|
68474
|
+
<span [ngClass]="isLightMode() ? 'text-slate-600 font-medium' : 'text-slate-400 font-medium'" class="transition-opacity duration-300" [class.opacity-0]="sectionTitleFading()" [class.opacity-100]="!sectionTitleFading()">
|
|
68475
|
+
{{ currentSectionTitle() }}
|
|
68476
|
+
</span>
|
|
68477
|
+
@if (currentSubsectionTitle()) {
|
|
68478
|
+
<span [ngClass]="isLightMode() ? 'text-slate-400' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionTitleFading()" [class.opacity-100]="!subsectionTitleFading()">›</span>
|
|
68479
|
+
<span [ngClass]="isLightMode() ? 'text-slate-500' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionTitleFading()" [class.opacity-100]="!subsectionTitleFading()">
|
|
68480
|
+
{{ currentSubsectionTitle() }}
|
|
68481
|
+
</span>
|
|
68482
|
+
}
|
|
68483
|
+
</div>
|
|
68484
|
+
}
|
|
68485
|
+
@if (profile()?.selfContentStatus === AiDynamicContentStatusEnum.GENERATED) {
|
|
68486
|
+
<symphiq-search-button
|
|
68487
|
+
[isLightMode]="isLightMode()"
|
|
68488
|
+
[minimized]="true"
|
|
68489
|
+
(searchClick)="openSearch()"
|
|
68490
|
+
/>
|
|
68491
|
+
<button
|
|
68492
|
+
type="button"
|
|
68493
|
+
(click)="openViewModeSwitcher()"
|
|
68494
|
+
[ngClass]="getViewModeButtonClasses()"
|
|
68495
|
+
class="cursor-pointer flex items-center gap-2 px-2 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
|
|
68496
|
+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
68497
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
|
|
68498
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
|
|
68499
|
+
</svg>
|
|
68500
|
+
</button>
|
|
68501
|
+
}
|
|
68502
|
+
</div>
|
|
68503
|
+
</div>
|
|
68504
|
+
</div>
|
|
68505
|
+
</div>
|
|
68506
|
+
</header>
|
|
68507
|
+
|
|
68508
|
+
<main class="relative" [class.pb-32]="shouldShowReviewFooter()">
|
|
68509
|
+
@if (isLoading()) {
|
|
68510
|
+
<!-- Pure Loading State -->
|
|
68511
|
+
<div class="flex items-center justify-center min-h-[60vh]">
|
|
68512
|
+
<symphiq-indeterminate-spinner
|
|
68513
|
+
[viewMode]="viewMode()"
|
|
68514
|
+
size="large"
|
|
68515
|
+
/>
|
|
68516
|
+
</div>
|
|
68517
|
+
} @else if (isContentGenerating()) {
|
|
68518
|
+
<!-- Journey Progress Banner (always show when not onboarded) -->
|
|
68519
|
+
@if (!isOnboarded()) {
|
|
68520
|
+
<symphiq-journey-progress-indicator
|
|
68521
|
+
[viewMode]="viewMode()"
|
|
68522
|
+
[currentStepId]="JourneyStepIdEnum.BUSINESS_ANALYSIS"
|
|
68523
|
+
[showNextStepAction]="false"
|
|
68524
|
+
[forDemo]="forDemo()"
|
|
68525
|
+
[maxAccessibleStepId]="maxAccessibleStepId()"
|
|
68526
|
+
(stepClick)="stepClick.emit($event)"
|
|
68527
|
+
(nextStepClick)="nextStepClick.emit()"
|
|
68528
|
+
/>
|
|
68529
|
+
}
|
|
68530
|
+
|
|
68531
|
+
<!-- Content Generation Progress Component -->
|
|
68532
|
+
<symphiq-content-generation-progress-with-confetti
|
|
68533
|
+
[viewMode]="viewMode()"
|
|
68534
|
+
[itemStatus]="itemStatus()"
|
|
68535
|
+
[currentStatus]="profile()?.selfContentStatus"
|
|
68536
|
+
[confettiIntensity]="'celebration'"
|
|
68537
|
+
[title]="'We are generating a new Business Analysis for ' + (currentProfile()?.profileStructured?.businessName || 'your business') + '.'"
|
|
68538
|
+
[subtitle]="'It will appear here when ready. You can check back later as this will take a few minutes to complete.'"
|
|
68539
|
+
/>
|
|
68540
|
+
} @else {
|
|
68541
|
+
@if (isSimplifiedView()) {
|
|
68542
|
+
<!-- Journey Progress Banner - Full Width Sticky (only show when not onboarded) -->
|
|
68543
|
+
@if (!isOnboarded()) {
|
|
68544
|
+
<symphiq-journey-progress-indicator
|
|
68545
|
+
[viewMode]="viewMode()"
|
|
68546
|
+
[currentStepId]="JourneyStepIdEnum.BUSINESS_ANALYSIS"
|
|
68547
|
+
[showNextStepAction]="showNextStepAction()"
|
|
68548
|
+
[forDemo]="forDemo()"
|
|
68549
|
+
[maxAccessibleStepId]="maxAccessibleStepId()"
|
|
68550
|
+
(stepClick)="stepClick.emit($event)"
|
|
68551
|
+
(nextStepClick)="nextStepClick.emit()"
|
|
68552
|
+
/>
|
|
68553
|
+
}
|
|
68554
|
+
|
|
68555
|
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
|
68556
|
+
<div class="mb-8">
|
|
68557
|
+
<symphiq-welcome-banner
|
|
68558
|
+
[viewMode]="viewMode()"
|
|
68559
|
+
[businessName]="currentProfile()?.profileStructured?.businessName || 'your business'"
|
|
68560
|
+
[isOnboarded]="isOnboarded()"
|
|
68561
|
+
/>
|
|
68562
|
+
</div>
|
|
68563
|
+
|
|
68564
|
+
<div class="mb-8">
|
|
68565
|
+
<symphiq-recommendations-tiled-grid
|
|
68566
|
+
[recommendations]="recommendationItems()"
|
|
68567
|
+
[viewMode]="viewMode()"
|
|
68568
|
+
(viewMoreClick)="openRecommendationDetailsModal($event)"
|
|
68569
|
+
/>
|
|
68570
|
+
</div>
|
|
68571
|
+
|
|
68572
|
+
<div>
|
|
68573
|
+
<symphiq-collapsible-section-group
|
|
68574
|
+
[sections]="nonRecommendationSections()"
|
|
68575
|
+
[viewMode]="viewMode()"
|
|
68576
|
+
/>
|
|
68577
|
+
</div>
|
|
68578
|
+
</div>
|
|
68579
|
+
} @else {
|
|
68580
|
+
@for (section of sections(); track trackBySectionId($index, section); let idx = $index; let last = $last) {
|
|
68581
|
+
<symphiq-profile-section
|
|
68582
|
+
[section]="section"
|
|
68583
|
+
[viewMode]="viewMode()"
|
|
68584
|
+
[forceExpanded]="!isCompactView()"
|
|
68585
|
+
/>
|
|
68586
|
+
@if (!last) {
|
|
68587
|
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
68588
|
+
<symphiq-section-divider
|
|
68589
|
+
[viewMode]="viewMode()"
|
|
68590
|
+
[subsections]="sections()[idx + 1].subsections || []" />
|
|
68591
|
+
</div>
|
|
68592
|
+
}
|
|
68593
|
+
}
|
|
68594
|
+
}
|
|
68595
|
+
}
|
|
68596
|
+
</main>
|
|
68597
|
+
|
|
68598
|
+
@if (!isSimplifiedView()) {
|
|
68599
|
+
<symphiq-section-navigation
|
|
68600
|
+
[sections]="sections()"
|
|
68601
|
+
[viewMode]="viewMode()"
|
|
68602
|
+
[embedded]="embedded()"
|
|
68603
|
+
[scrollElement]="scrollElement() ?? undefined"
|
|
68604
|
+
/>
|
|
68605
|
+
}
|
|
68606
|
+
|
|
68607
|
+
@if (!isSimplifiedView()) {
|
|
68608
|
+
<symphiq-floating-toc
|
|
68609
|
+
[sections]="sections()"
|
|
68610
|
+
[viewMode]="viewMode()"
|
|
68611
|
+
[embedded]="embedded()"
|
|
68612
|
+
[scrollElement]="scrollElement() ?? undefined"
|
|
68613
|
+
/>
|
|
68614
|
+
}
|
|
68615
|
+
|
|
68616
|
+
<symphiq-floating-back-button
|
|
68617
|
+
[viewMode]="viewMode()"
|
|
68618
|
+
[embedded]="embedded()"
|
|
68619
|
+
/>
|
|
68620
|
+
</div>
|
|
68621
|
+
|
|
68622
|
+
<symphiq-tooltip-container />
|
|
68623
|
+
<symphiq-business-analysis-modal
|
|
68624
|
+
[isLightMode]="isLightMode()"
|
|
68625
|
+
(viewInContextRequested)="handleViewInContext($event)" />
|
|
68626
|
+
|
|
68627
|
+
<symphiq-search-modal
|
|
68628
|
+
[isLightMode]="isLightMode()"
|
|
68629
|
+
[isOpen]="searchService.isSearchOpen()"
|
|
68630
|
+
[searchQuery]="searchService.getSearchQuery()"
|
|
68631
|
+
[results]="searchService.searchResults()"
|
|
68632
|
+
[hasResults]="searchService.hasResults()"
|
|
68633
|
+
[selectedIndex]="selectedSearchIndex()"
|
|
68634
|
+
[placeholder]="'Search sections, items, and analysis...'"
|
|
68635
|
+
(searchChange)="onSearchChange($event)"
|
|
68636
|
+
(resultSelected)="onSearchResultSelected($event)"
|
|
68637
|
+
(close)="closeSearch()"
|
|
68638
|
+
/>
|
|
68639
|
+
|
|
68640
|
+
<symphiq-view-mode-switcher-modal
|
|
68641
|
+
[isOpen]="isViewModeSwitcherOpen()"
|
|
68642
|
+
[currentMode]="displayMode()"
|
|
68643
|
+
[viewMode]="viewMode()"
|
|
68644
|
+
[isLoading]="isViewModeSwitching()"
|
|
68645
|
+
(close)="closeViewModeSwitcher()"
|
|
68646
|
+
(modeSelected)="handleDisplayModeChange($event)"
|
|
68647
|
+
/>
|
|
68648
|
+
|
|
68649
|
+
<!-- Mark as Reviewed Sticky Footer -->
|
|
68650
|
+
<symphiq-mark-as-reviewed-footer
|
|
68651
|
+
[viewMode]="viewMode()"
|
|
68652
|
+
[reviewStatus]="profile()?.reviewStatus"
|
|
68653
|
+
[selfContentStatus]="profile()?.selfContentStatus"
|
|
68654
|
+
[isMarkingAsReviewed]="isMarkingAsReviewed()"
|
|
68655
|
+
(markAsReviewedClick)="handleMarkAsReviewedClick()"
|
|
68656
|
+
/>
|
|
68657
|
+
</div>
|
|
68661
68658
|
`, styles: [":host{display:block}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse-highlight{0%,to{transform:scale(1);box-shadow:0 0 #3b82f6b3}50%{transform:scale(1.02);box-shadow:0 0 20px 8px #3b82f64d}}:host ::ng-deep .search-highlight-pulse{animation:pulse-highlight 2s ease-in-out;border-color:#3b82f6!important}\n"] }]
|
|
68662
68659
|
}], () => [], { embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: false }] }], parentHeaderOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "parentHeaderOffset", required: false }] }], requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], isOnboarded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOnboarded", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], maxAccessibleStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAccessibleStepId", required: false }] }], itemStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatus", required: false }] }], isMarkingAsReviewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isMarkingAsReviewed", required: false }] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], markAsReviewedClick: [{ type: i0.Output, args: ["markAsReviewedClick"] }], onScroll: [{
|
|
68663
68660
|
type: HostListener,
|
|
@@ -68666,7 +68663,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
68666
68663
|
type: HostListener,
|
|
68667
68664
|
args: ['document:keydown', ['$event']]
|
|
68668
68665
|
}] }); })();
|
|
68669
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber:
|
|
68666
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber: 351 }); })();
|
|
68670
68667
|
|
|
68671
68668
|
function DashboardHeaderComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
68672
68669
|
i0.ɵɵelement(0, "div", 6);
|
|
@@ -93387,7 +93384,8 @@ class SymphiqProfileShopAnalysisDashboardComponent {
|
|
|
93387
93384
|
const profileAnalysis = this.profileAnalysis();
|
|
93388
93385
|
if (!profileAnalysis)
|
|
93389
93386
|
return false;
|
|
93390
|
-
return profileAnalysis.
|
|
93387
|
+
return profileAnalysis.selfContentStatus === AiDynamicContentStatusEnum.GENERATED &&
|
|
93388
|
+
profileAnalysis.reviewStatus === ProfileAnalysisReviewStatusEnum.NOT_REVIEWED;
|
|
93391
93389
|
}, ...(ngDevMode ? [{ debugName: "shouldShowReviewFooter" }] : []));
|
|
93392
93390
|
this.shouldShowStickyButton = computed(() => {
|
|
93393
93391
|
return !this.isSubscriptionActive() && !this.hasBillingCurrency() && this.isSimplifiedView() && !this.isMetricAnalysis();
|
|
@@ -94242,7 +94240,7 @@ class SymphiqProfileShopAnalysisDashboardComponent {
|
|
|
94242
94240
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.planSelectionContainer = _t.first);
|
|
94243
94241
|
} }, hostBindings: function SymphiqProfileShopAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
94244
94242
|
i0.ɵɵlistener("scroll", function SymphiqProfileShopAnalysisDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onWindowScroll($event); }, i0.ɵɵresolveWindow);
|
|
94245
|
-
} }, inputs: { viewMode: [1, "viewMode"], requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], embedded: [1, "embedded"], profileAnalysis: [1, "profileAnalysis"], profile: [1, "profile"], funnelAnalysis: [1, "funnelAnalysis"], focusAreaDetails: [1, "focusAreaDetails"], account: [1, "account"], profileShop: [1, "profileShop"], profileShopQuestions: [1, "profileShopQuestions"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], itemStatusProfileShop: [1, "itemStatusProfileShop"], itemStatusProfileAnalysis: [1, "itemStatusProfileAnalysis"], planCardInfos: [1, "planCardInfos"], isOnboarded: [1, "isOnboarded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], users: [1, "users"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], currentUser: [1, "currentUser"], maxAccessibleStepId: [1, "maxAccessibleStepId"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick", currencySelectionClick: "currencySelectionClick", editCurrencyClick: "editCurrencyClick", periodUnitChanged: "periodUnitChanged", planSelected: "planSelected", checkoutPlanClick: "checkoutPlanClick", answerShopProfileQuestions: "answerShopProfileQuestions", continueShopProfileQuestions: "continueShopProfileQuestions", profileQuestionAnswerSave: "profileQuestionAnswerSave", shopProfileAdminAnswerAction: "shopProfileAdminAnswerAction", markAsReviewedClick: "markAsReviewedClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 31, vars:
|
|
94243
|
+
} }, inputs: { viewMode: [1, "viewMode"], requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], embedded: [1, "embedded"], profileAnalysis: [1, "profileAnalysis"], profile: [1, "profile"], funnelAnalysis: [1, "funnelAnalysis"], focusAreaDetails: [1, "focusAreaDetails"], account: [1, "account"], profileShop: [1, "profileShop"], profileShopQuestions: [1, "profileShopQuestions"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], itemStatusProfileShop: [1, "itemStatusProfileShop"], itemStatusProfileAnalysis: [1, "itemStatusProfileAnalysis"], planCardInfos: [1, "planCardInfos"], isOnboarded: [1, "isOnboarded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], users: [1, "users"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], currentUser: [1, "currentUser"], maxAccessibleStepId: [1, "maxAccessibleStepId"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick", currencySelectionClick: "currencySelectionClick", editCurrencyClick: "editCurrencyClick", periodUnitChanged: "periodUnitChanged", planSelected: "planSelected", checkoutPlanClick: "checkoutPlanClick", answerShopProfileQuestions: "answerShopProfileQuestions", continueShopProfileQuestions: "continueShopProfileQuestions", profileQuestionAnswerSave: "profileQuestionAnswerSave", shopProfileAdminAnswerAction: "shopProfileAdminAnswerAction", markAsReviewedClick: "markAsReviewedClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 31, vars: 56, consts: [["shopProfileStatusCard", ""], ["planSelectionContainer", ""], [1, "min-h-screen", "relative", 3, "ngClass"], [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, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate", "showControls"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "space-y-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState", "businessProfile"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "expandedRecommendationId", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "isLightMode", "viewMode", "allMetrics", "allInsights", "allCharts"], [3, "isLightMode"], [3, "viewMode", "isEnabled", "isLoading"], [3, "viewMode", "totalQuestions", "answeredQuestions", "buttonConfig"], [1, "fixed", "bottom-0", "left-0", "right-0", "z-50", "border-t", "backdrop-blur-lg", 3, "ngClass"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "selfContentStatus", "isMarkingAsReviewed"], [3, "nextStepClick", "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "mb-12"], [3, "viewMode", "businessName", "isOnboarded"], [3, "viewMode", "metricName", "isOnboarded"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "backdrop-blur-sm", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "justify-center", "space-y-4"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-lg", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "mb-8"], [3, "startCategoryQuestions", "answerSave", "adminAnswerAction", "viewMode", "totalQuestions", "answeredQuestions", "questions", "profileAnswers", "profileAnswerHistories", "users", "config", "groupConfig", "currentUser"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], ["title", "Generating Your Shop Profile", "subtitle", "We're analyzing your data to create shop specific questions and answers. They will appear when ready.", 3, "itemStatus", "viewMode"], [3, "goals", "viewMode"], ["subtitle", "We're analyzing your data to create your personalized analysis. It will appear when ready.", 3, "itemStatus", "viewMode", "title"], [3, "viewMoreClick", "goals", "viewMode"], [3, "viewMode", "selectedCurrency"], [3, "currencySelected", "selectionChanged", "viewMode", "isLoading", "initialCurrency"], [3, "viewMode"], [1, "mb-32"], [3, "periodUnitChanged", "planSelected", "editCurrency", "checkout", "viewMode", "selectedCurrency", "planCardInfos", "isLoading", "selectedPeriodUnit"], [3, "editCurrency", "viewMode", "selectedCurrency"], [3, "sections", "viewMode", "executiveSummary", "metricExecutiveSummary", "metricName", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["id", "section-executive-summary", 1, "space-y-6", "scroll-mt-24"], [3, "viewMode", "summary", "metricName", "allGoals"], [1, "space-y-8"], [1, "rounded-2xl", "p-8", "shadow-xl", 3, "ngClass"], [1, "space-y-6"], [1, "flex", "items-start", "justify-between", "gap-4"], [1, "flex-1"], [1, "text-2xl", "font-bold", "mb-3", 3, "ngClass"], [1, "text-lg", "leading-relaxed", 3, "ngClass"], [3, "grade", "gradeRationale", "viewMode"], [1, "rounded-xl", "p-6", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-3", "gap-4"], ["type", "button", 1, "p-4", "rounded-xl", "text-left", "transition-all", "duration-200", "hover:scale-[1.02]", "active:scale-[0.98]", "group", "cursor-pointer", 3, "click", "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "mb-1", 3, "ngClass"], [1, "text-3xl", "font-bold", "mb-2", 3, "ngClass"], [1, "flex", "items-center", "gap-1.5", "text-xs", "font-medium"], [3, "ngClass"], ["size", "w-4 h-4", 1, "transition-transform", "group-hover:translate-x-1", 3, "icon", "ngClass"], ["size", "w-4 h-4", 1, "transition-transform", "group-hover:translate-y-1", "animate-bounce", 3, "icon", "ngClass"], ["id", "quick-wins-section", 1, "space-y-4", "scroll-mt-24"], [1, "text-lg", "font-semibold", "mb-3", 3, "ngClass"], [1, "relative"], [1, "mb-6", "lg:float-left", "lg:mr-6", "lg:mb-4", "lg:max-w-[66%]"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"], [1, "clear-both"], [3, "visual", "viewMode"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "grid", "grid-cols-1", "lg:grid-cols-2", "gap-6"], [1, "rounded-xl", "p-6", "transition-all", "duration-300", 3, "ngClass"], [1, "space-y-4"], [1, "flex", "items-start", "gap-3"], [1, "flex-shrink-0", "w-8", "h-8", "rounded-full", "flex", "items-center", "justify-center", "text-sm", "font-bold", 3, "ngClass"], [1, "font-semibold", "leading-tight", "flex-1", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-2"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "text-sm", 3, "ngClass"], [1, "space-y-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], [3, "relatedGoalIds", "allGoals", "viewMode"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "metricName", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "executiveSummary", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [1, "w-full"], [3, "continueClick", "viewMode", "isEnabled", "isLoading"], [3, "continueClick", "viewMode", "totalQuestions", "answeredQuestions", "buttonConfig"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4"], [1, "flex", "items-center", "gap-4"], [1, "px-6", "py-4", "rounded-xl", "font-semibold", "text-lg", "transition-all", "duration-300", "cursor-pointer", 3, "click", "ngClass"], [1, "flex-1", "px-6", "py-4", "rounded-xl", "font-semibold", "text-lg", "transition-all", "duration-300", "flex", "items-center", "justify-center", "gap-3", "shadow-2xl", 3, "click", "disabled", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "transition-transform", "duration-200"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"]], template: function SymphiqProfileShopAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
94246
94244
|
i0.ɵɵelementStart(0, "div", 2);
|
|
94247
94245
|
i0.ɵɵelement(1, "div", 3);
|
|
94248
94246
|
i0.ɵɵelementStart(2, "div");
|
|
@@ -94294,6 +94292,7 @@ class SymphiqProfileShopAnalysisDashboardComponent {
|
|
|
94294
94292
|
let tmp_37_0;
|
|
94295
94293
|
let tmp_38_0;
|
|
94296
94294
|
let tmp_49_0;
|
|
94295
|
+
let tmp_50_0;
|
|
94297
94296
|
i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
|
|
94298
94297
|
i0.ɵɵadvance();
|
|
94299
94298
|
i0.ɵɵclassProp("light-mode", ctx.isLightMode());
|
|
@@ -94351,7 +94350,7 @@ class SymphiqProfileShopAnalysisDashboardComponent {
|
|
|
94351
94350
|
i0.ɵɵadvance();
|
|
94352
94351
|
i0.ɵɵconditional(ctx.isEditingCurrency() ? 29 : -1);
|
|
94353
94352
|
i0.ɵɵadvance();
|
|
94354
|
-
i0.ɵɵproperty("viewMode", ctx.viewMode())("reviewStatus", (tmp_49_0 = ctx.profileAnalysis()) == null ? null : tmp_49_0.reviewStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
|
|
94353
|
+
i0.ɵɵproperty("viewMode", ctx.viewMode())("reviewStatus", (tmp_49_0 = ctx.profileAnalysis()) == null ? null : tmp_49_0.reviewStatus)("selfContentStatus", (tmp_50_0 = ctx.profileAnalysis()) == null ? null : tmp_50_0.selfContentStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
|
|
94355
94354
|
} }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent, SearchModalComponent, ViewModeSwitcherModalComponent, JourneyProgressIndicatorComponent, FloatingTocComponent, SectionNavigationComponent, GradeBadgeComponent, ShopWelcomeBannerComponent, MetricWelcomeBannerComponent, MetricExecutiveSummaryComponent, NapkinVisualPlaceholderComponent, TooltipContainerComponent, ProfileSectionContentComponent, ProfileAnalysisModalComponent, ModalComponent, GoalCardComponent, GoalObjectivesModalContentComponent, ObjectiveStrategiesModalContentComponent, StrategyRecommendationsModalContentComponent, CategoryDetailModalContentComponent, StrengthDetailModalContentComponent, GapDetailModalContentComponent, OpportunityDetailModalContentComponent, BusinessAnalysisModalComponent, SectionDividerComponent, SymphiqIconComponent, RelatedGoalChipsComponent, StrategicGoalsTiledGridComponent, CollapsibleAnalysisSectionGroupComponent, BillingCurrencySelectorCardComponent, PlanSelectionPlaceholderCardComponent, PlanSelectionContainerComponent, SubscriptionValuePropositionCardComponent, StickySubscriptionContinueButtonComponent, ContentGenerationProgressComponent, ProfileStatusCardComponent, ProfileStickyFooterComponent, IndeterminateSpinnerComponent, MarkAsReviewedFooterComponent], encapsulation: 2, changeDetection: 0 }); }
|
|
94356
94355
|
}
|
|
94357
94356
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqProfileShopAnalysisDashboardComponent, [{
|
|
@@ -95054,6 +95053,7 @@ class SymphiqProfileShopAnalysisDashboardComponent {
|
|
|
95054
95053
|
<symphiq-mark-as-reviewed-footer
|
|
95055
95054
|
[viewMode]="viewMode()"
|
|
95056
95055
|
[reviewStatus]="profileAnalysis()?.reviewStatus"
|
|
95056
|
+
[selfContentStatus]="profileAnalysis()?.selfContentStatus"
|
|
95057
95057
|
[isMarkingAsReviewed]="isMarkingAsReviewed()"
|
|
95058
95058
|
(markAsReviewedClick)="handleMarkAsReviewedClick()"
|
|
95059
95059
|
/>
|
|
@@ -95073,7 +95073,7 @@ class SymphiqProfileShopAnalysisDashboardComponent {
|
|
|
95073
95073
|
type: HostListener,
|
|
95074
95074
|
args: ['window:scroll', ['$event']]
|
|
95075
95075
|
}] }); })();
|
|
95076
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileShopAnalysisDashboardComponent, { className: "SymphiqProfileShopAnalysisDashboardComponent", filePath: "lib/components/profile-analysis-shop-dashboard/symphiq-profile-shop-analysis-dashboard.component.ts", lineNumber:
|
|
95076
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileShopAnalysisDashboardComponent, { className: "SymphiqProfileShopAnalysisDashboardComponent", filePath: "lib/components/profile-analysis-shop-dashboard/symphiq-profile-shop-analysis-dashboard.component.ts", lineNumber: 831 }); })();
|
|
95077
95077
|
|
|
95078
95078
|
const _forTrack0$6 = ($index, $item) => $item.domain;
|
|
95079
95079
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -97657,7 +97657,8 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
|
|
|
97657
97657
|
const profileAnalysis = this.profileAnalysis();
|
|
97658
97658
|
if (!profileAnalysis)
|
|
97659
97659
|
return false;
|
|
97660
|
-
return profileAnalysis.
|
|
97660
|
+
return profileAnalysis.selfContentStatus === AiDynamicContentStatusEnum.GENERATED &&
|
|
97661
|
+
profileAnalysis.reviewStatus === ProfileAnalysisReviewStatusEnum.NOT_REVIEWED;
|
|
97661
97662
|
}, ...(ngDevMode ? [{ debugName: "shouldShowReviewFooter" }] : []));
|
|
97662
97663
|
this.COLLAPSE_THRESHOLD = 20;
|
|
97663
97664
|
this.EXPAND_THRESHOLD = 10;
|
|
@@ -98061,7 +98062,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
|
|
|
98061
98062
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.funnelModalComponent = _t.first);
|
|
98062
98063
|
} }, hostBindings: function SymphiqProfileAnalysisFocusAreaDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
98063
98064
|
i0.ɵɵlistener("scroll", function SymphiqProfileAnalysisFocusAreaDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onWindowScroll($event); }, i0.ɵɵresolveWindow);
|
|
98064
|
-
} }, inputs: { viewMode: [1, "viewMode"], profileAnalysis: [1, "profileAnalysis"], funnelAnalysis: [1, "funnelAnalysis"], profile: [1, "profile"], isLoading: [1, "isLoading"], requestedByUser: [1, "requestedByUser"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], focusAreaDetails: [1, "focusAreaDetails"], itemStatusProfileAnalysis: [1, "itemStatusProfileAnalysis"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 27, vars:
|
|
98065
|
+
} }, inputs: { viewMode: [1, "viewMode"], profileAnalysis: [1, "profileAnalysis"], funnelAnalysis: [1, "funnelAnalysis"], profile: [1, "profile"], isLoading: [1, "isLoading"], requestedByUser: [1, "requestedByUser"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], focusAreaDetails: [1, "focusAreaDetails"], itemStatusProfileAnalysis: [1, "itemStatusProfileAnalysis"], isMarkingAsReviewed: [1, "isMarkingAsReviewed"] }, outputs: { nextStepClick: "nextStepClick", markAsReviewedClick: "markAsReviewedClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 27, vars: 46, consts: [["funnelModalComponent", ""], [1, "min-h-screen", "relative", 3, "ngClass"], [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, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate", "showControls"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "space-y-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState", "businessProfile"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "expandedRecommendationId", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "markAsReviewedClick", "viewMode", "reviewStatus", "selfContentStatus", "isMarkingAsReviewed"], [1, "mb-12"], [3, "viewMode", "focusAreaDomain", "focusAreaName"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "backdrop-blur-sm", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "justify-center", "space-y-4"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-lg", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "mb-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [3, "goals", "viewMode"], ["title", "Generating Your Focus Area Analysis", "subtitle", "We're analyzing your data to create your personalized analysis. It will appear when ready.", 3, "itemStatus", "viewMode"], [3, "viewMoreClick", "goals", "viewMode"], [3, "sections", "viewMode", "focusAreaExecutiveSummary", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], [3, "viewMode", "summary", "allGoals"], [1, "space-y-8"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "flex-1"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [3, "visual", "viewMode"], [1, "w-full"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"]], template: function SymphiqProfileAnalysisFocusAreaDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
98065
98066
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
98066
98067
|
i0.ɵɵelementStart(0, "div", 1);
|
|
98067
98068
|
i0.ɵɵelement(1, "div", 2);
|
|
@@ -98111,6 +98112,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
|
|
|
98111
98112
|
let tmp_37_0;
|
|
98112
98113
|
let tmp_38_0;
|
|
98113
98114
|
let tmp_40_0;
|
|
98115
|
+
let tmp_41_0;
|
|
98114
98116
|
i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
|
|
98115
98117
|
i0.ɵɵadvance();
|
|
98116
98118
|
i0.ɵɵclassProp("light-mode", ctx.isLightMode());
|
|
@@ -98156,7 +98158,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
|
|
|
98156
98158
|
i0.ɵɵadvance();
|
|
98157
98159
|
i0.ɵɵconditional((tmp_38_0 = ctx.modalType() === "opportunity-detail" && ctx.getOpportunityDetailData()) ? 22 : -1, tmp_38_0);
|
|
98158
98160
|
i0.ɵɵadvance(3);
|
|
98159
|
-
i0.ɵɵproperty("viewMode", ctx.viewMode())("reviewStatus", (tmp_40_0 = ctx.profileAnalysis()) == null ? null : tmp_40_0.reviewStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
|
|
98161
|
+
i0.ɵɵproperty("viewMode", ctx.viewMode())("reviewStatus", (tmp_40_0 = ctx.profileAnalysis()) == null ? null : tmp_40_0.reviewStatus)("selfContentStatus", (tmp_41_0 = ctx.profileAnalysis()) == null ? null : tmp_41_0.selfContentStatus)("isMarkingAsReviewed", ctx.isMarkingAsReviewed());
|
|
98160
98162
|
} }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent,
|
|
98161
98163
|
SearchModalComponent,
|
|
98162
98164
|
ViewModeSwitcherModalComponent,
|
|
@@ -98221,340 +98223,341 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
|
|
|
98221
98223
|
MarkAsReviewedFooterComponent
|
|
98222
98224
|
],
|
|
98223
98225
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
98224
|
-
template: `
|
|
98225
|
-
<div [ngClass]="getContainerClasses()" class="min-h-screen relative">
|
|
98226
|
-
<div class="animated-bubbles" [class.light-mode]="isLightMode()"
|
|
98227
|
-
style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
|
|
98228
|
-
|
|
98229
|
-
<!-- Scroll Progress Bar -->
|
|
98230
|
-
<div
|
|
98231
|
-
[class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
|
|
98232
|
-
<div
|
|
98233
|
-
[style.width.%]="scrollProgress()"
|
|
98234
|
-
[ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
|
|
98235
|
-
class="h-full transition-all duration-200 ease-out">
|
|
98236
|
-
</div>
|
|
98237
|
-
</div>
|
|
98238
|
-
|
|
98239
|
-
<div class="relative z-[51]">
|
|
98240
|
-
<!-- Dashboard Header -->
|
|
98241
|
-
<symphiq-dashboard-header
|
|
98242
|
-
[title]="getAnalysisSubtitle()"
|
|
98243
|
-
[subtitle]="''"
|
|
98244
|
-
[currentSection]="'Focus Area'"
|
|
98245
|
-
[viewMode]="viewMode()"
|
|
98246
|
-
[viewModeLabel]="displayModeLabel()"
|
|
98247
|
-
[isLoading]="isLoading()"
|
|
98248
|
-
[requestedByUser]="requestedByUser()"
|
|
98249
|
-
[createdDate]="profileAnalysis()?.selfContentCompletedDate"
|
|
98250
|
-
[showControls]="shouldShowHeaderControls()"
|
|
98251
|
-
(searchClick)="openSearch()"
|
|
98252
|
-
(viewModeClick)="openViewModeSwitcher()"
|
|
98253
|
-
/>
|
|
98254
|
-
|
|
98255
|
-
<!-- Main Content -->
|
|
98256
|
-
<main class="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 space-y-12"
|
|
98257
|
-
[class.pb-32]="shouldShowReviewFooter()">
|
|
98258
|
-
|
|
98259
|
-
<!-- Welcome Banner (Simplified View Only) -->
|
|
98260
|
-
@if (isSimplifiedView()) {
|
|
98261
|
-
<div class="mb-12">
|
|
98262
|
-
<symphiq-focus-area-welcome-banner
|
|
98263
|
-
[viewMode]="viewMode()"
|
|
98264
|
-
[focusAreaDomain]="focusAreaDomain()"
|
|
98265
|
-
[focusAreaName]="focusAreaName()"
|
|
98266
|
-
/>
|
|
98267
|
-
</div>
|
|
98268
|
-
|
|
98269
|
-
<!-- Loading Card -->
|
|
98270
|
-
@if (isLoading()) {
|
|
98271
|
-
<div [ngClass]="isLightMode() ? 'bg-white/80 border-slate-200' : 'bg-slate-800/80 border-slate-700'"
|
|
98272
|
-
class="rounded-2xl border shadow-lg p-8 backdrop-blur-sm">
|
|
98273
|
-
<div class="flex flex-col items-center justify-center space-y-4">
|
|
98274
|
-
<symphiq-indeterminate-spinner [viewMode]="viewMode()" size="large" />
|
|
98275
|
-
<div class="text-center">
|
|
98276
|
-
<h3 [ngClass]="isLightMode() ? 'text-slate-900' : 'text-white'" class="text-lg font-semibold mb-1">
|
|
98277
|
-
Loading Your Focus Area Analysis
|
|
98278
|
-
</h3>
|
|
98279
|
-
<p [ngClass]="isLightMode() ? 'text-slate-600' : 'text-slate-400'" class="text-sm">
|
|
98280
|
-
Please wait while we prepare your personalized insights...
|
|
98281
|
-
</p>
|
|
98282
|
-
</div>
|
|
98283
|
-
</div>
|
|
98284
|
-
</div>
|
|
98285
|
-
}
|
|
98286
|
-
}
|
|
98287
|
-
|
|
98288
|
-
<!-- Simplified View Content -->
|
|
98289
|
-
@if (isSimplifiedView()) {
|
|
98290
|
-
<!-- Strategic Insights & Goals -->
|
|
98291
|
-
@if (profileAnalysis()) {
|
|
98292
|
-
<div class="mb-8">
|
|
98293
|
-
@if (isProfileAnalysisGenerating()) {
|
|
98294
|
-
<div [ngClass]="getProgressCardClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
|
|
98295
|
-
<symphiq-content-generation-progress
|
|
98296
|
-
[itemStatus]="itemStatusProfileAnalysis()"
|
|
98297
|
-
[viewMode]="viewMode()"
|
|
98298
|
-
title="Generating Your Focus Area Analysis"
|
|
98299
|
-
subtitle="We're analyzing your data to create your personalized analysis. It will appear when ready."
|
|
98300
|
-
/>
|
|
98301
|
-
</div>
|
|
98302
|
-
} @else {
|
|
98303
|
-
<symphiq-strategic-goals-tiled-grid
|
|
98304
|
-
[goals]="strategicRoadmapGoals()"
|
|
98305
|
-
[viewMode]="viewMode()"
|
|
98306
|
-
(viewMoreClick)="openGoalModal($event)"
|
|
98307
|
-
/>
|
|
98308
|
-
}
|
|
98309
|
-
</div>
|
|
98310
|
-
}
|
|
98311
|
-
|
|
98312
|
-
<!-- Supporting Business Context -->
|
|
98313
|
-
@if (nonStrategicSections().length > 0) {
|
|
98314
|
-
<div>
|
|
98315
|
-
<symphiq-collapsible-analysis-section-group
|
|
98316
|
-
[sections]="nonStrategicSections()"
|
|
98317
|
-
[viewMode]="viewMode()"
|
|
98318
|
-
[focusAreaExecutiveSummary]="focusAreaExecutiveSummary()"
|
|
98319
|
-
[allGoals]="allGoals()"
|
|
98320
|
-
[allMetrics]="allMetrics()"
|
|
98321
|
-
[allCharts]="allCharts()"
|
|
98322
|
-
[allInsights]="allInsights()"
|
|
98323
|
-
[businessProfile]="profile()"
|
|
98324
|
-
/>
|
|
98325
|
-
</div>
|
|
98326
|
-
}
|
|
98327
|
-
}
|
|
98328
|
-
|
|
98329
|
-
<!-- Compact & Expanded View Content -->
|
|
98330
|
-
@if (!isSimplifiedView()) {
|
|
98331
|
-
<!-- Focus Area Executive Summary -->
|
|
98332
|
-
@if (focusAreaExecutiveSummary(); as summary) {
|
|
98333
|
-
<symphiq-focus-area-executive-summary
|
|
98334
|
-
[viewMode]="viewMode()"
|
|
98335
|
-
[summary]="summary"
|
|
98336
|
-
[allGoals]="allGoals()"
|
|
98337
|
-
(topPrioritiesClick)="handleTopPrioritiesClick()"
|
|
98338
|
-
(priorityDetailClick)="handlePriorityDetailClick($event)"
|
|
98339
|
-
/>
|
|
98340
|
-
}
|
|
98341
|
-
|
|
98342
|
-
<!-- Divider Before First Section -->
|
|
98343
|
-
@if (sections(); as sectionList) {
|
|
98344
|
-
@if (sectionList.length > 0 && sectionList[0].icon) {
|
|
98345
|
-
<symphiq-section-divider
|
|
98346
|
-
[viewMode]="viewMode()"
|
|
98347
|
-
[sectionIcon]="sectionList[0].icon"
|
|
98348
|
-
/>
|
|
98349
|
-
}
|
|
98350
|
-
}
|
|
98351
|
-
|
|
98352
|
-
<!-- Profile Analysis Sections -->
|
|
98353
|
-
@if (sections(); as sectionList) {
|
|
98354
|
-
<section class="space-y-8">
|
|
98355
|
-
@for (section of sectionList; track section.id; let idx = $index; let last = $last) {
|
|
98356
|
-
<div [id]="'section-' + section.id" [ngClass]="getSectionCardClasses()"
|
|
98357
|
-
class="rounded-xl p-8 scroll-mt-24">
|
|
98358
|
-
<!-- Icon and Title -->
|
|
98359
|
-
<div class="flex items-start gap-3 mb-6">
|
|
98360
|
-
@if (section.icon) {
|
|
98361
|
-
<div [ngClass]="getSectionIconClasses()"
|
|
98362
|
-
class="flex-shrink-0 w-12 h-12 rounded-xl flex items-center justify-center">
|
|
98363
|
-
<symphiq-icon [icon]="section.icon" size="w-6 h-6"></symphiq-icon>
|
|
98364
|
-
</div>
|
|
98365
|
-
}
|
|
98366
|
-
<div class="flex-1">
|
|
98367
|
-
<h3 [ngClass]="getSectionTitleClasses()" class="text-2xl font-bold">
|
|
98368
|
-
{{ section.title }}
|
|
98369
|
-
</h3>
|
|
98370
|
-
</div>
|
|
98371
|
-
</div>
|
|
98372
|
-
|
|
98373
|
-
<!-- Description and Visual Side-by-Side -->
|
|
98374
|
-
@if (section.description || (section.visual && section.visual.enabled)) {
|
|
98375
|
-
<div class="mb-6 flex flex-col lg:flex-row gap-6 items-start"
|
|
98376
|
-
[class.lg:flex-row-reverse]="idx % 2 === 0">
|
|
98377
|
-
@if (section.visual && section.visual.enabled) {
|
|
98378
|
-
<div class="w-full lg:w-2/3">
|
|
98379
|
-
<symphiq-napkin-visual-placeholder
|
|
98380
|
-
[visual]="section.visual"
|
|
98381
|
-
[viewMode]="viewMode()"
|
|
98382
|
-
/>
|
|
98383
|
-
</div>
|
|
98384
|
-
}
|
|
98385
|
-
@if (section.description) {
|
|
98386
|
-
<div class="w-full"
|
|
98387
|
-
[class.lg:w-1/3]="section.visual && section.visual.enabled" [class.lg:w-full]="!section.visual || !section.visual.enabled">
|
|
98388
|
-
<p [ngClass]="getSectionDescriptionClasses()"
|
|
98389
|
-
class="text-sm leading-relaxed whitespace-pre-line">
|
|
98390
|
-
{{ section.description }}
|
|
98391
|
-
</p>
|
|
98392
|
-
</div>
|
|
98393
|
-
}
|
|
98394
|
-
</div>
|
|
98395
|
-
}
|
|
98396
|
-
|
|
98397
|
-
<!-- Section Content -->
|
|
98398
|
-
<symphiq-profile-section-content
|
|
98399
|
-
[section]="section"
|
|
98400
|
-
[viewMode]="viewMode()"
|
|
98401
|
-
[sectionIndex]="idx"
|
|
98402
|
-
[allGoals]="allGoals()"
|
|
98403
|
-
[allMetrics]="allMetrics()"
|
|
98404
|
-
[allCharts]="allCharts()"
|
|
98405
|
-
[allInsights]="allInsights()"
|
|
98406
|
-
[businessProfile]="profile()"
|
|
98407
|
-
/>
|
|
98408
|
-
</div>
|
|
98409
|
-
|
|
98410
|
-
<!-- Section Divider (between sections) -->
|
|
98411
|
-
@if (!last) {
|
|
98412
|
-
<symphiq-section-divider
|
|
98413
|
-
[viewMode]="viewMode()"
|
|
98414
|
-
[sectionIcon]="sectionList[idx + 1].icon"
|
|
98415
|
-
/>
|
|
98416
|
-
}
|
|
98417
|
-
}
|
|
98418
|
-
</section>
|
|
98419
|
-
}
|
|
98420
|
-
}
|
|
98421
|
-
|
|
98422
|
-
</main>
|
|
98423
|
-
|
|
98424
|
-
<!-- Table of Contents (Compact & Expanded Views) -->
|
|
98425
|
-
@if (!isSimplifiedView() && sections()) {
|
|
98426
|
-
<symphiq-floating-toc
|
|
98427
|
-
[sections]="tocSections()"
|
|
98428
|
-
[viewMode]="viewMode()"
|
|
98429
|
-
[embedded]="embedded()"
|
|
98430
|
-
[scrollElement]="scrollElement() ?? undefined"
|
|
98431
|
-
/>
|
|
98432
|
-
}
|
|
98433
|
-
|
|
98434
|
-
<!-- Section Navigation Dots (Compact & Expanded Views) -->
|
|
98435
|
-
@if (!isSimplifiedView() && sections()) {
|
|
98436
|
-
<symphiq-section-navigation
|
|
98437
|
-
[sections]="tocSections()"
|
|
98438
|
-
[viewMode]="viewMode()"
|
|
98439
|
-
[embedded]="embedded()"
|
|
98440
|
-
[scrollElement]="scrollElement() ?? undefined"
|
|
98441
|
-
/>
|
|
98442
|
-
}
|
|
98443
|
-
|
|
98444
|
-
<!-- Search Modal -->
|
|
98445
|
-
<symphiq-search-modal
|
|
98446
|
-
[isOpen]="isSearchOpen()"
|
|
98447
|
-
[isLightMode]="isLightMode()"
|
|
98448
|
-
(close)="closeSearch()"
|
|
98449
|
-
/>
|
|
98450
|
-
|
|
98451
|
-
<!-- View Mode Switcher Modal -->
|
|
98452
|
-
<symphiq-view-mode-switcher-modal
|
|
98453
|
-
[isOpen]="isViewModeSwitcherOpen()"
|
|
98454
|
-
[currentMode]="currentDisplayMode()"
|
|
98455
|
-
[viewMode]="viewMode()"
|
|
98456
|
-
(close)="closeViewModeSwitcher()"
|
|
98457
|
-
(modeSelected)="handleDisplayModeChange($event)"
|
|
98458
|
-
/>
|
|
98459
|
-
|
|
98460
|
-
<!-- Profile Analysis Modal -->
|
|
98461
|
-
<symphiq-profile-analysis-modal
|
|
98462
|
-
[isLightMode]="isLightMode()"
|
|
98463
|
-
[allMetrics]="allMetrics()"
|
|
98464
|
-
[allInsights]="allInsights()"
|
|
98465
|
-
[allBusinessInsights]="allBusinessInsights()"
|
|
98466
|
-
[allCharts]="allCharts()"
|
|
98467
|
-
>
|
|
98468
|
-
@if (modalType() === 'goal-detail' && getGoalDetailData(); as data) {
|
|
98469
|
-
<symphiq-goal-card
|
|
98470
|
-
[goal]="data.goal"
|
|
98471
|
-
[viewMode]="data.viewMode"
|
|
98472
|
-
[isInModal]="true"
|
|
98473
|
-
[allMetrics]="allMetrics()"
|
|
98474
|
-
[allCharts]="allCharts()"
|
|
98475
|
-
[allInsights]="allInsights()"
|
|
98476
|
-
[currentModalState]="getCurrentModalState()"
|
|
98477
|
-
[businessProfile]="profile()"
|
|
98478
|
-
/>
|
|
98479
|
-
}
|
|
98480
|
-
@if (modalType() === 'goal-objectives' && getGoalDetailData(); as data) {
|
|
98481
|
-
<symphiq-goal-objectives-modal-content
|
|
98482
|
-
[goal]="data.goal"
|
|
98483
|
-
[viewMode]="data.viewMode"
|
|
98484
|
-
/>
|
|
98485
|
-
}
|
|
98486
|
-
@if (modalType() === 'objective-strategies' && getObjectiveStrategiesData(); as data) {
|
|
98487
|
-
<symphiq-objective-strategies-modal-content
|
|
98488
|
-
[objective]="data.objective"
|
|
98489
|
-
[goalTitle]="data.goalTitle"
|
|
98490
|
-
[viewMode]="data.viewMode"
|
|
98491
|
-
/>
|
|
98492
|
-
}
|
|
98493
|
-
@if (modalType() === 'strategy-recommendations' && getStrategyRecommendationsData(); as data) {
|
|
98494
|
-
<symphiq-strategy-recommendations-modal-content
|
|
98495
|
-
[strategy]="data.strategy"
|
|
98496
|
-
[objectiveTitle]="data.objectiveTitle"
|
|
98497
|
-
[goalTitle]="data.goalTitle"
|
|
98498
|
-
[viewMode]="data.viewMode"
|
|
98499
|
-
[expandedRecommendationId]="data.expandedRecommendationId"
|
|
98500
|
-
[allMetrics]="allMetrics()"
|
|
98501
|
-
[allCharts]="allCharts()"
|
|
98502
|
-
[allInsights]="allInsights()"
|
|
98503
|
-
[allBusinessInsights]="allBusinessInsights()"
|
|
98504
|
-
[currentModalState]="getCurrentModalState()"
|
|
98505
|
-
/>
|
|
98506
|
-
}
|
|
98507
|
-
@if (modalType() === 'category-detail' && getCategoryDetailData(); as data) {
|
|
98508
|
-
<symphiq-category-detail-modal-content
|
|
98509
|
-
[category]="data.category"
|
|
98510
|
-
[viewMode]="data.viewMode"
|
|
98511
|
-
[scrollToSection]="data.scrollToSection"
|
|
98512
|
-
/>
|
|
98513
|
-
}
|
|
98514
|
-
@if (modalType() === 'strength-detail' && getStrengthDetailData(); as data) {
|
|
98515
|
-
<symphiq-strength-detail-modal-content
|
|
98516
|
-
[strength]="data.strength"
|
|
98517
|
-
[viewMode]="data.viewMode"
|
|
98518
|
-
[allFunnelStrengths]="funnelStrengths()"
|
|
98519
|
-
[currentModalState]="getCurrentModalState()"
|
|
98520
|
-
/>
|
|
98521
|
-
}
|
|
98522
|
-
@if (modalType() === 'gap-detail' && getGapDetailData(); as data) {
|
|
98523
|
-
<symphiq-gap-detail-modal-content
|
|
98524
|
-
[gap]="data.gap"
|
|
98525
|
-
[viewMode]="data.viewMode"
|
|
98526
|
-
[allGoals]="allGoals()"
|
|
98527
|
-
[allWeaknesses]="funnelWeaknesses()"
|
|
98528
|
-
[currentModalState]="getCurrentModalState()"
|
|
98529
|
-
/>
|
|
98530
|
-
}
|
|
98531
|
-
@if (modalType() === 'opportunity-detail' && getOpportunityDetailData(); as data) {
|
|
98532
|
-
<symphiq-opportunity-detail-modal-content
|
|
98533
|
-
[opportunity]="data.opportunity"
|
|
98534
|
-
[viewMode]="data.viewMode"
|
|
98535
|
-
[allStrengths]="funnelStrengths()"
|
|
98536
|
-
[currentModalState]="getCurrentModalState()"
|
|
98537
|
-
/>
|
|
98538
|
-
}
|
|
98539
|
-
</symphiq-profile-analysis-modal>
|
|
98540
|
-
|
|
98541
|
-
<!-- Funnel Analysis Modal -->
|
|
98542
|
-
<symphiq-funnel-analysis-modal
|
|
98543
|
-
#funnelModalComponent
|
|
98544
|
-
/>
|
|
98545
|
-
|
|
98546
|
-
<!-- Mark as Reviewed Sticky Footer -->
|
|
98547
|
-
<symphiq-mark-as-reviewed-footer
|
|
98548
|
-
[viewMode]="viewMode()"
|
|
98549
|
-
[reviewStatus]="profileAnalysis()?.reviewStatus"
|
|
98550
|
-
[
|
|
98551
|
-
|
|
98552
|
-
|
|
98553
|
-
|
|
98554
|
-
|
|
98555
|
-
|
|
98556
|
-
|
|
98557
|
-
|
|
98226
|
+
template: `
|
|
98227
|
+
<div [ngClass]="getContainerClasses()" class="min-h-screen relative">
|
|
98228
|
+
<div class="animated-bubbles" [class.light-mode]="isLightMode()"
|
|
98229
|
+
style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
|
|
98230
|
+
|
|
98231
|
+
<!-- Scroll Progress Bar -->
|
|
98232
|
+
<div
|
|
98233
|
+
[class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
|
|
98234
|
+
<div
|
|
98235
|
+
[style.width.%]="scrollProgress()"
|
|
98236
|
+
[ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
|
|
98237
|
+
class="h-full transition-all duration-200 ease-out">
|
|
98238
|
+
</div>
|
|
98239
|
+
</div>
|
|
98240
|
+
|
|
98241
|
+
<div class="relative z-[51]">
|
|
98242
|
+
<!-- Dashboard Header -->
|
|
98243
|
+
<symphiq-dashboard-header
|
|
98244
|
+
[title]="getAnalysisSubtitle()"
|
|
98245
|
+
[subtitle]="''"
|
|
98246
|
+
[currentSection]="'Focus Area'"
|
|
98247
|
+
[viewMode]="viewMode()"
|
|
98248
|
+
[viewModeLabel]="displayModeLabel()"
|
|
98249
|
+
[isLoading]="isLoading()"
|
|
98250
|
+
[requestedByUser]="requestedByUser()"
|
|
98251
|
+
[createdDate]="profileAnalysis()?.selfContentCompletedDate"
|
|
98252
|
+
[showControls]="shouldShowHeaderControls()"
|
|
98253
|
+
(searchClick)="openSearch()"
|
|
98254
|
+
(viewModeClick)="openViewModeSwitcher()"
|
|
98255
|
+
/>
|
|
98256
|
+
|
|
98257
|
+
<!-- Main Content -->
|
|
98258
|
+
<main class="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 space-y-12"
|
|
98259
|
+
[class.pb-32]="shouldShowReviewFooter()">
|
|
98260
|
+
|
|
98261
|
+
<!-- Welcome Banner (Simplified View Only) -->
|
|
98262
|
+
@if (isSimplifiedView()) {
|
|
98263
|
+
<div class="mb-12">
|
|
98264
|
+
<symphiq-focus-area-welcome-banner
|
|
98265
|
+
[viewMode]="viewMode()"
|
|
98266
|
+
[focusAreaDomain]="focusAreaDomain()"
|
|
98267
|
+
[focusAreaName]="focusAreaName()"
|
|
98268
|
+
/>
|
|
98269
|
+
</div>
|
|
98270
|
+
|
|
98271
|
+
<!-- Loading Card -->
|
|
98272
|
+
@if (isLoading()) {
|
|
98273
|
+
<div [ngClass]="isLightMode() ? 'bg-white/80 border-slate-200' : 'bg-slate-800/80 border-slate-700'"
|
|
98274
|
+
class="rounded-2xl border shadow-lg p-8 backdrop-blur-sm">
|
|
98275
|
+
<div class="flex flex-col items-center justify-center space-y-4">
|
|
98276
|
+
<symphiq-indeterminate-spinner [viewMode]="viewMode()" size="large" />
|
|
98277
|
+
<div class="text-center">
|
|
98278
|
+
<h3 [ngClass]="isLightMode() ? 'text-slate-900' : 'text-white'" class="text-lg font-semibold mb-1">
|
|
98279
|
+
Loading Your Focus Area Analysis
|
|
98280
|
+
</h3>
|
|
98281
|
+
<p [ngClass]="isLightMode() ? 'text-slate-600' : 'text-slate-400'" class="text-sm">
|
|
98282
|
+
Please wait while we prepare your personalized insights...
|
|
98283
|
+
</p>
|
|
98284
|
+
</div>
|
|
98285
|
+
</div>
|
|
98286
|
+
</div>
|
|
98287
|
+
}
|
|
98288
|
+
}
|
|
98289
|
+
|
|
98290
|
+
<!-- Simplified View Content -->
|
|
98291
|
+
@if (isSimplifiedView()) {
|
|
98292
|
+
<!-- Strategic Insights & Goals -->
|
|
98293
|
+
@if (profileAnalysis()) {
|
|
98294
|
+
<div class="mb-8">
|
|
98295
|
+
@if (isProfileAnalysisGenerating()) {
|
|
98296
|
+
<div [ngClass]="getProgressCardClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
|
|
98297
|
+
<symphiq-content-generation-progress
|
|
98298
|
+
[itemStatus]="itemStatusProfileAnalysis()"
|
|
98299
|
+
[viewMode]="viewMode()"
|
|
98300
|
+
title="Generating Your Focus Area Analysis"
|
|
98301
|
+
subtitle="We're analyzing your data to create your personalized analysis. It will appear when ready."
|
|
98302
|
+
/>
|
|
98303
|
+
</div>
|
|
98304
|
+
} @else {
|
|
98305
|
+
<symphiq-strategic-goals-tiled-grid
|
|
98306
|
+
[goals]="strategicRoadmapGoals()"
|
|
98307
|
+
[viewMode]="viewMode()"
|
|
98308
|
+
(viewMoreClick)="openGoalModal($event)"
|
|
98309
|
+
/>
|
|
98310
|
+
}
|
|
98311
|
+
</div>
|
|
98312
|
+
}
|
|
98313
|
+
|
|
98314
|
+
<!-- Supporting Business Context -->
|
|
98315
|
+
@if (nonStrategicSections().length > 0) {
|
|
98316
|
+
<div>
|
|
98317
|
+
<symphiq-collapsible-analysis-section-group
|
|
98318
|
+
[sections]="nonStrategicSections()"
|
|
98319
|
+
[viewMode]="viewMode()"
|
|
98320
|
+
[focusAreaExecutiveSummary]="focusAreaExecutiveSummary()"
|
|
98321
|
+
[allGoals]="allGoals()"
|
|
98322
|
+
[allMetrics]="allMetrics()"
|
|
98323
|
+
[allCharts]="allCharts()"
|
|
98324
|
+
[allInsights]="allInsights()"
|
|
98325
|
+
[businessProfile]="profile()"
|
|
98326
|
+
/>
|
|
98327
|
+
</div>
|
|
98328
|
+
}
|
|
98329
|
+
}
|
|
98330
|
+
|
|
98331
|
+
<!-- Compact & Expanded View Content -->
|
|
98332
|
+
@if (!isSimplifiedView()) {
|
|
98333
|
+
<!-- Focus Area Executive Summary -->
|
|
98334
|
+
@if (focusAreaExecutiveSummary(); as summary) {
|
|
98335
|
+
<symphiq-focus-area-executive-summary
|
|
98336
|
+
[viewMode]="viewMode()"
|
|
98337
|
+
[summary]="summary"
|
|
98338
|
+
[allGoals]="allGoals()"
|
|
98339
|
+
(topPrioritiesClick)="handleTopPrioritiesClick()"
|
|
98340
|
+
(priorityDetailClick)="handlePriorityDetailClick($event)"
|
|
98341
|
+
/>
|
|
98342
|
+
}
|
|
98343
|
+
|
|
98344
|
+
<!-- Divider Before First Section -->
|
|
98345
|
+
@if (sections(); as sectionList) {
|
|
98346
|
+
@if (sectionList.length > 0 && sectionList[0].icon) {
|
|
98347
|
+
<symphiq-section-divider
|
|
98348
|
+
[viewMode]="viewMode()"
|
|
98349
|
+
[sectionIcon]="sectionList[0].icon"
|
|
98350
|
+
/>
|
|
98351
|
+
}
|
|
98352
|
+
}
|
|
98353
|
+
|
|
98354
|
+
<!-- Profile Analysis Sections -->
|
|
98355
|
+
@if (sections(); as sectionList) {
|
|
98356
|
+
<section class="space-y-8">
|
|
98357
|
+
@for (section of sectionList; track section.id; let idx = $index; let last = $last) {
|
|
98358
|
+
<div [id]="'section-' + section.id" [ngClass]="getSectionCardClasses()"
|
|
98359
|
+
class="rounded-xl p-8 scroll-mt-24">
|
|
98360
|
+
<!-- Icon and Title -->
|
|
98361
|
+
<div class="flex items-start gap-3 mb-6">
|
|
98362
|
+
@if (section.icon) {
|
|
98363
|
+
<div [ngClass]="getSectionIconClasses()"
|
|
98364
|
+
class="flex-shrink-0 w-12 h-12 rounded-xl flex items-center justify-center">
|
|
98365
|
+
<symphiq-icon [icon]="section.icon" size="w-6 h-6"></symphiq-icon>
|
|
98366
|
+
</div>
|
|
98367
|
+
}
|
|
98368
|
+
<div class="flex-1">
|
|
98369
|
+
<h3 [ngClass]="getSectionTitleClasses()" class="text-2xl font-bold">
|
|
98370
|
+
{{ section.title }}
|
|
98371
|
+
</h3>
|
|
98372
|
+
</div>
|
|
98373
|
+
</div>
|
|
98374
|
+
|
|
98375
|
+
<!-- Description and Visual Side-by-Side -->
|
|
98376
|
+
@if (section.description || (section.visual && section.visual.enabled)) {
|
|
98377
|
+
<div class="mb-6 flex flex-col lg:flex-row gap-6 items-start"
|
|
98378
|
+
[class.lg:flex-row-reverse]="idx % 2 === 0">
|
|
98379
|
+
@if (section.visual && section.visual.enabled) {
|
|
98380
|
+
<div class="w-full lg:w-2/3">
|
|
98381
|
+
<symphiq-napkin-visual-placeholder
|
|
98382
|
+
[visual]="section.visual"
|
|
98383
|
+
[viewMode]="viewMode()"
|
|
98384
|
+
/>
|
|
98385
|
+
</div>
|
|
98386
|
+
}
|
|
98387
|
+
@if (section.description) {
|
|
98388
|
+
<div class="w-full"
|
|
98389
|
+
[class.lg:w-1/3]="section.visual && section.visual.enabled" [class.lg:w-full]="!section.visual || !section.visual.enabled">
|
|
98390
|
+
<p [ngClass]="getSectionDescriptionClasses()"
|
|
98391
|
+
class="text-sm leading-relaxed whitespace-pre-line">
|
|
98392
|
+
{{ section.description }}
|
|
98393
|
+
</p>
|
|
98394
|
+
</div>
|
|
98395
|
+
}
|
|
98396
|
+
</div>
|
|
98397
|
+
}
|
|
98398
|
+
|
|
98399
|
+
<!-- Section Content -->
|
|
98400
|
+
<symphiq-profile-section-content
|
|
98401
|
+
[section]="section"
|
|
98402
|
+
[viewMode]="viewMode()"
|
|
98403
|
+
[sectionIndex]="idx"
|
|
98404
|
+
[allGoals]="allGoals()"
|
|
98405
|
+
[allMetrics]="allMetrics()"
|
|
98406
|
+
[allCharts]="allCharts()"
|
|
98407
|
+
[allInsights]="allInsights()"
|
|
98408
|
+
[businessProfile]="profile()"
|
|
98409
|
+
/>
|
|
98410
|
+
</div>
|
|
98411
|
+
|
|
98412
|
+
<!-- Section Divider (between sections) -->
|
|
98413
|
+
@if (!last) {
|
|
98414
|
+
<symphiq-section-divider
|
|
98415
|
+
[viewMode]="viewMode()"
|
|
98416
|
+
[sectionIcon]="sectionList[idx + 1].icon"
|
|
98417
|
+
/>
|
|
98418
|
+
}
|
|
98419
|
+
}
|
|
98420
|
+
</section>
|
|
98421
|
+
}
|
|
98422
|
+
}
|
|
98423
|
+
|
|
98424
|
+
</main>
|
|
98425
|
+
|
|
98426
|
+
<!-- Table of Contents (Compact & Expanded Views) -->
|
|
98427
|
+
@if (!isSimplifiedView() && sections()) {
|
|
98428
|
+
<symphiq-floating-toc
|
|
98429
|
+
[sections]="tocSections()"
|
|
98430
|
+
[viewMode]="viewMode()"
|
|
98431
|
+
[embedded]="embedded()"
|
|
98432
|
+
[scrollElement]="scrollElement() ?? undefined"
|
|
98433
|
+
/>
|
|
98434
|
+
}
|
|
98435
|
+
|
|
98436
|
+
<!-- Section Navigation Dots (Compact & Expanded Views) -->
|
|
98437
|
+
@if (!isSimplifiedView() && sections()) {
|
|
98438
|
+
<symphiq-section-navigation
|
|
98439
|
+
[sections]="tocSections()"
|
|
98440
|
+
[viewMode]="viewMode()"
|
|
98441
|
+
[embedded]="embedded()"
|
|
98442
|
+
[scrollElement]="scrollElement() ?? undefined"
|
|
98443
|
+
/>
|
|
98444
|
+
}
|
|
98445
|
+
|
|
98446
|
+
<!-- Search Modal -->
|
|
98447
|
+
<symphiq-search-modal
|
|
98448
|
+
[isOpen]="isSearchOpen()"
|
|
98449
|
+
[isLightMode]="isLightMode()"
|
|
98450
|
+
(close)="closeSearch()"
|
|
98451
|
+
/>
|
|
98452
|
+
|
|
98453
|
+
<!-- View Mode Switcher Modal -->
|
|
98454
|
+
<symphiq-view-mode-switcher-modal
|
|
98455
|
+
[isOpen]="isViewModeSwitcherOpen()"
|
|
98456
|
+
[currentMode]="currentDisplayMode()"
|
|
98457
|
+
[viewMode]="viewMode()"
|
|
98458
|
+
(close)="closeViewModeSwitcher()"
|
|
98459
|
+
(modeSelected)="handleDisplayModeChange($event)"
|
|
98460
|
+
/>
|
|
98461
|
+
|
|
98462
|
+
<!-- Profile Analysis Modal -->
|
|
98463
|
+
<symphiq-profile-analysis-modal
|
|
98464
|
+
[isLightMode]="isLightMode()"
|
|
98465
|
+
[allMetrics]="allMetrics()"
|
|
98466
|
+
[allInsights]="allInsights()"
|
|
98467
|
+
[allBusinessInsights]="allBusinessInsights()"
|
|
98468
|
+
[allCharts]="allCharts()"
|
|
98469
|
+
>
|
|
98470
|
+
@if (modalType() === 'goal-detail' && getGoalDetailData(); as data) {
|
|
98471
|
+
<symphiq-goal-card
|
|
98472
|
+
[goal]="data.goal"
|
|
98473
|
+
[viewMode]="data.viewMode"
|
|
98474
|
+
[isInModal]="true"
|
|
98475
|
+
[allMetrics]="allMetrics()"
|
|
98476
|
+
[allCharts]="allCharts()"
|
|
98477
|
+
[allInsights]="allInsights()"
|
|
98478
|
+
[currentModalState]="getCurrentModalState()"
|
|
98479
|
+
[businessProfile]="profile()"
|
|
98480
|
+
/>
|
|
98481
|
+
}
|
|
98482
|
+
@if (modalType() === 'goal-objectives' && getGoalDetailData(); as data) {
|
|
98483
|
+
<symphiq-goal-objectives-modal-content
|
|
98484
|
+
[goal]="data.goal"
|
|
98485
|
+
[viewMode]="data.viewMode"
|
|
98486
|
+
/>
|
|
98487
|
+
}
|
|
98488
|
+
@if (modalType() === 'objective-strategies' && getObjectiveStrategiesData(); as data) {
|
|
98489
|
+
<symphiq-objective-strategies-modal-content
|
|
98490
|
+
[objective]="data.objective"
|
|
98491
|
+
[goalTitle]="data.goalTitle"
|
|
98492
|
+
[viewMode]="data.viewMode"
|
|
98493
|
+
/>
|
|
98494
|
+
}
|
|
98495
|
+
@if (modalType() === 'strategy-recommendations' && getStrategyRecommendationsData(); as data) {
|
|
98496
|
+
<symphiq-strategy-recommendations-modal-content
|
|
98497
|
+
[strategy]="data.strategy"
|
|
98498
|
+
[objectiveTitle]="data.objectiveTitle"
|
|
98499
|
+
[goalTitle]="data.goalTitle"
|
|
98500
|
+
[viewMode]="data.viewMode"
|
|
98501
|
+
[expandedRecommendationId]="data.expandedRecommendationId"
|
|
98502
|
+
[allMetrics]="allMetrics()"
|
|
98503
|
+
[allCharts]="allCharts()"
|
|
98504
|
+
[allInsights]="allInsights()"
|
|
98505
|
+
[allBusinessInsights]="allBusinessInsights()"
|
|
98506
|
+
[currentModalState]="getCurrentModalState()"
|
|
98507
|
+
/>
|
|
98508
|
+
}
|
|
98509
|
+
@if (modalType() === 'category-detail' && getCategoryDetailData(); as data) {
|
|
98510
|
+
<symphiq-category-detail-modal-content
|
|
98511
|
+
[category]="data.category"
|
|
98512
|
+
[viewMode]="data.viewMode"
|
|
98513
|
+
[scrollToSection]="data.scrollToSection"
|
|
98514
|
+
/>
|
|
98515
|
+
}
|
|
98516
|
+
@if (modalType() === 'strength-detail' && getStrengthDetailData(); as data) {
|
|
98517
|
+
<symphiq-strength-detail-modal-content
|
|
98518
|
+
[strength]="data.strength"
|
|
98519
|
+
[viewMode]="data.viewMode"
|
|
98520
|
+
[allFunnelStrengths]="funnelStrengths()"
|
|
98521
|
+
[currentModalState]="getCurrentModalState()"
|
|
98522
|
+
/>
|
|
98523
|
+
}
|
|
98524
|
+
@if (modalType() === 'gap-detail' && getGapDetailData(); as data) {
|
|
98525
|
+
<symphiq-gap-detail-modal-content
|
|
98526
|
+
[gap]="data.gap"
|
|
98527
|
+
[viewMode]="data.viewMode"
|
|
98528
|
+
[allGoals]="allGoals()"
|
|
98529
|
+
[allWeaknesses]="funnelWeaknesses()"
|
|
98530
|
+
[currentModalState]="getCurrentModalState()"
|
|
98531
|
+
/>
|
|
98532
|
+
}
|
|
98533
|
+
@if (modalType() === 'opportunity-detail' && getOpportunityDetailData(); as data) {
|
|
98534
|
+
<symphiq-opportunity-detail-modal-content
|
|
98535
|
+
[opportunity]="data.opportunity"
|
|
98536
|
+
[viewMode]="data.viewMode"
|
|
98537
|
+
[allStrengths]="funnelStrengths()"
|
|
98538
|
+
[currentModalState]="getCurrentModalState()"
|
|
98539
|
+
/>
|
|
98540
|
+
}
|
|
98541
|
+
</symphiq-profile-analysis-modal>
|
|
98542
|
+
|
|
98543
|
+
<!-- Funnel Analysis Modal -->
|
|
98544
|
+
<symphiq-funnel-analysis-modal
|
|
98545
|
+
#funnelModalComponent
|
|
98546
|
+
/>
|
|
98547
|
+
|
|
98548
|
+
<!-- Mark as Reviewed Sticky Footer -->
|
|
98549
|
+
<symphiq-mark-as-reviewed-footer
|
|
98550
|
+
[viewMode]="viewMode()"
|
|
98551
|
+
[reviewStatus]="profileAnalysis()?.reviewStatus"
|
|
98552
|
+
[selfContentStatus]="profileAnalysis()?.selfContentStatus"
|
|
98553
|
+
[isMarkingAsReviewed]="isMarkingAsReviewed()"
|
|
98554
|
+
(markAsReviewedClick)="handleMarkAsReviewedClick()"
|
|
98555
|
+
/>
|
|
98556
|
+
|
|
98557
|
+
<!-- Tooltip Container -->
|
|
98558
|
+
<symphiq-tooltip-container />
|
|
98559
|
+
</div>
|
|
98560
|
+
</div>
|
|
98558
98561
|
`
|
|
98559
98562
|
}]
|
|
98560
98563
|
}], null, { funnelModalComponent: [{
|
|
@@ -98564,7 +98567,7 @@ class SymphiqProfileAnalysisFocusAreaDashboardComponent {
|
|
|
98564
98567
|
type: HostListener,
|
|
98565
98568
|
args: ['window:scroll', ['$event']]
|
|
98566
98569
|
}] }); })();
|
|
98567
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisFocusAreaDashboardComponent, { className: "SymphiqProfileAnalysisFocusAreaDashboardComponent", filePath: "lib/components/profile-analysis-focus-area-dashboard/symphiq-profile-analysis-focus-area-dashboard.component.ts", lineNumber:
|
|
98570
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisFocusAreaDashboardComponent, { className: "SymphiqProfileAnalysisFocusAreaDashboardComponent", filePath: "lib/components/profile-analysis-focus-area-dashboard/symphiq-profile-analysis-focus-area-dashboard.component.ts", lineNumber: 481 }); })();
|
|
98568
98571
|
|
|
98569
98572
|
const _forTrack0$4 = ($index, $item) => $item.id;
|
|
98570
98573
|
function ShopProfileCategoryListComponent_For_2_Template(rf, ctx) { if (rf & 1) {
|