@eric-emg/symphiq-components 1.2.253 → 1.2.254
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 +143 -19
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +27 -24
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -57587,20 +57587,27 @@ function MetricReportModalComponent_Conditional_0_Conditional_65_Template(rf, ct
|
|
|
57587
57587
|
i0.ɵɵrepeater(ctx_r1.contributingMetrics());
|
|
57588
57588
|
} }
|
|
57589
57589
|
function MetricReportModalComponent_Conditional_0_Conditional_66_Template(rf, ctx) { if (rf & 1) {
|
|
57590
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
57590
57591
|
i0.ɵɵelementStart(0, "div", 29)(1, "h4", 16);
|
|
57591
57592
|
i0.ɵɵtext(2, " Pace ");
|
|
57592
57593
|
i0.ɵɵelementEnd();
|
|
57593
57594
|
i0.ɵɵelementStart(3, "div", 57);
|
|
57595
|
+
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_66_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.openExpandedPaceChart(); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
57594
57596
|
i0.ɵɵelement(4, "symphiq-line-chart", 36);
|
|
57597
|
+
i0.ɵɵelementStart(5, "div", 37);
|
|
57598
|
+
i0.ɵɵnamespaceSVG();
|
|
57599
|
+
i0.ɵɵelementStart(6, "svg", 38);
|
|
57600
|
+
i0.ɵɵelement(7, "path", 39);
|
|
57601
|
+
i0.ɵɵelementEnd()()();
|
|
57602
|
+
i0.ɵɵnamespaceHTML();
|
|
57603
|
+
i0.ɵɵelementStart(8, "p", 58);
|
|
57604
|
+
i0.ɵɵtext(9);
|
|
57595
57605
|
i0.ɵɵelementEnd();
|
|
57596
|
-
i0.ɵɵelementStart(
|
|
57597
|
-
i0.ɵɵtext(
|
|
57598
|
-
i0.ɵɵelementEnd();
|
|
57599
|
-
i0.ɵɵelementStart(7, "p", 59);
|
|
57600
|
-
i0.ɵɵtext(8);
|
|
57606
|
+
i0.ɵɵelementStart(10, "p", 59);
|
|
57607
|
+
i0.ɵɵtext(11);
|
|
57601
57608
|
i0.ɵɵelementEnd();
|
|
57602
|
-
i0.ɵɵelementStart(
|
|
57603
|
-
i0.ɵɵtext(
|
|
57609
|
+
i0.ɵɵelementStart(12, "p", 59);
|
|
57610
|
+
i0.ɵɵtext(13);
|
|
57604
57611
|
i0.ɵɵelementEnd()();
|
|
57605
57612
|
} if (rf & 2) {
|
|
57606
57613
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -57610,6 +57617,8 @@ function MetricReportModalComponent_Conditional_0_Conditional_66_Template(rf, ct
|
|
|
57610
57617
|
i0.ɵɵadvance(3);
|
|
57611
57618
|
i0.ɵɵproperty("chart", ctx_r1.pacingChartData())("showAxisLabels", true)("viewMode", ctx_r1.viewMode())("currencySymbol", "$")("height", "250px");
|
|
57612
57619
|
i0.ɵɵadvance();
|
|
57620
|
+
i0.ɵɵproperty("ngClass", ctx_r1.expandIconClasses());
|
|
57621
|
+
i0.ɵɵadvance(3);
|
|
57613
57622
|
i0.ɵɵproperty("ngClass", ctx_r1.descriptionClasses());
|
|
57614
57623
|
i0.ɵɵadvance();
|
|
57615
57624
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.chartLegendDescription(), " ");
|
|
@@ -57626,21 +57635,21 @@ function MetricReportModalComponent_Conditional_0_Conditional_70_Conditional_11_
|
|
|
57626
57635
|
i0.ɵɵelement(0, "symphiq-area-chart", 36);
|
|
57627
57636
|
} if (rf & 2) {
|
|
57628
57637
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
57629
|
-
i0.ɵɵproperty("chart", ctx_r1.trendChartData())("showAxisLabels", true)("viewMode", ctx_r1.viewMode())("currencySymbol", "$")("height", "
|
|
57638
|
+
i0.ɵɵproperty("chart", ctx_r1.trendChartData())("showAxisLabels", true)("viewMode", ctx_r1.viewMode())("currencySymbol", "$")("height", "500px");
|
|
57630
57639
|
} }
|
|
57631
57640
|
function MetricReportModalComponent_Conditional_0_Conditional_70_Template(rf, ctx) { if (rf & 1) {
|
|
57632
|
-
const
|
|
57641
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
57633
57642
|
i0.ɵɵelementStart(0, "div", 60);
|
|
57634
|
-
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
57643
|
+
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedChart()); });
|
|
57635
57644
|
i0.ɵɵelementStart(1, "div", 61);
|
|
57636
57645
|
i0.ɵɵelement(2, "div", 2);
|
|
57637
57646
|
i0.ɵɵelementStart(3, "div", 62);
|
|
57638
|
-
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(
|
|
57647
|
+
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r6); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
57639
57648
|
i0.ɵɵelementStart(4, "div", 63)(5, "h3", 64);
|
|
57640
57649
|
i0.ɵɵtext(6, " Year-over-Year Trend ");
|
|
57641
57650
|
i0.ɵɵelementEnd();
|
|
57642
57651
|
i0.ɵɵelementStart(7, "button", 65);
|
|
57643
|
-
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_button_click_7_listener() { i0.ɵɵrestoreView(
|
|
57652
|
+
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_70_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedChart()); });
|
|
57644
57653
|
i0.ɵɵnamespaceSVG();
|
|
57645
57654
|
i0.ɵɵelementStart(8, "svg", 12);
|
|
57646
57655
|
i0.ɵɵelement(9, "path", 13);
|
|
@@ -57666,6 +57675,50 @@ function MetricReportModalComponent_Conditional_0_Conditional_70_Template(rf, ct
|
|
|
57666
57675
|
i0.ɵɵadvance();
|
|
57667
57676
|
i0.ɵɵconditional(ctx_r1.trendChartData() ? 11 : -1);
|
|
57668
57677
|
} }
|
|
57678
|
+
function MetricReportModalComponent_Conditional_0_Conditional_71_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
57679
|
+
i0.ɵɵelement(0, "symphiq-line-chart", 36);
|
|
57680
|
+
} if (rf & 2) {
|
|
57681
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
57682
|
+
i0.ɵɵproperty("chart", ctx_r1.pacingChartData())("showAxisLabels", true)("viewMode", ctx_r1.viewMode())("currencySymbol", "$")("height", "500px");
|
|
57683
|
+
} }
|
|
57684
|
+
function MetricReportModalComponent_Conditional_0_Conditional_71_Template(rf, ctx) { if (rf & 1) {
|
|
57685
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
57686
|
+
i0.ɵɵelementStart(0, "div", 60);
|
|
57687
|
+
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_71_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedPaceChart()); });
|
|
57688
|
+
i0.ɵɵelementStart(1, "div", 61);
|
|
57689
|
+
i0.ɵɵelement(2, "div", 2);
|
|
57690
|
+
i0.ɵɵelementStart(3, "div", 62);
|
|
57691
|
+
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_71_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r7); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
57692
|
+
i0.ɵɵelementStart(4, "div", 63)(5, "h3", 67);
|
|
57693
|
+
i0.ɵɵtext(6, " Pace ");
|
|
57694
|
+
i0.ɵɵelementEnd();
|
|
57695
|
+
i0.ɵɵelementStart(7, "button", 65);
|
|
57696
|
+
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Conditional_71_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeExpandedPaceChart()); });
|
|
57697
|
+
i0.ɵɵnamespaceSVG();
|
|
57698
|
+
i0.ɵɵelementStart(8, "svg", 12);
|
|
57699
|
+
i0.ɵɵelement(9, "path", 13);
|
|
57700
|
+
i0.ɵɵelementEnd()()();
|
|
57701
|
+
i0.ɵɵnamespaceHTML();
|
|
57702
|
+
i0.ɵɵelementStart(10, "div", 66);
|
|
57703
|
+
i0.ɵɵconditionalCreate(11, MetricReportModalComponent_Conditional_0_Conditional_71_Conditional_11_Template, 1, 5, "symphiq-line-chart", 36);
|
|
57704
|
+
i0.ɵɵelementEnd()()()();
|
|
57705
|
+
} if (rf & 2) {
|
|
57706
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
57707
|
+
i0.ɵɵadvance(2);
|
|
57708
|
+
i0.ɵɵproperty("ngClass", ctx_r1.backdropClasses())("@fadeIn", undefined);
|
|
57709
|
+
i0.ɵɵadvance();
|
|
57710
|
+
i0.ɵɵproperty("ngClass", ctx_r1.modalContainerClasses())("@slideUpFade", undefined);
|
|
57711
|
+
i0.ɵɵadvance();
|
|
57712
|
+
i0.ɵɵproperty("ngClass", ctx_r1.headerClasses());
|
|
57713
|
+
i0.ɵɵadvance();
|
|
57714
|
+
i0.ɵɵproperty("ngClass", ctx_r1.titleClasses());
|
|
57715
|
+
i0.ɵɵadvance(2);
|
|
57716
|
+
i0.ɵɵproperty("ngClass", ctx_r1.closeButtonClasses());
|
|
57717
|
+
i0.ɵɵadvance(3);
|
|
57718
|
+
i0.ɵɵproperty("ngClass", ctx_r1.contentClasses());
|
|
57719
|
+
i0.ɵɵadvance();
|
|
57720
|
+
i0.ɵɵconditional(ctx_r1.pacingChartData() ? 11 : -1);
|
|
57721
|
+
} }
|
|
57669
57722
|
function MetricReportModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
57670
57723
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
57671
57724
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -57748,13 +57801,14 @@ function MetricReportModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1
|
|
|
57748
57801
|
i0.ɵɵconditionalCreate(64, MetricReportModalComponent_Conditional_0_Conditional_64_Template, 6, 10);
|
|
57749
57802
|
i0.ɵɵelementEnd();
|
|
57750
57803
|
i0.ɵɵconditionalCreate(65, MetricReportModalComponent_Conditional_0_Conditional_65_Template, 16, 3, "div", 15);
|
|
57751
|
-
i0.ɵɵconditionalCreate(66, MetricReportModalComponent_Conditional_0_Conditional_66_Template,
|
|
57804
|
+
i0.ɵɵconditionalCreate(66, MetricReportModalComponent_Conditional_0_Conditional_66_Template, 14, 14, "div", 29);
|
|
57752
57805
|
i0.ɵɵelementEnd();
|
|
57753
57806
|
i0.ɵɵelementStart(67, "div", 30)(68, "button", 31);
|
|
57754
57807
|
i0.ɵɵlistener("click", function MetricReportModalComponent_Conditional_0_Template_button_click_68_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.close()); });
|
|
57755
57808
|
i0.ɵɵtext(69, " Close ");
|
|
57756
57809
|
i0.ɵɵelementEnd()()()()();
|
|
57757
57810
|
i0.ɵɵconditionalCreate(70, MetricReportModalComponent_Conditional_0_Conditional_70_Template, 12, 9, "div", 32);
|
|
57811
|
+
i0.ɵɵconditionalCreate(71, MetricReportModalComponent_Conditional_0_Conditional_71_Template, 12, 9, "div", 32);
|
|
57758
57812
|
} if (rf & 2) {
|
|
57759
57813
|
let tmp_8_0;
|
|
57760
57814
|
let tmp_19_0;
|
|
@@ -57860,6 +57914,8 @@ function MetricReportModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1
|
|
|
57860
57914
|
i0.ɵɵproperty("ngClass", ctx_r1.closeFooterButtonClasses());
|
|
57861
57915
|
i0.ɵɵadvance(2);
|
|
57862
57916
|
i0.ɵɵconditional(ctx_r1.isExpandedChartOpen() ? 70 : -1);
|
|
57917
|
+
i0.ɵɵadvance();
|
|
57918
|
+
i0.ɵɵconditional(ctx_r1.isExpandedPaceChartOpen() ? 71 : -1);
|
|
57863
57919
|
} }
|
|
57864
57920
|
class MetricReportModalComponent {
|
|
57865
57921
|
constructor() {
|
|
@@ -57873,6 +57929,7 @@ class MetricReportModalComponent {
|
|
|
57873
57929
|
this.closed = output();
|
|
57874
57930
|
this.showDefinition = signal(false, ...(ngDevMode ? [{ debugName: "showDefinition" }] : []));
|
|
57875
57931
|
this.isExpandedChartOpen = signal(false, ...(ngDevMode ? [{ debugName: "isExpandedChartOpen" }] : []));
|
|
57932
|
+
this.isExpandedPaceChartOpen = signal(false, ...(ngDevMode ? [{ debugName: "isExpandedPaceChartOpen" }] : []));
|
|
57876
57933
|
this.Math = Math;
|
|
57877
57934
|
this.currentYear = computed(() => new Date().getFullYear(), ...(ngDevMode ? [{ debugName: "currentYear" }] : []));
|
|
57878
57935
|
this.priorYear = computed(() => new Date().getFullYear() - 1, ...(ngDevMode ? [{ debugName: "priorYear" }] : []));
|
|
@@ -58079,7 +58136,10 @@ class MetricReportModalComponent {
|
|
|
58079
58136
|
}, ...(ngDevMode ? [{ debugName: "pacingChartData" }] : []));
|
|
58080
58137
|
}
|
|
58081
58138
|
onEscapeKey() {
|
|
58082
|
-
if (this.
|
|
58139
|
+
if (this.isExpandedPaceChartOpen()) {
|
|
58140
|
+
this.closeExpandedPaceChart();
|
|
58141
|
+
}
|
|
58142
|
+
else if (this.isExpandedChartOpen()) {
|
|
58083
58143
|
this.closeExpandedChart();
|
|
58084
58144
|
}
|
|
58085
58145
|
}
|
|
@@ -58180,6 +58240,12 @@ class MetricReportModalComponent {
|
|
|
58180
58240
|
closeExpandedChart() {
|
|
58181
58241
|
this.isExpandedChartOpen.set(false);
|
|
58182
58242
|
}
|
|
58243
|
+
openExpandedPaceChart() {
|
|
58244
|
+
this.isExpandedPaceChartOpen.set(true);
|
|
58245
|
+
}
|
|
58246
|
+
closeExpandedPaceChart() {
|
|
58247
|
+
this.isExpandedPaceChartOpen.set(false);
|
|
58248
|
+
}
|
|
58183
58249
|
isLightMode() {
|
|
58184
58250
|
return this.viewMode() === ViewModeEnum.LIGHT;
|
|
58185
58251
|
}
|
|
@@ -58302,8 +58368,8 @@ class MetricReportModalComponent {
|
|
|
58302
58368
|
static { this.ɵfac = function MetricReportModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MetricReportModalComponent)(); }; }
|
|
58303
58369
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MetricReportModalComponent, selectors: [["symphiq-metric-report-modal"]], hostBindings: function MetricReportModalComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
58304
58370
|
i0.ɵɵlistener("keydown.escape", function MetricReportModalComponent_keydown_escape_HostBindingHandler() { return ctx.onEscapeKey(); }, i0.ɵɵresolveDocument);
|
|
58305
|
-
} }, inputs: { viewMode: [1, "viewMode"], metricEnum: [1, "metricEnum"], metricData: [1, "metricData"], contributingMetrics: [1, "contributingMetrics"], pacingMetrics: [1, "pacingMetrics"], trendChartData: [1, "trendChartData"], isOpen: [1, "isOpen"] }, outputs: { closed: "closed" }, decls: 1, vars: 1, consts: [[1, "fixed", "inset-0", "overflow-y-auto", "z-50", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "px-4", "pt-4", "pb-20", "text-center", "sm:block", "sm:p-0"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-md", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "sm:max-w-4xl", "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, "flex", "items-center", "gap-2", "mb-2"], [1, "text-xl", "font-bold", "mb-0", 3, "ngClass"], ["type", "button", "tooltipType", "markdown", "tooltipPosition", "right", 1, "flex-shrink-0", "w-5", "h-5", "rounded-full", "inline-flex", "items-center", "justify-center", "transition-colors", 3, "ngClass", "libSymphiqTooltip"], [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, "rounded-xl", "p-6", "mb-6", 3, "ngClass"], [1, "text-sm", "font-semibold", "uppercase", "tracking-wider", "mb-4", 3, "ngClass"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "lg:grid-cols-3", "gap-6"], [1, "mb-1.5"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-xs", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-2", 3, "ngClass"], [3, "viewMode", "percentageChange", "metric", "priorYear", "isCompact"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-1.5", 3, "ngClass"], [1, "mb-4"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-2", 3, "ngClass"], [1, "text-3xl", "font-extrabold", "mb-3", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "rounded-xl", "p-6", 3, "ngClass"], [1, "px-6", "py-4", "border-t", 3, "ngClass"], [1, "w-full", "px-4", "py-2", "rounded-lg", "transition-all", "font-medium", "hover:scale-[1.02]", "active:scale-[0.98]", 3, "click", "ngClass"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[60]"], ["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", "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "relative", "cursor-pointer", "group", 3, "click"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height"], [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-4", "h-4"], ["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"], [3, "viewMode", "pacingPercentage", "status", "showAsFullText", "isCompact", "showEmphasizedPercentage"], [3, "data", "viewMode"], [1, "overflow-x-auto"], [1, "w-full"], [1, "border-b", 3, "ngClass"], [1, "text-left", "py-3", "px-4", "text-xs", "font-semibold", "uppercase", "tracking-wider"], [1, "text-right", "py-3", "px-4", "text-xs", "font-semibold", "uppercase", "tracking-wider"], [1, "border-b", "transition-colors", 3, "ngClass"], [1, "py-3", "px-4"], [1, "flex", "items-center", "gap-2"], [1, "text-sm", "font-medium"], [1, "py-3", "px-4", "text-right"], [1, "text-sm", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "justify-end", "gap-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", "text-emerald-500"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3", "h-3"], [1, "min-h-[250px]"], [1, "text-sm", "leading-relaxed", "mt-4", 3, "ngClass"], [1, "text-sm", "leading-relaxed", "mt-2", 3, "ngClass"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[60]", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "p-4"], [1, "relative", "inline-block", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "w-full", "max-w-6xl", "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", 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"]], template: function MetricReportModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
58306
|
-
i0.ɵɵconditionalCreate(0, MetricReportModalComponent_Conditional_0_Template,
|
|
58371
|
+
} }, inputs: { viewMode: [1, "viewMode"], metricEnum: [1, "metricEnum"], metricData: [1, "metricData"], contributingMetrics: [1, "contributingMetrics"], pacingMetrics: [1, "pacingMetrics"], trendChartData: [1, "trendChartData"], isOpen: [1, "isOpen"] }, outputs: { closed: "closed" }, decls: 1, vars: 1, consts: [[1, "fixed", "inset-0", "overflow-y-auto", "z-50", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "px-4", "pt-4", "pb-20", "text-center", "sm:block", "sm:p-0"], ["aria-hidden", "true", 1, "fixed", "inset-0", "backdrop-blur-md", 3, "ngClass"], ["aria-hidden", "true", 1, "hidden", "sm:inline-block", "sm:align-middle", "sm:h-screen"], [1, "relative", "inline-block", "align-bottom", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "sm:my-8", "sm:align-middle", "sm:w-full", "sm:max-w-4xl", "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, "flex", "items-center", "gap-2", "mb-2"], [1, "text-xl", "font-bold", "mb-0", 3, "ngClass"], ["type", "button", "tooltipType", "markdown", "tooltipPosition", "right", 1, "flex-shrink-0", "w-5", "h-5", "rounded-full", "inline-flex", "items-center", "justify-center", "transition-colors", 3, "ngClass", "libSymphiqTooltip"], [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, "rounded-xl", "p-6", "mb-6", 3, "ngClass"], [1, "text-sm", "font-semibold", "uppercase", "tracking-wider", "mb-4", 3, "ngClass"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "lg:grid-cols-3", "gap-6"], [1, "mb-1.5"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", 3, "ngClass"], [1, "text-xs", 3, "ngClass"], [1, "text-xl", "font-bold", "mb-2", 3, "ngClass"], [3, "viewMode", "percentageChange", "metric", "priorYear", "isCompact"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-1.5", 3, "ngClass"], [1, "mb-4"], [1, "text-xs", "font-medium", "uppercase", "tracking-wider", "mb-2", 3, "ngClass"], [1, "text-3xl", "font-extrabold", "mb-3", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass"], [1, "rounded-xl", "p-6", 3, "ngClass"], [1, "px-6", "py-4", "border-t", 3, "ngClass"], [1, "w-full", "px-4", "py-2", "rounded-lg", "transition-all", "font-medium", "hover:scale-[1.02]", "active:scale-[0.98]", 3, "click", "ngClass"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[60]"], ["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", "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"], [1, "relative", "cursor-pointer", "group", 3, "click"], [3, "chart", "showAxisLabels", "viewMode", "currencySymbol", "height"], [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-4", "h-4"], ["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"], [3, "viewMode", "pacingPercentage", "status", "showAsFullText", "isCompact", "showEmphasizedPercentage"], [3, "data", "viewMode"], [1, "overflow-x-auto"], [1, "w-full"], [1, "border-b", 3, "ngClass"], [1, "text-left", "py-3", "px-4", "text-xs", "font-semibold", "uppercase", "tracking-wider"], [1, "text-right", "py-3", "px-4", "text-xs", "font-semibold", "uppercase", "tracking-wider"], [1, "border-b", "transition-colors", 3, "ngClass"], [1, "py-3", "px-4"], [1, "flex", "items-center", "gap-2"], [1, "text-sm", "font-medium"], [1, "py-3", "px-4", "text-right"], [1, "text-sm", "font-semibold", 3, "ngClass"], [1, "flex", "items-center", "justify-end", "gap-2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4", "text-emerald-500"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-3", "h-3"], [1, "min-h-[250px]", "relative", "cursor-pointer", "group", 3, "click"], [1, "text-sm", "leading-relaxed", "mt-4", 3, "ngClass"], [1, "text-sm", "leading-relaxed", "mt-2", 3, "ngClass"], [1, "fixed", "inset-0", "overflow-y-auto", "z-[60]", 3, "click"], [1, "flex", "items-center", "justify-center", "min-h-screen", "p-4"], [1, "relative", "inline-block", "rounded-2xl", "text-left", "overflow-hidden", "shadow-xl", "w-full", "max-w-6xl", "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", 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"], [1, "text-lg", "font-bold", "mb-0", 3, "ngClass"]], template: function MetricReportModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
58372
|
+
i0.ɵɵconditionalCreate(0, MetricReportModalComponent_Conditional_0_Template, 72, 54);
|
|
58307
58373
|
} if (rf & 2) {
|
|
58308
58374
|
i0.ɵɵconditional(ctx.isOpen() ? 0 : -1);
|
|
58309
58375
|
} }, dependencies: [CommonModule, i1$1.NgClass, PacingStatusBadgeComponent,
|
|
@@ -58642,7 +58708,9 @@ class MetricReportModalComponent {
|
|
|
58642
58708
|
<h4 [ngClass]="sectionTitleClasses()" class="text-sm font-semibold uppercase tracking-wider mb-4">
|
|
58643
58709
|
Pace
|
|
58644
58710
|
</h4>
|
|
58645
|
-
<div
|
|
58711
|
+
<div
|
|
58712
|
+
class="min-h-[250px] relative cursor-pointer group"
|
|
58713
|
+
(click)="openExpandedPaceChart(); $event.stopPropagation()">
|
|
58646
58714
|
<symphiq-line-chart
|
|
58647
58715
|
[chart]="pacingChartData()!"
|
|
58648
58716
|
[showAxisLabels]="true"
|
|
@@ -58650,6 +58718,13 @@ class MetricReportModalComponent {
|
|
|
58650
58718
|
[currencySymbol]="'$'"
|
|
58651
58719
|
[height]="'250px'"
|
|
58652
58720
|
/>
|
|
58721
|
+
<div
|
|
58722
|
+
[ngClass]="expandIconClasses()"
|
|
58723
|
+
class="absolute top-1 right-1 p-1 rounded opacity-0 group-hover:opacity-100 transition-opacity">
|
|
58724
|
+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
58725
|
+
<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" />
|
|
58726
|
+
</svg>
|
|
58727
|
+
</div>
|
|
58653
58728
|
</div>
|
|
58654
58729
|
<p [ngClass]="descriptionClasses()" class="text-sm leading-relaxed mt-4">
|
|
58655
58730
|
{{ chartLegendDescription() }}
|
|
@@ -58717,7 +58792,56 @@ class MetricReportModalComponent {
|
|
|
58717
58792
|
[showAxisLabels]="true"
|
|
58718
58793
|
[viewMode]="viewMode()"
|
|
58719
58794
|
[currencySymbol]="'$'"
|
|
58720
|
-
[height]="'
|
|
58795
|
+
[height]="'500px'"
|
|
58796
|
+
/>
|
|
58797
|
+
}
|
|
58798
|
+
</div>
|
|
58799
|
+
</div>
|
|
58800
|
+
</div>
|
|
58801
|
+
</div>
|
|
58802
|
+
}
|
|
58803
|
+
|
|
58804
|
+
<!-- Expanded Pace Chart Modal (Stacked) -->
|
|
58805
|
+
@if (isExpandedPaceChartOpen()) {
|
|
58806
|
+
<div class="fixed inset-0 overflow-y-auto z-[60]" (click)="closeExpandedPaceChart()">
|
|
58807
|
+
<div class="flex items-center justify-center min-h-screen p-4">
|
|
58808
|
+
<div
|
|
58809
|
+
[ngClass]="backdropClasses()"
|
|
58810
|
+
class="fixed inset-0 backdrop-blur-md"
|
|
58811
|
+
aria-hidden="true"
|
|
58812
|
+
@fadeIn>
|
|
58813
|
+
</div>
|
|
58814
|
+
|
|
58815
|
+
<div
|
|
58816
|
+
(click)="$event.stopPropagation()"
|
|
58817
|
+
[ngClass]="modalContainerClasses()"
|
|
58818
|
+
class="relative inline-block rounded-2xl text-left overflow-hidden shadow-xl w-full max-w-6xl border backdrop-blur-xl"
|
|
58819
|
+
@slideUpFade>
|
|
58820
|
+
|
|
58821
|
+
<!-- Header -->
|
|
58822
|
+
<div [ngClass]="headerClasses()" class="px-6 py-4 border-b backdrop-blur-sm flex items-center justify-between">
|
|
58823
|
+
<h3 [ngClass]="titleClasses()" class="text-lg font-bold mb-0">
|
|
58824
|
+
Pace
|
|
58825
|
+
</h3>
|
|
58826
|
+
<button
|
|
58827
|
+
(click)="closeExpandedPaceChart()"
|
|
58828
|
+
[ngClass]="closeButtonClasses()"
|
|
58829
|
+
class="transition-all rounded-lg p-1 hover:scale-110 active:scale-90">
|
|
58830
|
+
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
58831
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
|
|
58832
|
+
</svg>
|
|
58833
|
+
</button>
|
|
58834
|
+
</div>
|
|
58835
|
+
|
|
58836
|
+
<!-- Content -->
|
|
58837
|
+
<div [ngClass]="contentClasses()" class="p-6 backdrop-blur-sm">
|
|
58838
|
+
@if (pacingChartData()) {
|
|
58839
|
+
<symphiq-line-chart
|
|
58840
|
+
[chart]="pacingChartData()!"
|
|
58841
|
+
[showAxisLabels]="true"
|
|
58842
|
+
[viewMode]="viewMode()"
|
|
58843
|
+
[currencySymbol]="'$'"
|
|
58844
|
+
[height]="'500px'"
|
|
58721
58845
|
/>
|
|
58722
58846
|
}
|
|
58723
58847
|
</div>
|
|
@@ -58732,7 +58856,7 @@ class MetricReportModalComponent {
|
|
|
58732
58856
|
type: HostListener,
|
|
58733
58857
|
args: ['document:keydown.escape']
|
|
58734
58858
|
}] }); })();
|
|
58735
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricReportModalComponent, { className: "MetricReportModalComponent", filePath: "lib/components/revenue-calculator-dashboard/metric-report-modal.component.ts", lineNumber:
|
|
58859
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MetricReportModalComponent, { className: "MetricReportModalComponent", filePath: "lib/components/revenue-calculator-dashboard/metric-report-modal.component.ts", lineNumber: 474 }); })();
|
|
58736
58860
|
|
|
58737
58861
|
const _c0$q = ["absoluteInputRef"];
|
|
58738
58862
|
const _c1$b = ["percentageInputRef"];
|