@eric-emg/symphiq-components 1.2.218 → 1.2.220
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 +135 -104
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +22 -22
- package/package.json +1 -1
|
@@ -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",
|
|
56194
|
-
i0.ɵɵelement(1, "path",
|
|
56193
|
+
i0.ɵɵelementStart(0, "svg", 34);
|
|
56194
|
+
i0.ɵɵelement(1, "path", 35);
|
|
56195
56195
|
i0.ɵɵelementEnd();
|
|
56196
56196
|
} if (rf & 2) {
|
|
56197
56197
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -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
|
-
i0.ɵɵ
|
|
56202
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
56203
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
56203
56204
|
i0.ɵɵnamespaceSVG();
|
|
56204
|
-
i0.ɵɵelementStart(1, "svg",
|
|
56205
|
-
i0.ɵɵelement(2, "path",
|
|
56205
|
+
i0.ɵɵelementStart(1, "svg", 12);
|
|
56206
|
+
i0.ɵɵelement(2, "path", 36);
|
|
56206
56207
|
i0.ɵɵelementEnd();
|
|
56207
56208
|
i0.ɵɵnamespaceHTML();
|
|
56208
|
-
i0.ɵɵelementStart(3, "div")(4, "p",
|
|
56209
|
-
i0.ɵɵtext(
|
|
56209
|
+
i0.ɵɵelementStart(3, "div")(4, "div", 37)(5, "p", 14);
|
|
56210
|
+
i0.ɵɵtext(6, " Current Pace Projection ");
|
|
56210
56211
|
i0.ɵɵelementEnd();
|
|
56211
|
-
i0.ɵɵelementStart(
|
|
56212
|
-
i0.ɵɵ
|
|
56212
|
+
i0.ɵɵelementStart(7, "button", 38);
|
|
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", 39);
|
|
56216
|
+
i0.ɵɵelement(9, "path", 40);
|
|
56217
|
+
i0.ɵɵelementEnd()()();
|
|
56218
|
+
i0.ɵɵnamespaceHTML();
|
|
56219
|
+
i0.ɵɵelementStart(10, "p", 15);
|
|
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", 43)(1, "span", 45);
|
|
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", 46, 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", 43)(1, "input", 47, 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", 48);
|
|
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", 44)(1, "button", 49);
|
|
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", 41)(1, "button", 42);
|
|
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", 42);
|
|
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", 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);
|
|
56282
56292
|
} if (rf & 2) {
|
|
56283
56293
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
56284
56294
|
i0.ɵɵadvance();
|
|
@@ -56291,13 +56301,13 @@ function InitialTargetSettingComponent_Conditional_25_Template(rf, ctx) { if (rf
|
|
|
56291
56301
|
i0.ɵɵconditional(ctx_r0.hasStoredResponse() ? 7 : -1);
|
|
56292
56302
|
} }
|
|
56293
56303
|
function InitialTargetSettingComponent_Conditional_32_Template(rf, ctx) { if (rf & 1) {
|
|
56294
|
-
i0.ɵɵelement(0, "symphiq-area-chart",
|
|
56304
|
+
i0.ɵɵelement(0, "symphiq-area-chart", 23);
|
|
56295
56305
|
} if (rf & 2) {
|
|
56296
56306
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
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",
|
|
56310
|
+
i0.ɵɵelementStart(0, "div", 24)(1, "p", 50);
|
|
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", 64);
|
|
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", 58)(1, "div", 59);
|
|
56343
|
+
i0.ɵɵelement(2, "div", 60);
|
|
56344
|
+
i0.ɵɵelementStart(3, "span", 61);
|
|
56335
56345
|
i0.ɵɵtext(4);
|
|
56336
56346
|
i0.ɵɵelementEnd();
|
|
56337
|
-
i0.ɵɵelement(5, "div",
|
|
56347
|
+
i0.ɵɵelement(5, "div", 60);
|
|
56338
56348
|
i0.ɵɵelementEnd();
|
|
56339
|
-
i0.ɵɵelementStart(6, "div",
|
|
56349
|
+
i0.ɵɵelementStart(6, "div", 62)(7, "div")(8, "p", 53);
|
|
56340
56350
|
i0.ɵɵtext(9, " Gap to Close ");
|
|
56341
56351
|
i0.ɵɵelementEnd();
|
|
56342
|
-
i0.ɵɵelementStart(10, "p",
|
|
56352
|
+
i0.ɵɵelementStart(10, "p", 63);
|
|
56343
56353
|
i0.ɵɵtext(11);
|
|
56344
56354
|
i0.ɵɵelementEnd()();
|
|
56345
|
-
i0.ɵɵelementStart(12, "div")(13, "div",
|
|
56355
|
+
i0.ɵɵelementStart(12, "div")(13, "div", 65)(14, "p", 14);
|
|
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", 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()); });
|
|
56350
56360
|
i0.ɵɵnamespaceSVG();
|
|
56351
|
-
i0.ɵɵelementStart(17, "svg",
|
|
56352
|
-
i0.ɵɵelement(18, "path",
|
|
56361
|
+
i0.ɵɵelementStart(17, "svg", 39);
|
|
56362
|
+
i0.ɵɵelement(18, "path", 40);
|
|
56353
56363
|
i0.ɵɵelementEnd()()();
|
|
56354
56364
|
i0.ɵɵnamespaceHTML();
|
|
56355
|
-
i0.ɵɵelementStart(19, "p",
|
|
56365
|
+
i0.ɵɵelementStart(19, "p", 63);
|
|
56356
56366
|
i0.ɵɵtext(20);
|
|
56357
56367
|
i0.ɵɵelementEnd()()()();
|
|
56358
56368
|
} if (rf & 2) {
|
|
@@ -56381,37 +56391,38 @@ 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", 51)(1, "div")(2, "div", 52)(3, "div")(4, "p", 53);
|
|
56385
56395
|
i0.ɵɵtext(5);
|
|
56386
56396
|
i0.ɵɵelementEnd();
|
|
56387
|
-
i0.ɵɵelementStart(6, "p",
|
|
56397
|
+
i0.ɵɵelementStart(6, "p", 54);
|
|
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", 55);
|
|
56391
56401
|
i0.ɵɵelementEnd();
|
|
56392
|
-
i0.ɵɵelementStart(10, "div",
|
|
56393
|
-
i0.ɵɵelement(14, "div",
|
|
56394
|
-
i0.ɵɵelementStart(15, "span",
|
|
56402
|
+
i0.ɵɵelementStart(10, "div", 56)(11, "div", 57)(12, "div", 58)(13, "div", 59);
|
|
56403
|
+
i0.ɵɵelement(14, "div", 60);
|
|
56404
|
+
i0.ɵɵelementStart(15, "span", 61);
|
|
56395
56405
|
i0.ɵɵtext(16);
|
|
56396
56406
|
i0.ɵɵelementEnd();
|
|
56397
|
-
i0.ɵɵelement(17, "div",
|
|
56407
|
+
i0.ɵɵelement(17, "div", 60);
|
|
56398
56408
|
i0.ɵɵelementEnd();
|
|
56399
|
-
i0.ɵɵelementStart(18, "div",
|
|
56409
|
+
i0.ɵɵelementStart(18, "div", 62)(19, "div")(20, "p", 53);
|
|
56400
56410
|
i0.ɵɵtext(21, " Increase Amount ");
|
|
56401
56411
|
i0.ɵɵelementEnd();
|
|
56402
|
-
i0.ɵɵelementStart(22, "p",
|
|
56412
|
+
i0.ɵɵelementStart(22, "p", 63);
|
|
56403
56413
|
i0.ɵɵtext(23);
|
|
56404
56414
|
i0.ɵɵelementEnd()();
|
|
56405
|
-
i0.ɵɵelementStart(24, "div")(25, "p",
|
|
56415
|
+
i0.ɵɵelementStart(24, "div")(25, "p", 53);
|
|
56406
56416
|
i0.ɵɵtext(26, " % Growth ");
|
|
56407
56417
|
i0.ɵɵelementEnd();
|
|
56408
|
-
i0.ɵɵelementStart(27, "p",
|
|
56418
|
+
i0.ɵɵelementStart(27, "p", 63);
|
|
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", 58);
|
|
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
56428
|
i0.ɵɵclassProp("space-y-6", ctx_r0.calculationState() !== "results");
|
|
@@ -56452,13 +56463,13 @@ function InitialTargetSettingComponent_Conditional_36_Template(rf, ctx) { if (rf
|
|
|
56452
56463
|
i0.ɵɵconditional(ctx_r0.currentPaceProjection() > 0 && ctx_r0.gapToClose().amount !== 0 ? 29 : -1);
|
|
56453
56464
|
} }
|
|
56454
56465
|
function InitialTargetSettingComponent_Conditional_37_Template(rf, ctx) { if (rf & 1) {
|
|
56455
|
-
const
|
|
56456
|
-
i0.ɵɵelementStart(0, "div",
|
|
56457
|
-
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", 28)(1, "button", 66);
|
|
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()); });
|
|
56458
56469
|
i0.ɵɵtext(2);
|
|
56459
56470
|
i0.ɵɵnamespaceSVG();
|
|
56460
|
-
i0.ɵɵelementStart(3, "svg",
|
|
56461
|
-
i0.ɵɵelement(4, "path",
|
|
56471
|
+
i0.ɵɵelementStart(3, "svg", 67);
|
|
56472
|
+
i0.ɵɵelement(4, "path", 35);
|
|
56462
56473
|
i0.ɵɵelementEnd()()();
|
|
56463
56474
|
} if (rf & 2) {
|
|
56464
56475
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -56470,13 +56481,13 @@ function InitialTargetSettingComponent_Conditional_37_Template(rf, ctx) { if (rf
|
|
|
56470
56481
|
i0.ɵɵclassProp("chevron-rotate-expanded", ctx_r0.detailsExpanded());
|
|
56471
56482
|
} }
|
|
56472
56483
|
function InitialTargetSettingComponent_Conditional_38_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
56473
|
-
i0.ɵɵelement(0, "symphiq-area-chart",
|
|
56484
|
+
i0.ɵɵelement(0, "symphiq-area-chart", 23);
|
|
56474
56485
|
} if (rf & 2) {
|
|
56475
56486
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
56476
56487
|
i0.ɵɵproperty("chart", ctx_r0.revenueChartData())("showAxisLabels", true)("viewMode", ctx_r0.viewMode())("currencySymbol", "$")("height", "320px");
|
|
56477
56488
|
} }
|
|
56478
56489
|
function InitialTargetSettingComponent_Conditional_38_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
56479
|
-
i0.ɵɵelementStart(0, "div",
|
|
56490
|
+
i0.ɵɵelementStart(0, "div", 24)(1, "p", 50);
|
|
56480
56491
|
i0.ɵɵtext(2, " No revenue data available ");
|
|
56481
56492
|
i0.ɵɵelementEnd()();
|
|
56482
56493
|
} if (rf & 2) {
|
|
@@ -56485,11 +56496,11 @@ function InitialTargetSettingComponent_Conditional_38_Conditional_5_Template(rf,
|
|
|
56485
56496
|
i0.ɵɵproperty("ngClass", ctx_r0.noDataClasses());
|
|
56486
56497
|
} }
|
|
56487
56498
|
function InitialTargetSettingComponent_Conditional_38_Template(rf, ctx) { if (rf & 1) {
|
|
56488
|
-
i0.ɵɵelementStart(0, "div",
|
|
56499
|
+
i0.ɵɵelementStart(0, "div", 29)(1, "p", 21);
|
|
56489
56500
|
i0.ɵɵtext(2, " Year-over-Year Revenue Trend ");
|
|
56490
56501
|
i0.ɵɵelementEnd();
|
|
56491
|
-
i0.ɵɵelementStart(3, "div",
|
|
56492
|
-
i0.ɵɵconditionalCreate(4, InitialTargetSettingComponent_Conditional_38_Conditional_4_Template, 1, 5, "symphiq-area-chart",
|
|
56502
|
+
i0.ɵɵelementStart(3, "div", 22);
|
|
56503
|
+
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);
|
|
56493
56504
|
i0.ɵɵelementEnd()();
|
|
56494
56505
|
} if (rf & 2) {
|
|
56495
56506
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -56501,13 +56512,13 @@ function InitialTargetSettingComponent_Conditional_38_Template(rf, ctx) { if (rf
|
|
|
56501
56512
|
i0.ɵɵconditional(ctx_r0.revenueChartData() ? 4 : 5);
|
|
56502
56513
|
} }
|
|
56503
56514
|
function InitialTargetSettingComponent_Conditional_41_Template(rf, ctx) { if (rf & 1) {
|
|
56504
|
-
i0.ɵɵelementStart(0, "div",
|
|
56515
|
+
i0.ɵɵelementStart(0, "div", 32)(1, "div", 68)(2, "h2", 69);
|
|
56505
56516
|
i0.ɵɵtext(3, " Contributing Metrics ");
|
|
56506
56517
|
i0.ɵɵelementEnd();
|
|
56507
|
-
i0.ɵɵelementStart(4, "p",
|
|
56518
|
+
i0.ɵɵelementStart(4, "p", 50);
|
|
56508
56519
|
i0.ɵɵtext(5);
|
|
56509
56520
|
i0.ɵɵelementEnd()();
|
|
56510
|
-
i0.ɵɵelement(6, "symphiq-funnel-metrics-visualization",
|
|
56521
|
+
i0.ɵɵelement(6, "symphiq-funnel-metrics-visualization", 70);
|
|
56511
56522
|
i0.ɵɵelementEnd();
|
|
56512
56523
|
} if (rf & 2) {
|
|
56513
56524
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -56637,7 +56648,7 @@ class InitialTargetSettingComponent {
|
|
|
56637
56648
|
return this.calculatedRevenue();
|
|
56638
56649
|
}, ...(ngDevMode ? [{ debugName: "displayedTargetRevenue" }] : []));
|
|
56639
56650
|
this.isValid = computed(() => {
|
|
56640
|
-
return this.calculatedRevenue() >
|
|
56651
|
+
return this.calculatedRevenue() > this.priorYearRevenue() && this.priorYearRevenue() > 0;
|
|
56641
56652
|
}, ...(ngDevMode ? [{ debugName: "isValid" }] : []));
|
|
56642
56653
|
this.validationMessage = computed(() => {
|
|
56643
56654
|
if (this.priorYearRevenue() === 0) {
|
|
@@ -56646,6 +56657,9 @@ class InitialTargetSettingComponent {
|
|
|
56646
56657
|
if (this.calculatedRevenue() === 0) {
|
|
56647
56658
|
return 'Please enter a revenue target';
|
|
56648
56659
|
}
|
|
56660
|
+
if (this.calculatedRevenue() <= this.priorYearRevenue()) {
|
|
56661
|
+
return `Revenue target must be greater than ${this.priorYear()} revenue (${this.formatCurrency(this.priorYearRevenue())})`;
|
|
56662
|
+
}
|
|
56649
56663
|
return '';
|
|
56650
56664
|
}, ...(ngDevMode ? [{ debugName: "validationMessage" }] : []));
|
|
56651
56665
|
this.showMetricsVisualization = computed(() => {
|
|
@@ -56697,6 +56711,10 @@ class InitialTargetSettingComponent {
|
|
|
56697
56711
|
title: 'Additional Growth Needed',
|
|
56698
56712
|
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.'
|
|
56699
56713
|
};
|
|
56714
|
+
this.currentPaceProjectionTooltip = {
|
|
56715
|
+
title: 'Current Pace Projection',
|
|
56716
|
+
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.'
|
|
56717
|
+
};
|
|
56700
56718
|
effect(() => {
|
|
56701
56719
|
const response = this.reverseCalculationResponse();
|
|
56702
56720
|
if (response) {
|
|
@@ -56998,7 +57016,7 @@ class InitialTargetSettingComponent {
|
|
|
56998
57016
|
let _t;
|
|
56999
57017
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.absoluteInputRef = _t.first);
|
|
57000
57018
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.percentageInputRef = _t.first);
|
|
57001
|
-
} }, 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:
|
|
57019
|
+
} }, 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: 35, 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"], [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, "mb-6"], [1, "text-2xl", "font-bold", "mb-2", 3, "ngClass"], [3, "viewMode", "calculations", "pacingMetrics"]], template: function InitialTargetSettingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
57002
57020
|
i0.ɵɵelementStart(0, "div", 2);
|
|
57003
57021
|
i0.ɵɵelement(1, "symphiq-tooltip-container");
|
|
57004
57022
|
i0.ɵɵelementStart(2, "div", 3);
|
|
@@ -57008,41 +57026,41 @@ class InitialTargetSettingComponent {
|
|
|
57008
57026
|
i0.ɵɵelementEnd();
|
|
57009
57027
|
i0.ɵɵconditionalCreate(7, InitialTargetSettingComponent_Conditional_7_Template, 2, 3, ":svg:svg", 6);
|
|
57010
57028
|
i0.ɵɵelementEnd();
|
|
57011
|
-
i0.ɵɵelementStart(8, "div", 7)(9, "div", 8)(10, "div",
|
|
57029
|
+
i0.ɵɵelementStart(8, "div", 7)(9, "div", 8)(10, "div", 7)(11, "div", 9);
|
|
57012
57030
|
i0.ɵɵlistener("click", function InitialTargetSettingComponent_Template_div_click_11_listener($event) { return $event.stopPropagation(); });
|
|
57013
|
-
i0.ɵɵelementStart(12, "div",
|
|
57031
|
+
i0.ɵɵelementStart(12, "div", 10)(13, "div", 11);
|
|
57014
57032
|
i0.ɵɵnamespaceSVG();
|
|
57015
|
-
i0.ɵɵelementStart(14, "svg",
|
|
57016
|
-
i0.ɵɵelement(15, "path",
|
|
57033
|
+
i0.ɵɵelementStart(14, "svg", 12);
|
|
57034
|
+
i0.ɵɵelement(15, "path", 13);
|
|
57017
57035
|
i0.ɵɵelementEnd();
|
|
57018
57036
|
i0.ɵɵnamespaceHTML();
|
|
57019
|
-
i0.ɵɵelementStart(16, "div")(17, "p",
|
|
57037
|
+
i0.ɵɵelementStart(16, "div")(17, "p", 14);
|
|
57020
57038
|
i0.ɵɵtext(18);
|
|
57021
57039
|
i0.ɵɵelementEnd();
|
|
57022
|
-
i0.ɵɵelementStart(19, "p",
|
|
57040
|
+
i0.ɵɵelementStart(19, "p", 15);
|
|
57023
57041
|
i0.ɵɵtext(20);
|
|
57024
57042
|
i0.ɵɵelementEnd()()();
|
|
57025
|
-
i0.ɵɵconditionalCreate(21, InitialTargetSettingComponent_Conditional_21_Template,
|
|
57043
|
+
i0.ɵɵconditionalCreate(21, InitialTargetSettingComponent_Conditional_21_Template, 12, 6, "div", 11);
|
|
57026
57044
|
i0.ɵɵelementEnd();
|
|
57027
|
-
i0.ɵɵelementStart(22, "div",
|
|
57045
|
+
i0.ɵɵelementStart(22, "div", 16)(23, "div", 17)(24, "div", 18);
|
|
57028
57046
|
i0.ɵɵconditionalCreate(25, InitialTargetSettingComponent_Conditional_25_Template, 8, 4);
|
|
57029
57047
|
i0.ɵɵelementEnd()()()();
|
|
57030
|
-
i0.ɵɵelementStart(26, "div",
|
|
57048
|
+
i0.ɵɵelementStart(26, "div", 19)(27, "div", 20)(28, "div")(29, "p", 21);
|
|
57031
57049
|
i0.ɵɵtext(30, " Year-over-Year Revenue Trend ");
|
|
57032
57050
|
i0.ɵɵelementEnd();
|
|
57033
|
-
i0.ɵɵelementStart(31, "div",
|
|
57034
|
-
i0.ɵɵconditionalCreate(32, InitialTargetSettingComponent_Conditional_32_Template, 1, 5, "symphiq-area-chart",
|
|
57051
|
+
i0.ɵɵelementStart(31, "div", 22);
|
|
57052
|
+
i0.ɵɵconditionalCreate(32, InitialTargetSettingComponent_Conditional_32_Template, 1, 5, "symphiq-area-chart", 23)(33, InitialTargetSettingComponent_Conditional_33_Template, 3, 1, "div", 24);
|
|
57035
57053
|
i0.ɵɵelementEnd()()()()();
|
|
57036
|
-
i0.ɵɵelementStart(34, "div",
|
|
57037
|
-
i0.ɵɵconditionalCreate(36, InitialTargetSettingComponent_Conditional_36_Template, 30,
|
|
57054
|
+
i0.ɵɵelementStart(34, "div", 25)(35, "div", 26);
|
|
57055
|
+
i0.ɵɵconditionalCreate(36, InitialTargetSettingComponent_Conditional_36_Template, 30, 27, "div", 27);
|
|
57038
57056
|
i0.ɵɵelementEnd()()();
|
|
57039
|
-
i0.ɵɵconditionalCreate(37, InitialTargetSettingComponent_Conditional_37_Template, 5, 4, "div",
|
|
57040
|
-
i0.ɵɵconditionalCreate(38, InitialTargetSettingComponent_Conditional_38_Template, 6, 3, "div",
|
|
57057
|
+
i0.ɵɵconditionalCreate(37, InitialTargetSettingComponent_Conditional_37_Template, 5, 4, "div", 28);
|
|
57058
|
+
i0.ɵɵconditionalCreate(38, InitialTargetSettingComponent_Conditional_38_Template, 6, 3, "div", 29);
|
|
57041
57059
|
i0.ɵɵelementEnd()();
|
|
57042
|
-
i0.ɵɵelementStart(39, "div",
|
|
57043
|
-
i0.ɵɵconditionalCreate(41, InitialTargetSettingComponent_Conditional_41_Template, 7, 7, "div",
|
|
57060
|
+
i0.ɵɵelementStart(39, "div", 30)(40, "div", 31);
|
|
57061
|
+
i0.ɵɵconditionalCreate(41, InitialTargetSettingComponent_Conditional_41_Template, 7, 7, "div", 32);
|
|
57044
57062
|
i0.ɵɵelementEnd()();
|
|
57045
|
-
i0.ɵɵelementStart(42, "symphiq-sticky-submit-bar",
|
|
57063
|
+
i0.ɵɵelementStart(42, "symphiq-sticky-submit-bar", 33);
|
|
57046
57064
|
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(); });
|
|
57047
57065
|
i0.ɵɵelementEnd()();
|
|
57048
57066
|
} if (rf & 2) {
|
|
@@ -57057,9 +57075,7 @@ class InitialTargetSettingComponent {
|
|
|
57057
57075
|
i0.ɵɵconditional(ctx.calculationState() === "results" ? 7 : -1);
|
|
57058
57076
|
i0.ɵɵadvance(4);
|
|
57059
57077
|
i0.ɵɵproperty("ngClass", ctx.formAreaClasses());
|
|
57060
|
-
i0.ɵɵadvance();
|
|
57061
|
-
i0.ɵɵclassProp("mb-6", ctx.calculationState() !== "results");
|
|
57062
|
-
i0.ɵɵadvance(2);
|
|
57078
|
+
i0.ɵɵadvance(3);
|
|
57063
57079
|
i0.ɵɵproperty("ngClass", ctx.baselineIconClasses());
|
|
57064
57080
|
i0.ɵɵadvance(3);
|
|
57065
57081
|
i0.ɵɵproperty("ngClass", ctx.baselineLabelClasses());
|
|
@@ -57140,11 +57156,11 @@ class InitialTargetSettingComponent {
|
|
|
57140
57156
|
}
|
|
57141
57157
|
</div>
|
|
57142
57158
|
|
|
57143
|
-
<div class="flex flex-col gap-
|
|
57144
|
-
<div class="grid lg:grid-cols-2 gap-
|
|
57159
|
+
<div class="flex flex-col gap-4">
|
|
57160
|
+
<div class="grid lg:grid-cols-2 gap-4">
|
|
57145
57161
|
<div class="flex flex-col gap-4">
|
|
57146
57162
|
<div [ngClass]="formAreaClasses()" class="p-6 rounded-xl border-2" (click)="$event.stopPropagation()">
|
|
57147
|
-
<div class="flex flex-wrap gap-4 place-content-between"
|
|
57163
|
+
<div class="flex flex-wrap gap-4 place-content-between">
|
|
57148
57164
|
<div class="flex items-center gap-2">
|
|
57149
57165
|
<svg class="w-4 h-4" [ngClass]="baselineIconClasses()" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
57150
57166
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
|
|
@@ -57164,9 +57180,23 @@ class InitialTargetSettingComponent {
|
|
|
57164
57180
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"></path>
|
|
57165
57181
|
</svg>
|
|
57166
57182
|
<div>
|
|
57167
|
-
<
|
|
57168
|
-
|
|
57169
|
-
|
|
57183
|
+
<div class="flex items-center gap-1">
|
|
57184
|
+
<p [ngClass]="projectionLabelClasses()" class="text-xs font-medium uppercase tracking-wider">
|
|
57185
|
+
Current Pace Projection
|
|
57186
|
+
</p>
|
|
57187
|
+
<button
|
|
57188
|
+
type="button"
|
|
57189
|
+
[ngClass]="infoIconClasses()"
|
|
57190
|
+
class="flex-shrink-0 w-4 h-4 rounded-full inline-flex items-center justify-center transition-colors"
|
|
57191
|
+
[libSymphiqTooltip]="currentPaceProjectionTooltip"
|
|
57192
|
+
tooltipType="markdown"
|
|
57193
|
+
tooltipPosition="top"
|
|
57194
|
+
(click)="$event.stopPropagation()">
|
|
57195
|
+
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
57196
|
+
<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" />
|
|
57197
|
+
</svg>
|
|
57198
|
+
</button>
|
|
57199
|
+
</div>
|
|
57170
57200
|
<p [ngClass]="projectionValueClasses()" class="text-lg font-bold">
|
|
57171
57201
|
{{ formatCurrency(currentPaceProjection()) }}
|
|
57172
57202
|
</p>
|
|
@@ -57276,7 +57306,8 @@ class InitialTargetSettingComponent {
|
|
|
57276
57306
|
<div class="calculated-card-enter order-first lg:order-last" [class.calculated-card-enter-active]="calculatedRevenue() > 0">
|
|
57277
57307
|
<div class="calculated-card-content">
|
|
57278
57308
|
@if (calculatedRevenue() > 0) {
|
|
57279
|
-
<div [ngClass]="calculatedValuesCardClasses()" class="p-6 rounded-xl border-2
|
|
57309
|
+
<div [ngClass]="calculatedValuesCardClasses()" class="p-6 rounded-xl border-2"
|
|
57310
|
+
[class.h-full]="calculationState() !== 'results' || detailsExpanded()">
|
|
57280
57311
|
<div [class.space-y-6]="calculationState() !== 'results'">
|
|
57281
57312
|
<div class="flex items-center justify-between">
|
|
57282
57313
|
<div>
|
|
@@ -57474,7 +57505,7 @@ class InitialTargetSettingComponent {
|
|
|
57474
57505
|
type: ViewChild,
|
|
57475
57506
|
args: ['percentageInputRef']
|
|
57476
57507
|
}], 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"] }] }); })();
|
|
57477
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InitialTargetSettingComponent, { className: "InitialTargetSettingComponent", filePath: "lib/components/revenue-calculator-dashboard/initial-target-setting.component.ts", lineNumber:
|
|
57508
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InitialTargetSettingComponent, { className: "InitialTargetSettingComponent", filePath: "lib/components/revenue-calculator-dashboard/initial-target-setting.component.ts", lineNumber: 517 }); })();
|
|
57478
57509
|
|
|
57479
57510
|
function IndeterminateSpinnerComponent_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
57480
57511
|
i0.ɵɵelement(0, "div", 5);
|