@eric-emg/symphiq-components 1.2.519 → 1.2.520

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.
@@ -2063,12 +2063,23 @@ class HeaderScrollService {
2063
2063
  this.consecutiveDirectionCount = 0;
2064
2064
  if (finalDesiredState) {
2065
2065
  const beforeScroll = window.scrollY;
2066
- window.scrollBy(0, this.HEADER_HEIGHT_DIFF);
2067
- this.log('Scroll compensation applied', {
2068
- before: beforeScroll,
2069
- after: window.scrollY,
2070
- compensation: this.HEADER_HEIGHT_DIFF
2071
- });
2066
+ const windowHeight = window.innerHeight;
2067
+ const documentHeight = document.documentElement.scrollHeight;
2068
+ const maxScroll = documentHeight - windowHeight - this.HEADER_HEIGHT_DIFF;
2069
+ if (beforeScroll < maxScroll) {
2070
+ window.scrollBy(0, this.HEADER_HEIGHT_DIFF);
2071
+ this.log('Scroll compensation applied', {
2072
+ before: beforeScroll,
2073
+ after: window.scrollY,
2074
+ compensation: this.HEADER_HEIGHT_DIFF
2075
+ });
2076
+ }
2077
+ else {
2078
+ this.log('Scroll compensation skipped - near bottom of page', {
2079
+ beforeScroll,
2080
+ maxScroll
2081
+ });
2082
+ }
2072
2083
  }
2073
2084
  setTimeout(() => {
2074
2085
  this.isProgrammaticScroll = false;
@@ -2113,12 +2124,25 @@ class HeaderScrollService {
2113
2124
  this.consecutiveDirectionCount = 0;
2114
2125
  if (desiredState) {
2115
2126
  const beforeScroll = window.scrollY;
2116
- window.scrollBy(0, this.HEADER_HEIGHT_DIFF);
2117
- this.log('Scroll compensation applied', {
2118
- before: beforeScroll,
2119
- after: window.scrollY,
2120
- compensation: this.HEADER_HEIGHT_DIFF
2121
- });
2127
+ const windowHeight = window.innerHeight;
2128
+ const documentHeight = document.documentElement.scrollHeight;
2129
+ const maxScroll = documentHeight - windowHeight - this.HEADER_HEIGHT_DIFF;
2130
+ if (beforeScroll < maxScroll) {
2131
+ window.scrollBy(0, this.HEADER_HEIGHT_DIFF);
2132
+ this.log('Scroll compensation applied', {
2133
+ before: beforeScroll,
2134
+ after: window.scrollY,
2135
+ compensation: this.HEADER_HEIGHT_DIFF
2136
+ });
2137
+ }
2138
+ else {
2139
+ this.log('Scroll compensation skipped - near bottom of page', {
2140
+ beforeScroll,
2141
+ maxScroll,
2142
+ documentHeight,
2143
+ windowHeight
2144
+ });
2145
+ }
2122
2146
  }
2123
2147
  setTimeout(() => {
2124
2148
  this.isProgrammaticScroll = false;
@@ -52488,15 +52512,469 @@ class FocusAreaToolsModalComponent {
52488
52512
  }] }); })();
52489
52513
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FocusAreaToolsModalComponent, { className: "FocusAreaToolsModalComponent", filePath: "lib/components/create-account-dashboard/focus-area-tools-modal.component.ts", lineNumber: 149 }); })();
52490
52514
 
52515
+ function SearchButtonComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
52516
+ i0.ɵɵelementStart(0, "span");
52517
+ i0.ɵɵtext(1, "Search");
52518
+ i0.ɵɵelementEnd();
52519
+ } }
52520
+ class SearchButtonComponent {
52521
+ constructor() {
52522
+ this.isLightMode = input(false, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
52523
+ this.minimized = input(false, ...(ngDevMode ? [{ debugName: "minimized" }] : []));
52524
+ this.title = input('Search (/ or Cmd+K)', ...(ngDevMode ? [{ debugName: "title" }] : []));
52525
+ this.searchClick = output();
52526
+ this.buttonClass = computed(() => {
52527
+ if (this.isLightMode()) {
52528
+ return 'bg-slate-100 text-slate-700 hover:bg-slate-200 hover:text-slate-900';
52529
+ }
52530
+ return 'bg-slate-800 text-slate-300 hover:bg-slate-700 hover:text-white';
52531
+ }, ...(ngDevMode ? [{ debugName: "buttonClass" }] : []));
52532
+ }
52533
+ static { this.ɵfac = function SearchButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchButtonComponent)(); }; }
52534
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchButtonComponent, selectors: [["symphiq-search-button"]], inputs: { isLightMode: [1, "isLightMode"], minimized: [1, "minimized"], title: [1, "title"] }, outputs: { searchClick: "searchClick" }, decls: 4, vars: 9, consts: [["type", "button", 3, "click", "ngClass", "title"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"]], template: function SearchButtonComponent_Template(rf, ctx) { if (rf & 1) {
52535
+ i0.ɵɵelementStart(0, "button", 0);
52536
+ i0.ɵɵlistener("click", function SearchButtonComponent_Template_button_click_0_listener() { return ctx.searchClick.emit(); });
52537
+ i0.ɵɵnamespaceSVG();
52538
+ i0.ɵɵelementStart(1, "svg", 1);
52539
+ i0.ɵɵelement(2, "path", 2);
52540
+ i0.ɵɵelementEnd();
52541
+ i0.ɵɵconditionalCreate(3, SearchButtonComponent_Conditional_3_Template, 2, 0, "span");
52542
+ i0.ɵɵelementEnd();
52543
+ } if (rf & 2) {
52544
+ i0.ɵɵclassMap(ctx.minimized() ? "cursor-pointer p-2 rounded-lg transition-all duration-200 hover:scale-110" : "cursor-pointer flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105");
52545
+ i0.ɵɵproperty("ngClass", ctx.buttonClass())("title", ctx.title());
52546
+ i0.ɵɵadvance();
52547
+ i0.ɵɵclassProp("w-5", ctx.minimized())("h-5", ctx.minimized());
52548
+ i0.ɵɵadvance(2);
52549
+ i0.ɵɵconditional(!ctx.minimized() ? 3 : -1);
52550
+ } }, dependencies: [CommonModule, i1$1.NgClass], styles: ["[_nghost-%COMP%]{display:contents}"], changeDetection: 0 }); }
52551
+ }
52552
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchButtonComponent, [{
52553
+ type: Component,
52554
+ args: [{ selector: 'symphiq-search-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule], template: `
52555
+ <button
52556
+ type="button"
52557
+ (click)="searchClick.emit()"
52558
+ [ngClass]="buttonClass()"
52559
+ [title]="title()"
52560
+ [class]="minimized() ? 'cursor-pointer p-2 rounded-lg transition-all duration-200 hover:scale-110' : 'cursor-pointer flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105'">
52561
+ <svg class="w-4 h-4" [class.w-5]="minimized()" [class.h-5]="minimized()" fill="none" stroke="currentColor" viewBox="0 0 24 24">
52562
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
52563
+ </svg>
52564
+ @if (!minimized()) {
52565
+ <span>Search</span>
52566
+ }
52567
+ </button>
52568
+ `, styles: [":host{display:contents}\n"] }]
52569
+ }], null, { isLightMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLightMode", required: false }] }], minimized: [{ type: i0.Input, args: [{ isSignal: true, alias: "minimized", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], searchClick: [{ type: i0.Output, args: ["searchClick"] }] }); })();
52570
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchButtonComponent, { className: "SearchButtonComponent", filePath: "lib/components/shared/search-button.component.ts", lineNumber: 30 }); })();
52571
+
52572
+ function DashboardHeaderComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
52573
+ i0.ɵɵelement(0, "div", 6);
52574
+ } }
52575
+ function DashboardHeaderComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
52576
+ const _r1 = i0.ɵɵgetCurrentView();
52577
+ i0.ɵɵelementStart(0, "div", 7)(1, "symphiq-search-button", 16);
52578
+ i0.ɵɵlistener("searchClick", function DashboardHeaderComponent_Conditional_11_Template_symphiq_search_button_searchClick_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSearchClick()); });
52579
+ i0.ɵɵelementEnd();
52580
+ i0.ɵɵelementStart(2, "button", 17);
52581
+ i0.ɵɵlistener("click", function DashboardHeaderComponent_Conditional_11_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onViewModeClick()); });
52582
+ i0.ɵɵnamespaceSVG();
52583
+ i0.ɵɵelementStart(3, "svg", 18);
52584
+ i0.ɵɵelement(4, "path", 19)(5, "path", 20);
52585
+ i0.ɵɵelementEnd();
52586
+ i0.ɵɵnamespaceHTML();
52587
+ i0.ɵɵelementStart(6, "span");
52588
+ i0.ɵɵtext(7);
52589
+ i0.ɵɵelementEnd()()();
52590
+ } if (rf & 2) {
52591
+ const ctx_r1 = i0.ɵɵnextContext();
52592
+ i0.ɵɵadvance();
52593
+ i0.ɵɵproperty("isLightMode", ctx_r1.isLightMode());
52594
+ i0.ɵɵadvance();
52595
+ i0.ɵɵproperty("ngClass", ctx_r1.getViewModeButtonClasses());
52596
+ i0.ɵɵadvance(5);
52597
+ i0.ɵɵtextInterpolate(ctx_r1.viewModeLabel());
52598
+ } }
52599
+ function DashboardHeaderComponent_Conditional_12_Conditional_1_Template(rf, ctx) { if (rf & 1) {
52600
+ i0.ɵɵelementStart(0, "div", 21)(1, "div", 22);
52601
+ i0.ɵɵtext(2, "Generated At");
52602
+ i0.ɵɵelementEnd();
52603
+ i0.ɵɵelementStart(3, "div", 23);
52604
+ i0.ɵɵtext(4);
52605
+ i0.ɵɵelementEnd()();
52606
+ } if (rf & 2) {
52607
+ const ctx_r1 = i0.ɵɵnextContext(2);
52608
+ i0.ɵɵadvance();
52609
+ i0.ɵɵclassMap(ctx_r1.metaLabelClass());
52610
+ i0.ɵɵadvance(2);
52611
+ i0.ɵɵclassMap(ctx_r1.headerTitleClass());
52612
+ i0.ɵɵadvance();
52613
+ i0.ɵɵtextInterpolate(ctx_r1.formattedGeneratedDate());
52614
+ } }
52615
+ function DashboardHeaderComponent_Conditional_12_Conditional_2_Template(rf, ctx) { if (rf & 1) {
52616
+ i0.ɵɵelementStart(0, "div", 21)(1, "div", 22);
52617
+ i0.ɵɵtext(2, "Requested by");
52618
+ i0.ɵɵelementEnd();
52619
+ i0.ɵɵelementStart(3, "div", 23);
52620
+ i0.ɵɵtext(4);
52621
+ i0.ɵɵelementEnd()();
52622
+ } if (rf & 2) {
52623
+ let tmp_4_0;
52624
+ const ctx_r1 = i0.ɵɵnextContext(2);
52625
+ i0.ɵɵadvance();
52626
+ i0.ɵɵclassMap(ctx_r1.metaLabelClass());
52627
+ i0.ɵɵadvance(2);
52628
+ i0.ɵɵclassMap(ctx_r1.headerTitleClass());
52629
+ i0.ɵɵadvance();
52630
+ i0.ɵɵtextInterpolate2("", (tmp_4_0 = ctx_r1.requestedByUser()) == null ? null : tmp_4_0.firstName, " ", (tmp_4_0 = ctx_r1.requestedByUser()) == null ? null : tmp_4_0.lastName);
52631
+ } }
52632
+ function DashboardHeaderComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
52633
+ i0.ɵɵelementStart(0, "div", 8);
52634
+ i0.ɵɵconditionalCreate(1, DashboardHeaderComponent_Conditional_12_Conditional_1_Template, 5, 5, "div", 21);
52635
+ i0.ɵɵconditionalCreate(2, DashboardHeaderComponent_Conditional_12_Conditional_2_Template, 5, 6, "div", 21);
52636
+ i0.ɵɵelementEnd();
52637
+ } if (rf & 2) {
52638
+ const ctx_r1 = i0.ɵɵnextContext();
52639
+ i0.ɵɵadvance();
52640
+ i0.ɵɵconditional(ctx_r1.formattedGeneratedDate() ? 1 : -1);
52641
+ i0.ɵɵadvance();
52642
+ i0.ɵɵconditional(ctx_r1.requestedByUser() ? 2 : -1);
52643
+ } }
52644
+ function DashboardHeaderComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
52645
+ i0.ɵɵelementStart(0, "span", 24);
52646
+ i0.ɵɵtext(1, "\u2014");
52647
+ i0.ɵɵelementEnd();
52648
+ i0.ɵɵelementStart(2, "span", 25);
52649
+ i0.ɵɵtext(3);
52650
+ i0.ɵɵelementEnd();
52651
+ } if (rf & 2) {
52652
+ const ctx_r1 = i0.ɵɵnextContext();
52653
+ i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-400" : "text-slate-500");
52654
+ i0.ɵɵadvance(2);
52655
+ i0.ɵɵproperty("ngClass", ctx_r1.getCondensedSubtitleClasses());
52656
+ i0.ɵɵadvance();
52657
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.subtitle(), " ");
52658
+ } }
52659
+ function DashboardHeaderComponent_Conditional_21_Conditional_3_Template(rf, ctx) { if (rf & 1) {
52660
+ i0.ɵɵelementStart(0, "span", 26);
52661
+ i0.ɵɵtext(1, "\u203A");
52662
+ i0.ɵɵelementEnd();
52663
+ i0.ɵɵelementStart(2, "span", 26);
52664
+ i0.ɵɵtext(3);
52665
+ i0.ɵɵelementEnd();
52666
+ } if (rf & 2) {
52667
+ const ctx_r1 = i0.ɵɵnextContext(2);
52668
+ i0.ɵɵclassProp("opacity-0", ctx_r1.subsectionFading())("opacity-100", !ctx_r1.subsectionFading());
52669
+ i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-400" : "text-slate-500");
52670
+ i0.ɵɵadvance(2);
52671
+ i0.ɵɵclassProp("opacity-0", ctx_r1.subsectionFading())("opacity-100", !ctx_r1.subsectionFading());
52672
+ i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-500" : "text-slate-500");
52673
+ i0.ɵɵadvance();
52674
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.currentSubsection(), " ");
52675
+ } }
52676
+ function DashboardHeaderComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
52677
+ i0.ɵɵelementStart(0, "div", 15)(1, "span", 26);
52678
+ i0.ɵɵtext(2);
52679
+ i0.ɵɵelementEnd();
52680
+ i0.ɵɵconditionalCreate(3, DashboardHeaderComponent_Conditional_21_Conditional_3_Template, 4, 11);
52681
+ i0.ɵɵelementEnd();
52682
+ } if (rf & 2) {
52683
+ const ctx_r1 = i0.ɵɵnextContext();
52684
+ i0.ɵɵadvance();
52685
+ i0.ɵɵclassProp("opacity-0", ctx_r1.sectionFading())("opacity-100", !ctx_r1.sectionFading());
52686
+ i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-600 font-medium" : "text-slate-400 font-medium");
52687
+ i0.ɵɵadvance();
52688
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.currentSection(), " ");
52689
+ i0.ɵɵadvance();
52690
+ i0.ɵɵconditional(ctx_r1.currentSubsection() ? 3 : -1);
52691
+ } }
52692
+ function DashboardHeaderComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
52693
+ const _r3 = i0.ɵɵgetCurrentView();
52694
+ i0.ɵɵelementStart(0, "symphiq-search-button", 27);
52695
+ i0.ɵɵlistener("searchClick", function DashboardHeaderComponent_Conditional_22_Template_symphiq_search_button_searchClick_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSearchClick()); });
52696
+ i0.ɵɵelementEnd();
52697
+ i0.ɵɵelementStart(1, "button", 28);
52698
+ i0.ɵɵlistener("click", function DashboardHeaderComponent_Conditional_22_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onViewModeClick()); });
52699
+ i0.ɵɵnamespaceSVG();
52700
+ i0.ɵɵelementStart(2, "svg", 18);
52701
+ i0.ɵɵelement(3, "path", 19)(4, "path", 20);
52702
+ i0.ɵɵelementEnd()();
52703
+ } if (rf & 2) {
52704
+ const ctx_r1 = i0.ɵɵnextContext();
52705
+ i0.ɵɵproperty("isLightMode", ctx_r1.isLightMode())("minimized", true);
52706
+ i0.ɵɵadvance();
52707
+ i0.ɵɵproperty("ngClass", ctx_r1.getViewModeButtonClasses());
52708
+ } }
52709
+ class DashboardHeaderComponent {
52710
+ constructor() {
52711
+ this.requestedByUser = input(...(ngDevMode ? [undefined, { debugName: "requestedByUser" }] : []));
52712
+ this.createdDate = input(...(ngDevMode ? [undefined, { debugName: "createdDate" }] : []));
52713
+ this.title = input('', ...(ngDevMode ? [{ debugName: "title" }] : []));
52714
+ this.subtitle = input('', ...(ngDevMode ? [{ debugName: "subtitle" }] : []));
52715
+ this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
52716
+ this.viewModeLabel = input('View Mode', ...(ngDevMode ? [{ debugName: "viewModeLabel" }] : []));
52717
+ this.currentSection = input(...(ngDevMode ? [undefined, { debugName: "currentSection" }] : []));
52718
+ this.currentSubsection = input(...(ngDevMode ? [undefined, { debugName: "currentSubsection" }] : []));
52719
+ this.sectionFading = input(false, ...(ngDevMode ? [{ debugName: "sectionFading" }] : []));
52720
+ this.subsectionFading = input(false, ...(ngDevMode ? [{ debugName: "subsectionFading" }] : []));
52721
+ this.isLoading = input(...(ngDevMode ? [undefined, { debugName: "isLoading" }] : []));
52722
+ this.showControls = input(true, ...(ngDevMode ? [{ debugName: "showControls" }] : []));
52723
+ this.searchClick = output();
52724
+ this.viewModeClick = output();
52725
+ this.headerScrollService = inject(HeaderScrollService);
52726
+ this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
52727
+ this.dateFormatCache = new StringMemoizeCache();
52728
+ this.formattedGeneratedDate = computed(() => {
52729
+ let formatted = '';
52730
+ const createdDate = this.createdDate();
52731
+ if (createdDate) {
52732
+ formatted = this.formatDate(createdDate.toISOString());
52733
+ }
52734
+ return formatted;
52735
+ }, ...(ngDevMode ? [{ debugName: "formattedGeneratedDate" }] : []));
52736
+ this.headerTitleClass = computed(() => this.isLightMode() ? 'text-slate-900' : 'text-white', ...(ngDevMode ? [{ debugName: "headerTitleClass" }] : []));
52737
+ this.metaLabelClass = computed(() => this.isLightMode() ? 'text-slate-600' : 'text-slate-500', ...(ngDevMode ? [{ debugName: "metaLabelClass" }] : []));
52738
+ }
52739
+ onSearchClick() {
52740
+ this.searchClick.emit();
52741
+ }
52742
+ onViewModeClick() {
52743
+ this.viewModeClick.emit();
52744
+ }
52745
+ formatDate(dateString) {
52746
+ // Cache date formatting operations
52747
+ return this.dateFormatCache.get(dateString, (date) => new Date(date).toLocaleDateString('en-US', {
52748
+ year: 'numeric',
52749
+ month: 'long',
52750
+ day: 'numeric',
52751
+ }));
52752
+ }
52753
+ getHeaderClasses() {
52754
+ return this.isLightMode()
52755
+ ? 'bg-white/95 backdrop-blur-md shadow-sm border-b border-slate-200'
52756
+ : 'bg-slate-900/95 backdrop-blur-md shadow-sm border-b border-slate-800';
52757
+ }
52758
+ getMainTitleClasses() {
52759
+ return this.isLightMode()
52760
+ ? 'text-3xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent'
52761
+ : 'text-3xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent';
52762
+ }
52763
+ getSubtitleClasses() {
52764
+ return this.isLightMode()
52765
+ ? 'text-slate-600 mt-1 text-sm'
52766
+ : 'text-slate-400 mt-1 text-sm';
52767
+ }
52768
+ getCondensedTitleClasses() {
52769
+ return this.isLightMode()
52770
+ ? 'text-xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent'
52771
+ : 'text-xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent';
52772
+ }
52773
+ getCondensedSubtitleClasses() {
52774
+ return this.isLightMode()
52775
+ ? 'text-sm text-slate-500'
52776
+ : 'text-sm text-slate-400';
52777
+ }
52778
+ getViewModeButtonClasses() {
52779
+ return this.isLightMode()
52780
+ ? 'bg-slate-100 hover:bg-slate-200 text-slate-700 border border-slate-200'
52781
+ : 'bg-slate-800 hover:bg-slate-700 text-slate-300 border border-slate-700';
52782
+ }
52783
+ static { this.ɵfac = function DashboardHeaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DashboardHeaderComponent)(); }; }
52784
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardHeaderComponent, selectors: [["symphiq-dashboard-header"]], inputs: { requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], title: [1, "title"], subtitle: [1, "subtitle"], viewMode: [1, "viewMode"], viewModeLabel: [1, "viewModeLabel"], currentSection: [1, "currentSection"], currentSubsection: [1, "currentSubsection"], sectionFading: [1, "sectionFading"], subsectionFading: [1, "subsectionFading"], isLoading: [1, "isLoading"], showControls: [1, "showControls"] }, outputs: { searchClick: "searchClick", viewModeClick: "viewModeClick" }, decls: 23, vars: 27, consts: [[1, "sticky", "top-0", "z-50", "overflow-hidden", 2, "transition", "height 300ms ease-in-out", 3, "ngClass"], [1, "transition-opacity", "duration-300", "ease-in-out", "h-full"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4", "h-full", "flex", "items-center"], [1, "flex", "items-center", "justify-between", "w-full"], [1, "flex", "items-center", "gap-3"], [3, "ngClass"], ["title", "Refreshing data...", 1, "animate-spin", "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full"], [1, "flex", "items-center", "gap-2"], [1, "flex", "flex-col", "gap-4", "min-w-[180px]"], [1, "absolute", "inset-x-0", "top-0", "transition-opacity", "duration-300", "ease-in-out"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-2"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-3", "flex-1", "min-w-0", "mr-4"], [1, "flex-shrink-0", "!mb-0", 3, "ngClass"], [1, "flex", "items-center", "gap-4"], [1, "flex", "items-center", "gap-2", "text-sm", "flex-shrink-0"], [3, "searchClick", "isLightMode"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 12a3 3 0 11-6 0 3 3 0 016 0z"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"], [1, "text-left", "sm:text-right"], [1, "text-xs", "sm:text-sm"], [1, "text-sm", "sm:text-base", "font-medium"], [1, "hidden", "sm:inline", 3, "ngClass"], [1, "hidden", "sm:block", "truncate", "min-w-0", 3, "ngClass"], [1, "transition-opacity", "duration-300", 3, "ngClass"], [3, "searchClick", "isLightMode", "minimized"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-2", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"]], template: function DashboardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
52785
+ i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div")(5, "div", 4)(6, "h1", 5);
52786
+ i0.ɵɵtext(7);
52787
+ i0.ɵɵelementEnd();
52788
+ i0.ɵɵconditionalCreate(8, DashboardHeaderComponent_Conditional_8_Template, 1, 0, "div", 6);
52789
+ i0.ɵɵelementEnd();
52790
+ i0.ɵɵelementStart(9, "p", 5);
52791
+ i0.ɵɵtext(10);
52792
+ i0.ɵɵelementEnd()();
52793
+ i0.ɵɵconditionalCreate(11, DashboardHeaderComponent_Conditional_11_Template, 8, 3, "div", 7);
52794
+ i0.ɵɵconditionalCreate(12, DashboardHeaderComponent_Conditional_12_Template, 3, 2, "div", 8);
52795
+ i0.ɵɵelementEnd()()();
52796
+ i0.ɵɵelementStart(13, "div", 9)(14, "div", 10)(15, "div", 11)(16, "div", 12)(17, "h1", 13);
52797
+ i0.ɵɵtext(18);
52798
+ i0.ɵɵelementEnd();
52799
+ i0.ɵɵconditionalCreate(19, DashboardHeaderComponent_Conditional_19_Template, 4, 3);
52800
+ i0.ɵɵelementEnd();
52801
+ i0.ɵɵelementStart(20, "div", 14);
52802
+ i0.ɵɵconditionalCreate(21, DashboardHeaderComponent_Conditional_21_Template, 4, 7, "div", 15);
52803
+ i0.ɵɵconditionalCreate(22, DashboardHeaderComponent_Conditional_22_Template, 5, 3);
52804
+ i0.ɵɵelementEnd()()()()();
52805
+ } if (rf & 2) {
52806
+ i0.ɵɵstyleProp("height", ctx.headerScrollService.isScrolled() ? "52px" : "100px");
52807
+ i0.ɵɵproperty("ngClass", ctx.getHeaderClasses());
52808
+ i0.ɵɵadvance();
52809
+ i0.ɵɵclassProp("opacity-0", ctx.headerScrollService.isScrolled())("pointer-events-none", ctx.headerScrollService.isScrolled())("opacity-100", !ctx.headerScrollService.isScrolled());
52810
+ i0.ɵɵadvance(5);
52811
+ i0.ɵɵproperty("ngClass", ctx.getMainTitleClasses());
52812
+ i0.ɵɵadvance();
52813
+ i0.ɵɵtextInterpolate1(" ", ctx.title(), " ");
52814
+ i0.ɵɵadvance();
52815
+ i0.ɵɵconditional(ctx.isLoading() ? 8 : -1);
52816
+ i0.ɵɵadvance();
52817
+ i0.ɵɵproperty("ngClass", ctx.getSubtitleClasses());
52818
+ i0.ɵɵadvance();
52819
+ i0.ɵɵtextInterpolate1(" ", ctx.subtitle(), " ");
52820
+ i0.ɵɵadvance();
52821
+ i0.ɵɵconditional(ctx.showControls() ? 11 : -1);
52822
+ i0.ɵɵadvance();
52823
+ i0.ɵɵconditional(ctx.formattedGeneratedDate() || ctx.requestedByUser() ? 12 : -1);
52824
+ i0.ɵɵadvance();
52825
+ i0.ɵɵclassProp("opacity-0", !ctx.headerScrollService.isScrolled())("pointer-events-none", !ctx.headerScrollService.isScrolled())("opacity-100", ctx.headerScrollService.isScrolled());
52826
+ i0.ɵɵadvance(4);
52827
+ i0.ɵɵproperty("ngClass", ctx.getCondensedTitleClasses());
52828
+ i0.ɵɵadvance();
52829
+ i0.ɵɵtextInterpolate1(" ", ctx.title(), " ");
52830
+ i0.ɵɵadvance();
52831
+ i0.ɵɵconditional(ctx.subtitle() ? 19 : -1);
52832
+ i0.ɵɵadvance(2);
52833
+ i0.ɵɵconditional(ctx.currentSection() ? 21 : -1);
52834
+ i0.ɵɵadvance();
52835
+ i0.ɵɵconditional(ctx.showControls() ? 22 : -1);
52836
+ } }, dependencies: [CommonModule, i1$1.NgClass, SearchButtonComponent], encapsulation: 2, changeDetection: 0 }); }
52837
+ }
52838
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardHeaderComponent, [{
52839
+ type: Component,
52840
+ args: [{
52841
+ selector: 'symphiq-dashboard-header',
52842
+ standalone: true,
52843
+ imports: [CommonModule, SearchButtonComponent],
52844
+ changeDetection: ChangeDetectionStrategy.OnPush,
52845
+ template: `
52846
+ <header [ngClass]="getHeaderClasses()" class="sticky top-0 z-50 overflow-hidden" [style.height]="headerScrollService.isScrolled() ? '52px' : '100px'" style="transition: height 300ms ease-in-out;">
52847
+ <!-- Expanded Header (default state) -->
52848
+ <div
52849
+ class="transition-opacity duration-300 ease-in-out h-full"
52850
+ [class.opacity-0]="headerScrollService.isScrolled()"
52851
+ [class.pointer-events-none]="headerScrollService.isScrolled()"
52852
+ [class.opacity-100]="!headerScrollService.isScrolled()">
52853
+ <div
52854
+ class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 h-full flex items-center">
52855
+ <div class="flex items-center justify-between w-full">
52856
+ <div>
52857
+ <div class="flex items-center gap-3">
52858
+ <h1 [ngClass]="getMainTitleClasses()">
52859
+ {{ title() }}
52860
+ </h1>
52861
+ @if (isLoading()) {
52862
+ <div class="animate-spin w-4 h-4 border-2 border-blue-500/30 border-t-blue-500 rounded-full" title="Refreshing data..."></div>
52863
+ }
52864
+ </div>
52865
+ <p [ngClass]="getSubtitleClasses()">
52866
+ {{ subtitle() }}
52867
+ </p>
52868
+ </div>
52869
+ @if (showControls()) {
52870
+ <div class="flex items-center gap-2">
52871
+ <symphiq-search-button
52872
+ [isLightMode]="isLightMode()"
52873
+ (searchClick)="onSearchClick()"
52874
+ />
52875
+ <button
52876
+ type="button"
52877
+ (click)="onViewModeClick()"
52878
+ [ngClass]="getViewModeButtonClasses()"
52879
+ class="cursor-pointer flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
52880
+ <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
52881
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
52882
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
52883
+ </svg>
52884
+ <span>{{ viewModeLabel() }}</span>
52885
+ </button>
52886
+ </div>
52887
+ }
52888
+ @if (formattedGeneratedDate() || requestedByUser()) {
52889
+ <div class="flex flex-col gap-4 min-w-[180px]">
52890
+ @if (formattedGeneratedDate()) {
52891
+ <div class="text-left sm:text-right">
52892
+ <div [class]="metaLabelClass()" class="text-xs sm:text-sm">Generated At</div>
52893
+ <div [class]="headerTitleClass()" class="text-sm sm:text-base font-medium">{{ formattedGeneratedDate() }}</div>
52894
+ </div>
52895
+ }
52896
+ @if (requestedByUser()) {
52897
+ <div class="text-left sm:text-right">
52898
+ <div [class]="metaLabelClass()" class="text-xs sm:text-sm">Requested by</div>
52899
+ <div [class]="headerTitleClass()" class="text-sm sm:text-base font-medium">{{ requestedByUser()?.firstName }} {{ requestedByUser()?.lastName }}</div>
52900
+ </div>
52901
+ }
52902
+ </div>
52903
+ }
52904
+ </div>
52905
+ </div>
52906
+ </div>
52907
+
52908
+ <!-- Condensed Header (scrolled state) -->
52909
+ <div
52910
+ class="absolute inset-x-0 top-0 transition-opacity duration-300 ease-in-out"
52911
+ [class.opacity-0]="!headerScrollService.isScrolled()"
52912
+ [class.pointer-events-none]="!headerScrollService.isScrolled()"
52913
+ [class.opacity-100]="headerScrollService.isScrolled()">
52914
+ <div
52915
+ class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-2">
52916
+ <div class="flex items-center justify-between">
52917
+ <div class="flex items-center gap-3 flex-1 min-w-0 mr-4">
52918
+ <h1 [ngClass]="getCondensedTitleClasses()" class="flex-shrink-0 !mb-0">
52919
+ {{ title() }}
52920
+ </h1>
52921
+ @if (subtitle()) {
52922
+ <span [ngClass]="isLightMode() ? 'text-slate-400' : 'text-slate-500'" class="hidden sm:inline">—</span>
52923
+ <span [ngClass]="getCondensedSubtitleClasses()" class="hidden sm:block truncate min-w-0">
52924
+ {{ subtitle() }}
52925
+ </span>
52926
+ }
52927
+ </div>
52928
+ <div class="flex items-center gap-4">
52929
+ @if (currentSection()) {
52930
+ <div class="flex items-center gap-2 text-sm flex-shrink-0">
52931
+ <span [ngClass]="isLightMode() ? 'text-slate-600 font-medium' : 'text-slate-400 font-medium'" class="transition-opacity duration-300" [class.opacity-0]="sectionFading()" [class.opacity-100]="!sectionFading()">
52932
+ {{ currentSection() }}
52933
+ </span>
52934
+ @if (currentSubsection()) {
52935
+ <span [ngClass]="isLightMode() ? 'text-slate-400' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionFading()" [class.opacity-100]="!subsectionFading()">›</span>
52936
+ <span [ngClass]="isLightMode() ? 'text-slate-500' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionFading()" [class.opacity-100]="!subsectionFading()">
52937
+ {{ currentSubsection() }}
52938
+ </span>
52939
+ }
52940
+ </div>
52941
+ }
52942
+ @if (showControls()) {
52943
+ <symphiq-search-button
52944
+ [isLightMode]="isLightMode()"
52945
+ [minimized]="true"
52946
+ (searchClick)="onSearchClick()"
52947
+ />
52948
+ <button
52949
+ type="button"
52950
+ (click)="onViewModeClick()"
52951
+ [ngClass]="getViewModeButtonClasses()"
52952
+ class="cursor-pointer flex items-center gap-2 px-2 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
52953
+ <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
52954
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
52955
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
52956
+ </svg>
52957
+ </button>
52958
+ }
52959
+ </div>
52960
+ </div>
52961
+ </div>
52962
+ </div>
52963
+ </header>
52964
+ `
52965
+ }]
52966
+ }], null, { requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], createdDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "createdDate", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], viewModeLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewModeLabel", required: false }] }], currentSection: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentSection", required: false }] }], currentSubsection: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentSubsection", required: false }] }], sectionFading: [{ type: i0.Input, args: [{ isSignal: true, alias: "sectionFading", required: false }] }], subsectionFading: [{ type: i0.Input, args: [{ isSignal: true, alias: "subsectionFading", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], showControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "showControls", required: false }] }], searchClick: [{ type: i0.Output, args: ["searchClick"] }], viewModeClick: [{ type: i0.Output, args: ["viewModeClick"] }] }); })();
52967
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardHeaderComponent, { className: "DashboardHeaderComponent", filePath: "lib/components/shared/dashboard-header.component.ts", lineNumber: 134 }); })();
52968
+
52491
52969
  const _c0$E = ["shopNameInput"];
52492
52970
  const _forTrack0$B = ($index, $item) => $item.focusAreaDomain;
52493
- function SymphiqCreateAccountDashboardComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
52494
- i0.ɵɵelementStart(0, "div", 13);
52495
- i0.ɵɵelement(1, "symphiq-indeterminate-spinner", 17);
52496
- i0.ɵɵelementStart(2, "div", 18)(3, "h2", 19);
52971
+ function SymphiqCreateAccountDashboardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
52972
+ i0.ɵɵelementStart(0, "div", 8);
52973
+ i0.ɵɵelement(1, "symphiq-indeterminate-spinner", 12);
52974
+ i0.ɵɵelementStart(2, "div", 13)(3, "h2", 14);
52497
52975
  i0.ɵɵtext(4, " Your account is being created ");
52498
52976
  i0.ɵɵelementEnd();
52499
- i0.ɵɵelementStart(5, "p", 20);
52977
+ i0.ɵɵelementStart(5, "p", 15);
52500
52978
  i0.ɵɵtext(6, " Please wait while we set everything up for you... ");
52501
52979
  i0.ɵɵelementEnd()()();
52502
52980
  } if (rf & 2) {
@@ -52508,54 +52986,54 @@ function SymphiqCreateAccountDashboardComponent_Conditional_22_Template(rf, ctx)
52508
52986
  i0.ɵɵadvance(2);
52509
52987
  i0.ɵɵproperty("ngClass", ctx_r0.sectionDescriptionClasses());
52510
52988
  } }
52511
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_1_Conditional_27_Template(rf, ctx) { if (rf & 1) {
52989
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_1_Conditional_27_Template(rf, ctx) { if (rf & 1) {
52512
52990
  i0.ɵɵtext(0, " Shopify ");
52513
52991
  } }
52514
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_1_Conditional_28_Template(rf, ctx) { if (rf & 1) {
52992
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_1_Conditional_28_Template(rf, ctx) { if (rf & 1) {
52515
52993
  i0.ɵɵtext(0);
52516
52994
  } if (rf & 2) {
52517
52995
  const ctx_r0 = i0.ɵɵnextContext(3);
52518
52996
  i0.ɵɵtextInterpolate1(" ", ctx_r0.accountData().otherPlatformName || "Other", " ");
52519
52997
  } }
52520
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_1_Template(rf, ctx) { if (rf & 1) {
52998
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
52521
52999
  const _r2 = i0.ɵɵgetCurrentView();
52522
- i0.ɵɵelementStart(0, "div", 21)(1, "div", 23)(2, "div", 24)(3, "div")(4, "h2", 19);
53000
+ i0.ɵɵelementStart(0, "div", 16)(1, "div", 18)(2, "div", 19)(3, "div")(4, "h2", 14);
52523
53001
  i0.ɵɵtext(5, " Shop Details ");
52524
53002
  i0.ɵɵelementEnd();
52525
53003
  i0.ɵɵelementStart(6, "p", 1);
52526
53004
  i0.ɵɵtext(7, " Your shop information ");
52527
53005
  i0.ɵɵelementEnd()();
52528
- i0.ɵɵelementStart(8, "button", 25);
52529
- i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_1_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.enableEditMode()); });
53006
+ i0.ɵɵelementStart(8, "button", 20);
53007
+ i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_1_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.enableEditMode()); });
52530
53008
  i0.ɵɵnamespaceSVG();
52531
- i0.ɵɵelementStart(9, "svg", 26);
52532
- i0.ɵɵelement(10, "path", 27);
53009
+ i0.ɵɵelementStart(9, "svg", 21);
53010
+ i0.ɵɵelement(10, "path", 22);
52533
53011
  i0.ɵɵelementEnd();
52534
53012
  i0.ɵɵtext(11, " Edit ");
52535
53013
  i0.ɵɵelementEnd()();
52536
53014
  i0.ɵɵnamespaceHTML();
52537
- i0.ɵɵelementStart(12, "div", 28)(13, "div")(14, "label", 29);
53015
+ i0.ɵɵelementStart(12, "div", 23)(13, "div")(14, "label", 24);
52538
53016
  i0.ɵɵtext(15, " Shop Name ");
52539
53017
  i0.ɵɵelementEnd();
52540
- i0.ɵɵelementStart(16, "p", 20);
53018
+ i0.ɵɵelementStart(16, "p", 15);
52541
53019
  i0.ɵɵtext(17);
52542
53020
  i0.ɵɵelementEnd()();
52543
- i0.ɵɵelementStart(18, "div")(19, "label", 29);
53021
+ i0.ɵɵelementStart(18, "div")(19, "label", 24);
52544
53022
  i0.ɵɵtext(20, " Shop URL ");
52545
53023
  i0.ɵɵelementEnd();
52546
- i0.ɵɵelementStart(21, "a", 30);
53024
+ i0.ɵɵelementStart(21, "a", 25);
52547
53025
  i0.ɵɵtext(22);
52548
53026
  i0.ɵɵelementEnd()();
52549
- i0.ɵɵelementStart(23, "div")(24, "label", 29);
53027
+ i0.ɵɵelementStart(23, "div")(24, "label", 24);
52550
53028
  i0.ɵɵtext(25, " Shop Platform ");
52551
53029
  i0.ɵɵelementEnd();
52552
- i0.ɵɵelementStart(26, "p", 20);
52553
- i0.ɵɵconditionalCreate(27, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_1_Conditional_27_Template, 1, 0)(28, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_1_Conditional_28_Template, 1, 1);
53030
+ i0.ɵɵelementStart(26, "p", 15);
53031
+ i0.ɵɵconditionalCreate(27, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_1_Conditional_27_Template, 1, 0)(28, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_1_Conditional_28_Template, 1, 1);
52554
53032
  i0.ɵɵelementEnd()();
52555
- i0.ɵɵelementStart(29, "div")(30, "label", 29);
53033
+ i0.ɵɵelementStart(29, "div")(30, "label", 24);
52556
53034
  i0.ɵɵtext(31, " Company Name ");
52557
53035
  i0.ɵɵelementEnd();
52558
- i0.ɵɵelementStart(32, "p", 20);
53036
+ i0.ɵɵelementStart(32, "p", 15);
52559
53037
  i0.ɵɵtext(33);
52560
53038
  i0.ɵɵelementEnd()()()()();
52561
53039
  } if (rf & 2) {
@@ -52594,44 +53072,44 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_1_Tem
52594
53072
  i0.ɵɵadvance();
52595
53073
  i0.ɵɵtextInterpolate1(" ", ctx_r0.accountData().companyName, " ");
52596
53074
  } }
52597
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_15_Template(rf, ctx) { if (rf & 1) {
52598
- i0.ɵɵelementStart(0, "p", 36);
53075
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_15_Template(rf, ctx) { if (rf & 1) {
53076
+ i0.ɵɵelementStart(0, "p", 31);
52599
53077
  i0.ɵɵtext(1, " Shop name is required ");
52600
53078
  i0.ɵɵelementEnd();
52601
53079
  } if (rf & 2) {
52602
53080
  const ctx_r0 = i0.ɵɵnextContext(3);
52603
53081
  i0.ɵɵproperty("ngClass", ctx_r0.errorClasses());
52604
53082
  } }
52605
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_25_Template(rf, ctx) { if (rf & 1) {
52606
- i0.ɵɵelementStart(0, "p", 36);
53083
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_25_Template(rf, ctx) { if (rf & 1) {
53084
+ i0.ɵɵelementStart(0, "p", 31);
52607
53085
  i0.ɵɵtext(1, " Shop URL is required ");
52608
53086
  i0.ɵɵelementEnd();
52609
53087
  } if (rf & 2) {
52610
53088
  const ctx_r0 = i0.ɵɵnextContext(3);
52611
53089
  i0.ɵɵproperty("ngClass", ctx_r0.errorClasses());
52612
53090
  } }
52613
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_36_Template(rf, ctx) { if (rf & 1) {
52614
- i0.ɵɵelement(0, "div", 46);
53091
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_36_Template(rf, ctx) { if (rf & 1) {
53092
+ i0.ɵɵelement(0, "div", 41);
52615
53093
  } }
52616
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_44_Template(rf, ctx) { if (rf & 1) {
52617
- i0.ɵɵelement(0, "div", 46);
53094
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_44_Template(rf, ctx) { if (rf & 1) {
53095
+ i0.ɵɵelement(0, "div", 41);
52618
53096
  } }
52619
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_48_Conditional_6_Template(rf, ctx) { if (rf & 1) {
52620
- i0.ɵɵelementStart(0, "p", 36);
53097
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_48_Conditional_6_Template(rf, ctx) { if (rf & 1) {
53098
+ i0.ɵɵelementStart(0, "p", 31);
52621
53099
  i0.ɵɵtext(1, " Platform name is required ");
52622
53100
  i0.ɵɵelementEnd();
52623
53101
  } if (rf & 2) {
52624
53102
  const ctx_r0 = i0.ɵɵnextContext(4);
52625
53103
  i0.ɵɵproperty("ngClass", ctx_r0.errorClasses());
52626
53104
  } }
52627
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_48_Template(rf, ctx) { if (rf & 1) {
52628
- i0.ɵɵelementStart(0, "div")(1, "label", 33);
53105
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_48_Template(rf, ctx) { if (rf & 1) {
53106
+ i0.ɵɵelementStart(0, "div")(1, "label", 28);
52629
53107
  i0.ɵɵtext(2, " Platform Name ");
52630
- i0.ɵɵelementStart(3, "span", 34);
53108
+ i0.ɵɵelementStart(3, "span", 29);
52631
53109
  i0.ɵɵtext(4, "*");
52632
53110
  i0.ɵɵelementEnd()();
52633
- i0.ɵɵelement(5, "input", 55);
52634
- i0.ɵɵconditionalCreate(6, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_48_Conditional_6_Template, 2, 1, "p", 36);
53111
+ i0.ɵɵelement(5, "input", 50);
53112
+ i0.ɵɵconditionalCreate(6, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_48_Conditional_6_Template, 2, 1, "p", 31);
52635
53113
  i0.ɵɵelementEnd();
52636
53114
  } if (rf & 2) {
52637
53115
  const ctx_r0 = i0.ɵɵnextContext(3);
@@ -52642,79 +53120,79 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Con
52642
53120
  i0.ɵɵadvance();
52643
53121
  i0.ɵɵconditional(ctx_r0.isFieldInvalid("otherPlatformName") ? 6 : -1);
52644
53122
  } }
52645
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_60_Template(rf, ctx) { if (rf & 1) {
52646
- i0.ɵɵelementStart(0, "p", 36);
53123
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_60_Template(rf, ctx) { if (rf & 1) {
53124
+ i0.ɵɵelementStart(0, "p", 31);
52647
53125
  i0.ɵɵtext(1, " Company name is required ");
52648
53126
  i0.ɵɵelementEnd();
52649
53127
  } if (rf & 2) {
52650
53128
  const ctx_r0 = i0.ɵɵnextContext(3);
52651
53129
  i0.ɵɵproperty("ngClass", ctx_r0.errorClasses());
52652
53130
  } }
52653
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Template(rf, ctx) { if (rf & 1) {
53131
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
52654
53132
  const _r3 = i0.ɵɵgetCurrentView();
52655
- i0.ɵɵelementStart(0, "div", 21)(1, "div", 23)(2, "div", 31)(3, "h2", 19);
53133
+ i0.ɵɵelementStart(0, "div", 16)(1, "div", 18)(2, "div", 26)(3, "h2", 14);
52656
53134
  i0.ɵɵtext(4, " Shop Details ");
52657
53135
  i0.ɵɵelementEnd();
52658
53136
  i0.ɵɵelementStart(5, "p", 1);
52659
53137
  i0.ɵɵtext(6, " Enter your shop details to get started with Symphiq ");
52660
53138
  i0.ɵɵelementEnd()();
52661
- i0.ɵɵelementStart(7, "form", 32)(8, "div")(9, "label", 33);
53139
+ i0.ɵɵelementStart(7, "form", 27)(8, "div")(9, "label", 28);
52662
53140
  i0.ɵɵtext(10, " Shop Name ");
52663
- i0.ɵɵelementStart(11, "span", 34);
53141
+ i0.ɵɵelementStart(11, "span", 29);
52664
53142
  i0.ɵɵtext(12, "*");
52665
53143
  i0.ɵɵelementEnd()();
52666
- i0.ɵɵelement(13, "input", 35, 0);
52667
- i0.ɵɵconditionalCreate(15, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_15_Template, 2, 1, "p", 36);
53144
+ i0.ɵɵelement(13, "input", 30, 0);
53145
+ i0.ɵɵconditionalCreate(15, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_15_Template, 2, 1, "p", 31);
52668
53146
  i0.ɵɵelementEnd();
52669
- i0.ɵɵelementStart(16, "div")(17, "label", 33);
53147
+ i0.ɵɵelementStart(16, "div")(17, "label", 28);
52670
53148
  i0.ɵɵtext(18, " Shop URL ");
52671
- i0.ɵɵelementStart(19, "span", 34);
53149
+ i0.ɵɵelementStart(19, "span", 29);
52672
53150
  i0.ɵɵtext(20, "*");
52673
53151
  i0.ɵɵelementEnd()();
52674
- i0.ɵɵelementStart(21, "div", 37)(22, "span", 38);
53152
+ i0.ɵɵelementStart(21, "div", 32)(22, "span", 33);
52675
53153
  i0.ɵɵtext(23, " https:// ");
52676
53154
  i0.ɵɵelementEnd();
52677
- i0.ɵɵelement(24, "input", 39);
53155
+ i0.ɵɵelement(24, "input", 34);
52678
53156
  i0.ɵɵelementEnd();
52679
- i0.ɵɵconditionalCreate(25, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_25_Template, 2, 1, "p", 36);
53157
+ i0.ɵɵconditionalCreate(25, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_25_Template, 2, 1, "p", 31);
52680
53158
  i0.ɵɵelementEnd();
52681
- i0.ɵɵelementStart(26, "div")(27, "label", 40);
53159
+ i0.ɵɵelementStart(26, "div")(27, "label", 35);
52682
53160
  i0.ɵɵtext(28, " Shop Platform ");
52683
- i0.ɵɵelementStart(29, "span", 34);
53161
+ i0.ɵɵelementStart(29, "span", 29);
52684
53162
  i0.ɵɵtext(30, "*");
52685
53163
  i0.ɵɵelementEnd()();
52686
- i0.ɵɵelementStart(31, "div", 41)(32, "label", 42);
52687
- i0.ɵɵelement(33, "input", 43);
52688
- i0.ɵɵelementStart(34, "div", 44)(35, "div", 45);
52689
- i0.ɵɵconditionalCreate(36, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_36_Template, 1, 0, "div", 46);
53164
+ i0.ɵɵelementStart(31, "div", 36)(32, "label", 37);
53165
+ i0.ɵɵelement(33, "input", 38);
53166
+ i0.ɵɵelementStart(34, "div", 39)(35, "div", 40);
53167
+ i0.ɵɵconditionalCreate(36, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_36_Template, 1, 0, "div", 41);
52690
53168
  i0.ɵɵelementEnd();
52691
- i0.ɵɵelementStart(37, "div", 47)(38, "div", 48);
53169
+ i0.ɵɵelementStart(37, "div", 42)(38, "div", 43);
52692
53170
  i0.ɵɵtext(39, " Shopify ");
52693
53171
  i0.ɵɵelementEnd()()()();
52694
- i0.ɵɵelementStart(40, "label", 42);
52695
- i0.ɵɵelement(41, "input", 43);
52696
- i0.ɵɵelementStart(42, "div", 44)(43, "div", 45);
52697
- i0.ɵɵconditionalCreate(44, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_44_Template, 1, 0, "div", 46);
53172
+ i0.ɵɵelementStart(40, "label", 37);
53173
+ i0.ɵɵelement(41, "input", 38);
53174
+ i0.ɵɵelementStart(42, "div", 39)(43, "div", 40);
53175
+ i0.ɵɵconditionalCreate(44, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_44_Template, 1, 0, "div", 41);
52698
53176
  i0.ɵɵelementEnd();
52699
- i0.ɵɵelementStart(45, "div", 47)(46, "div", 48);
53177
+ i0.ɵɵelementStart(45, "div", 42)(46, "div", 43);
52700
53178
  i0.ɵɵtext(47, " Other ");
52701
53179
  i0.ɵɵelementEnd()()()()()();
52702
- i0.ɵɵconditionalCreate(48, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_48_Template, 7, 3, "div");
52703
- i0.ɵɵelementStart(49, "div")(50, "label", 33);
53180
+ i0.ɵɵconditionalCreate(48, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_48_Template, 7, 3, "div");
53181
+ i0.ɵɵelementStart(49, "div")(50, "label", 28);
52704
53182
  i0.ɵɵtext(51, " Company Name ");
52705
- i0.ɵɵelementStart(52, "span", 34);
53183
+ i0.ɵɵelementStart(52, "span", 29);
52706
53184
  i0.ɵɵtext(53, "*");
52707
53185
  i0.ɵɵelementEnd()();
52708
- i0.ɵɵelement(54, "input", 49);
52709
- i0.ɵɵelementStart(55, "div", 50)(56, "label", 51)(57, "input", 52);
52710
- i0.ɵɵlistener("change", function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Template_input_change_57_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.toggleSameAsShopName()); });
53186
+ i0.ɵɵelement(54, "input", 44);
53187
+ i0.ɵɵelementStart(55, "div", 45)(56, "label", 46)(57, "input", 47);
53188
+ i0.ɵɵlistener("change", function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Template_input_change_57_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.toggleSameAsShopName()); });
52711
53189
  i0.ɵɵelementEnd();
52712
- i0.ɵɵelementStart(58, "span", 53);
53190
+ i0.ɵɵelementStart(58, "span", 48);
52713
53191
  i0.ɵɵtext(59, " Same as Shop Name ");
52714
53192
  i0.ɵɵelementEnd()()();
52715
- i0.ɵɵconditionalCreate(60, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Conditional_60_Template, 2, 1, "p", 36);
53193
+ i0.ɵɵconditionalCreate(60, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Conditional_60_Template, 2, 1, "p", 31);
52716
53194
  i0.ɵɵelementEnd();
52717
- i0.ɵɵelement(61, "input", 54);
53195
+ i0.ɵɵelement(61, "input", 49);
52718
53196
  i0.ɵɵelementEnd()()();
52719
53197
  } if (rf & 2) {
52720
53198
  let tmp_19_0;
@@ -52780,8 +53258,8 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Tem
52780
53258
  i0.ɵɵadvance(2);
52781
53259
  i0.ɵɵconditional(ctx_r0.isFieldInvalid("companyName") ? 60 : -1);
52782
53260
  } }
52783
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_12_For_6_Conditional_6_For_5_Template(rf, ctx) { if (rf & 1) {
52784
- i0.ɵɵelementStart(0, "span", 66);
53261
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_12_For_6_Conditional_6_For_5_Template(rf, ctx) { if (rf & 1) {
53262
+ i0.ɵɵelementStart(0, "span", 61);
52785
53263
  i0.ɵɵtext(1);
52786
53264
  i0.ɵɵelementEnd();
52787
53265
  } if (rf & 2) {
@@ -52791,12 +53269,12 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Con
52791
53269
  i0.ɵɵadvance();
52792
53270
  i0.ɵɵtextInterpolate1(" ", tool_r5, " ");
52793
53271
  } }
52794
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_12_For_6_Conditional_6_Template(rf, ctx) { if (rf & 1) {
52795
- i0.ɵɵelementStart(0, "div", 63)(1, "span", 64);
53272
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_12_For_6_Conditional_6_Template(rf, ctx) { if (rf & 1) {
53273
+ i0.ɵɵelementStart(0, "div", 58)(1, "span", 59);
52796
53274
  i0.ɵɵtext(2, "Tools:");
52797
53275
  i0.ɵɵelementEnd();
52798
- i0.ɵɵelementStart(3, "div", 65);
52799
- i0.ɵɵrepeaterCreate(4, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_12_For_6_Conditional_6_For_5_Template, 2, 2, "span", 66, i0.ɵɵrepeaterTrackByIdentity);
53276
+ i0.ɵɵelementStart(3, "div", 60);
53277
+ i0.ɵɵrepeaterCreate(4, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_12_For_6_Conditional_6_For_5_Template, 2, 2, "span", 61, i0.ɵɵrepeaterTrackByIdentity);
52800
53278
  i0.ɵɵelementEnd()();
52801
53279
  } if (rf & 2) {
52802
53280
  const focusArea_r6 = i0.ɵɵnextContext().$implicit;
@@ -52806,14 +53284,14 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Con
52806
53284
  i0.ɵɵadvance(3);
52807
53285
  i0.ɵɵrepeater(focusArea_r6.tools);
52808
53286
  } }
52809
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_12_For_6_Template(rf, ctx) { if (rf & 1) {
52810
- i0.ɵɵelementStart(0, "div", 59)(1, "div", 60)(2, "h4", 61);
53287
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_12_For_6_Template(rf, ctx) { if (rf & 1) {
53288
+ i0.ɵɵelementStart(0, "div", 54)(1, "div", 55)(2, "h4", 56);
52811
53289
  i0.ɵɵtext(3);
52812
53290
  i0.ɵɵelementEnd();
52813
- i0.ɵɵelementStart(4, "span", 62);
53291
+ i0.ɵɵelementStart(4, "span", 57);
52814
53292
  i0.ɵɵtext(5, " Engaged ");
52815
53293
  i0.ɵɵelementEnd()();
52816
- i0.ɵɵconditionalCreate(6, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_12_For_6_Conditional_6_Template, 6, 1, "div", 63);
53294
+ i0.ɵɵconditionalCreate(6, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_12_For_6_Conditional_6_Template, 6, 1, "div", 58);
52817
53295
  i0.ɵɵelementEnd();
52818
53296
  } if (rf & 2) {
52819
53297
  const focusArea_r6 = ctx.$implicit;
@@ -52828,13 +53306,13 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Con
52828
53306
  i0.ɵɵadvance(2);
52829
53307
  i0.ɵɵconditional(focusArea_r6.tools && focusArea_r6.tools.length > 0 ? 6 : -1);
52830
53308
  } }
52831
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_12_Template(rf, ctx) { if (rf & 1) {
52832
- i0.ɵɵelementStart(0, "div", 31)(1, "h3", 56);
52833
- i0.ɵɵelement(2, "span", 57);
53309
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_12_Template(rf, ctx) { if (rf & 1) {
53310
+ i0.ɵɵelementStart(0, "div", 26)(1, "h3", 51);
53311
+ i0.ɵɵelement(2, "span", 52);
52834
53312
  i0.ɵɵtext(3);
52835
53313
  i0.ɵɵelementEnd();
52836
- i0.ɵɵelementStart(4, "div", 58);
52837
- i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_12_For_6_Template, 7, 5, "div", 59, _forTrack0$B);
53314
+ i0.ɵɵelementStart(4, "div", 53);
53315
+ i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_12_For_6_Template, 7, 5, "div", 54, _forTrack0$B);
52838
53316
  i0.ɵɵelementEnd()();
52839
53317
  } if (rf & 2) {
52840
53318
  const ctx_r0 = i0.ɵɵnextContext(3);
@@ -52845,8 +53323,8 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Con
52845
53323
  i0.ɵɵadvance(2);
52846
53324
  i0.ɵɵrepeater(ctx_r0.engagedFocusAreas());
52847
53325
  } }
52848
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_13_For_6_Template(rf, ctx) { if (rf & 1) {
52849
- i0.ɵɵelementStart(0, "div", 69)(1, "h4", 61);
53326
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_13_For_6_Template(rf, ctx) { if (rf & 1) {
53327
+ i0.ɵɵelementStart(0, "div", 64)(1, "h4", 56);
52850
53328
  i0.ɵɵtext(2);
52851
53329
  i0.ɵɵelementEnd()();
52852
53330
  } if (rf & 2) {
@@ -52858,13 +53336,13 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Con
52858
53336
  i0.ɵɵadvance();
52859
53337
  i0.ɵɵtextInterpolate1(" ", ctx_r0.getFocusAreaTitle(focusArea_r7.focusAreaDomain), " ");
52860
53338
  } }
52861
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_13_Template(rf, ctx) { if (rf & 1) {
52862
- i0.ɵɵelementStart(0, "div", 31)(1, "h3", 56);
52863
- i0.ɵɵelement(2, "span", 67);
53339
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_13_Template(rf, ctx) { if (rf & 1) {
53340
+ i0.ɵɵelementStart(0, "div", 26)(1, "h3", 51);
53341
+ i0.ɵɵelement(2, "span", 62);
52864
53342
  i0.ɵɵtext(3);
52865
53343
  i0.ɵɵelementEnd();
52866
- i0.ɵɵelementStart(4, "div", 68);
52867
- i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_13_For_6_Template, 3, 3, "div", 69, _forTrack0$B);
53344
+ i0.ɵɵelementStart(4, "div", 63);
53345
+ i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_13_For_6_Template, 3, 3, "div", 64, _forTrack0$B);
52868
53346
  i0.ɵɵelementEnd()();
52869
53347
  } if (rf & 2) {
52870
53348
  const ctx_r0 = i0.ɵɵnextContext(3);
@@ -52875,8 +53353,8 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Con
52875
53353
  i0.ɵɵadvance(2);
52876
53354
  i0.ɵɵrepeater(ctx_r0.interestedFocusAreas());
52877
53355
  } }
52878
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_14_For_6_Template(rf, ctx) { if (rf & 1) {
52879
- i0.ɵɵelementStart(0, "div", 72)(1, "span", 64);
53356
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_14_For_6_Template(rf, ctx) { if (rf & 1) {
53357
+ i0.ɵɵelementStart(0, "div", 67)(1, "span", 59);
52880
53358
  i0.ɵɵtext(2);
52881
53359
  i0.ɵɵelementEnd()();
52882
53360
  } if (rf & 2) {
@@ -52888,13 +53366,13 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Con
52888
53366
  i0.ɵɵadvance();
52889
53367
  i0.ɵɵtextInterpolate1(" ", ctx_r0.getFocusAreaTitle(focusArea_r8.focusAreaDomain), " ");
52890
53368
  } }
52891
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_14_Template(rf, ctx) { if (rf & 1) {
52892
- i0.ɵɵelementStart(0, "div")(1, "h3", 56);
52893
- i0.ɵɵelement(2, "span", 70);
53369
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_14_Template(rf, ctx) { if (rf & 1) {
53370
+ i0.ɵɵelementStart(0, "div")(1, "h3", 51);
53371
+ i0.ɵɵelement(2, "span", 65);
52894
53372
  i0.ɵɵtext(3);
52895
53373
  i0.ɵɵelementEnd();
52896
- i0.ɵɵelementStart(4, "div", 71);
52897
- i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_14_For_6_Template, 3, 3, "div", 72, _forTrack0$B);
53374
+ i0.ɵɵelementStart(4, "div", 66);
53375
+ i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_14_For_6_Template, 3, 3, "div", 67, _forTrack0$B);
52898
53376
  i0.ɵɵelementEnd()();
52899
53377
  } if (rf & 2) {
52900
53378
  const ctx_r0 = i0.ɵɵnextContext(3);
@@ -52905,25 +53383,25 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Con
52905
53383
  i0.ɵɵadvance(2);
52906
53384
  i0.ɵɵrepeater(ctx_r0.notInterestedFocusAreas());
52907
53385
  } }
52908
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Template(rf, ctx) { if (rf & 1) {
53386
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Template(rf, ctx) { if (rf & 1) {
52909
53387
  const _r4 = i0.ɵɵgetCurrentView();
52910
- i0.ɵɵelementStart(0, "div", 22)(1, "div", 23)(2, "div", 24)(3, "div")(4, "h2", 19);
53388
+ i0.ɵɵelementStart(0, "div", 17)(1, "div", 18)(2, "div", 19)(3, "div")(4, "h2", 14);
52911
53389
  i0.ɵɵtext(5, " Focus Areas ");
52912
53390
  i0.ɵɵelementEnd();
52913
53391
  i0.ɵɵelementStart(6, "p", 1);
52914
53392
  i0.ɵɵtext(7, " Your marketing and operational focus areas ");
52915
53393
  i0.ɵɵelementEnd()();
52916
- i0.ɵɵelementStart(8, "button", 25);
52917
- i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.enableFocusAreasEditMode()); });
53394
+ i0.ɵɵelementStart(8, "button", 20);
53395
+ i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.enableFocusAreasEditMode()); });
52918
53396
  i0.ɵɵnamespaceSVG();
52919
- i0.ɵɵelementStart(9, "svg", 26);
52920
- i0.ɵɵelement(10, "path", 27);
53397
+ i0.ɵɵelementStart(9, "svg", 21);
53398
+ i0.ɵɵelement(10, "path", 22);
52921
53399
  i0.ɵɵelementEnd();
52922
53400
  i0.ɵɵtext(11, " Edit ");
52923
53401
  i0.ɵɵelementEnd()();
52924
- i0.ɵɵconditionalCreate(12, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_12_Template, 7, 2, "div", 31);
52925
- i0.ɵɵconditionalCreate(13, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_13_Template, 7, 2, "div", 31);
52926
- i0.ɵɵconditionalCreate(14, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Conditional_14_Template, 7, 2, "div");
53402
+ i0.ɵɵconditionalCreate(12, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_12_Template, 7, 2, "div", 26);
53403
+ i0.ɵɵconditionalCreate(13, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_13_Template, 7, 2, "div", 26);
53404
+ i0.ɵɵconditionalCreate(14, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Conditional_14_Template, 7, 2, "div");
52927
53405
  i0.ɵɵelementEnd()();
52928
53406
  } if (rf & 2) {
52929
53407
  const ctx_r0 = i0.ɵɵnextContext(2);
@@ -52943,38 +53421,38 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Tem
52943
53421
  i0.ɵɵadvance();
52944
53422
  i0.ɵɵconditional(ctx_r0.notInterestedFocusAreas().length > 0 ? 14 : -1);
52945
53423
  } }
52946
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_4_For_13_Conditional_1_Template(rf, ctx) { if (rf & 1) {
52947
- i0.ɵɵelement(0, "div", 76);
53424
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_4_For_13_Conditional_1_Template(rf, ctx) { if (rf & 1) {
53425
+ i0.ɵɵelement(0, "div", 71);
52948
53426
  } if (rf & 2) {
52949
53427
  const ctx_r0 = i0.ɵɵnextContext(4);
52950
53428
  i0.ɵɵproperty("ngClass", ctx_r0.dividerClasses());
52951
53429
  } }
52952
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_4_For_13_Template(rf, ctx) { if (rf & 1) {
53430
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_4_For_13_Template(rf, ctx) { if (rf & 1) {
52953
53431
  const _r9 = i0.ɵɵgetCurrentView();
52954
- i0.ɵɵelementStart(0, "symphiq-focus-area-question", 75);
52955
- i0.ɵɵlistener("statusChange", function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_4_For_13_Template_symphiq_focus_area_question_statusChange_0_listener($event) { const domain_r10 = i0.ɵɵrestoreView(_r9).$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.onFocusAreaStatusChange(domain_r10, $event)); })("toolsClick", function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_4_For_13_Template_symphiq_focus_area_question_toolsClick_0_listener() { const domain_r10 = i0.ɵɵrestoreView(_r9).$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.onFocusAreaToolsClick(domain_r10)); });
53432
+ i0.ɵɵelementStart(0, "symphiq-focus-area-question", 70);
53433
+ i0.ɵɵlistener("statusChange", function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_4_For_13_Template_symphiq_focus_area_question_statusChange_0_listener($event) { const domain_r10 = i0.ɵɵrestoreView(_r9).$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.onFocusAreaStatusChange(domain_r10, $event)); })("toolsClick", function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_4_For_13_Template_symphiq_focus_area_question_toolsClick_0_listener() { const domain_r10 = i0.ɵɵrestoreView(_r9).$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.onFocusAreaToolsClick(domain_r10)); });
52956
53434
  i0.ɵɵelementEnd();
52957
- i0.ɵɵconditionalCreate(1, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_4_For_13_Conditional_1_Template, 1, 1, "div", 76);
53435
+ i0.ɵɵconditionalCreate(1, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_4_For_13_Conditional_1_Template, 1, 1, "div", 71);
52958
53436
  } if (rf & 2) {
52959
53437
  const domain_r10 = ctx.$implicit;
52960
- const ɵ$index_356_r11 = ctx.$index;
53438
+ const ɵ$index_331_r11 = ctx.$index;
52961
53439
  const ctx_r0 = i0.ɵɵnextContext(3);
52962
53440
  i0.ɵɵproperty("focusAreaDomain", domain_r10)("selectedStatus", ctx_r0.getFocusAreaStatus(domain_r10))("selectedTools", ctx_r0.getFocusAreaTools(domain_r10))("viewMode", ctx_r0.viewMode())("title", ctx_r0.getFocusAreaTitle(domain_r10))("description", ctx_r0.getFocusAreaDescription(domain_r10));
52963
53441
  i0.ɵɵadvance();
52964
- i0.ɵɵconditional(ɵ$index_356_r11 < ctx_r0.allFocusAreaDomains().length - 1 ? 1 : -1);
53442
+ i0.ɵɵconditional(ɵ$index_331_r11 < ctx_r0.allFocusAreaDomains().length - 1 ? 1 : -1);
52965
53443
  } }
52966
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_4_Template(rf, ctx) { if (rf & 1) {
52967
- i0.ɵɵelementStart(0, "div", 22)(1, "div", 23)(2, "div", 31)(3, "div", 73)(4, "div")(5, "h2", 19);
53444
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_4_Template(rf, ctx) { if (rf & 1) {
53445
+ i0.ɵɵelementStart(0, "div", 17)(1, "div", 18)(2, "div", 26)(3, "div", 68)(4, "div")(5, "h2", 14);
52968
53446
  i0.ɵɵtext(6, " Focus Areas ");
52969
53447
  i0.ɵɵelementEnd();
52970
53448
  i0.ɵɵelementStart(7, "p", 1);
52971
53449
  i0.ɵɵtext(8, " Tell us about your marketing and operational focus areas ");
52972
53450
  i0.ɵɵelementEnd()();
52973
- i0.ɵɵelementStart(9, "div", 74);
53451
+ i0.ɵɵelementStart(9, "div", 69);
52974
53452
  i0.ɵɵtext(10);
52975
53453
  i0.ɵɵelementEnd()()();
52976
- i0.ɵɵelementStart(11, "div", 28);
52977
- i0.ɵɵrepeaterCreate(12, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_4_For_13_Template, 2, 7, null, null, i0.ɵɵrepeaterTrackByIdentity);
53454
+ i0.ɵɵelementStart(11, "div", 23);
53455
+ i0.ɵɵrepeaterCreate(12, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_4_For_13_Template, 2, 7, null, null, i0.ɵɵrepeaterTrackByIdentity);
52978
53456
  i0.ɵɵelementEnd()()();
52979
53457
  } if (rf & 2) {
52980
53458
  const ctx_r0 = i0.ɵɵnextContext(2);
@@ -52992,12 +53470,12 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_4_Tem
52992
53470
  i0.ɵɵadvance(2);
52993
53471
  i0.ɵɵrepeater(ctx_r0.allFocusAreaDomains());
52994
53472
  } }
52995
- function SymphiqCreateAccountDashboardComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
52996
- i0.ɵɵelementStart(0, "div", 14);
52997
- i0.ɵɵconditionalCreate(1, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_1_Template, 34, 18, "div", 21);
52998
- i0.ɵɵconditionalCreate(2, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_2_Template, 62, 35, "div", 21);
52999
- i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_3_Template, 15, 8, "div", 22);
53000
- i0.ɵɵconditionalCreate(4, SymphiqCreateAccountDashboardComponent_Conditional_23_Conditional_4_Template, 14, 7, "div", 22);
53473
+ function SymphiqCreateAccountDashboardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
53474
+ i0.ɵɵelementStart(0, "div", 9);
53475
+ i0.ɵɵconditionalCreate(1, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_1_Template, 34, 18, "div", 16);
53476
+ i0.ɵɵconditionalCreate(2, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_2_Template, 62, 35, "div", 16);
53477
+ i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_3_Template, 15, 8, "div", 17);
53478
+ i0.ɵɵconditionalCreate(4, SymphiqCreateAccountDashboardComponent_Conditional_9_Conditional_4_Template, 14, 7, "div", 17);
53001
53479
  i0.ɵɵelementEnd();
53002
53480
  } if (rf & 2) {
53003
53481
  const ctx_r0 = i0.ɵɵnextContext();
@@ -53010,62 +53488,62 @@ function SymphiqCreateAccountDashboardComponent_Conditional_23_Template(rf, ctx)
53010
53488
  i0.ɵɵadvance();
53011
53489
  i0.ɵɵconditional(!ctx_r0.accountData() || ctx_r0.focusAreasEditMode() ? 4 : -1);
53012
53490
  } }
53013
- function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_3_Template(rf, ctx) { if (rf & 1) {
53491
+ function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_3_Template(rf, ctx) { if (rf & 1) {
53014
53492
  const _r13 = i0.ɵɵgetCurrentView();
53015
- i0.ɵɵelementStart(0, "button", 81);
53016
- i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.focusAreasEditMode() ? ctx_r0.cancelFocusAreasEditMode() : ctx_r0.cancelEditMode()); });
53493
+ i0.ɵɵelementStart(0, "button", 76);
53494
+ i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.focusAreasEditMode() ? ctx_r0.cancelFocusAreasEditMode() : ctx_r0.cancelEditMode()); });
53017
53495
  i0.ɵɵtext(1, " Cancel ");
53018
53496
  i0.ɵɵelementEnd();
53019
53497
  } if (rf & 2) {
53020
53498
  const ctx_r0 = i0.ɵɵnextContext(2);
53021
53499
  i0.ɵɵproperty("ngClass", ctx_r0.cancelButtonClasses());
53022
53500
  } }
53023
- function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_5_Conditional_3_Template(rf, ctx) { if (rf & 1) {
53501
+ function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_5_Conditional_3_Template(rf, ctx) { if (rf & 1) {
53024
53502
  i0.ɵɵtext(0, " Saving Focus Areas... ");
53025
53503
  } }
53026
- function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_5_Conditional_4_Template(rf, ctx) { if (rf & 1) {
53504
+ function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_5_Conditional_4_Template(rf, ctx) { if (rf & 1) {
53027
53505
  i0.ɵɵtext(0, " Updating Account... ");
53028
53506
  } }
53029
- function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_5_Conditional_5_Template(rf, ctx) { if (rf & 1) {
53507
+ function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_5_Conditional_5_Template(rf, ctx) { if (rf & 1) {
53030
53508
  i0.ɵɵtext(0, " Creating Account... ");
53031
53509
  } }
53032
- function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_5_Template(rf, ctx) { if (rf & 1) {
53510
+ function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_5_Template(rf, ctx) { if (rf & 1) {
53033
53511
  i0.ɵɵnamespaceSVG();
53034
- i0.ɵɵelementStart(0, "svg", 82);
53035
- i0.ɵɵelement(1, "circle", 83)(2, "path", 84);
53512
+ i0.ɵɵelementStart(0, "svg", 77);
53513
+ i0.ɵɵelement(1, "circle", 78)(2, "path", 79);
53036
53514
  i0.ɵɵelementEnd();
53037
- i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_5_Conditional_3_Template, 1, 0)(4, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_5_Conditional_4_Template, 1, 0)(5, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_5_Conditional_5_Template, 1, 0);
53515
+ i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_5_Conditional_3_Template, 1, 0)(4, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_5_Conditional_4_Template, 1, 0)(5, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_5_Conditional_5_Template, 1, 0);
53038
53516
  } if (rf & 2) {
53039
53517
  const ctx_r0 = i0.ɵɵnextContext(2);
53040
53518
  i0.ɵɵadvance(3);
53041
53519
  i0.ɵɵconditional(ctx_r0.focusAreasEditMode() ? 3 : ctx_r0.accountData() && ctx_r0.editMode() ? 4 : 5);
53042
53520
  } }
53043
- function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_6_Conditional_0_Template(rf, ctx) { if (rf & 1) {
53521
+ function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_0_Template(rf, ctx) { if (rf & 1) {
53044
53522
  i0.ɵɵtext(0, " Save Focus Areas ");
53045
53523
  } }
53046
- function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
53524
+ function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
53047
53525
  i0.ɵɵtext(0, " Save Changes ");
53048
53526
  } }
53049
- function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
53527
+ function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
53050
53528
  i0.ɵɵtext(0, " Create Account ");
53051
53529
  } }
53052
- function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_6_Template(rf, ctx) { if (rf & 1) {
53053
- i0.ɵɵconditionalCreate(0, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_6_Conditional_0_Template, 1, 0)(1, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_6_Conditional_1_Template, 1, 0)(2, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_6_Conditional_2_Template, 1, 0);
53530
+ function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Template(rf, ctx) { if (rf & 1) {
53531
+ i0.ɵɵconditionalCreate(0, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_0_Template, 1, 0)(1, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_1_Template, 1, 0)(2, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_2_Template, 1, 0);
53054
53532
  i0.ɵɵnamespaceSVG();
53055
- i0.ɵɵelementStart(3, "svg", 85);
53056
- i0.ɵɵelement(4, "path", 86);
53533
+ i0.ɵɵelementStart(3, "svg", 80);
53534
+ i0.ɵɵelement(4, "path", 81);
53057
53535
  i0.ɵɵelementEnd();
53058
53536
  } if (rf & 2) {
53059
53537
  const ctx_r0 = i0.ɵɵnextContext(2);
53060
53538
  i0.ɵɵconditional(ctx_r0.focusAreasEditMode() ? 0 : ctx_r0.accountData() && ctx_r0.editMode() ? 1 : 2);
53061
53539
  } }
53062
- function SymphiqCreateAccountDashboardComponent_Conditional_25_Template(rf, ctx) { if (rf & 1) {
53540
+ function SymphiqCreateAccountDashboardComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
53063
53541
  const _r12 = i0.ɵɵgetCurrentView();
53064
- i0.ɵɵelementStart(0, "div", 16)(1, "div", 77)(2, "div", 78);
53065
- i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_3_Template, 2, 1, "button", 79);
53066
- i0.ɵɵelementStart(4, "button", 80);
53067
- i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_25_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r12); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.focusAreasEditMode() ? ctx_r0.handleSaveFocusAreas() : ctx_r0.handleContinue()); });
53068
- i0.ɵɵconditionalCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_5_Template, 6, 1)(6, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_6_Template, 5, 1);
53542
+ i0.ɵɵelementStart(0, "div", 11)(1, "div", 72)(2, "div", 73);
53543
+ i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_3_Template, 2, 1, "button", 74);
53544
+ i0.ɵɵelementStart(4, "button", 75);
53545
+ i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_11_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r12); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.focusAreasEditMode() ? ctx_r0.handleSaveFocusAreas() : ctx_r0.handleContinue()); });
53546
+ i0.ɵɵconditionalCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_5_Template, 6, 1)(6, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Template, 5, 1);
53069
53547
  i0.ɵɵelementEnd()()()();
53070
53548
  } if (rf & 2) {
53071
53549
  const ctx_r0 = i0.ɵɵnextContext();
@@ -53454,21 +53932,6 @@ class SymphiqCreateAccountDashboardComponent {
53454
53932
  ? 'min-h-screen'
53455
53933
  : 'min-h-screen';
53456
53934
  }
53457
- getHeaderClasses() {
53458
- return this.isLightMode()
53459
- ? 'bg-white/80 backdrop-blur-md border-b border-slate-200'
53460
- : 'bg-slate-900/80 backdrop-blur-md border-b border-slate-700';
53461
- }
53462
- getMainTitleClasses() {
53463
- return this.isLightMode()
53464
- ? 'text-4xl font-bold bg-gradient-to-r from-blue-600 to-cyan-600 bg-clip-text text-transparent'
53465
- : 'text-4xl font-bold bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent';
53466
- }
53467
- getSubtitleClasses() {
53468
- return this.isLightMode()
53469
- ? 'text-slate-600 text-lg mt-2'
53470
- : 'text-slate-400 text-lg mt-2';
53471
- }
53472
53935
  containerClasses() {
53473
53936
  return this.isLightMode()
53474
53937
  ? 'bg-white border-slate-200'
@@ -53694,30 +54157,23 @@ class SymphiqCreateAccountDashboardComponent {
53694
54157
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.shopNameInput = _t.first);
53695
54158
  } }, hostBindings: function SymphiqCreateAccountDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
53696
54159
  i0.ɵɵlistener("scroll", function SymphiqCreateAccountDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow);
53697
- } }, inputs: { embedded: [1, "embedded"], parentHeaderOffset: [1, "parentHeaderOffset"], viewMode: [1, "viewMode"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], accountData: [1, "accountData"], forDemo: [1, "forDemo"], showNextStepAction: [1, "showNextStepAction"], maxAccessibleStepId: [1, "maxAccessibleStepId"] }, outputs: { onCreateAccount: "onCreateAccount", stepClick: "stepClick", nextStepClick: "nextStepClick" }, decls: 26, vars: 48, consts: [["shopNameInput", ""], [3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "relative", "z-[51]"], [1, "sticky", "top-0", "z-50", 3, "ngClass"], [1, "transition-all", "duration-300", "ease-in-out", "overflow-hidden"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "flex", "items-center", "justify-between"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-3"], [1, "flex-1", "min-w-0", "mr-4"], [3, "stepClick", "nextStepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "relative", "pb-32"], [1, "flex", "flex-col", "items-center", "justify-center", "min-h-[60vh]", "gap-6"], [1, "max-w-3xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [3, "close", "save", "isOpen", "focusAreaDomain", "focusAreaTitle", "selectedTools", "viewMode"], [1, "fixed", "bottom-0", "left-0", "right-0", "z-50", "border-t", "backdrop-blur-sm", 3, "ngClass"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-2xl", "font-bold", "mb-2", 3, "ngClass"], [1, "text-base", 3, "ngClass"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [1, "px-8", "py-8", 3, "ngClass"], [1, "flex", "items-start", "justify-between", "mb-6"], ["type", "button", 1, "px-4", "py-2", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "hover:scale-105", "flex", "items-center", "gap-2", "cursor-pointer", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"], [1, "space-y-4"], [1, "block", "text-sm", "font-medium", "mb-1", 3, "ngClass"], ["target", "_blank", "rel", "noopener noreferrer", 1, "text-base", "hover:underline", 3, "href", "ngClass"], [1, "mb-6"], [1, "space-y-6", 3, "formGroup"], [1, "block", "text-sm", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-red-500"], ["type", "text", "formControlName", "shopName", "placeholder", "Enter your shop name", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "mt-1", "text-sm", 3, "ngClass"], [1, "flex", "items-center"], [1, "px-4", "py-3", "rounded-l-lg", "border-2", "border-r-0", "text-sm", "font-medium", 3, "ngClass"], ["type", "text", "formControlName", "shopUrl", "placeholder", "yourshop.com", 1, "flex-1", "px-4", "py-3", "rounded-r-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "block", "text-sm", "font-semibold", "mb-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "gap-4"], [1, "cursor-pointer", 3, "ngClass"], ["type", "radio", "formControlName", "shopPlatform", 1, "sr-only", 3, "value"], [1, "flex", "items-center", "gap-3", "p-4", "rounded-lg", "border-2", "transition-all", "duration-200"], [1, "w-5", "h-5", "rounded-full", "border-2", "flex", "items-center", "justify-center", "flex-shrink-0", 3, "ngClass"], [1, "w-3", "h-3", "rounded-full", "bg-current"], [1, "flex-1"], [1, "font-semibold", 3, "ngClass"], ["type", "text", "formControlName", "companyName", "placeholder", "Enter company name", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass", "readonly"], [1, "mt-2"], [1, "flex", "items-center", "gap-2", "cursor-pointer"], ["type", "checkbox", 1, "w-4", "h-4", "rounded", "border-2", "transition-all", "duration-200", 3, "change", "checked", "ngClass"], [1, "text-sm", 3, "ngClass"], ["formControlName", "website", "tabindex", "-1", "autocomplete", "off", 1, "absolute", "-left-[9999px]", "opacity-0"], ["type", "text", "formControlName", "otherPlatformName", "placeholder", "Enter platform name (e.g., WooCommerce, Magento)", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "text-base", "font-bold", "mb-3", "flex", "items-center", "gap-2", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-emerald-500"], [1, "space-y-3"], [1, "p-4", "rounded-lg", "border-l-4", 3, "ngClass"], [1, "flex", "items-start", "justify-between", "mb-2"], [1, "font-semibold", "text-sm", 3, "ngClass"], [1, "px-2", "py-0.5", "rounded", "text-xs", "font-semibold", "whitespace-nowrap", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "mt-2"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-1.5"], [1, "px-2", "py-0.5", "rounded", "text-xs", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-blue-500"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "gap-3"], [1, "p-3", "rounded-lg", "border-l-4", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-slate-400"], [1, "grid", "grid-cols-2", "sm:grid-cols-3", "gap-2"], [1, "p-2", "rounded", "text-center", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "whitespace-nowrap", 3, "ngClass"], [3, "statusChange", "toolsClick", "focusAreaDomain", "selectedStatus", "selectedTools", "viewMode", "title", "description"], [1, "my-4", 3, "ngClass"], [1, "max-w-3xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "px-6", "py-4", "rounded-xl", "font-bold", "text-base", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-2", "cursor-pointer", "hover:scale-105", 3, "ngClass"], ["type", "button", 1, "flex-1", "px-6", "py-4", "rounded-xl", "font-bold", "text-lg", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-3", "shadow-lg", 3, "click", "disabled", "ngClass"], ["type", "button", 1, "px-6", "py-4", "rounded-xl", "font-bold", "text-base", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-2", "cursor-pointer", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "animate-spin"], ["cx", "12", "cy", "12", "r", "10", "stroke", "currentColor", "stroke-width", "4", 1, "opacity-25"], ["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", 1, "opacity-75"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"]], template: function SymphiqCreateAccountDashboardComponent_Template(rf, ctx) { if (rf & 1) {
54160
+ } }, inputs: { embedded: [1, "embedded"], parentHeaderOffset: [1, "parentHeaderOffset"], viewMode: [1, "viewMode"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], accountData: [1, "accountData"], forDemo: [1, "forDemo"], showNextStepAction: [1, "showNextStepAction"], maxAccessibleStepId: [1, "maxAccessibleStepId"] }, outputs: { onCreateAccount: "onCreateAccount", stepClick: "stepClick", nextStepClick: "nextStepClick" }, decls: 12, vars: 24, consts: [["shopNameInput", ""], [3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "relative", "z-[51]"], [3, "title", "subtitle", "viewMode", "showControls"], [3, "stepClick", "nextStepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "relative", "pb-32"], [1, "flex", "flex-col", "items-center", "justify-center", "min-h-[60vh]", "gap-6"], [1, "max-w-3xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [3, "close", "save", "isOpen", "focusAreaDomain", "focusAreaTitle", "selectedTools", "viewMode"], [1, "fixed", "bottom-0", "left-0", "right-0", "z-50", "border-t", "backdrop-blur-sm", 3, "ngClass"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-2xl", "font-bold", "mb-2", 3, "ngClass"], [1, "text-base", 3, "ngClass"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [1, "px-8", "py-8", 3, "ngClass"], [1, "flex", "items-start", "justify-between", "mb-6"], ["type", "button", 1, "px-4", "py-2", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "hover:scale-105", "flex", "items-center", "gap-2", "cursor-pointer", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"], [1, "space-y-4"], [1, "block", "text-sm", "font-medium", "mb-1", 3, "ngClass"], ["target", "_blank", "rel", "noopener noreferrer", 1, "text-base", "hover:underline", 3, "href", "ngClass"], [1, "mb-6"], [1, "space-y-6", 3, "formGroup"], [1, "block", "text-sm", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-red-500"], ["type", "text", "formControlName", "shopName", "placeholder", "Enter your shop name", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "mt-1", "text-sm", 3, "ngClass"], [1, "flex", "items-center"], [1, "px-4", "py-3", "rounded-l-lg", "border-2", "border-r-0", "text-sm", "font-medium", 3, "ngClass"], ["type", "text", "formControlName", "shopUrl", "placeholder", "yourshop.com", 1, "flex-1", "px-4", "py-3", "rounded-r-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "block", "text-sm", "font-semibold", "mb-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "gap-4"], [1, "cursor-pointer", 3, "ngClass"], ["type", "radio", "formControlName", "shopPlatform", 1, "sr-only", 3, "value"], [1, "flex", "items-center", "gap-3", "p-4", "rounded-lg", "border-2", "transition-all", "duration-200"], [1, "w-5", "h-5", "rounded-full", "border-2", "flex", "items-center", "justify-center", "flex-shrink-0", 3, "ngClass"], [1, "w-3", "h-3", "rounded-full", "bg-current"], [1, "flex-1"], [1, "font-semibold", 3, "ngClass"], ["type", "text", "formControlName", "companyName", "placeholder", "Enter company name", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass", "readonly"], [1, "mt-2"], [1, "flex", "items-center", "gap-2", "cursor-pointer"], ["type", "checkbox", 1, "w-4", "h-4", "rounded", "border-2", "transition-all", "duration-200", 3, "change", "checked", "ngClass"], [1, "text-sm", 3, "ngClass"], ["formControlName", "website", "tabindex", "-1", "autocomplete", "off", 1, "absolute", "-left-[9999px]", "opacity-0"], ["type", "text", "formControlName", "otherPlatformName", "placeholder", "Enter platform name (e.g., WooCommerce, Magento)", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "text-base", "font-bold", "mb-3", "flex", "items-center", "gap-2", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-emerald-500"], [1, "space-y-3"], [1, "p-4", "rounded-lg", "border-l-4", 3, "ngClass"], [1, "flex", "items-start", "justify-between", "mb-2"], [1, "font-semibold", "text-sm", 3, "ngClass"], [1, "px-2", "py-0.5", "rounded", "text-xs", "font-semibold", "whitespace-nowrap", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "mt-2"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-1.5"], [1, "px-2", "py-0.5", "rounded", "text-xs", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-blue-500"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "gap-3"], [1, "p-3", "rounded-lg", "border-l-4", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-slate-400"], [1, "grid", "grid-cols-2", "sm:grid-cols-3", "gap-2"], [1, "p-2", "rounded", "text-center", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "whitespace-nowrap", 3, "ngClass"], [3, "statusChange", "toolsClick", "focusAreaDomain", "selectedStatus", "selectedTools", "viewMode", "title", "description"], [1, "my-4", 3, "ngClass"], [1, "max-w-3xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "px-6", "py-4", "rounded-xl", "font-bold", "text-base", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-2", "cursor-pointer", "hover:scale-105", 3, "ngClass"], ["type", "button", 1, "flex-1", "px-6", "py-4", "rounded-xl", "font-bold", "text-lg", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-3", "shadow-lg", 3, "click", "disabled", "ngClass"], ["type", "button", 1, "px-6", "py-4", "rounded-xl", "font-bold", "text-base", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-2", "cursor-pointer", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "animate-spin"], ["cx", "12", "cy", "12", "r", "10", "stroke", "currentColor", "stroke-width", "4", 1, "opacity-25"], ["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", 1, "opacity-75"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"]], template: function SymphiqCreateAccountDashboardComponent_Template(rf, ctx) { if (rf & 1) {
53698
54161
  i0.ɵɵelementStart(0, "div", 1)(1, "div");
53699
54162
  i0.ɵɵelement(2, "div", 2);
53700
54163
  i0.ɵɵelementEnd();
53701
54164
  i0.ɵɵelement(3, "div", 3);
53702
- i0.ɵɵelementStart(4, "div", 4)(5, "header", 5)(6, "div", 6)(7, "div", 7)(8, "div", 8)(9, "div")(10, "h1", 1);
53703
- i0.ɵɵtext(11, " Create Account ");
53704
- i0.ɵɵelementEnd();
53705
- i0.ɵɵelementStart(12, "p", 1);
53706
- i0.ɵɵtext(13, " Tell us about your shop ");
53707
- i0.ɵɵelementEnd()()()()();
53708
- i0.ɵɵelementStart(14, "div", 6)(15, "div", 9)(16, "div", 8)(17, "div", 10)(18, "h1", 1);
53709
- i0.ɵɵtext(19, " Create Account ");
53710
- i0.ɵɵelementEnd()()()()()();
53711
- i0.ɵɵelementStart(20, "symphiq-journey-progress-indicator", 11);
53712
- i0.ɵɵlistener("stepClick", function SymphiqCreateAccountDashboardComponent_Template_symphiq_journey_progress_indicator_stepClick_20_listener($event) { return ctx.stepClick.emit($event); })("nextStepClick", function SymphiqCreateAccountDashboardComponent_Template_symphiq_journey_progress_indicator_nextStepClick_20_listener() { return ctx.nextStepClick.emit(); });
54165
+ i0.ɵɵelementStart(4, "div", 4);
54166
+ i0.ɵɵelement(5, "symphiq-dashboard-header", 5);
54167
+ i0.ɵɵelementStart(6, "symphiq-journey-progress-indicator", 6);
54168
+ i0.ɵɵlistener("stepClick", function SymphiqCreateAccountDashboardComponent_Template_symphiq_journey_progress_indicator_stepClick_6_listener($event) { return ctx.stepClick.emit($event); })("nextStepClick", function SymphiqCreateAccountDashboardComponent_Template_symphiq_journey_progress_indicator_nextStepClick_6_listener() { return ctx.nextStepClick.emit(); });
53713
54169
  i0.ɵɵelementEnd();
53714
- i0.ɵɵelementStart(21, "main", 12);
53715
- i0.ɵɵconditionalCreate(22, SymphiqCreateAccountDashboardComponent_Conditional_22_Template, 7, 3, "div", 13)(23, SymphiqCreateAccountDashboardComponent_Conditional_23_Template, 5, 4, "div", 14);
54170
+ i0.ɵɵelementStart(7, "main", 7);
54171
+ i0.ɵɵconditionalCreate(8, SymphiqCreateAccountDashboardComponent_Conditional_8_Template, 7, 3, "div", 8)(9, SymphiqCreateAccountDashboardComponent_Conditional_9_Template, 5, 4, "div", 9);
53716
54172
  i0.ɵɵelementEnd();
53717
- i0.ɵɵelementStart(24, "symphiq-focus-area-tools-modal", 15);
53718
- i0.ɵɵlistener("close", function SymphiqCreateAccountDashboardComponent_Template_symphiq_focus_area_tools_modal_close_24_listener() { return ctx.onToolsModalClose(); })("save", function SymphiqCreateAccountDashboardComponent_Template_symphiq_focus_area_tools_modal_save_24_listener($event) { return ctx.onToolsModalSave($event); });
54173
+ i0.ɵɵelementStart(10, "symphiq-focus-area-tools-modal", 10);
54174
+ i0.ɵɵlistener("close", function SymphiqCreateAccountDashboardComponent_Template_symphiq_focus_area_tools_modal_close_10_listener() { return ctx.onToolsModalClose(); })("save", function SymphiqCreateAccountDashboardComponent_Template_symphiq_focus_area_tools_modal_save_10_listener($event) { return ctx.onToolsModalSave($event); });
53719
54175
  i0.ɵɵelementEnd();
53720
- i0.ɵɵconditionalCreate(25, SymphiqCreateAccountDashboardComponent_Conditional_25_Template, 7, 13, "div", 16);
54176
+ i0.ɵɵconditionalCreate(11, SymphiqCreateAccountDashboardComponent_Conditional_11_Template, 7, 13, "div", 11);
53721
54177
  i0.ɵɵelementEnd()();
53722
54178
  } if (rf & 2) {
53723
54179
  i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
@@ -53729,1039 +54185,531 @@ class SymphiqCreateAccountDashboardComponent {
53729
54185
  i0.ɵɵadvance();
53730
54186
  i0.ɵɵclassProp("light-mode", ctx.isLightMode());
53731
54187
  i0.ɵɵadvance(2);
53732
- i0.ɵɵproperty("ngClass", ctx.getHeaderClasses());
53733
- i0.ɵɵadvance();
53734
- i0.ɵɵclassProp("max-h-0", ctx.headerScrollService.isScrolled())("opacity-0", ctx.headerScrollService.isScrolled())("max-h-96", !ctx.headerScrollService.isScrolled())("opacity-100", !ctx.headerScrollService.isScrolled());
54188
+ i0.ɵɵproperty("title", "Create Account")("subtitle", "Tell us about your shop")("viewMode", ctx.viewMode())("showControls", false);
53735
54189
  i0.ɵɵadvance();
53736
- i0.ɵɵclassProp("pointer-events-none", ctx.headerScrollService.isScrolled())("pointer-events-auto", !ctx.headerScrollService.isScrolled());
53737
- i0.ɵɵadvance(3);
53738
- i0.ɵɵproperty("ngClass", ctx.getMainTitleClasses());
53739
- i0.ɵɵadvance(2);
53740
- i0.ɵɵproperty("ngClass", ctx.getSubtitleClasses());
53741
- i0.ɵɵadvance(2);
53742
- i0.ɵɵclassProp("max-h-0", !ctx.headerScrollService.isScrolled())("opacity-0", !ctx.headerScrollService.isScrolled())("max-h-20", ctx.headerScrollService.isScrolled())("opacity-100", ctx.headerScrollService.isScrolled());
53743
- i0.ɵɵadvance();
53744
- i0.ɵɵclassProp("pointer-events-none", !ctx.headerScrollService.isScrolled())("pointer-events-auto", ctx.headerScrollService.isScrolled());
53745
- i0.ɵɵadvance(3);
53746
- i0.ɵɵproperty("ngClass", ctx.isLightMode() ? "text-xl font-bold bg-gradient-to-r from-blue-600 to-cyan-600 bg-clip-text text-transparent truncate" : "text-xl font-bold bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent truncate");
53747
- i0.ɵɵadvance(2);
53748
54190
  i0.ɵɵproperty("viewMode", ctx.viewMode())("currentStepId", ctx.JourneyStepIdEnum.CREATE_ACCOUNT)("showNextStepAction", ctx.showNextStepAction())("forDemo", ctx.forDemo())("maxAccessibleStepId", ctx.maxAccessibleStepId());
53749
54191
  i0.ɵɵadvance(2);
53750
- i0.ɵɵconditional(ctx.isCreatingAccount() ? 22 : 23);
54192
+ i0.ɵɵconditional(ctx.isCreatingAccount() ? 8 : 9);
53751
54193
  i0.ɵɵadvance(2);
53752
54194
  i0.ɵɵproperty("isOpen", ctx.toolsModalOpen())("focusAreaDomain", ctx.currentEditingFocusArea())("focusAreaTitle", ctx.currentEditingFocusAreaTitle())("selectedTools", ctx.currentEditingTools())("viewMode", ctx.viewMode());
53753
54195
  i0.ɵɵadvance();
53754
- i0.ɵɵconditional((!ctx.accountData() || ctx.editMode() || ctx.focusAreasEditMode()) && !ctx.isCreatingAccount() ? 25 : -1);
53755
- } }, dependencies: [CommonModule, i1$1.NgClass, ReactiveFormsModule, i2$1.ɵNgNoValidate, i2$1.DefaultValueAccessor, i2$1.RadioControlValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, JourneyProgressIndicatorComponent, FocusAreaQuestionComponent, FocusAreaToolsModalComponent, IndeterminateSpinnerComponent], styles: ["[_nghost-%COMP%]{display:block}.animated-bubbles[_ngcontent-%COMP%]{overflow:hidden}.animated-bubbles[_ngcontent-%COMP%]:before, .animated-bubbles[_ngcontent-%COMP%]:after{content:\"\";position:absolute;border-radius:50%;animation:_ngcontent-%COMP%_float 20s infinite ease-in-out;opacity:.05}.animated-bubbles[_ngcontent-%COMP%]:before{width:600px;height:600px;background:radial-gradient(circle,#3b82f6 0%,transparent 70%);top:-300px;left:-300px;animation-delay:-5s}.animated-bubbles[_ngcontent-%COMP%]:after{width:800px;height:800px;background:radial-gradient(circle,#06b6d4 0%,transparent 70%);bottom:-400px;right:-400px;animation-delay:-10s}.animated-bubbles.light-mode[_ngcontent-%COMP%]:before, .animated-bubbles.light-mode[_ngcontent-%COMP%]:after{opacity:.03}@keyframes _ngcontent-%COMP%_float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(50px,-50px) scale(1.1)}66%{transform:translate(-30px,30px) scale(.9)}}"], changeDetection: 0 }); }
54196
+ i0.ɵɵconditional((!ctx.accountData() || ctx.editMode() || ctx.focusAreasEditMode()) && !ctx.isCreatingAccount() ? 11 : -1);
54197
+ } }, dependencies: [CommonModule, i1$1.NgClass, ReactiveFormsModule, i2$1.ɵNgNoValidate, i2$1.DefaultValueAccessor, i2$1.RadioControlValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, JourneyProgressIndicatorComponent, FocusAreaQuestionComponent, FocusAreaToolsModalComponent, IndeterminateSpinnerComponent, DashboardHeaderComponent], styles: ["[_nghost-%COMP%]{display:block}.animated-bubbles[_ngcontent-%COMP%]{overflow:hidden}.animated-bubbles[_ngcontent-%COMP%]:before, .animated-bubbles[_ngcontent-%COMP%]:after{content:\"\";position:absolute;border-radius:50%;animation:_ngcontent-%COMP%_float 20s infinite ease-in-out;opacity:.05}.animated-bubbles[_ngcontent-%COMP%]:before{width:600px;height:600px;background:radial-gradient(circle,#3b82f6 0%,transparent 70%);top:-300px;left:-300px;animation-delay:-5s}.animated-bubbles[_ngcontent-%COMP%]:after{width:800px;height:800px;background:radial-gradient(circle,#06b6d4 0%,transparent 70%);bottom:-400px;right:-400px;animation-delay:-10s}.animated-bubbles.light-mode[_ngcontent-%COMP%]:before, .animated-bubbles.light-mode[_ngcontent-%COMP%]:after{opacity:.03}@keyframes _ngcontent-%COMP%_float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(50px,-50px) scale(1.1)}66%{transform:translate(-30px,30px) scale(.9)}}"], changeDetection: 0 }); }
53756
54198
  }
53757
54199
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqCreateAccountDashboardComponent, [{
53758
54200
  type: Component,
53759
- args: [{ selector: 'symphiq-create-account-dashboard', standalone: true, imports: [CommonModule, ReactiveFormsModule, JourneyProgressIndicatorComponent, FocusAreaQuestionComponent, FocusAreaToolsModalComponent, IndeterminateSpinnerComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
53760
- <div [ngClass]="getContainerClasses()">
53761
- <!-- Scroll Progress Bar -->
53762
- <div [class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
53763
- <div
53764
- [style.width.%]="scrollProgress()"
53765
- [ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-cyan-500' : 'bg-gradient-to-r from-blue-400 to-cyan-400'"
53766
- class="h-full transition-all duration-200 ease-out">
53767
- </div>
53768
- </div>
53769
-
53770
- <div class="animated-bubbles" [class.light-mode]="isLightMode()" style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
53771
-
53772
- <div class="relative z-[51]">
53773
- <header [ngClass]="getHeaderClasses()" class="sticky top-0 z-50">
53774
- <!-- Expanded Header -->
53775
- <div
53776
- class="transition-all duration-300 ease-in-out overflow-hidden"
53777
- [class.max-h-0]="headerScrollService.isScrolled()"
53778
- [class.opacity-0]="headerScrollService.isScrolled()"
53779
- [class.max-h-96]="!headerScrollService.isScrolled()"
53780
- [class.opacity-100]="!headerScrollService.isScrolled()">
53781
- <div
53782
- class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"
53783
- [class.pointer-events-none]="headerScrollService.isScrolled()"
53784
- [class.pointer-events-auto]="!headerScrollService.isScrolled()">
53785
- <div class="flex items-center justify-between">
53786
- <div>
53787
- <h1 [ngClass]="getMainTitleClasses()">
53788
- Create Account
53789
- </h1>
53790
- <p [ngClass]="getSubtitleClasses()">
53791
- Tell us about your shop
53792
- </p>
53793
- </div>
53794
- </div>
53795
- </div>
53796
- </div>
53797
-
53798
- <!-- Condensed Header -->
53799
- <div
53800
- class="transition-all duration-300 ease-in-out overflow-hidden"
53801
- [class.max-h-0]="!headerScrollService.isScrolled()"
53802
- [class.opacity-0]="!headerScrollService.isScrolled()"
53803
- [class.max-h-20]="headerScrollService.isScrolled()"
53804
- [class.opacity-100]="headerScrollService.isScrolled()">
53805
- <div
53806
- class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3"
53807
- [class.pointer-events-none]="!headerScrollService.isScrolled()"
53808
- [class.pointer-events-auto]="headerScrollService.isScrolled()">
53809
- <div class="flex items-center justify-between">
53810
- <div class="flex-1 min-w-0 mr-4">
53811
- <h1 [ngClass]="isLightMode() ? 'text-xl font-bold bg-gradient-to-r from-blue-600 to-cyan-600 bg-clip-text text-transparent truncate' : 'text-xl font-bold bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent truncate'">
53812
- Create Account
53813
- </h1>
53814
- </div>
53815
- </div>
53816
- </div>
53817
- </div>
53818
- </header>
53819
-
53820
- <!-- Journey Progress Indicator -->
53821
- <symphiq-journey-progress-indicator
53822
- [viewMode]="viewMode()"
53823
- [currentStepId]="JourneyStepIdEnum.CREATE_ACCOUNT"
53824
- [showNextStepAction]="showNextStepAction()"
53825
- [forDemo]="forDemo()"
53826
- [maxAccessibleStepId]="maxAccessibleStepId()"
53827
- (stepClick)="stepClick.emit($event)"
53828
- (nextStepClick)="nextStepClick.emit()"
53829
- />
53830
-
53831
- <main class="relative pb-32">
53832
- @if (isCreatingAccount()) {
53833
- <div class="flex flex-col items-center justify-center min-h-[60vh] gap-6">
53834
- <symphiq-indeterminate-spinner
53835
- [viewMode]="viewMode()"
53836
- size="large"
53837
- />
53838
- <div class="text-center">
53839
- <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
53840
- Your account is being created
53841
- </h2>
53842
- <p [ngClass]="sectionDescriptionClasses()" class="text-base">
53843
- Please wait while we set everything up for you...
53844
- </p>
53845
- </div>
53846
- </div>
53847
- } @else {
53848
- <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
53849
- <!-- View Mode: Display Account Data -->
53850
- @if (accountData() && !editMode() && !focusAreasEditMode()) {
53851
- <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden mb-8">
53852
- <div [ngClass]="contentClasses()" class="px-8 py-8">
53853
- <div class="flex items-start justify-between mb-6">
53854
- <div>
53855
- <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
53856
- Shop Details
53857
- </h2>
53858
- <p [ngClass]="sectionDescriptionClasses()">
53859
- Your shop information
53860
- </p>
53861
- </div>
53862
- <button
53863
- type="button"
53864
- (click)="enableEditMode()"
53865
- [ngClass]="editButtonClasses()"
53866
- class="px-4 py-2 rounded-lg font-medium text-sm transition-all duration-200 hover:scale-105 flex items-center gap-2 cursor-pointer">
53867
- <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
53868
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"/>
53869
- </svg>
53870
- Edit
53871
- </button>
53872
- </div>
53873
-
53874
- <div class="space-y-4">
53875
- <div>
53876
- <label [ngClass]="viewLabelClasses()" class="block text-sm font-medium mb-1">
53877
- Shop Name
53878
- </label>
53879
- <p [ngClass]="viewValueClasses()" class="text-base">
53880
- {{ accountData()!.shopName }}
53881
- </p>
53882
- </div>
53883
-
53884
- <div>
53885
- <label [ngClass]="viewLabelClasses()" class="block text-sm font-medium mb-1">
53886
- Shop URL
53887
- </label>
53888
- <a [href]="accountData()!.shopUrl" target="_blank" rel="noopener noreferrer"
53889
- [ngClass]="viewLinkClasses()"
53890
- class="text-base hover:underline">
53891
- {{ accountData()!.shopUrl }}
53892
- </a>
53893
- </div>
53894
-
53895
- <div>
53896
- <label [ngClass]="viewLabelClasses()" class="block text-sm font-medium mb-1">
53897
- Shop Platform
53898
- </label>
53899
- <p [ngClass]="viewValueClasses()" class="text-base">
53900
- @if (accountData()!.shopPlatform === ShopPlatformEnum.SHOPIFY) {
53901
- Shopify
53902
- } @else {
53903
- {{ accountData()!.otherPlatformName || 'Other' }}
53904
- }
53905
- </p>
53906
- </div>
53907
-
53908
- <div>
53909
- <label [ngClass]="viewLabelClasses()" class="block text-sm font-medium mb-1">
53910
- Company Name
53911
- </label>
53912
- <p [ngClass]="viewValueClasses()" class="text-base">
53913
- {{ accountData()!.companyName }}
53914
- </p>
53915
- </div>
53916
- </div>
53917
- </div>
53918
- </div>
53919
- }
53920
-
53921
- <!-- Edit Mode: Form -->
53922
- @if (!accountData() || editMode()) {
53923
- <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden mb-8">
53924
- <div [ngClass]="contentClasses()" class="px-8 py-8">
53925
- <div class="mb-6">
53926
- <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
53927
- Shop Details
53928
- </h2>
53929
- <p [ngClass]="sectionDescriptionClasses()">
53930
- Enter your shop details to get started with Symphiq
53931
- </p>
53932
- </div>
53933
-
53934
- <form [formGroup]="accountForm" class="space-y-6">
53935
- <!-- Shop Name -->
53936
- <div>
53937
- <label [ngClass]="labelClasses()" class="block text-sm font-semibold mb-2">
53938
- Shop Name <span class="text-red-500">*</span>
53939
- </label>
53940
- <input
53941
- #shopNameInput
53942
- type="text"
53943
- formControlName="shopName"
53944
- [ngClass]="inputClasses('shopName')"
53945
- class="w-full px-4 py-3 rounded-lg border-2 transition-all duration-200 focus:outline-none focus:ring-2"
53946
- placeholder="Enter your shop name"
53947
- />
53948
- @if (isFieldInvalid('shopName')) {
53949
- <p [ngClass]="errorClasses()" class="mt-1 text-sm">
53950
- Shop name is required
53951
- </p>
53952
- }
53953
- </div>
53954
-
53955
- <!-- Shop URL -->
53956
- <div>
53957
- <label [ngClass]="labelClasses()" class="block text-sm font-semibold mb-2">
53958
- Shop URL <span class="text-red-500">*</span>
53959
- </label>
53960
- <div class="flex items-center">
53961
- <span [ngClass]="urlPrefixClasses()" class="px-4 py-3 rounded-l-lg border-2 border-r-0 text-sm font-medium">
53962
- https://
53963
- </span>
53964
- <input
53965
- type="text"
53966
- formControlName="shopUrl"
53967
- [ngClass]="urlInputClasses('shopUrl')"
53968
- class="flex-1 px-4 py-3 rounded-r-lg border-2 transition-all duration-200 focus:outline-none focus:ring-2"
53969
- placeholder="yourshop.com"
53970
- />
53971
- </div>
53972
- @if (isFieldInvalid('shopUrl')) {
53973
- <p [ngClass]="errorClasses()" class="mt-1 text-sm">
53974
- Shop URL is required
53975
- </p>
53976
- }
53977
- </div>
53978
-
53979
- <!-- Shop Platform -->
53980
- <div>
53981
- <label [ngClass]="labelClasses()" class="block text-sm font-semibold mb-3">
53982
- Shop Platform <span class="text-red-500">*</span>
53983
- </label>
53984
- <div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
53985
- <label [ngClass]="radioPlatformClasses(ShopPlatformEnum.SHOPIFY)" class="cursor-pointer">
53986
- <input
53987
- type="radio"
53988
- formControlName="shopPlatform"
53989
- [value]="ShopPlatformEnum.SHOPIFY"
53990
- class="sr-only"
53991
- />
53992
- <div class="flex items-center gap-3 p-4 rounded-lg border-2 transition-all duration-200">
53993
- <div [ngClass]="radioIndicatorClasses(ShopPlatformEnum.SHOPIFY)" class="w-5 h-5 rounded-full border-2 flex items-center justify-center flex-shrink-0">
53994
- @if (accountForm.get('shopPlatform')?.value === ShopPlatformEnum.SHOPIFY) {
53995
- <div class="w-3 h-3 rounded-full bg-current"></div>
53996
- }
53997
- </div>
53998
- <div class="flex-1">
53999
- <div [ngClass]="radioLabelClasses()" class="font-semibold">
54000
- Shopify
54001
- </div>
54002
- </div>
54003
- </div>
54004
- </label>
54005
-
54006
- <label [ngClass]="radioPlatformClasses(ShopPlatformEnum.OTHER)" class="cursor-pointer">
54007
- <input
54008
- type="radio"
54009
- formControlName="shopPlatform"
54010
- [value]="ShopPlatformEnum.OTHER"
54011
- class="sr-only"
54012
- />
54013
- <div class="flex items-center gap-3 p-4 rounded-lg border-2 transition-all duration-200">
54014
- <div [ngClass]="radioIndicatorClasses(ShopPlatformEnum.OTHER)" class="w-5 h-5 rounded-full border-2 flex items-center justify-center flex-shrink-0">
54015
- @if (accountForm.get('shopPlatform')?.value === ShopPlatformEnum.OTHER) {
54016
- <div class="w-3 h-3 rounded-full bg-current"></div>
54017
- }
54018
- </div>
54019
- <div class="flex-1">
54020
- <div [ngClass]="radioLabelClasses()" class="font-semibold">
54021
- Other
54022
- </div>
54023
- </div>
54024
- </div>
54025
- </label>
54026
- </div>
54027
- </div>
54028
-
54029
- <!-- Other Platform Name (Conditional) -->
54030
- @if (accountForm.get('shopPlatform')?.value === ShopPlatformEnum.OTHER) {
54031
- <div>
54032
- <label [ngClass]="labelClasses()" class="block text-sm font-semibold mb-2">
54033
- Platform Name <span class="text-red-500">*</span>
54034
- </label>
54035
- <input
54036
- type="text"
54037
- formControlName="otherPlatformName"
54038
- [ngClass]="inputClasses('otherPlatformName')"
54039
- class="w-full px-4 py-3 rounded-lg border-2 transition-all duration-200 focus:outline-none focus:ring-2"
54040
- placeholder="Enter platform name (e.g., WooCommerce, Magento)"
54041
- />
54042
- @if (isFieldInvalid('otherPlatformName')) {
54043
- <p [ngClass]="errorClasses()" class="mt-1 text-sm">
54044
- Platform name is required
54045
- </p>
54046
- }
54047
- </div>
54048
- }
54049
-
54050
- <!-- Company Name -->
54051
- <div>
54052
- <label [ngClass]="labelClasses()" class="block text-sm font-semibold mb-2">
54053
- Company Name <span class="text-red-500">*</span>
54054
- </label>
54055
- <input
54056
- type="text"
54057
- formControlName="companyName"
54058
- [ngClass]="inputClasses('companyName')"
54059
- [readonly]="sameAsShopName()"
54060
- class="w-full px-4 py-3 rounded-lg border-2 transition-all duration-200 focus:outline-none focus:ring-2"
54061
- [class.cursor-not-allowed]="sameAsShopName()"
54062
- [class.opacity-60]="sameAsShopName()"
54063
- placeholder="Enter company name"
54064
- />
54065
- <div class="mt-2">
54066
- <label class="flex items-center gap-2 cursor-pointer">
54067
- <input
54068
- type="checkbox"
54069
- [checked]="sameAsShopName()"
54070
- (change)="toggleSameAsShopName()"
54071
- [ngClass]="checkboxClasses()"
54072
- class="w-4 h-4 rounded border-2 transition-all duration-200"
54073
- />
54074
- <span [ngClass]="checkboxLabelClasses()" class="text-sm">
54075
- Same as Shop Name
54076
- </span>
54077
- </label>
54078
- </div>
54079
- @if (isFieldInvalid('companyName')) {
54080
- <p [ngClass]="errorClasses()" class="mt-1 text-sm">
54081
- Company name is required
54082
- </p>
54083
- }
54084
- </div>
54085
-
54086
- <input formControlName="website" class="absolute -left-[9999px] opacity-0" tabindex="-1" autocomplete="off" />
54087
- </form>
54088
- </div>
54089
- </div>
54090
- }
54091
-
54092
- <!-- Focus Areas Card - View Mode -->
54093
- @if (accountData() && accountData()!.focusAreaDetails && !focusAreasEditMode() && !editMode()) {
54094
- <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
54095
- <div [ngClass]="contentClasses()" class="px-8 py-8">
54096
- <div class="flex items-start justify-between mb-6">
54097
- <div>
54098
- <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
54099
- Focus Areas
54100
- </h2>
54101
- <p [ngClass]="sectionDescriptionClasses()">
54102
- Your marketing and operational focus areas
54103
- </p>
54104
- </div>
54105
- <button
54106
- type="button"
54107
- (click)="enableFocusAreasEditMode()"
54108
- [ngClass]="editButtonClasses()"
54109
- class="px-4 py-2 rounded-lg font-medium text-sm transition-all duration-200 hover:scale-105 flex items-center gap-2 cursor-pointer">
54110
- <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
54111
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"/>
54112
- </svg>
54113
- Edit
54114
- </button>
54115
- </div>
54116
-
54117
- <!-- Grouped by Status -->
54118
- @if (engagedFocusAreas().length > 0) {
54119
- <div class="mb-6">
54120
- <h3 [ngClass]="groupTitleClasses('engaged')" class="text-base font-bold mb-3 flex items-center gap-2">
54121
- <span class="w-2 h-2 rounded-full bg-emerald-500"></span>
54122
- Engaged In ({{ engagedFocusAreas().length }})
54123
- </h3>
54124
- <div class="space-y-3">
54125
- @for (focusArea of engagedFocusAreas(); track focusArea.focusAreaDomain) {
54126
- <div [ngClass]="focusAreaViewCardClasses('engaged')" class="p-4 rounded-lg border-l-4">
54127
- <div class="flex items-start justify-between mb-2">
54128
- <h4 [ngClass]="focusAreaViewTitleClasses()" class="font-semibold text-sm">
54129
- {{ getFocusAreaTitle(focusArea.focusAreaDomain!) }}
54130
- </h4>
54131
- <span [ngClass]="statusBadgeClasses('engaged')" class="px-2 py-0.5 rounded text-xs font-semibold whitespace-nowrap">
54132
- Engaged
54133
- </span>
54134
- </div>
54135
- @if (focusArea.tools && focusArea.tools.length > 0) {
54136
- <div class="flex items-center gap-2 mt-2">
54137
- <span [ngClass]="toolsLabelViewClasses()" class="text-xs font-medium">Tools:</span>
54138
- <div class="flex flex-wrap gap-1.5">
54139
- @for (tool of focusArea.tools; track tool) {
54140
- <span [ngClass]="toolChipViewClasses()" class="px-2 py-0.5 rounded text-xs">
54141
- {{ tool }}
54142
- </span>
54143
- }
54144
- </div>
54145
- </div>
54146
- }
54147
- </div>
54148
- }
54149
- </div>
54150
- </div>
54151
- }
54152
-
54153
- @if (interestedFocusAreas().length > 0) {
54154
- <div class="mb-6">
54155
- <h3 [ngClass]="groupTitleClasses('interested')" class="text-base font-bold mb-3 flex items-center gap-2">
54156
- <span class="w-2 h-2 rounded-full bg-blue-500"></span>
54157
- Interested In ({{ interestedFocusAreas().length }})
54158
- </h3>
54159
- <div class="grid grid-cols-1 sm:grid-cols-2 gap-3">
54160
- @for (focusArea of interestedFocusAreas(); track focusArea.focusAreaDomain) {
54161
- <div [ngClass]="focusAreaViewCardClasses('interested')" class="p-3 rounded-lg border-l-4">
54162
- <h4 [ngClass]="focusAreaViewTitleClasses()" class="font-semibold text-sm">
54163
- {{ getFocusAreaTitle(focusArea.focusAreaDomain!) }}
54164
- </h4>
54165
- </div>
54166
- }
54167
- </div>
54168
- </div>
54169
- }
54170
-
54171
- @if (notInterestedFocusAreas().length > 0) {
54172
- <div>
54173
- <h3 [ngClass]="groupTitleClasses('not-interested')" class="text-base font-bold mb-3 flex items-center gap-2">
54174
- <span class="w-2 h-2 rounded-full bg-slate-400"></span>
54175
- Not Interested ({{ notInterestedFocusAreas().length }})
54176
- </h3>
54177
- <div class="grid grid-cols-2 sm:grid-cols-3 gap-2">
54178
- @for (focusArea of notInterestedFocusAreas(); track focusArea.focusAreaDomain) {
54179
- <div [ngClass]="focusAreaViewCardClasses('not-interested')" class="p-2 rounded text-center">
54180
- <span [ngClass]="focusAreaViewTitleSmallClasses()" class="text-xs font-medium">
54181
- {{ getFocusAreaTitle(focusArea.focusAreaDomain!) }}
54182
- </span>
54183
- </div>
54184
- }
54185
- </div>
54186
- </div>
54187
- }
54188
- </div>
54189
- </div>
54190
- }
54191
-
54192
- <!-- Focus Areas Card - Edit Mode -->
54193
- @if (!accountData() || focusAreasEditMode()) {
54194
- <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
54195
- <div [ngClass]="contentClasses()" class="px-8 py-8">
54196
- <div class="mb-6">
54197
- <div class="flex items-start justify-between">
54198
- <div>
54199
- <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
54200
- Focus Areas
54201
- </h2>
54202
- <p [ngClass]="sectionDescriptionClasses()">
54203
- Tell us about your marketing and operational focus areas
54204
- </p>
54205
- </div>
54206
- <div [ngClass]="progressBadgeClasses()" class="px-4 py-2 rounded-lg text-sm font-semibold whitespace-nowrap">
54207
- {{ focusAreasAnswered() }} of {{ totalFocusAreas() }} answered
54208
- </div>
54209
- </div>
54210
- </div>
54211
-
54212
- <div class="space-y-4">
54213
- @for (domain of allFocusAreaDomains(); track domain; let i = $index) {
54214
- <symphiq-focus-area-question
54215
- [focusAreaDomain]="domain"
54216
- [selectedStatus]="getFocusAreaStatus(domain)"
54217
- [selectedTools]="getFocusAreaTools(domain)"
54218
- [viewMode]="viewMode()"
54219
- [title]="getFocusAreaTitle(domain)"
54220
- [description]="getFocusAreaDescription(domain)"
54221
- (statusChange)="onFocusAreaStatusChange(domain, $event)"
54222
- (toolsClick)="onFocusAreaToolsClick(domain)"
54223
- />
54224
- @if (i < allFocusAreaDomains().length - 1) {
54225
- <div [ngClass]="dividerClasses()" class="my-4"></div>
54226
- }
54227
- }
54228
- </div>
54229
- </div>
54230
- </div>
54231
- }
54232
- </div>
54233
- }
54234
- </main>
54235
-
54236
- <!-- Tools Selection Modal -->
54237
- <symphiq-focus-area-tools-modal
54238
- [isOpen]="toolsModalOpen()"
54239
- [focusAreaDomain]="currentEditingFocusArea()!"
54240
- [focusAreaTitle]="currentEditingFocusAreaTitle()"
54241
- [selectedTools]="currentEditingTools()"
54242
- [viewMode]="viewMode()"
54243
- (close)="onToolsModalClose()"
54244
- (save)="onToolsModalSave($event)"
54245
- />
54246
-
54247
- <!-- Sticky Continue Button -->
54248
- @if ((!accountData() || editMode() || focusAreasEditMode()) && !isCreatingAccount()) {
54249
- <div [ngClass]="stickyButtonContainerClasses()" class="fixed bottom-0 left-0 right-0 z-50 border-t backdrop-blur-sm">
54250
- <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
54251
- <div class="flex items-center gap-3">
54252
- @if ((accountData() && editMode()) || (accountData() && focusAreasEditMode())) {
54253
- <button
54254
- type="button"
54255
- (click)="focusAreasEditMode() ? cancelFocusAreasEditMode() : cancelEditMode()"
54256
- [ngClass]="cancelButtonClasses()"
54257
- class="px-6 py-4 rounded-xl font-bold text-base transition-all duration-200 flex items-center justify-center gap-2 cursor-pointer hover:scale-105">
54258
- Cancel
54259
- </button>
54260
- }
54261
- <button
54262
- type="button"
54263
- (click)="focusAreasEditMode() ? handleSaveFocusAreas() : handleContinue()"
54264
- [disabled]="!isButtonEnabled()"
54265
- [ngClass]="continueButtonClasses()"
54266
- class="flex-1 px-6 py-4 rounded-xl font-bold text-lg transition-all duration-200 flex items-center justify-center gap-3 shadow-lg"
54267
- [class.cursor-pointer]="isButtonEnabled()"
54268
- [class.cursor-not-allowed]="!isButtonEnabled()"
54269
- [class.opacity-50]="!isButtonEnabled()"
54270
- [class.hover:scale-105]="isButtonEnabled()">
54271
- @if (isLoading()) {
54272
- <svg class="w-6 h-6 animate-spin" fill="none" viewBox="0 0 24 24">
54273
- <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
54274
- <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>
54275
- </svg>
54276
- @if (focusAreasEditMode()) {
54277
- Saving Focus Areas...
54278
- } @else if (accountData() && editMode()) {
54279
- Updating Account...
54280
- } @else {
54281
- Creating Account...
54282
- }
54283
- } @else {
54284
- @if (focusAreasEditMode()) {
54285
- Save Focus Areas
54286
- } @else if (accountData() && editMode()) {
54287
- Save Changes
54288
- } @else {
54289
- Create Account
54290
- }
54291
- <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
54292
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7l5 5m0 0l-5 5m5-5H6"/>
54293
- </svg>
54294
- }
54295
- </button>
54296
- </div>
54297
- </div>
54298
- </div>
54299
- }
54300
- </div>
54301
- </div>
54302
- `, styles: [":host{display:block}.animated-bubbles{overflow:hidden}.animated-bubbles:before,.animated-bubbles:after{content:\"\";position:absolute;border-radius:50%;animation:float 20s infinite ease-in-out;opacity:.05}.animated-bubbles:before{width:600px;height:600px;background:radial-gradient(circle,#3b82f6 0%,transparent 70%);top:-300px;left:-300px;animation-delay:-5s}.animated-bubbles:after{width:800px;height:800px;background:radial-gradient(circle,#06b6d4 0%,transparent 70%);bottom:-400px;right:-400px;animation-delay:-10s}.animated-bubbles.light-mode:before,.animated-bubbles.light-mode:after{opacity:.03}@keyframes float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(50px,-50px) scale(1.1)}66%{transform:translate(-30px,30px) scale(.9)}}\n"] }]
54303
- }], () => [], { embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], parentHeaderOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "parentHeaderOffset", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], accountData: [{ type: i0.Input, args: [{ isSignal: true, alias: "accountData", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], showNextStepAction: [{ type: i0.Input, args: [{ isSignal: true, alias: "showNextStepAction", required: false }] }], maxAccessibleStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAccessibleStepId", required: false }] }], onCreateAccount: [{ type: i0.Output, args: ["onCreateAccount"] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], shopNameInput: [{
54304
- type: ViewChild,
54305
- args: ['shopNameInput']
54306
- }], onScroll: [{
54307
- type: HostListener,
54308
- args: ['window:scroll', ['$event']]
54309
- }] }); })();
54310
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqCreateAccountDashboardComponent, { className: "SymphiqCreateAccountDashboardComponent", filePath: "lib/components/create-account-dashboard/symphiq-create-account-dashboard.component.ts", lineNumber: 642 }); })();
54201
+ args: [{ selector: 'symphiq-create-account-dashboard', standalone: true, imports: [CommonModule, ReactiveFormsModule, JourneyProgressIndicatorComponent, FocusAreaQuestionComponent, FocusAreaToolsModalComponent, IndeterminateSpinnerComponent, DashboardHeaderComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
54202
+ <div [ngClass]="getContainerClasses()">
54203
+ <!-- Scroll Progress Bar -->
54204
+ <div [class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
54205
+ <div
54206
+ [style.width.%]="scrollProgress()"
54207
+ [ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-cyan-500' : 'bg-gradient-to-r from-blue-400 to-cyan-400'"
54208
+ class="h-full transition-all duration-200 ease-out">
54209
+ </div>
54210
+ </div>
54311
54211
 
54312
- function SearchButtonComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
54313
- i0.ɵɵelementStart(0, "span");
54314
- i0.ɵɵtext(1, "Search");
54315
- i0.ɵɵelementEnd();
54316
- } }
54317
- class SearchButtonComponent {
54318
- constructor() {
54319
- this.isLightMode = input(false, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
54320
- this.minimized = input(false, ...(ngDevMode ? [{ debugName: "minimized" }] : []));
54321
- this.title = input('Search (/ or Cmd+K)', ...(ngDevMode ? [{ debugName: "title" }] : []));
54322
- this.searchClick = output();
54323
- this.buttonClass = computed(() => {
54324
- if (this.isLightMode()) {
54325
- return 'bg-slate-100 text-slate-700 hover:bg-slate-200 hover:text-slate-900';
54326
- }
54327
- return 'bg-slate-800 text-slate-300 hover:bg-slate-700 hover:text-white';
54328
- }, ...(ngDevMode ? [{ debugName: "buttonClass" }] : []));
54329
- }
54330
- static { this.ɵfac = function SearchButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchButtonComponent)(); }; }
54331
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchButtonComponent, selectors: [["symphiq-search-button"]], inputs: { isLightMode: [1, "isLightMode"], minimized: [1, "minimized"], title: [1, "title"] }, outputs: { searchClick: "searchClick" }, decls: 4, vars: 9, consts: [["type", "button", 3, "click", "ngClass", "title"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"]], template: function SearchButtonComponent_Template(rf, ctx) { if (rf & 1) {
54332
- i0.ɵɵelementStart(0, "button", 0);
54333
- i0.ɵɵlistener("click", function SearchButtonComponent_Template_button_click_0_listener() { return ctx.searchClick.emit(); });
54334
- i0.ɵɵnamespaceSVG();
54335
- i0.ɵɵelementStart(1, "svg", 1);
54336
- i0.ɵɵelement(2, "path", 2);
54337
- i0.ɵɵelementEnd();
54338
- i0.ɵɵconditionalCreate(3, SearchButtonComponent_Conditional_3_Template, 2, 0, "span");
54339
- i0.ɵɵelementEnd();
54340
- } if (rf & 2) {
54341
- i0.ɵɵclassMap(ctx.minimized() ? "cursor-pointer p-2 rounded-lg transition-all duration-200 hover:scale-110" : "cursor-pointer flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105");
54342
- i0.ɵɵproperty("ngClass", ctx.buttonClass())("title", ctx.title());
54343
- i0.ɵɵadvance();
54344
- i0.ɵɵclassProp("w-5", ctx.minimized())("h-5", ctx.minimized());
54345
- i0.ɵɵadvance(2);
54346
- i0.ɵɵconditional(!ctx.minimized() ? 3 : -1);
54347
- } }, dependencies: [CommonModule, i1$1.NgClass], styles: ["[_nghost-%COMP%]{display:contents}"], changeDetection: 0 }); }
54348
- }
54349
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchButtonComponent, [{
54350
- type: Component,
54351
- args: [{ selector: 'symphiq-search-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule], template: `
54352
- <button
54353
- type="button"
54354
- (click)="searchClick.emit()"
54355
- [ngClass]="buttonClass()"
54356
- [title]="title()"
54357
- [class]="minimized() ? 'cursor-pointer p-2 rounded-lg transition-all duration-200 hover:scale-110' : 'cursor-pointer flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105'">
54358
- <svg class="w-4 h-4" [class.w-5]="minimized()" [class.h-5]="minimized()" fill="none" stroke="currentColor" viewBox="0 0 24 24">
54359
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
54360
- </svg>
54361
- @if (!minimized()) {
54362
- <span>Search</span>
54363
- }
54364
- </button>
54365
- `, styles: [":host{display:contents}\n"] }]
54366
- }], null, { isLightMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLightMode", required: false }] }], minimized: [{ type: i0.Input, args: [{ isSignal: true, alias: "minimized", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], searchClick: [{ type: i0.Output, args: ["searchClick"] }] }); })();
54367
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchButtonComponent, { className: "SearchButtonComponent", filePath: "lib/components/shared/search-button.component.ts", lineNumber: 30 }); })();
54212
+ <div class="animated-bubbles" [class.light-mode]="isLightMode()" style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
54368
54213
 
54369
- function DashboardHeaderComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
54370
- i0.ɵɵelement(0, "div", 6);
54371
- } }
54372
- function DashboardHeaderComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
54373
- const _r1 = i0.ɵɵgetCurrentView();
54374
- i0.ɵɵelementStart(0, "div", 7)(1, "symphiq-search-button", 16);
54375
- i0.ɵɵlistener("searchClick", function DashboardHeaderComponent_Conditional_11_Template_symphiq_search_button_searchClick_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSearchClick()); });
54376
- i0.ɵɵelementEnd();
54377
- i0.ɵɵelementStart(2, "button", 17);
54378
- i0.ɵɵlistener("click", function DashboardHeaderComponent_Conditional_11_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onViewModeClick()); });
54379
- i0.ɵɵnamespaceSVG();
54380
- i0.ɵɵelementStart(3, "svg", 18);
54381
- i0.ɵɵelement(4, "path", 19)(5, "path", 20);
54382
- i0.ɵɵelementEnd();
54383
- i0.ɵɵnamespaceHTML();
54384
- i0.ɵɵelementStart(6, "span");
54385
- i0.ɵɵtext(7);
54386
- i0.ɵɵelementEnd()()();
54387
- } if (rf & 2) {
54388
- const ctx_r1 = i0.ɵɵnextContext();
54389
- i0.ɵɵadvance();
54390
- i0.ɵɵproperty("isLightMode", ctx_r1.isLightMode());
54391
- i0.ɵɵadvance();
54392
- i0.ɵɵproperty("ngClass", ctx_r1.getViewModeButtonClasses());
54393
- i0.ɵɵadvance(5);
54394
- i0.ɵɵtextInterpolate(ctx_r1.viewModeLabel());
54395
- } }
54396
- function DashboardHeaderComponent_Conditional_12_Conditional_1_Template(rf, ctx) { if (rf & 1) {
54397
- i0.ɵɵelementStart(0, "div", 21)(1, "div", 22);
54398
- i0.ɵɵtext(2, "Generated At");
54399
- i0.ɵɵelementEnd();
54400
- i0.ɵɵelementStart(3, "div", 23);
54401
- i0.ɵɵtext(4);
54402
- i0.ɵɵelementEnd()();
54403
- } if (rf & 2) {
54404
- const ctx_r1 = i0.ɵɵnextContext(2);
54405
- i0.ɵɵadvance();
54406
- i0.ɵɵclassMap(ctx_r1.metaLabelClass());
54407
- i0.ɵɵadvance(2);
54408
- i0.ɵɵclassMap(ctx_r1.headerTitleClass());
54409
- i0.ɵɵadvance();
54410
- i0.ɵɵtextInterpolate(ctx_r1.formattedGeneratedDate());
54411
- } }
54412
- function DashboardHeaderComponent_Conditional_12_Conditional_2_Template(rf, ctx) { if (rf & 1) {
54413
- i0.ɵɵelementStart(0, "div", 21)(1, "div", 22);
54414
- i0.ɵɵtext(2, "Requested by");
54415
- i0.ɵɵelementEnd();
54416
- i0.ɵɵelementStart(3, "div", 23);
54417
- i0.ɵɵtext(4);
54418
- i0.ɵɵelementEnd()();
54419
- } if (rf & 2) {
54420
- let tmp_4_0;
54421
- const ctx_r1 = i0.ɵɵnextContext(2);
54422
- i0.ɵɵadvance();
54423
- i0.ɵɵclassMap(ctx_r1.metaLabelClass());
54424
- i0.ɵɵadvance(2);
54425
- i0.ɵɵclassMap(ctx_r1.headerTitleClass());
54426
- i0.ɵɵadvance();
54427
- i0.ɵɵtextInterpolate2("", (tmp_4_0 = ctx_r1.requestedByUser()) == null ? null : tmp_4_0.firstName, " ", (tmp_4_0 = ctx_r1.requestedByUser()) == null ? null : tmp_4_0.lastName);
54428
- } }
54429
- function DashboardHeaderComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
54430
- i0.ɵɵelementStart(0, "div", 8);
54431
- i0.ɵɵconditionalCreate(1, DashboardHeaderComponent_Conditional_12_Conditional_1_Template, 5, 5, "div", 21);
54432
- i0.ɵɵconditionalCreate(2, DashboardHeaderComponent_Conditional_12_Conditional_2_Template, 5, 6, "div", 21);
54433
- i0.ɵɵelementEnd();
54434
- } if (rf & 2) {
54435
- const ctx_r1 = i0.ɵɵnextContext();
54436
- i0.ɵɵadvance();
54437
- i0.ɵɵconditional(ctx_r1.formattedGeneratedDate() ? 1 : -1);
54438
- i0.ɵɵadvance();
54439
- i0.ɵɵconditional(ctx_r1.requestedByUser() ? 2 : -1);
54440
- } }
54441
- function DashboardHeaderComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
54442
- i0.ɵɵelementStart(0, "span", 24);
54443
- i0.ɵɵtext(1, "\u2014");
54444
- i0.ɵɵelementEnd();
54445
- i0.ɵɵelementStart(2, "span", 25);
54446
- i0.ɵɵtext(3);
54447
- i0.ɵɵelementEnd();
54448
- } if (rf & 2) {
54449
- const ctx_r1 = i0.ɵɵnextContext();
54450
- i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-400" : "text-slate-500");
54451
- i0.ɵɵadvance(2);
54452
- i0.ɵɵproperty("ngClass", ctx_r1.getCondensedSubtitleClasses());
54453
- i0.ɵɵadvance();
54454
- i0.ɵɵtextInterpolate1(" ", ctx_r1.subtitle(), " ");
54455
- } }
54456
- function DashboardHeaderComponent_Conditional_21_Conditional_3_Template(rf, ctx) { if (rf & 1) {
54457
- i0.ɵɵelementStart(0, "span", 26);
54458
- i0.ɵɵtext(1, "\u203A");
54459
- i0.ɵɵelementEnd();
54460
- i0.ɵɵelementStart(2, "span", 26);
54461
- i0.ɵɵtext(3);
54462
- i0.ɵɵelementEnd();
54463
- } if (rf & 2) {
54464
- const ctx_r1 = i0.ɵɵnextContext(2);
54465
- i0.ɵɵclassProp("opacity-0", ctx_r1.subsectionFading())("opacity-100", !ctx_r1.subsectionFading());
54466
- i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-400" : "text-slate-500");
54467
- i0.ɵɵadvance(2);
54468
- i0.ɵɵclassProp("opacity-0", ctx_r1.subsectionFading())("opacity-100", !ctx_r1.subsectionFading());
54469
- i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-500" : "text-slate-500");
54470
- i0.ɵɵadvance();
54471
- i0.ɵɵtextInterpolate1(" ", ctx_r1.currentSubsection(), " ");
54472
- } }
54473
- function DashboardHeaderComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
54474
- i0.ɵɵelementStart(0, "div", 15)(1, "span", 26);
54475
- i0.ɵɵtext(2);
54476
- i0.ɵɵelementEnd();
54477
- i0.ɵɵconditionalCreate(3, DashboardHeaderComponent_Conditional_21_Conditional_3_Template, 4, 11);
54478
- i0.ɵɵelementEnd();
54479
- } if (rf & 2) {
54480
- const ctx_r1 = i0.ɵɵnextContext();
54481
- i0.ɵɵadvance();
54482
- i0.ɵɵclassProp("opacity-0", ctx_r1.sectionFading())("opacity-100", !ctx_r1.sectionFading());
54483
- i0.ɵɵproperty("ngClass", ctx_r1.isLightMode() ? "text-slate-600 font-medium" : "text-slate-400 font-medium");
54484
- i0.ɵɵadvance();
54485
- i0.ɵɵtextInterpolate1(" ", ctx_r1.currentSection(), " ");
54486
- i0.ɵɵadvance();
54487
- i0.ɵɵconditional(ctx_r1.currentSubsection() ? 3 : -1);
54488
- } }
54489
- function DashboardHeaderComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
54490
- const _r3 = i0.ɵɵgetCurrentView();
54491
- i0.ɵɵelementStart(0, "symphiq-search-button", 27);
54492
- i0.ɵɵlistener("searchClick", function DashboardHeaderComponent_Conditional_22_Template_symphiq_search_button_searchClick_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSearchClick()); });
54493
- i0.ɵɵelementEnd();
54494
- i0.ɵɵelementStart(1, "button", 28);
54495
- i0.ɵɵlistener("click", function DashboardHeaderComponent_Conditional_22_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onViewModeClick()); });
54496
- i0.ɵɵnamespaceSVG();
54497
- i0.ɵɵelementStart(2, "svg", 18);
54498
- i0.ɵɵelement(3, "path", 19)(4, "path", 20);
54499
- i0.ɵɵelementEnd()();
54500
- } if (rf & 2) {
54501
- const ctx_r1 = i0.ɵɵnextContext();
54502
- i0.ɵɵproperty("isLightMode", ctx_r1.isLightMode())("minimized", true);
54503
- i0.ɵɵadvance();
54504
- i0.ɵɵproperty("ngClass", ctx_r1.getViewModeButtonClasses());
54505
- } }
54506
- class DashboardHeaderComponent {
54507
- constructor() {
54508
- this.requestedByUser = input(...(ngDevMode ? [undefined, { debugName: "requestedByUser" }] : []));
54509
- this.createdDate = input(...(ngDevMode ? [undefined, { debugName: "createdDate" }] : []));
54510
- this.title = input('', ...(ngDevMode ? [{ debugName: "title" }] : []));
54511
- this.subtitle = input('', ...(ngDevMode ? [{ debugName: "subtitle" }] : []));
54512
- this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
54513
- this.viewModeLabel = input('View Mode', ...(ngDevMode ? [{ debugName: "viewModeLabel" }] : []));
54514
- this.currentSection = input(...(ngDevMode ? [undefined, { debugName: "currentSection" }] : []));
54515
- this.currentSubsection = input(...(ngDevMode ? [undefined, { debugName: "currentSubsection" }] : []));
54516
- this.sectionFading = input(false, ...(ngDevMode ? [{ debugName: "sectionFading" }] : []));
54517
- this.subsectionFading = input(false, ...(ngDevMode ? [{ debugName: "subsectionFading" }] : []));
54518
- this.isLoading = input(...(ngDevMode ? [undefined, { debugName: "isLoading" }] : []));
54519
- this.showControls = input(true, ...(ngDevMode ? [{ debugName: "showControls" }] : []));
54520
- this.searchClick = output();
54521
- this.viewModeClick = output();
54522
- this.headerScrollService = inject(HeaderScrollService);
54523
- this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
54524
- this.dateFormatCache = new StringMemoizeCache();
54525
- this.formattedGeneratedDate = computed(() => {
54526
- let formatted = '';
54527
- const createdDate = this.createdDate();
54528
- if (createdDate) {
54529
- formatted = this.formatDate(createdDate.toISOString());
54530
- }
54531
- return formatted;
54532
- }, ...(ngDevMode ? [{ debugName: "formattedGeneratedDate" }] : []));
54533
- this.headerTitleClass = computed(() => this.isLightMode() ? 'text-slate-900' : 'text-white', ...(ngDevMode ? [{ debugName: "headerTitleClass" }] : []));
54534
- this.metaLabelClass = computed(() => this.isLightMode() ? 'text-slate-600' : 'text-slate-500', ...(ngDevMode ? [{ debugName: "metaLabelClass" }] : []));
54535
- }
54536
- onSearchClick() {
54537
- this.searchClick.emit();
54538
- }
54539
- onViewModeClick() {
54540
- this.viewModeClick.emit();
54541
- }
54542
- formatDate(dateString) {
54543
- // Cache date formatting operations
54544
- return this.dateFormatCache.get(dateString, (date) => new Date(date).toLocaleDateString('en-US', {
54545
- year: 'numeric',
54546
- month: 'long',
54547
- day: 'numeric',
54548
- }));
54549
- }
54550
- getHeaderClasses() {
54551
- return this.isLightMode()
54552
- ? 'bg-white/95 backdrop-blur-md shadow-sm border-b border-slate-200'
54553
- : 'bg-slate-900/95 backdrop-blur-md shadow-sm border-b border-slate-800';
54554
- }
54555
- getMainTitleClasses() {
54556
- return this.isLightMode()
54557
- ? 'text-3xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent'
54558
- : 'text-3xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent';
54559
- }
54560
- getSubtitleClasses() {
54561
- return this.isLightMode()
54562
- ? 'text-slate-600 mt-1 text-sm'
54563
- : 'text-slate-400 mt-1 text-sm';
54564
- }
54565
- getCondensedTitleClasses() {
54566
- return this.isLightMode()
54567
- ? 'text-xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent'
54568
- : 'text-xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent';
54569
- }
54570
- getCondensedSubtitleClasses() {
54571
- return this.isLightMode()
54572
- ? 'text-sm text-slate-500'
54573
- : 'text-sm text-slate-400';
54574
- }
54575
- getViewModeButtonClasses() {
54576
- return this.isLightMode()
54577
- ? 'bg-slate-100 hover:bg-slate-200 text-slate-700 border border-slate-200'
54578
- : 'bg-slate-800 hover:bg-slate-700 text-slate-300 border border-slate-700';
54579
- }
54580
- static { this.ɵfac = function DashboardHeaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DashboardHeaderComponent)(); }; }
54581
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardHeaderComponent, selectors: [["symphiq-dashboard-header"]], inputs: { requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], title: [1, "title"], subtitle: [1, "subtitle"], viewMode: [1, "viewMode"], viewModeLabel: [1, "viewModeLabel"], currentSection: [1, "currentSection"], currentSubsection: [1, "currentSubsection"], sectionFading: [1, "sectionFading"], subsectionFading: [1, "subsectionFading"], isLoading: [1, "isLoading"], showControls: [1, "showControls"] }, outputs: { searchClick: "searchClick", viewModeClick: "viewModeClick" }, decls: 23, vars: 27, consts: [[1, "sticky", "top-0", "z-50", "overflow-hidden", 2, "transition", "height 300ms ease-in-out", 3, "ngClass"], [1, "transition-opacity", "duration-300", "ease-in-out", "h-full"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4", "h-full", "flex", "items-center"], [1, "flex", "items-center", "justify-between", "w-full"], [1, "flex", "items-center", "gap-3"], [3, "ngClass"], ["title", "Refreshing data...", 1, "animate-spin", "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full"], [1, "flex", "items-center", "gap-2"], [1, "flex", "flex-col", "gap-4", "min-w-[180px]"], [1, "absolute", "inset-x-0", "top-0", "transition-opacity", "duration-300", "ease-in-out"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-2"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-3", "flex-1", "min-w-0", "mr-4"], [1, "flex-shrink-0", 3, "ngClass"], [1, "flex", "items-center", "gap-4"], [1, "flex", "items-center", "gap-2", "text-sm", "flex-shrink-0"], [3, "searchClick", "isLightMode"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 12a3 3 0 11-6 0 3 3 0 016 0z"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"], [1, "text-left", "sm:text-right"], [1, "text-xs", "sm:text-sm"], [1, "text-sm", "sm:text-base", "font-medium"], [1, "hidden", "sm:inline", 3, "ngClass"], [1, "hidden", "sm:block", "truncate", "min-w-0", 3, "ngClass"], [1, "transition-opacity", "duration-300", 3, "ngClass"], [3, "searchClick", "isLightMode", "minimized"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-2", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"]], template: function DashboardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
54582
- i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div")(5, "div", 4)(6, "h1", 5);
54583
- i0.ɵɵtext(7);
54584
- i0.ɵɵelementEnd();
54585
- i0.ɵɵconditionalCreate(8, DashboardHeaderComponent_Conditional_8_Template, 1, 0, "div", 6);
54586
- i0.ɵɵelementEnd();
54587
- i0.ɵɵelementStart(9, "p", 5);
54588
- i0.ɵɵtext(10);
54589
- i0.ɵɵelementEnd()();
54590
- i0.ɵɵconditionalCreate(11, DashboardHeaderComponent_Conditional_11_Template, 8, 3, "div", 7);
54591
- i0.ɵɵconditionalCreate(12, DashboardHeaderComponent_Conditional_12_Template, 3, 2, "div", 8);
54592
- i0.ɵɵelementEnd()()();
54593
- i0.ɵɵelementStart(13, "div", 9)(14, "div", 10)(15, "div", 11)(16, "div", 12)(17, "h1", 13);
54594
- i0.ɵɵtext(18);
54595
- i0.ɵɵelementEnd();
54596
- i0.ɵɵconditionalCreate(19, DashboardHeaderComponent_Conditional_19_Template, 4, 3);
54597
- i0.ɵɵelementEnd();
54598
- i0.ɵɵelementStart(20, "div", 14);
54599
- i0.ɵɵconditionalCreate(21, DashboardHeaderComponent_Conditional_21_Template, 4, 7, "div", 15);
54600
- i0.ɵɵconditionalCreate(22, DashboardHeaderComponent_Conditional_22_Template, 5, 3);
54601
- i0.ɵɵelementEnd()()()()();
54602
- } if (rf & 2) {
54603
- i0.ɵɵstyleProp("height", ctx.headerScrollService.isScrolled() ? "52px" : "100px");
54604
- i0.ɵɵproperty("ngClass", ctx.getHeaderClasses());
54605
- i0.ɵɵadvance();
54606
- i0.ɵɵclassProp("opacity-0", ctx.headerScrollService.isScrolled())("pointer-events-none", ctx.headerScrollService.isScrolled())("opacity-100", !ctx.headerScrollService.isScrolled());
54607
- i0.ɵɵadvance(5);
54608
- i0.ɵɵproperty("ngClass", ctx.getMainTitleClasses());
54609
- i0.ɵɵadvance();
54610
- i0.ɵɵtextInterpolate1(" ", ctx.title(), " ");
54611
- i0.ɵɵadvance();
54612
- i0.ɵɵconditional(ctx.isLoading() ? 8 : -1);
54613
- i0.ɵɵadvance();
54614
- i0.ɵɵproperty("ngClass", ctx.getSubtitleClasses());
54615
- i0.ɵɵadvance();
54616
- i0.ɵɵtextInterpolate1(" ", ctx.subtitle(), " ");
54617
- i0.ɵɵadvance();
54618
- i0.ɵɵconditional(ctx.showControls() ? 11 : -1);
54619
- i0.ɵɵadvance();
54620
- i0.ɵɵconditional(ctx.formattedGeneratedDate() || ctx.requestedByUser() ? 12 : -1);
54621
- i0.ɵɵadvance();
54622
- i0.ɵɵclassProp("opacity-0", !ctx.headerScrollService.isScrolled())("pointer-events-none", !ctx.headerScrollService.isScrolled())("opacity-100", ctx.headerScrollService.isScrolled());
54623
- i0.ɵɵadvance(4);
54624
- i0.ɵɵproperty("ngClass", ctx.getCondensedTitleClasses());
54625
- i0.ɵɵadvance();
54626
- i0.ɵɵtextInterpolate1(" ", ctx.title(), " ");
54627
- i0.ɵɵadvance();
54628
- i0.ɵɵconditional(ctx.subtitle() ? 19 : -1);
54629
- i0.ɵɵadvance(2);
54630
- i0.ɵɵconditional(ctx.currentSection() ? 21 : -1);
54631
- i0.ɵɵadvance();
54632
- i0.ɵɵconditional(ctx.showControls() ? 22 : -1);
54633
- } }, dependencies: [CommonModule, i1$1.NgClass, SearchButtonComponent], encapsulation: 2, changeDetection: 0 }); }
54634
- }
54635
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardHeaderComponent, [{
54636
- type: Component,
54637
- args: [{
54638
- selector: 'symphiq-dashboard-header',
54639
- standalone: true,
54640
- imports: [CommonModule, SearchButtonComponent],
54641
- changeDetection: ChangeDetectionStrategy.OnPush,
54642
- template: `
54643
- <header [ngClass]="getHeaderClasses()" class="sticky top-0 z-50 overflow-hidden" [style.height]="headerScrollService.isScrolled() ? '52px' : '100px'" style="transition: height 300ms ease-in-out;">
54644
- <!-- Expanded Header (default state) -->
54645
- <div
54646
- class="transition-opacity duration-300 ease-in-out h-full"
54647
- [class.opacity-0]="headerScrollService.isScrolled()"
54648
- [class.pointer-events-none]="headerScrollService.isScrolled()"
54649
- [class.opacity-100]="!headerScrollService.isScrolled()">
54650
- <div
54651
- class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 h-full flex items-center">
54652
- <div class="flex items-center justify-between w-full">
54653
- <div>
54654
- <div class="flex items-center gap-3">
54655
- <h1 [ngClass]="getMainTitleClasses()">
54656
- {{ title() }}
54657
- </h1>
54658
- @if (isLoading()) {
54659
- <div class="animate-spin w-4 h-4 border-2 border-blue-500/30 border-t-blue-500 rounded-full" title="Refreshing data..."></div>
54660
- }
54214
+ <div class="relative z-[51]">
54215
+ <symphiq-dashboard-header
54216
+ [title]="'Create Account'"
54217
+ [subtitle]="'Tell us about your shop'"
54218
+ [viewMode]="viewMode()"
54219
+ [showControls]="false"
54220
+ />
54221
+
54222
+ <!-- Journey Progress Indicator -->
54223
+ <symphiq-journey-progress-indicator
54224
+ [viewMode]="viewMode()"
54225
+ [currentStepId]="JourneyStepIdEnum.CREATE_ACCOUNT"
54226
+ [showNextStepAction]="showNextStepAction()"
54227
+ [forDemo]="forDemo()"
54228
+ [maxAccessibleStepId]="maxAccessibleStepId()"
54229
+ (stepClick)="stepClick.emit($event)"
54230
+ (nextStepClick)="nextStepClick.emit()"
54231
+ />
54232
+
54233
+ <main class="relative pb-32">
54234
+ @if (isCreatingAccount()) {
54235
+ <div class="flex flex-col items-center justify-center min-h-[60vh] gap-6">
54236
+ <symphiq-indeterminate-spinner
54237
+ [viewMode]="viewMode()"
54238
+ size="large"
54239
+ />
54240
+ <div class="text-center">
54241
+ <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
54242
+ Your account is being created
54243
+ </h2>
54244
+ <p [ngClass]="sectionDescriptionClasses()" class="text-base">
54245
+ Please wait while we set everything up for you...
54246
+ </p>
54661
54247
  </div>
54662
- <p [ngClass]="getSubtitleClasses()">
54663
- {{ subtitle() }}
54664
- </p>
54665
54248
  </div>
54666
- @if (showControls()) {
54667
- <div class="flex items-center gap-2">
54668
- <symphiq-search-button
54669
- [isLightMode]="isLightMode()"
54670
- (searchClick)="onSearchClick()"
54671
- />
54672
- <button
54673
- type="button"
54674
- (click)="onViewModeClick()"
54675
- [ngClass]="getViewModeButtonClasses()"
54676
- class="cursor-pointer flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
54677
- <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
54678
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
54679
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
54680
- </svg>
54681
- <span>{{ viewModeLabel() }}</span>
54682
- </button>
54249
+ } @else {
54250
+ <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
54251
+ <!-- View Mode: Display Account Data -->
54252
+ @if (accountData() && !editMode() && !focusAreasEditMode()) {
54253
+ <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden mb-8">
54254
+ <div [ngClass]="contentClasses()" class="px-8 py-8">
54255
+ <div class="flex items-start justify-between mb-6">
54256
+ <div>
54257
+ <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
54258
+ Shop Details
54259
+ </h2>
54260
+ <p [ngClass]="sectionDescriptionClasses()">
54261
+ Your shop information
54262
+ </p>
54263
+ </div>
54264
+ <button
54265
+ type="button"
54266
+ (click)="enableEditMode()"
54267
+ [ngClass]="editButtonClasses()"
54268
+ class="px-4 py-2 rounded-lg font-medium text-sm transition-all duration-200 hover:scale-105 flex items-center gap-2 cursor-pointer">
54269
+ <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
54270
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"/>
54271
+ </svg>
54272
+ Edit
54273
+ </button>
54274
+ </div>
54275
+
54276
+ <div class="space-y-4">
54277
+ <div>
54278
+ <label [ngClass]="viewLabelClasses()" class="block text-sm font-medium mb-1">
54279
+ Shop Name
54280
+ </label>
54281
+ <p [ngClass]="viewValueClasses()" class="text-base">
54282
+ {{ accountData()!.shopName }}
54283
+ </p>
54284
+ </div>
54285
+
54286
+ <div>
54287
+ <label [ngClass]="viewLabelClasses()" class="block text-sm font-medium mb-1">
54288
+ Shop URL
54289
+ </label>
54290
+ <a [href]="accountData()!.shopUrl" target="_blank" rel="noopener noreferrer"
54291
+ [ngClass]="viewLinkClasses()"
54292
+ class="text-base hover:underline">
54293
+ {{ accountData()!.shopUrl }}
54294
+ </a>
54295
+ </div>
54296
+
54297
+ <div>
54298
+ <label [ngClass]="viewLabelClasses()" class="block text-sm font-medium mb-1">
54299
+ Shop Platform
54300
+ </label>
54301
+ <p [ngClass]="viewValueClasses()" class="text-base">
54302
+ @if (accountData()!.shopPlatform === ShopPlatformEnum.SHOPIFY) {
54303
+ Shopify
54304
+ } @else {
54305
+ {{ accountData()!.otherPlatformName || 'Other' }}
54306
+ }
54307
+ </p>
54308
+ </div>
54309
+
54310
+ <div>
54311
+ <label [ngClass]="viewLabelClasses()" class="block text-sm font-medium mb-1">
54312
+ Company Name
54313
+ </label>
54314
+ <p [ngClass]="viewValueClasses()" class="text-base">
54315
+ {{ accountData()!.companyName }}
54316
+ </p>
54317
+ </div>
54318
+ </div>
54319
+ </div>
54683
54320
  </div>
54684
54321
  }
54685
- @if (formattedGeneratedDate() || requestedByUser()) {
54686
- <div class="flex flex-col gap-4 min-w-[180px]">
54687
- @if (formattedGeneratedDate()) {
54688
- <div class="text-left sm:text-right">
54689
- <div [class]="metaLabelClass()" class="text-xs sm:text-sm">Generated At</div>
54690
- <div [class]="headerTitleClass()" class="text-sm sm:text-base font-medium">{{ formattedGeneratedDate() }}</div>
54691
- </div>
54692
- }
54693
- @if (requestedByUser()) {
54694
- <div class="text-left sm:text-right">
54695
- <div [class]="metaLabelClass()" class="text-xs sm:text-sm">Requested by</div>
54696
- <div [class]="headerTitleClass()" class="text-sm sm:text-base font-medium">{{ requestedByUser()?.firstName }} {{ requestedByUser()?.lastName }}</div>
54322
+
54323
+ <!-- Edit Mode: Form -->
54324
+ @if (!accountData() || editMode()) {
54325
+ <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden mb-8">
54326
+ <div [ngClass]="contentClasses()" class="px-8 py-8">
54327
+ <div class="mb-6">
54328
+ <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
54329
+ Shop Details
54330
+ </h2>
54331
+ <p [ngClass]="sectionDescriptionClasses()">
54332
+ Enter your shop details to get started with Symphiq
54333
+ </p>
54697
54334
  </div>
54698
- }
54335
+
54336
+ <form [formGroup]="accountForm" class="space-y-6">
54337
+ <!-- Shop Name -->
54338
+ <div>
54339
+ <label [ngClass]="labelClasses()" class="block text-sm font-semibold mb-2">
54340
+ Shop Name <span class="text-red-500">*</span>
54341
+ </label>
54342
+ <input
54343
+ #shopNameInput
54344
+ type="text"
54345
+ formControlName="shopName"
54346
+ [ngClass]="inputClasses('shopName')"
54347
+ class="w-full px-4 py-3 rounded-lg border-2 transition-all duration-200 focus:outline-none focus:ring-2"
54348
+ placeholder="Enter your shop name"
54349
+ />
54350
+ @if (isFieldInvalid('shopName')) {
54351
+ <p [ngClass]="errorClasses()" class="mt-1 text-sm">
54352
+ Shop name is required
54353
+ </p>
54354
+ }
54355
+ </div>
54356
+
54357
+ <!-- Shop URL -->
54358
+ <div>
54359
+ <label [ngClass]="labelClasses()" class="block text-sm font-semibold mb-2">
54360
+ Shop URL <span class="text-red-500">*</span>
54361
+ </label>
54362
+ <div class="flex items-center">
54363
+ <span [ngClass]="urlPrefixClasses()" class="px-4 py-3 rounded-l-lg border-2 border-r-0 text-sm font-medium">
54364
+ https://
54365
+ </span>
54366
+ <input
54367
+ type="text"
54368
+ formControlName="shopUrl"
54369
+ [ngClass]="urlInputClasses('shopUrl')"
54370
+ class="flex-1 px-4 py-3 rounded-r-lg border-2 transition-all duration-200 focus:outline-none focus:ring-2"
54371
+ placeholder="yourshop.com"
54372
+ />
54373
+ </div>
54374
+ @if (isFieldInvalid('shopUrl')) {
54375
+ <p [ngClass]="errorClasses()" class="mt-1 text-sm">
54376
+ Shop URL is required
54377
+ </p>
54378
+ }
54379
+ </div>
54380
+
54381
+ <!-- Shop Platform -->
54382
+ <div>
54383
+ <label [ngClass]="labelClasses()" class="block text-sm font-semibold mb-3">
54384
+ Shop Platform <span class="text-red-500">*</span>
54385
+ </label>
54386
+ <div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
54387
+ <label [ngClass]="radioPlatformClasses(ShopPlatformEnum.SHOPIFY)" class="cursor-pointer">
54388
+ <input
54389
+ type="radio"
54390
+ formControlName="shopPlatform"
54391
+ [value]="ShopPlatformEnum.SHOPIFY"
54392
+ class="sr-only"
54393
+ />
54394
+ <div class="flex items-center gap-3 p-4 rounded-lg border-2 transition-all duration-200">
54395
+ <div [ngClass]="radioIndicatorClasses(ShopPlatformEnum.SHOPIFY)" class="w-5 h-5 rounded-full border-2 flex items-center justify-center flex-shrink-0">
54396
+ @if (accountForm.get('shopPlatform')?.value === ShopPlatformEnum.SHOPIFY) {
54397
+ <div class="w-3 h-3 rounded-full bg-current"></div>
54398
+ }
54399
+ </div>
54400
+ <div class="flex-1">
54401
+ <div [ngClass]="radioLabelClasses()" class="font-semibold">
54402
+ Shopify
54403
+ </div>
54404
+ </div>
54405
+ </div>
54406
+ </label>
54407
+
54408
+ <label [ngClass]="radioPlatformClasses(ShopPlatformEnum.OTHER)" class="cursor-pointer">
54409
+ <input
54410
+ type="radio"
54411
+ formControlName="shopPlatform"
54412
+ [value]="ShopPlatformEnum.OTHER"
54413
+ class="sr-only"
54414
+ />
54415
+ <div class="flex items-center gap-3 p-4 rounded-lg border-2 transition-all duration-200">
54416
+ <div [ngClass]="radioIndicatorClasses(ShopPlatformEnum.OTHER)" class="w-5 h-5 rounded-full border-2 flex items-center justify-center flex-shrink-0">
54417
+ @if (accountForm.get('shopPlatform')?.value === ShopPlatformEnum.OTHER) {
54418
+ <div class="w-3 h-3 rounded-full bg-current"></div>
54419
+ }
54420
+ </div>
54421
+ <div class="flex-1">
54422
+ <div [ngClass]="radioLabelClasses()" class="font-semibold">
54423
+ Other
54424
+ </div>
54425
+ </div>
54426
+ </div>
54427
+ </label>
54428
+ </div>
54429
+ </div>
54430
+
54431
+ <!-- Other Platform Name (Conditional) -->
54432
+ @if (accountForm.get('shopPlatform')?.value === ShopPlatformEnum.OTHER) {
54433
+ <div>
54434
+ <label [ngClass]="labelClasses()" class="block text-sm font-semibold mb-2">
54435
+ Platform Name <span class="text-red-500">*</span>
54436
+ </label>
54437
+ <input
54438
+ type="text"
54439
+ formControlName="otherPlatformName"
54440
+ [ngClass]="inputClasses('otherPlatformName')"
54441
+ class="w-full px-4 py-3 rounded-lg border-2 transition-all duration-200 focus:outline-none focus:ring-2"
54442
+ placeholder="Enter platform name (e.g., WooCommerce, Magento)"
54443
+ />
54444
+ @if (isFieldInvalid('otherPlatformName')) {
54445
+ <p [ngClass]="errorClasses()" class="mt-1 text-sm">
54446
+ Platform name is required
54447
+ </p>
54448
+ }
54449
+ </div>
54450
+ }
54451
+
54452
+ <!-- Company Name -->
54453
+ <div>
54454
+ <label [ngClass]="labelClasses()" class="block text-sm font-semibold mb-2">
54455
+ Company Name <span class="text-red-500">*</span>
54456
+ </label>
54457
+ <input
54458
+ type="text"
54459
+ formControlName="companyName"
54460
+ [ngClass]="inputClasses('companyName')"
54461
+ [readonly]="sameAsShopName()"
54462
+ class="w-full px-4 py-3 rounded-lg border-2 transition-all duration-200 focus:outline-none focus:ring-2"
54463
+ [class.cursor-not-allowed]="sameAsShopName()"
54464
+ [class.opacity-60]="sameAsShopName()"
54465
+ placeholder="Enter company name"
54466
+ />
54467
+ <div class="mt-2">
54468
+ <label class="flex items-center gap-2 cursor-pointer">
54469
+ <input
54470
+ type="checkbox"
54471
+ [checked]="sameAsShopName()"
54472
+ (change)="toggleSameAsShopName()"
54473
+ [ngClass]="checkboxClasses()"
54474
+ class="w-4 h-4 rounded border-2 transition-all duration-200"
54475
+ />
54476
+ <span [ngClass]="checkboxLabelClasses()" class="text-sm">
54477
+ Same as Shop Name
54478
+ </span>
54479
+ </label>
54480
+ </div>
54481
+ @if (isFieldInvalid('companyName')) {
54482
+ <p [ngClass]="errorClasses()" class="mt-1 text-sm">
54483
+ Company name is required
54484
+ </p>
54485
+ }
54486
+ </div>
54487
+
54488
+ <input formControlName="website" class="absolute -left-[9999px] opacity-0" tabindex="-1" autocomplete="off" />
54489
+ </form>
54490
+ </div>
54699
54491
  </div>
54700
54492
  }
54701
- </div>
54702
- </div>
54703
- </div>
54704
54493
 
54705
- <!-- Condensed Header (scrolled state) -->
54706
- <div
54707
- class="absolute inset-x-0 top-0 transition-opacity duration-300 ease-in-out"
54708
- [class.opacity-0]="!headerScrollService.isScrolled()"
54709
- [class.pointer-events-none]="!headerScrollService.isScrolled()"
54710
- [class.opacity-100]="headerScrollService.isScrolled()">
54711
- <div
54712
- class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-2">
54713
- <div class="flex items-center justify-between">
54714
- <div class="flex items-center gap-3 flex-1 min-w-0 mr-4">
54715
- <h1 [ngClass]="getCondensedTitleClasses()" class="flex-shrink-0">
54716
- {{ title() }}
54717
- </h1>
54718
- @if (subtitle()) {
54719
- <span [ngClass]="isLightMode() ? 'text-slate-400' : 'text-slate-500'" class="hidden sm:inline">—</span>
54720
- <span [ngClass]="getCondensedSubtitleClasses()" class="hidden sm:block truncate min-w-0">
54721
- {{ subtitle() }}
54722
- </span>
54723
- }
54724
- </div>
54725
- <div class="flex items-center gap-4">
54726
- @if (currentSection()) {
54727
- <div class="flex items-center gap-2 text-sm flex-shrink-0">
54728
- <span [ngClass]="isLightMode() ? 'text-slate-600 font-medium' : 'text-slate-400 font-medium'" class="transition-opacity duration-300" [class.opacity-0]="sectionFading()" [class.opacity-100]="!sectionFading()">
54729
- {{ currentSection() }}
54730
- </span>
54731
- @if (currentSubsection()) {
54732
- <span [ngClass]="isLightMode() ? 'text-slate-400' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionFading()" [class.opacity-100]="!subsectionFading()">›</span>
54733
- <span [ngClass]="isLightMode() ? 'text-slate-500' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionFading()" [class.opacity-100]="!subsectionFading()">
54734
- {{ currentSubsection() }}
54735
- </span>
54494
+ <!-- Focus Areas Card - View Mode -->
54495
+ @if (accountData() && accountData()!.focusAreaDetails && !focusAreasEditMode() && !editMode()) {
54496
+ <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
54497
+ <div [ngClass]="contentClasses()" class="px-8 py-8">
54498
+ <div class="flex items-start justify-between mb-6">
54499
+ <div>
54500
+ <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
54501
+ Focus Areas
54502
+ </h2>
54503
+ <p [ngClass]="sectionDescriptionClasses()">
54504
+ Your marketing and operational focus areas
54505
+ </p>
54506
+ </div>
54507
+ <button
54508
+ type="button"
54509
+ (click)="enableFocusAreasEditMode()"
54510
+ [ngClass]="editButtonClasses()"
54511
+ class="px-4 py-2 rounded-lg font-medium text-sm transition-all duration-200 hover:scale-105 flex items-center gap-2 cursor-pointer">
54512
+ <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
54513
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"/>
54514
+ </svg>
54515
+ Edit
54516
+ </button>
54517
+ </div>
54518
+
54519
+ <!-- Grouped by Status -->
54520
+ @if (engagedFocusAreas().length > 0) {
54521
+ <div class="mb-6">
54522
+ <h3 [ngClass]="groupTitleClasses('engaged')" class="text-base font-bold mb-3 flex items-center gap-2">
54523
+ <span class="w-2 h-2 rounded-full bg-emerald-500"></span>
54524
+ Engaged In ({{ engagedFocusAreas().length }})
54525
+ </h3>
54526
+ <div class="space-y-3">
54527
+ @for (focusArea of engagedFocusAreas(); track focusArea.focusAreaDomain) {
54528
+ <div [ngClass]="focusAreaViewCardClasses('engaged')" class="p-4 rounded-lg border-l-4">
54529
+ <div class="flex items-start justify-between mb-2">
54530
+ <h4 [ngClass]="focusAreaViewTitleClasses()" class="font-semibold text-sm">
54531
+ {{ getFocusAreaTitle(focusArea.focusAreaDomain!) }}
54532
+ </h4>
54533
+ <span [ngClass]="statusBadgeClasses('engaged')" class="px-2 py-0.5 rounded text-xs font-semibold whitespace-nowrap">
54534
+ Engaged
54535
+ </span>
54536
+ </div>
54537
+ @if (focusArea.tools && focusArea.tools.length > 0) {
54538
+ <div class="flex items-center gap-2 mt-2">
54539
+ <span [ngClass]="toolsLabelViewClasses()" class="text-xs font-medium">Tools:</span>
54540
+ <div class="flex flex-wrap gap-1.5">
54541
+ @for (tool of focusArea.tools; track tool) {
54542
+ <span [ngClass]="toolChipViewClasses()" class="px-2 py-0.5 rounded text-xs">
54543
+ {{ tool }}
54544
+ </span>
54545
+ }
54546
+ </div>
54547
+ </div>
54548
+ }
54549
+ </div>
54550
+ }
54551
+ </div>
54552
+ </div>
54553
+ }
54554
+
54555
+ @if (interestedFocusAreas().length > 0) {
54556
+ <div class="mb-6">
54557
+ <h3 [ngClass]="groupTitleClasses('interested')" class="text-base font-bold mb-3 flex items-center gap-2">
54558
+ <span class="w-2 h-2 rounded-full bg-blue-500"></span>
54559
+ Interested In ({{ interestedFocusAreas().length }})
54560
+ </h3>
54561
+ <div class="grid grid-cols-1 sm:grid-cols-2 gap-3">
54562
+ @for (focusArea of interestedFocusAreas(); track focusArea.focusAreaDomain) {
54563
+ <div [ngClass]="focusAreaViewCardClasses('interested')" class="p-3 rounded-lg border-l-4">
54564
+ <h4 [ngClass]="focusAreaViewTitleClasses()" class="font-semibold text-sm">
54565
+ {{ getFocusAreaTitle(focusArea.focusAreaDomain!) }}
54566
+ </h4>
54567
+ </div>
54568
+ }
54569
+ </div>
54570
+ </div>
54571
+ }
54572
+
54573
+ @if (notInterestedFocusAreas().length > 0) {
54574
+ <div>
54575
+ <h3 [ngClass]="groupTitleClasses('not-interested')" class="text-base font-bold mb-3 flex items-center gap-2">
54576
+ <span class="w-2 h-2 rounded-full bg-slate-400"></span>
54577
+ Not Interested ({{ notInterestedFocusAreas().length }})
54578
+ </h3>
54579
+ <div class="grid grid-cols-2 sm:grid-cols-3 gap-2">
54580
+ @for (focusArea of notInterestedFocusAreas(); track focusArea.focusAreaDomain) {
54581
+ <div [ngClass]="focusAreaViewCardClasses('not-interested')" class="p-2 rounded text-center">
54582
+ <span [ngClass]="focusAreaViewTitleSmallClasses()" class="text-xs font-medium">
54583
+ {{ getFocusAreaTitle(focusArea.focusAreaDomain!) }}
54584
+ </span>
54585
+ </div>
54586
+ }
54587
+ </div>
54588
+ </div>
54736
54589
  }
54737
54590
  </div>
54738
- }
54739
- @if (showControls()) {
54740
- <symphiq-search-button
54741
- [isLightMode]="isLightMode()"
54742
- [minimized]="true"
54743
- (searchClick)="onSearchClick()"
54744
- />
54591
+ </div>
54592
+ }
54593
+
54594
+ <!-- Focus Areas Card - Edit Mode -->
54595
+ @if (!accountData() || focusAreasEditMode()) {
54596
+ <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
54597
+ <div [ngClass]="contentClasses()" class="px-8 py-8">
54598
+ <div class="mb-6">
54599
+ <div class="flex items-start justify-between">
54600
+ <div>
54601
+ <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
54602
+ Focus Areas
54603
+ </h2>
54604
+ <p [ngClass]="sectionDescriptionClasses()">
54605
+ Tell us about your marketing and operational focus areas
54606
+ </p>
54607
+ </div>
54608
+ <div [ngClass]="progressBadgeClasses()" class="px-4 py-2 rounded-lg text-sm font-semibold whitespace-nowrap">
54609
+ {{ focusAreasAnswered() }} of {{ totalFocusAreas() }} answered
54610
+ </div>
54611
+ </div>
54612
+ </div>
54613
+
54614
+ <div class="space-y-4">
54615
+ @for (domain of allFocusAreaDomains(); track domain; let i = $index) {
54616
+ <symphiq-focus-area-question
54617
+ [focusAreaDomain]="domain"
54618
+ [selectedStatus]="getFocusAreaStatus(domain)"
54619
+ [selectedTools]="getFocusAreaTools(domain)"
54620
+ [viewMode]="viewMode()"
54621
+ [title]="getFocusAreaTitle(domain)"
54622
+ [description]="getFocusAreaDescription(domain)"
54623
+ (statusChange)="onFocusAreaStatusChange(domain, $event)"
54624
+ (toolsClick)="onFocusAreaToolsClick(domain)"
54625
+ />
54626
+ @if (i < allFocusAreaDomains().length - 1) {
54627
+ <div [ngClass]="dividerClasses()" class="my-4"></div>
54628
+ }
54629
+ }
54630
+ </div>
54631
+ </div>
54632
+ </div>
54633
+ }
54634
+ </div>
54635
+ }
54636
+ </main>
54637
+
54638
+ <!-- Tools Selection Modal -->
54639
+ <symphiq-focus-area-tools-modal
54640
+ [isOpen]="toolsModalOpen()"
54641
+ [focusAreaDomain]="currentEditingFocusArea()!"
54642
+ [focusAreaTitle]="currentEditingFocusAreaTitle()"
54643
+ [selectedTools]="currentEditingTools()"
54644
+ [viewMode]="viewMode()"
54645
+ (close)="onToolsModalClose()"
54646
+ (save)="onToolsModalSave($event)"
54647
+ />
54648
+
54649
+ <!-- Sticky Continue Button -->
54650
+ @if ((!accountData() || editMode() || focusAreasEditMode()) && !isCreatingAccount()) {
54651
+ <div [ngClass]="stickyButtonContainerClasses()" class="fixed bottom-0 left-0 right-0 z-50 border-t backdrop-blur-sm">
54652
+ <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
54653
+ <div class="flex items-center gap-3">
54654
+ @if ((accountData() && editMode()) || (accountData() && focusAreasEditMode())) {
54655
+ <button
54656
+ type="button"
54657
+ (click)="focusAreasEditMode() ? cancelFocusAreasEditMode() : cancelEditMode()"
54658
+ [ngClass]="cancelButtonClasses()"
54659
+ class="px-6 py-4 rounded-xl font-bold text-base transition-all duration-200 flex items-center justify-center gap-2 cursor-pointer hover:scale-105">
54660
+ Cancel
54661
+ </button>
54662
+ }
54745
54663
  <button
54746
54664
  type="button"
54747
- (click)="onViewModeClick()"
54748
- [ngClass]="getViewModeButtonClasses()"
54749
- class="cursor-pointer flex items-center gap-2 px-2 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
54750
- <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
54751
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
54752
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
54753
- </svg>
54665
+ (click)="focusAreasEditMode() ? handleSaveFocusAreas() : handleContinue()"
54666
+ [disabled]="!isButtonEnabled()"
54667
+ [ngClass]="continueButtonClasses()"
54668
+ class="flex-1 px-6 py-4 rounded-xl font-bold text-lg transition-all duration-200 flex items-center justify-center gap-3 shadow-lg"
54669
+ [class.cursor-pointer]="isButtonEnabled()"
54670
+ [class.cursor-not-allowed]="!isButtonEnabled()"
54671
+ [class.opacity-50]="!isButtonEnabled()"
54672
+ [class.hover:scale-105]="isButtonEnabled()">
54673
+ @if (isLoading()) {
54674
+ <svg class="w-6 h-6 animate-spin" fill="none" viewBox="0 0 24 24">
54675
+ <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
54676
+ <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>
54677
+ </svg>
54678
+ @if (focusAreasEditMode()) {
54679
+ Saving Focus Areas...
54680
+ } @else if (accountData() && editMode()) {
54681
+ Updating Account...
54682
+ } @else {
54683
+ Creating Account...
54684
+ }
54685
+ } @else {
54686
+ @if (focusAreasEditMode()) {
54687
+ Save Focus Areas
54688
+ } @else if (accountData() && editMode()) {
54689
+ Save Changes
54690
+ } @else {
54691
+ Create Account
54692
+ }
54693
+ <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
54694
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7l5 5m0 0l-5 5m5-5H6"/>
54695
+ </svg>
54696
+ }
54754
54697
  </button>
54755
- }
54698
+ </div>
54756
54699
  </div>
54757
54700
  </div>
54758
- </div>
54759
- </div>
54760
- </header>
54761
- `
54762
- }]
54763
- }], null, { requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], createdDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "createdDate", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], viewModeLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewModeLabel", required: false }] }], currentSection: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentSection", required: false }] }], currentSubsection: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentSubsection", required: false }] }], sectionFading: [{ type: i0.Input, args: [{ isSignal: true, alias: "sectionFading", required: false }] }], subsectionFading: [{ type: i0.Input, args: [{ isSignal: true, alias: "subsectionFading", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], showControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "showControls", required: false }] }], searchClick: [{ type: i0.Output, args: ["searchClick"] }], viewModeClick: [{ type: i0.Output, args: ["viewModeClick"] }] }); })();
54764
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardHeaderComponent, { className: "DashboardHeaderComponent", filePath: "lib/components/shared/dashboard-header.component.ts", lineNumber: 134 }); })();
54701
+ }
54702
+ </div>
54703
+ </div>
54704
+ `, styles: [":host{display:block}.animated-bubbles{overflow:hidden}.animated-bubbles:before,.animated-bubbles:after{content:\"\";position:absolute;border-radius:50%;animation:float 20s infinite ease-in-out;opacity:.05}.animated-bubbles:before{width:600px;height:600px;background:radial-gradient(circle,#3b82f6 0%,transparent 70%);top:-300px;left:-300px;animation-delay:-5s}.animated-bubbles:after{width:800px;height:800px;background:radial-gradient(circle,#06b6d4 0%,transparent 70%);bottom:-400px;right:-400px;animation-delay:-10s}.animated-bubbles.light-mode:before,.animated-bubbles.light-mode:after{opacity:.03}@keyframes float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(50px,-50px) scale(1.1)}66%{transform:translate(-30px,30px) scale(.9)}}\n"] }]
54705
+ }], () => [], { embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], parentHeaderOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "parentHeaderOffset", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], accountData: [{ type: i0.Input, args: [{ isSignal: true, alias: "accountData", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], showNextStepAction: [{ type: i0.Input, args: [{ isSignal: true, alias: "showNextStepAction", required: false }] }], maxAccessibleStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAccessibleStepId", required: false }] }], onCreateAccount: [{ type: i0.Output, args: ["onCreateAccount"] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], shopNameInput: [{
54706
+ type: ViewChild,
54707
+ args: ['shopNameInput']
54708
+ }], onScroll: [{
54709
+ type: HostListener,
54710
+ args: ['window:scroll', ['$event']]
54711
+ }] }); })();
54712
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqCreateAccountDashboardComponent, { className: "SymphiqCreateAccountDashboardComponent", filePath: "lib/components/create-account-dashboard/symphiq-create-account-dashboard.component.ts", lineNumber: 603 }); })();
54765
54713
 
54766
54714
  const _forTrack0$A = ($index, $item) => $item.id;
54767
54715
  function SymphiqConnectGaDashboardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {