@eric-emg/symphiq-components 1.2.120 → 1.2.121

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.
@@ -71982,7 +71982,7 @@ function StrategicGoalsTiledGridComponent_Conditional_12_Template(rf, ctx) { if
71982
71982
  const ctx_r0 = i0.ɵɵnextContext();
71983
71983
  i0.ɵɵproperty("ngClass", ctx_r0.countBadgeClasses());
71984
71984
  i0.ɵɵadvance();
71985
- i0.ɵɵtextInterpolate1(" ", ctx_r0.goals.length, " ");
71985
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.goals().length, " ");
71986
71986
  } }
71987
71987
  function StrategicGoalsTiledGridComponent_Conditional_14_For_2_Template(rf, ctx) { if (rf & 1) {
71988
71988
  const _r2 = i0.ɵɵgetCurrentView();
@@ -71993,7 +71993,7 @@ function StrategicGoalsTiledGridComponent_Conditional_14_For_2_Template(rf, ctx)
71993
71993
  const goal_r3 = ctx.$implicit;
71994
71994
  const ɵ$index_32_r4 = ctx.$index;
71995
71995
  const ctx_r0 = i0.ɵɵnextContext(2);
71996
- i0.ɵɵproperty("goal", goal_r3)("viewMode", ctx_r0.viewMode)("animationIndex", ɵ$index_32_r4);
71996
+ i0.ɵɵproperty("goal", goal_r3)("viewMode", ctx_r0.viewMode())("animationIndex", ɵ$index_32_r4);
71997
71997
  } }
71998
71998
  function StrategicGoalsTiledGridComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
71999
71999
  i0.ɵɵelementStart(0, "div", 11);
@@ -72029,11 +72029,11 @@ function StrategicGoalsTiledGridComponent_Conditional_15_Template(rf, ctx) { if
72029
72029
  } }
72030
72030
  class StrategicGoalsTiledGridComponent {
72031
72031
  constructor() {
72032
- this.goals = [];
72033
- this.viewMode = ViewModeEnum.LIGHT;
72034
- this.viewMoreClick = new EventEmitter();
72032
+ this.goals = input([], ...(ngDevMode ? [{ debugName: "goals" }] : []));
72033
+ this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
72034
+ this.viewMoreClick = output();
72035
72035
  this.sortedGoals = computed(() => {
72036
- return [...this.goals].sort((a, b) => {
72036
+ return [...this.goals()].sort((a, b) => {
72037
72037
  const aPriority = this.getPriorityOrder(a);
72038
72038
  const bPriority = this.getPriorityOrder(b);
72039
72039
  return aPriority - bPriority;
@@ -72050,62 +72050,62 @@ class StrategicGoalsTiledGridComponent {
72050
72050
  return priorityMap[goal.priority || ''] ?? 999;
72051
72051
  }
72052
72052
  containerClasses() {
72053
- return this.viewMode === ViewModeEnum.DARK
72053
+ return this.viewMode() === ViewModeEnum.DARK
72054
72054
  ? 'bg-slate-800/40 border-slate-700/50'
72055
72055
  : 'bg-white border-slate-200';
72056
72056
  }
72057
72057
  headerClasses() {
72058
- return this.viewMode === ViewModeEnum.DARK
72058
+ return this.viewMode() === ViewModeEnum.DARK
72059
72059
  ? 'border-slate-700/50 bg-slate-800/60'
72060
72060
  : 'border-slate-200 bg-gradient-to-r from-blue-50/50 to-purple-50/50';
72061
72061
  }
72062
72062
  iconContainerClasses() {
72063
- return this.viewMode === ViewModeEnum.DARK
72063
+ return this.viewMode() === ViewModeEnum.DARK
72064
72064
  ? 'bg-blue-500/20 text-blue-400'
72065
72065
  : 'bg-blue-100 text-blue-600';
72066
72066
  }
72067
72067
  titleClasses() {
72068
- return this.viewMode === ViewModeEnum.DARK
72068
+ return this.viewMode() === ViewModeEnum.DARK
72069
72069
  ? 'text-white'
72070
72070
  : 'bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent';
72071
72071
  }
72072
72072
  subtitleClasses() {
72073
- return this.viewMode === ViewModeEnum.DARK
72073
+ return this.viewMode() === ViewModeEnum.DARK
72074
72074
  ? 'text-slate-400'
72075
72075
  : 'text-slate-600';
72076
72076
  }
72077
72077
  countBadgeClasses() {
72078
- return this.viewMode === ViewModeEnum.DARK
72078
+ return this.viewMode() === ViewModeEnum.DARK
72079
72079
  ? 'bg-blue-500/20 text-blue-400 border border-blue-500/30'
72080
72080
  : 'bg-blue-100 text-blue-700 border border-blue-200';
72081
72081
  }
72082
72082
  contentClasses() {
72083
- return this.viewMode === ViewModeEnum.DARK
72083
+ return this.viewMode() === ViewModeEnum.DARK
72084
72084
  ? 'bg-slate-800/30'
72085
72085
  : 'bg-slate-50/30';
72086
72086
  }
72087
72087
  emptyStateClasses() {
72088
- return this.viewMode === ViewModeEnum.DARK
72088
+ return this.viewMode() === ViewModeEnum.DARK
72089
72089
  ? 'border-slate-700'
72090
72090
  : 'border-slate-300';
72091
72091
  }
72092
72092
  emptyIconClasses() {
72093
- return this.viewMode === ViewModeEnum.DARK
72093
+ return this.viewMode() === ViewModeEnum.DARK
72094
72094
  ? 'bg-slate-700 text-slate-500'
72095
72095
  : 'bg-slate-100 text-slate-400';
72096
72096
  }
72097
72097
  emptyTitleClasses() {
72098
- return this.viewMode === ViewModeEnum.DARK
72098
+ return this.viewMode() === ViewModeEnum.DARK
72099
72099
  ? 'text-white'
72100
72100
  : 'text-slate-900';
72101
72101
  }
72102
72102
  emptyDescriptionClasses() {
72103
- return this.viewMode === ViewModeEnum.DARK
72103
+ return this.viewMode() === ViewModeEnum.DARK
72104
72104
  ? 'text-slate-400'
72105
72105
  : 'text-slate-600';
72106
72106
  }
72107
72107
  static { this.ɵfac = function StrategicGoalsTiledGridComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StrategicGoalsTiledGridComponent)(); }; }
72108
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: StrategicGoalsTiledGridComponent, selectors: [["symphiq-strategic-goals-tiled-grid"]], inputs: { goals: "goals", viewMode: "viewMode" }, outputs: { viewMoreClick: "viewMoreClick" }, decls: 16, vars: 10, consts: [[1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [1, "px-6", "py-5", "border-b", 3, "ngClass"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-3"], [1, "p-2.5", "rounded-lg", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-sm", "mt-0.5", 3, "ngClass"], [1, "px-3", "py-1.5", "rounded-lg", "font-semibold", "text-sm", 3, "ngClass"], [1, "p-6", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-4", "items-start"], [1, "text-center", "py-12", "rounded-xl", "border-2", "border-dashed", 3, "ngClass"], [3, "goal", "viewMode", "animationIndex"], [3, "viewMoreClick", "goal", "viewMode", "animationIndex"], [1, "w-16", "h-16", "mx-auto", "mb-4", "rounded-full", "flex", "items-center", "justify-center", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-8", "h-8"], [1, "text-lg", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"]], template: function StrategicGoalsTiledGridComponent_Template(rf, ctx) { if (rf & 1) {
72108
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: StrategicGoalsTiledGridComponent, selectors: [["symphiq-strategic-goals-tiled-grid"]], inputs: { goals: [1, "goals"], viewMode: [1, "viewMode"] }, outputs: { viewMoreClick: "viewMoreClick" }, decls: 16, vars: 10, consts: [[1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [1, "px-6", "py-5", "border-b", 3, "ngClass"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-3"], [1, "p-2.5", "rounded-lg", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-sm", "mt-0.5", 3, "ngClass"], [1, "px-3", "py-1.5", "rounded-lg", "font-semibold", "text-sm", 3, "ngClass"], [1, "p-6", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-4", "items-start"], [1, "text-center", "py-12", "rounded-xl", "border-2", "border-dashed", 3, "ngClass"], [3, "goal", "viewMode", "animationIndex"], [3, "viewMoreClick", "goal", "viewMode", "animationIndex"], [1, "w-16", "h-16", "mx-auto", "mb-4", "rounded-full", "flex", "items-center", "justify-center", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-8", "h-8"], [1, "text-lg", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"]], template: function StrategicGoalsTiledGridComponent_Template(rf, ctx) { if (rf & 1) {
72109
72109
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
72110
72110
  i0.ɵɵnamespaceSVG();
72111
72111
  i0.ɵɵelementStart(5, "svg", 5);
@@ -72134,13 +72134,13 @@ class StrategicGoalsTiledGridComponent {
72134
72134
  i0.ɵɵadvance(2);
72135
72135
  i0.ɵɵproperty("ngClass", ctx.subtitleClasses());
72136
72136
  i0.ɵɵadvance();
72137
- i0.ɵɵtextInterpolate2(" ", ctx.goals.length, " prioritized ", ctx.goals.length === 1 ? "goal" : "goals", " to drive growth and optimization ");
72137
+ i0.ɵɵtextInterpolate2(" ", ctx.goals().length, " prioritized ", ctx.goals().length === 1 ? "goal" : "goals", " to drive growth and optimization ");
72138
72138
  i0.ɵɵadvance();
72139
- i0.ɵɵconditional(ctx.goals.length > 0 ? 12 : -1);
72139
+ i0.ɵɵconditional(ctx.goals().length > 0 ? 12 : -1);
72140
72140
  i0.ɵɵadvance();
72141
72141
  i0.ɵɵproperty("ngClass", ctx.contentClasses());
72142
72142
  i0.ɵɵadvance();
72143
- i0.ɵɵconditional(ctx.goals.length > 0 ? 14 : 15);
72143
+ i0.ɵɵconditional(ctx.goals().length > 0 ? 14 : 15);
72144
72144
  } }, dependencies: [CommonModule, i1$1.NgClass, SimplifiedGoalCardComponent], encapsulation: 2, changeDetection: 0 }); }
72145
72145
  }
72146
72146
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StrategicGoalsTiledGridComponent, [{
@@ -72150,71 +72150,65 @@ class StrategicGoalsTiledGridComponent {
72150
72150
  standalone: true,
72151
72151
  imports: [CommonModule, SimplifiedGoalCardComponent],
72152
72152
  changeDetection: ChangeDetectionStrategy.OnPush,
72153
- template: `
72154
- <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
72155
- <div [ngClass]="headerClasses()" class="px-6 py-5 border-b">
72156
- <div class="flex items-center justify-between">
72157
- <div class="flex items-center gap-3">
72158
- <div [ngClass]="iconContainerClasses()" class="p-2.5 rounded-lg">
72159
- <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
72160
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"></path>
72161
- </svg>
72162
- </div>
72163
- <div>
72164
- <h2 [ngClass]="titleClasses()" class="text-xl font-bold">
72165
- Strategic Insights & Goals
72166
- </h2>
72167
- <p [ngClass]="subtitleClasses()" class="text-sm mt-0.5">
72168
- {{ goals.length }} prioritized {{ goals.length === 1 ? 'goal' : 'goals' }} to drive growth and optimization
72169
- </p>
72170
- </div>
72171
- </div>
72172
- @if (goals.length > 0) {
72173
- <div [ngClass]="countBadgeClasses()" class="px-3 py-1.5 rounded-lg font-semibold text-sm">
72174
- {{ goals.length }}
72175
- </div>
72176
- }
72177
- </div>
72178
- </div>
72179
-
72180
- <div [ngClass]="contentClasses()" class="p-6">
72181
- @if (goals.length > 0) {
72182
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 items-start">
72183
- @for (goal of sortedGoals(); track goal.id; let idx = $index) {
72184
- <symphiq-simplified-goal-card
72185
- [goal]="goal"
72186
- [viewMode]="viewMode"
72187
- [animationIndex]="idx"
72188
- (viewMoreClick)="viewMoreClick.emit($event)"
72189
- />
72190
- }
72191
- </div>
72192
- } @else {
72193
- <div [ngClass]="emptyStateClasses()" class="text-center py-12 rounded-xl border-2 border-dashed">
72194
- <div [ngClass]="emptyIconClasses()" class="w-16 h-16 mx-auto mb-4 rounded-full flex items-center justify-center">
72195
- <svg class="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
72196
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"></path>
72197
- </svg>
72198
- </div>
72199
- <h3 [ngClass]="emptyTitleClasses()" class="text-lg font-semibold mb-2">
72200
- No Strategic Goals Yet
72201
- </h3>
72202
- <p [ngClass]="emptyDescriptionClasses()" class="text-sm">
72203
- Complete your shop profile analysis to receive personalized strategic goals
72204
- </p>
72205
- </div>
72206
- }
72207
- </div>
72208
- </div>
72153
+ template: `
72154
+ <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
72155
+ <div [ngClass]="headerClasses()" class="px-6 py-5 border-b">
72156
+ <div class="flex items-center justify-between">
72157
+ <div class="flex items-center gap-3">
72158
+ <div [ngClass]="iconContainerClasses()" class="p-2.5 rounded-lg">
72159
+ <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
72160
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"></path>
72161
+ </svg>
72162
+ </div>
72163
+ <div>
72164
+ <h2 [ngClass]="titleClasses()" class="text-xl font-bold">
72165
+ Strategic Insights & Goals
72166
+ </h2>
72167
+ <p [ngClass]="subtitleClasses()" class="text-sm mt-0.5">
72168
+ {{ goals().length }} prioritized {{ goals().length === 1 ? 'goal' : 'goals' }} to drive growth and optimization
72169
+ </p>
72170
+ </div>
72171
+ </div>
72172
+ @if (goals().length > 0) {
72173
+ <div [ngClass]="countBadgeClasses()" class="px-3 py-1.5 rounded-lg font-semibold text-sm">
72174
+ {{ goals().length }}
72175
+ </div>
72176
+ }
72177
+ </div>
72178
+ </div>
72179
+
72180
+ <div [ngClass]="contentClasses()" class="p-6">
72181
+ @if (goals().length > 0) {
72182
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 items-start">
72183
+ @for (goal of sortedGoals(); track goal.id; let idx = $index) {
72184
+ <symphiq-simplified-goal-card
72185
+ [goal]="goal"
72186
+ [viewMode]="viewMode()"
72187
+ [animationIndex]="idx"
72188
+ (viewMoreClick)="viewMoreClick.emit($event)"
72189
+ />
72190
+ }
72191
+ </div>
72192
+ } @else {
72193
+ <div [ngClass]="emptyStateClasses()" class="text-center py-12 rounded-xl border-2 border-dashed">
72194
+ <div [ngClass]="emptyIconClasses()" class="w-16 h-16 mx-auto mb-4 rounded-full flex items-center justify-center">
72195
+ <svg class="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
72196
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"></path>
72197
+ </svg>
72198
+ </div>
72199
+ <h3 [ngClass]="emptyTitleClasses()" class="text-lg font-semibold mb-2">
72200
+ No Strategic Goals Yet
72201
+ </h3>
72202
+ <p [ngClass]="emptyDescriptionClasses()" class="text-sm">
72203
+ Complete your shop profile analysis to receive personalized strategic goals
72204
+ </p>
72205
+ </div>
72206
+ }
72207
+ </div>
72208
+ </div>
72209
72209
  `
72210
72210
  }]
72211
- }], null, { goals: [{
72212
- type: Input
72213
- }], viewMode: [{
72214
- type: Input
72215
- }], viewMoreClick: [{
72216
- type: Output
72217
- }] }); })();
72211
+ }], null, { goals: [{ type: i0.Input, args: [{ isSignal: true, alias: "goals", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], viewMoreClick: [{ type: i0.Output, args: ["viewMoreClick"] }] }); })();
72218
72212
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(StrategicGoalsTiledGridComponent, { className: "StrategicGoalsTiledGridComponent", filePath: "lib/components/profile-analysis-dashboard/cards/strategic-goals-tiled-grid.component.ts", lineNumber: 69 }); })();
72219
72213
 
72220
72214
  const _forTrack0$1 = ($index, $item) => $item.id;
@@ -72808,27 +72802,27 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_6_Template(rf, ctx
72808
72802
  i0.ɵɵelement(0, "symphiq-journey-progress-indicator", 5);
72809
72803
  } if (rf & 2) {
72810
72804
  const ctx_r0 = i0.ɵɵnextContext();
72811
- i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("currentStepId", ctx_r0.isMetricAnalysis() ? "metric-analysis" : ctx_r0.isFocusAreaAnalysis() ? "focus-area-analysis" : "shop-analysis")("showNextStepAction", false);
72805
+ i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("currentStepId", ctx_r0.currentStepId())("showNextStepAction", false);
72812
72806
  } }
72813
72807
  function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
72814
72808
  i0.ɵɵelement(0, "symphiq-shop-welcome-banner", 23);
72815
72809
  } if (rf & 2) {
72816
72810
  let tmp_3_0;
72817
72811
  const ctx_r0 = i0.ɵɵnextContext(2);
72818
- i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("businessName", ((tmp_3_0 = ctx_r0.currentAnalysis()) == null ? null : tmp_3_0.profileAnalysisStructured == null ? null : tmp_3_0.profileAnalysisStructured.businessName) || "your shop")("isOnboarded", ctx_r0.isOnboarded);
72812
+ i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("businessName", ((tmp_3_0 = ctx_r0.profileAnalysis()) == null ? null : tmp_3_0.profileAnalysisStructured == null ? null : tmp_3_0.profileAnalysisStructured.businessName) || "your shop")("isOnboarded", ctx_r0.isOnboarded());
72819
72813
  } }
72820
72814
  function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_2_Template(rf, ctx) { if (rf & 1) {
72821
72815
  i0.ɵɵelement(0, "symphiq-focus-area-welcome-banner", 24);
72822
72816
  } if (rf & 2) {
72823
72817
  const ctx_r0 = i0.ɵɵnextContext(2);
72824
- i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("focusAreaDomain", ctx_r0.focusAreaDomain())("focusAreaName", ctx_r0.focusAreaName())("focusAreaDetails", ctx_r0.focusAreaDetails);
72818
+ i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("focusAreaDomain", ctx_r0.focusAreaDomain())("focusAreaName", ctx_r0.focusAreaName())("focusAreaDetails", ctx_r0.focusAreaDetails());
72825
72819
  } }
72826
72820
  function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_3_Template(rf, ctx) { if (rf & 1) {
72827
72821
  i0.ɵɵelement(0, "symphiq-metric-welcome-banner", 25);
72828
72822
  } if (rf & 2) {
72829
72823
  let tmp_3_0;
72830
72824
  const ctx_r0 = i0.ɵɵnextContext(2);
72831
- i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("metricName", (tmp_3_0 = ctx_r0.currentAnalysis()) == null ? null : tmp_3_0.profileAnalysisStructured == null ? null : tmp_3_0.profileAnalysisStructured.metricExecutiveSummary == null ? null : tmp_3_0.profileAnalysisStructured.metricExecutiveSummary.metric)("isOnboarded", ctx_r0.isOnboarded);
72825
+ i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("metricName", (tmp_3_0 = ctx_r0.profileAnalysis()) == null ? null : tmp_3_0.profileAnalysisStructured == null ? null : tmp_3_0.profileAnalysisStructured.metricExecutiveSummary == null ? null : tmp_3_0.profileAnalysisStructured.metricExecutiveSummary.metric)("isOnboarded", ctx_r0.isOnboarded());
72832
72826
  } }
72833
72827
  function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
72834
72828
  i0.ɵɵelementStart(0, "div", 7);
@@ -73254,13 +73248,13 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_11_Template(rf, ct
73254
73248
  i0.ɵɵelement(0, "symphiq-floating-toc", 8);
73255
73249
  } if (rf & 2) {
73256
73250
  const ctx_r0 = i0.ɵɵnextContext();
73257
- i0.ɵɵproperty("sections", ctx_r0.tocSections())("viewMode", ctx_r0.viewMode)("embedded", ctx_r0.embedded)("scrollElement", ctx_r0.scrollElement ?? undefined);
73251
+ i0.ɵɵproperty("sections", ctx_r0.tocSections())("viewMode", ctx_r0.viewMode)("embedded", ctx_r0.embedded())("scrollElement", ctx_r0.scrollElement() ?? undefined);
73258
73252
  } }
73259
73253
  function SymphiqProfileAnalysisDashboardComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
73260
73254
  i0.ɵɵelement(0, "symphiq-section-navigation", 8);
73261
73255
  } if (rf & 2) {
73262
73256
  const ctx_r0 = i0.ɵɵnextContext();
73263
- i0.ɵɵproperty("sections", ctx_r0.tocSections())("viewMode", ctx_r0.viewMode)("embedded", ctx_r0.embedded)("scrollElement", ctx_r0.scrollElement ?? undefined);
73257
+ i0.ɵɵproperty("sections", ctx_r0.tocSections())("viewMode", ctx_r0.viewMode)("embedded", ctx_r0.embedded())("scrollElement", ctx_r0.scrollElement() ?? undefined);
73264
73258
  } }
73265
73259
  function SymphiqProfileAnalysisDashboardComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
73266
73260
  i0.ɵɵelement(0, "symphiq-goal-card", 12);
@@ -73320,14 +73314,21 @@ class SymphiqProfileAnalysisDashboardComponent {
73320
73314
  this.viewMode = ViewModeEnum.LIGHT;
73321
73315
  this.requestedByUser = input(...(ngDevMode ? [undefined, { debugName: "requestedByUser" }] : []));
73322
73316
  this.createdDate = input(...(ngDevMode ? [undefined, { debugName: "createdDate" }] : []));
73323
- this.embedded = false;
73324
- this.analysisType = ProfileAnalysisTypeEnum.SHOP;
73325
- this.isOnboarded = false;
73317
+ this.embedded = input(false, ...(ngDevMode ? [{ debugName: "embedded" }] : []));
73318
+ this.profileAnalysis = input(...(ngDevMode ? [undefined, { debugName: "profileAnalysis" }] : []));
73319
+ this.profile = input(...(ngDevMode ? [undefined, { debugName: "profile" }] : []));
73320
+ this.funnelAnalysis = input(...(ngDevMode ? [undefined, { debugName: "funnelAnalysis" }] : []));
73321
+ this.analysisType = input(ProfileAnalysisTypeEnum.SHOP, ...(ngDevMode ? [{ debugName: "analysisType" }] : []));
73322
+ this.focusAreaDetails = input(...(ngDevMode ? [undefined, { debugName: "focusAreaDetails" }] : []));
73323
+ this.isOnboarded = input(false, ...(ngDevMode ? [{ debugName: "isOnboarded" }] : []));
73324
+ this.scrollEvent = input(...(ngDevMode ? [undefined, { debugName: "scrollEvent" }] : []));
73325
+ this.scrollElement = input(...(ngDevMode ? [undefined, { debugName: "scrollElement" }] : []));
73326
+ this.isLoading = input(...(ngDevMode ? [undefined, { debugName: "isLoading" }] : []));
73326
73327
  this.COLLAPSE_THRESHOLD = 20;
73327
73328
  this.EXPAND_THRESHOLD = 10;
73328
73329
  this.embeddedScrollEffect = effect(() => {
73329
- const scrollEvent = this.scrollEvent;
73330
- const isEmbedded = this.embedded;
73330
+ const scrollEvent = this.scrollEvent();
73331
+ const isEmbedded = this.embedded();
73331
73332
  if (isEmbedded && !scrollEvent) {
73332
73333
  return;
73333
73334
  }
@@ -73346,7 +73347,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73346
73347
  else if (currentState && scrollTop < this.EXPAND_THRESHOLD) {
73347
73348
  this.headerScrollService.isScrolled.set(false);
73348
73349
  }
73349
- const scrollElement = this.scrollElement;
73350
+ const scrollElement = this.scrollElement();
73350
73351
  if (scrollElement) {
73351
73352
  const scrollHeight = scrollElement.scrollHeight || 0;
73352
73353
  const clientHeight = scrollElement.clientHeight || 0;
@@ -73365,7 +73366,6 @@ class SymphiqProfileAnalysisDashboardComponent {
73365
73366
  this.profileContextService = inject(ProfileContextService);
73366
73367
  this.profileItemLookupService = inject(ProfileItemLookupService);
73367
73368
  this.IconSourceEnum = IconSourceEnum;
73368
- this.currentAnalysis = signal(undefined, ...(ngDevMode ? [{ debugName: "currentAnalysis" }] : []));
73369
73369
  this.scrollProgress = signal(0, ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
73370
73370
  this.currentDisplayMode = signal(DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "currentDisplayMode" }] : []));
73371
73371
  this.isSearchOpen = signal(false, ...(ngDevMode ? [{ debugName: "isSearchOpen" }] : []));
@@ -73376,14 +73376,15 @@ class SymphiqProfileAnalysisDashboardComponent {
73376
73376
  this.isLightMode = computed(() => this.viewMode === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
73377
73377
  this.isSimplifiedView = computed(() => this.currentDisplayMode() === DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "isSimplifiedView" }] : []));
73378
73378
  // Analysis Type Detection
73379
- this.isFocusAreaAnalysis = computed(() => this.currentAnalysis()?.profileAnalysisStructured?.analysisType === ProfileAnalysisTypeEnum.FOCUS_AREA, ...(ngDevMode ? [{ debugName: "isFocusAreaAnalysis" }] : []));
73380
- this.isMetricAnalysis = computed(() => this.currentAnalysis()?.profileAnalysisStructured?.analysisType === ProfileAnalysisTypeEnum.METRIC, ...(ngDevMode ? [{ debugName: "isMetricAnalysis" }] : []));
73381
- this.isShopAnalysis = computed(() => this.currentAnalysis()?.profileAnalysisStructured?.analysisType === ProfileAnalysisTypeEnum.SHOP, ...(ngDevMode ? [{ debugName: "isShopAnalysis" }] : []));
73382
- this.focusAreaDomain = computed(() => this.currentAnalysis()?.profileAnalysisStructured?.focusAreaDomain, ...(ngDevMode ? [{ debugName: "focusAreaDomain" }] : []));
73383
- this.focusAreaName = computed(() => this.currentAnalysis()?.profileAnalysisStructured?.focusAreaName ||
73379
+ this.isFocusAreaAnalysis = computed(() => this.profileAnalysis()?.profileAnalysisStructured?.analysisType === ProfileAnalysisTypeEnum.FOCUS_AREA, ...(ngDevMode ? [{ debugName: "isFocusAreaAnalysis" }] : []));
73380
+ this.isMetricAnalysis = computed(() => this.profileAnalysis()?.profileAnalysisStructured?.analysisType === ProfileAnalysisTypeEnum.METRIC, ...(ngDevMode ? [{ debugName: "isMetricAnalysis" }] : []));
73381
+ this.isShopAnalysis = computed(() => this.profileAnalysis()?.profileAnalysisStructured?.analysisType === ProfileAnalysisTypeEnum.SHOP, ...(ngDevMode ? [{ debugName: "isShopAnalysis" }] : []));
73382
+ this.currentStepId = computed(() => this.isMetricAnalysis() ? 'metric-analysis' : (this.isFocusAreaAnalysis() ? 'focus-area-analysis' : 'shop-analysis'), ...(ngDevMode ? [{ debugName: "currentStepId" }] : []));
73383
+ this.focusAreaDomain = computed(() => this.profileAnalysis()?.profileAnalysisStructured?.focusAreaDomain, ...(ngDevMode ? [{ debugName: "focusAreaDomain" }] : []));
73384
+ this.focusAreaName = computed(() => this.profileAnalysis()?.profileAnalysisStructured?.focusAreaName ||
73384
73385
  FocusAreaDomainEnumUtil.title(this.focusAreaDomain()), ...(ngDevMode ? [{ debugName: "focusAreaName" }] : []));
73385
73386
  this.metricName = computed(() => {
73386
- const metric = this.currentAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary?.metric;
73387
+ const metric = this.profileAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary?.metric;
73387
73388
  if (!metric)
73388
73389
  return '';
73389
73390
  // Convert enum to readable format (e.g., SCREEN_PAGE_VIEWS -> Screen Page Views)
@@ -73393,7 +73394,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73393
73394
  this.focusAreaExecutiveSummary = computed(() => {
73394
73395
  if (!this.isFocusAreaAnalysis())
73395
73396
  return undefined;
73396
- const summary = this.currentAnalysis()?.profileAnalysisStructured?.focusAreaExecutiveSummary;
73397
+ const summary = this.profileAnalysis()?.profileAnalysisStructured?.focusAreaExecutiveSummary;
73397
73398
  if (!summary)
73398
73399
  return undefined;
73399
73400
  return {
@@ -73405,7 +73406,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73405
73406
  this.metricExecutiveSummary = computed(() => {
73406
73407
  if (!this.isMetricAnalysis())
73407
73408
  return undefined;
73408
- const summary = this.currentAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary;
73409
+ const summary = this.profileAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary;
73409
73410
  if (!summary)
73410
73411
  return undefined;
73411
73412
  return {
@@ -73418,7 +73419,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73418
73419
  this.executiveSummary = computed(() => {
73419
73420
  if (this.isFocusAreaAnalysis() || this.isMetricAnalysis())
73420
73421
  return undefined;
73421
- const summary = this.currentAnalysis()?.profileAnalysisStructured?.executiveSummary;
73422
+ const summary = this.profileAnalysis()?.profileAnalysisStructured?.executiveSummary;
73422
73423
  if (!summary)
73423
73424
  return undefined;
73424
73425
  return {
@@ -73426,7 +73427,11 @@ class SymphiqProfileAnalysisDashboardComponent {
73426
73427
  gradeRationale: this.formatGradeInText(summary.gradeRationale)
73427
73428
  };
73428
73429
  }, ...(ngDevMode ? [{ debugName: "executiveSummary" }] : []));
73429
- this.sections = computed(() => this.currentAnalysis()?.profileAnalysisStructured?.sections, ...(ngDevMode ? [{ debugName: "sections" }] : []));
73430
+ this.sections = computed(() => {
73431
+ console.log('this.profileAnalysis()', this.profileAnalysis());
73432
+ console.log('this.profileAnalysis()?.profileAnalysisStructured', this.profileAnalysis()?.profileAnalysisStructured);
73433
+ return this.profileAnalysis()?.profileAnalysisStructured?.sections;
73434
+ }, ...(ngDevMode ? [{ debugName: "sections" }] : []));
73430
73435
  this.allGoals = computed(() => {
73431
73436
  const sectionList = this.sections();
73432
73437
  if (!sectionList)
@@ -73611,9 +73616,10 @@ class SymphiqProfileAnalysisDashboardComponent {
73611
73616
  }, ...(ngDevMode ? [{ debugName: "allMetrics" }] : []));
73612
73617
  // Extract charts from funnel analysis
73613
73618
  this.allCharts = computed(() => {
73614
- if (!this.funnelAnalysis)
73619
+ const funnelAnalysis = this.funnelAnalysis();
73620
+ if (!funnelAnalysis)
73615
73621
  return [];
73616
- const performanceOverview = normalizeToV3(this.funnelAnalysis.performanceOverviewStructured);
73622
+ const performanceOverview = normalizeToV3(funnelAnalysis.performanceOverviewStructured);
73617
73623
  return performanceOverview?.charts || [];
73618
73624
  }, ...(ngDevMode ? [{ debugName: "allCharts" }] : []));
73619
73625
  // Extract insights from funnel analysis for goal-related insights
@@ -73643,7 +73649,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73643
73649
  return performanceOverview?.strengths || [];
73644
73650
  }, ...(ngDevMode ? [{ debugName: "funnelStrengths" }] : []));
73645
73651
  this.allBusinessInsights = computed(() => {
73646
- const profile = this.profile;
73652
+ const profile = this.profile();
73647
73653
  return profile?.profileStructured?.recommendations || [];
73648
73654
  }, ...(ngDevMode ? [{ debugName: "allBusinessInsights" }] : []));
73649
73655
  // Update funnel modal data whenever metrics/charts change
@@ -73655,7 +73661,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73655
73661
  });
73656
73662
  }
73657
73663
  onWindowScroll() {
73658
- this.headerScrollService.handleScroll(this.embedded);
73664
+ this.headerScrollService.handleScroll(this.embedded());
73659
73665
  const scrollTop = window.scrollY;
73660
73666
  const docHeight = document.documentElement.scrollHeight - window.innerHeight;
73661
73667
  this.scrollProgress.set((scrollTop / docHeight) * 100);
@@ -73663,19 +73669,15 @@ class SymphiqProfileAnalysisDashboardComponent {
73663
73669
  ngOnChanges(changes) {
73664
73670
  // Update the signal whenever funnelAnalysis input changes
73665
73671
  if (changes['funnelAnalysis']) {
73666
- this.funnelAnalysisSignal.set(this.funnelAnalysis);
73672
+ this.funnelAnalysisSignal.set(this.funnelAnalysis());
73667
73673
  }
73668
73674
  }
73669
73675
  ngOnInit() {
73670
- // Use provided data
73671
- if (this.profileAnalysis) {
73672
- this.currentAnalysis.set(this.profileAnalysis);
73673
- }
73674
73676
  // Set the signal with the funnelAnalysis data
73675
- this.funnelAnalysisSignal.set(this.funnelAnalysis);
73677
+ this.funnelAnalysisSignal.set(this.funnelAnalysis());
73676
73678
  // Index business profile recommendations into ProfileContextService
73677
73679
  // This enables detailed recommendation lookup for goal business insights
73678
- const profileToUse = this.profile;
73680
+ const profileToUse = this.profile();
73679
73681
  if (profileToUse?.profileStructured?.sections) {
73680
73682
  const recommendations = profileToUse.profileStructured?.recommendations || [];
73681
73683
  this.profileContextService.indexProfile(profileToUse.profileStructured.sections, recommendations);
@@ -73842,7 +73844,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73842
73844
  [ProfileAnalysisTypeEnum.RECOMMENDATION_PROGRESS]: 'Recommendation Progress',
73843
73845
  [ProfileAnalysisTypeEnum.RECOMMENDATION_COMPLETION]: 'Recommendation Completion'
73844
73846
  };
73845
- return labels[this.analysisType] || 'Profile';
73847
+ return labels[this.analysisType()] || 'Profile';
73846
73848
  }
73847
73849
  getAnalysisSubtitle() {
73848
73850
  if (this.isFocusAreaAnalysis()) {
@@ -74022,7 +74024,7 @@ class SymphiqProfileAnalysisDashboardComponent {
74022
74024
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.funnelModalComponent = _t.first);
74023
74025
  } }, hostBindings: function SymphiqProfileAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
74024
74026
  i0.ɵɵlistener("scroll", function SymphiqProfileAnalysisDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onWindowScroll($event); }, i0.ɵɵresolveWindow);
74025
- } }, inputs: { viewMode: "viewMode", requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], embedded: "embedded", profileAnalysis: "profileAnalysis", profile: "profile", funnelAnalysis: "funnelAnalysis", analysisType: "analysisType", focusAreaDetails: "focusAreaDetails", isOnboarded: "isOnboarded", scrollEvent: "scrollEvent", scrollElement: "scrollElement", isLoading: "isLoading" }, features: [i0.ɵɵNgOnChangesFeature], decls: 27, vars: 45, consts: [[1, "min-h-screen", "relative", 3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "fixed", "inset-0", "bg-slate-900"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate"], [3, "viewMode", "currentStepId", "showNextStepAction"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "space-y-12"], [1, "mb-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "isLightMode", "viewMode", "allMetrics", "allInsights", "allCharts"], [3, "isLightMode"], [1, "absolute", "inset-0", "bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))]", "from-slate-800", "via-slate-900", "to-slate-900"], [3, "viewMode", "businessName", "isOnboarded"], [3, "viewMode", "focusAreaDomain", "focusAreaName", "focusAreaDetails"], [3, "viewMode", "metricName", "isOnboarded"], [1, "mb-8"], [3, "viewMoreClick", "goals", "viewMode"], [3, "sections", "viewMode", "executiveSummary", "focusAreaExecutiveSummary", "metricExecutiveSummary", "metricName", "allGoals", "allMetrics", "allCharts", "allInsights"], ["id", "section-executive-summary", 1, "space-y-6", "scroll-mt-24"], [3, "viewMode", "summary", "allGoals"], [3, "viewMode", "summary", "metricName", "allGoals"], [1, "space-y-8"], [1, "rounded-2xl", "p-8", "shadow-xl", 3, "ngClass"], [1, "space-y-6"], [1, "flex", "items-start", "justify-between", "gap-4"], [1, "flex-1"], [1, "text-2xl", "font-bold", "mb-3", 3, "ngClass"], [1, "text-lg", "leading-relaxed", 3, "ngClass"], [3, "grade", "gradeRationale", "viewMode"], [1, "rounded-xl", "p-6", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-3", "gap-4"], ["type", "button", 1, "p-4", "rounded-xl", "text-left", "transition-all", "duration-200", "hover:scale-[1.02]", "active:scale-[0.98]", "group", "cursor-pointer", 3, "click", "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "mb-1", 3, "ngClass"], [1, "text-3xl", "font-bold", "mb-2", 3, "ngClass"], [1, "flex", "items-center", "gap-1.5", "text-xs", "font-medium"], [3, "ngClass"], ["size", "w-4 h-4", 1, "transition-transform", "group-hover:translate-x-1", 3, "icon", "ngClass"], ["size", "w-4 h-4", 1, "transition-transform", "group-hover:translate-y-1", "animate-bounce", 3, "icon", "ngClass"], ["id", "quick-wins-section", 1, "space-y-4", "scroll-mt-24"], [1, "text-lg", "font-semibold", "mb-3", 3, "ngClass"], [1, "relative"], [1, "mb-6", "lg:float-left", "lg:mr-6", "lg:mb-4", "lg:max-w-[66%]"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"], [1, "clear-both"], [3, "visual", "viewMode"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "grid", "grid-cols-1", "lg:grid-cols-2", "gap-6"], [1, "rounded-xl", "p-6", "transition-all", "duration-300", 3, "ngClass"], [1, "space-y-4"], [1, "flex", "items-start", "gap-3"], [1, "flex-shrink-0", "w-8", "h-8", "rounded-full", "flex", "items-center", "justify-center", "text-sm", "font-bold", 3, "ngClass"], [1, "font-semibold", "leading-tight", "flex-1", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-2"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "text-sm", 3, "ngClass"], [1, "space-y-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], [3, "relatedGoalIds", "allGoals", "viewMode"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "allGoals"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "metricName", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "executiveSummary", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [1, "w-full"]], template: function SymphiqProfileAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
74027
+ } }, inputs: { viewMode: "viewMode", requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], embedded: [1, "embedded"], profileAnalysis: [1, "profileAnalysis"], profile: [1, "profile"], funnelAnalysis: [1, "funnelAnalysis"], analysisType: [1, "analysisType"], focusAreaDetails: [1, "focusAreaDetails"], isOnboarded: [1, "isOnboarded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"] }, features: [i0.ɵɵNgOnChangesFeature], decls: 27, vars: 45, consts: [[1, "min-h-screen", "relative", 3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "fixed", "inset-0", "bg-slate-900"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate"], [3, "viewMode", "currentStepId", "showNextStepAction"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "space-y-12"], [1, "mb-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "isLightMode", "viewMode", "allMetrics", "allInsights", "allCharts"], [3, "isLightMode"], [1, "absolute", "inset-0", "bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))]", "from-slate-800", "via-slate-900", "to-slate-900"], [3, "viewMode", "businessName", "isOnboarded"], [3, "viewMode", "focusAreaDomain", "focusAreaName", "focusAreaDetails"], [3, "viewMode", "metricName", "isOnboarded"], [1, "mb-8"], [3, "viewMoreClick", "goals", "viewMode"], [3, "sections", "viewMode", "executiveSummary", "focusAreaExecutiveSummary", "metricExecutiveSummary", "metricName", "allGoals", "allMetrics", "allCharts", "allInsights"], ["id", "section-executive-summary", 1, "space-y-6", "scroll-mt-24"], [3, "viewMode", "summary", "allGoals"], [3, "viewMode", "summary", "metricName", "allGoals"], [1, "space-y-8"], [1, "rounded-2xl", "p-8", "shadow-xl", 3, "ngClass"], [1, "space-y-6"], [1, "flex", "items-start", "justify-between", "gap-4"], [1, "flex-1"], [1, "text-2xl", "font-bold", "mb-3", 3, "ngClass"], [1, "text-lg", "leading-relaxed", 3, "ngClass"], [3, "grade", "gradeRationale", "viewMode"], [1, "rounded-xl", "p-6", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-3", "gap-4"], ["type", "button", 1, "p-4", "rounded-xl", "text-left", "transition-all", "duration-200", "hover:scale-[1.02]", "active:scale-[0.98]", "group", "cursor-pointer", 3, "click", "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "mb-1", 3, "ngClass"], [1, "text-3xl", "font-bold", "mb-2", 3, "ngClass"], [1, "flex", "items-center", "gap-1.5", "text-xs", "font-medium"], [3, "ngClass"], ["size", "w-4 h-4", 1, "transition-transform", "group-hover:translate-x-1", 3, "icon", "ngClass"], ["size", "w-4 h-4", 1, "transition-transform", "group-hover:translate-y-1", "animate-bounce", 3, "icon", "ngClass"], ["id", "quick-wins-section", 1, "space-y-4", "scroll-mt-24"], [1, "text-lg", "font-semibold", "mb-3", 3, "ngClass"], [1, "relative"], [1, "mb-6", "lg:float-left", "lg:mr-6", "lg:mb-4", "lg:max-w-[66%]"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"], [1, "clear-both"], [3, "visual", "viewMode"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "grid", "grid-cols-1", "lg:grid-cols-2", "gap-6"], [1, "rounded-xl", "p-6", "transition-all", "duration-300", 3, "ngClass"], [1, "space-y-4"], [1, "flex", "items-start", "gap-3"], [1, "flex-shrink-0", "w-8", "h-8", "rounded-full", "flex", "items-center", "justify-center", "text-sm", "font-bold", 3, "ngClass"], [1, "font-semibold", "leading-tight", "flex-1", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-2"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "text-sm", 3, "ngClass"], [1, "space-y-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], [3, "relatedGoalIds", "allGoals", "viewMode"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "allGoals"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "metricName", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "executiveSummary", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [1, "w-full"]], template: function SymphiqProfileAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
74026
74028
  i0.ɵɵelementStart(0, "div", 0)(1, "div");
74027
74029
  i0.ɵɵelement(2, "div", 1);
74028
74030
  i0.ɵɵelementEnd();
@@ -74069,16 +74071,16 @@ class SymphiqProfileAnalysisDashboardComponent {
74069
74071
  let tmp_36_0;
74070
74072
  i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
74071
74073
  i0.ɵɵadvance();
74072
- i0.ɵɵclassMap(ctx.embedded ? "sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30" : "fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30");
74074
+ i0.ɵɵclassMap(ctx.embedded() ? "sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30" : "fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30");
74073
74075
  i0.ɵɵadvance();
74074
74076
  i0.ɵɵstyleProp("width", ctx.scrollProgress(), "%");
74075
74077
  i0.ɵɵproperty("ngClass", ctx.isLightMode() ? "bg-gradient-to-r from-blue-500 to-purple-500" : "bg-gradient-to-r from-blue-400 to-purple-400");
74076
74078
  i0.ɵɵadvance();
74077
74079
  i0.ɵɵconditional(!ctx.isLightMode() ? 3 : -1);
74078
74080
  i0.ɵɵadvance(2);
74079
- i0.ɵɵproperty("title", ((tmp_5_0 = ctx.currentAnalysis()) == null ? null : tmp_5_0.profileAnalysisStructured == null ? null : tmp_5_0.profileAnalysisStructured.businessName) || "Profile Analysis")("subtitle", ctx.getAnalysisSubtitle())("currentSection", ctx.getAnalysisSubtitle())("viewMode", ctx.viewMode)("viewModeLabel", ctx.displayModeLabel())("isLoading", ctx.isLoading)("requestedByUser", ctx.requestedByUser())("createdDate", (tmp_12_0 = ctx.currentAnalysis()) == null ? null : tmp_12_0.selfContentCompletedDate);
74081
+ i0.ɵɵproperty("title", ((tmp_5_0 = ctx.profileAnalysis()) == null ? null : tmp_5_0.profileAnalysisStructured == null ? null : tmp_5_0.profileAnalysisStructured.businessName) || "Profile Analysis")("subtitle", ctx.getAnalysisSubtitle())("currentSection", ctx.getAnalysisSubtitle())("viewMode", ctx.viewMode)("viewModeLabel", ctx.displayModeLabel())("isLoading", ctx.isLoading())("requestedByUser", ctx.requestedByUser())("createdDate", (tmp_12_0 = ctx.profileAnalysis()) == null ? null : tmp_12_0.selfContentCompletedDate);
74080
74082
  i0.ɵɵadvance();
74081
- i0.ɵɵconditional(ctx.isSimplifiedView() && !ctx.isOnboarded ? 6 : -1);
74083
+ i0.ɵɵconditional(ctx.isSimplifiedView() && !ctx.isOnboarded() ? 6 : -1);
74082
74084
  i0.ɵɵadvance(2);
74083
74085
  i0.ɵɵconditional(ctx.isSimplifiedView() ? 8 : -1);
74084
74086
  i0.ɵɵadvance();
@@ -74128,7 +74130,7 @@ class SymphiqProfileAnalysisDashboardComponent {
74128
74130
  <div [ngClass]="getContainerClasses()" class="min-h-screen relative">
74129
74131
  <!-- Scroll Progress Bar -->
74130
74132
  <div
74131
- [class]="embedded ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
74133
+ [class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
74132
74134
  <div
74133
74135
  [style.width.%]="scrollProgress()"
74134
74136
  [ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
@@ -74147,23 +74149,23 @@ class SymphiqProfileAnalysisDashboardComponent {
74147
74149
  <div class="relative z-[51]">
74148
74150
  <!-- Dashboard Header -->
74149
74151
  <symphiq-dashboard-header
74150
- [title]="currentAnalysis()?.profileAnalysisStructured?.businessName || 'Profile Analysis'"
74152
+ [title]="profileAnalysis()?.profileAnalysisStructured?.businessName || 'Profile Analysis'"
74151
74153
  [subtitle]="getAnalysisSubtitle()"
74152
74154
  [currentSection]="getAnalysisSubtitle()"
74153
74155
  [viewMode]="viewMode"
74154
74156
  [viewModeLabel]="displayModeLabel()"
74155
- [isLoading]="isLoading"
74157
+ [isLoading]="isLoading()"
74156
74158
  [requestedByUser]="requestedByUser()"
74157
- [createdDate]="currentAnalysis()?.selfContentCompletedDate"
74159
+ [createdDate]="profileAnalysis()?.selfContentCompletedDate"
74158
74160
  (searchClick)="openSearch()"
74159
74161
  (viewModeClick)="openViewModeSwitcher()"
74160
74162
  />
74161
74163
 
74162
74164
  <!-- Journey Progress Banner -->
74163
- @if (isSimplifiedView() && !isOnboarded) {
74165
+ @if (isSimplifiedView() && !isOnboarded()) {
74164
74166
  <symphiq-journey-progress-indicator
74165
74167
  [viewMode]="viewMode"
74166
- [currentStepId]="isMetricAnalysis() ? 'metric-analysis' : (isFocusAreaAnalysis() ? 'focus-area-analysis' : 'shop-analysis')"
74168
+ [currentStepId]="currentStepId()"
74167
74169
  [showNextStepAction]="false"
74168
74170
  />
74169
74171
  }
@@ -74177,8 +74179,8 @@ class SymphiqProfileAnalysisDashboardComponent {
74177
74179
  @if (!isFocusAreaAnalysis() && !isMetricAnalysis()) {
74178
74180
  <symphiq-shop-welcome-banner
74179
74181
  [viewMode]="viewMode"
74180
- [businessName]="currentAnalysis()?.profileAnalysisStructured?.businessName || 'your shop'"
74181
- [isOnboarded]="isOnboarded"
74182
+ [businessName]="profileAnalysis()?.profileAnalysisStructured?.businessName || 'your shop'"
74183
+ [isOnboarded]="isOnboarded()"
74182
74184
  />
74183
74185
  }
74184
74186
  @if (isFocusAreaAnalysis()) {
@@ -74186,14 +74188,14 @@ class SymphiqProfileAnalysisDashboardComponent {
74186
74188
  [viewMode]="viewMode"
74187
74189
  [focusAreaDomain]="focusAreaDomain()"
74188
74190
  [focusAreaName]="focusAreaName()"
74189
- [focusAreaDetails]="focusAreaDetails"
74191
+ [focusAreaDetails]="focusAreaDetails()"
74190
74192
  />
74191
74193
  }
74192
74194
  @if (isMetricAnalysis()) {
74193
74195
  <symphiq-metric-welcome-banner
74194
74196
  [viewMode]="viewMode"
74195
- [metricName]="currentAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary?.metric"
74196
- [isOnboarded]="isOnboarded"
74197
+ [metricName]="profileAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary?.metric"
74198
+ [isOnboarded]="isOnboarded()"
74197
74199
  />
74198
74200
  }
74199
74201
  </div>
@@ -74520,8 +74522,8 @@ class SymphiqProfileAnalysisDashboardComponent {
74520
74522
  <symphiq-floating-toc
74521
74523
  [sections]="tocSections()"
74522
74524
  [viewMode]="viewMode"
74523
- [embedded]="embedded"
74524
- [scrollElement]="scrollElement ?? undefined"
74525
+ [embedded]="embedded()"
74526
+ [scrollElement]="scrollElement() ?? undefined"
74525
74527
  />
74526
74528
  }
74527
74529
 
@@ -74530,8 +74532,8 @@ class SymphiqProfileAnalysisDashboardComponent {
74530
74532
  <symphiq-section-navigation
74531
74533
  [sections]="tocSections()"
74532
74534
  [viewMode]="viewMode"
74533
- [embedded]="embedded"
74534
- [scrollElement]="scrollElement ?? undefined"
74535
+ [embedded]="embedded()"
74536
+ [scrollElement]="scrollElement() ?? undefined"
74535
74537
  />
74536
74538
  }
74537
74539
 
@@ -74652,27 +74654,7 @@ class SymphiqProfileAnalysisDashboardComponent {
74652
74654
  args: [ModalComponent]
74653
74655
  }], viewMode: [{
74654
74656
  type: Input
74655
- }], requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], createdDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "createdDate", required: false }] }], embedded: [{
74656
- type: Input
74657
- }], profileAnalysis: [{
74658
- type: Input
74659
- }], profile: [{
74660
- type: Input
74661
- }], funnelAnalysis: [{
74662
- type: Input
74663
- }], analysisType: [{
74664
- type: Input
74665
- }], focusAreaDetails: [{
74666
- type: Input
74667
- }], isOnboarded: [{
74668
- type: Input
74669
- }], scrollEvent: [{
74670
- type: Input
74671
- }], scrollElement: [{
74672
- type: Input
74673
- }], isLoading: [{
74674
- type: Input
74675
- }], onWindowScroll: [{
74657
+ }], requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], createdDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "createdDate", required: false }] }], embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], profileAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnalysis", required: false }] }], profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: false }] }], funnelAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelAnalysis", required: false }] }], analysisType: [{ type: i0.Input, args: [{ isSignal: true, alias: "analysisType", required: false }] }], focusAreaDetails: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusAreaDetails", required: false }] }], isOnboarded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOnboarded", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], onWindowScroll: [{
74676
74658
  type: HostListener,
74677
74659
  args: ['window:scroll', ['$event']]
74678
74660
  }] }); })();