@eric-emg/symphiq-components 1.2.113 → 1.2.114
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 +56 -63
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +7 -10
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -53728,7 +53728,7 @@ function SymphiqBusinessAnalysisDashboardComponent_Conditional_41_Conditional_0_
|
|
|
53728
53728
|
i0.ɵɵelement(0, "symphiq-journey-progress-indicator", 26);
|
|
53729
53729
|
} if (rf & 2) {
|
|
53730
53730
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
53731
|
-
i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("currentStepId", "business-analysis")("showNextStepAction", true);
|
|
53731
|
+
i0.ɵɵproperty("viewMode", ctx_r0.viewMode())("currentStepId", "business-analysis")("showNextStepAction", true);
|
|
53732
53732
|
} }
|
|
53733
53733
|
function SymphiqBusinessAnalysisDashboardComponent_Conditional_41_Template(rf, ctx) { if (rf & 1) {
|
|
53734
53734
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
@@ -53747,11 +53747,11 @@ function SymphiqBusinessAnalysisDashboardComponent_Conditional_41_Template(rf, c
|
|
|
53747
53747
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
53748
53748
|
i0.ɵɵconditional(!ctx_r0.isOnboarded() ? 0 : -1);
|
|
53749
53749
|
i0.ɵɵadvance(3);
|
|
53750
|
-
i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("businessName", ((tmp_3_0 = ctx_r0.currentProfile()) == null ? null : tmp_3_0.profileStructured == null ? null : tmp_3_0.profileStructured.businessName) || "your business")("isOnboarded", ctx_r0.isOnboarded());
|
|
53750
|
+
i0.ɵɵproperty("viewMode", ctx_r0.viewMode())("businessName", ((tmp_3_0 = ctx_r0.currentProfile()) == null ? null : tmp_3_0.profileStructured == null ? null : tmp_3_0.profileStructured.businessName) || "your business")("isOnboarded", ctx_r0.isOnboarded());
|
|
53751
53751
|
i0.ɵɵadvance(2);
|
|
53752
|
-
i0.ɵɵproperty("recommendations", ctx_r0.recommendationItems())("viewMode", ctx_r0.viewMode);
|
|
53752
|
+
i0.ɵɵproperty("recommendations", ctx_r0.recommendationItems())("viewMode", ctx_r0.viewMode());
|
|
53753
53753
|
i0.ɵɵadvance(2);
|
|
53754
|
-
i0.ɵɵproperty("sections", ctx_r0.nonRecommendationSections())("viewMode", ctx_r0.viewMode);
|
|
53754
|
+
i0.ɵɵproperty("sections", ctx_r0.nonRecommendationSections())("viewMode", ctx_r0.viewMode());
|
|
53755
53755
|
} }
|
|
53756
53756
|
function SymphiqBusinessAnalysisDashboardComponent_Conditional_42_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
53757
53757
|
i0.ɵɵelementStart(0, "div", 32);
|
|
@@ -53761,7 +53761,7 @@ function SymphiqBusinessAnalysisDashboardComponent_Conditional_42_For_1_Conditio
|
|
|
53761
53761
|
const ɵ$index_109_r3 = i0.ɵɵnextContext().$index;
|
|
53762
53762
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
53763
53763
|
i0.ɵɵadvance();
|
|
53764
|
-
i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("subsections", ctx_r0.sections()[ɵ$index_109_r3 + 1].subsections);
|
|
53764
|
+
i0.ɵɵproperty("viewMode", ctx_r0.viewMode())("subsections", ctx_r0.sections()[ɵ$index_109_r3 + 1].subsections);
|
|
53765
53765
|
} }
|
|
53766
53766
|
function SymphiqBusinessAnalysisDashboardComponent_Conditional_42_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
53767
53767
|
i0.ɵɵelement(0, "symphiq-profile-section", 31);
|
|
@@ -53771,7 +53771,7 @@ function SymphiqBusinessAnalysisDashboardComponent_Conditional_42_For_1_Template
|
|
|
53771
53771
|
const ɵ$index_109_r3 = ctx.$index;
|
|
53772
53772
|
const ɵ$count_109_r5 = ctx.$count;
|
|
53773
53773
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
53774
|
-
i0.ɵɵproperty("section", section_r4)("viewMode", ctx_r0.viewMode)("forceExpanded", !ctx_r0.isCompactView());
|
|
53774
|
+
i0.ɵɵproperty("section", section_r4)("viewMode", ctx_r0.viewMode())("forceExpanded", !ctx_r0.isCompactView());
|
|
53775
53775
|
i0.ɵɵadvance();
|
|
53776
53776
|
i0.ɵɵconditional(!(ɵ$index_109_r3 === ɵ$count_109_r5 - 1) ? 1 : -1);
|
|
53777
53777
|
} }
|
|
@@ -53785,13 +53785,13 @@ function SymphiqBusinessAnalysisDashboardComponent_Conditional_43_Template(rf, c
|
|
|
53785
53785
|
i0.ɵɵelement(0, "symphiq-section-navigation", 20);
|
|
53786
53786
|
} if (rf & 2) {
|
|
53787
53787
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
53788
|
-
i0.ɵɵproperty("sections", ctx_r0.sections())("viewMode", ctx_r0.viewMode)("embedded", ctx_r0.embedded);
|
|
53788
|
+
i0.ɵɵproperty("sections", ctx_r0.sections())("viewMode", ctx_r0.viewMode())("embedded", ctx_r0.embedded());
|
|
53789
53789
|
} }
|
|
53790
53790
|
function SymphiqBusinessAnalysisDashboardComponent_Conditional_44_Template(rf, ctx) { if (rf & 1) {
|
|
53791
53791
|
i0.ɵɵelement(0, "symphiq-floating-toc", 20);
|
|
53792
53792
|
} if (rf & 2) {
|
|
53793
53793
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
53794
|
-
i0.ɵɵproperty("sections", ctx_r0.sections())("viewMode", ctx_r0.viewMode)("embedded", ctx_r0.embedded);
|
|
53794
|
+
i0.ɵɵproperty("sections", ctx_r0.sections())("viewMode", ctx_r0.viewMode())("embedded", ctx_r0.embedded());
|
|
53795
53795
|
} }
|
|
53796
53796
|
function SymphiqBusinessAnalysisDashboardComponent_Conditional_46_Template(rf, ctx) { if (rf & 1) {
|
|
53797
53797
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -53817,9 +53817,11 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53817
53817
|
return hasItems || hasContent || hasVisual;
|
|
53818
53818
|
}
|
|
53819
53819
|
constructor() {
|
|
53820
|
-
this.
|
|
53821
|
-
this.
|
|
53822
|
-
this.parentHeaderOffset = 0;
|
|
53820
|
+
this.embedded = input(false, ...(ngDevMode ? [{ debugName: "embedded" }] : []));
|
|
53821
|
+
this.profile = input(...(ngDevMode ? [undefined, { debugName: "profile" }] : []));
|
|
53822
|
+
this.parentHeaderOffset = input(0, ...(ngDevMode ? [{ debugName: "parentHeaderOffset" }] : []));
|
|
53823
|
+
this.requestedByUser = input(...(ngDevMode ? [undefined, { debugName: "requestedByUser" }] : []));
|
|
53824
|
+
this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
|
|
53823
53825
|
this.scrollEvent = input(...(ngDevMode ? [undefined, { debugName: "scrollEvent" }] : []));
|
|
53824
53826
|
this.scrollElement = input(...(ngDevMode ? [undefined, { debugName: "scrollElement" }] : []));
|
|
53825
53827
|
this.isLoading = input(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
|
|
@@ -53832,7 +53834,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53832
53834
|
this.modalService = inject(ModalService);
|
|
53833
53835
|
this.currentProfile = signal(undefined, ...(ngDevMode ? [{ debugName: "currentProfile" }] : []));
|
|
53834
53836
|
this.scrollProgress = computed(() => this.headerScrollService.scrollProgress(), ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
|
|
53835
|
-
this.isLightMode = computed(() => this.viewMode === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
53837
|
+
this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
53836
53838
|
this.displayMode = signal(DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "displayMode" }] : []));
|
|
53837
53839
|
this.isCompactView = computed(() => this.displayMode() === DisplayModeEnum.COMPACT, ...(ngDevMode ? [{ debugName: "isCompactView" }] : []));
|
|
53838
53840
|
this.isSimplifiedView = computed(() => this.displayMode() === DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "isSimplifiedView" }] : []));
|
|
@@ -53876,7 +53878,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53876
53878
|
this.scrollDirection = 'down';
|
|
53877
53879
|
}
|
|
53878
53880
|
onScroll() {
|
|
53879
|
-
this.headerScrollService.handleScroll(this.embedded);
|
|
53881
|
+
this.headerScrollService.handleScroll(this.embedded());
|
|
53880
53882
|
const navState = this.navigationService.getNavigationState()();
|
|
53881
53883
|
if (navState.sourceElementId && navState.targetElementId && !navState.isBackButtonVisible) {
|
|
53882
53884
|
const currentScrollPosition = window.scrollY;
|
|
@@ -53917,10 +53919,10 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53917
53919
|
label: recommendation.title,
|
|
53918
53920
|
value: recommendation.description
|
|
53919
53921
|
};
|
|
53920
|
-
this.modalService.openItemDetailModal(itemAdapter, this.viewMode, 'recommendation', 'Strategic Insights', recommendation.title, undefined, this.isSimplifiedView() || this.isCompactView());
|
|
53922
|
+
this.modalService.openItemDetailModal(itemAdapter, this.viewMode(), 'recommendation', 'Strategic Insights', recommendation.title, undefined, this.isSimplifiedView() || this.isCompactView());
|
|
53921
53923
|
}
|
|
53922
53924
|
getViewModeButtonClasses() {
|
|
53923
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
53925
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
53924
53926
|
if (isDark) {
|
|
53925
53927
|
return 'bg-slate-800/60 border border-slate-700/50 text-slate-300 hover:bg-slate-700/60 hover:border-slate-600/50';
|
|
53926
53928
|
}
|
|
@@ -54034,14 +54036,15 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54034
54036
|
}, 2000);
|
|
54035
54037
|
}
|
|
54036
54038
|
ngOnInit() {
|
|
54037
|
-
this.currentProfile.set(this.profile);
|
|
54038
|
-
this.lookupService.setProfile(this.profile);
|
|
54039
|
-
|
|
54040
|
-
|
|
54039
|
+
this.currentProfile.set(this.profile());
|
|
54040
|
+
this.lookupService.setProfile(this.profile());
|
|
54041
|
+
const profile = this.profile();
|
|
54042
|
+
if (profile) {
|
|
54043
|
+
this.searchService.setProfile(profile);
|
|
54041
54044
|
}
|
|
54042
|
-
if (
|
|
54043
|
-
const recommendations =
|
|
54044
|
-
this.profileContextService.indexProfile(
|
|
54045
|
+
if (profile?.profileStructured?.sections) {
|
|
54046
|
+
const recommendations = profile.profileStructured?.recommendations;
|
|
54047
|
+
this.profileContextService.indexProfile(profile.profileStructured.sections, recommendations);
|
|
54045
54048
|
}
|
|
54046
54049
|
}
|
|
54047
54050
|
ngAfterViewInit() {
|
|
@@ -54180,28 +54183,28 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54180
54183
|
}
|
|
54181
54184
|
}
|
|
54182
54185
|
getContainerClasses() {
|
|
54183
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54186
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54184
54187
|
const bgColor = isDark ? 'bg-slate-900' : 'bg-slate-50';
|
|
54185
|
-
const positioning = this.embedded ? '' : 'relative';
|
|
54188
|
+
const positioning = this.embedded() ? '' : 'relative';
|
|
54186
54189
|
return `${positioning} min-h-screen ${bgColor}`.trim();
|
|
54187
54190
|
}
|
|
54188
54191
|
getBackgroundClasses() {
|
|
54189
|
-
const positioning = this.embedded ? 'absolute' : 'fixed';
|
|
54192
|
+
const positioning = this.embedded() ? 'absolute' : 'fixed';
|
|
54190
54193
|
return `${positioning} inset-0 overflow-hidden pointer-events-none`;
|
|
54191
54194
|
}
|
|
54192
54195
|
getMeshGradientClasses() {
|
|
54193
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54196
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54194
54197
|
if (isDark) {
|
|
54195
54198
|
return 'absolute inset-0 opacity-30 bg-gradient-to-br from-blue-900/20 via-purple-900/20 to-slate-900';
|
|
54196
54199
|
}
|
|
54197
54200
|
return 'absolute inset-0 opacity-30 bg-gradient-to-br from-blue-100/50 via-purple-100/50 to-slate-50';
|
|
54198
54201
|
}
|
|
54199
54202
|
getTopoPatternClasses() {
|
|
54200
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54203
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54201
54204
|
return isDark ? 'absolute inset-0 opacity-5' : 'absolute inset-0 opacity-5 mix-blend-overlay';
|
|
54202
54205
|
}
|
|
54203
54206
|
getOrbClasses(index) {
|
|
54204
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54207
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54205
54208
|
if (!isDark)
|
|
54206
54209
|
return 'hidden';
|
|
54207
54210
|
const positions = [
|
|
@@ -54212,29 +54215,29 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54212
54215
|
return positions[index - 1] || '';
|
|
54213
54216
|
}
|
|
54214
54217
|
getHeaderClasses() {
|
|
54215
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54218
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54216
54219
|
return isDark ? 'relative backdrop-blur-sm bg-slate-900/50' : 'relative backdrop-blur-sm bg-white/50';
|
|
54217
54220
|
}
|
|
54218
54221
|
getMainTitleClasses() {
|
|
54219
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54222
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54220
54223
|
if (isDark) {
|
|
54221
54224
|
return 'text-4xl sm:text-5xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent';
|
|
54222
54225
|
}
|
|
54223
54226
|
return 'text-4xl sm:text-5xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent';
|
|
54224
54227
|
}
|
|
54225
54228
|
getSubtitleClasses() {
|
|
54226
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54229
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54227
54230
|
return isDark ? 'text-lg mt-2 text-slate-400' : 'text-lg mt-2 text-slate-600';
|
|
54228
54231
|
}
|
|
54229
54232
|
getLoadingOverlayClasses() {
|
|
54230
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54233
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54231
54234
|
if (isDark) {
|
|
54232
54235
|
return 'fixed inset-0 z-50 flex items-center justify-center bg-slate-900/80 backdrop-blur-sm';
|
|
54233
54236
|
}
|
|
54234
54237
|
return 'fixed inset-0 z-50 flex items-center justify-center bg-white/80 backdrop-blur-sm';
|
|
54235
54238
|
}
|
|
54236
54239
|
getSpinnerClasses() {
|
|
54237
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54240
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54238
54241
|
if (isDark) {
|
|
54239
54242
|
return 'w-16 h-16 border-4 rounded-full animate-spin border-slate-700 border-t-blue-400';
|
|
54240
54243
|
}
|
|
@@ -54246,7 +54249,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54246
54249
|
static { this.ɵfac = function SymphiqBusinessAnalysisDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqBusinessAnalysisDashboardComponent)(); }; }
|
|
54247
54250
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqBusinessAnalysisDashboardComponent, selectors: [["symphiq-business-analysis-dashboard"]], hostBindings: function SymphiqBusinessAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
54248
54251
|
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);
|
|
54249
|
-
} }, inputs: {
|
|
54252
|
+
} }, 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"] }, decls: 51, vars: 67, consts: [[3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [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"], [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, "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"], [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"], [1, "relative"], [3, "sections", "viewMode", "embedded"], [3, "viewMode", "embedded"], [3, "viewInContextRequested", "isLightMode"], [3, "searchChange", "resultSelected", "close", "isLightMode", "isOpen", "searchQuery", "results", "hasResults", "selectedIndex", "placeholder"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode", "isLoading"], [1, "transition-opacity", "duration-300", 3, "ngClass"], [3, "viewMode", "currentStepId", "showNextStepAction"], [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) {
|
|
54250
54253
|
i0.ɵɵelementStart(0, "div", 0)(1, "div");
|
|
54251
54254
|
i0.ɵɵelement(2, "div", 1);
|
|
54252
54255
|
i0.ɵɵelementEnd();
|
|
@@ -54310,7 +54313,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54310
54313
|
let tmp_30_0;
|
|
54311
54314
|
i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
|
|
54312
54315
|
i0.ɵɵadvance();
|
|
54313
|
-
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");
|
|
54316
|
+
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");
|
|
54314
54317
|
i0.ɵɵadvance();
|
|
54315
54318
|
i0.ɵɵstyleProp("width", ctx.scrollProgress(), "%");
|
|
54316
54319
|
i0.ɵɵproperty("ngClass", ctx.isLightMode() ? "bg-gradient-to-r from-blue-500 to-purple-500" : "bg-gradient-to-r from-blue-400 to-purple-400");
|
|
@@ -54365,7 +54368,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54365
54368
|
i0.ɵɵadvance();
|
|
54366
54369
|
i0.ɵɵconditional(!ctx.isSimplifiedView() ? 44 : -1);
|
|
54367
54370
|
i0.ɵɵadvance();
|
|
54368
|
-
i0.ɵɵproperty("viewMode", ctx.viewMode)("embedded", ctx.embedded);
|
|
54371
|
+
i0.ɵɵproperty("viewMode", ctx.viewMode())("embedded", ctx.embedded());
|
|
54369
54372
|
i0.ɵɵadvance();
|
|
54370
54373
|
i0.ɵɵconditional(ctx.isLoading() ? 46 : -1);
|
|
54371
54374
|
i0.ɵɵadvance(2);
|
|
@@ -54373,7 +54376,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54373
54376
|
i0.ɵɵadvance();
|
|
54374
54377
|
i0.ɵɵproperty("isLightMode", ctx.isLightMode())("isOpen", ctx.searchService.isSearchOpen())("searchQuery", ctx.searchService.getSearchQuery())("results", ctx.searchService.searchResults())("hasResults", ctx.searchService.hasResults())("selectedIndex", ctx.selectedSearchIndex())("placeholder", "Search sections, items, and analysis...");
|
|
54375
54378
|
i0.ɵɵadvance();
|
|
54376
|
-
i0.ɵɵproperty("isOpen", ctx.isViewModeSwitcherOpen())("currentMode", ctx.displayMode())("viewMode", ctx.viewMode)("isLoading", ctx.isViewModeSwitching());
|
|
54379
|
+
i0.ɵɵproperty("isOpen", ctx.isViewModeSwitcherOpen())("currentMode", ctx.displayMode())("viewMode", ctx.viewMode())("isLoading", ctx.isViewModeSwitching());
|
|
54377
54380
|
} }, dependencies: [CommonModule, i1$1.NgClass, ProfileSectionComponent, SectionNavigationComponent, FloatingTocComponent, FloatingBackButtonComponent, TooltipContainerComponent, SectionDividerComponent, BusinessAnalysisModalComponent, SearchButtonComponent, SearchModalComponent, ViewModeSwitcherModalComponent, JourneyProgressIndicatorComponent, WelcomeBannerComponent, RecommendationsTiledGridComponent, CollapsibleSectionGroupComponent], 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 }); }
|
|
54378
54381
|
}
|
|
54379
54382
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqBusinessAnalysisDashboardComponent, [{
|
|
@@ -54381,7 +54384,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54381
54384
|
args: [{ selector: 'symphiq-business-analysis-dashboard', standalone: true, imports: [CommonModule, ProfileSectionComponent, SectionNavigationComponent, FloatingTocComponent, FloatingBackButtonComponent, TooltipContainerComponent, SectionDividerComponent, BusinessAnalysisModalComponent, SearchButtonComponent, SearchModalComponent, ViewModeSwitcherModalComponent, JourneyProgressIndicatorComponent, WelcomeBannerComponent, RecommendationsTiledGridComponent, CollapsibleSectionGroupComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
54382
54385
|
<div [ngClass]="getContainerClasses()">
|
|
54383
54386
|
<!-- Scroll Progress Bar (fixed at top) -->
|
|
54384
|
-
<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'">
|
|
54387
|
+
<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'">
|
|
54385
54388
|
<div
|
|
54386
54389
|
[style.width.%]="scrollProgress()"
|
|
54387
54390
|
[ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
|
|
@@ -54497,7 +54500,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54497
54500
|
<!-- Journey Progress Banner - Full Width Sticky (only show when not onboarded) -->
|
|
54498
54501
|
@if (!isOnboarded()) {
|
|
54499
54502
|
<symphiq-journey-progress-indicator
|
|
54500
|
-
[viewMode]="viewMode"
|
|
54503
|
+
[viewMode]="viewMode()"
|
|
54501
54504
|
[currentStepId]="'business-analysis'"
|
|
54502
54505
|
[showNextStepAction]="true"
|
|
54503
54506
|
/>
|
|
@@ -54506,7 +54509,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54506
54509
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
|
54507
54510
|
<div class="mb-8">
|
|
54508
54511
|
<symphiq-welcome-banner
|
|
54509
|
-
[viewMode]="viewMode"
|
|
54512
|
+
[viewMode]="viewMode()"
|
|
54510
54513
|
[businessName]="currentProfile()?.profileStructured?.businessName || 'your business'"
|
|
54511
54514
|
[isOnboarded]="isOnboarded()"
|
|
54512
54515
|
/>
|
|
@@ -54515,7 +54518,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54515
54518
|
<div class="mb-8">
|
|
54516
54519
|
<symphiq-recommendations-tiled-grid
|
|
54517
54520
|
[recommendations]="recommendationItems()"
|
|
54518
|
-
[viewMode]="viewMode"
|
|
54521
|
+
[viewMode]="viewMode()"
|
|
54519
54522
|
(viewMoreClick)="openRecommendationDetailsModal($event)"
|
|
54520
54523
|
/>
|
|
54521
54524
|
</div>
|
|
@@ -54523,7 +54526,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54523
54526
|
<div>
|
|
54524
54527
|
<symphiq-collapsible-section-group
|
|
54525
54528
|
[sections]="nonRecommendationSections()"
|
|
54526
|
-
[viewMode]="viewMode"
|
|
54529
|
+
[viewMode]="viewMode()"
|
|
54527
54530
|
/>
|
|
54528
54531
|
</div>
|
|
54529
54532
|
</div>
|
|
@@ -54531,13 +54534,13 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54531
54534
|
@for (section of sections(); track trackBySectionId($index, section); let idx = $index; let last = $last) {
|
|
54532
54535
|
<symphiq-profile-section
|
|
54533
54536
|
[section]="section"
|
|
54534
|
-
[viewMode]="viewMode"
|
|
54537
|
+
[viewMode]="viewMode()"
|
|
54535
54538
|
[forceExpanded]="!isCompactView()"
|
|
54536
54539
|
/>
|
|
54537
54540
|
@if (!last) {
|
|
54538
54541
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
54539
54542
|
<symphiq-section-divider
|
|
54540
|
-
[viewMode]="viewMode"
|
|
54543
|
+
[viewMode]="viewMode()"
|
|
54541
54544
|
[subsections]="sections()[idx + 1].subsections" />
|
|
54542
54545
|
</div>
|
|
54543
54546
|
}
|
|
@@ -54548,22 +54551,22 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54548
54551
|
@if (!isSimplifiedView()) {
|
|
54549
54552
|
<symphiq-section-navigation
|
|
54550
54553
|
[sections]="sections()"
|
|
54551
|
-
[viewMode]="viewMode"
|
|
54552
|
-
[embedded]="embedded"
|
|
54554
|
+
[viewMode]="viewMode()"
|
|
54555
|
+
[embedded]="embedded()"
|
|
54553
54556
|
/>
|
|
54554
54557
|
}
|
|
54555
54558
|
|
|
54556
54559
|
@if (!isSimplifiedView()) {
|
|
54557
54560
|
<symphiq-floating-toc
|
|
54558
54561
|
[sections]="sections()"
|
|
54559
|
-
[viewMode]="viewMode"
|
|
54560
|
-
[embedded]="embedded"
|
|
54562
|
+
[viewMode]="viewMode()"
|
|
54563
|
+
[embedded]="embedded()"
|
|
54561
54564
|
/>
|
|
54562
54565
|
}
|
|
54563
54566
|
|
|
54564
54567
|
<symphiq-floating-back-button
|
|
54565
|
-
[viewMode]="viewMode"
|
|
54566
|
-
[embedded]="embedded"
|
|
54568
|
+
[viewMode]="viewMode()"
|
|
54569
|
+
[embedded]="embedded()"
|
|
54567
54570
|
/>
|
|
54568
54571
|
</div>
|
|
54569
54572
|
|
|
@@ -54594,31 +54597,21 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54594
54597
|
<symphiq-view-mode-switcher-modal
|
|
54595
54598
|
[isOpen]="isViewModeSwitcherOpen()"
|
|
54596
54599
|
[currentMode]="displayMode()"
|
|
54597
|
-
[viewMode]="viewMode"
|
|
54600
|
+
[viewMode]="viewMode()"
|
|
54598
54601
|
[isLoading]="isViewModeSwitching()"
|
|
54599
54602
|
(close)="closeViewModeSwitcher()"
|
|
54600
54603
|
(modeSelected)="handleDisplayModeChange($event)"
|
|
54601
54604
|
/>
|
|
54602
54605
|
</div>
|
|
54603
54606
|
`, 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"] }]
|
|
54604
|
-
}], () => [], { requestedByUser: [{
|
|
54605
|
-
type: Input
|
|
54606
|
-
}], viewMode: [{
|
|
54607
|
-
type: Input
|
|
54608
|
-
}], embedded: [{
|
|
54609
|
-
type: Input
|
|
54610
|
-
}], profile: [{
|
|
54611
|
-
type: Input
|
|
54612
|
-
}], parentHeaderOffset: [{
|
|
54613
|
-
type: Input
|
|
54614
|
-
}], 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 }] }], onScroll: [{
|
|
54607
|
+
}], () => [], { 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 }] }], onScroll: [{
|
|
54615
54608
|
type: HostListener,
|
|
54616
54609
|
args: ['window:scroll', ['$event']]
|
|
54617
54610
|
}], handleKeyDown: [{
|
|
54618
54611
|
type: HostListener,
|
|
54619
54612
|
args: ['document:keydown', ['$event']]
|
|
54620
54613
|
}] }); })();
|
|
54621
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber:
|
|
54614
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber: 300 }); })();
|
|
54622
54615
|
|
|
54623
54616
|
function DashboardHeaderComponent_Conditional_24_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
54624
54617
|
i0.ɵɵelementStart(0, "span", 4);
|