@eric-emg/symphiq-components 1.2.288 → 1.2.290
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.
|
@@ -54421,7 +54421,7 @@ class RevenueCalculatorWelcomeBannerComponent {
|
|
|
54421
54421
|
if (isLoaded && !hasTargets) {
|
|
54422
54422
|
return "Now that we have your data, it's time to set your revenue target for this year. Enter your desired revenue goal below, and we'll automatically calculate the required improvements for each funnel metric. This ensures your revenue targets are grounded in achievable, metric-level improvements.";
|
|
54423
54423
|
}
|
|
54424
|
-
if (hasTargets && isOnboarded) {
|
|
54424
|
+
if (hasTargets && !isOnboarded) {
|
|
54425
54425
|
return "Your metric targets are set. Adjust them anytime or continue onboarding to see your funnel performance.";
|
|
54426
54426
|
}
|
|
54427
54427
|
return "Great work! Your targets are set. You can now track your progress and start strategizing to achieve your revenue goals. Continue to the Funnel Analysis to see how you're pacing against these targets and identify opportunities for growth.";
|
|
@@ -59818,9 +59818,12 @@ class EditMetricTargetModalComponent {
|
|
|
59818
59818
|
};
|
|
59819
59819
|
}, ...(ngDevMode ? [{ debugName: "gapTooltip" }] : []));
|
|
59820
59820
|
this.filteredHistories = computed(() => {
|
|
59821
|
-
|
|
59821
|
+
const histories = this.targetHistories();
|
|
59822
|
+
console.log('[EditMetricTargetModal] targetHistories:', histories, 'length:', histories.length);
|
|
59823
|
+
const sorted = histories
|
|
59822
59824
|
.slice()
|
|
59823
59825
|
.sort((a, b) => new Date(b.createdDate ?? 0).getTime() - new Date(a.createdDate ?? 0).getTime());
|
|
59826
|
+
return sorted;
|
|
59824
59827
|
}, ...(ngDevMode ? [{ debugName: "filteredHistories" }] : []));
|
|
59825
59828
|
this.currentPaceProjectionTooltip = {
|
|
59826
59829
|
title: 'Current Pace Projection',
|
|
@@ -63002,7 +63005,7 @@ class SymphiqRevenueCalculatorDashboardComponent {
|
|
|
63002
63005
|
i0.ɵɵadvance(3);
|
|
63003
63006
|
i0.ɵɵconditional(ctx.isLoading() ? 23 : ctx.dataLoadStatus() !== ctx.ShopDataLoadStatusEnum.FULLY_LOADED ? 24 : 25);
|
|
63004
63007
|
i0.ɵɵadvance(3);
|
|
63005
|
-
i0.ɵɵconditional(ctx.hasAnyTargets() && ctx.isOnboarded() ? 26 : -1);
|
|
63008
|
+
i0.ɵɵconditional(ctx.hasAnyTargets() && !ctx.isOnboarded() ? 26 : -1);
|
|
63006
63009
|
} }, dependencies: [CommonModule, i1$1.NgClass, JourneyProgressIndicatorComponent,
|
|
63007
63010
|
RevenueCalculatorWelcomeBannerComponent,
|
|
63008
63011
|
InitialTargetSettingComponent,
|
|
@@ -63179,7 +63182,7 @@ class SymphiqRevenueCalculatorDashboardComponent {
|
|
|
63179
63182
|
</main>
|
|
63180
63183
|
|
|
63181
63184
|
<!-- Sticky Footer for Onboarding Continuation -->
|
|
63182
|
-
@if (hasAnyTargets() && isOnboarded()) {
|
|
63185
|
+
@if (hasAnyTargets() && !isOnboarded()) {
|
|
63183
63186
|
<div [ngClass]="stickyFooterClasses()" class="sticky bottom-0 z-50 border-t py-4 px-4 sm:px-6 lg:px-8">
|
|
63184
63187
|
<div class="max-w-7xl mx-auto flex items-center justify-between gap-4">
|
|
63185
63188
|
<p [ngClass]="footerTextClasses()" class="text-sm">
|