vue-data-ui 3.22.6 → 3.22.8

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.
Files changed (203) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
  16. package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BbwhsRIr.js} +1 -1
  89. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  90. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  91. package/dist/{img-B_y5qDdm.js → img-DnP3eXuv.js} +1 -1
  92. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
  93. package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
  94. package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
  95. package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
  96. package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.js} +20 -20
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +18 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  103. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
  104. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
  105. package/dist/utils.js +23 -23
  106. package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
  109. package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
  111. package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
  112. package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
  113. package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
  114. package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
  115. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
  116. package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
  117. package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
  118. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
  119. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
  120. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
  121. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
  122. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
  123. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
  124. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
  125. package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
  126. package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
  127. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
  128. package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
  129. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
  130. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
  131. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
  132. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
  133. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
  134. package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
  135. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
  136. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
  137. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  138. package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
  139. package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
  140. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
  141. package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
  142. package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
  143. package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
  144. package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
  145. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
  146. package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
  147. package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
  148. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
  149. package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
  150. package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
  151. package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
  152. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
  153. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
  154. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
  155. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
  156. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
  157. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
  158. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
  159. package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
  160. package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
  161. package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
  162. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
  163. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
  164. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
  165. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
  166. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
  167. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
  168. package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
  169. package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
  170. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
  171. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
  172. package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
  173. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
  174. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
  175. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
  176. package/package.json +1 -1
  177. package/dist/exposedLib-CjwriUaG.js +0 -19
  178. package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
  179. package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
  180. package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
  181. package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
  182. package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
  183. package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
  184. package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
  185. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  186. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  187. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  188. package/dist/vue-ui-horizontal-bar-CwB4sc6M.js +0 -1683
  189. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  190. package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
  191. package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
  192. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  193. package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
  194. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  195. package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
  196. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  197. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  198. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  199. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  200. package/dist/vue-ui-stackline-C0NHBUaE.js +0 -2416
  201. package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
  202. package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
  203. package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
@@ -1,1715 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, C as n, Dt as r, Ft as i, H as a, Ht as o, K as s, Q as c, S as ee, Ut as l, Vt as te, W as ne, Wt as re, X as ie, _t as ae, b as oe, gt as se, h as ce, i as u, lt as le, q as d, r as ue, t as de, w as fe, wt as pe } from "./lib-DRBJCmHW.js";
3
- import { t as me } from "./useConfig-DYM3f6EI.js";
4
- import { t as he } from "./usePrinter-CRp5IW3v.js";
5
- import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as ve } from "./useSvgExport-SVIsDot8.js";
7
- import { t as ye } from "./useNestedProp-BEo2N1Db.js";
8
- import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
10
- import { t as Se } from "./img-B_y5qDdm.js";
11
- import { n as Ce } from "./Title-C-p0ilWB.js";
12
- import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { c as Te } from "./canvas-lib-BOP_HS11.js";
14
- import { t as Ee } from "./useResponsive-BfnK0KxU.js";
15
- import { t as De } from "./BaseLegendToggle-DFwIY5bE.js";
16
- import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as ke } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as je } from "./Legend-D-635Kag.js";
20
- import { t as Me } from "./vue_ui_history_plot-CuN63VEc.js";
21
- import { Fragment as f, Teleport as Ne, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Le, nextTick as Re, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as ze, onMounted as Be, openBlock as C, ref as w, renderList as T, renderSlot as E, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as D, toRefs as Ue, unref as O, watch as We, watchEffect as Ge, withCtx as k } from "vue";
22
- //#region src/components/vue-ui-history-plot.vue
23
- var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
24
- "xmlns",
25
- "viewBox",
26
- "aria-describedby"
27
- ], Qe = [
28
- "x",
29
- "y",
30
- "width",
31
- "height"
32
- ], $e = { key: 1 }, et = ["id"], tt = ["stop-color"], nt = ["stop-color"], rt = ["stop-color"], it = ["id"], at = ["stop-color"], ot = ["stop-color"], st = ["stop-color"], ct = [
33
- "id",
34
- "x1",
35
- "y1",
36
- "x2",
37
- "y2"
38
- ], lt = ["stop-color", "offset"], ut = { key: 2 }, dt = [
39
- "x1",
40
- "x2",
41
- "y1",
42
- "y2",
43
- "stroke",
44
- "stroke-width"
45
- ], ft = { key: 3 }, pt = [
46
- "stroke",
47
- "stroke-width",
48
- "x1",
49
- "x2",
50
- "y1",
51
- "y2"
52
- ], mt = [
53
- "x",
54
- "y",
55
- "fill",
56
- "font-size"
57
- ], ht = [
58
- "transform",
59
- "font-size",
60
- "fill",
61
- "font-weight"
62
- ], gt = { key: 6 }, _t = [
63
- "x1",
64
- "x2",
65
- "y1",
66
- "y2",
67
- "stroke",
68
- "stroke-width"
69
- ], vt = { key: 7 }, yt = [
70
- "stroke",
71
- "stroke-width",
72
- "x1",
73
- "x2",
74
- "y1",
75
- "y2"
76
- ], bt = [
77
- "transform",
78
- "fill",
79
- "font-size",
80
- "text-anchor"
81
- ], xt = [
82
- "x",
83
- "y",
84
- "font-size",
85
- "fill",
86
- "font-weight"
87
- ], St = [
88
- "x1",
89
- "x2",
90
- "y1",
91
- "y2",
92
- "stroke",
93
- "stroke-width"
94
- ], Ct = [
95
- "x1",
96
- "x2",
97
- "y1",
98
- "y2",
99
- "stroke",
100
- "stroke-width"
101
- ], wt = [
102
- "d",
103
- "stroke",
104
- "stroke-width"
105
- ], Tt = [
106
- "d",
107
- "stroke",
108
- "stroke-width"
109
- ], Et = [
110
- "cx",
111
- "cy",
112
- "fill",
113
- "r"
114
- ], Dt = [
115
- "cx",
116
- "cy",
117
- "fill",
118
- "r",
119
- "stroke",
120
- "stroke-width"
121
- ], Ot = { key: 1 }, kt = [
122
- "x",
123
- "y",
124
- "font-size",
125
- "fill",
126
- "font-weight"
127
- ], At = [
128
- "x",
129
- "y",
130
- "font-size",
131
- "fill",
132
- "font-weight",
133
- "innerHTML"
134
- ], jt = { key: 2 }, Mt = [
135
- "x",
136
- "y",
137
- "font-size",
138
- "font-weight",
139
- "fill"
140
- ], Nt = [
141
- "cx",
142
- "cy",
143
- "r",
144
- "onMouseenter",
145
- "onMouseleave",
146
- "onClick"
147
- ], Pt = {
148
- key: 0,
149
- style: {
150
- position: "absolute",
151
- top: "100%",
152
- left: "0",
153
- width: "100%"
154
- },
155
- "data-dom-to-png-ignore": "",
156
- "aria-hidden": "true"
157
- }, Ft = {
158
- key: 5,
159
- class: "vue-data-ui-watermark"
160
- }, It = ["id"], Lt = ["onClick"], Rt = ["innerHTML"], zt = /*#__PURE__*/ we({
161
- __name: "vue-ui-history-plot",
162
- props: {
163
- config: {
164
- type: Object,
165
- default() {
166
- return {};
167
- }
168
- },
169
- dataset: {
170
- type: Array,
171
- default() {
172
- return [];
173
- }
174
- }
175
- },
176
- emits: [
177
- "selectLegend",
178
- "selectDatapoint",
179
- "copyAlt"
180
- ],
181
- setup(e, { expose: we, emit: Ke }) {
182
- let zt = v(() => import("./Tooltip-YabpoXo1.js")), Bt = v(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), Vt = v(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), Ht = v(() => import("./DataTable-CXfvIulC.js")), Ut = v(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), Wt = v(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), Gt = v(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), Kt = v(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_history_plot: qt } = me(), { isThemeValid: Jt, warnInvalidTheme: Yt } = be(), A = e, j = w(null), Xt = w(null), Zt = w(0), Qt = w(null), $t = w(0), en = w(0), tn = w(0), M = He(null), N = He(null), nn = w(null), P = w(ne()), rn = w(!1), an = w(""), F = w([]), on = w(!1), I = w(null), sn = w(!1), cn = w(null), ln = w(!1), un = w(null), dn = w(null), fn = w(!1), pn = w(!1), mn = w(null), hn = w(null), gn = w(null), _n = w(null), L = w(null), R = w(null), vn = w({
183
- x: 0,
184
- y: 0
185
- }), yn = w("pointer"), bn = w(!1), xn = p({
186
- get: () => !!A.dataset && A.dataset.length,
187
- set: (e) => e
188
- }), Sn = Ke;
189
- Be(() => {
190
- ln.value = !0, wn();
191
- });
192
- let Cn = p(() => !!z.value.debug);
193
- function wn() {
194
- if (r(A.dataset) ? (c({
195
- componentName: "VueUiHistoryPlot",
196
- type: "dataset",
197
- debug: Cn.value
198
- }), kn.value = !0) : A.dataset.forEach((e, t) => {
199
- le({
200
- datasetObject: e,
201
- requiredAttributes: ["name", "values"]
202
- }).forEach((e) => {
203
- xn.value = !1, c({
204
- componentName: "VueUiHistoryPlot",
205
- type: "datasetSerieAttribute",
206
- property: e,
207
- index: t,
208
- debug: Cn.value
209
- });
210
- });
211
- }), r(A.dataset) || (kn.value = z.value.loading), z.value.responsive) {
212
- let e = Te(() => {
213
- let { width: e, height: t } = Ee({
214
- chart: j.value,
215
- title: z.value.style.chart.title.text ? Xt.value : null,
216
- noTitle: nn.value,
217
- legend: z.value.style.chart.legend.show ? Qt.value : null,
218
- source: cn.value
219
- });
220
- requestAnimationFrame(() => {
221
- U.value.width = e, U.value.height = t, z.value.responsiveProportionalSizing ? (G.value.plots = l({
222
- relator: Math.min(e, t),
223
- adjuster: 600,
224
- source: z.value.style.chart.plots.radius,
225
- threshold: 3,
226
- fallback: 3
227
- }), G.value.indexLabels = l({
228
- relator: Math.min(e, t),
229
- adjuster: 600,
230
- source: z.value.style.chart.plots.indexLabels.fontSize,
231
- threshold: 6,
232
- fallback: 6
233
- }), G.value.labels = l({
234
- relator: Math.min(e, t),
235
- adjuster: 600,
236
- source: z.value.style.chart.plots.labels.fontSize,
237
- threshold: 6,
238
- fallback: 6
239
- }), G.value.xAxisLabels = l({
240
- relator: Math.min(e, t),
241
- adjuster: 600,
242
- source: z.value.style.chart.axes.x.labels.fontSize,
243
- threshold: 6,
244
- fallback: 6
245
- }), G.value.xAxisName = l({
246
- relator: Math.min(e, t),
247
- adjuster: 600,
248
- source: z.value.style.chart.axes.x.name.fontSize,
249
- threshold: 6,
250
- fallback: 6
251
- }), G.value.yAxisLabels = l({
252
- relator: Math.min(e, t),
253
- adjuster: 600,
254
- source: z.value.style.chart.axes.y.labels.fontSize,
255
- threshold: 6,
256
- fallback: 6
257
- }), G.value.yAxisName = l({
258
- relator: Math.min(e, t),
259
- adjuster: 600,
260
- source: z.value.style.chart.axes.y.name.fontSize,
261
- threshold: 6,
262
- fallback: 6
263
- })) : (G.value.plots = z.value.style.chart.plots.radius, G.value.indexLabels = z.value.style.chart.plots.indexLabels.fontSize, G.value.labels = z.value.style.chart.plots.labels.fontSize, G.value.xAxisLabels = z.value.style.chart.axes.x.labels.fontSize, G.value.xAxisName = z.value.style.chart.axes.x.name.fontSize, G.value.yAxisLabels = z.value.style.chart.axes.y.labels.fontSize, G.value.yAxisName = z.value.style.chart.axes.y.name.fontSize);
264
- });
265
- });
266
- M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect()), M.value = new ResizeObserver(e), N.value = j.value.parentNode, M.value.observe(N.value);
267
- }
268
- }
269
- ze(() => {
270
- M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect());
271
- });
272
- function Tn() {
273
- let e = ye({
274
- userConfig: A.config,
275
- defaultConfig: qt
276
- }), n = {}, r = e.theme;
277
- if (r) if (!Jt.value(e)) Yt(e), n = e;
278
- else {
279
- let i = ye({
280
- userConfig: Me[r] || A.config,
281
- defaultConfig: e
282
- });
283
- n = {
284
- ...ye({
285
- userConfig: A.config,
286
- defaultConfig: i
287
- }),
288
- customPalette: e.customPalette.length ? e.customPalette : o[r] || t
289
- };
290
- }
291
- else n = e;
292
- return n;
293
- }
294
- let z = w(Tn()), B = p(() => z.value.userOptions.useCursorPointer), En = p(() => re({
295
- defaultConfig: {
296
- userOptions: { show: !1 },
297
- table: { show: !1 },
298
- style: { chart: {
299
- backgroundColor: "#99999930",
300
- axes: {
301
- x: {
302
- scaleMin: 0,
303
- scaleMax: 10,
304
- labels: { show: !1 },
305
- name: { text: "" }
306
- },
307
- y: {
308
- scaleMin: 0,
309
- scaleMax: 10,
310
- labels: { show: !1 },
311
- name: { text: "" }
312
- }
313
- },
314
- grid: {
315
- xAxis: { stroke: "#6A6A6A" },
316
- horizontalLines: { stroke: "#6A6A6A50" },
317
- yAxis: { stroke: "#6A6A6A" },
318
- verticalLines: { stroke: "#6A6A6A50" }
319
- },
320
- legend: { backgroundColor: "transparent" },
321
- paths: {
322
- useSerieColor: !1,
323
- stroke: "#6A6A6A"
324
- },
325
- plots: {
326
- stroke: "#6A6A6A",
327
- indexLabels: { show: !1 },
328
- labels: { show: !1 }
329
- }
330
- } }
331
- },
332
- userConfig: z.value.skeletonConfig ?? {}
333
- })), { loading: Dn, FINAL_DATASET: On, manualLoading: kn } = ge({
334
- ...Ue(A),
335
- FINAL_CONFIG: z,
336
- prepareConfig: Tn,
337
- skeletonDataset: A.config?.skeletonDataset ?? [{
338
- name: "",
339
- color: "#CACACA",
340
- values: [
341
- {
342
- label: "",
343
- x: 1,
344
- y: 9
345
- },
346
- {
347
- label: "",
348
- x: 4,
349
- y: 1
350
- },
351
- {
352
- label: "",
353
- x: 7,
354
- y: 9
355
- },
356
- {
357
- label: "",
358
- x: 9,
359
- y: 4
360
- }
361
- ]
362
- }],
363
- skeletonConfig: re({
364
- defaultConfig: z.value,
365
- userConfig: En.value
366
- })
367
- }), { userOptionsVisible: An, setUserOptionsVisibility: jn, keepUserOptionState: Mn } = ke({ config: z.value }), { svgRef: V } = Ae({ config: z.value.style.chart.title });
368
- We(() => A.config, (e) => {
369
- Dn.value || (z.value = Tn()), An.value = !z.value.userOptions.showOnChartHover, wn(), Zt.value += 1, en.value += 1, $t.value += 1, U.value.height = z.value.style.chart.height, U.value.width = z.value.style.chart.width, G.value.plots = z.value.style.chart.plots.radius, G.value.indexLabels = z.value.style.chart.plots.indexLabels.fontSize, G.value.labels = z.value.style.chart.plots.labels.fontSize, G.value.xAxisLabels = z.value.style.chart.axes.x.labels.fontSize, G.value.xAxisName = z.value.style.chart.axes.x.name.fontSize, G.value.yAxisLabels = z.value.style.chart.axes.y.labels.fontSize, G.value.yAxisName = z.value.style.chart.axes.y.name.fontSize, H.value.showTable = z.value.table.show, H.value.showTooltip = z.value.style.chart.tooltip.show;
370
- }, { deep: !0 }), We(() => A.dataset, (e) => {
371
- Array.isArray(e) && e.length > 0 && (kn.value = !1);
372
- }, { deep: !0 });
373
- let { isPrinting: Nn, isImaging: Pn, generatePdf: Fn, generateImage: In } = he({
374
- elementId: `history_plot_${P.value}`,
375
- fileName: z.value.style.chart.title.text || "vue-ui-history-plot",
376
- options: z.value.userOptions.print
377
- }), Ln = p(() => z.value.userOptions.show && !z.value.style.chart.title.text), Rn = p(() => ee(z.value.customPalette)), H = w({
378
- showTable: z.value.table.show,
379
- showTooltip: z.value.style.chart.tooltip.show
380
- });
381
- We(z, () => {
382
- H.value = {
383
- showTable: z.value.table.show,
384
- showTooltip: z.value.style.chart.tooltip.show
385
- };
386
- }, { immediate: !0 });
387
- let U = w({
388
- height: z.value.style.chart.height,
389
- width: z.value.style.chart.width
390
- }), zn = p(() => U.value.width), Bn = p(() => U.value.height);
391
- function Vn() {
392
- let e = 0;
393
- _n.value && (e = Array.from(_n.value.querySelectorAll("text")).reduce((e, t) => {
394
- let n = t.getComputedTextLength();
395
- return n > e ? n : e;
396
- }, 0));
397
- let t = hn.value ? hn.value.getBoundingClientRect().width : 0;
398
- return e + t + (t ? 24 : 0);
399
- }
400
- let Hn = w(0), Un = Te((e) => {
401
- Hn.value = e;
402
- });
403
- Ge((e) => {
404
- let t = gn.value;
405
- if (!t) return;
406
- let n = new ResizeObserver((e) => {
407
- Un(e[0].contentRect.height);
408
- });
409
- n.observe(t), e(() => n.disconnect());
410
- });
411
- let Wn = p(() => {
412
- let e = 0;
413
- mn.value && (e = mn.value.getBBox().height + G.value.xAxisName / 2);
414
- let t = 0;
415
- return gn.value && (t = Hn.value), e + t;
416
- }), W = p(() => {
417
- let e = z.value.style.chart.padding.left, t = z.value.style.chart.padding.top, n = Vn(), r = z.value.style.chart.plots.radius;
418
- return {
419
- left: e + n + z.value.style.chart.axes.y.name.offsetX,
420
- top: t + r,
421
- right: U.value.width - z.value.style.chart.padding.right - r - z.value.style.chart.axes.y.name.offsetX,
422
- bottom: U.value.height - z.value.style.chart.padding.bottom - Wn.value - r - z.value.style.chart.axes.x.name.offsetY,
423
- width: U.value.width - e - z.value.style.chart.padding.right - n - r - z.value.style.chart.axes.y.name.offsetX,
424
- height: U.value.height - t - z.value.style.chart.padding.bottom - Wn.value - r * 2 - z.value.style.chart.axes.x.name.offsetY
425
- };
426
- }), G = w({
427
- plots: z.value.style.chart.plots.radius,
428
- indexLabels: z.value.style.chart.plots.indexLabels.fontSize,
429
- labels: z.value.style.chart.plots.labels.fontSize,
430
- xAxisLabels: z.value.style.chart.axes.x.labels.fontSize,
431
- xAxisName: z.value.style.chart.axes.x.name.fontSize,
432
- yAxisLabels: z.value.style.chart.axes.y.labels.fontSize,
433
- yAxisName: z.value.style.chart.axes.y.name.fontSize
434
- }), K = p(() => On.value.map((e, n) => {
435
- let r = Array.isArray(e.temperatureColors) && e.temperatureColors.length ? e.temperatureColors.map((e) => oe(e)) : void 0;
436
- return {
437
- ...e,
438
- color: e.color ? oe(e.color) : Rn.value[n] || t[n] || t[n % t.length],
439
- temperatureColors: r,
440
- temperatureAngle: Gn(e.temperatureAngle),
441
- temperatureIndependant: e.temperatureIndependant === !0,
442
- usePlotTemperatureColors: e.usePlotTemperatureColors !== !1,
443
- seriesIndex: n
444
- };
445
- }));
446
- function Gn(e = 0) {
447
- let t = Number(e);
448
- return Number.isFinite(t) ? (t % 360 + 360) % 360 : 0;
449
- }
450
- let Kn = p(() => Math.max(...K.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)))), qn = p(() => {
451
- let e = Math.min(...K.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)));
452
- return e < 0 ? e : 0;
453
- }), Jn = p(() => Math.max(...K.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)))), Yn = p(() => {
454
- let e = Math.min(...K.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)));
455
- return e < 0 ? e : 0;
456
- }), q = p(() => {
457
- let e = ce(z.value.style.chart.axes.x.scaleMin ?? qn.value, z.value.style.chart.axes.x.scaleMax ?? Kn.value, z.value.style.chart.axes.x.ticks), t = ce(z.value.style.chart.axes.y.scaleMin ?? Yn.value, z.value.style.chart.axes.y.scaleMax ?? Jn.value, z.value.style.chart.axes.y.ticks);
458
- return {
459
- x: e,
460
- y: t,
461
- tickX: e.ticks.map((t) => ({
462
- x: W.value.left + (t - e.min) / (e.max - e.min) * W.value.width,
463
- y1: W.value.top,
464
- y2: W.value.bottom,
465
- value: t
466
- })),
467
- tickY: t.ticks.map((e) => ({
468
- y: W.value.bottom - (e - t.min) / (t.max - t.min) * W.value.height,
469
- x1: W.value.left,
470
- x2: W.value.right,
471
- value: e
472
- }))
473
- };
474
- });
475
- function Xn(e) {
476
- let t = q.value.x.min < 0 ? Math.abs(q.value.x.min) : q.value.x.min > 0 ? -q.value.x.min : 0;
477
- return W.value.left + ((e || 0) + t) / (q.value.x.max + t) * W.value.width;
478
- }
479
- function Zn(e) {
480
- let t = q.value.y.min < 0 ? Math.abs(q.value.y.min) : q.value.y.min > 0 ? -q.value.y.min : 0;
481
- return W.value.bottom - ((e || 0) + t) / (q.value.y.max + t) * W.value.height;
482
- }
483
- let J = p(() => K.value.filter((e) => !F.value.includes(e.seriesIndex)).map((e, t) => {
484
- let r = e.values.map((t, n) => ({
485
- valueX: t.x,
486
- valueY: t.y,
487
- label: t.label,
488
- x: Xn(t.x),
489
- y: Zn(t.y),
490
- color: e.color,
491
- seriesName: e.name,
492
- id: ne()
493
- })), i = e.smooth ? n(r) : r.map((e) => `${e.x},${e.y} `).join("").trim();
494
- return {
495
- ...e,
496
- gradientIndex: t,
497
- plots: r,
498
- path: `M${i}`
499
- };
500
- })), Qn = p(() => {
501
- if (I.value === null || L.value === null) return J.value;
502
- let e = J.value.findIndex((e) => e.seriesIndex === L.value);
503
- if (e === -1) return J.value;
504
- let t = J.value[e];
505
- return [
506
- ...J.value.slice(0, e),
507
- ...J.value.slice(e + 1),
508
- t
509
- ];
510
- }), $n = p(() => J.value.some((e) => er(e)));
511
- function er(e) {
512
- return Array.isArray(e?.temperatureColors) && e.temperatureColors.length;
513
- }
514
- function tr(e) {
515
- return er(e) && e.usePlotTemperatureColors;
516
- }
517
- function nr(e) {
518
- let t = Array.isArray(e?.plots) ? e.plots : [];
519
- if (!t.length) return {
520
- minX: 0,
521
- maxX: 0,
522
- minY: 0,
523
- maxY: 0,
524
- width: 0,
525
- height: 0
526
- };
527
- let n = t.map((e) => e.x), r = t.map((e) => e.y), i = Math.min(...n), a = Math.max(...n), o = Math.min(...r), s = Math.max(...r);
528
- return {
529
- minX: i,
530
- maxX: a,
531
- minY: o,
532
- maxY: s,
533
- width: a - i,
534
- height: s - o
535
- };
536
- }
537
- function rr() {
538
- let e = W.value;
539
- return {
540
- minX: e.left,
541
- maxX: e.right,
542
- minY: e.top,
543
- maxY: e.bottom,
544
- width: e.width,
545
- height: e.height
546
- };
547
- }
548
- function ir(e) {
549
- return e?.temperatureIndependant ? nr(e) : rr();
550
- }
551
- function ar(e) {
552
- let t = Gn(e?.temperatureAngle) * Math.PI / 180, n = Math.sin(t), r = Math.cos(t), i = ir(e), a = i.minX + i.width / 2, o = i.minY + i.height / 2, s = (Math.abs(n) * i.width + Math.abs(r) * i.height) / 2 || 1;
553
- return {
554
- x1: a - n * s,
555
- y1: o - r * s,
556
- x2: a + n * s,
557
- y2: o + r * s
558
- };
559
- }
560
- function or(e, t) {
561
- let { x1: n, y1: r, x2: i, y2: a } = ar(e), o = i - n, s = a - r, c = o * o + s * s;
562
- if (!c) return 0;
563
- let ee = ((t.x - n) * o + (t.y - r) * s) / c;
564
- return Math.min(1, Math.max(0, ee));
565
- }
566
- function Y(e, t) {
567
- return se({
568
- colors: e.temperatureColors,
569
- ratio: or(e, t)
570
- });
571
- }
572
- function sr(e, t) {
573
- return `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${P.value}`;
574
- }
575
- function cr(e, t, n) {
576
- return tr(e) ? z.value.style.chart.plots.gradient.show ? `url(#${sr(e, t)})` : Y(e, t) : z.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${P.value})` : t.color;
577
- }
578
- function lr(e, t) {
579
- return tr(e) ? Y(e, t) : e.color;
580
- }
581
- function ur(e, t) {
582
- return z.value.style.chart.plots.indexLabels.adaptColorToBackground ? ue(lr(e, t)) : z.value.style.chart.plots.indexLabels.color;
583
- }
584
- function dr(e, t) {
585
- let n = J.value.find((t) => t.seriesIndex === e);
586
- return n && tr(n) ? Y(n, t) : t.color;
587
- }
588
- function fr(e) {
589
- return er(e) ? `url(#temperature_grad_history_${e.seriesIndex}_${P.value})` : z.value.style.chart.paths.useSerieColor ? e.color : z.value.style.chart.paths.stroke;
590
- }
591
- function pr(e) {
592
- return I.value === null || L.value === e ? 1 : Math.min(1, z.value.style.chart.plots.unselectedOpacity);
593
- }
594
- p(() => I.value !== null && L.value !== null);
595
- let mr = w(!1);
596
- function X() {
597
- return z.value.useCssAnimation && !Dn.value && !mr.value;
598
- }
599
- function hr() {
600
- return "opacity 0.2s ease-in-out";
601
- }
602
- function gr() {
603
- F.value.length ? F.value = [] : Z.value.forEach((e) => {
604
- F.value.push(e.seriesIndex);
605
- }), Sn("selectLegend", J.value);
606
- }
607
- function _r(e) {
608
- F.value.includes(e) ? F.value = F.value.filter((t) => t !== e) : F.value.push(e), Sn("selectLegend", J.value);
609
- }
610
- function vr(e) {
611
- return K.value.length ? K.value.find((t) => t.name === e) || (z.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${e}"`), null) : (z.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null);
612
- }
613
- function yr(e) {
614
- let t = vr(e);
615
- t !== null && F.value.includes(t.seriesIndex) && _r(t.seriesIndex);
616
- }
617
- function br(e) {
618
- let t = vr(e);
619
- t !== null && (F.value.includes(t.seriesIndex) || _r(t.seriesIndex));
620
- }
621
- let Z = p(() => K.value.map((e) => {
622
- let t = er(e) ? e.temperatureColors : null;
623
- return {
624
- ...e,
625
- gradientColors: t,
626
- opacity: F.value.includes(e.seriesIndex) ? .5 : 1,
627
- segregate: () => _r(e.seriesIndex),
628
- isSegregated: F.value.includes(e.seriesIndex),
629
- shape: t ? "gradient" : "circle"
630
- };
631
- })), xr = p(() => ({
632
- cy: "history-plot-div-legend",
633
- backgroundColor: z.value.style.chart.legend.backgroundColor,
634
- color: z.value.style.chart.legend.color,
635
- fontSize: z.value.style.chart.legend.fontSize,
636
- paddingBottom: 12,
637
- fontWeight: z.value.style.chart.legend.bold ? "bold" : ""
638
- }));
639
- function Sr({ datapoint: e, plotIndex: t, seriesIndex: n }) {
640
- z.value.events.datapointClick && z.value.events.datapointClick({
641
- datapoint: {
642
- ...e,
643
- plotIndex: t,
644
- seriesIndex: n
645
- },
646
- seriesIndex: n
647
- }), Sn("selectDatapoint", e);
648
- }
649
- function Cr(e) {
650
- on.value = e, tn.value += 1;
651
- }
652
- let wr = w(null);
653
- function Tr({ datapoint: e, plotIndex: t, seriesIndex: n }) {
654
- z.value.events.datapointLeave && z.value.events.datapointLeave({
655
- datapoint: {
656
- ...e,
657
- plotIndex: t,
658
- seriesIndex: n
659
- },
660
- seriesIndex: n
661
- }), !(yn.value === "keyboard" && L.value === n && R.value === t) && (rn.value = !1, I.value = null);
662
- }
663
- function Er(e, t) {
664
- if (!V.value) return;
665
- let n = J.value.find((t) => t.seriesIndex === e);
666
- if (!n) return;
667
- let r = n.plots[t];
668
- if (!r) return;
669
- let i = te(r.x, r.y, V.value);
670
- i && (vn.value = i);
671
- }
672
- function Dr({ datapoint: e, plotIndex: t, seriesIndex: n, triggerMode: r = "pointer" }) {
673
- z.value.events.datapointEnter && z.value.events.datapointEnter({
674
- datapoint: {
675
- ...e,
676
- plotIndex: t,
677
- seriesIndex: n
678
- },
679
- seriesIndex: n
680
- }), L.value = n, R.value = t, yn.value = r, mr.value = !0;
681
- let i = dr(n, e), a = {
682
- ...e,
683
- color: i
684
- };
685
- wr.value = {
686
- datapoint: a,
687
- color: i,
688
- seriesIndex: n,
689
- plotIndex: t,
690
- config: z.value,
691
- series: K.value
692
- }, I.value = e;
693
- let o = z.value.style.chart.tooltip.customFormat;
694
- if (sn.value = !1, ae(o)) try {
695
- let e = o({
696
- seriesIndex: n,
697
- datapoint: a,
698
- color: i,
699
- plotIndex: t,
700
- series: K.value,
701
- config: z.value
702
- });
703
- typeof e == "string" && (an.value = e, sn.value = !0);
704
- } catch {
705
- console.warn("Custom format cannot be applied."), sn.value = !1;
706
- }
707
- if (!sn.value) {
708
- let t = "";
709
- t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${z.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${i}"/></svg><span>${e.seriesName}</span></div>`, t += `<div>${e.label}</div>`, t += `<div>${z.value.style.chart.axes.x.name.text || "x"}: ${u(z.value.style.chart.axes.x.labels.formatter, e.valueX, d({
710
- p: z.value.style.chart.axes.x.labels.prefix,
711
- v: e.valueX,
712
- s: z.value.style.chart.axes.x.labels.suffix,
713
- r: z.value.style.chart.axes.x.labels.rounding
714
- }))}</div>`, t += `<div>${z.value.style.chart.axes.y.name.text || "y"}: ${u(z.value.style.chart.axes.y.labels.formatter, e.valueY, d({
715
- p: z.value.style.chart.axes.y.labels.prefix,
716
- v: e.valueY,
717
- s: z.value.style.chart.axes.y.labels.suffix,
718
- r: z.value.style.chart.axes.y.labels.rounding
719
- }))}</div>`, an.value = `<div>${t}</div>`;
720
- }
721
- rn.value = !0, r === "keyboard" && Re(() => {
722
- Er(n, t);
723
- });
724
- }
725
- p(() => ({ head: J.value.map((e) => ({
726
- name: e.name,
727
- color: e.color
728
- })) }));
729
- let Q = p(() => {
730
- let e = [
731
- z.value.table.columnNames.series,
732
- z.value.table.columnNames.datapoint,
733
- z.value.table.columnNames.x,
734
- z.value.table.columnNames.y
735
- ];
736
- return {
737
- head: e,
738
- body: J.value.flatMap((e) => e.plots.map((e) => [
739
- {
740
- color: e.color,
741
- name: e.seriesName
742
- },
743
- e.label,
744
- u(z.value.style.chart.axes.x.labels.formatter, e.valueX, d({
745
- p: z.value.style.chart.axes.x.labels.prefix,
746
- v: e.valueX,
747
- s: z.value.style.chart.axes.x.labels.suffix,
748
- r: z.value.style.chart.axes.x.labels.rounding
749
- })),
750
- u(z.value.style.chart.axes.y.labels.formatter, e.valueY, d({
751
- p: z.value.style.chart.axes.y.labels.prefix,
752
- v: e.valueY,
753
- s: z.value.style.chart.axes.y.labels.suffix,
754
- r: z.value.style.chart.axes.y.labels.rounding
755
- }))
756
- ])),
757
- config: {
758
- th: {
759
- backgroundColor: z.value.table.th.backgroundColor,
760
- color: z.value.table.th.color,
761
- outline: z.value.table.th.outline
762
- },
763
- td: {
764
- backgroundColor: z.value.table.td.backgroundColor,
765
- color: z.value.table.td.color,
766
- outline: z.value.table.td.outline
767
- },
768
- breakpoint: z.value.table.responsiveBreakpoint
769
- },
770
- colNames: e
771
- };
772
- });
773
- function Or(e = null) {
774
- Re(() => {
775
- let t = [
776
- [z.value.table.columnNames.series],
777
- [z.value.table.columnNames.datapoint],
778
- [z.value.table.columnNames.x],
779
- [z.value.table.columnNames.y]
780
- ], n = J.value.flatMap((e) => e.plots.map((e) => [
781
- [e.seriesName],
782
- [e.label],
783
- [e.valueX],
784
- [e.valueY]
785
- ])), r = fe([
786
- [z.value.style.chart.title.text],
787
- [z.value.style.chart.title.subtitle.text],
788
- t
789
- ].concat(n));
790
- e ? e(r) : ie({
791
- csvContent: r,
792
- title: z.value.style.chart.title.text || "vue-ui-history-plot"
793
- });
794
- });
795
- }
796
- let kr = w(!1);
797
- function Ar() {
798
- kr.value = !kr.value;
799
- }
800
- function jr() {
801
- H.value.showTable = !H.value.showTable;
802
- }
803
- function Mr() {
804
- H.value.showTooltip = !H.value.showTooltip;
805
- }
806
- function Nr() {
807
- return J.value;
808
- }
809
- async function Pr({ scale: e = 2 } = {}) {
810
- if (!j.value) return;
811
- let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
812
- domElement: j.value,
813
- base64: !0,
814
- img: !0,
815
- scale: e
816
- });
817
- return {
818
- imageUri: i,
819
- base64: a,
820
- title: z.value.style.chart.title.text,
821
- width: t,
822
- height: n,
823
- aspectRatio: r
824
- };
825
- }
826
- xe({
827
- timeLabelsEls: gn,
828
- timeLabels: p(() => q.value.tickX),
829
- slicer: p(() => ({
830
- start: 0,
831
- end: q.value.tickX.length
832
- })),
833
- configRef: z,
834
- rotationPath: [
835
- "style",
836
- "chart",
837
- "axes",
838
- "x",
839
- "labels",
840
- "rotation"
841
- ],
842
- autoRotatePath: [
843
- "style",
844
- "chart",
845
- "axes",
846
- "x",
847
- "labels",
848
- "autoRotate",
849
- "enable"
850
- ],
851
- isAutoSize: !1,
852
- width: zn,
853
- height: Bn,
854
- targetClass: ".vue-ui-history-plot-x-axis-scale",
855
- rotation: z.value.style.chart.axes.x.labels.autoRotate.angle
856
- });
857
- let Fr = p(() => {
858
- let e = z.value.table.useDialog && !z.value.table.show, t = H.value.showTable;
859
- return {
860
- component: e ? Kt : Vt,
861
- title: `${z.value.style.chart.title.text}${z.value.style.chart.title.subtitle.text ? `: ${z.value.style.chart.title.subtitle.text}` : ""}`,
862
- props: e ? {
863
- backgroundColor: z.value.table.th.backgroundColor,
864
- color: z.value.table.th.color,
865
- headerColor: z.value.table.th.color,
866
- headerBg: z.value.table.th.backgroundColor,
867
- isFullscreen: on.value,
868
- fullscreenParent: j.value,
869
- forcedWidth: Math.min(800, window.innerWidth * .8)
870
- } : {
871
- hideDetails: !0,
872
- config: {
873
- open: t,
874
- maxHeight: 1e4,
875
- body: {
876
- backgroundColor: z.value.style.chart.backgroundColor,
877
- color: z.value.style.chart.color
878
- },
879
- head: {
880
- backgroundColor: z.value.style.chart.backgroundColor,
881
- color: z.value.style.chart.color
882
- }
883
- }
884
- }
885
- };
886
- });
887
- We(() => H.value.showTable, (e) => {
888
- z.value.table.show || (e && z.value.table.useDialog && un.value ? un.value.open() : "close" in un.value && un.value.close());
889
- });
890
- function Ir() {
891
- H.value.showTable = !1, dn.value && dn.value.setTableIconState(!1);
892
- }
893
- let Lr = p(() => z.value.style.chart.backgroundColor), Rr = p(() => z.value.style.chart.legend), { exportSvg: zr, getSvg: Br } = ve({
894
- svg: V,
895
- title: p(() => z.value.style.chart.title),
896
- legend: Rr,
897
- legendItems: Z,
898
- backgroundColor: Lr
899
- });
900
- async function Vr({ isCb: e }) {
901
- pn.value = !0, await Re();
902
- try {
903
- if (e) {
904
- let { blob: e, url: t, text: n, dataUrl: r } = await Br();
905
- await Promise.resolve(z.value.userOptions.callbacks.svg({
906
- blob: e,
907
- url: t,
908
- text: n,
909
- dataUrl: r
910
- }));
911
- } else await Promise.resolve(zr());
912
- } finally {
913
- pn.value = !1;
914
- }
915
- }
916
- function Hr(e) {
917
- if (e?.stage === "start") {
918
- fn.value = !0;
919
- return;
920
- }
921
- if (e?.stage === "end") {
922
- fn.value = !1;
923
- return;
924
- }
925
- In();
926
- }
927
- async function Ur() {
928
- if (Sn("copyAlt", {
929
- config: z.value,
930
- dataset: J.value
931
- }), !z.value.userOptions.callbacks.altCopy) {
932
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
933
- return;
934
- }
935
- await Promise.resolve(z.value.userOptions.callbacks.altCopy({
936
- config: z.value,
937
- dataset: J.value
938
- }));
939
- }
940
- let $ = p(() => ({
941
- head: Q.value.head,
942
- body: Q.value.body.map((e) => [
943
- e[0]?.name || "",
944
- e[1],
945
- e[2],
946
- e[3]
947
- ]),
948
- caption: z.value.a11y.translations.tableCaption,
949
- notice: z.value.a11y.translations.tableAvailable
950
- }));
951
- function Wr(e) {
952
- return J.value.findIndex((t) => t.seriesIndex === e);
953
- }
954
- function Gr() {
955
- if (L.value !== null && R.value !== null) {
956
- let e = J.value.find((e) => e.seriesIndex === L.value)?.plots?.[R.value];
957
- e && Tr({
958
- datapoint: e,
959
- plotIndex: R.value,
960
- seriesIndex: L.value
961
- });
962
- }
963
- L.value = null, R.value = null, yn.value = "pointer", rn.value = !1, I.value = null;
964
- }
965
- function Kr() {
966
- L.value = null, R.value = null, bn.value = !0;
967
- }
968
- function qr() {
969
- Gr(), bn.value = !1;
970
- }
971
- function Jr(e, t) {
972
- if (!e?.plots?.length) return null;
973
- let n = e.plots.length;
974
- return (t % n + n) % n;
975
- }
976
- function Yr({ seriesIndex: e, plotIndex: t, direction: n }) {
977
- if (!J.value.length) return null;
978
- let r = Wr(e);
979
- if (r === -1) return null;
980
- if (n === "up" || n === "down") {
981
- let e = J.value[r];
982
- if (!e?.plots?.length) return null;
983
- let i = Jr(e, t + (n === "up" ? -1 : 1));
984
- return {
985
- seriesIndex: e.seriesIndex,
986
- plotIndex: i
987
- };
988
- }
989
- if (n === "left" || n === "right") {
990
- let e = ((r + (n === "left" ? -1 : 1)) % J.value.length + J.value.length) % J.value.length, i = J.value[e];
991
- if (!i?.plots?.length) return null;
992
- let a = Math.min(t, i.plots.length - 1);
993
- return {
994
- seriesIndex: i.seriesIndex,
995
- plotIndex: a
996
- };
997
- }
998
- return null;
999
- }
1000
- function Xr(e) {
1001
- if (!V.value || kr.value || document.activeElement !== V.value || !J.value.length) return;
1002
- let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
1003
- if (!t && !n && !r && !i && !a && !o) return;
1004
- if (e.preventDefault(), e.stopPropagation(), o) {
1005
- Gr();
1006
- return;
1007
- }
1008
- if (a) {
1009
- if (L.value === null || R.value === null) return;
1010
- let e = J.value.find((e) => e.seriesIndex === L.value)?.plots?.[R.value];
1011
- if (!e) return;
1012
- Sr({
1013
- datapoint: e,
1014
- plotIndex: R.value,
1015
- seriesIndex: L.value
1016
- });
1017
- return;
1018
- }
1019
- let s = null;
1020
- if (L.value === null || R.value === null) {
1021
- let e = J.value[0];
1022
- if (!e?.plots?.length) return;
1023
- s = {
1024
- seriesIndex: e.seriesIndex,
1025
- plotIndex: 0
1026
- };
1027
- } else r ? s = Yr({
1028
- seriesIndex: L.value,
1029
- plotIndex: R.value,
1030
- direction: "up"
1031
- }) : i ? s = Yr({
1032
- seriesIndex: L.value,
1033
- plotIndex: R.value,
1034
- direction: "down"
1035
- }) : t ? s = Yr({
1036
- seriesIndex: L.value,
1037
- plotIndex: R.value,
1038
- direction: "left"
1039
- }) : n && (s = Yr({
1040
- seriesIndex: L.value,
1041
- plotIndex: R.value,
1042
- direction: "right"
1043
- }));
1044
- if (!s) return;
1045
- let c = J.value.find((e) => e.seriesIndex === s.seriesIndex)?.plots?.[s.plotIndex];
1046
- c && Dr({
1047
- datapoint: c,
1048
- plotIndex: s.plotIndex,
1049
- seriesIndex: s.seriesIndex,
1050
- triggerMode: "keyboard"
1051
- });
1052
- }
1053
- return we({
1054
- getData: Nr,
1055
- getImage: Pr,
1056
- generatePdf: Fn,
1057
- generateCsv: Or,
1058
- generateImage: In,
1059
- generateSvg: Vr,
1060
- hideSeries: br,
1061
- showSeries: yr,
1062
- toggleTable: jr,
1063
- toggleTooltip: Mr,
1064
- toggleAnnotator: Ar,
1065
- toggleFullscreen: Cr,
1066
- copyAlt: Ur
1067
- }), (e, t) => (C(), g("div", {
1068
- id: `history_plot_${P.value}`,
1069
- ref_key: "historyPlotChart",
1070
- ref: j,
1071
- class: b({
1072
- "vue-data-ui-component": !0,
1073
- "vue-ui-history-plot": !0,
1074
- "vue-data-ui-wrapper-fullscreen": on.value
1075
- }),
1076
- style: S(`background:${z.value.style.chart.backgroundColor};color:${z.value.style.chart.color};font-family:${z.value.style.fontFamily}; position: relative; ${z.value.responsive ? "height: 100%" : ""}`),
1077
- onMouseenter: t[2] ||= () => O(jn)(!0),
1078
- onMouseleave: t[3] ||= () => O(jn)(!1)
1079
- }, [
1080
- _("div", {
1081
- id: `chart-instructions-${P.value}`,
1082
- class: "sr-only"
1083
- }, [_("p", null, D(z.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
1084
- $.value.body.length ? (C(), m(Oe, {
1085
- key: 0,
1086
- uid: P.value,
1087
- head: $.value.head,
1088
- body: $.value.body,
1089
- caption: $.value.caption,
1090
- notice: $.value.notice
1091
- }, null, 8, [
1092
- "uid",
1093
- "head",
1094
- "body",
1095
- "caption",
1096
- "notice"
1097
- ])) : h("", !0),
1098
- E(e.$slots, "userConfig", {}, void 0, !0),
1099
- z.value.userOptions.buttons.annotator ? (C(), m(O(Ut), {
1100
- key: 1,
1101
- svgRef: O(V),
1102
- backgroundColor: z.value.style.chart.backgroundColor,
1103
- color: z.value.style.chart.color,
1104
- active: kr.value,
1105
- isCursorPointer: B.value,
1106
- onClose: Ar
1107
- }, {
1108
- "annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1109
- "annotator-action-color": k(({ color: t }) => [E(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
1110
- "annotator-action-draw": k(({ mode: t }) => [E(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
1111
- "annotator-action-undo": k(({ disabled: t }) => [E(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
1112
- "annotator-action-redo": k(({ disabled: t }) => [E(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
1113
- "annotator-action-delete": k(({ disabled: t }) => [E(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
1114
- _: 3
1115
- }, 8, [
1116
- "svgRef",
1117
- "backgroundColor",
1118
- "color",
1119
- "active",
1120
- "isCursorPointer"
1121
- ])) : h("", !0),
1122
- Ln.value ? (C(), g("div", {
1123
- key: 2,
1124
- ref_key: "noTitle",
1125
- ref: nn,
1126
- class: "vue-data-ui-no-title-space",
1127
- style: "height:36px; width: 100%;background:transparent"
1128
- }, null, 512)) : h("", !0),
1129
- z.value.style.chart.title.text ? (C(), g("div", {
1130
- key: 3,
1131
- ref_key: "chartTitle",
1132
- ref: Xt,
1133
- class: "vue-ui-xy-title",
1134
- style: S(`font-family:${z.value.style.fontFamily}`)
1135
- }, [(C(), m(Ce, {
1136
- key: `title_${Zt.value}`,
1137
- config: {
1138
- title: {
1139
- cy: "history-plot-div-title",
1140
- ...z.value.style.chart.title
1141
- },
1142
- subtitle: {
1143
- cy: "history-plot-div-subtitle",
1144
- ...z.value.style.chart.title.subtitle
1145
- }
1146
- }
1147
- }, null, 8, ["config"]))], 4)) : h("", !0),
1148
- _("div", { id: `legend-top-${P.value}` }, null, 8, Ye),
1149
- z.value.userOptions.show && xn.value && (O(Mn) || O(An)) ? (C(), m(O(Wt), {
1150
- ref_key: "userOptionsRef",
1151
- ref: dn,
1152
- key: `user_option_${tn.value}`,
1153
- backgroundColor: z.value.style.chart.backgroundColor,
1154
- color: z.value.style.chart.color,
1155
- isPrinting: O(Nn),
1156
- isImaging: O(Pn),
1157
- uid: P.value,
1158
- hasTooltip: z.value.style.chart.tooltip.show && z.value.userOptions.buttons.tooltip,
1159
- hasPdf: z.value.userOptions.buttons.pdf,
1160
- hasImg: z.value.userOptions.buttons.img,
1161
- hasSvg: z.value.userOptions.buttons.svg,
1162
- hasXls: z.value.userOptions.buttons.csv,
1163
- hasTable: z.value.userOptions.buttons.table,
1164
- hasLabel: !1,
1165
- hasFullscreen: z.value.userOptions.buttons.fullscreen,
1166
- hasAltCopy: z.value.userOptions.buttons.altCopy,
1167
- isFullscreen: on.value,
1168
- chartElement: j.value,
1169
- position: z.value.userOptions.position,
1170
- isTooltip: H.value.showTooltip,
1171
- titles: { ...z.value.userOptions.buttonTitles },
1172
- hasAnnotator: z.value.userOptions.buttons.annotator,
1173
- isAnnotation: kr.value,
1174
- callbacks: z.value.userOptions.callbacks,
1175
- printScale: z.value.userOptions.print.scale,
1176
- tableDialog: z.value.table.useDialog,
1177
- isCursorPointer: B.value,
1178
- onToggleFullscreen: Cr,
1179
- onGeneratePdf: O(Fn),
1180
- onGenerateCsv: Or,
1181
- onGenerateImage: Hr,
1182
- onGenerateSvg: Vr,
1183
- onToggleTable: jr,
1184
- onToggleTooltip: Mr,
1185
- onToggleAnnotator: Ar,
1186
- onCopyAlt: Ur,
1187
- style: S({ visibility: O(Mn) ? O(An) ? "visible" : "hidden" : "visible" })
1188
- }, Pe({ _: 2 }, [
1189
- e.$slots.menuIcon ? {
1190
- name: "menuIcon",
1191
- fn: k(({ isOpen: t, color: n }) => [E(e.$slots, "menuIcon", x(y({
1192
- isOpen: t,
1193
- color: n
1194
- })), void 0, !0)]),
1195
- key: "0"
1196
- } : void 0,
1197
- e.$slots.optionTooltip ? {
1198
- name: "optionTooltip",
1199
- fn: k(() => [E(e.$slots, "optionTooltip", {}, void 0, !0)]),
1200
- key: "1"
1201
- } : void 0,
1202
- e.$slots.optionPdf ? {
1203
- name: "optionPdf",
1204
- fn: k(() => [E(e.$slots, "optionPdf", {}, void 0, !0)]),
1205
- key: "2"
1206
- } : void 0,
1207
- e.$slots.optionCsv ? {
1208
- name: "optionCsv",
1209
- fn: k(() => [E(e.$slots, "optionCsv", {}, void 0, !0)]),
1210
- key: "3"
1211
- } : void 0,
1212
- e.$slots.optionImg ? {
1213
- name: "optionImg",
1214
- fn: k(() => [E(e.$slots, "optionImg", {}, void 0, !0)]),
1215
- key: "4"
1216
- } : void 0,
1217
- e.$slots.optionSvg ? {
1218
- name: "optionSvg",
1219
- fn: k(() => [E(e.$slots, "optionSvg", {}, void 0, !0)]),
1220
- key: "5"
1221
- } : void 0,
1222
- e.$slots.optionTable ? {
1223
- name: "optionTable",
1224
- fn: k(() => [E(e.$slots, "optionTable", {}, void 0, !0)]),
1225
- key: "6"
1226
- } : void 0,
1227
- e.$slots.optionFullscreen ? {
1228
- name: "optionFullscreen",
1229
- fn: k(({ toggleFullscreen: t, isFullscreen: n }) => [E(e.$slots, "optionFullscreen", x(y({
1230
- toggleFullscreen: t,
1231
- isFullscreen: n
1232
- })), void 0, !0)]),
1233
- key: "7"
1234
- } : void 0,
1235
- e.$slots.optionAnnotator ? {
1236
- name: "optionAnnotator",
1237
- fn: k(({ toggleAnnotator: t, isAnnotator: n }) => [E(e.$slots, "optionAnnotator", x(y({
1238
- toggleAnnotator: t,
1239
- isAnnotator: n
1240
- })), void 0, !0)]),
1241
- key: "8"
1242
- } : void 0,
1243
- e.$slots.optionAltCopy ? {
1244
- name: "optionAltCopy",
1245
- fn: k(({ altCopy: t }) => [E(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
1246
- key: "9"
1247
- } : void 0,
1248
- e.$slots["custom-menu-before"] ? {
1249
- name: "custom-menu-before",
1250
- fn: k(() => [E(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1251
- key: "10"
1252
- } : void 0,
1253
- e.$slots["custom-menu-after"] ? {
1254
- name: "custom-menu-after",
1255
- fn: k(() => [E(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1256
- key: "11"
1257
- } : void 0
1258
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : h("", !0),
1259
- _("div", Xe, [(C(), g("svg", {
1260
- ref_key: "svgRef",
1261
- ref: V,
1262
- xmlns: O(de),
1263
- viewBox: `0 0 ${U.value.width < 0 ? .1 : U.value.width} ${U.value.height < 0 ? .1 : U.value.height}`,
1264
- style: S(`max-width:100%;overflow:visible;background:transparent;color:${z.value.style.chart.color}`),
1265
- "aria-describedby": `chart-instructions-${P.value}`,
1266
- tabindex: "0",
1267
- onFocus: Kr,
1268
- onBlur: qr,
1269
- onKeydown: Xr
1270
- }, [
1271
- Ie(O(Gt)),
1272
- e.$slots["chart-background"] ? (C(), g("foreignObject", {
1273
- key: 0,
1274
- x: W.value.left,
1275
- y: W.value.top,
1276
- width: W.value.width <= 0 ? 10 : W.value.width,
1277
- height: W.value.height <= 0 ? 10 : W.value.height,
1278
- style: { pointerEvents: "none" }
1279
- }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, Qe)) : h("", !0),
1280
- z.value.style.chart.plots.gradient.show || $n.value ? (C(), g("defs", $e, [z.value.style.chart.plots.gradient.show ? (C(!0), g(f, { key: 0 }, T(J.value, (e, t) => (C(), g("radialGradient", {
1281
- key: `gradient_${t}_${P.value}`,
1282
- id: `gradient_${t}_${P.value}`,
1283
- fy: "30%"
1284
- }, [
1285
- _("stop", {
1286
- offset: "10%",
1287
- "stop-color": O(pe)(e.color, z.value.style.chart.plots.gradient.intensity / 100)
1288
- }, null, 8, tt),
1289
- _("stop", {
1290
- offset: "90%",
1291
- "stop-color": O(s)(e.color, .1)
1292
- }, null, 8, nt),
1293
- _("stop", {
1294
- offset: "100%",
1295
- "stop-color": e.color
1296
- }, null, 8, rt)
1297
- ], 8, et))), 128)) : h("", !0), (C(!0), g(f, null, T(J.value, (e) => (C(), g(f, { key: `temperature_grad_history_template_${e.seriesIndex}_${P.value}` }, [z.value.style.chart.plots.gradient.show && tr(e) ? (C(!0), g(f, { key: 0 }, T(e.plots, (t) => (C(), g("radialGradient", {
1298
- key: `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${P.value}`,
1299
- id: sr(e, t),
1300
- fy: "30%"
1301
- }, [
1302
- _("stop", {
1303
- offset: "10%",
1304
- "stop-color": O(pe)(Y(e, t), z.value.style.chart.plots.gradient.intensity / 100)
1305
- }, null, 8, at),
1306
- _("stop", {
1307
- offset: "90%",
1308
- "stop-color": O(s)(Y(e, t), .1)
1309
- }, null, 8, ot),
1310
- _("stop", {
1311
- offset: "100%",
1312
- "stop-color": Y(e, t)
1313
- }, null, 8, st)
1314
- ], 8, it))), 128)) : h("", !0), er(e) ? (C(), g("linearGradient", {
1315
- key: 1,
1316
- id: `temperature_grad_history_${e.seriesIndex}_${P.value}`,
1317
- gradientUnits: "userSpaceOnUse",
1318
- x1: ar(e).x1,
1319
- y1: ar(e).y1,
1320
- x2: ar(e).x2,
1321
- y2: ar(e).y2
1322
- }, [(C(!0), g(f, null, T(e.temperatureColors, (t, n) => (C(), g("stop", {
1323
- key: `temperature_grad_history_stop_${e.seriesIndex}_${n}_${P.value}`,
1324
- "stop-color": t,
1325
- offset: e.temperatureColors.length === 1 ? "0%" : O(i)(n, e.temperatureColors.length)
1326
- }, null, 8, lt))), 128))], 8, ct)) : h("", !0)], 64))), 128))])) : h("", !0),
1327
- z.value.style.chart.grid.verticalLines.show ? (C(), g("g", ut, [(C(!0), g(f, null, T(q.value.tickX, (e) => (C(), g("line", {
1328
- x1: e.x,
1329
- x2: e.x,
1330
- y1: e.y1,
1331
- y2: e.y2,
1332
- stroke: z.value.style.chart.grid.verticalLines.stroke,
1333
- "stroke-width": z.value.style.chart.grid.verticalLines.strokeWidth,
1334
- "stroke-linecap": "round"
1335
- }, null, 8, dt))), 256))])) : h("", !0),
1336
- z.value.style.chart.axes.y.labels.show ? (C(), g("g", ft, [(C(!0), g(f, null, T(q.value.tickY, (e) => (C(), g("line", {
1337
- stroke: z.value.style.chart.grid.verticalLines.stroke,
1338
- "stroke-width": z.value.style.chart.grid.verticalLines.strokeWidth,
1339
- "stroke-linecap": "round",
1340
- x1: W.value.left - 5,
1341
- x2: W.value.left,
1342
- y1: e.y,
1343
- y2: e.y
1344
- }, null, 8, pt))), 256))])) : h("", !0),
1345
- z.value.style.chart.axes.y.labels.show ? (C(), g("g", {
1346
- key: 4,
1347
- ref_key: "yAxisScales",
1348
- ref: _n
1349
- }, [(C(!0), g(f, null, T(q.value.tickY, (e) => (C(), g("text", {
1350
- x: W.value.left + z.value.style.chart.axes.y.labels.offsetX - 4 - z.value.style.chart.plots.radius,
1351
- y: e.y + G.value.yAxisLabels / 3,
1352
- fill: z.value.style.chart.axes.y.labels.color,
1353
- "font-size": G.value.yAxisLabels,
1354
- "text-anchor": "end"
1355
- }, D(O(u)(z.value.style.chart.axes.y.labels.formatter, e.value, O(d)({
1356
- p: z.value.style.chart.axes.y.labels.prefix,
1357
- v: e.value,
1358
- s: z.value.style.chart.axes.y.labels.suffix,
1359
- r: z.value.style.chart.axes.y.labels.rounding
1360
- }))), 9, mt))), 256))], 512)) : h("", !0),
1361
- z.value.style.chart.axes.y.name.text ? (C(), g("text", {
1362
- key: 5,
1363
- ref_key: "yAxisLabel",
1364
- ref: hn,
1365
- transform: `translate(${G.value.yAxisName}, ${U.value.height / 2 + z.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
1366
- "font-size": G.value.yAxisName,
1367
- fill: z.value.style.chart.axes.y.name.color,
1368
- "font-weight": z.value.style.chart.axes.y.name.bold ? "bold" : "normal",
1369
- "text-anchor": "middle"
1370
- }, D(z.value.style.chart.axes.y.name.text), 9, ht)) : h("", !0),
1371
- z.value.style.chart.grid.horizontalLines.show ? (C(), g("g", gt, [(C(!0), g(f, null, T(q.value.tickY, (e) => (C(), g("line", {
1372
- x1: e.x1,
1373
- x2: e.x2,
1374
- y1: e.y,
1375
- y2: e.y,
1376
- stroke: z.value.style.chart.grid.horizontalLines.stroke,
1377
- "stroke-width": z.value.style.chart.grid.horizontalLines.strokeWidth,
1378
- "stroke-linecap": "round"
1379
- }, null, 8, _t))), 256))])) : h("", !0),
1380
- z.value.style.chart.axes.x.labels.show ? (C(), g("g", vt, [(C(!0), g(f, null, T(q.value.tickX, (e) => (C(), g("line", {
1381
- stroke: z.value.style.chart.grid.verticalLines.stroke,
1382
- "stroke-width": z.value.style.chart.grid.verticalLines.strokeWidth,
1383
- "stroke-linecap": "round",
1384
- x1: e.x,
1385
- x2: e.x,
1386
- y1: W.value.bottom,
1387
- y2: W.value.bottom + 5
1388
- }, null, 8, yt))), 256))])) : h("", !0),
1389
- z.value.style.chart.axes.x.labels.show ? (C(), g("g", {
1390
- key: 8,
1391
- ref_key: "xAxisScales",
1392
- ref: gn
1393
- }, [(C(!0), g(f, null, T(q.value.tickX, (e) => (C(), g("text", {
1394
- class: "vue-ui-history-plot-x-axis-scale",
1395
- transform: `translate(${e.x}, ${W.value.bottom + z.value.style.chart.axes.x.labels.offsetY + G.value.xAxisLabels + z.value.style.chart.plots.radius}), rotate(${z.value.style.chart.axes.x.labels.rotation})`,
1396
- fill: z.value.style.chart.axes.x.labels.color,
1397
- "font-size": G.value.xAxisLabels,
1398
- "text-anchor": z.value.style.chart.axes.x.labels.rotation > 0 ? "start" : z.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
1399
- }, D(O(u)(z.value.style.chart.axes.x.labels.formatter, e.value, O(d)({
1400
- p: z.value.style.chart.axes.x.labels.prefix,
1401
- v: e.value,
1402
- s: z.value.style.chart.axes.x.labels.suffix,
1403
- r: z.value.style.chart.axes.x.labels.rounding
1404
- }))), 9, bt))), 256))], 512)) : h("", !0),
1405
- z.value.style.chart.axes.x.name.text ? (C(), g("text", {
1406
- key: 9,
1407
- ref_key: "xAxisLabel",
1408
- ref: mn,
1409
- x: U.value.width / 2 + z.value.style.chart.axes.x.name.offsetX,
1410
- y: U.value.height,
1411
- "font-size": G.value.xAxisName,
1412
- fill: z.value.style.chart.axes.x.name.color,
1413
- "font-weight": z.value.style.chart.axes.x.name.bold ? "bold" : "normal",
1414
- "text-anchor": "middle"
1415
- }, D(z.value.style.chart.axes.x.name.text), 9, xt)) : h("", !0),
1416
- z.value.style.chart.grid.xAxis.show ? (C(), g("line", {
1417
- key: 10,
1418
- x1: W.value.left,
1419
- x2: W.value.left + W.value.width,
1420
- y1: W.value.bottom,
1421
- y2: W.value.bottom,
1422
- stroke: z.value.style.chart.grid.xAxis.stroke,
1423
- "stroke-width": z.value.style.chart.grid.xAxis.strokeWidth,
1424
- "stroke-linecap": "round"
1425
- }, null, 8, St)) : h("", !0),
1426
- z.value.style.chart.grid.yAxis.show ? (C(), g("line", {
1427
- key: 11,
1428
- x1: W.value.left,
1429
- x2: W.value.left,
1430
- y1: W.value.top,
1431
- y2: W.value.bottom,
1432
- stroke: z.value.style.chart.grid.yAxis.stroke,
1433
- "stroke-width": z.value.style.chart.grid.yAxis.strokeWidth,
1434
- "stroke-linecap": "round"
1435
- }, null, 8, Ct)) : h("", !0),
1436
- (C(!0), g(f, null, T(Qn.value, (e) => (C(), g("g", { key: `history_plot_serie_${e.seriesIndex}_${P.value}` }, [
1437
- z.value.style.chart.paths.show ? (C(), g("g", {
1438
- key: 0,
1439
- style: S({ opacity: pr(e.seriesIndex) })
1440
- }, [_("path", {
1441
- d: e.path,
1442
- stroke: z.value.style.chart.backgroundColor,
1443
- "stroke-width": z.value.style.chart.paths.strokeWidth + 4,
1444
- fill: "none",
1445
- "stroke-linecap": "round",
1446
- "stroke-linejoin": "round",
1447
- class: b({ animated: X() })
1448
- }, null, 10, wt), _("path", {
1449
- d: e.path,
1450
- stroke: fr(e),
1451
- "stroke-width": z.value.style.chart.paths.strokeWidth,
1452
- fill: "none",
1453
- "stroke-linecap": "round",
1454
- "stroke-linejoin": "round",
1455
- class: b({ animated: X() })
1456
- }, null, 10, Tt)], 4)) : h("", !0),
1457
- (C(!0), g(f, null, T(e.plots, (e) => (C(), g("circle", {
1458
- cx: e.x,
1459
- cy: e.y,
1460
- fill: z.value.style.chart.backgroundColor,
1461
- r: G.value.plots,
1462
- stroke: "none"
1463
- }, null, 8, Et))), 256)),
1464
- (C(!0), g(f, null, T(e.plots, (t) => (C(), g("circle", {
1465
- cx: t.x,
1466
- cy: t.y,
1467
- fill: cr(e, t, e.gradientIndex),
1468
- r: G.value.plots,
1469
- stroke: z.value.style.chart.plots.stroke,
1470
- "stroke-width": z.value.style.chart.plots.strokeWidth,
1471
- class: b({ animated: X() }),
1472
- style: S({
1473
- opacity: pr(e.seriesIndex),
1474
- transition: hr()
1475
- })
1476
- }, null, 14, Dt))), 256)),
1477
- z.value.style.chart.plots.labels.show ? (C(), g("g", Ot, [(C(!0), g(f, null, T(e.plots, (t) => (C(), g("g", null, [String(t.label).includes("\n") ? (C(), g("text", {
1478
- key: 1,
1479
- x: t.x + z.value.style.chart.plots.labels.offsetX,
1480
- y: t.y + z.value.style.chart.plots.labels.offsetY + G.value.plots + G.value.labels,
1481
- "font-size": G.value.labels,
1482
- fill: z.value.style.chart.plots.labels.color,
1483
- "font-weight": z.value.style.chart.plots.labels.bold ? "bold" : "normal",
1484
- "text-anchor": "middle",
1485
- class: b({ animated: X() }),
1486
- style: S({
1487
- opacity: pr(e.seriesIndex),
1488
- transition: hr()
1489
- }),
1490
- innerHTML: O(a)({
1491
- content: String(t.label),
1492
- fontSize: G.value.labels,
1493
- fill: z.value.style.chart.plots.labels.color,
1494
- x: t.x + z.value.style.chart.plots.labels.offsetX,
1495
- y: t.y + z.value.style.chart.plots.labels.offsetY + G.value.plots + G.value.labels
1496
- })
1497
- }, null, 14, At)) : (C(), g("text", {
1498
- key: 0,
1499
- x: t.x + z.value.style.chart.plots.labels.offsetX,
1500
- y: t.y + z.value.style.chart.plots.labels.offsetY + G.value.plots + G.value.labels,
1501
- "font-size": G.value.labels,
1502
- fill: z.value.style.chart.plots.labels.color,
1503
- "font-weight": z.value.style.chart.plots.labels.bold ? "bold" : "normal",
1504
- "text-anchor": "middle",
1505
- class: b({ animated: X() }),
1506
- style: S({
1507
- opacity: pr(e.seriesIndex),
1508
- transition: hr()
1509
- })
1510
- }, D(t.label), 15, kt))]))), 256))])) : h("", !0),
1511
- z.value.style.chart.plots.indexLabels.show ? (C(), g("g", jt, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("text", {
1512
- x: t.x + z.value.style.chart.plots.indexLabels.offsetX,
1513
- y: t.y + z.value.style.chart.plots.indexLabels.offsetY + G.value.indexLabels / 3,
1514
- "font-size": G.value.indexLabels,
1515
- "font-weight": z.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
1516
- fill: ur(e, t),
1517
- "text-anchor": "middle",
1518
- class: b({ animated: X() }),
1519
- style: S({
1520
- opacity: pr(e.seriesIndex),
1521
- transition: hr()
1522
- })
1523
- }, D(z.value.style.chart.plots.indexLabels.startAtZero ? n : n + 1), 15, Mt))), 256))])) : h("", !0)
1524
- ]))), 128)),
1525
- (C(!0), g(f, null, T(Qn.value, (e) => (C(), g("g", { key: `history_plot_trap_serie_${e.seriesIndex}_${P.value}` }, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("circle", {
1526
- cx: t.x,
1527
- cy: t.y,
1528
- fill: "transparent",
1529
- r: G.value.plots,
1530
- stroke: "none",
1531
- onMouseenter: (r) => Dr({
1532
- datapoint: t,
1533
- plotIndex: n,
1534
- seriesIndex: e.seriesIndex,
1535
- triggerMode: "pointer"
1536
- }),
1537
- onMouseleave: (r) => Tr({
1538
- datapoint: t,
1539
- plotIndex: n,
1540
- seriesIndex: e.seriesIndex
1541
- }),
1542
- onClick: (r) => Sr({
1543
- datapoint: t,
1544
- plotIndex: n,
1545
- seriesIndex: e.seriesIndex
1546
- })
1547
- }, null, 40, Nt))), 256))]))), 128)),
1548
- E(e.$slots, "svg", { svg: {
1549
- ...U.value,
1550
- drawingArea: W.value,
1551
- isPrintingImg: O(Nn) || O(Pn) || fn.value,
1552
- isPrintingSvg: pn.value
1553
- } }, void 0, !0)
1554
- ], 44, Ze)), e.$slots.hint ? (C(), g("div", Pt, [E(e.$slots, "hint", x(y({
1555
- hint: z.value.a11y.translations.keyboardNavigation,
1556
- isVisible: bn.value
1557
- })), void 0, !0)])) : h("", !0)]),
1558
- e.$slots.watermark ? (C(), g("div", Ft, [E(e.$slots, "watermark", x(y({ isPrinting: O(Nn) || O(Pn) || fn.value || pn.value })), void 0, !0)])) : h("", !0),
1559
- _("div", { id: `legend-bottom-${P.value}` }, null, 8, It),
1560
- ln.value && (z.value.style.chart.legend.show || e.$slots.legend) ? (C(), m(Ne, {
1561
- key: 6,
1562
- to: z.value.style.chart.legend.position === "top" ? `#legend-top-${P.value}` : `#legend-bottom-${P.value}`
1563
- }, [_("div", {
1564
- ref_key: "chartLegend",
1565
- ref: Qt
1566
- }, [E(e.$slots, "legend", { legend: Z.value }, () => [z.value.style.chart.legend.show && xn.value ? (C(), m(je, {
1567
- key: `legend_${$t.value}`,
1568
- legendSet: Z.value,
1569
- config: xr.value,
1570
- isCursorPointer: B.value,
1571
- onClickMarker: t[0] ||= ({ legend: e }) => {
1572
- _r(e.seriesIndex);
1573
- }
1574
- }, {
1575
- item: k(({ legend: e, index: t }) => [_("div", {
1576
- onClick: (t) => e.segregate(),
1577
- style: S(`opacity:${F.value.includes(e.seriesIndex) ? .5 : 1}`)
1578
- }, D(e.name), 13, Lt)]),
1579
- legendToggle: k(() => [Z.value.length > 2 && z.value.style.chart.legend.selectAllToggle.show && !O(Dn) ? (C(), m(De, {
1580
- key: 0,
1581
- backgroundColor: z.value.style.chart.legend.selectAllToggle.backgroundColor,
1582
- color: z.value.style.chart.legend.selectAllToggle.color,
1583
- fontSize: z.value.style.chart.legend.fontSize,
1584
- checked: F.value.length > 0,
1585
- isCursorPointer: B.value,
1586
- onToggle: gr
1587
- }, null, 8, [
1588
- "backgroundColor",
1589
- "color",
1590
- "fontSize",
1591
- "checked",
1592
- "isCursorPointer"
1593
- ])) : h("", !0)]),
1594
- _: 1
1595
- }, 8, [
1596
- "legendSet",
1597
- "config",
1598
- "isCursorPointer"
1599
- ])) : h("", !0)], !0)], 512)], 8, ["to"])) : h("", !0),
1600
- e.$slots.source ? (C(), g("div", {
1601
- key: 7,
1602
- ref_key: "source",
1603
- ref: cn,
1604
- dir: "auto"
1605
- }, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1606
- Ie(O(zt), {
1607
- teleportTo: z.value.style.chart.tooltip.teleportTo,
1608
- show: H.value.showTooltip && rn.value,
1609
- backgroundColor: z.value.style.chart.tooltip.backgroundColor,
1610
- color: z.value.style.chart.tooltip.color,
1611
- fontSize: z.value.style.chart.tooltip.fontSize,
1612
- borderRadius: z.value.style.chart.tooltip.borderRadius,
1613
- borderColor: z.value.style.chart.tooltip.borderColor,
1614
- borderWidth: z.value.style.chart.tooltip.borderWidth,
1615
- backgroundOpacity: z.value.style.chart.tooltip.backgroundOpacity,
1616
- position: z.value.style.chart.tooltip.position,
1617
- offsetX: z.value.style.chart.tooltip.offsetX,
1618
- offsetY: z.value.style.chart.tooltip.offsetY,
1619
- parent: j.value,
1620
- content: an.value,
1621
- isCustom: sn.value,
1622
- isFullscreen: on.value,
1623
- smooth: z.value.style.chart.tooltip.smooth,
1624
- backdropFilter: z.value.style.chart.tooltip.backdropFilter,
1625
- smoothForce: z.value.style.chart.tooltip.smoothForce,
1626
- smoothSnapThreshold: z.value.style.chart.tooltip.smoothSnapThreshold,
1627
- isA11yMode: yn.value === "keyboard",
1628
- a11yPosition: vn.value
1629
- }, {
1630
- "tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...wr.value })), void 0, !0)]),
1631
- tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...wr.value })), void 0, !0)]),
1632
- "tooltip-after": k(() => [E(e.$slots, "tooltip-after", x(y({ ...wr.value })), void 0, !0)]),
1633
- _: 3
1634
- }, 8, [
1635
- "teleportTo",
1636
- "show",
1637
- "backgroundColor",
1638
- "color",
1639
- "fontSize",
1640
- "borderRadius",
1641
- "borderColor",
1642
- "borderWidth",
1643
- "backgroundOpacity",
1644
- "position",
1645
- "offsetX",
1646
- "offsetY",
1647
- "parent",
1648
- "content",
1649
- "isCustom",
1650
- "isFullscreen",
1651
- "smooth",
1652
- "backdropFilter",
1653
- "smoothForce",
1654
- "smoothSnapThreshold",
1655
- "isA11yMode",
1656
- "a11yPosition"
1657
- ]),
1658
- xn.value && z.value.userOptions.buttons.table ? (C(), m(Ve(Fr.value.component), Le({ key: 8 }, Fr.value.props, {
1659
- ref_key: "tableUnit",
1660
- ref: un,
1661
- onClose: Ir
1662
- }), Pe({
1663
- content: k(() => [(C(), m(O(Ht), {
1664
- key: `table_${en.value}`,
1665
- colNames: Q.value.colNames,
1666
- head: Q.value.head,
1667
- body: Q.value.body,
1668
- config: Q.value.config,
1669
- title: z.value.table.useDialog ? "" : Fr.value.title,
1670
- withCloseButton: !z.value.table.useDialog,
1671
- isCursorPointer: B.value,
1672
- onClose: Ir
1673
- }, {
1674
- th: k(({ th: e }) => [_("div", {
1675
- innerHTML: e,
1676
- style: {
1677
- display: "flex",
1678
- "align-items": "center"
1679
- }
1680
- }, null, 8, Rt)]),
1681
- td: k(({ td: e }) => [Fe(D(e.name || e), 1)]),
1682
- _: 1
1683
- }, 8, [
1684
- "colNames",
1685
- "head",
1686
- "body",
1687
- "config",
1688
- "title",
1689
- "withCloseButton",
1690
- "isCursorPointer"
1691
- ]))]),
1692
- _: 2
1693
- }, [z.value.table.useDialog ? {
1694
- name: "title",
1695
- fn: k(() => [Fe(D(Fr.value.title), 1)]),
1696
- key: "0"
1697
- } : void 0, z.value.table.useDialog ? {
1698
- name: "actions",
1699
- fn: k(() => [_("button", {
1700
- tabindex: "0",
1701
- class: "vue-ui-user-options-button",
1702
- onClick: t[1] ||= (e) => Or(z.value.userOptions.callbacks.csv),
1703
- style: S({ cursor: B.value ? "pointer" : "default" })
1704
- }, [Ie(O(Bt), {
1705
- name: "fileCsv",
1706
- stroke: Fr.value.props.color
1707
- }, null, 8, ["stroke"])], 4)]),
1708
- key: "1"
1709
- } : void 0]), 1040)) : h("", !0),
1710
- E(e.$slots, "skeleton", {}, () => [O(Dn) ? (C(), m(_e, { key: 0 })) : h("", !0)], !0)
1711
- ], 46, qe));
1712
- }
1713
- }, [["__scopeId", "data-v-76063362"]]);
1714
- //#endregion
1715
- export { Ke as n, zt as t };