@eric-emg/symphiq-components 1.2.222 → 1.2.224

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.
@@ -56190,8 +56190,8 @@ function InitialTargetSettingComponent_Conditional_6_Template(rf, ctx) { if (rf
56190
56190
  } }
56191
56191
  function InitialTargetSettingComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
56192
56192
  i0.ɵɵnamespaceSVG();
56193
- i0.ɵɵelementStart(0, "svg", 34);
56194
- i0.ɵɵelement(1, "path", 35);
56193
+ i0.ɵɵelementStart(0, "svg", 33);
56194
+ i0.ɵɵelement(1, "path", 34);
56195
56195
  i0.ɵɵelementEnd();
56196
56196
  } if (rf & 2) {
56197
56197
  const ctx_r0 = i0.ɵɵnextContext();
@@ -56203,17 +56203,17 @@ function InitialTargetSettingComponent_Conditional_21_Template(rf, ctx) { if (rf
56203
56203
  i0.ɵɵelementStart(0, "div", 11);
56204
56204
  i0.ɵɵnamespaceSVG();
56205
56205
  i0.ɵɵelementStart(1, "svg", 12);
56206
- i0.ɵɵelement(2, "path", 36);
56206
+ i0.ɵɵelement(2, "path", 35);
56207
56207
  i0.ɵɵelementEnd();
56208
56208
  i0.ɵɵnamespaceHTML();
56209
- i0.ɵɵelementStart(3, "div")(4, "div", 37)(5, "p", 14);
56209
+ i0.ɵɵelementStart(3, "div")(4, "div", 36)(5, "p", 14);
56210
56210
  i0.ɵɵtext(6, " Current Pace Projection ");
56211
56211
  i0.ɵɵelementEnd();
56212
- i0.ɵɵelementStart(7, "button", 38);
56212
+ i0.ɵɵelementStart(7, "button", 37);
56213
56213
  i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_21_Template_button_click_7_listener($event) { i0.ɵɵrestoreView(_r2); return i0.ɵɵresetView($event.stopPropagation()); });
56214
56214
  i0.ɵɵnamespaceSVG();
56215
- i0.ɵɵelementStart(8, "svg", 39);
56216
- i0.ɵɵelement(9, "path", 40);
56215
+ i0.ɵɵelementStart(8, "svg", 38);
56216
+ i0.ɵɵelement(9, "path", 39);
56217
56217
  i0.ɵɵelementEnd()()();
56218
56218
  i0.ɵɵnamespaceHTML();
56219
56219
  i0.ɵɵelementStart(10, "p", 15);
@@ -56234,10 +56234,10 @@ function InitialTargetSettingComponent_Conditional_21_Template(rf, ctx) { if (rf
56234
56234
  } }
56235
56235
  function InitialTargetSettingComponent_Conditional_25_Conditional_5_Template(rf, ctx) { if (rf & 1) {
56236
56236
  const _r4 = i0.ɵɵgetCurrentView();
56237
- i0.ɵɵelementStart(0, "div", 43)(1, "span", 45);
56237
+ i0.ɵɵelementStart(0, "div", 42)(1, "span", 44);
56238
56238
  i0.ɵɵtext(2, " $ ");
56239
56239
  i0.ɵɵelementEnd();
56240
- i0.ɵɵelementStart(3, "input", 46, 0);
56240
+ i0.ɵɵelementStart(3, "input", 45, 0);
56241
56241
  i0.ɵɵtwoWayListener("ngModelChange", function InitialTargetSettingComponent_Conditional_25_Conditional_5_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r0.absoluteInput, $event) || (ctx_r0.absoluteInput = $event); return i0.ɵɵresetView($event); });
56242
56242
  i0.ɵɵlistener("ngModelChange", function InitialTargetSettingComponent_Conditional_25_Conditional_5_Template_input_ngModelChange_3_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onAbsoluteInputChange()); });
56243
56243
  i0.ɵɵelementEnd()();
@@ -56251,11 +56251,11 @@ function InitialTargetSettingComponent_Conditional_25_Conditional_5_Template(rf,
56251
56251
  } }
56252
56252
  function InitialTargetSettingComponent_Conditional_25_Conditional_6_Template(rf, ctx) { if (rf & 1) {
56253
56253
  const _r5 = i0.ɵɵgetCurrentView();
56254
- i0.ɵɵelementStart(0, "div", 43)(1, "input", 47, 1);
56254
+ i0.ɵɵelementStart(0, "div", 42)(1, "input", 46, 1);
56255
56255
  i0.ɵɵtwoWayListener("ngModelChange", function InitialTargetSettingComponent_Conditional_25_Conditional_6_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r0.percentageInput, $event) || (ctx_r0.percentageInput = $event); return i0.ɵɵresetView($event); });
56256
56256
  i0.ɵɵlistener("ngModelChange", function InitialTargetSettingComponent_Conditional_25_Conditional_6_Template_input_ngModelChange_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onPercentageInputChange()); });
56257
56257
  i0.ɵɵelementEnd();
56258
- i0.ɵɵelementStart(3, "span", 48);
56258
+ i0.ɵɵelementStart(3, "span", 47);
56259
56259
  i0.ɵɵtext(4, " % ");
56260
56260
  i0.ɵɵelementEnd()();
56261
56261
  } if (rf & 2) {
@@ -56268,7 +56268,7 @@ function InitialTargetSettingComponent_Conditional_25_Conditional_6_Template(rf,
56268
56268
  } }
56269
56269
  function InitialTargetSettingComponent_Conditional_25_Conditional_7_Template(rf, ctx) { if (rf & 1) {
56270
56270
  const _r6 = i0.ɵɵgetCurrentView();
56271
- i0.ɵɵelementStart(0, "div", 44)(1, "button", 49);
56271
+ i0.ɵɵelementStart(0, "div", 43)(1, "button", 48);
56272
56272
  i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_25_Conditional_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.handleCancel()); });
56273
56273
  i0.ɵɵtext(2, " Cancel ");
56274
56274
  i0.ɵɵelementEnd()();
@@ -56279,16 +56279,16 @@ function InitialTargetSettingComponent_Conditional_25_Conditional_7_Template(rf,
56279
56279
  } }
56280
56280
  function InitialTargetSettingComponent_Conditional_25_Template(rf, ctx) { if (rf & 1) {
56281
56281
  const _r3 = i0.ɵɵgetCurrentView();
56282
- i0.ɵɵelementStart(0, "div", 41)(1, "button", 42);
56282
+ i0.ɵɵelementStart(0, "div", 40)(1, "button", 41);
56283
56283
  i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_25_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.setInputMode("absolute")); });
56284
56284
  i0.ɵɵtext(2, " Absolute Amount ");
56285
56285
  i0.ɵɵelementEnd();
56286
- i0.ɵɵelementStart(3, "button", 42);
56286
+ i0.ɵɵelementStart(3, "button", 41);
56287
56287
  i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_25_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.setInputMode("percentage")); });
56288
56288
  i0.ɵɵtext(4, " % Increase ");
56289
56289
  i0.ɵɵelementEnd()();
56290
- i0.ɵɵconditionalCreate(5, InitialTargetSettingComponent_Conditional_25_Conditional_5_Template, 5, 3, "div", 43)(6, InitialTargetSettingComponent_Conditional_25_Conditional_6_Template, 5, 3, "div", 43);
56291
- i0.ɵɵconditionalCreate(7, InitialTargetSettingComponent_Conditional_25_Conditional_7_Template, 3, 1, "div", 44);
56290
+ i0.ɵɵconditionalCreate(5, InitialTargetSettingComponent_Conditional_25_Conditional_5_Template, 5, 3, "div", 42)(6, InitialTargetSettingComponent_Conditional_25_Conditional_6_Template, 5, 3, "div", 42);
56291
+ i0.ɵɵconditionalCreate(7, InitialTargetSettingComponent_Conditional_25_Conditional_7_Template, 3, 1, "div", 43);
56292
56292
  } if (rf & 2) {
56293
56293
  const ctx_r0 = i0.ɵɵnextContext();
56294
56294
  i0.ɵɵadvance();
@@ -56307,7 +56307,7 @@ function InitialTargetSettingComponent_Conditional_32_Template(rf, ctx) { if (rf
56307
56307
  i0.ɵɵproperty("chart", ctx_r0.revenueChartData())("showAxisLabels", true)("viewMode", ctx_r0.viewMode())("currencySymbol", "$")("height", "108px");
56308
56308
  } }
56309
56309
  function InitialTargetSettingComponent_Conditional_33_Template(rf, ctx) { if (rf & 1) {
56310
- i0.ɵɵelementStart(0, "div", 24)(1, "p", 50);
56310
+ i0.ɵɵelementStart(0, "div", 24)(1, "p", 49);
56311
56311
  i0.ɵɵtext(2, " No revenue data available ");
56312
56312
  i0.ɵɵelementEnd()();
56313
56313
  } if (rf & 2) {
@@ -56329,7 +56329,7 @@ function InitialTargetSettingComponent_Conditional_36_Conditional_8_Template(rf,
56329
56329
  } }
56330
56330
  function InitialTargetSettingComponent_Conditional_36_Conditional_9_Template(rf, ctx) { if (rf & 1) {
56331
56331
  const _r7 = i0.ɵɵgetCurrentView();
56332
- i0.ɵɵelementStart(0, "button", 64);
56332
+ i0.ɵɵelementStart(0, "button", 63);
56333
56333
  i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_36_Conditional_9_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.handleAdjustTarget(); return i0.ɵɵresetView($event.stopPropagation()); });
56334
56334
  i0.ɵɵtext(1, " Adjust Revenue Target ");
56335
56335
  i0.ɵɵelementEnd();
@@ -56337,32 +56337,50 @@ function InitialTargetSettingComponent_Conditional_36_Conditional_9_Template(rf,
56337
56337
  const ctx_r0 = i0.ɵɵnextContext(2);
56338
56338
  i0.ɵɵproperty("ngClass", ctx_r0.secondaryButtonClasses());
56339
56339
  } }
56340
+ function InitialTargetSettingComponent_Conditional_36_Conditional_23_Template(rf, ctx) { if (rf & 1) {
56341
+ i0.ɵɵtext(0);
56342
+ } if (rf & 2) {
56343
+ const ctx_r0 = i0.ɵɵnextContext(2);
56344
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.formatCurrency(ctx_r0.animatedIncreaseAmount()), " ");
56345
+ } }
56346
+ function InitialTargetSettingComponent_Conditional_36_Conditional_24_Template(rf, ctx) { if (rf & 1) {
56347
+ i0.ɵɵtext(0, " -- ");
56348
+ } }
56340
56349
  function InitialTargetSettingComponent_Conditional_36_Conditional_29_Template(rf, ctx) { if (rf & 1) {
56350
+ i0.ɵɵtext(0);
56351
+ } if (rf & 2) {
56352
+ const ctx_r0 = i0.ɵɵnextContext(2);
56353
+ i0.ɵɵtextInterpolate1(" +", ctx_r0.formatPercentage(ctx_r0.animatedPercentageGrowth(), 1), " ");
56354
+ } }
56355
+ function InitialTargetSettingComponent_Conditional_36_Conditional_30_Template(rf, ctx) { if (rf & 1) {
56356
+ i0.ɵɵtext(0, " -- ");
56357
+ } }
56358
+ function InitialTargetSettingComponent_Conditional_36_Conditional_31_Template(rf, ctx) { if (rf & 1) {
56341
56359
  const _r8 = i0.ɵɵgetCurrentView();
56342
- i0.ɵɵelementStart(0, "div", 57)(1, "div", 58);
56343
- i0.ɵɵelement(2, "div", 59);
56344
- i0.ɵɵelementStart(3, "span", 60);
56360
+ i0.ɵɵelementStart(0, "div", 56)(1, "div", 57);
56361
+ i0.ɵɵelement(2, "div", 58);
56362
+ i0.ɵɵelementStart(3, "span", 59);
56345
56363
  i0.ɵɵtext(4);
56346
56364
  i0.ɵɵelementEnd();
56347
- i0.ɵɵelement(5, "div", 59);
56365
+ i0.ɵɵelement(5, "div", 58);
56348
56366
  i0.ɵɵelementEnd();
56349
- i0.ɵɵelementStart(6, "div", 61)(7, "div")(8, "p", 62);
56367
+ i0.ɵɵelementStart(6, "div", 60)(7, "div")(8, "p", 61);
56350
56368
  i0.ɵɵtext(9, " Gap to Close ");
56351
56369
  i0.ɵɵelementEnd();
56352
- i0.ɵɵelementStart(10, "p", 63);
56370
+ i0.ɵɵelementStart(10, "p", 62);
56353
56371
  i0.ɵɵtext(11);
56354
56372
  i0.ɵɵelementEnd()();
56355
- i0.ɵɵelementStart(12, "div")(13, "div", 65)(14, "p", 14);
56373
+ i0.ɵɵelementStart(12, "div")(13, "div", 64)(14, "p", 14);
56356
56374
  i0.ɵɵtext(15, " Additional Growth Needed ");
56357
56375
  i0.ɵɵelementEnd();
56358
- i0.ɵɵelementStart(16, "button", 38);
56359
- i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_36_Conditional_29_Template_button_click_16_listener($event) { i0.ɵɵrestoreView(_r8); return i0.ɵɵresetView($event.stopPropagation()); });
56376
+ i0.ɵɵelementStart(16, "button", 37);
56377
+ i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_36_Conditional_31_Template_button_click_16_listener($event) { i0.ɵɵrestoreView(_r8); return i0.ɵɵresetView($event.stopPropagation()); });
56360
56378
  i0.ɵɵnamespaceSVG();
56361
- i0.ɵɵelementStart(17, "svg", 39);
56362
- i0.ɵɵelement(18, "path", 40);
56379
+ i0.ɵɵelementStart(17, "svg", 38);
56380
+ i0.ɵɵelement(18, "path", 39);
56363
56381
  i0.ɵɵelementEnd()()();
56364
56382
  i0.ɵɵnamespaceHTML();
56365
- i0.ɵɵelementStart(19, "p", 63);
56383
+ i0.ɵɵelementStart(19, "p", 62);
56366
56384
  i0.ɵɵtext(20);
56367
56385
  i0.ɵɵelementEnd()()()();
56368
56386
  } if (rf & 2) {
@@ -56380,7 +56398,7 @@ function InitialTargetSettingComponent_Conditional_36_Conditional_29_Template(rf
56380
56398
  i0.ɵɵadvance(2);
56381
56399
  i0.ɵɵproperty("ngClass", ctx_r0.calculatedSecondaryClasses());
56382
56400
  i0.ɵɵadvance();
56383
- i0.ɵɵtextInterpolate1(" ", ctx_r0.formatCurrency(ctx_r0.absValue(ctx_r0.gapToClose().amount)), " ");
56401
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.formatCurrency(ctx_r0.animatedGapAmount()), " ");
56384
56402
  i0.ɵɵadvance(3);
56385
56403
  i0.ɵɵproperty("ngClass", ctx_r0.calculatedLabelClasses());
56386
56404
  i0.ɵɵadvance(2);
@@ -56388,37 +56406,37 @@ function InitialTargetSettingComponent_Conditional_36_Conditional_29_Template(rf
56388
56406
  i0.ɵɵadvance(3);
56389
56407
  i0.ɵɵproperty("ngClass", ctx_r0.calculatedSecondaryClasses());
56390
56408
  i0.ɵɵadvance();
56391
- i0.ɵɵtextInterpolate2(" ", ctx_r0.gapToClose().amount > 0 ? "+" : "", "", ctx_r0.formatPercentage(ctx_r0.gapToClose().percentage, 1), " ");
56409
+ i0.ɵɵtextInterpolate2(" ", ctx_r0.gapToClose().amount > 0 ? "+" : "", "", ctx_r0.formatPercentage(ctx_r0.animatedGapPercentage(), 1), " ");
56392
56410
  } }
56393
56411
  function InitialTargetSettingComponent_Conditional_36_Template(rf, ctx) { if (rf & 1) {
56394
- i0.ɵɵelementStart(0, "div", 51)(1, "div")(2, "div", 52)(3, "div")(4, "p", 14);
56412
+ i0.ɵɵelementStart(0, "div", 50)(1, "div")(2, "div", 51)(3, "div")(4, "p", 14);
56395
56413
  i0.ɵɵtext(5);
56396
56414
  i0.ɵɵelementEnd();
56397
- i0.ɵɵelementStart(6, "p", 53);
56415
+ i0.ɵɵelementStart(6, "p", 52);
56398
56416
  i0.ɵɵconditionalCreate(7, InitialTargetSettingComponent_Conditional_36_Conditional_7_Template, 1, 1)(8, InitialTargetSettingComponent_Conditional_36_Conditional_8_Template, 1, 1);
56399
56417
  i0.ɵɵelementEnd()();
56400
- i0.ɵɵconditionalCreate(9, InitialTargetSettingComponent_Conditional_36_Conditional_9_Template, 2, 1, "button", 54);
56418
+ i0.ɵɵconditionalCreate(9, InitialTargetSettingComponent_Conditional_36_Conditional_9_Template, 2, 1, "button", 53);
56401
56419
  i0.ɵɵelementEnd();
56402
- i0.ɵɵelementStart(10, "div", 55)(11, "div", 56)(12, "div", 57)(13, "div", 58);
56403
- i0.ɵɵelement(14, "div", 59);
56404
- i0.ɵɵelementStart(15, "span", 60);
56420
+ i0.ɵɵelementStart(10, "div", 54)(11, "div", 55)(12, "div", 56)(13, "div", 57);
56421
+ i0.ɵɵelement(14, "div", 58);
56422
+ i0.ɵɵelementStart(15, "span", 59);
56405
56423
  i0.ɵɵtext(16);
56406
56424
  i0.ɵɵelementEnd();
56407
- i0.ɵɵelement(17, "div", 59);
56425
+ i0.ɵɵelement(17, "div", 58);
56408
56426
  i0.ɵɵelementEnd();
56409
- i0.ɵɵelementStart(18, "div", 61)(19, "div")(20, "p", 62);
56427
+ i0.ɵɵelementStart(18, "div", 60)(19, "div")(20, "p", 61);
56410
56428
  i0.ɵɵtext(21, " Increase Amount ");
56411
56429
  i0.ɵɵelementEnd();
56412
- i0.ɵɵelementStart(22, "p", 63);
56413
- i0.ɵɵtext(23);
56430
+ i0.ɵɵelementStart(22, "p", 62);
56431
+ i0.ɵɵconditionalCreate(23, InitialTargetSettingComponent_Conditional_36_Conditional_23_Template, 1, 1)(24, InitialTargetSettingComponent_Conditional_36_Conditional_24_Template, 1, 0);
56414
56432
  i0.ɵɵelementEnd()();
56415
- i0.ɵɵelementStart(24, "div")(25, "p", 62);
56416
- i0.ɵɵtext(26, " % Growth ");
56433
+ i0.ɵɵelementStart(25, "div")(26, "p", 61);
56434
+ i0.ɵɵtext(27, " % Growth ");
56417
56435
  i0.ɵɵelementEnd();
56418
- i0.ɵɵelementStart(27, "p", 63);
56419
- i0.ɵɵtext(28);
56436
+ i0.ɵɵelementStart(28, "p", 62);
56437
+ i0.ɵɵconditionalCreate(29, InitialTargetSettingComponent_Conditional_36_Conditional_29_Template, 1, 1)(30, InitialTargetSettingComponent_Conditional_36_Conditional_30_Template, 1, 0);
56420
56438
  i0.ɵɵelementEnd()()()();
56421
- i0.ɵɵconditionalCreate(29, InitialTargetSettingComponent_Conditional_36_Conditional_29_Template, 21, 13, "div", 57);
56439
+ i0.ɵɵconditionalCreate(31, InitialTargetSettingComponent_Conditional_36_Conditional_31_Template, 21, 13, "div", 56);
56422
56440
  i0.ɵɵelementEnd()()()();
56423
56441
  } if (rf & 2) {
56424
56442
  const ctx_r0 = i0.ɵɵnextContext();
@@ -56450,42 +56468,24 @@ function InitialTargetSettingComponent_Conditional_36_Template(rf, ctx) { if (rf
56450
56468
  i0.ɵɵadvance(2);
56451
56469
  i0.ɵɵproperty("ngClass", ctx_r0.calculatedSecondaryClasses());
56452
56470
  i0.ɵɵadvance();
56453
- i0.ɵɵtextInterpolate1(" ", ctx_r0.formatCurrency(ctx_r0.calculatedRevenue() - ctx_r0.priorYearRevenue()), " ");
56454
- i0.ɵɵadvance(2);
56471
+ i0.ɵɵconditional(ctx_r0.isTargetValid() ? 23 : 24);
56472
+ i0.ɵɵadvance(3);
56455
56473
  i0.ɵɵproperty("ngClass", ctx_r0.calculatedLabelClasses());
56456
56474
  i0.ɵɵadvance(2);
56457
56475
  i0.ɵɵproperty("ngClass", ctx_r0.calculatedSecondaryClasses());
56458
56476
  i0.ɵɵadvance();
56459
- i0.ɵɵtextInterpolate1(" +", ctx_r0.formatPercentage(ctx_r0.percentageIncrease(), 1), " ");
56460
- i0.ɵɵadvance();
56461
- i0.ɵɵconditional(ctx_r0.currentPaceProjection() > 0 && ctx_r0.gapToClose().amount !== 0 ? 29 : -1);
56462
- } }
56463
- function InitialTargetSettingComponent_Conditional_37_Template(rf, ctx) { if (rf & 1) {
56464
- const _r9 = i0.ɵɵgetCurrentView();
56465
- i0.ɵɵelementStart(0, "div", 28)(1, "button", 66);
56466
- i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_37_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r0 = i0.ɵɵnextContext(); ctx_r0.toggleDetails(); return i0.ɵɵresetView($event.stopPropagation()); });
56467
- i0.ɵɵtext(2);
56468
- i0.ɵɵnamespaceSVG();
56469
- i0.ɵɵelementStart(3, "svg", 67);
56470
- i0.ɵɵelement(4, "path", 35);
56471
- i0.ɵɵelementEnd()()();
56472
- } if (rf & 2) {
56473
- const ctx_r0 = i0.ɵɵnextContext();
56474
- i0.ɵɵadvance();
56475
- i0.ɵɵproperty("ngClass", ctx_r0.learnMoreButtonClasses());
56476
- i0.ɵɵadvance();
56477
- i0.ɵɵtextInterpolate1(" ", ctx_r0.detailsExpanded() ? "Show Less" : "Learn More", " ");
56478
- i0.ɵɵadvance();
56479
- i0.ɵɵclassProp("chevron-rotate-expanded", ctx_r0.detailsExpanded());
56477
+ i0.ɵɵconditional(ctx_r0.isTargetValid() ? 29 : 30);
56478
+ i0.ɵɵadvance(2);
56479
+ i0.ɵɵconditional(ctx_r0.currentPaceProjection() > 0 && ctx_r0.gapToClose().amount !== 0 && ctx_r0.isTargetValid() ? 31 : -1);
56480
56480
  } }
56481
- function InitialTargetSettingComponent_Conditional_38_Conditional_4_Template(rf, ctx) { if (rf & 1) {
56481
+ function InitialTargetSettingComponent_Conditional_37_Conditional_4_Template(rf, ctx) { if (rf & 1) {
56482
56482
  i0.ɵɵelement(0, "symphiq-area-chart", 23);
56483
56483
  } if (rf & 2) {
56484
56484
  const ctx_r0 = i0.ɵɵnextContext(2);
56485
56485
  i0.ɵɵproperty("chart", ctx_r0.revenueChartData())("showAxisLabels", true)("viewMode", ctx_r0.viewMode())("currencySymbol", "$")("height", "320px");
56486
56486
  } }
56487
- function InitialTargetSettingComponent_Conditional_38_Conditional_5_Template(rf, ctx) { if (rf & 1) {
56488
- i0.ɵɵelementStart(0, "div", 24)(1, "p", 50);
56487
+ function InitialTargetSettingComponent_Conditional_37_Conditional_5_Template(rf, ctx) { if (rf & 1) {
56488
+ i0.ɵɵelementStart(0, "div", 24)(1, "p", 49);
56489
56489
  i0.ɵɵtext(2, " No revenue data available ");
56490
56490
  i0.ɵɵelementEnd()();
56491
56491
  } if (rf & 2) {
@@ -56493,12 +56493,12 @@ function InitialTargetSettingComponent_Conditional_38_Conditional_5_Template(rf,
56493
56493
  i0.ɵɵadvance();
56494
56494
  i0.ɵɵproperty("ngClass", ctx_r0.noDataClasses());
56495
56495
  } }
56496
- function InitialTargetSettingComponent_Conditional_38_Template(rf, ctx) { if (rf & 1) {
56497
- i0.ɵɵelementStart(0, "div", 29)(1, "p", 21);
56496
+ function InitialTargetSettingComponent_Conditional_37_Template(rf, ctx) { if (rf & 1) {
56497
+ i0.ɵɵelementStart(0, "div", 28)(1, "p", 21);
56498
56498
  i0.ɵɵtext(2, " Year-over-Year Revenue Trend ");
56499
56499
  i0.ɵɵelementEnd();
56500
56500
  i0.ɵɵelementStart(3, "div", 22);
56501
- i0.ɵɵconditionalCreate(4, InitialTargetSettingComponent_Conditional_38_Conditional_4_Template, 1, 5, "symphiq-area-chart", 23)(5, InitialTargetSettingComponent_Conditional_38_Conditional_5_Template, 3, 1, "div", 24);
56501
+ i0.ɵɵconditionalCreate(4, InitialTargetSettingComponent_Conditional_37_Conditional_4_Template, 1, 5, "symphiq-area-chart", 23)(5, InitialTargetSettingComponent_Conditional_37_Conditional_5_Template, 3, 1, "div", 24);
56502
56502
  i0.ɵɵelementEnd()();
56503
56503
  } if (rf & 2) {
56504
56504
  const ctx_r0 = i0.ɵɵnextContext();
@@ -56509,26 +56509,37 @@ function InitialTargetSettingComponent_Conditional_38_Template(rf, ctx) { if (rf
56509
56509
  i0.ɵɵadvance();
56510
56510
  i0.ɵɵconditional(ctx_r0.revenueChartData() ? 4 : 5);
56511
56511
  } }
56512
- function InitialTargetSettingComponent_Conditional_41_Template(rf, ctx) { if (rf & 1) {
56513
- i0.ɵɵelementStart(0, "div", 68)(1, "div", 69)(2, "h2", 70);
56512
+ function InitialTargetSettingComponent_Conditional_40_Conditional_5_Template(rf, ctx) { if (rf & 1) {
56513
+ i0.ɵɵtext(0);
56514
+ } if (rf & 2) {
56515
+ const ctx_r0 = i0.ɵɵnextContext(2);
56516
+ i0.ɵɵtextInterpolate1(" To achieve your revenue target of over ", ctx_r0.formatCurrency(ctx_r0.submittedAbsoluteInput()), ", the following metrics need to improve by these amounts. These improvements compound through your funnel to drive revenue growth. ");
56517
+ } }
56518
+ function InitialTargetSettingComponent_Conditional_40_Conditional_6_Template(rf, ctx) { if (rf & 1) {
56519
+ i0.ɵɵtext(0);
56520
+ } if (rf & 2) {
56521
+ const ctx_r0 = i0.ɵɵnextContext(2);
56522
+ i0.ɵɵtextInterpolate1(" To achieve your revenue target of ", ctx_r0.formatCurrency(ctx_r0.displayedTargetRevenue()), ", the following metrics need to improve by these amounts. These improvements compound through your funnel to drive revenue growth. ");
56523
+ } }
56524
+ function InitialTargetSettingComponent_Conditional_40_Template(rf, ctx) { if (rf & 1) {
56525
+ i0.ɵɵelementStart(0, "div", 31)(1, "div", 65)(2, "h2", 66);
56514
56526
  i0.ɵɵtext(3, " Contributing Metrics ");
56515
56527
  i0.ɵɵelementEnd();
56516
- i0.ɵɵelementStart(4, "p", 50);
56517
- i0.ɵɵtext(5);
56528
+ i0.ɵɵelementStart(4, "p", 49);
56529
+ i0.ɵɵconditionalCreate(5, InitialTargetSettingComponent_Conditional_40_Conditional_5_Template, 1, 1)(6, InitialTargetSettingComponent_Conditional_40_Conditional_6_Template, 1, 1);
56518
56530
  i0.ɵɵelementEnd()();
56519
- i0.ɵɵelement(6, "symphiq-funnel-metrics-visualization", 71);
56531
+ i0.ɵɵelement(7, "symphiq-funnel-metrics-visualization", 67);
56520
56532
  i0.ɵɵelementEnd();
56521
56533
  } if (rf & 2) {
56522
56534
  const ctx_r0 = i0.ɵɵnextContext();
56523
- i0.ɵɵclassProp("metrics-highlight-pulse", ctx_r0.showMetricsHighlight());
56524
56535
  i0.ɵɵproperty("ngClass", ctx_r0.sectionCardClasses());
56525
56536
  i0.ɵɵadvance(2);
56526
56537
  i0.ɵɵproperty("ngClass", ctx_r0.sectionTitleClasses());
56527
56538
  i0.ɵɵadvance(2);
56528
56539
  i0.ɵɵproperty("ngClass", ctx_r0.sectionDescriptionClasses());
56529
56540
  i0.ɵɵadvance();
56530
- i0.ɵɵtextInterpolate1(" To achieve your revenue target of ", ctx_r0.formatCurrency(ctx_r0.displayedTargetRevenue()), ", the following metrics need to improve by these amounts. These improvements compound through your funnel to drive revenue growth. ");
56531
- i0.ɵɵadvance();
56541
+ i0.ɵɵconditional(ctx_r0.targets() === undefined && ctx_r0.submittedAbsoluteInput() !== null ? 5 : 6);
56542
+ i0.ɵɵadvance(2);
56532
56543
  i0.ɵɵproperty("viewMode", ctx_r0.viewMode())("calculations", ctx_r0.displayedMetricCalculations())("pacingMetrics", ctx_r0.pacingMetrics());
56533
56544
  } }
56534
56545
  class InitialTargetSettingComponent {
@@ -56551,8 +56562,11 @@ class InitialTargetSettingComponent {
56551
56562
  this.storedResponse = signal(null, ...(ngDevMode ? [{ debugName: "storedResponse" }] : []));
56552
56563
  this.submittedAbsoluteInput = signal(null, ...(ngDevMode ? [{ debugName: "submittedAbsoluteInput" }] : []));
56553
56564
  this.detailsExpanded = signal(false, ...(ngDevMode ? [{ debugName: "detailsExpanded" }] : []));
56554
- this.showMetricsHighlight = signal(false, ...(ngDevMode ? [{ debugName: "showMetricsHighlight" }] : []));
56555
- this.hasShownMetricsHighlight = false;
56565
+ this.animatedIncreaseAmount = signal(0, ...(ngDevMode ? [{ debugName: "animatedIncreaseAmount" }] : []));
56566
+ this.animatedPercentageGrowth = signal(0, ...(ngDevMode ? [{ debugName: "animatedPercentageGrowth" }] : []));
56567
+ this.animatedGapAmount = signal(0, ...(ngDevMode ? [{ debugName: "animatedGapAmount" }] : []));
56568
+ this.animatedGapPercentage = signal(0, ...(ngDevMode ? [{ debugName: "animatedGapPercentage" }] : []));
56569
+ this.animationFrameId = null;
56556
56570
  this.priorYearRevenue = computed(() => {
56557
56571
  return sumMetricFromUiData(this.mainUiData(), MetricEnum.PURCHASE_REVENUE, 'priorYear');
56558
56572
  }, ...(ngDevMode ? [{ debugName: "priorYearRevenue" }] : []));
@@ -56592,6 +56606,9 @@ class InitialTargetSettingComponent {
56592
56606
  return 0;
56593
56607
  return ((target - prior) / prior) * 100;
56594
56608
  }, ...(ngDevMode ? [{ debugName: "percentageIncrease" }] : []));
56609
+ this.isTargetValid = computed(() => {
56610
+ return this.calculatedRevenue() > this.priorYearRevenue();
56611
+ }, ...(ngDevMode ? [{ debugName: "isTargetValid" }] : []));
56595
56612
  this.displayedMetricCalculations = computed(() => {
56596
56613
  const response = this.storedResponse();
56597
56614
  if (!response) {
@@ -56609,7 +56626,7 @@ class InitialTargetSettingComponent {
56609
56626
  funnelMetric: metric,
56610
56627
  currentValue,
56611
56628
  targetValue,
56612
- percentageIncrease,
56629
+ percentageIncrease: metric === MetricEnum.PURCHASE_REVENUE ? this.percentageIncrease() : percentageIncrease,
56613
56630
  isFunnelStage: true,
56614
56631
  funnelInd: funnelMetric?.funnelInd,
56615
56632
  relatedInd: 0,
@@ -56724,17 +56741,47 @@ class InitialTargetSettingComponent {
56724
56741
  }
56725
56742
  }, { allowSignalWrites: true });
56726
56743
  effect(() => {
56727
- const showMetrics = this.showMetricsVisualization();
56728
- const targetsUndefined = this.targets() === undefined;
56729
- if (showMetrics && targetsUndefined && !this.hasShownMetricsHighlight) {
56730
- this.hasShownMetricsHighlight = true;
56731
- this.showMetricsHighlight.set(true);
56732
- setTimeout(() => {
56733
- this.showMetricsHighlight.set(false);
56734
- }, 2000);
56744
+ const isValid = this.calculatedRevenue() > this.priorYearRevenue();
56745
+ const increaseAmount = this.calculatedRevenue() - this.priorYearRevenue();
56746
+ const percentageGrowth = this.percentageIncrease();
56747
+ const gap = this.gapToClose();
56748
+ if (isValid && increaseAmount > 0) {
56749
+ this.animateCountUp(increaseAmount, percentageGrowth, Math.abs(gap.amount), gap.percentage);
56750
+ }
56751
+ else {
56752
+ this.animatedIncreaseAmount.set(0);
56753
+ this.animatedPercentageGrowth.set(0);
56754
+ this.animatedGapAmount.set(0);
56755
+ this.animatedGapPercentage.set(0);
56735
56756
  }
56736
56757
  }, { allowSignalWrites: true });
56737
56758
  }
56759
+ animateCountUp(targetAmount, targetPercentage, targetGapAmount, targetGapPercentage) {
56760
+ if (this.animationFrameId) {
56761
+ cancelAnimationFrame(this.animationFrameId);
56762
+ }
56763
+ const duration = 400;
56764
+ const startTime = performance.now();
56765
+ const animate = (currentTime) => {
56766
+ const elapsed = currentTime - startTime;
56767
+ const progress = Math.min(elapsed / duration, 1);
56768
+ const easeProgress = 1 - Math.pow(1 - progress, 3);
56769
+ this.animatedIncreaseAmount.set(targetAmount * easeProgress);
56770
+ this.animatedPercentageGrowth.set(targetPercentage * easeProgress);
56771
+ this.animatedGapAmount.set(targetGapAmount * easeProgress);
56772
+ this.animatedGapPercentage.set(targetGapPercentage * easeProgress);
56773
+ if (progress < 1) {
56774
+ this.animationFrameId = requestAnimationFrame(animate);
56775
+ }
56776
+ else {
56777
+ this.animatedIncreaseAmount.set(targetAmount);
56778
+ this.animatedPercentageGrowth.set(targetPercentage);
56779
+ this.animatedGapAmount.set(targetGapAmount);
56780
+ this.animatedGapPercentage.set(targetGapPercentage);
56781
+ }
56782
+ };
56783
+ this.animationFrameId = requestAnimationFrame(animate);
56784
+ }
56738
56785
  parseMetricValue(value) {
56739
56786
  if (!value)
56740
56787
  return { targetValue: 0, percentageIncrease: 0 };
@@ -57028,7 +57075,7 @@ class InitialTargetSettingComponent {
57028
57075
  let _t;
57029
57076
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.absoluteInputRef = _t.first);
57030
57077
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.percentageInputRef = _t.first);
57031
- } }, 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"], targets: [1, "targets"] }, outputs: { targetsCreated: "targetsCreated", calculateRevenueRequest: "calculateRevenueRequest" }, decls: 43, vars: 37, consts: [["absoluteInputRef", ""], ["percentageInputRef", ""], [1, "space-y-8", "pb-32"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", 3, "click", "ngClass"], [1, "flex", "items-center", "justify-between", "mb-6"], [1, "text-2xl", "font-bold", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "chevron-rotate", 3, "chevron-rotate-expanded", "ngClass"], [1, "flex", "flex-col", "gap-4"], [1, "grid", "lg:grid-cols-2", "gap-4"], [1, "p-6", "rounded-xl", "border-2", 3, "click", "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", 3, "ngClass", "h-full"], [1, "flex", "justify-center"], [1, "w-full"], [1, "metrics-section-enter"], [1, "metrics-section-content"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", 3, "ngClass", "metrics-highlight-pulse"], [3, "submitClick", "cancelClick", "viewMode", "isValid", "isSubmitting", "validationMessage", "buttonText", "showCancelButton"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "chevron-rotate", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 9l-7 7-7-7"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"], [1, "flex", "items-center", "gap-1"], ["type", "button", "tooltipType", "markdown", "tooltipPosition", "top", 1, "flex-shrink-0", "w-4", "h-4", "rounded-full", "inline-flex", "items-center", "justify-center", "transition-colors", 3, "click", "ngClass", "libSymphiqTooltip"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3", "h-3"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"], [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, "flex", "justify-end"], [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, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "transition-all", 3, "click", "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "p-6", "rounded-xl", "border-2", 3, "ngClass"], [1, "flex", "items-center", "justify-between"], [1, "font-bold", "transition-all", "duration-300", 3, "ngClass"], [1, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "transition-all", "whitespace-nowrap", 3, "ngClass"], [1, "details-collapse"], [1, "details-collapse-content"], [1, "relative", "pt-6", "mt-6"], [1, "absolute", "top-0", "left-0", "right-0", "flex", "items-center", "-translate-y-1/2"], [1, "flex-1", "h-px", 3, "ngClass"], [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-xs", "font-medium", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [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, "flex", "items-center", "gap-1", "mb-1"], [1, "text-sm", "font-semibold", "transition-all", "inline-flex", "items-center", "gap-1", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", "chevron-rotate"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", 3, "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) {
57078
+ } }, 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"], targets: [1, "targets"] }, outputs: { targetsCreated: "targetsCreated", calculateRevenueRequest: "calculateRevenueRequest" }, decls: 42, vars: 44, consts: [["absoluteInputRef", ""], ["percentageInputRef", ""], [1, "space-y-8", "pb-32"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", 3, "click", "ngClass"], [1, "flex", "items-center", "justify-between", "mb-6"], [1, "text-2xl", "font-bold", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "chevron-rotate", 3, "chevron-rotate-expanded", "ngClass"], [1, "flex", "flex-col", "gap-4"], [1, "grid", "lg:grid-cols-2", "gap-4"], [1, "p-6", "rounded-xl", "border-2", 3, "click", "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", 3, "ngClass", "h-full"], [1, "w-full"], [1, "metrics-section-enter"], [1, "metrics-section-content"], [1, "rounded-2xl", "border", "shadow-lg", "p-8", 3, "ngClass"], [3, "submitClick", "cancelClick", "viewMode", "isValid", "isSubmitting", "validationMessage", "buttonText", "showCancelButton"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "chevron-rotate", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M19 9l-7 7-7-7"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"], [1, "flex", "items-center", "gap-1"], ["type", "button", "tooltipType", "markdown", "tooltipPosition", "top", 1, "flex-shrink-0", "w-4", "h-4", "rounded-full", "inline-flex", "items-center", "justify-center", "transition-colors", 3, "click", "ngClass", "libSymphiqTooltip"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3", "h-3"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"], [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, "flex", "justify-end"], [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, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "transition-all", 3, "click", "ngClass"], [1, "text-sm", 3, "ngClass"], [1, "p-6", "rounded-xl", "border-2", 3, "ngClass"], [1, "flex", "items-center", "justify-between"], [1, "font-bold", "transition-all", "duration-300", 3, "ngClass"], [1, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "transition-all", "whitespace-nowrap", 3, "ngClass"], [1, "details-collapse"], [1, "details-collapse-content"], [1, "relative", "pt-6", "mt-6"], [1, "absolute", "top-0", "left-0", "right-0", "flex", "items-center", "-translate-y-1/2"], [1, "flex-1", "h-px", 3, "ngClass"], [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-xs", "font-medium", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [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, "flex", "items-center", "gap-1", "mb-1"], [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) {
57032
57079
  i0.ɵɵelementStart(0, "div", 2);
57033
57080
  i0.ɵɵelement(1, "symphiq-tooltip-container");
57034
57081
  i0.ɵɵelementStart(2, "div", 3);
@@ -57039,7 +57086,7 @@ class InitialTargetSettingComponent {
57039
57086
  i0.ɵɵconditionalCreate(7, InitialTargetSettingComponent_Conditional_7_Template, 2, 3, ":svg:svg", 6);
57040
57087
  i0.ɵɵelementEnd();
57041
57088
  i0.ɵɵelementStart(8, "div", 7)(9, "div", 8)(10, "div", 7)(11, "div", 9);
57042
- i0.ɵɵlistener("click", function InitialTargetSettingComponent_Template_div_click_11_listener($event) { return $event.stopPropagation(); });
57089
+ i0.ɵɵlistener("click", function InitialTargetSettingComponent_Template_div_click_11_listener() { return ctx.onCardClick(); });
57043
57090
  i0.ɵɵelementStart(12, "div", 10)(13, "div", 11);
57044
57091
  i0.ɵɵnamespaceSVG();
57045
57092
  i0.ɵɵelementStart(14, "svg", 12);
@@ -57064,20 +57111,19 @@ class InitialTargetSettingComponent {
57064
57111
  i0.ɵɵconditionalCreate(32, InitialTargetSettingComponent_Conditional_32_Template, 1, 5, "symphiq-area-chart", 23)(33, InitialTargetSettingComponent_Conditional_33_Template, 3, 1, "div", 24);
57065
57112
  i0.ɵɵelementEnd()()()()();
57066
57113
  i0.ɵɵelementStart(34, "div", 25)(35, "div", 26);
57067
- i0.ɵɵconditionalCreate(36, InitialTargetSettingComponent_Conditional_36_Template, 30, 25, "div", 27);
57114
+ i0.ɵɵconditionalCreate(36, InitialTargetSettingComponent_Conditional_36_Template, 32, 25, "div", 27);
57068
57115
  i0.ɵɵelementEnd()()();
57069
- i0.ɵɵconditionalCreate(37, InitialTargetSettingComponent_Conditional_37_Template, 5, 4, "div", 28);
57070
- i0.ɵɵconditionalCreate(38, InitialTargetSettingComponent_Conditional_38_Template, 6, 3, "div", 29);
57116
+ i0.ɵɵconditionalCreate(37, InitialTargetSettingComponent_Conditional_37_Template, 6, 3, "div", 28);
57071
57117
  i0.ɵɵelementEnd()();
57072
- i0.ɵɵelementStart(39, "div", 30)(40, "div", 31);
57073
- i0.ɵɵconditionalCreate(41, InitialTargetSettingComponent_Conditional_41_Template, 7, 9, "div", 32);
57118
+ i0.ɵɵelementStart(38, "div", 29)(39, "div", 30);
57119
+ i0.ɵɵconditionalCreate(40, InitialTargetSettingComponent_Conditional_40_Template, 8, 7, "div", 31);
57074
57120
  i0.ɵɵelementEnd()();
57075
- i0.ɵɵelementStart(42, "symphiq-sticky-submit-bar", 33);
57076
- i0.ɵɵlistener("submitClick", function InitialTargetSettingComponent_Template_symphiq_sticky_submit_bar_submitClick_42_listener() { return ctx.handleSubmitClick(); })("cancelClick", function InitialTargetSettingComponent_Template_symphiq_sticky_submit_bar_cancelClick_42_listener() { return ctx.handleCancel(); });
57121
+ i0.ɵɵelementStart(41, "symphiq-sticky-submit-bar", 32);
57122
+ i0.ɵɵlistener("submitClick", function InitialTargetSettingComponent_Template_symphiq_sticky_submit_bar_submitClick_41_listener() { return ctx.handleSubmitClick(); })("cancelClick", function InitialTargetSettingComponent_Template_symphiq_sticky_submit_bar_cancelClick_41_listener() { return ctx.handleCancel(); });
57077
57123
  i0.ɵɵelementEnd()();
57078
57124
  } if (rf & 2) {
57079
57125
  i0.ɵɵadvance(2);
57080
- i0.ɵɵclassProp("cursor-pointer", ctx.calculationState() === "results");
57126
+ i0.ɵɵclassProp("cursor-pointer", ctx.calculationState() === "results")("sticky", ctx.calculationState() === "results")("top-32", ctx.calculationState() === "results")("z-30", ctx.calculationState() === "results");
57081
57127
  i0.ɵɵproperty("ngClass", ctx.sectionCardClasses());
57082
57128
  i0.ɵɵadvance(2);
57083
57129
  i0.ɵɵproperty("ngClass", ctx.sectionTitleClasses());
@@ -57086,6 +57132,7 @@ class InitialTargetSettingComponent {
57086
57132
  i0.ɵɵadvance(2);
57087
57133
  i0.ɵɵconditional(ctx.calculationState() === "results" ? 7 : -1);
57088
57134
  i0.ɵɵadvance(4);
57135
+ i0.ɵɵclassProp("cursor-pointer", ctx.calculationState() === "results");
57089
57136
  i0.ɵɵproperty("ngClass", ctx.formAreaClasses());
57090
57137
  i0.ɵɵadvance(3);
57091
57138
  i0.ɵɵproperty("ngClass", ctx.baselineIconClasses());
@@ -57116,20 +57163,18 @@ class InitialTargetSettingComponent {
57116
57163
  i0.ɵɵadvance(2);
57117
57164
  i0.ɵɵconditional(ctx.calculatedRevenue() > 0 ? 36 : -1);
57118
57165
  i0.ɵɵadvance();
57119
- i0.ɵɵconditional(ctx.calculationState() === "results" ? 37 : -1);
57120
- i0.ɵɵadvance();
57121
- i0.ɵɵconditional(ctx.calculationState() !== "results" ? 38 : -1);
57166
+ i0.ɵɵconditional(ctx.calculationState() !== "results" ? 37 : -1);
57122
57167
  i0.ɵɵadvance();
57123
57168
  i0.ɵɵclassProp("metrics-section-enter-active", ctx.showMetricsVisualization());
57124
57169
  i0.ɵɵadvance(2);
57125
- i0.ɵɵconditional(ctx.showMetricsVisualization() ? 41 : -1);
57170
+ i0.ɵɵconditional(ctx.showMetricsVisualization() ? 40 : -1);
57126
57171
  i0.ɵɵadvance();
57127
57172
  i0.ɵɵproperty("viewMode", ctx.viewMode())("isValid", ctx.isValid())("isSubmitting", ctx.isCalculating())("validationMessage", ctx.validationMessage())("buttonText", ctx.submitButtonText())("showCancelButton", ctx.calculationState() === "input" && ctx.hasStoredResponse());
57128
57173
  } }, 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,
57129
57174
  StickySubmitBarComponent,
57130
57175
  AreaChartComponent,
57131
57176
  TooltipDirective,
57132
- TooltipContainerComponent], styles: [".calculated-card-enter[_ngcontent-%COMP%]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease-out}.calculated-card-enter-active[_ngcontent-%COMP%]{grid-template-rows:1fr}.calculated-card-content[_ngcontent-%COMP%]{overflow:hidden}.form-area-collapse[_ngcontent-%COMP%]{display:grid;grid-template-rows:1fr;transition:grid-template-rows .4s ease-out}.form-area-collapse-hidden[_ngcontent-%COMP%]{grid-template-rows:0fr}.form-area-content[_ngcontent-%COMP%]{overflow:hidden}.chart-section-collapse[_ngcontent-%COMP%]{display:grid;grid-template-rows:1fr;transition:grid-template-rows .4s ease-out}.chart-section-collapse-hidden[_ngcontent-%COMP%]{grid-template-rows:0fr}.chart-section-content[_ngcontent-%COMP%]{overflow:hidden}.chart-in-column[_ngcontent-%COMP%]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease-out}.chart-in-column-active[_ngcontent-%COMP%]{grid-template-rows:1fr}.chart-in-column-content[_ngcontent-%COMP%]{overflow:hidden}.metrics-section-enter[_ngcontent-%COMP%]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s ease-out}.metrics-section-enter-active[_ngcontent-%COMP%]{grid-template-rows:1fr}.metrics-section-content[_ngcontent-%COMP%]{overflow:hidden}.details-collapse[_ngcontent-%COMP%]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease-out}.details-collapse-expanded[_ngcontent-%COMP%]{grid-template-rows:1fr}.details-collapse-content[_ngcontent-%COMP%]{overflow:hidden}.chevron-rotate[_ngcontent-%COMP%]{transition:transform .3s ease-out}.chevron-rotate-expanded[_ngcontent-%COMP%]{transform:rotate(180deg)}@keyframes _ngcontent-%COMP%_pulse-highlight{0%,to{box-shadow:0 0 #8b5cf600}50%{box-shadow:0 0 0 8px #8b5cf666}}.metrics-highlight-pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-highlight 1s ease-in-out 2;border-color:#8b5cf6!important}"], changeDetection: 0 }); }
57177
+ TooltipContainerComponent], styles: [".calculated-card-enter[_ngcontent-%COMP%]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease-out}.calculated-card-enter-active[_ngcontent-%COMP%]{grid-template-rows:1fr}.calculated-card-content[_ngcontent-%COMP%]{overflow:hidden}.form-area-collapse[_ngcontent-%COMP%]{display:grid;grid-template-rows:1fr;transition:grid-template-rows .4s ease-out}.form-area-collapse-hidden[_ngcontent-%COMP%]{grid-template-rows:0fr}.form-area-content[_ngcontent-%COMP%]{overflow:hidden}.chart-section-collapse[_ngcontent-%COMP%]{display:grid;grid-template-rows:1fr;transition:grid-template-rows .4s ease-out}.chart-section-collapse-hidden[_ngcontent-%COMP%]{grid-template-rows:0fr}.chart-section-content[_ngcontent-%COMP%]{overflow:hidden}.chart-in-column[_ngcontent-%COMP%]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease-out}.chart-in-column-active[_ngcontent-%COMP%]{grid-template-rows:1fr}.chart-in-column-content[_ngcontent-%COMP%]{overflow:hidden}.metrics-section-enter[_ngcontent-%COMP%]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s ease-out}.metrics-section-enter-active[_ngcontent-%COMP%]{grid-template-rows:1fr}.metrics-section-content[_ngcontent-%COMP%]{overflow:hidden}.details-collapse[_ngcontent-%COMP%]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease-out}.details-collapse-expanded[_ngcontent-%COMP%]{grid-template-rows:1fr}.details-collapse-content[_ngcontent-%COMP%]{overflow:hidden}.chevron-rotate[_ngcontent-%COMP%]{transition:transform .3s ease-out}.chevron-rotate-expanded[_ngcontent-%COMP%]{transform:rotate(180deg)}"], changeDetection: 0 }); }
57133
57178
  }
57134
57179
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitialTargetSettingComponent, [{
57135
57180
  type: Component,
@@ -57146,6 +57191,9 @@ class InitialTargetSettingComponent {
57146
57191
  <symphiq-tooltip-container />
57147
57192
  <div [ngClass]="sectionCardClasses()" class="rounded-2xl border shadow-lg p-8"
57148
57193
  [class.cursor-pointer]="calculationState() === 'results'"
57194
+ [class.sticky]="calculationState() === 'results'"
57195
+ [class.top-32]="calculationState() === 'results'"
57196
+ [class.z-30]="calculationState() === 'results'"
57149
57197
  (click)="onCardClick()">
57150
57198
  <div class="flex items-center justify-between mb-6">
57151
57199
  <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold">
@@ -57171,7 +57219,7 @@ class InitialTargetSettingComponent {
57171
57219
  <div class="flex flex-col gap-4">
57172
57220
  <div class="grid lg:grid-cols-2 gap-4">
57173
57221
  <div class="flex flex-col gap-4">
57174
- <div [ngClass]="formAreaClasses()" class="p-6 rounded-xl border-2" (click)="$event.stopPropagation()">
57222
+ <div [ngClass]="formAreaClasses()" class="p-6 rounded-xl border-2" [class.cursor-pointer]="calculationState() === 'results'" (click)="onCardClick()">
57175
57223
  <div class="flex flex-wrap gap-4 place-content-between">
57176
57224
  <div class="flex items-center gap-2">
57177
57225
  <svg class="w-4 h-4" [ngClass]="baselineIconClasses()" fill="none" stroke="currentColor" viewBox="0 0 24 24">
@@ -57362,7 +57410,11 @@ class InitialTargetSettingComponent {
57362
57410
  Increase Amount
57363
57411
  </p>
57364
57412
  <p [ngClass]="calculatedSecondaryClasses()" class="text-xl font-bold">
57365
- {{ formatCurrency(calculatedRevenue() - priorYearRevenue()) }}
57413
+ @if (isTargetValid()) {
57414
+ {{ formatCurrency(animatedIncreaseAmount()) }}
57415
+ } @else {
57416
+ --
57417
+ }
57366
57418
  </p>
57367
57419
  </div>
57368
57420
  <div>
@@ -57370,13 +57422,17 @@ class InitialTargetSettingComponent {
57370
57422
  % Growth
57371
57423
  </p>
57372
57424
  <p [ngClass]="calculatedSecondaryClasses()" class="text-xl font-bold">
57373
- +{{ formatPercentage(percentageIncrease(), 1) }}
57425
+ @if (isTargetValid()) {
57426
+ +{{ formatPercentage(animatedPercentageGrowth(), 1) }}
57427
+ } @else {
57428
+ --
57429
+ }
57374
57430
  </p>
57375
57431
  </div>
57376
57432
  </div>
57377
57433
  </div>
57378
57434
 
57379
- @if (currentPaceProjection() > 0 && gapToClose().amount !== 0) {
57435
+ @if (currentPaceProjection() > 0 && gapToClose().amount !== 0 && isTargetValid()) {
57380
57436
  <div class="relative pt-6 mt-6">
57381
57437
  <div class="absolute top-0 left-0 right-0 flex items-center -translate-y-1/2">
57382
57438
  <div class="flex-1 h-px" [ngClass]="dividerBorderClasses()"></div>
@@ -57391,7 +57447,7 @@ class InitialTargetSettingComponent {
57391
57447
  Gap to Close
57392
57448
  </p>
57393
57449
  <p [ngClass]="calculatedSecondaryClasses()" class="text-xl font-bold">
57394
- {{ formatCurrency(absValue(gapToClose().amount)) }}
57450
+ {{ formatCurrency(animatedGapAmount()) }}
57395
57451
  </p>
57396
57452
  </div>
57397
57453
  <div>
@@ -57413,7 +57469,7 @@ class InitialTargetSettingComponent {
57413
57469
  </button>
57414
57470
  </div>
57415
57471
  <p [ngClass]="calculatedSecondaryClasses()" class="text-xl font-bold">
57416
- {{ gapToClose().amount > 0 ? '+' : '' }}{{ formatPercentage(gapToClose().percentage, 1) }}
57472
+ {{ gapToClose().amount > 0 ? '+' : '' }}{{ formatPercentage(animatedGapPercentage(), 1) }}
57417
57473
  </p>
57418
57474
  </div>
57419
57475
  </div>
@@ -57429,25 +57485,6 @@ class InitialTargetSettingComponent {
57429
57485
  </div>
57430
57486
  </div>
57431
57487
 
57432
- @if (calculationState() === 'results') {
57433
- <div class="flex justify-center">
57434
- <button
57435
- (click)="toggleDetails(); $event.stopPropagation()"
57436
- [ngClass]="learnMoreButtonClasses()"
57437
- class="text-sm font-semibold transition-all inline-flex items-center gap-1">
57438
- {{ detailsExpanded() ? 'Show Less' : 'Learn More' }}
57439
- <svg
57440
- class="w-4 h-4 chevron-rotate"
57441
- [class.chevron-rotate-expanded]="detailsExpanded()"
57442
- fill="none"
57443
- stroke="currentColor"
57444
- viewBox="0 0 24 24">
57445
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7" />
57446
- </svg>
57447
- </button>
57448
- </div>
57449
- }
57450
-
57451
57488
  @if (calculationState() !== 'results') {
57452
57489
  <div class="w-full">
57453
57490
  <p [ngClass]="chartTitleClasses()" class="text-sm font-semibold mb-3">
@@ -57478,14 +57515,17 @@ class InitialTargetSettingComponent {
57478
57515
  <div class="metrics-section-enter" [class.metrics-section-enter-active]="showMetricsVisualization()">
57479
57516
  <div class="metrics-section-content">
57480
57517
  @if (showMetricsVisualization()) {
57481
- <div [ngClass]="sectionCardClasses()" class="rounded-2xl border shadow-lg p-8"
57482
- [class.metrics-highlight-pulse]="showMetricsHighlight()">
57518
+ <div [ngClass]="sectionCardClasses()" class="rounded-2xl border shadow-lg p-8">
57483
57519
  <div class="mb-6">
57484
57520
  <h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
57485
57521
  Contributing Metrics
57486
57522
  </h2>
57487
57523
  <p [ngClass]="sectionDescriptionClasses()" class="text-sm">
57488
- To achieve your revenue target of {{ formatCurrency(displayedTargetRevenue()) }}, the following metrics need to improve by these amounts. These improvements compound through your funnel to drive revenue growth.
57524
+ @if (targets() === undefined && submittedAbsoluteInput() !== null) {
57525
+ To achieve your revenue target of over {{ formatCurrency(submittedAbsoluteInput()!) }}, the following metrics need to improve by these amounts. These improvements compound through your funnel to drive revenue growth.
57526
+ } @else {
57527
+ To achieve your revenue target of {{ formatCurrency(displayedTargetRevenue()) }}, the following metrics need to improve by these amounts. These improvements compound through your funnel to drive revenue growth.
57528
+ }
57489
57529
  </p>
57490
57530
  </div>
57491
57531
 
@@ -57510,7 +57550,7 @@ class InitialTargetSettingComponent {
57510
57550
  (cancelClick)="handleCancel()"
57511
57551
  />
57512
57552
  </div>
57513
- `, styles: [".calculated-card-enter{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease-out}.calculated-card-enter-active{grid-template-rows:1fr}.calculated-card-content{overflow:hidden}.form-area-collapse{display:grid;grid-template-rows:1fr;transition:grid-template-rows .4s ease-out}.form-area-collapse-hidden{grid-template-rows:0fr}.form-area-content{overflow:hidden}.chart-section-collapse{display:grid;grid-template-rows:1fr;transition:grid-template-rows .4s ease-out}.chart-section-collapse-hidden{grid-template-rows:0fr}.chart-section-content{overflow:hidden}.chart-in-column{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease-out}.chart-in-column-active{grid-template-rows:1fr}.chart-in-column-content{overflow:hidden}.metrics-section-enter{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s ease-out}.metrics-section-enter-active{grid-template-rows:1fr}.metrics-section-content{overflow:hidden}.details-collapse{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease-out}.details-collapse-expanded{grid-template-rows:1fr}.details-collapse-content{overflow:hidden}.chevron-rotate{transition:transform .3s ease-out}.chevron-rotate-expanded{transform:rotate(180deg)}@keyframes pulse-highlight{0%,to{box-shadow:0 0 #8b5cf600}50%{box-shadow:0 0 0 8px #8b5cf666}}.metrics-highlight-pulse{animation:pulse-highlight 1s ease-in-out 2;border-color:#8b5cf6!important}\n"] }]
57553
+ `, styles: [".calculated-card-enter{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease-out}.calculated-card-enter-active{grid-template-rows:1fr}.calculated-card-content{overflow:hidden}.form-area-collapse{display:grid;grid-template-rows:1fr;transition:grid-template-rows .4s ease-out}.form-area-collapse-hidden{grid-template-rows:0fr}.form-area-content{overflow:hidden}.chart-section-collapse{display:grid;grid-template-rows:1fr;transition:grid-template-rows .4s ease-out}.chart-section-collapse-hidden{grid-template-rows:0fr}.chart-section-content{overflow:hidden}.chart-in-column{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease-out}.chart-in-column-active{grid-template-rows:1fr}.chart-in-column-content{overflow:hidden}.metrics-section-enter{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s ease-out}.metrics-section-enter-active{grid-template-rows:1fr}.metrics-section-content{overflow:hidden}.details-collapse{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease-out}.details-collapse-expanded{grid-template-rows:1fr}.details-collapse-content{overflow:hidden}.chevron-rotate{transition:transform .3s ease-out}.chevron-rotate-expanded{transform:rotate(180deg)}\n"] }]
57514
57554
  }], () => [], { absoluteInputRef: [{
57515
57555
  type: ViewChild,
57516
57556
  args: ['absoluteInputRef']
@@ -57518,7 +57558,7 @@ class InitialTargetSettingComponent {
57518
57558
  type: ViewChild,
57519
57559
  args: ['percentageInputRef']
57520
57560
  }], 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 }] }], targets: [{ type: i0.Input, args: [{ isSignal: true, alias: "targets", required: false }] }], targetsCreated: [{ type: i0.Output, args: ["targetsCreated"] }], calculateRevenueRequest: [{ type: i0.Output, args: ["calculateRevenueRequest"] }] }); })();
57521
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InitialTargetSettingComponent, { className: "InitialTargetSettingComponent", filePath: "lib/components/revenue-calculator-dashboard/initial-target-setting.component.ts", lineNumber: 531 }); })();
57561
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InitialTargetSettingComponent, { className: "InitialTargetSettingComponent", filePath: "lib/components/revenue-calculator-dashboard/initial-target-setting.component.ts", lineNumber: 513 }); })();
57522
57562
 
57523
57563
  function IndeterminateSpinnerComponent_For_5_Template(rf, ctx) { if (rf & 1) {
57524
57564
  i0.ɵɵelement(0, "div", 5);