@eric-emg/symphiq-components 1.2.430 → 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 +235 -98
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +21 -12
- 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() {
|
|
@@ -94426,34 +94446,71 @@ 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
|
|
94430
|
-
i0.ɵɵelementStart(0, "div",
|
|
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
|
|
94435
|
-
i0.ɵɵelementStart(0, "
|
|
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);
|
|
94436
94493
|
i0.ɵɵnamespaceSVG();
|
|
94437
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94494
|
+
i0.ɵɵelementStart(1, "svg", 52);
|
|
94438
94495
|
i0.ɵɵelement(2, "path", 26);
|
|
94439
94496
|
i0.ɵɵelementEnd();
|
|
94440
94497
|
i0.ɵɵtext(3, " Complete ");
|
|
94441
94498
|
i0.ɵɵelementEnd();
|
|
94442
94499
|
} }
|
|
94443
|
-
function
|
|
94444
|
-
i0.ɵɵelementStart(0, "div",
|
|
94500
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
94501
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
94445
94502
|
i0.ɵɵnamespaceSVG();
|
|
94446
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94447
|
-
i0.ɵɵelement(2, "path",
|
|
94503
|
+
i0.ɵɵelementStart(1, "svg", 52);
|
|
94504
|
+
i0.ɵɵelement(2, "path", 53);
|
|
94448
94505
|
i0.ɵɵelementEnd();
|
|
94449
94506
|
i0.ɵɵtext(3, " In Progress ");
|
|
94450
94507
|
i0.ɵɵelementEnd();
|
|
94451
94508
|
} }
|
|
94452
|
-
function
|
|
94453
|
-
i0.ɵɵelementStart(0, "div",
|
|
94509
|
+
function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
94510
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
94454
94511
|
i0.ɵɵnamespaceSVG();
|
|
94455
|
-
i0.ɵɵelementStart(1, "svg",
|
|
94456
|
-
i0.ɵɵelement(2, "path",
|
|
94512
|
+
i0.ɵɵelementStart(1, "svg", 52);
|
|
94513
|
+
i0.ɵɵelement(2, "path", 54);
|
|
94457
94514
|
i0.ɵɵelementEnd();
|
|
94458
94515
|
i0.ɵɵtext(3, " Not Started ");
|
|
94459
94516
|
i0.ɵɵelementEnd();
|
|
@@ -94465,31 +94522,34 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template(rf,
|
|
|
94465
94522
|
i0.ɵɵelementStart(1, "div", 31)(2, "div", 32)(3, "div", 33);
|
|
94466
94523
|
i0.ɵɵtext(4);
|
|
94467
94524
|
i0.ɵɵelementEnd();
|
|
94468
|
-
i0.ɵɵ
|
|
94469
|
-
i0.ɵɵ
|
|
94470
|
-
i0.ɵɵ
|
|
94471
|
-
i0.ɵɵ
|
|
94472
|
-
i0.ɵɵ
|
|
94473
|
-
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");
|
|
94474
94530
|
i0.ɵɵtext(9);
|
|
94475
94531
|
i0.ɵɵelementEnd();
|
|
94476
|
-
i0.ɵɵelementStart(10, "
|
|
94477
|
-
i0.ɵɵtext(
|
|
94532
|
+
i0.ɵɵelementStart(10, "p");
|
|
94533
|
+
i0.ɵɵtext(11);
|
|
94534
|
+
i0.ɵɵelementEnd();
|
|
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");
|
|
94478
94538
|
i0.ɵɵelementEnd();
|
|
94479
|
-
i0.ɵɵelementStart(
|
|
94480
|
-
i0.ɵɵtext(
|
|
94539
|
+
i0.ɵɵelementStart(17, "span");
|
|
94540
|
+
i0.ɵɵtext(18);
|
|
94481
94541
|
i0.ɵɵelementEnd()();
|
|
94482
|
-
i0.ɵɵelementStart(
|
|
94483
|
-
i0.ɵɵelement(
|
|
94542
|
+
i0.ɵɵelementStart(19, "div");
|
|
94543
|
+
i0.ɵɵelement(20, "div", 40);
|
|
94484
94544
|
i0.ɵɵelementEnd();
|
|
94485
|
-
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);
|
|
94486
94546
|
i0.ɵɵelementEnd()();
|
|
94487
|
-
i0.ɵɵelementStart(
|
|
94488
|
-
i0.ɵɵtext(
|
|
94547
|
+
i0.ɵɵelementStart(24, "div")(25, "div", 44)(26, "span", 45);
|
|
94548
|
+
i0.ɵɵtext(27, "View Details");
|
|
94489
94549
|
i0.ɵɵelementEnd();
|
|
94490
94550
|
i0.ɵɵnamespaceSVG();
|
|
94491
|
-
i0.ɵɵelementStart(
|
|
94492
|
-
i0.ɵɵelement(
|
|
94551
|
+
i0.ɵɵelementStart(28, "svg", 46);
|
|
94552
|
+
i0.ɵɵelement(29, "path", 47);
|
|
94493
94553
|
i0.ɵɵelementEnd()()()();
|
|
94494
94554
|
} if (rf & 2) {
|
|
94495
94555
|
const focusArea_r4 = ctx.$implicit;
|
|
@@ -94497,8 +94557,10 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template(rf,
|
|
|
94497
94557
|
i0.ɵɵclassMap(ctx_r1.getCardClasses());
|
|
94498
94558
|
i0.ɵɵadvance(4);
|
|
94499
94559
|
i0.ɵɵtextInterpolate(focusArea_r4.icon);
|
|
94560
|
+
i0.ɵɵadvance(2);
|
|
94561
|
+
i0.ɵɵconditional(focusArea_r4.engagementStatus ? 6 : -1);
|
|
94500
94562
|
i0.ɵɵadvance();
|
|
94501
|
-
i0.ɵɵconditional(focusArea_r4.hasAnalysis ?
|
|
94563
|
+
i0.ɵɵconditional(focusArea_r4.hasAnalysis ? 7 : -1);
|
|
94502
94564
|
i0.ɵɵadvance();
|
|
94503
94565
|
i0.ɵɵclassMap(ctx_r1.getTitleClasses());
|
|
94504
94566
|
i0.ɵɵadvance();
|
|
@@ -94507,6 +94569,8 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template(rf,
|
|
|
94507
94569
|
i0.ɵɵclassMap(ctx_r1.getDescriptionClasses());
|
|
94508
94570
|
i0.ɵɵadvance();
|
|
94509
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);
|
|
94510
94574
|
i0.ɵɵadvance(3);
|
|
94511
94575
|
i0.ɵɵclassMap(ctx_r1.getLabelClasses());
|
|
94512
94576
|
i0.ɵɵadvance(2);
|
|
@@ -94518,14 +94582,14 @@ function SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template(rf,
|
|
|
94518
94582
|
i0.ɵɵadvance();
|
|
94519
94583
|
i0.ɵɵstyleProp("width", focusArea_r4.progressPercent, "%");
|
|
94520
94584
|
i0.ɵɵadvance();
|
|
94521
|
-
i0.ɵɵconditional(focusArea_r4.status === "complete" ?
|
|
94585
|
+
i0.ɵɵconditional(focusArea_r4.status === "complete" ? 21 : focusArea_r4.status === "in-progress" ? 22 : 23);
|
|
94522
94586
|
i0.ɵɵadvance(3);
|
|
94523
94587
|
i0.ɵɵclassMap(ctx_r1.getCardFooterClasses());
|
|
94524
94588
|
} }
|
|
94525
94589
|
function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_55_Template(rf, ctx) { if (rf & 1) {
|
|
94526
|
-
const
|
|
94527
|
-
i0.ɵɵelementStart(0, "symphiq-search-modal",
|
|
94528
|
-
i0.ɵɵlistener("closeModal", function SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_55_Template_symphiq_search_modal_closeModal_0_listener() { i0.ɵɵrestoreView(
|
|
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()); });
|
|
94529
94593
|
i0.ɵɵelementEnd();
|
|
94530
94594
|
} }
|
|
94531
94595
|
class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
@@ -94561,11 +94625,13 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94561
94625
|
this.focusAreaProfileAdminAnswerAction = output();
|
|
94562
94626
|
this.showSearchModal = signal(false, ...(ngDevMode ? [{ debugName: "showSearchModal" }] : []));
|
|
94563
94627
|
this.scrollProgress = signal(0, ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
|
|
94628
|
+
this.headerScrollService = inject(HeaderScrollService);
|
|
94564
94629
|
this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
94565
94630
|
this.isSimplifiedView = computed(() => this.displayMode() === DisplayModeEnum.SIMPLIFIED, ...(ngDevMode ? [{ debugName: "isSimplifiedView" }] : []));
|
|
94631
|
+
this.FocusAreaDetailStatusEnum = FocusAreaDetailStatusEnum;
|
|
94566
94632
|
this.focusAreaCards = computed(() => {
|
|
94567
94633
|
const allDomains = FocusAreaDomainEnumUtil.sorted();
|
|
94568
|
-
const
|
|
94634
|
+
const focusAreaDetailsData = this.focusAreaDetails();
|
|
94569
94635
|
const mockProgressData = {
|
|
94570
94636
|
[FocusAreaDomainEnum.AFFILIATE_AND_REFERRAL_PROGRAMS]: { answered: 8, total: 12, hasAnalysis: true },
|
|
94571
94637
|
[FocusAreaDomainEnum.AI_SEARCH_OPTIMIZATION]: { answered: 5, total: 10, hasAnalysis: false },
|
|
@@ -94584,6 +94650,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94584
94650
|
[FocusAreaDomainEnum.SOCIAL_MEDIA_ENGAGEMENT]: { answered: 6, total: 12, hasAnalysis: false },
|
|
94585
94651
|
[FocusAreaDomainEnum.USER_EXPERIENCE_OPTIMIZATION]: { answered: 9, total: 11, hasAnalysis: true }
|
|
94586
94652
|
};
|
|
94653
|
+
const focusAreaDetailsMap = new Map(focusAreaDetailsData?.map(fad => [fad.focusAreaDomain, fad]));
|
|
94587
94654
|
return allDomains.map(domain => {
|
|
94588
94655
|
const mockData = mockProgressData[domain];
|
|
94589
94656
|
const questionsAnswered = mockData.answered;
|
|
@@ -94596,6 +94663,9 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94596
94663
|
else if (questionsAnswered > 0) {
|
|
94597
94664
|
status = 'in-progress';
|
|
94598
94665
|
}
|
|
94666
|
+
const focusAreaDetail = focusAreaDetailsMap.get(domain);
|
|
94667
|
+
const engagementStatus = focusAreaDetail?.status ?? null;
|
|
94668
|
+
const tools = focusAreaDetail?.tools ?? [];
|
|
94599
94669
|
return {
|
|
94600
94670
|
domain,
|
|
94601
94671
|
title: FocusAreaDomainEnumUtil.title(domain),
|
|
@@ -94605,11 +94675,16 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94605
94675
|
hasAnalysis: mockData.hasAnalysis,
|
|
94606
94676
|
icon: this.getIconForDomain(domain),
|
|
94607
94677
|
progressPercent,
|
|
94608
|
-
status
|
|
94678
|
+
status,
|
|
94679
|
+
engagementStatus,
|
|
94680
|
+
tools
|
|
94609
94681
|
};
|
|
94610
94682
|
});
|
|
94611
94683
|
}, ...(ngDevMode ? [{ debugName: "focusAreaCards" }] : []));
|
|
94612
94684
|
}
|
|
94685
|
+
onScroll() {
|
|
94686
|
+
this.headerScrollService.handleScroll(this.embedded());
|
|
94687
|
+
}
|
|
94613
94688
|
handleFocusAreaClick(domain) {
|
|
94614
94689
|
this.focusAreaClicked.emit(domain);
|
|
94615
94690
|
}
|
|
@@ -94706,8 +94781,45 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94706
94781
|
};
|
|
94707
94782
|
return iconMap[domain] || '🎯';
|
|
94708
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
|
+
}
|
|
94709
94819
|
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"]],
|
|
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) {
|
|
94711
94823
|
i0.ɵɵelementStart(0, "div", 0);
|
|
94712
94824
|
i0.ɵɵelement(1, "div", 1);
|
|
94713
94825
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -94776,7 +94888,7 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94776
94888
|
i0.ɵɵtext(51, " \u2014 Complete assessments to receive tailored recommendations and insights");
|
|
94777
94889
|
i0.ɵɵelementEnd()()()()()()()()();
|
|
94778
94890
|
i0.ɵɵelementStart(52, "div", 27);
|
|
94779
|
-
i0.ɵɵrepeaterCreate(53, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template,
|
|
94891
|
+
i0.ɵɵrepeaterCreate(53, SymphiqProfileFocusAreasAnalysesDashboardComponent_For_54_Template, 30, 25, "div", 28, _forTrack0);
|
|
94780
94892
|
i0.ɵɵelementEnd()()();
|
|
94781
94893
|
i0.ɵɵconditionalCreate(55, SymphiqProfileFocusAreasAnalysesDashboardComponent_Conditional_55_Template, 1, 0, "symphiq-search-modal");
|
|
94782
94894
|
i0.ɵɵelementEnd();
|
|
@@ -94924,11 +95036,18 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94924
95036
|
<div class="p-6">
|
|
94925
95037
|
<div class="flex items-start justify-between mb-4">
|
|
94926
95038
|
<div class="text-4xl">{{ focusArea.icon }}</div>
|
|
94927
|
-
|
|
94928
|
-
|
|
94929
|
-
|
|
94930
|
-
|
|
94931
|
-
|
|
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>
|
|
94932
95051
|
</div>
|
|
94933
95052
|
|
|
94934
95053
|
<h3 [class]="getTitleClasses()">
|
|
@@ -94939,6 +95058,21 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
94939
95058
|
{{ focusArea.description }}
|
|
94940
95059
|
</p>
|
|
94941
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
|
+
|
|
94942
95076
|
<div class="space-y-2">
|
|
94943
95077
|
<div class="flex items-center justify-between text-sm">
|
|
94944
95078
|
<span [class]="getLabelClasses()">Progress</span>
|
|
@@ -95001,8 +95135,11 @@ class SymphiqProfileFocusAreasAnalysesDashboardComponent {
|
|
|
95001
95135
|
}
|
|
95002
95136
|
</div>
|
|
95003
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"] }]
|
|
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
|
-
|
|
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 }); })();
|
|
95006
95143
|
|
|
95007
95144
|
function FocusAreaStatusCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
95008
95145
|
i0.ɵɵelementStart(0, "div", 7)(1, "div", 8)(2, "div", 9);
|