@eric-emg/symphiq-components 1.2.362 → 1.2.364
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 +133 -114
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +21 -21
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/styles.css +3 -0
|
@@ -88520,7 +88520,17 @@ class ShopProfileQuestionCardComponent {
|
|
|
88520
88520
|
|
|
88521
88521
|
const _c0$5 = ["scrollContainer"];
|
|
88522
88522
|
const _forTrack0$2 = ($index, $item) => $item.tempId;
|
|
88523
|
-
function
|
|
88523
|
+
function ShopProfileQuestionAnswerComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
88524
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
88525
|
+
i0.ɵɵtext(1);
|
|
88526
|
+
i0.ɵɵelementEnd();
|
|
88527
|
+
} if (rf & 2) {
|
|
88528
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
88529
|
+
i0.ɵɵproperty("ngClass", ctx_r1.breadcrumbClasses());
|
|
88530
|
+
i0.ɵɵadvance();
|
|
88531
|
+
i0.ɵɵtextInterpolate1(" Shop > ", ctx_r1.breadcrumbPath(), " ");
|
|
88532
|
+
} }
|
|
88533
|
+
function ShopProfileQuestionAnswerComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
88524
88534
|
i0.ɵɵelementStart(0, "p", 13);
|
|
88525
88535
|
i0.ɵɵtext(1);
|
|
88526
88536
|
i0.ɵɵelementEnd();
|
|
@@ -88530,8 +88540,8 @@ function ShopProfileQuestionAnswerComponent_Conditional_17_Template(rf, ctx) { i
|
|
|
88530
88540
|
i0.ɵɵadvance();
|
|
88531
88541
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.question().context, " ");
|
|
88532
88542
|
} }
|
|
88533
|
-
function
|
|
88534
|
-
i0.ɵɵelementStart(0, "span",
|
|
88543
|
+
function ShopProfileQuestionAnswerComponent_Conditional_17_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
88544
|
+
i0.ɵɵelementStart(0, "span", 38);
|
|
88535
88545
|
i0.ɵɵtext(1);
|
|
88536
88546
|
i0.ɵɵelementEnd();
|
|
88537
88547
|
} if (rf & 2) {
|
|
@@ -88541,17 +88551,17 @@ function ShopProfileQuestionAnswerComponent_Conditional_18_For_8_Template(rf, ct
|
|
|
88541
88551
|
i0.ɵɵadvance();
|
|
88542
88552
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.getFocusAreaTitle(focusArea_r3), " ");
|
|
88543
88553
|
} }
|
|
88544
|
-
function
|
|
88545
|
-
i0.ɵɵelementStart(0, "div", 14)(1, "div",
|
|
88554
|
+
function ShopProfileQuestionAnswerComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
88555
|
+
i0.ɵɵelementStart(0, "div", 14)(1, "div", 33)(2, "span", 34);
|
|
88546
88556
|
i0.ɵɵtext(3);
|
|
88547
88557
|
i0.ɵɵelementEnd();
|
|
88548
88558
|
i0.ɵɵnamespaceSVG();
|
|
88549
|
-
i0.ɵɵelementStart(4, "svg",
|
|
88550
|
-
i0.ɵɵelement(5, "path",
|
|
88559
|
+
i0.ɵɵelementStart(4, "svg", 35);
|
|
88560
|
+
i0.ɵɵelement(5, "path", 36);
|
|
88551
88561
|
i0.ɵɵelementEnd()();
|
|
88552
88562
|
i0.ɵɵnamespaceHTML();
|
|
88553
|
-
i0.ɵɵelementStart(6, "div",
|
|
88554
|
-
i0.ɵɵrepeaterCreate(7,
|
|
88563
|
+
i0.ɵɵelementStart(6, "div", 37);
|
|
88564
|
+
i0.ɵɵrepeaterCreate(7, ShopProfileQuestionAnswerComponent_Conditional_17_For_8_Template, 2, 2, "span", 38, i0.ɵɵrepeaterTrackByIdentity);
|
|
88555
88565
|
i0.ɵɵelementEnd()();
|
|
88556
88566
|
} if (rf & 2) {
|
|
88557
88567
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -88564,12 +88574,12 @@ function ShopProfileQuestionAnswerComponent_Conditional_18_Template(rf, ctx) { i
|
|
|
88564
88574
|
i0.ɵɵadvance(3);
|
|
88565
88575
|
i0.ɵɵrepeater(ctx_r1.relatedFocusAreas());
|
|
88566
88576
|
} }
|
|
88567
|
-
function
|
|
88577
|
+
function ShopProfileQuestionAnswerComponent_For_21_Template(rf, ctx) { if (rf & 1) {
|
|
88568
88578
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
88569
|
-
i0.ɵɵelementStart(0, "label", 17)(1, "input",
|
|
88570
|
-
i0.ɵɵlistener("change", function
|
|
88579
|
+
i0.ɵɵelementStart(0, "label", 17)(1, "input", 39);
|
|
88580
|
+
i0.ɵɵlistener("change", function ShopProfileQuestionAnswerComponent_For_21_Template_input_change_1_listener() { const option_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleAnswer(option_r5.text)); });
|
|
88571
88581
|
i0.ɵɵelementEnd();
|
|
88572
|
-
i0.ɵɵelementStart(2, "span",
|
|
88582
|
+
i0.ɵɵelementStart(2, "span", 40);
|
|
88573
88583
|
i0.ɵɵtext(3);
|
|
88574
88584
|
i0.ɵɵelementEnd()();
|
|
88575
88585
|
} if (rf & 2) {
|
|
@@ -88583,10 +88593,10 @@ function ShopProfileQuestionAnswerComponent_For_22_Template(rf, ctx) { if (rf &
|
|
|
88583
88593
|
i0.ɵɵadvance();
|
|
88584
88594
|
i0.ɵɵtextInterpolate1(" ", option_r5.text, " ");
|
|
88585
88595
|
} }
|
|
88586
|
-
function
|
|
88596
|
+
function ShopProfileQuestionAnswerComponent_Conditional_32_Template(rf, ctx) { if (rf & 1) {
|
|
88587
88597
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
88588
|
-
i0.ɵɵelementStart(0, "button",
|
|
88589
|
-
i0.ɵɵlistener("click", function
|
|
88598
|
+
i0.ɵɵelementStart(0, "button", 41);
|
|
88599
|
+
i0.ɵɵlistener("click", function ShopProfileQuestionAnswerComponent_Conditional_32_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleAddOtherAnswers()); });
|
|
88590
88600
|
i0.ɵɵtext(1, " Add other answers ");
|
|
88591
88601
|
i0.ɵɵelementEnd();
|
|
88592
88602
|
} if (rf & 2) {
|
|
@@ -88858,8 +88868,8 @@ class ShopProfileQuestionAnswerComponent {
|
|
|
88858
88868
|
}
|
|
88859
88869
|
footerClasses() {
|
|
88860
88870
|
return this.isLightMode()
|
|
88861
|
-
? 'bg-white
|
|
88862
|
-
: 'bg-slate-800
|
|
88871
|
+
? 'bg-white border-slate-200'
|
|
88872
|
+
: 'bg-slate-800 border-slate-700/50';
|
|
88863
88873
|
}
|
|
88864
88874
|
saveButtonClasses() {
|
|
88865
88875
|
if (this.saveButtonsDisabled()) {
|
|
@@ -88887,59 +88897,58 @@ class ShopProfileQuestionAnswerComponent {
|
|
|
88887
88897
|
} if (rf & 2) {
|
|
88888
88898
|
let _t;
|
|
88889
88899
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scrollContainer = _t.first);
|
|
88890
|
-
} }, inputs: { question: [1, "question"], viewMode: [1, "viewMode"], viewType: [1, "viewType"], selectedCategoryId: [1, "selectedCategoryId"], selectedFocusAreaId: [1, "selectedFocusAreaId"], filteredQuestions: [1, "filteredQuestions"], profileShopAnswers: [1, "profileShopAnswers"] }, outputs: { backClick: "backClick", saveClick: "saveClick", saveAndNextClick: "saveAndNextClick" }, decls:
|
|
88900
|
+
} }, inputs: { question: [1, "question"], viewMode: [1, "viewMode"], viewType: [1, "viewType"], selectedCategoryId: [1, "selectedCategoryId"], selectedFocusAreaId: [1, "selectedFocusAreaId"], filteredQuestions: [1, "filteredQuestions"], profileShopAnswers: [1, "profileShopAnswers"] }, outputs: { backClick: "backClick", saveClick: "saveClick", saveAndNextClick: "saveAndNextClick" }, decls: 42, vars: 34, consts: [["scrollContainer", ""], [1, "flex", "flex-col", "h-full"], [1, "flex-1", "overflow-y-auto", 3, "scroll"], [1, "px-6", "py-4", "border-b", 3, "ngClass"], [1, "text-sm", "font-semibold", "mb-3", 3, "ngClass"], [1, "flex", "items-center", "gap-3"], [1, "flex-1"], [1, "h-2", "rounded-full", "overflow-hidden", 3, "ngClass"], [1, "h-full", "transition-all", "duration-500", "ease-out", "rounded-full", 3, "ngClass"], [1, "text-sm", "font-medium", "whitespace-nowrap", 3, "ngClass"], [1, "sticky", "top-0", "z-10", "px-6", "py-4", "transition-all", "duration-300", 3, "ngClass"], [1, "text-sm", "italic", "mb-2", 3, "ngClass"], [1, "font-bold", "transition-all", "duration-300", 3, "ngClass"], [1, "text-sm", "leading-relaxed", "mt-3", 3, "ngClass"], [1, "mt-4"], [1, "px-6", "py-6"], [1, "space-y-3", "mb-4"], [1, "flex", "items-start", "gap-3", "p-4", "rounded-lg", "cursor-pointer", "transition-all", "duration-200", "hover:scale-[1.01]", 3, "ngClass"], [1, "mb-6"], [1, "grid", "transition-[grid-template-rows]", "duration-300", "ease-in-out"], [1, "overflow-hidden", "min-h-0"], [1, "pb-4"], ["rows", "5", "placeholder", "Enter your answer(s) here, separated by returns.", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "text-sm", "resize-y", "transition-colors", "duration-200", "focus:ring-2", "focus:ring-offset-2", 3, "ngModelChange", "ngModel", "ngClass"], [1, "flex", "items-center", "gap-3", "mt-3"], ["type", "button", 1, "px-5", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "hover:scale-105", "active:scale-95", 3, "click", "ngClass"], ["type", "button", 1, "flex-1", "px-5", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "disabled:opacity-50", "disabled:cursor-not-allowed", "disabled:hover:scale-100", 3, "click", "disabled", "ngClass"], ["type", "button", 1, "w-full", "px-5", "py-3", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "border-2", "hover:scale-[1.01]", "active:scale-[0.99]", 3, "ngClass"], [1, "px-6", "py-4", "border-t", "sticky", "bottom-0", "z-10", 3, "ngClass"], [1, "flex", "items-center", "gap-4"], ["type", "button", 1, "px-5", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "border", "disabled:opacity-50", "disabled:cursor-not-allowed", "hover:scale-[1.02]", "active:scale-95", "disabled:hover:scale-100", 3, "click", "disabled", "ngClass"], ["type", "button", 1, "flex-1", "px-5", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-2", "disabled:opacity-50", "disabled:cursor-not-allowed", "hover:scale-[1.01]", "active:scale-[0.99]", "disabled:hover:scale-100", 3, "click", "disabled", "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", "M9 5l7 7-7 7"], [1, "flex", "items-center", "gap-2", "mb-2"], [1, "text-xs", "font-semibold", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "flex", "flex-wrap", "gap-2"], [1, "px-3", "py-1.5", "rounded-full", "text-xs", "font-medium", 3, "ngClass"], ["type", "checkbox", 1, "mt-0.5", "w-5", "h-5", "rounded", "border-2", "cursor-pointer", "transition-all", "duration-200", "focus:ring-2", "focus:ring-offset-2", 3, "change", "checked", "ngClass"], [1, "text-base", "flex-1", 3, "ngClass"], ["type", "button", 1, "w-full", "px-5", "py-3", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "border-2", "hover:scale-[1.01]", "active:scale-[0.99]", 3, "click", "ngClass"]], template: function ShopProfileQuestionAnswerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
88891
88901
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
88892
|
-
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2
|
|
88893
|
-
i0.ɵɵ
|
|
88902
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2, 0);
|
|
88903
|
+
i0.ɵɵlistener("scroll", function ShopProfileQuestionAnswerComponent_Template_div_scroll_1_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onScroll()); });
|
|
88904
|
+
i0.ɵɵelementStart(3, "div", 3)(4, "h4", 4);
|
|
88905
|
+
i0.ɵɵtext(5, " Unanswered questions status ");
|
|
88894
88906
|
i0.ɵɵelementEnd();
|
|
88895
|
-
i0.ɵɵelementStart(
|
|
88896
|
-
i0.ɵɵelement(
|
|
88907
|
+
i0.ɵɵelementStart(6, "div", 5)(7, "div", 6)(8, "div", 7);
|
|
88908
|
+
i0.ɵɵelement(9, "div", 8);
|
|
88897
88909
|
i0.ɵɵelementEnd()();
|
|
88898
|
-
i0.ɵɵelementStart(
|
|
88899
|
-
i0.ɵɵtext(
|
|
88910
|
+
i0.ɵɵelementStart(10, "div", 9);
|
|
88911
|
+
i0.ɵɵtext(11);
|
|
88900
88912
|
i0.ɵɵelementEnd()()();
|
|
88901
|
-
i0.ɵɵelementStart(
|
|
88902
|
-
i0.ɵɵ
|
|
88903
|
-
i0.ɵɵelementStart(
|
|
88904
|
-
i0.ɵɵtext(
|
|
88905
|
-
i0.ɵɵelementEnd();
|
|
88906
|
-
i0.ɵɵelementStart(15, "h2", 12);
|
|
88907
|
-
i0.ɵɵtext(16);
|
|
88913
|
+
i0.ɵɵelementStart(12, "div", 10);
|
|
88914
|
+
i0.ɵɵconditionalCreate(13, ShopProfileQuestionAnswerComponent_Conditional_13_Template, 2, 2, "div", 11);
|
|
88915
|
+
i0.ɵɵelementStart(14, "h2", 12);
|
|
88916
|
+
i0.ɵɵtext(15);
|
|
88908
88917
|
i0.ɵɵelementEnd();
|
|
88909
|
-
i0.ɵɵconditionalCreate(
|
|
88910
|
-
i0.ɵɵconditionalCreate(
|
|
88918
|
+
i0.ɵɵconditionalCreate(16, ShopProfileQuestionAnswerComponent_Conditional_16_Template, 2, 2, "p", 13);
|
|
88919
|
+
i0.ɵɵconditionalCreate(17, ShopProfileQuestionAnswerComponent_Conditional_17_Template, 9, 3, "div", 14);
|
|
88911
88920
|
i0.ɵɵelementEnd();
|
|
88912
|
-
i0.ɵɵelementStart(
|
|
88913
|
-
i0.ɵɵrepeaterCreate(
|
|
88921
|
+
i0.ɵɵelementStart(18, "div", 15)(19, "div", 16);
|
|
88922
|
+
i0.ɵɵrepeaterCreate(20, ShopProfileQuestionAnswerComponent_For_21_Template, 4, 5, "label", 17, _forTrack0$2);
|
|
88914
88923
|
i0.ɵɵelementEnd();
|
|
88915
|
-
i0.ɵɵelementStart(
|
|
88916
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
88924
|
+
i0.ɵɵelementStart(22, "div", 18)(23, "div", 19)(24, "div", 20)(25, "div", 21)(26, "textarea", 22);
|
|
88925
|
+
i0.ɵɵtwoWayListener("ngModelChange", function ShopProfileQuestionAnswerComponent_Template_textarea_ngModelChange_26_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.customAnswerText, $event) || (ctx.customAnswerText = $event); return i0.ɵɵresetView($event); });
|
|
88917
88926
|
i0.ɵɵelementEnd();
|
|
88918
|
-
i0.ɵɵelementStart(
|
|
88919
|
-
i0.ɵɵlistener("click", function
|
|
88920
|
-
i0.ɵɵtext(
|
|
88927
|
+
i0.ɵɵelementStart(27, "div", 23)(28, "button", 24);
|
|
88928
|
+
i0.ɵɵlistener("click", function ShopProfileQuestionAnswerComponent_Template_button_click_28_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancelCustomAnswers()); });
|
|
88929
|
+
i0.ɵɵtext(29, " Cancel ");
|
|
88921
88930
|
i0.ɵɵelementEnd();
|
|
88922
|
-
i0.ɵɵelementStart(
|
|
88923
|
-
i0.ɵɵlistener("click", function
|
|
88924
|
-
i0.ɵɵtext(
|
|
88931
|
+
i0.ɵɵelementStart(30, "button", 25);
|
|
88932
|
+
i0.ɵɵlistener("click", function ShopProfileQuestionAnswerComponent_Template_button_click_30_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.addCustomAnswers()); });
|
|
88933
|
+
i0.ɵɵtext(31, " Add ");
|
|
88925
88934
|
i0.ɵɵelementEnd()()()()();
|
|
88926
|
-
i0.ɵɵconditionalCreate(
|
|
88935
|
+
i0.ɵɵconditionalCreate(32, ShopProfileQuestionAnswerComponent_Conditional_32_Template, 2, 1, "button", 26);
|
|
88927
88936
|
i0.ɵɵelementEnd()()();
|
|
88928
|
-
i0.ɵɵelementStart(
|
|
88929
|
-
i0.ɵɵlistener("click", function
|
|
88930
|
-
i0.ɵɵtext(
|
|
88937
|
+
i0.ɵɵelementStart(33, "div", 27)(34, "div", 28)(35, "button", 29);
|
|
88938
|
+
i0.ɵɵlistener("click", function ShopProfileQuestionAnswerComponent_Template_button_click_35_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onSave()); });
|
|
88939
|
+
i0.ɵɵtext(36, " Save ");
|
|
88931
88940
|
i0.ɵɵelementEnd();
|
|
88932
|
-
i0.ɵɵelementStart(
|
|
88933
|
-
i0.ɵɵlistener("click", function
|
|
88934
|
-
i0.ɵɵelementStart(
|
|
88935
|
-
i0.ɵɵtext(
|
|
88941
|
+
i0.ɵɵelementStart(37, "button", 30);
|
|
88942
|
+
i0.ɵɵlistener("click", function ShopProfileQuestionAnswerComponent_Template_button_click_37_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onSaveAndNext()); });
|
|
88943
|
+
i0.ɵɵelementStart(38, "span");
|
|
88944
|
+
i0.ɵɵtext(39, "Save & next unanswered");
|
|
88936
88945
|
i0.ɵɵelementEnd();
|
|
88937
88946
|
i0.ɵɵnamespaceSVG();
|
|
88938
|
-
i0.ɵɵelementStart(
|
|
88939
|
-
i0.ɵɵelement(
|
|
88947
|
+
i0.ɵɵelementStart(40, "svg", 31);
|
|
88948
|
+
i0.ɵɵelement(41, "path", 32);
|
|
88940
88949
|
i0.ɵɵelementEnd()()()()();
|
|
88941
88950
|
} if (rf & 2) {
|
|
88942
|
-
i0.ɵɵadvance();
|
|
88951
|
+
i0.ɵɵadvance(3);
|
|
88943
88952
|
i0.ɵɵproperty("ngClass", ctx.statusHeaderClasses());
|
|
88944
88953
|
i0.ɵɵadvance();
|
|
88945
88954
|
i0.ɵɵproperty("ngClass", ctx.statusTitleClasses());
|
|
@@ -88952,22 +88961,20 @@ class ShopProfileQuestionAnswerComponent {
|
|
|
88952
88961
|
i0.ɵɵproperty("ngClass", ctx.progressTextClasses());
|
|
88953
88962
|
i0.ɵɵadvance();
|
|
88954
88963
|
i0.ɵɵtextInterpolate2(" ", ctx.answeredCount(), " / ", ctx.totalCount(), " answered ");
|
|
88955
|
-
i0.ɵɵadvance(
|
|
88964
|
+
i0.ɵɵadvance();
|
|
88956
88965
|
i0.ɵɵclassProp("shadow-md", ctx.isSticky());
|
|
88957
88966
|
i0.ɵɵproperty("ngClass", ctx.stickyHeaderClasses());
|
|
88958
88967
|
i0.ɵɵadvance();
|
|
88959
|
-
i0.ɵɵ
|
|
88960
|
-
i0.ɵɵadvance();
|
|
88961
|
-
i0.ɵɵtextInterpolate1(" Shop > ", ctx.breadcrumbPath(), " ");
|
|
88968
|
+
i0.ɵɵconditional(ctx.viewType() !== "all" ? 13 : -1);
|
|
88962
88969
|
i0.ɵɵadvance();
|
|
88963
88970
|
i0.ɵɵclassProp("text-xl", !ctx.isSticky())("text-lg", ctx.isSticky());
|
|
88964
88971
|
i0.ɵɵproperty("ngClass", ctx.questionTextClasses());
|
|
88965
88972
|
i0.ɵɵadvance();
|
|
88966
88973
|
i0.ɵɵtextInterpolate1(" ", ctx.question().question, " ");
|
|
88967
88974
|
i0.ɵɵadvance();
|
|
88968
|
-
i0.ɵɵconditional(ctx.question().context && !ctx.isSticky() ?
|
|
88975
|
+
i0.ɵɵconditional(ctx.question().context && !ctx.isSticky() ? 16 : -1);
|
|
88969
88976
|
i0.ɵɵadvance();
|
|
88970
|
-
i0.ɵɵconditional(ctx.relatedFocusAreas().length > 0 && !ctx.isSticky() ?
|
|
88977
|
+
i0.ɵɵconditional(ctx.relatedFocusAreas().length > 0 && !ctx.isSticky() ? 17 : -1);
|
|
88971
88978
|
i0.ɵɵadvance(3);
|
|
88972
88979
|
i0.ɵɵrepeater(ctx.answerOptions());
|
|
88973
88980
|
i0.ɵɵadvance(3);
|
|
@@ -88980,7 +88987,7 @@ class ShopProfileQuestionAnswerComponent {
|
|
|
88980
88987
|
i0.ɵɵadvance(2);
|
|
88981
88988
|
i0.ɵɵproperty("disabled", !ctx.canAddCustomAnswers())("ngClass", ctx.addButtonClasses());
|
|
88982
88989
|
i0.ɵɵadvance(2);
|
|
88983
|
-
i0.ɵɵconditional(!ctx.addOtherAnswersExpanded() ?
|
|
88990
|
+
i0.ɵɵconditional(!ctx.addOtherAnswersExpanded() ? 32 : -1);
|
|
88984
88991
|
i0.ɵɵadvance();
|
|
88985
88992
|
i0.ɵɵproperty("ngClass", ctx.footerClasses());
|
|
88986
88993
|
i0.ɵɵadvance(2);
|
|
@@ -89013,34 +89020,36 @@ class ShopProfileQuestionAnswerComponent {
|
|
|
89013
89020
|
],
|
|
89014
89021
|
template: `
|
|
89015
89022
|
<div class="flex flex-col h-full">
|
|
89016
|
-
<!--
|
|
89017
|
-
<div
|
|
89018
|
-
|
|
89019
|
-
|
|
89020
|
-
|
|
89021
|
-
|
|
89022
|
-
|
|
89023
|
-
|
|
89024
|
-
|
|
89025
|
-
|
|
89026
|
-
|
|
89027
|
-
|
|
89023
|
+
<!-- Scrollable Content -->
|
|
89024
|
+
<div #scrollContainer class="flex-1 overflow-y-auto" (scroll)="onScroll()">
|
|
89025
|
+
<!-- Unanswered Questions Status -->
|
|
89026
|
+
<div [ngClass]="statusHeaderClasses()" class="px-6 py-4 border-b">
|
|
89027
|
+
<h4 [ngClass]="statusTitleClasses()" class="text-sm font-semibold mb-3">
|
|
89028
|
+
Unanswered questions status
|
|
89029
|
+
</h4>
|
|
89030
|
+
<div class="flex items-center gap-3">
|
|
89031
|
+
<div class="flex-1">
|
|
89032
|
+
<div [ngClass]="progressBarContainerClasses()" class="h-2 rounded-full overflow-hidden">
|
|
89033
|
+
<div
|
|
89034
|
+
[ngClass]="progressBarFillClasses()"
|
|
89035
|
+
class="h-full transition-all duration-500 ease-out rounded-full"
|
|
89036
|
+
[style.width.%]="progressPercentage()"></div>
|
|
89037
|
+
</div>
|
|
89038
|
+
</div>
|
|
89039
|
+
<div [ngClass]="progressTextClasses()" class="text-sm font-medium whitespace-nowrap">
|
|
89040
|
+
{{ answeredCount() }} / {{ totalCount() }} answered
|
|
89028
89041
|
</div>
|
|
89029
|
-
</div>
|
|
89030
|
-
<div [ngClass]="progressTextClasses()" class="text-sm font-medium whitespace-nowrap">
|
|
89031
|
-
{{ answeredCount() }} / {{ totalCount() }} answered
|
|
89032
89042
|
</div>
|
|
89033
89043
|
</div>
|
|
89034
|
-
</div>
|
|
89035
89044
|
|
|
89036
|
-
<!-- Scrollable Content -->
|
|
89037
|
-
<div #scrollContainer class="flex-1 overflow-y-auto" (scroll)="onScroll()">
|
|
89038
89045
|
<!-- Sticky Question Header -->
|
|
89039
89046
|
<div [ngClass]="stickyHeaderClasses()" class="sticky top-0 z-10 px-6 py-4 transition-all duration-300" [class.shadow-md]="isSticky()">
|
|
89040
|
-
<!-- Breadcrumb -->
|
|
89041
|
-
|
|
89042
|
-
|
|
89043
|
-
|
|
89047
|
+
<!-- Breadcrumb - hide for All Questions mode -->
|
|
89048
|
+
@if (viewType() !== 'all') {
|
|
89049
|
+
<div [ngClass]="breadcrumbClasses()" class="text-sm italic mb-2">
|
|
89050
|
+
Shop > {{ breadcrumbPath() }}
|
|
89051
|
+
</div>
|
|
89052
|
+
}
|
|
89044
89053
|
|
|
89045
89054
|
<!-- Question -->
|
|
89046
89055
|
<h2 [ngClass]="questionTextClasses()" class="font-bold transition-all duration-300" [class.text-xl]="!isSticky()" [class.text-lg]="isSticky()">
|
|
@@ -89145,14 +89154,14 @@ class ShopProfileQuestionAnswerComponent {
|
|
|
89145
89154
|
</div>
|
|
89146
89155
|
|
|
89147
89156
|
<!-- Sticky Footer -->
|
|
89148
|
-
<div [ngClass]="footerClasses()" class="px-6 py-4 border-t
|
|
89149
|
-
<div class="flex items-center gap-
|
|
89157
|
+
<div [ngClass]="footerClasses()" class="px-6 py-4 border-t sticky bottom-0 z-10">
|
|
89158
|
+
<div class="flex items-center gap-4">
|
|
89150
89159
|
<button
|
|
89151
89160
|
type="button"
|
|
89152
89161
|
(click)="onSave()"
|
|
89153
89162
|
[disabled]="saveButtonsDisabled()"
|
|
89154
89163
|
[ngClass]="saveButtonClasses()"
|
|
89155
|
-
class="px-5 py-2.5 rounded-lg font-medium text-sm transition-all duration-200 border disabled:opacity-50 disabled:cursor-not-allowed hover:scale-
|
|
89164
|
+
class="px-5 py-2.5 rounded-lg font-medium text-sm transition-all duration-200 border disabled:opacity-50 disabled:cursor-not-allowed hover:scale-[1.02] active:scale-95 disabled:hover:scale-100">
|
|
89156
89165
|
Save
|
|
89157
89166
|
</button>
|
|
89158
89167
|
<button
|
|
@@ -89160,7 +89169,7 @@ class ShopProfileQuestionAnswerComponent {
|
|
|
89160
89169
|
(click)="onSaveAndNext()"
|
|
89161
89170
|
[disabled]="saveButtonsDisabled()"
|
|
89162
89171
|
[ngClass]="saveAndNextButtonClasses()"
|
|
89163
|
-
class="flex-1 px-5 py-2.5 rounded-lg font-medium text-sm transition-all duration-200 flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed hover:scale-
|
|
89172
|
+
class="flex-1 px-5 py-2.5 rounded-lg font-medium text-sm transition-all duration-200 flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed hover:scale-[1.01] active:scale-[0.99] disabled:hover:scale-100">
|
|
89164
89173
|
<span>Save & next unanswered</span>
|
|
89165
89174
|
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
89166
89175
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
|
|
@@ -89175,7 +89184,7 @@ class ShopProfileQuestionAnswerComponent {
|
|
|
89175
89184
|
type: ViewChild,
|
|
89176
89185
|
args: ['scrollContainer']
|
|
89177
89186
|
}] }); })();
|
|
89178
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShopProfileQuestionAnswerComponent, { className: "ShopProfileQuestionAnswerComponent", filePath: "lib/components/profile-analysis-dashboard/cards/shop-profile-question-answer.component.ts", lineNumber:
|
|
89187
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShopProfileQuestionAnswerComponent, { className: "ShopProfileQuestionAnswerComponent", filePath: "lib/components/profile-analysis-dashboard/cards/shop-profile-question-answer.component.ts", lineNumber: 201 }); })();
|
|
89179
89188
|
|
|
89180
89189
|
const _c0$4 = ["modalContent"];
|
|
89181
89190
|
const _c1$1 = ["modalWrapper"];
|
|
@@ -89274,10 +89283,20 @@ function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_8_Template
|
|
|
89274
89283
|
i0.ɵɵadvance();
|
|
89275
89284
|
i0.ɵɵconditional(ctx_r1.filteredQuestions().length === 0 ? 16 : 17);
|
|
89276
89285
|
} }
|
|
89277
|
-
function
|
|
89286
|
+
function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
89287
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
89288
|
+
i0.ɵɵtext(1);
|
|
89289
|
+
i0.ɵɵelementEnd();
|
|
89290
|
+
} if (rf & 2) {
|
|
89291
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
89292
|
+
i0.ɵɵproperty("ngClass", ctx_r1.labelClasses());
|
|
89293
|
+
i0.ɵɵadvance();
|
|
89294
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.viewType() === "category" ? "Category" : "Focus Area", " ");
|
|
89295
|
+
} }
|
|
89296
|
+
function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
89278
89297
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
89279
89298
|
i0.ɵɵelementStart(0, "symphiq-shop-profile-question-answer", 36);
|
|
89280
|
-
i0.ɵɵlistener("backClick", function
|
|
89299
|
+
i0.ɵɵlistener("backClick", function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_14_Template_symphiq_shop_profile_question_answer_backClick_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onBackFromAnswerMode()); })("saveClick", function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_14_Template_symphiq_shop_profile_question_answer_saveClick_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onSaveAnswer()); })("saveAndNextClick", function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_14_Template_symphiq_shop_profile_question_answer_saveAndNextClick_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onSaveAndNextAnswer()); });
|
|
89281
89300
|
i0.ɵɵelementEnd();
|
|
89282
89301
|
} if (rf & 2) {
|
|
89283
89302
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -89292,21 +89311,20 @@ function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Template
|
|
|
89292
89311
|
i0.ɵɵelement(5, "path", 32);
|
|
89293
89312
|
i0.ɵɵelementEnd()();
|
|
89294
89313
|
i0.ɵɵnamespaceHTML();
|
|
89295
|
-
i0.ɵɵelementStart(6, "div")
|
|
89296
|
-
i0.ɵɵ
|
|
89297
|
-
i0.ɵɵ
|
|
89298
|
-
i0.ɵɵ
|
|
89299
|
-
i0.ɵɵtext(10);
|
|
89314
|
+
i0.ɵɵelementStart(6, "div");
|
|
89315
|
+
i0.ɵɵconditionalCreate(7, ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_7_Template, 2, 2, "div", 11);
|
|
89316
|
+
i0.ɵɵelementStart(8, "h3", 33);
|
|
89317
|
+
i0.ɵɵtext(9);
|
|
89300
89318
|
i0.ɵɵelementEnd()()();
|
|
89301
|
-
i0.ɵɵelementStart(
|
|
89302
|
-
i0.ɵɵlistener("click", function
|
|
89319
|
+
i0.ɵɵelementStart(10, "button", 31);
|
|
89320
|
+
i0.ɵɵlistener("click", function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onClose()); });
|
|
89303
89321
|
i0.ɵɵnamespaceSVG();
|
|
89304
|
-
i0.ɵɵelementStart(
|
|
89305
|
-
i0.ɵɵelement(
|
|
89322
|
+
i0.ɵɵelementStart(11, "svg", 18);
|
|
89323
|
+
i0.ɵɵelement(12, "path", 19);
|
|
89306
89324
|
i0.ɵɵelementEnd()()()();
|
|
89307
89325
|
i0.ɵɵnamespaceHTML();
|
|
89308
|
-
i0.ɵɵelementStart(
|
|
89309
|
-
i0.ɵɵconditionalCreate(
|
|
89326
|
+
i0.ɵɵelementStart(13, "div", 34);
|
|
89327
|
+
i0.ɵɵconditionalCreate(14, ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Conditional_14_Template, 1, 7, "symphiq-shop-profile-question-answer", 35);
|
|
89310
89328
|
i0.ɵɵelementEnd();
|
|
89311
89329
|
} if (rf & 2) {
|
|
89312
89330
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -89314,9 +89332,7 @@ function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Template
|
|
|
89314
89332
|
i0.ɵɵadvance(3);
|
|
89315
89333
|
i0.ɵɵproperty("ngClass", ctx_r1.closeButtonClasses());
|
|
89316
89334
|
i0.ɵɵadvance(4);
|
|
89317
|
-
i0.ɵɵ
|
|
89318
|
-
i0.ɵɵadvance();
|
|
89319
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.viewType() === "all" ? "All Questions" : ctx_r1.viewType() === "category" ? "Category" : "Focus Area", " ");
|
|
89335
|
+
i0.ɵɵconditional(ctx_r1.viewType() !== "all" ? 7 : -1);
|
|
89320
89336
|
i0.ɵɵadvance();
|
|
89321
89337
|
i0.ɵɵproperty("ngClass", ctx_r1.titleClasses());
|
|
89322
89338
|
i0.ɵɵadvance();
|
|
@@ -89324,7 +89340,7 @@ function ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Template
|
|
|
89324
89340
|
i0.ɵɵadvance();
|
|
89325
89341
|
i0.ɵɵproperty("ngClass", ctx_r1.closeButtonClasses());
|
|
89326
89342
|
i0.ɵɵadvance(4);
|
|
89327
|
-
i0.ɵɵconditional(ctx_r1.questionForAnswer() ?
|
|
89343
|
+
i0.ɵɵconditional(ctx_r1.questionForAnswer() ? 14 : -1);
|
|
89328
89344
|
} }
|
|
89329
89345
|
function ShopProfileQuestionsModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
89330
89346
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -89337,7 +89353,7 @@ function ShopProfileQuestionsModalComponent_Conditional_0_Template(rf, ctx) { if
|
|
|
89337
89353
|
i0.ɵɵelementEnd();
|
|
89338
89354
|
i0.ɵɵelementStart(6, "div", 7, 1);
|
|
89339
89355
|
i0.ɵɵlistener("click", function ShopProfileQuestionsModalComponent_Conditional_0_Template_div_click_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
89340
|
-
i0.ɵɵconditionalCreate(8, ShopProfileQuestionsModalComponent_Conditional_0_Conditional_8_Template, 18, 15)(9, ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Template,
|
|
89356
|
+
i0.ɵɵconditionalCreate(8, ShopProfileQuestionsModalComponent_Conditional_0_Conditional_8_Template, 18, 15)(9, ShopProfileQuestionsModalComponent_Conditional_0_Conditional_9_Template, 15, 7);
|
|
89341
89357
|
i0.ɵɵelementEnd()()();
|
|
89342
89358
|
} if (rf & 2) {
|
|
89343
89359
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -89609,7 +89625,7 @@ class ShopProfileQuestionsModalComponent {
|
|
|
89609
89625
|
let _t;
|
|
89610
89626
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
|
|
89611
89627
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalWrapper = _t.first);
|
|
89612
|
-
} }, inputs: { isOpen: [1, "isOpen"], questions: [1, "questions"], profileShopAnswers: [1, "profileShopAnswers"], users: [1, "users"], selectedCategoryId: [1, "selectedCategoryId"], selectedFocusAreaId: [1, "selectedFocusAreaId"], showAllQuestions: [1, "showAllQuestions"], startDirectAnswer: [1, "startDirectAnswer"], viewMode: [1, "viewMode"] }, outputs: { close: "close", questionAnswerClick: "questionAnswerClick" }, decls: 1, vars: 1, consts: [["modalWrapper", ""], ["modalContent", ""], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "px-4", "pt-4", "pb-20", "text-center", "sm:block", "sm:p-0"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-sm", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "sm:max-w-4xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", "sticky", "top-0", "z-10", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-3", 3, "ngClass"], [1, "space-y-2"], [1, "h-2", "rounded-full", "overflow-hidden", 3, "ngClass"], [1, "h-full", "transition-all", "duration-500", "ease-out", "rounded-full", 3, "ngClass"], [1, "text-sm", "font-medium", 3, "ngClass"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", "relative", "ml-4", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "px-6", "py-8", "max-h-[70vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [1, "text-center", "py-12"], [1, "flex", "flex-col", "gap-6"], [1, "w-16", "h-16", "mx-auto", "mb-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-full", "h-full"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "1.5", "d", "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"], [1, "text-lg", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [3, "question", "viewMode", "viewType", "profileShopAnswers", "users"], [3, "answerClick", "question", "viewMode", "viewType", "profileShopAnswers", "users"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", 3, "click", "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 19l-7-7 7-7"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "
|
|
89628
|
+
} }, inputs: { isOpen: [1, "isOpen"], questions: [1, "questions"], profileShopAnswers: [1, "profileShopAnswers"], users: [1, "users"], selectedCategoryId: [1, "selectedCategoryId"], selectedFocusAreaId: [1, "selectedFocusAreaId"], showAllQuestions: [1, "showAllQuestions"], startDirectAnswer: [1, "startDirectAnswer"], viewMode: [1, "viewMode"] }, outputs: { close: "close", questionAnswerClick: "questionAnswerClick" }, decls: 1, vars: 1, consts: [["modalWrapper", ""], ["modalContent", ""], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[9000]", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "px-4", "pt-4", "pb-20", "text-center", "sm:block", "sm:p-0"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-sm", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "sm:max-w-4xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", "sticky", "top-0", "z-10", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-3", 3, "ngClass"], [1, "space-y-2"], [1, "h-2", "rounded-full", "overflow-hidden", 3, "ngClass"], [1, "h-full", "transition-all", "duration-500", "ease-out", "rounded-full", 3, "ngClass"], [1, "text-sm", "font-medium", 3, "ngClass"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", "relative", "ml-4", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "px-6", "py-8", "max-h-[70vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [1, "text-center", "py-12"], [1, "flex", "flex-col", "gap-6"], [1, "w-16", "h-16", "mx-auto", "mb-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-full", "h-full"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "1.5", "d", "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"], [1, "text-lg", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [3, "question", "viewMode", "viewType", "profileShopAnswers", "users"], [3, "answerClick", "question", "viewMode", "viewType", "profileShopAnswers", "users"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", "cursor-pointer", 3, "click", "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 19l-7-7 7-7"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "h-[70vh]", "overflow-hidden"], [1, "block", "h-full", 3, "question", "viewMode", "viewType", "selectedCategoryId", "selectedFocusAreaId", "filteredQuestions", "profileShopAnswers"], [1, "block", "h-full", 3, "backClick", "saveClick", "saveAndNextClick", "question", "viewMode", "viewType", "selectedCategoryId", "selectedFocusAreaId", "filteredQuestions", "profileShopAnswers"]], template: function ShopProfileQuestionsModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
89613
89629
|
i0.ɵɵconditionalCreate(0, ShopProfileQuestionsModalComponent_Conditional_0_Template, 10, 5, "div", 2);
|
|
89614
89630
|
} if (rf & 2) {
|
|
89615
89631
|
i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
|
|
@@ -89759,10 +89775,12 @@ class ShopProfileQuestionsModalComponent {
|
|
|
89759
89775
|
</svg>
|
|
89760
89776
|
</button>
|
|
89761
89777
|
<div>
|
|
89762
|
-
<!-- Label -->
|
|
89763
|
-
|
|
89764
|
-
|
|
89765
|
-
|
|
89778
|
+
<!-- Label - hide for All Questions mode -->
|
|
89779
|
+
@if (viewType() !== 'all') {
|
|
89780
|
+
<div [ngClass]="labelClasses()" class="text-xs font-semibold uppercase tracking-wider mb-1">
|
|
89781
|
+
{{ viewType() === 'category' ? 'Category' : 'Focus Area' }}
|
|
89782
|
+
</div>
|
|
89783
|
+
}
|
|
89766
89784
|
<!-- Title -->
|
|
89767
89785
|
<h3 [ngClass]="titleClasses()" class="text-xl font-bold">
|
|
89768
89786
|
{{ displayTitle() }}
|
|
@@ -89784,9 +89802,10 @@ class ShopProfileQuestionsModalComponent {
|
|
|
89784
89802
|
</div>
|
|
89785
89803
|
|
|
89786
89804
|
<!-- Answer Mode Content -->
|
|
89787
|
-
<div class="
|
|
89805
|
+
<div class="h-[70vh] overflow-hidden">
|
|
89788
89806
|
@if (questionForAnswer()) {
|
|
89789
89807
|
<symphiq-shop-profile-question-answer
|
|
89808
|
+
class="block h-full"
|
|
89790
89809
|
[question]="questionForAnswer()!"
|
|
89791
89810
|
[viewMode]="viewMode()"
|
|
89792
89811
|
[viewType]="viewType()"
|
|
@@ -89813,7 +89832,7 @@ class ShopProfileQuestionsModalComponent {
|
|
|
89813
89832
|
type: ViewChild,
|
|
89814
89833
|
args: ['modalWrapper']
|
|
89815
89834
|
}] }); })();
|
|
89816
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShopProfileQuestionsModalComponent, { className: "ShopProfileQuestionsModalComponent", filePath: "lib/components/profile-analysis-dashboard/cards/shop-profile-questions-modal.component.ts", lineNumber:
|
|
89835
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShopProfileQuestionsModalComponent, { className: "ShopProfileQuestionsModalComponent", filePath: "lib/components/profile-analysis-dashboard/cards/shop-profile-questions-modal.component.ts", lineNumber: 199 }); })();
|
|
89817
89836
|
|
|
89818
89837
|
const _c0$3 = ["chartdiv"];
|
|
89819
89838
|
function ShopProfileStatusCardComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|