@eric-emg/symphiq-components 1.2.217 → 1.2.219
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 +116 -78
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +11 -11
- package/package.json +1 -1
|
@@ -56199,37 +56199,47 @@ function InitialTargetSettingComponent_Conditional_7_Template(rf, ctx) { if (rf
|
|
|
56199
56199
|
i0.ɵɵproperty("ngClass", ctx_r0.chevronClasses());
|
|
56200
56200
|
} }
|
|
56201
56201
|
function InitialTargetSettingComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
56202
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
56202
56203
|
i0.ɵɵelementStart(0, "div", 12);
|
|
56203
56204
|
i0.ɵɵnamespaceSVG();
|
|
56204
56205
|
i0.ɵɵelementStart(1, "svg", 13);
|
|
56205
56206
|
i0.ɵɵelement(2, "path", 37);
|
|
56206
56207
|
i0.ɵɵelementEnd();
|
|
56207
56208
|
i0.ɵɵnamespaceHTML();
|
|
56208
|
-
i0.ɵɵelementStart(3, "div")(4, "p", 15);
|
|
56209
|
-
i0.ɵɵtext(
|
|
56209
|
+
i0.ɵɵelementStart(3, "div")(4, "div", 38)(5, "p", 15);
|
|
56210
|
+
i0.ɵɵtext(6, " Current Pace Projection ");
|
|
56210
56211
|
i0.ɵɵelementEnd();
|
|
56211
|
-
i0.ɵɵelementStart(
|
|
56212
|
-
i0.ɵɵ
|
|
56212
|
+
i0.ɵɵelementStart(7, "button", 39);
|
|
56213
|
+
i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_21_Template_button_click_7_listener($event) { i0.ɵɵrestoreView(_r2); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
56214
|
+
i0.ɵɵnamespaceSVG();
|
|
56215
|
+
i0.ɵɵelementStart(8, "svg", 40);
|
|
56216
|
+
i0.ɵɵelement(9, "path", 41);
|
|
56217
|
+
i0.ɵɵelementEnd()()();
|
|
56218
|
+
i0.ɵɵnamespaceHTML();
|
|
56219
|
+
i0.ɵɵelementStart(10, "p", 16);
|
|
56220
|
+
i0.ɵɵtext(11);
|
|
56213
56221
|
i0.ɵɵelementEnd()()();
|
|
56214
56222
|
} if (rf & 2) {
|
|
56215
56223
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
56216
56224
|
i0.ɵɵadvance();
|
|
56217
56225
|
i0.ɵɵproperty("ngClass", ctx_r0.projectionIconClasses());
|
|
56218
|
-
i0.ɵɵadvance(
|
|
56226
|
+
i0.ɵɵadvance(4);
|
|
56219
56227
|
i0.ɵɵproperty("ngClass", ctx_r0.projectionLabelClasses());
|
|
56220
56228
|
i0.ɵɵadvance(2);
|
|
56229
|
+
i0.ɵɵproperty("ngClass", ctx_r0.infoIconClasses())("libSymphiqTooltip", ctx_r0.currentPaceProjectionTooltip);
|
|
56230
|
+
i0.ɵɵadvance(3);
|
|
56221
56231
|
i0.ɵɵproperty("ngClass", ctx_r0.projectionValueClasses());
|
|
56222
56232
|
i0.ɵɵadvance();
|
|
56223
56233
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.formatCurrency(ctx_r0.currentPaceProjection()), " ");
|
|
56224
56234
|
} }
|
|
56225
56235
|
function InitialTargetSettingComponent_Conditional_25_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
56226
|
-
const
|
|
56227
|
-
i0.ɵɵelementStart(0, "div",
|
|
56236
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
56237
|
+
i0.ɵɵelementStart(0, "div", 44)(1, "span", 46);
|
|
56228
56238
|
i0.ɵɵtext(2, " $ ");
|
|
56229
56239
|
i0.ɵɵelementEnd();
|
|
56230
|
-
i0.ɵɵelementStart(3, "input",
|
|
56231
|
-
i0.ɵɵtwoWayListener("ngModelChange", function InitialTargetSettingComponent_Conditional_25_Conditional_5_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(
|
|
56232
|
-
i0.ɵɵlistener("ngModelChange", function InitialTargetSettingComponent_Conditional_25_Conditional_5_Template_input_ngModelChange_3_listener() { i0.ɵɵrestoreView(
|
|
56240
|
+
i0.ɵɵelementStart(3, "input", 47, 0);
|
|
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
|
+
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()); });
|
|
56233
56243
|
i0.ɵɵelementEnd()();
|
|
56234
56244
|
} if (rf & 2) {
|
|
56235
56245
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -56240,12 +56250,12 @@ function InitialTargetSettingComponent_Conditional_25_Conditional_5_Template(rf,
|
|
|
56240
56250
|
i0.ɵɵproperty("ngClass", ctx_r0.inputClasses());
|
|
56241
56251
|
} }
|
|
56242
56252
|
function InitialTargetSettingComponent_Conditional_25_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
56243
|
-
const
|
|
56244
|
-
i0.ɵɵelementStart(0, "div",
|
|
56245
|
-
i0.ɵɵtwoWayListener("ngModelChange", function InitialTargetSettingComponent_Conditional_25_Conditional_6_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
56246
|
-
i0.ɵɵlistener("ngModelChange", function InitialTargetSettingComponent_Conditional_25_Conditional_6_Template_input_ngModelChange_1_listener() { i0.ɵɵrestoreView(
|
|
56253
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
56254
|
+
i0.ɵɵelementStart(0, "div", 44)(1, "input", 48, 1);
|
|
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
|
+
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()); });
|
|
56247
56257
|
i0.ɵɵelementEnd();
|
|
56248
|
-
i0.ɵɵelementStart(3, "span",
|
|
56258
|
+
i0.ɵɵelementStart(3, "span", 49);
|
|
56249
56259
|
i0.ɵɵtext(4, " % ");
|
|
56250
56260
|
i0.ɵɵelementEnd()();
|
|
56251
56261
|
} if (rf & 2) {
|
|
@@ -56257,9 +56267,9 @@ function InitialTargetSettingComponent_Conditional_25_Conditional_6_Template(rf,
|
|
|
56257
56267
|
i0.ɵɵproperty("ngClass", ctx_r0.inputSuffixClasses());
|
|
56258
56268
|
} }
|
|
56259
56269
|
function InitialTargetSettingComponent_Conditional_25_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
56260
|
-
const
|
|
56261
|
-
i0.ɵɵelementStart(0, "div",
|
|
56262
|
-
i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_25_Conditional_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
56270
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
56271
|
+
i0.ɵɵelementStart(0, "div", 45)(1, "button", 50);
|
|
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()); });
|
|
56263
56273
|
i0.ɵɵtext(2, " Cancel ");
|
|
56264
56274
|
i0.ɵɵelementEnd()();
|
|
56265
56275
|
} if (rf & 2) {
|
|
@@ -56268,17 +56278,17 @@ function InitialTargetSettingComponent_Conditional_25_Conditional_7_Template(rf,
|
|
|
56268
56278
|
i0.ɵɵproperty("ngClass", ctx_r0.cancelButtonClasses());
|
|
56269
56279
|
} }
|
|
56270
56280
|
function InitialTargetSettingComponent_Conditional_25_Template(rf, ctx) { if (rf & 1) {
|
|
56271
|
-
const
|
|
56272
|
-
i0.ɵɵelementStart(0, "div",
|
|
56273
|
-
i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_25_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
56281
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
56282
|
+
i0.ɵɵelementStart(0, "div", 42)(1, "button", 43);
|
|
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")); });
|
|
56274
56284
|
i0.ɵɵtext(2, " Absolute Amount ");
|
|
56275
56285
|
i0.ɵɵelementEnd();
|
|
56276
|
-
i0.ɵɵelementStart(3, "button",
|
|
56277
|
-
i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_25_Template_button_click_3_listener() { i0.ɵɵrestoreView(
|
|
56286
|
+
i0.ɵɵelementStart(3, "button", 43);
|
|
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")); });
|
|
56278
56288
|
i0.ɵɵtext(4, " % Increase ");
|
|
56279
56289
|
i0.ɵɵelementEnd()();
|
|
56280
|
-
i0.ɵɵconditionalCreate(5, InitialTargetSettingComponent_Conditional_25_Conditional_5_Template, 5, 3, "div",
|
|
56281
|
-
i0.ɵɵconditionalCreate(7, InitialTargetSettingComponent_Conditional_25_Conditional_7_Template, 3, 1, "div",
|
|
56290
|
+
i0.ɵɵconditionalCreate(5, InitialTargetSettingComponent_Conditional_25_Conditional_5_Template, 5, 3, "div", 44)(6, InitialTargetSettingComponent_Conditional_25_Conditional_6_Template, 5, 3, "div", 44);
|
|
56291
|
+
i0.ɵɵconditionalCreate(7, InitialTargetSettingComponent_Conditional_25_Conditional_7_Template, 3, 1, "div", 45);
|
|
56282
56292
|
} if (rf & 2) {
|
|
56283
56293
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
56284
56294
|
i0.ɵɵadvance();
|
|
@@ -56297,7 +56307,7 @@ function InitialTargetSettingComponent_Conditional_32_Template(rf, ctx) { if (rf
|
|
|
56297
56307
|
i0.ɵɵproperty("chart", ctx_r0.revenueChartData())("showAxisLabels", true)("viewMode", ctx_r0.viewMode())("currencySymbol", "$")("height", "108px");
|
|
56298
56308
|
} }
|
|
56299
56309
|
function InitialTargetSettingComponent_Conditional_33_Template(rf, ctx) { if (rf & 1) {
|
|
56300
|
-
i0.ɵɵelementStart(0, "div", 25)(1, "p",
|
|
56310
|
+
i0.ɵɵelementStart(0, "div", 25)(1, "p", 51);
|
|
56301
56311
|
i0.ɵɵtext(2, " No revenue data available ");
|
|
56302
56312
|
i0.ɵɵelementEnd()();
|
|
56303
56313
|
} if (rf & 2) {
|
|
@@ -56318,9 +56328,9 @@ function InitialTargetSettingComponent_Conditional_36_Conditional_8_Template(rf,
|
|
|
56318
56328
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.formatCurrency(ctx_r0.displayedTargetRevenue()), " ");
|
|
56319
56329
|
} }
|
|
56320
56330
|
function InitialTargetSettingComponent_Conditional_36_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
56321
|
-
const
|
|
56322
|
-
i0.ɵɵelementStart(0, "button",
|
|
56323
|
-
i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_36_Conditional_9_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
56331
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
56332
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
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()); });
|
|
56324
56334
|
i0.ɵɵtext(1, " Adjust Revenue Target ");
|
|
56325
56335
|
i0.ɵɵelementEnd();
|
|
56326
56336
|
} if (rf & 2) {
|
|
@@ -56328,31 +56338,31 @@ function InitialTargetSettingComponent_Conditional_36_Conditional_9_Template(rf,
|
|
|
56328
56338
|
i0.ɵɵproperty("ngClass", ctx_r0.secondaryButtonClasses());
|
|
56329
56339
|
} }
|
|
56330
56340
|
function InitialTargetSettingComponent_Conditional_36_Conditional_29_Template(rf, ctx) { if (rf & 1) {
|
|
56331
|
-
const
|
|
56332
|
-
i0.ɵɵelementStart(0, "div",
|
|
56333
|
-
i0.ɵɵelement(2, "div",
|
|
56334
|
-
i0.ɵɵelementStart(3, "span",
|
|
56341
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
56342
|
+
i0.ɵɵelementStart(0, "div", 59)(1, "div", 60);
|
|
56343
|
+
i0.ɵɵelement(2, "div", 61);
|
|
56344
|
+
i0.ɵɵelementStart(3, "span", 62);
|
|
56335
56345
|
i0.ɵɵtext(4);
|
|
56336
56346
|
i0.ɵɵelementEnd();
|
|
56337
|
-
i0.ɵɵelement(5, "div",
|
|
56347
|
+
i0.ɵɵelement(5, "div", 61);
|
|
56338
56348
|
i0.ɵɵelementEnd();
|
|
56339
|
-
i0.ɵɵelementStart(6, "div",
|
|
56349
|
+
i0.ɵɵelementStart(6, "div", 63)(7, "div")(8, "p", 54);
|
|
56340
56350
|
i0.ɵɵtext(9, " Gap to Close ");
|
|
56341
56351
|
i0.ɵɵelementEnd();
|
|
56342
|
-
i0.ɵɵelementStart(10, "p",
|
|
56352
|
+
i0.ɵɵelementStart(10, "p", 64);
|
|
56343
56353
|
i0.ɵɵtext(11);
|
|
56344
56354
|
i0.ɵɵelementEnd()();
|
|
56345
|
-
i0.ɵɵelementStart(12, "div")(13, "div",
|
|
56355
|
+
i0.ɵɵelementStart(12, "div")(13, "div", 66)(14, "p", 15);
|
|
56346
56356
|
i0.ɵɵtext(15, " Additional Growth Needed ");
|
|
56347
56357
|
i0.ɵɵelementEnd();
|
|
56348
|
-
i0.ɵɵelementStart(16, "button",
|
|
56349
|
-
i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_36_Conditional_29_Template_button_click_16_listener($event) { i0.ɵɵrestoreView(
|
|
56358
|
+
i0.ɵɵelementStart(16, "button", 39);
|
|
56359
|
+
i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_36_Conditional_29_Template_button_click_16_listener($event) { i0.ɵɵrestoreView(_r8); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
56350
56360
|
i0.ɵɵnamespaceSVG();
|
|
56351
|
-
i0.ɵɵelementStart(17, "svg",
|
|
56352
|
-
i0.ɵɵelement(18, "path",
|
|
56361
|
+
i0.ɵɵelementStart(17, "svg", 40);
|
|
56362
|
+
i0.ɵɵelement(18, "path", 41);
|
|
56353
56363
|
i0.ɵɵelementEnd()()();
|
|
56354
56364
|
i0.ɵɵnamespaceHTML();
|
|
56355
|
-
i0.ɵɵelementStart(19, "p",
|
|
56365
|
+
i0.ɵɵelementStart(19, "p", 64);
|
|
56356
56366
|
i0.ɵɵtext(20);
|
|
56357
56367
|
i0.ɵɵelementEnd()()()();
|
|
56358
56368
|
} if (rf & 2) {
|
|
@@ -56381,45 +56391,47 @@ function InitialTargetSettingComponent_Conditional_36_Conditional_29_Template(rf
|
|
|
56381
56391
|
i0.ɵɵtextInterpolate2(" ", ctx_r0.gapToClose().amount > 0 ? "+" : "", "", ctx_r0.formatPercentage(ctx_r0.gapToClose().percentage, 1), " ");
|
|
56382
56392
|
} }
|
|
56383
56393
|
function InitialTargetSettingComponent_Conditional_36_Template(rf, ctx) { if (rf & 1) {
|
|
56384
|
-
i0.ɵɵelementStart(0, "div",
|
|
56394
|
+
i0.ɵɵelementStart(0, "div", 52)(1, "div")(2, "div", 53)(3, "div")(4, "p", 54);
|
|
56385
56395
|
i0.ɵɵtext(5);
|
|
56386
56396
|
i0.ɵɵelementEnd();
|
|
56387
|
-
i0.ɵɵelementStart(6, "p",
|
|
56397
|
+
i0.ɵɵelementStart(6, "p", 55);
|
|
56388
56398
|
i0.ɵɵconditionalCreate(7, InitialTargetSettingComponent_Conditional_36_Conditional_7_Template, 1, 1)(8, InitialTargetSettingComponent_Conditional_36_Conditional_8_Template, 1, 1);
|
|
56389
56399
|
i0.ɵɵelementEnd()();
|
|
56390
|
-
i0.ɵɵconditionalCreate(9, InitialTargetSettingComponent_Conditional_36_Conditional_9_Template, 2, 1, "button",
|
|
56400
|
+
i0.ɵɵconditionalCreate(9, InitialTargetSettingComponent_Conditional_36_Conditional_9_Template, 2, 1, "button", 56);
|
|
56391
56401
|
i0.ɵɵelementEnd();
|
|
56392
|
-
i0.ɵɵelementStart(10, "div",
|
|
56393
|
-
i0.ɵɵelement(14, "div",
|
|
56394
|
-
i0.ɵɵelementStart(15, "span",
|
|
56402
|
+
i0.ɵɵelementStart(10, "div", 57)(11, "div", 58)(12, "div", 59)(13, "div", 60);
|
|
56403
|
+
i0.ɵɵelement(14, "div", 61);
|
|
56404
|
+
i0.ɵɵelementStart(15, "span", 62);
|
|
56395
56405
|
i0.ɵɵtext(16);
|
|
56396
56406
|
i0.ɵɵelementEnd();
|
|
56397
|
-
i0.ɵɵelement(17, "div",
|
|
56407
|
+
i0.ɵɵelement(17, "div", 61);
|
|
56398
56408
|
i0.ɵɵelementEnd();
|
|
56399
|
-
i0.ɵɵelementStart(18, "div",
|
|
56409
|
+
i0.ɵɵelementStart(18, "div", 63)(19, "div")(20, "p", 54);
|
|
56400
56410
|
i0.ɵɵtext(21, " Increase Amount ");
|
|
56401
56411
|
i0.ɵɵelementEnd();
|
|
56402
|
-
i0.ɵɵelementStart(22, "p",
|
|
56412
|
+
i0.ɵɵelementStart(22, "p", 64);
|
|
56403
56413
|
i0.ɵɵtext(23);
|
|
56404
56414
|
i0.ɵɵelementEnd()();
|
|
56405
|
-
i0.ɵɵelementStart(24, "div")(25, "p",
|
|
56415
|
+
i0.ɵɵelementStart(24, "div")(25, "p", 54);
|
|
56406
56416
|
i0.ɵɵtext(26, " % Growth ");
|
|
56407
56417
|
i0.ɵɵelementEnd();
|
|
56408
|
-
i0.ɵɵelementStart(27, "p",
|
|
56418
|
+
i0.ɵɵelementStart(27, "p", 64);
|
|
56409
56419
|
i0.ɵɵtext(28);
|
|
56410
56420
|
i0.ɵɵelementEnd()()()();
|
|
56411
|
-
i0.ɵɵconditionalCreate(29, InitialTargetSettingComponent_Conditional_36_Conditional_29_Template, 21, 13, "div",
|
|
56421
|
+
i0.ɵɵconditionalCreate(29, InitialTargetSettingComponent_Conditional_36_Conditional_29_Template, 21, 13, "div", 59);
|
|
56412
56422
|
i0.ɵɵelementEnd()()()();
|
|
56413
56423
|
} if (rf & 2) {
|
|
56414
56424
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
56425
|
+
i0.ɵɵclassProp("h-full", ctx_r0.calculationState() !== "results" || ctx_r0.detailsExpanded());
|
|
56415
56426
|
i0.ɵɵproperty("ngClass", ctx_r0.calculatedValuesCardClasses());
|
|
56416
56427
|
i0.ɵɵadvance();
|
|
56417
|
-
i0.ɵɵclassProp("space-y-6", ctx_r0.calculationState() !== "results"
|
|
56428
|
+
i0.ɵɵclassProp("space-y-6", ctx_r0.calculationState() !== "results");
|
|
56418
56429
|
i0.ɵɵadvance(3);
|
|
56419
56430
|
i0.ɵɵproperty("ngClass", ctx_r0.calculatedLabelClasses());
|
|
56420
56431
|
i0.ɵɵadvance();
|
|
56421
56432
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.currentYear(), " Revenue Target ");
|
|
56422
56433
|
i0.ɵɵadvance();
|
|
56434
|
+
i0.ɵɵclassProp("text-3xl", ctx_r0.calculationState() !== "results" || ctx_r0.detailsExpanded())("text-lg", ctx_r0.calculationState() === "results" && !ctx_r0.detailsExpanded());
|
|
56423
56435
|
i0.ɵɵproperty("ngClass", ctx_r0.calculatedValueClasses());
|
|
56424
56436
|
i0.ɵɵadvance();
|
|
56425
56437
|
i0.ɵɵconditional(ctx_r0.calculationState() === "results" && ctx_r0.targets() === undefined && ctx_r0.submittedAbsoluteInput() !== null ? 7 : 8);
|
|
@@ -56451,12 +56463,12 @@ function InitialTargetSettingComponent_Conditional_36_Template(rf, ctx) { if (rf
|
|
|
56451
56463
|
i0.ɵɵconditional(ctx_r0.currentPaceProjection() > 0 && ctx_r0.gapToClose().amount !== 0 ? 29 : -1);
|
|
56452
56464
|
} }
|
|
56453
56465
|
function InitialTargetSettingComponent_Conditional_37_Template(rf, ctx) { if (rf & 1) {
|
|
56454
|
-
const
|
|
56455
|
-
i0.ɵɵelementStart(0, "div", 29)(1, "button",
|
|
56456
|
-
i0.ɵɵlistener("click", function InitialTargetSettingComponent_Conditional_37_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(
|
|
56466
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
56467
|
+
i0.ɵɵelementStart(0, "div", 29)(1, "button", 67);
|
|
56468
|
+
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()); });
|
|
56457
56469
|
i0.ɵɵtext(2);
|
|
56458
56470
|
i0.ɵɵnamespaceSVG();
|
|
56459
|
-
i0.ɵɵelementStart(3, "svg",
|
|
56471
|
+
i0.ɵɵelementStart(3, "svg", 68);
|
|
56460
56472
|
i0.ɵɵelement(4, "path", 36);
|
|
56461
56473
|
i0.ɵɵelementEnd()()();
|
|
56462
56474
|
} if (rf & 2) {
|
|
@@ -56475,7 +56487,7 @@ function InitialTargetSettingComponent_Conditional_38_Conditional_4_Template(rf,
|
|
|
56475
56487
|
i0.ɵɵproperty("chart", ctx_r0.revenueChartData())("showAxisLabels", true)("viewMode", ctx_r0.viewMode())("currencySymbol", "$")("height", "320px");
|
|
56476
56488
|
} }
|
|
56477
56489
|
function InitialTargetSettingComponent_Conditional_38_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
56478
|
-
i0.ɵɵelementStart(0, "div", 25)(1, "p",
|
|
56490
|
+
i0.ɵɵelementStart(0, "div", 25)(1, "p", 51);
|
|
56479
56491
|
i0.ɵɵtext(2, " No revenue data available ");
|
|
56480
56492
|
i0.ɵɵelementEnd()();
|
|
56481
56493
|
} if (rf & 2) {
|
|
@@ -56500,16 +56512,17 @@ function InitialTargetSettingComponent_Conditional_38_Template(rf, ctx) { if (rf
|
|
|
56500
56512
|
i0.ɵɵconditional(ctx_r0.revenueChartData() ? 4 : 5);
|
|
56501
56513
|
} }
|
|
56502
56514
|
function InitialTargetSettingComponent_Conditional_41_Template(rf, ctx) { if (rf & 1) {
|
|
56503
|
-
i0.ɵɵelementStart(0, "div",
|
|
56515
|
+
i0.ɵɵelementStart(0, "div", 69)(1, "div", 70)(2, "h2", 71);
|
|
56504
56516
|
i0.ɵɵtext(3, " Contributing Metrics ");
|
|
56505
56517
|
i0.ɵɵelementEnd();
|
|
56506
|
-
i0.ɵɵelementStart(4, "p",
|
|
56518
|
+
i0.ɵɵelementStart(4, "p", 51);
|
|
56507
56519
|
i0.ɵɵtext(5);
|
|
56508
56520
|
i0.ɵɵelementEnd()();
|
|
56509
|
-
i0.ɵɵelement(6, "symphiq-funnel-metrics-visualization",
|
|
56521
|
+
i0.ɵɵelement(6, "symphiq-funnel-metrics-visualization", 72);
|
|
56510
56522
|
i0.ɵɵelementEnd();
|
|
56511
56523
|
} if (rf & 2) {
|
|
56512
56524
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
56525
|
+
i0.ɵɵclassProp("halo-pulse-animation", ctx_r0.targets() === undefined);
|
|
56513
56526
|
i0.ɵɵproperty("ngClass", ctx_r0.sectionCardClasses());
|
|
56514
56527
|
i0.ɵɵadvance(2);
|
|
56515
56528
|
i0.ɵɵproperty("ngClass", ctx_r0.sectionTitleClasses());
|
|
@@ -56636,7 +56649,7 @@ class InitialTargetSettingComponent {
|
|
|
56636
56649
|
return this.calculatedRevenue();
|
|
56637
56650
|
}, ...(ngDevMode ? [{ debugName: "displayedTargetRevenue" }] : []));
|
|
56638
56651
|
this.isValid = computed(() => {
|
|
56639
|
-
return this.calculatedRevenue() >
|
|
56652
|
+
return this.calculatedRevenue() > this.priorYearRevenue() && this.priorYearRevenue() > 0;
|
|
56640
56653
|
}, ...(ngDevMode ? [{ debugName: "isValid" }] : []));
|
|
56641
56654
|
this.validationMessage = computed(() => {
|
|
56642
56655
|
if (this.priorYearRevenue() === 0) {
|
|
@@ -56645,6 +56658,9 @@ class InitialTargetSettingComponent {
|
|
|
56645
56658
|
if (this.calculatedRevenue() === 0) {
|
|
56646
56659
|
return 'Please enter a revenue target';
|
|
56647
56660
|
}
|
|
56661
|
+
if (this.calculatedRevenue() <= this.priorYearRevenue()) {
|
|
56662
|
+
return `Revenue target must be greater than ${this.priorYear()} revenue (${this.formatCurrency(this.priorYearRevenue())})`;
|
|
56663
|
+
}
|
|
56648
56664
|
return '';
|
|
56649
56665
|
}, ...(ngDevMode ? [{ debugName: "validationMessage" }] : []));
|
|
56650
56666
|
this.showMetricsVisualization = computed(() => {
|
|
@@ -56696,6 +56712,10 @@ class InitialTargetSettingComponent {
|
|
|
56696
56712
|
title: 'Additional Growth Needed',
|
|
56697
56713
|
markdown: 'This percentage represents the additional growth required beyond your current projected pace to reach your revenue target. It shows how much more improvement is needed in your funnel metrics to close the gap between your projected performance and your goal.'
|
|
56698
56714
|
};
|
|
56715
|
+
this.currentPaceProjectionTooltip = {
|
|
56716
|
+
title: 'Current Pace Projection',
|
|
56717
|
+
markdown: 'This is your projected year-end revenue based on your current performance trends. It extrapolates your year-to-date results to estimate where you will finish the year if you maintain your current pace.'
|
|
56718
|
+
};
|
|
56699
56719
|
effect(() => {
|
|
56700
56720
|
const response = this.reverseCalculationResponse();
|
|
56701
56721
|
if (response) {
|
|
@@ -56997,7 +57017,7 @@ class InitialTargetSettingComponent {
|
|
|
56997
57017
|
let _t;
|
|
56998
57018
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.absoluteInputRef = _t.first);
|
|
56999
57019
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.percentageInputRef = _t.first);
|
|
57000
|
-
} }, 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-8"], [1, "grid", "lg:grid-cols-2", "gap-8"], [1, "flex", "flex-col", "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",
|
|
57020
|
+
} }, 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-8"], [1, "grid", "lg:grid-cols-2", "gap-8"], [1, "flex", "flex-col", "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", "halo-pulse-animation"], [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, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-1", 3, "ngClass"], [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-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) {
|
|
57001
57021
|
i0.ɵɵelementStart(0, "div", 2);
|
|
57002
57022
|
i0.ɵɵelement(1, "symphiq-tooltip-container");
|
|
57003
57023
|
i0.ɵɵelementStart(2, "div", 3);
|
|
@@ -57021,7 +57041,7 @@ class InitialTargetSettingComponent {
|
|
|
57021
57041
|
i0.ɵɵelementStart(19, "p", 16);
|
|
57022
57042
|
i0.ɵɵtext(20);
|
|
57023
57043
|
i0.ɵɵelementEnd()()();
|
|
57024
|
-
i0.ɵɵconditionalCreate(21, InitialTargetSettingComponent_Conditional_21_Template,
|
|
57044
|
+
i0.ɵɵconditionalCreate(21, InitialTargetSettingComponent_Conditional_21_Template, 12, 6, "div", 12);
|
|
57025
57045
|
i0.ɵɵelementEnd();
|
|
57026
57046
|
i0.ɵɵelementStart(22, "div", 17)(23, "div", 18)(24, "div", 19);
|
|
57027
57047
|
i0.ɵɵconditionalCreate(25, InitialTargetSettingComponent_Conditional_25_Template, 8, 4);
|
|
@@ -57033,13 +57053,13 @@ class InitialTargetSettingComponent {
|
|
|
57033
57053
|
i0.ɵɵconditionalCreate(32, InitialTargetSettingComponent_Conditional_32_Template, 1, 5, "symphiq-area-chart", 24)(33, InitialTargetSettingComponent_Conditional_33_Template, 3, 1, "div", 25);
|
|
57034
57054
|
i0.ɵɵelementEnd()()()()();
|
|
57035
57055
|
i0.ɵɵelementStart(34, "div", 26)(35, "div", 27);
|
|
57036
|
-
i0.ɵɵconditionalCreate(36, InitialTargetSettingComponent_Conditional_36_Template, 30,
|
|
57056
|
+
i0.ɵɵconditionalCreate(36, InitialTargetSettingComponent_Conditional_36_Template, 30, 27, "div", 28);
|
|
57037
57057
|
i0.ɵɵelementEnd()()();
|
|
57038
57058
|
i0.ɵɵconditionalCreate(37, InitialTargetSettingComponent_Conditional_37_Template, 5, 4, "div", 29);
|
|
57039
57059
|
i0.ɵɵconditionalCreate(38, InitialTargetSettingComponent_Conditional_38_Template, 6, 3, "div", 30);
|
|
57040
57060
|
i0.ɵɵelementEnd()();
|
|
57041
57061
|
i0.ɵɵelementStart(39, "div", 31)(40, "div", 32);
|
|
57042
|
-
i0.ɵɵconditionalCreate(41, InitialTargetSettingComponent_Conditional_41_Template, 7,
|
|
57062
|
+
i0.ɵɵconditionalCreate(41, InitialTargetSettingComponent_Conditional_41_Template, 7, 9, "div", 33);
|
|
57043
57063
|
i0.ɵɵelementEnd()();
|
|
57044
57064
|
i0.ɵɵelementStart(42, "symphiq-sticky-submit-bar", 34);
|
|
57045
57065
|
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(); });
|
|
@@ -57100,7 +57120,7 @@ class InitialTargetSettingComponent {
|
|
|
57100
57120
|
StickySubmitBarComponent,
|
|
57101
57121
|
AreaChartComponent,
|
|
57102
57122
|
TooltipDirective,
|
|
57103
|
-
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 }); }
|
|
57123
|
+
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%_halo-pulse{0%,to{box-shadow:0 0 #8b5cf600}50%{box-shadow:0 0 20px 4px #8b5cf699}}.halo-pulse-animation[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_halo-pulse 1.5s ease-in-out 3}"], changeDetection: 0 }); }
|
|
57104
57124
|
}
|
|
57105
57125
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitialTargetSettingComponent, [{
|
|
57106
57126
|
type: Component,
|
|
@@ -57163,9 +57183,23 @@ class InitialTargetSettingComponent {
|
|
|
57163
57183
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"></path>
|
|
57164
57184
|
</svg>
|
|
57165
57185
|
<div>
|
|
57166
|
-
<
|
|
57167
|
-
|
|
57168
|
-
|
|
57186
|
+
<div class="flex items-center gap-1">
|
|
57187
|
+
<p [ngClass]="projectionLabelClasses()" class="text-xs font-medium uppercase tracking-wider">
|
|
57188
|
+
Current Pace Projection
|
|
57189
|
+
</p>
|
|
57190
|
+
<button
|
|
57191
|
+
type="button"
|
|
57192
|
+
[ngClass]="infoIconClasses()"
|
|
57193
|
+
class="flex-shrink-0 w-4 h-4 rounded-full inline-flex items-center justify-center transition-colors"
|
|
57194
|
+
[libSymphiqTooltip]="currentPaceProjectionTooltip"
|
|
57195
|
+
tooltipType="markdown"
|
|
57196
|
+
tooltipPosition="top"
|
|
57197
|
+
(click)="$event.stopPropagation()">
|
|
57198
|
+
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
57199
|
+
<path 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" />
|
|
57200
|
+
</svg>
|
|
57201
|
+
</button>
|
|
57202
|
+
</div>
|
|
57169
57203
|
<p [ngClass]="projectionValueClasses()" class="text-lg font-bold">
|
|
57170
57204
|
{{ formatCurrency(currentPaceProjection()) }}
|
|
57171
57205
|
</p>
|
|
@@ -57275,14 +57309,17 @@ class InitialTargetSettingComponent {
|
|
|
57275
57309
|
<div class="calculated-card-enter order-first lg:order-last" [class.calculated-card-enter-active]="calculatedRevenue() > 0">
|
|
57276
57310
|
<div class="calculated-card-content">
|
|
57277
57311
|
@if (calculatedRevenue() > 0) {
|
|
57278
|
-
<div [ngClass]="calculatedValuesCardClasses()" class="p-6 rounded-xl border-2
|
|
57279
|
-
|
|
57312
|
+
<div [ngClass]="calculatedValuesCardClasses()" class="p-6 rounded-xl border-2"
|
|
57313
|
+
[class.h-full]="calculationState() !== 'results' || detailsExpanded()">
|
|
57314
|
+
<div [class.space-y-6]="calculationState() !== 'results'">
|
|
57280
57315
|
<div class="flex items-center justify-between">
|
|
57281
57316
|
<div>
|
|
57282
57317
|
<p [ngClass]="calculatedLabelClasses()" class="text-xs font-medium uppercase tracking-wider mb-1">
|
|
57283
57318
|
{{ currentYear() }} Revenue Target
|
|
57284
57319
|
</p>
|
|
57285
|
-
<p [ngClass]="calculatedValueClasses()" class="
|
|
57320
|
+
<p [ngClass]="calculatedValueClasses()" class="font-bold transition-all duration-300"
|
|
57321
|
+
[class.text-3xl]="calculationState() !== 'results' || detailsExpanded()"
|
|
57322
|
+
[class.text-lg]="calculationState() === 'results' && !detailsExpanded()">
|
|
57286
57323
|
@if (calculationState() === 'results' && targets() === undefined && submittedAbsoluteInput() !== null) {
|
|
57287
57324
|
> {{ formatCurrency(submittedAbsoluteInput()!) }}
|
|
57288
57325
|
} @else {
|
|
@@ -57432,7 +57469,8 @@ class InitialTargetSettingComponent {
|
|
|
57432
57469
|
<div class="metrics-section-enter" [class.metrics-section-enter-active]="showMetricsVisualization()">
|
|
57433
57470
|
<div class="metrics-section-content">
|
|
57434
57471
|
@if (showMetricsVisualization()) {
|
|
57435
|
-
<div [ngClass]="sectionCardClasses()" class="rounded-2xl border shadow-lg p-8"
|
|
57472
|
+
<div [ngClass]="sectionCardClasses()" class="rounded-2xl border shadow-lg p-8"
|
|
57473
|
+
[class.halo-pulse-animation]="targets() === undefined">
|
|
57436
57474
|
<div class="mb-6">
|
|
57437
57475
|
<h2 [ngClass]="sectionTitleClasses()" class="text-2xl font-bold mb-2">
|
|
57438
57476
|
Contributing Metrics
|
|
@@ -57463,7 +57501,7 @@ class InitialTargetSettingComponent {
|
|
|
57463
57501
|
(cancelClick)="handleCancel()"
|
|
57464
57502
|
/>
|
|
57465
57503
|
</div>
|
|
57466
|
-
`, 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"] }]
|
|
57504
|
+
`, 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 halo-pulse{0%,to{box-shadow:0 0 #8b5cf600}50%{box-shadow:0 0 20px 4px #8b5cf699}}.halo-pulse-animation{animation:halo-pulse 1.5s ease-in-out 3}\n"] }]
|
|
57467
57505
|
}], () => [], { absoluteInputRef: [{
|
|
57468
57506
|
type: ViewChild,
|
|
57469
57507
|
args: ['absoluteInputRef']
|
|
@@ -57471,7 +57509,7 @@ class InitialTargetSettingComponent {
|
|
|
57471
57509
|
type: ViewChild,
|
|
57472
57510
|
args: ['percentageInputRef']
|
|
57473
57511
|
}], 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"] }] }); })();
|
|
57474
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InitialTargetSettingComponent, { className: "InitialTargetSettingComponent", filePath: "lib/components/revenue-calculator-dashboard/initial-target-setting.component.ts", lineNumber:
|
|
57512
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InitialTargetSettingComponent, { className: "InitialTargetSettingComponent", filePath: "lib/components/revenue-calculator-dashboard/initial-target-setting.component.ts", lineNumber: 530 }); })();
|
|
57475
57513
|
|
|
57476
57514
|
function IndeterminateSpinnerComponent_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
57477
57515
|
i0.ɵɵelement(0, "div", 5);
|