vue-data-ui 3.25.11 → 3.25.13

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