@eric-emg/symphiq-components 1.3.95 → 1.3.97

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.
@@ -25736,8 +25736,7 @@ class ConfidenceLevelCardComponent {
25736
25736
  return dataMap[stepId] || dataMap['business-analysis'];
25737
25737
  }, ...(ngDevMode ? [{ debugName: "confidenceData" }] : []));
25738
25738
  this.shouldPulse = computed(() => {
25739
- const grade = this.confidenceData().grade;
25740
- return grade === 'A+';
25739
+ return false;
25741
25740
  }, ...(ngDevMode ? [{ debugName: "shouldPulse" }] : []));
25742
25741
  this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
25743
25742
  this.effectivePotentialPercentage = computed(() => {
@@ -116536,36 +116535,71 @@ class JourneyCompletedFooterComponent {
116536
116535
  }], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], startActing: [{ type: i0.Output, args: ["startActing"] }] }); })();
116537
116536
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(JourneyCompletedFooterComponent, { className: "JourneyCompletedFooterComponent", filePath: "lib/components/journey-completed-dashboard/journey-completed-footer.component.ts", lineNumber: 74 }); })();
116538
116537
 
116538
+ function SymphiqJourneyCompletedDashboardComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
116539
+ const _r1 = i0.ɵɵgetCurrentView();
116540
+ i0.ɵɵelementStart(0, "symphiq-journey-progress-indicator", 9);
116541
+ i0.ɵɵlistener("stepClick", function SymphiqJourneyCompletedDashboardComponent_Conditional_5_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)); });
116542
+ i0.ɵɵelementEnd();
116543
+ } if (rf & 2) {
116544
+ const ctx_r1 = i0.ɵɵnextContext();
116545
+ i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("currentStepId", ctx_r1.JourneyStepIdEnum.COMPLETE)("showNextStepAction", false)("forDemo", ctx_r1.forDemo())("maxAccessibleStepId", ctx_r1.maxAccessibleStepId());
116546
+ } }
116539
116547
  class SymphiqJourneyCompletedDashboardComponent {
116540
116548
  constructor() {
116541
116549
  this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
116550
+ this.embedded = input(false, ...(ngDevMode ? [{ debugName: "embedded" }] : []));
116551
+ this.isLoading = input(...(ngDevMode ? [undefined, { debugName: "isLoading" }] : []));
116542
116552
  this.businessName = input('Your Business', ...(ngDevMode ? [{ debugName: "businessName" }] : []));
116543
116553
  this.businessGoals = input(undefined, ...(ngDevMode ? [{ debugName: "businessGoals" }] : []));
116554
+ this.unifiedProfileAnalysis = input(...(ngDevMode ? [undefined, { debugName: "unifiedProfileAnalysis" }] : []));
116555
+ this.sourceProfileAnalyses = input(...(ngDevMode ? [undefined, { debugName: "sourceProfileAnalyses" }] : []));
116556
+ this.scrollEvent = input(...(ngDevMode ? [undefined, { debugName: "scrollEvent" }] : []));
116557
+ this.scrollElement = input(...(ngDevMode ? [undefined, { debugName: "scrollElement" }] : []));
116558
+ this.isOnboarded = input(false, ...(ngDevMode ? [{ debugName: "isOnboarded" }] : []));
116559
+ this.forDemo = input(false, ...(ngDevMode ? [{ debugName: "forDemo" }] : []));
116560
+ this.maxAccessibleStepId = input(...(ngDevMode ? [undefined, { debugName: "maxAccessibleStepId" }] : []));
116544
116561
  this.startActing = output();
116562
+ this.stepClick = output();
116563
+ this.headerScrollService = inject(HeaderScrollService);
116564
+ this.JourneyStepIdEnum = JourneyStepIdEnum;
116565
+ this.scrollProgress = signal(0, ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
116545
116566
  this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
116546
116567
  }
116547
116568
  static { this.ɵfac = function SymphiqJourneyCompletedDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqJourneyCompletedDashboardComponent)(); }; }
116548
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqJourneyCompletedDashboardComponent, selectors: [["symphiq-journey-completed-dashboard"]], inputs: { viewMode: [1, "viewMode"], businessName: [1, "businessName"], businessGoals: [1, "businessGoals"] }, outputs: { startActing: "startActing" }, decls: 7, vars: 6, 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, "relative", "z-10"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "pb-36"], [3, "viewMode", "businessName", "businessGoals"], [3, "startActing", "viewMode"]], template: function SymphiqJourneyCompletedDashboardComponent_Template(rf, ctx) { if (rf & 1) {
116569
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqJourneyCompletedDashboardComponent, selectors: [["symphiq-journey-completed-dashboard"]], inputs: { viewMode: [1, "viewMode"], embedded: [1, "embedded"], isLoading: [1, "isLoading"], businessName: [1, "businessName"], businessGoals: [1, "businessGoals"], unifiedProfileAnalysis: [1, "unifiedProfileAnalysis"], sourceProfileAnalyses: [1, "sourceProfileAnalyses"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isOnboarded: [1, "isOnboarded"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"] }, outputs: { startActing: "startActing", stepClick: "stepClick" }, decls: 10, vars: 20, consts: [[1, "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"], ["colorScheme", "blue-cyan", 3, "viewMode", "progress", "embedded"], [1, "relative", "z-51"], [3, "title", "subtitle", "viewMode", "isLoading", "showSearchControl", "showViewModeControl", "embedded", "scrollEvent"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "relative", "z-10", "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-12", "pb-36"], [3, "viewMode", "businessName", "businessGoals"], [3, "startActing", "viewMode"], [3, "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"]], template: function SymphiqJourneyCompletedDashboardComponent_Template(rf, ctx) { if (rf & 1) {
116549
116570
  i0.ɵɵelementStart(0, "div", 0);
116550
- i0.ɵɵelement(1, "div", 1);
116551
- i0.ɵɵelementStart(2, "div", 2)(3, "main", 3);
116552
- i0.ɵɵelement(4, "symphiq-journey-completed-welcome-banner", 4);
116571
+ i0.ɵɵelement(1, "div", 1)(2, "symphiq-scroll-progress-bar", 2);
116572
+ i0.ɵɵelementStart(3, "div", 3);
116573
+ i0.ɵɵelement(4, "symphiq-dashboard-header", 4);
116574
+ i0.ɵɵconditionalCreate(5, SymphiqJourneyCompletedDashboardComponent_Conditional_5_Template, 1, 5, "symphiq-journey-progress-indicator", 5);
116575
+ i0.ɵɵelementStart(6, "main", 6);
116576
+ i0.ɵɵelement(7, "symphiq-journey-completed-welcome-banner", 7);
116553
116577
  i0.ɵɵelementEnd()();
116554
- i0.ɵɵelement(5, "symphiq-tooltip-container");
116555
- i0.ɵɵelementStart(6, "symphiq-journey-completed-footer", 5);
116556
- i0.ɵɵlistener("startActing", function SymphiqJourneyCompletedDashboardComponent_Template_symphiq_journey_completed_footer_startActing_6_listener() { return ctx.startActing.emit(); });
116578
+ i0.ɵɵelement(8, "symphiq-tooltip-container");
116579
+ i0.ɵɵelementStart(9, "symphiq-journey-completed-footer", 8);
116580
+ i0.ɵɵlistener("startActing", function SymphiqJourneyCompletedDashboardComponent_Template_symphiq_journey_completed_footer_startActing_9_listener() { return ctx.startActing.emit(); });
116557
116581
  i0.ɵɵelementEnd()();
116558
116582
  } if (rf & 2) {
116583
+ i0.ɵɵclassProp("min-h-screen", !ctx.embedded());
116559
116584
  i0.ɵɵadvance();
116560
116585
  i0.ɵɵclassProp("light-mode", ctx.isLightMode());
116561
- i0.ɵɵadvance(3);
116586
+ i0.ɵɵadvance();
116587
+ i0.ɵɵproperty("viewMode", ctx.viewMode())("progress", ctx.scrollProgress())("embedded", ctx.embedded());
116588
+ i0.ɵɵadvance(2);
116589
+ i0.ɵɵproperty("title", "Journey Complete")("subtitle", "Congratulations! You have completed your Symphiq journey.")("viewMode", ctx.viewMode())("isLoading", ctx.isLoading())("showSearchControl", false)("showViewModeControl", false)("embedded", ctx.embedded())("scrollEvent", ctx.scrollEvent());
116590
+ i0.ɵɵadvance();
116591
+ i0.ɵɵconditional(!ctx.isOnboarded() ? 5 : -1);
116592
+ i0.ɵɵadvance(2);
116562
116593
  i0.ɵɵproperty("viewMode", ctx.viewMode())("businessName", ctx.businessName())("businessGoals", ctx.businessGoals());
116563
116594
  i0.ɵɵadvance(2);
116564
116595
  i0.ɵɵproperty("viewMode", ctx.viewMode());
116565
116596
  } }, dependencies: [CommonModule,
116566
116597
  JourneyCompletedWelcomeBannerComponent,
116567
116598
  JourneyCompletedFooterComponent,
116568
- TooltipContainerComponent], encapsulation: 2, changeDetection: 0 }); }
116599
+ TooltipContainerComponent,
116600
+ JourneyProgressIndicatorComponent,
116601
+ ScrollProgressBarComponent,
116602
+ DashboardHeaderComponent], encapsulation: 2, changeDetection: 0 }); }
116569
116603
  }
116570
116604
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqJourneyCompletedDashboardComponent, [{
116571
116605
  type: Component,
@@ -116576,16 +116610,48 @@ class SymphiqJourneyCompletedDashboardComponent {
116576
116610
  CommonModule,
116577
116611
  JourneyCompletedWelcomeBannerComponent,
116578
116612
  JourneyCompletedFooterComponent,
116579
- TooltipContainerComponent
116613
+ TooltipContainerComponent,
116614
+ JourneyProgressIndicatorComponent,
116615
+ ScrollProgressBarComponent,
116616
+ DashboardHeaderComponent
116580
116617
  ],
116581
116618
  changeDetection: ChangeDetectionStrategy.OnPush,
116582
116619
  template: `
116583
- <div class="min-h-screen relative">
116620
+ <div [class.min-h-screen]="!embedded()" class="relative">
116584
116621
  <div class="animated-bubbles" [class.light-mode]="isLightMode()"
116585
116622
  style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
116586
116623
 
116587
- <div class="relative z-10">
116588
- <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 pb-36">
116624
+ <symphiq-scroll-progress-bar
116625
+ [viewMode]="viewMode()"
116626
+ [progress]="scrollProgress()"
116627
+ [embedded]="embedded()"
116628
+ colorScheme="blue-cyan"
116629
+ />
116630
+
116631
+ <div class="relative z-51">
116632
+ <symphiq-dashboard-header
116633
+ [title]="'Journey Complete'"
116634
+ [subtitle]="'Congratulations! You have completed your Symphiq journey.'"
116635
+ [viewMode]="viewMode()"
116636
+ [isLoading]="isLoading()"
116637
+ [showSearchControl]="false"
116638
+ [showViewModeControl]="false"
116639
+ [embedded]="embedded()"
116640
+ [scrollEvent]="scrollEvent()"
116641
+ />
116642
+
116643
+ @if (!isOnboarded()) {
116644
+ <symphiq-journey-progress-indicator
116645
+ [viewMode]="viewMode()"
116646
+ [currentStepId]="JourneyStepIdEnum.COMPLETE"
116647
+ [showNextStepAction]="false"
116648
+ [forDemo]="forDemo()"
116649
+ [maxAccessibleStepId]="maxAccessibleStepId()"
116650
+ (stepClick)="stepClick.emit($event)"
116651
+ />
116652
+ }
116653
+
116654
+ <main class="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 pb-36">
116589
116655
  <symphiq-journey-completed-welcome-banner
116590
116656
  [viewMode]="viewMode()"
116591
116657
  [businessName]="businessName()"
@@ -116603,8 +116669,8 @@ class SymphiqJourneyCompletedDashboardComponent {
116603
116669
  </div>
116604
116670
  `
116605
116671
  }]
116606
- }], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], businessName: [{ type: i0.Input, args: [{ isSignal: true, alias: "businessName", required: false }] }], businessGoals: [{ type: i0.Input, args: [{ isSignal: true, alias: "businessGoals", required: false }] }], startActing: [{ type: i0.Output, args: ["startActing"] }] }); })();
116607
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqJourneyCompletedDashboardComponent, { className: "SymphiqJourneyCompletedDashboardComponent", filePath: "lib/components/journey-completed-dashboard/symphiq-journey-completed-dashboard.component.ts", lineNumber: 48 }); })();
116672
+ }], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], businessName: [{ type: i0.Input, args: [{ isSignal: true, alias: "businessName", required: false }] }], businessGoals: [{ type: i0.Input, args: [{ isSignal: true, alias: "businessGoals", required: false }] }], unifiedProfileAnalysis: [{ type: i0.Input, args: [{ isSignal: true, alias: "unifiedProfileAnalysis", required: false }] }], sourceProfileAnalyses: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceProfileAnalyses", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], isOnboarded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOnboarded", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], maxAccessibleStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAccessibleStepId", required: false }] }], startActing: [{ type: i0.Output, args: ["startActing"] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }] }); })();
116673
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqJourneyCompletedDashboardComponent, { className: "SymphiqJourneyCompletedDashboardComponent", filePath: "lib/components/journey-completed-dashboard/symphiq-journey-completed-dashboard.component.ts", lineNumber: 87 }); })();
116608
116674
 
116609
116675
  /*
116610
116676
  * Public API Surface of symphiq-components