@eric-emg/symphiq-components 1.2.347 → 1.2.349
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 +170 -139
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +50 -49
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -86873,7 +86873,7 @@ class BillingPeriodToggleComponent {
|
|
|
86873
86873
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BillingPeriodToggleComponent, { className: "BillingPeriodToggleComponent", filePath: "lib/components/profile-analysis-dashboard/cards/billing-period-toggle.component.ts", lineNumber: 47 }); })();
|
|
86874
86874
|
|
|
86875
86875
|
function PlanCardComponent_Conditional_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
86876
|
-
i0.ɵɵelementStart(0, "div",
|
|
86876
|
+
i0.ɵɵelementStart(0, "div", 12);
|
|
86877
86877
|
i0.ɵɵtext(1);
|
|
86878
86878
|
i0.ɵɵelementEnd();
|
|
86879
86879
|
} if (rf & 2) {
|
|
@@ -86884,10 +86884,10 @@ function PlanCardComponent_Conditional_1_Conditional_4_Template(rf, ctx) { if (r
|
|
|
86884
86884
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.getSavingsPercentage(), " ");
|
|
86885
86885
|
} }
|
|
86886
86886
|
function PlanCardComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
86887
|
-
i0.ɵɵelementStart(0, "div", 1)(1, "div",
|
|
86887
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 9)(2, "span", 10);
|
|
86888
86888
|
i0.ɵɵtext(3, "Best Value");
|
|
86889
86889
|
i0.ɵɵelementEnd()();
|
|
86890
|
-
i0.ɵɵconditionalCreate(4, PlanCardComponent_Conditional_1_Conditional_4_Template, 2, 6, "div",
|
|
86890
|
+
i0.ɵɵconditionalCreate(4, PlanCardComponent_Conditional_1_Conditional_4_Template, 2, 6, "div", 11);
|
|
86891
86891
|
i0.ɵɵelementEnd();
|
|
86892
86892
|
} if (rf & 2) {
|
|
86893
86893
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -86897,38 +86897,139 @@ function PlanCardComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
86897
86897
|
i0.ɵɵadvance(3);
|
|
86898
86898
|
i0.ɵɵconditional(ctx_r0.getSavingsPercentage() ? 4 : -1);
|
|
86899
86899
|
} }
|
|
86900
|
-
function
|
|
86901
|
-
i0.ɵɵelementStart(0, "div",
|
|
86900
|
+
function PlanCardComponent_Conditional_6_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
86901
|
+
i0.ɵɵelementStart(0, "div", 13);
|
|
86902
86902
|
i0.ɵɵnamespaceSVG();
|
|
86903
86903
|
i0.ɵɵelementStart(1, "svg", 18);
|
|
86904
|
-
i0.ɵɵelement(2, "path",
|
|
86904
|
+
i0.ɵɵelement(2, "path", 19);
|
|
86905
86905
|
i0.ɵɵelementEnd();
|
|
86906
86906
|
i0.ɵɵtext(3, " Most Popular Choice ");
|
|
86907
86907
|
i0.ɵɵelementEnd();
|
|
86908
86908
|
} if (rf & 2) {
|
|
86909
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
86909
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
86910
86910
|
i0.ɵɵproperty("ngClass", ctx_r0.recommendedTextClasses());
|
|
86911
86911
|
} }
|
|
86912
|
-
function
|
|
86913
|
-
i0.ɵɵelementStart(0, "div",
|
|
86912
|
+
function PlanCardComponent_Conditional_6_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
86913
|
+
i0.ɵɵelementStart(0, "div", 17);
|
|
86914
86914
|
i0.ɵɵnamespaceSVG();
|
|
86915
86915
|
i0.ɵɵelementStart(1, "svg", 18);
|
|
86916
|
-
i0.ɵɵelement(2, "path",
|
|
86916
|
+
i0.ɵɵelement(2, "path", 20);
|
|
86917
86917
|
i0.ɵɵelementEnd();
|
|
86918
86918
|
i0.ɵɵtext(3);
|
|
86919
86919
|
i0.ɵɵelementEnd();
|
|
86920
86920
|
} if (rf & 2) {
|
|
86921
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
86921
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
86922
86922
|
i0.ɵɵproperty("ngClass", ctx_r0.savingsTextClasses());
|
|
86923
86923
|
i0.ɵɵadvance(3);
|
|
86924
86924
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.getSavingsAmount(), " ");
|
|
86925
86925
|
} }
|
|
86926
|
-
function
|
|
86927
|
-
i0.ɵɵ
|
|
86926
|
+
function PlanCardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
86927
|
+
i0.ɵɵconditionalCreate(0, PlanCardComponent_Conditional_6_Conditional_0_Template, 4, 1, "div", 13);
|
|
86928
|
+
i0.ɵɵelementStart(1, "div", 14)(2, "span", 15);
|
|
86929
|
+
i0.ɵɵtext(3);
|
|
86930
|
+
i0.ɵɵelementEnd();
|
|
86931
|
+
i0.ɵɵelementStart(4, "span", 16);
|
|
86932
|
+
i0.ɵɵtext(5);
|
|
86933
|
+
i0.ɵɵelementEnd()();
|
|
86934
|
+
i0.ɵɵconditionalCreate(6, PlanCardComponent_Conditional_6_Conditional_6_Template, 4, 2, "div", 17);
|
|
86935
|
+
} if (rf & 2) {
|
|
86936
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
86937
|
+
i0.ɵɵconditional(ctx_r0.showBestValueBadge() ? 0 : -1);
|
|
86938
|
+
i0.ɵɵadvance(2);
|
|
86939
|
+
i0.ɵɵproperty("ngClass", ctx_r0.priceClasses());
|
|
86940
|
+
i0.ɵɵadvance();
|
|
86941
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.formatPrice(), " ");
|
|
86942
|
+
i0.ɵɵadvance();
|
|
86943
|
+
i0.ɵɵproperty("ngClass", ctx_r0.pricePeriodClasses());
|
|
86944
|
+
i0.ɵɵadvance();
|
|
86945
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.getPricePeriod(), " ");
|
|
86946
|
+
i0.ɵɵadvance();
|
|
86947
|
+
i0.ɵɵconditional(ctx_r0.showBestValueBadge() && ctx_r0.getSavingsAmount() ? 6 : -1);
|
|
86948
|
+
} }
|
|
86949
|
+
function PlanCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
86950
|
+
i0.ɵɵelement(0, "div", 7);
|
|
86928
86951
|
} if (rf & 2) {
|
|
86929
86952
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
86930
86953
|
i0.ɵɵproperty("ngClass", ctx_r0.radioInnerClasses());
|
|
86931
86954
|
} }
|
|
86955
|
+
function PlanCardComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
86956
|
+
i0.ɵɵelementStart(0, "div", 8)(1, "div", 21)(2, "div", 22)(3, "span", 23);
|
|
86957
|
+
i0.ɵɵtext(4, "AI usage");
|
|
86958
|
+
i0.ɵɵelementEnd();
|
|
86959
|
+
i0.ɵɵelementStart(5, "button", 24);
|
|
86960
|
+
i0.ɵɵnamespaceSVG();
|
|
86961
|
+
i0.ɵɵelementStart(6, "svg", 18);
|
|
86962
|
+
i0.ɵɵelement(7, "path", 25);
|
|
86963
|
+
i0.ɵɵelementEnd()()();
|
|
86964
|
+
i0.ɵɵnamespaceHTML();
|
|
86965
|
+
i0.ɵɵelementStart(8, "span", 26);
|
|
86966
|
+
i0.ɵɵtext(9, " Charged monthly based on your actual usage\u2014no per-token counting, just straightforward monthly billing. ");
|
|
86967
|
+
i0.ɵɵelementEnd()();
|
|
86968
|
+
i0.ɵɵelementStart(10, "div", 21)(11, "span", 23);
|
|
86969
|
+
i0.ɵɵtext(12, "Unlimited recommendations");
|
|
86970
|
+
i0.ɵɵelementEnd();
|
|
86971
|
+
i0.ɵɵnamespaceSVG();
|
|
86972
|
+
i0.ɵɵelementStart(13, "svg", 27);
|
|
86973
|
+
i0.ɵɵelement(14, "path", 28);
|
|
86974
|
+
i0.ɵɵelementEnd()();
|
|
86975
|
+
i0.ɵɵnamespaceHTML();
|
|
86976
|
+
i0.ɵɵelementStart(15, "div", 21)(16, "span", 23);
|
|
86977
|
+
i0.ɵɵtext(17, "Unlimited seats");
|
|
86978
|
+
i0.ɵɵelementEnd();
|
|
86979
|
+
i0.ɵɵnamespaceSVG();
|
|
86980
|
+
i0.ɵɵelementStart(18, "svg", 27);
|
|
86981
|
+
i0.ɵɵelement(19, "path", 28);
|
|
86982
|
+
i0.ɵɵelementEnd()();
|
|
86983
|
+
i0.ɵɵnamespaceHTML();
|
|
86984
|
+
i0.ɵɵelementStart(20, "div", 29)(21, "span", 23);
|
|
86985
|
+
i0.ɵɵtext(22, "Google Analytics integration");
|
|
86986
|
+
i0.ɵɵelementEnd();
|
|
86987
|
+
i0.ɵɵnamespaceSVG();
|
|
86988
|
+
i0.ɵɵelementStart(23, "svg", 27);
|
|
86989
|
+
i0.ɵɵelement(24, "path", 28);
|
|
86990
|
+
i0.ɵɵelementEnd()();
|
|
86991
|
+
i0.ɵɵnamespaceHTML();
|
|
86992
|
+
i0.ɵɵelementStart(25, "div", 30)(26, "h4", 31);
|
|
86993
|
+
i0.ɵɵtext(27, " Contract terms ");
|
|
86994
|
+
i0.ɵɵelementEnd();
|
|
86995
|
+
i0.ɵɵelement(28, "p", 32);
|
|
86996
|
+
i0.ɵɵelementEnd()();
|
|
86997
|
+
} if (rf & 2) {
|
|
86998
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
86999
|
+
i0.ɵɵproperty("ngClass", ctx_r0.sectionClasses());
|
|
87000
|
+
i0.ɵɵadvance();
|
|
87001
|
+
i0.ɵɵproperty("ngClass", ctx_r0.featureRowClasses());
|
|
87002
|
+
i0.ɵɵadvance(2);
|
|
87003
|
+
i0.ɵɵproperty("ngClass", ctx_r0.labelClasses());
|
|
87004
|
+
i0.ɵɵadvance(2);
|
|
87005
|
+
i0.ɵɵproperty("libSymphiqTooltip", ctx_r0.aiUsageTooltipContent())("ngClass", ctx_r0.tooltipButtonClasses());
|
|
87006
|
+
i0.ɵɵadvance(3);
|
|
87007
|
+
i0.ɵɵproperty("ngClass", ctx_r0.valueClasses());
|
|
87008
|
+
i0.ɵɵadvance(2);
|
|
87009
|
+
i0.ɵɵproperty("ngClass", ctx_r0.featureRowClasses());
|
|
87010
|
+
i0.ɵɵadvance();
|
|
87011
|
+
i0.ɵɵproperty("ngClass", ctx_r0.labelClasses());
|
|
87012
|
+
i0.ɵɵadvance(2);
|
|
87013
|
+
i0.ɵɵproperty("ngClass", ctx_r0.checkIconClasses());
|
|
87014
|
+
i0.ɵɵadvance(2);
|
|
87015
|
+
i0.ɵɵproperty("ngClass", ctx_r0.featureRowClasses());
|
|
87016
|
+
i0.ɵɵadvance();
|
|
87017
|
+
i0.ɵɵproperty("ngClass", ctx_r0.labelClasses());
|
|
87018
|
+
i0.ɵɵadvance(2);
|
|
87019
|
+
i0.ɵɵproperty("ngClass", ctx_r0.checkIconClasses());
|
|
87020
|
+
i0.ɵɵadvance(2);
|
|
87021
|
+
i0.ɵɵproperty("ngClass", ctx_r0.featureRowClasses());
|
|
87022
|
+
i0.ɵɵadvance();
|
|
87023
|
+
i0.ɵɵproperty("ngClass", ctx_r0.labelClasses());
|
|
87024
|
+
i0.ɵɵadvance(2);
|
|
87025
|
+
i0.ɵɵproperty("ngClass", ctx_r0.checkIconClasses());
|
|
87026
|
+
i0.ɵɵadvance(2);
|
|
87027
|
+
i0.ɵɵproperty("ngClass", ctx_r0.contractTermsClasses());
|
|
87028
|
+
i0.ɵɵadvance();
|
|
87029
|
+
i0.ɵɵproperty("ngClass", ctx_r0.contractTermsLabelClasses());
|
|
87030
|
+
i0.ɵɵadvance(2);
|
|
87031
|
+
i0.ɵɵproperty("ngClass", ctx_r0.contractTermsTextClasses())("innerHTML", ctx_r0.getContractTerms(), i0.ɵɵsanitizeHtml);
|
|
87032
|
+
} }
|
|
86932
87033
|
class PlanCardComponent {
|
|
86933
87034
|
constructor() {
|
|
86934
87035
|
this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
|
|
@@ -86940,6 +87041,10 @@ class PlanCardComponent {
|
|
|
86940
87041
|
this.showBestValueBadge = computed(() => {
|
|
86941
87042
|
return this.planInfo().bestValue === true;
|
|
86942
87043
|
}, ...(ngDevMode ? [{ debugName: "showBestValueBadge" }] : []));
|
|
87044
|
+
this.isEmgPlan = computed(() => {
|
|
87045
|
+
const title = this.getPlanTitle().toLowerCase();
|
|
87046
|
+
return title.includes('emg');
|
|
87047
|
+
}, ...(ngDevMode ? [{ debugName: "isEmgPlan" }] : []));
|
|
86943
87048
|
}
|
|
86944
87049
|
handleCardClick() {
|
|
86945
87050
|
this.planSelected.emit(this.planInfo());
|
|
@@ -87172,125 +87277,40 @@ At the end of each month, your total AI usage is calculated and automatically bi
|
|
|
87172
87277
|
return null;
|
|
87173
87278
|
}
|
|
87174
87279
|
static { this.ɵfac = function PlanCardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PlanCardComponent)(); }; }
|
|
87175
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PlanCardComponent, selectors: [["symphiq-plan-card"]], inputs: { viewMode: [1, "viewMode"], planInfo: [1, "planInfo"], isSelected: [1, "isSelected"], selectedPeriodUnit: [1, "selectedPeriodUnit"], monthlyComparisonPrice: [1, "monthlyComparisonPrice"] }, outputs: { planSelected: "planSelected" }, decls:
|
|
87280
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PlanCardComponent, selectors: [["symphiq-plan-card"]], inputs: { viewMode: [1, "viewMode"], planInfo: [1, "planInfo"], isSelected: [1, "isSelected"], selectedPeriodUnit: [1, "selectedPeriodUnit"], monthlyComparisonPrice: [1, "monthlyComparisonPrice"] }, outputs: { planSelected: "planSelected" }, decls: 11, vars: 16, consts: [[1, "relative", "rounded-2xl", "border-2", "p-6", "transition-all", "duration-200", "cursor-pointer", "hover:scale-[1.02]", 3, "click", "ngClass"], [1, "absolute", "-top-5", "left-1/2", "flex", "flex-col", "items-center", "gap-2", "z-10"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "flex-shrink-0", "ml-4"], [1, "w-6", "h-6", "rounded-full", "border-2", "flex", "items-center", "justify-center", "transition-all", "duration-200", 3, "ngClass"], [1, "w-3", "h-3", "rounded-full", 3, "ngClass"], [1, "space-y-4", 3, "ngClass"], [1, "px-6", "py-2", "rounded-full", "text-base", "font-extrabold", "shadow-2xl", 3, "ngClass"], [1, "drop-shadow-lg"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-bold", "shadow-lg", 3, "ngClass", "savings-badge", "savings-badge-selected"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-bold", "shadow-lg", 3, "ngClass"], [1, "text-sm", "font-semibold", "mb-2", "flex", "items-center", "gap-1", 3, "ngClass"], [1, "flex", "items-baseline", "gap-2"], [1, "text-4xl", "font-bold", 3, "ngClass"], [1, "text-base", 3, "ngClass"], [1, "text-sm", "font-bold", "mt-2", "flex", "items-center", "gap-1", 3, "ngClass"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z", "clip-rule", "evenodd"], [1, "flex", "justify-between", "items-center", "py-3", "border-b", 3, "ngClass"], [1, "flex", "items-center", "gap-2"], [1, "text-sm", "font-medium", 3, "ngClass"], ["tooltipType", "markdown", "tooltipPosition", "right", 1, "w-5", "h-5", "rounded-full", "flex", "items-center", "justify-center", 3, "libSymphiqTooltip", "ngClass"], ["fill-rule", "evenodd", "d", "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z", "clip-rule", "evenodd"], [1, "text-sm", "font-semibold", "text-right", "max-w-[60%]", 3, "ngClass"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-5", "h-5", 3, "ngClass"], ["fill-rule", "evenodd", "d", "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z", "clip-rule", "evenodd"], [1, "flex", "justify-between", "items-center", "py-3", 3, "ngClass"], [1, "pt-4", "mt-4", 3, "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "mb-2", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass", "innerHTML"]], template: function PlanCardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
87176
87281
|
i0.ɵɵelementStart(0, "div", 0);
|
|
87177
87282
|
i0.ɵɵlistener("click", function PlanCardComponent_Template_div_click_0_listener() { return ctx.handleCardClick(); });
|
|
87178
87283
|
i0.ɵɵconditionalCreate(1, PlanCardComponent_Conditional_1_Template, 5, 6, "div", 1);
|
|
87179
87284
|
i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "h3", 4);
|
|
87180
87285
|
i0.ɵɵtext(5);
|
|
87181
87286
|
i0.ɵɵelementEnd();
|
|
87182
|
-
i0.ɵɵconditionalCreate(6, PlanCardComponent_Conditional_6_Template,
|
|
87183
|
-
i0.ɵɵelementStart(7, "div", 6)(8, "span", 7);
|
|
87184
|
-
i0.ɵɵtext(9);
|
|
87185
|
-
i0.ɵɵelementEnd();
|
|
87186
|
-
i0.ɵɵelementStart(10, "span", 8);
|
|
87187
|
-
i0.ɵɵtext(11);
|
|
87188
|
-
i0.ɵɵelementEnd()();
|
|
87189
|
-
i0.ɵɵconditionalCreate(12, PlanCardComponent_Conditional_12_Template, 4, 2, "div", 9);
|
|
87190
|
-
i0.ɵɵelementEnd();
|
|
87191
|
-
i0.ɵɵelementStart(13, "div", 10)(14, "div", 11);
|
|
87192
|
-
i0.ɵɵconditionalCreate(15, PlanCardComponent_Conditional_15_Template, 1, 1, "div", 12);
|
|
87193
|
-
i0.ɵɵelementEnd()()();
|
|
87194
|
-
i0.ɵɵelementStart(16, "div", 13)(17, "div", 14)(18, "div", 15)(19, "span", 16);
|
|
87195
|
-
i0.ɵɵtext(20, "AI usage");
|
|
87287
|
+
i0.ɵɵconditionalCreate(6, PlanCardComponent_Conditional_6_Template, 7, 6);
|
|
87196
87288
|
i0.ɵɵelementEnd();
|
|
87197
|
-
i0.ɵɵelementStart(
|
|
87198
|
-
i0.ɵɵ
|
|
87199
|
-
i0.ɵɵelementStart(22, "svg", 18);
|
|
87200
|
-
i0.ɵɵelement(23, "path", 19);
|
|
87289
|
+
i0.ɵɵelementStart(7, "div", 5)(8, "div", 6);
|
|
87290
|
+
i0.ɵɵconditionalCreate(9, PlanCardComponent_Conditional_9_Template, 1, 1, "div", 7);
|
|
87201
87291
|
i0.ɵɵelementEnd()()();
|
|
87202
|
-
i0.ɵɵ
|
|
87203
|
-
i0.ɵɵelementStart(24, "span", 20);
|
|
87204
|
-
i0.ɵɵtext(25, " Charged monthly based on your actual usage\u2014no per-token counting, just straightforward monthly billing. ");
|
|
87205
|
-
i0.ɵɵelementEnd()();
|
|
87206
|
-
i0.ɵɵelementStart(26, "div", 14)(27, "span", 16);
|
|
87207
|
-
i0.ɵɵtext(28, "Unlimited recommendations");
|
|
87208
|
-
i0.ɵɵelementEnd();
|
|
87209
|
-
i0.ɵɵnamespaceSVG();
|
|
87210
|
-
i0.ɵɵelementStart(29, "svg", 21);
|
|
87211
|
-
i0.ɵɵelement(30, "path", 22);
|
|
87212
|
-
i0.ɵɵelementEnd()();
|
|
87213
|
-
i0.ɵɵnamespaceHTML();
|
|
87214
|
-
i0.ɵɵelementStart(31, "div", 14)(32, "span", 16);
|
|
87215
|
-
i0.ɵɵtext(33, "Unlimited seats");
|
|
87216
|
-
i0.ɵɵelementEnd();
|
|
87217
|
-
i0.ɵɵnamespaceSVG();
|
|
87218
|
-
i0.ɵɵelementStart(34, "svg", 21);
|
|
87219
|
-
i0.ɵɵelement(35, "path", 22);
|
|
87220
|
-
i0.ɵɵelementEnd()();
|
|
87221
|
-
i0.ɵɵnamespaceHTML();
|
|
87222
|
-
i0.ɵɵelementStart(36, "div", 23)(37, "span", 16);
|
|
87223
|
-
i0.ɵɵtext(38, "Google Analytics integration");
|
|
87224
|
-
i0.ɵɵelementEnd();
|
|
87225
|
-
i0.ɵɵnamespaceSVG();
|
|
87226
|
-
i0.ɵɵelementStart(39, "svg", 21);
|
|
87227
|
-
i0.ɵɵelement(40, "path", 22);
|
|
87228
|
-
i0.ɵɵelementEnd()();
|
|
87229
|
-
i0.ɵɵnamespaceHTML();
|
|
87230
|
-
i0.ɵɵelementStart(41, "div", 24)(42, "h4", 25);
|
|
87231
|
-
i0.ɵɵtext(43, " Contract terms ");
|
|
87292
|
+
i0.ɵɵconditionalCreate(10, PlanCardComponent_Conditional_10_Template, 29, 19, "div", 8);
|
|
87232
87293
|
i0.ɵɵelementEnd();
|
|
87233
|
-
i0.ɵɵelement(44, "p", 26);
|
|
87234
|
-
i0.ɵɵelementEnd()()();
|
|
87235
87294
|
} if (rf & 2) {
|
|
87236
87295
|
i0.ɵɵclassProp("best-value-card", ctx.showBestValueBadge() && !ctx.isSelected())("best-value-card-selected", ctx.showBestValueBadge() && ctx.isSelected());
|
|
87237
87296
|
i0.ɵɵproperty("ngClass", ctx.cardContainerClasses());
|
|
87238
87297
|
i0.ɵɵadvance();
|
|
87239
87298
|
i0.ɵɵconditional(ctx.showBestValueBadge() ? 1 : -1);
|
|
87240
|
-
i0.ɵɵadvance(3);
|
|
87241
|
-
i0.ɵɵproperty("ngClass", ctx.planTitleClasses());
|
|
87242
87299
|
i0.ɵɵadvance();
|
|
87243
|
-
i0.ɵɵ
|
|
87244
|
-
i0.ɵɵadvance();
|
|
87245
|
-
i0.ɵɵconditional(ctx.showBestValueBadge() ? 6 : -1);
|
|
87300
|
+
i0.ɵɵclassProp("mb-6", !ctx.isEmgPlan());
|
|
87246
87301
|
i0.ɵɵadvance(2);
|
|
87247
|
-
i0.ɵɵ
|
|
87248
|
-
i0.ɵɵ
|
|
87249
|
-
i0.ɵɵtextInterpolate1(" ", ctx.formatPrice(), " ");
|
|
87250
|
-
i0.ɵɵadvance();
|
|
87251
|
-
i0.ɵɵproperty("ngClass", ctx.pricePeriodClasses());
|
|
87302
|
+
i0.ɵɵclassProp("mb-2", !ctx.isEmgPlan());
|
|
87303
|
+
i0.ɵɵproperty("ngClass", ctx.planTitleClasses());
|
|
87252
87304
|
i0.ɵɵadvance();
|
|
87253
|
-
i0.ɵɵtextInterpolate1(" ", ctx.
|
|
87305
|
+
i0.ɵɵtextInterpolate1(" ", ctx.getPlanTitle(), " ");
|
|
87254
87306
|
i0.ɵɵadvance();
|
|
87255
|
-
i0.ɵɵconditional(ctx.
|
|
87307
|
+
i0.ɵɵconditional(!ctx.isEmgPlan() ? 6 : -1);
|
|
87256
87308
|
i0.ɵɵadvance(2);
|
|
87257
87309
|
i0.ɵɵproperty("ngClass", ctx.radioClasses());
|
|
87258
87310
|
i0.ɵɵadvance();
|
|
87259
|
-
i0.ɵɵconditional(ctx.isSelected() ?
|
|
87260
|
-
i0.ɵɵadvance();
|
|
87261
|
-
i0.ɵɵproperty("ngClass", ctx.sectionClasses());
|
|
87262
|
-
i0.ɵɵadvance();
|
|
87263
|
-
i0.ɵɵproperty("ngClass", ctx.featureRowClasses());
|
|
87264
|
-
i0.ɵɵadvance(2);
|
|
87265
|
-
i0.ɵɵproperty("ngClass", ctx.labelClasses());
|
|
87266
|
-
i0.ɵɵadvance(2);
|
|
87267
|
-
i0.ɵɵproperty("libSymphiqTooltip", ctx.aiUsageTooltipContent())("ngClass", ctx.tooltipButtonClasses());
|
|
87268
|
-
i0.ɵɵadvance(3);
|
|
87269
|
-
i0.ɵɵproperty("ngClass", ctx.valueClasses());
|
|
87270
|
-
i0.ɵɵadvance(2);
|
|
87271
|
-
i0.ɵɵproperty("ngClass", ctx.featureRowClasses());
|
|
87272
|
-
i0.ɵɵadvance();
|
|
87273
|
-
i0.ɵɵproperty("ngClass", ctx.labelClasses());
|
|
87274
|
-
i0.ɵɵadvance(2);
|
|
87275
|
-
i0.ɵɵproperty("ngClass", ctx.checkIconClasses());
|
|
87276
|
-
i0.ɵɵadvance(2);
|
|
87277
|
-
i0.ɵɵproperty("ngClass", ctx.featureRowClasses());
|
|
87311
|
+
i0.ɵɵconditional(ctx.isSelected() ? 9 : -1);
|
|
87278
87312
|
i0.ɵɵadvance();
|
|
87279
|
-
i0.ɵɵ
|
|
87280
|
-
i0.ɵɵadvance(2);
|
|
87281
|
-
i0.ɵɵproperty("ngClass", ctx.checkIconClasses());
|
|
87282
|
-
i0.ɵɵadvance(2);
|
|
87283
|
-
i0.ɵɵproperty("ngClass", ctx.featureRowClasses());
|
|
87284
|
-
i0.ɵɵadvance();
|
|
87285
|
-
i0.ɵɵproperty("ngClass", ctx.labelClasses());
|
|
87286
|
-
i0.ɵɵadvance(2);
|
|
87287
|
-
i0.ɵɵproperty("ngClass", ctx.checkIconClasses());
|
|
87288
|
-
i0.ɵɵadvance(2);
|
|
87289
|
-
i0.ɵɵproperty("ngClass", ctx.contractTermsClasses());
|
|
87290
|
-
i0.ɵɵadvance();
|
|
87291
|
-
i0.ɵɵproperty("ngClass", ctx.contractTermsLabelClasses());
|
|
87292
|
-
i0.ɵɵadvance(2);
|
|
87293
|
-
i0.ɵɵproperty("ngClass", ctx.contractTermsTextClasses())("innerHTML", ctx.getContractTerms(), i0.ɵɵsanitizeHtml);
|
|
87313
|
+
i0.ɵɵconditional(!ctx.isEmgPlan() ? 10 : -1);
|
|
87294
87314
|
} }, dependencies: [CommonModule, i1$1.NgClass, TooltipDirective], styles: ["@keyframes _ngcontent-%COMP%_pulse-glow{0%,to{transform:translate(-50%) scale(1);box-shadow:0 0 20px #eab30899,0 0 40px #eab30866,0 0 60px #eab30833,inset 0 0 20px #ffffff4d}50%{transform:translate(-50%) scale(1.06);box-shadow:0 0 25px #eab308b3,0 0 50px #eab30880,0 0 75px #eab3084d,inset 0 0 25px #fff6}}@keyframes _ngcontent-%COMP%_pulse-glow-selected{0%,to{transform:translate(-50%) scale(1);box-shadow:0 0 20px #3b82f699,0 0 40px #3b82f666,0 0 60px #3b82f633,inset 0 0 20px #ffffff4d}50%{transform:translate(-50%) scale(1.06);box-shadow:0 0 25px #3b82f6b3,0 0 50px #3b82f680,0 0 75px #3b82f64d,inset 0 0 25px #fff6}}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:-200% center}to{background-position:200% center}}@keyframes _ngcontent-%COMP%_border-glow{0%,to{box-shadow:0 0 20px #eab30866,0 0 40px #eab30833,0 0 60px #eab3081a}50%{box-shadow:0 0 25px #eab30880,0 0 50px #eab3084d,0 0 75px #eab30826}}@keyframes _ngcontent-%COMP%_border-glow-selected{0%,to{box-shadow:0 0 20px #3b82f666,0 0 40px #3b82f633,0 0 60px #3b82f61a}50%{box-shadow:0 0 25px #3b82f680,0 0 50px #3b82f64d,0 0 75px #3b82f626}}.best-value-badge[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-glow 12s ease-in-out infinite;background:linear-gradient(135deg,#fbbf24,#f59e0b,#ec4899,#d946ef,#a855f7,#ec4899 75%,#f59e0b 85%,#fbbf24);background-size:300% 300%;animation:_ngcontent-%COMP%_pulse-glow 12s ease-in-out infinite,_ngcontent-%COMP%_shimmer 20s linear infinite;position:relative;overflow:hidden;transition:all .3s ease}.best-value-badge-selected[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-glow-selected 12s ease-in-out infinite,_ngcontent-%COMP%_shimmer 20s linear infinite;background:linear-gradient(135deg,#3b82f6,#2563eb,#1d4ed8,#3b82f6,#2563eb,#3b82f6);background-size:300% 300%}.best-value-badge[_ngcontent-%COMP%]:before{content:\"\";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:_ngcontent-%COMP%_shimmer 12s infinite}.best-value-card[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_border-glow 12s ease-in-out infinite;border-width:3px;transition:all .3s ease}.best-value-card-selected[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_border-glow-selected 12s ease-in-out infinite}.best-value-card[_ngcontent-%COMP%]:hover{transform:scale(1.02)}.savings-badge[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-glow 14s ease-in-out infinite}.savings-badge-selected[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-glow-selected 14s ease-in-out infinite}"], changeDetection: 0 }); }
|
|
87295
87315
|
}
|
|
87296
87316
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PlanCardComponent, [{
|
|
@@ -87322,34 +87342,36 @@ At the end of each month, your total AI usage is calculated and automatically bi
|
|
|
87322
87342
|
</div>
|
|
87323
87343
|
}
|
|
87324
87344
|
|
|
87325
|
-
<div class="flex items-start justify-between mb-6">
|
|
87345
|
+
<div class="flex items-start justify-between" [class.mb-6]="!isEmgPlan()">
|
|
87326
87346
|
<div class="flex-1">
|
|
87327
|
-
<h3 [ngClass]="planTitleClasses()" class="text-xl font-bold mb-2">
|
|
87347
|
+
<h3 [ngClass]="planTitleClasses()" class="text-xl font-bold" [class.mb-2]="!isEmgPlan()">
|
|
87328
87348
|
{{ getPlanTitle() }}
|
|
87329
87349
|
</h3>
|
|
87330
|
-
@if (
|
|
87331
|
-
|
|
87332
|
-
<
|
|
87333
|
-
<
|
|
87334
|
-
|
|
87335
|
-
|
|
87336
|
-
|
|
87337
|
-
|
|
87338
|
-
|
|
87339
|
-
<
|
|
87340
|
-
|
|
87341
|
-
|
|
87342
|
-
|
|
87343
|
-
|
|
87344
|
-
|
|
87345
|
-
|
|
87346
|
-
@if (showBestValueBadge() && getSavingsAmount()) {
|
|
87347
|
-
<div [ngClass]="savingsTextClasses()" class="text-sm font-bold mt-2 flex items-center gap-1">
|
|
87348
|
-
<svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
|
|
87349
|
-
<path fill-rule="evenodd" d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z" clip-rule="evenodd"/>
|
|
87350
|
-
</svg>
|
|
87351
|
-
{{ getSavingsAmount() }}
|
|
87350
|
+
@if (!isEmgPlan()) {
|
|
87351
|
+
@if (showBestValueBadge()) {
|
|
87352
|
+
<div [ngClass]="recommendedTextClasses()" class="text-sm font-semibold mb-2 flex items-center gap-1">
|
|
87353
|
+
<svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
|
|
87354
|
+
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/>
|
|
87355
|
+
</svg>
|
|
87356
|
+
Most Popular Choice
|
|
87357
|
+
</div>
|
|
87358
|
+
}
|
|
87359
|
+
<div class="flex items-baseline gap-2">
|
|
87360
|
+
<span [ngClass]="priceClasses()" class="text-4xl font-bold">
|
|
87361
|
+
{{ formatPrice() }}
|
|
87362
|
+
</span>
|
|
87363
|
+
<span [ngClass]="pricePeriodClasses()" class="text-base">
|
|
87364
|
+
{{ getPricePeriod() }}
|
|
87365
|
+
</span>
|
|
87352
87366
|
</div>
|
|
87367
|
+
@if (showBestValueBadge() && getSavingsAmount()) {
|
|
87368
|
+
<div [ngClass]="savingsTextClasses()" class="text-sm font-bold mt-2 flex items-center gap-1">
|
|
87369
|
+
<svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
|
|
87370
|
+
<path fill-rule="evenodd" d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z" clip-rule="evenodd"/>
|
|
87371
|
+
</svg>
|
|
87372
|
+
{{ getSavingsAmount() }}
|
|
87373
|
+
</div>
|
|
87374
|
+
}
|
|
87353
87375
|
}
|
|
87354
87376
|
</div>
|
|
87355
87377
|
<div class="flex-shrink-0 ml-4">
|
|
@@ -87361,6 +87383,7 @@ At the end of each month, your total AI usage is calculated and automatically bi
|
|
|
87361
87383
|
</div>
|
|
87362
87384
|
</div>
|
|
87363
87385
|
|
|
87386
|
+
@if (!isEmgPlan()) {
|
|
87364
87387
|
<div [ngClass]="sectionClasses()" class="space-y-4">
|
|
87365
87388
|
<div [ngClass]="featureRowClasses()" class="flex justify-between items-center py-3 border-b">
|
|
87366
87389
|
<div class="flex items-center gap-2">
|
|
@@ -87409,10 +87432,11 @@ At the end of each month, your total AI usage is calculated and automatically bi
|
|
|
87409
87432
|
<p [ngClass]="contractTermsTextClasses()" class="text-sm leading-relaxed" [innerHTML]="getContractTerms()"></p>
|
|
87410
87433
|
</div>
|
|
87411
87434
|
</div>
|
|
87435
|
+
}
|
|
87412
87436
|
</div>
|
|
87413
87437
|
`, styles: ["@keyframes pulse-glow{0%,to{transform:translate(-50%) scale(1);box-shadow:0 0 20px #eab30899,0 0 40px #eab30866,0 0 60px #eab30833,inset 0 0 20px #ffffff4d}50%{transform:translate(-50%) scale(1.06);box-shadow:0 0 25px #eab308b3,0 0 50px #eab30880,0 0 75px #eab3084d,inset 0 0 25px #fff6}}@keyframes pulse-glow-selected{0%,to{transform:translate(-50%) scale(1);box-shadow:0 0 20px #3b82f699,0 0 40px #3b82f666,0 0 60px #3b82f633,inset 0 0 20px #ffffff4d}50%{transform:translate(-50%) scale(1.06);box-shadow:0 0 25px #3b82f6b3,0 0 50px #3b82f680,0 0 75px #3b82f64d,inset 0 0 25px #fff6}}@keyframes shimmer{0%{background-position:-200% center}to{background-position:200% center}}@keyframes border-glow{0%,to{box-shadow:0 0 20px #eab30866,0 0 40px #eab30833,0 0 60px #eab3081a}50%{box-shadow:0 0 25px #eab30880,0 0 50px #eab3084d,0 0 75px #eab30826}}@keyframes border-glow-selected{0%,to{box-shadow:0 0 20px #3b82f666,0 0 40px #3b82f633,0 0 60px #3b82f61a}50%{box-shadow:0 0 25px #3b82f680,0 0 50px #3b82f64d,0 0 75px #3b82f626}}.best-value-badge{animation:pulse-glow 12s ease-in-out infinite;background:linear-gradient(135deg,#fbbf24,#f59e0b,#ec4899,#d946ef,#a855f7,#ec4899 75%,#f59e0b 85%,#fbbf24);background-size:300% 300%;animation:pulse-glow 12s ease-in-out infinite,shimmer 20s linear infinite;position:relative;overflow:hidden;transition:all .3s ease}.best-value-badge-selected{animation:pulse-glow-selected 12s ease-in-out infinite,shimmer 20s linear infinite;background:linear-gradient(135deg,#3b82f6,#2563eb,#1d4ed8,#3b82f6,#2563eb,#3b82f6);background-size:300% 300%}.best-value-badge:before{content:\"\";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:shimmer 12s infinite}.best-value-card{animation:border-glow 12s ease-in-out infinite;border-width:3px;transition:all .3s ease}.best-value-card-selected{animation:border-glow-selected 12s ease-in-out infinite}.best-value-card:hover{transform:scale(1.02)}.savings-badge{animation:pulse-glow 14s ease-in-out infinite}.savings-badge-selected{animation:pulse-glow-selected 14s ease-in-out infinite}\n"] }]
|
|
87414
87438
|
}], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], planInfo: [{ type: i0.Input, args: [{ isSignal: true, alias: "planInfo", required: true }] }], isSelected: [{ type: i0.Input, args: [{ isSignal: true, alias: "isSelected", required: false }] }], selectedPeriodUnit: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedPeriodUnit", required: false }] }], monthlyComparisonPrice: [{ type: i0.Input, args: [{ isSignal: true, alias: "monthlyComparisonPrice", required: false }] }], planSelected: [{ type: i0.Output, args: ["planSelected"] }] }); })();
|
|
87415
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PlanCardComponent, { className: "PlanCardComponent", filePath: "lib/components/profile-analysis-dashboard/cards/plan-card.component.ts", lineNumber:
|
|
87439
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PlanCardComponent, { className: "PlanCardComponent", filePath: "lib/components/profile-analysis-dashboard/cards/plan-card.component.ts", lineNumber: 274 }); })();
|
|
87416
87440
|
|
|
87417
87441
|
const _forTrack0$1 = ($index, $item) => $item.planItemPrice.id;
|
|
87418
87442
|
function PlanSelectionContainerComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -89075,19 +89099,20 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89075
89099
|
this.isEditingCurrency = signal(false, ...(ngDevMode ? [{ debugName: "isEditingCurrency" }] : []));
|
|
89076
89100
|
this.editingCurrencySelection = signal(null, ...(ngDevMode ? [{ debugName: "editingCurrencySelection" }] : []));
|
|
89077
89101
|
this.selectedPeriodUnit = computed(() => {
|
|
89078
|
-
return this.
|
|
89102
|
+
return this.accountSignal()?.chargebeeItemPricePeriodUnit || ChargebeeItemPricePeriodUnitEnum.YEAR;
|
|
89079
89103
|
}, ...(ngDevMode ? [{ debugName: "selectedPeriodUnit" }] : []));
|
|
89080
89104
|
this.showPlanSelection = computed(() => {
|
|
89081
|
-
return this.hasBillingCurrency() && this.planCardInfos() && this.planCardInfos().length > 0;
|
|
89105
|
+
return this.hasBillingCurrency() && !this.isSubscriptionActive() && this.planCardInfos() && this.planCardInfos().length > 0;
|
|
89082
89106
|
}, ...(ngDevMode ? [{ debugName: "showPlanSelection" }] : []));
|
|
89107
|
+
this.accountSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "accountSignal" }] : []));
|
|
89083
89108
|
this.isSubscriptionActive = computed(() => {
|
|
89084
|
-
const account = this.
|
|
89109
|
+
const account = this.accountSignal();
|
|
89085
89110
|
if (!account)
|
|
89086
89111
|
return false;
|
|
89087
89112
|
return ChargebeeSubscriptionStatusEnumUtil.isActive(account.subscriptionStatus) ?? false;
|
|
89088
89113
|
}, ...(ngDevMode ? [{ debugName: "isSubscriptionActive" }] : []));
|
|
89089
89114
|
this.hasBillingCurrency = computed(() => {
|
|
89090
|
-
const account = this.
|
|
89115
|
+
const account = this.accountSignal();
|
|
89091
89116
|
return !!account?.billingCurrencyCode;
|
|
89092
89117
|
}, ...(ngDevMode ? [{ debugName: "hasBillingCurrency" }] : []));
|
|
89093
89118
|
this.hasCurrencySelected = computed(() => {
|
|
@@ -89481,10 +89506,16 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89481
89506
|
if (changes['funnelAnalysis']) {
|
|
89482
89507
|
this.funnelAnalysisSignal.set(this.funnelAnalysis());
|
|
89483
89508
|
}
|
|
89509
|
+
// Update account signal when account input changes
|
|
89510
|
+
if (changes['account']) {
|
|
89511
|
+
this.accountSignal.set(this.account());
|
|
89512
|
+
}
|
|
89484
89513
|
}
|
|
89485
89514
|
ngOnInit() {
|
|
89486
89515
|
// Set the signal with the funnelAnalysis data
|
|
89487
89516
|
this.funnelAnalysisSignal.set(this.funnelAnalysis());
|
|
89517
|
+
// Set account signal
|
|
89518
|
+
this.accountSignal.set(this.account());
|
|
89488
89519
|
// Index business profile recommendations into ProfileContextService
|
|
89489
89520
|
// This enables detailed recommendation lookup for goal business insights
|
|
89490
89521
|
const profileToUse = this.profile();
|