@eric-emg/symphiq-components 1.3.89 → 1.3.90

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.
@@ -6253,7 +6253,7 @@ class OverallAssessmentComponent {
6253
6253
  this.gradeBadgeClass = computed(() => this.getGradeBadgeClass(), ...(ngDevMode ? [{ debugName: "gradeBadgeClass" }] : []));
6254
6254
  this.shouldPulseGrade = computed(() => {
6255
6255
  const grade = this.assessment().grade || 'B';
6256
- return grade === 'C';
6256
+ return grade === 'D' || grade === 'F';
6257
6257
  }, ...(ngDevMode ? [{ debugName: "shouldPulseGrade" }] : []));
6258
6258
  this.hasCompetitiveBenchmark = computed(() => {
6259
6259
  const benchmark = this.assessment().competitiveBenchmark;
@@ -25737,7 +25737,7 @@ class ConfidenceLevelCardComponent {
25737
25737
  }, ...(ngDevMode ? [{ debugName: "confidenceData" }] : []));
25738
25738
  this.shouldPulse = computed(() => {
25739
25739
  const grade = this.confidenceData().grade;
25740
- return grade === 'A+' || grade.startsWith('C') || grade.startsWith('D') || grade.startsWith('F');
25740
+ return grade === 'A+';
25741
25741
  }, ...(ngDevMode ? [{ debugName: "shouldPulse" }] : []));
25742
25742
  this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
25743
25743
  this.effectivePotentialPercentage = computed(() => {
@@ -107038,7 +107038,7 @@ class UnifiedGoalsProgressFooterComponent {
107038
107038
  function SymphiqProfileAnalysisUnifiedDashboardComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
107039
107039
  const _r1 = i0.ɵɵgetCurrentView();
107040
107040
  i0.ɵɵelementStart(0, "symphiq-journey-progress-indicator", 15);
107041
- i0.ɵɵlistener("nextStepClick", function SymphiqProfileAnalysisUnifiedDashboardComponent_Conditional_5_Template_symphiq_journey_progress_indicator_nextStepClick_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.nextStepClick.emit()); })("stepClick", function SymphiqProfileAnalysisUnifiedDashboardComponent_Conditional_5_Template_symphiq_journey_progress_indicator_stepClick_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.stepClick.emit($event)); });
107041
+ i0.ɵɵlistener("nextStepClick", function SymphiqProfileAnalysisUnifiedDashboardComponent_Conditional_5_Template_symphiq_journey_progress_indicator_nextStepClick_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onJourneyNextStepClick()); })("stepClick", function SymphiqProfileAnalysisUnifiedDashboardComponent_Conditional_5_Template_symphiq_journey_progress_indicator_stepClick_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.stepClick.emit($event)); });
107042
107042
  i0.ɵɵelementEnd();
107043
107043
  } if (rf & 2) {
107044
107044
  const ctx_r1 = i0.ɵɵnextContext();
@@ -107658,6 +107658,15 @@ class SymphiqProfileAnalysisUnifiedDashboardComponent {
107658
107658
  onIntegrateGoals(output) {
107659
107659
  this.integrateGoalsClick.emit(output);
107660
107660
  }
107661
+ onJourneyNextStepClick() {
107662
+ if (this.maxAccessibleStepId() === JourneyStepIdEnum.UNIFIED_ANALYSIS) {
107663
+ const output = this.goalActionStateService.getOutput(this.unifiedGoalIds());
107664
+ this.onIntegrateGoals(output);
107665
+ }
107666
+ else {
107667
+ this.nextStepClick.emit();
107668
+ }
107669
+ }
107661
107670
  onPriorityActionGoalClick(goalId) {
107662
107671
  const goal = this.unifiedGoals().find(g => g.id === goalId);
107663
107672
  if (goal) {
@@ -108222,7 +108231,7 @@ class SymphiqProfileAnalysisUnifiedDashboardComponent {
108222
108231
  [showNextStepAction]="allGoalsReviewed()"
108223
108232
  [forDemo]="forDemo()"
108224
108233
  [maxAccessibleStepId]="maxAccessibleStepId()"
108225
- (nextStepClick)="nextStepClick.emit()"
108234
+ (nextStepClick)="onJourneyNextStepClick()"
108226
108235
  (stepClick)="stepClick.emit($event)"
108227
108236
  />
108228
108237
  }