@eric-emg/symphiq-components 1.2.259 → 1.2.260
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.
|
@@ -59996,9 +59996,9 @@ class InitialTargetSettingComponent {
|
|
|
59996
59996
|
i0.ɵɵadvance();
|
|
59997
59997
|
i0.ɵɵconditional(ctx.revenueChartData() ? 32 : 33);
|
|
59998
59998
|
i0.ɵɵadvance(2);
|
|
59999
|
-
i0.ɵɵclassProp("calculated-card-enter-active", ctx.
|
|
59999
|
+
i0.ɵɵclassProp("calculated-card-enter-active", ctx.displayedTargetRevenue() > 0);
|
|
60000
60000
|
i0.ɵɵadvance(2);
|
|
60001
|
-
i0.ɵɵconditional(ctx.
|
|
60001
|
+
i0.ɵɵconditional(ctx.displayedTargetRevenue() > 0 ? 36 : -1);
|
|
60002
60002
|
i0.ɵɵadvance();
|
|
60003
60003
|
i0.ɵɵconditional(ctx.calculationState() !== "results" ? 37 : -1);
|
|
60004
60004
|
i0.ɵɵadvance();
|
|
@@ -60204,9 +60204,9 @@ class InitialTargetSettingComponent {
|
|
|
60204
60204
|
</div>
|
|
60205
60205
|
</div>
|
|
60206
60206
|
|
|
60207
|
-
<div class="calculated-card-enter order-first lg:order-last" [class.calculated-card-enter-active]="
|
|
60207
|
+
<div class="calculated-card-enter order-first lg:order-last" [class.calculated-card-enter-active]="displayedTargetRevenue() > 0">
|
|
60208
60208
|
<div class="calculated-card-content">
|
|
60209
|
-
@if (
|
|
60209
|
+
@if (displayedTargetRevenue() > 0) {
|
|
60210
60210
|
<div [ngClass]="calculatedValuesCardClasses()" class="p-6 rounded-xl border-2"
|
|
60211
60211
|
[class.h-full]="calculationState() !== 'results' || detailsExpanded()">
|
|
60212
60212
|
<div>
|
|
@@ -60634,6 +60634,10 @@ class SymphiqRevenueCalculatorDashboardComponent {
|
|
|
60634
60634
|
this.isScrolled = signal(false, ...(ngDevMode ? [{ debugName: "isScrolled" }] : []));
|
|
60635
60635
|
this.isProgrammaticScroll = false;
|
|
60636
60636
|
this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
60637
|
+
this.hasAnyTargets = computed(() => {
|
|
60638
|
+
const targets = this.targets();
|
|
60639
|
+
return targets !== undefined && targets.length > 0;
|
|
60640
|
+
}, ...(ngDevMode ? [{ debugName: "hasAnyTargets" }] : []));
|
|
60637
60641
|
this.hasCurrentYearTargets = computed(() => {
|
|
60638
60642
|
const targets = this.targets() ?? [];
|
|
60639
60643
|
const metrics = this.funnelMetrics() ?? [];
|
|
@@ -60807,7 +60811,7 @@ class SymphiqRevenueCalculatorDashboardComponent {
|
|
|
60807
60811
|
i0.ɵɵadvance(3);
|
|
60808
60812
|
i0.ɵɵproperty("ngClass", ctx.isLightMode() ? "text-xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent truncate" : "text-xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent truncate");
|
|
60809
60813
|
i0.ɵɵadvance(2);
|
|
60810
|
-
i0.ɵɵproperty("viewMode", ctx.viewMode())("currentStepId", ctx.JourneyStepIdEnum.REVENUE_CALCULATOR)("showNextStepAction", ctx.
|
|
60814
|
+
i0.ɵɵproperty("viewMode", ctx.viewMode())("currentStepId", ctx.JourneyStepIdEnum.REVENUE_CALCULATOR)("showNextStepAction", ctx.hasAnyTargets())("forDemo", ctx.forDemo())("maxAccessibleStepId", ctx.maxAccessibleStepId());
|
|
60811
60815
|
i0.ɵɵadvance(3);
|
|
60812
60816
|
i0.ɵɵconditional(ctx.isLoading() ? 23 : ctx.dataLoadStatus() !== ctx.ShopDataLoadStatusEnum.FULLY_LOADED ? 24 : 25);
|
|
60813
60817
|
} }, dependencies: [CommonModule, i1$1.NgClass, JourneyProgressIndicatorComponent,
|
|
@@ -60896,7 +60900,7 @@ class SymphiqRevenueCalculatorDashboardComponent {
|
|
|
60896
60900
|
<symphiq-journey-progress-indicator
|
|
60897
60901
|
[viewMode]="viewMode()"
|
|
60898
60902
|
[currentStepId]="JourneyStepIdEnum.REVENUE_CALCULATOR"
|
|
60899
|
-
[showNextStepAction]="
|
|
60903
|
+
[showNextStepAction]="hasAnyTargets()"
|
|
60900
60904
|
[forDemo]="forDemo()"
|
|
60901
60905
|
[maxAccessibleStepId]="maxAccessibleStepId()"
|
|
60902
60906
|
(stepClick)="stepClick.emit($event)"
|