@eric-emg/symphiq-components 1.2.408 → 1.2.409
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.
|
@@ -93176,6 +93176,13 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
93176
93176
|
this.accountInputEffect = effect(() => {
|
|
93177
93177
|
this.accountSignal.set(this.account());
|
|
93178
93178
|
}, ...(ngDevMode ? [{ debugName: "accountInputEffect", allowSignalWrites: true }] : [{ allowSignalWrites: true }]));
|
|
93179
|
+
this.profileIndexEffect = effect(() => {
|
|
93180
|
+
const profileToUse = this.profile();
|
|
93181
|
+
if (profileToUse?.profileStructured?.sections) {
|
|
93182
|
+
const recommendations = profileToUse.profileStructured?.recommendations || [];
|
|
93183
|
+
this.profileContextService.indexProfile(profileToUse.profileStructured.sections, recommendations);
|
|
93184
|
+
}
|
|
93185
|
+
}, ...(ngDevMode ? [{ debugName: "profileIndexEffect" }] : []));
|
|
93179
93186
|
this.isSubscriptionActive = computed(() => {
|
|
93180
93187
|
const account = this.accountSignal();
|
|
93181
93188
|
if (!account)
|
|
@@ -93640,15 +93647,9 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
93640
93647
|
ngOnInit() {
|
|
93641
93648
|
this.funnelAnalysisSignal.set(this.funnelAnalysis());
|
|
93642
93649
|
this.accountSignal.set(this.account());
|
|
93643
|
-
// Index business profile recommendations into ProfileContextService
|
|
93644
|
-
// This enables detailed recommendation lookup for goal business insights
|
|
93645
|
-
const profileToUse = this.profile();
|
|
93646
|
-
if (profileToUse?.profileStructured?.sections) {
|
|
93647
|
-
const recommendations = profileToUse.profileStructured?.recommendations || [];
|
|
93648
|
-
this.profileContextService.indexProfile(profileToUse.profileStructured.sections, recommendations);
|
|
93649
|
-
}
|
|
93650
93650
|
// Initialize ProfileItemLookupService with business profile
|
|
93651
93651
|
// This enables competitor and focus area chip lookups in business insights
|
|
93652
|
+
const profileToUse = this.profile();
|
|
93652
93653
|
if (profileToUse) {
|
|
93653
93654
|
this.profileItemLookupService.setProfile(profileToUse);
|
|
93654
93655
|
}
|