@eric-emg/symphiq-components 1.2.453 → 1.2.454
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 +5 -9
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +19 -19
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -88259,11 +88259,6 @@ class ProfileQuestionAnswerComponent {
|
|
|
88259
88259
|
const currentQuestionId = this.question().id;
|
|
88260
88260
|
const unanswered = this.unansweredQuestions();
|
|
88261
88261
|
const otherUnanswered = unanswered.filter(q => q.id !== currentQuestionId);
|
|
88262
|
-
console.log('[hasMoreUnansweredQuestions] currentQuestionId:', currentQuestionId);
|
|
88263
|
-
console.log('[hasMoreUnansweredQuestions] unanswered count:', unanswered.length);
|
|
88264
|
-
console.log('[hasMoreUnansweredQuestions] unanswered ids:', unanswered.map(q => q.id));
|
|
88265
|
-
console.log('[hasMoreUnansweredQuestions] otherUnanswered count:', otherUnanswered.length);
|
|
88266
|
-
console.log('[hasMoreUnansweredQuestions] result (show Save & Next):', otherUnanswered.length > 0);
|
|
88267
88262
|
return otherUnanswered.length > 0;
|
|
88268
88263
|
}, ...(ngDevMode ? [{ debugName: "hasMoreUnansweredQuestions" }] : []));
|
|
88269
88264
|
this.canAddCustomAnswers = computed(() => {
|
|
@@ -95736,7 +95731,7 @@ function SymphiqProfileFocusAreaDashboardComponent_Conditional_5_Template(rf, ct
|
|
|
95736
95731
|
i0.ɵɵelementEnd();
|
|
95737
95732
|
} if (rf & 2) {
|
|
95738
95733
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
95739
|
-
i0.ɵɵproperty("viewMode", ctx_r0.viewMode())("totalQuestions", ctx_r0.totalQuestions())("answeredQuestions", ctx_r0.answeredQuestions())("questions", ctx_r0.profileFocusAreaQuestions() || i0.ɵɵpureFunction0(
|
|
95734
|
+
i0.ɵɵproperty("viewMode", ctx_r0.viewMode())("totalQuestions", ctx_r0.totalQuestions())("answeredQuestions", ctx_r0.answeredQuestions())("questions", ctx_r0.profileFocusAreaQuestions() || i0.ɵɵpureFunction0(11, _c0$5))("profileAnswers", ctx_r0.profileAnswers() || i0.ɵɵpureFunction0(12, _c0$5))("profileAnswerHistories", ctx_r0.profileAnswerHistories() || i0.ɵɵpureFunction0(13, _c0$5))("users", ctx_r0.users() || i0.ɵɵpureFunction0(14, _c0$5))("config", ctx_r0.statusCardConfig())("groupConfig", ctx_r0.statusCardGroupConfig)("categoryNameFormatter", ctx_r0.categoryNameFormatter)("currentUser", ctx_r0.currentUser());
|
|
95740
95735
|
} }
|
|
95741
95736
|
function SymphiqProfileFocusAreaDashboardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
95742
95737
|
i0.ɵɵelementStart(0, "div", 6);
|
|
@@ -95867,11 +95862,11 @@ class SymphiqProfileFocusAreaDashboardComponent {
|
|
|
95867
95862
|
} if (rf & 2) {
|
|
95868
95863
|
let _t;
|
|
95869
95864
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.profileStatusCard = _t.first);
|
|
95870
|
-
} }, inputs: { viewMode: [1, "viewMode"], profileFocusArea: [1, "profileFocusArea"], profileFocusAreaQuestions: [1, "profileFocusAreaQuestions"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], currentUser: [1, "currentUser"] }, outputs: { startCategoryQuestions: "startCategoryQuestions", answerSave: "answerSave", continueClick: "continueClick" }, decls: 8, vars: 7, consts: [[1, "min-h-screen", "relative", 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-10"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "backdrop-blur-sm", 3, "ngClass"], [3, "viewMode", "totalQuestions", "answeredQuestions", "questions", "profileAnswers", "profileAnswerHistories", "users", "config", "groupConfig", "categoryNameFormatter"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "text-center", 3, "ngClass"], [3, "viewMode", "totalQuestions", "answeredQuestions", "buttonConfig"], [1, "flex", "flex-col", "items-center", "justify-center", "space-y-4"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-lg", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [3, "startCategoryQuestions", "answerSave", "viewMode", "totalQuestions", "answeredQuestions", "questions", "profileAnswers", "profileAnswerHistories", "users", "config", "groupConfig", "categoryNameFormatter"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-16", "h-16", "mx-auto", "mb-4", "opacity-50"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"], [1, "text-xl", "font-semibold", "mb-2", 3, "ngClass"], [3, "continueClick", "viewMode", "totalQuestions", "answeredQuestions", "buttonConfig"]], template: function SymphiqProfileFocusAreaDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
95865
|
+
} }, inputs: { viewMode: [1, "viewMode"], profileFocusArea: [1, "profileFocusArea"], profileFocusAreaQuestions: [1, "profileFocusAreaQuestions"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], currentUser: [1, "currentUser"] }, outputs: { startCategoryQuestions: "startCategoryQuestions", answerSave: "answerSave", continueClick: "continueClick" }, decls: 8, vars: 7, consts: [[1, "min-h-screen", "relative", 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-10"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "backdrop-blur-sm", 3, "ngClass"], [3, "viewMode", "totalQuestions", "answeredQuestions", "questions", "profileAnswers", "profileAnswerHistories", "users", "config", "groupConfig", "categoryNameFormatter", "currentUser"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "text-center", 3, "ngClass"], [3, "viewMode", "totalQuestions", "answeredQuestions", "buttonConfig"], [1, "flex", "flex-col", "items-center", "justify-center", "space-y-4"], ["size", "large", 3, "viewMode"], [1, "text-center"], [1, "text-lg", "font-semibold", "mb-1", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [3, "startCategoryQuestions", "answerSave", "viewMode", "totalQuestions", "answeredQuestions", "questions", "profileAnswers", "profileAnswerHistories", "users", "config", "groupConfig", "categoryNameFormatter", "currentUser"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-16", "h-16", "mx-auto", "mb-4", "opacity-50"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"], [1, "text-xl", "font-semibold", "mb-2", 3, "ngClass"], [3, "continueClick", "viewMode", "totalQuestions", "answeredQuestions", "buttonConfig"]], template: function SymphiqProfileFocusAreaDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
95871
95866
|
i0.ɵɵelementStart(0, "div", 0);
|
|
95872
95867
|
i0.ɵɵelement(1, "div", 1);
|
|
95873
95868
|
i0.ɵɵelementStart(2, "div", 2)(3, "main", 3);
|
|
95874
|
-
i0.ɵɵconditionalCreate(4, SymphiqProfileFocusAreaDashboardComponent_Conditional_4_Template, 8, 4, "div", 4)(5, SymphiqProfileFocusAreaDashboardComponent_Conditional_5_Template, 1,
|
|
95869
|
+
i0.ɵɵconditionalCreate(4, SymphiqProfileFocusAreaDashboardComponent_Conditional_4_Template, 8, 4, "div", 4)(5, SymphiqProfileFocusAreaDashboardComponent_Conditional_5_Template, 1, 15, "symphiq-profile-status-card", 5)(6, SymphiqProfileFocusAreaDashboardComponent_Conditional_6_Template, 7, 3, "div", 6);
|
|
95875
95870
|
i0.ɵɵelementEnd();
|
|
95876
95871
|
i0.ɵɵconditionalCreate(7, SymphiqProfileFocusAreaDashboardComponent_Conditional_7_Template, 1, 4, "symphiq-profile-sticky-footer", 7);
|
|
95877
95872
|
i0.ɵɵelementEnd()();
|
|
@@ -95936,6 +95931,7 @@ class SymphiqProfileFocusAreaDashboardComponent {
|
|
|
95936
95931
|
[config]="statusCardConfig()"
|
|
95937
95932
|
[groupConfig]="statusCardGroupConfig"
|
|
95938
95933
|
[categoryNameFormatter]="categoryNameFormatter"
|
|
95934
|
+
[currentUser]="currentUser()"
|
|
95939
95935
|
(startCategoryQuestions)="handleStartCategoryQuestions($event)"
|
|
95940
95936
|
(answerSave)="handleAnswerSave($event)"
|
|
95941
95937
|
/>
|
|
@@ -95971,7 +95967,7 @@ class SymphiqProfileFocusAreaDashboardComponent {
|
|
|
95971
95967
|
type: ViewChild,
|
|
95972
95968
|
args: [ProfileStatusCardComponent]
|
|
95973
95969
|
}], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], profileFocusArea: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileFocusArea", required: false }] }], profileFocusAreaQuestions: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileFocusAreaQuestions", required: false }] }], profileAnswers: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswers", required: false }] }], profileAnswerHistories: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswerHistories", required: false }] }], users: [{ type: i0.Input, args: [{ isSignal: true, alias: "users", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], currentUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentUser", required: false }] }], startCategoryQuestions: [{ type: i0.Output, args: ["startCategoryQuestions"] }], answerSave: [{ type: i0.Output, args: ["answerSave"] }], continueClick: [{ type: i0.Output, args: ["continueClick"] }] }); })();
|
|
95974
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileFocusAreaDashboardComponent, { className: "SymphiqProfileFocusAreaDashboardComponent", filePath: "lib/components/profile-focus-area-dashboard/symphiq-profile-focus-area-dashboard.component.ts", lineNumber:
|
|
95970
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileFocusAreaDashboardComponent, { className: "SymphiqProfileFocusAreaDashboardComponent", filePath: "lib/components/profile-focus-area-dashboard/symphiq-profile-focus-area-dashboard.component.ts", lineNumber: 106 }); })();
|
|
95975
95971
|
|
|
95976
95972
|
const _forTrack0$4 = ($index, $item) => $item.id;
|
|
95977
95973
|
function ShopProfileCategoryListComponent_For_2_Template(rf, ctx) { if (rf & 1) {
|