@eric-emg/symphiq-components 1.2.303 → 1.2.305
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 +10 -30
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +9 -9
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -52500,9 +52500,8 @@ var ShopPlatformEnum;
|
|
|
52500
52500
|
})(ShopPlatformEnum || (ShopPlatformEnum = {}));
|
|
52501
52501
|
class SymphiqCreateAccountDashboardComponent {
|
|
52502
52502
|
set shopNameInput(el) {
|
|
52503
|
-
console.log('el: ', el, 'accountData: ', this.accountData());
|
|
52504
52503
|
if (el && !this.accountData()) {
|
|
52505
|
-
el.nativeElement.focus();
|
|
52504
|
+
setTimeout(() => el.nativeElement.focus());
|
|
52506
52505
|
}
|
|
52507
52506
|
}
|
|
52508
52507
|
constructor() {
|
|
@@ -67160,16 +67159,6 @@ function SymphiqBusinessAnalysisDashboardComponent_Conditional_29_Template(rf, c
|
|
|
67160
67159
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
67161
67160
|
i0.ɵɵproperty("sections", ctx_r1.sections())("viewMode", ctx_r1.viewMode())("embedded", ctx_r1.embedded())("scrollElement", ctx_r1.scrollElement() ?? undefined);
|
|
67162
67161
|
} }
|
|
67163
|
-
function SymphiqBusinessAnalysisDashboardComponent_Conditional_31_Template(rf, ctx) { if (rf & 1) {
|
|
67164
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
67165
|
-
i0.ɵɵelement(1, "div", 0);
|
|
67166
|
-
i0.ɵɵelementEnd();
|
|
67167
|
-
} if (rf & 2) {
|
|
67168
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
67169
|
-
i0.ɵɵproperty("ngClass", ctx_r1.getLoadingOverlayClasses());
|
|
67170
|
-
i0.ɵɵadvance();
|
|
67171
|
-
i0.ɵɵproperty("ngClass", ctx_r1.getSpinnerClasses());
|
|
67172
|
-
} }
|
|
67173
67162
|
class SymphiqBusinessAnalysisDashboardComponent {
|
|
67174
67163
|
sectionHasContent(section) {
|
|
67175
67164
|
if (!section?.subsections || section.subsections.length === 0) {
|
|
@@ -67676,7 +67665,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
67676
67665
|
static { this.ɵfac = function SymphiqBusinessAnalysisDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqBusinessAnalysisDashboardComponent)(); }; }
|
|
67677
67666
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqBusinessAnalysisDashboardComponent, selectors: [["symphiq-business-analysis-dashboard"]], hostBindings: function SymphiqBusinessAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
67678
67667
|
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);
|
|
67679
|
-
} }, inputs: { embedded: [1, "embedded"], profile: [1, "profile"], parentHeaderOffset: [1, "parentHeaderOffset"], requestedByUser: [1, "requestedByUser"], viewMode: [1, "viewMode"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], isOnboarded: [1, "isOnboarded"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"], itemStatus: [1, "itemStatus"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick" }, decls:
|
|
67668
|
+
} }, inputs: { embedded: [1, "embedded"], profile: [1, "profile"], parentHeaderOffset: [1, "parentHeaderOffset"], requestedByUser: [1, "requestedByUser"], viewMode: [1, "viewMode"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], isOnboarded: [1, "isOnboarded"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"], itemStatus: [1, "itemStatus"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick" }, decls: 35, vars: 58, consts: [[3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 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"], [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"], [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"], [1, "relative"], [1, "flex", "items-center", "justify-center", "min-h-[60vh]"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "viewMode", "embedded"], [3, "viewInContextRequested", "isLightMode"], [3, "searchChange", "resultSelected", "close", "isLightMode", "isOpen", "searchQuery", "results", "hasResults", "selectedIndex", "placeholder"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode", "isLoading"], [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, "transition-opacity", "duration-300", 3, "ngClass"], [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"], ["size", "large", 3, "viewMode"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "viewMode", "itemStatus", "currentStatus", "confettiIntensity", "title", "subtitle"], [3, "stepClick", "nextStepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [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) {
|
|
67680
67669
|
i0.ɵɵelementStart(0, "div", 0)(1, "div");
|
|
67681
67670
|
i0.ɵɵelement(2, "div", 1);
|
|
67682
67671
|
i0.ɵɵelementEnd();
|
|
@@ -67703,16 +67692,15 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
67703
67692
|
i0.ɵɵconditionalCreate(29, SymphiqBusinessAnalysisDashboardComponent_Conditional_29_Template, 1, 4, "symphiq-floating-toc", 15);
|
|
67704
67693
|
i0.ɵɵelement(30, "symphiq-floating-back-button", 16);
|
|
67705
67694
|
i0.ɵɵelementEnd();
|
|
67706
|
-
i0.ɵɵ
|
|
67707
|
-
i0.ɵɵ
|
|
67708
|
-
i0.ɵɵ
|
|
67709
|
-
i0.ɵɵlistener("viewInContextRequested", function SymphiqBusinessAnalysisDashboardComponent_Template_symphiq_business_analysis_modal_viewInContextRequested_33_listener($event) { return ctx.handleViewInContext($event); });
|
|
67695
|
+
i0.ɵɵelement(31, "symphiq-tooltip-container");
|
|
67696
|
+
i0.ɵɵelementStart(32, "symphiq-business-analysis-modal", 17);
|
|
67697
|
+
i0.ɵɵlistener("viewInContextRequested", function SymphiqBusinessAnalysisDashboardComponent_Template_symphiq_business_analysis_modal_viewInContextRequested_32_listener($event) { return ctx.handleViewInContext($event); });
|
|
67710
67698
|
i0.ɵɵelementEnd();
|
|
67711
|
-
i0.ɵɵelementStart(
|
|
67712
|
-
i0.ɵɵlistener("searchChange", function
|
|
67699
|
+
i0.ɵɵelementStart(33, "symphiq-search-modal", 18);
|
|
67700
|
+
i0.ɵɵlistener("searchChange", function SymphiqBusinessAnalysisDashboardComponent_Template_symphiq_search_modal_searchChange_33_listener($event) { return ctx.onSearchChange($event); })("resultSelected", function SymphiqBusinessAnalysisDashboardComponent_Template_symphiq_search_modal_resultSelected_33_listener($event) { return ctx.onSearchResultSelected($event); })("close", function SymphiqBusinessAnalysisDashboardComponent_Template_symphiq_search_modal_close_33_listener() { return ctx.closeSearch(); });
|
|
67713
67701
|
i0.ɵɵelementEnd();
|
|
67714
|
-
i0.ɵɵelementStart(
|
|
67715
|
-
i0.ɵɵlistener("close", function
|
|
67702
|
+
i0.ɵɵelementStart(34, "symphiq-view-mode-switcher-modal", 19);
|
|
67703
|
+
i0.ɵɵlistener("close", function SymphiqBusinessAnalysisDashboardComponent_Template_symphiq_view_mode_switcher_modal_close_34_listener() { return ctx.closeViewModeSwitcher(); })("modeSelected", function SymphiqBusinessAnalysisDashboardComponent_Template_symphiq_view_mode_switcher_modal_modeSelected_34_listener($event) { return ctx.handleDisplayModeChange($event); });
|
|
67716
67704
|
i0.ɵɵelementEnd()();
|
|
67717
67705
|
} if (rf & 2) {
|
|
67718
67706
|
let tmp_13_0;
|
|
@@ -67761,8 +67749,6 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
67761
67749
|
i0.ɵɵconditional(!ctx.isSimplifiedView() ? 29 : -1);
|
|
67762
67750
|
i0.ɵɵadvance();
|
|
67763
67751
|
i0.ɵɵproperty("viewMode", ctx.viewMode())("embedded", ctx.embedded());
|
|
67764
|
-
i0.ɵɵadvance();
|
|
67765
|
-
i0.ɵɵconditional(ctx.isLoading() ? 31 : -1);
|
|
67766
67752
|
i0.ɵɵadvance(2);
|
|
67767
67753
|
i0.ɵɵproperty("isLightMode", ctx.isLightMode());
|
|
67768
67754
|
i0.ɵɵadvance();
|
|
@@ -67999,12 +67985,6 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
67999
67985
|
/>
|
|
68000
67986
|
</div>
|
|
68001
67987
|
|
|
68002
|
-
@if (isLoading()) {
|
|
68003
|
-
<div [ngClass]="getLoadingOverlayClasses()">
|
|
68004
|
-
<div [ngClass]="getSpinnerClasses()"></div>
|
|
68005
|
-
</div>
|
|
68006
|
-
}
|
|
68007
|
-
|
|
68008
67988
|
<symphiq-tooltip-container />
|
|
68009
67989
|
<symphiq-business-analysis-modal
|
|
68010
67990
|
[isLightMode]="isLightMode()"
|
|
@@ -68040,7 +68020,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
68040
68020
|
type: HostListener,
|
|
68041
68021
|
args: ['document:keydown', ['$event']]
|
|
68042
68022
|
}] }); })();
|
|
68043
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber:
|
|
68023
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber: 340 }); })();
|
|
68044
68024
|
|
|
68045
68025
|
function DashboardHeaderComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
68046
68026
|
i0.ɵɵelement(0, "div", 6);
|