@eric-emg/symphiq-components 1.2.430 → 1.2.432

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.
@@ -68362,14 +68362,14 @@ function DashboardHeaderComponent_Conditional_8_Template(rf, ctx) { if (rf & 1)
68362
68362
  } }
68363
68363
  function DashboardHeaderComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
68364
68364
  const _r1 = i0.ɵɵgetCurrentView();
68365
- i0.ɵɵelementStart(0, "div", 7)(1, "symphiq-search-button", 16);
68365
+ i0.ɵɵelementStart(0, "div", 7)(1, "symphiq-search-button", 13);
68366
68366
  i0.ɵɵlistener("searchClick", function DashboardHeaderComponent_Conditional_11_Template_symphiq_search_button_searchClick_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSearchClick()); });
68367
68367
  i0.ɵɵelementEnd();
68368
- i0.ɵɵelementStart(2, "button", 17);
68368
+ i0.ɵɵelementStart(2, "button", 14);
68369
68369
  i0.ɵɵlistener("click", function DashboardHeaderComponent_Conditional_11_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onViewModeClick()); });
68370
68370
  i0.ɵɵnamespaceSVG();
68371
- i0.ɵɵelementStart(3, "svg", 18);
68372
- i0.ɵɵelement(4, "path", 19)(5, "path", 20);
68371
+ i0.ɵɵelementStart(3, "svg", 15);
68372
+ i0.ɵɵelement(4, "path", 16)(5, "path", 17);
68373
68373
  i0.ɵɵelementEnd();
68374
68374
  i0.ɵɵnamespaceHTML();
68375
68375
  i0.ɵɵelementStart(6, "span");
@@ -68384,15 +68384,15 @@ function DashboardHeaderComponent_Conditional_11_Template(rf, ctx) { if (rf & 1)
68384
68384
  i0.ɵɵadvance(5);
68385
68385
  i0.ɵɵtextInterpolate(ctx_r1.viewModeLabel());
68386
68386
  } }
68387
- function DashboardHeaderComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
68388
- i0.ɵɵelementStart(0, "div", 9)(1, "div", 10);
68387
+ function DashboardHeaderComponent_Conditional_12_Conditional_1_Template(rf, ctx) { if (rf & 1) {
68388
+ i0.ɵɵelementStart(0, "div", 18)(1, "div", 19);
68389
68389
  i0.ɵɵtext(2, "Generated At");
68390
68390
  i0.ɵɵelementEnd();
68391
- i0.ɵɵelementStart(3, "div", 11);
68391
+ i0.ɵɵelementStart(3, "div", 20);
68392
68392
  i0.ɵɵtext(4);
68393
68393
  i0.ɵɵelementEnd()();
68394
68394
  } if (rf & 2) {
68395
- const ctx_r1 = i0.ɵɵnextContext();
68395
+ const ctx_r1 = i0.ɵɵnextContext(2);
68396
68396
  i0.ɵɵadvance();
68397
68397
  i0.ɵɵclassMap(ctx_r1.metaLabelClass());
68398
68398
  i0.ɵɵadvance(2);
@@ -68400,7 +68400,36 @@ function DashboardHeaderComponent_Conditional_13_Template(rf, ctx) { if (rf & 1)
68400
68400
  i0.ɵɵadvance();
68401
68401
  i0.ɵɵtextInterpolate(ctx_r1.formattedGeneratedDate());
68402
68402
  } }
68403
- function DashboardHeaderComponent_Conditional_26_Conditional_3_Template(rf, ctx) { if (rf & 1) {
68403
+ function DashboardHeaderComponent_Conditional_12_Conditional_2_Template(rf, ctx) { if (rf & 1) {
68404
+ i0.ɵɵelementStart(0, "div", 18)(1, "div", 19);
68405
+ i0.ɵɵtext(2, "Requested by");
68406
+ i0.ɵɵelementEnd();
68407
+ i0.ɵɵelementStart(3, "div", 20);
68408
+ i0.ɵɵtext(4);
68409
+ i0.ɵɵelementEnd()();
68410
+ } if (rf & 2) {
68411
+ let tmp_4_0;
68412
+ const ctx_r1 = i0.ɵɵnextContext(2);
68413
+ i0.ɵɵadvance();
68414
+ i0.ɵɵclassMap(ctx_r1.metaLabelClass());
68415
+ i0.ɵɵadvance(2);
68416
+ i0.ɵɵclassMap(ctx_r1.headerTitleClass());
68417
+ i0.ɵɵadvance();
68418
+ i0.ɵɵtextInterpolate2("", (tmp_4_0 = ctx_r1.requestedByUser()) == null ? null : tmp_4_0.firstName, " ", (tmp_4_0 = ctx_r1.requestedByUser()) == null ? null : tmp_4_0.lastName);
68419
+ } }
68420
+ function DashboardHeaderComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
68421
+ i0.ɵɵelementStart(0, "div", 8);
68422
+ i0.ɵɵconditionalCreate(1, DashboardHeaderComponent_Conditional_12_Conditional_1_Template, 5, 5, "div", 18);
68423
+ i0.ɵɵconditionalCreate(2, DashboardHeaderComponent_Conditional_12_Conditional_2_Template, 5, 6, "div", 18);
68424
+ i0.ɵɵelementEnd();
68425
+ } if (rf & 2) {
68426
+ const ctx_r1 = i0.ɵɵnextContext();
68427
+ i0.ɵɵadvance();
68428
+ i0.ɵɵconditional(ctx_r1.formattedGeneratedDate() ? 1 : -1);
68429
+ i0.ɵɵadvance();
68430
+ i0.ɵɵconditional(ctx_r1.requestedByUser() ? 2 : -1);
68431
+ } }
68432
+ function DashboardHeaderComponent_Conditional_20_Conditional_3_Template(rf, ctx) { if (rf & 1) {
68404
68433
  i0.ɵɵelementStart(0, "span", 5);
68405
68434
  i0.ɵɵtext(1, "\u203A");
68406
68435
  i0.ɵɵelementEnd();
@@ -68415,11 +68444,11 @@ function DashboardHeaderComponent_Conditional_26_Conditional_3_Template(rf, ctx)
68415
68444
  i0.ɵɵadvance();
68416
68445
  i0.ɵɵtextInterpolate1(" ", ctx_r1.currentSubsection(), " ");
68417
68446
  } }
68418
- function DashboardHeaderComponent_Conditional_26_Template(rf, ctx) { if (rf & 1) {
68419
- i0.ɵɵelementStart(0, "div", 15)(1, "span", 5);
68447
+ function DashboardHeaderComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
68448
+ i0.ɵɵelementStart(0, "div", 12)(1, "span", 5);
68420
68449
  i0.ɵɵtext(2);
68421
68450
  i0.ɵɵelementEnd();
68422
- i0.ɵɵconditionalCreate(3, DashboardHeaderComponent_Conditional_26_Conditional_3_Template, 4, 3);
68451
+ i0.ɵɵconditionalCreate(3, DashboardHeaderComponent_Conditional_20_Conditional_3_Template, 4, 3);
68423
68452
  i0.ɵɵelementEnd();
68424
68453
  } if (rf & 2) {
68425
68454
  const ctx_r1 = i0.ɵɵnextContext();
@@ -68430,16 +68459,16 @@ function DashboardHeaderComponent_Conditional_26_Template(rf, ctx) { if (rf & 1)
68430
68459
  i0.ɵɵadvance();
68431
68460
  i0.ɵɵconditional(ctx_r1.currentSubsection() ? 3 : -1);
68432
68461
  } }
68433
- function DashboardHeaderComponent_Conditional_27_Template(rf, ctx) { if (rf & 1) {
68462
+ function DashboardHeaderComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
68434
68463
  const _r3 = i0.ɵɵgetCurrentView();
68435
68464
  i0.ɵɵelementStart(0, "symphiq-search-button", 21);
68436
- i0.ɵɵlistener("searchClick", function DashboardHeaderComponent_Conditional_27_Template_symphiq_search_button_searchClick_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSearchClick()); });
68465
+ i0.ɵɵlistener("searchClick", function DashboardHeaderComponent_Conditional_21_Template_symphiq_search_button_searchClick_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSearchClick()); });
68437
68466
  i0.ɵɵelementEnd();
68438
68467
  i0.ɵɵelementStart(1, "button", 22);
68439
- i0.ɵɵlistener("click", function DashboardHeaderComponent_Conditional_27_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onViewModeClick()); });
68468
+ i0.ɵɵlistener("click", function DashboardHeaderComponent_Conditional_21_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onViewModeClick()); });
68440
68469
  i0.ɵɵnamespaceSVG();
68441
- i0.ɵɵelementStart(2, "svg", 18);
68442
- i0.ɵɵelement(3, "path", 19)(4, "path", 20);
68470
+ i0.ɵɵelementStart(2, "svg", 15);
68471
+ i0.ɵɵelement(3, "path", 16)(4, "path", 17);
68443
68472
  i0.ɵɵelementEnd()();
68444
68473
  } if (rf & 2) {
68445
68474
  const ctx_r1 = i0.ɵɵnextContext();
@@ -68515,7 +68544,7 @@ class DashboardHeaderComponent {
68515
68544
  : 'bg-slate-800 hover:bg-slate-700 text-slate-300 border border-slate-700';
68516
68545
  }
68517
68546
  static { this.ɵfac = function DashboardHeaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DashboardHeaderComponent)(); }; }
68518
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardHeaderComponent, selectors: [["symphiq-dashboard-header"]], inputs: { requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], title: [1, "title"], subtitle: [1, "subtitle"], viewMode: [1, "viewMode"], viewModeLabel: [1, "viewModeLabel"], currentSection: [1, "currentSection"], currentSubsection: [1, "currentSubsection"], isLoading: [1, "isLoading"], showControls: [1, "showControls"] }, outputs: { searchClick: "searchClick", viewModeClick: "viewModeClick" }, decls: 28, vars: 42, consts: [[1, "sticky", "top-0", "z-50", 3, "ngClass"], [1, "transition-all", "duration-300", "ease-in-out", "overflow-hidden"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-3"], [3, "ngClass"], ["title", "Refreshing data...", 1, "animate-spin", "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full"], [1, "flex", "items-center", "gap-2"], [1, "flex", "flex-col", "gap-4", "min-w-[180px]"], [1, "text-left", "sm:text-right"], [1, "text-xs", "sm:text-sm"], [1, "text-sm", "sm:text-base", "font-medium"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-3"], [1, "flex-1", "min-w-0", "mr-4"], [1, "flex", "items-center", "gap-4"], [1, "flex", "items-center", "gap-2", "text-sm", "flex-shrink-0"], [3, "searchClick", "isLightMode"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 12a3 3 0 11-6 0 3 3 0 016 0z"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"], [3, "searchClick", "isLightMode", "minimized"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-2", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"]], template: function DashboardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
68547
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardHeaderComponent, selectors: [["symphiq-dashboard-header"]], inputs: { requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], title: [1, "title"], subtitle: [1, "subtitle"], viewMode: [1, "viewMode"], viewModeLabel: [1, "viewModeLabel"], currentSection: [1, "currentSection"], currentSubsection: [1, "currentSubsection"], isLoading: [1, "isLoading"], showControls: [1, "showControls"] }, outputs: { searchClick: "searchClick", viewModeClick: "viewModeClick" }, decls: 22, vars: 36, consts: [[1, "sticky", "top-0", "z-50", 3, "ngClass"], [1, "transition-all", "duration-300", "ease-in-out", "overflow-hidden"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-3"], [3, "ngClass"], ["title", "Refreshing data...", 1, "animate-spin", "w-4", "h-4", "border-2", "border-blue-500/30", "border-t-blue-500", "rounded-full"], [1, "flex", "items-center", "gap-2"], [1, "flex", "flex-col", "gap-4", "min-w-[180px]"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-3"], [1, "flex-1", "min-w-0", "mr-4"], [1, "flex", "items-center", "gap-4"], [1, "flex", "items-center", "gap-2", "text-sm", "flex-shrink-0"], [3, "searchClick", "isLightMode"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 12a3 3 0 11-6 0 3 3 0 016 0z"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"], [1, "text-left", "sm:text-right"], [1, "text-xs", "sm:text-sm"], [1, "text-sm", "sm:text-base", "font-medium"], [3, "searchClick", "isLightMode", "minimized"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-2", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"]], template: function DashboardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
68519
68548
  i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div")(5, "div", 4)(6, "h1", 5);
68520
68549
  i0.ɵɵtext(7);
68521
68550
  i0.ɵɵelementEnd();
@@ -68525,23 +68554,16 @@ class DashboardHeaderComponent {
68525
68554
  i0.ɵɵtext(10);
68526
68555
  i0.ɵɵelementEnd()();
68527
68556
  i0.ɵɵconditionalCreate(11, DashboardHeaderComponent_Conditional_11_Template, 8, 3, "div", 7);
68528
- i0.ɵɵelementStart(12, "div", 8);
68529
- i0.ɵɵconditionalCreate(13, DashboardHeaderComponent_Conditional_13_Template, 5, 5, "div", 9);
68530
- i0.ɵɵelementStart(14, "div", 9)(15, "div", 10);
68531
- i0.ɵɵtext(16, "Requested by");
68532
- i0.ɵɵelementEnd();
68533
- i0.ɵɵelementStart(17, "div", 11);
68557
+ i0.ɵɵconditionalCreate(12, DashboardHeaderComponent_Conditional_12_Template, 3, 2, "div", 8);
68558
+ i0.ɵɵelementEnd()()();
68559
+ i0.ɵɵelementStart(13, "div", 1)(14, "div", 9)(15, "div", 3)(16, "div", 10)(17, "h1", 5);
68534
68560
  i0.ɵɵtext(18);
68535
- i0.ɵɵelementEnd()()()()()();
68536
- i0.ɵɵelementStart(19, "div", 1)(20, "div", 12)(21, "div", 3)(22, "div", 13)(23, "h1", 5);
68537
- i0.ɵɵtext(24);
68538
68561
  i0.ɵɵelementEnd()();
68539
- i0.ɵɵelementStart(25, "div", 14);
68540
- i0.ɵɵconditionalCreate(26, DashboardHeaderComponent_Conditional_26_Template, 4, 3, "div", 15);
68541
- i0.ɵɵconditionalCreate(27, DashboardHeaderComponent_Conditional_27_Template, 5, 3);
68562
+ i0.ɵɵelementStart(19, "div", 11);
68563
+ i0.ɵɵconditionalCreate(20, DashboardHeaderComponent_Conditional_20_Template, 4, 3, "div", 12);
68564
+ i0.ɵɵconditionalCreate(21, DashboardHeaderComponent_Conditional_21_Template, 5, 3);
68542
68565
  i0.ɵɵelementEnd()()()()();
68543
68566
  } if (rf & 2) {
68544
- let tmp_16_0;
68545
68567
  i0.ɵɵproperty("ngClass", ctx.getHeaderClasses());
68546
68568
  i0.ɵɵadvance();
68547
68569
  i0.ɵɵclassProp("max-h-0", ctx.headerScrollService.isScrolled())("opacity-0", ctx.headerScrollService.isScrolled())("max-h-96", !ctx.headerScrollService.isScrolled())("opacity-100", !ctx.headerScrollService.isScrolled());
@@ -68559,14 +68581,8 @@ class DashboardHeaderComponent {
68559
68581
  i0.ɵɵtextInterpolate1(" ", ctx.subtitle(), " ");
68560
68582
  i0.ɵɵadvance();
68561
68583
  i0.ɵɵconditional(ctx.showControls() ? 11 : -1);
68562
- i0.ɵɵadvance(2);
68563
- i0.ɵɵconditional(ctx.formattedGeneratedDate() ? 13 : -1);
68564
- i0.ɵɵadvance(2);
68565
- i0.ɵɵclassMap(ctx.metaLabelClass());
68566
- i0.ɵɵadvance(2);
68567
- i0.ɵɵclassMap(ctx.headerTitleClass());
68568
68584
  i0.ɵɵadvance();
68569
- i0.ɵɵtextInterpolate2("", (tmp_16_0 = ctx.requestedByUser()) == null ? null : tmp_16_0.firstName, " ", (tmp_16_0 = ctx.requestedByUser()) == null ? null : tmp_16_0.lastName);
68585
+ i0.ɵɵconditional(ctx.formattedGeneratedDate() || ctx.requestedByUser() ? 12 : -1);
68570
68586
  i0.ɵɵadvance();
68571
68587
  i0.ɵɵclassProp("max-h-0", !ctx.headerScrollService.isScrolled())("opacity-0", !ctx.headerScrollService.isScrolled())("max-h-20", ctx.headerScrollService.isScrolled())("opacity-100", ctx.headerScrollService.isScrolled());
68572
68588
  i0.ɵɵadvance();
@@ -68576,9 +68592,9 @@ class DashboardHeaderComponent {
68576
68592
  i0.ɵɵadvance();
68577
68593
  i0.ɵɵtextInterpolate1(" ", ctx.title(), " ");
68578
68594
  i0.ɵɵadvance(2);
68579
- i0.ɵɵconditional(ctx.currentSection() ? 26 : -1);
68595
+ i0.ɵɵconditional(ctx.currentSection() ? 20 : -1);
68580
68596
  i0.ɵɵadvance();
68581
- i0.ɵɵconditional(ctx.showControls() ? 27 : -1);
68597
+ i0.ɵɵconditional(ctx.showControls() ? 21 : -1);
68582
68598
  } }, dependencies: [CommonModule, i1$1.NgClass, SearchButtonComponent], encapsulation: 2, changeDetection: 0 }); }
68583
68599
  }
68584
68600
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardHeaderComponent, [{
@@ -68634,18 +68650,22 @@ class DashboardHeaderComponent {
68634
68650
  </button>
68635
68651
  </div>
68636
68652
  }
68637
- <div class="flex flex-col gap-4 min-w-[180px]">
68638
- @if (formattedGeneratedDate()) {
68639
- <div class="text-left sm:text-right">
68640
- <div [class]="metaLabelClass()" class="text-xs sm:text-sm">Generated At</div>
68641
- <div [class]="headerTitleClass()" class="text-sm sm:text-base font-medium">{{ formattedGeneratedDate() }}</div>
68642
- </div>
68643
- }
68644
- <div class="text-left sm:text-right">
68645
- <div [class]="metaLabelClass()" class="text-xs sm:text-sm">Requested by</div>
68646
- <div [class]="headerTitleClass()" class="text-sm sm:text-base font-medium">{{ requestedByUser()?.firstName }} {{ requestedByUser()?.lastName }}</div>
68653
+ @if (formattedGeneratedDate() || requestedByUser()) {
68654
+ <div class="flex flex-col gap-4 min-w-[180px]">
68655
+ @if (formattedGeneratedDate()) {
68656
+ <div class="text-left sm:text-right">
68657
+ <div [class]="metaLabelClass()" class="text-xs sm:text-sm">Generated At</div>
68658
+ <div [class]="headerTitleClass()" class="text-sm sm:text-base font-medium">{{ formattedGeneratedDate() }}</div>
68659
+ </div>
68660
+ }
68661
+ @if (requestedByUser()) {
68662
+ <div class="text-left sm:text-right">
68663
+ <div [class]="metaLabelClass()" class="text-xs sm:text-sm">Requested by</div>
68664
+ <div [class]="headerTitleClass()" class="text-sm sm:text-base font-medium">{{ requestedByUser()?.firstName }} {{ requestedByUser()?.lastName }}</div>
68665
+ </div>
68666
+ }
68647
68667
  </div>
68648
- </div>
68668
+ }
68649
68669
  </div>
68650
68670
  </div>
68651
68671
  </div>
@@ -68706,7 +68726,7 @@ class DashboardHeaderComponent {
68706
68726
  `
68707
68727
  }]
68708
68728
  }], null, { requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], createdDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "createdDate", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], viewModeLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewModeLabel", required: false }] }], currentSection: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentSection", required: false }] }], currentSubsection: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentSubsection", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], showControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "showControls", required: false }] }], searchClick: [{ type: i0.Output, args: ["searchClick"] }], viewModeClick: [{ type: i0.Output, args: ["viewModeClick"] }] }); })();
68709
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardHeaderComponent, { className: "DashboardHeaderComponent", filePath: "lib/components/shared/dashboard-header.component.ts", lineNumber: 130 }); })();
68729
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardHeaderComponent, { className: "DashboardHeaderComponent", filePath: "lib/components/shared/dashboard-header.component.ts", lineNumber: 134 }); })();
68710
68730
 
68711
68731
  class GradeBadgeComponent {
68712
68732
  constructor() {
@@ -94426,38 +94446,110 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_6_Templa
94426
94446
  const ctx_r1 = i0.ɵɵnextContext();
94427
94447
  i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("currentStepId", ctx_r1.currentStepId())("showNextStepAction", true)("forDemo", ctx_r1.forDemo())("maxAccessibleStepId", ctx_r1.maxAccessibleStepId());
94428
94448
  } }
94429
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_5_Template(rf, ctx) { if (rf & 1) {
94430
- i0.ɵɵelementStart(0, "div", 34);
94449
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_6_Template(rf, ctx) { if (rf & 1) {
94450
+ i0.ɵɵelementStart(0, "div", 35);
94451
+ i0.ɵɵtext(1);
94452
+ i0.ɵɵelementEnd();
94453
+ } if (rf & 2) {
94454
+ const focusArea_r4 = i0.ɵɵnextContext().$implicit;
94455
+ const ctx_r1 = i0.ɵɵnextContext();
94456
+ i0.ɵɵproperty("ngClass", ctx_r1.getEngagementBadgeClasses(focusArea_r4.engagementStatus));
94457
+ i0.ɵɵadvance();
94458
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.getEngagementStatusLabel(focusArea_r4.engagementStatus), " ");
94459
+ } }
94460
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_7_Template(rf, ctx) { if (rf & 1) {
94461
+ i0.ɵɵelementStart(0, "div", 36);
94431
94462
  i0.ɵɵtext(1, " Analysis Ready ");
94432
94463
  i0.ɵɵelementEnd();
94433
94464
  } }
94434
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_18_Template(rf, ctx) { if (rf & 1) {
94465
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_12_For_6_Template(rf, ctx) { if (rf & 1) {
94466
+ i0.ɵɵelementStart(0, "span", 47);
94467
+ i0.ɵɵtext(1);
94468
+ i0.ɵɵelementEnd();
94469
+ } if (rf & 2) {
94470
+ const tool_r5 = ctx.$implicit;
94471
+ const ctx_r1 = i0.ɵɵnextContext(3);
94472
+ i0.ɵɵproperty("ngClass", ctx_r1.getToolChipClasses());
94473
+ i0.ɵɵadvance();
94474
+ i0.ɵɵtextInterpolate1(" ", tool_r5, " ");
94475
+ } }
94476
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_12_Template(rf, ctx) { if (rf & 1) {
94477
+ i0.ɵɵelementStart(0, "div", 37)(1, "div", 44)(2, "span", 45);
94478
+ i0.ɵɵtext(3, "Marketing Tools:");
94479
+ i0.ɵɵelementEnd();
94480
+ i0.ɵɵelementStart(4, "div", 46);
94481
+ i0.ɵɵrepeaterCreate(5, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_12_For_6_Template, 2, 2, "span", 47, i0.ɵɵrepeaterTrackByIdentity);
94482
+ i0.ɵɵelementEnd()()();
94483
+ } if (rf & 2) {
94484
+ const focusArea_r4 = i0.ɵɵnextContext().$implicit;
94485
+ const ctx_r1 = i0.ɵɵnextContext();
94486
+ i0.ɵɵadvance(2);
94487
+ i0.ɵɵproperty("ngClass", ctx_r1.getToolsLabelClasses());
94488
+ i0.ɵɵadvance(3);
94489
+ i0.ɵɵrepeater(focusArea_r4.tools);
94490
+ } }
94491
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_13_Template(rf, ctx) { if (rf & 1) {
94435
94492
  i0.ɵɵelementStart(0, "div", 38);
94493
+ i0.ɵɵelement(1, "div", 48);
94494
+ i0.ɵɵelementStart(2, "span", 49);
94495
+ i0.ɵɵtext(3, "Profile Generation Pending");
94496
+ i0.ɵɵelementEnd()();
94497
+ } }
94498
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_14_Conditional_8_Template(rf, ctx) { if (rf & 1) {
94499
+ i0.ɵɵelementStart(0, "div", 52);
94436
94500
  i0.ɵɵnamespaceSVG();
94437
- i0.ɵɵelementStart(1, "svg", 45);
94501
+ i0.ɵɵelementStart(1, "svg", 55);
94438
94502
  i0.ɵɵelement(2, "path", 26);
94439
94503
  i0.ɵɵelementEnd();
94440
94504
  i0.ɵɵtext(3, " Complete ");
94441
94505
  i0.ɵɵelementEnd();
94442
94506
  } }
94443
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_19_Template(rf, ctx) { if (rf & 1) {
94444
- i0.ɵɵelementStart(0, "div", 39);
94507
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_14_Conditional_9_Template(rf, ctx) { if (rf & 1) {
94508
+ i0.ɵɵelementStart(0, "div", 53);
94445
94509
  i0.ɵɵnamespaceSVG();
94446
- i0.ɵɵelementStart(1, "svg", 45);
94447
- i0.ɵɵelement(2, "path", 46);
94510
+ i0.ɵɵelementStart(1, "svg", 55);
94511
+ i0.ɵɵelement(2, "path", 56);
94448
94512
  i0.ɵɵelementEnd();
94449
94513
  i0.ɵɵtext(3, " In Progress ");
94450
94514
  i0.ɵɵelementEnd();
94451
94515
  } }
94452
- function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_20_Template(rf, ctx) { if (rf & 1) {
94453
- i0.ɵɵelementStart(0, "div", 40);
94516
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_14_Conditional_10_Template(rf, ctx) { if (rf & 1) {
94517
+ i0.ɵɵelementStart(0, "div", 54);
94454
94518
  i0.ɵɵnamespaceSVG();
94455
- i0.ɵɵelementStart(1, "svg", 45);
94456
- i0.ɵɵelement(2, "path", 47);
94519
+ i0.ɵɵelementStart(1, "svg", 55);
94520
+ i0.ɵɵelement(2, "path", 57);
94457
94521
  i0.ɵɵelementEnd();
94458
94522
  i0.ɵɵtext(3, " Not Started ");
94459
94523
  i0.ɵɵelementEnd();
94460
94524
  } }
94525
+ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_14_Template(rf, ctx) { if (rf & 1) {
94526
+ i0.ɵɵelementStart(0, "div", 39)(1, "div", 50)(2, "span");
94527
+ i0.ɵɵtext(3, "Progress");
94528
+ i0.ɵɵelementEnd();
94529
+ i0.ɵɵelementStart(4, "span");
94530
+ i0.ɵɵtext(5);
94531
+ i0.ɵɵelementEnd()();
94532
+ i0.ɵɵelementStart(6, "div");
94533
+ i0.ɵɵelement(7, "div", 51);
94534
+ i0.ɵɵelementEnd();
94535
+ i0.ɵɵconditionalCreate(8, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_14_Conditional_8_Template, 4, 0, "div", 52)(9, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_14_Conditional_9_Template, 4, 0, "div", 53)(10, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_14_Conditional_10_Template, 4, 0, "div", 54);
94536
+ i0.ɵɵelementEnd();
94537
+ } if (rf & 2) {
94538
+ const focusArea_r4 = i0.ɵɵnextContext().$implicit;
94539
+ const ctx_r1 = i0.ɵɵnextContext();
94540
+ i0.ɵɵadvance(2);
94541
+ i0.ɵɵclassMap(ctx_r1.getLabelClasses());
94542
+ i0.ɵɵadvance(2);
94543
+ i0.ɵɵclassMap(ctx_r1.getValueClasses());
94544
+ i0.ɵɵadvance();
94545
+ i0.ɵɵtextInterpolate2(" ", focusArea_r4.questionsAnswered, " / ", focusArea_r4.totalQuestions, " ");
94546
+ i0.ɵɵadvance();
94547
+ i0.ɵɵclassMap(ctx_r1.getProgressBarContainerClasses());
94548
+ i0.ɵɵadvance();
94549
+ i0.ɵɵstyleProp("width", focusArea_r4.progressPercent, "%");
94550
+ i0.ɵɵadvance();
94551
+ i0.ɵɵconditional(focusArea_r4.status === "complete" ? 8 : focusArea_r4.status === "in-progress" ? 9 : 10);
94552
+ } }
94461
94553
  function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template(rf, ctx) { if (rf & 1) {
94462
94554
  const _r3 = i0.ɵɵgetCurrentView();
94463
94555
  i0.ɵɵelementStart(0, "div", 30);
@@ -94465,31 +94557,25 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template(rf,
94465
94557
  i0.ɵɵelementStart(1, "div", 31)(2, "div", 32)(3, "div", 33);
94466
94558
  i0.ɵɵtext(4);
94467
94559
  i0.ɵɵelementEnd();
94468
- i0.ɵɵconditionalCreate(5, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_5_Template, 2, 0, "div", 34);
94469
- i0.ɵɵelementEnd();
94470
- i0.ɵɵelementStart(6, "h3");
94471
- i0.ɵɵtext(7);
94472
- i0.ɵɵelementEnd();
94473
- i0.ɵɵelementStart(8, "p");
94560
+ i0.ɵɵelementStart(5, "div", 34);
94561
+ i0.ɵɵconditionalCreate(6, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_6_Template, 2, 2, "div", 35);
94562
+ i0.ɵɵconditionalCreate(7, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_7_Template, 2, 0, "div", 36);
94563
+ i0.ɵɵelementEnd()();
94564
+ i0.ɵɵelementStart(8, "h3");
94474
94565
  i0.ɵɵtext(9);
94475
94566
  i0.ɵɵelementEnd();
94476
- i0.ɵɵelementStart(10, "div", 35)(11, "div", 36)(12, "span");
94477
- i0.ɵɵtext(13, "Progress");
94567
+ i0.ɵɵelementStart(10, "p");
94568
+ i0.ɵɵtext(11);
94478
94569
  i0.ɵɵelementEnd();
94479
- i0.ɵɵelementStart(14, "span");
94480
- i0.ɵɵtext(15);
94481
- i0.ɵɵelementEnd()();
94482
- i0.ɵɵelementStart(16, "div");
94483
- i0.ɵɵelement(17, "div", 37);
94570
+ i0.ɵɵconditionalCreate(12, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_12_Template, 7, 1, "div", 37);
94571
+ i0.ɵɵconditionalCreate(13, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_13_Template, 4, 0, "div", 38)(14, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_14_Template, 11, 11, "div", 39);
94484
94572
  i0.ɵɵelementEnd();
94485
- i0.ɵɵconditionalCreate(18, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_18_Template, 4, 0, "div", 38)(19, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_19_Template, 4, 0, "div", 39)(20, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_20_Template, 4, 0, "div", 40);
94486
- i0.ɵɵelementEnd()();
94487
- i0.ɵɵelementStart(21, "div")(22, "div", 41)(23, "span", 42);
94488
- i0.ɵɵtext(24, "View Details");
94573
+ i0.ɵɵelementStart(15, "div")(16, "div", 40)(17, "span", 41);
94574
+ i0.ɵɵtext(18, "View Details");
94489
94575
  i0.ɵɵelementEnd();
94490
94576
  i0.ɵɵnamespaceSVG();
94491
- i0.ɵɵelementStart(25, "svg", 43);
94492
- i0.ɵɵelement(26, "path", 44);
94577
+ i0.ɵɵelementStart(19, "svg", 42);
94578
+ i0.ɵɵelement(20, "path", 43);
94493
94579
  i0.ɵɵelementEnd()()()();
94494
94580
  } if (rf & 2) {
94495
94581
  const focusArea_r4 = ctx.$implicit;
@@ -94497,8 +94583,10 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template(rf,
94497
94583
  i0.ɵɵclassMap(ctx_r1.getCardClasses());
94498
94584
  i0.ɵɵadvance(4);
94499
94585
  i0.ɵɵtextInterpolate(focusArea_r4.icon);
94586
+ i0.ɵɵadvance(2);
94587
+ i0.ɵɵconditional(focusArea_r4.engagementStatus ? 6 : -1);
94500
94588
  i0.ɵɵadvance();
94501
- i0.ɵɵconditional(focusArea_r4.hasAnalysis ? 5 : -1);
94589
+ i0.ɵɵconditional(focusArea_r4.hasAnalysis ? 7 : -1);
94502
94590
  i0.ɵɵadvance();
94503
94591
  i0.ɵɵclassMap(ctx_r1.getTitleClasses());
94504
94592
  i0.ɵɵadvance();
@@ -94507,25 +94595,17 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template(rf,
94507
94595
  i0.ɵɵclassMap(ctx_r1.getDescriptionClasses());
94508
94596
  i0.ɵɵadvance();
94509
94597
  i0.ɵɵtextInterpolate1(" ", focusArea_r4.description, " ");
94510
- i0.ɵɵadvance(3);
94511
- i0.ɵɵclassMap(ctx_r1.getLabelClasses());
94512
- i0.ɵɵadvance(2);
94513
- i0.ɵɵclassMap(ctx_r1.getValueClasses());
94514
94598
  i0.ɵɵadvance();
94515
- i0.ɵɵtextInterpolate2(" ", focusArea_r4.questionsAnswered, " / ", focusArea_r4.totalQuestions, " ");
94599
+ i0.ɵɵconditional(focusArea_r4.engagementStatus === ctx_r1.FocusAreaDetailStatusEnum.ENGAGED && focusArea_r4.tools.length > 0 ? 12 : -1);
94516
94600
  i0.ɵɵadvance();
94517
- i0.ɵɵclassMap(ctx_r1.getProgressBarContainerClasses());
94518
- i0.ɵɵadvance();
94519
- i0.ɵɵstyleProp("width", focusArea_r4.progressPercent, "%");
94520
- i0.ɵɵadvance();
94521
- i0.ɵɵconditional(focusArea_r4.status === "complete" ? 18 : focusArea_r4.status === "in-progress" ? 19 : 20);
94522
- i0.ɵɵadvance(3);
94601
+ i0.ɵɵconditional(focusArea_r4.status === "pending" ? 13 : 14);
94602
+ i0.ɵɵadvance(2);
94523
94603
  i0.ɵɵclassMap(ctx_r1.getCardFooterClasses());
94524
94604
  } }
94525
94605
  function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_55_Template(rf, ctx) { if (rf & 1) {
94526
- const _r5 = i0.ɵɵgetCurrentView();
94527
- i0.ɵɵelementStart(0, "symphiq-search-modal", 48);
94528
- i0.ɵɵlistener("closeModal", function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_55_Template_symphiq_search_modal_closeModal_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleCloseSearchModal()); });
94606
+ const _r6 = i0.ɵɵgetCurrentView();
94607
+ i0.ɵɵelementStart(0, "symphiq-search-modal", 58);
94608
+ i0.ɵɵlistener("closeModal", function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_55_Template_symphiq_search_modal_closeModal_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleCloseSearchModal()); });
94529
94609
  i0.ɵɵelementEnd();
94530
94610
  } }
94531
94611
  class SymphiqProfileFocusAreasAnalysesDashboardComponent {
@@ -94561,11 +94641,16 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
94561
94641
  this.focusAreaProfileAdminAnswerAction = output();
94562
94642
  this.showSearchModal = signal(false, ...(ngDevMode ? [{ debugName: "showSearchModal" }] : []));
94563
94643
  this.scrollProgress = signal(0, ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
94644
+ this.headerScrollService = inject(HeaderScrollService);
94564
94645
  this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
94565
94646
  this.isSimplifiedView = computed(() => this.displayMode() === DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "isSimplifiedView" }] : []));
94647
+ this.FocusAreaDetailStatusEnum = FocusAreaDetailStatusEnum;
94566
94648
  this.focusAreaCards = computed(() => {
94567
94649
  const allDomains = FocusAreaDomainEnumUtil.sorted();
94568
- const detailsMap = new Map(this.focusAreaDetails()?.map(detail => [detail.focusAreaDomain, detail]));
94650
+ const focusAreaDetailsData = this.focusAreaDetails();
94651
+ const profileFocusAreasData = this.profileFocusAreas();
94652
+ const profileAnalysesData = this.profileAnalyses();
94653
+ const isDemo = this.forDemo();
94569
94654
  const mockProgressData = {
94570
94655
  [FocusAreaDomainEnum.AFFILIATE_AND_REFERRAL_PROGRAMS]: { answered: 8, total: 12, hasAnalysis: true },
94571
94656
  [FocusAreaDomainEnum.AI_SEARCH_OPTIMIZATION]: { answered: 5, total: 10, hasAnalysis: false },
@@ -94584,32 +94669,70 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
94584
94669
  [FocusAreaDomainEnum.SOCIAL_MEDIA_ENGAGEMENT]: { answered: 6, total: 12, hasAnalysis: false },
94585
94670
  [FocusAreaDomainEnum.USER_EXPERIENCE_OPTIMIZATION]: { answered: 9, total: 11, hasAnalysis: true }
94586
94671
  };
94672
+ const focusAreaDetailsMap = new Map(focusAreaDetailsData?.map(fad => [fad.focusAreaDomain, fad]));
94673
+ const profileFocusAreasMap = new Map(profileFocusAreasData?.map(pfa => [pfa.focusAreaDomain, pfa]));
94674
+ const profileAnalysesMap = new Map(profileAnalysesData?.map(pa => [pa.focusAreaDomain, pa]));
94587
94675
  return allDomains.map(domain => {
94588
- const mockData = mockProgressData[domain];
94589
- const questionsAnswered = mockData.answered;
94590
- const totalQuestions = mockData.total;
94591
- const progressPercent = totalQuestions > 0 ? (questionsAnswered / totalQuestions) * 100 : 0;
94592
- let status = 'not-started';
94593
- if (questionsAnswered === totalQuestions && totalQuestions > 0) {
94594
- status = 'complete';
94676
+ let questionsAnswered = 0;
94677
+ let totalQuestions = 0;
94678
+ let hasAnalysis = false;
94679
+ let status = 'pending';
94680
+ if (isDemo) {
94681
+ const mockData = mockProgressData[domain];
94682
+ questionsAnswered = mockData.answered;
94683
+ totalQuestions = mockData.total;
94684
+ hasAnalysis = mockData.hasAnalysis;
94685
+ if (questionsAnswered === totalQuestions && totalQuestions > 0) {
94686
+ status = 'complete';
94687
+ }
94688
+ else if (questionsAnswered > 0) {
94689
+ status = 'in-progress';
94690
+ }
94691
+ else {
94692
+ status = 'not-started';
94693
+ }
94595
94694
  }
94596
- else if (questionsAnswered > 0) {
94597
- status = 'in-progress';
94695
+ else {
94696
+ const profileFocusArea = profileFocusAreasMap.get(domain);
94697
+ const profileAnalysis = profileAnalysesMap.get(domain);
94698
+ hasAnalysis = !!profileAnalysis;
94699
+ if (profileFocusArea) {
94700
+ questionsAnswered = profileFocusArea.questionsAnswered ?? 0;
94701
+ totalQuestions = profileFocusArea.totalQuestions ?? 0;
94702
+ if (questionsAnswered === totalQuestions && totalQuestions > 0) {
94703
+ status = 'complete';
94704
+ }
94705
+ else if (questionsAnswered > 0) {
94706
+ status = 'in-progress';
94707
+ }
94708
+ else {
94709
+ status = 'not-started';
94710
+ }
94711
+ }
94598
94712
  }
94713
+ const progressPercent = totalQuestions > 0 ? (questionsAnswered / totalQuestions) * 100 : 0;
94714
+ const focusAreaDetail = focusAreaDetailsMap.get(domain);
94715
+ const engagementStatus = focusAreaDetail?.status ?? null;
94716
+ const tools = focusAreaDetail?.tools ?? [];
94599
94717
  return {
94600
94718
  domain,
94601
94719
  title: FocusAreaDomainEnumUtil.title(domain),
94602
94720
  description: FocusAreaDomainEnumUtil.subtitle(domain),
94603
94721
  questionsAnswered,
94604
94722
  totalQuestions,
94605
- hasAnalysis: mockData.hasAnalysis,
94723
+ hasAnalysis,
94606
94724
  icon: this.getIconForDomain(domain),
94607
94725
  progressPercent,
94608
- status
94726
+ status,
94727
+ engagementStatus,
94728
+ tools
94609
94729
  };
94610
94730
  });
94611
94731
  }, ...(ngDevMode ? [{ debugName: "focusAreaCards" }] : []));
94612
94732
  }
94733
+ onScroll() {
94734
+ this.headerScrollService.handleScroll(this.embedded());
94735
+ }
94613
94736
  handleFocusAreaClick(domain) {
94614
94737
  this.focusAreaClicked.emit(domain);
94615
94738
  }
@@ -94706,8 +94829,45 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
94706
94829
  };
94707
94830
  return iconMap[domain] || '🎯';
94708
94831
  }
94832
+ getEngagementBadgeClasses(status) {
94833
+ const baseClasses = 'px-3 py-1 text-xs font-semibold rounded-full';
94834
+ switch (status) {
94835
+ case FocusAreaDetailStatusEnum.ENGAGED:
94836
+ return `${baseClasses} bg-emerald-100 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-400`;
94837
+ case FocusAreaDetailStatusEnum.NOT_ENGAGED_BUT_WANT_TO:
94838
+ return `${baseClasses} bg-blue-100 dark:bg-blue-900/30 text-blue-700 dark:text-blue-400`;
94839
+ case FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST:
94840
+ return `${baseClasses} bg-slate-100 dark:bg-slate-700/50 text-slate-600 dark:text-slate-400`;
94841
+ default:
94842
+ return baseClasses;
94843
+ }
94844
+ }
94845
+ getEngagementStatusLabel(status) {
94846
+ switch (status) {
94847
+ case FocusAreaDetailStatusEnum.ENGAGED:
94848
+ return 'Engaged';
94849
+ case FocusAreaDetailStatusEnum.NOT_ENGAGED_BUT_WANT_TO:
94850
+ return 'Interested';
94851
+ case FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST:
94852
+ return 'Not Interested';
94853
+ default:
94854
+ return '';
94855
+ }
94856
+ }
94857
+ getToolsLabelClasses() {
94858
+ return this.isLightMode()
94859
+ ? 'text-slate-600'
94860
+ : 'text-slate-400';
94861
+ }
94862
+ getToolChipClasses() {
94863
+ return this.isLightMode()
94864
+ ? 'bg-emerald-100 text-emerald-700'
94865
+ : 'bg-emerald-900/30 text-emerald-400';
94866
+ }
94709
94867
  static { this.ɵfac = function SymphiqProfileFocusAreasAnalysesDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqProfileFocusAreasAnalysesDashboardComponent)(); }; }
94710
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqProfileFocusAreasAnalysesDashboardComponent, selectors: [["symphiq-profile-focus-areas-analyses-dashboard"]], inputs: { requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], embedded: [1, "embedded"], profileAnalyses: [1, "profileAnalyses"], profile: [1, "profile"], funnelAnalysis: [1, "funnelAnalysis"], focusAreaDetails: [1, "focusAreaDetails"], account: [1, "account"], profileFocusAreas: [1, "profileFocusAreas"], itemStatusesProfileFocusArea: [1, "itemStatusesProfileFocusArea"], itemStatusesProfileAnalysis: [1, "itemStatusesProfileAnalysis"], isOnboarded: [1, "isOnboarded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], users: [1, "users"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], currentUser: [1, "currentUser"], maxAccessibleStepId: [1, "maxAccessibleStepId"], viewMode: [1, "viewMode"], displayMode: [1, "displayMode"], currentStepId: [1, "currentStepId"] }, outputs: { focusAreaClicked: "focusAreaClicked", stepClick: "stepClick", nextStepClick: "nextStepClick", answerFocusAreaProfileQuestions: "answerFocusAreaProfileQuestions", continueFocusAreaProfileQuestions: "continueFocusAreaProfileQuestions", profileQuestionAnswerSave: "profileQuestionAnswerSave", focusAreaProfileAdminAnswerAction: "focusAreaProfileAdminAnswerAction" }, decls: 56, vars: 22, consts: [[1, "min-h-screen", "relative"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "fixed", "top-0", "left-0", "right-0", "h-1", "z-[60]", "bg-slate-200/30"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "title", "subtitle", "viewMode", "showControls"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "container", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8", "md:py-12", "relative", "z-10"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "px-8", "py-8"], [1, "flex", "items-start", "gap-6"], [1, "flex-shrink-0", "w-16", "h-16", "rounded-2xl", "flex", "items-center", "justify-center", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-8", "h-8"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"], [1, "flex-1"], [1, "text-2xl", "sm:text-3xl", "font-bold", "mb-3", 3, "ngClass"], [1, "space-y-3", "mb-6"], [1, "text-base", "leading-relaxed", 3, "ngClass"], [1, "font-semibold"], [1, "mt-6", "p-5", "rounded-xl", "border-l-4", "flex", "items-start", "gap-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "flex-shrink-0", "mt-0.5", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "font-bold", "text-lg", "mb-2", 3, "ngClass"], [1, "space-y-2", "text-sm", 3, "ngClass"], [1, "flex", "items-start", "gap-2"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-5", "h-5", "flex-shrink-0", "mt-0.5"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clip-rule", "evenodd"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6"], [3, "class"], [3, "nextStepClick", "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "click"], [1, "p-6"], [1, "flex", "items-start", "justify-between", "mb-4"], [1, "text-4xl"], [1, "px-3", "py-1", "bg-green-100", "dark:bg-green-900/30", "text-green-700", "dark:text-green-400", "text-xs", "font-semibold", "rounded-full"], [1, "space-y-2"], [1, "flex", "items-center", "justify-between", "text-sm"], [1, "h-full", "bg-gradient-to-r", "from-blue-500", "to-cyan-500", "rounded-full", "transition-all", "duration-500"], [1, "flex", "items-center", "gap-1", "text-xs", "text-green-600", "dark:text-green-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-blue-600", "dark:text-blue-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-slate-500", "dark:text-slate-400", "font-medium"], [1, "flex", "items-center", "justify-between"], [1, "text-sm", "font-medium", "text-slate-600", "dark:text-slate-400"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "text-slate-400", "dark:text-slate-500", "group-hover:text-blue-500", "dark:group-hover:text-blue-400", "group-hover:translate-x-1", "transition-all"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z", "clip-rule", "evenodd"], [3, "closeModal"]], template: function SymphiqProfileFocusAreasAnalysesDashboardComponent_Template(rf, ctx) { if (rf & 1) {
94868
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqProfileFocusAreasAnalysesDashboardComponent, selectors: [["symphiq-profile-focus-areas-analyses-dashboard"]], hostBindings: function SymphiqProfileFocusAreasAnalysesDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
94869
+ i0.ɵɵlistener("scroll", function SymphiqProfileFocusAreasAnalysesDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow);
94870
+ } }, inputs: { requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], embedded: [1, "embedded"], profileAnalyses: [1, "profileAnalyses"], profile: [1, "profile"], funnelAnalysis: [1, "funnelAnalysis"], focusAreaDetails: [1, "focusAreaDetails"], account: [1, "account"], profileFocusAreas: [1, "profileFocusAreas"], itemStatusesProfileFocusArea: [1, "itemStatusesProfileFocusArea"], itemStatusesProfileAnalysis: [1, "itemStatusesProfileAnalysis"], isOnboarded: [1, "isOnboarded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], users: [1, "users"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], currentUser: [1, "currentUser"], maxAccessibleStepId: [1, "maxAccessibleStepId"], viewMode: [1, "viewMode"], displayMode: [1, "displayMode"], currentStepId: [1, "currentStepId"] }, outputs: { focusAreaClicked: "focusAreaClicked", stepClick: "stepClick", nextStepClick: "nextStepClick", answerFocusAreaProfileQuestions: "answerFocusAreaProfileQuestions", continueFocusAreaProfileQuestions: "continueFocusAreaProfileQuestions", profileQuestionAnswerSave: "profileQuestionAnswerSave", focusAreaProfileAdminAnswerAction: "focusAreaProfileAdminAnswerAction" }, decls: 56, vars: 22, consts: [[1, "min-h-screen", "relative"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "fixed", "top-0", "left-0", "right-0", "h-1", "z-[60]", "bg-slate-200/30"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "title", "subtitle", "viewMode", "showControls"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "container", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8", "md:py-12", "relative", "z-10"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "px-8", "py-8"], [1, "flex", "items-start", "gap-6"], [1, "flex-shrink-0", "w-16", "h-16", "rounded-2xl", "flex", "items-center", "justify-center", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-8", "h-8"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"], [1, "flex-1"], [1, "text-2xl", "sm:text-3xl", "font-bold", "mb-3", 3, "ngClass"], [1, "space-y-3", "mb-6"], [1, "text-base", "leading-relaxed", 3, "ngClass"], [1, "font-semibold"], [1, "mt-6", "p-5", "rounded-xl", "border-l-4", "flex", "items-start", "gap-4", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "flex-shrink-0", "mt-0.5", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "font-bold", "text-lg", "mb-2", 3, "ngClass"], [1, "space-y-2", "text-sm", 3, "ngClass"], [1, "flex", "items-start", "gap-2"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-5", "h-5", "flex-shrink-0", "mt-0.5"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clip-rule", "evenodd"], [1, "grid", "grid-cols-1", "md:grid-cols-2", "lg:grid-cols-3", "gap-6"], [3, "class"], [3, "nextStepClick", "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "click"], [1, "p-6"], [1, "flex", "items-start", "justify-between", "mb-4"], [1, "text-4xl"], [1, "flex", "flex-col", "items-end", "gap-2"], [3, "ngClass"], [1, "px-3", "py-1", "bg-green-100", "dark:bg-green-900/30", "text-green-700", "dark:text-green-400", "text-xs", "font-semibold", "rounded-full"], [1, "mt-3", "mb-2"], [1, "flex", "items-center", "gap-2", "py-2"], [1, "space-y-2"], [1, "flex", "items-center", "justify-between"], [1, "text-sm", "font-medium", "text-slate-600", "dark:text-slate-400"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5", "text-slate-400", "dark:text-slate-500", "group-hover:text-blue-500", "dark:group-hover:text-blue-400", "group-hover:translate-x-1", "transition-all"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5l7 7-7 7"], [1, "flex", "items-center", "gap-2"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-1.5"], [1, "px-2", "py-0.5", "rounded", "text-xs", 3, "ngClass"], [1, "animate-spin", "w-4", "h-4", "border-2", "border-amber-500/30", "border-t-amber-500", "rounded-full"], [1, "text-xs", "text-amber-600", "dark:text-amber-400", "font-medium"], [1, "flex", "items-center", "justify-between", "text-sm"], [1, "h-full", "bg-gradient-to-r", "from-blue-500", "to-cyan-500", "rounded-full", "transition-all", "duration-500"], [1, "flex", "items-center", "gap-1", "text-xs", "text-green-600", "dark:text-green-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-blue-600", "dark:text-blue-400", "font-medium"], [1, "flex", "items-center", "gap-1", "text-xs", "text-slate-500", "dark:text-slate-400", "font-medium"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z", "clip-rule", "evenodd"], [3, "closeModal"]], template: function SymphiqProfileFocusAreasAnalysesDashboardComponent_Template(rf, ctx) { if (rf & 1) {
94711
94871
  i0.ɵɵelementStart(0, "div", 0);
94712
94872
  i0.ɵɵelement(1, "div", 1);
94713
94873
  i0.ɵɵelementStart(2, "div", 2);
@@ -94776,7 +94936,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
94776
94936
  i0.ɵɵtext(51, " \u2014 Complete assessments to receive tailored recommendations and insights");
94777
94937
  i0.ɵɵelementEnd()()()()()()()()();
94778
94938
  i0.ɵɵelementStart(52, "div", 27);
94779
- i0.ɵɵrepeaterCreate(53, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template, 27, 23, "div", 28, _forTrack0);
94939
+ i0.ɵɵrepeaterCreate(53, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template, 21, 15, "div", 28, _forTrack0);
94780
94940
  i0.ɵɵelementEnd()()();
94781
94941
  i0.ɵɵconditionalCreate(55, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_55_Template, 1, 0, "symphiq-search-modal");
94782
94942
  i0.ɵɵelementEnd();
@@ -94924,11 +95084,18 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
94924
95084
  <div class="p-6">
94925
95085
  <div class="flex items-start justify-between mb-4">
94926
95086
  <div class="text-4xl">{{ focusArea.icon }}</div>
94927
- @if (focusArea.hasAnalysis) {
94928
- <div class="px-3 py-1 bg-green-100 dark:bg-green-900/30 text-green-700 dark:text-green-400 text-xs font-semibold rounded-full">
94929
- Analysis Ready
94930
- </div>
94931
- }
95087
+ <div class="flex flex-col items-end gap-2">
95088
+ @if (focusArea.engagementStatus) {
95089
+ <div [ngClass]="getEngagementBadgeClasses(focusArea.engagementStatus)">
95090
+ {{ getEngagementStatusLabel(focusArea.engagementStatus) }}
95091
+ </div>
95092
+ }
95093
+ @if (focusArea.hasAnalysis) {
95094
+ <div class="px-3 py-1 bg-green-100 dark:bg-green-900/30 text-green-700 dark:text-green-400 text-xs font-semibold rounded-full">
95095
+ Analysis Ready
95096
+ </div>
95097
+ }
95098
+ </div>
94932
95099
  </div>
94933
95100
 
94934
95101
  <h3 [class]="getTitleClasses()">
@@ -94939,44 +95106,66 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
94939
95106
  {{ focusArea.description }}
94940
95107
  </p>
94941
95108
 
94942
- <div class="space-y-2">
94943
- <div class="flex items-center justify-between text-sm">
94944
- <span [class]="getLabelClasses()">Progress</span>
94945
- <span [class]="getValueClasses()">
94946
- {{ focusArea.questionsAnswered }} / {{ focusArea.totalQuestions }}
94947
- </span>
95109
+ @if (focusArea.engagementStatus === FocusAreaDetailStatusEnum.ENGAGED && focusArea.tools.length > 0) {
95110
+ <div class="mt-3 mb-2">
95111
+ <div class="flex items-center gap-2">
95112
+ <span [ngClass]="getToolsLabelClasses()" class="text-xs font-medium">Marketing Tools:</span>
95113
+ <div class="flex flex-wrap gap-1.5">
95114
+ @for (tool of focusArea.tools; track tool) {
95115
+ <span [ngClass]="getToolChipClasses()" class="px-2 py-0.5 rounded text-xs">
95116
+ {{ tool }}
95117
+ </span>
95118
+ }
95119
+ </div>
95120
+ </div>
94948
95121
  </div>
95122
+ }
94949
95123
 
94950
- <div [class]="getProgressBarContainerClasses()">
94951
- <div
94952
- class="h-full bg-gradient-to-r from-blue-500 to-cyan-500 rounded-full transition-all duration-500"
94953
- [style.width.%]="focusArea.progressPercent"
94954
- ></div>
95124
+ @if (focusArea.status === 'pending') {
95125
+ <div class="flex items-center gap-2 py-2">
95126
+ <div class="animate-spin w-4 h-4 border-2 border-amber-500/30 border-t-amber-500 rounded-full"></div>
95127
+ <span class="text-xs text-amber-600 dark:text-amber-400 font-medium">Profile Generation Pending</span>
94955
95128
  </div>
94956
-
94957
- @if (focusArea.status === 'complete') {
94958
- <div class="flex items-center gap-1 text-xs text-green-600 dark:text-green-400 font-medium">
94959
- <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
94960
- <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
94961
- </svg>
94962
- Complete
94963
- </div>
94964
- } @else if (focusArea.status === 'in-progress') {
94965
- <div class="flex items-center gap-1 text-xs text-blue-600 dark:text-blue-400 font-medium">
94966
- <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
94967
- <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z" clip-rule="evenodd" />
94968
- </svg>
94969
- In Progress
95129
+ } @else {
95130
+ <div class="space-y-2">
95131
+ <div class="flex items-center justify-between text-sm">
95132
+ <span [class]="getLabelClasses()">Progress</span>
95133
+ <span [class]="getValueClasses()">
95134
+ {{ focusArea.questionsAnswered }} / {{ focusArea.totalQuestions }}
95135
+ </span>
94970
95136
  </div>
94971
- } @else {
94972
- <div class="flex items-center gap-1 text-xs text-slate-500 dark:text-slate-400 font-medium">
94973
- <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
94974
- <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z" clip-rule="evenodd" />
94975
- </svg>
94976
- Not Started
95137
+
95138
+ <div [class]="getProgressBarContainerClasses()">
95139
+ <div
95140
+ class="h-full bg-gradient-to-r from-blue-500 to-cyan-500 rounded-full transition-all duration-500"
95141
+ [style.width.%]="focusArea.progressPercent"
95142
+ ></div>
94977
95143
  </div>
94978
- }
94979
- </div>
95144
+
95145
+ @if (focusArea.status === 'complete') {
95146
+ <div class="flex items-center gap-1 text-xs text-green-600 dark:text-green-400 font-medium">
95147
+ <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
95148
+ <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
95149
+ </svg>
95150
+ Complete
95151
+ </div>
95152
+ } @else if (focusArea.status === 'in-progress') {
95153
+ <div class="flex items-center gap-1 text-xs text-blue-600 dark:text-blue-400 font-medium">
95154
+ <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
95155
+ <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z" clip-rule="evenodd" />
95156
+ </svg>
95157
+ In Progress
95158
+ </div>
95159
+ } @else {
95160
+ <div class="flex items-center gap-1 text-xs text-slate-500 dark:text-slate-400 font-medium">
95161
+ <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
95162
+ <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z" clip-rule="evenodd" />
95163
+ </svg>
95164
+ Not Started
95165
+ </div>
95166
+ }
95167
+ </div>
95168
+ }
94980
95169
  </div>
94981
95170
 
94982
95171
  <div [class]="getCardFooterClasses()">
@@ -95001,8 +95190,11 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
95001
95190
  }
95002
95191
  </div>
95003
95192
  `, styles: [".animated-bubbles{background:linear-gradient(135deg,#6366f10d,#a855f70d)}.animated-bubbles.light-mode{background:linear-gradient(135deg,#3b82f608,#9333ea08)}.animated-bubbles:before,.animated-bubbles:after{content:\"\";position:absolute;border-radius:50%;animation:float 20s infinite ease-in-out}.animated-bubbles:before{width:500px;height:500px;background:radial-gradient(circle,rgba(99,102,241,.1) 0%,transparent 70%);top:-250px;right:-250px;animation-delay:-5s}.animated-bubbles:after{width:400px;height:400px;background:radial-gradient(circle,rgba(168,85,247,.1) 0%,transparent 70%);bottom:-200px;left:-200px;animation-delay:-10s}@keyframes float{0%,to{transform:translateY(0) translate(0)}25%{transform:translateY(-50px) translate(50px)}50%{transform:translateY(-100px) translate(-50px)}75%{transform:translateY(-50px) translate(-100px)}}\n"] }]
95004
- }], null, { 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 }] }], profileAnalyses: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnalyses", required: false }] }], profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: false }] }], funnelAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelAnalysis", required: false }] }], focusAreaDetails: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusAreaDetails", required: false }] }], account: [{ type: i0.Input, args: [{ isSignal: true, alias: "account", required: false }] }], profileFocusAreas: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileFocusAreas", required: false }] }], itemStatusesProfileFocusArea: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatusesProfileFocusArea", required: false }] }], itemStatusesProfileAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatusesProfileAnalysis", 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 }] }], users: [{ type: i0.Input, args: [{ isSignal: true, alias: "users", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], currentUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentUser", required: false }] }], maxAccessibleStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAccessibleStepId", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], displayMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayMode", required: false }] }], currentStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentStepId", required: false }] }], focusAreaClicked: [{ type: i0.Output, args: ["focusAreaClicked"] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], answerFocusAreaProfileQuestions: [{ type: i0.Output, args: ["answerFocusAreaProfileQuestions"] }], continueFocusAreaProfileQuestions: [{ type: i0.Output, args: ["continueFocusAreaProfileQuestions"] }], profileQuestionAnswerSave: [{ type: i0.Output, args: ["profileQuestionAnswerSave"] }], focusAreaProfileAdminAnswerAction: [{ type: i0.Output, args: ["focusAreaProfileAdminAnswerAction"] }] }); })();
95005
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileFocusAreasAnalysesDashboardComponent, { className: "SymphiqProfileFocusAreasAnalysesDashboardComponent", filePath: "lib/components/profile-analyses-focus-areas-dashboard/symphiq-profile-focus-areas-analyses-dashboard.component.ts", lineNumber: 285 }); })();
95193
+ }], null, { 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 }] }], profileAnalyses: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnalyses", required: false }] }], profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: false }] }], funnelAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelAnalysis", required: false }] }], focusAreaDetails: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusAreaDetails", required: false }] }], account: [{ type: i0.Input, args: [{ isSignal: true, alias: "account", required: false }] }], profileFocusAreas: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileFocusAreas", required: false }] }], itemStatusesProfileFocusArea: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatusesProfileFocusArea", required: false }] }], itemStatusesProfileAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatusesProfileAnalysis", 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 }] }], users: [{ type: i0.Input, args: [{ isSignal: true, alias: "users", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], currentUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentUser", required: false }] }], maxAccessibleStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAccessibleStepId", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], displayMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayMode", required: false }] }], currentStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentStepId", required: false }] }], focusAreaClicked: [{ type: i0.Output, args: ["focusAreaClicked"] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], answerFocusAreaProfileQuestions: [{ type: i0.Output, args: ["answerFocusAreaProfileQuestions"] }], continueFocusAreaProfileQuestions: [{ type: i0.Output, args: ["continueFocusAreaProfileQuestions"] }], profileQuestionAnswerSave: [{ type: i0.Output, args: ["profileQuestionAnswerSave"] }], focusAreaProfileAdminAnswerAction: [{ type: i0.Output, args: ["focusAreaProfileAdminAnswerAction"] }], onScroll: [{
95194
+ type: HostListener,
95195
+ args: ['window:scroll', ['$event']]
95196
+ }] }); })();
95197
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileFocusAreasAnalysesDashboardComponent, { className: "SymphiqProfileFocusAreasAnalysesDashboardComponent", filePath: "lib/components/profile-analyses-focus-areas-dashboard/symphiq-profile-focus-areas-analyses-dashboard.component.ts", lineNumber: 320 }); })();
95006
95198
 
95007
95199
  function FocusAreaStatusCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
95008
95200
  i0.ɵɵelementStart(0, "div", 7)(1, "div", 8)(2, "div", 9);