@eric-emg/symphiq-components 1.2.86 → 1.2.88
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 +80 -70
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1526,10 +1526,9 @@ class TooltipDirective {
|
|
|
1526
1526
|
this.mouseY = event.clientY;
|
|
1527
1527
|
}
|
|
1528
1528
|
onMouseLeave() {
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
// this.scheduleHide();
|
|
1529
|
+
this.clearShowTimeout();
|
|
1530
|
+
this.isHovered.set(false);
|
|
1531
|
+
this.scheduleHide();
|
|
1533
1532
|
}
|
|
1534
1533
|
onMouseEnterAgain() {
|
|
1535
1534
|
// If user returns to element while tooltip is still visible, cancel hide
|
|
@@ -10862,110 +10861,110 @@ const _c0$6 = () => [];
|
|
|
10862
10861
|
function TooltipContainerComponent_Conditional_0_Case_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
10863
10862
|
i0.ɵɵelement(0, "symphiq-metric-value-tooltip", 6);
|
|
10864
10863
|
} if (rf & 2) {
|
|
10865
|
-
const
|
|
10866
|
-
i0.ɵɵproperty("content",
|
|
10864
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
10865
|
+
i0.ɵɵproperty("content", ctx_r1.metricContent())("isLightMode", ctx_r1.isLightMode());
|
|
10867
10866
|
} }
|
|
10868
10867
|
function TooltipContainerComponent_Conditional_0_Case_3_Template(rf, ctx) { if (rf & 1) {
|
|
10869
10868
|
i0.ɵɵconditionalCreate(0, TooltipContainerComponent_Conditional_0_Case_3_Conditional_0_Template, 1, 2, "symphiq-metric-value-tooltip", 6);
|
|
10870
10869
|
} if (rf & 2) {
|
|
10871
|
-
const
|
|
10872
|
-
i0.ɵɵconditional(
|
|
10870
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
10871
|
+
i0.ɵɵconditional(ctx_r1.metricContent() ? 0 : -1);
|
|
10873
10872
|
} }
|
|
10874
10873
|
function TooltipContainerComponent_Conditional_0_Case_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
10875
10874
|
i0.ɵɵelement(0, "symphiq-status-badge-tooltip", 6);
|
|
10876
10875
|
} if (rf & 2) {
|
|
10877
|
-
const
|
|
10878
|
-
i0.ɵɵproperty("content",
|
|
10876
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
10877
|
+
i0.ɵɵproperty("content", ctx_r1.statusContent())("isLightMode", ctx_r1.isLightMode());
|
|
10879
10878
|
} }
|
|
10880
10879
|
function TooltipContainerComponent_Conditional_0_Case_4_Template(rf, ctx) { if (rf & 1) {
|
|
10881
10880
|
i0.ɵɵconditionalCreate(0, TooltipContainerComponent_Conditional_0_Case_4_Conditional_0_Template, 1, 2, "symphiq-status-badge-tooltip", 6);
|
|
10882
10881
|
} if (rf & 2) {
|
|
10883
|
-
const
|
|
10884
|
-
i0.ɵɵconditional(
|
|
10882
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
10883
|
+
i0.ɵɵconditional(ctx_r1.statusContent() ? 0 : -1);
|
|
10885
10884
|
} }
|
|
10886
10885
|
function TooltipContainerComponent_Conditional_0_Case_5_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
10887
10886
|
i0.ɵɵelement(0, "symphiq-trend-indicator-tooltip", 6);
|
|
10888
10887
|
} if (rf & 2) {
|
|
10889
|
-
const
|
|
10890
|
-
i0.ɵɵproperty("content",
|
|
10888
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
10889
|
+
i0.ɵɵproperty("content", ctx_r1.trendContent())("isLightMode", ctx_r1.isLightMode());
|
|
10891
10890
|
} }
|
|
10892
10891
|
function TooltipContainerComponent_Conditional_0_Case_5_Template(rf, ctx) { if (rf & 1) {
|
|
10893
10892
|
i0.ɵɵconditionalCreate(0, TooltipContainerComponent_Conditional_0_Case_5_Conditional_0_Template, 1, 2, "symphiq-trend-indicator-tooltip", 6);
|
|
10894
10893
|
} if (rf & 2) {
|
|
10895
|
-
const
|
|
10896
|
-
i0.ɵɵconditional(
|
|
10894
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
10895
|
+
i0.ɵɵconditional(ctx_r1.trendContent() ? 0 : -1);
|
|
10897
10896
|
} }
|
|
10898
10897
|
function TooltipContainerComponent_Conditional_0_Case_6_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
10899
10898
|
i0.ɵɵelement(0, "symphiq-priority-badge-tooltip", 6);
|
|
10900
10899
|
} if (rf & 2) {
|
|
10901
|
-
const
|
|
10902
|
-
i0.ɵɵproperty("content",
|
|
10900
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
10901
|
+
i0.ɵɵproperty("content", ctx_r1.priorityContent())("isLightMode", ctx_r1.isLightMode());
|
|
10903
10902
|
} }
|
|
10904
10903
|
function TooltipContainerComponent_Conditional_0_Case_6_Template(rf, ctx) { if (rf & 1) {
|
|
10905
10904
|
i0.ɵɵconditionalCreate(0, TooltipContainerComponent_Conditional_0_Case_6_Conditional_0_Template, 1, 2, "symphiq-priority-badge-tooltip", 6);
|
|
10906
10905
|
} if (rf & 2) {
|
|
10907
|
-
const
|
|
10908
|
-
i0.ɵɵconditional(
|
|
10906
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
10907
|
+
i0.ɵɵconditional(ctx_r1.priorityContent() ? 0 : -1);
|
|
10909
10908
|
} }
|
|
10910
10909
|
function TooltipContainerComponent_Conditional_0_Case_7_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
10911
10910
|
i0.ɵɵelement(0, "symphiq-badge-tooltip", 6);
|
|
10912
10911
|
} if (rf & 2) {
|
|
10913
|
-
const
|
|
10914
|
-
i0.ɵɵproperty("content",
|
|
10912
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
10913
|
+
i0.ɵɵproperty("content", ctx_r1.badgeContent())("isLightMode", ctx_r1.isLightMode());
|
|
10915
10914
|
} }
|
|
10916
10915
|
function TooltipContainerComponent_Conditional_0_Case_7_Template(rf, ctx) { if (rf & 1) {
|
|
10917
10916
|
i0.ɵɵconditionalCreate(0, TooltipContainerComponent_Conditional_0_Case_7_Conditional_0_Template, 1, 2, "symphiq-badge-tooltip", 6);
|
|
10918
10917
|
} if (rf & 2) {
|
|
10919
|
-
const
|
|
10920
|
-
i0.ɵɵconditional(
|
|
10918
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
10919
|
+
i0.ɵɵconditional(ctx_r1.badgeContent() ? 0 : -1);
|
|
10921
10920
|
} }
|
|
10922
10921
|
function TooltipContainerComponent_Conditional_0_Case_8_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
10923
10922
|
i0.ɵɵelement(0, "symphiq-breakdown-row-tooltip", 6);
|
|
10924
10923
|
} if (rf & 2) {
|
|
10925
|
-
const
|
|
10926
|
-
i0.ɵɵproperty("content",
|
|
10924
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
10925
|
+
i0.ɵɵproperty("content", ctx_r1.breakdownContent())("isLightMode", ctx_r1.isLightMode());
|
|
10927
10926
|
} }
|
|
10928
10927
|
function TooltipContainerComponent_Conditional_0_Case_8_Template(rf, ctx) { if (rf & 1) {
|
|
10929
10928
|
i0.ɵɵconditionalCreate(0, TooltipContainerComponent_Conditional_0_Case_8_Conditional_0_Template, 1, 2, "symphiq-breakdown-row-tooltip", 6);
|
|
10930
10929
|
} if (rf & 2) {
|
|
10931
|
-
const
|
|
10932
|
-
i0.ɵɵconditional(
|
|
10930
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
10931
|
+
i0.ɵɵconditional(ctx_r1.breakdownContent() ? 0 : -1);
|
|
10933
10932
|
} }
|
|
10934
10933
|
function TooltipContainerComponent_Conditional_0_Case_9_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
10935
10934
|
i0.ɵɵelement(0, "symphiq-competitive-benchmark-tooltip", 6);
|
|
10936
10935
|
} if (rf & 2) {
|
|
10937
|
-
const
|
|
10938
|
-
i0.ɵɵproperty("content",
|
|
10936
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
10937
|
+
i0.ɵɵproperty("content", ctx_r1.competitiveContent())("isLightMode", ctx_r1.isLightMode());
|
|
10939
10938
|
} }
|
|
10940
10939
|
function TooltipContainerComponent_Conditional_0_Case_9_Template(rf, ctx) { if (rf & 1) {
|
|
10941
10940
|
i0.ɵɵconditionalCreate(0, TooltipContainerComponent_Conditional_0_Case_9_Conditional_0_Template, 1, 2, "symphiq-competitive-benchmark-tooltip", 6);
|
|
10942
10941
|
} if (rf & 2) {
|
|
10943
|
-
const
|
|
10944
|
-
i0.ɵɵconditional(
|
|
10942
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
10943
|
+
i0.ɵɵconditional(ctx_r1.competitiveContent() ? 0 : -1);
|
|
10945
10944
|
} }
|
|
10946
10945
|
function TooltipContainerComponent_Conditional_0_Case_10_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
10947
10946
|
i0.ɵɵelement(0, "symphiq-insights-list-tooltip", 6);
|
|
10948
10947
|
} if (rf & 2) {
|
|
10949
|
-
const
|
|
10950
|
-
i0.ɵɵproperty("content",
|
|
10948
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
10949
|
+
i0.ɵɵproperty("content", ctx_r1.insightsListContent())("isLightMode", ctx_r1.isLightMode());
|
|
10951
10950
|
} }
|
|
10952
10951
|
function TooltipContainerComponent_Conditional_0_Case_10_Template(rf, ctx) { if (rf & 1) {
|
|
10953
10952
|
i0.ɵɵconditionalCreate(0, TooltipContainerComponent_Conditional_0_Case_10_Conditional_0_Template, 1, 2, "symphiq-insights-list-tooltip", 6);
|
|
10954
10953
|
} if (rf & 2) {
|
|
10955
|
-
const
|
|
10956
|
-
i0.ɵɵconditional(
|
|
10954
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
10955
|
+
i0.ɵɵconditional(ctx_r1.insightsListContent() ? 0 : -1);
|
|
10957
10956
|
} }
|
|
10958
10957
|
function TooltipContainerComponent_Conditional_0_Case_11_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
10959
10958
|
i0.ɵɵelement(0, "symphiq-narrative-tooltip", 6);
|
|
10960
10959
|
} if (rf & 2) {
|
|
10961
|
-
const
|
|
10962
|
-
i0.ɵɵproperty("content",
|
|
10960
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
10961
|
+
i0.ɵɵproperty("content", ctx_r1.narrativeContent())("isLightMode", ctx_r1.isLightMode());
|
|
10963
10962
|
} }
|
|
10964
10963
|
function TooltipContainerComponent_Conditional_0_Case_11_Template(rf, ctx) { if (rf & 1) {
|
|
10965
10964
|
i0.ɵɵconditionalCreate(0, TooltipContainerComponent_Conditional_0_Case_11_Conditional_0_Template, 1, 2, "symphiq-narrative-tooltip", 6);
|
|
10966
10965
|
} if (rf & 2) {
|
|
10967
|
-
const
|
|
10968
|
-
i0.ɵɵconditional(
|
|
10966
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
10967
|
+
i0.ɵɵconditional(ctx_r1.narrativeContent() ? 0 : -1);
|
|
10969
10968
|
} }
|
|
10970
10969
|
function TooltipContainerComponent_Conditional_0_Case_12_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
10971
10970
|
i0.ɵɵelementStart(0, "div", 7)(1, "div", 8);
|
|
@@ -10975,18 +10974,18 @@ function TooltipContainerComponent_Conditional_0_Case_12_Conditional_1_For_1_Tem
|
|
|
10975
10974
|
i0.ɵɵtext(4);
|
|
10976
10975
|
i0.ɵɵelementEnd()();
|
|
10977
10976
|
} if (rf & 2) {
|
|
10978
|
-
const
|
|
10977
|
+
const section_r3 = ctx.$implicit;
|
|
10979
10978
|
i0.ɵɵadvance(2);
|
|
10980
|
-
i0.ɵɵtextInterpolate(
|
|
10979
|
+
i0.ɵɵtextInterpolate(section_r3.title);
|
|
10981
10980
|
i0.ɵɵadvance(2);
|
|
10982
|
-
i0.ɵɵtextInterpolate(
|
|
10981
|
+
i0.ɵɵtextInterpolate(section_r3.content);
|
|
10983
10982
|
} }
|
|
10984
10983
|
function TooltipContainerComponent_Conditional_0_Case_12_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
10985
10984
|
i0.ɵɵrepeaterCreate(0, TooltipContainerComponent_Conditional_0_Case_12_Conditional_1_For_1_Template, 5, 2, "div", 7, i0.ɵɵrepeaterTrackByIndex);
|
|
10986
10985
|
} if (rf & 2) {
|
|
10987
10986
|
i0.ɵɵnextContext(2);
|
|
10988
|
-
const
|
|
10989
|
-
i0.ɵɵrepeater(
|
|
10987
|
+
const content_r4 = i0.ɵɵreadContextLet(2);
|
|
10988
|
+
i0.ɵɵrepeater(content_r4["sections"] || i0.ɵɵpureFunction0(0, _c0$6));
|
|
10990
10989
|
} }
|
|
10991
10990
|
function TooltipContainerComponent_Conditional_0_Case_12_Template(rf, ctx) { if (rf & 1) {
|
|
10992
10991
|
i0.ɵɵelementStart(0, "div", 3);
|
|
@@ -10994,25 +10993,25 @@ function TooltipContainerComponent_Conditional_0_Case_12_Template(rf, ctx) { if
|
|
|
10994
10993
|
i0.ɵɵelementEnd();
|
|
10995
10994
|
} if (rf & 2) {
|
|
10996
10995
|
i0.ɵɵnextContext();
|
|
10997
|
-
const
|
|
10998
|
-
const
|
|
10999
|
-
i0.ɵɵproperty("ngClass",
|
|
10996
|
+
const content_r4 = i0.ɵɵreadContextLet(2);
|
|
10997
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
10998
|
+
i0.ɵɵproperty("ngClass", ctx_r1.textClass());
|
|
11000
10999
|
i0.ɵɵadvance();
|
|
11001
|
-
i0.ɵɵconditional(
|
|
11000
|
+
i0.ɵɵconditional(content_r4 && typeof content_r4 === "object" && "sections" in content_r4 ? 1 : -1);
|
|
11002
11001
|
} }
|
|
11003
11002
|
function TooltipContainerComponent_Conditional_0_Case_13_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
11004
11003
|
i0.ɵɵtext(0);
|
|
11005
11004
|
} if (rf & 2) {
|
|
11006
11005
|
i0.ɵɵnextContext(2);
|
|
11007
|
-
const
|
|
11008
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
11006
|
+
const content_r4 = i0.ɵɵreadContextLet(2);
|
|
11007
|
+
i0.ɵɵtextInterpolate1(" ", content_r4["text"], " ");
|
|
11009
11008
|
} }
|
|
11010
11009
|
function TooltipContainerComponent_Conditional_0_Case_13_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
11011
11010
|
i0.ɵɵtext(0);
|
|
11012
11011
|
} if (rf & 2) {
|
|
11013
11012
|
i0.ɵɵnextContext(2);
|
|
11014
|
-
const
|
|
11015
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
11013
|
+
const content_r4 = i0.ɵɵreadContextLet(2);
|
|
11014
|
+
i0.ɵɵtextInterpolate1(" ", content_r4, " ");
|
|
11016
11015
|
} }
|
|
11017
11016
|
function TooltipContainerComponent_Conditional_0_Case_13_Template(rf, ctx) { if (rf & 1) {
|
|
11018
11017
|
i0.ɵɵelementStart(0, "div", 4);
|
|
@@ -11020,11 +11019,11 @@ function TooltipContainerComponent_Conditional_0_Case_13_Template(rf, ctx) { if
|
|
|
11020
11019
|
i0.ɵɵelementEnd();
|
|
11021
11020
|
} if (rf & 2) {
|
|
11022
11021
|
i0.ɵɵnextContext();
|
|
11023
|
-
const
|
|
11024
|
-
const
|
|
11025
|
-
i0.ɵɵproperty("ngClass",
|
|
11022
|
+
const content_r4 = i0.ɵɵreadContextLet(2);
|
|
11023
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
11024
|
+
i0.ɵɵproperty("ngClass", ctx_r1.textClass());
|
|
11026
11025
|
i0.ɵɵadvance();
|
|
11027
|
-
i0.ɵɵconditional(
|
|
11026
|
+
i0.ɵɵconditional(content_r4 && typeof content_r4 === "object" && "text" in content_r4 ? 1 : 2);
|
|
11028
11027
|
} }
|
|
11029
11028
|
function TooltipContainerComponent_Conditional_0_Case_14_Template(rf, ctx) { if (rf & 1) {
|
|
11030
11029
|
i0.ɵɵelementStart(0, "div", 5);
|
|
@@ -11032,29 +11031,31 @@ function TooltipContainerComponent_Conditional_0_Case_14_Template(rf, ctx) { if
|
|
|
11032
11031
|
i0.ɵɵelementEnd();
|
|
11033
11032
|
} if (rf & 2) {
|
|
11034
11033
|
i0.ɵɵnextContext();
|
|
11035
|
-
const
|
|
11036
|
-
const
|
|
11037
|
-
i0.ɵɵproperty("ngClass",
|
|
11034
|
+
const content_r4 = i0.ɵɵreadContextLet(2);
|
|
11035
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
11036
|
+
i0.ɵɵproperty("ngClass", ctx_r1.textClass());
|
|
11038
11037
|
i0.ɵɵadvance();
|
|
11039
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
11038
|
+
i0.ɵɵtextInterpolate1(" ", content_r4, " ");
|
|
11040
11039
|
} }
|
|
11041
11040
|
function TooltipContainerComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
11041
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
11042
11042
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
11043
|
+
i0.ɵɵlistener("mouseenter", function TooltipContainerComponent_Conditional_0_Template_div_mouseenter_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTooltipMouseEnter()); })("mouseleave", function TooltipContainerComponent_Conditional_0_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTooltipMouseLeave()); });
|
|
11043
11044
|
i0.ɵɵdeclareLet(2);
|
|
11044
11045
|
i0.ɵɵconditionalCreate(3, TooltipContainerComponent_Conditional_0_Case_3_Template, 1, 1)(4, TooltipContainerComponent_Conditional_0_Case_4_Template, 1, 1)(5, TooltipContainerComponent_Conditional_0_Case_5_Template, 1, 1)(6, TooltipContainerComponent_Conditional_0_Case_6_Template, 1, 1)(7, TooltipContainerComponent_Conditional_0_Case_7_Template, 1, 1)(8, TooltipContainerComponent_Conditional_0_Case_8_Template, 1, 1)(9, TooltipContainerComponent_Conditional_0_Case_9_Template, 1, 1)(10, TooltipContainerComponent_Conditional_0_Case_10_Template, 1, 1)(11, TooltipContainerComponent_Conditional_0_Case_11_Template, 1, 1)(12, TooltipContainerComponent_Conditional_0_Case_12_Template, 2, 2, "div", 3)(13, TooltipContainerComponent_Conditional_0_Case_13_Template, 3, 2, "div", 4)(14, TooltipContainerComponent_Conditional_0_Case_14_Template, 2, 2, "div", 5);
|
|
11045
11046
|
i0.ɵɵelementEnd()();
|
|
11046
11047
|
} if (rf & 2) {
|
|
11047
11048
|
let tmp_6_0;
|
|
11048
|
-
const
|
|
11049
|
-
i0.ɵɵstyleMap("position: fixed; left: " +
|
|
11049
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
11050
|
+
i0.ɵɵstyleMap("position: fixed; left: " + ctx_r1.tooltipLeft() + "px; top: " + ctx_r1.tooltipTop() + "px; margin: 0; padding: 0; width: 24rem;");
|
|
11050
11051
|
i0.ɵɵproperty("@fadeInScale", undefined);
|
|
11051
11052
|
i0.ɵɵadvance();
|
|
11052
|
-
i0.ɵɵstyleMap("transform: " +
|
|
11053
|
-
i0.ɵɵproperty("ngClass",
|
|
11053
|
+
i0.ɵɵstyleMap("transform: " + ctx_r1.transformStyle() + "; min-width: 12rem; box-sizing: border-box;");
|
|
11054
|
+
i0.ɵɵproperty("ngClass", ctx_r1.contentClass());
|
|
11054
11055
|
i0.ɵɵadvance();
|
|
11055
|
-
i0.ɵɵstoreLet(
|
|
11056
|
+
i0.ɵɵstoreLet(ctx_r1.tooltipContent());
|
|
11056
11057
|
i0.ɵɵadvance();
|
|
11057
|
-
i0.ɵɵconditional((tmp_6_0 =
|
|
11058
|
+
i0.ɵɵconditional((tmp_6_0 = ctx_r1.tooltipType()) === "metric" ? 3 : tmp_6_0 === "status" ? 4 : tmp_6_0 === "trend" ? 5 : tmp_6_0 === "priority" ? 6 : tmp_6_0 === "badge" ? 7 : tmp_6_0 === "breakdown" ? 8 : tmp_6_0 === "competitive" ? 9 : tmp_6_0 === "insightsList" ? 10 : tmp_6_0 === "narrative" ? 11 : tmp_6_0 === "insight" ? 12 : tmp_6_0 === "text" ? 13 : 14);
|
|
11058
11059
|
} }
|
|
11059
11060
|
class TooltipContainerComponent {
|
|
11060
11061
|
constructor() {
|
|
@@ -11195,6 +11196,13 @@ class TooltipContainerComponent {
|
|
|
11195
11196
|
}
|
|
11196
11197
|
});
|
|
11197
11198
|
}
|
|
11199
|
+
onTooltipMouseEnter() {
|
|
11200
|
+
this.tooltipService.setTooltipHovered(true);
|
|
11201
|
+
}
|
|
11202
|
+
onTooltipMouseLeave() {
|
|
11203
|
+
this.tooltipService.setTooltipHovered(false);
|
|
11204
|
+
this.tooltipService.triggerHideCheck();
|
|
11205
|
+
}
|
|
11198
11206
|
calculateLeft() {
|
|
11199
11207
|
const rect = this.targetRect();
|
|
11200
11208
|
if (!rect)
|
|
@@ -11366,7 +11374,7 @@ class TooltipContainerComponent {
|
|
|
11366
11374
|
static { this.ɵfac = function TooltipContainerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TooltipContainerComponent)(); }; }
|
|
11367
11375
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TooltipContainerComponent, selectors: [["symphiq-tooltip-container"]], hostVars: 2, hostBindings: function TooltipContainerComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
11368
11376
|
i0.ɵɵstyleProp("display", "contents");
|
|
11369
|
-
} }, decls: 1, vars: 1, consts: [[1, "z-[100]", "pointer-events-none", 3, "style"], [1, "z-[100]", "pointer-events-none"], [1, "rounded-lg", "shadow-2xl", "border", "backdrop-blur-xl", "px-4", "py-3", "pointer-events-auto", 3, "ngClass"], [1, "text-sm", "space-y-3", 3, "ngClass"], [1, "text-sm", "whitespace-pre-line", "leading-relaxed", 3, "ngClass"], [1, "text-sm", "whitespace-pre-line", 3, "ngClass"], [3, "content", "isLightMode"], [1, "space-y-2"], [1, "font-semibold"], [1, "whitespace-pre-line", "leading-relaxed"]], template: function TooltipContainerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11377
|
+
} }, decls: 1, vars: 1, consts: [[1, "z-[100]", "pointer-events-none", 3, "style"], [1, "z-[100]", "pointer-events-none"], [1, "rounded-lg", "shadow-2xl", "border", "backdrop-blur-xl", "px-4", "py-3", "pointer-events-auto", 3, "mouseenter", "mouseleave", "ngClass"], [1, "text-sm", "space-y-3", 3, "ngClass"], [1, "text-sm", "whitespace-pre-line", "leading-relaxed", 3, "ngClass"], [1, "text-sm", "whitespace-pre-line", 3, "ngClass"], [3, "content", "isLightMode"], [1, "space-y-2"], [1, "font-semibold"], [1, "whitespace-pre-line", "leading-relaxed"]], template: function TooltipContainerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11370
11378
|
i0.ɵɵconditionalCreate(0, TooltipContainerComponent_Conditional_0_Template, 15, 8, "div", 0);
|
|
11371
11379
|
} if (rf & 2) {
|
|
11372
11380
|
i0.ɵɵconditional(ctx.isVisible() ? 0 : -1);
|
|
@@ -11431,7 +11439,9 @@ class TooltipContainerComponent {
|
|
|
11431
11439
|
<div
|
|
11432
11440
|
[ngClass]="contentClass()"
|
|
11433
11441
|
class="rounded-lg shadow-2xl border backdrop-blur-xl px-4 py-3 pointer-events-auto"
|
|
11434
|
-
[style]="'transform: ' + transformStyle() + '; min-width: 12rem; box-sizing: border-box;'"
|
|
11442
|
+
[style]="'transform: ' + transformStyle() + '; min-width: 12rem; box-sizing: border-box;'"
|
|
11443
|
+
(mouseenter)="onTooltipMouseEnter()"
|
|
11444
|
+
(mouseleave)="onTooltipMouseLeave()">
|
|
11435
11445
|
@let content = tooltipContent();
|
|
11436
11446
|
@switch (tooltipType()) {
|
|
11437
11447
|
@case ('metric') {
|
|
@@ -11530,7 +11540,7 @@ class TooltipContainerComponent {
|
|
|
11530
11540
|
`
|
|
11531
11541
|
}]
|
|
11532
11542
|
}], () => [], null); })();
|
|
11533
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TooltipContainerComponent, { className: "TooltipContainerComponent", filePath: "lib/components/funnel-analysis-dashboard/tooltip/tooltip-container.component.ts", lineNumber:
|
|
11543
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TooltipContainerComponent, { className: "TooltipContainerComponent", filePath: "lib/components/funnel-analysis-dashboard/tooltip/tooltip-container.component.ts", lineNumber: 175 }); })();
|
|
11534
11544
|
|
|
11535
11545
|
function MobileFABComponent_Conditional_1_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
11536
11546
|
i0.ɵɵnamespaceSVG();
|