@eric-emg/symphiq-components 1.2.113 → 1.2.115
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 +87 -63
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +9 -9
- 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" }] : []));
|
|
@@ -53831,8 +53833,39 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53831
53833
|
this.searchService = inject(BusinessProfileSearchService);
|
|
53832
53834
|
this.modalService = inject(ModalService);
|
|
53833
53835
|
this.currentProfile = signal(undefined, ...(ngDevMode ? [{ debugName: "currentProfile" }] : []));
|
|
53836
|
+
this.COLLAPSE_THRESHOLD = 20;
|
|
53837
|
+
this.EXPAND_THRESHOLD = 10;
|
|
53838
|
+
this.embeddedScrollEffect = effect(() => {
|
|
53839
|
+
const scrollEvent = this.scrollEvent();
|
|
53840
|
+
const isEmbedded = this.embedded();
|
|
53841
|
+
if (!scrollEvent || !isEmbedded) {
|
|
53842
|
+
return;
|
|
53843
|
+
}
|
|
53844
|
+
const detail = scrollEvent.detail;
|
|
53845
|
+
if (!detail) {
|
|
53846
|
+
return;
|
|
53847
|
+
}
|
|
53848
|
+
const scrollTop = detail.scrollTop || 0;
|
|
53849
|
+
const currentState = this.headerScrollService.isScrolled();
|
|
53850
|
+
if (!currentState && scrollTop > this.COLLAPSE_THRESHOLD) {
|
|
53851
|
+
this.headerScrollService.isScrolled.set(true);
|
|
53852
|
+
}
|
|
53853
|
+
else if (currentState && scrollTop < this.EXPAND_THRESHOLD) {
|
|
53854
|
+
this.headerScrollService.isScrolled.set(false);
|
|
53855
|
+
}
|
|
53856
|
+
const scrollElement = this.scrollElement();
|
|
53857
|
+
if (scrollElement) {
|
|
53858
|
+
const scrollHeight = scrollElement.scrollHeight || 0;
|
|
53859
|
+
const clientHeight = scrollElement.clientHeight || 0;
|
|
53860
|
+
const maxScroll = scrollHeight - clientHeight;
|
|
53861
|
+
if (maxScroll > 0) {
|
|
53862
|
+
const progress = (scrollTop / maxScroll) * 100;
|
|
53863
|
+
this.headerScrollService.scrollProgress.set(Math.min(100, Math.max(0, progress)));
|
|
53864
|
+
}
|
|
53865
|
+
}
|
|
53866
|
+
}, ...(ngDevMode ? [{ debugName: "embeddedScrollEffect" }] : []));
|
|
53834
53867
|
this.scrollProgress = computed(() => this.headerScrollService.scrollProgress(), ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
|
|
53835
|
-
this.isLightMode = computed(() => this.viewMode === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
53868
|
+
this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
53836
53869
|
this.displayMode = signal(DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "displayMode" }] : []));
|
|
53837
53870
|
this.isCompactView = computed(() => this.displayMode() === DisplayModeEnum.COMPACT, ...(ngDevMode ? [{ debugName: "isCompactView" }] : []));
|
|
53838
53871
|
this.isSimplifiedView = computed(() => this.displayMode() === DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "isSimplifiedView" }] : []));
|
|
@@ -53876,7 +53909,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53876
53909
|
this.scrollDirection = 'down';
|
|
53877
53910
|
}
|
|
53878
53911
|
onScroll() {
|
|
53879
|
-
this.headerScrollService.handleScroll(this.embedded);
|
|
53912
|
+
this.headerScrollService.handleScroll(this.embedded());
|
|
53880
53913
|
const navState = this.navigationService.getNavigationState()();
|
|
53881
53914
|
if (navState.sourceElementId && navState.targetElementId && !navState.isBackButtonVisible) {
|
|
53882
53915
|
const currentScrollPosition = window.scrollY;
|
|
@@ -53917,10 +53950,10 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53917
53950
|
label: recommendation.title,
|
|
53918
53951
|
value: recommendation.description
|
|
53919
53952
|
};
|
|
53920
|
-
this.modalService.openItemDetailModal(itemAdapter, this.viewMode, 'recommendation', 'Strategic Insights', recommendation.title, undefined, this.isSimplifiedView() || this.isCompactView());
|
|
53953
|
+
this.modalService.openItemDetailModal(itemAdapter, this.viewMode(), 'recommendation', 'Strategic Insights', recommendation.title, undefined, this.isSimplifiedView() || this.isCompactView());
|
|
53921
53954
|
}
|
|
53922
53955
|
getViewModeButtonClasses() {
|
|
53923
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
53956
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
53924
53957
|
if (isDark) {
|
|
53925
53958
|
return 'bg-slate-800/60 border border-slate-700/50 text-slate-300 hover:bg-slate-700/60 hover:border-slate-600/50';
|
|
53926
53959
|
}
|
|
@@ -54034,14 +54067,15 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54034
54067
|
}, 2000);
|
|
54035
54068
|
}
|
|
54036
54069
|
ngOnInit() {
|
|
54037
|
-
this.currentProfile.set(this.profile);
|
|
54038
|
-
this.lookupService.setProfile(this.profile);
|
|
54039
|
-
|
|
54040
|
-
|
|
54070
|
+
this.currentProfile.set(this.profile());
|
|
54071
|
+
this.lookupService.setProfile(this.profile());
|
|
54072
|
+
const profile = this.profile();
|
|
54073
|
+
if (profile) {
|
|
54074
|
+
this.searchService.setProfile(profile);
|
|
54041
54075
|
}
|
|
54042
|
-
if (
|
|
54043
|
-
const recommendations =
|
|
54044
|
-
this.profileContextService.indexProfile(
|
|
54076
|
+
if (profile?.profileStructured?.sections) {
|
|
54077
|
+
const recommendations = profile.profileStructured?.recommendations;
|
|
54078
|
+
this.profileContextService.indexProfile(profile.profileStructured.sections, recommendations);
|
|
54045
54079
|
}
|
|
54046
54080
|
}
|
|
54047
54081
|
ngAfterViewInit() {
|
|
@@ -54180,28 +54214,28 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54180
54214
|
}
|
|
54181
54215
|
}
|
|
54182
54216
|
getContainerClasses() {
|
|
54183
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54217
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54184
54218
|
const bgColor = isDark ? 'bg-slate-900' : 'bg-slate-50';
|
|
54185
|
-
const positioning = this.embedded ? '' : 'relative';
|
|
54219
|
+
const positioning = this.embedded() ? '' : 'relative';
|
|
54186
54220
|
return `${positioning} min-h-screen ${bgColor}`.trim();
|
|
54187
54221
|
}
|
|
54188
54222
|
getBackgroundClasses() {
|
|
54189
|
-
const positioning = this.embedded ? 'absolute' : 'fixed';
|
|
54223
|
+
const positioning = this.embedded() ? 'absolute' : 'fixed';
|
|
54190
54224
|
return `${positioning} inset-0 overflow-hidden pointer-events-none`;
|
|
54191
54225
|
}
|
|
54192
54226
|
getMeshGradientClasses() {
|
|
54193
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54227
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54194
54228
|
if (isDark) {
|
|
54195
54229
|
return 'absolute inset-0 opacity-30 bg-gradient-to-br from-blue-900/20 via-purple-900/20 to-slate-900';
|
|
54196
54230
|
}
|
|
54197
54231
|
return 'absolute inset-0 opacity-30 bg-gradient-to-br from-blue-100/50 via-purple-100/50 to-slate-50';
|
|
54198
54232
|
}
|
|
54199
54233
|
getTopoPatternClasses() {
|
|
54200
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54234
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54201
54235
|
return isDark ? 'absolute inset-0 opacity-5' : 'absolute inset-0 opacity-5 mix-blend-overlay';
|
|
54202
54236
|
}
|
|
54203
54237
|
getOrbClasses(index) {
|
|
54204
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54238
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54205
54239
|
if (!isDark)
|
|
54206
54240
|
return 'hidden';
|
|
54207
54241
|
const positions = [
|
|
@@ -54212,29 +54246,29 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54212
54246
|
return positions[index - 1] || '';
|
|
54213
54247
|
}
|
|
54214
54248
|
getHeaderClasses() {
|
|
54215
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54249
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54216
54250
|
return isDark ? 'relative backdrop-blur-sm bg-slate-900/50' : 'relative backdrop-blur-sm bg-white/50';
|
|
54217
54251
|
}
|
|
54218
54252
|
getMainTitleClasses() {
|
|
54219
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54253
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54220
54254
|
if (isDark) {
|
|
54221
54255
|
return 'text-4xl sm:text-5xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent';
|
|
54222
54256
|
}
|
|
54223
54257
|
return 'text-4xl sm:text-5xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent';
|
|
54224
54258
|
}
|
|
54225
54259
|
getSubtitleClasses() {
|
|
54226
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54260
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54227
54261
|
return isDark ? 'text-lg mt-2 text-slate-400' : 'text-lg mt-2 text-slate-600';
|
|
54228
54262
|
}
|
|
54229
54263
|
getLoadingOverlayClasses() {
|
|
54230
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54264
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54231
54265
|
if (isDark) {
|
|
54232
54266
|
return 'fixed inset-0 z-50 flex items-center justify-center bg-slate-900/80 backdrop-blur-sm';
|
|
54233
54267
|
}
|
|
54234
54268
|
return 'fixed inset-0 z-50 flex items-center justify-center bg-white/80 backdrop-blur-sm';
|
|
54235
54269
|
}
|
|
54236
54270
|
getSpinnerClasses() {
|
|
54237
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54271
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54238
54272
|
if (isDark) {
|
|
54239
54273
|
return 'w-16 h-16 border-4 rounded-full animate-spin border-slate-700 border-t-blue-400';
|
|
54240
54274
|
}
|
|
@@ -54246,7 +54280,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54246
54280
|
static { this.ɵfac = function SymphiqBusinessAnalysisDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqBusinessAnalysisDashboardComponent)(); }; }
|
|
54247
54281
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqBusinessAnalysisDashboardComponent, selectors: [["symphiq-business-analysis-dashboard"]], hostBindings: function SymphiqBusinessAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
54248
54282
|
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: {
|
|
54283
|
+
} }, 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
54284
|
i0.ɵɵelementStart(0, "div", 0)(1, "div");
|
|
54251
54285
|
i0.ɵɵelement(2, "div", 1);
|
|
54252
54286
|
i0.ɵɵelementEnd();
|
|
@@ -54310,7 +54344,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54310
54344
|
let tmp_30_0;
|
|
54311
54345
|
i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
|
|
54312
54346
|
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");
|
|
54347
|
+
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
54348
|
i0.ɵɵadvance();
|
|
54315
54349
|
i0.ɵɵstyleProp("width", ctx.scrollProgress(), "%");
|
|
54316
54350
|
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 +54399,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54365
54399
|
i0.ɵɵadvance();
|
|
54366
54400
|
i0.ɵɵconditional(!ctx.isSimplifiedView() ? 44 : -1);
|
|
54367
54401
|
i0.ɵɵadvance();
|
|
54368
|
-
i0.ɵɵproperty("viewMode", ctx.viewMode)("embedded", ctx.embedded);
|
|
54402
|
+
i0.ɵɵproperty("viewMode", ctx.viewMode())("embedded", ctx.embedded());
|
|
54369
54403
|
i0.ɵɵadvance();
|
|
54370
54404
|
i0.ɵɵconditional(ctx.isLoading() ? 46 : -1);
|
|
54371
54405
|
i0.ɵɵadvance(2);
|
|
@@ -54373,7 +54407,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54373
54407
|
i0.ɵɵadvance();
|
|
54374
54408
|
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
54409
|
i0.ɵɵadvance();
|
|
54376
|
-
i0.ɵɵproperty("isOpen", ctx.isViewModeSwitcherOpen())("currentMode", ctx.displayMode())("viewMode", ctx.viewMode)("isLoading", ctx.isViewModeSwitching());
|
|
54410
|
+
i0.ɵɵproperty("isOpen", ctx.isViewModeSwitcherOpen())("currentMode", ctx.displayMode())("viewMode", ctx.viewMode())("isLoading", ctx.isViewModeSwitching());
|
|
54377
54411
|
} }, 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
54412
|
}
|
|
54379
54413
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqBusinessAnalysisDashboardComponent, [{
|
|
@@ -54381,7 +54415,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54381
54415
|
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
54416
|
<div [ngClass]="getContainerClasses()">
|
|
54383
54417
|
<!-- 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'">
|
|
54418
|
+
<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
54419
|
<div
|
|
54386
54420
|
[style.width.%]="scrollProgress()"
|
|
54387
54421
|
[ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
|
|
@@ -54497,7 +54531,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54497
54531
|
<!-- Journey Progress Banner - Full Width Sticky (only show when not onboarded) -->
|
|
54498
54532
|
@if (!isOnboarded()) {
|
|
54499
54533
|
<symphiq-journey-progress-indicator
|
|
54500
|
-
[viewMode]="viewMode"
|
|
54534
|
+
[viewMode]="viewMode()"
|
|
54501
54535
|
[currentStepId]="'business-analysis'"
|
|
54502
54536
|
[showNextStepAction]="true"
|
|
54503
54537
|
/>
|
|
@@ -54506,7 +54540,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54506
54540
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
|
54507
54541
|
<div class="mb-8">
|
|
54508
54542
|
<symphiq-welcome-banner
|
|
54509
|
-
[viewMode]="viewMode"
|
|
54543
|
+
[viewMode]="viewMode()"
|
|
54510
54544
|
[businessName]="currentProfile()?.profileStructured?.businessName || 'your business'"
|
|
54511
54545
|
[isOnboarded]="isOnboarded()"
|
|
54512
54546
|
/>
|
|
@@ -54515,7 +54549,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54515
54549
|
<div class="mb-8">
|
|
54516
54550
|
<symphiq-recommendations-tiled-grid
|
|
54517
54551
|
[recommendations]="recommendationItems()"
|
|
54518
|
-
[viewMode]="viewMode"
|
|
54552
|
+
[viewMode]="viewMode()"
|
|
54519
54553
|
(viewMoreClick)="openRecommendationDetailsModal($event)"
|
|
54520
54554
|
/>
|
|
54521
54555
|
</div>
|
|
@@ -54523,7 +54557,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54523
54557
|
<div>
|
|
54524
54558
|
<symphiq-collapsible-section-group
|
|
54525
54559
|
[sections]="nonRecommendationSections()"
|
|
54526
|
-
[viewMode]="viewMode"
|
|
54560
|
+
[viewMode]="viewMode()"
|
|
54527
54561
|
/>
|
|
54528
54562
|
</div>
|
|
54529
54563
|
</div>
|
|
@@ -54531,13 +54565,13 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54531
54565
|
@for (section of sections(); track trackBySectionId($index, section); let idx = $index; let last = $last) {
|
|
54532
54566
|
<symphiq-profile-section
|
|
54533
54567
|
[section]="section"
|
|
54534
|
-
[viewMode]="viewMode"
|
|
54568
|
+
[viewMode]="viewMode()"
|
|
54535
54569
|
[forceExpanded]="!isCompactView()"
|
|
54536
54570
|
/>
|
|
54537
54571
|
@if (!last) {
|
|
54538
54572
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
54539
54573
|
<symphiq-section-divider
|
|
54540
|
-
[viewMode]="viewMode"
|
|
54574
|
+
[viewMode]="viewMode()"
|
|
54541
54575
|
[subsections]="sections()[idx + 1].subsections" />
|
|
54542
54576
|
</div>
|
|
54543
54577
|
}
|
|
@@ -54548,22 +54582,22 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54548
54582
|
@if (!isSimplifiedView()) {
|
|
54549
54583
|
<symphiq-section-navigation
|
|
54550
54584
|
[sections]="sections()"
|
|
54551
|
-
[viewMode]="viewMode"
|
|
54552
|
-
[embedded]="embedded"
|
|
54585
|
+
[viewMode]="viewMode()"
|
|
54586
|
+
[embedded]="embedded()"
|
|
54553
54587
|
/>
|
|
54554
54588
|
}
|
|
54555
54589
|
|
|
54556
54590
|
@if (!isSimplifiedView()) {
|
|
54557
54591
|
<symphiq-floating-toc
|
|
54558
54592
|
[sections]="sections()"
|
|
54559
|
-
[viewMode]="viewMode"
|
|
54560
|
-
[embedded]="embedded"
|
|
54593
|
+
[viewMode]="viewMode()"
|
|
54594
|
+
[embedded]="embedded()"
|
|
54561
54595
|
/>
|
|
54562
54596
|
}
|
|
54563
54597
|
|
|
54564
54598
|
<symphiq-floating-back-button
|
|
54565
|
-
[viewMode]="viewMode"
|
|
54566
|
-
[embedded]="embedded"
|
|
54599
|
+
[viewMode]="viewMode()"
|
|
54600
|
+
[embedded]="embedded()"
|
|
54567
54601
|
/>
|
|
54568
54602
|
</div>
|
|
54569
54603
|
|
|
@@ -54594,31 +54628,21 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54594
54628
|
<symphiq-view-mode-switcher-modal
|
|
54595
54629
|
[isOpen]="isViewModeSwitcherOpen()"
|
|
54596
54630
|
[currentMode]="displayMode()"
|
|
54597
|
-
[viewMode]="viewMode"
|
|
54631
|
+
[viewMode]="viewMode()"
|
|
54598
54632
|
[isLoading]="isViewModeSwitching()"
|
|
54599
54633
|
(close)="closeViewModeSwitcher()"
|
|
54600
54634
|
(modeSelected)="handleDisplayModeChange($event)"
|
|
54601
54635
|
/>
|
|
54602
54636
|
</div>
|
|
54603
54637
|
`, 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: [{
|
|
54638
|
+
}], () => [], { 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
54639
|
type: HostListener,
|
|
54616
54640
|
args: ['window:scroll', ['$event']]
|
|
54617
54641
|
}], handleKeyDown: [{
|
|
54618
54642
|
type: HostListener,
|
|
54619
54643
|
args: ['document:keydown', ['$event']]
|
|
54620
54644
|
}] }); })();
|
|
54621
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber:
|
|
54645
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber: 301 }); })();
|
|
54622
54646
|
|
|
54623
54647
|
function DashboardHeaderComponent_Conditional_24_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
54624
54648
|
i0.ɵɵelementStart(0, "span", 4);
|