vue-data-ui 3.25.4 → 3.25.6

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 (213) hide show
  1. package/README.md +13 -13
  2. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  3. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  4. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  5. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  6. package/dist/{ColorPicker-ZJrR3Olp.js → ColorPicker-CUy15T72.js} +102 -100
  7. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  8. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  9. package/dist/{NonSvgPenAndPaper-DS84BAOx.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  10. package/dist/{PackageVersion-5SWftabm.js → PackageVersion-ur6jKRL5.js} +1 -1
  11. package/dist/{PenAndPaper-B_SdRSKH.js → PenAndPaper-KFzKlvbi.js} +20 -4
  12. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  13. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-hill.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-label.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +1 -1
  47. package/dist/components/vue-ui-mood-radar.js +1 -1
  48. package/dist/components/vue-ui-nested-donuts.js +1 -1
  49. package/dist/components/vue-ui-onion.js +1 -1
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +1 -1
  52. package/dist/components/vue-ui-quick-chart.js +1 -1
  53. package/dist/components/vue-ui-radar.js +1 -1
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +1 -1
  56. package/dist/components/vue-ui-ridgeline.js +1 -1
  57. package/dist/components/vue-ui-rings.js +1 -1
  58. package/dist/components/vue-ui-scatter.js +1 -1
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +1 -1
  63. package/dist/components/vue-ui-sparkgauge.js +1 -1
  64. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  65. package/dist/components/vue-ui-sparkline.js +1 -1
  66. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  67. package/dist/components/vue-ui-stackbar.js +1 -1
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +1 -1
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +1 -1
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +1 -1
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +1 -1
  76. package/dist/components/vue-ui-treemap.js +1 -1
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +1 -1
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +1 -1
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +1 -1
  83. package/dist/components/vue-ui-xy.js +1 -1
  84. package/dist/{package-DmsdiyeS.js → package-Dx7M6sYy.js} +1 -1
  85. package/dist/{render-common-zoPh9a78.js → render-common-DETHvNhl.js} +1 -1
  86. package/dist/ssr/vue-ui-donut.js +1 -1
  87. package/dist/ssr/vue-ui-xy.js +1 -1
  88. package/dist/ssr.js +2 -2
  89. package/dist/style.css +1 -1
  90. package/dist/types/vue-data-ui.d.ts +80 -1
  91. package/dist/types/vue-ui-annotator.d.ts +58 -2
  92. package/dist/{useConfig-CyCVHo81.js → useConfig-CIQZ6_r7.js} +1339 -1313
  93. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings---mHNfbS.js} +2 -2
  94. package/dist/utils.js +1 -1
  95. package/dist/{vue-data-ui-DTj71yB7.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  96. package/dist/vue-data-ui.js +71 -71
  97. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  98. package/dist/{vue-ui-accordion-D4zsdacF.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  99. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  100. package/dist/vue-ui-annotator-CTQHAPho.js +3325 -0
  101. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  102. package/dist/{vue-ui-bump-BkOtQNWe.js → vue-ui-bump-DhwySwgn.js} +382 -380
  103. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  104. package/dist/{vue-ui-carousel-table-CRgbs7jR.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  105. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  106. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  107. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  108. package/dist/{vue-ui-cursor-BHyXRadA.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  109. package/dist/{vue-ui-dag-CyVqaLbF.js → vue-ui-dag-C_inEafb.js} +794 -792
  110. package/dist/{vue-ui-dashboard-7I-7wvCP.js → vue-ui-dashboard-Bs2mBur5.js} +74 -72
  111. package/dist/{vue-ui-digits-BBL8uERO.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  112. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  113. package/dist/{vue-ui-donut-DcgUuefk.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  114. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  115. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  116. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  117. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  118. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  119. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  120. package/dist/{vue-ui-geo-jR4P4pbt.js → vue-ui-geo-DXIHhp-G.js} +431 -429
  121. package/dist/{vue-ui-gizmo-D6W86s9o.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  122. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  123. package/dist/{vue-ui-hill-fFq7pm-g.js → vue-ui-hill-DqsVJkmO.js} +472 -470
  124. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  125. package/dist/{vue-ui-horizontal-bar-D3Sft4kp.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +513 -511
  126. package/dist/{vue-ui-kpi-fzLsKlyE.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  127. package/dist/{vue-ui-label-BSgLalWD.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  128. package/dist/{vue-ui-mini-loader-BL2odRfu.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  129. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  130. package/dist/{vue-ui-mood-radar-bvGx6XgG.js → vue-ui-mood-radar-Dd1qfUiu.js} +378 -376
  131. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  132. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  133. package/dist/{vue-ui-parallel-coordinate-plot-B_QJ4N9o.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +409 -407
  134. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  135. package/dist/{vue-ui-quick-chart-BFscCR59.js → vue-ui-quick-chart-BZq517pL.js} +8 -6
  136. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  137. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  138. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  139. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  140. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  141. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  142. package/dist/{vue-ui-skeleton-zmbcOVEf.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  143. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  144. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  145. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  146. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  147. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  148. package/dist/{vue-ui-sparkline-Dv7XrEzO.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  149. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  150. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  151. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  152. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  153. package/dist/{vue-ui-table-heatmap-Dv_ZKKm3.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  154. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  155. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  156. package/dist/{vue-ui-thermometer-DytlLJ32.js → vue-ui-thermometer-D0_KsB-y.js} +194 -192
  157. package/dist/{vue-ui-timer-CvHP4HoW.js → vue-ui-timer-1Z2zginj.js} +153 -153
  158. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  159. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  160. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  161. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  162. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  163. package/dist/{vue-ui-world-D0_2upjg.js → vue-ui-world-BOBHo7-L.js} +526 -524
  164. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  165. package/dist/{vue-ui-xy-D_5FfaH-.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  166. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  167. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  168. package/package.json +1 -1
  169. package/dist/vue-ui-3d-bar-CH8SpxS2.js +0 -1829
  170. package/dist/vue-ui-age-pyramid-B9MUVi75.js +0 -1241
  171. package/dist/vue-ui-annotator-CmlcWPIm.js +0 -2886
  172. package/dist/vue-ui-bullet-n8KNnDwh.js +0 -700
  173. package/dist/vue-ui-candlestick-Bxlvqk49.js +0 -1857
  174. package/dist/vue-ui-chestnut-ByDKbkG9.js +0 -2014
  175. package/dist/vue-ui-chord-DQRBgVOx.js +0 -1345
  176. package/dist/vue-ui-circle-pack-CBBc0HOe.js +0 -1633
  177. package/dist/vue-ui-donut-DfiocufT.js +0 -2413
  178. package/dist/vue-ui-donut-evolution-BoqO8By2.js +0 -1550
  179. package/dist/vue-ui-dumbbell-7M_oUQdi.js +0 -1529
  180. package/dist/vue-ui-flow-CoylrfnO.js +0 -1215
  181. package/dist/vue-ui-funnel-DaBYHWIC.js +0 -747
  182. package/dist/vue-ui-galaxy-BIebStQ3.js +0 -1083
  183. package/dist/vue-ui-gauge-CwdTmiRP.js +0 -932
  184. package/dist/vue-ui-heatmap-DXYlGwqR.js +0 -1553
  185. package/dist/vue-ui-history-plot-CgIELoD2.js +0 -1696
  186. package/dist/vue-ui-molecule-DeHWkkhy.js +0 -929
  187. package/dist/vue-ui-nested-donuts-CeAV2xPk.js +0 -1501
  188. package/dist/vue-ui-onion-B7oFulsQ.js +0 -1233
  189. package/dist/vue-ui-quadrant-DrKnz37q.js +0 -1965
  190. package/dist/vue-ui-radar-Bzx69q8f.js +0 -1372
  191. package/dist/vue-ui-rating-CimC9FQ9.js +0 -359
  192. package/dist/vue-ui-relation-circle-DIQYyDGb.js +0 -903
  193. package/dist/vue-ui-ridgeline-CPEnM45x.js +0 -1621
  194. package/dist/vue-ui-rings-qPL5Iwji.js +0 -1250
  195. package/dist/vue-ui-scatter-BB0ClTsU.js +0 -2403
  196. package/dist/vue-ui-smiley-DzPkCMN-.js +0 -376
  197. package/dist/vue-ui-spark-trend-Ciq7-k_q.js +0 -457
  198. package/dist/vue-ui-sparkbar-D1M7-naP.js +0 -401
  199. package/dist/vue-ui-sparkgauge-rsqaeR_n.js +0 -268
  200. package/dist/vue-ui-sparkhistogram-C4WXt2Ni.js +0 -589
  201. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +0 -738
  202. package/dist/vue-ui-stackbar-C_hMnOLb.js +0 -2353
  203. package/dist/vue-ui-stackline-BHGi63lD.js +0 -2467
  204. package/dist/vue-ui-strip-plot-Cygpn-l8.js +0 -1738
  205. package/dist/vue-ui-table-BQna1wL6.js +0 -1352
  206. package/dist/vue-ui-table-sparkline-BCuimtk6.js +0 -738
  207. package/dist/vue-ui-tiremarks-BvjdZwgh.js +0 -538
  208. package/dist/vue-ui-treemap-C5OpqzSc.js +0 -1731
  209. package/dist/vue-ui-waffle-B7T_Zzan.js +0 -1619
  210. package/dist/vue-ui-wheel-D1B0k7IW.js +0 -871
  211. package/dist/vue-ui-word-cloud-C4pX6jop.js +0 -1708
  212. package/dist/vue-ui-xy-Ck41KYqF.js +0 -5281
  213. package/dist/vue-ui-xy-canvas-B_8Mu19r.js +0 -1824
@@ -1,738 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, Lt as r, Pt as i, S as a, X as o, Yt as ee, ht as te, i as ne, m as re, nt as ie, q as ae, w as oe } from "./lib-Dql7cqyA.js";
3
- import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-CyCVHo81.js";
5
- import { t as ue } from "./usePrinter-DISD7q5m.js";
6
- import { t as s } from "./useNestedProp-Chvyfpl-.js";
7
- import { t as de } from "./useThemeCheck-C43Tcqmk.js";
8
- import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
- import { t as pe } from "./useUserOptionState-DK-_1ddE.js";
10
- import { t as me } from "./vClickOutside-DUrZWttG.js";
11
- import { t as he } from "./vue_ui_table_sparkline-DAbkUrNz.js";
12
- import { Fragment as c, computed as l, createBlock as ge, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as _e, createVNode as p, defineAsyncComponent as m, mergeProps as h, nextTick as ve, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as ye, onMounted as be, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as xe, toDisplayString as S, unref as C, useCssVars as Se, useSlots as Ce, watch as we, withCtx as w, withDirectives as Te } from "vue";
13
- //#region src/components/vue-ui-table-sparkline.vue
14
- var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
15
- "z-index": "1",
16
- "padding-right": "24px"
17
- } }, ke = {
18
- key: 0,
19
- style: {
20
- display: "flex",
21
- flexDirection: "row",
22
- alignItems: "center"
23
- }
24
- }, Ae = {
25
- key: 0,
26
- style: {
27
- display: "flex",
28
- flexDirection: "row",
29
- alignItems: "center"
30
- }
31
- }, je = ["onClick"], Me = ["onClick"], Ne = ["data-cell"], Pe = ["data-cell", "onPointerenter"], Fe = ["data-cell"], Ie = ["data-cell"], Le = ["data-cell"], Re = ["data-cell"], ze = {
32
- key: 1,
33
- ref: "source",
34
- dir: "auto"
35
- }, T = /*#__PURE__*/ fe({
36
- __name: "vue-ui-table-sparkline",
37
- props: {
38
- config: {
39
- type: Object,
40
- default() {
41
- return {};
42
- }
43
- },
44
- dataset: {
45
- type: Array,
46
- default() {
47
- return [];
48
- }
49
- }
50
- },
51
- emits: ["copyAlt"],
52
- setup(e, { expose: fe, emit: Ee }) {
53
- Se((e) => ({ v4821b9e9: e.tdo }));
54
- let T = m(() => import("./vue-ui-sparkline-Dv7XrEzO.js").then((e) => e.n)), E = m(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), Be = m(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), { vue_ui_table_sparkline: Ve } = le(), { isThemeValid: He, warnInvalidTheme: Ue } = de(), D = e, We = Ee, O = y(ae()), Ge = y(0), k = y(0), A = y(null), Ke = Ce(), qe = y(!1), j = l({
55
- get: () => Ze(),
56
- set: (e) => e
57
- });
58
- be(() => {
59
- Ke["chart-background"] && j.value.debug && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
60
- }), se({
61
- config: () => j.value,
62
- dataset: () => D.dataset,
63
- component: "VueUiTableSparkline",
64
- rules: [
65
- ce.emptyArray,
66
- {
67
- test: (e) => e.some((e) => e?.values && e.values.length > 500),
68
- message: [
69
- "👀 One or more series have > 500 datapoints. Consider if you really need this level of detail.",
70
- "",
71
- "▶️ Use larger time scales, or aggregated values"
72
- ]
73
- },
74
- {
75
- test: (e) => e.some((e) => e?.values && e.values.length > 1095),
76
- message: [
77
- "👀 One or more series have > 1095 datapoints. Above this threshold, the dataset is computed through an LTTB algorithm, to preserve the shape of the data without increasing the number of datapoints.",
78
- "",
79
- "▶️ If you need this level of detail, you can change config.downsample.threshold and set a higher value. Note that performance will be impacted."
80
- ]
81
- }
82
- ]
83
- });
84
- let M = l(() => j.value.userOptions.useCursorPointer), { userOptionsVisible: Je, setUserOptionsVisibility: Ye, keepUserOptionState: Xe } = pe({ config: j.value });
85
- function Ze() {
86
- let e = s({
87
- userConfig: D.config,
88
- defaultConfig: Ve
89
- }), t = e.theme;
90
- if (!t) return e;
91
- if (!He.value(e)) return Ue(e), e;
92
- let n = s({
93
- userConfig: he[t] || D.config,
94
- defaultConfig: e
95
- }), i = s({
96
- userConfig: D.config,
97
- defaultConfig: n
98
- });
99
- return {
100
- ...i,
101
- customPalette: i.customPalette.length ? i.customPalette : ee[t] || r
102
- };
103
- }
104
- we(() => D.config, (e) => {
105
- j.value = Ze(), Je.value = !j.value.userOptions.showOnChartHover, it(), k.value += 1;
106
- }, { deep: !0 }), we(() => D.dataset, (e) => {
107
- U.value = H.value, k.value += 1;
108
- }, { deep: !0 });
109
- let { isPrinting: Qe, isImaging: $e, generatePdf: et, generateImage: tt } = ue({
110
- elementId: `table_${O.value}`,
111
- fileName: j.value.title.text || "vue-ui-table-sparkline",
112
- options: j.value.userOptions.print
113
- }), nt = l(() => oe(j.value.customPalette)), N = y(null), P = y(!1), rt = l(() => j.value.responsiveBreakpoint);
114
- be(() => {
115
- it();
116
- });
117
- let F = y(j.value.colNames), I = xe(null);
118
- function it() {
119
- i(D.dataset) && ie({
120
- componentName: "VueUiTableSparkline",
121
- type: "dataset"
122
- }), I.value && I.value.disconnect(), I.value = new ResizeObserver((e) => {
123
- e.forEach((e) => {
124
- P.value = e.contentRect.width < rt.value;
125
- });
126
- }), N.value && I.value.observe(N.value), F.value = [];
127
- for (let e = 0; e < lt.value; e += 1) F.value.push(j.value.colNames[e] || `col ${e}`);
128
- }
129
- ye(() => {
130
- I.value && I.value.disconnect();
131
- });
132
- function L(e) {
133
- if ([null, void 0].includes(e)) return null;
134
- let t = Number(e);
135
- return Number.isFinite(t) ? t : null;
136
- }
137
- function R(e) {
138
- return typeof e == "number" && Number.isFinite(e);
139
- }
140
- function at(e = []) {
141
- return e.map(L).filter(R);
142
- }
143
- function z(e, t, n) {
144
- let r = L(e), i = L(t), a = R(r), o = R(i);
145
- return a && o ? n === -1 ? r - i : i - r : a ? -1 : +!!o;
146
- }
147
- function B(e, t, n = {}) {
148
- let r = L(e);
149
- return r === null ? "-" : ne(j.value.formatter, r, o({
150
- p: j.value.prefix,
151
- v: r,
152
- s: j.value.suffix,
153
- r: t
154
- }), n);
155
- }
156
- let V = l(() => (D.dataset.forEach((e, t) => {
157
- te({
158
- datasetObject: e,
159
- requiredAttributes: ["name", "values"]
160
- }).forEach((e) => {
161
- ie({
162
- componentName: "VueUiTableSparkline",
163
- type: "datasetSerieAttribute",
164
- property: e,
165
- index: t
166
- });
167
- });
168
- }), D.dataset.map((e, t) => {
169
- let n = e.values || [], i = at(n), o = i.length ? i.reduce((e, t) => e + t, 0) : null, ee = i.length ? o / i.length : null, te = i.length ? re(i) : null;
170
- return {
171
- ...e,
172
- values: n,
173
- color: a(e.color) || nt.value[t] || r[t] || r[t % r.length],
174
- sum: o,
175
- average: ee,
176
- median: te,
177
- sparklineDataset: n.map((e, t) => ({
178
- period: j.value.colNames[t] || `col ${t}`,
179
- value: L(e)
180
- }))
181
- };
182
- })));
183
- function ot(e) {
184
- 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]));
185
- return e.map((e, n) => ({
186
- ...e,
187
- values: e.values || [],
188
- orders: t[n]
189
- }));
190
- }
191
- let H = l(() => ot(V.value)), U = y(H.value), st = l(() => Math.max(...U.value.map((e) => (e.values || []).length))), W = y(void 0), G = y(!1), K = y(void 0), ct = y(1);
192
- function q() {
193
- G.value = !1, K.value = void 0, Z.value = void 0, ct.value = 1, $.value.forEach((e) => e.state = 1), X.value = {
194
- name: 1,
195
- sum: 1,
196
- average: 1,
197
- median: 1
198
- }, U.value = H.value;
199
- }
200
- function J(e, t, n) {
201
- if ([
202
- "name",
203
- "sum",
204
- "average",
205
- "median"
206
- ].includes(e.type)) {
207
- ut(e.type, t, n);
208
- return;
209
- }
210
- if (!gt(t)) return;
211
- 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) {
212
- K.value = void 0, q();
213
- return;
214
- }
215
- G.value = !0, K.value = t;
216
- let r = H.value.map((e) => e.values?.[t] ?? null), i = n;
217
- $.value[t].state = i, ct.value = i, t === W.value ? W.value = void 0 : W.value = t;
218
- let a = r.map((e, t) => [t, e]).sort((e, t) => z(e[1], t[1], i)).map((e) => e[0]).map((e) => H.value[e]);
219
- U.value = a, k.value += 1;
220
- }
221
- let lt = l(() => Math.max(...D.dataset.map((e) => (e.values || []).length))), Y = l(() => {
222
- let e = F.value.map((e) => ({
223
- type: "reg",
224
- value: e
225
- }));
226
- if (!e.length) for (let t = 0; t < lt.value; t += 1) e.push({
227
- type: "reg",
228
- value: `col ${t + 1}`
229
- });
230
- j.value.showTotal && (e = [...e, {
231
- type: "sum",
232
- value: j.value.translations.total
233
- }]);
234
- let t;
235
- return t = j.value.showAverage && j.value.showMedian ? [
236
- ...e,
237
- {
238
- type: "average",
239
- value: j.value.translations.average
240
- },
241
- {
242
- type: "median",
243
- value: j.value.translations.median
244
- }
245
- ] : j.value.showAverage && !j.value.showMedian ? [...e, {
246
- type: "average",
247
- value: j.value.translations.average
248
- }] : !j.value.showAverage && j.value.showMedian ? [...e, {
249
- type: "median",
250
- value: j.value.translations.median
251
- }] : e, j.value.showSparklines ? [...t, {
252
- type: "chart",
253
- value: j.value.translations.chart
254
- }] : t;
255
- }), X = y({
256
- name: 1,
257
- sum: 1,
258
- average: 1,
259
- median: 1
260
- }), Z = y(void 0);
261
- function ut(e, t, n) {
262
- if (!U.value || U.value.length === 0 || !_t(e)) return;
263
- 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) {
264
- Z.value = void 0, q();
265
- return;
266
- }
267
- Z.value = e, G.value = !0, X.value[e] = n, [null, void 0].includes(t) || ($.value[t].state = X.value[e]);
268
- let r = X.value[e], i = [...U.value].sort((t, n) => {
269
- let i = t[e], a = n[e];
270
- return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : z(i, a, r);
271
- });
272
- U.value = i;
273
- }
274
- let Q = y(void 0), dt = y(void 0);
275
- function ft({ dataIndex: e, serieIndex: t }) {
276
- Q.value = e, dt.value = t, A.value[e] && !P.value && A.value[e].scrollIntoView({
277
- behavior: "smooth",
278
- block: "nearest",
279
- inline: "center"
280
- });
281
- }
282
- let pt = y(!1);
283
- function mt(e) {
284
- pt.value = e, Ge.value += 1;
285
- }
286
- function ht(e = null) {
287
- ve(() => {
288
- let r = [j.value.translations.serie].concat(Y.value), i = V.value.map((e, t) => [
289
- [e.name],
290
- e.values,
291
- [e.sum],
292
- [e.average],
293
- [e.median]
294
- ]), a = [r].concat(i), o = n(a);
295
- e ? e(o) : t({
296
- csvContent: o,
297
- title: j.value.title.text || "vue-ui-table-sparkline"
298
- });
299
- });
300
- }
301
- function gt(e) {
302
- return j.value.sortedDataColumnIndices.includes(e);
303
- }
304
- function _t(e) {
305
- return e.type === "name" || e === "name" ? j.value.sortedSeriesName : e.type === "sum" || e === "sum" ? j.value.sortedSum : e.type === "average" || e === "average" ? j.value.sortedAverage : e.type === "median" || e === "median" ? j.value.sortedMedian : !1;
306
- }
307
- function vt(e, t, n) {
308
- return [
309
- "sum",
310
- "average",
311
- "median"
312
- ].includes(t.type) ? Z.value === t.type && X.value[t.type] === n ? 1 : .3 : e === K.value && $.value[e].state === n ? 1 : .3;
313
- }
314
- function yt() {
315
- j.value.resetSortOnClickOutside && q();
316
- }
317
- let $ = l({
318
- get: () => Y.value.map((e) => ({ state: 1 })),
319
- set: (e) => e
320
- });
321
- function bt(e) {
322
- if (e?.stage === "start") {
323
- qe.value = !0;
324
- return;
325
- }
326
- if (e?.stage === "end") {
327
- qe.value = !1;
328
- return;
329
- }
330
- tt();
331
- }
332
- async function xt() {
333
- if (We("copyAlt", {
334
- config: j.value,
335
- dataset: V.value
336
- }), !j.value.userOptions.callbacks.altCopy) {
337
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
338
- return;
339
- }
340
- await Promise.resolve(j.value.userOptions.callbacks.altCopy({
341
- config: j.value,
342
- dataset: V.value
343
- }));
344
- }
345
- return fe({
346
- generatePdf: et,
347
- generateImage: tt,
348
- generateCsv: ht,
349
- restoreOrder: q,
350
- copyAlt: xt
351
- }), (e, t) => (v(), d("div", {
352
- ref_key: "tableContainer",
353
- ref: N,
354
- class: g({
355
- "vue-data-ui-component": !0,
356
- "vue-ui-table-sparkline": !0,
357
- "vue-ui-responsive": P.value
358
- }),
359
- style: { overflow: "hidden" },
360
- id: `table_${O.value}`,
361
- onMouseenter: t[3] ||= () => C(Ye)(!0),
362
- onMouseleave: t[4] ||= () => C(Ye)(!1)
363
- }, [
364
- j.value.title.text ? (v(), d("div", {
365
- key: 0,
366
- class: "vue-ui-table-sparkline-caption",
367
- style: _({ backgroundColor: j.value.title.backgroundColor })
368
- }, [f("div", {
369
- class: "atom-title",
370
- style: _({
371
- fontSize: `${j.value.title.fontSize}px`,
372
- fontWeight: j.value.title.bold ? "bold" : "normal",
373
- color: j.value.title.color,
374
- textAlign: j.value.title.textAlign
375
- })
376
- }, S(j.value.title.text), 5), j.value.title.subtitle.text ? (v(), d("div", {
377
- key: 0,
378
- class: "atom-subtitle",
379
- style: _({
380
- fontSize: `${j.value.title.subtitle.fontSize}px`,
381
- fontWeight: j.value.title.subtitle.bold ? "bold" : "normal",
382
- color: j.value.title.subtitle.color,
383
- textAlign: j.value.title.textAlign
384
- })
385
- }, S(j.value.title.subtitle.text), 5)) : u("", !0)], 4)) : u("", !0),
386
- f("div", {
387
- style: { overflow: "auto" },
388
- onPointerleave: t[2] ||= (e) => {
389
- dt.value = void 0, Q.value = void 0;
390
- }
391
- }, [f("table", {
392
- class: "vue-ui-data-table",
393
- style: _({
394
- fontFamily: j.value.fontFamily,
395
- position: "relative"
396
- })
397
- }, [f("thead", Oe, [Te((v(), d("tr", {
398
- role: "row",
399
- class: "vue-ui-data-table__thead-row",
400
- style: _({
401
- backgroundColor: j.value.thead.backgroundColor,
402
- color: j.value.thead.color
403
- })
404
- }, [f("th", {
405
- role: "cell",
406
- style: _({
407
- backgroundColor: j.value.thead.backgroundColor,
408
- border: j.value.thead.outline,
409
- textAlign: j.value.thead.textAlign,
410
- fontWeight: j.value.thead.bold ? "bold" : "normal"
411
- }),
412
- class: "sticky-col-first"
413
- }, [f("div", { style: _({
414
- display: "flex",
415
- flexDirection: "row",
416
- alignItems: "center",
417
- gap: "3px",
418
- justifyContent: j.value.thead.textAlign
419
- }) }, [f("span", null, S(j.value.translations.serie), 1), U.value.length > 1 && j.value.sortedSeriesName ? (v(), d("div", ke, [f("button", {
420
- class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
421
- onClick: t[0] ||= (e) => J({ type: "name" }, null, -1),
422
- style: _({ cursor: M.value ? "pointer" : "default" })
423
- }, [p(C(E), {
424
- size: 12,
425
- name: "arrowBottom",
426
- stroke: j.value.thead.color,
427
- style: _({ opacity: Z.value === "name" && X.value.name === -1 ? 1 : .3 })
428
- }, null, 8, ["stroke", "style"])], 4), f("button", {
429
- class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
430
- onClick: t[1] ||= (e) => J({ type: "name" }, null, 1),
431
- style: _({ cursor: M.value ? "pointer" : "default" })
432
- }, [p(C(E), {
433
- size: 12,
434
- name: "arrowTop",
435
- stroke: j.value.thead.color,
436
- style: _({ opacity: Z.value === "name" && X.value.name === 1 ? 1 : .3 })
437
- }, null, 8, ["stroke", "style"])], 4)])) : u("", !0)], 4)], 4), (v(!0), d(c, null, b(Y.value, (t, n) => (v(), d("th", {
438
- role: "cell",
439
- style: _({
440
- background: j.value.thead.backgroundColor,
441
- border: j.value.thead.outline,
442
- textAlign: j.value.thead.textAlign,
443
- fontWeight: j.value.thead.bold ? "bold" : "normal",
444
- minWidth: n === Y.value.length - 1 ? `${j.value.sparkline.dimensions.width}px` : "48px",
445
- paddingRight: n === Y.value.length - 1 && j.value.userOptions.show ? "36px" : ""
446
- }),
447
- class: g({ "sticky-col": n === Y.value.length - 1 && j.value.showSparklines })
448
- }, [f("div", { style: _({
449
- display: "flex",
450
- flexDirection: "row",
451
- alignItems: "center",
452
- gap: "3px",
453
- justifyContent: j.value.thead.textAlign
454
- }) }, [f("span", null, S(t.value), 1), U.value.length > 1 && (gt(n) || _t(t)) ? (v(), d("div", Ae, [f("button", {
455
- class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
456
- onClick: () => J(t, n, -1),
457
- style: _({ cursor: M.value ? "pointer" : "default" })
458
- }, [p(C(E), {
459
- size: 12,
460
- name: "arrowBottom",
461
- stroke: j.value.thead.color,
462
- style: _({ opacity: vt(n, t, -1) })
463
- }, null, 8, ["stroke", "style"])], 12, je), f("button", {
464
- class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
465
- onClick: () => J(t, n, 1),
466
- style: _({ cursor: M.value ? "pointer" : "default" })
467
- }, [p(C(E), {
468
- size: 12,
469
- name: "arrowTop",
470
- stroke: j.value.thead.color,
471
- style: _({ opacity: vt(n, t, 1) })
472
- }, null, 8, ["stroke", "style"])], 12, Me)])) : u("", !0)], 4), j.value.userOptions.show && n === Y.value.length - 1 && (C(Xe) || C(Je)) ? (v(), ge(C(Be), {
473
- ref_for: !0,
474
- ref: "details",
475
- key: `user_option_${Ge.value}`,
476
- backgroundColor: j.value.thead.backgroundColor,
477
- color: j.value.thead.color,
478
- isPrinting: C(Qe),
479
- isImaging: C($e),
480
- uid: O.value,
481
- hasPdf: j.value.userOptions.buttons.pdf,
482
- hasXls: j.value.userOptions.buttons.csv,
483
- hasImg: j.value.userOptions.buttons.img,
484
- hasFullscreen: j.value.userOptions.buttons.fullscreen,
485
- hasAltCopy: j.value.userOptions.buttons.altCopy,
486
- isFullscreen: pt.value,
487
- titles: { ...j.value.userOptions.buttonTitles },
488
- chartElement: N.value,
489
- position: j.value.userOptions.position,
490
- callbacks: j.value.userOptions.callbacks,
491
- printScale: j.value.userOptions.print.scale,
492
- isCursorPointer: M.value,
493
- onToggleFullscreen: mt,
494
- onGeneratePdf: C(et),
495
- onGenerateImage: bt,
496
- onGenerateCsv: ht,
497
- onCopyAlt: xt,
498
- style: _({ visibility: C(Xe) ? C(Je) ? "visible" : "hidden" : "visible" })
499
- }, _e({ _: 2 }, [
500
- e.$slots.menuIcon ? {
501
- name: "menuIcon",
502
- fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", h({ ref_for: !0 }, {
503
- isOpen: t,
504
- color: n
505
- }), void 0, !0)]),
506
- key: "0"
507
- } : void 0,
508
- e.$slots.optionPdf ? {
509
- name: "optionPdf",
510
- fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
511
- key: "1"
512
- } : void 0,
513
- e.$slots.optionCsv ? {
514
- name: "optionCsv",
515
- fn: w(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
516
- key: "2"
517
- } : void 0,
518
- e.$slots.optionImg ? {
519
- name: "optionImg",
520
- fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
521
- key: "3"
522
- } : void 0,
523
- e.$slots.optionFullscreen ? {
524
- name: "optionFullscreen",
525
- fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", h({ ref_for: !0 }, {
526
- toggleFullscreen: t,
527
- isFullscreen: n
528
- }), void 0, !0)]),
529
- key: "4"
530
- } : void 0,
531
- e.$slots.optionAltCopy ? {
532
- name: "optionAltCopy",
533
- fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", h({ ref_for: !0 }, { altCopy: t }), void 0, !0)]),
534
- key: "5"
535
- } : void 0,
536
- e.$slots["custom-menu-before"] ? {
537
- name: "custom-menu-before",
538
- fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
539
- key: "6"
540
- } : void 0,
541
- e.$slots["custom-menu-after"] ? {
542
- name: "custom-menu-after",
543
- fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
544
- key: "7"
545
- } : void 0
546
- ]), 1032, [
547
- "backgroundColor",
548
- "color",
549
- "isPrinting",
550
- "isImaging",
551
- "uid",
552
- "hasPdf",
553
- "hasXls",
554
- "hasImg",
555
- "hasFullscreen",
556
- "hasAltCopy",
557
- "isFullscreen",
558
- "titles",
559
- "chartElement",
560
- "position",
561
- "callbacks",
562
- "printScale",
563
- "isCursorPointer",
564
- "onGeneratePdf",
565
- "style"
566
- ])) : u("", !0)], 6))), 256))], 4)), [[C(me), yt]])]), f("tbody", null, [(v(!0), d(c, null, b(U.value, (e, t) => (v(), d("tr", {
567
- role: "row",
568
- style: _({
569
- backgroundColor: j.value.tbody.backgroundColor,
570
- color: j.value.tbody.color
571
- }),
572
- class: g({
573
- "vue-ui-data-table__tbody__row": !0,
574
- "vue-ui-data-table__tbody__row-even": t % 2 == 0,
575
- "vue-ui-data-table__tbody__row-odd": t % 2 != 0
576
- })
577
- }, [
578
- f("td", {
579
- role: "cell",
580
- style: _({
581
- backgroundColor: j.value.tbody.backgroundColor,
582
- border: j.value.tbody.outline,
583
- fontSize: `${j.value.tbody.fontSize}px`,
584
- fontWeight: j.value.tbody.bold ? "bold" : "normal",
585
- textAlign: j.value.tbody.textAlign
586
- }),
587
- "data-cell": j.value.translations.serie,
588
- class: "vue-ui-data-table__tbody__td sticky-col-first"
589
- }, [f("div", {
590
- dir: "auto",
591
- style: _({
592
- display: "flex",
593
- flexDirection: "row",
594
- alignItems: "center",
595
- gap: "6px",
596
- justifyContent: j.value.tbody.textAlign
597
- })
598
- }, [j.value.tbody.showColorMarker ? (v(), d("span", {
599
- key: 0,
600
- style: _({ color: e.color })
601
- }, "⬤", 4)) : u("", !0), f("span", null, S(e.name ?? "-"), 1)], 4)], 12, Ne),
602
- (v(!0), d(c, null, b(st.value, (n, r) => (v(), d("td", {
603
- dir: "auto",
604
- role: "cell",
605
- ref_for: !0,
606
- ref_key: "TD",
607
- ref: A,
608
- style: _({
609
- border: j.value.tbody.outline,
610
- fontSize: `${j.value.tbody.fontSize}px`,
611
- fontWeight: j.value.tbody.bold ? "bold" : "normal",
612
- textAlign: j.value.tbody.textAlign,
613
- background: Q.value !== void 0 && r === Q.value ? j.value.tbody.selectedColor.useSerieColor ? `${e.color.length > 7 ? e.color.slice(0, -2) : e.color}33` : j.value.tbody.selectedColor.fallback : ""
614
- }),
615
- "data-cell": Y.value[r] ? Y.value[r].value : "",
616
- class: "vue-ui-data-table__tbody__td",
617
- onPointerenter: (e) => {
618
- dt.value = t, Q.value = r;
619
- }
620
- }, S(B(e.values[r], j.value.roundingValues, {
621
- datapoint: e,
622
- seriesIndex: t,
623
- datapointIndex: r
624
- })), 45, Pe))), 256)),
625
- j.value.showTotal ? (v(), d("td", {
626
- key: 0,
627
- dir: "auto",
628
- role: "cell",
629
- style: _({
630
- border: j.value.tbody.outline,
631
- fontSize: `${j.value.tbody.fontSize}px`,
632
- fontWeight: j.value.tbody.bold ? "bold" : "normal",
633
- textAlign: j.value.tbody.textAlign
634
- }),
635
- "data-cell": j.value.translations.total,
636
- class: "vue-ui-data-table__tbody__td"
637
- }, S(B(e.sum, j.value.roundingTotal, {
638
- datapoint: e.sum,
639
- seriesIndex: t
640
- })), 13, Fe)) : u("", !0),
641
- j.value.showAverage ? (v(), d("td", {
642
- key: 1,
643
- dir: "auto",
644
- role: "cell",
645
- style: _({
646
- border: j.value.tbody.outline,
647
- fontSize: `${j.value.tbody.fontSize}px`,
648
- fontWeight: j.value.tbody.bold ? "bold" : "normal",
649
- textAlign: j.value.tbody.textAlign
650
- }),
651
- "data-cell": j.value.translations.average,
652
- class: "vue-ui-data-table__tbody__td"
653
- }, S(B(e.average, j.value.roundingAverage, {
654
- datapoint: e.average,
655
- seriesIndex: t
656
- })), 13, Ie)) : u("", !0),
657
- j.value.showMedian ? (v(), d("td", {
658
- key: 2,
659
- dir: "auto",
660
- role: "cell",
661
- style: _({
662
- border: j.value.tbody.outline,
663
- fontSize: `${j.value.tbody.fontSize}px`,
664
- fontWeight: j.value.tbody.bold ? "bold" : "normal",
665
- textAlign: j.value.tbody.textAlign
666
- }),
667
- "data-cell": j.value.translations.median,
668
- class: "vue-ui-data-table__tbody__td"
669
- }, S(B(e.median, j.value.roundingMedian, {
670
- datapoint: e.median,
671
- seriesIndex: t
672
- })), 13, Le)) : u("", !0),
673
- j.value.showSparklines ? (v(), d("td", {
674
- key: 3,
675
- role: "cell",
676
- "data-cell": j.value.translations.chart,
677
- style: _({
678
- border: j.value.tbody.outline,
679
- fontSize: `${j.value.tbody.fontSize}px`,
680
- fontWeight: j.value.tbody.bold ? "bold" : "normal",
681
- textAlign: j.value.tbody.textAlign,
682
- backgroundColor: j.value.tbody.backgroundColor,
683
- padding: "0"
684
- }),
685
- class: "vue-ui-data-table__tbody__td sticky-col"
686
- }, [p(C(T), {
687
- onHoverIndex: ({ index: e }) => ft({
688
- dataIndex: e,
689
- serieIndex: t
690
- }),
691
- "height-ratio": j.value.sparkline.dimensions.heightRatio,
692
- "forced-padding": 30,
693
- dataset: e.sparklineDataset,
694
- showInfo: !1,
695
- selectedIndex: Q.value,
696
- config: {
697
- type: j.value.sparkline.type,
698
- style: {
699
- backgroundColor: "transparent",
700
- animation: {
701
- show: j.value.sparkline.animation.show && !C(Qe) && !C($e),
702
- animationFrames: j.value.sparkline.animation.animationFrames
703
- },
704
- padding: { right: 12 },
705
- line: {
706
- color: e.color,
707
- smooth: j.value.sparkline.smooth,
708
- cutNullValues: j.value.sparkline.cutNullValues,
709
- strokeWidth: j.value.sparkline.strokeWidth
710
- },
711
- bar: { color: e.color },
712
- area: {
713
- color: e.color,
714
- opacity: j.value.sparkline.showArea ? 16 : 0,
715
- useGradient: j.value.sparkline.useGradient
716
- },
717
- verticalIndicator: { color: e.color },
718
- plot: {
719
- radius: 9,
720
- stroke: j.value.tbody.backgroundColor,
721
- strokeWidth: 3
722
- }
723
- }
724
- }
725
- }, null, 8, [
726
- "onHoverIndex",
727
- "height-ratio",
728
- "dataset",
729
- "selectedIndex",
730
- "config"
731
- ])], 12, Re)) : u("", !0)
732
- ], 6))), 256))])], 4)], 32),
733
- e.$slots.source ? (v(), d("div", ze, [x(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0)
734
- ], 42, De));
735
- }
736
- }, [["__scopeId", "data-v-004f0a63"]]);
737
- //#endregion
738
- export { Ee as n, T as t };