@eric-emg/symphiq-components 1.2.153 → 1.2.155
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/symphiq-components.mjs +106 -97
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +13 -11
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/styles.css +17 -0
|
@@ -51515,8 +51515,8 @@ class SymphiqWelcomeDashboardComponent {
|
|
|
51515
51515
|
}] }); })();
|
|
51516
51516
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqWelcomeDashboardComponent, { className: "SymphiqWelcomeDashboardComponent", filePath: "lib/components/welcome-dashboard/symphiq-welcome-dashboard.component.ts", lineNumber: 201 }); })();
|
|
51517
51517
|
|
|
51518
|
-
function
|
|
51519
|
-
i0.ɵɵelementStart(0, "span",
|
|
51518
|
+
function FocusAreaQuestionComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
51519
|
+
i0.ɵɵelementStart(0, "span", 5);
|
|
51520
51520
|
i0.ɵɵtext(1, " Not answered yet ");
|
|
51521
51521
|
i0.ɵɵelementEnd();
|
|
51522
51522
|
} if (rf & 2) {
|
|
@@ -51533,7 +51533,7 @@ function FocusAreaQuestionComponent_Conditional_34_Template(rf, ctx) { if (rf &
|
|
|
51533
51533
|
i0.ɵɵelement(0, "div", 12);
|
|
51534
51534
|
} }
|
|
51535
51535
|
function FocusAreaQuestionComponent_Conditional_47_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
51536
|
-
i0.ɵɵelementStart(0, "span",
|
|
51536
|
+
i0.ɵɵelementStart(0, "span", 26);
|
|
51537
51537
|
i0.ɵɵtext(1);
|
|
51538
51538
|
i0.ɵɵelementEnd();
|
|
51539
51539
|
} if (rf & 2) {
|
|
@@ -51544,8 +51544,8 @@ function FocusAreaQuestionComponent_Conditional_47_For_2_Template(rf, ctx) { if
|
|
|
51544
51544
|
i0.ɵɵtextInterpolate1(" ", tool_r2, " ");
|
|
51545
51545
|
} }
|
|
51546
51546
|
function FocusAreaQuestionComponent_Conditional_47_Template(rf, ctx) { if (rf & 1) {
|
|
51547
|
-
i0.ɵɵelementStart(0, "div",
|
|
51548
|
-
i0.ɵɵrepeaterCreate(1, FocusAreaQuestionComponent_Conditional_47_For_2_Template, 2, 2, "span",
|
|
51547
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
51548
|
+
i0.ɵɵrepeaterCreate(1, FocusAreaQuestionComponent_Conditional_47_For_2_Template, 2, 2, "span", 26, i0.ɵɵrepeaterTrackByIdentity);
|
|
51549
51549
|
i0.ɵɵelementEnd();
|
|
51550
51550
|
} if (rf & 2) {
|
|
51551
51551
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -51553,7 +51553,7 @@ function FocusAreaQuestionComponent_Conditional_47_Template(rf, ctx) { if (rf &
|
|
|
51553
51553
|
i0.ɵɵrepeater(ctx_r0.selectedTools());
|
|
51554
51554
|
} }
|
|
51555
51555
|
function FocusAreaQuestionComponent_Conditional_48_Template(rf, ctx) { if (rf & 1) {
|
|
51556
|
-
i0.ɵɵelementStart(0, "span",
|
|
51556
|
+
i0.ɵɵelementStart(0, "span", 23);
|
|
51557
51557
|
i0.ɵɵtext(1, " None specified - Click to select ");
|
|
51558
51558
|
i0.ɵɵelementEnd();
|
|
51559
51559
|
} if (rf & 2) {
|
|
@@ -51568,7 +51568,17 @@ class FocusAreaQuestionComponent {
|
|
|
51568
51568
|
this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
|
|
51569
51569
|
this.title = input.required(...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
51570
51570
|
this.description = input.required(...(ngDevMode ? [{ debugName: "description" }] : []));
|
|
51571
|
-
this.isAnswered = computed(() =>
|
|
51571
|
+
this.isAnswered = computed(() => {
|
|
51572
|
+
const status = this.selectedStatus();
|
|
51573
|
+
if (status === null)
|
|
51574
|
+
return false;
|
|
51575
|
+
if (status === FocusAreaDetailStatusEnum.ENGAGED) {
|
|
51576
|
+
return this.selectedTools() !== null && this.selectedTools().length > 0;
|
|
51577
|
+
}
|
|
51578
|
+
return true;
|
|
51579
|
+
}, ...(ngDevMode ? [{ debugName: "isAnswered" }] : []));
|
|
51580
|
+
this.isToolsRequired = computed(() => this.selectedStatus() === FocusAreaDetailStatusEnum.ENGAGED &&
|
|
51581
|
+
(!this.selectedTools() || this.selectedTools().length === 0), ...(ngDevMode ? [{ debugName: "isToolsRequired" }] : []));
|
|
51572
51582
|
this.statusChange = output();
|
|
51573
51583
|
this.toolsClick = output();
|
|
51574
51584
|
this.FocusAreaDetailStatusEnum = FocusAreaDetailStatusEnum;
|
|
@@ -51578,6 +51588,9 @@ class FocusAreaQuestionComponent {
|
|
|
51578
51588
|
}
|
|
51579
51589
|
onStatusChange(status) {
|
|
51580
51590
|
this.statusChange.emit(status);
|
|
51591
|
+
if (status === FocusAreaDetailStatusEnum.ENGAGED && (!this.selectedTools() || this.selectedTools().length === 0)) {
|
|
51592
|
+
setTimeout(() => this.toolsClick.emit(), 100);
|
|
51593
|
+
}
|
|
51581
51594
|
}
|
|
51582
51595
|
onToolsClick() {
|
|
51583
51596
|
this.toolsClick.emit();
|
|
@@ -51667,6 +51680,11 @@ class FocusAreaQuestionComponent {
|
|
|
51667
51680
|
: 'text-slate-300';
|
|
51668
51681
|
}
|
|
51669
51682
|
toolsButtonClasses() {
|
|
51683
|
+
if (this.isToolsRequired()) {
|
|
51684
|
+
return this.isLightMode()
|
|
51685
|
+
? 'bg-red-50 border-red-300 hover:border-red-400 hover:bg-red-100 text-slate-900'
|
|
51686
|
+
: 'bg-red-900/20 border-red-700 hover:border-red-600 hover:bg-red-900/30 text-white';
|
|
51687
|
+
}
|
|
51670
51688
|
return this.isLightMode()
|
|
51671
51689
|
? 'bg-white border-slate-300 hover:border-blue-400 hover:bg-blue-50 text-slate-900'
|
|
51672
51690
|
: 'bg-slate-700 border-slate-600 hover:border-blue-400 hover:bg-slate-600 text-white';
|
|
@@ -51687,25 +51705,25 @@ class FocusAreaQuestionComponent {
|
|
|
51687
51705
|
: 'text-slate-500';
|
|
51688
51706
|
}
|
|
51689
51707
|
static { this.ɵfac = function FocusAreaQuestionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FocusAreaQuestionComponent)(); }; }
|
|
51690
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FocusAreaQuestionComponent, selectors: [["symphiq-focus-area-question"]], inputs: { focusAreaDomain: [1, "focusAreaDomain"], selectedStatus: [1, "selectedStatus"], selectedTools: [1, "selectedTools"], viewMode: [1, "viewMode"], title: [1, "title"], description: [1, "description"] }, outputs: { statusChange: "statusChange", toolsClick: "toolsClick" }, decls: 51, vars: 31, consts: [[1, "rounded-xl", "border-2", "overflow-hidden", 3, "ngClass"], [1, "p-6", 3, "ngClass"], [1, "
|
|
51708
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FocusAreaQuestionComponent, selectors: [["symphiq-focus-area-question"]], inputs: { focusAreaDomain: [1, "focusAreaDomain"], selectedStatus: [1, "selectedStatus"], selectedTools: [1, "selectedTools"], viewMode: [1, "viewMode"], title: [1, "title"], description: [1, "description"] }, outputs: { statusChange: "statusChange", toolsClick: "toolsClick" }, decls: 51, vars: 31, consts: [[1, "rounded-xl", "border-2", "overflow-hidden", 3, "ngClass"], [1, "p-6", 3, "ngClass"], [1, "mb-4"], [1, "flex", "items-start", "justify-between", "mb-2"], [1, "text-lg", "font-bold", 3, "ngClass"], [1, "ml-3", "px-3", "py-1", "rounded-full", "text-xs", "font-semibold", "whitespace-nowrap", "flex-shrink-0", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "space-y-3", "mt-5"], [1, "cursor-pointer", "block", 3, "ngClass"], ["type", "radio", 1, "sr-only", 3, "change", "checked"], [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", "text-sm", 3, "ngClass"], [1, "text-xs", "mt-0.5", 3, "ngClass"], [1, "grid", "transition-all", "duration-300", "ease-in-out"], [1, "overflow-hidden", "px-1"], [1, "mt-4"], [1, "block", "text-sm", "font-semibold", "mb-2", 3, "ngClass"], ["type", "button", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "hover:scale-[1.01]", "flex", "items-center", "justify-between", "cursor-pointer", 3, "click", "ngClass"], [1, "flex", "items-center", "gap-2", "flex-1", "min-w-0"], [1, "flex", "flex-wrap", "gap-1.5"], [1, "text-sm", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", "flex-shrink-0", "ml-2", 3, "ngClass"], ["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, "px-2", "py-1", "rounded", "text-xs", "font-medium", 3, "ngClass"]], template: function FocusAreaQuestionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
51691
51709
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h3", 4);
|
|
51692
51710
|
i0.ɵɵtext(5);
|
|
51693
51711
|
i0.ɵɵelementEnd();
|
|
51694
|
-
i0.ɵɵ
|
|
51695
|
-
i0.ɵɵtext(7);
|
|
51696
|
-
i0.ɵɵelementEnd()();
|
|
51697
|
-
i0.ɵɵconditionalCreate(8, FocusAreaQuestionComponent_Conditional_8_Template, 2, 1, "span", 6);
|
|
51712
|
+
i0.ɵɵconditionalCreate(6, FocusAreaQuestionComponent_Conditional_6_Template, 2, 1, "span", 5);
|
|
51698
51713
|
i0.ɵɵelementEnd();
|
|
51714
|
+
i0.ɵɵelementStart(7, "p", 6);
|
|
51715
|
+
i0.ɵɵtext(8);
|
|
51716
|
+
i0.ɵɵelementEnd()();
|
|
51699
51717
|
i0.ɵɵelementStart(9, "div", 7)(10, "label", 8)(11, "input", 9);
|
|
51700
51718
|
i0.ɵɵlistener("change", function FocusAreaQuestionComponent_Template_input_change_11_listener() { return ctx.onStatusChange(ctx.FocusAreaDetailStatusEnum.ENGAGED); });
|
|
51701
51719
|
i0.ɵɵelementEnd();
|
|
51702
51720
|
i0.ɵɵelementStart(12, "div", 10)(13, "div", 11);
|
|
51703
51721
|
i0.ɵɵconditionalCreate(14, FocusAreaQuestionComponent_Conditional_14_Template, 1, 0, "div", 12);
|
|
51704
51722
|
i0.ɵɵelementEnd();
|
|
51705
|
-
i0.ɵɵelementStart(15, "div",
|
|
51723
|
+
i0.ɵɵelementStart(15, "div", 13)(16, "div", 14);
|
|
51706
51724
|
i0.ɵɵtext(17, " Engaged ");
|
|
51707
51725
|
i0.ɵɵelementEnd();
|
|
51708
|
-
i0.ɵɵelementStart(18, "div",
|
|
51726
|
+
i0.ɵɵelementStart(18, "div", 15);
|
|
51709
51727
|
i0.ɵɵtext(19, " We are currently engaged in this area ");
|
|
51710
51728
|
i0.ɵɵelementEnd()()()();
|
|
51711
51729
|
i0.ɵɵelementStart(20, "label", 8)(21, "input", 9);
|
|
@@ -51714,10 +51732,10 @@ class FocusAreaQuestionComponent {
|
|
|
51714
51732
|
i0.ɵɵelementStart(22, "div", 10)(23, "div", 11);
|
|
51715
51733
|
i0.ɵɵconditionalCreate(24, FocusAreaQuestionComponent_Conditional_24_Template, 1, 0, "div", 12);
|
|
51716
51734
|
i0.ɵɵelementEnd();
|
|
51717
|
-
i0.ɵɵelementStart(25, "div",
|
|
51735
|
+
i0.ɵɵelementStart(25, "div", 13)(26, "div", 14);
|
|
51718
51736
|
i0.ɵɵtext(27, " Interested ");
|
|
51719
51737
|
i0.ɵɵelementEnd();
|
|
51720
|
-
i0.ɵɵelementStart(28, "div",
|
|
51738
|
+
i0.ɵɵelementStart(28, "div", 15);
|
|
51721
51739
|
i0.ɵɵtext(29, " We are interested in this area but not engaged with it yet ");
|
|
51722
51740
|
i0.ɵɵelementEnd()()()();
|
|
51723
51741
|
i0.ɵɵelementStart(30, "label", 8)(31, "input", 9);
|
|
@@ -51726,23 +51744,23 @@ class FocusAreaQuestionComponent {
|
|
|
51726
51744
|
i0.ɵɵelementStart(32, "div", 10)(33, "div", 11);
|
|
51727
51745
|
i0.ɵɵconditionalCreate(34, FocusAreaQuestionComponent_Conditional_34_Template, 1, 0, "div", 12);
|
|
51728
51746
|
i0.ɵɵelementEnd();
|
|
51729
|
-
i0.ɵɵelementStart(35, "div",
|
|
51747
|
+
i0.ɵɵelementStart(35, "div", 13)(36, "div", 14);
|
|
51730
51748
|
i0.ɵɵtext(37, " Not interested ");
|
|
51731
51749
|
i0.ɵɵelementEnd();
|
|
51732
|
-
i0.ɵɵelementStart(38, "div",
|
|
51750
|
+
i0.ɵɵelementStart(38, "div", 15);
|
|
51733
51751
|
i0.ɵɵtext(39, " We have no interest in this area ");
|
|
51734
51752
|
i0.ɵɵelementEnd()()()()();
|
|
51735
|
-
i0.ɵɵelementStart(40, "div",
|
|
51753
|
+
i0.ɵɵelementStart(40, "div", 16)(41, "div", 17)(42, "div", 18)(43, "label", 19);
|
|
51736
51754
|
i0.ɵɵtext(44, " Marketing automation tools used ");
|
|
51737
51755
|
i0.ɵɵelementEnd();
|
|
51738
|
-
i0.ɵɵelementStart(45, "button",
|
|
51756
|
+
i0.ɵɵelementStart(45, "button", 20);
|
|
51739
51757
|
i0.ɵɵlistener("click", function FocusAreaQuestionComponent_Template_button_click_45_listener() { return ctx.onToolsClick(); });
|
|
51740
|
-
i0.ɵɵelementStart(46, "div",
|
|
51741
|
-
i0.ɵɵconditionalCreate(47, FocusAreaQuestionComponent_Conditional_47_Template, 3, 0, "div",
|
|
51758
|
+
i0.ɵɵelementStart(46, "div", 21);
|
|
51759
|
+
i0.ɵɵconditionalCreate(47, FocusAreaQuestionComponent_Conditional_47_Template, 3, 0, "div", 22)(48, FocusAreaQuestionComponent_Conditional_48_Template, 2, 1, "span", 23);
|
|
51742
51760
|
i0.ɵɵelementEnd();
|
|
51743
51761
|
i0.ɵɵnamespaceSVG();
|
|
51744
|
-
i0.ɵɵelementStart(49, "svg",
|
|
51745
|
-
i0.ɵɵelement(50, "path",
|
|
51762
|
+
i0.ɵɵelementStart(49, "svg", 24);
|
|
51763
|
+
i0.ɵɵelement(50, "path", 25);
|
|
51746
51764
|
i0.ɵɵelementEnd()()()()()()();
|
|
51747
51765
|
} if (rf & 2) {
|
|
51748
51766
|
i0.ɵɵproperty("ngClass", ctx.containerClasses());
|
|
@@ -51753,11 +51771,11 @@ class FocusAreaQuestionComponent {
|
|
|
51753
51771
|
i0.ɵɵadvance();
|
|
51754
51772
|
i0.ɵɵtextInterpolate1(" ", ctx.title(), " ");
|
|
51755
51773
|
i0.ɵɵadvance();
|
|
51774
|
+
i0.ɵɵconditional(!ctx.isAnswered() ? 6 : -1);
|
|
51775
|
+
i0.ɵɵadvance();
|
|
51756
51776
|
i0.ɵɵproperty("ngClass", ctx.descriptionClasses());
|
|
51757
51777
|
i0.ɵɵadvance();
|
|
51758
51778
|
i0.ɵɵtextInterpolate1(" ", ctx.description(), " ");
|
|
51759
|
-
i0.ɵɵadvance();
|
|
51760
|
-
i0.ɵɵconditional(!ctx.isAnswered() ? 8 : -1);
|
|
51761
51779
|
i0.ɵɵadvance(2);
|
|
51762
51780
|
i0.ɵɵproperty("ngClass", ctx.radioOptionClasses(ctx.FocusAreaDetailStatusEnum.ENGAGED));
|
|
51763
51781
|
i0.ɵɵadvance();
|
|
@@ -51811,20 +51829,20 @@ class FocusAreaQuestionComponent {
|
|
|
51811
51829
|
args: [{ selector: 'symphiq-focus-area-question', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
51812
51830
|
<div [ngClass]="containerClasses()" class="rounded-xl border-2 overflow-hidden">
|
|
51813
51831
|
<div [ngClass]="contentClasses()" class="p-6">
|
|
51814
|
-
<div class="
|
|
51815
|
-
<div class="flex-
|
|
51816
|
-
<h3 [ngClass]="titleClasses()" class="text-lg font-bold
|
|
51832
|
+
<div class="mb-4">
|
|
51833
|
+
<div class="flex items-start justify-between mb-2">
|
|
51834
|
+
<h3 [ngClass]="titleClasses()" class="text-lg font-bold">
|
|
51817
51835
|
{{ title() }}
|
|
51818
51836
|
</h3>
|
|
51819
|
-
|
|
51820
|
-
|
|
51821
|
-
|
|
51837
|
+
@if (!isAnswered()) {
|
|
51838
|
+
<span [ngClass]="notAnsweredBadgeClasses()" class="ml-3 px-3 py-1 rounded-full text-xs font-semibold whitespace-nowrap flex-shrink-0">
|
|
51839
|
+
Not answered yet
|
|
51840
|
+
</span>
|
|
51841
|
+
}
|
|
51822
51842
|
</div>
|
|
51823
|
-
|
|
51824
|
-
|
|
51825
|
-
|
|
51826
|
-
</span>
|
|
51827
|
-
}
|
|
51843
|
+
<p [ngClass]="descriptionClasses()" class="text-sm leading-relaxed">
|
|
51844
|
+
{{ description() }}
|
|
51845
|
+
</p>
|
|
51828
51846
|
</div>
|
|
51829
51847
|
|
|
51830
51848
|
<div class="space-y-3 mt-5">
|
|
@@ -51911,7 +51929,7 @@ class FocusAreaQuestionComponent {
|
|
|
51911
51929
|
<div
|
|
51912
51930
|
class="grid transition-all duration-300 ease-in-out"
|
|
51913
51931
|
[style.grid-template-rows]="selectedStatus() === FocusAreaDetailStatusEnum.ENGAGED ? '1fr' : '0fr'">
|
|
51914
|
-
<div class="overflow-hidden">
|
|
51932
|
+
<div class="overflow-hidden px-1">
|
|
51915
51933
|
<div class="mt-4">
|
|
51916
51934
|
<label [ngClass]="toolsLabelClasses()" class="block text-sm font-semibold mb-2">
|
|
51917
51935
|
Marketing automation tools used
|
|
@@ -51951,10 +51969,10 @@ class FocusAreaQuestionComponent {
|
|
|
51951
51969
|
|
|
51952
51970
|
function FocusAreaToolsModalComponent_Conditional_0_Conditional_10_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
51953
51971
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
51954
|
-
i0.ɵɵelementStart(0, "label",
|
|
51972
|
+
i0.ɵɵelementStart(0, "label", 18)(1, "input", 19);
|
|
51955
51973
|
i0.ɵɵlistener("change", function FocusAreaToolsModalComponent_Conditional_0_Conditional_10_For_5_Template_input_change_1_listener($event) { const tool_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onToolToggle(tool_r4, $event)); });
|
|
51956
51974
|
i0.ɵɵelementEnd();
|
|
51957
|
-
i0.ɵɵelementStart(2, "span",
|
|
51975
|
+
i0.ɵɵelementStart(2, "span", 20);
|
|
51958
51976
|
i0.ɵɵtext(3);
|
|
51959
51977
|
i0.ɵɵelementEnd()();
|
|
51960
51978
|
} if (rf & 2) {
|
|
@@ -51968,11 +51986,11 @@ function FocusAreaToolsModalComponent_Conditional_0_Conditional_10_For_5_Templat
|
|
|
51968
51986
|
i0.ɵɵtextInterpolate1(" ", tool_r4, " ");
|
|
51969
51987
|
} }
|
|
51970
51988
|
function FocusAreaToolsModalComponent_Conditional_0_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
51971
|
-
i0.ɵɵelementStart(0, "div", 10)(1, "label",
|
|
51989
|
+
i0.ɵɵelementStart(0, "div", 10)(1, "label", 16);
|
|
51972
51990
|
i0.ɵɵtext(2, " Select tools from the list: ");
|
|
51973
51991
|
i0.ɵɵelementEnd();
|
|
51974
|
-
i0.ɵɵelementStart(3, "div",
|
|
51975
|
-
i0.ɵɵrepeaterCreate(4, FocusAreaToolsModalComponent_Conditional_0_Conditional_10_For_5_Template, 4, 4, "label",
|
|
51992
|
+
i0.ɵɵelementStart(3, "div", 17);
|
|
51993
|
+
i0.ɵɵrepeaterCreate(4, FocusAreaToolsModalComponent_Conditional_0_Conditional_10_For_5_Template, 4, 4, "label", 18, i0.ɵɵrepeaterTrackByIdentity);
|
|
51976
51994
|
i0.ɵɵelementEnd()();
|
|
51977
51995
|
} if (rf & 2) {
|
|
51978
51996
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -52010,7 +52028,7 @@ function FocusAreaToolsModalComponent_Conditional_0_Template(rf, ctx) { if (rf &
|
|
|
52010
52028
|
i0.ɵɵlistener("click", function FocusAreaToolsModalComponent_Conditional_0_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onClose()); });
|
|
52011
52029
|
i0.ɵɵtext(17, " Cancel ");
|
|
52012
52030
|
i0.ɵɵelementEnd();
|
|
52013
|
-
i0.ɵɵelementStart(18, "button",
|
|
52031
|
+
i0.ɵɵelementStart(18, "button", 15);
|
|
52014
52032
|
i0.ɵɵlistener("click", function FocusAreaToolsModalComponent_Conditional_0_Template_button_click_18_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSave()); });
|
|
52015
52033
|
i0.ɵɵtext(19, " Save ");
|
|
52016
52034
|
i0.ɵɵelementEnd()()()();
|
|
@@ -52040,7 +52058,8 @@ function FocusAreaToolsModalComponent_Conditional_0_Template(rf, ctx) { if (rf &
|
|
|
52040
52058
|
i0.ɵɵadvance();
|
|
52041
52059
|
i0.ɵɵproperty("ngClass", ctx_r1.cancelButtonClasses());
|
|
52042
52060
|
i0.ɵɵadvance(2);
|
|
52043
|
-
i0.ɵɵ
|
|
52061
|
+
i0.ɵɵclassProp("cursor-pointer", ctx_r1.hasAnyToolSelected())("cursor-not-allowed", !ctx_r1.hasAnyToolSelected())("opacity-50", !ctx_r1.hasAnyToolSelected())("hover:scale-105", ctx_r1.hasAnyToolSelected());
|
|
52062
|
+
i0.ɵɵproperty("disabled", !ctx_r1.hasAnyToolSelected())("ngClass", ctx_r1.saveButtonClasses());
|
|
52044
52063
|
} }
|
|
52045
52064
|
class FocusAreaToolsModalComponent {
|
|
52046
52065
|
constructor() {
|
|
@@ -52054,6 +52073,11 @@ class FocusAreaToolsModalComponent {
|
|
|
52054
52073
|
this.selectedPredefinedTools = signal(new Set(), ...(ngDevMode ? [{ debugName: "selectedPredefinedTools" }] : []));
|
|
52055
52074
|
this.otherToolsText = signal('', ...(ngDevMode ? [{ debugName: "otherToolsText" }] : []));
|
|
52056
52075
|
this.predefinedTools = signal([], ...(ngDevMode ? [{ debugName: "predefinedTools" }] : []));
|
|
52076
|
+
this.hasAnyToolSelected = computed(() => {
|
|
52077
|
+
const predefinedCount = this.selectedPredefinedTools().size;
|
|
52078
|
+
const otherText = this.otherToolsText().trim();
|
|
52079
|
+
return predefinedCount > 0 || otherText.length > 0;
|
|
52080
|
+
}, ...(ngDevMode ? [{ debugName: "hasAnyToolSelected" }] : []));
|
|
52057
52081
|
effect(() => {
|
|
52058
52082
|
const domain = this.focusAreaDomain();
|
|
52059
52083
|
const tools = FocusAreaDomainEnumUtil.topTools(domain);
|
|
@@ -52177,8 +52201,8 @@ class FocusAreaToolsModalComponent {
|
|
|
52177
52201
|
static { this.ɵfac = function FocusAreaToolsModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FocusAreaToolsModalComponent)(); }; }
|
|
52178
52202
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FocusAreaToolsModalComponent, selectors: [["symphiq-focus-area-tools-modal"]], hostBindings: function FocusAreaToolsModalComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
52179
52203
|
i0.ɵɵlistener("keydown.escape", function FocusAreaToolsModalComponent_keydown_escape_HostBindingHandler() { return ctx.onEscapeKey(); }, i0.ɵɵresolveDocument);
|
|
52180
|
-
} }, inputs: { isOpen: [1, "isOpen"], focusAreaDomain: [1, "focusAreaDomain"], focusAreaTitle: [1, "focusAreaTitle"], selectedTools: [1, "selectedTools"], viewMode: [1, "viewMode"] }, outputs: { close: "close", save: "save" }, decls: 1, vars: 1, consts: [[1, "fixed", "inset-0", "z-[10002]", "flex", "items-center", "justify-center", "px-4"], [1, "fixed", "inset-0", "z-[10002]", "flex", "items-center", "justify-center", "px-4", 3, "click"], [1, "absolute", "inset-0", "backdrop-blur-sm", "animate-fade-in", "z-[10002]", 3, "ngClass"], [1, "relative", "w-full", "max-w-2xl", "rounded-2xl", "shadow-2xl", "animate-scale-in", "z-[10003]", "max-h-[90vh]", "flex", "flex-col", 3, "click", "ngClass"], [1, "px-6", "py-4", "border-b", "flex", "items-center", "justify-between", 3, "ngClass"], [1, "text-xl", "font-bold", 3, "ngClass"], ["type", "button", 1, "w-8", "h-8", "rounded-lg", "flex", "items-center", "justify-center", "transition-colors", "cursor-pointer", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "flex-1", "overflow-y-auto", "p-6"], [1, "mb-6"], [1, "block", "text-sm", "font-semibold", "mb-2", 3, "ngClass"], ["rows", "4", "placeholder", "Enter other tools (e.g., Custom Tool, Another Tool)", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngModelChange", "ngModel", "ngClass"], [1, "px-6", "py-4", "border-t", "flex", "items-center", "justify-end", "gap-3", 3, "ngClass"], ["type", "button", 1, "px-6", "py-2.5", "rounded-lg", "font-semibold", "text-sm", "transition-all", "duration-200", "cursor-pointer", "hover:scale-105", 3, "click", "ngClass"], [1, "block", "text-sm", "font-semibold", "mb-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "gap-3"], [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"]], template: function FocusAreaToolsModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
52181
|
-
i0.ɵɵconditionalCreate(0, FocusAreaToolsModalComponent_Conditional_0_Template, 20,
|
|
52204
|
+
} }, inputs: { isOpen: [1, "isOpen"], focusAreaDomain: [1, "focusAreaDomain"], focusAreaTitle: [1, "focusAreaTitle"], selectedTools: [1, "selectedTools"], viewMode: [1, "viewMode"] }, outputs: { close: "close", save: "save" }, decls: 1, vars: 1, consts: [[1, "fixed", "inset-0", "z-[10002]", "flex", "items-center", "justify-center", "px-4"], [1, "fixed", "inset-0", "z-[10002]", "flex", "items-center", "justify-center", "px-4", 3, "click"], [1, "absolute", "inset-0", "backdrop-blur-sm", "animate-fade-in", "z-[10002]", 3, "ngClass"], [1, "relative", "w-full", "max-w-2xl", "rounded-2xl", "shadow-2xl", "animate-scale-in", "z-[10003]", "max-h-[90vh]", "flex", "flex-col", 3, "click", "ngClass"], [1, "px-6", "py-4", "border-b", "flex", "items-center", "justify-between", 3, "ngClass"], [1, "text-xl", "font-bold", 3, "ngClass"], ["type", "button", 1, "w-8", "h-8", "rounded-lg", "flex", "items-center", "justify-center", "transition-colors", "cursor-pointer", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "flex-1", "overflow-y-auto", "p-6"], [1, "mb-6"], [1, "block", "text-sm", "font-semibold", "mb-2", 3, "ngClass"], ["rows", "4", "placeholder", "Enter other tools (e.g., Custom Tool, Another Tool)", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngModelChange", "ngModel", "ngClass"], [1, "px-6", "py-4", "border-t", "flex", "items-center", "justify-end", "gap-3", 3, "ngClass"], ["type", "button", 1, "px-6", "py-2.5", "rounded-lg", "font-semibold", "text-sm", "transition-all", "duration-200", "cursor-pointer", "hover:scale-105", 3, "click", "ngClass"], ["type", "button", 1, "px-6", "py-2.5", "rounded-lg", "font-semibold", "text-sm", "transition-all", "duration-200", 3, "click", "disabled", "ngClass"], [1, "block", "text-sm", "font-semibold", "mb-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "gap-3"], [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"]], template: function FocusAreaToolsModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
52205
|
+
i0.ɵɵconditionalCreate(0, FocusAreaToolsModalComponent_Conditional_0_Template, 20, 22, "div", 0);
|
|
52182
52206
|
} if (rf & 2) {
|
|
52183
52207
|
i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
|
|
52184
52208
|
} }, dependencies: [CommonModule, i1$1.NgClass, FormsModule, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgModel], styles: ["@keyframes _ngcontent-%COMP%_fade-in{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.animate-fade-in[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fade-in .2s ease-out}.animate-scale-in[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_scale-in .2s ease-out}"], changeDetection: 0 }); }
|
|
@@ -52268,8 +52292,13 @@ class FocusAreaToolsModalComponent {
|
|
|
52268
52292
|
<button
|
|
52269
52293
|
type="button"
|
|
52270
52294
|
(click)="onSave()"
|
|
52295
|
+
[disabled]="!hasAnyToolSelected()"
|
|
52271
52296
|
[ngClass]="saveButtonClasses()"
|
|
52272
|
-
class="px-6 py-2.5 rounded-lg font-semibold text-sm transition-all duration-200
|
|
52297
|
+
class="px-6 py-2.5 rounded-lg font-semibold text-sm transition-all duration-200"
|
|
52298
|
+
[class.cursor-pointer]="hasAnyToolSelected()"
|
|
52299
|
+
[class.cursor-not-allowed]="!hasAnyToolSelected()"
|
|
52300
|
+
[class.opacity-50]="!hasAnyToolSelected()"
|
|
52301
|
+
[class.hover:scale-105]="hasAnyToolSelected()">
|
|
52273
52302
|
Save
|
|
52274
52303
|
</button>
|
|
52275
52304
|
</div>
|
|
@@ -52281,7 +52310,7 @@ class FocusAreaToolsModalComponent {
|
|
|
52281
52310
|
type: HostListener,
|
|
52282
52311
|
args: ['document:keydown.escape']
|
|
52283
52312
|
}] }); })();
|
|
52284
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FocusAreaToolsModalComponent, { className: "FocusAreaToolsModalComponent", filePath: "lib/components/create-account-dashboard/focus-area-tools-modal.component.ts", lineNumber:
|
|
52313
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FocusAreaToolsModalComponent, { className: "FocusAreaToolsModalComponent", filePath: "lib/components/create-account-dashboard/focus-area-tools-modal.component.ts", lineNumber: 149 }); })();
|
|
52285
52314
|
|
|
52286
52315
|
const _c0$q = ["shopNameInput"];
|
|
52287
52316
|
const _forTrack0$i = ($index, $item) => $item.focusAreaDomain;
|
|
@@ -52767,60 +52796,50 @@ function SymphiqCreateAccountDashboardComponent_Conditional_26_Template(rf, ctx)
|
|
|
52767
52796
|
i0.ɵɵadvance(2);
|
|
52768
52797
|
i0.ɵɵrepeater(ctx_r1.allFocusAreaDomains());
|
|
52769
52798
|
} }
|
|
52770
|
-
function
|
|
52771
|
-
i0.ɵɵelementStart(0, "div", 74);
|
|
52772
|
-
i0.ɵɵtext(1);
|
|
52773
|
-
i0.ɵɵelementEnd();
|
|
52774
|
-
} if (rf & 2) {
|
|
52775
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
52776
|
-
i0.ɵɵproperty("ngClass", ctx_r1.validationMessageClasses());
|
|
52777
|
-
i0.ɵɵadvance();
|
|
52778
|
-
i0.ɵɵtextInterpolate3(" Please answer all ", ctx_r1.totalFocusAreas(), " focus area questions before creating your account. ", ctx_r1.focusAreasAnswered(), " of ", ctx_r1.totalFocusAreas(), " completed. ");
|
|
52779
|
-
} }
|
|
52780
|
-
function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
52799
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
52781
52800
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
52782
|
-
i0.ɵɵelementStart(0, "button",
|
|
52783
|
-
i0.ɵɵlistener("click", function
|
|
52801
|
+
i0.ɵɵelementStart(0, "button", 77);
|
|
52802
|
+
i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.focusAreasEditMode() ? ctx_r1.cancelFocusAreasEditMode() : ctx_r1.cancelEditMode()); });
|
|
52784
52803
|
i0.ɵɵtext(1, " Cancel ");
|
|
52785
52804
|
i0.ɵɵelementEnd();
|
|
52786
52805
|
} if (rf & 2) {
|
|
52787
52806
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
52788
52807
|
i0.ɵɵproperty("ngClass", ctx_r1.cancelButtonClasses());
|
|
52789
52808
|
} }
|
|
52790
|
-
function
|
|
52809
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
52791
52810
|
i0.ɵɵtext(0, " Saving Focus Areas... ");
|
|
52792
52811
|
} }
|
|
52793
|
-
function
|
|
52812
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
52794
52813
|
i0.ɵɵtext(0, " Updating Account... ");
|
|
52795
52814
|
} }
|
|
52796
|
-
function
|
|
52815
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
52797
52816
|
i0.ɵɵtext(0, " Creating Account... ");
|
|
52798
52817
|
} }
|
|
52799
|
-
function
|
|
52818
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
52800
52819
|
i0.ɵɵnamespaceSVG();
|
|
52801
|
-
i0.ɵɵelementStart(0, "svg",
|
|
52802
|
-
i0.ɵɵelement(1, "circle",
|
|
52820
|
+
i0.ɵɵelementStart(0, "svg", 78);
|
|
52821
|
+
i0.ɵɵelement(1, "circle", 79)(2, "path", 80);
|
|
52803
52822
|
i0.ɵɵelementEnd();
|
|
52804
|
-
i0.ɵɵconditionalCreate(3,
|
|
52823
|
+
i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Conditional_3_Template, 1, 0)(4, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Conditional_4_Template, 1, 0)(5, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Conditional_5_Template, 1, 0);
|
|
52805
52824
|
} if (rf & 2) {
|
|
52806
52825
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
52807
52826
|
i0.ɵɵadvance(3);
|
|
52808
52827
|
i0.ɵɵconditional(ctx_r1.focusAreasEditMode() ? 3 : ctx_r1.accountData() && ctx_r1.editMode() ? 4 : 5);
|
|
52809
52828
|
} }
|
|
52810
|
-
function
|
|
52829
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
52811
52830
|
i0.ɵɵtext(0, " Save Focus Areas ");
|
|
52812
52831
|
} }
|
|
52813
|
-
function
|
|
52832
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
52814
52833
|
i0.ɵɵtext(0, " Save Changes ");
|
|
52815
52834
|
} }
|
|
52816
|
-
function
|
|
52835
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
52817
52836
|
i0.ɵɵtext(0, " Create Account ");
|
|
52818
52837
|
} }
|
|
52819
|
-
function
|
|
52820
|
-
i0.ɵɵconditionalCreate(0,
|
|
52838
|
+
function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
52839
|
+
i0.ɵɵconditionalCreate(0, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Conditional_0_Template, 1, 0)(1, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Conditional_1_Template, 1, 0)(2, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Conditional_2_Template, 1, 0);
|
|
52821
52840
|
i0.ɵɵnamespaceSVG();
|
|
52822
|
-
i0.ɵɵelementStart(3, "svg",
|
|
52823
|
-
i0.ɵɵelement(4, "path",
|
|
52841
|
+
i0.ɵɵelementStart(3, "svg", 81);
|
|
52842
|
+
i0.ɵɵelement(4, "path", 82);
|
|
52824
52843
|
i0.ɵɵelementEnd();
|
|
52825
52844
|
} if (rf & 2) {
|
|
52826
52845
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -52828,26 +52847,22 @@ function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_7_Tem
|
|
|
52828
52847
|
} }
|
|
52829
52848
|
function SymphiqCreateAccountDashboardComponent_Conditional_28_Template(rf, ctx) { if (rf & 1) {
|
|
52830
52849
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
52831
|
-
i0.ɵɵelementStart(0, "div", 17)(1, "div", 73);
|
|
52832
|
-
i0.ɵɵconditionalCreate(
|
|
52833
|
-
i0.ɵɵelementStart(
|
|
52834
|
-
i0.ɵɵ
|
|
52835
|
-
i0.ɵɵ
|
|
52836
|
-
i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_28_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.focusAreasEditMode() ? ctx_r1.handleSaveFocusAreas() : ctx_r1.handleContinue()); });
|
|
52837
|
-
i0.ɵɵconditionalCreate(6, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Template, 6, 1)(7, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_7_Template, 5, 1);
|
|
52850
|
+
i0.ɵɵelementStart(0, "div", 17)(1, "div", 73)(2, "div", 74);
|
|
52851
|
+
i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_3_Template, 2, 1, "button", 75);
|
|
52852
|
+
i0.ɵɵelementStart(4, "button", 76);
|
|
52853
|
+
i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_28_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.focusAreasEditMode() ? ctx_r1.handleSaveFocusAreas() : ctx_r1.handleContinue()); });
|
|
52854
|
+
i0.ɵɵconditionalCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Template, 6, 1)(6, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Template, 5, 1);
|
|
52838
52855
|
i0.ɵɵelementEnd()()()();
|
|
52839
52856
|
} if (rf & 2) {
|
|
52840
52857
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
52841
52858
|
i0.ɵɵproperty("ngClass", ctx_r1.stickyButtonContainerClasses());
|
|
52842
|
-
i0.ɵɵadvance(
|
|
52843
|
-
i0.ɵɵconditional(
|
|
52844
|
-
i0.ɵɵadvance(2);
|
|
52845
|
-
i0.ɵɵconditional(ctx_r1.accountData() && ctx_r1.editMode() || ctx_r1.accountData() && ctx_r1.focusAreasEditMode() ? 4 : -1);
|
|
52859
|
+
i0.ɵɵadvance(3);
|
|
52860
|
+
i0.ɵɵconditional(ctx_r1.accountData() && ctx_r1.editMode() || ctx_r1.accountData() && ctx_r1.focusAreasEditMode() ? 3 : -1);
|
|
52846
52861
|
i0.ɵɵadvance();
|
|
52847
52862
|
i0.ɵɵclassProp("cursor-pointer", ctx_r1.isButtonEnabled())("cursor-not-allowed", !ctx_r1.isButtonEnabled())("opacity-50", !ctx_r1.isButtonEnabled())("hover:scale-105", ctx_r1.isButtonEnabled());
|
|
52848
52863
|
i0.ɵɵproperty("disabled", !ctx_r1.isButtonEnabled())("ngClass", ctx_r1.continueButtonClasses());
|
|
52849
52864
|
i0.ɵɵadvance();
|
|
52850
|
-
i0.ɵɵconditional(ctx_r1.isLoading() ?
|
|
52865
|
+
i0.ɵɵconditional(ctx_r1.isLoading() ? 5 : 6);
|
|
52851
52866
|
} }
|
|
52852
52867
|
var ShopPlatformEnum;
|
|
52853
52868
|
(function (ShopPlatformEnum) {
|
|
@@ -53425,7 +53440,7 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
53425
53440
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.shopNameInput = _t.first);
|
|
53426
53441
|
} }, hostBindings: function SymphiqCreateAccountDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
53427
53442
|
i0.ɵɵlistener("scroll", function SymphiqCreateAccountDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow);
|
|
53428
|
-
} }, 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: 29, vars: 51, 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, "max-w-3xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [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"], [1, "px-8", "py-8", 3, "ngClass"], [1, "flex", "items-start", "justify-between", "mb-6"], [1, "text-2xl", "font-bold", "mb-2", 3, "ngClass"], ["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"], [1, "text-base", 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"], ["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, "
|
|
53443
|
+
} }, 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: 29, vars: 51, 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, "max-w-3xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [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"], [1, "px-8", "py-8", 3, "ngClass"], [1, "flex", "items-start", "justify-between", "mb-6"], [1, "text-2xl", "font-bold", "mb-2", 3, "ngClass"], ["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"], [1, "text-base", 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"], ["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) {
|
|
53429
53444
|
i0.ɵɵelementStart(0, "div", 1)(1, "div");
|
|
53430
53445
|
i0.ɵɵelement(2, "div", 2);
|
|
53431
53446
|
i0.ɵɵelementEnd();
|
|
@@ -53451,7 +53466,7 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
53451
53466
|
i0.ɵɵelementStart(27, "symphiq-focus-area-tools-modal", 16);
|
|
53452
53467
|
i0.ɵɵlistener("close", function SymphiqCreateAccountDashboardComponent_Template_symphiq_focus_area_tools_modal_close_27_listener() { return ctx.onToolsModalClose(); })("save", function SymphiqCreateAccountDashboardComponent_Template_symphiq_focus_area_tools_modal_save_27_listener($event) { return ctx.onToolsModalSave($event); });
|
|
53453
53468
|
i0.ɵɵelementEnd();
|
|
53454
|
-
i0.ɵɵconditionalCreate(28, SymphiqCreateAccountDashboardComponent_Conditional_28_Template,
|
|
53469
|
+
i0.ɵɵconditionalCreate(28, SymphiqCreateAccountDashboardComponent_Conditional_28_Template, 7, 13, "div", 17);
|
|
53455
53470
|
i0.ɵɵelementEnd()();
|
|
53456
53471
|
} if (rf & 2) {
|
|
53457
53472
|
i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
|
|
@@ -53969,12 +53984,6 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
53969
53984
|
@if (!accountData() || editMode() || focusAreasEditMode()) {
|
|
53970
53985
|
<div [ngClass]="stickyButtonContainerClasses()" class="fixed bottom-0 left-0 right-0 z-50 border-t backdrop-blur-sm">
|
|
53971
53986
|
<div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
|
|
53972
|
-
@if (!allFocusAreasAnswered() && !accountData()) {
|
|
53973
|
-
<div [ngClass]="validationMessageClasses()" class="mb-3 p-3 rounded-lg text-sm">
|
|
53974
|
-
Please answer all {{ totalFocusAreas() }} focus area questions before creating your account.
|
|
53975
|
-
{{ focusAreasAnswered() }} of {{ totalFocusAreas() }} completed.
|
|
53976
|
-
</div>
|
|
53977
|
-
}
|
|
53978
53987
|
<div class="flex items-center gap-3">
|
|
53979
53988
|
@if ((accountData() && editMode()) || (accountData() && focusAreasEditMode())) {
|
|
53980
53989
|
<button
|
|
@@ -54034,7 +54043,7 @@ class SymphiqCreateAccountDashboardComponent {
|
|
|
54034
54043
|
type: HostListener,
|
|
54035
54044
|
args: ['window:scroll', ['$event']]
|
|
54036
54045
|
}] }); })();
|
|
54037
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqCreateAccountDashboardComponent, { className: "SymphiqCreateAccountDashboardComponent", filePath: "lib/components/create-account-dashboard/symphiq-create-account-dashboard.component.ts", lineNumber:
|
|
54046
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqCreateAccountDashboardComponent, { className: "SymphiqCreateAccountDashboardComponent", filePath: "lib/components/create-account-dashboard/symphiq-create-account-dashboard.component.ts", lineNumber: 623 }); })();
|
|
54038
54047
|
|
|
54039
54048
|
class SymphiqConnectGaDashboardComponent {
|
|
54040
54049
|
constructor() {
|