@eric-emg/symphiq-components 1.2.429 → 1.2.431
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.
- package/fesm2022/symphiq-components.mjs +325 -160
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +71 -59
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/styles.css +8 -0
|
@@ -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",
|
|
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",
|
|
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",
|
|
68372
|
-
i0.ɵɵelement(4, "path",
|
|
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
|
|
68388
|
-
i0.ɵɵelementStart(0, "div",
|
|
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",
|
|
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
|
|
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
|
|
68419
|
-
i0.ɵɵelementStart(0, "div",
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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",
|
|
68442
|
-
i0.ɵɵelement(3, "path",
|
|
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:
|
|
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.ɵɵ
|
|
68529
|
-
i0.ɵɵ
|
|
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(
|
|
68540
|
-
i0.ɵɵconditionalCreate(
|
|
68541
|
-
i0.ɵɵconditionalCreate(
|
|
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.ɵɵ
|
|
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() ?
|
|
68595
|
+
i0.ɵɵconditional(ctx.currentSection() ? 20 : -1);
|
|
68580
68596
|
i0.ɵɵadvance();
|
|
68581
|
-
i0.ɵɵconditional(ctx.showControls() ?
|
|
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
|
-
|
|
68638
|
-
|
|
68639
|
-
|
|
68640
|
-
<div
|
|
68641
|
-
|
|
68642
|
-
|
|
68643
|
-
|
|
68644
|
-
|
|
68645
|
-
|
|
68646
|
-
|
|
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
|
-
|
|
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:
|
|
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() {
|
|
@@ -94417,106 +94437,159 @@ class SymphiqProfileShopAnalysisDashboardComponent {
|
|
|
94417
94437
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileShopAnalysisDashboardComponent, { className: "SymphiqProfileShopAnalysisDashboardComponent", filePath: "lib/components/profile-analysis-shop-dashboard/symphiq-profile-shop-analysis-dashboard.component.ts", lineNumber: 788 }); })();
|
|
94418
94438
|
|
|
94419
94439
|
const _forTrack0 = ($index, $item) => $item.domain;
|
|
94420
|
-
function
|
|
94421
|
-
i0.ɵɵ
|
|
94422
|
-
i0.ɵɵ
|
|
94440
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
94441
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
94442
|
+
i0.ɵɵelementStart(0, "symphiq-journey-progress-indicator", 29);
|
|
94443
|
+
i0.ɵɵlistener("nextStepClick", function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_6_Template_symphiq_journey_progress_indicator_nextStepClick_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.nextStepClick.emit()); })("stepClick", function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_6_Template_symphiq_journey_progress_indicator_stepClick_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.stepClick.emit($event)); });
|
|
94423
94444
|
i0.ɵɵelementEnd();
|
|
94445
|
+
} if (rf & 2) {
|
|
94446
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
94447
|
+
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("currentStepId", ctx_r1.currentStepId())("showNextStepAction", true)("forDemo", ctx_r1.forDemo())("maxAccessibleStepId", ctx_r1.maxAccessibleStepId());
|
|
94448
|
+
} }
|
|
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), " ");
|
|
94424
94459
|
} }
|
|
94425
|
-
function
|
|
94460
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
94426
94461
|
i0.ɵɵelementStart(0, "div", 36);
|
|
94462
|
+
i0.ɵɵtext(1, " Analysis Ready ");
|
|
94463
|
+
i0.ɵɵelementEnd();
|
|
94464
|
+
} }
|
|
94465
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_12_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
94466
|
+
i0.ɵɵelementStart(0, "span", 51);
|
|
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", 48)(2, "span", 49);
|
|
94478
|
+
i0.ɵɵtext(3, "Marketing Tools:");
|
|
94479
|
+
i0.ɵɵelementEnd();
|
|
94480
|
+
i0.ɵɵelementStart(4, "div", 50);
|
|
94481
|
+
i0.ɵɵrepeaterCreate(5, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_12_For_6_Template, 2, 2, "span", 51, 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_21_Template(rf, ctx) { if (rf & 1) {
|
|
94492
|
+
i0.ɵɵelementStart(0, "div", 41);
|
|
94427
94493
|
i0.ɵɵnamespaceSVG();
|
|
94428
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94429
|
-
i0.ɵɵelement(2, "path",
|
|
94494
|
+
i0.ɵɵelementStart(1, "svg", 52);
|
|
94495
|
+
i0.ɵɵelement(2, "path", 26);
|
|
94430
94496
|
i0.ɵɵelementEnd();
|
|
94431
94497
|
i0.ɵɵtext(3, " Complete ");
|
|
94432
94498
|
i0.ɵɵelementEnd();
|
|
94433
94499
|
} }
|
|
94434
|
-
function
|
|
94435
|
-
i0.ɵɵelementStart(0, "div",
|
|
94500
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
94501
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
94436
94502
|
i0.ɵɵnamespaceSVG();
|
|
94437
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94438
|
-
i0.ɵɵelement(2, "path",
|
|
94503
|
+
i0.ɵɵelementStart(1, "svg", 52);
|
|
94504
|
+
i0.ɵɵelement(2, "path", 53);
|
|
94439
94505
|
i0.ɵɵelementEnd();
|
|
94440
94506
|
i0.ɵɵtext(3, " In Progress ");
|
|
94441
94507
|
i0.ɵɵelementEnd();
|
|
94442
94508
|
} }
|
|
94443
|
-
function
|
|
94444
|
-
i0.ɵɵelementStart(0, "div",
|
|
94509
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
94510
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
94445
94511
|
i0.ɵɵnamespaceSVG();
|
|
94446
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94447
|
-
i0.ɵɵelement(2, "path",
|
|
94512
|
+
i0.ɵɵelementStart(1, "svg", 52);
|
|
94513
|
+
i0.ɵɵelement(2, "path", 54);
|
|
94448
94514
|
i0.ɵɵelementEnd();
|
|
94449
94515
|
i0.ɵɵtext(3, " Not Started ");
|
|
94450
94516
|
i0.ɵɵelementEnd();
|
|
94451
94517
|
} }
|
|
94452
|
-
function
|
|
94453
|
-
const
|
|
94454
|
-
i0.ɵɵelementStart(0, "div",
|
|
94455
|
-
i0.ɵɵlistener("click", function
|
|
94456
|
-
i0.ɵɵelementStart(1, "div",
|
|
94518
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template(rf, ctx) { if (rf & 1) {
|
|
94519
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
94520
|
+
i0.ɵɵelementStart(0, "div", 30);
|
|
94521
|
+
i0.ɵɵlistener("click", function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template_div_click_0_listener() { const focusArea_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleFocusAreaClick(focusArea_r4.domain)); });
|
|
94522
|
+
i0.ɵɵelementStart(1, "div", 31)(2, "div", 32)(3, "div", 33);
|
|
94457
94523
|
i0.ɵɵtext(4);
|
|
94458
94524
|
i0.ɵɵelementEnd();
|
|
94459
|
-
i0.ɵɵ
|
|
94460
|
-
i0.ɵɵ
|
|
94461
|
-
i0.ɵɵ
|
|
94462
|
-
i0.ɵɵ
|
|
94463
|
-
i0.ɵɵ
|
|
94464
|
-
i0.ɵɵelementStart(8, "p");
|
|
94525
|
+
i0.ɵɵelementStart(5, "div", 34);
|
|
94526
|
+
i0.ɵɵconditionalCreate(6, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_6_Template, 2, 2, "div", 35);
|
|
94527
|
+
i0.ɵɵconditionalCreate(7, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_7_Template, 2, 0, "div", 36);
|
|
94528
|
+
i0.ɵɵelementEnd()();
|
|
94529
|
+
i0.ɵɵelementStart(8, "h3");
|
|
94465
94530
|
i0.ɵɵtext(9);
|
|
94466
94531
|
i0.ɵɵelementEnd();
|
|
94467
|
-
i0.ɵɵelementStart(10, "
|
|
94468
|
-
i0.ɵɵtext(
|
|
94532
|
+
i0.ɵɵelementStart(10, "p");
|
|
94533
|
+
i0.ɵɵtext(11);
|
|
94469
94534
|
i0.ɵɵelementEnd();
|
|
94470
|
-
i0.ɵɵ
|
|
94471
|
-
i0.ɵɵ
|
|
94535
|
+
i0.ɵɵconditionalCreate(12, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_12_Template, 7, 1, "div", 37);
|
|
94536
|
+
i0.ɵɵelementStart(13, "div", 38)(14, "div", 39)(15, "span");
|
|
94537
|
+
i0.ɵɵtext(16, "Progress");
|
|
94538
|
+
i0.ɵɵelementEnd();
|
|
94539
|
+
i0.ɵɵelementStart(17, "span");
|
|
94540
|
+
i0.ɵɵtext(18);
|
|
94472
94541
|
i0.ɵɵelementEnd()();
|
|
94473
|
-
i0.ɵɵelementStart(
|
|
94474
|
-
i0.ɵɵelement(
|
|
94542
|
+
i0.ɵɵelementStart(19, "div");
|
|
94543
|
+
i0.ɵɵelement(20, "div", 40);
|
|
94475
94544
|
i0.ɵɵelementEnd();
|
|
94476
|
-
i0.ɵɵconditionalCreate(
|
|
94545
|
+
i0.ɵɵconditionalCreate(21, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_21_Template, 4, 0, "div", 41)(22, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_22_Template, 4, 0, "div", 42)(23, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_23_Template, 4, 0, "div", 43);
|
|
94477
94546
|
i0.ɵɵelementEnd()();
|
|
94478
|
-
i0.ɵɵelementStart(
|
|
94479
|
-
i0.ɵɵtext(
|
|
94547
|
+
i0.ɵɵelementStart(24, "div")(25, "div", 44)(26, "span", 45);
|
|
94548
|
+
i0.ɵɵtext(27, "View Details");
|
|
94480
94549
|
i0.ɵɵelementEnd();
|
|
94481
94550
|
i0.ɵɵnamespaceSVG();
|
|
94482
|
-
i0.ɵɵelementStart(
|
|
94483
|
-
i0.ɵɵelement(
|
|
94551
|
+
i0.ɵɵelementStart(28, "svg", 46);
|
|
94552
|
+
i0.ɵɵelement(29, "path", 47);
|
|
94484
94553
|
i0.ɵɵelementEnd()()()();
|
|
94485
94554
|
} if (rf & 2) {
|
|
94486
|
-
const
|
|
94487
|
-
const
|
|
94488
|
-
i0.ɵɵclassMap(
|
|
94555
|
+
const focusArea_r4 = ctx.$implicit;
|
|
94556
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
94557
|
+
i0.ɵɵclassMap(ctx_r1.getCardClasses());
|
|
94489
94558
|
i0.ɵɵadvance(4);
|
|
94490
|
-
i0.ɵɵtextInterpolate(
|
|
94559
|
+
i0.ɵɵtextInterpolate(focusArea_r4.icon);
|
|
94560
|
+
i0.ɵɵadvance(2);
|
|
94561
|
+
i0.ɵɵconditional(focusArea_r4.engagementStatus ? 6 : -1);
|
|
94491
94562
|
i0.ɵɵadvance();
|
|
94492
|
-
i0.ɵɵconditional(
|
|
94563
|
+
i0.ɵɵconditional(focusArea_r4.hasAnalysis ? 7 : -1);
|
|
94493
94564
|
i0.ɵɵadvance();
|
|
94494
|
-
i0.ɵɵclassMap(
|
|
94565
|
+
i0.ɵɵclassMap(ctx_r1.getTitleClasses());
|
|
94495
94566
|
i0.ɵɵadvance();
|
|
94496
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
94567
|
+
i0.ɵɵtextInterpolate1(" ", focusArea_r4.title, " ");
|
|
94497
94568
|
i0.ɵɵadvance();
|
|
94498
|
-
i0.ɵɵclassMap(
|
|
94569
|
+
i0.ɵɵclassMap(ctx_r1.getDescriptionClasses());
|
|
94499
94570
|
i0.ɵɵadvance();
|
|
94500
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
94571
|
+
i0.ɵɵtextInterpolate1(" ", focusArea_r4.description, " ");
|
|
94572
|
+
i0.ɵɵadvance();
|
|
94573
|
+
i0.ɵɵconditional(focusArea_r4.engagementStatus === ctx_r1.FocusAreaDetailStatusEnum.ENGAGED && focusArea_r4.tools.length > 0 ? 12 : -1);
|
|
94501
94574
|
i0.ɵɵadvance(3);
|
|
94502
|
-
i0.ɵɵclassMap(
|
|
94575
|
+
i0.ɵɵclassMap(ctx_r1.getLabelClasses());
|
|
94503
94576
|
i0.ɵɵadvance(2);
|
|
94504
|
-
i0.ɵɵclassMap(
|
|
94577
|
+
i0.ɵɵclassMap(ctx_r1.getValueClasses());
|
|
94505
94578
|
i0.ɵɵadvance();
|
|
94506
|
-
i0.ɵɵtextInterpolate2(" ",
|
|
94579
|
+
i0.ɵɵtextInterpolate2(" ", focusArea_r4.questionsAnswered, " / ", focusArea_r4.totalQuestions, " ");
|
|
94507
94580
|
i0.ɵɵadvance();
|
|
94508
|
-
i0.ɵɵclassMap(
|
|
94581
|
+
i0.ɵɵclassMap(ctx_r1.getProgressBarContainerClasses());
|
|
94509
94582
|
i0.ɵɵadvance();
|
|
94510
|
-
i0.ɵɵstyleProp("width",
|
|
94583
|
+
i0.ɵɵstyleProp("width", focusArea_r4.progressPercent, "%");
|
|
94511
94584
|
i0.ɵɵadvance();
|
|
94512
|
-
i0.ɵɵconditional(
|
|
94585
|
+
i0.ɵɵconditional(focusArea_r4.status === "complete" ? 21 : focusArea_r4.status === "in-progress" ? 22 : 23);
|
|
94513
94586
|
i0.ɵɵadvance(3);
|
|
94514
|
-
i0.ɵɵclassMap(
|
|
94587
|
+
i0.ɵɵclassMap(ctx_r1.getCardFooterClasses());
|
|
94515
94588
|
} }
|
|
94516
|
-
function
|
|
94517
|
-
const
|
|
94518
|
-
i0.ɵɵelementStart(0, "symphiq-search-modal",
|
|
94519
|
-
i0.ɵɵlistener("closeModal", function
|
|
94589
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_55_Template(rf, ctx) { if (rf & 1) {
|
|
94590
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
94591
|
+
i0.ɵɵelementStart(0, "symphiq-search-modal", 55);
|
|
94592
|
+
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()); });
|
|
94520
94593
|
i0.ɵɵelementEnd();
|
|
94521
94594
|
} }
|
|
94522
94595
|
class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
@@ -94541,6 +94614,8 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94541
94614
|
this.currentUser = input(...(ngDevMode ? [undefined, { debugName: "currentUser" }] : []));
|
|
94542
94615
|
this.maxAccessibleStepId = input(undefined, ...(ngDevMode ? [{ debugName: "maxAccessibleStepId" }] : []));
|
|
94543
94616
|
this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
|
|
94617
|
+
this.displayMode = input(DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "displayMode" }] : []));
|
|
94618
|
+
this.currentStepId = input(JourneyStepIdEnum.FOCUS_AREA_ANALYSIS, ...(ngDevMode ? [{ debugName: "currentStepId" }] : []));
|
|
94544
94619
|
this.focusAreaClicked = output();
|
|
94545
94620
|
this.stepClick = output();
|
|
94546
94621
|
this.nextStepClick = output();
|
|
@@ -94550,10 +94625,13 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94550
94625
|
this.focusAreaProfileAdminAnswerAction = output();
|
|
94551
94626
|
this.showSearchModal = signal(false, ...(ngDevMode ? [{ debugName: "showSearchModal" }] : []));
|
|
94552
94627
|
this.scrollProgress = signal(0, ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
|
|
94628
|
+
this.headerScrollService = inject(HeaderScrollService);
|
|
94553
94629
|
this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
94630
|
+
this.isSimplifiedView = computed(() => this.displayMode() === DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "isSimplifiedView" }] : []));
|
|
94631
|
+
this.FocusAreaDetailStatusEnum = FocusAreaDetailStatusEnum;
|
|
94554
94632
|
this.focusAreaCards = computed(() => {
|
|
94555
94633
|
const allDomains = FocusAreaDomainEnumUtil.sorted();
|
|
94556
|
-
const
|
|
94634
|
+
const focusAreaDetailsData = this.focusAreaDetails();
|
|
94557
94635
|
const mockProgressData = {
|
|
94558
94636
|
[FocusAreaDomainEnum.AFFILIATE_AND_REFERRAL_PROGRAMS]: { answered: 8, total: 12, hasAnalysis: true },
|
|
94559
94637
|
[FocusAreaDomainEnum.AI_SEARCH_OPTIMIZATION]: { answered: 5, total: 10, hasAnalysis: false },
|
|
@@ -94572,6 +94650,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94572
94650
|
[FocusAreaDomainEnum.SOCIAL_MEDIA_ENGAGEMENT]: { answered: 6, total: 12, hasAnalysis: false },
|
|
94573
94651
|
[FocusAreaDomainEnum.USER_EXPERIENCE_OPTIMIZATION]: { answered: 9, total: 11, hasAnalysis: true }
|
|
94574
94652
|
};
|
|
94653
|
+
const focusAreaDetailsMap = new Map(focusAreaDetailsData?.map(fad => [fad.focusAreaDomain, fad]));
|
|
94575
94654
|
return allDomains.map(domain => {
|
|
94576
94655
|
const mockData = mockProgressData[domain];
|
|
94577
94656
|
const questionsAnswered = mockData.answered;
|
|
@@ -94584,6 +94663,9 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94584
94663
|
else if (questionsAnswered > 0) {
|
|
94585
94664
|
status = 'in-progress';
|
|
94586
94665
|
}
|
|
94666
|
+
const focusAreaDetail = focusAreaDetailsMap.get(domain);
|
|
94667
|
+
const engagementStatus = focusAreaDetail?.status ?? null;
|
|
94668
|
+
const tools = focusAreaDetail?.tools ?? [];
|
|
94587
94669
|
return {
|
|
94588
94670
|
domain,
|
|
94589
94671
|
title: FocusAreaDomainEnumUtil.title(domain),
|
|
@@ -94593,11 +94675,16 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94593
94675
|
hasAnalysis: mockData.hasAnalysis,
|
|
94594
94676
|
icon: this.getIconForDomain(domain),
|
|
94595
94677
|
progressPercent,
|
|
94596
|
-
status
|
|
94678
|
+
status,
|
|
94679
|
+
engagementStatus,
|
|
94680
|
+
tools
|
|
94597
94681
|
};
|
|
94598
94682
|
});
|
|
94599
94683
|
}, ...(ngDevMode ? [{ debugName: "focusAreaCards" }] : []));
|
|
94600
94684
|
}
|
|
94685
|
+
onScroll() {
|
|
94686
|
+
this.headerScrollService.handleScroll(this.embedded());
|
|
94687
|
+
}
|
|
94601
94688
|
handleFocusAreaClick(domain) {
|
|
94602
94689
|
this.focusAreaClicked.emit(domain);
|
|
94603
94690
|
}
|
|
@@ -94694,8 +94781,45 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94694
94781
|
};
|
|
94695
94782
|
return iconMap[domain] || '🎯';
|
|
94696
94783
|
}
|
|
94784
|
+
getEngagementBadgeClasses(status) {
|
|
94785
|
+
const baseClasses = 'px-3 py-1 text-xs font-semibold rounded-full';
|
|
94786
|
+
switch (status) {
|
|
94787
|
+
case FocusAreaDetailStatusEnum.ENGAGED:
|
|
94788
|
+
return `${baseClasses} bg-emerald-100 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-400`;
|
|
94789
|
+
case FocusAreaDetailStatusEnum.NOT_ENGAGED_BUT_WANT_TO:
|
|
94790
|
+
return `${baseClasses} bg-blue-100 dark:bg-blue-900/30 text-blue-700 dark:text-blue-400`;
|
|
94791
|
+
case FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST:
|
|
94792
|
+
return `${baseClasses} bg-slate-100 dark:bg-slate-700/50 text-slate-600 dark:text-slate-400`;
|
|
94793
|
+
default:
|
|
94794
|
+
return baseClasses;
|
|
94795
|
+
}
|
|
94796
|
+
}
|
|
94797
|
+
getEngagementStatusLabel(status) {
|
|
94798
|
+
switch (status) {
|
|
94799
|
+
case FocusAreaDetailStatusEnum.ENGAGED:
|
|
94800
|
+
return 'Engaged';
|
|
94801
|
+
case FocusAreaDetailStatusEnum.NOT_ENGAGED_BUT_WANT_TO:
|
|
94802
|
+
return 'Interested';
|
|
94803
|
+
case FocusAreaDetailStatusEnum.NOT_ENGAGED_AND_NO_INTEREST:
|
|
94804
|
+
return 'Not Interested';
|
|
94805
|
+
default:
|
|
94806
|
+
return '';
|
|
94807
|
+
}
|
|
94808
|
+
}
|
|
94809
|
+
getToolsLabelClasses() {
|
|
94810
|
+
return this.isLightMode()
|
|
94811
|
+
? 'text-slate-600'
|
|
94812
|
+
: 'text-slate-400';
|
|
94813
|
+
}
|
|
94814
|
+
getToolChipClasses() {
|
|
94815
|
+
return this.isLightMode()
|
|
94816
|
+
? 'bg-emerald-100 text-emerald-700'
|
|
94817
|
+
: 'bg-emerald-900/30 text-emerald-400';
|
|
94818
|
+
}
|
|
94697
94819
|
static { this.ɵfac = function SymphiqProfileFocusAreasAnalysesDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqProfileFocusAreasAnalysesDashboardComponent)(); }; }
|
|
94698
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqProfileFocusAreasAnalysesDashboardComponent, selectors: [["symphiq-profile-focus-areas-analyses-dashboard"]],
|
|
94820
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqProfileFocusAreasAnalysesDashboardComponent, selectors: [["symphiq-profile-focus-areas-analyses-dashboard"]], hostBindings: function SymphiqProfileFocusAreasAnalysesDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
94821
|
+
i0.ɵɵlistener("scroll", function SymphiqProfileFocusAreasAnalysesDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow);
|
|
94822
|
+
} }, 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, "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"], [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"], ["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) {
|
|
94699
94823
|
i0.ɵɵelementStart(0, "div", 0);
|
|
94700
94824
|
i0.ɵɵelement(1, "div", 1);
|
|
94701
94825
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -94703,69 +94827,70 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94703
94827
|
i0.ɵɵelementEnd();
|
|
94704
94828
|
i0.ɵɵelementStart(4, "div", 4);
|
|
94705
94829
|
i0.ɵɵelement(5, "symphiq-dashboard-header", 5);
|
|
94706
|
-
i0.ɵɵ
|
|
94830
|
+
i0.ɵɵconditionalCreate(6, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_6_Template, 1, 5, "symphiq-journey-progress-indicator", 6);
|
|
94831
|
+
i0.ɵɵelementStart(7, "div", 7)(8, "div", 8)(9, "div", 9)(10, "div", 10)(11, "div", 11);
|
|
94707
94832
|
i0.ɵɵnamespaceSVG();
|
|
94708
|
-
i0.ɵɵelementStart(
|
|
94709
|
-
i0.ɵɵelement(
|
|
94833
|
+
i0.ɵɵelementStart(12, "svg", 12);
|
|
94834
|
+
i0.ɵɵelement(13, "path", 13);
|
|
94710
94835
|
i0.ɵɵelementEnd()();
|
|
94711
94836
|
i0.ɵɵnamespaceHTML();
|
|
94712
|
-
i0.ɵɵelementStart(
|
|
94713
|
-
i0.ɵɵtext(
|
|
94837
|
+
i0.ɵɵelementStart(14, "div", 14)(15, "h2", 15);
|
|
94838
|
+
i0.ɵɵtext(16, " Welcome to Your Focus Area Analyses ");
|
|
94714
94839
|
i0.ɵɵelementEnd();
|
|
94715
|
-
i0.ɵɵelementStart(
|
|
94716
|
-
i0.ɵɵtext(
|
|
94840
|
+
i0.ɵɵelementStart(17, "div", 16)(18, "p", 17);
|
|
94841
|
+
i0.ɵɵtext(19, " Focus Areas represent specific operational domains within your business. Each area contains targeted questions and analysis to help Symphiq understand your current capabilities, tools, and strategies. ");
|
|
94717
94842
|
i0.ɵɵelementEnd();
|
|
94718
|
-
i0.ɵɵelementStart(
|
|
94719
|
-
i0.ɵɵtext(
|
|
94843
|
+
i0.ɵɵelementStart(20, "p", 17)(21, "strong", 18);
|
|
94844
|
+
i0.ɵɵtext(22, "Why this matters:");
|
|
94720
94845
|
i0.ɵɵelementEnd();
|
|
94721
|
-
i0.ɵɵtext(
|
|
94846
|
+
i0.ɵɵtext(23, " By completing focus area assessments, you unlock domain-specific insights and recommendations tailored to your unique business context\u2014ensuring actionable guidance that drives real improvement. ");
|
|
94722
94847
|
i0.ɵɵelementEnd()();
|
|
94723
|
-
i0.ɵɵelementStart(
|
|
94848
|
+
i0.ɵɵelementStart(24, "div", 19);
|
|
94724
94849
|
i0.ɵɵnamespaceSVG();
|
|
94725
|
-
i0.ɵɵelementStart(
|
|
94726
|
-
i0.ɵɵelement(
|
|
94850
|
+
i0.ɵɵelementStart(25, "svg", 20);
|
|
94851
|
+
i0.ɵɵelement(26, "path", 21);
|
|
94727
94852
|
i0.ɵɵelementEnd();
|
|
94728
94853
|
i0.ɵɵnamespaceHTML();
|
|
94729
|
-
i0.ɵɵelementStart(
|
|
94730
|
-
i0.ɵɵtext(
|
|
94854
|
+
i0.ɵɵelementStart(27, "div", 14)(28, "h3", 22);
|
|
94855
|
+
i0.ɵɵtext(29, " Getting Started ");
|
|
94731
94856
|
i0.ɵɵelementEnd();
|
|
94732
|
-
i0.ɵɵelementStart(
|
|
94857
|
+
i0.ɵɵelementStart(30, "ul", 23)(31, "li", 24);
|
|
94733
94858
|
i0.ɵɵnamespaceSVG();
|
|
94734
|
-
i0.ɵɵelementStart(
|
|
94735
|
-
i0.ɵɵelement(
|
|
94859
|
+
i0.ɵɵelementStart(32, "svg", 25);
|
|
94860
|
+
i0.ɵɵelement(33, "path", 26);
|
|
94736
94861
|
i0.ɵɵelementEnd();
|
|
94737
94862
|
i0.ɵɵnamespaceHTML();
|
|
94738
|
-
i0.ɵɵelementStart(
|
|
94739
|
-
i0.ɵɵtext(
|
|
94863
|
+
i0.ɵɵelementStart(34, "span")(35, "strong", 18);
|
|
94864
|
+
i0.ɵɵtext(36, "Select a Focus Area");
|
|
94740
94865
|
i0.ɵɵelementEnd();
|
|
94741
|
-
i0.ɵɵtext(
|
|
94866
|
+
i0.ɵɵtext(37, " \u2014 Click any card below to begin or continue your assessment");
|
|
94742
94867
|
i0.ɵɵelementEnd()();
|
|
94743
|
-
i0.ɵɵelementStart(
|
|
94868
|
+
i0.ɵɵelementStart(38, "li", 24);
|
|
94744
94869
|
i0.ɵɵnamespaceSVG();
|
|
94745
|
-
i0.ɵɵelementStart(
|
|
94746
|
-
i0.ɵɵelement(
|
|
94870
|
+
i0.ɵɵelementStart(39, "svg", 25);
|
|
94871
|
+
i0.ɵɵelement(40, "path", 26);
|
|
94747
94872
|
i0.ɵɵelementEnd();
|
|
94748
94873
|
i0.ɵɵnamespaceHTML();
|
|
94749
|
-
i0.ɵɵelementStart(
|
|
94750
|
-
i0.ɵɵtext(
|
|
94874
|
+
i0.ɵɵelementStart(41, "span")(42, "strong", 18);
|
|
94875
|
+
i0.ɵɵtext(43, "Answer Questions");
|
|
94751
94876
|
i0.ɵɵelementEnd();
|
|
94752
|
-
i0.ɵɵtext(
|
|
94877
|
+
i0.ɵɵtext(44, " \u2014 Provide details about your tools, processes, and strategies");
|
|
94753
94878
|
i0.ɵɵelementEnd()();
|
|
94754
|
-
i0.ɵɵelementStart(
|
|
94879
|
+
i0.ɵɵelementStart(45, "li", 24);
|
|
94755
94880
|
i0.ɵɵnamespaceSVG();
|
|
94756
|
-
i0.ɵɵelementStart(
|
|
94757
|
-
i0.ɵɵelement(
|
|
94881
|
+
i0.ɵɵelementStart(46, "svg", 25);
|
|
94882
|
+
i0.ɵɵelement(47, "path", 26);
|
|
94758
94883
|
i0.ɵɵelementEnd();
|
|
94759
94884
|
i0.ɵɵnamespaceHTML();
|
|
94760
|
-
i0.ɵɵelementStart(
|
|
94761
|
-
i0.ɵɵtext(
|
|
94885
|
+
i0.ɵɵelementStart(48, "span")(49, "strong", 18);
|
|
94886
|
+
i0.ɵɵtext(50, "Unlock Analysis");
|
|
94762
94887
|
i0.ɵɵelementEnd();
|
|
94763
|
-
i0.ɵɵtext(
|
|
94888
|
+
i0.ɵɵtext(51, " \u2014 Complete assessments to receive tailored recommendations and insights");
|
|
94764
94889
|
i0.ɵɵelementEnd()()()()()()()()();
|
|
94765
|
-
i0.ɵɵelementStart(
|
|
94766
|
-
i0.ɵɵrepeaterCreate(
|
|
94890
|
+
i0.ɵɵelementStart(52, "div", 27);
|
|
94891
|
+
i0.ɵɵrepeaterCreate(53, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template, 30, 25, "div", 28, _forTrack0);
|
|
94767
94892
|
i0.ɵɵelementEnd()()();
|
|
94768
|
-
i0.ɵɵconditionalCreate(
|
|
94893
|
+
i0.ɵɵconditionalCreate(55, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_55_Template, 1, 0, "symphiq-search-modal");
|
|
94769
94894
|
i0.ɵɵelementEnd();
|
|
94770
94895
|
} if (rf & 2) {
|
|
94771
94896
|
i0.ɵɵclassMap(ctx.getContainerClasses());
|
|
@@ -94775,7 +94900,9 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94775
94900
|
i0.ɵɵstyleProp("width", ctx.scrollProgress(), "%");
|
|
94776
94901
|
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");
|
|
94777
94902
|
i0.ɵɵadvance(2);
|
|
94778
|
-
i0.ɵɵproperty("title", "Focus Areas
|
|
94903
|
+
i0.ɵɵproperty("title", "Focus Areas")("subtitle", "Explore and analyze each focus area for your business")("viewMode", ctx.viewMode())("showControls", false);
|
|
94904
|
+
i0.ɵɵadvance();
|
|
94905
|
+
i0.ɵɵconditional(ctx.isSimplifiedView() ? 6 : -1);
|
|
94779
94906
|
i0.ɵɵadvance(2);
|
|
94780
94907
|
i0.ɵɵproperty("ngClass", ctx.getWelcomeBannerContainerClasses());
|
|
94781
94908
|
i0.ɵɵadvance(3);
|
|
@@ -94797,12 +94924,12 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94797
94924
|
i0.ɵɵadvance(23);
|
|
94798
94925
|
i0.ɵɵrepeater(ctx.focusAreaCards());
|
|
94799
94926
|
i0.ɵɵadvance(2);
|
|
94800
|
-
i0.ɵɵconditional(ctx.showSearchModal() ?
|
|
94801
|
-
} }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent, SearchModalComponent], styles: [".animated-bubbles[_ngcontent-%COMP%]{background:linear-gradient(135deg,#6366f10d,#a855f70d)}.animated-bubbles.light-mode[_ngcontent-%COMP%]{background:linear-gradient(135deg,#3b82f608,#9333ea08)}.animated-bubbles[_ngcontent-%COMP%]:before, .animated-bubbles[_ngcontent-%COMP%]:after{content:\"\";position:absolute;border-radius:50%;animation:_ngcontent-%COMP%_float 20s infinite ease-in-out}.animated-bubbles[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]: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 _ngcontent-%COMP%_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)}}"], changeDetection: 0 }); }
|
|
94927
|
+
i0.ɵɵconditional(ctx.showSearchModal() ? 55 : -1);
|
|
94928
|
+
} }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent], styles: [".animated-bubbles[_ngcontent-%COMP%]{background:linear-gradient(135deg,#6366f10d,#a855f70d)}.animated-bubbles.light-mode[_ngcontent-%COMP%]{background:linear-gradient(135deg,#3b82f608,#9333ea08)}.animated-bubbles[_ngcontent-%COMP%]:before, .animated-bubbles[_ngcontent-%COMP%]:after{content:\"\";position:absolute;border-radius:50%;animation:_ngcontent-%COMP%_float 20s infinite ease-in-out}.animated-bubbles[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]: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 _ngcontent-%COMP%_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)}}"], changeDetection: 0 }); }
|
|
94802
94929
|
}
|
|
94803
94930
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqProfileFocusAreasAnalysesDashboardComponent, [{
|
|
94804
94931
|
type: Component,
|
|
94805
|
-
args: [{ selector: 'symphiq-profile-focus-areas-analyses-dashboard', standalone: true, imports: [CommonModule, DashboardHeaderComponent, SearchModalComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
94932
|
+
args: [{ selector: 'symphiq-profile-focus-areas-analyses-dashboard', standalone: true, imports: [CommonModule, DashboardHeaderComponent, SearchModalComponent, JourneyProgressIndicatorComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
94806
94933
|
<div [class]="getContainerClasses()" class="min-h-screen relative">
|
|
94807
94934
|
<div class="animated-bubbles" [class.light-mode]="isLightMode()"
|
|
94808
94935
|
style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
|
|
@@ -94819,12 +94946,25 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94819
94946
|
<div class="relative z-[51]">
|
|
94820
94947
|
<!-- Dashboard Header -->
|
|
94821
94948
|
<symphiq-dashboard-header
|
|
94822
|
-
[title]="'Focus Areas
|
|
94949
|
+
[title]="'Focus Areas'"
|
|
94823
94950
|
[subtitle]="'Explore and analyze each focus area for your business'"
|
|
94824
94951
|
[viewMode]="viewMode()"
|
|
94825
94952
|
[showControls]="false"
|
|
94826
94953
|
></symphiq-dashboard-header>
|
|
94827
94954
|
|
|
94955
|
+
<!-- Journey Progress Indicator (Simplified View Only) -->
|
|
94956
|
+
@if (isSimplifiedView()) {
|
|
94957
|
+
<symphiq-journey-progress-indicator
|
|
94958
|
+
[viewMode]="viewMode()"
|
|
94959
|
+
[currentStepId]="currentStepId()"
|
|
94960
|
+
[showNextStepAction]="true"
|
|
94961
|
+
[forDemo]="forDemo()"
|
|
94962
|
+
[maxAccessibleStepId]="maxAccessibleStepId()"
|
|
94963
|
+
(nextStepClick)="nextStepClick.emit()"
|
|
94964
|
+
(stepClick)="stepClick.emit($event)"
|
|
94965
|
+
/>
|
|
94966
|
+
}
|
|
94967
|
+
|
|
94828
94968
|
<!-- Main Content -->
|
|
94829
94969
|
<div class="container mx-auto px-4 sm:px-6 lg:px-8 py-8 md:py-12 relative z-10">
|
|
94830
94970
|
<!-- Welcome Banner -->
|
|
@@ -94839,7 +94979,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94839
94979
|
|
|
94840
94980
|
<div class="flex-1">
|
|
94841
94981
|
<h2 [ngClass]="getWelcomeBannerTitleClasses()" class="text-2xl sm:text-3xl font-bold mb-3">
|
|
94842
|
-
Welcome to Your Focus
|
|
94982
|
+
Welcome to Your Focus Area Analyses
|
|
94843
94983
|
</h2>
|
|
94844
94984
|
|
|
94845
94985
|
<div class="space-y-3 mb-6">
|
|
@@ -94896,11 +95036,18 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94896
95036
|
<div class="p-6">
|
|
94897
95037
|
<div class="flex items-start justify-between mb-4">
|
|
94898
95038
|
<div class="text-4xl">{{ focusArea.icon }}</div>
|
|
94899
|
-
|
|
94900
|
-
|
|
94901
|
-
|
|
94902
|
-
|
|
94903
|
-
|
|
95039
|
+
<div class="flex flex-col items-end gap-2">
|
|
95040
|
+
@if (focusArea.engagementStatus) {
|
|
95041
|
+
<div [ngClass]="getEngagementBadgeClasses(focusArea.engagementStatus)">
|
|
95042
|
+
{{ getEngagementStatusLabel(focusArea.engagementStatus) }}
|
|
95043
|
+
</div>
|
|
95044
|
+
}
|
|
95045
|
+
@if (focusArea.hasAnalysis) {
|
|
95046
|
+
<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">
|
|
95047
|
+
Analysis Ready
|
|
95048
|
+
</div>
|
|
95049
|
+
}
|
|
95050
|
+
</div>
|
|
94904
95051
|
</div>
|
|
94905
95052
|
|
|
94906
95053
|
<h3 [class]="getTitleClasses()">
|
|
@@ -94911,6 +95058,21 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94911
95058
|
{{ focusArea.description }}
|
|
94912
95059
|
</p>
|
|
94913
95060
|
|
|
95061
|
+
@if (focusArea.engagementStatus === FocusAreaDetailStatusEnum.ENGAGED && focusArea.tools.length > 0) {
|
|
95062
|
+
<div class="mt-3 mb-2">
|
|
95063
|
+
<div class="flex items-center gap-2">
|
|
95064
|
+
<span [ngClass]="getToolsLabelClasses()" class="text-xs font-medium">Marketing Tools:</span>
|
|
95065
|
+
<div class="flex flex-wrap gap-1.5">
|
|
95066
|
+
@for (tool of focusArea.tools; track tool) {
|
|
95067
|
+
<span [ngClass]="getToolChipClasses()" class="px-2 py-0.5 rounded text-xs">
|
|
95068
|
+
{{ tool }}
|
|
95069
|
+
</span>
|
|
95070
|
+
}
|
|
95071
|
+
</div>
|
|
95072
|
+
</div>
|
|
95073
|
+
</div>
|
|
95074
|
+
}
|
|
95075
|
+
|
|
94914
95076
|
<div class="space-y-2">
|
|
94915
95077
|
<div class="flex items-center justify-between text-sm">
|
|
94916
95078
|
<span [class]="getLabelClasses()">Progress</span>
|
|
@@ -94973,8 +95135,11 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94973
95135
|
}
|
|
94974
95136
|
</div>
|
|
94975
95137
|
`, 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"] }]
|
|
94976
|
-
}], 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 }] }], 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"] }]
|
|
94977
|
-
|
|
95138
|
+
}], 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: [{
|
|
95139
|
+
type: HostListener,
|
|
95140
|
+
args: ['window:scroll', ['$event']]
|
|
95141
|
+
}] }); })();
|
|
95142
|
+
(() => { (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: 313 }); })();
|
|
94978
95143
|
|
|
94979
95144
|
function FocusAreaStatusCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
94980
95145
|
i0.ɵɵelementStart(0, "div", 7)(1, "div", 8)(2, "div", 9);
|