@eric-emg/symphiq-components 1.2.490 → 1.2.492

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.
@@ -46121,6 +46121,7 @@ function MarkAsReviewedFooterComponent_Conditional_0_Template(rf, ctx) { if (rf
46121
46121
  } }
46122
46122
  class MarkAsReviewedFooterComponent {
46123
46123
  constructor() {
46124
+ this.confettiService = inject(ConfettiService);
46124
46125
  this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
46125
46126
  this.reviewStatus = input(...(ngDevMode ? [undefined, { debugName: "reviewStatus" }] : []));
46126
46127
  this.isMarkingAsReviewed = input(false, ...(ngDevMode ? [{ debugName: "isMarkingAsReviewed" }] : []));
@@ -46131,6 +46132,10 @@ class MarkAsReviewedFooterComponent {
46131
46132
  this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
46132
46133
  }
46133
46134
  handleClick() {
46135
+ this.confettiService.trigger({
46136
+ intensity: 'celebration',
46137
+ viewMode: this.viewMode()
46138
+ });
46134
46139
  this.markAsReviewedClick.emit();
46135
46140
  }
46136
46141
  static { this.ɵfac = function MarkAsReviewedFooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MarkAsReviewedFooterComponent)(); }; }
@@ -46147,47 +46152,47 @@ class MarkAsReviewedFooterComponent {
46147
46152
  standalone: true,
46148
46153
  imports: [CommonModule],
46149
46154
  changeDetection: ChangeDetectionStrategy.OnPush,
46150
- template: `
46151
- @if (shouldShowFooter()) {
46152
- <div
46153
- [ngClass]="isLightMode() ? 'bg-white/95 border-slate-200' : 'bg-slate-900/95 border-slate-700/50'"
46154
- class="fixed bottom-0 left-0 right-0 z-[100] border-t backdrop-blur-lg"
46155
- >
46156
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
46157
- <button
46158
- type="button"
46159
- [disabled]="isMarkingAsReviewed()"
46160
- (click)="handleClick()"
46161
- [ngClass]="isLightMode()
46162
- ? 'bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600 text-white hover:from-blue-700 hover:via-cyan-700 hover:to-teal-700 hover:scale-[1.02] hover:shadow-blue-600/25 active:scale-[0.98] disabled:opacity-70 disabled:cursor-not-allowed disabled:hover:scale-100'
46163
- : 'bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600 text-white hover:from-blue-500 hover:via-cyan-500 hover:to-teal-500 hover:scale-[1.02] hover:shadow-blue-500/25 active:scale-[0.98] disabled:opacity-70 disabled:cursor-not-allowed disabled:hover:scale-100'"
46164
- class="w-full px-6 py-4 rounded-xl font-semibold text-lg transition-all duration-300 flex items-center justify-center gap-3 shadow-2xl group"
46165
- >
46166
- @if (isMarkingAsReviewed()) {
46167
- <svg class="w-6 h-6 animate-spin" fill="none" viewBox="0 0 24 24">
46168
- <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
46169
- <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
46170
- </svg>
46171
- <span>Marking as Reviewed...</span>
46172
- } @else {
46173
- <span>Mark Analysis as Reviewed</span>
46174
- <svg
46175
- class="w-6 h-6 transition-transform duration-200 group-hover:translate-x-1"
46176
- fill="none"
46177
- stroke="currentColor"
46178
- viewBox="0 0 24 24"
46179
- >
46180
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7l5 5m0 0l-5 5m5-5H6"></path>
46181
- </svg>
46182
- }
46183
- </button>
46184
- </div>
46185
- </div>
46186
- }
46155
+ template: `
46156
+ @if (shouldShowFooter()) {
46157
+ <div
46158
+ [ngClass]="isLightMode() ? 'bg-white/95 border-slate-200' : 'bg-slate-900/95 border-slate-700/50'"
46159
+ class="fixed bottom-0 left-0 right-0 z-[100] border-t backdrop-blur-lg"
46160
+ >
46161
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
46162
+ <button
46163
+ type="button"
46164
+ [disabled]="isMarkingAsReviewed()"
46165
+ (click)="handleClick()"
46166
+ [ngClass]="isLightMode()
46167
+ ? 'bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600 text-white hover:from-blue-700 hover:via-cyan-700 hover:to-teal-700 hover:scale-[1.02] hover:shadow-blue-600/25 active:scale-[0.98] disabled:opacity-70 disabled:cursor-not-allowed disabled:hover:scale-100'
46168
+ : 'bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600 text-white hover:from-blue-500 hover:via-cyan-500 hover:to-teal-500 hover:scale-[1.02] hover:shadow-blue-500/25 active:scale-[0.98] disabled:opacity-70 disabled:cursor-not-allowed disabled:hover:scale-100'"
46169
+ class="w-full px-6 py-4 rounded-xl font-semibold text-lg transition-all duration-300 flex items-center justify-center gap-3 shadow-2xl group"
46170
+ >
46171
+ @if (isMarkingAsReviewed()) {
46172
+ <svg class="w-6 h-6 animate-spin" fill="none" viewBox="0 0 24 24">
46173
+ <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
46174
+ <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
46175
+ </svg>
46176
+ <span>Marking as Reviewed...</span>
46177
+ } @else {
46178
+ <span>Mark Analysis as Reviewed</span>
46179
+ <svg
46180
+ class="w-6 h-6 transition-transform duration-200 group-hover:translate-x-1"
46181
+ fill="none"
46182
+ stroke="currentColor"
46183
+ viewBox="0 0 24 24"
46184
+ >
46185
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7l5 5m0 0l-5 5m5-5H6"></path>
46186
+ </svg>
46187
+ }
46188
+ </button>
46189
+ </div>
46190
+ </div>
46191
+ }
46187
46192
  `
46188
46193
  }]
46189
46194
  }], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], reviewStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "reviewStatus", required: false }] }], isMarkingAsReviewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isMarkingAsReviewed", required: false }] }], markAsReviewedClick: [{ type: i0.Output, args: ["markAsReviewedClick"] }] }); })();
46190
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MarkAsReviewedFooterComponent, { className: "MarkAsReviewedFooterComponent", filePath: "lib/components/shared/mark-as-reviewed-footer.component.ts", lineNumber: 49 }); })();
46195
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MarkAsReviewedFooterComponent, { className: "MarkAsReviewedFooterComponent", filePath: "lib/components/shared/mark-as-reviewed-footer.component.ts", lineNumber: 50 }); })();
46191
46196
 
46192
46197
  const _c0$F = ["dashboardContainer"];
46193
46198
  const _c1$h = () => ({});
@@ -92619,100 +92624,97 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_
92619
92624
  i0.ɵɵadvance();
92620
92625
  i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("totalQuestions", ctx_r1.totalShopQuestions())("answeredQuestions", ctx_r1.answeredShopQuestions())("questions", ctx_r1.profileShopQuestions() || i0.ɵɵpureFunction0(10, _c1$2))("profileAnswers", ctx_r1.profileAnswers() || i0.ɵɵpureFunction0(11, _c1$2))("profileAnswerHistories", ctx_r1.profileAnswerHistories() || i0.ɵɵpureFunction0(12, _c1$2))("users", ctx_r1.users() || i0.ɵɵpureFunction0(13, _c1$2))("config", ctx_r1.shopProfileStatusCardConfig)("groupConfig", ctx_r1.shopProfileStatusCardGroupConfig)("currentUser", ctx_r1.currentUser());
92621
92626
  } }
92622
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
92627
+ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
92623
92628
  i0.ɵɵelementStart(0, "div", 37);
92624
92629
  i0.ɵɵelement(1, "symphiq-content-generation-progress", 39);
92625
92630
  i0.ɵɵelementEnd();
92626
92631
  } if (rf & 2) {
92627
- const ctx_r1 = i0.ɵɵnextContext(4);
92632
+ const ctx_r1 = i0.ɵɵnextContext(3);
92628
92633
  i0.ɵɵproperty("ngClass", ctx_r1.getProgressCardClasses());
92629
92634
  i0.ɵɵadvance();
92630
92635
  i0.ɵɵproperty("itemStatus", ctx_r1.itemStatusProfileShop())("viewMode", ctx_r1.viewMode());
92631
92636
  } }
92632
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
92637
+ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
92633
92638
  i0.ɵɵelementStart(0, "div", 37);
92634
92639
  i0.ɵɵelement(1, "symphiq-content-generation-progress", 40);
92635
92640
  i0.ɵɵelementEnd();
92636
92641
  } if (rf & 2) {
92637
- const ctx_r1 = i0.ɵɵnextContext(4);
92642
+ const ctx_r1 = i0.ɵɵnextContext(3);
92638
92643
  i0.ɵɵproperty("ngClass", ctx_r1.getProgressCardClasses());
92639
92644
  i0.ɵɵadvance();
92640
92645
  i0.ɵɵproperty("itemStatus", ctx_r1.itemStatusProfileAnalysis())("viewMode", ctx_r1.viewMode())("title", ctx_r1.profileAnalysisGeneratingTitle());
92641
92646
  } }
92642
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
92647
+ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
92643
92648
  const _r4 = i0.ɵɵgetCurrentView();
92644
92649
  i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid", 41);
92645
- i0.ɵɵlistener("viewMoreClick", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Conditional_2_Template_symphiq_strategic_goals_tiled_grid_viewMoreClick_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.openGoalModal($event)); });
92650
+ i0.ɵɵlistener("viewMoreClick", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_3_Template_symphiq_strategic_goals_tiled_grid_viewMoreClick_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.openGoalModal($event)); });
92646
92651
  i0.ɵɵelementEnd();
92647
92652
  } if (rf & 2) {
92648
- const ctx_r1 = i0.ɵɵnextContext(4);
92653
+ const ctx_r1 = i0.ɵɵnextContext(3);
92649
92654
  i0.ɵɵproperty("goals", ctx_r1.strategicRoadmapGoals())("viewMode", ctx_r1.viewMode());
92650
92655
  } }
92651
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
92652
- i0.ɵɵconditionalCreate(0, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Conditional_0_Template, 2, 3, "div", 37)(1, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Conditional_1_Template, 2, 4, "div", 37)(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Conditional_2_Template, 1, 2, "symphiq-strategic-goals-tiled-grid", 38);
92656
+ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
92657
+ i0.ɵɵelementStart(0, "div", 35);
92658
+ i0.ɵɵconditionalCreate(1, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Template, 2, 3, "div", 37)(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Template, 2, 4, "div", 37)(3, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_3_Template, 1, 2, "symphiq-strategic-goals-tiled-grid", 38);
92659
+ i0.ɵɵelementEnd();
92653
92660
  } if (rf & 2) {
92654
- const ctx_r1 = i0.ɵɵnextContext(3);
92655
- i0.ɵɵconditional(ctx_r1.isProfileShopGenerating() && !ctx_r1.isMetricAnalysis() ? 0 : ctx_r1.isProfileAnalysisGenerating() ? 1 : 2);
92661
+ const ctx_r1 = i0.ɵɵnextContext(2);
92662
+ i0.ɵɵadvance();
92663
+ i0.ɵɵconditional(ctx_r1.isProfileShopGenerating() && !ctx_r1.isMetricAnalysis() ? 1 : ctx_r1.isProfileAnalysisGenerating() ? 2 : 3);
92656
92664
  } }
92657
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
92665
+ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
92658
92666
  i0.ɵɵelementStart(0, "div", 35);
92659
92667
  i0.ɵɵelement(1, "symphiq-subscription-value-proposition-card", 45);
92660
92668
  i0.ɵɵelementEnd();
92661
92669
  } if (rf & 2) {
92662
- const ctx_r1 = i0.ɵɵnextContext(5);
92670
+ const ctx_r1 = i0.ɵɵnextContext(4);
92663
92671
  i0.ɵɵadvance();
92664
92672
  i0.ɵɵproperty("viewMode", ctx_r1.viewMode());
92665
92673
  } }
92666
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
92674
+ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
92667
92675
  const _r5 = i0.ɵɵgetCurrentView();
92668
- i0.ɵɵconditionalCreate(0, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_0_Conditional_0_Template, 2, 1, "div", 35);
92676
+ i0.ɵɵconditionalCreate(0, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Conditional_0_Template, 2, 1, "div", 35);
92669
92677
  i0.ɵɵelementStart(1, "symphiq-billing-currency-selector-card", 44);
92670
- i0.ɵɵlistener("currencySelected", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_0_Template_symphiq_billing_currency_selector_card_currencySelected_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.handleCurrencyChange($event)); });
92678
+ i0.ɵɵlistener("currencySelected", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template_symphiq_billing_currency_selector_card_currencySelected_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handleCurrencyChange($event)); });
92671
92679
  i0.ɵɵelementEnd();
92672
92680
  } if (rf & 2) {
92673
- let tmp_7_0;
92674
- const ctx_r1 = i0.ɵɵnextContext(4);
92681
+ let tmp_6_0;
92682
+ const ctx_r1 = i0.ɵɵnextContext(3);
92675
92683
  i0.ɵɵconditional(!ctx_r1.hasBillingCurrency() ? 0 : -1);
92676
92684
  i0.ɵɵadvance();
92677
- i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("isLoading", ctx_r1.isCurrencySelectionLoading())("initialCurrency", ctx_r1.isEditingCurrency() ? ((tmp_7_0 = ctx_r1.account()) == null ? null : tmp_7_0.billingCurrencyCode) || null : null);
92685
+ i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("isLoading", ctx_r1.isCurrencySelectionLoading())("initialCurrency", ctx_r1.isEditingCurrency() ? ((tmp_6_0 = ctx_r1.account()) == null ? null : tmp_6_0.billingCurrencyCode) || null : null);
92678
92686
  } }
92679
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
92687
+ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
92680
92688
  const _r6 = i0.ɵɵgetCurrentView();
92681
92689
  i0.ɵɵelementStart(0, "div", 42)(1, "symphiq-plan-selection-container", 46);
92682
- i0.ɵɵlistener("periodUnitChanged", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_1_Template_symphiq_plan_selection_container_periodUnitChanged_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.handlePeriodUnitChange($event)); })("planSelected", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_1_Template_symphiq_plan_selection_container_planSelected_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.handlePlanSelection($event)); })("editCurrency", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_1_Template_symphiq_plan_selection_container_editCurrency_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.handleEditCurrencyClick()); })("checkout", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_1_Template_symphiq_plan_selection_container_checkout_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.checkoutPlanClick.emit($event)); });
92690
+ i0.ɵɵlistener("periodUnitChanged", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_2_Template_symphiq_plan_selection_container_periodUnitChanged_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handlePeriodUnitChange($event)); })("planSelected", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_2_Template_symphiq_plan_selection_container_planSelected_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handlePlanSelection($event)); })("editCurrency", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_2_Template_symphiq_plan_selection_container_editCurrency_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handleEditCurrencyClick()); })("checkout", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_2_Template_symphiq_plan_selection_container_checkout_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.checkoutPlanClick.emit($event)); });
92683
92691
  i0.ɵɵelementEnd()();
92684
92692
  } if (rf & 2) {
92685
- let tmp_5_0;
92686
- const ctx_r1 = i0.ɵɵnextContext(4);
92693
+ let tmp_4_0;
92694
+ const ctx_r1 = i0.ɵɵnextContext(3);
92687
92695
  i0.ɵɵadvance();
92688
- i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("selectedCurrency", ((tmp_5_0 = ctx_r1.account()) == null ? null : tmp_5_0.billingCurrencyCode) || ctx_r1.CurrencyCodeEnum.USD)("planCardInfos", ctx_r1.planCardInfos())("isLoading", ctx_r1.isPlanLoading())("selectedPeriodUnit", ctx_r1.selectedPeriodUnit());
92696
+ i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("selectedCurrency", ((tmp_4_0 = ctx_r1.account()) == null ? null : tmp_4_0.billingCurrencyCode) || ctx_r1.CurrencyCodeEnum.USD)("planCardInfos", ctx_r1.planCardInfos())("isLoading", ctx_r1.isPlanLoading())("selectedPeriodUnit", ctx_r1.selectedPeriodUnit());
92689
92697
  } }
92690
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
92698
+ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
92691
92699
  const _r7 = i0.ɵɵgetCurrentView();
92692
92700
  i0.ɵɵelementStart(0, "symphiq-plan-selection-placeholder-card", 47);
92693
- i0.ɵɵlistener("editCurrency", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_2_Template_symphiq_plan_selection_placeholder_card_editCurrency_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.handleEditCurrencyClick()); });
92701
+ i0.ɵɵlistener("editCurrency", function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_3_Template_symphiq_plan_selection_placeholder_card_editCurrency_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handleEditCurrencyClick()); });
92694
92702
  i0.ɵɵelementEnd();
92695
92703
  } if (rf & 2) {
92696
- let tmp_5_0;
92697
- const ctx_r1 = i0.ɵɵnextContext(4);
92698
- i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("selectedCurrency", ((tmp_5_0 = ctx_r1.account()) == null ? null : tmp_5_0.billingCurrencyCode) || ctx_r1.CurrencyCodeEnum.USD);
92699
- } }
92700
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
92701
- i0.ɵɵconditionalCreate(0, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_0_Template, 2, 4)(1, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_1_Template, 2, 5, "div", 42)(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Conditional_2_Template, 1, 2, "symphiq-plan-selection-placeholder-card", 43);
92702
- } if (rf & 2) {
92704
+ let tmp_4_0;
92703
92705
  const ctx_r1 = i0.ɵɵnextContext(3);
92704
- i0.ɵɵconditional(!ctx_r1.hasBillingCurrency() || ctx_r1.isEditingCurrency() ? 0 : ctx_r1.showPlanSelection() ? 1 : 2);
92706
+ i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("selectedCurrency", ((tmp_4_0 = ctx_r1.account()) == null ? null : tmp_4_0.billingCurrencyCode) || ctx_r1.CurrencyCodeEnum.USD);
92705
92707
  } }
92706
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
92708
+ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
92707
92709
  i0.ɵɵelementStart(0, "div", 35);
92708
- i0.ɵɵconditionalCreate(1, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_1_Template, 3, 1)(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Conditional_2_Template, 3, 1);
92710
+ i0.ɵɵconditionalCreate(1, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template, 2, 4)(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_2_Template, 2, 5, "div", 42)(3, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_3_Template, 1, 2, "symphiq-plan-selection-placeholder-card", 43);
92709
92711
  i0.ɵɵelementEnd();
92710
92712
  } if (rf & 2) {
92711
92713
  const ctx_r1 = i0.ɵɵnextContext(2);
92712
92714
  i0.ɵɵadvance();
92713
- i0.ɵɵconditional(ctx_r1.isSubscriptionActive() || ctx_r1.isMetricAnalysis() ? 1 : 2);
92715
+ i0.ɵɵconditional(!ctx_r1.hasBillingCurrency() || ctx_r1.isEditingCurrency() ? 1 : ctx_r1.showPlanSelection() ? 2 : 3);
92714
92716
  } }
92715
- function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
92717
+ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_3_Template(rf, ctx) { if (rf & 1) {
92716
92718
  i0.ɵɵelementStart(0, "div");
92717
92719
  i0.ɵɵelement(1, "symphiq-collapsible-analysis-section-group", 48);
92718
92720
  i0.ɵɵelementEnd();
@@ -92723,15 +92725,18 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_
92723
92725
  } }
92724
92726
  function SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
92725
92727
  i0.ɵɵconditionalCreate(0, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_0_Template, 3, 14, "div", 35);
92726
- i0.ɵɵconditionalCreate(1, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Template, 3, 1, "div", 35);
92727
- i0.ɵɵconditionalCreate(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Template, 2, 10, "div");
92728
+ i0.ɵɵconditionalCreate(1, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_1_Template, 4, 1, "div", 35);
92729
+ i0.ɵɵconditionalCreate(2, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_2_Template, 4, 1, "div", 35);
92730
+ i0.ɵɵconditionalCreate(3, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Conditional_3_Template, 2, 10, "div");
92728
92731
  } if (rf & 2) {
92729
92732
  const ctx_r1 = i0.ɵɵnextContext();
92730
92733
  i0.ɵɵconditional(ctx_r1.shouldShowShopProfileStatus() && !ctx_r1.isMetricAnalysis() && !ctx_r1.profileAnalysis() ? 0 : -1);
92731
92734
  i0.ɵɵadvance();
92732
- i0.ɵɵconditional(ctx_r1.profileAnalysis() ? 1 : -1);
92735
+ i0.ɵɵconditional(ctx_r1.profileAnalysis() && (ctx_r1.isSubscriptionActive() || ctx_r1.isMetricAnalysis()) ? 1 : -1);
92736
+ i0.ɵɵadvance();
92737
+ i0.ɵɵconditional(!ctx_r1.isSubscriptionActive() && !ctx_r1.isMetricAnalysis() ? 2 : -1);
92733
92738
  i0.ɵɵadvance();
92734
- i0.ɵɵconditional(ctx_r1.nonStrategicSections().length > 0 ? 2 : -1);
92739
+ i0.ɵɵconditional(ctx_r1.nonStrategicSections().length > 0 ? 3 : -1);
92735
92740
  } }
92736
92741
  function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_9_Template(rf, ctx) { if (rf & 1) {
92737
92742
  i0.ɵɵelement(0, "symphiq-grade-badge", 58);
@@ -93032,8 +93037,8 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
93032
93037
  } if (rf & 2) {
93033
93038
  const ctx_r14 = i0.ɵɵnextContext();
93034
93039
  const section_r14 = ctx_r14.$implicit;
93035
- const ɵ$index_230_r16 = ctx_r14.$index;
93036
- i0.ɵɵclassProp("lg:flex-row-reverse", ɵ$index_230_r16 % 2 === 0);
93040
+ const ɵ$index_231_r16 = ctx_r14.$index;
93041
+ i0.ɵɵclassProp("lg:flex-row-reverse", ɵ$index_231_r16 % 2 === 0);
93037
93042
  i0.ɵɵadvance();
93038
93043
  i0.ɵɵconditional(section_r14.visual && section_r14.visual.enabled ? 1 : -1);
93039
93044
  i0.ɵɵadvance();
@@ -93042,10 +93047,10 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
93042
93047
  function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
93043
93048
  i0.ɵɵelement(0, "symphiq-section-divider", 91);
93044
93049
  } if (rf & 2) {
93045
- const ɵ$index_230_r16 = i0.ɵɵnextContext().$index;
93050
+ const ɵ$index_231_r16 = i0.ɵɵnextContext().$index;
93046
93051
  const sectionList_r17 = i0.ɵɵnextContext();
93047
93052
  const ctx_r1 = i0.ɵɵnextContext(2);
93048
- i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r17[ɵ$index_230_r16 + 1].icon);
93053
+ i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r17[ɵ$index_231_r16 + 1].icon);
93049
93054
  } }
93050
93055
  function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Template(rf, ctx) { if (rf & 1) {
93051
93056
  i0.ɵɵelementStart(0, "div", 92)(1, "div", 93);
@@ -93059,8 +93064,8 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
93059
93064
  i0.ɵɵconditionalCreate(8, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider", 91);
93060
93065
  } if (rf & 2) {
93061
93066
  const section_r14 = ctx.$implicit;
93062
- const ɵ$index_230_r16 = ctx.$index;
93063
- const ɵ$count_230_r18 = ctx.$count;
93067
+ const ɵ$index_231_r16 = ctx.$index;
93068
+ const ɵ$count_231_r18 = ctx.$count;
93064
93069
  const ctx_r1 = i0.ɵɵnextContext(3);
93065
93070
  i0.ɵɵproperty("id", "section-" + section_r14.id)("ngClass", ctx_r1.getSectionCardClasses());
93066
93071
  i0.ɵɵadvance(2);
@@ -93072,9 +93077,9 @@ function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional
93072
93077
  i0.ɵɵadvance();
93073
93078
  i0.ɵɵconditional(section_r14.description || section_r14.visual && section_r14.visual.enabled ? 6 : -1);
93074
93079
  i0.ɵɵadvance();
93075
- i0.ɵɵproperty("section", section_r14)("executiveSummary", section_r14.id === "executive-summary" ? ctx_r1.executiveSummary() : undefined)("viewMode", ctx_r1.viewMode())("sectionIndex", ɵ$index_230_r16)("allGoals", ctx_r1.allGoals())("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("businessProfile", ctx_r1.profile());
93080
+ i0.ɵɵproperty("section", section_r14)("executiveSummary", section_r14.id === "executive-summary" ? ctx_r1.executiveSummary() : undefined)("viewMode", ctx_r1.viewMode())("sectionIndex", ɵ$index_231_r16)("allGoals", ctx_r1.allGoals())("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("businessProfile", ctx_r1.profile());
93076
93081
  i0.ɵɵadvance();
93077
- i0.ɵɵconditional(!(ɵ$index_230_r16 === ɵ$count_230_r18 - 1) ? 8 : -1);
93082
+ i0.ɵɵconditional(!(ɵ$index_231_r16 === ɵ$count_231_r18 - 1) ? 8 : -1);
93078
93083
  } }
93079
93084
  function SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Conditional_3_Template(rf, ctx) { if (rf & 1) {
93080
93085
  i0.ɵɵelementStart(0, "section", 51);
@@ -94103,7 +94108,7 @@ class SymphiqProfileShopAnalysisDashboardComponent {
94103
94108
  i0.ɵɵconditionalCreate(6, SymphiqProfileShopAnalysisDashboardComponent_Conditional_6_Template, 1, 5, "symphiq-journey-progress-indicator", 6);
94104
94109
  i0.ɵɵelementStart(7, "main", 7);
94105
94110
  i0.ɵɵconditionalCreate(8, SymphiqProfileShopAnalysisDashboardComponent_Conditional_8_Template, 4, 3);
94106
- i0.ɵɵconditionalCreate(9, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Template, 3, 3);
94111
+ i0.ɵɵconditionalCreate(9, SymphiqProfileShopAnalysisDashboardComponent_Conditional_9_Template, 4, 4);
94107
94112
  i0.ɵɵconditionalCreate(10, SymphiqProfileShopAnalysisDashboardComponent_Conditional_10_Template, 4, 4);
94108
94113
  i0.ɵɵelementEnd();
94109
94114
  i0.ɵɵconditionalCreate(11, SymphiqProfileShopAnalysisDashboardComponent_Conditional_11_Template, 1, 4, "symphiq-floating-toc", 8);
@@ -94315,76 +94320,78 @@ class SymphiqProfileShopAnalysisDashboardComponent {
94315
94320
  </div>
94316
94321
  }
94317
94322
 
94318
- <!-- Strategic Insights & Goals (or Subscription Flow) -->
94319
- @if (profileAnalysis()) {
94323
+ <!-- Strategic Insights & Goals (when subscribed) -->
94324
+ @if (profileAnalysis() && (isSubscriptionActive() || isMetricAnalysis())) {
94320
94325
  <div class="mb-8">
94321
- @if (isSubscriptionActive() || isMetricAnalysis()) {
94322
- @if (isProfileShopGenerating() && !isMetricAnalysis()) {
94323
- <div [ngClass]="getProgressCardClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
94324
- <symphiq-content-generation-progress
94325
- [itemStatus]="itemStatusProfileShop()"
94326
- [viewMode]="viewMode()"
94327
- title="Generating Your Shop Profile"
94328
- subtitle="We're analyzing your data to create shop specific questions and answers. They will appear when ready."
94329
- />
94330
- </div>
94331
- } @else if (isProfileAnalysisGenerating()) {
94332
- <div [ngClass]="getProgressCardClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
94333
- <symphiq-content-generation-progress
94334
- [itemStatus]="itemStatusProfileAnalysis()"
94335
- [viewMode]="viewMode()"
94336
- [title]="profileAnalysisGeneratingTitle()"
94337
- subtitle="We're analyzing your data to create your personalized analysis. It will appear when ready."
94338
- />
94339
- </div>
94340
- } @else {
94341
- <symphiq-strategic-goals-tiled-grid
94342
- [goals]="strategicRoadmapGoals()"
94326
+ @if (isProfileShopGenerating() && !isMetricAnalysis()) {
94327
+ <div [ngClass]="getProgressCardClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
94328
+ <symphiq-content-generation-progress
94329
+ [itemStatus]="itemStatusProfileShop()"
94343
94330
  [viewMode]="viewMode()"
94344
- (viewMoreClick)="openGoalModal($event)"
94331
+ title="Generating Your Shop Profile"
94332
+ subtitle="We're analyzing your data to create shop specific questions and answers. They will appear when ready."
94345
94333
  />
94346
- }
94347
- } @else {
94348
- <!-- Subscription Value Proposition -->
94349
- @if (!hasBillingCurrency() || isEditingCurrency()) {
94350
- @if (!hasBillingCurrency()) {
94351
- <div class="mb-8">
94352
- <symphiq-subscription-value-proposition-card
94353
- [viewMode]="viewMode()"
94354
- />
94355
- </div>
94356
- }
94357
-
94358
- <!-- Currency Selection -->
94359
- <symphiq-billing-currency-selector-card
94334
+ </div>
94335
+ } @else if (isProfileAnalysisGenerating()) {
94336
+ <div [ngClass]="getProgressCardClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
94337
+ <symphiq-content-generation-progress
94338
+ [itemStatus]="itemStatusProfileAnalysis()"
94360
94339
  [viewMode]="viewMode()"
94361
- [isLoading]="isCurrencySelectionLoading()"
94362
- [initialCurrency]="isEditingCurrency() ? (account()?.billingCurrencyCode || null) : null"
94363
- (currencySelected)="handleCurrencyChange($event)"
94340
+ [title]="profileAnalysisGeneratingTitle()"
94341
+ subtitle="We're analyzing your data to create your personalized analysis. It will appear when ready."
94364
94342
  />
94365
- } @else if (showPlanSelection()) {
94366
- <!-- Plan Selection -->
94343
+ </div>
94344
+ } @else {
94345
+ <symphiq-strategic-goals-tiled-grid
94346
+ [goals]="strategicRoadmapGoals()"
94347
+ [viewMode]="viewMode()"
94348
+ (viewMoreClick)="openGoalModal($event)"
94349
+ />
94350
+ }
94351
+ </div>
94352
+ }
94367
94353
 
94368
- <div class="mb-32">
94369
- <symphiq-plan-selection-container
94354
+ <!-- Subscription Flow (when not subscribed) -->
94355
+ @if (!isSubscriptionActive() && !isMetricAnalysis()) {
94356
+ <div class="mb-8">
94357
+ @if (!hasBillingCurrency() || isEditingCurrency()) {
94358
+ @if (!hasBillingCurrency()) {
94359
+ <div class="mb-8">
94360
+ <symphiq-subscription-value-proposition-card
94370
94361
  [viewMode]="viewMode()"
94371
- [selectedCurrency]="account()?.billingCurrencyCode || CurrencyCodeEnum.USD"
94372
- [planCardInfos]="planCardInfos()"
94373
- [isLoading]="isPlanLoading()"
94374
- [selectedPeriodUnit]="selectedPeriodUnit()"
94375
- (periodUnitChanged)="handlePeriodUnitChange($event)"
94376
- (planSelected)="handlePlanSelection($event)"
94377
- (editCurrency)="handleEditCurrencyClick()"
94378
- (checkout)="checkoutPlanClick.emit($event)"
94379
94362
  />
94380
94363
  </div>
94381
- } @else {
94382
- <symphiq-plan-selection-placeholder-card
94364
+ }
94365
+
94366
+ <!-- Currency Selection -->
94367
+ <symphiq-billing-currency-selector-card
94368
+ [viewMode]="viewMode()"
94369
+ [isLoading]="isCurrencySelectionLoading()"
94370
+ [initialCurrency]="isEditingCurrency() ? (account()?.billingCurrencyCode || null) : null"
94371
+ (currencySelected)="handleCurrencyChange($event)"
94372
+ />
94373
+ } @else if (showPlanSelection()) {
94374
+ <!-- Plan Selection -->
94375
+
94376
+ <div class="mb-32">
94377
+ <symphiq-plan-selection-container
94383
94378
  [viewMode]="viewMode()"
94384
94379
  [selectedCurrency]="account()?.billingCurrencyCode || CurrencyCodeEnum.USD"
94380
+ [planCardInfos]="planCardInfos()"
94381
+ [isLoading]="isPlanLoading()"
94382
+ [selectedPeriodUnit]="selectedPeriodUnit()"
94383
+ (periodUnitChanged)="handlePeriodUnitChange($event)"
94384
+ (planSelected)="handlePlanSelection($event)"
94385
94385
  (editCurrency)="handleEditCurrencyClick()"
94386
+ (checkout)="checkoutPlanClick.emit($event)"
94386
94387
  />
94387
- }
94388
+ </div>
94389
+ } @else {
94390
+ <symphiq-plan-selection-placeholder-card
94391
+ [viewMode]="viewMode()"
94392
+ [selectedCurrency]="account()?.billingCurrencyCode || CurrencyCodeEnum.USD"
94393
+ (editCurrency)="handleEditCurrencyClick()"
94394
+ />
94388
94395
  }
94389
94396
  </div>
94390
94397
  }
@@ -94883,7 +94890,7 @@ class SymphiqProfileShopAnalysisDashboardComponent {
94883
94890
  type: HostListener,
94884
94891
  args: ['window:scroll', ['$event']]
94885
94892
  }] }); })();
94886
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileShopAnalysisDashboardComponent, { className: "SymphiqProfileShopAnalysisDashboardComponent", filePath: "lib/components/profile-analysis-shop-dashboard/symphiq-profile-shop-analysis-dashboard.component.ts", lineNumber: 796 }); })();
94893
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileShopAnalysisDashboardComponent, { className: "SymphiqProfileShopAnalysisDashboardComponent", filePath: "lib/components/profile-analysis-shop-dashboard/symphiq-profile-shop-analysis-dashboard.component.ts", lineNumber: 798 }); })();
94887
94894
 
94888
94895
  const _forTrack0$6 = ($index, $item) => $item.domain;
94889
94896
  function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {