vue-data-ui 3.22.0 → 3.22.2

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 (199) hide show
  1. package/dist/{Arrow-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
  3. package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
  4. package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
  5. package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
  6. package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
  7. package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
  8. package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
  10. package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-Dx81ZIAL.js} +1 -1
  11. package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
  12. package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
  13. package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
  14. package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
  15. package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
  16. package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
  17. package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
  18. package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.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-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
  89. package/dist/exposedLib-CffbQxjN.js +19 -0
  90. package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
  91. package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
  92. package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
  93. package/dist/{package-0oRlvBuX.js → package-CILLITOI.js} +1 -1
  94. package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
  95. package/dist/{render-common-DSiH7qj-.js → render-common-bMAFQ_qf.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/types/vue-data-ui.d.ts +7 -10
  101. package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
  102. package/dist/{useConfig-Br1uzq_L.js → useConfig-Bf_EBbe3.js} +4 -1
  103. package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
  104. package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-Byts-nf-.js} +1 -1
  105. package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
  106. package/dist/utils.js +3 -3
  107. package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DD-txoS1.js} +68 -68
  108. package/dist/vue-data-ui.js +72 -72
  109. package/dist/vue-ui-3d-bar-DxfNdF2e.js +1757 -0
  110. package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Di_givzQ.js} +4 -4
  111. package/dist/vue-ui-age-pyramid-CTwMfsqS.js +1238 -0
  112. package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-tRkLFMQ9.js} +60 -60
  113. package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-9gtGJaGb.js} +23 -23
  114. package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-BJ5O8Mps.js} +400 -400
  115. package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-CJ_VVYbJ.js} +50 -50
  116. package/dist/vue-ui-carousel-table-8s8BSy-K.js +455 -0
  117. package/dist/vue-ui-chestnut-D3-ck2h2.js +2010 -0
  118. package/dist/vue-ui-chord-1BitQtEw.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DVMhDFKU.js} +44 -44
  120. package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-D7yh10hX.js} +61 -61
  121. package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag--LFEAAf_.js} +18 -18
  122. package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-COeO878g.js} +70 -70
  123. package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-C50FVr7C.js} +4 -4
  124. package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-BzKXqQA2.js} +160 -160
  125. package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-NHjQzFO5.js} +474 -474
  126. package/dist/vue-ui-donut-evolution-lPkwit2C.js +1510 -0
  127. package/dist/vue-ui-dumbbell-hlEfvbbf.js +1530 -0
  128. package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-Bg_OSszc.js} +43 -43
  129. package/dist/vue-ui-funnel-B_bK0jJB.js +777 -0
  130. package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-WVCUzcYc.js} +301 -301
  131. package/dist/vue-ui-gauge-Cqeko0wA.js +920 -0
  132. package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-DtzXRvmx.js} +22 -22
  133. package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-hIFd7qck.js} +4 -4
  134. package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-yPlwc3l_.js} +95 -95
  135. package/dist/vue-ui-history-plot-BGmcDg2w.js +1554 -0
  136. package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-CJciNHpT.js} +264 -264
  137. package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DmSe1QGb.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-CqxI6DwN.js} +3 -3
  139. package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-w-94Uktn.js} +181 -181
  140. package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-B3OGWGHR.js} +29 -29
  141. package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-Dv_yE5EV.js} +211 -211
  142. package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-BQbI0Vxd.js} +34 -34
  143. package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-ColST3Jj.js} +40 -40
  144. package/dist/vue-ui-quadrant-BB7qdXK0.js +1978 -0
  145. package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-CGDeo3Fx.js} +358 -358
  146. package/dist/vue-ui-radar-DqDn14DL.js +1281 -0
  147. package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-ChDwpol2.js} +34 -34
  148. package/dist/vue-ui-relation-circle-BvfZqcK0.js +924 -0
  149. package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-Cq8z57xB.js} +219 -219
  150. package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-Ds-sgNPK.js} +36 -36
  151. package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-BgOVUzQ3.js} +75 -75
  152. package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DJ5KAbfV.js} +42 -42
  153. package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-fFrNX-Gl.js} +17 -17
  154. package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-D6OBWxmg.js} +92 -92
  155. package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-CtCP8O44.js} +78 -78
  156. package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-CZDkyViI.js} +38 -38
  157. package/dist/vue-ui-sparkhistogram-DgruLf33.js +560 -0
  158. package/dist/vue-ui-sparkline-CJKE7Xcl.js +1547 -0
  159. package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BSV0M-2u.js} +162 -162
  160. package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-pnlYCnTj.js} +67 -67
  161. package/dist/vue-ui-stackline-DS_MPmc1.js +2398 -0
  162. package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot-DSKOrJZX.js} +49 -49
  163. package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-c1FPEwLM.js} +87 -87
  164. package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-CMQJXnP8.js} +17 -17
  165. package/dist/vue-ui-table-sparkline-CAS9Pk60.js +712 -0
  166. package/dist/vue-ui-thermometer-w3eeJv9s.js +763 -0
  167. package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-CSP48eS-.js} +6 -6
  168. package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-DJvXj1P3.js} +19 -19
  169. package/dist/vue-ui-treemap-BaOMXTR1.js +1587 -0
  170. package/dist/vue-ui-waffle-Bo22Ph8n.js +1362 -0
  171. package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-CbL52G-w.js} +51 -51
  172. package/dist/vue-ui-word-cloud-BqOCyp7c.js +1723 -0
  173. package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-BkjzCcVh.js} +445 -445
  174. package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CVDNhnDY.js} +162 -162
  175. package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DuwLRfr4.js} +537 -534
  176. package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CXqGVMeQ.js} +65 -65
  177. package/package.json +2 -2
  178. package/dist/exposedLib-BJbE_A8E.js +0 -19
  179. package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
  181. package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
  182. package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
  183. package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
  184. package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
  185. package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
  186. package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
  187. package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
  188. package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
  189. package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
  190. package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
  191. package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
  192. package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
  193. package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
  194. package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
  195. package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
  196. package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
  197. package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
  198. package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
  199. package/dist/vue-ui-word-cloud-BqsUdsCY.js +0 -1656
@@ -1,707 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, G as n, H as r, J as i, Ot as a, S as ee, Tt as te, X as ne, ct as re, f as ie, i as o, x as ae, y as oe } from "./lib-AJRHFE5U.js";
3
- import { t as se } from "./useConfig-Br1uzq_L.js";
4
- import { t as ce } from "./usePrinter-6n2MzVyV.js";
5
- import { t as s } from "./useNestedProp-DtcXIg7n.js";
6
- import { t as le } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as c } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
- import { t as ue } from "./useUserOptionState-DK-_1ddE.js";
9
- import { t as de } from "./vClickOutside-DUrZWttG.js";
10
- import { t as fe } from "./vue_ui_table_sparkline-DAbkUrNz.js";
11
- import { Fragment as l, computed as u, createBlock as pe, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as me, createVNode as m, defineAsyncComponent as h, mergeProps as g, nextTick as he, normalizeClass as _, normalizeStyle as v, onBeforeUnmount as ge, onMounted as y, openBlock as b, ref as x, renderList as S, renderSlot as C, shallowRef as _e, toDisplayString as w, unref as T, useCssVars as ve, useSlots as ye, watch as be, withCtx as E, withDirectives as xe } from "vue";
12
- //#region src/components/vue-ui-table-sparkline.vue
13
- var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
14
- "z-index": "1",
15
- "padding-right": "24px"
16
- } }, Te = {
17
- key: 0,
18
- style: {
19
- display: "flex",
20
- flexDirection: "row",
21
- alignItems: "center"
22
- }
23
- }, Ee = {
24
- key: 0,
25
- style: {
26
- display: "flex",
27
- flexDirection: "row",
28
- alignItems: "center"
29
- }
30
- }, De = ["onClick"], Oe = ["onClick"], ke = ["data-cell"], Ae = ["data-cell", "onPointerenter"], je = ["data-cell"], Me = ["data-cell"], Ne = ["data-cell"], Pe = ["data-cell"], Fe = {
31
- key: 1,
32
- ref: "source",
33
- dir: "auto"
34
- }, D = /*#__PURE__*/ c({
35
- __name: "vue-ui-table-sparkline",
36
- props: {
37
- config: {
38
- type: Object,
39
- default() {
40
- return {};
41
- }
42
- },
43
- dataset: {
44
- type: Array,
45
- default() {
46
- return [];
47
- }
48
- }
49
- },
50
- emits: ["copyAlt"],
51
- setup(e, { expose: c, emit: Se }) {
52
- ve((e) => ({ v7ad8dbe3: e.tdo }));
53
- let D = h(() => import("./vue-ui-sparkline-DLay6Hog.js").then((e) => e.n)), O = h(() => import("./BaseIcon-CWXbczu_.js").then((e) => e.n)), Ie = h(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), { vue_ui_table_sparkline: Le } = se(), { isThemeValid: Re, warnInvalidTheme: ze } = le(), k = e, Be = Se, A = x(r()), Ve = x(0), j = x(0), M = x(null), He = ye(), Ue = x(!1);
54
- y(() => {
55
- He["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
56
- });
57
- let N = u({
58
- get: () => Ke(),
59
- set: (e) => e
60
- }), P = u(() => N.value.userOptions.useCursorPointer), { userOptionsVisible: F, setUserOptionsVisibility: We, keepUserOptionState: Ge } = ue({ config: N.value });
61
- function Ke() {
62
- let e = s({
63
- userConfig: k.config,
64
- defaultConfig: Le
65
- }), n = e.theme;
66
- if (!n) return e;
67
- if (!Re.value(e)) return ze(e), e;
68
- let r = s({
69
- userConfig: fe[n] || k.config,
70
- defaultConfig: e
71
- }), i = s({
72
- userConfig: k.config,
73
- defaultConfig: r
74
- });
75
- return {
76
- ...i,
77
- customPalette: i.customPalette.length ? i.customPalette : t[n] || a
78
- };
79
- }
80
- be(() => k.config, (e) => {
81
- N.value = Ke(), F.value = !N.value.userOptions.showOnChartHover, $e(), j.value += 1;
82
- }, { deep: !0 }), be(() => k.dataset, (e) => {
83
- H.value = V.value, j.value += 1;
84
- }, { deep: !0 });
85
- let { isPrinting: qe, isImaging: Je, generatePdf: Ye, generateImage: Xe } = ce({
86
- elementId: `table_${A.value}`,
87
- fileName: N.value.title.text || "vue-ui-table-sparkline",
88
- options: N.value.userOptions.print
89
- }), Ze = u(() => ae(N.value.customPalette)), I = x(null), L = x(!1), Qe = u(() => N.value.responsiveBreakpoint);
90
- y(() => {
91
- $e();
92
- });
93
- let R = x(N.value.colNames), z = _e(null);
94
- function $e() {
95
- te(k.dataset) && ne({
96
- componentName: "VueUiTableSparkline",
97
- type: "dataset"
98
- }), z.value && z.value.disconnect(), z.value = new ResizeObserver((e) => {
99
- e.forEach((e) => {
100
- L.value = e.contentRect.width < Qe.value;
101
- });
102
- }), I.value && z.value.observe(I.value), R.value = [];
103
- for (let e = 0; e < rt.value; e += 1) R.value.push(N.value.colNames[e] || `col ${e}`);
104
- }
105
- ge(() => {
106
- z.value && z.value.disconnect();
107
- });
108
- let B = u(() => (k.dataset.forEach((e, t) => {
109
- re({
110
- datasetObject: e,
111
- requiredAttributes: ["name", "values"]
112
- }).forEach((e) => {
113
- ne({
114
- componentName: "VueUiTableSparkline",
115
- type: "datasetSerieAttribute",
116
- property: e,
117
- index: t
118
- });
119
- });
120
- }), k.dataset.map((e, t) => {
121
- let n = (e.values || []).map((e) => isNaN(e) ? 0 : e ?? 0), r = n.reduce((e, t) => e + t, 0), i = r / n.length, ee = ie(n);
122
- return {
123
- ...e,
124
- values: e.values || [],
125
- color: oe(e.color) || Ze.value[t] || a[t] || a[t % a.length],
126
- sum: r,
127
- average: i,
128
- median: ee,
129
- sparklineDataset: n.map((e, t) => ({
130
- period: N.value.colNames[t] || `col ${t}`,
131
- value: e || 0
132
- }))
133
- };
134
- })));
135
- function et(e) {
136
- let t = (e[0]?.values || []).map((t, n) => e.map((e) => e?.values[n] || [])).map((e) => e.map((e, t) => [e, t]).sort((e, t) => t[0] - e[0]).map((e) => e[1]));
137
- return e.map((e, n) => ({
138
- ...e,
139
- values: e.values || [],
140
- orders: t[n]
141
- }));
142
- }
143
- let V = u(() => et(B.value)), H = x(V.value), tt = u(() => Math.max(...H.value.map((e) => (e.values || []).length))), U = x(void 0), W = x(!1), G = x(void 0), nt = x(1);
144
- function K() {
145
- W.value = !1, G.value = void 0, X.value = void 0, nt.value = 1, $.value.forEach((e) => e.state = 1), Y.value = {
146
- name: 1,
147
- sum: 1,
148
- average: 1,
149
- median: 1
150
- }, H.value = V.value;
151
- }
152
- function q(e, t, n) {
153
- if ([
154
- "name",
155
- "sum",
156
- "average",
157
- "median"
158
- ].includes(e.type)) {
159
- it(e.type, t, n);
160
- return;
161
- }
162
- if (!lt(t)) return;
163
- 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) {
164
- G.value = void 0, K();
165
- return;
166
- }
167
- W.value = !0, G.value = t;
168
- let r = V.value.map((e) => e.values[t] || []), i = n;
169
- $.value[t].state = i, nt.value = i, t === U.value ? U.value = void 0 : U.value = t, H.value = r.map((e, t) => [t, e]).sort((e, t) => i * (t[1] - e[1])).map((e) => e[0]).map((e) => V.value[e]), j.value += 1;
170
- }
171
- let rt = u(() => Math.max(...k.dataset.map((e) => (e.values || []).length))), J = u(() => {
172
- let e = R.value.map((e) => ({
173
- type: "reg",
174
- value: e
175
- }));
176
- if (!e.length) for (let t = 0; t < rt.value; t += 1) e.push({
177
- type: "reg",
178
- value: `col ${t + 1}`
179
- });
180
- N.value.showTotal && (e = [...e, {
181
- type: "sum",
182
- value: N.value.translations.total
183
- }]);
184
- let t;
185
- return t = N.value.showAverage && N.value.showMedian ? [
186
- ...e,
187
- {
188
- type: "average",
189
- value: N.value.translations.average
190
- },
191
- {
192
- type: "median",
193
- value: N.value.translations.median
194
- }
195
- ] : N.value.showAverage && !N.value.showMedian ? [...e, {
196
- type: "average",
197
- value: N.value.translations.average
198
- }] : !N.value.showAverage && N.value.showMedian ? [...e, {
199
- type: "median",
200
- value: N.value.translations.median
201
- }] : e, N.value.showSparklines ? [...t, {
202
- type: "chart",
203
- value: N.value.translations.chart
204
- }] : t;
205
- }), Y = x({
206
- name: 1,
207
- sum: 1,
208
- average: 1,
209
- median: 1
210
- }), X = x(void 0);
211
- function it(e, t, n) {
212
- if (!H.value || H.value.length === 0 || !ut(e)) return;
213
- 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) {
214
- X.value = void 0, K();
215
- return;
216
- }
217
- X.value = e, W.value = !0, Y.value[e] = n, [null, void 0].includes(t) || ($.value[t].state = Y.value[e]);
218
- let r = Y.value[e];
219
- H.value = [...H.value].sort((t, n) => {
220
- let i = t[e] ?? (typeof t[e] == "number" ? 0 : ""), a = n[e] ?? (typeof n[e] == "number" ? 0 : "");
221
- return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : typeof i == "number" && typeof a == "number" ? r === -1 ? i - a : a - i : 0;
222
- });
223
- }
224
- let Z = x(void 0), Q = x(void 0);
225
- function at({ dataIndex: e, serieIndex: t }) {
226
- Z.value = e, Q.value = t, M.value[e] && !L.value && M.value[e].scrollIntoView({
227
- behavior: "smooth",
228
- block: "nearest",
229
- inline: "center"
230
- });
231
- }
232
- let ot = x(!1);
233
- function st(e) {
234
- ot.value = e, Ve.value += 1;
235
- }
236
- function ct(e = null) {
237
- he(() => {
238
- let t = [N.value.translations.serie].concat(J.value), n = B.value.map((e, t) => [
239
- [e.name],
240
- e.values,
241
- [e.sum],
242
- [e.average],
243
- [e.median]
244
- ]), r = ee([t].concat(n));
245
- e ? e(r) : i({
246
- csvContent: r,
247
- title: N.value.title.text || "vue-ui-table-sparkline"
248
- });
249
- });
250
- }
251
- function lt(e) {
252
- return N.value.sortedDataColumnIndices.includes(e);
253
- }
254
- function ut(e) {
255
- return e.type === "name" || e === "name" ? N.value.sortedSeriesName : e.type === "sum" || e === "sum" ? N.value.sortedSum : e.type === "average" || e === "average" ? N.value.sortedAverage : e.type === "median" || e === "median" ? N.value.sortedMedian : !1;
256
- }
257
- function dt(e, t, n) {
258
- return [
259
- "sum",
260
- "average",
261
- "median"
262
- ].includes(t.type) ? X.value === t.type && Y.value[t.type] === n ? 1 : .3 : e === G.value && $.value[e].state === n ? 1 : .3;
263
- }
264
- function ft() {
265
- N.value.resetSortOnClickOutside && K();
266
- }
267
- let $ = u({
268
- get: () => J.value.map((e) => ({ state: 1 })),
269
- set: (e) => e
270
- });
271
- function pt(e) {
272
- if (e?.stage === "start") {
273
- Ue.value = !0;
274
- return;
275
- }
276
- if (e?.stage === "end") {
277
- Ue.value = !1;
278
- return;
279
- }
280
- Xe();
281
- }
282
- async function mt() {
283
- if (Be("copyAlt", {
284
- config: N.value,
285
- dataset: B.value
286
- }), !N.value.userOptions.callbacks.altCopy) {
287
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
288
- return;
289
- }
290
- await Promise.resolve(N.value.userOptions.callbacks.altCopy({
291
- config: N.value,
292
- dataset: B.value
293
- }));
294
- }
295
- return c({
296
- generatePdf: Ye,
297
- generateImage: Xe,
298
- generateCsv: ct,
299
- restoreOrder: K,
300
- copyAlt: mt
301
- }), (e, t) => (b(), f("div", {
302
- ref_key: "tableContainer",
303
- ref: I,
304
- class: _({
305
- "vue-data-ui-component": !0,
306
- "vue-ui-table-sparkline": !0,
307
- "vue-ui-responsive": L.value
308
- }),
309
- style: { overflow: "hidden" },
310
- id: `table_${A.value}`,
311
- onMouseenter: t[3] ||= () => T(We)(!0),
312
- onMouseleave: t[4] ||= () => T(We)(!1)
313
- }, [
314
- N.value.title.text ? (b(), f("div", {
315
- key: 0,
316
- class: "vue-ui-table-sparkline-caption",
317
- style: v({ backgroundColor: N.value.title.backgroundColor })
318
- }, [p("div", {
319
- class: "atom-title",
320
- style: v({
321
- fontSize: `${N.value.title.fontSize}px`,
322
- fontWeight: N.value.title.bold ? "bold" : "normal",
323
- color: N.value.title.color,
324
- textAlign: N.value.title.textAlign
325
- })
326
- }, w(N.value.title.text), 5), N.value.title.subtitle.text ? (b(), f("div", {
327
- key: 0,
328
- class: "atom-subtitle",
329
- style: v({
330
- fontSize: `${N.value.title.subtitle.fontSize}px`,
331
- fontWeight: N.value.title.subtitle.bold ? "bold" : "normal",
332
- color: N.value.title.subtitle.color,
333
- textAlign: N.value.title.textAlign
334
- })
335
- }, w(N.value.title.subtitle.text), 5)) : d("", !0)], 4)) : d("", !0),
336
- p("div", {
337
- style: { overflow: "auto" },
338
- onPointerleave: t[2] ||= (e) => {
339
- Q.value = void 0, Z.value = void 0;
340
- }
341
- }, [p("table", {
342
- class: "vue-ui-data-table",
343
- style: v({
344
- fontFamily: N.value.fontFamily,
345
- position: "relative"
346
- })
347
- }, [p("thead", we, [xe((b(), f("tr", {
348
- role: "row",
349
- class: "vue-ui-data-table__thead-row",
350
- style: v({
351
- backgroundColor: N.value.thead.backgroundColor,
352
- color: N.value.thead.color
353
- })
354
- }, [p("th", {
355
- role: "cell",
356
- style: v({
357
- backgroundColor: N.value.thead.backgroundColor,
358
- border: N.value.thead.outline,
359
- textAlign: N.value.thead.textAlign,
360
- fontWeight: N.value.thead.bold ? "bold" : "normal"
361
- }),
362
- class: "sticky-col-first"
363
- }, [p("div", { style: v({
364
- display: "flex",
365
- flexDirection: "row",
366
- alignItems: "center",
367
- gap: "3px",
368
- justifyContent: N.value.thead.textAlign
369
- }) }, [p("span", null, w(N.value.translations.serie), 1), H.value.length > 1 && N.value.sortedSeriesName ? (b(), f("div", Te, [p("button", {
370
- class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
371
- onClick: t[0] ||= (e) => q({ type: "name" }, null, -1),
372
- style: v({ cursor: P.value ? "pointer" : "default" })
373
- }, [m(T(O), {
374
- size: 12,
375
- name: "arrowBottom",
376
- stroke: N.value.thead.color,
377
- style: v({ opacity: X.value === "name" && Y.value.name === -1 ? 1 : .3 })
378
- }, null, 8, ["stroke", "style"])], 4), p("button", {
379
- class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
380
- onClick: t[1] ||= (e) => q({ type: "name" }, null, 1),
381
- style: v({ cursor: P.value ? "pointer" : "default" })
382
- }, [m(T(O), {
383
- size: 12,
384
- name: "arrowTop",
385
- stroke: N.value.thead.color,
386
- style: v({ opacity: X.value === "name" && Y.value.name === 1 ? 1 : .3 })
387
- }, null, 8, ["stroke", "style"])], 4)])) : d("", !0)], 4)], 4), (b(!0), f(l, null, S(J.value, (t, n) => (b(), f("th", {
388
- role: "cell",
389
- style: v({
390
- background: N.value.thead.backgroundColor,
391
- border: N.value.thead.outline,
392
- textAlign: N.value.thead.textAlign,
393
- fontWeight: N.value.thead.bold ? "bold" : "normal",
394
- minWidth: n === J.value.length - 1 ? `${N.value.sparkline.dimensions.width}px` : "48px",
395
- paddingRight: n === J.value.length - 1 && N.value.userOptions.show ? "36px" : ""
396
- }),
397
- class: _({ "sticky-col": n === J.value.length - 1 && N.value.showSparklines })
398
- }, [p("div", { style: v({
399
- display: "flex",
400
- flexDirection: "row",
401
- alignItems: "center",
402
- gap: "3px",
403
- justifyContent: N.value.thead.textAlign
404
- }) }, [p("span", null, w(t.value), 1), H.value.length > 1 && (lt(n) || ut(t)) ? (b(), f("div", Ee, [p("button", {
405
- class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
406
- onClick: () => q(t, n, -1),
407
- style: v({ cursor: P.value ? "pointer" : "default" })
408
- }, [m(T(O), {
409
- size: 12,
410
- name: "arrowBottom",
411
- stroke: N.value.thead.color,
412
- style: v({ opacity: dt(n, t, -1) })
413
- }, null, 8, ["stroke", "style"])], 12, De), p("button", {
414
- class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
415
- onClick: () => q(t, n, 1),
416
- style: v({ cursor: P.value ? "pointer" : "default" })
417
- }, [m(T(O), {
418
- size: 12,
419
- name: "arrowTop",
420
- stroke: N.value.thead.color,
421
- style: v({ opacity: dt(n, t, 1) })
422
- }, null, 8, ["stroke", "style"])], 12, Oe)])) : d("", !0)], 4), N.value.userOptions.show && n === J.value.length - 1 && (T(Ge) || T(F)) ? (b(), pe(T(Ie), {
423
- ref_for: !0,
424
- ref: "details",
425
- key: `user_option_${Ve.value}`,
426
- backgroundColor: N.value.thead.backgroundColor,
427
- color: N.value.thead.color,
428
- isPrinting: T(qe),
429
- isImaging: T(Je),
430
- uid: A.value,
431
- hasPdf: N.value.userOptions.buttons.pdf,
432
- hasXls: N.value.userOptions.buttons.csv,
433
- hasImg: N.value.userOptions.buttons.img,
434
- hasFullscreen: N.value.userOptions.buttons.fullscreen,
435
- hasAltCopy: N.value.userOptions.buttons.altCopy,
436
- isFullscreen: ot.value,
437
- titles: { ...N.value.userOptions.buttonTitles },
438
- chartElement: I.value,
439
- position: N.value.userOptions.position,
440
- callbacks: N.value.userOptions.callbacks,
441
- printScale: N.value.userOptions.print.scale,
442
- isCursorPointer: P.value,
443
- onToggleFullscreen: st,
444
- onGeneratePdf: T(Ye),
445
- onGenerateImage: pt,
446
- onGenerateCsv: ct,
447
- onCopyAlt: mt,
448
- style: v({ visibility: T(Ge) ? T(F) ? "visible" : "hidden" : "visible" })
449
- }, me({ _: 2 }, [
450
- e.$slots.menuIcon ? {
451
- name: "menuIcon",
452
- fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", g({ ref_for: !0 }, {
453
- isOpen: t,
454
- color: n
455
- }), void 0, !0)]),
456
- key: "0"
457
- } : void 0,
458
- e.$slots.optionPdf ? {
459
- name: "optionPdf",
460
- fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
461
- key: "1"
462
- } : void 0,
463
- e.$slots.optionCsv ? {
464
- name: "optionCsv",
465
- fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
466
- key: "2"
467
- } : void 0,
468
- e.$slots.optionImg ? {
469
- name: "optionImg",
470
- fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
471
- key: "3"
472
- } : void 0,
473
- e.$slots.optionFullscreen ? {
474
- name: "optionFullscreen",
475
- fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", g({ ref_for: !0 }, {
476
- toggleFullscreen: t,
477
- isFullscreen: n
478
- }), void 0, !0)]),
479
- key: "4"
480
- } : void 0,
481
- e.$slots.optionAltCopy ? {
482
- name: "optionAltCopy",
483
- fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", g({ ref_for: !0 }, { altCopy: t }), void 0, !0)]),
484
- key: "5"
485
- } : void 0,
486
- e.$slots["custom-menu-before"] ? {
487
- name: "custom-menu-before",
488
- fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
489
- key: "6"
490
- } : void 0,
491
- e.$slots["custom-menu-after"] ? {
492
- name: "custom-menu-after",
493
- fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
494
- key: "7"
495
- } : void 0
496
- ]), 1032, [
497
- "backgroundColor",
498
- "color",
499
- "isPrinting",
500
- "isImaging",
501
- "uid",
502
- "hasPdf",
503
- "hasXls",
504
- "hasImg",
505
- "hasFullscreen",
506
- "hasAltCopy",
507
- "isFullscreen",
508
- "titles",
509
- "chartElement",
510
- "position",
511
- "callbacks",
512
- "printScale",
513
- "isCursorPointer",
514
- "onGeneratePdf",
515
- "style"
516
- ])) : d("", !0)], 6))), 256))], 4)), [[T(de), ft]])]), p("tbody", null, [(b(!0), f(l, null, S(H.value, (e, t) => (b(), f("tr", {
517
- role: "row",
518
- style: v({
519
- backgroundColor: N.value.tbody.backgroundColor,
520
- color: N.value.tbody.color
521
- }),
522
- class: _({
523
- "vue-ui-data-table__tbody__row": !0,
524
- "vue-ui-data-table__tbody__row-even": t % 2 == 0,
525
- "vue-ui-data-table__tbody__row-odd": t % 2 != 0
526
- })
527
- }, [
528
- p("td", {
529
- role: "cell",
530
- style: v({
531
- backgroundColor: N.value.tbody.backgroundColor,
532
- border: N.value.tbody.outline,
533
- fontSize: `${N.value.tbody.fontSize}px`,
534
- fontWeight: N.value.tbody.bold ? "bold" : "normal",
535
- textAlign: N.value.tbody.textAlign
536
- }),
537
- "data-cell": N.value.translations.serie,
538
- class: "vue-ui-data-table__tbody__td sticky-col-first"
539
- }, [p("div", {
540
- dir: "auto",
541
- style: v({
542
- display: "flex",
543
- flexDirection: "row",
544
- alignItems: "center",
545
- gap: "6px",
546
- justifyContent: N.value.tbody.textAlign
547
- })
548
- }, [N.value.tbody.showColorMarker ? (b(), f("span", {
549
- key: 0,
550
- style: v({ color: e.color })
551
- }, "⬤", 4)) : d("", !0), p("span", null, w(e.name ?? "-"), 1)], 4)], 12, ke),
552
- (b(!0), f(l, null, S(tt.value, (r, i) => (b(), f("td", {
553
- dir: "auto",
554
- role: "cell",
555
- ref_for: !0,
556
- ref_key: "TD",
557
- ref: M,
558
- style: v({
559
- border: N.value.tbody.outline,
560
- fontSize: `${N.value.tbody.fontSize}px`,
561
- fontWeight: N.value.tbody.bold ? "bold" : "normal",
562
- textAlign: N.value.tbody.textAlign,
563
- background: Z.value !== void 0 && i === Z.value ? N.value.tbody.selectedColor.useSerieColor ? `${e.color.length > 7 ? e.color.slice(0, -2) : e.color}33` : N.value.tbody.selectedColor.fallback : ""
564
- }),
565
- "data-cell": J.value[i] ? J.value[i].value : "",
566
- class: "vue-ui-data-table__tbody__td",
567
- onPointerenter: (e) => {
568
- Q.value = t, Z.value = i;
569
- }
570
- }, w([null, void 0].includes(e.values[i]) ? "-" : T(o)(N.value.formatter, Number(e.values[i]), T(n)({
571
- p: N.value.prefix,
572
- v: Number(e.values[i]),
573
- s: N.value.suffix,
574
- r: N.value.roundingValues
575
- }), {
576
- datapoint: e,
577
- seriesIndex: t,
578
- datapointIndex: i
579
- })), 45, Ae))), 256)),
580
- N.value.showTotal ? (b(), f("td", {
581
- key: 0,
582
- dir: "auto",
583
- role: "cell",
584
- style: v({
585
- border: N.value.tbody.outline,
586
- fontSize: `${N.value.tbody.fontSize}px`,
587
- fontWeight: N.value.tbody.bold ? "bold" : "normal",
588
- textAlign: N.value.tbody.textAlign
589
- }),
590
- "data-cell": N.value.translations.total,
591
- class: "vue-ui-data-table__tbody__td"
592
- }, w(T(o)(N.value.formatter, e.sum, T(n)({
593
- p: N.value.prefix,
594
- v: e.sum,
595
- s: N.value.suffix,
596
- r: N.value.roundingTotal
597
- }), {
598
- datapoint: e.sum,
599
- seriesIndex: t
600
- })), 13, je)) : d("", !0),
601
- N.value.showAverage ? (b(), f("td", {
602
- key: 1,
603
- dir: "auto",
604
- role: "cell",
605
- style: v({
606
- border: N.value.tbody.outline,
607
- fontSize: `${N.value.tbody.fontSize}px`,
608
- fontWeight: N.value.tbody.bold ? "bold" : "normal",
609
- textAlign: N.value.tbody.textAlign
610
- }),
611
- "data-cell": N.value.translations.average,
612
- class: "vue-ui-data-table__tbody__td"
613
- }, w(T(o)(N.value.formatter, e.average, T(n)({
614
- p: N.value.prefix,
615
- v: e.average,
616
- s: N.value.suffix,
617
- r: N.value.roundingAverage
618
- }), {
619
- datapoint: e.average,
620
- seriesIndex: t
621
- })), 13, Me)) : d("", !0),
622
- N.value.showMedian ? (b(), f("td", {
623
- key: 2,
624
- dir: "auto",
625
- role: "cell",
626
- style: v({
627
- border: N.value.tbody.outline,
628
- fontSize: `${N.value.tbody.fontSize}px`,
629
- fontWeight: N.value.tbody.bold ? "bold" : "normal",
630
- textAlign: N.value.tbody.textAlign
631
- }),
632
- "data-cell": N.value.translations.median,
633
- class: "vue-ui-data-table__tbody__td"
634
- }, w(T(o)(N.value.formatter, e.median, T(n)({
635
- p: N.value.prefix,
636
- v: e.median,
637
- s: N.value.suffix,
638
- r: N.value.roundingMedian
639
- }), {
640
- datapoint: e.median,
641
- seriesIndex: t
642
- })), 13, Ne)) : d("", !0),
643
- N.value.showSparklines ? (b(), f("td", {
644
- key: 3,
645
- role: "cell",
646
- "data-cell": N.value.translations.chart,
647
- style: v({
648
- border: N.value.tbody.outline,
649
- fontSize: `${N.value.tbody.fontSize}px`,
650
- fontWeight: N.value.tbody.bold ? "bold" : "normal",
651
- textAlign: N.value.tbody.textAlign,
652
- backgroundColor: N.value.tbody.backgroundColor,
653
- padding: "0"
654
- }),
655
- class: "vue-ui-data-table__tbody__td sticky-col"
656
- }, [m(T(D), {
657
- onHoverIndex: ({ index: e }) => at({
658
- dataIndex: e,
659
- serieIndex: t
660
- }),
661
- "height-ratio": N.value.sparkline.dimensions.heightRatio,
662
- "forced-padding": 30,
663
- dataset: e.sparklineDataset,
664
- showInfo: !1,
665
- selectedIndex: Z.value,
666
- config: {
667
- type: N.value.sparkline.type,
668
- style: {
669
- backgroundColor: "transparent",
670
- animation: {
671
- show: N.value.sparkline.animation.show && !T(qe) && !T(Je),
672
- animationFrames: N.value.sparkline.animation.animationFrames
673
- },
674
- padding: { right: 12 },
675
- line: {
676
- color: e.color,
677
- smooth: N.value.sparkline.smooth,
678
- strokeWidth: N.value.sparkline.strokeWidth
679
- },
680
- bar: { color: e.color },
681
- area: {
682
- color: e.color,
683
- opacity: N.value.sparkline.showArea ? 16 : 0,
684
- useGradient: N.value.sparkline.useGradient
685
- },
686
- verticalIndicator: { color: e.color },
687
- plot: {
688
- radius: 9,
689
- stroke: N.value.tbody.backgroundColor,
690
- strokeWidth: 3
691
- }
692
- }
693
- }
694
- }, null, 8, [
695
- "onHoverIndex",
696
- "height-ratio",
697
- "dataset",
698
- "selectedIndex",
699
- "config"
700
- ])], 12, Pe)) : d("", !0)
701
- ], 6))), 256))])], 4)], 32),
702
- e.$slots.source ? (b(), f("div", Fe, [C(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0)
703
- ], 42, Ce));
704
- }
705
- }, [["__scopeId", "data-v-6be5405c"]]);
706
- //#endregion
707
- export { Se as n, D as t };