@eric-emg/symphiq-components 1.2.208 → 1.2.209

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.
@@ -56230,7 +56230,7 @@ function InitialTargetSettingComponent_Conditional_17_Template(rf, ctx) { if (rf
56230
56230
  i0.ɵɵelementStart(0, "div", 10);
56231
56231
  i0.ɵɵnamespaceSVG();
56232
56232
  i0.ɵɵelementStart(1, "svg", 11);
56233
- i0.ɵɵelement(2, "path", 33);
56233
+ i0.ɵɵelement(2, "path", 31);
56234
56234
  i0.ɵɵelementEnd();
56235
56235
  i0.ɵɵnamespaceHTML();
56236
56236
  i0.ɵɵelementStart(3, "div")(4, "p", 13);
@@ -56252,10 +56252,10 @@ function InitialTargetSettingComponent_Conditional_17_Template(rf, ctx) { if (rf
56252
56252
  } }
56253
56253
  function InitialTargetSettingComponent_Conditional_21_Conditional_5_Template(rf, ctx) { if (rf & 1) {
56254
56254
  const _r3 = i0.ɵɵgetCurrentView();
56255
- i0.ɵɵelementStart(0, "div", 36)(1, "span", 37);
56255
+ i0.ɵɵelementStart(0, "div", 34)(1, "span", 35);
56256
56256
  i0.ɵɵtext(2, " $ ");
56257
56257
  i0.ɵɵelementEnd();
56258
- i0.ɵɵelementStart(3, "input", 38, 0);
56258
+ i0.ɵɵelementStart(3, "input", 36, 0);
56259
56259
  i0.ɵɵtwoWayListener("ngModelChange", function InitialTargetSettingComponent_Conditional_21_Conditional_5_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r0.absoluteInput, $event) || (ctx_r0.absoluteInput = $event); return i0.ɵɵresetView($event); });
56260
56260
  i0.ɵɵlistener("ngModelChange", function InitialTargetSettingComponent_Conditional_21_Conditional_5_Template_input_ngModelChange_3_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onAbsoluteInputChange()); });
56261
56261
  i0.ɵɵelementEnd()();
@@ -56269,11 +56269,11 @@ function InitialTargetSettingComponent_Conditional_21_Conditional_5_Template(rf,
56269
56269
  } }
56270
56270
  function InitialTargetSettingComponent_Conditional_21_Conditional_6_Template(rf, ctx) { if (rf & 1) {
56271
56271
  const _r4 = i0.ɵɵgetCurrentView();
56272
- i0.ɵɵelementStart(0, "div", 36)(1, "input", 39, 1);
56272
+ i0.ɵɵelementStart(0, "div", 34)(1, "input", 37, 1);
56273
56273
  i0.ɵɵtwoWayListener("ngModelChange", function InitialTargetSettingComponent_Conditional_21_Conditional_6_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r0.percentageInput, $event) || (ctx_r0.percentageInput = $event); return i0.ɵɵresetView($event); });
56274
56274
  i0.ɵɵlistener("ngModelChange", function InitialTargetSettingComponent_Conditional_21_Conditional_6_Template_input_ngModelChange_1_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onPercentageInputChange()); });
56275
56275
  i0.ɵɵelementEnd();
56276
- i0.ɵɵelementStart(3, "span", 40);
56276
+ i0.ɵɵelementStart(3, "span", 38);
56277
56277
  i0.ɵɵtext(4, " % ");
56278
56278
  i0.ɵɵelementEnd()();
56279
56279
  } if (rf & 2) {
@@ -56286,15 +56286,15 @@ function InitialTargetSettingComponent_Conditional_21_Conditional_6_Template(rf,
56286
56286
  } }
56287
56287
  function InitialTargetSettingComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
56288
56288
  const _r2 = i0.ɵɵgetCurrentView();
56289
- i0.ɵɵelementStart(0, "div", 34)(1, "button", 35);
56289
+ i0.ɵɵelementStart(0, "div", 32)(1, "button", 33);
56290
56290
  i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_21_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.setInputMode("absolute")); });
56291
56291
  i0.ɵɵtext(2, " Absolute Amount ");
56292
56292
  i0.ɵɵelementEnd();
56293
- i0.ɵɵelementStart(3, "button", 35);
56293
+ i0.ɵɵelementStart(3, "button", 33);
56294
56294
  i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_21_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.setInputMode("percentage")); });
56295
56295
  i0.ɵɵtext(4, " % Increase ");
56296
56296
  i0.ɵɵelementEnd()();
56297
- i0.ɵɵconditionalCreate(5, InitialTargetSettingComponent_Conditional_21_Conditional_5_Template, 5, 3, "div", 36)(6, InitialTargetSettingComponent_Conditional_21_Conditional_6_Template, 5, 3, "div", 36);
56297
+ i0.ɵɵconditionalCreate(5, InitialTargetSettingComponent_Conditional_21_Conditional_5_Template, 5, 3, "div", 34)(6, InitialTargetSettingComponent_Conditional_21_Conditional_6_Template, 5, 3, "div", 34);
56298
56298
  } if (rf & 2) {
56299
56299
  const ctx_r0 = i0.ɵɵnextContext();
56300
56300
  i0.ɵɵadvance();
@@ -56308,10 +56308,10 @@ function InitialTargetSettingComponent_Conditional_28_Template(rf, ctx) { if (rf
56308
56308
  i0.ɵɵelement(0, "symphiq-area-chart", 22);
56309
56309
  } if (rf & 2) {
56310
56310
  const ctx_r0 = i0.ɵɵnextContext();
56311
- i0.ɵɵproperty("chart", ctx_r0.revenueChartData())("showAxisLabels", true)("viewMode", ctx_r0.viewMode())("currencySymbol", "$")("height", "200px");
56311
+ i0.ɵɵproperty("chart", ctx_r0.revenueChartData())("showAxisLabels", true)("viewMode", ctx_r0.viewMode())("currencySymbol", "$")("height", "108px");
56312
56312
  } }
56313
56313
  function InitialTargetSettingComponent_Conditional_29_Template(rf, ctx) { if (rf & 1) {
56314
- i0.ɵɵelementStart(0, "div", 23)(1, "p", 41);
56314
+ i0.ɵɵelementStart(0, "div", 23)(1, "p", 39);
56315
56315
  i0.ɵɵtext(2, " No revenue data available ");
56316
56316
  i0.ɵɵelementEnd()();
56317
56317
  } if (rf & 2) {
@@ -56321,7 +56321,7 @@ function InitialTargetSettingComponent_Conditional_29_Template(rf, ctx) { if (rf
56321
56321
  } }
56322
56322
  function InitialTargetSettingComponent_Conditional_32_Conditional_8_Template(rf, ctx) { if (rf & 1) {
56323
56323
  const _r5 = i0.ɵɵgetCurrentView();
56324
- i0.ɵɵelementStart(0, "button", 51);
56324
+ i0.ɵɵelementStart(0, "button", 49);
56325
56325
  i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_32_Conditional_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.handleAdjustTarget()); });
56326
56326
  i0.ɵɵtext(1, " Adjust Revenue Target ");
56327
56327
  i0.ɵɵelementEnd();
@@ -56330,19 +56330,19 @@ function InitialTargetSettingComponent_Conditional_32_Conditional_8_Template(rf,
56330
56330
  i0.ɵɵproperty("ngClass", ctx_r0.secondaryButtonClasses());
56331
56331
  } }
56332
56332
  function InitialTargetSettingComponent_Conditional_32_Conditional_24_Template(rf, ctx) { if (rf & 1) {
56333
- i0.ɵɵelementStart(0, "div", 46)(1, "div", 47)(2, "span", 48);
56333
+ i0.ɵɵelementStart(0, "div", 44)(1, "div", 45)(2, "span", 46);
56334
56334
  i0.ɵɵtext(3);
56335
56335
  i0.ɵɵelementEnd()();
56336
- i0.ɵɵelementStart(4, "div", 49)(5, "div")(6, "p", 43);
56336
+ i0.ɵɵelementStart(4, "div", 47)(5, "div")(6, "p", 41);
56337
56337
  i0.ɵɵtext(7, " Gap to Close ");
56338
56338
  i0.ɵɵelementEnd();
56339
- i0.ɵɵelementStart(8, "p", 50);
56339
+ i0.ɵɵelementStart(8, "p", 48);
56340
56340
  i0.ɵɵtext(9);
56341
56341
  i0.ɵɵelementEnd()();
56342
- i0.ɵɵelementStart(10, "div")(11, "p", 43);
56342
+ i0.ɵɵelementStart(10, "div")(11, "p", 41);
56343
56343
  i0.ɵɵtext(12, " Additional Growth Needed ");
56344
56344
  i0.ɵɵelementEnd();
56345
- i0.ɵɵelementStart(13, "p", 50);
56345
+ i0.ɵɵelementStart(13, "p", 48);
56346
56346
  i0.ɵɵtext(14);
56347
56347
  i0.ɵɵelementEnd()()()();
56348
56348
  } if (rf & 2) {
@@ -56366,30 +56366,30 @@ function InitialTargetSettingComponent_Conditional_32_Conditional_24_Template(rf
56366
56366
  i0.ɵɵtextInterpolate2(" ", ctx_r0.gapToClose().amount > 0 ? "+" : "", "", ctx_r0.formatPercentage(ctx_r0.gapToClose().percentage, 1), " ");
56367
56367
  } }
56368
56368
  function InitialTargetSettingComponent_Conditional_32_Template(rf, ctx) { if (rf & 1) {
56369
- i0.ɵɵelementStart(0, "div", 26)(1, "div", 17)(2, "div", 42)(3, "div")(4, "p", 43);
56369
+ i0.ɵɵelementStart(0, "div", 26)(1, "div", 17)(2, "div", 40)(3, "div")(4, "p", 41);
56370
56370
  i0.ɵɵtext(5);
56371
56371
  i0.ɵɵelementEnd();
56372
- i0.ɵɵelementStart(6, "p", 44);
56372
+ i0.ɵɵelementStart(6, "p", 42);
56373
56373
  i0.ɵɵtext(7);
56374
56374
  i0.ɵɵelementEnd()();
56375
- i0.ɵɵconditionalCreate(8, InitialTargetSettingComponent_Conditional_32_Conditional_8_Template, 2, 1, "button", 45);
56375
+ i0.ɵɵconditionalCreate(8, InitialTargetSettingComponent_Conditional_32_Conditional_8_Template, 2, 1, "button", 43);
56376
56376
  i0.ɵɵelementEnd();
56377
- i0.ɵɵelementStart(9, "div", 46)(10, "div", 47)(11, "span", 48);
56377
+ i0.ɵɵelementStart(9, "div", 44)(10, "div", 45)(11, "span", 46);
56378
56378
  i0.ɵɵtext(12);
56379
56379
  i0.ɵɵelementEnd()();
56380
- i0.ɵɵelementStart(13, "div", 49)(14, "div")(15, "p", 43);
56380
+ i0.ɵɵelementStart(13, "div", 47)(14, "div")(15, "p", 41);
56381
56381
  i0.ɵɵtext(16, " Increase Amount ");
56382
56382
  i0.ɵɵelementEnd();
56383
- i0.ɵɵelementStart(17, "p", 50);
56383
+ i0.ɵɵelementStart(17, "p", 48);
56384
56384
  i0.ɵɵtext(18);
56385
56385
  i0.ɵɵelementEnd()();
56386
- i0.ɵɵelementStart(19, "div")(20, "p", 43);
56386
+ i0.ɵɵelementStart(19, "div")(20, "p", 41);
56387
56387
  i0.ɵɵtext(21, " % Growth ");
56388
56388
  i0.ɵɵelementEnd();
56389
- i0.ɵɵelementStart(22, "p", 50);
56389
+ i0.ɵɵelementStart(22, "p", 48);
56390
56390
  i0.ɵɵtext(23);
56391
56391
  i0.ɵɵelementEnd()()()();
56392
- i0.ɵɵconditionalCreate(24, InitialTargetSettingComponent_Conditional_32_Conditional_24_Template, 15, 10, "div", 46);
56392
+ i0.ɵɵconditionalCreate(24, InitialTargetSettingComponent_Conditional_32_Conditional_24_Template, 15, 10, "div", 44);
56393
56393
  i0.ɵɵelementEnd()();
56394
56394
  } if (rf & 2) {
56395
56395
  const ctx_r0 = i0.ɵɵnextContext();
@@ -56425,29 +56425,45 @@ function InitialTargetSettingComponent_Conditional_32_Template(rf, ctx) { if (rf
56425
56425
  i0.ɵɵadvance();
56426
56426
  i0.ɵɵconditional(ctx_r0.currentPaceProjection() > 0 && ctx_r0.gapToClose().amount !== 0 ? 24 : -1);
56427
56427
  } }
56428
- function InitialTargetSettingComponent_Conditional_39_Template(rf, ctx) { if (rf & 1) {
56428
+ function InitialTargetSettingComponent_Conditional_33_Conditional_4_Template(rf, ctx) { if (rf & 1) {
56429
56429
  i0.ɵɵelement(0, "symphiq-area-chart", 22);
56430
56430
  } if (rf & 2) {
56431
- const ctx_r0 = i0.ɵɵnextContext();
56431
+ const ctx_r0 = i0.ɵɵnextContext(2);
56432
56432
  i0.ɵɵproperty("chart", ctx_r0.revenueChartData())("showAxisLabels", true)("viewMode", ctx_r0.viewMode())("currencySymbol", "$")("height", "320px");
56433
56433
  } }
56434
- function InitialTargetSettingComponent_Conditional_40_Template(rf, ctx) { if (rf & 1) {
56435
- i0.ɵɵelementStart(0, "div", 23)(1, "p", 41);
56434
+ function InitialTargetSettingComponent_Conditional_33_Conditional_5_Template(rf, ctx) { if (rf & 1) {
56435
+ i0.ɵɵelementStart(0, "div", 23)(1, "p", 39);
56436
56436
  i0.ɵɵtext(2, " No revenue data available ");
56437
56437
  i0.ɵɵelementEnd()();
56438
56438
  } if (rf & 2) {
56439
- const ctx_r0 = i0.ɵɵnextContext();
56439
+ const ctx_r0 = i0.ɵɵnextContext(2);
56440
56440
  i0.ɵɵadvance();
56441
56441
  i0.ɵɵproperty("ngClass", ctx_r0.noDataClasses());
56442
56442
  } }
56443
- function InitialTargetSettingComponent_Conditional_43_Template(rf, ctx) { if (rf & 1) {
56444
- i0.ɵɵelementStart(0, "div", 3)(1, "div", 52)(2, "h2", 53);
56443
+ function InitialTargetSettingComponent_Conditional_33_Template(rf, ctx) { if (rf & 1) {
56444
+ i0.ɵɵelementStart(0, "div", 27)(1, "p", 20);
56445
+ i0.ɵɵtext(2, " Year-over-Year Revenue Trend ");
56446
+ i0.ɵɵelementEnd();
56447
+ i0.ɵɵelementStart(3, "div", 21);
56448
+ i0.ɵɵconditionalCreate(4, InitialTargetSettingComponent_Conditional_33_Conditional_4_Template, 1, 5, "symphiq-area-chart", 22)(5, InitialTargetSettingComponent_Conditional_33_Conditional_5_Template, 3, 1, "div", 23);
56449
+ i0.ɵɵelementEnd()();
56450
+ } if (rf & 2) {
56451
+ const ctx_r0 = i0.ɵɵnextContext();
56452
+ i0.ɵɵadvance();
56453
+ i0.ɵɵproperty("ngClass", ctx_r0.chartTitleClasses());
56454
+ i0.ɵɵadvance(2);
56455
+ i0.ɵɵproperty("ngClass", ctx_r0.chartContainerClasses());
56456
+ i0.ɵɵadvance();
56457
+ i0.ɵɵconditional(ctx_r0.revenueChartData() ? 4 : 5);
56458
+ } }
56459
+ function InitialTargetSettingComponent_Conditional_36_Template(rf, ctx) { if (rf & 1) {
56460
+ i0.ɵɵelementStart(0, "div", 3)(1, "div", 50)(2, "h2", 51);
56445
56461
  i0.ɵɵtext(3, " Contributing Metrics ");
56446
56462
  i0.ɵɵelementEnd();
56447
- i0.ɵɵelementStart(4, "p", 41);
56463
+ i0.ɵɵelementStart(4, "p", 39);
56448
56464
  i0.ɵɵtext(5);
56449
56465
  i0.ɵɵelementEnd()();
56450
- i0.ɵɵelement(6, "symphiq-funnel-metrics-visualization", 54);
56466
+ i0.ɵɵelement(6, "symphiq-funnel-metrics-visualization", 52);
56451
56467
  i0.ɵɵelementEnd();
56452
56468
  } if (rf & 2) {
56453
56469
  const ctx_r0 = i0.ɵɵnextContext();
@@ -56890,7 +56906,7 @@ class InitialTargetSettingComponent {
56890
56906
  let _t;
56891
56907
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.absoluteInputRef = _t.first);
56892
56908
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.percentageInputRef = _t.first);
56893
- } }, inputs: { viewMode: [1, "viewMode"], funnelMetrics: [1, "funnelMetrics"], mainUiData: [1, "mainUiData"], trendUiData: [1, "trendUiData"], shopId: [1, "shopId"], pacingMetrics: [1, "pacingMetrics"], dataResults: [1, "dataResults"], reverseCalculationResponse: [1, "reverseCalculationResponse"] }, outputs: { targetsCreated: "targetsCreated", calculateRevenueRequest: "calculateRevenueRequest" }, decls: 45, vars: 37, consts: [["absoluteInputRef", ""], ["percentageInputRef", ""], [1, "space-y-8", "pb-32"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", 3, "ngClass"], [1, "text-2xl", "font-bold", "mb-6", 3, "ngClass"], [1, "flex", "flex-col", "gap-8"], [1, "grid", "lg:grid-cols-2", "gap-8"], [1, "flex", "flex-col", "gap-4"], [1, "p-6", "rounded-xl", "border-2", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-4", "place-content-between", "mb-6"], [1, "flex", "items-center", "gap-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-lg", "font-bold", 3, "ngClass"], [1, "form-area-collapse"], [1, "form-area-content"], [1, "space-y-6"], [1, "chart-in-column"], [1, "chart-in-column-content"], [1, "text-sm", "font-semibold", "mb-3", 3, "ngClass"], [1, "rounded-xl", "border", "p-4", 3, "ngClass"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height"], [1, "h-64", "flex", "items-center", "justify-center"], [1, "calculated-card-enter", "order-first", "lg:order-last"], [1, "calculated-card-content"], [1, "p-6", "rounded-xl", "border-2", "h-full", 3, "ngClass"], [1, "chart-section-collapse"], [1, "chart-section-content"], [1, "w-full"], [1, "metrics-section-enter"], [1, "metrics-section-content"], [3, "submitClick", "cancelClick", "viewMode", "isValid", "isSubmitting", "validationMessage", "buttonText", "showCancelButton"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"], [1, "flex", "gap-2"], [1, "flex-1", "py-2", "px-4", "rounded-lg", "text-sm", "font-semibold", "transition-all", 3, "click", "ngClass"], [1, "relative"], [1, "absolute", "left-4", "top-1/2", "-translate-y-1/2", "text-xl", "font-bold", 3, "ngClass"], ["type", "number", "placeholder", "0", "min", "0", "step", "1000", 1, "w-full", "pl-10", "pr-4", "py-4", "rounded-xl", "text-2xl", "font-bold", "border-2", "transition-all", 3, "ngModelChange", "ngModel", "ngClass"], ["type", "number", "placeholder", "0", "min", "0", "max", "1000", "step", "0.1", 1, "w-full", "pr-10", "pl-4", "py-4", "rounded-xl", "text-2xl", "font-bold", "border-2", "transition-all", 3, "ngModelChange", "ngModel", "ngClass"], [1, "absolute", "right-4", "top-1/2", "-translate-y-1/2", "text-xl", "font-bold", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "flex", "items-center", "justify-between"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [1, "text-3xl", "font-bold", 3, "ngClass"], [1, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "transition-all", "whitespace-nowrap", 3, "ngClass"], [1, "relative", "pt-6", "mt-6", 3, "ngClass"], [1, "absolute", "top-0", "left-1/2", "-translate-x-1/2", "-translate-y-1/2"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-semibold", "whitespace-nowrap", 3, "ngClass"], [1, "grid", "grid-cols-2", "gap-4", "pt-2"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "transition-all", "whitespace-nowrap", 3, "click", "ngClass"], [1, "mb-6"], [1, "text-2xl", "font-bold", "mb-2", 3, "ngClass"], [3, "viewMode", "calculations", "pacingMetrics"]], template: function InitialTargetSettingComponent_Template(rf, ctx) { if (rf & 1) {
56909
+ } }, inputs: { viewMode: [1, "viewMode"], funnelMetrics: [1, "funnelMetrics"], mainUiData: [1, "mainUiData"], trendUiData: [1, "trendUiData"], shopId: [1, "shopId"], pacingMetrics: [1, "pacingMetrics"], dataResults: [1, "dataResults"], reverseCalculationResponse: [1, "reverseCalculationResponse"] }, outputs: { targetsCreated: "targetsCreated", calculateRevenueRequest: "calculateRevenueRequest" }, decls: 38, vars: 33, consts: [["absoluteInputRef", ""], ["percentageInputRef", ""], [1, "space-y-8", "pb-32"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", 3, "ngClass"], [1, "text-2xl", "font-bold", "mb-6", 3, "ngClass"], [1, "flex", "flex-col", "gap-8"], [1, "grid", "lg:grid-cols-2", "gap-8"], [1, "flex", "flex-col", "gap-4"], [1, "p-6", "rounded-xl", "border-2", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-4", "place-content-between"], [1, "flex", "items-center", "gap-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-lg", "font-bold", 3, "ngClass"], [1, "form-area-collapse"], [1, "form-area-content"], [1, "space-y-6"], [1, "chart-in-column"], [1, "chart-in-column-content"], [1, "text-sm", "font-semibold", "mb-3", 3, "ngClass"], [1, "rounded-xl", "border", "p-4", 3, "ngClass"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height"], [1, "h-64", "flex", "items-center", "justify-center"], [1, "calculated-card-enter", "order-first", "lg:order-last"], [1, "calculated-card-content"], [1, "p-6", "rounded-xl", "border-2", "h-full", 3, "ngClass"], [1, "w-full"], [1, "metrics-section-enter"], [1, "metrics-section-content"], [3, "submitClick", "cancelClick", "viewMode", "isValid", "isSubmitting", "validationMessage", "buttonText", "showCancelButton"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"], [1, "flex", "gap-2"], [1, "flex-1", "py-2", "px-4", "rounded-lg", "text-sm", "font-semibold", "transition-all", 3, "click", "ngClass"], [1, "relative"], [1, "absolute", "left-4", "top-1/2", "-translate-y-1/2", "text-xl", "font-bold", 3, "ngClass"], ["type", "number", "placeholder", "0", "min", "0", "step", "1000", 1, "w-full", "pl-10", "pr-4", "py-4", "rounded-xl", "text-2xl", "font-bold", "border-2", "transition-all", 3, "ngModelChange", "ngModel", "ngClass"], ["type", "number", "placeholder", "0", "min", "0", "max", "1000", "step", "0.1", 1, "w-full", "pr-10", "pl-4", "py-4", "rounded-xl", "text-2xl", "font-bold", "border-2", "transition-all", 3, "ngModelChange", "ngModel", "ngClass"], [1, "absolute", "right-4", "top-1/2", "-translate-y-1/2", "text-xl", "font-bold", 3, "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "flex", "items-center", "justify-between"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [1, "text-3xl", "font-bold", 3, "ngClass"], [1, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "transition-all", "whitespace-nowrap", 3, "ngClass"], [1, "relative", "pt-6", "mt-6", 3, "ngClass"], [1, "absolute", "top-0", "left-1/2", "-translate-x-1/2", "-translate-y-1/2"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-semibold", "whitespace-nowrap", 3, "ngClass"], [1, "grid", "grid-cols-2", "gap-4", "pt-2"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "transition-all", "whitespace-nowrap", 3, "click", "ngClass"], [1, "mb-6"], [1, "text-2xl", "font-bold", "mb-2", 3, "ngClass"], [3, "viewMode", "calculations", "pacingMetrics"]], template: function InitialTargetSettingComponent_Template(rf, ctx) { if (rf & 1) {
56894
56910
  i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "h2", 4);
56895
56911
  i0.ɵɵtext(3);
56896
56912
  i0.ɵɵelementEnd();
@@ -56920,17 +56936,13 @@ class InitialTargetSettingComponent {
56920
56936
  i0.ɵɵelementStart(30, "div", 24)(31, "div", 25);
56921
56937
  i0.ɵɵconditionalCreate(32, InitialTargetSettingComponent_Conditional_32_Template, 25, 16, "div", 26);
56922
56938
  i0.ɵɵelementEnd()()();
56923
- i0.ɵɵelementStart(33, "div", 27)(34, "div", 28)(35, "div", 29)(36, "p", 20);
56924
- i0.ɵɵtext(37, " Year-over-Year Revenue Trend ");
56925
- i0.ɵɵelementEnd();
56926
- i0.ɵɵelementStart(38, "div", 21);
56927
- i0.ɵɵconditionalCreate(39, InitialTargetSettingComponent_Conditional_39_Template, 1, 5, "symphiq-area-chart", 22)(40, InitialTargetSettingComponent_Conditional_40_Template, 3, 1, "div", 23);
56928
- i0.ɵɵelementEnd()()()()()();
56929
- i0.ɵɵelementStart(41, "div", 30)(42, "div", 31);
56930
- i0.ɵɵconditionalCreate(43, InitialTargetSettingComponent_Conditional_43_Template, 7, 7, "div", 3);
56939
+ i0.ɵɵconditionalCreate(33, InitialTargetSettingComponent_Conditional_33_Template, 6, 3, "div", 27);
56940
+ i0.ɵɵelementEnd()();
56941
+ i0.ɵɵelementStart(34, "div", 28)(35, "div", 29);
56942
+ i0.ɵɵconditionalCreate(36, InitialTargetSettingComponent_Conditional_36_Template, 7, 7, "div", 3);
56931
56943
  i0.ɵɵelementEnd()();
56932
- i0.ɵɵelementStart(44, "symphiq-sticky-submit-bar", 32);
56933
- i0.ɵɵlistener("submitClick", function InitialTargetSettingComponent_Template_symphiq_sticky_submit_bar_submitClick_44_listener() { return ctx.handleSubmitClick(); })("cancelClick", function InitialTargetSettingComponent_Template_symphiq_sticky_submit_bar_cancelClick_44_listener() { return ctx.handleCancel(); });
56944
+ i0.ɵɵelementStart(37, "symphiq-sticky-submit-bar", 30);
56945
+ i0.ɵɵlistener("submitClick", function InitialTargetSettingComponent_Template_symphiq_sticky_submit_bar_submitClick_37_listener() { return ctx.handleSubmitClick(); })("cancelClick", function InitialTargetSettingComponent_Template_symphiq_sticky_submit_bar_cancelClick_37_listener() { return ctx.handleCancel(); });
56934
56946
  i0.ɵɵelementEnd()();
56935
56947
  } if (rf & 2) {
56936
56948
  i0.ɵɵadvance();
@@ -56942,7 +56954,7 @@ class InitialTargetSettingComponent {
56942
56954
  i0.ɵɵadvance(4);
56943
56955
  i0.ɵɵproperty("ngClass", ctx.formAreaClasses());
56944
56956
  i0.ɵɵadvance();
56945
- i0.ɵɵclassProp("mb-0", ctx.calculationState() === "results");
56957
+ i0.ɵɵclassProp("mb-6", ctx.calculationState() !== "results");
56946
56958
  i0.ɵɵadvance(2);
56947
56959
  i0.ɵɵproperty("ngClass", ctx.baselineIconClasses());
56948
56960
  i0.ɵɵadvance(3);
@@ -56972,17 +56984,11 @@ class InitialTargetSettingComponent {
56972
56984
  i0.ɵɵadvance(2);
56973
56985
  i0.ɵɵconditional(ctx.calculatedRevenue() > 0 ? 32 : -1);
56974
56986
  i0.ɵɵadvance();
56975
- i0.ɵɵclassProp("chart-section-collapse-hidden", ctx.calculationState() === "results");
56976
- i0.ɵɵadvance(3);
56977
- i0.ɵɵproperty("ngClass", ctx.chartTitleClasses());
56978
- i0.ɵɵadvance(2);
56979
- i0.ɵɵproperty("ngClass", ctx.chartContainerClasses());
56987
+ i0.ɵɵconditional(ctx.calculationState() !== "results" ? 33 : -1);
56980
56988
  i0.ɵɵadvance();
56981
- i0.ɵɵconditional(ctx.revenueChartData() ? 39 : 40);
56982
- i0.ɵɵadvance(2);
56983
56989
  i0.ɵɵclassProp("metrics-section-enter-active", ctx.showMetricsVisualization());
56984
56990
  i0.ɵɵadvance(2);
56985
- i0.ɵɵconditional(ctx.showMetricsVisualization() ? 43 : -1);
56991
+ i0.ɵɵconditional(ctx.showMetricsVisualization() ? 36 : -1);
56986
56992
  i0.ɵɵadvance();
56987
56993
  i0.ɵɵproperty("viewMode", ctx.viewMode())("isValid", ctx.isValid())("isSubmitting", ctx.isCalculating())("validationMessage", ctx.validationMessage())("buttonText", ctx.submitButtonText())("showCancelButton", ctx.calculationState() === "input" && ctx.hasStoredResponse());
56988
56994
  } }, dependencies: [CommonModule, i1$1.NgClass, FormsModule, i2$1.DefaultValueAccessor, i2$1.NumberValueAccessor, i2$1.NgControlStatus, i2$1.MinValidator, i2$1.MaxValidator, i2$1.NgModel, FunnelMetricsVisualizationComponent,
@@ -57008,7 +57014,7 @@ class InitialTargetSettingComponent {
57008
57014
  <div class="grid lg:grid-cols-2 gap-8">
57009
57015
  <div class="flex flex-col gap-4">
57010
57016
  <div [ngClass]="formAreaClasses()" class="p-6 rounded-xl border-2">
57011
- <div class="flex flex-wrap gap-4 place-content-between mb-6" [class.mb-0]="calculationState() === 'results'">
57017
+ <div class="flex flex-wrap gap-4 place-content-between" [class.mb-6]="calculationState() !== 'results'">
57012
57018
  <div class="flex items-center gap-2">
57013
57019
  <svg class="w-4 h-4" [ngClass]="baselineIconClasses()" fill="none" stroke="currentColor" viewBox="0 0 24 24">
57014
57020
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
@@ -57111,7 +57117,7 @@ class InitialTargetSettingComponent {
57111
57117
  [showAxisLabels]="true"
57112
57118
  [viewMode]="viewMode()"
57113
57119
  [currencySymbol]="'$'"
57114
- [height]="'200px'"
57120
+ [height]="'108px'"
57115
57121
  />
57116
57122
  } @else {
57117
57123
  <div class="h-64 flex items-center justify-center">
@@ -57210,32 +57216,30 @@ class InitialTargetSettingComponent {
57210
57216
  </div>
57211
57217
  </div>
57212
57218
 
57213
- <div class="chart-section-collapse" [class.chart-section-collapse-hidden]="calculationState() === 'results'">
57214
- <div class="chart-section-content">
57215
- <div class="w-full">
57216
- <p [ngClass]="chartTitleClasses()" class="text-sm font-semibold mb-3">
57217
- Year-over-Year Revenue Trend
57218
- </p>
57219
- <div [ngClass]="chartContainerClasses()" class="rounded-xl border p-4">
57220
- @if (revenueChartData()) {
57221
- <symphiq-area-chart
57222
- [chart]="revenueChartData()!"
57223
- [showAxisLabels]="true"
57224
- [viewMode]="viewMode()"
57225
- [currencySymbol]="'$'"
57226
- [height]="'320px'"
57227
- />
57228
- } @else {
57229
- <div class="h-64 flex items-center justify-center">
57230
- <p [ngClass]="noDataClasses()" class="text-sm">
57231
- No revenue data available
57232
- </p>
57233
- </div>
57234
- }
57235
- </div>
57219
+ @if (calculationState() !== 'results') {
57220
+ <div class="w-full">
57221
+ <p [ngClass]="chartTitleClasses()" class="text-sm font-semibold mb-3">
57222
+ Year-over-Year Revenue Trend
57223
+ </p>
57224
+ <div [ngClass]="chartContainerClasses()" class="rounded-xl border p-4">
57225
+ @if (revenueChartData()) {
57226
+ <symphiq-area-chart
57227
+ [chart]="revenueChartData()!"
57228
+ [showAxisLabels]="true"
57229
+ [viewMode]="viewMode()"
57230
+ [currencySymbol]="'$'"
57231
+ [height]="'320px'"
57232
+ />
57233
+ } @else {
57234
+ <div class="h-64 flex items-center justify-center">
57235
+ <p [ngClass]="noDataClasses()" class="text-sm">
57236
+ No revenue data available
57237
+ </p>
57238
+ </div>
57239
+ }
57236
57240
  </div>
57237
57241
  </div>
57238
- </div>
57242
+ }
57239
57243
  </div>
57240
57244
  </div>
57241
57245
 
@@ -57281,7 +57285,7 @@ class InitialTargetSettingComponent {
57281
57285
  type: ViewChild,
57282
57286
  args: ['percentageInputRef']
57283
57287
  }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], funnelMetrics: [{ type: i0.Input, args: [{ isSignal: true, alias: "funnelMetrics", required: false }] }], mainUiData: [{ type: i0.Input, args: [{ isSignal: true, alias: "mainUiData", required: false }] }], trendUiData: [{ type: i0.Input, args: [{ isSignal: true, alias: "trendUiData", required: false }] }], shopId: [{ type: i0.Input, args: [{ isSignal: true, alias: "shopId", required: false }] }], pacingMetrics: [{ type: i0.Input, args: [{ isSignal: true, alias: "pacingMetrics", required: false }] }], dataResults: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataResults", required: false }] }], reverseCalculationResponse: [{ type: i0.Input, args: [{ isSignal: true, alias: "reverseCalculationResponse", required: false }] }], targetsCreated: [{ type: i0.Output, args: ["targetsCreated"] }], calculateRevenueRequest: [{ type: i0.Output, args: ["calculateRevenueRequest"] }] }); })();
57284
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InitialTargetSettingComponent, { className: "InitialTargetSettingComponent", filePath: "lib/components/revenue-calculator-dashboard/initial-target-setting.component.ts", lineNumber: 398 }); })();
57288
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InitialTargetSettingComponent, { className: "InitialTargetSettingComponent", filePath: "lib/components/revenue-calculator-dashboard/initial-target-setting.component.ts", lineNumber: 396 }); })();
57285
57289
 
57286
57290
  function IndeterminateSpinnerComponent_For_5_Template(rf, ctx) { if (rf & 1) {
57287
57291
  i0.ɵɵelement(0, "div", 5);