@eric-emg/symphiq-components 1.3.4 → 1.3.5
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.
|
@@ -53523,50 +53523,74 @@ function SymphiqCreateAccountDashboardComponent_Conditional_9_Template(rf, ctx)
|
|
|
53523
53523
|
i0.ɵɵadvance();
|
|
53524
53524
|
i0.ɵɵconditional(!ctx_r0.accountData() || ctx_r0.focusAreasEditMode() ? 4 : -1);
|
|
53525
53525
|
} }
|
|
53526
|
-
function
|
|
53526
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
53527
|
+
i0.ɵɵelementStart(0, "div", 73)(1, "div", 77)(2, "span", 59);
|
|
53528
|
+
i0.ɵɵtext(3, " Focus Areas ");
|
|
53529
|
+
i0.ɵɵelementEnd();
|
|
53530
|
+
i0.ɵɵelementStart(4, "span", 78);
|
|
53531
|
+
i0.ɵɵtext(5);
|
|
53532
|
+
i0.ɵɵelementEnd()();
|
|
53533
|
+
i0.ɵɵelementStart(6, "div", 79);
|
|
53534
|
+
i0.ɵɵelement(7, "div", 80);
|
|
53535
|
+
i0.ɵɵelementEnd()();
|
|
53536
|
+
} if (rf & 2) {
|
|
53537
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
53538
|
+
i0.ɵɵadvance(2);
|
|
53539
|
+
i0.ɵɵproperty("ngClass", ctx_r0.focusAreaProgressLabelClasses());
|
|
53540
|
+
i0.ɵɵadvance(2);
|
|
53541
|
+
i0.ɵɵproperty("ngClass", ctx_r0.focusAreaProgressCountClasses());
|
|
53542
|
+
i0.ɵɵadvance();
|
|
53543
|
+
i0.ɵɵtextInterpolate2(" ", ctx_r0.focusAreasAnswered(), " / ", ctx_r0.totalFocusAreas(), " ");
|
|
53544
|
+
i0.ɵɵadvance();
|
|
53545
|
+
i0.ɵɵproperty("ngClass", ctx_r0.focusAreaProgressBarBgClasses());
|
|
53546
|
+
i0.ɵɵadvance();
|
|
53547
|
+
i0.ɵɵstyleProp("width", ctx_r0.focusAreaProgressPercent(), "%");
|
|
53548
|
+
i0.ɵɵproperty("ngClass", ctx_r0.focusAreaProgressBarFillClasses());
|
|
53549
|
+
} }
|
|
53550
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
53527
53551
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
53528
|
-
i0.ɵɵelementStart(0, "button",
|
|
53529
|
-
i0.ɵɵlistener("click", function
|
|
53552
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
53553
|
+
i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_4_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()); });
|
|
53530
53554
|
i0.ɵɵtext(1, " Cancel ");
|
|
53531
53555
|
i0.ɵɵelementEnd();
|
|
53532
53556
|
} if (rf & 2) {
|
|
53533
53557
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
53534
53558
|
i0.ɵɵproperty("ngClass", ctx_r0.cancelButtonClasses());
|
|
53535
53559
|
} }
|
|
53536
|
-
function
|
|
53560
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
53537
53561
|
i0.ɵɵtext(0, " Saving Focus Areas... ");
|
|
53538
53562
|
} }
|
|
53539
|
-
function
|
|
53563
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
53540
53564
|
i0.ɵɵtext(0, " Updating Account... ");
|
|
53541
53565
|
} }
|
|
53542
|
-
function
|
|
53566
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
53543
53567
|
i0.ɵɵtext(0, " Creating Account... ");
|
|
53544
53568
|
} }
|
|
53545
|
-
function
|
|
53569
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
53546
53570
|
i0.ɵɵnamespaceSVG();
|
|
53547
|
-
i0.ɵɵelementStart(0, "svg",
|
|
53548
|
-
i0.ɵɵelement(1, "circle",
|
|
53571
|
+
i0.ɵɵelementStart(0, "svg", 82);
|
|
53572
|
+
i0.ɵɵelement(1, "circle", 83)(2, "path", 84);
|
|
53549
53573
|
i0.ɵɵelementEnd();
|
|
53550
|
-
i0.ɵɵconditionalCreate(3,
|
|
53574
|
+
i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_3_Template, 1, 0)(4, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_4_Template, 1, 0)(5, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Conditional_5_Template, 1, 0);
|
|
53551
53575
|
} if (rf & 2) {
|
|
53552
53576
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
53553
53577
|
i0.ɵɵadvance(3);
|
|
53554
53578
|
i0.ɵɵconditional(ctx_r0.focusAreasEditMode() ? 3 : ctx_r0.accountData() && ctx_r0.editMode() ? 4 : 5);
|
|
53555
53579
|
} }
|
|
53556
|
-
function
|
|
53580
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_7_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
53557
53581
|
i0.ɵɵtext(0, " Save Focus Areas ");
|
|
53558
53582
|
} }
|
|
53559
|
-
function
|
|
53583
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_7_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
53560
53584
|
i0.ɵɵtext(0, " Save Changes ");
|
|
53561
53585
|
} }
|
|
53562
|
-
function
|
|
53586
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_7_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
53563
53587
|
i0.ɵɵtext(0, " Create Account ");
|
|
53564
53588
|
} }
|
|
53565
|
-
function
|
|
53566
|
-
i0.ɵɵconditionalCreate(0,
|
|
53589
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
53590
|
+
i0.ɵɵconditionalCreate(0, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_7_Conditional_0_Template, 1, 0)(1, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_7_Conditional_1_Template, 1, 0)(2, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_7_Conditional_2_Template, 1, 0);
|
|
53567
53591
|
i0.ɵɵnamespaceSVG();
|
|
53568
|
-
i0.ɵɵelementStart(3, "svg",
|
|
53569
|
-
i0.ɵɵelement(4, "path",
|
|
53592
|
+
i0.ɵɵelementStart(3, "svg", 85);
|
|
53593
|
+
i0.ɵɵelement(4, "path", 86);
|
|
53570
53594
|
i0.ɵɵelementEnd();
|
|
53571
53595
|
} if (rf & 2) {
|
|
53572
53596
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -53574,22 +53598,26 @@ function SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Tem
|
|
|
53574
53598
|
} }
|
|
53575
53599
|
function SymphiqCreateAccountDashboardComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
53576
53600
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
53577
|
-
i0.ɵɵelementStart(0, "div", 11)(1, "div", 72)
|
|
53578
|
-
i0.ɵɵconditionalCreate(
|
|
53579
|
-
i0.ɵɵelementStart(
|
|
53580
|
-
i0.ɵɵ
|
|
53581
|
-
i0.ɵɵ
|
|
53601
|
+
i0.ɵɵelementStart(0, "div", 11)(1, "div", 72);
|
|
53602
|
+
i0.ɵɵconditionalCreate(2, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_2_Template, 8, 8, "div", 73);
|
|
53603
|
+
i0.ɵɵelementStart(3, "div", 74);
|
|
53604
|
+
i0.ɵɵconditionalCreate(4, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_4_Template, 2, 1, "button", 75);
|
|
53605
|
+
i0.ɵɵelementStart(5, "button", 76);
|
|
53606
|
+
i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_11_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r12); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.focusAreasEditMode() ? ctx_r0.handleSaveFocusAreas() : ctx_r0.handleContinue()); });
|
|
53607
|
+
i0.ɵɵconditionalCreate(6, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_6_Template, 6, 1)(7, SymphiqCreateAccountDashboardComponent_Conditional_11_Conditional_7_Template, 5, 1);
|
|
53582
53608
|
i0.ɵɵelementEnd()()()();
|
|
53583
53609
|
} if (rf & 2) {
|
|
53584
53610
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
53585
53611
|
i0.ɵɵproperty("ngClass", ctx_r0.stickyButtonContainerClasses());
|
|
53586
|
-
i0.ɵɵadvance(
|
|
53587
|
-
i0.ɵɵconditional(ctx_r0.
|
|
53612
|
+
i0.ɵɵadvance(2);
|
|
53613
|
+
i0.ɵɵconditional(ctx_r0.formValid() && !ctx_r0.accountData() && !ctx_r0.focusAreasEditMode() ? 2 : -1);
|
|
53614
|
+
i0.ɵɵadvance(2);
|
|
53615
|
+
i0.ɵɵconditional(ctx_r0.accountData() && ctx_r0.editMode() || ctx_r0.accountData() && ctx_r0.focusAreasEditMode() ? 4 : -1);
|
|
53588
53616
|
i0.ɵɵadvance();
|
|
53589
53617
|
i0.ɵɵclassProp("cursor-pointer", ctx_r0.isButtonEnabled())("cursor-not-allowed", !ctx_r0.isButtonEnabled())("opacity-50", !ctx_r0.isButtonEnabled())("hover:scale-105", ctx_r0.isButtonEnabled());
|
|
53590
53618
|
i0.ɵɵproperty("disabled", !ctx_r0.isButtonEnabled())("ngClass", ctx_r0.continueButtonClasses());
|
|
53591
53619
|
i0.ɵɵadvance();
|
|
53592
|
-
i0.ɵɵconditional(ctx_r0.isLoading() ?
|
|
53620
|
+
i0.ɵɵconditional(ctx_r0.isLoading() ? 6 : 7);
|
|
53593
53621
|
} }
|
|
53594
53622
|
var ShopPlatformEnum;
|
|
53595
53623
|
(function (ShopPlatformEnum) {
|
|
@@ -53657,6 +53685,7 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
53657
53685
|
this.isLoading = signal(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
|
|
53658
53686
|
this.isCreatingAccount = computed(() => this.isLoading() && !this.accountData(), ...(ngDevMode ? [{ debugName: "isCreatingAccount" }] : []));
|
|
53659
53687
|
this.formChanged = signal(false, ...(ngDevMode ? [{ debugName: "formChanged" }] : []));
|
|
53688
|
+
this.formValid = signal(false, ...(ngDevMode ? [{ debugName: "formValid" }] : []));
|
|
53660
53689
|
this.originalFormValue = null;
|
|
53661
53690
|
this.loadTime = Date.now();
|
|
53662
53691
|
this.ShopPlatformEnum = ShopPlatformEnum;
|
|
@@ -53693,6 +53722,12 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
53693
53722
|
this.allFocusAreasAnswered = computed(() => {
|
|
53694
53723
|
return this.focusAreasAnswered() === this.totalFocusAreas();
|
|
53695
53724
|
}, ...(ngDevMode ? [{ debugName: "allFocusAreasAnswered" }] : []));
|
|
53725
|
+
this.focusAreaProgressPercent = computed(() => {
|
|
53726
|
+
const total = this.totalFocusAreas();
|
|
53727
|
+
if (total === 0)
|
|
53728
|
+
return 0;
|
|
53729
|
+
return (this.focusAreasAnswered() / total) * 100;
|
|
53730
|
+
}, ...(ngDevMode ? [{ debugName: "focusAreaProgressPercent" }] : []));
|
|
53696
53731
|
this.currentEditingFocusAreaTitle = computed(() => {
|
|
53697
53732
|
const domain = this.currentEditingFocusArea();
|
|
53698
53733
|
return domain ? FocusAreaDomainEnumUtil.title(domain) : '';
|
|
@@ -53740,6 +53775,22 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
53740
53775
|
title: FocusAreaDomainEnumUtil.title(fa.focusAreaDomain)
|
|
53741
53776
|
}));
|
|
53742
53777
|
}, ...(ngDevMode ? [{ debugName: "notInterestedFocusAreasDisplay" }] : []));
|
|
53778
|
+
this.isButtonEnabled = computed(() => {
|
|
53779
|
+
if (this.isLoading())
|
|
53780
|
+
return false;
|
|
53781
|
+
if (this.focusAreasEditMode()) {
|
|
53782
|
+
return this.allFocusAreasAnswered() && this.focusAreasChanged();
|
|
53783
|
+
}
|
|
53784
|
+
if (!this.formValid())
|
|
53785
|
+
return false;
|
|
53786
|
+
if (!this.accountData()) {
|
|
53787
|
+
return this.allFocusAreasAnswered();
|
|
53788
|
+
}
|
|
53789
|
+
if (this.accountData() && this.editMode()) {
|
|
53790
|
+
return this.formChanged();
|
|
53791
|
+
}
|
|
53792
|
+
return true;
|
|
53793
|
+
}, ...(ngDevMode ? [{ debugName: "isButtonEnabled" }] : []));
|
|
53743
53794
|
this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
53744
53795
|
this.containerWrapperClasses = computed(() => {
|
|
53745
53796
|
if (this.embedded()) {
|
|
@@ -53833,6 +53884,38 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
53833
53884
|
? 'bg-gradient-to-r from-blue-600 to-cyan-600 hover:from-blue-700 hover:to-cyan-700 text-white'
|
|
53834
53885
|
: 'bg-gradient-to-r from-blue-500 to-cyan-500 hover:from-blue-600 hover:to-cyan-600 text-white';
|
|
53835
53886
|
}, ...(ngDevMode ? [{ debugName: "continueButtonClasses" }] : []));
|
|
53887
|
+
this.focusAreaProgressLabelClasses = computed(() => {
|
|
53888
|
+
return this.isLightMode()
|
|
53889
|
+
? 'text-slate-600'
|
|
53890
|
+
: 'text-slate-400';
|
|
53891
|
+
}, ...(ngDevMode ? [{ debugName: "focusAreaProgressLabelClasses" }] : []));
|
|
53892
|
+
this.focusAreaProgressCountClasses = computed(() => {
|
|
53893
|
+
const allAnswered = this.allFocusAreasAnswered();
|
|
53894
|
+
if (allAnswered) {
|
|
53895
|
+
return this.isLightMode()
|
|
53896
|
+
? 'text-emerald-600'
|
|
53897
|
+
: 'text-emerald-400';
|
|
53898
|
+
}
|
|
53899
|
+
return this.isLightMode()
|
|
53900
|
+
? 'text-blue-600'
|
|
53901
|
+
: 'text-blue-400';
|
|
53902
|
+
}, ...(ngDevMode ? [{ debugName: "focusAreaProgressCountClasses" }] : []));
|
|
53903
|
+
this.focusAreaProgressBarBgClasses = computed(() => {
|
|
53904
|
+
return this.isLightMode()
|
|
53905
|
+
? 'bg-slate-200'
|
|
53906
|
+
: 'bg-slate-700';
|
|
53907
|
+
}, ...(ngDevMode ? [{ debugName: "focusAreaProgressBarBgClasses" }] : []));
|
|
53908
|
+
this.focusAreaProgressBarFillClasses = computed(() => {
|
|
53909
|
+
const allAnswered = this.allFocusAreasAnswered();
|
|
53910
|
+
if (allAnswered) {
|
|
53911
|
+
return this.isLightMode()
|
|
53912
|
+
? 'bg-gradient-to-r from-emerald-500 to-teal-500'
|
|
53913
|
+
: 'bg-gradient-to-r from-emerald-400 to-teal-400';
|
|
53914
|
+
}
|
|
53915
|
+
return this.isLightMode()
|
|
53916
|
+
? 'bg-gradient-to-r from-blue-500 to-cyan-500'
|
|
53917
|
+
: 'bg-gradient-to-r from-blue-400 to-cyan-400';
|
|
53918
|
+
}, ...(ngDevMode ? [{ debugName: "focusAreaProgressBarFillClasses" }] : []));
|
|
53836
53919
|
this.progressBadgeClasses = computed(() => {
|
|
53837
53920
|
const allAnswered = this.allFocusAreasAnswered();
|
|
53838
53921
|
return this.isLightMode()
|
|
@@ -53920,6 +54003,10 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
53920
54003
|
this.checkFormChanged();
|
|
53921
54004
|
}
|
|
53922
54005
|
});
|
|
54006
|
+
this.accountForm.statusChanges.subscribe(() => {
|
|
54007
|
+
this.formValid.set(this.accountForm.valid);
|
|
54008
|
+
});
|
|
54009
|
+
this.formValid.set(this.accountForm.valid);
|
|
53923
54010
|
}
|
|
53924
54011
|
onScroll() {
|
|
53925
54012
|
this.headerScrollService.handleScroll(this.embedded());
|
|
@@ -53968,22 +54055,6 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
53968
54055
|
isFormValid() {
|
|
53969
54056
|
return this.accountForm.valid;
|
|
53970
54057
|
}
|
|
53971
|
-
isButtonEnabled() {
|
|
53972
|
-
if (this.isLoading())
|
|
53973
|
-
return false;
|
|
53974
|
-
if (this.focusAreasEditMode()) {
|
|
53975
|
-
return this.allFocusAreasAnswered() && this.focusAreasChanged();
|
|
53976
|
-
}
|
|
53977
|
-
if (!this.isFormValid())
|
|
53978
|
-
return false;
|
|
53979
|
-
if (!this.accountData()) {
|
|
53980
|
-
return this.allFocusAreasAnswered();
|
|
53981
|
-
}
|
|
53982
|
-
if (this.accountData() && this.editMode()) {
|
|
53983
|
-
return this.formChanged();
|
|
53984
|
-
}
|
|
53985
|
-
return true;
|
|
53986
|
-
}
|
|
53987
54058
|
handleContinue() {
|
|
53988
54059
|
if (this.accountForm.get('website')?.value) {
|
|
53989
54060
|
return;
|
|
@@ -54205,7 +54276,7 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
54205
54276
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.shopNameInput = _t.first);
|
|
54206
54277
|
} }, hostBindings: function SymphiqCreateAccountDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
54207
54278
|
i0.ɵɵlistener("scroll", function SymphiqCreateAccountDashboardComponent_scroll_HostBindingHandler() { return ctx.onScroll(); }, i0.ɵɵresolveWindow);
|
|
54208
|
-
} }, 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: 26, 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", "embedded", "scrollEvent"], [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) {
|
|
54279
|
+
} }, 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: 26, 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", "embedded", "scrollEvent"], [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, "mb-3"], [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"], [1, "flex", "items-center", "justify-between", "mb-1.5"], [1, "text-xs", "font-semibold", 3, "ngClass"], [1, "h-2", "rounded-full", "overflow-hidden", 3, "ngClass"], [1, "h-full", "rounded-full", "transition-all", "duration-500", "ease-out", 3, "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) {
|
|
54209
54280
|
i0.ɵɵelementStart(0, "div", 1)(1, "div");
|
|
54210
54281
|
i0.ɵɵelement(2, "div", 2);
|
|
54211
54282
|
i0.ɵɵelementEnd();
|
|
@@ -54221,7 +54292,7 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
54221
54292
|
i0.ɵɵelementStart(10, "symphiq-focus-area-tools-modal", 10);
|
|
54222
54293
|
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); });
|
|
54223
54294
|
i0.ɵɵelementEnd();
|
|
54224
|
-
i0.ɵɵconditionalCreate(11, SymphiqCreateAccountDashboardComponent_Conditional_11_Template,
|
|
54295
|
+
i0.ɵɵconditionalCreate(11, SymphiqCreateAccountDashboardComponent_Conditional_11_Template, 8, 14, "div", 11);
|
|
54225
54296
|
i0.ɵɵelementEnd()();
|
|
54226
54297
|
} if (rf & 2) {
|
|
54227
54298
|
i0.ɵɵproperty("ngClass", ctx.containerWrapperClasses());
|
|
@@ -54700,6 +54771,25 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
54700
54771
|
@if ((!accountData() || editMode() || focusAreasEditMode()) && !isCreatingAccount()) {
|
|
54701
54772
|
<div [ngClass]="stickyButtonContainerClasses()" class="fixed bottom-0 left-0 right-0 z-50 border-t backdrop-blur-sm">
|
|
54702
54773
|
<div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
|
|
54774
|
+
@if (formValid() && !accountData() && !focusAreasEditMode()) {
|
|
54775
|
+
<div class="mb-3">
|
|
54776
|
+
<div class="flex items-center justify-between mb-1.5">
|
|
54777
|
+
<span [ngClass]="focusAreaProgressLabelClasses()" class="text-xs font-medium">
|
|
54778
|
+
Focus Areas
|
|
54779
|
+
</span>
|
|
54780
|
+
<span [ngClass]="focusAreaProgressCountClasses()" class="text-xs font-semibold">
|
|
54781
|
+
{{ focusAreasAnswered() }} / {{ totalFocusAreas() }}
|
|
54782
|
+
</span>
|
|
54783
|
+
</div>
|
|
54784
|
+
<div [ngClass]="focusAreaProgressBarBgClasses()" class="h-2 rounded-full overflow-hidden">
|
|
54785
|
+
<div
|
|
54786
|
+
[style.width.%]="focusAreaProgressPercent()"
|
|
54787
|
+
[ngClass]="focusAreaProgressBarFillClasses()"
|
|
54788
|
+
class="h-full rounded-full transition-all duration-500 ease-out">
|
|
54789
|
+
</div>
|
|
54790
|
+
</div>
|
|
54791
|
+
</div>
|
|
54792
|
+
}
|
|
54703
54793
|
<div class="flex items-center gap-3">
|
|
54704
54794
|
@if ((accountData() && editMode()) || (accountData() && focusAreasEditMode())) {
|
|
54705
54795
|
<button
|
|
@@ -54759,7 +54849,7 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
54759
54849
|
type: HostListener,
|
|
54760
54850
|
args: ['window:scroll']
|
|
54761
54851
|
}] }); })();
|
|
54762
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqCreateAccountDashboardComponent, { className: "SymphiqCreateAccountDashboardComponent", filePath: "lib/components/create-account-dashboard/symphiq-create-account-dashboard.component.ts", lineNumber:
|
|
54852
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqCreateAccountDashboardComponent, { className: "SymphiqCreateAccountDashboardComponent", filePath: "lib/components/create-account-dashboard/symphiq-create-account-dashboard.component.ts", lineNumber: 624 }); })();
|
|
54763
54853
|
|
|
54764
54854
|
const _forTrack0$D = ($index, $item) => $item.property.id;
|
|
54765
54855
|
function SymphiqConnectGaDashboardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|