@eric-emg/symphiq-components 1.2.563 → 1.2.564
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 +47 -27
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +21 -21
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -99459,6 +99459,7 @@ class SymphiqProfileMetricsAnalysesDashboardComponent {
|
|
|
99459
99459
|
}] }); })();
|
|
99460
99460
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileMetricsAnalysesDashboardComponent, { className: "SymphiqProfileMetricsAnalysesDashboardComponent", filePath: "lib/components/profile-analyses-metrics-dashboard/symphiq-profile-metrics-analyses-dashboard.component.ts", lineNumber: 288 }); })();
|
|
99461
99461
|
|
|
99462
|
+
const SymphiqProfileMetricDashboardComponent_Conditional_6_Defer_2_DepsFn = () => [ProfileStatusCardComponent];
|
|
99462
99463
|
const _c0$6 = () => [];
|
|
99463
99464
|
function SymphiqProfileMetricDashboardComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
99464
99465
|
i0.ɵɵelement(0, "symphiq-loading-card", 5);
|
|
@@ -99466,17 +99467,28 @@ function SymphiqProfileMetricDashboardComponent_Conditional_5_Template(rf, ctx)
|
|
|
99466
99467
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
99467
99468
|
i0.ɵɵproperty("viewMode", ctx_r0.viewMode())("backdropBlur", true);
|
|
99468
99469
|
} }
|
|
99469
|
-
function
|
|
99470
|
+
function SymphiqProfileMetricDashboardComponent_Conditional_6_Defer_0_Template(rf, ctx) { if (rf & 1) {
|
|
99470
99471
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
99471
|
-
i0.ɵɵelementStart(0, "symphiq-profile-status-card",
|
|
99472
|
-
i0.ɵɵlistener("startCategoryQuestions", function
|
|
99472
|
+
i0.ɵɵelementStart(0, "symphiq-profile-status-card", 8);
|
|
99473
|
+
i0.ɵɵlistener("startCategoryQuestions", function SymphiqProfileMetricDashboardComponent_Conditional_6_Defer_0_Template_symphiq_profile_status_card_startCategoryQuestions_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.handleStartCategoryQuestions($event)); })("answerSave", function SymphiqProfileMetricDashboardComponent_Conditional_6_Defer_0_Template_symphiq_profile_status_card_answerSave_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.handleAnswerSave($event)); })("adminAnswerAction", function SymphiqProfileMetricDashboardComponent_Conditional_6_Defer_0_Template_symphiq_profile_status_card_adminAnswerAction_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.adminAnswerAction.emit($event)); });
|
|
99473
99474
|
i0.ɵɵelementEnd();
|
|
99474
99475
|
} if (rf & 2) {
|
|
99475
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
99476
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
99476
99477
|
i0.ɵɵproperty("viewMode", ctx_r0.viewMode())("totalQuestions", ctx_r0.totalQuestions())("answeredQuestions", ctx_r0.answeredQuestions())("questions", ctx_r0.profileMetricQuestions() || i0.ɵɵpureFunction0(11, _c0$6))("profileAnswers", ctx_r0.profileAnswers() || i0.ɵɵpureFunction0(12, _c0$6))("profileAnswerHistories", ctx_r0.profileAnswerHistories() || i0.ɵɵpureFunction0(13, _c0$6))("users", ctx_r0.users() || i0.ɵɵpureFunction0(14, _c0$6))("config", ctx_r0.statusCardConfig())("groupConfig", ctx_r0.statusCardGroupConfig)("categoryNameFormatter", ctx_r0.categoryNameFormatter)("currentUser", ctx_r0.currentUser());
|
|
99477
99478
|
} }
|
|
99479
|
+
function SymphiqProfileMetricDashboardComponent_Conditional_6_DeferPlaceholder_1_Template(rf, ctx) { if (rf & 1) {
|
|
99480
|
+
i0.ɵɵelement(0, "symphiq-loading-card", 9);
|
|
99481
|
+
} if (rf & 2) {
|
|
99482
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
99483
|
+
i0.ɵɵproperty("viewMode", ctx_r0.viewMode())("backdropBlur", true);
|
|
99484
|
+
} }
|
|
99485
|
+
function SymphiqProfileMetricDashboardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
99486
|
+
i0.ɵɵdomTemplate(0, SymphiqProfileMetricDashboardComponent_Conditional_6_Defer_0_Template, 1, 15)(1, SymphiqProfileMetricDashboardComponent_Conditional_6_DeferPlaceholder_1_Template, 1, 2);
|
|
99487
|
+
i0.ɵɵdefer(2, 0, SymphiqProfileMetricDashboardComponent_Conditional_6_Defer_2_DepsFn, null, 1);
|
|
99488
|
+
i0.ɵɵdeferOnIdle();
|
|
99489
|
+
} }
|
|
99478
99490
|
function SymphiqProfileMetricDashboardComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
99479
|
-
i0.ɵɵelementStart(0, "div",
|
|
99491
|
+
i0.ɵɵelementStart(0, "div", 6);
|
|
99480
99492
|
i0.ɵɵnamespaceSVG();
|
|
99481
99493
|
i0.ɵɵelementStart(1, "svg", 10);
|
|
99482
99494
|
i0.ɵɵelement(2, "path", 11);
|
|
@@ -99599,13 +99611,13 @@ class SymphiqProfileMetricDashboardComponent {
|
|
|
99599
99611
|
} if (rf & 2) {
|
|
99600
99612
|
let _t;
|
|
99601
99613
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.profileStatusCard = _t.first);
|
|
99602
|
-
} }, inputs: { viewMode: [1, "viewMode"], profileMetric: [1, "profileMetric"], funnelMetric: [1, "funnelMetric"], profileMetricQuestions: [1, "profileMetricQuestions"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], currentUser: [1, "currentUser"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"] }, outputs: { startCategoryQuestions: "startCategoryQuestions", answerSave: "answerSave", continueClick: "continueClick", adminAnswerAction: "adminAnswerAction" }, decls: 9, vars: 12, consts: [[1, "relative", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [3, "viewMode", "progress", "embedded"], [1, "relative", "z-10"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], ["title", "Loading Metric Profile", "subtitle", "Please wait while we prepare your questions...", 3, "viewMode", "backdropBlur"], [
|
|
99614
|
+
} }, inputs: { viewMode: [1, "viewMode"], profileMetric: [1, "profileMetric"], funnelMetric: [1, "funnelMetric"], profileMetricQuestions: [1, "profileMetricQuestions"], profileAnswers: [1, "profileAnswers"], profileAnswerHistories: [1, "profileAnswerHistories"], users: [1, "users"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], currentUser: [1, "currentUser"], embedded: [1, "embedded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"] }, outputs: { startCategoryQuestions: "startCategoryQuestions", answerSave: "answerSave", continueClick: "continueClick", adminAnswerAction: "adminAnswerAction" }, decls: 9, vars: 12, consts: [[1, "relative", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [3, "viewMode", "progress", "embedded"], [1, "relative", "z-10"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], ["title", "Loading Metric Profile", "subtitle", "Please wait while we prepare your questions...", 3, "viewMode", "backdropBlur"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", "text-center", 3, "ngClass"], [3, "viewMode", "totalQuestions", "answeredQuestions", "buttonConfig"], [3, "startCategoryQuestions", "answerSave", "adminAnswerAction", "viewMode", "totalQuestions", "answeredQuestions", "questions", "profileAnswers", "profileAnswerHistories", "users", "config", "groupConfig", "categoryNameFormatter", "currentUser"], ["title", "Preparing Profile", "subtitle", "Almost ready...", 3, "viewMode", "backdropBlur"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-16", "h-16", "mx-auto", "mb-4", "opacity-50"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"], [1, "text-xl", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [3, "continueClick", "viewMode", "totalQuestions", "answeredQuestions", "buttonConfig"]], template: function SymphiqProfileMetricDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
99603
99615
|
i0.ɵɵelementStart(0, "div", 0);
|
|
99604
99616
|
i0.ɵɵelement(1, "div", 1)(2, "symphiq-scroll-progress-bar", 2);
|
|
99605
99617
|
i0.ɵɵelementStart(3, "div", 3)(4, "main", 4);
|
|
99606
|
-
i0.ɵɵconditionalCreate(5, SymphiqProfileMetricDashboardComponent_Conditional_5_Template, 1, 2, "symphiq-loading-card", 5)(6, SymphiqProfileMetricDashboardComponent_Conditional_6_Template,
|
|
99618
|
+
i0.ɵɵconditionalCreate(5, SymphiqProfileMetricDashboardComponent_Conditional_5_Template, 1, 2, "symphiq-loading-card", 5)(6, SymphiqProfileMetricDashboardComponent_Conditional_6_Template, 4, 0)(7, SymphiqProfileMetricDashboardComponent_Conditional_7_Template, 7, 3, "div", 6);
|
|
99607
99619
|
i0.ɵɵelementEnd();
|
|
99608
|
-
i0.ɵɵconditionalCreate(8, SymphiqProfileMetricDashboardComponent_Conditional_8_Template, 1, 4, "symphiq-profile-sticky-footer",
|
|
99620
|
+
i0.ɵɵconditionalCreate(8, SymphiqProfileMetricDashboardComponent_Conditional_8_Template, 1, 4, "symphiq-profile-sticky-footer", 7);
|
|
99609
99621
|
i0.ɵɵelementEnd()();
|
|
99610
99622
|
} if (rf & 2) {
|
|
99611
99623
|
i0.ɵɵclassProp("min-h-screen", !ctx.embedded());
|
|
@@ -99620,8 +99632,7 @@ class SymphiqProfileMetricDashboardComponent {
|
|
|
99620
99632
|
i0.ɵɵconditional(ctx.isLoading() ? 5 : ctx.profileMetric() ? 6 : 7);
|
|
99621
99633
|
i0.ɵɵadvance(3);
|
|
99622
99634
|
i0.ɵɵconditional(ctx.shouldShowStickyFooter() ? 8 : -1);
|
|
99623
|
-
} }, dependencies: [CommonModule, i1$1.NgClass,
|
|
99624
|
-
ProfileStickyFooterComponent,
|
|
99635
|
+
} }, dependencies: [CommonModule, i1$1.NgClass, ProfileStickyFooterComponent,
|
|
99625
99636
|
LoadingCardComponent,
|
|
99626
99637
|
ScrollProgressBarComponent], encapsulation: 2, changeDetection: 0 }); }
|
|
99627
99638
|
}
|
|
@@ -99661,22 +99672,31 @@ class SymphiqProfileMetricDashboardComponent {
|
|
|
99661
99672
|
[backdropBlur]="true"
|
|
99662
99673
|
/>
|
|
99663
99674
|
} @else if (profileMetric()) {
|
|
99664
|
-
|
|
99665
|
-
|
|
99666
|
-
|
|
99667
|
-
|
|
99668
|
-
|
|
99669
|
-
|
|
99670
|
-
|
|
99671
|
-
|
|
99672
|
-
|
|
99673
|
-
|
|
99674
|
-
|
|
99675
|
-
|
|
99676
|
-
|
|
99677
|
-
|
|
99678
|
-
|
|
99679
|
-
|
|
99675
|
+
@defer {
|
|
99676
|
+
<symphiq-profile-status-card
|
|
99677
|
+
[viewMode]="viewMode()"
|
|
99678
|
+
[totalQuestions]="totalQuestions()"
|
|
99679
|
+
[answeredQuestions]="answeredQuestions()"
|
|
99680
|
+
[questions]="profileMetricQuestions() || []"
|
|
99681
|
+
[profileAnswers]="profileAnswers() || []"
|
|
99682
|
+
[profileAnswerHistories]="profileAnswerHistories() || []"
|
|
99683
|
+
[users]="users() || []"
|
|
99684
|
+
[config]="statusCardConfig()"
|
|
99685
|
+
[groupConfig]="statusCardGroupConfig"
|
|
99686
|
+
[categoryNameFormatter]="categoryNameFormatter"
|
|
99687
|
+
[currentUser]="currentUser()"
|
|
99688
|
+
(startCategoryQuestions)="handleStartCategoryQuestions($event)"
|
|
99689
|
+
(answerSave)="handleAnswerSave($event)"
|
|
99690
|
+
(adminAnswerAction)="adminAnswerAction.emit($event)"
|
|
99691
|
+
/>
|
|
99692
|
+
} @placeholder {
|
|
99693
|
+
<symphiq-loading-card
|
|
99694
|
+
[viewMode]="viewMode()"
|
|
99695
|
+
title="Preparing Profile"
|
|
99696
|
+
subtitle="Almost ready..."
|
|
99697
|
+
[backdropBlur]="true"
|
|
99698
|
+
/>
|
|
99699
|
+
}
|
|
99680
99700
|
} @else {
|
|
99681
99701
|
<div [ngClass]="getEmptyStateClasses()" class="rounded-2xl border shadow-lg p-8 text-center">
|
|
99682
99702
|
<svg class="w-16 h-16 mx-auto mb-4 opacity-50" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
@@ -99709,7 +99729,7 @@ class SymphiqProfileMetricDashboardComponent {
|
|
|
99709
99729
|
type: ViewChild,
|
|
99710
99730
|
args: [ProfileStatusCardComponent]
|
|
99711
99731
|
}], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], profileMetric: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileMetric", required: false }] }], funnelMetric: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelMetric", required: false }] }], profileMetricQuestions: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileMetricQuestions", required: false }] }], profileAnswers: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswers", required: false }] }], profileAnswerHistories: [{ type: i0.Input, args: [{ isSignal: true, alias: "profileAnswerHistories", 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 }] }], embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], startCategoryQuestions: [{ type: i0.Output, args: ["startCategoryQuestions"] }], answerSave: [{ type: i0.Output, args: ["answerSave"] }], continueClick: [{ type: i0.Output, args: ["continueClick"] }], adminAnswerAction: [{ type: i0.Output, args: ["adminAnswerAction"] }] }); })();
|
|
99712
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileMetricDashboardComponent, { className: "SymphiqProfileMetricDashboardComponent", filePath: "lib/components/profile-metric-dashboard/symphiq-profile-metric-dashboard.component.ts", lineNumber:
|
|
99732
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileMetricDashboardComponent, { className: "SymphiqProfileMetricDashboardComponent", filePath: "lib/components/profile-metric-dashboard/symphiq-profile-metric-dashboard.component.ts", lineNumber: 120 }); })();
|
|
99713
99733
|
|
|
99714
99734
|
const _c0$5 = ["funnelModalComponent"];
|
|
99715
99735
|
const _forTrack0$5 = ($index, $item) => $item.id;
|