@eric-emg/symphiq-components 1.2.119 → 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.
@@ -13,7 +13,6 @@ import * as i2$1 from '@angular/forms';
13
13
  import { FormsModule } from '@angular/forms';
14
14
  import { trigger, transition, style, animate } from '@angular/animations';
15
15
  import { toObservable, toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
16
- import { StringMemoizeCache as StringMemoizeCache$1 } from '@symphiq-components/utils/memoize';
17
16
  import { Root, Tooltip, color, Bullet, Circle, Legend, percent, p100, p50 } from '@amcharts/amcharts5';
18
17
  import { XYChart, DateAxis, AxisRendererX, ValueAxis, AxisRendererY, XYCursor, LineSeries, CategoryAxis, ColumnSeries } from '@amcharts/amcharts5/xy';
19
18
  import am5themes_Animated from '@amcharts/amcharts5/themes/Animated';
@@ -54566,7 +54565,7 @@ class DashboardHeaderComponent {
54566
54565
  this.viewModeClick = new EventEmitter();
54567
54566
  this.headerScrollService = inject(HeaderScrollService);
54568
54567
  this.isLightMode = computed(() => this.viewMode === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
54569
- this.dateFormatCache = new StringMemoizeCache$1();
54568
+ this.dateFormatCache = new StringMemoizeCache();
54570
54569
  this.formattedGeneratedDate = computed(() => {
54571
54570
  let formatted = '';
54572
54571
  const createdDate = this.createdDate();
@@ -71983,7 +71982,7 @@ function StrategicGoalsTiledGridComponent_Conditional_12_Template(rf, ctx) { if
71983
71982
  const ctx_r0 = i0.ɵɵnextContext();
71984
71983
  i0.ɵɵproperty("ngClass", ctx_r0.countBadgeClasses());
71985
71984
  i0.ɵɵadvance();
71986
- i0.ɵɵtextInterpolate1(" ", ctx_r0.goals.length, " ");
71985
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.goals().length, " ");
71987
71986
  } }
71988
71987
  function StrategicGoalsTiledGridComponent_Conditional_14_For_2_Template(rf, ctx) { if (rf & 1) {
71989
71988
  const _r2 = i0.ɵɵgetCurrentView();
@@ -71994,7 +71993,7 @@ function StrategicGoalsTiledGridComponent_Conditional_14_For_2_Template(rf, ctx)
71994
71993
  const goal_r3 = ctx.$implicit;
71995
71994
  const ɵ$index_32_r4 = ctx.$index;
71996
71995
  const ctx_r0 = i0.ɵɵnextContext(2);
71997
- 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);
71998
71997
  } }
71999
71998
  function StrategicGoalsTiledGridComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
72000
71999
  i0.ɵɵelementStart(0, "div", 11);
@@ -72030,11 +72029,11 @@ function StrategicGoalsTiledGridComponent_Conditional_15_Template(rf, ctx) { if
72030
72029
  } }
72031
72030
  class StrategicGoalsTiledGridComponent {
72032
72031
  constructor() {
72033
- this.goals = [];
72034
- this.viewMode = ViewModeEnum.LIGHT;
72035
- this.viewMoreClick = new EventEmitter();
72032
+ this.goals = input([], ...(ngDevMode ? [{ debugName: "goals" }] : []));
72033
+ this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
72034
+ this.viewMoreClick = output();
72036
72035
  this.sortedGoals = computed(() => {
72037
- return [...this.goals].sort((a, b) => {
72036
+ return [...this.goals()].sort((a, b) => {
72038
72037
  const aPriority = this.getPriorityOrder(a);
72039
72038
  const bPriority = this.getPriorityOrder(b);
72040
72039
  return aPriority - bPriority;
@@ -72051,62 +72050,62 @@ class StrategicGoalsTiledGridComponent {
72051
72050
  return priorityMap[goal.priority || ''] ?? 999;
72052
72051
  }
72053
72052
  containerClasses() {
72054
- return this.viewMode === ViewModeEnum.DARK
72053
+ return this.viewMode() === ViewModeEnum.DARK
72055
72054
  ? 'bg-slate-800/40 border-slate-700/50'
72056
72055
  : 'bg-white border-slate-200';
72057
72056
  }
72058
72057
  headerClasses() {
72059
- return this.viewMode === ViewModeEnum.DARK
72058
+ return this.viewMode() === ViewModeEnum.DARK
72060
72059
  ? 'border-slate-700/50 bg-slate-800/60'
72061
72060
  : 'border-slate-200 bg-gradient-to-r from-blue-50/50 to-purple-50/50';
72062
72061
  }
72063
72062
  iconContainerClasses() {
72064
- return this.viewMode === ViewModeEnum.DARK
72063
+ return this.viewMode() === ViewModeEnum.DARK
72065
72064
  ? 'bg-blue-500/20 text-blue-400'
72066
72065
  : 'bg-blue-100 text-blue-600';
72067
72066
  }
72068
72067
  titleClasses() {
72069
- return this.viewMode === ViewModeEnum.DARK
72068
+ return this.viewMode() === ViewModeEnum.DARK
72070
72069
  ? 'text-white'
72071
72070
  : 'bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent';
72072
72071
  }
72073
72072
  subtitleClasses() {
72074
- return this.viewMode === ViewModeEnum.DARK
72073
+ return this.viewMode() === ViewModeEnum.DARK
72075
72074
  ? 'text-slate-400'
72076
72075
  : 'text-slate-600';
72077
72076
  }
72078
72077
  countBadgeClasses() {
72079
- return this.viewMode === ViewModeEnum.DARK
72078
+ return this.viewMode() === ViewModeEnum.DARK
72080
72079
  ? 'bg-blue-500/20 text-blue-400 border border-blue-500/30'
72081
72080
  : 'bg-blue-100 text-blue-700 border border-blue-200';
72082
72081
  }
72083
72082
  contentClasses() {
72084
- return this.viewMode === ViewModeEnum.DARK
72083
+ return this.viewMode() === ViewModeEnum.DARK
72085
72084
  ? 'bg-slate-800/30'
72086
72085
  : 'bg-slate-50/30';
72087
72086
  }
72088
72087
  emptyStateClasses() {
72089
- return this.viewMode === ViewModeEnum.DARK
72088
+ return this.viewMode() === ViewModeEnum.DARK
72090
72089
  ? 'border-slate-700'
72091
72090
  : 'border-slate-300';
72092
72091
  }
72093
72092
  emptyIconClasses() {
72094
- return this.viewMode === ViewModeEnum.DARK
72093
+ return this.viewMode() === ViewModeEnum.DARK
72095
72094
  ? 'bg-slate-700 text-slate-500'
72096
72095
  : 'bg-slate-100 text-slate-400';
72097
72096
  }
72098
72097
  emptyTitleClasses() {
72099
- return this.viewMode === ViewModeEnum.DARK
72098
+ return this.viewMode() === ViewModeEnum.DARK
72100
72099
  ? 'text-white'
72101
72100
  : 'text-slate-900';
72102
72101
  }
72103
72102
  emptyDescriptionClasses() {
72104
- return this.viewMode === ViewModeEnum.DARK
72103
+ return this.viewMode() === ViewModeEnum.DARK
72105
72104
  ? 'text-slate-400'
72106
72105
  : 'text-slate-600';
72107
72106
  }
72108
72107
  static { this.ɵfac = function StrategicGoalsTiledGridComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StrategicGoalsTiledGridComponent)(); }; }
72109
- 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) {
72110
72109
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
72111
72110
  i0.ɵɵnamespaceSVG();
72112
72111
  i0.ɵɵelementStart(5, "svg", 5);
@@ -72135,13 +72134,13 @@ class StrategicGoalsTiledGridComponent {
72135
72134
  i0.ɵɵadvance(2);
72136
72135
  i0.ɵɵproperty("ngClass", ctx.subtitleClasses());
72137
72136
  i0.ɵɵadvance();
72138
- 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 ");
72139
72138
  i0.ɵɵadvance();
72140
- i0.ɵɵconditional(ctx.goals.length > 0 ? 12 : -1);
72139
+ i0.ɵɵconditional(ctx.goals().length > 0 ? 12 : -1);
72141
72140
  i0.ɵɵadvance();
72142
72141
  i0.ɵɵproperty("ngClass", ctx.contentClasses());
72143
72142
  i0.ɵɵadvance();
72144
- i0.ɵɵconditional(ctx.goals.length > 0 ? 14 : 15);
72143
+ i0.ɵɵconditional(ctx.goals().length > 0 ? 14 : 15);
72145
72144
  } }, dependencies: [CommonModule, i1$1.NgClass, SimplifiedGoalCardComponent], encapsulation: 2, changeDetection: 0 }); }
72146
72145
  }
72147
72146
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StrategicGoalsTiledGridComponent, [{
@@ -72151,71 +72150,65 @@ class StrategicGoalsTiledGridComponent {
72151
72150
  standalone: true,
72152
72151
  imports: [CommonModule, SimplifiedGoalCardComponent],
72153
72152
  changeDetection: ChangeDetectionStrategy.OnPush,
72154
- template: `
72155
- <div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
72156
- <div [ngClass]="headerClasses()" class="px-6 py-5 border-b">
72157
- <div class="flex items-center justify-between">
72158
- <div class="flex items-center gap-3">
72159
- <div [ngClass]="iconContainerClasses()" class="p-2.5 rounded-lg">
72160
- <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
72161
- <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>
72162
- </svg>
72163
- </div>
72164
- <div>
72165
- <h2 [ngClass]="titleClasses()" class="text-xl font-bold">
72166
- Strategic Insights & Goals
72167
- </h2>
72168
- <p [ngClass]="subtitleClasses()" class="text-sm mt-0.5">
72169
- {{ goals.length }} prioritized {{ goals.length === 1 ? 'goal' : 'goals' }} to drive growth and optimization
72170
- </p>
72171
- </div>
72172
- </div>
72173
- @if (goals.length > 0) {
72174
- <div [ngClass]="countBadgeClasses()" class="px-3 py-1.5 rounded-lg font-semibold text-sm">
72175
- {{ goals.length }}
72176
- </div>
72177
- }
72178
- </div>
72179
- </div>
72180
-
72181
- <div [ngClass]="contentClasses()" class="p-6">
72182
- @if (goals.length > 0) {
72183
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 items-start">
72184
- @for (goal of sortedGoals(); track goal.id; let idx = $index) {
72185
- <symphiq-simplified-goal-card
72186
- [goal]="goal"
72187
- [viewMode]="viewMode"
72188
- [animationIndex]="idx"
72189
- (viewMoreClick)="viewMoreClick.emit($event)"
72190
- />
72191
- }
72192
- </div>
72193
- } @else {
72194
- <div [ngClass]="emptyStateClasses()" class="text-center py-12 rounded-xl border-2 border-dashed">
72195
- <div [ngClass]="emptyIconClasses()" class="w-16 h-16 mx-auto mb-4 rounded-full flex items-center justify-center">
72196
- <svg class="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24">
72197
- <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>
72198
- </svg>
72199
- </div>
72200
- <h3 [ngClass]="emptyTitleClasses()" class="text-lg font-semibold mb-2">
72201
- No Strategic Goals Yet
72202
- </h3>
72203
- <p [ngClass]="emptyDescriptionClasses()" class="text-sm">
72204
- Complete your shop profile analysis to receive personalized strategic goals
72205
- </p>
72206
- </div>
72207
- }
72208
- </div>
72209
- </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>
72210
72209
  `
72211
72210
  }]
72212
- }], null, { goals: [{
72213
- type: Input
72214
- }], viewMode: [{
72215
- type: Input
72216
- }], viewMoreClick: [{
72217
- type: Output
72218
- }] }); })();
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"] }] }); })();
72219
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 }); })();
72220
72213
 
72221
72214
  const _forTrack0$1 = ($index, $item) => $item.id;
@@ -72809,27 +72802,27 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_6_Template(rf, ctx
72809
72802
  i0.ɵɵelement(0, "symphiq-journey-progress-indicator", 5);
72810
72803
  } if (rf & 2) {
72811
72804
  const ctx_r0 = i0.ɵɵnextContext();
72812
- 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);
72813
72806
  } }
72814
72807
  function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
72815
72808
  i0.ɵɵelement(0, "symphiq-shop-welcome-banner", 23);
72816
72809
  } if (rf & 2) {
72817
72810
  let tmp_3_0;
72818
72811
  const ctx_r0 = i0.ɵɵnextContext(2);
72819
- 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());
72820
72813
  } }
72821
72814
  function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_2_Template(rf, ctx) { if (rf & 1) {
72822
72815
  i0.ɵɵelement(0, "symphiq-focus-area-welcome-banner", 24);
72823
72816
  } if (rf & 2) {
72824
72817
  const ctx_r0 = i0.ɵɵnextContext(2);
72825
- 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());
72826
72819
  } }
72827
72820
  function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_3_Template(rf, ctx) { if (rf & 1) {
72828
72821
  i0.ɵɵelement(0, "symphiq-metric-welcome-banner", 25);
72829
72822
  } if (rf & 2) {
72830
72823
  let tmp_3_0;
72831
72824
  const ctx_r0 = i0.ɵɵnextContext(2);
72832
- 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());
72833
72826
  } }
72834
72827
  function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
72835
72828
  i0.ɵɵelementStart(0, "div", 7);
@@ -73255,13 +73248,13 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_11_Template(rf, ct
73255
73248
  i0.ɵɵelement(0, "symphiq-floating-toc", 8);
73256
73249
  } if (rf & 2) {
73257
73250
  const ctx_r0 = i0.ɵɵnextContext();
73258
- 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);
73259
73252
  } }
73260
73253
  function SymphiqProfileAnalysisDashboardComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
73261
73254
  i0.ɵɵelement(0, "symphiq-section-navigation", 8);
73262
73255
  } if (rf & 2) {
73263
73256
  const ctx_r0 = i0.ɵɵnextContext();
73264
- 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);
73265
73258
  } }
73266
73259
  function SymphiqProfileAnalysisDashboardComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
73267
73260
  i0.ɵɵelement(0, "symphiq-goal-card", 12);
@@ -73321,14 +73314,21 @@ class SymphiqProfileAnalysisDashboardComponent {
73321
73314
  this.viewMode = ViewModeEnum.LIGHT;
73322
73315
  this.requestedByUser = input(...(ngDevMode ? [undefined, { debugName: "requestedByUser" }] : []));
73323
73316
  this.createdDate = input(...(ngDevMode ? [undefined, { debugName: "createdDate" }] : []));
73324
- this.embedded = false;
73325
- this.analysisType = ProfileAnalysisTypeEnum.SHOP;
73326
- 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" }] : []));
73327
73327
  this.COLLAPSE_THRESHOLD = 20;
73328
73328
  this.EXPAND_THRESHOLD = 10;
73329
73329
  this.embeddedScrollEffect = effect(() => {
73330
- const scrollEvent = this.scrollEvent;
73331
- const isEmbedded = this.embedded;
73330
+ const scrollEvent = this.scrollEvent();
73331
+ const isEmbedded = this.embedded();
73332
73332
  if (isEmbedded && !scrollEvent) {
73333
73333
  return;
73334
73334
  }
@@ -73347,7 +73347,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73347
73347
  else if (currentState && scrollTop < this.EXPAND_THRESHOLD) {
73348
73348
  this.headerScrollService.isScrolled.set(false);
73349
73349
  }
73350
- const scrollElement = this.scrollElement;
73350
+ const scrollElement = this.scrollElement();
73351
73351
  if (scrollElement) {
73352
73352
  const scrollHeight = scrollElement.scrollHeight || 0;
73353
73353
  const clientHeight = scrollElement.clientHeight || 0;
@@ -73366,7 +73366,6 @@ class SymphiqProfileAnalysisDashboardComponent {
73366
73366
  this.profileContextService = inject(ProfileContextService);
73367
73367
  this.profileItemLookupService = inject(ProfileItemLookupService);
73368
73368
  this.IconSourceEnum = IconSourceEnum;
73369
- this.currentAnalysis = signal(undefined, ...(ngDevMode ? [{ debugName: "currentAnalysis" }] : []));
73370
73369
  this.scrollProgress = signal(0, ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
73371
73370
  this.currentDisplayMode = signal(DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "currentDisplayMode" }] : []));
73372
73371
  this.isSearchOpen = signal(false, ...(ngDevMode ? [{ debugName: "isSearchOpen" }] : []));
@@ -73377,14 +73376,15 @@ class SymphiqProfileAnalysisDashboardComponent {
73377
73376
  this.isLightMode = computed(() => this.viewMode === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
73378
73377
  this.isSimplifiedView = computed(() => this.currentDisplayMode() === DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "isSimplifiedView" }] : []));
73379
73378
  // Analysis Type Detection
73380
- this.isFocusAreaAnalysis = computed(() => this.currentAnalysis()?.profileAnalysisStructured?.analysisType === ProfileAnalysisTypeEnum.FOCUS_AREA, ...(ngDevMode ? [{ debugName: "isFocusAreaAnalysis" }] : []));
73381
- this.isMetricAnalysis = computed(() => this.currentAnalysis()?.profileAnalysisStructured?.analysisType === ProfileAnalysisTypeEnum.METRIC, ...(ngDevMode ? [{ debugName: "isMetricAnalysis" }] : []));
73382
- this.isShopAnalysis = computed(() => this.currentAnalysis()?.profileAnalysisStructured?.analysisType === ProfileAnalysisTypeEnum.SHOP, ...(ngDevMode ? [{ debugName: "isShopAnalysis" }] : []));
73383
- this.focusAreaDomain = computed(() => this.currentAnalysis()?.profileAnalysisStructured?.focusAreaDomain, ...(ngDevMode ? [{ debugName: "focusAreaDomain" }] : []));
73384
- 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 ||
73385
73385
  FocusAreaDomainEnumUtil.title(this.focusAreaDomain()), ...(ngDevMode ? [{ debugName: "focusAreaName" }] : []));
73386
73386
  this.metricName = computed(() => {
73387
- const metric = this.currentAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary?.metric;
73387
+ const metric = this.profileAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary?.metric;
73388
73388
  if (!metric)
73389
73389
  return '';
73390
73390
  // Convert enum to readable format (e.g., SCREEN_PAGE_VIEWS -> Screen Page Views)
@@ -73394,7 +73394,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73394
73394
  this.focusAreaExecutiveSummary = computed(() => {
73395
73395
  if (!this.isFocusAreaAnalysis())
73396
73396
  return undefined;
73397
- const summary = this.currentAnalysis()?.profileAnalysisStructured?.focusAreaExecutiveSummary;
73397
+ const summary = this.profileAnalysis()?.profileAnalysisStructured?.focusAreaExecutiveSummary;
73398
73398
  if (!summary)
73399
73399
  return undefined;
73400
73400
  return {
@@ -73406,7 +73406,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73406
73406
  this.metricExecutiveSummary = computed(() => {
73407
73407
  if (!this.isMetricAnalysis())
73408
73408
  return undefined;
73409
- const summary = this.currentAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary;
73409
+ const summary = this.profileAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary;
73410
73410
  if (!summary)
73411
73411
  return undefined;
73412
73412
  return {
@@ -73419,7 +73419,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73419
73419
  this.executiveSummary = computed(() => {
73420
73420
  if (this.isFocusAreaAnalysis() || this.isMetricAnalysis())
73421
73421
  return undefined;
73422
- const summary = this.currentAnalysis()?.profileAnalysisStructured?.executiveSummary;
73422
+ const summary = this.profileAnalysis()?.profileAnalysisStructured?.executiveSummary;
73423
73423
  if (!summary)
73424
73424
  return undefined;
73425
73425
  return {
@@ -73427,7 +73427,11 @@ class SymphiqProfileAnalysisDashboardComponent {
73427
73427
  gradeRationale: this.formatGradeInText(summary.gradeRationale)
73428
73428
  };
73429
73429
  }, ...(ngDevMode ? [{ debugName: "executiveSummary" }] : []));
73430
- 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" }] : []));
73431
73435
  this.allGoals = computed(() => {
73432
73436
  const sectionList = this.sections();
73433
73437
  if (!sectionList)
@@ -73612,9 +73616,10 @@ class SymphiqProfileAnalysisDashboardComponent {
73612
73616
  }, ...(ngDevMode ? [{ debugName: "allMetrics" }] : []));
73613
73617
  // Extract charts from funnel analysis
73614
73618
  this.allCharts = computed(() => {
73615
- if (!this.funnelAnalysis)
73619
+ const funnelAnalysis = this.funnelAnalysis();
73620
+ if (!funnelAnalysis)
73616
73621
  return [];
73617
- const performanceOverview = normalizeToV3(this.funnelAnalysis.performanceOverviewStructured);
73622
+ const performanceOverview = normalizeToV3(funnelAnalysis.performanceOverviewStructured);
73618
73623
  return performanceOverview?.charts || [];
73619
73624
  }, ...(ngDevMode ? [{ debugName: "allCharts" }] : []));
73620
73625
  // Extract insights from funnel analysis for goal-related insights
@@ -73644,7 +73649,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73644
73649
  return performanceOverview?.strengths || [];
73645
73650
  }, ...(ngDevMode ? [{ debugName: "funnelStrengths" }] : []));
73646
73651
  this.allBusinessInsights = computed(() => {
73647
- const profile = this.profile;
73652
+ const profile = this.profile();
73648
73653
  return profile?.profileStructured?.recommendations || [];
73649
73654
  }, ...(ngDevMode ? [{ debugName: "allBusinessInsights" }] : []));
73650
73655
  // Update funnel modal data whenever metrics/charts change
@@ -73656,7 +73661,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73656
73661
  });
73657
73662
  }
73658
73663
  onWindowScroll() {
73659
- this.headerScrollService.handleScroll(this.embedded);
73664
+ this.headerScrollService.handleScroll(this.embedded());
73660
73665
  const scrollTop = window.scrollY;
73661
73666
  const docHeight = document.documentElement.scrollHeight - window.innerHeight;
73662
73667
  this.scrollProgress.set((scrollTop / docHeight) * 100);
@@ -73664,19 +73669,15 @@ class SymphiqProfileAnalysisDashboardComponent {
73664
73669
  ngOnChanges(changes) {
73665
73670
  // Update the signal whenever funnelAnalysis input changes
73666
73671
  if (changes['funnelAnalysis']) {
73667
- this.funnelAnalysisSignal.set(this.funnelAnalysis);
73672
+ this.funnelAnalysisSignal.set(this.funnelAnalysis());
73668
73673
  }
73669
73674
  }
73670
73675
  ngOnInit() {
73671
- // Use provided data
73672
- if (this.profileAnalysis) {
73673
- this.currentAnalysis.set(this.profileAnalysis);
73674
- }
73675
73676
  // Set the signal with the funnelAnalysis data
73676
- this.funnelAnalysisSignal.set(this.funnelAnalysis);
73677
+ this.funnelAnalysisSignal.set(this.funnelAnalysis());
73677
73678
  // Index business profile recommendations into ProfileContextService
73678
73679
  // This enables detailed recommendation lookup for goal business insights
73679
- const profileToUse = this.profile;
73680
+ const profileToUse = this.profile();
73680
73681
  if (profileToUse?.profileStructured?.sections) {
73681
73682
  const recommendations = profileToUse.profileStructured?.recommendations || [];
73682
73683
  this.profileContextService.indexProfile(profileToUse.profileStructured.sections, recommendations);
@@ -73843,7 +73844,7 @@ class SymphiqProfileAnalysisDashboardComponent {
73843
73844
  [ProfileAnalysisTypeEnum.RECOMMENDATION_PROGRESS]: 'Recommendation Progress',
73844
73845
  [ProfileAnalysisTypeEnum.RECOMMENDATION_COMPLETION]: 'Recommendation Completion'
73845
73846
  };
73846
- return labels[this.analysisType] || 'Profile';
73847
+ return labels[this.analysisType()] || 'Profile';
73847
73848
  }
73848
73849
  getAnalysisSubtitle() {
73849
73850
  if (this.isFocusAreaAnalysis()) {
@@ -74023,7 +74024,7 @@ class SymphiqProfileAnalysisDashboardComponent {
74023
74024
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.funnelModalComponent = _t.first);
74024
74025
  } }, hostBindings: function SymphiqProfileAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
74025
74026
  i0.ɵɵlistener("scroll", function SymphiqProfileAnalysisDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onWindowScroll($event); }, i0.ɵɵresolveWindow);
74026
- } }, 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) {
74027
74028
  i0.ɵɵelementStart(0, "div", 0)(1, "div");
74028
74029
  i0.ɵɵelement(2, "div", 1);
74029
74030
  i0.ɵɵelementEnd();
@@ -74070,16 +74071,16 @@ class SymphiqProfileAnalysisDashboardComponent {
74070
74071
  let tmp_36_0;
74071
74072
  i0.ɵɵproperty("ngClass", ctx.getContainerClasses());
74072
74073
  i0.ɵɵadvance();
74073
- 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");
74074
74075
  i0.ɵɵadvance();
74075
74076
  i0.ɵɵstyleProp("width", ctx.scrollProgress(), "%");
74076
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");
74077
74078
  i0.ɵɵadvance();
74078
74079
  i0.ɵɵconditional(!ctx.isLightMode() ? 3 : -1);
74079
74080
  i0.ɵɵadvance(2);
74080
- 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);
74081
74082
  i0.ɵɵadvance();
74082
- i0.ɵɵconditional(ctx.isSimplifiedView() && !ctx.isOnboarded ? 6 : -1);
74083
+ i0.ɵɵconditional(ctx.isSimplifiedView() && !ctx.isOnboarded() ? 6 : -1);
74083
74084
  i0.ɵɵadvance(2);
74084
74085
  i0.ɵɵconditional(ctx.isSimplifiedView() ? 8 : -1);
74085
74086
  i0.ɵɵadvance();
@@ -74129,7 +74130,7 @@ class SymphiqProfileAnalysisDashboardComponent {
74129
74130
  <div [ngClass]="getContainerClasses()" class="min-h-screen relative">
74130
74131
  <!-- Scroll Progress Bar -->
74131
74132
  <div
74132
- [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'">
74133
74134
  <div
74134
74135
  [style.width.%]="scrollProgress()"
74135
74136
  [ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
@@ -74148,23 +74149,23 @@ class SymphiqProfileAnalysisDashboardComponent {
74148
74149
  <div class="relative z-[51]">
74149
74150
  <!-- Dashboard Header -->
74150
74151
  <symphiq-dashboard-header
74151
- [title]="currentAnalysis()?.profileAnalysisStructured?.businessName || 'Profile Analysis'"
74152
+ [title]="profileAnalysis()?.profileAnalysisStructured?.businessName || 'Profile Analysis'"
74152
74153
  [subtitle]="getAnalysisSubtitle()"
74153
74154
  [currentSection]="getAnalysisSubtitle()"
74154
74155
  [viewMode]="viewMode"
74155
74156
  [viewModeLabel]="displayModeLabel()"
74156
- [isLoading]="isLoading"
74157
+ [isLoading]="isLoading()"
74157
74158
  [requestedByUser]="requestedByUser()"
74158
- [createdDate]="currentAnalysis()?.selfContentCompletedDate"
74159
+ [createdDate]="profileAnalysis()?.selfContentCompletedDate"
74159
74160
  (searchClick)="openSearch()"
74160
74161
  (viewModeClick)="openViewModeSwitcher()"
74161
74162
  />
74162
74163
 
74163
74164
  <!-- Journey Progress Banner -->
74164
- @if (isSimplifiedView() && !isOnboarded) {
74165
+ @if (isSimplifiedView() && !isOnboarded()) {
74165
74166
  <symphiq-journey-progress-indicator
74166
74167
  [viewMode]="viewMode"
74167
- [currentStepId]="isMetricAnalysis() ? 'metric-analysis' : (isFocusAreaAnalysis() ? 'focus-area-analysis' : 'shop-analysis')"
74168
+ [currentStepId]="currentStepId()"
74168
74169
  [showNextStepAction]="false"
74169
74170
  />
74170
74171
  }
@@ -74178,8 +74179,8 @@ class SymphiqProfileAnalysisDashboardComponent {
74178
74179
  @if (!isFocusAreaAnalysis() && !isMetricAnalysis()) {
74179
74180
  <symphiq-shop-welcome-banner
74180
74181
  [viewMode]="viewMode"
74181
- [businessName]="currentAnalysis()?.profileAnalysisStructured?.businessName || 'your shop'"
74182
- [isOnboarded]="isOnboarded"
74182
+ [businessName]="profileAnalysis()?.profileAnalysisStructured?.businessName || 'your shop'"
74183
+ [isOnboarded]="isOnboarded()"
74183
74184
  />
74184
74185
  }
74185
74186
  @if (isFocusAreaAnalysis()) {
@@ -74187,14 +74188,14 @@ class SymphiqProfileAnalysisDashboardComponent {
74187
74188
  [viewMode]="viewMode"
74188
74189
  [focusAreaDomain]="focusAreaDomain()"
74189
74190
  [focusAreaName]="focusAreaName()"
74190
- [focusAreaDetails]="focusAreaDetails"
74191
+ [focusAreaDetails]="focusAreaDetails()"
74191
74192
  />
74192
74193
  }
74193
74194
  @if (isMetricAnalysis()) {
74194
74195
  <symphiq-metric-welcome-banner
74195
74196
  [viewMode]="viewMode"
74196
- [metricName]="currentAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary?.metric"
74197
- [isOnboarded]="isOnboarded"
74197
+ [metricName]="profileAnalysis()?.profileAnalysisStructured?.metricExecutiveSummary?.metric"
74198
+ [isOnboarded]="isOnboarded()"
74198
74199
  />
74199
74200
  }
74200
74201
  </div>
@@ -74521,8 +74522,8 @@ class SymphiqProfileAnalysisDashboardComponent {
74521
74522
  <symphiq-floating-toc
74522
74523
  [sections]="tocSections()"
74523
74524
  [viewMode]="viewMode"
74524
- [embedded]="embedded"
74525
- [scrollElement]="scrollElement ?? undefined"
74525
+ [embedded]="embedded()"
74526
+ [scrollElement]="scrollElement() ?? undefined"
74526
74527
  />
74527
74528
  }
74528
74529
 
@@ -74531,8 +74532,8 @@ class SymphiqProfileAnalysisDashboardComponent {
74531
74532
  <symphiq-section-navigation
74532
74533
  [sections]="tocSections()"
74533
74534
  [viewMode]="viewMode"
74534
- [embedded]="embedded"
74535
- [scrollElement]="scrollElement ?? undefined"
74535
+ [embedded]="embedded()"
74536
+ [scrollElement]="scrollElement() ?? undefined"
74536
74537
  />
74537
74538
  }
74538
74539
 
@@ -74653,27 +74654,7 @@ class SymphiqProfileAnalysisDashboardComponent {
74653
74654
  args: [ModalComponent]
74654
74655
  }], viewMode: [{
74655
74656
  type: Input
74656
- }], requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], createdDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "createdDate", required: false }] }], embedded: [{
74657
- type: Input
74658
- }], profileAnalysis: [{
74659
- type: Input
74660
- }], profile: [{
74661
- type: Input
74662
- }], funnelAnalysis: [{
74663
- type: Input
74664
- }], analysisType: [{
74665
- type: Input
74666
- }], focusAreaDetails: [{
74667
- type: Input
74668
- }], isOnboarded: [{
74669
- type: Input
74670
- }], scrollEvent: [{
74671
- type: Input
74672
- }], scrollElement: [{
74673
- type: Input
74674
- }], isLoading: [{
74675
- type: Input
74676
- }], 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: [{
74677
74658
  type: HostListener,
74678
74659
  args: ['window:scroll', ['$event']]
74679
74660
  }] }); })();