@eric-emg/symphiq-components 1.2.112 → 1.2.113

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.
@@ -53745,9 +53745,9 @@ function SymphiqBusinessAnalysisDashboardComponent_Conditional_41_Template(rf, c
53745
53745
  } if (rf & 2) {
53746
53746
  let tmp_3_0;
53747
53747
  const ctx_r0 = i0.ɵɵnextContext();
53748
- i0.ɵɵconditional(!ctx_r0.isOnboarded ? 0 : -1);
53748
+ i0.ɵɵconditional(!ctx_r0.isOnboarded() ? 0 : -1);
53749
53749
  i0.ɵɵadvance(3);
53750
- i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("businessName", ((tmp_3_0 = ctx_r0.currentProfile()) == null ? null : tmp_3_0.profileStructured == null ? null : tmp_3_0.profileStructured.businessName) || "your business")("isOnboarded", ctx_r0.isOnboarded);
53750
+ i0.ɵɵproperty("viewMode", ctx_r0.viewMode)("businessName", ((tmp_3_0 = ctx_r0.currentProfile()) == null ? null : tmp_3_0.profileStructured == null ? null : tmp_3_0.profileStructured.businessName) || "your business")("isOnboarded", ctx_r0.isOnboarded());
53751
53751
  i0.ɵɵadvance(2);
53752
53752
  i0.ɵɵproperty("recommendations", ctx_r0.recommendationItems())("viewMode", ctx_r0.viewMode);
53753
53753
  i0.ɵɵadvance(2);
@@ -53819,9 +53819,11 @@ class SymphiqBusinessAnalysisDashboardComponent {
53819
53819
  constructor() {
53820
53820
  this.viewMode = ViewModeEnum.LIGHT;
53821
53821
  this.embedded = false;
53822
- this.isLoading = false;
53823
53822
  this.parentHeaderOffset = 0;
53824
- this.isOnboarded = false;
53823
+ this.scrollEvent = input(...(ngDevMode ? [undefined, { debugName: "scrollEvent" }] : []));
53824
+ this.scrollElement = input(...(ngDevMode ? [undefined, { debugName: "scrollElement" }] : []));
53825
+ this.isLoading = input(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
53826
+ this.isOnboarded = input(false, ...(ngDevMode ? [{ debugName: "isOnboarded" }] : []));
53825
53827
  this.headerScrollService = inject(HeaderScrollService);
53826
53828
  this.lookupService = inject(ProfileItemLookupService);
53827
53829
  this.navigationService = inject(NavigationStateService);
@@ -54244,7 +54246,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
54244
54246
  static { this.ɵfac = function SymphiqBusinessAnalysisDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqBusinessAnalysisDashboardComponent)(); }; }
54245
54247
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqBusinessAnalysisDashboardComponent, selectors: [["symphiq-business-analysis-dashboard"]], hostBindings: function SymphiqBusinessAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
54246
54248
  i0.ɵɵlistener("scroll", function SymphiqBusinessAnalysisDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow)("keydown", function SymphiqBusinessAnalysisDashboardComponent_keydown_HostBindingHandler($event) { return ctx.handleKeyDown($event); }, i0.ɵɵresolveDocument);
54247
- } }, inputs: { requestedByUser: "requestedByUser", viewMode: "viewMode", embedded: "embedded", scrollEvent: "scrollEvent", scrollElement: "scrollElement", isLoading: "isLoading", profile: "profile", parentHeaderOffset: "parentHeaderOffset", isOnboarded: "isOnboarded" }, decls: 51, vars: 67, consts: [[3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [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-2"], [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, "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", "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"], [1, "relative"], [3, "sections", "viewMode", "embedded"], [3, "viewMode", "embedded"], [3, "viewInContextRequested", "isLightMode"], [3, "searchChange", "resultSelected", "close", "isLightMode", "isOpen", "searchQuery", "results", "hasResults", "selectedIndex", "placeholder"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode", "isLoading"], [1, "transition-opacity", "duration-300", 3, "ngClass"], [3, "viewMode", "currentStepId", "showNextStepAction"], [1, "mb-8"], [3, "viewMode", "businessName", "isOnboarded"], [3, "viewMoreClick", "recommendations", "viewMode"], [3, "sections", "viewMode"], [3, "section", "viewMode", "forceExpanded"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8"], [3, "viewMode", "subsections"]], template: function SymphiqBusinessAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
54249
+ } }, inputs: { requestedByUser: "requestedByUser", viewMode: "viewMode", embedded: "embedded", profile: "profile", parentHeaderOffset: "parentHeaderOffset", scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], isOnboarded: [1, "isOnboarded"] }, decls: 51, vars: 67, consts: [[3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [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-2"], [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, "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", "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"], [1, "relative"], [3, "sections", "viewMode", "embedded"], [3, "viewMode", "embedded"], [3, "viewInContextRequested", "isLightMode"], [3, "searchChange", "resultSelected", "close", "isLightMode", "isOpen", "searchQuery", "results", "hasResults", "selectedIndex", "placeholder"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode", "isLoading"], [1, "transition-opacity", "duration-300", 3, "ngClass"], [3, "viewMode", "currentStepId", "showNextStepAction"], [1, "mb-8"], [3, "viewMode", "businessName", "isOnboarded"], [3, "viewMoreClick", "recommendations", "viewMode"], [3, "sections", "viewMode"], [3, "section", "viewMode", "forceExpanded"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8"], [3, "viewMode", "subsections"]], template: function SymphiqBusinessAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
54248
54250
  i0.ɵɵelementStart(0, "div", 0)(1, "div");
54249
54251
  i0.ɵɵelement(2, "div", 1);
54250
54252
  i0.ɵɵelementEnd();
@@ -54365,7 +54367,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
54365
54367
  i0.ɵɵadvance();
54366
54368
  i0.ɵɵproperty("viewMode", ctx.viewMode)("embedded", ctx.embedded);
54367
54369
  i0.ɵɵadvance();
54368
- i0.ɵɵconditional(ctx.isLoading ? 46 : -1);
54370
+ i0.ɵɵconditional(ctx.isLoading() ? 46 : -1);
54369
54371
  i0.ɵɵadvance(2);
54370
54372
  i0.ɵɵproperty("isLightMode", ctx.isLightMode());
54371
54373
  i0.ɵɵadvance();
@@ -54493,7 +54495,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
54493
54495
  <main class="relative">
54494
54496
  @if (isSimplifiedView()) {
54495
54497
  <!-- Journey Progress Banner - Full Width Sticky (only show when not onboarded) -->
54496
- @if (!isOnboarded) {
54498
+ @if (!isOnboarded()) {
54497
54499
  <symphiq-journey-progress-indicator
54498
54500
  [viewMode]="viewMode"
54499
54501
  [currentStepId]="'business-analysis'"
@@ -54506,7 +54508,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
54506
54508
  <symphiq-welcome-banner
54507
54509
  [viewMode]="viewMode"
54508
54510
  [businessName]="currentProfile()?.profileStructured?.businessName || 'your business'"
54509
- [isOnboarded]="isOnboarded"
54511
+ [isOnboarded]="isOnboarded()"
54510
54512
  />
54511
54513
  </div>
54512
54514
 
@@ -54565,7 +54567,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
54565
54567
  />
54566
54568
  </div>
54567
54569
 
54568
- @if (isLoading) {
54570
+ @if (isLoading()) {
54569
54571
  <div [ngClass]="getLoadingOverlayClasses()">
54570
54572
  <div [ngClass]="getSpinnerClasses()"></div>
54571
54573
  </div>
@@ -54605,26 +54607,18 @@ class SymphiqBusinessAnalysisDashboardComponent {
54605
54607
  type: Input
54606
54608
  }], embedded: [{
54607
54609
  type: Input
54608
- }], scrollEvent: [{
54609
- type: Input
54610
- }], scrollElement: [{
54611
- type: Input
54612
- }], isLoading: [{
54613
- type: Input
54614
54610
  }], profile: [{
54615
54611
  type: Input
54616
54612
  }], parentHeaderOffset: [{
54617
54613
  type: Input
54618
- }], isOnboarded: [{
54619
- type: Input
54620
- }], onScroll: [{
54614
+ }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], isOnboarded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOnboarded", required: false }] }], onScroll: [{
54621
54615
  type: HostListener,
54622
54616
  args: ['window:scroll', ['$event']]
54623
54617
  }], handleKeyDown: [{
54624
54618
  type: HostListener,
54625
54619
  args: ['document:keydown', ['$event']]
54626
54620
  }] }); })();
54627
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber: 279 }); })();
54621
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber: 285 }); })();
54628
54622
 
54629
54623
  function DashboardHeaderComponent_Conditional_24_Conditional_3_Template(rf, ctx) { if (rf & 1) {
54630
54624
  i0.ɵɵelementStart(0, "span", 4);