@eric-emg/symphiq-components 1.2.331 → 1.2.333
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 +291 -213
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +14 -8
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -86260,14 +86260,14 @@ class CollapsibleAnalysisSectionGroupComponent {
|
|
|
86260
86260
|
const _forTrack0$2 = ($index, $item) => $item.code;
|
|
86261
86261
|
function BillingCurrencySelectorCardComponent_For_15_Template(rf, ctx) { if (rf & 1) {
|
|
86262
86262
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
86263
|
-
i0.ɵɵelementStart(0, "label", 11)(1, "input",
|
|
86263
|
+
i0.ɵɵelementStart(0, "label", 11)(1, "input", 12);
|
|
86264
86264
|
i0.ɵɵtwoWayListener("ngModelChange", function BillingCurrencySelectorCardComponent_For_15_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedCurrency, $event) || (ctx_r1.selectedCurrency = $event); return i0.ɵɵresetView($event); });
|
|
86265
86265
|
i0.ɵɵlistener("change", function BillingCurrencySelectorCardComponent_For_15_Template_input_change_1_listener() { const currency_r3 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleCurrencyChange(currency_r3.code)); });
|
|
86266
86266
|
i0.ɵɵelementEnd();
|
|
86267
|
-
i0.ɵɵelementStart(2, "div",
|
|
86267
|
+
i0.ɵɵelementStart(2, "div", 13)(3, "div", 14)(4, "span", 15);
|
|
86268
86268
|
i0.ɵɵtext(5);
|
|
86269
86269
|
i0.ɵɵelementEnd();
|
|
86270
|
-
i0.ɵɵelementStart(6, "span",
|
|
86270
|
+
i0.ɵɵelementStart(6, "span", 16);
|
|
86271
86271
|
i0.ɵɵtext(7);
|
|
86272
86272
|
i0.ɵɵelementEnd()();
|
|
86273
86273
|
i0.ɵɵelementStart(8, "p", 7);
|
|
@@ -86294,24 +86294,12 @@ function BillingCurrencySelectorCardComponent_For_15_Template(rf, ctx) { if (rf
|
|
|
86294
86294
|
i0.ɵɵadvance();
|
|
86295
86295
|
i0.ɵɵtextInterpolate1(" ", currency_r3.name, " ");
|
|
86296
86296
|
} }
|
|
86297
|
-
function BillingCurrencySelectorCardComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
86298
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
86299
|
-
i0.ɵɵelementStart(0, "div", 12)(1, "button", 18);
|
|
86300
|
-
i0.ɵɵlistener("click", function BillingCurrencySelectorCardComponent_Conditional_16_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.cancelClick.emit()); });
|
|
86301
|
-
i0.ɵɵtext(2, " Cancel ");
|
|
86302
|
-
i0.ɵɵelementEnd()();
|
|
86303
|
-
} if (rf & 2) {
|
|
86304
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
86305
|
-
i0.ɵɵadvance();
|
|
86306
|
-
i0.ɵɵproperty("ngClass", ctx_r1.getCancelButtonClasses());
|
|
86307
|
-
} }
|
|
86308
86297
|
class BillingCurrencySelectorCardComponent {
|
|
86309
86298
|
constructor() {
|
|
86310
86299
|
this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
|
|
86311
86300
|
this.isLoading = input(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
|
|
86312
|
-
this.
|
|
86301
|
+
this.initialCurrency = input(null, ...(ngDevMode ? [{ debugName: "initialCurrency" }] : []));
|
|
86313
86302
|
this.currencySelected = output();
|
|
86314
|
-
this.cancelClick = output();
|
|
86315
86303
|
this.selectedCurrency = signal(null, ...(ngDevMode ? [{ debugName: "selectedCurrency" }] : []));
|
|
86316
86304
|
this.currencies = [
|
|
86317
86305
|
{ code: CurrencyCodeEnum.USD, symbol: '$', name: 'United States Dollar' },
|
|
@@ -86319,6 +86307,16 @@ class BillingCurrencySelectorCardComponent {
|
|
|
86319
86307
|
{ code: CurrencyCodeEnum.NOK, symbol: 'kr', name: 'Norwegian Krone' },
|
|
86320
86308
|
{ code: CurrencyCodeEnum.JPY, symbol: '¥', name: 'Japanese Yen' }
|
|
86321
86309
|
];
|
|
86310
|
+
const initial = this.initialCurrency();
|
|
86311
|
+
if (initial) {
|
|
86312
|
+
this.selectedCurrency.set(initial);
|
|
86313
|
+
}
|
|
86314
|
+
}
|
|
86315
|
+
ngOnInit() {
|
|
86316
|
+
const initial = this.initialCurrency();
|
|
86317
|
+
if (initial) {
|
|
86318
|
+
this.selectedCurrency.set(initial);
|
|
86319
|
+
}
|
|
86322
86320
|
}
|
|
86323
86321
|
handleCurrencyChange(currency) {
|
|
86324
86322
|
this.currencySelected.emit(currency);
|
|
@@ -86393,13 +86391,8 @@ class BillingCurrencySelectorCardComponent {
|
|
|
86393
86391
|
? 'text-slate-400'
|
|
86394
86392
|
: 'text-slate-600';
|
|
86395
86393
|
}
|
|
86396
|
-
getCancelButtonClasses() {
|
|
86397
|
-
return this.viewMode() === ViewModeEnum.DARK
|
|
86398
|
-
? 'bg-slate-700 text-slate-300 hover:bg-slate-600 hover:text-white'
|
|
86399
|
-
: 'bg-slate-200 text-slate-700 hover:bg-slate-300 hover:text-slate-900';
|
|
86400
|
-
}
|
|
86401
86394
|
static { this.ɵfac = function BillingCurrencySelectorCardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BillingCurrencySelectorCardComponent)(); }; }
|
|
86402
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BillingCurrencySelectorCardComponent, selectors: [["symphiq-billing-currency-selector-card"]], inputs: { viewMode: [1, "viewMode"], isLoading: [1, "isLoading"],
|
|
86395
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BillingCurrencySelectorCardComponent, selectors: [["symphiq-billing-currency-selector-card"]], inputs: { viewMode: [1, "viewMode"], isLoading: [1, "isLoading"], initialCurrency: [1, "initialCurrency"] }, outputs: { currencySelected: "currencySelected" }, decls: 16, vars: 6, consts: [[1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [1, "px-6", "py-5", "border-b", 3, "ngClass"], [1, "flex", "items-center", "gap-3"], [1, "p-2.5", "rounded-lg", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-sm", "mt-0.5", 3, "ngClass"], [1, "p-6", 3, "ngClass"], [1, "space-y-6"], [1, "space-y-3"], [1, "flex", "items-center", "gap-4", "p-4", "rounded-xl", "border-2", "cursor-pointer", "transition-all", "duration-200", "hover:scale-[1.01]", 3, "ngClass"], ["type", "radio", 1, "w-5", "h-5", "flex-shrink-0", "cursor-pointer", "disabled:cursor-not-allowed", 3, "ngModelChange", "change", "name", "value", "ngModel", "disabled", "ngClass"], [1, "flex-1"], [1, "flex", "items-center", "gap-2"], [1, "text-lg", "font-bold", 3, "ngClass"], [1, "text-sm", 3, "ngClass"]], template: function BillingCurrencySelectorCardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
86403
86396
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3);
|
|
86404
86397
|
i0.ɵɵnamespaceSVG();
|
|
86405
86398
|
i0.ɵɵelementStart(4, "svg", 4);
|
|
@@ -86414,9 +86407,7 @@ class BillingCurrencySelectorCardComponent {
|
|
|
86414
86407
|
i0.ɵɵelementEnd()()()();
|
|
86415
86408
|
i0.ɵɵelementStart(11, "div", 8)(12, "div", 9)(13, "div", 10);
|
|
86416
86409
|
i0.ɵɵrepeaterCreate(14, BillingCurrencySelectorCardComponent_For_15_Template, 10, 12, "label", 11, _forTrack0$2);
|
|
86417
|
-
i0.ɵɵelementEnd();
|
|
86418
|
-
i0.ɵɵconditionalCreate(16, BillingCurrencySelectorCardComponent_Conditional_16_Template, 3, 1, "div", 12);
|
|
86419
|
-
i0.ɵɵelementEnd()()();
|
|
86410
|
+
i0.ɵɵelementEnd()()()();
|
|
86420
86411
|
} if (rf & 2) {
|
|
86421
86412
|
i0.ɵɵproperty("ngClass", ctx.containerClasses());
|
|
86422
86413
|
i0.ɵɵadvance();
|
|
@@ -86431,8 +86422,6 @@ class BillingCurrencySelectorCardComponent {
|
|
|
86431
86422
|
i0.ɵɵproperty("ngClass", ctx.contentClasses());
|
|
86432
86423
|
i0.ɵɵadvance(3);
|
|
86433
86424
|
i0.ɵɵrepeater(ctx.currencies);
|
|
86434
|
-
i0.ɵɵadvance(2);
|
|
86435
|
-
i0.ɵɵconditional(ctx.showCancel() ? 16 : -1);
|
|
86436
86425
|
} }, dependencies: [CommonModule, i1$1.NgClass, FormsModule, i2$1.DefaultValueAccessor, i2$1.RadioControlValueAccessor, i2$1.NgControlStatus, i2$1.NgModel], encapsulation: 2, changeDetection: 0 }); }
|
|
86437
86426
|
}
|
|
86438
86427
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BillingCurrencySelectorCardComponent, [{
|
|
@@ -86496,24 +86485,14 @@ class BillingCurrencySelectorCardComponent {
|
|
|
86496
86485
|
}
|
|
86497
86486
|
</div>
|
|
86498
86487
|
|
|
86499
|
-
|
|
86500
|
-
<div class="pt-2">
|
|
86501
|
-
<button
|
|
86502
|
-
(click)="cancelClick.emit()"
|
|
86503
|
-
[ngClass]="getCancelButtonClasses()"
|
|
86504
|
-
class="w-full py-3 px-4 rounded-xl font-medium transition-colors cursor-pointer"
|
|
86505
|
-
>
|
|
86506
|
-
Cancel
|
|
86507
|
-
</button>
|
|
86508
|
-
</div>
|
|
86509
|
-
}
|
|
86488
|
+
|
|
86510
86489
|
</div>
|
|
86511
86490
|
</div>
|
|
86512
86491
|
</div>
|
|
86513
86492
|
`
|
|
86514
86493
|
}]
|
|
86515
|
-
}],
|
|
86516
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BillingCurrencySelectorCardComponent, { className: "BillingCurrencySelectorCardComponent", filePath: "lib/components/profile-analysis-dashboard/cards/billing-currency-selector-card.component.ts", lineNumber:
|
|
86494
|
+
}], () => [], { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], initialCurrency: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialCurrency", required: false }] }], currencySelected: [{ type: i0.Output, args: ["currencySelected"] }] }); })();
|
|
86495
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BillingCurrencySelectorCardComponent, { className: "BillingCurrencySelectorCardComponent", filePath: "lib/components/profile-analysis-dashboard/cards/billing-currency-selector-card.component.ts", lineNumber: 71 }); })();
|
|
86517
86496
|
|
|
86518
86497
|
class PlanSelectionPlaceholderCardComponent {
|
|
86519
86498
|
constructor() {
|
|
@@ -86582,7 +86561,6 @@ class PlanSelectionPlaceholderCardComponent {
|
|
|
86582
86561
|
: 'bg-slate-100 text-slate-600 hover:bg-slate-200 hover:text-slate-800';
|
|
86583
86562
|
}
|
|
86584
86563
|
onEditClick() {
|
|
86585
|
-
console.log('[PlanSelectionPlaceholderCard] Edit button clicked, emitting editCurrency');
|
|
86586
86564
|
this.editCurrency.emit();
|
|
86587
86565
|
}
|
|
86588
86566
|
static { this.ɵfac = function PlanSelectionPlaceholderCardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PlanSelectionPlaceholderCardComponent)(); }; }
|
|
@@ -87500,7 +87478,7 @@ class PlanSelectionContainerComponent {
|
|
|
87500
87478
|
: 'text-slate-500';
|
|
87501
87479
|
}
|
|
87502
87480
|
static { this.ɵfac = function PlanSelectionContainerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PlanSelectionContainerComponent)(); }; }
|
|
87503
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PlanSelectionContainerComponent, selectors: [["symphiq-plan-selection-container"]], inputs: { viewMode: [1, "viewMode"], selectedCurrency: [1, "selectedCurrency"], planCardInfos: [1, "planCardInfos"], isLoading: [1, "isLoading"], selectedPeriodUnit: [1, "selectedPeriodUnit"] }, outputs: { periodUnitChanged: "periodUnitChanged", planSelected: "planSelected", editCurrency: "editCurrency" }, decls: 22, vars: 12, consts: [[1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [1, "px-6", "py-5", "border-b", 3, "ngClass"], [1, "flex", "items-center", "gap-3"], [1, "p-2.5", "rounded-lg", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-sm", "mt-0.5", "flex", "items-center", "gap-2", 3, "ngClass"], [1, "font-semibold"], [1, "inline-flex", "items-center", "gap-1", "px-2", "py-0.5", "text-xs", "font-medium", "rounded-md", "transition-colors", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3", "h-3"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"], [1, "p-8", 3, "ngClass"], [3, "periodUnitChanged", "viewMode", "selectedPeriodUnit", "isLoading"], [1, "flex", "flex-col", "items-center", "justify-center", "py-16", "space-y-6"], [1, "
|
|
87481
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PlanSelectionContainerComponent, selectors: [["symphiq-plan-selection-container"]], inputs: { viewMode: [1, "viewMode"], selectedCurrency: [1, "selectedCurrency"], planCardInfos: [1, "planCardInfos"], isLoading: [1, "isLoading"], selectedPeriodUnit: [1, "selectedPeriodUnit"] }, outputs: { periodUnitChanged: "periodUnitChanged", planSelected: "planSelected", editCurrency: "editCurrency" }, decls: 22, vars: 12, consts: [[1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [1, "px-6", "py-5", "border-b", 3, "ngClass"], [1, "flex", "items-center", "gap-3"], [1, "p-2.5", "rounded-lg", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-5", "h-5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-sm", "mt-0.5", "flex", "items-center", "gap-2", 3, "ngClass"], [1, "font-semibold"], [1, "inline-flex", "items-center", "gap-1", "px-2", "py-0.5", "text-xs", "font-medium", "rounded-md", "transition-colors", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3", "h-3"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"], [1, "p-8", 3, "ngClass"], [3, "periodUnitChanged", "viewMode", "selectedPeriodUnit", "isLoading"], [1, "flex", "flex-col", "items-center", "justify-center", "py-16", "space-y-6"], [1, "flex", "flex-col", "gap-8", "mb-32"], [1, "text-center", "py-16", 3, "ngClass"], [3, "viewMode", "size"], [1, "text-base", "font-medium", 3, "ngClass"], [3, "viewMode", "planInfo", "isSelected", "selectedPeriodUnit"], [3, "planSelected", "viewMode", "planInfo", "isSelected", "selectedPeriodUnit"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-16", "h-16", "mx-auto", "mb-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "text-lg", "font-semibold", 3, "ngClass"], [1, "text-sm", "mt-2", 3, "ngClass"]], template: function PlanSelectionContainerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
87504
87482
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3);
|
|
87505
87483
|
i0.ɵɵnamespaceSVG();
|
|
87506
87484
|
i0.ɵɵelementStart(4, "svg", 4);
|
|
@@ -87558,81 +87536,81 @@ class PlanSelectionContainerComponent {
|
|
|
87558
87536
|
standalone: true,
|
|
87559
87537
|
imports: [CommonModule, BillingPeriodToggleComponent, PlanCardComponent, IndeterminateSpinnerComponent],
|
|
87560
87538
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
87561
|
-
template: `
|
|
87562
|
-
<div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
|
|
87563
|
-
<div [ngClass]="headerClasses()" class="px-6 py-5 border-b">
|
|
87564
|
-
<div class="flex items-center gap-3">
|
|
87565
|
-
<div [ngClass]="iconContainerClasses()" class="p-2.5 rounded-lg">
|
|
87566
|
-
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
87567
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"></path>
|
|
87568
|
-
</svg>
|
|
87569
|
-
</div>
|
|
87570
|
-
<div>
|
|
87571
|
-
<h2 [ngClass]="titleClasses()" class="text-xl font-bold">
|
|
87572
|
-
Choose Your Plan
|
|
87573
|
-
</h2>
|
|
87574
|
-
<p [ngClass]="subtitleClasses()" class="text-sm mt-0.5 flex items-center gap-2">
|
|
87575
|
-
Selected currency: <span class="font-semibold">{{ selectedCurrency() }}</span>
|
|
87576
|
-
<button
|
|
87577
|
-
(click)="editCurrency.emit()"
|
|
87578
|
-
[ngClass]="editButtonClasses()"
|
|
87579
|
-
class="inline-flex items-center gap-1 px-2 py-0.5 text-xs font-medium rounded-md transition-colors"
|
|
87580
|
-
>
|
|
87581
|
-
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
87582
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"></path>
|
|
87583
|
-
</svg>
|
|
87584
|
-
Edit
|
|
87585
|
-
</button>
|
|
87586
|
-
</p>
|
|
87587
|
-
</div>
|
|
87588
|
-
</div>
|
|
87589
|
-
</div>
|
|
87590
|
-
|
|
87591
|
-
<div [ngClass]="contentClasses()" class="p-8">
|
|
87592
|
-
<symphiq-billing-period-toggle
|
|
87593
|
-
[viewMode]="viewMode()"
|
|
87594
|
-
[selectedPeriodUnit]="selectedPeriodUnit()"
|
|
87595
|
-
[isLoading]="isLoading()"
|
|
87596
|
-
(periodUnitChanged)="handlePeriodChange($event)"
|
|
87597
|
-
/>
|
|
87598
|
-
|
|
87599
|
-
@if (isLoading()) {
|
|
87600
|
-
<div class="flex flex-col items-center justify-center py-16 space-y-6">
|
|
87601
|
-
<symphiq-indeterminate-spinner
|
|
87602
|
-
[viewMode]="viewMode()"
|
|
87603
|
-
[size]="'large'"
|
|
87604
|
-
/>
|
|
87605
|
-
<p [ngClass]="loadingTextClasses()" class="text-base font-medium">
|
|
87606
|
-
Loading your plan options...
|
|
87607
|
-
</p>
|
|
87608
|
-
</div>
|
|
87609
|
-
} @else if (planCardInfos() && planCardInfos()!.length > 0) {
|
|
87610
|
-
<div class="
|
|
87611
|
-
@for (plan of planCardInfos(); track plan.planItem.id) {
|
|
87612
|
-
<symphiq-plan-card
|
|
87613
|
-
[viewMode]="viewMode()"
|
|
87614
|
-
[planInfo]="plan"
|
|
87615
|
-
[isSelected]="isSelectedPlan(plan)"
|
|
87616
|
-
[selectedPeriodUnit]="selectedPeriodUnit()"
|
|
87617
|
-
(planSelected)="handlePlanSelection($event)"
|
|
87618
|
-
/>
|
|
87619
|
-
}
|
|
87620
|
-
</div>
|
|
87621
|
-
} @else {
|
|
87622
|
-
<div [ngClass]="emptyStateClasses()" class="text-center py-16">
|
|
87623
|
-
<svg [ngClass]="emptyIconClasses()" class="w-16 h-16 mx-auto mb-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
87624
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
|
|
87625
|
-
</svg>
|
|
87626
|
-
<p [ngClass]="emptyTextClasses()" class="text-lg font-semibold">
|
|
87627
|
-
No plans available
|
|
87628
|
-
</p>
|
|
87629
|
-
<p [ngClass]="emptySubtextClasses()" class="text-sm mt-2">
|
|
87630
|
-
Please contact support if this issue persists
|
|
87631
|
-
</p>
|
|
87632
|
-
</div>
|
|
87633
|
-
}
|
|
87634
|
-
</div>
|
|
87635
|
-
</div>
|
|
87539
|
+
template: `
|
|
87540
|
+
<div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden">
|
|
87541
|
+
<div [ngClass]="headerClasses()" class="px-6 py-5 border-b">
|
|
87542
|
+
<div class="flex items-center gap-3">
|
|
87543
|
+
<div [ngClass]="iconContainerClasses()" class="p-2.5 rounded-lg">
|
|
87544
|
+
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
87545
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"></path>
|
|
87546
|
+
</svg>
|
|
87547
|
+
</div>
|
|
87548
|
+
<div>
|
|
87549
|
+
<h2 [ngClass]="titleClasses()" class="text-xl font-bold">
|
|
87550
|
+
Choose Your Plan
|
|
87551
|
+
</h2>
|
|
87552
|
+
<p [ngClass]="subtitleClasses()" class="text-sm mt-0.5 flex items-center gap-2">
|
|
87553
|
+
Selected currency: <span class="font-semibold">{{ selectedCurrency() }}</span>
|
|
87554
|
+
<button
|
|
87555
|
+
(click)="editCurrency.emit()"
|
|
87556
|
+
[ngClass]="editButtonClasses()"
|
|
87557
|
+
class="inline-flex items-center gap-1 px-2 py-0.5 text-xs font-medium rounded-md transition-colors"
|
|
87558
|
+
>
|
|
87559
|
+
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
87560
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"></path>
|
|
87561
|
+
</svg>
|
|
87562
|
+
Edit
|
|
87563
|
+
</button>
|
|
87564
|
+
</p>
|
|
87565
|
+
</div>
|
|
87566
|
+
</div>
|
|
87567
|
+
</div>
|
|
87568
|
+
|
|
87569
|
+
<div [ngClass]="contentClasses()" class="p-8">
|
|
87570
|
+
<symphiq-billing-period-toggle
|
|
87571
|
+
[viewMode]="viewMode()"
|
|
87572
|
+
[selectedPeriodUnit]="selectedPeriodUnit()"
|
|
87573
|
+
[isLoading]="isLoading()"
|
|
87574
|
+
(periodUnitChanged)="handlePeriodChange($event)"
|
|
87575
|
+
/>
|
|
87576
|
+
|
|
87577
|
+
@if (isLoading()) {
|
|
87578
|
+
<div class="flex flex-col items-center justify-center py-16 space-y-6">
|
|
87579
|
+
<symphiq-indeterminate-spinner
|
|
87580
|
+
[viewMode]="viewMode()"
|
|
87581
|
+
[size]="'large'"
|
|
87582
|
+
/>
|
|
87583
|
+
<p [ngClass]="loadingTextClasses()" class="text-base font-medium">
|
|
87584
|
+
Loading your plan options...
|
|
87585
|
+
</p>
|
|
87586
|
+
</div>
|
|
87587
|
+
} @else if (planCardInfos() && planCardInfos()!.length > 0) {
|
|
87588
|
+
<div class="flex flex-col gap-8 mb-32">
|
|
87589
|
+
@for (plan of planCardInfos(); track plan.planItem.id) {
|
|
87590
|
+
<symphiq-plan-card
|
|
87591
|
+
[viewMode]="viewMode()"
|
|
87592
|
+
[planInfo]="plan"
|
|
87593
|
+
[isSelected]="isSelectedPlan(plan)"
|
|
87594
|
+
[selectedPeriodUnit]="selectedPeriodUnit()"
|
|
87595
|
+
(planSelected)="handlePlanSelection($event)"
|
|
87596
|
+
/>
|
|
87597
|
+
}
|
|
87598
|
+
</div>
|
|
87599
|
+
} @else {
|
|
87600
|
+
<div [ngClass]="emptyStateClasses()" class="text-center py-16">
|
|
87601
|
+
<svg [ngClass]="emptyIconClasses()" class="w-16 h-16 mx-auto mb-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
87602
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
|
|
87603
|
+
</svg>
|
|
87604
|
+
<p [ngClass]="emptyTextClasses()" class="text-lg font-semibold">
|
|
87605
|
+
No plans available
|
|
87606
|
+
</p>
|
|
87607
|
+
<p [ngClass]="emptySubtextClasses()" class="text-sm mt-2">
|
|
87608
|
+
Please contact support if this issue persists
|
|
87609
|
+
</p>
|
|
87610
|
+
</div>
|
|
87611
|
+
}
|
|
87612
|
+
</div>
|
|
87613
|
+
</div>
|
|
87636
87614
|
`
|
|
87637
87615
|
}]
|
|
87638
87616
|
}], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], selectedCurrency: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedCurrency", required: false }] }], planCardInfos: [{ type: i0.Input, args: [{ isSignal: true, alias: "planCardInfos", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], selectedPeriodUnit: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedPeriodUnit", required: false }] }], periodUnitChanged: [{ type: i0.Output, args: ["periodUnitChanged"] }], planSelected: [{ type: i0.Output, args: ["planSelected"] }], editCurrency: [{ type: i0.Output, args: ["editCurrency"] }] }); })();
|
|
@@ -88323,7 +88301,7 @@ const _c2 = a0 => [a0];
|
|
|
88323
88301
|
const _forTrack0 = ($index, $item) => $item.id;
|
|
88324
88302
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
88325
88303
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
88326
|
-
i0.ɵɵelementStart(0, "symphiq-journey-progress-indicator",
|
|
88304
|
+
i0.ɵɵelementStart(0, "symphiq-journey-progress-indicator", 24);
|
|
88327
88305
|
i0.ɵɵlistener("nextStepClick", function SymphiqProfileAnalysisDashboardComponent_Conditional_6_Template_symphiq_journey_progress_indicator_nextStepClick_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.nextStepClick.emit()); })("stepClick", function SymphiqProfileAnalysisDashboardComponent_Conditional_6_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)); });
|
|
88328
88306
|
i0.ɵɵelementEnd();
|
|
88329
88307
|
} if (rf & 2) {
|
|
@@ -88331,20 +88309,20 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_6_Template(rf, ctx
|
|
|
88331
88309
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("currentStepId", ctx_r1.currentStepId())("showNextStepAction", ctx_r1.shouldShowContinueButton())("forDemo", ctx_r1.forDemo())("maxAccessibleStepId", ctx_r1.maxAccessibleStepId());
|
|
88332
88310
|
} }
|
|
88333
88311
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
88334
|
-
i0.ɵɵelement(0, "symphiq-shop-welcome-banner",
|
|
88312
|
+
i0.ɵɵelement(0, "symphiq-shop-welcome-banner", 25);
|
|
88335
88313
|
} if (rf & 2) {
|
|
88336
88314
|
let tmp_3_0;
|
|
88337
88315
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
88338
88316
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("businessName", ((tmp_3_0 = ctx_r1.profileAnalysis()) == null ? null : tmp_3_0.profileAnalysisStructured == null ? null : tmp_3_0.profileAnalysisStructured.businessName) || "your shop")("isOnboarded", ctx_r1.isOnboarded());
|
|
88339
88317
|
} }
|
|
88340
88318
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
88341
|
-
i0.ɵɵelement(0, "symphiq-focus-area-welcome-banner",
|
|
88319
|
+
i0.ɵɵelement(0, "symphiq-focus-area-welcome-banner", 26);
|
|
88342
88320
|
} if (rf & 2) {
|
|
88343
88321
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
88344
88322
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("focusAreaDomain", ctx_r1.focusAreaDomain())("focusAreaName", ctx_r1.focusAreaName())("focusAreaDetails", ctx_r1.focusAreaDetails());
|
|
88345
88323
|
} }
|
|
88346
88324
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
88347
|
-
i0.ɵɵelement(0, "symphiq-metric-welcome-banner",
|
|
88325
|
+
i0.ɵɵelement(0, "symphiq-metric-welcome-banner", 27);
|
|
88348
88326
|
} if (rf & 2) {
|
|
88349
88327
|
let tmp_3_0;
|
|
88350
88328
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -88352,9 +88330,9 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_3_Te
|
|
|
88352
88330
|
} }
|
|
88353
88331
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
88354
88332
|
i0.ɵɵelementStart(0, "div", 7);
|
|
88355
|
-
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_1_Template, 1, 3, "symphiq-shop-welcome-banner",
|
|
88356
|
-
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_2_Template, 1, 4, "symphiq-focus-area-welcome-banner",
|
|
88357
|
-
i0.ɵɵconditionalCreate(3, SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_3_Template, 1, 3, "symphiq-metric-welcome-banner",
|
|
88333
|
+
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_1_Template, 1, 3, "symphiq-shop-welcome-banner", 25);
|
|
88334
|
+
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_2_Template, 1, 4, "symphiq-focus-area-welcome-banner", 26);
|
|
88335
|
+
i0.ɵɵconditionalCreate(3, SymphiqProfileAnalysisDashboardComponent_Conditional_8_Conditional_3_Template, 1, 3, "symphiq-metric-welcome-banner", 27);
|
|
88358
88336
|
i0.ɵɵelementEnd();
|
|
88359
88337
|
} if (rf & 2) {
|
|
88360
88338
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -88367,7 +88345,7 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_8_Template(rf, ctx
|
|
|
88367
88345
|
} }
|
|
88368
88346
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
88369
88347
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
88370
|
-
i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid",
|
|
88348
|
+
i0.ɵɵelementStart(0, "symphiq-strategic-goals-tiled-grid", 30);
|
|
88371
88349
|
i0.ɵɵlistener("viewMoreClick", function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_1_Template_symphiq_strategic_goals_tiled_grid_viewMoreClick_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.openGoalModal($event)); });
|
|
88372
88350
|
i0.ɵɵelementEnd();
|
|
88373
88351
|
} if (rf & 2) {
|
|
@@ -88375,8 +88353,8 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_1_Te
|
|
|
88375
88353
|
i0.ɵɵproperty("goals", ctx_r1.strategicRoadmapGoals())("viewMode", ctx_r1.viewMode());
|
|
88376
88354
|
} }
|
|
88377
88355
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
88378
|
-
i0.ɵɵelementStart(0, "div",
|
|
88379
|
-
i0.ɵɵelement(1, "symphiq-subscription-value-proposition-card",
|
|
88356
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
88357
|
+
i0.ɵɵelement(1, "symphiq-subscription-value-proposition-card", 34);
|
|
88380
88358
|
i0.ɵɵelementEnd();
|
|
88381
88359
|
} if (rf & 2) {
|
|
88382
88360
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
@@ -88385,20 +88363,21 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Co
|
|
|
88385
88363
|
} }
|
|
88386
88364
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
88387
88365
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
88388
|
-
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_0_Conditional_0_Template, 2, 1, "div",
|
|
88389
|
-
i0.ɵɵelementStart(1, "symphiq-billing-currency-selector-card",
|
|
88390
|
-
i0.ɵɵlistener("currencySelected", function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_0_Template_symphiq_billing_currency_selector_card_currencySelected_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.
|
|
88366
|
+
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_0_Conditional_0_Template, 2, 1, "div", 28);
|
|
88367
|
+
i0.ɵɵelementStart(1, "symphiq-billing-currency-selector-card", 33);
|
|
88368
|
+
i0.ɵɵlistener("currencySelected", function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_0_Template_symphiq_billing_currency_selector_card_currencySelected_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handleCurrencyChange($event)); });
|
|
88391
88369
|
i0.ɵɵelementEnd();
|
|
88392
88370
|
} if (rf & 2) {
|
|
88371
|
+
let tmp_6_0;
|
|
88393
88372
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
88394
88373
|
i0.ɵɵconditional(!ctx_r1.hasBillingCurrency() ? 0 : -1);
|
|
88395
88374
|
i0.ɵɵadvance();
|
|
88396
|
-
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("isLoading", ctx_r1.isCurrencySelectionLoading())("
|
|
88375
|
+
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("isLoading", ctx_r1.isCurrencySelectionLoading())("initialCurrency", ctx_r1.isEditingCurrency() ? ((tmp_6_0 = ctx_r1.account()) == null ? null : tmp_6_0.billingCurrencyCode) || null : null);
|
|
88397
88376
|
} }
|
|
88398
88377
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
88399
88378
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
88400
|
-
i0.ɵɵelementStart(0, "div",
|
|
88401
|
-
i0.ɵɵlistener("periodUnitChanged", function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template_symphiq_plan_selection_container_periodUnitChanged_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handlePeriodUnitChange($event)); })("planSelected", function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template_symphiq_plan_selection_container_planSelected_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handlePlanSelection($event)); })("editCurrency", function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template_symphiq_plan_selection_container_editCurrency_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.
|
|
88379
|
+
i0.ɵɵelementStart(0, "div", 31)(1, "symphiq-plan-selection-container", 35);
|
|
88380
|
+
i0.ɵɵlistener("periodUnitChanged", function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template_symphiq_plan_selection_container_periodUnitChanged_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handlePeriodUnitChange($event)); })("planSelected", function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template_symphiq_plan_selection_container_planSelected_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handlePlanSelection($event)); })("editCurrency", function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template_symphiq_plan_selection_container_editCurrency_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handleEditCurrencyClick()); });
|
|
88402
88381
|
i0.ɵɵelementEnd()();
|
|
88403
88382
|
} if (rf & 2) {
|
|
88404
88383
|
let tmp_4_0;
|
|
@@ -88408,7 +88387,7 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Co
|
|
|
88408
88387
|
} }
|
|
88409
88388
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
88410
88389
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
88411
|
-
i0.ɵɵelementStart(0, "symphiq-plan-selection-placeholder-card",
|
|
88390
|
+
i0.ɵɵelementStart(0, "symphiq-plan-selection-placeholder-card", 36);
|
|
88412
88391
|
i0.ɵɵlistener("editCurrency", function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_2_Template_symphiq_plan_selection_placeholder_card_editCurrency_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.handleEditCurrencyClick()); });
|
|
88413
88392
|
i0.ɵɵelementEnd();
|
|
88414
88393
|
} if (rf & 2) {
|
|
@@ -88417,14 +88396,14 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Co
|
|
|
88417
88396
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("selectedCurrency", ((tmp_4_0 = ctx_r1.account()) == null ? null : tmp_4_0.billingCurrencyCode) || ctx_r1.CurrencyCodeEnum.USD);
|
|
88418
88397
|
} }
|
|
88419
88398
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
88420
|
-
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_0_Template, 2, 4)(1, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template, 2, 5, "div",
|
|
88399
|
+
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_0_Template, 2, 4)(1, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_1_Template, 2, 5, "div", 31)(2, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Conditional_2_Template, 1, 2, "symphiq-plan-selection-placeholder-card", 32);
|
|
88421
88400
|
} if (rf & 2) {
|
|
88422
88401
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
88423
88402
|
i0.ɵɵconditional(!ctx_r1.hasBillingCurrency() || ctx_r1.isEditingCurrency() ? 0 : ctx_r1.showPlanSelection() ? 1 : 2);
|
|
88424
88403
|
} }
|
|
88425
88404
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
88426
88405
|
i0.ɵɵelementStart(0, "div");
|
|
88427
|
-
i0.ɵɵelement(1, "symphiq-collapsible-analysis-section-group",
|
|
88406
|
+
i0.ɵɵelement(1, "symphiq-collapsible-analysis-section-group", 37);
|
|
88428
88407
|
i0.ɵɵelementEnd();
|
|
88429
88408
|
} if (rf & 2) {
|
|
88430
88409
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -88432,8 +88411,8 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_3_Te
|
|
|
88432
88411
|
i0.ɵɵproperty("sections", ctx_r1.nonStrategicSections())("viewMode", ctx_r1.viewMode())("executiveSummary", ctx_r1.executiveSummary())("focusAreaExecutiveSummary", ctx_r1.focusAreaExecutiveSummary())("metricExecutiveSummary", ctx_r1.metricExecutiveSummary())("metricName", ctx_r1.metricName())("allGoals", ctx_r1.allGoals())("allMetrics", ctx_r1.allMetrics())("allCharts", ctx_r1.allCharts())("allInsights", ctx_r1.allInsights())("businessProfile", ctx_r1.profile());
|
|
88433
88412
|
} }
|
|
88434
88413
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
88435
|
-
i0.ɵɵelementStart(0, "div",
|
|
88436
|
-
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_1_Template, 1, 2, "symphiq-strategic-goals-tiled-grid",
|
|
88414
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
88415
|
+
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_1_Template, 1, 2, "symphiq-strategic-goals-tiled-grid", 29)(2, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_2_Template, 3, 1);
|
|
88437
88416
|
i0.ɵɵelementEnd();
|
|
88438
88417
|
i0.ɵɵconditionalCreate(3, SymphiqProfileAnalysisDashboardComponent_Conditional_9_Conditional_3_Template, 2, 11, "div");
|
|
88439
88418
|
} if (rf & 2) {
|
|
@@ -88444,15 +88423,15 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_9_Template(rf, ctx
|
|
|
88444
88423
|
i0.ɵɵconditional(ctx_r1.nonStrategicSections().length > 0 ? 3 : -1);
|
|
88445
88424
|
} }
|
|
88446
88425
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
88447
|
-
i0.ɵɵelement(0, "symphiq-grade-badge",
|
|
88426
|
+
i0.ɵɵelement(0, "symphiq-grade-badge", 48);
|
|
88448
88427
|
} if (rf & 2) {
|
|
88449
88428
|
const summary_r8 = i0.ɵɵnextContext();
|
|
88450
88429
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
88451
88430
|
i0.ɵɵproperty("grade", summary_r8.overallGrade)("gradeRationale", summary_r8.gradeRationale || "")("viewMode", ctx_r1.viewMode());
|
|
88452
88431
|
} }
|
|
88453
88432
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_10_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
88454
|
-
i0.ɵɵelementStart(0, "div",
|
|
88455
|
-
i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder",
|
|
88433
|
+
i0.ɵɵelementStart(0, "div", 61);
|
|
88434
|
+
i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 64);
|
|
88456
88435
|
i0.ɵɵelementEnd();
|
|
88457
88436
|
} if (rf & 2) {
|
|
88458
88437
|
const summary_r8 = i0.ɵɵnextContext(2);
|
|
@@ -88461,15 +88440,15 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_C
|
|
|
88461
88440
|
i0.ɵɵproperty("visual", summary_r8.napkinVisual)("viewMode", ctx_r1.viewMode());
|
|
88462
88441
|
} }
|
|
88463
88442
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
88464
|
-
i0.ɵɵelementStart(0, "div",
|
|
88443
|
+
i0.ɵɵelementStart(0, "div", 49)(1, "h3", 59);
|
|
88465
88444
|
i0.ɵɵtext(2, " Analysis Narrative ");
|
|
88466
88445
|
i0.ɵɵelementEnd();
|
|
88467
|
-
i0.ɵɵelementStart(3, "div",
|
|
88468
|
-
i0.ɵɵconditionalCreate(4, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_10_Conditional_4_Template, 2, 2, "div",
|
|
88469
|
-
i0.ɵɵelementStart(5, "p",
|
|
88446
|
+
i0.ɵɵelementStart(3, "div", 60);
|
|
88447
|
+
i0.ɵɵconditionalCreate(4, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_10_Conditional_4_Template, 2, 2, "div", 61);
|
|
88448
|
+
i0.ɵɵelementStart(5, "p", 62);
|
|
88470
88449
|
i0.ɵɵtext(6);
|
|
88471
88450
|
i0.ɵɵelementEnd();
|
|
88472
|
-
i0.ɵɵelement(7, "div",
|
|
88451
|
+
i0.ɵɵelement(7, "div", 63);
|
|
88473
88452
|
i0.ɵɵelementEnd()();
|
|
88474
88453
|
} if (rf & 2) {
|
|
88475
88454
|
const summary_r8 = i0.ɵɵnextContext();
|
|
@@ -88485,10 +88464,10 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_C
|
|
|
88485
88464
|
i0.ɵɵtextInterpolate1(" ", summary_r8.narrative, " ");
|
|
88486
88465
|
} }
|
|
88487
88466
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_For_5_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
88488
|
-
i0.ɵɵelementStart(0, "div",
|
|
88467
|
+
i0.ɵɵelementStart(0, "div", 74);
|
|
88489
88468
|
i0.ɵɵnamespaceSVG();
|
|
88490
|
-
i0.ɵɵelementStart(1, "svg",
|
|
88491
|
-
i0.ɵɵelement(2, "path",
|
|
88469
|
+
i0.ɵɵelementStart(1, "svg", 76);
|
|
88470
|
+
i0.ɵɵelement(2, "path", 77);
|
|
88492
88471
|
i0.ɵɵelementEnd();
|
|
88493
88472
|
i0.ɵɵnamespaceHTML();
|
|
88494
88473
|
i0.ɵɵelementStart(3, "span");
|
|
@@ -88502,10 +88481,10 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_C
|
|
|
88502
88481
|
i0.ɵɵtextInterpolate(win_r9.estimatedTimeframe);
|
|
88503
88482
|
} }
|
|
88504
88483
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_For_5_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
88505
|
-
i0.ɵɵelementStart(0, "div",
|
|
88484
|
+
i0.ɵɵelementStart(0, "div", 75)(1, "h4", 78);
|
|
88506
88485
|
i0.ɵɵtext(2, " Related Goal ");
|
|
88507
88486
|
i0.ɵɵelementEnd();
|
|
88508
|
-
i0.ɵɵelement(3, "symphiq-related-goal-chips",
|
|
88487
|
+
i0.ɵɵelement(3, "symphiq-related-goal-chips", 79);
|
|
88509
88488
|
i0.ɵɵelementEnd();
|
|
88510
88489
|
} if (rf & 2) {
|
|
88511
88490
|
const win_r9 = i0.ɵɵnextContext().$implicit;
|
|
@@ -88516,20 +88495,20 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_C
|
|
|
88516
88495
|
i0.ɵɵproperty("relatedGoalIds", i0.ɵɵpureFunction1(4, _c2, win_r9.relatedGoalId))("allGoals", ctx_r1.allGoals())("viewMode", ctx_r1.viewMode());
|
|
88517
88496
|
} }
|
|
88518
88497
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
88519
|
-
i0.ɵɵelementStart(0, "div",
|
|
88498
|
+
i0.ɵɵelementStart(0, "div", 67)(1, "div", 68)(2, "div", 69)(3, "span", 70);
|
|
88520
88499
|
i0.ɵɵtext(4);
|
|
88521
88500
|
i0.ɵɵelementEnd();
|
|
88522
|
-
i0.ɵɵelementStart(5, "p",
|
|
88501
|
+
i0.ɵɵelementStart(5, "p", 71);
|
|
88523
88502
|
i0.ɵɵtext(6);
|
|
88524
88503
|
i0.ɵɵelementEnd()();
|
|
88525
|
-
i0.ɵɵelementStart(7, "div",
|
|
88504
|
+
i0.ɵɵelementStart(7, "div", 72)(8, "span", 73);
|
|
88526
88505
|
i0.ɵɵtext(9);
|
|
88527
88506
|
i0.ɵɵelementEnd();
|
|
88528
|
-
i0.ɵɵelementStart(10, "span",
|
|
88507
|
+
i0.ɵɵelementStart(10, "span", 73);
|
|
88529
88508
|
i0.ɵɵtext(11);
|
|
88530
88509
|
i0.ɵɵelementEnd()();
|
|
88531
|
-
i0.ɵɵconditionalCreate(12, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_For_5_Conditional_12_Template, 5, 2, "div",
|
|
88532
|
-
i0.ɵɵconditionalCreate(13, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_For_5_Conditional_13_Template, 4, 6, "div",
|
|
88510
|
+
i0.ɵɵconditionalCreate(12, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_For_5_Conditional_12_Template, 5, 2, "div", 74);
|
|
88511
|
+
i0.ɵɵconditionalCreate(13, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_For_5_Conditional_13_Template, 4, 6, "div", 75);
|
|
88533
88512
|
i0.ɵɵelementEnd()();
|
|
88534
88513
|
} if (rf & 2) {
|
|
88535
88514
|
const win_r9 = ctx.$implicit;
|
|
@@ -88558,11 +88537,11 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_C
|
|
|
88558
88537
|
i0.ɵɵconditional(win_r9.relatedGoalId ? 13 : -1);
|
|
88559
88538
|
} }
|
|
88560
88539
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_Template(rf, ctx) { if (rf & 1) {
|
|
88561
|
-
i0.ɵɵelementStart(0, "div",
|
|
88540
|
+
i0.ɵɵelementStart(0, "div", 58)(1, "h3", 65);
|
|
88562
88541
|
i0.ɵɵtext(2, " Quick Wins ");
|
|
88563
88542
|
i0.ɵɵelementEnd();
|
|
88564
|
-
i0.ɵɵelementStart(3, "div",
|
|
88565
|
-
i0.ɵɵrepeaterCreate(4, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_For_5_Template, 14, 11, "div",
|
|
88543
|
+
i0.ɵɵelementStart(3, "div", 66);
|
|
88544
|
+
i0.ɵɵrepeaterCreate(4, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_For_5_Template, 14, 11, "div", 67, i0.ɵɵrepeaterTrackByIndex);
|
|
88566
88545
|
i0.ɵɵelementEnd()();
|
|
88567
88546
|
} if (rf & 2) {
|
|
88568
88547
|
const summary_r8 = i0.ɵɵnextContext();
|
|
@@ -88574,55 +88553,55 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_C
|
|
|
88574
88553
|
} }
|
|
88575
88554
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
88576
88555
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
88577
|
-
i0.ɵɵelementStart(0, "section",
|
|
88556
|
+
i0.ɵɵelementStart(0, "section", 38)(1, "div", 42)(2, "div", 43)(3, "div", 44)(4, "div", 45)(5, "h2", 46);
|
|
88578
88557
|
i0.ɵɵtext(6, " Executive Summary ");
|
|
88579
88558
|
i0.ɵɵelementEnd();
|
|
88580
|
-
i0.ɵɵelementStart(7, "p",
|
|
88559
|
+
i0.ɵɵelementStart(7, "p", 47);
|
|
88581
88560
|
i0.ɵɵtext(8);
|
|
88582
88561
|
i0.ɵɵelementEnd()();
|
|
88583
|
-
i0.ɵɵconditionalCreate(9, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_9_Template, 1, 3, "symphiq-grade-badge",
|
|
88562
|
+
i0.ɵɵconditionalCreate(9, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_9_Template, 1, 3, "symphiq-grade-badge", 48);
|
|
88584
88563
|
i0.ɵɵelementEnd();
|
|
88585
|
-
i0.ɵɵconditionalCreate(10, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_10_Template, 8, 5, "div",
|
|
88586
|
-
i0.ɵɵelementStart(11, "div",
|
|
88564
|
+
i0.ɵɵconditionalCreate(10, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_10_Template, 8, 5, "div", 49);
|
|
88565
|
+
i0.ɵɵelementStart(11, "div", 50)(12, "button", 51);
|
|
88587
88566
|
i0.ɵɵlistener("click", function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Template_button_click_12_listener() { const summary_r8 = i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onKeyStrengthsClick(summary_r8)); });
|
|
88588
|
-
i0.ɵɵelementStart(13, "div",
|
|
88567
|
+
i0.ɵɵelementStart(13, "div", 52);
|
|
88589
88568
|
i0.ɵɵtext(14, " Key Strengths ");
|
|
88590
88569
|
i0.ɵɵelementEnd();
|
|
88591
|
-
i0.ɵɵelementStart(15, "div",
|
|
88570
|
+
i0.ɵɵelementStart(15, "div", 53);
|
|
88592
88571
|
i0.ɵɵtext(16);
|
|
88593
88572
|
i0.ɵɵelementEnd();
|
|
88594
|
-
i0.ɵɵelementStart(17, "div",
|
|
88573
|
+
i0.ɵɵelementStart(17, "div", 54)(18, "span", 55);
|
|
88595
88574
|
i0.ɵɵtext(19, "View Details");
|
|
88596
88575
|
i0.ɵɵelementEnd();
|
|
88597
|
-
i0.ɵɵelement(20, "symphiq-icon",
|
|
88576
|
+
i0.ɵɵelement(20, "symphiq-icon", 56);
|
|
88598
88577
|
i0.ɵɵelementEnd()();
|
|
88599
|
-
i0.ɵɵelementStart(21, "button",
|
|
88578
|
+
i0.ɵɵelementStart(21, "button", 51);
|
|
88600
88579
|
i0.ɵɵlistener("click", function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Template_button_click_21_listener() { const summary_r8 = i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onCriticalGapsClick(summary_r8)); });
|
|
88601
|
-
i0.ɵɵelementStart(22, "div",
|
|
88580
|
+
i0.ɵɵelementStart(22, "div", 52);
|
|
88602
88581
|
i0.ɵɵtext(23, " Critical Gaps ");
|
|
88603
88582
|
i0.ɵɵelementEnd();
|
|
88604
|
-
i0.ɵɵelementStart(24, "div",
|
|
88583
|
+
i0.ɵɵelementStart(24, "div", 53);
|
|
88605
88584
|
i0.ɵɵtext(25);
|
|
88606
88585
|
i0.ɵɵelementEnd();
|
|
88607
|
-
i0.ɵɵelementStart(26, "div",
|
|
88586
|
+
i0.ɵɵelementStart(26, "div", 54)(27, "span", 55);
|
|
88608
88587
|
i0.ɵɵtext(28, "View Details");
|
|
88609
88588
|
i0.ɵɵelementEnd();
|
|
88610
|
-
i0.ɵɵelement(29, "symphiq-icon",
|
|
88589
|
+
i0.ɵɵelement(29, "symphiq-icon", 56);
|
|
88611
88590
|
i0.ɵɵelementEnd()();
|
|
88612
|
-
i0.ɵɵelementStart(30, "button",
|
|
88591
|
+
i0.ɵɵelementStart(30, "button", 51);
|
|
88613
88592
|
i0.ɵɵlistener("click", function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Template_button_click_30_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.scrollToQuickWins()); });
|
|
88614
|
-
i0.ɵɵelementStart(31, "div",
|
|
88593
|
+
i0.ɵɵelementStart(31, "div", 52);
|
|
88615
88594
|
i0.ɵɵtext(32, " Quick Wins ");
|
|
88616
88595
|
i0.ɵɵelementEnd();
|
|
88617
|
-
i0.ɵɵelementStart(33, "div",
|
|
88596
|
+
i0.ɵɵelementStart(33, "div", 53);
|
|
88618
88597
|
i0.ɵɵtext(34);
|
|
88619
88598
|
i0.ɵɵelementEnd();
|
|
88620
|
-
i0.ɵɵelementStart(35, "div",
|
|
88599
|
+
i0.ɵɵelementStart(35, "div", 54)(36, "span", 55);
|
|
88621
88600
|
i0.ɵɵtext(37, "Details Below");
|
|
88622
88601
|
i0.ɵɵelementEnd();
|
|
88623
|
-
i0.ɵɵelement(38, "symphiq-icon",
|
|
88602
|
+
i0.ɵɵelement(38, "symphiq-icon", 57);
|
|
88624
88603
|
i0.ɵɵelementEnd()()()()();
|
|
88625
|
-
i0.ɵɵconditionalCreate(39, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_Template, 6, 1, "div",
|
|
88604
|
+
i0.ɵɵconditionalCreate(39, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Conditional_39_Template, 6, 1, "div", 58);
|
|
88626
88605
|
i0.ɵɵelementEnd();
|
|
88627
88606
|
} if (rf & 2) {
|
|
88628
88607
|
const summary_r8 = ctx;
|
|
@@ -88680,7 +88659,7 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_T
|
|
|
88680
88659
|
} }
|
|
88681
88660
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
88682
88661
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
88683
|
-
i0.ɵɵelementStart(0, "symphiq-focus-area-executive-summary",
|
|
88662
|
+
i0.ɵɵelementStart(0, "symphiq-focus-area-executive-summary", 80);
|
|
88684
88663
|
i0.ɵɵlistener("topPrioritiesClick", function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_1_Template_symphiq_focus_area_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleTopPrioritiesClick()); })("priorityDetailClick", function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_1_Template_symphiq_focus_area_executive_summary_priorityDetailClick_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handlePriorityDetailClick($event)); });
|
|
88685
88664
|
i0.ɵɵelementEnd();
|
|
88686
88665
|
} if (rf & 2) {
|
|
@@ -88689,7 +88668,7 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_1_T
|
|
|
88689
88668
|
} }
|
|
88690
88669
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
88691
88670
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
88692
|
-
i0.ɵɵelementStart(0, "symphiq-metric-executive-summary",
|
|
88671
|
+
i0.ɵɵelementStart(0, "symphiq-metric-executive-summary", 81);
|
|
88693
88672
|
i0.ɵɵlistener("topPrioritiesClick", function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_2_Template_symphiq_metric_executive_summary_topPrioritiesClick_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleMetricTopPrioritiesClick()); })("priorityDetailClick", function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_2_Template_symphiq_metric_executive_summary_priorityDetailClick_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleMetricPriorityDetailClick($event)); });
|
|
88694
88673
|
i0.ɵɵelementEnd();
|
|
88695
88674
|
} if (rf & 2) {
|
|
@@ -88697,21 +88676,21 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_2_T
|
|
|
88697
88676
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("summary", ctx)("metricName", ctx_r1.metricName())("allGoals", ctx_r1.allGoals());
|
|
88698
88677
|
} }
|
|
88699
88678
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
88700
|
-
i0.ɵɵelement(0, "symphiq-section-divider",
|
|
88679
|
+
i0.ɵɵelement(0, "symphiq-section-divider", 82);
|
|
88701
88680
|
} if (rf & 2) {
|
|
88702
88681
|
const sectionList_r13 = i0.ɵɵnextContext();
|
|
88703
88682
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
88704
88683
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r13[0].icon);
|
|
88705
88684
|
} }
|
|
88706
88685
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
88707
|
-
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_3_Conditional_0_Template, 1, 2, "symphiq-section-divider",
|
|
88686
|
+
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_3_Conditional_0_Template, 1, 2, "symphiq-section-divider", 82);
|
|
88708
88687
|
} if (rf & 2) {
|
|
88709
88688
|
const sectionList_r13 = ctx;
|
|
88710
88689
|
i0.ɵɵconditional(sectionList_r13.length > 0 && sectionList_r13[0].icon ? 0 : -1);
|
|
88711
88690
|
} }
|
|
88712
88691
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
88713
|
-
i0.ɵɵelementStart(0, "div",
|
|
88714
|
-
i0.ɵɵelement(1, "symphiq-icon",
|
|
88692
|
+
i0.ɵɵelementStart(0, "div", 85);
|
|
88693
|
+
i0.ɵɵelement(1, "symphiq-icon", 89);
|
|
88715
88694
|
i0.ɵɵelementEnd();
|
|
88716
88695
|
} if (rf & 2) {
|
|
88717
88696
|
const section_r14 = i0.ɵɵnextContext().$implicit;
|
|
@@ -88721,8 +88700,8 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_F
|
|
|
88721
88700
|
i0.ɵɵproperty("icon", section_r14.icon);
|
|
88722
88701
|
} }
|
|
88723
88702
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
88724
|
-
i0.ɵɵelementStart(0, "div",
|
|
88725
|
-
i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder",
|
|
88703
|
+
i0.ɵɵelementStart(0, "div", 91);
|
|
88704
|
+
i0.ɵɵelement(1, "symphiq-napkin-visual-placeholder", 64);
|
|
88726
88705
|
i0.ɵɵelementEnd();
|
|
88727
88706
|
} if (rf & 2) {
|
|
88728
88707
|
const section_r14 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -88731,7 +88710,7 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_F
|
|
|
88731
88710
|
i0.ɵɵproperty("visual", section_r14.visual)("viewMode", ctx_r1.viewMode());
|
|
88732
88711
|
} }
|
|
88733
88712
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
88734
|
-
i0.ɵɵelementStart(0, "div",
|
|
88713
|
+
i0.ɵɵelementStart(0, "div", 93)(1, "p", 62);
|
|
88735
88714
|
i0.ɵɵtext(2);
|
|
88736
88715
|
i0.ɵɵelementEnd()();
|
|
88737
88716
|
} if (rf & 2) {
|
|
@@ -88744,9 +88723,9 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_F
|
|
|
88744
88723
|
i0.ɵɵtextInterpolate1(" ", section_r14.description, " ");
|
|
88745
88724
|
} }
|
|
88746
88725
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
88747
|
-
i0.ɵɵelementStart(0, "div",
|
|
88748
|
-
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div",
|
|
88749
|
-
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div",
|
|
88726
|
+
i0.ɵɵelementStart(0, "div", 90);
|
|
88727
|
+
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_6_Conditional_1_Template, 2, 2, "div", 91);
|
|
88728
|
+
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_6_Conditional_2_Template, 3, 6, "div", 92);
|
|
88750
88729
|
i0.ɵɵelementEnd();
|
|
88751
88730
|
} if (rf & 2) {
|
|
88752
88731
|
const ctx_r14 = i0.ɵɵnextContext();
|
|
@@ -88759,7 +88738,7 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_F
|
|
|
88759
88738
|
i0.ɵɵconditional(section_r14.description ? 2 : -1);
|
|
88760
88739
|
} }
|
|
88761
88740
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
88762
|
-
i0.ɵɵelement(0, "symphiq-section-divider",
|
|
88741
|
+
i0.ɵɵelement(0, "symphiq-section-divider", 82);
|
|
88763
88742
|
} if (rf & 2) {
|
|
88764
88743
|
const ɵ$index_204_r16 = i0.ɵɵnextContext().$index;
|
|
88765
88744
|
const sectionList_r17 = i0.ɵɵnextContext();
|
|
@@ -88767,15 +88746,15 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_F
|
|
|
88767
88746
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("sectionIcon", sectionList_r17[ɵ$index_204_r16 + 1].icon);
|
|
88768
88747
|
} }
|
|
88769
88748
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
88770
|
-
i0.ɵɵelementStart(0, "div",
|
|
88771
|
-
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_2_Template, 2, 2, "div",
|
|
88772
|
-
i0.ɵɵelementStart(3, "div",
|
|
88749
|
+
i0.ɵɵelementStart(0, "div", 83)(1, "div", 84);
|
|
88750
|
+
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_2_Template, 2, 2, "div", 85);
|
|
88751
|
+
i0.ɵɵelementStart(3, "div", 45)(4, "h3", 86);
|
|
88773
88752
|
i0.ɵɵtext(5);
|
|
88774
88753
|
i0.ɵɵelementEnd()()();
|
|
88775
|
-
i0.ɵɵconditionalCreate(6, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_6_Template, 3, 4, "div",
|
|
88776
|
-
i0.ɵɵelement(7, "symphiq-profile-section-content",
|
|
88754
|
+
i0.ɵɵconditionalCreate(6, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_6_Template, 3, 4, "div", 87);
|
|
88755
|
+
i0.ɵɵelement(7, "symphiq-profile-section-content", 88);
|
|
88777
88756
|
i0.ɵɵelementEnd();
|
|
88778
|
-
i0.ɵɵconditionalCreate(8, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider",
|
|
88757
|
+
i0.ɵɵconditionalCreate(8, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Conditional_8_Template, 1, 2, "symphiq-section-divider", 82);
|
|
88779
88758
|
} if (rf & 2) {
|
|
88780
88759
|
const section_r14 = ctx.$implicit;
|
|
88781
88760
|
const ɵ$index_204_r16 = ctx.$index;
|
|
@@ -88796,7 +88775,7 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_F
|
|
|
88796
88775
|
i0.ɵɵconditional(!(ɵ$index_204_r16 === ɵ$count_204_r18 - 1) ? 8 : -1);
|
|
88797
88776
|
} }
|
|
88798
88777
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
88799
|
-
i0.ɵɵelementStart(0, "section",
|
|
88778
|
+
i0.ɵɵelementStart(0, "section", 41);
|
|
88800
88779
|
i0.ɵɵrepeaterCreate(1, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_For_2_Template, 9, 16, null, null, _forTrack0);
|
|
88801
88780
|
i0.ɵɵelementEnd();
|
|
88802
88781
|
} if (rf & 2) {
|
|
@@ -88804,11 +88783,11 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_T
|
|
|
88804
88783
|
i0.ɵɵrepeater(ctx);
|
|
88805
88784
|
} }
|
|
88806
88785
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
88807
|
-
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Template, 40, 34, "section",
|
|
88808
|
-
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_1_Template, 1, 3, "symphiq-focus-area-executive-summary",
|
|
88809
|
-
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_2_Template, 1, 4, "symphiq-metric-executive-summary",
|
|
88786
|
+
i0.ɵɵconditionalCreate(0, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_0_Template, 40, 34, "section", 38);
|
|
88787
|
+
i0.ɵɵconditionalCreate(1, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_1_Template, 1, 3, "symphiq-focus-area-executive-summary", 39);
|
|
88788
|
+
i0.ɵɵconditionalCreate(2, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_2_Template, 1, 4, "symphiq-metric-executive-summary", 40);
|
|
88810
88789
|
i0.ɵɵconditionalCreate(3, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_3_Template, 1, 1);
|
|
88811
|
-
i0.ɵɵconditionalCreate(4, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_Template, 3, 0, "section",
|
|
88790
|
+
i0.ɵɵconditionalCreate(4, SymphiqProfileAnalysisDashboardComponent_Conditional_10_Conditional_4_Template, 3, 0, "section", 41);
|
|
88812
88791
|
} if (rf & 2) {
|
|
88813
88792
|
let tmp_1_0;
|
|
88814
88793
|
let tmp_2_0;
|
|
@@ -88893,13 +88872,38 @@ function SymphiqProfileAnalysisDashboardComponent_Conditional_23_Template(rf, ct
|
|
|
88893
88872
|
} }
|
|
88894
88873
|
function SymphiqProfileAnalysisDashboardComponent_Conditional_27_Template(rf, ctx) { if (rf & 1) {
|
|
88895
88874
|
const _r27 = i0.ɵɵgetCurrentView();
|
|
88896
|
-
i0.ɵɵelementStart(0, "symphiq-sticky-subscription-continue-button",
|
|
88875
|
+
i0.ɵɵelementStart(0, "symphiq-sticky-subscription-continue-button", 94);
|
|
88897
88876
|
i0.ɵɵlistener("continueClick", function SymphiqProfileAnalysisDashboardComponent_Conditional_27_Template_symphiq_sticky_subscription_continue_button_continueClick_0_listener() { i0.ɵɵrestoreView(_r27); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleStickyButtonClick()); });
|
|
88898
88877
|
i0.ɵɵelementEnd();
|
|
88899
88878
|
} if (rf & 2) {
|
|
88900
88879
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
88901
88880
|
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("isEnabled", ctx_r1.hasCurrencySelected())("isLoading", ctx_r1.isCurrencySelectionLoading());
|
|
88902
88881
|
} }
|
|
88882
|
+
function SymphiqProfileAnalysisDashboardComponent_Conditional_28_Template(rf, ctx) { if (rf & 1) {
|
|
88883
|
+
const _r28 = i0.ɵɵgetCurrentView();
|
|
88884
|
+
i0.ɵɵelementStart(0, "div", 23)(1, "div", 95)(2, "div", 96)(3, "button", 97);
|
|
88885
|
+
i0.ɵɵlistener("click", function SymphiqProfileAnalysisDashboardComponent_Conditional_28_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r28); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleCancelCurrencyEdit()); });
|
|
88886
|
+
i0.ɵɵtext(4, " Cancel ");
|
|
88887
|
+
i0.ɵɵelementEnd();
|
|
88888
|
+
i0.ɵɵelementStart(5, "button", 98);
|
|
88889
|
+
i0.ɵɵlistener("click", function SymphiqProfileAnalysisDashboardComponent_Conditional_28_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r28); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleContinueToPlans()); });
|
|
88890
|
+
i0.ɵɵelementStart(6, "span");
|
|
88891
|
+
i0.ɵɵtext(7, "Continue to Plans");
|
|
88892
|
+
i0.ɵɵelementEnd();
|
|
88893
|
+
i0.ɵɵnamespaceSVG();
|
|
88894
|
+
i0.ɵɵelementStart(8, "svg", 99);
|
|
88895
|
+
i0.ɵɵelement(9, "path", 100);
|
|
88896
|
+
i0.ɵɵelementEnd()()()()();
|
|
88897
|
+
} if (rf & 2) {
|
|
88898
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
88899
|
+
i0.ɵɵproperty("ngClass", ctx_r1.getEditCurrencyFooterClasses());
|
|
88900
|
+
i0.ɵɵadvance(3);
|
|
88901
|
+
i0.ɵɵproperty("ngClass", ctx_r1.getEditCurrencyCancelButtonClasses());
|
|
88902
|
+
i0.ɵɵadvance(2);
|
|
88903
|
+
i0.ɵɵproperty("disabled", !ctx_r1.editingCurrencySelection())("ngClass", ctx_r1.getEditCurrencyContinueButtonClasses());
|
|
88904
|
+
i0.ɵɵadvance(3);
|
|
88905
|
+
i0.ɵɵclassProp("translate-x-1", ctx_r1.editingCurrencySelection());
|
|
88906
|
+
} }
|
|
88903
88907
|
class SymphiqProfileAnalysisDashboardComponent {
|
|
88904
88908
|
constructor() {
|
|
88905
88909
|
this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
|
|
@@ -88929,6 +88933,7 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
88929
88933
|
this.selectedCurrency = signal(null, ...(ngDevMode ? [{ debugName: "selectedCurrency" }] : []));
|
|
88930
88934
|
this.isPlanLoading = signal(false, ...(ngDevMode ? [{ debugName: "isPlanLoading" }] : []));
|
|
88931
88935
|
this.isEditingCurrency = signal(false, ...(ngDevMode ? [{ debugName: "isEditingCurrency" }] : []));
|
|
88936
|
+
this.editingCurrencySelection = signal(null, ...(ngDevMode ? [{ debugName: "editingCurrencySelection" }] : []));
|
|
88932
88937
|
this.selectedPeriodUnit = computed(() => {
|
|
88933
88938
|
return this.account()?.onboardingPeriodUnit || ChargebeeItemPricePeriodUnitEnum.YEAR;
|
|
88934
88939
|
}, ...(ngDevMode ? [{ debugName: "selectedPeriodUnit" }] : []));
|
|
@@ -89681,8 +89686,17 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89681
89686
|
this.isCurrencySelectionLoading.set(true);
|
|
89682
89687
|
this.selectedCurrency.set(currency);
|
|
89683
89688
|
this.isEditingCurrency.set(false);
|
|
89689
|
+
this.editingCurrencySelection.set(null);
|
|
89684
89690
|
this.currencySelectionClick.emit(currency);
|
|
89685
89691
|
}
|
|
89692
|
+
handleCurrencyChange(currency) {
|
|
89693
|
+
if (this.isEditingCurrency()) {
|
|
89694
|
+
this.editingCurrencySelection.set(currency);
|
|
89695
|
+
}
|
|
89696
|
+
else {
|
|
89697
|
+
this.handleCurrencySelection(currency);
|
|
89698
|
+
}
|
|
89699
|
+
}
|
|
89686
89700
|
handlePeriodUnitChange(periodUnit) {
|
|
89687
89701
|
this.isPlanLoading.set(true);
|
|
89688
89702
|
this.periodUnitChanged.emit(periodUnit);
|
|
@@ -89691,12 +89705,43 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89691
89705
|
this.planSelected.emit(plan);
|
|
89692
89706
|
}
|
|
89693
89707
|
handleEditCurrencyClick() {
|
|
89694
|
-
console.log('[ProfileAnalysisDashboard] Edit currency clicked, setting isEditingCurrency to true');
|
|
89695
89708
|
this.isEditingCurrency.set(true);
|
|
89709
|
+
this.editingCurrencySelection.set(this.account()?.billingCurrencyCode || null);
|
|
89696
89710
|
}
|
|
89697
89711
|
handleCancelCurrencyEdit() {
|
|
89698
|
-
console.log('[ProfileAnalysisDashboard] Cancel currency edit clicked');
|
|
89699
89712
|
this.isEditingCurrency.set(false);
|
|
89713
|
+
this.editingCurrencySelection.set(null);
|
|
89714
|
+
}
|
|
89715
|
+
handleContinueToPlans() {
|
|
89716
|
+
const currency = this.editingCurrencySelection();
|
|
89717
|
+
if (currency) {
|
|
89718
|
+
this.handleCurrencySelection(currency);
|
|
89719
|
+
}
|
|
89720
|
+
}
|
|
89721
|
+
getEditCurrencyFooterClasses() {
|
|
89722
|
+
return this.viewMode() === ViewModeEnum.DARK
|
|
89723
|
+
? 'bg-slate-900/80 border-slate-700/50'
|
|
89724
|
+
: 'bg-white/80 border-slate-200';
|
|
89725
|
+
}
|
|
89726
|
+
getEditCurrencyCancelButtonClasses() {
|
|
89727
|
+
return this.viewMode() === ViewModeEnum.DARK
|
|
89728
|
+
? 'bg-slate-700 text-slate-300 hover:bg-slate-600 hover:text-white hover:scale-[1.02] active:scale-[0.98]'
|
|
89729
|
+
: 'bg-slate-200 text-slate-700 hover:bg-slate-300 hover:text-slate-900 hover:scale-[1.02] active:scale-[0.98]';
|
|
89730
|
+
}
|
|
89731
|
+
getEditCurrencyContinueButtonClasses() {
|
|
89732
|
+
const isDisabled = !this.editingCurrencySelection();
|
|
89733
|
+
if (this.viewMode() === ViewModeEnum.DARK) {
|
|
89734
|
+
if (isDisabled) {
|
|
89735
|
+
return 'bg-slate-700 text-slate-500 cursor-not-allowed opacity-50';
|
|
89736
|
+
}
|
|
89737
|
+
return 'bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600 text-white hover:from-blue-500 hover:via-cyan-500 hover:to-teal-500 hover:scale-[1.02] hover:shadow-blue-500/25 active:scale-[0.98] cursor-pointer';
|
|
89738
|
+
}
|
|
89739
|
+
else {
|
|
89740
|
+
if (isDisabled) {
|
|
89741
|
+
return 'bg-slate-300 text-slate-500 cursor-not-allowed opacity-50';
|
|
89742
|
+
}
|
|
89743
|
+
return 'bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600 text-white hover:from-blue-700 hover:via-cyan-700 hover:to-teal-700 hover:scale-[1.02] hover:shadow-blue-600/25 active:scale-[0.98] cursor-pointer';
|
|
89744
|
+
}
|
|
89700
89745
|
}
|
|
89701
89746
|
static { this.ɵfac = function SymphiqProfileAnalysisDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqProfileAnalysisDashboardComponent)(); }; }
|
|
89702
89747
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqProfileAnalysisDashboardComponent, selectors: [["symphiq-profile-analysis-dashboard"]], viewQuery: function SymphiqProfileAnalysisDashboardComponent_Query(rf, ctx) { if (rf & 1) {
|
|
@@ -89706,7 +89751,7 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89706
89751
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.funnelModalComponent = _t.first);
|
|
89707
89752
|
} }, hostBindings: function SymphiqProfileAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
89708
89753
|
i0.ɵɵlistener("scroll", function SymphiqProfileAnalysisDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onWindowScroll($event); }, i0.ɵɵresolveWindow);
|
|
89709
|
-
} }, inputs: { viewMode: [1, "viewMode"], requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], embedded: [1, "embedded"], profileAnalysis: [1, "profileAnalysis"], profile: [1, "profile"], funnelAnalysis: [1, "funnelAnalysis"], analysisType: [1, "analysisType"], focusAreaDetails: [1, "focusAreaDetails"], account: [1, "account"], planCardInfos: [1, "planCardInfos"], isOnboarded: [1, "isOnboarded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick", currencySelectionClick: "currencySelectionClick", editCurrencyClick: "editCurrencyClick", periodUnitChanged: "periodUnitChanged", planSelected: "planSelected" }, features: [i0.ɵɵNgOnChangesFeature], decls:
|
|
89754
|
+
} }, inputs: { viewMode: [1, "viewMode"], requestedByUser: [1, "requestedByUser"], createdDate: [1, "createdDate"], embedded: [1, "embedded"], profileAnalysis: [1, "profileAnalysis"], profile: [1, "profile"], funnelAnalysis: [1, "funnelAnalysis"], analysisType: [1, "analysisType"], focusAreaDetails: [1, "focusAreaDetails"], account: [1, "account"], planCardInfos: [1, "planCardInfos"], isOnboarded: [1, "isOnboarded"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick", currencySelectionClick: "currencySelectionClick", editCurrencyClick: "editCurrencyClick", periodUnitChanged: "periodUnitChanged", planSelected: "planSelected" }, features: [i0.ɵɵNgOnChangesFeature], decls: 29, vars: 50, consts: [[1, "min-h-screen", "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"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "relative", "z-[51]"], [3, "searchClick", "viewModeClick", "title", "subtitle", "currentSection", "viewMode", "viewModeLabel", "isLoading", "requestedByUser", "createdDate"], [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", "space-y-12"], [1, "mb-12"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "close", "isOpen", "isLightMode"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode"], [3, "isLightMode", "allMetrics", "allInsights", "allBusinessInsights", "allCharts"], [3, "goal", "viewMode", "isInModal", "allMetrics", "allCharts", "allInsights", "currentModalState", "businessProfile"], [3, "goal", "viewMode"], [3, "objective", "goalTitle", "viewMode"], [3, "strategy", "objectiveTitle", "goalTitle", "viewMode", "allMetrics", "allCharts", "allInsights", "allBusinessInsights", "currentModalState"], [3, "category", "viewMode", "scrollToSection"], [3, "strength", "viewMode", "allFunnelStrengths", "currentModalState"], [3, "gap", "viewMode", "allGoals", "allWeaknesses", "currentModalState"], [3, "opportunity", "viewMode", "allStrengths", "currentModalState"], [3, "isLightMode", "viewMode", "allMetrics", "allInsights", "allCharts"], [3, "isLightMode"], [3, "viewMode", "isEnabled", "isLoading"], [1, "fixed", "bottom-0", "left-0", "right-0", "z-50", "border-t", "backdrop-blur-lg", 3, "ngClass"], [3, "nextStepClick", "stepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "viewMode", "businessName", "isOnboarded"], [3, "viewMode", "focusAreaDomain", "focusAreaName", "focusAreaDetails"], [3, "viewMode", "metricName", "isOnboarded"], [1, "mb-8"], [3, "goals", "viewMode"], [3, "viewMoreClick", "goals", "viewMode"], [1, "mb-32"], [3, "viewMode", "selectedCurrency"], [3, "currencySelected", "viewMode", "isLoading", "initialCurrency"], [3, "viewMode"], [3, "periodUnitChanged", "planSelected", "editCurrency", "viewMode", "selectedCurrency", "planCardInfos", "isLoading", "selectedPeriodUnit"], [3, "editCurrency", "viewMode", "selectedCurrency"], [3, "sections", "viewMode", "executiveSummary", "focusAreaExecutiveSummary", "metricExecutiveSummary", "metricName", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["id", "section-executive-summary", 1, "space-y-6", "scroll-mt-24"], [3, "viewMode", "summary", "allGoals"], [3, "viewMode", "summary", "metricName", "allGoals"], [1, "space-y-8"], [1, "rounded-2xl", "p-8", "shadow-xl", 3, "ngClass"], [1, "space-y-6"], [1, "flex", "items-start", "justify-between", "gap-4"], [1, "flex-1"], [1, "text-2xl", "font-bold", "mb-3", 3, "ngClass"], [1, "text-lg", "leading-relaxed", 3, "ngClass"], [3, "grade", "gradeRationale", "viewMode"], [1, "rounded-xl", "p-6", 3, "ngClass"], [1, "grid", "grid-cols-1", "md:grid-cols-3", "gap-4"], ["type", "button", 1, "p-4", "rounded-xl", "text-left", "transition-all", "duration-200", "hover:scale-[1.02]", "active:scale-[0.98]", "group", "cursor-pointer", 3, "click", "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "mb-1", 3, "ngClass"], [1, "text-3xl", "font-bold", "mb-2", 3, "ngClass"], [1, "flex", "items-center", "gap-1.5", "text-xs", "font-medium"], [3, "ngClass"], ["size", "w-4 h-4", 1, "transition-transform", "group-hover:translate-x-1", 3, "icon", "ngClass"], ["size", "w-4 h-4", 1, "transition-transform", "group-hover:translate-y-1", "animate-bounce", 3, "icon", "ngClass"], ["id", "quick-wins-section", 1, "space-y-4", "scroll-mt-24"], [1, "text-lg", "font-semibold", "mb-3", 3, "ngClass"], [1, "relative"], [1, "mb-6", "lg:float-left", "lg:mr-6", "lg:mb-4", "lg:max-w-[66%]"], [1, "text-sm", "leading-relaxed", "whitespace-pre-line", 3, "ngClass"], [1, "clear-both"], [3, "visual", "viewMode"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "grid", "grid-cols-1", "lg:grid-cols-2", "gap-6"], [1, "rounded-xl", "p-6", "transition-all", "duration-300", 3, "ngClass"], [1, "space-y-4"], [1, "flex", "items-start", "gap-3"], [1, "flex-shrink-0", "w-8", "h-8", "rounded-full", "flex", "items-center", "justify-center", "text-sm", "font-bold", 3, "ngClass"], [1, "font-semibold", "leading-tight", "flex-1", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-2"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "text-sm", 3, "ngClass"], [1, "space-y-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", 3, "ngClass"], [3, "relatedGoalIds", "allGoals", "viewMode"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "allGoals"], [3, "topPrioritiesClick", "priorityDetailClick", "viewMode", "summary", "metricName", "allGoals"], [3, "viewMode", "sectionIcon"], [1, "rounded-xl", "p-8", "scroll-mt-24", 3, "id", "ngClass"], [1, "flex", "items-start", "gap-3", "mb-6"], [1, "flex-shrink-0", "w-12", "h-12", "rounded-xl", "flex", "items-center", "justify-center", 3, "ngClass"], [1, "text-2xl", "font-bold", 3, "ngClass"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start", 3, "lg:flex-row-reverse"], [3, "section", "executiveSummary", "viewMode", "sectionIndex", "allGoals", "allMetrics", "allCharts", "allInsights", "businessProfile"], ["size", "w-6 h-6", 3, "icon"], [1, "mb-6", "flex", "flex-col", "lg:flex-row", "gap-6", "items-start"], [1, "w-full", "lg:w-2/3"], [1, "w-full", 3, "lg:w-1/3", "lg:w-full"], [1, "w-full"], [3, "continueClick", "viewMode", "isEnabled", "isLoading"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4"], [1, "flex", "items-center", "gap-4"], [1, "px-6", "py-4", "rounded-xl", "font-semibold", "text-lg", "transition-all", "duration-300", "cursor-pointer", 3, "click", "ngClass"], [1, "flex-1", "px-6", "py-4", "rounded-xl", "font-semibold", "text-lg", "transition-all", "duration-300", "flex", "items-center", "justify-center", "gap-3", "shadow-2xl", 3, "click", "disabled", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "transition-transform", "duration-200"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"]], template: function SymphiqProfileAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
89710
89755
|
i0.ɵɵelementStart(0, "div", 0);
|
|
89711
89756
|
i0.ɵɵelement(1, "div", 1);
|
|
89712
89757
|
i0.ɵɵelementStart(2, "div");
|
|
@@ -89741,6 +89786,7 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89741
89786
|
i0.ɵɵelementEnd();
|
|
89742
89787
|
i0.ɵɵelement(24, "symphiq-funnel-analysis-modal", 20)(25, "symphiq-business-analysis-modal", 21)(26, "symphiq-tooltip-container");
|
|
89743
89788
|
i0.ɵɵconditionalCreate(27, SymphiqProfileAnalysisDashboardComponent_Conditional_27_Template, 1, 3, "symphiq-sticky-subscription-continue-button", 22);
|
|
89789
|
+
i0.ɵɵconditionalCreate(28, SymphiqProfileAnalysisDashboardComponent_Conditional_28_Template, 10, 6, "div", 23);
|
|
89744
89790
|
i0.ɵɵelementEnd()();
|
|
89745
89791
|
} if (rf & 2) {
|
|
89746
89792
|
let tmp_5_0;
|
|
@@ -89805,6 +89851,8 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89805
89851
|
i0.ɵɵproperty("isLightMode", ctx.isLightMode());
|
|
89806
89852
|
i0.ɵɵadvance(2);
|
|
89807
89853
|
i0.ɵɵconditional(!ctx.isSubscriptionActive() && !ctx.hasBillingCurrency() && ctx.isSimplifiedView() && !ctx.isFocusAreaAnalysis() && !ctx.isMetricAnalysis() ? 27 : -1);
|
|
89854
|
+
i0.ɵɵadvance();
|
|
89855
|
+
i0.ɵɵconditional(ctx.isEditingCurrency() ? 28 : -1);
|
|
89808
89856
|
} }, dependencies: [CommonModule, i1$1.NgClass, DashboardHeaderComponent, SearchModalComponent, ViewModeSwitcherModalComponent, JourneyProgressIndicatorComponent, FloatingTocComponent, SectionNavigationComponent, GradeBadgeComponent, ShopWelcomeBannerComponent, FocusAreaWelcomeBannerComponent, MetricWelcomeBannerComponent, FocusAreaExecutiveSummaryComponent, MetricExecutiveSummaryComponent, NapkinVisualPlaceholderComponent, TooltipContainerComponent, ProfileSectionContentComponent, ProfileAnalysisModalComponent, ModalComponent, GoalCardComponent, GoalObjectivesModalContentComponent, ObjectiveStrategiesModalContentComponent, StrategyRecommendationsModalContentComponent, CategoryDetailModalContentComponent, StrengthDetailModalContentComponent, GapDetailModalContentComponent, OpportunityDetailModalContentComponent, BusinessAnalysisModalComponent, SectionDividerComponent, SymphiqIconComponent, RelatedGoalChipsComponent, StrategicGoalsTiledGridComponent, CollapsibleAnalysisSectionGroupComponent, BillingCurrencySelectorCardComponent, PlanSelectionPlaceholderCardComponent, PlanSelectionContainerComponent, SubscriptionValuePropositionCardComponent, StickySubscriptionContinueButtonComponent], encapsulation: 2, changeDetection: 0 }); }
|
|
89809
89857
|
}
|
|
89810
89858
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqProfileAnalysisDashboardComponent, [{
|
|
@@ -89912,9 +89960,8 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89912
89960
|
<symphiq-billing-currency-selector-card
|
|
89913
89961
|
[viewMode]="viewMode()"
|
|
89914
89962
|
[isLoading]="isCurrencySelectionLoading()"
|
|
89915
|
-
[
|
|
89916
|
-
(currencySelected)="
|
|
89917
|
-
(cancelClick)="handleCancelCurrencyEdit()"
|
|
89963
|
+
[initialCurrency]="isEditingCurrency() ? (account()?.billingCurrencyCode || null) : null"
|
|
89964
|
+
(currencySelected)="handleCurrencyChange($event)"
|
|
89918
89965
|
/>
|
|
89919
89966
|
} @else if (showPlanSelection()) {
|
|
89920
89967
|
<!-- Plan Selection -->
|
|
@@ -89928,7 +89975,7 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
89928
89975
|
[selectedPeriodUnit]="selectedPeriodUnit()"
|
|
89929
89976
|
(periodUnitChanged)="handlePeriodUnitChange($event)"
|
|
89930
89977
|
(planSelected)="handlePlanSelection($event)"
|
|
89931
|
-
(editCurrency)="
|
|
89978
|
+
(editCurrency)="handleEditCurrencyClick()"
|
|
89932
89979
|
/>
|
|
89933
89980
|
</div>
|
|
89934
89981
|
} @else {
|
|
@@ -90388,6 +90435,37 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
90388
90435
|
(continueClick)="handleStickyButtonClick()"
|
|
90389
90436
|
/>
|
|
90390
90437
|
}
|
|
90438
|
+
|
|
90439
|
+
<!-- Sticky Footer for Edit Currency Mode -->
|
|
90440
|
+
@if (isEditingCurrency()) {
|
|
90441
|
+
<div
|
|
90442
|
+
[ngClass]="getEditCurrencyFooterClasses()"
|
|
90443
|
+
class="fixed bottom-0 left-0 right-0 z-50 border-t backdrop-blur-lg"
|
|
90444
|
+
>
|
|
90445
|
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
|
|
90446
|
+
<div class="flex items-center gap-4">
|
|
90447
|
+
<button
|
|
90448
|
+
(click)="handleCancelCurrencyEdit()"
|
|
90449
|
+
[ngClass]="getEditCurrencyCancelButtonClasses()"
|
|
90450
|
+
class="px-6 py-4 rounded-xl font-semibold text-lg transition-all duration-300 cursor-pointer"
|
|
90451
|
+
>
|
|
90452
|
+
Cancel
|
|
90453
|
+
</button>
|
|
90454
|
+
<button
|
|
90455
|
+
(click)="handleContinueToPlans()"
|
|
90456
|
+
[disabled]="!editingCurrencySelection()"
|
|
90457
|
+
[ngClass]="getEditCurrencyContinueButtonClasses()"
|
|
90458
|
+
class="flex-1 px-6 py-4 rounded-xl font-semibold text-lg transition-all duration-300 flex items-center justify-center gap-3 shadow-2xl"
|
|
90459
|
+
>
|
|
90460
|
+
<span>Continue to Plans</span>
|
|
90461
|
+
<svg class="w-6 h-6 transition-transform duration-200" [class.translate-x-1]="editingCurrencySelection()" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
90462
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7l5 5m0 0l-5 5m5-5H6"></path>
|
|
90463
|
+
</svg>
|
|
90464
|
+
</button>
|
|
90465
|
+
</div>
|
|
90466
|
+
</div>
|
|
90467
|
+
</div>
|
|
90468
|
+
}
|
|
90391
90469
|
</div>
|
|
90392
90470
|
`
|
|
90393
90471
|
}]
|
|
@@ -90398,7 +90476,7 @@ class SymphiqProfileAnalysisDashboardComponent {
|
|
|
90398
90476
|
type: HostListener,
|
|
90399
90477
|
args: ['window:scroll', ['$event']]
|
|
90400
90478
|
}] }); })();
|
|
90401
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisDashboardComponent, { className: "SymphiqProfileAnalysisDashboardComponent", filePath: "lib/components/profile-analysis-dashboard/symphiq-profile-analysis-dashboard.component.ts", lineNumber:
|
|
90479
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqProfileAnalysisDashboardComponent, { className: "SymphiqProfileAnalysisDashboardComponent", filePath: "lib/components/profile-analysis-dashboard/symphiq-profile-analysis-dashboard.component.ts", lineNumber: 720 }); })();
|
|
90402
90480
|
|
|
90403
90481
|
class ScrollProgressBarComponent {
|
|
90404
90482
|
constructor() {
|