@eric-emg/symphiq-components 1.2.459 → 1.2.461

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.
@@ -88959,7 +88959,7 @@ class ProfileQuestionAnswerComponent {
88959
88959
  type: ViewChild,
88960
88960
  args: ['questionTitle']
88961
88961
  }] }); })();
88962
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileQuestionAnswerComponent, { className: "ProfileQuestionAnswerComponent", filePath: "lib/components/shared/profile/profile-question-answer.component.ts", lineNumber: 256 }); })();
88962
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileQuestionAnswerComponent, { className: "ProfileQuestionAnswerComponent", filePath: "lib/components/shared/profile/profile-question-answer.component.ts", lineNumber: 257 }); })();
88963
88963
 
88964
88964
  class ProfileAnswerAnimationService {
88965
88965
  constructor() {
@@ -91129,6 +91129,7 @@ class ProfileStatusCardComponent {
91129
91129
  intensity: 'celebration',
91130
91130
  viewMode: this.viewMode()
91131
91131
  });
91132
+ event.profileCompleted = true;
91132
91133
  }
91133
91134
  this.answerSave.emit(event);
91134
91135
  }
@@ -94828,7 +94829,7 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_65_Template(rf,
94828
94829
  i0.ɵɵadvance();
94829
94830
  i0.ɵɵconditional(focusArea_r3.profileFocusArea && focusArea_r3.selfContentStatusProfileFocusArea !== ctx_r1.AiDynamicContentStatusEnum.GENERATED && focusArea_r3.engagementStatus !== ctx_r1.FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST ? 13 : focusArea_r3.profileAnalysis && focusArea_r3.selfContentStatusProfileAnalysis !== null && focusArea_r3.selfContentStatusProfileAnalysis !== ctx_r1.AiDynamicContentStatusEnum.GENERATED && focusArea_r3.engagementStatus !== ctx_r1.FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST ? 14 : focusArea_r3.selfContentStatusProfileFocusArea === null && focusArea_r3.engagementStatus !== ctx_r1.FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST ? 15 : focusArea_r3.selfContentStatusProfileFocusArea === ctx_r1.AiDynamicContentStatusEnum.GENERATED && (focusArea_r3.selfContentStatusProfileAnalysis === null || focusArea_r3.selfContentStatusProfileAnalysis === ctx_r1.AiDynamicContentStatusEnum.GENERATED) || focusArea_r3.status !== "pending" ? 16 : -1);
94830
94831
  i0.ɵɵadvance(4);
94831
- i0.ɵɵconditional(focusArea_r3.canViewDetails && focusArea_r3.profileFocusArea ? 17 : -1);
94832
+ i0.ɵɵconditional(focusArea_r3.canViewDetails && focusArea_r3.profileFocusArea && !(focusArea_r3.profileAnalysis && focusArea_r3.selfContentStatusProfileAnalysis !== null && focusArea_r3.selfContentStatusProfileAnalysis !== ctx_r1.AiDynamicContentStatusEnum.GENERATED) ? 17 : -1);
94832
94833
  } }
94833
94834
  function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_66_For_8_Conditional_6_Template(rf, ctx) { if (rf & 1) {
94834
94835
  i0.ɵɵelementStart(0, "div", 41);
@@ -95112,23 +95113,6 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95112
95113
  profileFocusArea,
95113
95114
  profileAnalysis
95114
95115
  };
95115
- const isNotEngaged = engagementStatus === FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST;
95116
- const cond1 = !!profileFocusArea && selfContentStatusProfileFocusArea !== AiDynamicContentStatusEnum.GENERATED && !isNotEngaged;
95117
- const cond2 = !!profileAnalysis && selfContentStatusProfileAnalysis !== null && selfContentStatusProfileAnalysis !== AiDynamicContentStatusEnum.GENERATED && !isNotEngaged;
95118
- const cond3 = selfContentStatusProfileFocusArea === null && !isNotEngaged;
95119
- const cond4 = (selfContentStatusProfileFocusArea === AiDynamicContentStatusEnum.GENERATED && (selfContentStatusProfileAnalysis === null || selfContentStatusProfileAnalysis === AiDynamicContentStatusEnum.GENERATED)) || status !== 'pending';
95120
- console.log('[FocusAreaCard]', FocusAreaDomainEnumUtil.title(domain), {
95121
- profileFocusAreaId: profileFocusArea?.id ?? null,
95122
- profileAnalysisId: profileAnalysis?.id ?? null,
95123
- selfContentStatusProfileFocusArea,
95124
- selfContentStatusProfileAnalysis,
95125
- itemStatusProfileFocusArea: itemStatusProfileFocusArea?.percentageComplete ?? null,
95126
- itemStatusProfileAnalysis: itemStatusProfileAnalysis?.percentageComplete ?? null,
95127
- engagementStatus,
95128
- status,
95129
- conditions: { cond1, cond2, cond3, cond4 },
95130
- whichBranch: cond1 ? 'SHOW_PFA_PROGRESS' : cond2 ? 'SHOW_PA_PROGRESS' : cond3 ? 'PENDING' : cond4 ? 'SHOW_QUESTIONS' : 'NONE'
95131
- });
95132
95116
  return cardData;
95133
95117
  });
95134
95118
  }, ...(ngDevMode ? [{ debugName: "focusAreaCards" }] : []));
@@ -95679,7 +95663,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95679
95663
  }
95680
95664
  </div>
95681
95665
 
95682
- @if (focusArea.canViewDetails && focusArea.profileFocusArea) {
95666
+ @if (focusArea.canViewDetails && focusArea.profileFocusArea && !(focusArea.profileAnalysis && focusArea.selfContentStatusProfileAnalysis !== null && focusArea.selfContentStatusProfileAnalysis !== AiDynamicContentStatusEnum.GENERATED)) {
95683
95667
  <div
95684
95668
  [class]="getCardFooterClasses()"
95685
95669
  class="mt-auto cursor-pointer hover:bg-slate-100 dark:hover:bg-slate-700/50 transition-colors"