@eric-emg/symphiq-components 1.3.83 → 1.3.85
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.
|
@@ -13556,6 +13556,9 @@ class ProfileContextService {
|
|
|
13556
13556
|
}
|
|
13557
13557
|
}
|
|
13558
13558
|
}
|
|
13559
|
+
console.log('[ProfileContextService] indexProfile - competitors:', index.competitors.length, 'recommendations:', index.recommendations.length);
|
|
13560
|
+
console.log('[ProfileContextService] indexProfile - recommendation IDs:', index.recommendations.map(r => r.id));
|
|
13561
|
+
console.log('[ProfileContextService] indexProfile - recommendations with relatedCompetitorIds:', index.recommendations.filter(r => r.relatedCompetitorIds && r.relatedCompetitorIds.length > 0).map(r => ({ id: r.id, relatedCompetitorIds: r.relatedCompetitorIds })));
|
|
13559
13562
|
this.contextIndex.set(index);
|
|
13560
13563
|
}
|
|
13561
13564
|
getRegions() {
|
|
@@ -15213,15 +15216,20 @@ class RecommendationCardComponent {
|
|
|
15213
15216
|
}, ...(ngDevMode ? [{ debugName: "displayItem" }] : []));
|
|
15214
15217
|
this.detailedRecommendation = computed(() => {
|
|
15215
15218
|
const inputRec = this.recommendation();
|
|
15219
|
+
console.log('[RecommendationCard] detailedRecommendation - inputRec:', inputRec?.id, 'relatedCompetitorIds:', inputRec?.relatedCompetitorIds, 'relatedProfileItemIds:', inputRec?.relatedProfileItemIds);
|
|
15216
15220
|
if (inputRec) {
|
|
15217
15221
|
if (inputRec.id) {
|
|
15218
15222
|
const serviceRec = this.profileContextService.getRecommendationById(inputRec.id);
|
|
15223
|
+
console.log('[RecommendationCard] detailedRecommendation - serviceRec:', serviceRec?.id, 'relatedCompetitorIds:', serviceRec?.relatedCompetitorIds, 'relatedProfileItemIds:', serviceRec?.relatedProfileItemIds);
|
|
15224
|
+
console.log('[RecommendationCard] detailedRecommendation - allCompetitors in service:', this.profileContextService.getCompetitors());
|
|
15219
15225
|
if (serviceRec) {
|
|
15220
|
-
|
|
15226
|
+
const merged = {
|
|
15221
15227
|
...inputRec,
|
|
15222
15228
|
relatedCompetitorIds: inputRec.relatedCompetitorIds || serviceRec.relatedCompetitorIds,
|
|
15223
15229
|
relatedProfileItemIds: inputRec.relatedProfileItemIds || serviceRec.relatedProfileItemIds
|
|
15224
15230
|
};
|
|
15231
|
+
console.log('[RecommendationCard] detailedRecommendation - merged result:', merged.relatedCompetitorIds, merged.relatedProfileItemIds);
|
|
15232
|
+
return merged;
|
|
15225
15233
|
}
|
|
15226
15234
|
}
|
|
15227
15235
|
return inputRec;
|
|
@@ -15292,6 +15300,7 @@ class RecommendationCardComponent {
|
|
|
15292
15300
|
const hasCompetitors = !!(detailed?.relatedCompetitorIds && detailed.relatedCompetitorIds.length > 0);
|
|
15293
15301
|
const isExpanded = this.isActuallyExpanded();
|
|
15294
15302
|
const shouldShow = hasCompetitors && isExpanded;
|
|
15303
|
+
console.log('[RecommendationCard] shouldShowRelatedCompetitors - hasCompetitors:', hasCompetitors, 'isExpanded:', isExpanded, 'shouldShow:', shouldShow, 'relatedCompetitorIds:', detailed?.relatedCompetitorIds);
|
|
15295
15304
|
return shouldShow;
|
|
15296
15305
|
}, ...(ngDevMode ? [{ debugName: "shouldShowRelatedCompetitors" }] : []));
|
|
15297
15306
|
this.shouldShowRelatedAreas = computed(() => {
|
|
@@ -15299,6 +15308,7 @@ class RecommendationCardComponent {
|
|
|
15299
15308
|
const hasAreas = !!(detailed?.relatedProfileItemIds && detailed.relatedProfileItemIds.length > 0);
|
|
15300
15309
|
const isExpanded = this.isActuallyExpanded();
|
|
15301
15310
|
const shouldShow = hasAreas && isExpanded;
|
|
15311
|
+
console.log('[RecommendationCard] shouldShowRelatedAreas - hasAreas:', hasAreas, 'isExpanded:', isExpanded, 'shouldShow:', shouldShow, 'relatedProfileItemIds:', detailed?.relatedProfileItemIds);
|
|
15302
15312
|
return shouldShow;
|
|
15303
15313
|
}, ...(ngDevMode ? [{ debugName: "shouldShowRelatedAreas" }] : []));
|
|
15304
15314
|
this.shouldShowRelatedFocusAreas = computed(() => {
|
|
@@ -51679,7 +51689,7 @@ class DashboardHeaderComponent {
|
|
|
51679
51689
|
: 'bg-slate-800 hover:bg-slate-700 text-slate-300 border border-slate-700';
|
|
51680
51690
|
}
|
|
51681
51691
|
static { this.ɵfac = function DashboardHeaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DashboardHeaderComponent)(); }; }
|
|
51682
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardHeaderComponent, selectors: [["symphiq-dashboard-header"]], inputs: { requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], title: [1, "title"], subtitle: [1, "subtitle"], viewMode: [1, "viewMode"], viewModeLabel: [1, "viewModeLabel"], currentSection: [1, "currentSection"], currentSubsection: [1, "currentSubsection"], sectionFading: [1, "sectionFading"], subsectionFading: [1, "subsectionFading"], isLoading: [1, "isLoading"], showSearchControl: [1, "showSearchControl"], showViewModeControl: [1, "showViewModeControl"], hasCondensedLeftContent: [1, "hasCondensedLeftContent"], size: [1, "size"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"] }, outputs: { searchClick: "searchClick", viewModeClick: "viewModeClick" }, ngContentSelectors: _c1$m, decls: 30, vars: 29, consts: [[1, "sticky", "top-0", "z-50", "overflow-hidden", 2, "transition", "height 300ms ease-in-out", 3, "ngClass"], [1, "transition-opacity", "duration-300", "ease-in-out", "h-full"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4", "h-full", "flex", "items-center"], [1, "flex", "items-center", "justify-between", "w-full"], [1, "flex-1", "min-w-0"], [1, "flex", "items-center", "gap-3", "min-w-0"], [1, "truncate", 3, "mouseenter", "mouseleave", "ngClass"], ["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"], [3, "ngClass"], [1, "flex", "items-center", "gap-4"], [3, "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, "ngClass"], [1, "flex", "flex-col", "gap-1", "min-w-[180px]"], [1, "absolute", "inset-x-0", "top-0", "h-full", "transition-opacity", "duration-300", "ease-in-out"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "h-full", "flex", "items-center"], [1, "flex", "items-center", "gap-3", "flex-1", "min-w-0", "mr-4"], [1, "flex-shrink-0", "!mb-0", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "text-sm", "flex-shrink-0"], [3, "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, "ngClass"], [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, "text-left", "sm:text-right"], [1, "text-xs"], [1, "text-sm", "font-medium"], [1, "hidden", "sm:inline", 3, "ngClass"], [1, "hidden", "sm:block", "truncate", "min-w-0", 3, "ngClass"], [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"]], template: function DashboardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
51692
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardHeaderComponent, selectors: [["symphiq-dashboard-header"]], inputs: { requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], title: [1, "title"], subtitle: [1, "subtitle"], viewMode: [1, "viewMode"], viewModeLabel: [1, "viewModeLabel"], currentSection: [1, "currentSection"], currentSubsection: [1, "currentSubsection"], sectionFading: [1, "sectionFading"], subsectionFading: [1, "subsectionFading"], isLoading: [1, "isLoading"], showSearchControl: [1, "showSearchControl"], showViewModeControl: [1, "showViewModeControl"], hasCondensedLeftContent: [1, "hasCondensedLeftContent"], size: [1, "size"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"] }, outputs: { searchClick: "searchClick", viewModeClick: "viewModeClick" }, ngContentSelectors: _c1$m, decls: 30, vars: 29, consts: [[1, "sticky", "top-0", "z-50", "overflow-hidden", 2, "transition", "height 300ms ease-in-out", 3, "ngClass"], [1, "transition-opacity", "duration-300", "ease-in-out", "h-full"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4", "h-full", "flex", "items-center"], [1, "flex", "items-center", "justify-between", "w-full"], [1, "flex-1", "min-w-0"], [1, "flex", "items-center", "gap-3", "min-w-0"], [1, "truncate", 3, "mouseenter", "mouseleave", "ngClass"], ["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, "truncate", 3, "ngClass"], [1, "flex", "items-center", "gap-4"], [3, "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, "ngClass"], [1, "flex", "flex-col", "gap-1", "min-w-[180px]"], [1, "absolute", "inset-x-0", "top-0", "h-full", "transition-opacity", "duration-300", "ease-in-out"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "h-full", "flex", "items-center"], [1, "flex", "items-center", "gap-3", "flex-1", "min-w-0", "mr-4"], [1, "flex-shrink-0", "!mb-0", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "text-sm", "flex-shrink-0"], [3, "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, "ngClass"], [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, "text-left", "sm:text-right"], [1, "text-xs"], [1, "text-sm", "font-medium"], [1, "hidden", "sm:inline", 3, "ngClass"], [1, "hidden", "sm:block", "truncate", "min-w-0", 3, "ngClass"], [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"]], template: function DashboardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
51683
51693
|
i0.ɵɵprojectionDef(_c0$O);
|
|
51684
51694
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5)(6, "h1", 6);
|
|
51685
51695
|
i0.ɵɵlistener("mouseenter", function DashboardHeaderComponent_Template_h1_mouseenter_6_listener($event) { return ctx.onTitleMouseEnter($event); })("mouseleave", function DashboardHeaderComponent_Template_h1_mouseleave_6_listener() { return ctx.onTitleMouseLeave(); });
|
|
@@ -51774,7 +51784,7 @@ class DashboardHeaderComponent {
|
|
|
51774
51784
|
}
|
|
51775
51785
|
</div>
|
|
51776
51786
|
<div class="flex flex-wrap items-center justify-between gap-3 sm:gap-4">
|
|
51777
|
-
<p [ngClass]="getSubtitleClasses()">
|
|
51787
|
+
<p [ngClass]="getSubtitleClasses()" class="truncate">
|
|
51778
51788
|
{{ subtitle() }}
|
|
51779
51789
|
</p>
|
|
51780
51790
|
<div class="flex items-center gap-4">
|
|
@@ -88490,53 +88500,53 @@ class PriorityActionsStripComponent {
|
|
|
88490
88500
|
}], null, { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], viewAllClicked: [{ type: i0.Output, args: ["viewAllClicked"] }] }); })();
|
|
88491
88501
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PriorityActionsStripComponent, { className: "PriorityActionsStripComponent", filePath: "lib/components/shared/priority-actions-strip.component.ts", lineNumber: 48 }); })();
|
|
88492
88502
|
|
|
88493
|
-
function
|
|
88494
|
-
i0.ɵɵelement(0, "symphiq-grade-badge",
|
|
88503
|
+
function UnifiedExecutiveSummaryComponent_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
88504
|
+
i0.ɵɵelement(0, "symphiq-grade-badge", 5);
|
|
88495
88505
|
} if (rf & 2) {
|
|
88496
88506
|
const summary_r1 = i0.ɵɵnextContext();
|
|
88497
88507
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
88498
88508
|
i0.ɵɵproperty("grade", summary_r1.overallGrade)("gradeRationale", summary_r1.gradeRationale || "")("viewMode", ctx_r1.viewMode());
|
|
88499
88509
|
} }
|
|
88500
|
-
function
|
|
88510
|
+
function UnifiedExecutiveSummaryComponent_Conditional_0_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
88501
88511
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
88502
|
-
i0.ɵɵelementStart(0, "symphiq-priority-actions-strip",
|
|
88503
|
-
i0.ɵɵlistener("viewAllClicked", function
|
|
88512
|
+
i0.ɵɵelementStart(0, "symphiq-priority-actions-strip", 10);
|
|
88513
|
+
i0.ɵɵlistener("viewAllClicked", function UnifiedExecutiveSummaryComponent_Conditional_0_Conditional_11_Template_symphiq_priority_actions_strip_viewAllClicked_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.viewAllPriorityActionsClick.emit()); });
|
|
88504
88514
|
i0.ɵɵelementEnd();
|
|
88505
88515
|
} if (rf & 2) {
|
|
88506
88516
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
88507
88517
|
i0.ɵɵproperty("items", ctx_r1.priorityActionItems())("viewMode", ctx_r1.viewMode());
|
|
88508
88518
|
} }
|
|
88509
88519
|
function UnifiedExecutiveSummaryComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
88510
|
-
i0.ɵɵelementStart(0, "section", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "
|
|
88511
|
-
i0.ɵɵtext(
|
|
88520
|
+
i0.ɵɵelementStart(0, "section", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h2", 4);
|
|
88521
|
+
i0.ɵɵtext(5, " Executive Summary ");
|
|
88522
|
+
i0.ɵɵelementEnd();
|
|
88523
|
+
i0.ɵɵconditionalCreate(6, UnifiedExecutiveSummaryComponent_Conditional_0_Conditional_6_Template, 1, 3, "symphiq-grade-badge", 5);
|
|
88512
88524
|
i0.ɵɵelementEnd();
|
|
88513
88525
|
i0.ɵɵelementStart(7, "p", 6);
|
|
88514
88526
|
i0.ɵɵtext(8);
|
|
88515
|
-
i0.ɵɵelementEnd()();
|
|
88516
|
-
i0.ɵɵconditionalCreate(9, UnifiedExecutiveSummaryComponent_Conditional_0_Conditional_9_Template, 1, 3, "symphiq-grade-badge", 7);
|
|
88517
88527
|
i0.ɵɵelementEnd();
|
|
88518
|
-
i0.ɵɵelement(
|
|
88519
|
-
i0.ɵɵconditionalCreate(
|
|
88528
|
+
i0.ɵɵelement(9, "symphiq-analysis-narrative", 7)(10, "symphiq-source-goals-summary-card", 8);
|
|
88529
|
+
i0.ɵɵconditionalCreate(11, UnifiedExecutiveSummaryComponent_Conditional_0_Conditional_11_Template, 1, 2, "symphiq-priority-actions-strip", 9);
|
|
88520
88530
|
i0.ɵɵelementEnd()()();
|
|
88521
88531
|
} if (rf & 2) {
|
|
88522
88532
|
const summary_r1 = ctx;
|
|
88523
88533
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
88524
88534
|
i0.ɵɵadvance();
|
|
88525
88535
|
i0.ɵɵproperty("ngClass", ctx_r1.bannerClasses());
|
|
88526
|
-
i0.ɵɵadvance(
|
|
88536
|
+
i0.ɵɵadvance(3);
|
|
88527
88537
|
i0.ɵɵproperty("ngClass", ctx_r1.sectionTitleClasses());
|
|
88528
88538
|
i0.ɵɵadvance(2);
|
|
88539
|
+
i0.ɵɵconditional(summary_r1.overallGrade ? 6 : -1);
|
|
88540
|
+
i0.ɵɵadvance();
|
|
88529
88541
|
i0.ɵɵproperty("ngClass", ctx_r1.textClasses());
|
|
88530
88542
|
i0.ɵɵadvance();
|
|
88531
88543
|
i0.ɵɵtextInterpolate1(" ", summary_r1.gradeRationale, " ");
|
|
88532
88544
|
i0.ɵɵadvance();
|
|
88533
|
-
i0.ɵɵconditional(summary_r1.overallGrade ? 9 : -1);
|
|
88534
|
-
i0.ɵɵadvance();
|
|
88535
88545
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("narrative", summary_r1.synthesisNarrative)("napkinVisual", summary_r1.napkinVisual);
|
|
88536
88546
|
i0.ɵɵadvance();
|
|
88537
88547
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("shopCounts", ctx_r1.shopCounts())("focusAreaCounts", ctx_r1.focusAreaCounts())("metricCounts", ctx_r1.metricCounts());
|
|
88538
88548
|
i0.ɵɵadvance();
|
|
88539
|
-
i0.ɵɵconditional(ctx_r1.priorityActionItems().length > 0 ?
|
|
88549
|
+
i0.ɵɵconditional(ctx_r1.priorityActionItems().length > 0 ? 11 : -1);
|
|
88540
88550
|
} }
|
|
88541
88551
|
class UnifiedExecutiveSummaryComponent {
|
|
88542
88552
|
constructor() {
|
|
@@ -88561,8 +88571,8 @@ class UnifiedExecutiveSummaryComponent {
|
|
|
88561
88571
|
this.textClasses = computed(() => this.isLightMode() ? 'text-slate-700' : 'text-slate-300', ...(ngDevMode ? [{ debugName: "textClasses" }] : []));
|
|
88562
88572
|
}
|
|
88563
88573
|
static { this.ɵfac = function UnifiedExecutiveSummaryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UnifiedExecutiveSummaryComponent)(); }; }
|
|
88564
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UnifiedExecutiveSummaryComponent, selectors: [["symphiq-unified-executive-summary"]], inputs: { summary: [1, "summary"], viewMode: [1, "viewMode"], shopCounts: [1, "shopCounts"], focusAreaCounts: [1, "focusAreaCounts"], metricCounts: [1, "metricCounts"] }, outputs: { viewAllPriorityActionsClick: "viewAllPriorityActionsClick" }, decls: 1, vars: 1, consts: [["id", "section-executive-summary", 1, "space-y-6", "scroll-mt-24"], [1, "rounded-2xl", "p-8", "shadow-xl", 3, "ngClass"], [1, "flex", "flex-col", "gap-6"], [1, "flex", "items-start", "justify-between", "gap-4"], [1, "
|
|
88565
|
-
i0.ɵɵconditionalCreate(0, UnifiedExecutiveSummaryComponent_Conditional_0_Template,
|
|
88574
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UnifiedExecutiveSummaryComponent, selectors: [["symphiq-unified-executive-summary"]], inputs: { summary: [1, "summary"], viewMode: [1, "viewMode"], shopCounts: [1, "shopCounts"], focusAreaCounts: [1, "focusAreaCounts"], metricCounts: [1, "metricCounts"] }, outputs: { viewAllPriorityActionsClick: "viewAllPriorityActionsClick" }, decls: 1, vars: 1, consts: [["id", "section-executive-summary", 1, "space-y-6", "scroll-mt-24"], [1, "rounded-2xl", "p-8", "shadow-xl", 3, "ngClass"], [1, "flex", "flex-col", "gap-6"], [1, "flex", "items-start", "justify-between", "gap-4"], [1, "text-2xl", "font-bold", 3, "ngClass"], [3, "grade", "gradeRationale", "viewMode"], [1, "text-lg", "leading-relaxed", 3, "ngClass"], ["title", "Synthesis Overview", 3, "viewMode", "narrative", "napkinVisual"], [3, "viewMode", "shopCounts", "focusAreaCounts", "metricCounts"], [3, "items", "viewMode"], [3, "viewAllClicked", "items", "viewMode"]], template: function UnifiedExecutiveSummaryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
88575
|
+
i0.ɵɵconditionalCreate(0, UnifiedExecutiveSummaryComponent_Conditional_0_Template, 12, 13, "section", 0);
|
|
88566
88576
|
} if (rf & 2) {
|
|
88567
88577
|
let tmp_0_0;
|
|
88568
88578
|
i0.ɵɵconditional((tmp_0_0 = ctx.summary()) ? 0 : -1, tmp_0_0);
|
|
@@ -88590,14 +88600,9 @@ class UnifiedExecutiveSummaryComponent {
|
|
|
88590
88600
|
<div [ngClass]="bannerClasses()" class="rounded-2xl p-8 shadow-xl">
|
|
88591
88601
|
<div class="flex flex-col gap-6">
|
|
88592
88602
|
<div class="flex items-start justify-between gap-4">
|
|
88593
|
-
<
|
|
88594
|
-
|
|
88595
|
-
|
|
88596
|
-
</h2>
|
|
88597
|
-
<p [ngClass]="textClasses()" class="text-lg leading-relaxed">
|
|
88598
|
-
{{ summary.gradeRationale }}
|
|
88599
|
-
</p>
|
|
88600
|
-
</div>
|
|
88603
|
+
<h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold">
|
|
88604
|
+
Executive Summary
|
|
88605
|
+
</h2>
|
|
88601
88606
|
@if (summary.overallGrade) {
|
|
88602
88607
|
<symphiq-grade-badge
|
|
88603
88608
|
[grade]="summary.overallGrade"
|
|
@@ -88606,6 +88611,9 @@ class UnifiedExecutiveSummaryComponent {
|
|
|
88606
88611
|
/>
|
|
88607
88612
|
}
|
|
88608
88613
|
</div>
|
|
88614
|
+
<p [ngClass]="textClasses()" class="text-lg leading-relaxed">
|
|
88615
|
+
{{ summary.gradeRationale }}
|
|
88616
|
+
</p>
|
|
88609
88617
|
|
|
88610
88618
|
<symphiq-analysis-narrative
|
|
88611
88619
|
[viewMode]="viewMode()"
|
|
@@ -88635,7 +88643,7 @@ class UnifiedExecutiveSummaryComponent {
|
|
|
88635
88643
|
`
|
|
88636
88644
|
}]
|
|
88637
88645
|
}], null, { summary: [{ type: i0.Input, args: [{ isSignal: true, alias: "summary", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], shopCounts: [{ type: i0.Input, args: [{ isSignal: true, alias: "shopCounts", required: false }] }], focusAreaCounts: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusAreaCounts", required: false }] }], metricCounts: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricCounts", required: false }] }], viewAllPriorityActionsClick: [{ type: i0.Output, args: ["viewAllPriorityActionsClick"] }] }); })();
|
|
88638
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UnifiedExecutiveSummaryComponent, { className: "UnifiedExecutiveSummaryComponent", filePath: "lib/components/profile-analysis-unified-dashboard/cards/unified-executive-summary.component.ts", lineNumber:
|
|
88646
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UnifiedExecutiveSummaryComponent, { className: "UnifiedExecutiveSummaryComponent", filePath: "lib/components/profile-analysis-unified-dashboard/cards/unified-executive-summary.component.ts", lineNumber: 72 }); })();
|
|
88639
88647
|
|
|
88640
88648
|
class FocusAreaHealthIndicatorComponent {
|
|
88641
88649
|
constructor() {
|
|
@@ -97140,8 +97148,8 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Template(rf,
|
|
|
97140
97148
|
i0.ɵɵadvance();
|
|
97141
97149
|
i0.ɵɵconditional(ctx_r1.shouldShowPostAnalysisShopProfile() ? 5 : -1);
|
|
97142
97150
|
} }
|
|
97143
|
-
function
|
|
97144
|
-
i0.ɵɵelement(0, "symphiq-grade-badge",
|
|
97151
|
+
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
97152
|
+
i0.ɵɵelement(0, "symphiq-grade-badge", 54);
|
|
97145
97153
|
} if (rf & 2) {
|
|
97146
97154
|
const summary_r10 = i0.ɵɵnextContext();
|
|
97147
97155
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -97149,70 +97157,63 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
|
|
|
97149
97157
|
} }
|
|
97150
97158
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
97151
97159
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
97152
|
-
i0.ɵɵelementStart(0, "section", 47)(1, "div", 50)(2, "div", 51)(3, "div", 52)(4, "
|
|
97153
|
-
i0.ɵɵtext(
|
|
97160
|
+
i0.ɵɵelementStart(0, "section", 47)(1, "div", 50)(2, "div", 51)(3, "div", 52)(4, "h2", 53);
|
|
97161
|
+
i0.ɵɵtext(5, " Executive Summary ");
|
|
97154
97162
|
i0.ɵɵelementEnd();
|
|
97155
|
-
i0.ɵɵ
|
|
97156
|
-
i0.ɵɵtext(8);
|
|
97157
|
-
i0.ɵɵelementEnd()();
|
|
97158
|
-
i0.ɵɵconditionalCreate(9, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_9_Template, 1, 3, "symphiq-grade-badge", 56);
|
|
97163
|
+
i0.ɵɵconditionalCreate(6, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_6_Template, 1, 3, "symphiq-grade-badge", 54);
|
|
97159
97164
|
i0.ɵɵelementEnd();
|
|
97160
|
-
i0.ɵɵelement(
|
|
97161
|
-
i0.ɵɵelementStart(
|
|
97162
|
-
i0.ɵɵlistener("click", function
|
|
97163
|
-
i0.ɵɵelementStart(
|
|
97164
|
-
i0.ɵɵtext(
|
|
97165
|
+
i0.ɵɵelement(7, "symphiq-analysis-narrative", 55);
|
|
97166
|
+
i0.ɵɵelementStart(8, "div", 56)(9, "button", 57);
|
|
97167
|
+
i0.ɵɵlistener("click", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_0_Template_button_click_9_listener() { const summary_r10 = i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onKeyStrengthsClick(summary_r10)); });
|
|
97168
|
+
i0.ɵɵelementStart(10, "div", 58);
|
|
97169
|
+
i0.ɵɵtext(11, " Key Strengths ");
|
|
97165
97170
|
i0.ɵɵelementEnd();
|
|
97166
|
-
i0.ɵɵelementStart(
|
|
97167
|
-
i0.ɵɵtext(
|
|
97171
|
+
i0.ɵɵelementStart(12, "div", 59);
|
|
97172
|
+
i0.ɵɵtext(13);
|
|
97168
97173
|
i0.ɵɵelementEnd();
|
|
97169
|
-
i0.ɵɵelementStart(
|
|
97170
|
-
i0.ɵɵtext(
|
|
97174
|
+
i0.ɵɵelementStart(14, "div", 60)(15, "span", 61);
|
|
97175
|
+
i0.ɵɵtext(16, "View Details");
|
|
97171
97176
|
i0.ɵɵelementEnd();
|
|
97172
|
-
i0.ɵɵelement(
|
|
97177
|
+
i0.ɵɵelement(17, "symphiq-icon", 62);
|
|
97173
97178
|
i0.ɵɵelementEnd()();
|
|
97174
|
-
i0.ɵɵelementStart(
|
|
97175
|
-
i0.ɵɵlistener("click", function
|
|
97176
|
-
i0.ɵɵelementStart(
|
|
97177
|
-
i0.ɵɵtext(
|
|
97179
|
+
i0.ɵɵelementStart(18, "button", 57);
|
|
97180
|
+
i0.ɵɵlistener("click", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_0_Template_button_click_18_listener() { const summary_r10 = i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onCriticalGapsClick(summary_r10)); });
|
|
97181
|
+
i0.ɵɵelementStart(19, "div", 58);
|
|
97182
|
+
i0.ɵɵtext(20, " Critical Gaps ");
|
|
97178
97183
|
i0.ɵɵelementEnd();
|
|
97179
|
-
i0.ɵɵelementStart(
|
|
97180
|
-
i0.ɵɵtext(
|
|
97184
|
+
i0.ɵɵelementStart(21, "div", 59);
|
|
97185
|
+
i0.ɵɵtext(22);
|
|
97181
97186
|
i0.ɵɵelementEnd();
|
|
97182
|
-
i0.ɵɵelementStart(
|
|
97183
|
-
i0.ɵɵtext(
|
|
97187
|
+
i0.ɵɵelementStart(23, "div", 60)(24, "span", 61);
|
|
97188
|
+
i0.ɵɵtext(25, "View Details");
|
|
97184
97189
|
i0.ɵɵelementEnd();
|
|
97185
|
-
i0.ɵɵelement(
|
|
97190
|
+
i0.ɵɵelement(26, "symphiq-icon", 62);
|
|
97186
97191
|
i0.ɵɵelementEnd()();
|
|
97187
|
-
i0.ɵɵelementStart(
|
|
97188
|
-
i0.ɵɵlistener("click", function
|
|
97189
|
-
i0.ɵɵelementStart(
|
|
97190
|
-
i0.ɵɵtext(
|
|
97192
|
+
i0.ɵɵelementStart(27, "button", 57);
|
|
97193
|
+
i0.ɵɵlistener("click", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_0_Template_button_click_27_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.scrollToQuickWins()); });
|
|
97194
|
+
i0.ɵɵelementStart(28, "div", 58);
|
|
97195
|
+
i0.ɵɵtext(29, " Quick Wins ");
|
|
97191
97196
|
i0.ɵɵelementEnd();
|
|
97192
|
-
i0.ɵɵelementStart(
|
|
97193
|
-
i0.ɵɵtext(
|
|
97197
|
+
i0.ɵɵelementStart(30, "div", 59);
|
|
97198
|
+
i0.ɵɵtext(31);
|
|
97194
97199
|
i0.ɵɵelementEnd();
|
|
97195
|
-
i0.ɵɵelementStart(
|
|
97196
|
-
i0.ɵɵtext(
|
|
97200
|
+
i0.ɵɵelementStart(32, "div", 60)(33, "span", 61);
|
|
97201
|
+
i0.ɵɵtext(34, "Details Below");
|
|
97197
97202
|
i0.ɵɵelementEnd();
|
|
97198
|
-
i0.ɵɵelement(
|
|
97203
|
+
i0.ɵɵelement(35, "symphiq-icon", 63);
|
|
97199
97204
|
i0.ɵɵelementEnd()()()()();
|
|
97200
|
-
i0.ɵɵelement(
|
|
97205
|
+
i0.ɵɵelement(36, "symphiq-quick-wins-grid", 64);
|
|
97201
97206
|
i0.ɵɵelementEnd();
|
|
97202
97207
|
} if (rf & 2) {
|
|
97203
|
-
let
|
|
97208
|
+
let tmp_31_0;
|
|
97204
97209
|
const summary_r10 = ctx;
|
|
97205
97210
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
97206
97211
|
i0.ɵɵadvance();
|
|
97207
97212
|
i0.ɵɵproperty("ngClass", ctx_r1.getBannerClasses());
|
|
97208
|
-
i0.ɵɵadvance(
|
|
97213
|
+
i0.ɵɵadvance(3);
|
|
97209
97214
|
i0.ɵɵproperty("ngClass", ctx_r1.getSectionTitleClasses());
|
|
97210
97215
|
i0.ɵɵadvance(2);
|
|
97211
|
-
i0.ɵɵ
|
|
97212
|
-
i0.ɵɵadvance();
|
|
97213
|
-
i0.ɵɵtextInterpolate1(" ", summary_r10.gradeRationale, " ");
|
|
97214
|
-
i0.ɵɵadvance();
|
|
97215
|
-
i0.ɵɵconditional(summary_r10.overallGrade ? 9 : -1);
|
|
97216
|
+
i0.ɵɵconditional(summary_r10.overallGrade ? 6 : -1);
|
|
97216
97217
|
i0.ɵɵadvance();
|
|
97217
97218
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("narrative", summary_r10.narrative)("napkinVisual", summary_r10.napkinVisual);
|
|
97218
97219
|
i0.ɵɵadvance(2);
|
|
@@ -97226,7 +97227,7 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
|
|
|
97226
97227
|
i0.ɵɵadvance(2);
|
|
97227
97228
|
i0.ɵɵproperty("ngClass", ctx_r1.getKeyStrengthsButtonTextClasses());
|
|
97228
97229
|
i0.ɵɵadvance(2);
|
|
97229
|
-
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(
|
|
97230
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(30, _c3$1, ctx_r1.IconSourceEnum.HEROICONS))("ngClass", ctx_r1.getKeyStrengthsButtonTextClasses());
|
|
97230
97231
|
i0.ɵɵadvance();
|
|
97231
97232
|
i0.ɵɵproperty("ngClass", ctx_r1.getCriticalGapsStatCardClasses());
|
|
97232
97233
|
i0.ɵɵadvance();
|
|
@@ -97238,7 +97239,7 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
|
|
|
97238
97239
|
i0.ɵɵadvance(2);
|
|
97239
97240
|
i0.ɵɵproperty("ngClass", ctx_r1.getCriticalGapsButtonTextClasses());
|
|
97240
97241
|
i0.ɵɵadvance(2);
|
|
97241
|
-
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(
|
|
97242
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(32, _c3$1, ctx_r1.IconSourceEnum.HEROICONS))("ngClass", ctx_r1.getCriticalGapsButtonTextClasses());
|
|
97242
97243
|
i0.ɵɵadvance();
|
|
97243
97244
|
i0.ɵɵproperty("ngClass", ctx_r1.getQuickWinsStatCardClasses());
|
|
97244
97245
|
i0.ɵɵadvance();
|
|
@@ -97250,13 +97251,13 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
|
|
|
97250
97251
|
i0.ɵɵadvance(2);
|
|
97251
97252
|
i0.ɵɵproperty("ngClass", ctx_r1.getQuickWinsButtonTextClasses());
|
|
97252
97253
|
i0.ɵɵadvance(2);
|
|
97253
|
-
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(
|
|
97254
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction1(34, _c4, ctx_r1.IconSourceEnum.HEROICONS))("ngClass", ctx_r1.getQuickWinsButtonTextClasses());
|
|
97254
97255
|
i0.ɵɵadvance();
|
|
97255
|
-
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("quickWins", ((
|
|
97256
|
+
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("quickWins", ((tmp_31_0 = ctx_r1.executiveSummary()) == null ? null : tmp_31_0.quickWins) || i0.ɵɵpureFunction0(36, _c2$3))("allGoals", ctx_r1.allGoals());
|
|
97256
97257
|
} }
|
|
97257
97258
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
97258
97259
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
97259
|
-
i0.ɵɵelementStart(0, "symphiq-metric-executive-summary",
|
|
97260
|
+
i0.ɵɵelementStart(0, "symphiq-metric-executive-summary", 65);
|
|
97260
97261
|
i0.ɵɵlistener("topPrioritiesClick", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_1_Template_symphiq_metric_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleMetricTopPrioritiesClick()); })("priorityDetailClick", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_1_Template_symphiq_metric_executive_summary_priorityDetailClick_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleMetricPriorityDetailClick($event)); })("viewMetricDetailsClick", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_1_Template_symphiq_metric_executive_summary_viewMetricDetailsClick_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleMetricViewDetailsClick()); });
|
|
97261
97262
|
i0.ɵɵelementEnd();
|
|
97262
97263
|
} if (rf & 2) {
|
|
@@ -97264,21 +97265,21 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
|
|
|
97264
97265
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("summary", ctx)("metricName", ctx_r1.metricName())("allGoals", ctx_r1.allGoals());
|
|
97265
97266
|
} }
|
|
97266
97267
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
97267
|
-
i0.ɵɵelement(0, "symphiq-section-divider",
|
|
97268
|
+
i0.ɵɵelement(0, "symphiq-section-divider", 66);
|
|
97268
97269
|
} if (rf & 2) {
|
|
97269
97270
|
const sectionList_r12 = i0.ɵɵnextContext();
|
|
97270
97271
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
97271
97272
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r12[0].icon);
|
|
97272
97273
|
} }
|
|
97273
97274
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
97274
|
-
i0.ɵɵconditionalCreate(0, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_2_Conditional_0_Template, 1, 2, "symphiq-section-divider",
|
|
97275
|
+
i0.ɵɵconditionalCreate(0, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_2_Conditional_0_Template, 1, 2, "symphiq-section-divider", 66);
|
|
97275
97276
|
} if (rf & 2) {
|
|
97276
97277
|
const sectionList_r12 = ctx;
|
|
97277
97278
|
i0.ɵɵconditional(sectionList_r12.length > 0 && sectionList_r12[0].icon ? 0 : -1);
|
|
97278
97279
|
} }
|
|
97279
97280
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
97280
|
-
i0.ɵɵelementStart(0, "div",
|
|
97281
|
-
i0.ɵɵelement(1, "symphiq-icon",
|
|
97281
|
+
i0.ɵɵelementStart(0, "div", 69);
|
|
97282
|
+
i0.ɵɵelement(1, "symphiq-icon", 73);
|
|
97282
97283
|
i0.ɵɵelementEnd();
|
|
97283
97284
|
} if (rf & 2) {
|
|
97284
97285
|
const section_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -97288,8 +97289,8 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
|
|
|
97288
97289
|
i0.ɵɵproperty("icon", section_r13.icon);
|
|
97289
97290
|
} }
|
|
97290
97291
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
97291
|
-
i0.ɵɵelementStart(0, "div",
|
|
97292
|
-
i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder",
|
|
97292
|
+
i0.ɵɵelementStart(0, "div", 75);
|
|
97293
|
+
i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 77);
|
|
97293
97294
|
i0.ɵɵelementEnd();
|
|
97294
97295
|
} if (rf & 2) {
|
|
97295
97296
|
const section_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -97298,7 +97299,7 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
|
|
|
97298
97299
|
i0.ɵɵproperty("visual", section_r13.visual)("viewMode", ctx_r1.viewMode());
|
|
97299
97300
|
} }
|
|
97300
97301
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
97301
|
-
i0.ɵɵelementStart(0, "div",
|
|
97302
|
+
i0.ɵɵelementStart(0, "div", 78)(1, "p", 79);
|
|
97302
97303
|
i0.ɵɵtext(2);
|
|
97303
97304
|
i0.ɵɵelementEnd()();
|
|
97304
97305
|
} if (rf & 2) {
|
|
@@ -97311,42 +97312,42 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
|
|
|
97311
97312
|
i0.ɵɵtextInterpolate1(" ", section_r13.description, " ");
|
|
97312
97313
|
} }
|
|
97313
97314
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
97314
|
-
i0.ɵɵelementStart(0, "div",
|
|
97315
|
-
i0.ɵɵconditionalCreate(1, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div",
|
|
97316
|
-
i0.ɵɵconditionalCreate(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div",
|
|
97315
|
+
i0.ɵɵelementStart(0, "div", 74);
|
|
97316
|
+
i0.ɵɵconditionalCreate(1, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div", 75);
|
|
97317
|
+
i0.ɵɵconditionalCreate(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div", 76);
|
|
97317
97318
|
i0.ɵɵelementEnd();
|
|
97318
97319
|
} if (rf & 2) {
|
|
97319
97320
|
const ctx_r13 = i0.ɵɵnextContext();
|
|
97320
97321
|
const section_r13 = ctx_r13.$implicit;
|
|
97321
|
-
const ɵ$
|
|
97322
|
-
i0.ɵɵclassProp("lg:flex-row-reverse", ɵ$
|
|
97322
|
+
const ɵ$index_165_r15 = ctx_r13.$index;
|
|
97323
|
+
i0.ɵɵclassProp("lg:flex-row-reverse", ɵ$index_165_r15 % 2 === 0);
|
|
97323
97324
|
i0.ɵɵadvance();
|
|
97324
97325
|
i0.ɵɵconditional(section_r13.visual && section_r13.visual.enabled ? 1 : -1);
|
|
97325
97326
|
i0.ɵɵadvance();
|
|
97326
97327
|
i0.ɵɵconditional(section_r13.description ? 2 : -1);
|
|
97327
97328
|
} }
|
|
97328
97329
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
97329
|
-
i0.ɵɵelement(0, "symphiq-section-divider",
|
|
97330
|
+
i0.ɵɵelement(0, "symphiq-section-divider", 66);
|
|
97330
97331
|
} if (rf & 2) {
|
|
97331
|
-
const ɵ$
|
|
97332
|
+
const ɵ$index_165_r15 = i0.ɵɵnextContext().$index;
|
|
97332
97333
|
const sectionList_r16 = i0.ɵɵnextContext();
|
|
97333
97334
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
97334
|
-
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r16[ɵ$
|
|
97335
|
+
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r16[ɵ$index_165_r15 + 1].icon);
|
|
97335
97336
|
} }
|
|
97336
97337
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
97337
|
-
i0.ɵɵelementStart(0, "div",
|
|
97338
|
-
i0.ɵɵconditionalCreate(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_2_Template, 2, 2, "div",
|
|
97339
|
-
i0.ɵɵelementStart(3, "div",
|
|
97338
|
+
i0.ɵɵelementStart(0, "div", 67)(1, "div", 68);
|
|
97339
|
+
i0.ɵɵconditionalCreate(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_2_Template, 2, 2, "div", 69);
|
|
97340
|
+
i0.ɵɵelementStart(3, "div", 70)(4, "h3", 53);
|
|
97340
97341
|
i0.ɵɵtext(5);
|
|
97341
97342
|
i0.ɵɵelementEnd()()();
|
|
97342
|
-
i0.ɵɵconditionalCreate(6, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_6_Template, 3, 4, "div",
|
|
97343
|
-
i0.ɵɵelement(7, "symphiq-profile-section-content",
|
|
97343
|
+
i0.ɵɵconditionalCreate(6, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_6_Template, 3, 4, "div", 71);
|
|
97344
|
+
i0.ɵɵelement(7, "symphiq-profile-section-content", 72);
|
|
97344
97345
|
i0.ɵɵelementEnd();
|
|
97345
|
-
i0.ɵɵconditionalCreate(8, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider",
|
|
97346
|
+
i0.ɵɵconditionalCreate(8, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider", 66);
|
|
97346
97347
|
} if (rf & 2) {
|
|
97347
97348
|
const section_r13 = ctx.$implicit;
|
|
97348
|
-
const ɵ$
|
|
97349
|
-
const ɵ$
|
|
97349
|
+
const ɵ$index_165_r15 = ctx.$index;
|
|
97350
|
+
const ɵ$count_165_r17 = ctx.$count;
|
|
97350
97351
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
97351
97352
|
i0.ɵɵproperty("id", "section-" + section_r13.id)("ngClass", ctx_r1.getSectionCardClasses());
|
|
97352
97353
|
i0.ɵɵadvance(2);
|
|
@@ -97358,9 +97359,9 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
|
|
|
97358
97359
|
i0.ɵɵadvance();
|
|
97359
97360
|
i0.ɵɵconditional(section_r13.description || section_r13.visual && section_r13.visual.enabled ? 6 : -1);
|
|
97360
97361
|
i0.ɵɵadvance();
|
|
97361
|
-
i0.ɵɵproperty("section", section_r13)("executiveSummary", section_r13.id === "executive-summary" ? ctx_r1.executiveSummary() : undefined)("viewMode", ctx_r1.viewMode())("sectionIndex", ɵ$
|
|
97362
|
+
i0.ɵɵproperty("section", section_r13)("executiveSummary", section_r13.id === "executive-summary" ? ctx_r1.executiveSummary() : undefined)("viewMode", ctx_r1.viewMode())("sectionIndex", ɵ$index_165_r15)("allGoals", ctx_r1.allGoals())("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("businessProfile", ctx_r1.profile());
|
|
97362
97363
|
i0.ɵɵadvance();
|
|
97363
|
-
i0.ɵɵconditional(!(ɵ$
|
|
97364
|
+
i0.ɵɵconditional(!(ɵ$index_165_r15 === ɵ$count_165_r17 - 1) ? 8 : -1);
|
|
97364
97365
|
} }
|
|
97365
97366
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
97366
97367
|
i0.ɵɵelementStart(0, "section", 49);
|
|
@@ -97371,7 +97372,7 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
|
|
|
97371
97372
|
i0.ɵɵrepeater(ctx);
|
|
97372
97373
|
} }
|
|
97373
97374
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
97374
|
-
i0.ɵɵconditionalCreate(0, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_0_Template,
|
|
97375
|
+
i0.ɵɵconditionalCreate(0, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_0_Template, 37, 37, "section", 47);
|
|
97375
97376
|
i0.ɵɵconditionalCreate(1, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_1_Template, 1, 4, "symphiq-metric-executive-summary", 48);
|
|
97376
97377
|
i0.ɵɵconditionalCreate(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_2_Template, 1, 1);
|
|
97377
97378
|
i0.ɵɵconditionalCreate(3, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_Template, 3, 0, "section", 49);
|
|
@@ -97456,7 +97457,7 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_23_Template(rf
|
|
|
97456
97457
|
} }
|
|
97457
97458
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_27_Template(rf, ctx) { if (rf & 1) {
|
|
97458
97459
|
const _r26 = i0.ɵɵgetCurrentView();
|
|
97459
|
-
i0.ɵɵelementStart(0, "symphiq-sticky-subscription-continue-button",
|
|
97460
|
+
i0.ɵɵelementStart(0, "symphiq-sticky-subscription-continue-button", 80);
|
|
97460
97461
|
i0.ɵɵlistener("continueClick", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_27_Template_symphiq_sticky_subscription_continue_button_continueClick_0_listener() { i0.ɵɵrestoreView(_r26); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleStickyButtonClick()); });
|
|
97461
97462
|
i0.ɵɵelementEnd();
|
|
97462
97463
|
} if (rf & 2) {
|
|
@@ -97465,7 +97466,7 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_27_Template(rf
|
|
|
97465
97466
|
} }
|
|
97466
97467
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_28_Template(rf, ctx) { if (rf & 1) {
|
|
97467
97468
|
const _r27 = i0.ɵɵgetCurrentView();
|
|
97468
|
-
i0.ɵɵelementStart(0, "symphiq-profile-sticky-footer",
|
|
97469
|
+
i0.ɵɵelementStart(0, "symphiq-profile-sticky-footer", 81);
|
|
97469
97470
|
i0.ɵɵlistener("continueClick", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_28_Template_symphiq_profile_sticky_footer_continueClick_0_listener() { i0.ɵɵrestoreView(_r27); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleShopProfileContinueClick()); });
|
|
97470
97471
|
i0.ɵɵelementEnd();
|
|
97471
97472
|
} if (rf & 2) {
|
|
@@ -97474,18 +97475,18 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_28_Template(rf
|
|
|
97474
97475
|
} }
|
|
97475
97476
|
function SymphiqProfileShopAnalysisDashboardComponent_Conditional_29_Template(rf, ctx) { if (rf & 1) {
|
|
97476
97477
|
const _r28 = i0.ɵɵgetCurrentView();
|
|
97477
|
-
i0.ɵɵelementStart(0, "div", 27)(1, "div",
|
|
97478
|
+
i0.ɵɵelementStart(0, "div", 27)(1, "div", 82)(2, "div", 83)(3, "button", 84);
|
|
97478
97479
|
i0.ɵɵlistener("click", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_29_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r28); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleCancelCurrencyEdit()); });
|
|
97479
97480
|
i0.ɵɵtext(4, " Cancel ");
|
|
97480
97481
|
i0.ɵɵelementEnd();
|
|
97481
|
-
i0.ɵɵelementStart(5, "button",
|
|
97482
|
+
i0.ɵɵelementStart(5, "button", 85);
|
|
97482
97483
|
i0.ɵɵlistener("click", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_29_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r28); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleContinueToPlans()); });
|
|
97483
97484
|
i0.ɵɵelementStart(6, "span");
|
|
97484
97485
|
i0.ɵɵtext(7, "Continue to Plans");
|
|
97485
97486
|
i0.ɵɵelementEnd();
|
|
97486
97487
|
i0.ɵɵnamespaceSVG();
|
|
97487
|
-
i0.ɵɵelementStart(8, "svg",
|
|
97488
|
-
i0.ɵɵelement(9, "path",
|
|
97488
|
+
i0.ɵɵelementStart(8, "svg", 86);
|
|
97489
|
+
i0.ɵɵelement(9, "path", 87);
|
|
97489
97490
|
i0.ɵɵelementEnd()()()()();
|
|
97490
97491
|
} if (rf & 2) {
|
|
97491
97492
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -98539,7 +98540,7 @@ class SymphiqProfileShopAnalysisDashboardComponent {
|
|
|
98539
98540
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.planSelectionContainer = _t.first);
|
|
98540
98541
|
} }, hostBindings: function SymphiqProfileShopAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
98541
98542
|
i0.ɵɵlistener("scroll", function SymphiqProfileShopAnalysisDashboardComponent_scroll_HostBindingHandler() { return ctx.onWindowScroll(); }, i0.ɵɵresolveWindow);
|
|
98542
|
-
} }, 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: 61, consts: [["shopProfileStatusCard", ""], ["planSelectionContainer", ""], [1, "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"], [3, "viewMode", "progress", "embedded"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate", "showSearchControl", "showViewModeControl", "embedded", "scrollEvent"], [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"], [1, "mb-12"], ["title", "Loading Your Shop Profile Analysis", "subtitle", "Please wait while we prepare your personalized insights...", "size", "large", 3, "viewMode", "backdropBlur"], [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, "objectives", "goalTitle", "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", "isLoading"], [3, "nextStepClick", "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "viewMode", "businessName", "isOnboarded", "analysisDate", "isShopProfileComplete"], [3, "viewMode", "metricName", "isOnboarded", "analysisDate"], [1, "mb-8"], [3, "viewMode", "totalQuestions", "answeredQuestions", "questions", "profileAnswers", "profileAnswerHistories", "users", "config", "groupConfig", "currentUser"], [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, "
|
|
98543
|
+
} }, 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: 61, consts: [["shopProfileStatusCard", ""], ["planSelectionContainer", ""], [1, "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"], [3, "viewMode", "progress", "embedded"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate", "showSearchControl", "showViewModeControl", "embedded", "scrollEvent"], [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"], [1, "mb-12"], ["title", "Loading Your Shop Profile Analysis", "subtitle", "Please wait while we prepare your personalized insights...", "size", "large", 3, "viewMode", "backdropBlur"], [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, "objectives", "goalTitle", "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", "isLoading"], [3, "nextStepClick", "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "viewMode", "businessName", "isOnboarded", "analysisDate", "isShopProfileComplete"], [3, "viewMode", "metricName", "isOnboarded", "analysisDate"], [1, "mb-8"], [3, "viewMode", "totalQuestions", "answeredQuestions", "questions", "profileAnswers", "profileAnswerHistories", "users", "config", "groupConfig", "currentUser"], [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, "text-2xl", "font-bold", 3, "ngClass"], [3, "grade", "gradeRationale", "viewMode"], [3, "viewMode", "narrative", "napkinVisual"], [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"], [3, "viewMode", "quickWins", "allGoals"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMetricDetailsClick", "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, "flex-1"], [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"], [3, "visual", "viewMode"], [1, "w-full"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"], [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) {
|
|
98543
98544
|
i0.ɵɵelementStart(0, "div", 2);
|
|
98544
98545
|
i0.ɵɵelement(1, "div", 3)(2, "symphiq-scroll-progress-bar", 4);
|
|
98545
98546
|
i0.ɵɵelementStart(3, "div", 5)(4, "symphiq-dashboard-header", 6);
|
|
@@ -98905,14 +98906,9 @@ class SymphiqProfileShopAnalysisDashboardComponent {
|
|
|
98905
98906
|
<div [ngClass]="getBannerClasses()" class="rounded-2xl p-8 shadow-xl">
|
|
98906
98907
|
<div class="space-y-6">
|
|
98907
98908
|
<div class="flex items-start justify-between gap-4">
|
|
98908
|
-
<
|
|
98909
|
-
|
|
98910
|
-
|
|
98911
|
-
</h2>
|
|
98912
|
-
<p [ngClass]="getTextClasses()" class="text-lg leading-relaxed">
|
|
98913
|
-
{{ summary.gradeRationale }}
|
|
98914
|
-
</p>
|
|
98915
|
-
</div>
|
|
98909
|
+
<h2 [ngClass]="getSectionTitleClasses()" class="text-2xl font-bold">
|
|
98910
|
+
Executive Summary
|
|
98911
|
+
</h2>
|
|
98916
98912
|
@if (summary.overallGrade) {
|
|
98917
98913
|
<symphiq-grade-badge
|
|
98918
98914
|
[grade]="summary.overallGrade"
|
|
@@ -99315,7 +99311,7 @@ class SymphiqProfileShopAnalysisDashboardComponent {
|
|
|
99315
99311
|
type: HostListener,
|
|
99316
99312
|
args: ['window:scroll']
|
|
99317
99313
|
}] }); })();
|
|
99318
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileShopAnalysisDashboardComponent, { className: "SymphiqProfileShopAnalysisDashboardComponent", filePath: "lib/components/profile-analysis-shop-dashboard/symphiq-profile-shop-analysis-dashboard.component.ts", lineNumber:
|
|
99314
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileShopAnalysisDashboardComponent, { className: "SymphiqProfileShopAnalysisDashboardComponent", filePath: "lib/components/profile-analysis-shop-dashboard/symphiq-profile-shop-analysis-dashboard.component.ts", lineNumber: 779 }); })();
|
|
99319
99315
|
|
|
99320
99316
|
function ContinueFooterComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
99321
99317
|
i0.ɵɵnamespaceSVG();
|
|
@@ -107115,7 +107111,9 @@ function UnifiedGoalsProgressFooterComponent_Conditional_13_Template(rf, ctx) {
|
|
|
107115
107111
|
i0.ɵɵelement(2, "path", 20);
|
|
107116
107112
|
i0.ɵɵelementEnd();
|
|
107117
107113
|
i0.ɵɵtext(3, " Integrate Goals ");
|
|
107118
|
-
i0.ɵɵ
|
|
107114
|
+
i0.ɵɵelementStart(4, "svg", 19);
|
|
107115
|
+
i0.ɵɵelement(5, "path", 21);
|
|
107116
|
+
i0.ɵɵelementEnd()();
|
|
107119
107117
|
} if (rf & 2) {
|
|
107120
107118
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
107121
107119
|
i0.ɵɵproperty("ngClass", ctx_r0.integrateButtonClasses());
|
|
@@ -107199,7 +107197,7 @@ class UnifiedGoalsProgressFooterComponent {
|
|
|
107199
107197
|
this.integrateGoals.emit(this.goalActionStateService.getOutput(this.goalIds()));
|
|
107200
107198
|
}
|
|
107201
107199
|
static { this.ɵfac = function UnifiedGoalsProgressFooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UnifiedGoalsProgressFooterComponent)(); }; }
|
|
107202
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UnifiedGoalsProgressFooterComponent, selectors: [["symphiq-unified-goals-progress-footer"]], inputs: { goalIds: [1, "goalIds"], viewMode: [1, "viewMode"] }, outputs: { integrateGoals: "integrateGoals" }, decls: 15, vars: 11, consts: [[1, "fixed", "bottom-0", "left-0", "right-0", "z-100", "border-t", "backdrop-blur-xl", "transition-all", "duration-300", 3, "ngClass"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4"], [1, "flex", "flex-col", "sm:flex-row", "items-center", "justify-between", "gap-4"], [1, "flex-1", "w-full", "sm:w-auto"], [1, "flex", "items-center", "justify-between", "mb-2"], [1, "text-sm", "font-medium", 3, "ngClass"], [1, "text-sm", "font-semibold", 3, "ngClass"], [1, "h-2", "rounded-full", "overflow-hidden", 3, "ngClass"], [1, "h-full", "rounded-full", "transition-all", "duration-500", "ease-out", 3, "ngClass"], [1, "flex", "items-center", "gap-4", "mt-2"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "inline-flex", "items-center", "gap-
|
|
107200
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UnifiedGoalsProgressFooterComponent, selectors: [["symphiq-unified-goals-progress-footer"]], inputs: { goalIds: [1, "goalIds"], viewMode: [1, "viewMode"] }, outputs: { integrateGoals: "integrateGoals" }, decls: 15, vars: 11, consts: [[1, "fixed", "bottom-0", "left-0", "right-0", "z-100", "border-t", "backdrop-blur-xl", "transition-all", "duration-300", 3, "ngClass"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4"], [1, "flex", "flex-col", "sm:flex-row", "items-center", "justify-between", "gap-4"], [1, "flex-1", "w-full", "sm:w-auto"], [1, "flex", "items-center", "justify-between", "mb-2"], [1, "text-sm", "font-medium", 3, "ngClass"], [1, "text-sm", "font-semibold", 3, "ngClass"], [1, "h-2", "rounded-full", "overflow-hidden", 3, "ngClass"], [1, "h-full", "rounded-full", "transition-all", "duration-500", "ease-out", 3, "ngClass"], [1, "flex", "items-center", "gap-4", "mt-2"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "w-full", "sm:w-auto", "inline-flex", "items-center", "justify-center", "gap-3", "px-8", "py-3.5", "rounded-xl", "font-bold", "text-base", "transition-all", "duration-200", "hover:scale-105", "active:scale-95", "cursor-pointer", "animate-integrate-glow", "hover-glow", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "flex", "items-center", "gap-1.5"], [1, "w-2", "h-2", "rounded-full", "bg-emerald-500"], [1, "text-xs", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-amber-500"], [1, "w-2", "h-2", "rounded-full", "bg-slate-400"], ["type", "button", 1, "w-full", "sm:w-auto", "inline-flex", "items-center", "justify-center", "gap-3", "px-8", "py-3.5", "rounded-xl", "font-bold", "text-base", "transition-all", "duration-200", "hover:scale-105", "active:scale-95", "cursor-pointer", "animate-integrate-glow", "hover-glow", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 10V3L4 14h7v7l9-11h-7z"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"]], template: function UnifiedGoalsProgressFooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
107203
107201
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "span", 5);
|
|
107204
107202
|
i0.ɵɵtext(6, " Goals Reviewed ");
|
|
107205
107203
|
i0.ɵɵelementEnd();
|
|
@@ -107212,7 +107210,7 @@ class UnifiedGoalsProgressFooterComponent {
|
|
|
107212
107210
|
i0.ɵɵconditionalCreate(11, UnifiedGoalsProgressFooterComponent_Conditional_11_Template, 4, 3, "div", 9);
|
|
107213
107211
|
i0.ɵɵelementEnd();
|
|
107214
107212
|
i0.ɵɵelementStart(12, "div", 10);
|
|
107215
|
-
i0.ɵɵconditionalCreate(13, UnifiedGoalsProgressFooterComponent_Conditional_13_Template,
|
|
107213
|
+
i0.ɵɵconditionalCreate(13, UnifiedGoalsProgressFooterComponent_Conditional_13_Template, 6, 1, "button", 11)(14, UnifiedGoalsProgressFooterComponent_Conditional_14_Template, 2, 1, "div", 12);
|
|
107216
107214
|
i0.ɵɵelementEnd()()()();
|
|
107217
107215
|
} if (rf & 2) {
|
|
107218
107216
|
i0.ɵɵproperty("ngClass", ctx.containerClasses());
|
|
@@ -107231,16 +107229,11 @@ class UnifiedGoalsProgressFooterComponent {
|
|
|
107231
107229
|
i0.ɵɵconditional(ctx.completedCount() > 0 ? 11 : -1);
|
|
107232
107230
|
i0.ɵɵadvance(2);
|
|
107233
107231
|
i0.ɵɵconditional(ctx.allReviewed() ? 13 : 14);
|
|
107234
|
-
} }, dependencies: [CommonModule, i1$1.NgClass],
|
|
107232
|
+
} }, dependencies: [CommonModule, i1$1.NgClass], styles: ["@keyframes _ngcontent-%COMP%_integrate-glow{0%,to{box-shadow:0 0 20px #10b98166,0 0 40px #06b6d433}50%{box-shadow:0 0 30px 5px #10b98199,0 0 60px 5px #06b6d44d}}.animate-integrate-glow[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_integrate-glow 2s ease-in-out infinite}.hover-glow[_ngcontent-%COMP%]:hover{box-shadow:0 0 35px 8px #10b981b3,0 0 70px 10px #06b6d466}"], changeDetection: 0 }); }
|
|
107235
107233
|
}
|
|
107236
107234
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UnifiedGoalsProgressFooterComponent, [{
|
|
107237
107235
|
type: Component,
|
|
107238
|
-
args: [{
|
|
107239
|
-
selector: 'symphiq-unified-goals-progress-footer',
|
|
107240
|
-
standalone: true,
|
|
107241
|
-
imports: [CommonModule],
|
|
107242
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
107243
|
-
template: `
|
|
107236
|
+
args: [{ selector: 'symphiq-unified-goals-progress-footer', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
107244
107237
|
<div [ngClass]="containerClasses()" class="fixed bottom-0 left-0 right-0 z-100 border-t backdrop-blur-xl transition-all duration-300">
|
|
107245
107238
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
|
|
107246
107239
|
<div class="flex flex-col sm:flex-row items-center justify-between gap-4">
|
|
@@ -107290,11 +107283,14 @@ class UnifiedGoalsProgressFooterComponent {
|
|
|
107290
107283
|
type="button"
|
|
107291
107284
|
(click)="onIntegrateClick()"
|
|
107292
107285
|
[ngClass]="integrateButtonClasses()"
|
|
107293
|
-
class="inline-flex items-center gap-
|
|
107286
|
+
class="w-full sm:w-auto inline-flex items-center justify-center gap-3 px-8 py-3.5 rounded-xl font-bold text-base transition-all duration-200 hover:scale-105 active:scale-95 cursor-pointer animate-integrate-glow hover-glow">
|
|
107294
107287
|
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
107295
107288
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/>
|
|
107296
107289
|
</svg>
|
|
107297
107290
|
Integrate Goals
|
|
107291
|
+
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
107292
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
|
|
107293
|
+
</svg>
|
|
107298
107294
|
</button>
|
|
107299
107295
|
} @else {
|
|
107300
107296
|
<div [ngClass]="hintClasses()" class="text-sm">
|
|
@@ -107305,10 +107301,9 @@ class UnifiedGoalsProgressFooterComponent {
|
|
|
107305
107301
|
</div>
|
|
107306
107302
|
</div>
|
|
107307
107303
|
</div>
|
|
107308
|
-
|
|
107309
|
-
}]
|
|
107304
|
+
`, styles: ["@keyframes integrate-glow{0%,to{box-shadow:0 0 20px #10b98166,0 0 40px #06b6d433}50%{box-shadow:0 0 30px 5px #10b98199,0 0 60px 5px #06b6d44d}}.animate-integrate-glow{animation:integrate-glow 2s ease-in-out infinite}.hover-glow:hover{box-shadow:0 0 35px 8px #10b981b3,0 0 70px 10px #06b6d466}\n"] }]
|
|
107310
107305
|
}], null, { goalIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "goalIds", required: true }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], integrateGoals: [{ type: i0.Output, args: ["integrateGoals"] }] }); })();
|
|
107311
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UnifiedGoalsProgressFooterComponent, { className: "UnifiedGoalsProgressFooterComponent", filePath: "lib/components/profile-analysis-unified-dashboard/unified-goals-progress-footer.component.ts", lineNumber:
|
|
107306
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UnifiedGoalsProgressFooterComponent, { className: "UnifiedGoalsProgressFooterComponent", filePath: "lib/components/profile-analysis-unified-dashboard/unified-goals-progress-footer.component.ts", lineNumber: 97 }); })();
|
|
107312
107307
|
|
|
107313
107308
|
function SymphiqProfileAnalysisUnifiedDashboardComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
107314
107309
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -107317,7 +107312,7 @@ function SymphiqProfileAnalysisUnifiedDashboardComponent_Conditional_5_Template(
|
|
|
107317
107312
|
i0.ɵɵelementEnd();
|
|
107318
107313
|
} if (rf & 2) {
|
|
107319
107314
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
107320
|
-
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("currentStepId", ctx_r1.JourneyStepIdEnum.UNIFIED_ANALYSIS)("showNextStepAction",
|
|
107315
|
+
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("currentStepId", ctx_r1.JourneyStepIdEnum.UNIFIED_ANALYSIS)("showNextStepAction", ctx_r1.allGoalsReviewed())("forDemo", ctx_r1.forDemo())("maxAccessibleStepId", ctx_r1.maxAccessibleStepId());
|
|
107321
107316
|
} }
|
|
107322
107317
|
function SymphiqProfileAnalysisUnifiedDashboardComponent_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
107323
107318
|
i0.ɵɵelement(0, "symphiq-loading-card", 16);
|
|
@@ -107454,6 +107449,7 @@ class SymphiqProfileAnalysisUnifiedDashboardComponent {
|
|
|
107454
107449
|
this.modalService = inject(ModalService);
|
|
107455
107450
|
this.viewModeService = inject(ViewModeService);
|
|
107456
107451
|
this.profileContextService = inject(ProfileContextService);
|
|
107452
|
+
this.goalActionStateService = inject(GoalActionStateService);
|
|
107457
107453
|
this.IconSourceEnum = IconSourceEnum;
|
|
107458
107454
|
this.ProfileAnalysisTypeEnum = ProfileAnalysisTypeEnum;
|
|
107459
107455
|
this.JourneyStepIdEnum = JourneyStepIdEnum;
|
|
@@ -107551,6 +107547,14 @@ class SymphiqProfileAnalysisUnifiedDashboardComponent {
|
|
|
107551
107547
|
this.unifiedGoalIds = computed(() => {
|
|
107552
107548
|
return this.unifiedGoals().map(g => g.id).filter((id) => !!id);
|
|
107553
107549
|
}, ...(ngDevMode ? [{ debugName: "unifiedGoalIds" }] : []));
|
|
107550
|
+
this.allGoalsReviewed = computed(() => {
|
|
107551
|
+
this.goalActionStateService.states();
|
|
107552
|
+
const goalIds = this.unifiedGoalIds();
|
|
107553
|
+
if (goalIds.length === 0)
|
|
107554
|
+
return false;
|
|
107555
|
+
const states = this.goalActionStateService.getStatesByGoalIds(goalIds);
|
|
107556
|
+
return Object.keys(states).length === goalIds.length;
|
|
107557
|
+
}, ...(ngDevMode ? [{ debugName: "allGoalsReviewed" }] : []));
|
|
107554
107558
|
this.shouldShowProgressFooter = computed(() => {
|
|
107555
107559
|
const goals = this.unifiedGoals();
|
|
107556
107560
|
return goals.length > 0 && !this.isLoading() && !this.isGenerating();
|
|
@@ -107822,10 +107826,15 @@ class SymphiqProfileAnalysisUnifiedDashboardComponent {
|
|
|
107822
107826
|
}, ...(ngDevMode ? [{ debugName: "embeddedScrollEffect" }] : []));
|
|
107823
107827
|
this.profileIndexEffect = effect(() => {
|
|
107824
107828
|
const profileToUse = this.profile();
|
|
107829
|
+
console.log('[UnifiedDashboard] profileIndexEffect - profile:', !!profileToUse, 'sections:', profileToUse?.profileStructured?.sections?.length, 'recommendations:', profileToUse?.profileStructured?.recommendations?.length);
|
|
107825
107830
|
if (profileToUse?.profileStructured?.sections) {
|
|
107826
107831
|
const recommendations = profileToUse.profileStructured?.recommendations || [];
|
|
107832
|
+
console.log('[UnifiedDashboard] profileIndexEffect - calling indexProfile with', profileToUse.profileStructured.sections.length, 'sections and', recommendations.length, 'recommendations');
|
|
107827
107833
|
this.profileContextService.indexProfile(profileToUse.profileStructured.sections, recommendations);
|
|
107828
107834
|
}
|
|
107835
|
+
else {
|
|
107836
|
+
console.log('[UnifiedDashboard] profileIndexEffect - NO profile data to index');
|
|
107837
|
+
}
|
|
107829
107838
|
}, ...(ngDevMode ? [{ debugName: "profileIndexEffect" }] : []));
|
|
107830
107839
|
this.pendingSourceRequestEffect = effect(() => {
|
|
107831
107840
|
const pending = this.pendingSourceRequest();
|
|
@@ -108064,6 +108073,19 @@ class SymphiqProfileAnalysisUnifiedDashboardComponent {
|
|
|
108064
108073
|
const sections = structured?.sections || [];
|
|
108065
108074
|
const goals = sections.flatMap(section => section.goals || []);
|
|
108066
108075
|
const goal = goals.find(g => g.id === sourceGoalId);
|
|
108076
|
+
const recommendations = [];
|
|
108077
|
+
for (const g of goals) {
|
|
108078
|
+
for (const obj of g.objectives || []) {
|
|
108079
|
+
for (const strat of obj.strategies || []) {
|
|
108080
|
+
for (const rec of strat.recommendations || []) {
|
|
108081
|
+
recommendations.push(rec);
|
|
108082
|
+
}
|
|
108083
|
+
}
|
|
108084
|
+
}
|
|
108085
|
+
}
|
|
108086
|
+
const profileSections = sections;
|
|
108087
|
+
console.log('[SourceAnalysis] openSourceGoalModal - indexing source analysis with', profileSections.length, 'sections and', recommendations.length, 'recommendations');
|
|
108088
|
+
this.profileContextService.indexProfile(profileSections, recommendations);
|
|
108067
108089
|
if (goal) {
|
|
108068
108090
|
const currentModalState = this.modalService.getCurrentState();
|
|
108069
108091
|
if (analysisType) {
|
|
@@ -108477,7 +108499,7 @@ class SymphiqProfileAnalysisUnifiedDashboardComponent {
|
|
|
108477
108499
|
<symphiq-journey-progress-indicator
|
|
108478
108500
|
[viewMode]="viewMode()"
|
|
108479
108501
|
[currentStepId]="JourneyStepIdEnum.UNIFIED_ANALYSIS"
|
|
108480
|
-
[showNextStepAction]="
|
|
108502
|
+
[showNextStepAction]="allGoalsReviewed()"
|
|
108481
108503
|
[forDemo]="forDemo()"
|
|
108482
108504
|
[maxAccessibleStepId]="maxAccessibleStepId()"
|
|
108483
108505
|
(nextStepClick)="nextStepClick.emit()"
|