@eric-emg/symphiq-components 1.2.349 → 1.2.351
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.
|
@@ -89105,6 +89105,9 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89105
89105
|
return this.hasBillingCurrency() && !this.isSubscriptionActive() && this.planCardInfos() && this.planCardInfos().length > 0;
|
|
89106
89106
|
}, ...(ngDevMode ? [{ debugName: "showPlanSelection" }] : []));
|
|
89107
89107
|
this.accountSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "accountSignal" }] : []));
|
|
89108
|
+
this.accountInputEffect = effect(() => {
|
|
89109
|
+
this.accountSignal.set(this.account());
|
|
89110
|
+
}, ...(ngDevMode ? [{ debugName: "accountInputEffect", allowSignalWrites: true }] : [{ allowSignalWrites: true }]));
|
|
89108
89111
|
this.isSubscriptionActive = computed(() => {
|
|
89109
89112
|
const account = this.accountSignal();
|
|
89110
89113
|
if (!account)
|
|
@@ -89502,19 +89505,15 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89502
89505
|
}
|
|
89503
89506
|
}
|
|
89504
89507
|
ngOnChanges(changes) {
|
|
89505
|
-
// Update the signal whenever funnelAnalysis input changes
|
|
89506
89508
|
if (changes['funnelAnalysis']) {
|
|
89507
89509
|
this.funnelAnalysisSignal.set(this.funnelAnalysis());
|
|
89508
89510
|
}
|
|
89509
|
-
// Update account signal when account input changes
|
|
89510
89511
|
if (changes['account']) {
|
|
89511
89512
|
this.accountSignal.set(this.account());
|
|
89512
89513
|
}
|
|
89513
89514
|
}
|
|
89514
89515
|
ngOnInit() {
|
|
89515
|
-
// Set the signal with the funnelAnalysis data
|
|
89516
89516
|
this.funnelAnalysisSignal.set(this.funnelAnalysis());
|
|
89517
|
-
// Set account signal
|
|
89518
89517
|
this.accountSignal.set(this.account());
|
|
89519
89518
|
// Index business profile recommendations into ProfileContextService
|
|
89520
89519
|
// This enables detailed recommendation lookup for goal business insights
|