@eric-emg/symphiq-components 1.3.9 → 1.3.10

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.
@@ -61139,18 +61139,12 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional
61139
61139
  i0.ɵɵtextInterpolate1(" ", ctx_r1.formatMetricValue(ctx_r1.initialTargetValue()), " ");
61140
61140
  } }
61141
61141
  function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_9_Template(rf, ctx) { if (rf & 1) {
61142
- const _r8 = i0.ɵɵgetCurrentView();
61143
61142
  i0.ɵɵelementStart(0, "div", 48)(1, "p", 58);
61144
61143
  i0.ɵɵtext(2);
61145
61144
  i0.ɵɵelementEnd();
61146
- i0.ɵɵelementStart(3, "div", 59);
61147
- i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_9_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(3); ctx_r1.openExpandedChart(); return i0.ɵɵresetView($event.stopPropagation()); });
61148
- i0.ɵɵelement(4, "symphiq-area-chart", 60);
61149
- i0.ɵɵelementStart(5, "div", 61);
61150
- i0.ɵɵnamespaceSVG();
61151
- i0.ɵɵelementStart(6, "svg", 62);
61152
- i0.ɵɵelement(7, "path", 63);
61153
- i0.ɵɵelementEnd()()()();
61145
+ i0.ɵɵelementStart(3, "div", 24);
61146
+ i0.ɵɵelement(4, "symphiq-area-chart", 59);
61147
+ i0.ɵɵelementEnd()();
61154
61148
  } if (rf & 2) {
61155
61149
  const ctx_r1 = i0.ɵɵnextContext(3);
61156
61150
  i0.ɵɵadvance();
@@ -61159,8 +61153,6 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional
61159
61153
  i0.ɵɵtextInterpolate2(" ", ctx_r1.currentYear(), " vs ", ctx_r1.priorYear(), " ");
61160
61154
  i0.ɵɵadvance(2);
61161
61155
  i0.ɵɵproperty("chart", ctx_r1.trendChartData())("showAxisLabels", false)("viewMode", ctx_r1.viewMode())("currencySymbol", ctx_r1.currencySymbol())("height", "60px")("disableInteractions", true);
61162
- i0.ɵɵadvance();
61163
- i0.ɵɵproperty("ngClass", ctx_r1.expandIconClasses());
61164
61156
  } }
61165
61157
  function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_22_Template(rf, ctx) { if (rf & 1) {
61166
61158
  i0.ɵɵtext(0);
@@ -61263,7 +61255,7 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional
61263
61255
  i0.ɵɵconditional(ctx_r1.initialIsPaceAhead() ? 1 : 2);
61264
61256
  } }
61265
61257
  function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_33_Template(rf, ctx) { if (rf & 1) {
61266
- const _r9 = i0.ɵɵgetCurrentView();
61258
+ const _r8 = i0.ɵɵgetCurrentView();
61267
61259
  i0.ɵɵelementStart(0, "div", 49)(1, "div", 50);
61268
61260
  i0.ɵɵelement(2, "div", 51);
61269
61261
  i0.ɵɵelementStart(3, "span", 52);
@@ -61279,11 +61271,11 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional
61279
61271
  i0.ɵɵelementEnd();
61280
61272
  i0.ɵɵconditionalCreate(14, EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_14_Template, 2, 2, "p", 57);
61281
61273
  i0.ɵɵelementEnd()();
61282
- i0.ɵɵelementStart(15, "div")(16, "div", 64)(17, "p", 19);
61274
+ i0.ɵɵelementStart(15, "div")(16, "div", 60)(17, "p", 19);
61283
61275
  i0.ɵɵtext(18);
61284
61276
  i0.ɵɵelementEnd();
61285
61277
  i0.ɵɵelementStart(19, "button", 34);
61286
- i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_33_Template_button_click_19_listener($event) { i0.ɵɵrestoreView(_r9); return i0.ɵɵresetView($event.stopPropagation()); });
61278
+ i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_33_Template_button_click_19_listener($event) { i0.ɵɵrestoreView(_r8); return i0.ɵɵresetView($event.stopPropagation()); });
61287
61279
  i0.ɵɵnamespaceSVG();
61288
61280
  i0.ɵɵelementStart(20, "svg", 35);
61289
61281
  i0.ɵɵelement(21, "path", 36);
@@ -61336,7 +61328,7 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Template(rf
61336
61328
  i0.ɵɵelementEnd();
61337
61329
  i0.ɵɵconditionalCreate(8, EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_8_Template, 2, 2, "p", 47);
61338
61330
  i0.ɵɵelementEnd()();
61339
- i0.ɵɵconditionalCreate(9, EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_9_Template, 8, 10, "div", 48);
61331
+ i0.ɵɵconditionalCreate(9, EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_9_Template, 5, 9, "div", 48);
61340
61332
  i0.ɵɵelementEnd();
61341
61333
  i0.ɵɵelementStart(10, "div", 49)(11, "div", 50);
61342
61334
  i0.ɵɵelement(12, "div", 51);
@@ -61410,40 +61402,40 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Template(rf
61410
61402
  i0.ɵɵconditional(ctx_r1.currentPaceProjectionRaw() > 0 ? 33 : -1);
61411
61403
  } }
61412
61404
  function EditMetricTargetModalComponent_Conditional_0_Conditional_34_For_11_Template(rf, ctx) { if (rf & 1) {
61413
- i0.ɵɵelementStart(0, "div", 69);
61414
- i0.ɵɵelement(1, "symphiq-user-display", 70);
61415
- i0.ɵɵelementStart(2, "div", 71)(3, "p", 72);
61405
+ i0.ɵɵelementStart(0, "div", 65);
61406
+ i0.ɵɵelement(1, "symphiq-user-display", 66);
61407
+ i0.ɵɵelementStart(2, "div", 67)(3, "p", 68);
61416
61408
  i0.ɵɵtext(4);
61417
61409
  i0.ɵɵelementEnd();
61418
- i0.ɵɵelementStart(5, "p", 73);
61410
+ i0.ɵɵelementStart(5, "p", 69);
61419
61411
  i0.ɵɵtext(6);
61420
61412
  i0.ɵɵelementEnd()()();
61421
61413
  } if (rf & 2) {
61422
- const item_r10 = ctx.$implicit;
61414
+ const item_r9 = ctx.$implicit;
61423
61415
  const ctx_r1 = i0.ɵɵnextContext(3);
61424
61416
  i0.ɵɵadvance();
61425
- i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("user", ctx_r1.getUserById(item_r10.history.creatorUserId));
61417
+ i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("user", ctx_r1.getUserById(item_r9.history.creatorUserId));
61426
61418
  i0.ɵɵadvance(2);
61427
61419
  i0.ɵɵproperty("ngClass", ctx_r1.historyValueClasses());
61428
61420
  i0.ɵɵadvance();
61429
- i0.ɵɵtextInterpolate(item_r10.formattedValue);
61421
+ i0.ɵɵtextInterpolate(item_r9.formattedValue);
61430
61422
  i0.ɵɵadvance();
61431
61423
  i0.ɵɵproperty("ngClass", ctx_r1.historyDateClasses());
61432
61424
  i0.ɵɵadvance();
61433
- i0.ɵɵtextInterpolate(item_r10.formattedDate);
61425
+ i0.ɵɵtextInterpolate(item_r9.formattedDate);
61434
61426
  } }
61435
61427
  function EditMetricTargetModalComponent_Conditional_0_Conditional_34_Template(rf, ctx) { if (rf & 1) {
61436
- i0.ɵɵelementStart(0, "div", 26)(1, "h4", 65);
61428
+ i0.ɵɵelementStart(0, "div", 26)(1, "h4", 61);
61437
61429
  i0.ɵɵtext(2, "Target history");
61438
61430
  i0.ɵɵelementEnd();
61439
- i0.ɵɵelementStart(3, "div", 66)(4, "div", 67)(5, "span");
61431
+ i0.ɵɵelementStart(3, "div", 62)(4, "div", 63)(5, "span");
61440
61432
  i0.ɵɵtext(6, "User");
61441
61433
  i0.ɵɵelementEnd();
61442
61434
  i0.ɵɵelementStart(7, "span");
61443
61435
  i0.ɵɵtext(8, "Amount set");
61444
61436
  i0.ɵɵelementEnd()();
61445
- i0.ɵɵelementStart(9, "div", 68);
61446
- i0.ɵɵrepeaterCreate(10, EditMetricTargetModalComponent_Conditional_0_Conditional_34_For_11_Template, 7, 6, "div", 69, _forTrack0$A);
61437
+ i0.ɵɵelementStart(9, "div", 64);
61438
+ i0.ɵɵrepeaterCreate(10, EditMetricTargetModalComponent_Conditional_0_Conditional_34_For_11_Template, 7, 6, "div", 65, _forTrack0$A);
61447
61439
  i0.ɵɵelementEnd()()();
61448
61440
  } if (rf & 2) {
61449
61441
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -61458,9 +61450,9 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_34_Template(rf
61458
61450
  i0.ɵɵrepeater(ctx_r1.filteredHistoriesDisplay());
61459
61451
  } }
61460
61452
  function EditMetricTargetModalComponent_Conditional_0_Conditional_38_Template(rf, ctx) { if (rf & 1) {
61461
- const _r11 = i0.ɵɵgetCurrentView();
61453
+ const _r10 = i0.ɵɵgetCurrentView();
61462
61454
  i0.ɵɵelementStart(0, "button", 28);
61463
- i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_38_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.resetToInitial()); });
61455
+ i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_38_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.resetToInitial()); });
61464
61456
  i0.ɵɵtext(1, " Reset ");
61465
61457
  i0.ɵɵelementEnd();
61466
61458
  } if (rf & 2) {
@@ -61468,24 +61460,24 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_38_Template(rf
61468
61460
  i0.ɵɵproperty("ngClass", ctx_r1.resetButtonClasses());
61469
61461
  } }
61470
61462
  function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template(rf, ctx) { if (rf & 1) {
61471
- const _r12 = i0.ɵɵgetCurrentView();
61463
+ const _r11 = i0.ɵɵgetCurrentView();
61472
61464
  i0.ɵɵelementStart(0, "div", 31)(1, "div", 3);
61473
- i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedChart()); });
61465
+ i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedChart()); });
61474
61466
  i0.ɵɵelementEnd();
61475
- i0.ɵɵelementStart(2, "div", 74);
61476
- i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template_div_click_2_listener($event) { i0.ɵɵrestoreView(_r12); return i0.ɵɵresetView($event.stopPropagation()); });
61477
- i0.ɵɵelementStart(3, "div", 75)(4, "h3", 76);
61467
+ i0.ɵɵelementStart(2, "div", 70);
61468
+ i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template_div_click_2_listener($event) { i0.ɵɵrestoreView(_r11); return i0.ɵɵresetView($event.stopPropagation()); });
61469
+ i0.ɵɵelementStart(3, "div", 71)(4, "h3", 72);
61478
61470
  i0.ɵɵtext(5, " Year-over-Year Trend ");
61479
61471
  i0.ɵɵelementEnd();
61480
- i0.ɵɵelementStart(6, "button", 77);
61481
- i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedChart()); });
61472
+ i0.ɵɵelementStart(6, "button", 73);
61473
+ i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedChart()); });
61482
61474
  i0.ɵɵnamespaceSVG();
61483
61475
  i0.ɵɵelementStart(7, "svg", 10);
61484
61476
  i0.ɵɵelement(8, "path", 11);
61485
61477
  i0.ɵɵelementEnd()()();
61486
61478
  i0.ɵɵnamespaceHTML();
61487
- i0.ɵɵelementStart(9, "div", 78);
61488
- i0.ɵɵelement(10, "symphiq-area-chart", 79);
61479
+ i0.ɵɵelementStart(9, "div", 74);
61480
+ i0.ɵɵelement(10, "symphiq-area-chart", 75);
61489
61481
  i0.ɵɵelementEnd()()();
61490
61482
  } if (rf & 2) {
61491
61483
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -62312,7 +62304,7 @@ class EditMetricTargetModalComponent {
62312
62304
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.percentageInputRef = _t.first);
62313
62305
  } }, hostBindings: function EditMetricTargetModalComponent_HostBindings(rf, ctx) { if (rf & 1) {
62314
62306
  i0.ɵɵlistener("keydown.escape", function EditMetricTargetModalComponent_keydown_escape_HostBindingHandler() { return ctx.onEscape(); }, i0.ɵɵresolveDocument);
62315
- } }, inputs: { viewMode: [1, "viewMode"], isOpen: [1, "isOpen"], metricData: [1, "metricData"], pacingResponse: [1, "pacingResponse"], targetHistories: [1, "targetHistories"], users: [1, "users"], currencySymbol: [1, "currencySymbol"], trendChartData: [1, "trendChartData"] }, outputs: { closed: "closed", targetApplied: "targetApplied" }, decls: 1, vars: 1, consts: [["absoluteInputRef", ""], ["percentageInputRef", ""], [1, "fixed", "inset-0", "z-[100]", "flex", "items-center", "justify-center", "p-4", "overflow-y-auto"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-md", 3, "click", "ngClass"], [1, "relative", "w-full", "max-w-4xl", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", "sticky", "top-0", "z-10", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "text-xl", "font-bold", "mb-0", 3, "ngClass"], [1, "ml-4", "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "px-6", "py-6", "max-h-[70vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [1, "grid", "lg:grid-cols-2", "gap-6"], [1, "p-6", "rounded-xl", "border-2", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-4", "place-content-between", "mb-6"], [1, "flex", "items-center", "gap-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-lg", "font-bold", 3, "ngClass"], [1, "space-y-6"], [1, "flex", "gap-2"], [1, "flex-1", "py-2", "px-4", "rounded-lg", "text-sm", "font-semibold", "transition-all", 3, "click", "ngClass"], [1, "relative"], [1, "p-6", "rounded-xl", "border-2", "h-full", 3, "ngClass"], [1, "mt-6", "p-6", "rounded-xl", "border", 3, "ngClass"], [1, "px-6", "py-4", "border-t", "flex", "justify-end", "gap-3", 3, "ngClass"], ["type", "button", 1, "px-4", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", 3, "click", "ngClass"], ["type", "button", 1, "px-4", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", 3, "ngClass"], ["type", "button", 1, "px-4", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "disabled:opacity-50", "disabled:cursor-not-allowed", 3, "click", "disabled", "ngClass"], [1, "fixed", "inset-0", "z-[110]", "flex", "items-center", "justify-center", "p-4", "overflow-y-auto"], ["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"], ["type", "number", "placeholder", "0", "min", "0", "step", "1", 1, "w-full", "px-4", "py-4", "rounded-xl", "text-2xl", "font-bold", "border-2", "transition-all", 3, "ngModel", "ngClass"], ["type", "number", "placeholder", "0", "min", "0", "max", "100", "step", "0.01", 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, "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", "pr-4", "py-4", "rounded-xl", "text-2xl", "font-bold", "border-2", "transition-all", 3, "ngModelChange", "ngModel", "ngClass"], ["type", "number", "placeholder", "0", "min", "0", "step", "1", 1, "w-full", "px-4", "py-4", "rounded-xl", "text-2xl", "font-bold", "border-2", "transition-all", 3, "ngModelChange", "keydown", "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, "flex", "gap-4"], [1, "flex", "items-baseline", "gap-3"], [1, "text-3xl", "font-bold", "transition-all", "duration-300", 3, "ngClass"], [1, "text-xl", "line-through", "opacity-60", 3, "ngClass"], [1, "flex-shrink-0", "w-36"], [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, "flex", "items-baseline", "gap-2"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-base", "line-through", "opacity-60", 3, "ngClass"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-1.5", 3, "ngClass"], [1, "relative", "cursor-pointer", "group", 3, "click"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height", "disableInteractions"], [1, "absolute", "top-1", "right-1", "p-1", "rounded", "opacity-0", "group-hover:opacity-100", "transition-opacity", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3.5", "h-3.5"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"], [1, "flex", "items-center", "gap-1", "mb-1"], [1, "text-base", "font-semibold", "mb-4", 3, "ngClass"], [1, "overflow-hidden"], [1, "flex", "justify-between", "items-center", "px-4", "py-2", "text-xs", "font-medium", "uppercase", "tracking-wider", 3, "ngClass"], [1, "divide-y", 3, "ngClass"], [1, "flex", "justify-between", "items-center", "px-4", "py-4"], [3, "viewMode", "user"], [1, "text-right"], [1, "text-sm", "font-bold", 3, "ngClass"], [1, "text-xs", 3, "ngClass"], [1, "relative", "w-full", "max-w-5xl", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-4", "border-b", "backdrop-blur-sm", "flex", "items-center", "justify-between", 3, "ngClass"], [1, "text-lg", "font-bold", "mb-0", 3, "ngClass"], [1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", 3, "click", "ngClass"], [1, "p-6", "backdrop-blur-sm", 3, "ngClass"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height"]], template: function EditMetricTargetModalComponent_Template(rf, ctx) { if (rf & 1) {
62307
+ } }, inputs: { viewMode: [1, "viewMode"], isOpen: [1, "isOpen"], metricData: [1, "metricData"], pacingResponse: [1, "pacingResponse"], targetHistories: [1, "targetHistories"], users: [1, "users"], currencySymbol: [1, "currencySymbol"], trendChartData: [1, "trendChartData"] }, outputs: { closed: "closed", targetApplied: "targetApplied" }, decls: 1, vars: 1, consts: [["absoluteInputRef", ""], ["percentageInputRef", ""], [1, "fixed", "inset-0", "z-[100]", "flex", "items-center", "justify-center", "p-4", "overflow-y-auto"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-md", 3, "click", "ngClass"], [1, "relative", "w-full", "max-w-4xl", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-5", "border-b", "backdrop-blur-sm", "sticky", "top-0", "z-10", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "text-xl", "font-bold", "mb-0", 3, "ngClass"], [1, "ml-4", "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M6 18L18 6M6 6l12 12"], [1, "px-6", "py-6", "max-h-[70vh]", "overflow-y-auto", "backdrop-blur-sm", 3, "ngClass"], [1, "grid", "lg:grid-cols-2", "gap-6"], [1, "p-6", "rounded-xl", "border-2", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-4", "place-content-between", "mb-6"], [1, "flex", "items-center", "gap-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", 3, "ngClass"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-lg", "font-bold", 3, "ngClass"], [1, "space-y-6"], [1, "flex", "gap-2"], [1, "flex-1", "py-2", "px-4", "rounded-lg", "text-sm", "font-semibold", "transition-all", 3, "click", "ngClass"], [1, "relative"], [1, "p-6", "rounded-xl", "border-2", "h-full", 3, "ngClass"], [1, "mt-6", "p-6", "rounded-xl", "border", 3, "ngClass"], [1, "px-6", "py-4", "border-t", "flex", "justify-end", "gap-3", 3, "ngClass"], ["type", "button", 1, "px-4", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", 3, "click", "ngClass"], ["type", "button", 1, "px-4", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", 3, "ngClass"], ["type", "button", 1, "px-4", "py-2.5", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "disabled:opacity-50", "disabled:cursor-not-allowed", 3, "click", "disabled", "ngClass"], [1, "fixed", "inset-0", "z-[110]", "flex", "items-center", "justify-center", "p-4", "overflow-y-auto"], ["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"], ["type", "number", "placeholder", "0", "min", "0", "step", "1", 1, "w-full", "px-4", "py-4", "rounded-xl", "text-2xl", "font-bold", "border-2", "transition-all", 3, "ngModel", "ngClass"], ["type", "number", "placeholder", "0", "min", "0", "max", "100", "step", "0.01", 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, "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", "pr-4", "py-4", "rounded-xl", "text-2xl", "font-bold", "border-2", "transition-all", 3, "ngModelChange", "ngModel", "ngClass"], ["type", "number", "placeholder", "0", "min", "0", "step", "1", 1, "w-full", "px-4", "py-4", "rounded-xl", "text-2xl", "font-bold", "border-2", "transition-all", 3, "ngModelChange", "keydown", "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, "flex", "gap-4"], [1, "flex", "items-baseline", "gap-3"], [1, "text-3xl", "font-bold", "transition-all", "duration-300", 3, "ngClass"], [1, "text-xl", "line-through", "opacity-60", 3, "ngClass"], [1, "flex-shrink-0", "w-36"], [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, "flex", "items-baseline", "gap-2"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-base", "line-through", "opacity-60", 3, "ngClass"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-1.5", 3, "ngClass"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height", "disableInteractions"], [1, "flex", "items-center", "gap-1", "mb-1"], [1, "text-base", "font-semibold", "mb-4", 3, "ngClass"], [1, "overflow-hidden"], [1, "flex", "justify-between", "items-center", "px-4", "py-2", "text-xs", "font-medium", "uppercase", "tracking-wider", 3, "ngClass"], [1, "divide-y", 3, "ngClass"], [1, "flex", "justify-between", "items-center", "px-4", "py-4"], [3, "viewMode", "user"], [1, "text-right"], [1, "text-sm", "font-bold", 3, "ngClass"], [1, "text-xs", 3, "ngClass"], [1, "relative", "w-full", "max-w-5xl", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "border", "backdrop-blur-xl", 3, "click", "ngClass"], [1, "px-6", "py-4", "border-b", "backdrop-blur-sm", "flex", "items-center", "justify-between", 3, "ngClass"], [1, "text-lg", "font-bold", "mb-0", 3, "ngClass"], [1, "transition-all", "rounded-lg", "p-1", "hover:scale-110", "active:scale-90", 3, "click", "ngClass"], [1, "p-6", "backdrop-blur-sm", 3, "ngClass"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height"]], template: function EditMetricTargetModalComponent_Template(rf, ctx) { if (rf & 1) {
62316
62308
  i0.ɵɵconditionalCreate(0, EditMetricTargetModalComponent_Conditional_0_Template, 42, 30);
62317
62309
  } if (rf & 2) {
62318
62310
  i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
@@ -62542,9 +62534,7 @@ class EditMetricTargetModalComponent {
62542
62534
  <p [ngClass]="trendChartLabelClasses()" class="text-xs font-medium uppercase tracking-wider mb-1.5">
62543
62535
  {{ currentYear() }} vs {{ priorYear() }}
62544
62536
  </p>
62545
- <div
62546
- class="relative cursor-pointer group"
62547
- (click)="openExpandedChart(); $event.stopPropagation()">
62537
+ <div class="relative">
62548
62538
  <symphiq-area-chart
62549
62539
  [chart]="trendChartData()!"
62550
62540
  [showAxisLabels]="false"
@@ -62553,13 +62543,6 @@ class EditMetricTargetModalComponent {
62553
62543
  [height]="'60px'"
62554
62544
  [disableInteractions]="true"
62555
62545
  />
62556
- <div
62557
- [ngClass]="expandIconClasses()"
62558
- class="absolute top-1 right-1 p-1 rounded opacity-0 group-hover:opacity-100 transition-opacity">
62559
- <svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
62560
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4" />
62561
- </svg>
62562
- </div>
62563
62546
  </div>
62564
62547
  </div>
62565
62548
  }
@@ -62803,7 +62786,7 @@ class EditMetricTargetModalComponent {
62803
62786
  type: HostListener,
62804
62787
  args: ['document:keydown.escape']
62805
62788
  }] }); })();
62806
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EditMetricTargetModalComponent, { className: "EditMetricTargetModalComponent", filePath: "lib/components/revenue-calculator-dashboard/edit-metric-target-modal.component.ts", lineNumber: 476 }); })();
62789
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EditMetricTargetModalComponent, { className: "EditMetricTargetModalComponent", filePath: "lib/components/revenue-calculator-dashboard/edit-metric-target-modal.component.ts", lineNumber: 467 }); })();
62807
62790
 
62808
62791
  const _c0$B = ["absoluteInputRef"];
62809
62792
  const _c1$g = ["percentageInputRef"];