vue-data-ui 3.22.6 → 3.22.7

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 (191) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DaGI9u-b.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-_-BX7be3.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-CHnlKalt.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C9bdZSCj.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-TB3KhY3j.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-CVF7DoZn.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-kAr7Vqqu.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-CEiv7_gM.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-Dse0n05o.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-gaV1QPpP.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-CiQIxyyT.js} +1 -1
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-6FOtg9py.js} +2 -2
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-DUywypFu.js} +4 -4
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-B-qsPj68.js} +1 -1
  16. package/dist/{Title-C-p0ilWB.js → Title-PiTKr6sp.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-B8yYfISA.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.js → UserOptions-BL9VlHop.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-BZjYWNEg.js} +1 -1
  89. package/dist/exposedLib-Be0ifkti.js +19 -0
  90. package/dist/{img-B_y5qDdm.js → img-B_abIg0o.js} +1 -1
  91. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-CTDRZdP1.js} +1 -1
  92. package/dist/{lib-DRBJCmHW.js → lib-EAmk-PgA.js} +14 -1
  93. package/dist/{package-DyQ_PQis.js → package-DeMimPej.js} +1 -1
  94. package/dist/{pdf-CG02qhAH.js → pdf-B6qrdEqB.js} +1 -1
  95. package/dist/{render-common-CUAlQvAQ.js → render-common-DMai0gHB.js} +2 -2
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
  101. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-D8XqxgOU.js} +1 -1
  102. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-DnGzpp6Q.js} +2 -2
  103. package/dist/utils.js +10 -10
  104. package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-D6qVWloL.js} +68 -68
  105. package/dist/vue-data-ui.js +72 -72
  106. package/dist/vue-ui-3d-bar-CjNuWXoA.js +1757 -0
  107. package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-Dzz8XhX3.js} +3 -3
  108. package/dist/{vue-ui-age-pyramid-BF5ZuuyI.js → vue-ui-age-pyramid-CC7Dxli-.js} +21 -21
  109. package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-DXZumSP8.js} +67 -67
  110. package/dist/{vue-ui-bullet-C_oBS1cr.js → vue-ui-bullet-Dde6FhbR.js} +17 -17
  111. package/dist/{vue-ui-bump-BZB1Na8h.js → vue-ui-bump-C5pni1JV.js} +243 -243
  112. package/dist/{vue-ui-candlestick-8d_1xO8X.js → vue-ui-candlestick-Ctw65O4_.js} +449 -446
  113. package/dist/{vue-ui-carousel-table-BfZNcwmY.js → vue-ui-carousel-table-BEUvhUH0.js} +42 -42
  114. package/dist/vue-ui-chestnut-C3IbAdkQ.js +2010 -0
  115. package/dist/vue-ui-chord-5eCWG4br.js +1391 -0
  116. package/dist/{vue-ui-circle-pack-BLh8HnGK.js → vue-ui-circle-pack-Cq4lkmee.js} +31 -31
  117. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLJcFwRZ.js} +3 -3
  118. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DemsIecS.js} +23 -23
  119. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-DWHD_wNN.js} +69 -69
  120. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-sIKc85vS.js} +3 -3
  121. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-CLheJPcO.js} +414 -414
  122. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-Dp6GW0dw.js} +85 -85
  123. package/dist/{vue-ui-donut-evolution-D1k4u6cA.js → vue-ui-donut-evolution-zmRPpJLj.js} +419 -419
  124. package/dist/vue-ui-dumbbell-bSbgHd0U.js +1530 -0
  125. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-q_M7O1BK.js} +83 -83
  126. package/dist/vue-ui-funnel-BEZUEuuh.js +777 -0
  127. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DCCWmIyH.js} +250 -250
  128. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-B1ljgfE1.js} +216 -216
  129. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-CM59rpnj.js} +17 -17
  130. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-D2RL6IVp.js} +62 -62
  131. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-BX6PQxML.js} +245 -245
  132. package/dist/vue-ui-history-plot-DaHAeQph.js +1715 -0
  133. package/dist/{vue-ui-horizontal-bar-CwB4sc6M.js → vue-ui-horizontal-bar-CTW6l4n3.js} +274 -274
  134. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-DLbP7lJR.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-DPHzHsM7.js} +2 -2
  136. package/dist/vue-ui-molecule-aD0SMTiX.js +925 -0
  137. package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-CCWaPr0P.js} +29 -29
  138. package/dist/{vue-ui-nested-donuts-wfesrzle.js → vue-ui-nested-donuts--BCPWkl7.js} +104 -104
  139. package/dist/{vue-ui-onion-B8-psLbF.js → vue-ui-onion-s4iMCGAP.js} +39 -39
  140. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +1416 -0
  141. package/dist/vue-ui-quadrant-T_UmRAAy.js +1978 -0
  142. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +2469 -0
  143. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-CHjeGOMC.js} +78 -78
  144. package/dist/{vue-ui-rating-CKWHDKOT.js → vue-ui-rating-Bek8Tgr-.js} +33 -33
  145. package/dist/vue-ui-relation-circle-DRZGQ_UX.js +924 -0
  146. package/dist/{vue-ui-ridgeline-DVbYznRz.js → vue-ui-ridgeline-DIODGiu8.js} +101 -101
  147. package/dist/vue-ui-rings-CcdUSXGG.js +1246 -0
  148. package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
  149. package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-Fmue6DAG.js} +3 -3
  150. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-BVMI5vUy.js} +9 -9
  151. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-DfZeLiWA.js} +98 -98
  152. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-Cl1e49sw.js} +87 -87
  153. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DDNNBIdf.js} +48 -48
  154. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-ny_liYa6.js} +104 -104
  155. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-BNxdO-Bx.js} +268 -268
  156. package/dist/vue-ui-sparkstackbar-BfF5-Wg2.js +662 -0
  157. package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
  158. package/dist/{vue-ui-stackline-C0NHBUaE.js → vue-ui-stackline-CdvVPQUM.js} +697 -694
  159. package/dist/{vue-ui-strip-plot-_6LL45i9.js → vue-ui-strip-plot-CRXPXA5V.js} +368 -368
  160. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Dr1dK3d_.js} +25 -25
  161. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D-Qrm3oX.js} +5 -5
  162. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-C31Q32My.js} +201 -201
  163. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-BUrtIfuo.js} +119 -119
  164. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-B5bkNNHS.js} +29 -29
  165. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-Bn8b-ZSz.js} +14 -14
  166. package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
  167. package/dist/{vue-ui-waffle-afa8HSxz.js → vue-ui-waffle-B_L3gkky.js} +306 -306
  168. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-CeVwXtEX.js} +36 -36
  169. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-D81-qJLw.js} +37 -37
  170. package/dist/{vue-ui-world-CqS-HhZl.js → vue-ui-world-B7npRmTa.js} +399 -399
  171. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-C2p9H2IX.js} +1438 -1436
  172. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-OhwS0kcZ.js} +218 -218
  173. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-DLKDdH35.js} +420 -417
  174. package/package.json +1 -1
  175. package/dist/exposedLib-CjwriUaG.js +0 -19
  176. package/dist/vue-ui-3d-bar-BAH0jNtT.js +0 -1757
  177. package/dist/vue-ui-chestnut-Cx8T3NEl.js +0 -2010
  178. package/dist/vue-ui-chord-B-sauvLo.js +0 -1391
  179. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  180. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  181. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  182. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  183. package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +0 -1416
  184. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  185. package/dist/vue-ui-quick-chart-so_8PzvS.js +0 -2469
  186. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  187. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  188. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  189. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  190. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  191. package/dist/vue-ui-treemap-B03c4RIy.js +0 -1713
@@ -1,37 +1,37 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Dt as n, Ht as r, Q as i, S as a, W as o, X as ee, b as te, f as ne, i as re, lt as ie, q as ae, w as oe } from "./lib-DRBJCmHW.js";
3
- import { t as se } from "./useConfig-DYM3f6EI.js";
4
- import { t as ce } from "./usePrinter-CRp5IW3v.js";
5
- import { t as s } from "./useNestedProp-BEo2N1Db.js";
2
+ import { Ot as t, Q as n, S as r, Ut as i, W as a, X as o, b as ee, f as te, i as ne, jt as s, q as re, ut as ie, w as ae } from "./lib-EAmk-PgA.js";
3
+ import { t as oe } from "./useConfig-DYM3f6EI.js";
4
+ import { t as se } from "./usePrinter-DnGzpp6Q.js";
5
+ import { t as ce } from "./useNestedProp-D8XqxgOU.js";
6
6
  import { t as le } from "./useThemeCheck-C43Tcqmk.js";
7
7
  import { t as ue } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
8
  import { t as de } from "./useUserOptionState-DK-_1ddE.js";
9
9
  import { t as fe } from "./vClickOutside-DUrZWttG.js";
10
10
  import { t as pe } from "./vue_ui_table_sparkline-DAbkUrNz.js";
11
- import { Fragment as c, computed as l, createBlock as me, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as he, createVNode as p, defineAsyncComponent as m, mergeProps as h, nextTick as ge, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as _e, onMounted as ve, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as ye, toDisplayString as S, unref as C, useCssVars as be, useSlots as xe, watch as Se, withCtx as w, withDirectives as Ce } from "vue";
11
+ import { Fragment as me, computed as c, createBlock as he, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as ge, createVNode as f, defineAsyncComponent as p, mergeProps as m, nextTick as _e, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as ve, onMounted as ye, openBlock as _, ref as v, renderList as y, renderSlot as b, shallowRef as be, toDisplayString as x, unref as S, useCssVars as xe, useSlots as Se, watch as Ce, withCtx as C, withDirectives as we } from "vue";
12
12
  //#region src/components/vue-ui-table-sparkline.vue
13
- var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
13
+ var Te = /* @__PURE__ */ e({ default: () => w }), Ee = ["id"], De = { style: {
14
14
  "z-index": "1",
15
15
  "padding-right": "24px"
16
- } }, De = {
16
+ } }, Oe = {
17
17
  key: 0,
18
18
  style: {
19
19
  display: "flex",
20
20
  flexDirection: "row",
21
21
  alignItems: "center"
22
22
  }
23
- }, Oe = {
23
+ }, ke = {
24
24
  key: 0,
25
25
  style: {
26
26
  display: "flex",
27
27
  flexDirection: "row",
28
28
  alignItems: "center"
29
29
  }
30
- }, ke = ["onClick"], Ae = ["onClick"], je = ["data-cell"], Me = ["data-cell", "onPointerenter"], Ne = ["data-cell"], Pe = ["data-cell"], Fe = ["data-cell"], Ie = ["data-cell"], Le = {
30
+ }, Ae = ["onClick"], je = ["onClick"], Me = ["data-cell"], Ne = ["data-cell", "onPointerenter"], Pe = ["data-cell"], Fe = ["data-cell"], Ie = ["data-cell"], Le = ["data-cell"], Re = {
31
31
  key: 1,
32
32
  ref: "source",
33
33
  dir: "auto"
34
- }, T = /*#__PURE__*/ ue({
34
+ }, w = /*#__PURE__*/ ue({
35
35
  __name: "vue-ui-table-sparkline",
36
36
  props: {
37
37
  config: {
@@ -48,51 +48,51 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
48
48
  }
49
49
  },
50
50
  emits: ["copyAlt"],
51
- setup(e, { expose: ue, emit: we }) {
52
- be((e) => ({ v43308e63: e.tdo }));
53
- let T = m(() => import("./vue-ui-sparkline-Bi06lHQd.js").then((e) => e.n)), E = m(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), Re = m(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), { vue_ui_table_sparkline: ze } = se(), { isThemeValid: Be, warnInvalidTheme: Ve } = le(), D = e, He = we, O = y(o()), Ue = y(0), k = y(0), We = y(null), Ge = xe(), Ke = y(!1);
54
- ve(() => {
51
+ setup(e, { expose: ue, emit: Te }) {
52
+ xe((e) => ({ v43308e63: e.tdo }));
53
+ let w = p(() => import("./vue-ui-sparkline-BNxdO-Bx.js").then((e) => e.n)), T = p(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), ze = p(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), { vue_ui_table_sparkline: Be } = oe(), { isThemeValid: Ve, warnInvalidTheme: He } = le(), E = e, Ue = Te, D = v(a()), We = v(0), O = v(0), k = v(null), Ge = Se(), Ke = v(!1);
54
+ ye(() => {
55
55
  Ge["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
56
56
  });
57
- let A = l({
57
+ let A = c({
58
58
  get: () => Ye(),
59
59
  set: (e) => e
60
- }), j = l(() => A.value.userOptions.useCursorPointer), { userOptionsVisible: M, setUserOptionsVisibility: qe, keepUserOptionState: Je } = de({ config: A.value });
60
+ }), j = c(() => A.value.userOptions.useCursorPointer), { userOptionsVisible: M, setUserOptionsVisibility: qe, keepUserOptionState: Je } = de({ config: A.value });
61
61
  function Ye() {
62
- let e = s({
63
- userConfig: D.config,
64
- defaultConfig: ze
65
- }), n = e.theme;
66
- if (!n) return e;
67
- if (!Be.value(e)) return Ve(e), e;
68
- let i = s({
69
- userConfig: pe[n] || D.config,
62
+ let e = ce({
63
+ userConfig: E.config,
64
+ defaultConfig: Be
65
+ }), t = e.theme;
66
+ if (!t) return e;
67
+ if (!Ve.value(e)) return He(e), e;
68
+ let n = ce({
69
+ userConfig: pe[t] || E.config,
70
70
  defaultConfig: e
71
- }), a = s({
72
- userConfig: D.config,
73
- defaultConfig: i
71
+ }), r = ce({
72
+ userConfig: E.config,
73
+ defaultConfig: n
74
74
  });
75
75
  return {
76
- ...a,
77
- customPalette: a.customPalette.length ? a.customPalette : r[n] || t
76
+ ...r,
77
+ customPalette: r.customPalette.length ? r.customPalette : i[t] || s
78
78
  };
79
79
  }
80
- Se(() => D.config, (e) => {
81
- A.value = Ye(), M.value = !A.value.userOptions.showOnChartHover, nt(), k.value += 1;
82
- }, { deep: !0 }), Se(() => D.dataset, (e) => {
83
- H.value = V.value, k.value += 1;
80
+ Ce(() => E.config, (e) => {
81
+ A.value = Ye(), M.value = !A.value.userOptions.showOnChartHover, nt(), O.value += 1;
82
+ }, { deep: !0 }), Ce(() => E.dataset, (e) => {
83
+ U.value = H.value, O.value += 1;
84
84
  }, { deep: !0 });
85
- let { isPrinting: Xe, isImaging: Ze, generatePdf: Qe, generateImage: $e } = ce({
86
- elementId: `table_${O.value}`,
85
+ let { isPrinting: Xe, isImaging: Ze, generatePdf: Qe, generateImage: $e } = se({
86
+ elementId: `table_${D.value}`,
87
87
  fileName: A.value.title.text || "vue-ui-table-sparkline",
88
88
  options: A.value.userOptions.print
89
- }), et = l(() => a(A.value.customPalette)), N = y(null), P = y(!1), tt = l(() => A.value.responsiveBreakpoint);
90
- ve(() => {
89
+ }), et = c(() => r(A.value.customPalette)), N = v(null), P = v(!1), tt = c(() => A.value.responsiveBreakpoint);
90
+ ye(() => {
91
91
  nt();
92
92
  });
93
- let F = y(A.value.colNames), I = ye(null);
93
+ let F = v(A.value.colNames), I = be(null);
94
94
  function nt() {
95
- n(D.dataset) && i({
95
+ t(E.dataset) && n({
96
96
  componentName: "VueUiTableSparkline",
97
97
  type: "dataset"
98
98
  }), I.value && I.value.disconnect(), I.value = new ResizeObserver((e) => {
@@ -100,9 +100,9 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
100
100
  P.value = e.contentRect.width < tt.value;
101
101
  });
102
102
  }), N.value && I.value.observe(N.value), F.value = [];
103
- for (let e = 0; e < ct.value; e += 1) F.value.push(A.value.colNames[e] || `col ${e}`);
103
+ for (let e = 0; e < st.value; e += 1) F.value.push(A.value.colNames[e] || `col ${e}`);
104
104
  }
105
- _e(() => {
105
+ ve(() => {
106
106
  I.value && I.value.disconnect();
107
107
  });
108
108
  function L(e) {
@@ -110,94 +110,94 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
110
110
  let t = Number(e);
111
111
  return Number.isFinite(t) ? t : null;
112
112
  }
113
- function rt(e) {
113
+ function R(e) {
114
114
  return typeof e == "number" && Number.isFinite(e);
115
115
  }
116
- function it(e = []) {
117
- return e.map(L).filter(rt);
116
+ function rt(e = []) {
117
+ return e.map(L).filter(R);
118
118
  }
119
- function R(e, t, n) {
120
- let r = L(e), i = L(t), a = rt(r), o = rt(i);
119
+ function z(e, t, n) {
120
+ let r = L(e), i = L(t), a = R(r), o = R(i);
121
121
  return a && o ? n === -1 ? r - i : i - r : a ? -1 : +!!o;
122
122
  }
123
- function z(e, t, n = {}) {
123
+ function B(e, t, n = {}) {
124
124
  let r = L(e);
125
- return r === null ? "-" : re(A.value.formatter, r, ae({
125
+ return r === null ? "-" : ne(A.value.formatter, r, re({
126
126
  p: A.value.prefix,
127
127
  v: r,
128
128
  s: A.value.suffix,
129
129
  r: t
130
130
  }), n);
131
131
  }
132
- let B = l(() => (D.dataset.forEach((e, t) => {
132
+ let V = c(() => (E.dataset.forEach((e, t) => {
133
133
  ie({
134
134
  datasetObject: e,
135
135
  requiredAttributes: ["name", "values"]
136
136
  }).forEach((e) => {
137
- i({
137
+ n({
138
138
  componentName: "VueUiTableSparkline",
139
139
  type: "datasetSerieAttribute",
140
140
  property: e,
141
141
  index: t
142
142
  });
143
143
  });
144
- }), D.dataset.map((e, n) => {
145
- let r = e.values || [], i = it(r), a = i.length ? i.reduce((e, t) => e + t, 0) : null, o = i.length ? a / i.length : null, ee = i.length ? ne(i) : null;
144
+ }), E.dataset.map((e, t) => {
145
+ let n = e.values || [], r = rt(n), i = r.length ? r.reduce((e, t) => e + t, 0) : null, a = r.length ? i / r.length : null, o = r.length ? te(r) : null;
146
146
  return {
147
147
  ...e,
148
- values: r,
149
- color: te(e.color) || et.value[n] || t[n] || t[n % t.length],
150
- sum: a,
151
- average: o,
152
- median: ee,
153
- sparklineDataset: r.map((e, t) => ({
148
+ values: n,
149
+ color: ee(e.color) || et.value[t] || s[t] || s[t % s.length],
150
+ sum: i,
151
+ average: a,
152
+ median: o,
153
+ sparklineDataset: n.map((e, t) => ({
154
154
  period: A.value.colNames[t] || `col ${t}`,
155
155
  value: L(e)
156
156
  }))
157
157
  };
158
158
  })));
159
- function at(e) {
160
- let t = (e[0]?.values || []).map((t, n) => e.map((e) => e?.values?.[n] ?? null)).map((e) => e.map((e, t) => [e, t]).sort((e, t) => R(e[0], t[0], 1)).map((e) => e[1]));
159
+ function it(e) {
160
+ let t = (e[0]?.values || []).map((t, n) => e.map((e) => e?.values?.[n] ?? null)).map((e) => e.map((e, t) => [e, t]).sort((e, t) => z(e[0], t[0], 1)).map((e) => e[1]));
161
161
  return e.map((e, n) => ({
162
162
  ...e,
163
163
  values: e.values || [],
164
164
  orders: t[n]
165
165
  }));
166
166
  }
167
- let V = l(() => at(B.value)), H = y(V.value), ot = l(() => Math.max(...H.value.map((e) => (e.values || []).length))), U = y(void 0), W = y(!1), G = y(void 0), st = y(1);
168
- function K() {
169
- W.value = !1, G.value = void 0, X.value = void 0, st.value = 1, $.value.forEach((e) => e.state = 1), Y.value = {
167
+ let H = c(() => it(V.value)), U = v(H.value), at = c(() => Math.max(...U.value.map((e) => (e.values || []).length))), W = v(void 0), G = v(!1), K = v(void 0), ot = v(1);
168
+ function q() {
169
+ G.value = !1, K.value = void 0, Z.value = void 0, ot.value = 1, $.value.forEach((e) => e.state = 1), X.value = {
170
170
  name: 1,
171
171
  sum: 1,
172
172
  average: 1,
173
173
  median: 1
174
- }, H.value = V.value;
174
+ }, U.value = H.value;
175
175
  }
176
- function q(e, t, n) {
176
+ function J(e, t, n) {
177
177
  if ([
178
178
  "name",
179
179
  "sum",
180
180
  "average",
181
181
  "median"
182
182
  ].includes(e.type)) {
183
- lt(e.type, t, n);
183
+ ct(e.type, t, n);
184
184
  return;
185
185
  }
186
186
  if (!mt(t)) return;
187
- if (Z.value = t, X.value = void 0, ![null, void 0].includes(G.value) && t !== G.value && (G.value = void 0, K()), $.value[t].state === n && G.value === t) {
188
- G.value = void 0, K();
187
+ if (Q.value = t, Z.value = void 0, ![null, void 0].includes(K.value) && t !== K.value && (K.value = void 0, q()), $.value[t].state === n && K.value === t) {
188
+ K.value = void 0, q();
189
189
  return;
190
190
  }
191
- W.value = !0, G.value = t;
192
- let r = V.value.map((e) => e.values?.[t] ?? null), i = n;
193
- $.value[t].state = i, st.value = i, t === U.value ? U.value = void 0 : U.value = t, H.value = r.map((e, t) => [t, e]).sort((e, t) => R(e[1], t[1], i)).map((e) => e[0]).map((e) => V.value[e]), k.value += 1;
191
+ G.value = !0, K.value = t;
192
+ let r = H.value.map((e) => e.values?.[t] ?? null), i = n;
193
+ $.value[t].state = i, ot.value = i, t === W.value ? W.value = void 0 : W.value = t, U.value = r.map((e, t) => [t, e]).sort((e, t) => z(e[1], t[1], i)).map((e) => e[0]).map((e) => H.value[e]), O.value += 1;
194
194
  }
195
- let ct = l(() => Math.max(...D.dataset.map((e) => (e.values || []).length))), J = l(() => {
195
+ let st = c(() => Math.max(...E.dataset.map((e) => (e.values || []).length))), Y = c(() => {
196
196
  let e = F.value.map((e) => ({
197
197
  type: "reg",
198
198
  value: e
199
199
  }));
200
- if (!e.length) for (let t = 0; t < ct.value; t += 1) e.push({
200
+ if (!e.length) for (let t = 0; t < st.value; t += 1) e.push({
201
201
  type: "reg",
202
202
  value: `col ${t + 1}`
203
203
  });
@@ -226,47 +226,47 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
226
226
  type: "chart",
227
227
  value: A.value.translations.chart
228
228
  }] : t;
229
- }), Y = y({
229
+ }), X = v({
230
230
  name: 1,
231
231
  sum: 1,
232
232
  average: 1,
233
233
  median: 1
234
- }), X = y(void 0);
235
- function lt(e, t, n) {
236
- if (!H.value || H.value.length === 0 || !ht(e)) return;
237
- if (X.value !== e && (X.value = void 0), ![null, void 0].includes(G.value) && t !== G.value && K(), G.value = void 0, Y.value[e] === n && X.value) {
238
- X.value = void 0, K();
234
+ }), Z = v(void 0);
235
+ function ct(e, t, n) {
236
+ if (!U.value || U.value.length === 0 || !ht(e)) return;
237
+ if (Z.value !== e && (Z.value = void 0), ![null, void 0].includes(K.value) && t !== K.value && q(), K.value = void 0, X.value[e] === n && Z.value) {
238
+ Z.value = void 0, q();
239
239
  return;
240
240
  }
241
- X.value = e, W.value = !0, Y.value[e] = n, [null, void 0].includes(t) || ($.value[t].state = Y.value[e]);
242
- let r = Y.value[e];
243
- H.value = [...H.value].sort((t, n) => {
241
+ Z.value = e, G.value = !0, X.value[e] = n, [null, void 0].includes(t) || ($.value[t].state = X.value[e]);
242
+ let r = X.value[e];
243
+ U.value = [...U.value].sort((t, n) => {
244
244
  let i = t[e], a = n[e];
245
- return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : R(i, a, r);
245
+ return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : z(i, a, r);
246
246
  });
247
247
  }
248
- let Z = y(void 0), Q = y(void 0);
248
+ let Q = v(void 0), lt = v(void 0);
249
249
  function ut({ dataIndex: e, serieIndex: t }) {
250
- Z.value = e, Q.value = t, We.value[e] && !P.value && We.value[e].scrollIntoView({
250
+ Q.value = e, lt.value = t, k.value[e] && !P.value && k.value[e].scrollIntoView({
251
251
  behavior: "smooth",
252
252
  block: "nearest",
253
253
  inline: "center"
254
254
  });
255
255
  }
256
- let dt = y(!1);
256
+ let dt = v(!1);
257
257
  function ft(e) {
258
- dt.value = e, Ue.value += 1;
258
+ dt.value = e, We.value += 1;
259
259
  }
260
260
  function pt(e = null) {
261
- ge(() => {
262
- let t = [A.value.translations.serie].concat(J.value), n = B.value.map((e, t) => [
261
+ _e(() => {
262
+ let t = [A.value.translations.serie].concat(Y.value), n = V.value.map((e, t) => [
263
263
  [e.name],
264
264
  e.values,
265
265
  [e.sum],
266
266
  [e.average],
267
267
  [e.median]
268
- ]), r = oe([t].concat(n));
269
- e ? e(r) : ee({
268
+ ]), r = ae([t].concat(n));
269
+ e ? e(r) : o({
270
270
  csvContent: r,
271
271
  title: A.value.title.text || "vue-ui-table-sparkline"
272
272
  });
@@ -283,13 +283,13 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
283
283
  "sum",
284
284
  "average",
285
285
  "median"
286
- ].includes(t.type) ? X.value === t.type && Y.value[t.type] === n ? 1 : .3 : e === G.value && $.value[e].state === n ? 1 : .3;
286
+ ].includes(t.type) ? Z.value === t.type && X.value[t.type] === n ? 1 : .3 : e === K.value && $.value[e].state === n ? 1 : .3;
287
287
  }
288
288
  function _t() {
289
- A.value.resetSortOnClickOutside && K();
289
+ A.value.resetSortOnClickOutside && q();
290
290
  }
291
- let $ = l({
292
- get: () => J.value.map((e) => ({ state: 1 })),
291
+ let $ = c({
292
+ get: () => Y.value.map((e) => ({ state: 1 })),
293
293
  set: (e) => e
294
294
  });
295
295
  function vt(e) {
@@ -304,154 +304,154 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
304
304
  $e();
305
305
  }
306
306
  async function yt() {
307
- if (He("copyAlt", {
307
+ if (Ue("copyAlt", {
308
308
  config: A.value,
309
- dataset: B.value
309
+ dataset: V.value
310
310
  }), !A.value.userOptions.callbacks.altCopy) {
311
311
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
312
312
  return;
313
313
  }
314
314
  await Promise.resolve(A.value.userOptions.callbacks.altCopy({
315
315
  config: A.value,
316
- dataset: B.value
316
+ dataset: V.value
317
317
  }));
318
318
  }
319
319
  return ue({
320
320
  generatePdf: Qe,
321
321
  generateImage: $e,
322
322
  generateCsv: pt,
323
- restoreOrder: K,
323
+ restoreOrder: q,
324
324
  copyAlt: yt
325
- }), (e, t) => (v(), d("div", {
325
+ }), (e, t) => (_(), u("div", {
326
326
  ref_key: "tableContainer",
327
327
  ref: N,
328
- class: g({
328
+ class: h({
329
329
  "vue-data-ui-component": !0,
330
330
  "vue-ui-table-sparkline": !0,
331
331
  "vue-ui-responsive": P.value
332
332
  }),
333
333
  style: { overflow: "hidden" },
334
- id: `table_${O.value}`,
335
- onMouseenter: t[3] ||= () => C(qe)(!0),
336
- onMouseleave: t[4] ||= () => C(qe)(!1)
334
+ id: `table_${D.value}`,
335
+ onMouseenter: t[3] ||= () => S(qe)(!0),
336
+ onMouseleave: t[4] ||= () => S(qe)(!1)
337
337
  }, [
338
- A.value.title.text ? (v(), d("div", {
338
+ A.value.title.text ? (_(), u("div", {
339
339
  key: 0,
340
340
  class: "vue-ui-table-sparkline-caption",
341
- style: _({ backgroundColor: A.value.title.backgroundColor })
342
- }, [f("div", {
341
+ style: g({ backgroundColor: A.value.title.backgroundColor })
342
+ }, [d("div", {
343
343
  class: "atom-title",
344
- style: _({
344
+ style: g({
345
345
  fontSize: `${A.value.title.fontSize}px`,
346
346
  fontWeight: A.value.title.bold ? "bold" : "normal",
347
347
  color: A.value.title.color,
348
348
  textAlign: A.value.title.textAlign
349
349
  })
350
- }, S(A.value.title.text), 5), A.value.title.subtitle.text ? (v(), d("div", {
350
+ }, x(A.value.title.text), 5), A.value.title.subtitle.text ? (_(), u("div", {
351
351
  key: 0,
352
352
  class: "atom-subtitle",
353
- style: _({
353
+ style: g({
354
354
  fontSize: `${A.value.title.subtitle.fontSize}px`,
355
355
  fontWeight: A.value.title.subtitle.bold ? "bold" : "normal",
356
356
  color: A.value.title.subtitle.color,
357
357
  textAlign: A.value.title.textAlign
358
358
  })
359
- }, S(A.value.title.subtitle.text), 5)) : u("", !0)], 4)) : u("", !0),
360
- f("div", {
359
+ }, x(A.value.title.subtitle.text), 5)) : l("", !0)], 4)) : l("", !0),
360
+ d("div", {
361
361
  style: { overflow: "auto" },
362
362
  onPointerleave: t[2] ||= (e) => {
363
- Q.value = void 0, Z.value = void 0;
363
+ lt.value = void 0, Q.value = void 0;
364
364
  }
365
- }, [f("table", {
365
+ }, [d("table", {
366
366
  class: "vue-ui-data-table",
367
- style: _({
367
+ style: g({
368
368
  fontFamily: A.value.fontFamily,
369
369
  position: "relative"
370
370
  })
371
- }, [f("thead", Ee, [Ce((v(), d("tr", {
371
+ }, [d("thead", De, [we((_(), u("tr", {
372
372
  role: "row",
373
373
  class: "vue-ui-data-table__thead-row",
374
- style: _({
374
+ style: g({
375
375
  backgroundColor: A.value.thead.backgroundColor,
376
376
  color: A.value.thead.color
377
377
  })
378
- }, [f("th", {
378
+ }, [d("th", {
379
379
  role: "cell",
380
- style: _({
380
+ style: g({
381
381
  backgroundColor: A.value.thead.backgroundColor,
382
382
  border: A.value.thead.outline,
383
383
  textAlign: A.value.thead.textAlign,
384
384
  fontWeight: A.value.thead.bold ? "bold" : "normal"
385
385
  }),
386
386
  class: "sticky-col-first"
387
- }, [f("div", { style: _({
387
+ }, [d("div", { style: g({
388
388
  display: "flex",
389
389
  flexDirection: "row",
390
390
  alignItems: "center",
391
391
  gap: "3px",
392
392
  justifyContent: A.value.thead.textAlign
393
- }) }, [f("span", null, S(A.value.translations.serie), 1), H.value.length > 1 && A.value.sortedSeriesName ? (v(), d("div", De, [f("button", {
393
+ }) }, [d("span", null, x(A.value.translations.serie), 1), U.value.length > 1 && A.value.sortedSeriesName ? (_(), u("div", Oe, [d("button", {
394
394
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
395
- onClick: t[0] ||= (e) => q({ type: "name" }, null, -1),
396
- style: _({ cursor: j.value ? "pointer" : "default" })
397
- }, [p(C(E), {
395
+ onClick: t[0] ||= (e) => J({ type: "name" }, null, -1),
396
+ style: g({ cursor: j.value ? "pointer" : "default" })
397
+ }, [f(S(T), {
398
398
  size: 12,
399
399
  name: "arrowBottom",
400
400
  stroke: A.value.thead.color,
401
- style: _({ opacity: X.value === "name" && Y.value.name === -1 ? 1 : .3 })
402
- }, null, 8, ["stroke", "style"])], 4), f("button", {
401
+ style: g({ opacity: Z.value === "name" && X.value.name === -1 ? 1 : .3 })
402
+ }, null, 8, ["stroke", "style"])], 4), d("button", {
403
403
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
404
- onClick: t[1] ||= (e) => q({ type: "name" }, null, 1),
405
- style: _({ cursor: j.value ? "pointer" : "default" })
406
- }, [p(C(E), {
404
+ onClick: t[1] ||= (e) => J({ type: "name" }, null, 1),
405
+ style: g({ cursor: j.value ? "pointer" : "default" })
406
+ }, [f(S(T), {
407
407
  size: 12,
408
408
  name: "arrowTop",
409
409
  stroke: A.value.thead.color,
410
- style: _({ opacity: X.value === "name" && Y.value.name === 1 ? 1 : .3 })
411
- }, null, 8, ["stroke", "style"])], 4)])) : u("", !0)], 4)], 4), (v(!0), d(c, null, b(J.value, (t, n) => (v(), d("th", {
410
+ style: g({ opacity: Z.value === "name" && X.value.name === 1 ? 1 : .3 })
411
+ }, null, 8, ["stroke", "style"])], 4)])) : l("", !0)], 4)], 4), (_(!0), u(me, null, y(Y.value, (t, n) => (_(), u("th", {
412
412
  role: "cell",
413
- style: _({
413
+ style: g({
414
414
  background: A.value.thead.backgroundColor,
415
415
  border: A.value.thead.outline,
416
416
  textAlign: A.value.thead.textAlign,
417
417
  fontWeight: A.value.thead.bold ? "bold" : "normal",
418
- minWidth: n === J.value.length - 1 ? `${A.value.sparkline.dimensions.width}px` : "48px",
419
- paddingRight: n === J.value.length - 1 && A.value.userOptions.show ? "36px" : ""
418
+ minWidth: n === Y.value.length - 1 ? `${A.value.sparkline.dimensions.width}px` : "48px",
419
+ paddingRight: n === Y.value.length - 1 && A.value.userOptions.show ? "36px" : ""
420
420
  }),
421
- class: g({ "sticky-col": n === J.value.length - 1 && A.value.showSparklines })
422
- }, [f("div", { style: _({
421
+ class: h({ "sticky-col": n === Y.value.length - 1 && A.value.showSparklines })
422
+ }, [d("div", { style: g({
423
423
  display: "flex",
424
424
  flexDirection: "row",
425
425
  alignItems: "center",
426
426
  gap: "3px",
427
427
  justifyContent: A.value.thead.textAlign
428
- }) }, [f("span", null, S(t.value), 1), H.value.length > 1 && (mt(n) || ht(t)) ? (v(), d("div", Oe, [f("button", {
428
+ }) }, [d("span", null, x(t.value), 1), U.value.length > 1 && (mt(n) || ht(t)) ? (_(), u("div", ke, [d("button", {
429
429
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
430
- onClick: () => q(t, n, -1),
431
- style: _({ cursor: j.value ? "pointer" : "default" })
432
- }, [p(C(E), {
430
+ onClick: () => J(t, n, -1),
431
+ style: g({ cursor: j.value ? "pointer" : "default" })
432
+ }, [f(S(T), {
433
433
  size: 12,
434
434
  name: "arrowBottom",
435
435
  stroke: A.value.thead.color,
436
- style: _({ opacity: gt(n, t, -1) })
437
- }, null, 8, ["stroke", "style"])], 12, ke), f("button", {
436
+ style: g({ opacity: gt(n, t, -1) })
437
+ }, null, 8, ["stroke", "style"])], 12, Ae), d("button", {
438
438
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
439
- onClick: () => q(t, n, 1),
440
- style: _({ cursor: j.value ? "pointer" : "default" })
441
- }, [p(C(E), {
439
+ onClick: () => J(t, n, 1),
440
+ style: g({ cursor: j.value ? "pointer" : "default" })
441
+ }, [f(S(T), {
442
442
  size: 12,
443
443
  name: "arrowTop",
444
444
  stroke: A.value.thead.color,
445
- style: _({ opacity: gt(n, t, 1) })
446
- }, null, 8, ["stroke", "style"])], 12, Ae)])) : u("", !0)], 4), A.value.userOptions.show && n === J.value.length - 1 && (C(Je) || C(M)) ? (v(), me(C(Re), {
445
+ style: g({ opacity: gt(n, t, 1) })
446
+ }, null, 8, ["stroke", "style"])], 12, je)])) : l("", !0)], 4), A.value.userOptions.show && n === Y.value.length - 1 && (S(Je) || S(M)) ? (_(), he(S(ze), {
447
447
  ref_for: !0,
448
448
  ref: "details",
449
- key: `user_option_${Ue.value}`,
449
+ key: `user_option_${We.value}`,
450
450
  backgroundColor: A.value.thead.backgroundColor,
451
451
  color: A.value.thead.color,
452
- isPrinting: C(Xe),
453
- isImaging: C(Ze),
454
- uid: O.value,
452
+ isPrinting: S(Xe),
453
+ isImaging: S(Ze),
454
+ uid: D.value,
455
455
  hasPdf: A.value.userOptions.buttons.pdf,
456
456
  hasXls: A.value.userOptions.buttons.csv,
457
457
  hasImg: A.value.userOptions.buttons.img,
@@ -465,15 +465,15 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
465
465
  printScale: A.value.userOptions.print.scale,
466
466
  isCursorPointer: j.value,
467
467
  onToggleFullscreen: ft,
468
- onGeneratePdf: C(Qe),
468
+ onGeneratePdf: S(Qe),
469
469
  onGenerateImage: vt,
470
470
  onGenerateCsv: pt,
471
471
  onCopyAlt: yt,
472
- style: _({ visibility: C(Je) ? C(M) ? "visible" : "hidden" : "visible" })
473
- }, he({ _: 2 }, [
472
+ style: g({ visibility: S(Je) ? S(M) ? "visible" : "hidden" : "visible" })
473
+ }, ge({ _: 2 }, [
474
474
  e.$slots.menuIcon ? {
475
475
  name: "menuIcon",
476
- fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", h({ ref_for: !0 }, {
476
+ fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", m({ ref_for: !0 }, {
477
477
  isOpen: t,
478
478
  color: n
479
479
  }), void 0, !0)]),
@@ -481,22 +481,22 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
481
481
  } : void 0,
482
482
  e.$slots.optionPdf ? {
483
483
  name: "optionPdf",
484
- fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
484
+ fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
485
485
  key: "1"
486
486
  } : void 0,
487
487
  e.$slots.optionCsv ? {
488
488
  name: "optionCsv",
489
- fn: w(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
489
+ fn: C(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
490
490
  key: "2"
491
491
  } : void 0,
492
492
  e.$slots.optionImg ? {
493
493
  name: "optionImg",
494
- fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
494
+ fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
495
495
  key: "3"
496
496
  } : void 0,
497
497
  e.$slots.optionFullscreen ? {
498
498
  name: "optionFullscreen",
499
- fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", h({ ref_for: !0 }, {
499
+ fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", m({ ref_for: !0 }, {
500
500
  toggleFullscreen: t,
501
501
  isFullscreen: n
502
502
  }), void 0, !0)]),
@@ -504,17 +504,17 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
504
504
  } : void 0,
505
505
  e.$slots.optionAltCopy ? {
506
506
  name: "optionAltCopy",
507
- fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", h({ ref_for: !0 }, { altCopy: t }), void 0, !0)]),
507
+ fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", m({ ref_for: !0 }, { altCopy: t }), void 0, !0)]),
508
508
  key: "5"
509
509
  } : void 0,
510
510
  e.$slots["custom-menu-before"] ? {
511
511
  name: "custom-menu-before",
512
- fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
512
+ fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
513
513
  key: "6"
514
514
  } : void 0,
515
515
  e.$slots["custom-menu-after"] ? {
516
516
  name: "custom-menu-after",
517
- fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
517
+ fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
518
518
  key: "7"
519
519
  } : void 0
520
520
  ]), 1032, [
@@ -537,21 +537,21 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
537
537
  "isCursorPointer",
538
538
  "onGeneratePdf",
539
539
  "style"
540
- ])) : u("", !0)], 6))), 256))], 4)), [[C(fe), _t]])]), f("tbody", null, [(v(!0), d(c, null, b(H.value, (e, t) => (v(), d("tr", {
540
+ ])) : l("", !0)], 6))), 256))], 4)), [[S(fe), _t]])]), d("tbody", null, [(_(!0), u(me, null, y(U.value, (e, t) => (_(), u("tr", {
541
541
  role: "row",
542
- style: _({
542
+ style: g({
543
543
  backgroundColor: A.value.tbody.backgroundColor,
544
544
  color: A.value.tbody.color
545
545
  }),
546
- class: g({
546
+ class: h({
547
547
  "vue-ui-data-table__tbody__row": !0,
548
548
  "vue-ui-data-table__tbody__row-even": t % 2 == 0,
549
549
  "vue-ui-data-table__tbody__row-odd": t % 2 != 0
550
550
  })
551
551
  }, [
552
- f("td", {
552
+ d("td", {
553
553
  role: "cell",
554
- style: _({
554
+ style: g({
555
555
  backgroundColor: A.value.tbody.backgroundColor,
556
556
  border: A.value.tbody.outline,
557
557
  fontSize: `${A.value.tbody.fontSize}px`,
@@ -560,47 +560,47 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
560
560
  }),
561
561
  "data-cell": A.value.translations.serie,
562
562
  class: "vue-ui-data-table__tbody__td sticky-col-first"
563
- }, [f("div", {
563
+ }, [d("div", {
564
564
  dir: "auto",
565
- style: _({
565
+ style: g({
566
566
  display: "flex",
567
567
  flexDirection: "row",
568
568
  alignItems: "center",
569
569
  gap: "6px",
570
570
  justifyContent: A.value.tbody.textAlign
571
571
  })
572
- }, [A.value.tbody.showColorMarker ? (v(), d("span", {
572
+ }, [A.value.tbody.showColorMarker ? (_(), u("span", {
573
573
  key: 0,
574
- style: _({ color: e.color })
575
- }, "⬤", 4)) : u("", !0), f("span", null, S(e.name ?? "-"), 1)], 4)], 12, je),
576
- (v(!0), d(c, null, b(ot.value, (n, r) => (v(), d("td", {
574
+ style: g({ color: e.color })
575
+ }, "⬤", 4)) : l("", !0), d("span", null, x(e.name ?? "-"), 1)], 4)], 12, Me),
576
+ (_(!0), u(me, null, y(at.value, (n, r) => (_(), u("td", {
577
577
  dir: "auto",
578
578
  role: "cell",
579
579
  ref_for: !0,
580
580
  ref_key: "TD",
581
- ref: We,
582
- style: _({
581
+ ref: k,
582
+ style: g({
583
583
  border: A.value.tbody.outline,
584
584
  fontSize: `${A.value.tbody.fontSize}px`,
585
585
  fontWeight: A.value.tbody.bold ? "bold" : "normal",
586
586
  textAlign: A.value.tbody.textAlign,
587
- background: Z.value !== void 0 && r === Z.value ? A.value.tbody.selectedColor.useSerieColor ? `${e.color.length > 7 ? e.color.slice(0, -2) : e.color}33` : A.value.tbody.selectedColor.fallback : ""
587
+ background: Q.value !== void 0 && r === Q.value ? A.value.tbody.selectedColor.useSerieColor ? `${e.color.length > 7 ? e.color.slice(0, -2) : e.color}33` : A.value.tbody.selectedColor.fallback : ""
588
588
  }),
589
- "data-cell": J.value[r] ? J.value[r].value : "",
589
+ "data-cell": Y.value[r] ? Y.value[r].value : "",
590
590
  class: "vue-ui-data-table__tbody__td",
591
591
  onPointerenter: (e) => {
592
- Q.value = t, Z.value = r;
592
+ lt.value = t, Q.value = r;
593
593
  }
594
- }, S(z(e.values[r], A.value.roundingValues, {
594
+ }, x(B(e.values[r], A.value.roundingValues, {
595
595
  datapoint: e,
596
596
  seriesIndex: t,
597
597
  datapointIndex: r
598
- })), 45, Me))), 256)),
599
- A.value.showTotal ? (v(), d("td", {
598
+ })), 45, Ne))), 256)),
599
+ A.value.showTotal ? (_(), u("td", {
600
600
  key: 0,
601
601
  dir: "auto",
602
602
  role: "cell",
603
- style: _({
603
+ style: g({
604
604
  border: A.value.tbody.outline,
605
605
  fontSize: `${A.value.tbody.fontSize}px`,
606
606
  fontWeight: A.value.tbody.bold ? "bold" : "normal",
@@ -608,15 +608,15 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
608
608
  }),
609
609
  "data-cell": A.value.translations.total,
610
610
  class: "vue-ui-data-table__tbody__td"
611
- }, S(z(e.sum, A.value.roundingTotal, {
611
+ }, x(B(e.sum, A.value.roundingTotal, {
612
612
  datapoint: e.sum,
613
613
  seriesIndex: t
614
- })), 13, Ne)) : u("", !0),
615
- A.value.showAverage ? (v(), d("td", {
614
+ })), 13, Pe)) : l("", !0),
615
+ A.value.showAverage ? (_(), u("td", {
616
616
  key: 1,
617
617
  dir: "auto",
618
618
  role: "cell",
619
- style: _({
619
+ style: g({
620
620
  border: A.value.tbody.outline,
621
621
  fontSize: `${A.value.tbody.fontSize}px`,
622
622
  fontWeight: A.value.tbody.bold ? "bold" : "normal",
@@ -624,15 +624,15 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
624
624
  }),
625
625
  "data-cell": A.value.translations.average,
626
626
  class: "vue-ui-data-table__tbody__td"
627
- }, S(z(e.average, A.value.roundingAverage, {
627
+ }, x(B(e.average, A.value.roundingAverage, {
628
628
  datapoint: e.average,
629
629
  seriesIndex: t
630
- })), 13, Pe)) : u("", !0),
631
- A.value.showMedian ? (v(), d("td", {
630
+ })), 13, Fe)) : l("", !0),
631
+ A.value.showMedian ? (_(), u("td", {
632
632
  key: 2,
633
633
  dir: "auto",
634
634
  role: "cell",
635
- style: _({
635
+ style: g({
636
636
  border: A.value.tbody.outline,
637
637
  fontSize: `${A.value.tbody.fontSize}px`,
638
638
  fontWeight: A.value.tbody.bold ? "bold" : "normal",
@@ -640,15 +640,15 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
640
640
  }),
641
641
  "data-cell": A.value.translations.median,
642
642
  class: "vue-ui-data-table__tbody__td"
643
- }, S(z(e.median, A.value.roundingMedian, {
643
+ }, x(B(e.median, A.value.roundingMedian, {
644
644
  datapoint: e.median,
645
645
  seriesIndex: t
646
- })), 13, Fe)) : u("", !0),
647
- A.value.showSparklines ? (v(), d("td", {
646
+ })), 13, Ie)) : l("", !0),
647
+ A.value.showSparklines ? (_(), u("td", {
648
648
  key: 3,
649
649
  role: "cell",
650
650
  "data-cell": A.value.translations.chart,
651
- style: _({
651
+ style: g({
652
652
  border: A.value.tbody.outline,
653
653
  fontSize: `${A.value.tbody.fontSize}px`,
654
654
  fontWeight: A.value.tbody.bold ? "bold" : "normal",
@@ -657,7 +657,7 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
657
657
  padding: "0"
658
658
  }),
659
659
  class: "vue-ui-data-table__tbody__td sticky-col"
660
- }, [p(C(T), {
660
+ }, [f(S(w), {
661
661
  onHoverIndex: ({ index: e }) => ut({
662
662
  dataIndex: e,
663
663
  serieIndex: t
@@ -666,13 +666,13 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
666
666
  "forced-padding": 30,
667
667
  dataset: e.sparklineDataset,
668
668
  showInfo: !1,
669
- selectedIndex: Z.value,
669
+ selectedIndex: Q.value,
670
670
  config: {
671
671
  type: A.value.sparkline.type,
672
672
  style: {
673
673
  backgroundColor: "transparent",
674
674
  animation: {
675
- show: A.value.sparkline.animation.show && !C(Xe) && !C(Ze),
675
+ show: A.value.sparkline.animation.show && !S(Xe) && !S(Ze),
676
676
  animationFrames: A.value.sparkline.animation.animationFrames
677
677
  },
678
678
  padding: { right: 12 },
@@ -702,11 +702,11 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
702
702
  "dataset",
703
703
  "selectedIndex",
704
704
  "config"
705
- ])], 12, Ie)) : u("", !0)
705
+ ])], 12, Le)) : l("", !0)
706
706
  ], 6))), 256))])], 4)], 32),
707
- e.$slots.source ? (v(), d("div", Le, [x(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0)
708
- ], 42, Te));
707
+ e.$slots.source ? (_(), u("div", Re, [b(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0)
708
+ ], 42, Ee));
709
709
  }
710
710
  }, [["__scopeId", "data-v-a657c4ca"]]);
711
711
  //#endregion
712
- export { we as n, T as t };
712
+ export { Te as n, w as t };