@eric-emg/symphiq-components 1.3.9 → 1.3.11
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.
|
@@ -58292,6 +58292,9 @@ class AreaChartComponent {
|
|
|
58292
58292
|
maxTooltipDistance: -1
|
|
58293
58293
|
}));
|
|
58294
58294
|
this.chartElement = chartElement;
|
|
58295
|
+
if (this.disableInteractions()) {
|
|
58296
|
+
chartElement.zoomOutButton.set('forceHidden', true);
|
|
58297
|
+
}
|
|
58295
58298
|
const categoryField = chartData.categories?.field || 'month';
|
|
58296
58299
|
const xAxis = this.chartElement.xAxes.push(CategoryAxis.new(this.root, {
|
|
58297
58300
|
categoryField: categoryField,
|
|
@@ -61139,18 +61142,12 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional
|
|
|
61139
61142
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.formatMetricValue(ctx_r1.initialTargetValue()), " ");
|
|
61140
61143
|
} }
|
|
61141
61144
|
function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
61142
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
|
61143
61145
|
i0.ɵɵelementStart(0, "div", 48)(1, "p", 58);
|
|
61144
61146
|
i0.ɵɵtext(2);
|
|
61145
61147
|
i0.ɵɵelementEnd();
|
|
61146
|
-
i0.ɵɵelementStart(3, "div",
|
|
61147
|
-
i0.ɵɵ
|
|
61148
|
-
i0.ɵɵ
|
|
61149
|
-
i0.ɵɵelementStart(5, "div", 61);
|
|
61150
|
-
i0.ɵɵnamespaceSVG();
|
|
61151
|
-
i0.ɵɵelementStart(6, "svg", 62);
|
|
61152
|
-
i0.ɵɵelement(7, "path", 63);
|
|
61153
|
-
i0.ɵɵelementEnd()()()();
|
|
61148
|
+
i0.ɵɵelementStart(3, "div", 24);
|
|
61149
|
+
i0.ɵɵelement(4, "symphiq-area-chart", 59);
|
|
61150
|
+
i0.ɵɵelementEnd()();
|
|
61154
61151
|
} if (rf & 2) {
|
|
61155
61152
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
61156
61153
|
i0.ɵɵadvance();
|
|
@@ -61159,8 +61156,6 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional
|
|
|
61159
61156
|
i0.ɵɵtextInterpolate2(" ", ctx_r1.currentYear(), " vs ", ctx_r1.priorYear(), " ");
|
|
61160
61157
|
i0.ɵɵadvance(2);
|
|
61161
61158
|
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
61159
|
} }
|
|
61165
61160
|
function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
61166
61161
|
i0.ɵɵtext(0);
|
|
@@ -61263,7 +61258,7 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional
|
|
|
61263
61258
|
i0.ɵɵconditional(ctx_r1.initialIsPaceAhead() ? 1 : 2);
|
|
61264
61259
|
} }
|
|
61265
61260
|
function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_33_Template(rf, ctx) { if (rf & 1) {
|
|
61266
|
-
const
|
|
61261
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
61267
61262
|
i0.ɵɵelementStart(0, "div", 49)(1, "div", 50);
|
|
61268
61263
|
i0.ɵɵelement(2, "div", 51);
|
|
61269
61264
|
i0.ɵɵelementStart(3, "span", 52);
|
|
@@ -61279,11 +61274,11 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional
|
|
|
61279
61274
|
i0.ɵɵelementEnd();
|
|
61280
61275
|
i0.ɵɵconditionalCreate(14, EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_14_Template, 2, 2, "p", 57);
|
|
61281
61276
|
i0.ɵɵelementEnd()();
|
|
61282
|
-
i0.ɵɵelementStart(15, "div")(16, "div",
|
|
61277
|
+
i0.ɵɵelementStart(15, "div")(16, "div", 60)(17, "p", 19);
|
|
61283
61278
|
i0.ɵɵtext(18);
|
|
61284
61279
|
i0.ɵɵelementEnd();
|
|
61285
61280
|
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(
|
|
61281
|
+
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
61282
|
i0.ɵɵnamespaceSVG();
|
|
61288
61283
|
i0.ɵɵelementStart(20, "svg", 35);
|
|
61289
61284
|
i0.ɵɵelement(21, "path", 36);
|
|
@@ -61336,7 +61331,7 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Template(rf
|
|
|
61336
61331
|
i0.ɵɵelementEnd();
|
|
61337
61332
|
i0.ɵɵconditionalCreate(8, EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_8_Template, 2, 2, "p", 47);
|
|
61338
61333
|
i0.ɵɵelementEnd()();
|
|
61339
|
-
i0.ɵɵconditionalCreate(9, EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_9_Template,
|
|
61334
|
+
i0.ɵɵconditionalCreate(9, EditMetricTargetModalComponent_Conditional_0_Conditional_33_Conditional_9_Template, 5, 9, "div", 48);
|
|
61340
61335
|
i0.ɵɵelementEnd();
|
|
61341
61336
|
i0.ɵɵelementStart(10, "div", 49)(11, "div", 50);
|
|
61342
61337
|
i0.ɵɵelement(12, "div", 51);
|
|
@@ -61410,40 +61405,40 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_33_Template(rf
|
|
|
61410
61405
|
i0.ɵɵconditional(ctx_r1.currentPaceProjectionRaw() > 0 ? 33 : -1);
|
|
61411
61406
|
} }
|
|
61412
61407
|
function EditMetricTargetModalComponent_Conditional_0_Conditional_34_For_11_Template(rf, ctx) { if (rf & 1) {
|
|
61413
|
-
i0.ɵɵelementStart(0, "div",
|
|
61414
|
-
i0.ɵɵelement(1, "symphiq-user-display",
|
|
61415
|
-
i0.ɵɵelementStart(2, "div",
|
|
61408
|
+
i0.ɵɵelementStart(0, "div", 65);
|
|
61409
|
+
i0.ɵɵelement(1, "symphiq-user-display", 66);
|
|
61410
|
+
i0.ɵɵelementStart(2, "div", 67)(3, "p", 68);
|
|
61416
61411
|
i0.ɵɵtext(4);
|
|
61417
61412
|
i0.ɵɵelementEnd();
|
|
61418
|
-
i0.ɵɵelementStart(5, "p",
|
|
61413
|
+
i0.ɵɵelementStart(5, "p", 69);
|
|
61419
61414
|
i0.ɵɵtext(6);
|
|
61420
61415
|
i0.ɵɵelementEnd()()();
|
|
61421
61416
|
} if (rf & 2) {
|
|
61422
|
-
const
|
|
61417
|
+
const item_r9 = ctx.$implicit;
|
|
61423
61418
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
61424
61419
|
i0.ɵɵadvance();
|
|
61425
|
-
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("user", ctx_r1.getUserById(
|
|
61420
|
+
i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("user", ctx_r1.getUserById(item_r9.history.creatorUserId));
|
|
61426
61421
|
i0.ɵɵadvance(2);
|
|
61427
61422
|
i0.ɵɵproperty("ngClass", ctx_r1.historyValueClasses());
|
|
61428
61423
|
i0.ɵɵadvance();
|
|
61429
|
-
i0.ɵɵtextInterpolate(
|
|
61424
|
+
i0.ɵɵtextInterpolate(item_r9.formattedValue);
|
|
61430
61425
|
i0.ɵɵadvance();
|
|
61431
61426
|
i0.ɵɵproperty("ngClass", ctx_r1.historyDateClasses());
|
|
61432
61427
|
i0.ɵɵadvance();
|
|
61433
|
-
i0.ɵɵtextInterpolate(
|
|
61428
|
+
i0.ɵɵtextInterpolate(item_r9.formattedDate);
|
|
61434
61429
|
} }
|
|
61435
61430
|
function EditMetricTargetModalComponent_Conditional_0_Conditional_34_Template(rf, ctx) { if (rf & 1) {
|
|
61436
|
-
i0.ɵɵelementStart(0, "div", 26)(1, "h4",
|
|
61431
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "h4", 61);
|
|
61437
61432
|
i0.ɵɵtext(2, "Target history");
|
|
61438
61433
|
i0.ɵɵelementEnd();
|
|
61439
|
-
i0.ɵɵelementStart(3, "div",
|
|
61434
|
+
i0.ɵɵelementStart(3, "div", 62)(4, "div", 63)(5, "span");
|
|
61440
61435
|
i0.ɵɵtext(6, "User");
|
|
61441
61436
|
i0.ɵɵelementEnd();
|
|
61442
61437
|
i0.ɵɵelementStart(7, "span");
|
|
61443
61438
|
i0.ɵɵtext(8, "Amount set");
|
|
61444
61439
|
i0.ɵɵelementEnd()();
|
|
61445
|
-
i0.ɵɵelementStart(9, "div",
|
|
61446
|
-
i0.ɵɵrepeaterCreate(10, EditMetricTargetModalComponent_Conditional_0_Conditional_34_For_11_Template, 7, 6, "div",
|
|
61440
|
+
i0.ɵɵelementStart(9, "div", 64);
|
|
61441
|
+
i0.ɵɵrepeaterCreate(10, EditMetricTargetModalComponent_Conditional_0_Conditional_34_For_11_Template, 7, 6, "div", 65, _forTrack0$A);
|
|
61447
61442
|
i0.ɵɵelementEnd()()();
|
|
61448
61443
|
} if (rf & 2) {
|
|
61449
61444
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -61458,9 +61453,9 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_34_Template(rf
|
|
|
61458
61453
|
i0.ɵɵrepeater(ctx_r1.filteredHistoriesDisplay());
|
|
61459
61454
|
} }
|
|
61460
61455
|
function EditMetricTargetModalComponent_Conditional_0_Conditional_38_Template(rf, ctx) { if (rf & 1) {
|
|
61461
|
-
const
|
|
61456
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
61462
61457
|
i0.ɵɵelementStart(0, "button", 28);
|
|
61463
|
-
i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_38_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
61458
|
+
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
61459
|
i0.ɵɵtext(1, " Reset ");
|
|
61465
61460
|
i0.ɵɵelementEnd();
|
|
61466
61461
|
} if (rf & 2) {
|
|
@@ -61468,24 +61463,24 @@ function EditMetricTargetModalComponent_Conditional_0_Conditional_38_Template(rf
|
|
|
61468
61463
|
i0.ɵɵproperty("ngClass", ctx_r1.resetButtonClasses());
|
|
61469
61464
|
} }
|
|
61470
61465
|
function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template(rf, ctx) { if (rf & 1) {
|
|
61471
|
-
const
|
|
61466
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
61472
61467
|
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(
|
|
61468
|
+
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
61469
|
i0.ɵɵelementEnd();
|
|
61475
|
-
i0.ɵɵelementStart(2, "div",
|
|
61476
|
-
i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template_div_click_2_listener($event) { i0.ɵɵrestoreView(
|
|
61477
|
-
i0.ɵɵelementStart(3, "div",
|
|
61470
|
+
i0.ɵɵelementStart(2, "div", 70);
|
|
61471
|
+
i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template_div_click_2_listener($event) { i0.ɵɵrestoreView(_r11); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
61472
|
+
i0.ɵɵelementStart(3, "div", 71)(4, "h3", 72);
|
|
61478
61473
|
i0.ɵɵtext(5, " Year-over-Year Trend ");
|
|
61479
61474
|
i0.ɵɵelementEnd();
|
|
61480
|
-
i0.ɵɵelementStart(6, "button",
|
|
61481
|
-
i0.ɵɵlistener("click", function EditMetricTargetModalComponent_Conditional_0_Conditional_41_Template_button_click_6_listener() { i0.ɵɵrestoreView(
|
|
61475
|
+
i0.ɵɵelementStart(6, "button", 73);
|
|
61476
|
+
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
61477
|
i0.ɵɵnamespaceSVG();
|
|
61483
61478
|
i0.ɵɵelementStart(7, "svg", 10);
|
|
61484
61479
|
i0.ɵɵelement(8, "path", 11);
|
|
61485
61480
|
i0.ɵɵelementEnd()()();
|
|
61486
61481
|
i0.ɵɵnamespaceHTML();
|
|
61487
|
-
i0.ɵɵelementStart(9, "div",
|
|
61488
|
-
i0.ɵɵelement(10, "symphiq-area-chart",
|
|
61482
|
+
i0.ɵɵelementStart(9, "div", 74);
|
|
61483
|
+
i0.ɵɵelement(10, "symphiq-area-chart", 75);
|
|
61489
61484
|
i0.ɵɵelementEnd()()();
|
|
61490
61485
|
} if (rf & 2) {
|
|
61491
61486
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -62312,7 +62307,7 @@ class EditMetricTargetModalComponent {
|
|
|
62312
62307
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.percentageInputRef = _t.first);
|
|
62313
62308
|
} }, hostBindings: function EditMetricTargetModalComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
62314
62309
|
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"], [
|
|
62310
|
+
} }, 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
62311
|
i0.ɵɵconditionalCreate(0, EditMetricTargetModalComponent_Conditional_0_Template, 42, 30);
|
|
62317
62312
|
} if (rf & 2) {
|
|
62318
62313
|
i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
|
|
@@ -62542,9 +62537,7 @@ class EditMetricTargetModalComponent {
|
|
|
62542
62537
|
<p [ngClass]="trendChartLabelClasses()" class="text-xs font-medium uppercase tracking-wider mb-1.5">
|
|
62543
62538
|
{{ currentYear() }} vs {{ priorYear() }}
|
|
62544
62539
|
</p>
|
|
62545
|
-
<div
|
|
62546
|
-
class="relative cursor-pointer group"
|
|
62547
|
-
(click)="openExpandedChart(); $event.stopPropagation()">
|
|
62540
|
+
<div class="relative">
|
|
62548
62541
|
<symphiq-area-chart
|
|
62549
62542
|
[chart]="trendChartData()!"
|
|
62550
62543
|
[showAxisLabels]="false"
|
|
@@ -62553,13 +62546,6 @@ class EditMetricTargetModalComponent {
|
|
|
62553
62546
|
[height]="'60px'"
|
|
62554
62547
|
[disableInteractions]="true"
|
|
62555
62548
|
/>
|
|
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
62549
|
</div>
|
|
62564
62550
|
</div>
|
|
62565
62551
|
}
|
|
@@ -62803,7 +62789,7 @@ class EditMetricTargetModalComponent {
|
|
|
62803
62789
|
type: HostListener,
|
|
62804
62790
|
args: ['document:keydown.escape']
|
|
62805
62791
|
}] }); })();
|
|
62806
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EditMetricTargetModalComponent, { className: "EditMetricTargetModalComponent", filePath: "lib/components/revenue-calculator-dashboard/edit-metric-target-modal.component.ts", lineNumber:
|
|
62792
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EditMetricTargetModalComponent, { className: "EditMetricTargetModalComponent", filePath: "lib/components/revenue-calculator-dashboard/edit-metric-target-modal.component.ts", lineNumber: 467 }); })();
|
|
62807
62793
|
|
|
62808
62794
|
const _c0$B = ["absoluteInputRef"];
|
|
62809
62795
|
const _c1$g = ["percentageInputRef"];
|