@eric-emg/symphiq-components 1.2.112 → 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 +65 -78
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +18 -20
- 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();
|
|
@@ -53745,13 +53745,13 @@ function SymphiqBusinessAnalysisDashboardComponent_Conditional_41_Template(rf, c
|
|
|
53745
53745
|
} if (rf & 2) {
|
|
53746
53746
|
let tmp_3_0;
|
|
53747
53747
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
53748
|
-
i0.ɵɵconditional(!ctx_r0.isOnboarded ? 0 : -1);
|
|
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,11 +53817,15 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53817
53817
|
return hasItems || hasContent || hasVisual;
|
|
53818
53818
|
}
|
|
53819
53819
|
constructor() {
|
|
53820
|
-
this.
|
|
53821
|
-
this.
|
|
53822
|
-
this.
|
|
53823
|
-
this.
|
|
53824
|
-
this.
|
|
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" }] : []));
|
|
53825
|
+
this.scrollEvent = input(...(ngDevMode ? [undefined, { debugName: "scrollEvent" }] : []));
|
|
53826
|
+
this.scrollElement = input(...(ngDevMode ? [undefined, { debugName: "scrollElement" }] : []));
|
|
53827
|
+
this.isLoading = input(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
|
|
53828
|
+
this.isOnboarded = input(false, ...(ngDevMode ? [{ debugName: "isOnboarded" }] : []));
|
|
53825
53829
|
this.headerScrollService = inject(HeaderScrollService);
|
|
53826
53830
|
this.lookupService = inject(ProfileItemLookupService);
|
|
53827
53831
|
this.navigationService = inject(NavigationStateService);
|
|
@@ -53830,7 +53834,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53830
53834
|
this.modalService = inject(ModalService);
|
|
53831
53835
|
this.currentProfile = signal(undefined, ...(ngDevMode ? [{ debugName: "currentProfile" }] : []));
|
|
53832
53836
|
this.scrollProgress = computed(() => this.headerScrollService.scrollProgress(), ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
|
|
53833
|
-
this.isLightMode = computed(() => this.viewMode === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
53837
|
+
this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
53834
53838
|
this.displayMode = signal(DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "displayMode" }] : []));
|
|
53835
53839
|
this.isCompactView = computed(() => this.displayMode() === DisplayModeEnum.COMPACT, ...(ngDevMode ? [{ debugName: "isCompactView" }] : []));
|
|
53836
53840
|
this.isSimplifiedView = computed(() => this.displayMode() === DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "isSimplifiedView" }] : []));
|
|
@@ -53874,7 +53878,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53874
53878
|
this.scrollDirection = 'down';
|
|
53875
53879
|
}
|
|
53876
53880
|
onScroll() {
|
|
53877
|
-
this.headerScrollService.handleScroll(this.embedded);
|
|
53881
|
+
this.headerScrollService.handleScroll(this.embedded());
|
|
53878
53882
|
const navState = this.navigationService.getNavigationState()();
|
|
53879
53883
|
if (navState.sourceElementId && navState.targetElementId && !navState.isBackButtonVisible) {
|
|
53880
53884
|
const currentScrollPosition = window.scrollY;
|
|
@@ -53915,10 +53919,10 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53915
53919
|
label: recommendation.title,
|
|
53916
53920
|
value: recommendation.description
|
|
53917
53921
|
};
|
|
53918
|
-
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());
|
|
53919
53923
|
}
|
|
53920
53924
|
getViewModeButtonClasses() {
|
|
53921
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
53925
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
53922
53926
|
if (isDark) {
|
|
53923
53927
|
return 'bg-slate-800/60 border border-slate-700/50 text-slate-300 hover:bg-slate-700/60 hover:border-slate-600/50';
|
|
53924
53928
|
}
|
|
@@ -54032,14 +54036,15 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54032
54036
|
}, 2000);
|
|
54033
54037
|
}
|
|
54034
54038
|
ngOnInit() {
|
|
54035
|
-
this.currentProfile.set(this.profile);
|
|
54036
|
-
this.lookupService.setProfile(this.profile);
|
|
54037
|
-
|
|
54038
|
-
|
|
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);
|
|
54039
54044
|
}
|
|
54040
|
-
if (
|
|
54041
|
-
const recommendations =
|
|
54042
|
-
this.profileContextService.indexProfile(
|
|
54045
|
+
if (profile?.profileStructured?.sections) {
|
|
54046
|
+
const recommendations = profile.profileStructured?.recommendations;
|
|
54047
|
+
this.profileContextService.indexProfile(profile.profileStructured.sections, recommendations);
|
|
54043
54048
|
}
|
|
54044
54049
|
}
|
|
54045
54050
|
ngAfterViewInit() {
|
|
@@ -54178,28 +54183,28 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54178
54183
|
}
|
|
54179
54184
|
}
|
|
54180
54185
|
getContainerClasses() {
|
|
54181
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54186
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54182
54187
|
const bgColor = isDark ? 'bg-slate-900' : 'bg-slate-50';
|
|
54183
|
-
const positioning = this.embedded ? '' : 'relative';
|
|
54188
|
+
const positioning = this.embedded() ? '' : 'relative';
|
|
54184
54189
|
return `${positioning} min-h-screen ${bgColor}`.trim();
|
|
54185
54190
|
}
|
|
54186
54191
|
getBackgroundClasses() {
|
|
54187
|
-
const positioning = this.embedded ? 'absolute' : 'fixed';
|
|
54192
|
+
const positioning = this.embedded() ? 'absolute' : 'fixed';
|
|
54188
54193
|
return `${positioning} inset-0 overflow-hidden pointer-events-none`;
|
|
54189
54194
|
}
|
|
54190
54195
|
getMeshGradientClasses() {
|
|
54191
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54196
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54192
54197
|
if (isDark) {
|
|
54193
54198
|
return 'absolute inset-0 opacity-30 bg-gradient-to-br from-blue-900/20 via-purple-900/20 to-slate-900';
|
|
54194
54199
|
}
|
|
54195
54200
|
return 'absolute inset-0 opacity-30 bg-gradient-to-br from-blue-100/50 via-purple-100/50 to-slate-50';
|
|
54196
54201
|
}
|
|
54197
54202
|
getTopoPatternClasses() {
|
|
54198
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54203
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54199
54204
|
return isDark ? 'absolute inset-0 opacity-5' : 'absolute inset-0 opacity-5 mix-blend-overlay';
|
|
54200
54205
|
}
|
|
54201
54206
|
getOrbClasses(index) {
|
|
54202
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54207
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54203
54208
|
if (!isDark)
|
|
54204
54209
|
return 'hidden';
|
|
54205
54210
|
const positions = [
|
|
@@ -54210,29 +54215,29 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54210
54215
|
return positions[index - 1] || '';
|
|
54211
54216
|
}
|
|
54212
54217
|
getHeaderClasses() {
|
|
54213
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54218
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54214
54219
|
return isDark ? 'relative backdrop-blur-sm bg-slate-900/50' : 'relative backdrop-blur-sm bg-white/50';
|
|
54215
54220
|
}
|
|
54216
54221
|
getMainTitleClasses() {
|
|
54217
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54222
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54218
54223
|
if (isDark) {
|
|
54219
54224
|
return 'text-4xl sm:text-5xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent';
|
|
54220
54225
|
}
|
|
54221
54226
|
return 'text-4xl sm:text-5xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent';
|
|
54222
54227
|
}
|
|
54223
54228
|
getSubtitleClasses() {
|
|
54224
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54229
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54225
54230
|
return isDark ? 'text-lg mt-2 text-slate-400' : 'text-lg mt-2 text-slate-600';
|
|
54226
54231
|
}
|
|
54227
54232
|
getLoadingOverlayClasses() {
|
|
54228
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54233
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54229
54234
|
if (isDark) {
|
|
54230
54235
|
return 'fixed inset-0 z-50 flex items-center justify-center bg-slate-900/80 backdrop-blur-sm';
|
|
54231
54236
|
}
|
|
54232
54237
|
return 'fixed inset-0 z-50 flex items-center justify-center bg-white/80 backdrop-blur-sm';
|
|
54233
54238
|
}
|
|
54234
54239
|
getSpinnerClasses() {
|
|
54235
|
-
const isDark = this.viewMode === ViewModeEnum.DARK;
|
|
54240
|
+
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54236
54241
|
if (isDark) {
|
|
54237
54242
|
return 'w-16 h-16 border-4 rounded-full animate-spin border-slate-700 border-t-blue-400';
|
|
54238
54243
|
}
|
|
@@ -54244,7 +54249,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54244
54249
|
static { this.ɵfac = function SymphiqBusinessAnalysisDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqBusinessAnalysisDashboardComponent)(); }; }
|
|
54245
54250
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqBusinessAnalysisDashboardComponent, selectors: [["symphiq-business-analysis-dashboard"]], hostBindings: function SymphiqBusinessAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
54246
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);
|
|
54247
|
-
} }, 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) {
|
|
54248
54253
|
i0.ɵɵelementStart(0, "div", 0)(1, "div");
|
|
54249
54254
|
i0.ɵɵelement(2, "div", 1);
|
|
54250
54255
|
i0.ɵɵelementEnd();
|
|
@@ -54308,7 +54313,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54308
54313
|
let tmp_30_0;
|
|
54309
54314
|
i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
|
|
54310
54315
|
i0.ɵɵadvance();
|
|
54311
|
-
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");
|
|
54312
54317
|
i0.ɵɵadvance();
|
|
54313
54318
|
i0.ɵɵstyleProp("width", ctx.scrollProgress(), "%");
|
|
54314
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");
|
|
@@ -54363,15 +54368,15 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54363
54368
|
i0.ɵɵadvance();
|
|
54364
54369
|
i0.ɵɵconditional(!ctx.isSimplifiedView() ? 44 : -1);
|
|
54365
54370
|
i0.ɵɵadvance();
|
|
54366
|
-
i0.ɵɵproperty("viewMode", ctx.viewMode)("embedded", ctx.embedded);
|
|
54371
|
+
i0.ɵɵproperty("viewMode", ctx.viewMode())("embedded", ctx.embedded());
|
|
54367
54372
|
i0.ɵɵadvance();
|
|
54368
|
-
i0.ɵɵconditional(ctx.isLoading ? 46 : -1);
|
|
54373
|
+
i0.ɵɵconditional(ctx.isLoading() ? 46 : -1);
|
|
54369
54374
|
i0.ɵɵadvance(2);
|
|
54370
54375
|
i0.ɵɵproperty("isLightMode", ctx.isLightMode());
|
|
54371
54376
|
i0.ɵɵadvance();
|
|
54372
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...");
|
|
54373
54378
|
i0.ɵɵadvance();
|
|
54374
|
-
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());
|
|
54375
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 }); }
|
|
54376
54381
|
}
|
|
54377
54382
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqBusinessAnalysisDashboardComponent, [{
|
|
@@ -54379,7 +54384,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54379
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: `
|
|
54380
54385
|
<div [ngClass]="getContainerClasses()">
|
|
54381
54386
|
<!-- Scroll Progress Bar (fixed at top) -->
|
|
54382
|
-
<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'">
|
|
54383
54388
|
<div
|
|
54384
54389
|
[style.width.%]="scrollProgress()"
|
|
54385
54390
|
[ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
|
|
@@ -54493,9 +54498,9 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54493
54498
|
<main class="relative">
|
|
54494
54499
|
@if (isSimplifiedView()) {
|
|
54495
54500
|
<!-- Journey Progress Banner - Full Width Sticky (only show when not onboarded) -->
|
|
54496
|
-
@if (!isOnboarded) {
|
|
54501
|
+
@if (!isOnboarded()) {
|
|
54497
54502
|
<symphiq-journey-progress-indicator
|
|
54498
|
-
[viewMode]="viewMode"
|
|
54503
|
+
[viewMode]="viewMode()"
|
|
54499
54504
|
[currentStepId]="'business-analysis'"
|
|
54500
54505
|
[showNextStepAction]="true"
|
|
54501
54506
|
/>
|
|
@@ -54504,16 +54509,16 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54504
54509
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
|
54505
54510
|
<div class="mb-8">
|
|
54506
54511
|
<symphiq-welcome-banner
|
|
54507
|
-
[viewMode]="viewMode"
|
|
54512
|
+
[viewMode]="viewMode()"
|
|
54508
54513
|
[businessName]="currentProfile()?.profileStructured?.businessName || 'your business'"
|
|
54509
|
-
[isOnboarded]="isOnboarded"
|
|
54514
|
+
[isOnboarded]="isOnboarded()"
|
|
54510
54515
|
/>
|
|
54511
54516
|
</div>
|
|
54512
54517
|
|
|
54513
54518
|
<div class="mb-8">
|
|
54514
54519
|
<symphiq-recommendations-tiled-grid
|
|
54515
54520
|
[recommendations]="recommendationItems()"
|
|
54516
|
-
[viewMode]="viewMode"
|
|
54521
|
+
[viewMode]="viewMode()"
|
|
54517
54522
|
(viewMoreClick)="openRecommendationDetailsModal($event)"
|
|
54518
54523
|
/>
|
|
54519
54524
|
</div>
|
|
@@ -54521,7 +54526,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54521
54526
|
<div>
|
|
54522
54527
|
<symphiq-collapsible-section-group
|
|
54523
54528
|
[sections]="nonRecommendationSections()"
|
|
54524
|
-
[viewMode]="viewMode"
|
|
54529
|
+
[viewMode]="viewMode()"
|
|
54525
54530
|
/>
|
|
54526
54531
|
</div>
|
|
54527
54532
|
</div>
|
|
@@ -54529,13 +54534,13 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54529
54534
|
@for (section of sections(); track trackBySectionId($index, section); let idx = $index; let last = $last) {
|
|
54530
54535
|
<symphiq-profile-section
|
|
54531
54536
|
[section]="section"
|
|
54532
|
-
[viewMode]="viewMode"
|
|
54537
|
+
[viewMode]="viewMode()"
|
|
54533
54538
|
[forceExpanded]="!isCompactView()"
|
|
54534
54539
|
/>
|
|
54535
54540
|
@if (!last) {
|
|
54536
54541
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
54537
54542
|
<symphiq-section-divider
|
|
54538
|
-
[viewMode]="viewMode"
|
|
54543
|
+
[viewMode]="viewMode()"
|
|
54539
54544
|
[subsections]="sections()[idx + 1].subsections" />
|
|
54540
54545
|
</div>
|
|
54541
54546
|
}
|
|
@@ -54546,26 +54551,26 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54546
54551
|
@if (!isSimplifiedView()) {
|
|
54547
54552
|
<symphiq-section-navigation
|
|
54548
54553
|
[sections]="sections()"
|
|
54549
|
-
[viewMode]="viewMode"
|
|
54550
|
-
[embedded]="embedded"
|
|
54554
|
+
[viewMode]="viewMode()"
|
|
54555
|
+
[embedded]="embedded()"
|
|
54551
54556
|
/>
|
|
54552
54557
|
}
|
|
54553
54558
|
|
|
54554
54559
|
@if (!isSimplifiedView()) {
|
|
54555
54560
|
<symphiq-floating-toc
|
|
54556
54561
|
[sections]="sections()"
|
|
54557
|
-
[viewMode]="viewMode"
|
|
54558
|
-
[embedded]="embedded"
|
|
54562
|
+
[viewMode]="viewMode()"
|
|
54563
|
+
[embedded]="embedded()"
|
|
54559
54564
|
/>
|
|
54560
54565
|
}
|
|
54561
54566
|
|
|
54562
54567
|
<symphiq-floating-back-button
|
|
54563
|
-
[viewMode]="viewMode"
|
|
54564
|
-
[embedded]="embedded"
|
|
54568
|
+
[viewMode]="viewMode()"
|
|
54569
|
+
[embedded]="embedded()"
|
|
54565
54570
|
/>
|
|
54566
54571
|
</div>
|
|
54567
54572
|
|
|
54568
|
-
@if (isLoading) {
|
|
54573
|
+
@if (isLoading()) {
|
|
54569
54574
|
<div [ngClass]="getLoadingOverlayClasses()">
|
|
54570
54575
|
<div [ngClass]="getSpinnerClasses()"></div>
|
|
54571
54576
|
</div>
|
|
@@ -54592,39 +54597,21 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54592
54597
|
<symphiq-view-mode-switcher-modal
|
|
54593
54598
|
[isOpen]="isViewModeSwitcherOpen()"
|
|
54594
54599
|
[currentMode]="displayMode()"
|
|
54595
|
-
[viewMode]="viewMode"
|
|
54600
|
+
[viewMode]="viewMode()"
|
|
54596
54601
|
[isLoading]="isViewModeSwitching()"
|
|
54597
54602
|
(close)="closeViewModeSwitcher()"
|
|
54598
54603
|
(modeSelected)="handleDisplayModeChange($event)"
|
|
54599
54604
|
/>
|
|
54600
54605
|
</div>
|
|
54601
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"] }]
|
|
54602
|
-
}], () => [], { requestedByUser: [{
|
|
54603
|
-
type: Input
|
|
54604
|
-
}], viewMode: [{
|
|
54605
|
-
type: Input
|
|
54606
|
-
}], embedded: [{
|
|
54607
|
-
type: Input
|
|
54608
|
-
}], scrollEvent: [{
|
|
54609
|
-
type: Input
|
|
54610
|
-
}], scrollElement: [{
|
|
54611
|
-
type: Input
|
|
54612
|
-
}], isLoading: [{
|
|
54613
|
-
type: Input
|
|
54614
|
-
}], profile: [{
|
|
54615
|
-
type: Input
|
|
54616
|
-
}], parentHeaderOffset: [{
|
|
54617
|
-
type: Input
|
|
54618
|
-
}], isOnboarded: [{
|
|
54619
|
-
type: Input
|
|
54620
|
-
}], 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: [{
|
|
54621
54608
|
type: HostListener,
|
|
54622
54609
|
args: ['window:scroll', ['$event']]
|
|
54623
54610
|
}], handleKeyDown: [{
|
|
54624
54611
|
type: HostListener,
|
|
54625
54612
|
args: ['document:keydown', ['$event']]
|
|
54626
54613
|
}] }); })();
|
|
54627
|
-
(() => { (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 }); })();
|
|
54628
54615
|
|
|
54629
54616
|
function DashboardHeaderComponent_Conditional_24_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
54630
54617
|
i0.ɵɵelementStart(0, "span", 4);
|