@eric-emg/symphiq-components 1.3.82 → 1.3.83

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.
@@ -15212,17 +15212,25 @@ class RecommendationCardComponent {
15212
15212
  return displayItem;
15213
15213
  }, ...(ngDevMode ? [{ debugName: "displayItem" }] : []));
15214
15214
  this.detailedRecommendation = computed(() => {
15215
- let result;
15216
- if (this.recommendation()) {
15217
- result = this.recommendation();
15218
- return result;
15215
+ const inputRec = this.recommendation();
15216
+ if (inputRec) {
15217
+ if (inputRec.id) {
15218
+ const serviceRec = this.profileContextService.getRecommendationById(inputRec.id);
15219
+ if (serviceRec) {
15220
+ return {
15221
+ ...inputRec,
15222
+ relatedCompetitorIds: inputRec.relatedCompetitorIds || serviceRec.relatedCompetitorIds,
15223
+ relatedProfileItemIds: inputRec.relatedProfileItemIds || serviceRec.relatedProfileItemIds
15224
+ };
15225
+ }
15226
+ }
15227
+ return inputRec;
15219
15228
  }
15220
15229
  const item = this.item();
15221
15230
  if (!item?.id) {
15222
15231
  return undefined;
15223
15232
  }
15224
- result = this.profileContextService.getRecommendationById(item.id);
15225
- return result;
15233
+ return this.profileContextService.getRecommendationById(item.id);
15226
15234
  }, ...(ngDevMode ? [{ debugName: "detailedRecommendation" }] : []));
15227
15235
  this.businessContextItems = computed(() => {
15228
15236
  const itemIds = this.detailedRecommendation()?.relatedProfileItemIds;
@@ -103732,10 +103740,12 @@ class UnifiedGoalCardComponent {
103732
103740
  return metrics;
103733
103741
  }, ...(ngDevMode ? [{ debugName: "roadmapMetrics" }] : []));
103734
103742
  this.cardClasses = computed(() => {
103743
+ const isSkipped = this.actionState() === GoalActionStateEnum.SKIP;
103744
+ const opacityClass = isSkipped ? ' opacity-60' : '';
103735
103745
  if (this.isDark()) {
103736
- return 'bg-slate-800/50 border border-slate-700/50';
103746
+ return 'bg-slate-800/50 border border-slate-700/50' + opacityClass;
103737
103747
  }
103738
- return 'bg-white border border-slate-200';
103748
+ return 'bg-white border border-slate-200' + opacityClass;
103739
103749
  }, ...(ngDevMode ? [{ debugName: "cardClasses" }] : []));
103740
103750
  this.iconContainerClasses = computed(() => {
103741
103751
  if (this.isDark()) {