vue-data-ui 3.22.2 → 3.22.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/dist/{Arrow-BGhJI-qh.js → Arrow-CgzmXCW_.js} +1 -1
  2. package/dist/{BaseDraggableDialog-a9xCKjW-.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
  3. package/dist/{BaseIcon-DEtwcvEH.js → BaseIcon-xBuW2jjI.js} +1 -1
  4. package/dist/{BaseLegendToggle-B-lM0iV1.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
  5. package/dist/{BaseZoomControls-BjjT6vtB.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
  6. package/dist/{ColorPicker-DMLahA2S.js → ColorPicker-Usv7badH.js} +2 -2
  7. package/dist/{DataTable-DJZgdnIn.js → DataTable-PidUPOit.js} +2 -2
  8. package/dist/Legend-DXOzbXb-.js +156 -0
  9. package/dist/{NonSvgPenAndPaper-Dwq_M6Bz.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
  10. package/dist/{PackageVersion-Dx81ZIAL.js → PackageVersion-Cm-3hwIF.js} +1 -1
  11. package/dist/{PenAndPaper-DJIIG6dv.js → PenAndPaper-ISUbDKXq.js} +11 -11
  12. package/dist/{Shape-C5OvuwII.js → Shape-BnF9aMPX.js} +3 -3
  13. package/dist/Slicer-hEvKOLw3.js +1145 -0
  14. package/dist/{SlicerPreview-CAhqG_ZQ.js → SlicerPreview-BDI-aCXE.js} +36 -35
  15. package/dist/{SparkTooltip-DTzo8Sah.js → SparkTooltip-DaWSTzfA.js} +1 -1
  16. package/dist/{Title-CVYf1f8m.js → Title-DDEEO-Nr.js} +1 -1
  17. package/dist/{Tooltip-BmGCBJuU.js → Tooltip-BhKov422.js} +1 -1
  18. package/dist/{UserOptions-xqbNpHi2.js → UserOptions-BxT1XHzN.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-rjAIVHxa.js → dom-to-png-ZOysoMwu.js} +1 -1
  89. package/dist/exposedLib-C2U48XK7.js +19 -0
  90. package/dist/img-B29J8tV5.js +129 -0
  91. package/dist/{labelUtils-C0D1tjig.js → labelUtils-BFcL_t-A.js} +1 -1
  92. package/dist/{lib-CXicicWN.js → lib-CuwHGt1j.js} +143 -124
  93. package/dist/{package-CILLITOI.js → package-CRlwXCDr.js} +1 -1
  94. package/dist/{pdf-ChYv2jb6.js → pdf-ymYt9Lee.js} +1 -1
  95. package/dist/{render-common-bMAFQ_qf.js → render-common-D6ny-Fwu.js} +22 -22
  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 +69 -2
  101. package/dist/types/vue-ui-strip-plot.d.ts +2 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-B4-0yo3K.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
  103. package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
  104. package/dist/{useNestedProp-APyFoLCQ.js → useNestedProp-BjkuFaz1.js} +1 -1
  105. package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
  106. package/dist/{usePrinter-Dng0UK-G.js → usePrinter-C0wAS8yc.js} +3 -3
  107. package/dist/utils.js +14 -14
  108. package/dist/{vue-data-ui-DD-txoS1.js → vue-data-ui-DTWqd0R2.js} +68 -68
  109. package/dist/vue-data-ui.js +73 -73
  110. package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
  111. package/dist/{vue-ui-accordion-Di_givzQ.js → vue-ui-accordion-B64IJyPU.js} +4 -4
  112. package/dist/{vue-ui-age-pyramid-CTwMfsqS.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
  113. package/dist/{vue-ui-annotator-tRkLFMQ9.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
  114. package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
  115. package/dist/{vue-ui-bump-BJ5O8Mps.js → vue-ui-bump-BD0Uq3As.js} +259 -259
  116. package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
  117. package/dist/{vue-ui-carousel-table-8s8BSy-K.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
  118. package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
  119. package/dist/{vue-ui-chord-1BitQtEw.js → vue-ui-chord-BZhXsZXp.js} +53 -53
  120. package/dist/{vue-ui-circle-pack-DVMhDFKU.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
  121. package/dist/{vue-ui-cursor-D7yh10hX.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
  122. package/dist/{vue-ui-dag--LFEAAf_.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
  123. package/dist/{vue-ui-dashboard-COeO878g.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
  124. package/dist/{vue-ui-digits-C50FVr7C.js → vue-ui-digits-07IxTlNO.js} +4 -4
  125. package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
  126. package/dist/{vue-ui-donut-BzKXqQA2.js → vue-ui-donut-C5oRCxAO.js} +193 -193
  127. package/dist/{vue-ui-donut-evolution-lPkwit2C.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
  128. package/dist/{vue-ui-dumbbell-hlEfvbbf.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
  129. package/dist/{vue-ui-flow-Bg_OSszc.js → vue-ui-flow-R_dLE1WS.js} +72 -72
  130. package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
  131. package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
  132. package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
  133. package/dist/{vue-ui-geo-DtzXRvmx.js → vue-ui-geo-DVT9XEC3.js} +18 -18
  134. package/dist/{vue-ui-gizmo-hIFd7qck.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
  135. package/dist/{vue-ui-heatmap-yPlwc3l_.js → vue-ui-heatmap-BCFId15K.js} +293 -293
  136. package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
  137. package/dist/{vue-ui-horizontal-bar-CJciNHpT.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
  138. package/dist/{vue-ui-kpi-DmSe1QGb.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
  139. package/dist/{vue-ui-mini-loader-CqxI6DwN.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
  140. package/dist/{vue-ui-molecule-w-94Uktn.js → vue-ui-molecule-2pfoR63d.js} +213 -213
  141. package/dist/{vue-ui-mood-radar-B3OGWGHR.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
  142. package/dist/{vue-ui-nested-donuts-Dv_yE5EV.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
  143. package/dist/{vue-ui-onion-BQbI0Vxd.js → vue-ui-onion-CzXx3Rme.js} +293 -293
  144. package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
  145. package/dist/{vue-ui-quadrant-BB7qdXK0.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
  146. package/dist/{vue-ui-quick-chart-CGDeo3Fx.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
  147. package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
  148. package/dist/{vue-ui-rating-ChDwpol2.js → vue-ui-rating-CRziryE2.js} +22 -22
  149. package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
  150. package/dist/{vue-ui-ridgeline-Cq8z57xB.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
  151. package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
  152. package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
  153. package/dist/{vue-ui-skeleton-DJ5KAbfV.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
  154. package/dist/{vue-ui-smiley-fFrNX-Gl.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
  155. package/dist/{vue-ui-spark-trend-D6OBWxmg.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
  156. package/dist/{vue-ui-sparkbar-CtCP8O44.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
  157. package/dist/{vue-ui-sparkgauge-CZDkyViI.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
  158. package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
  159. package/dist/{vue-ui-sparkline-CJKE7Xcl.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
  160. package/dist/{vue-ui-sparkstackbar-BSV0M-2u.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
  161. package/dist/vue-ui-stackbar-Dqs7_g8D.js +2329 -0
  162. package/dist/{vue-ui-stackline-DS_MPmc1.js → vue-ui-stackline-IRjugedp.js} +406 -388
  163. package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
  164. package/dist/{vue-ui-table-c1FPEwLM.js → vue-ui-table-Bqi9XNvY.js} +64 -64
  165. package/dist/{vue-ui-table-heatmap-CMQJXnP8.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
  166. package/dist/{vue-ui-table-sparkline-CAS9Pk60.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
  167. package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
  168. package/dist/{vue-ui-timer-CSP48eS-.js → vue-ui-timer-9CDcd-gP.js} +6 -6
  169. package/dist/{vue-ui-tiremarks-DJvXj1P3.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
  170. package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
  171. package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
  172. package/dist/{vue-ui-wheel-CbL52G-w.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
  173. package/dist/{vue-ui-word-cloud-BqOCyp7c.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
  174. package/dist/{vue-ui-world-BkjzCcVh.js → vue-ui-world-vrGT5g1H.js} +127 -127
  175. package/dist/{vue-ui-xy-CVDNhnDY.js → vue-ui-xy-Cb7u46JN.js} +410 -410
  176. package/dist/{vue-ui-xy-DuwLRfr4.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
  177. package/dist/{vue-ui-xy-canvas-CXqGVMeQ.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
  178. package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
  179. package/package.json +1 -1
  180. package/dist/Legend-BVDhEEsC.js +0 -115
  181. package/dist/Slicer-ClR833cP.js +0 -1144
  182. package/dist/exposedLib-CffbQxjN.js +0 -19
  183. package/dist/img-BCAOkqfM.js +0 -74
  184. package/dist/vue-ui-3d-bar-DxfNdF2e.js +0 -1757
  185. package/dist/vue-ui-bullet-9gtGJaGb.js +0 -710
  186. package/dist/vue-ui-candlestick-CJ_VVYbJ.js +0 -1826
  187. package/dist/vue-ui-chestnut-D3-ck2h2.js +0 -2010
  188. package/dist/vue-ui-donut-NHjQzFO5.js +0 -2410
  189. package/dist/vue-ui-funnel-B_bK0jJB.js +0 -777
  190. package/dist/vue-ui-galaxy-WVCUzcYc.js +0 -1077
  191. package/dist/vue-ui-gauge-Cqeko0wA.js +0 -920
  192. package/dist/vue-ui-history-plot-BGmcDg2w.js +0 -1554
  193. package/dist/vue-ui-parallel-coordinate-plot-ColST3Jj.js +0 -1416
  194. package/dist/vue-ui-radar-DqDn14DL.js +0 -1281
  195. package/dist/vue-ui-relation-circle-BvfZqcK0.js +0 -924
  196. package/dist/vue-ui-rings-Ds-sgNPK.js +0 -1246
  197. package/dist/vue-ui-scatter-BgOVUzQ3.js +0 -2413
  198. package/dist/vue-ui-sparkhistogram-DgruLf33.js +0 -560
  199. package/dist/vue-ui-stackbar-pnlYCnTj.js +0 -2270
  200. package/dist/vue-ui-strip-plot-DSKOrJZX.js +0 -1340
  201. package/dist/vue-ui-thermometer-w3eeJv9s.js +0 -763
  202. package/dist/vue-ui-treemap-BaOMXTR1.js +0 -1587
  203. package/dist/vue-ui-waffle-Bo22Ph8n.js +0 -1362
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ct as t, Ft as n, G as r, H as i, J as a, S as o, Ut as ee, b as s, kt as c, l as te, r as ne } from "./lib-CXicicWN.js";
3
- import { t as re } from "./vue-ui-xy-DuwLRfr4.js";
4
- import { t as ie } from "./useConfig-Bf_EBbe3.js";
2
+ import { Gt as t, Lt as n, Tt as r, W as i, X as a, jt as o, l as ee, q as s, r as c, w as te, x as ne } from "./lib-CuwHGt1j.js";
3
+ import { t as re } from "./vue-ui-xy-Dg0wxSeC.js";
4
+ import { t as ie } from "./useConfig-pVLia3dt.js";
5
5
  import { t as ae } from "./_plugin-vue_export-helper-B3ysoDQm.js";
6
- import { t as l } from "./BaseIcon-DEtwcvEH.js";
7
- import { t as u } from "./vue-ui-donut-NHjQzFO5.js";
6
+ import { t as l } from "./BaseIcon-xBuW2jjI.js";
7
+ import { t as u } from "./vue-ui-donut-C4FcvXm3.js";
8
8
  import { Fragment as d, computed as f, createBlock as oe, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as se, defineAsyncComponent as ce, nextTick as le, normalizeClass as _, normalizeStyle as v, onMounted as ue, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, useCssVars as de, vModelSelect as fe, vModelText as pe, watch as me, withCtx as he, withDirectives as w, withKeys as ge, withModifiers as _e } from "vue";
9
9
  //#region src/components/vue-ui-table.vue
10
10
  var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["data-is-open"], xe = { class: "vue-ui-table-export-hub-options" }, Se = { class: "vue-ui-table-export-hub-option-wrapper" }, Ce = { class: "label" }, we = ["innerHTML"], Te = { class: "vue-ui-table-export-hub-option-wrapper" }, Ee = { class: "label" }, De = ["innerHTML"], Oe = { class: "vue-ui-table-dialog-field" }, ke = {
@@ -127,7 +127,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
127
127
  v4f070ff6: Mn.value,
128
128
  v725e1288: In.value
129
129
  }));
130
- let sn = ce(() => import("./BaseDraggableDialog-a9xCKjW-.js").then((e) => e.n)), T = e, cn = ve, { vue_ui_table: ln } = ie(), E = i();
130
+ let sn = ce(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), T = e, cn = ve, { vue_ui_table: ln } = ie(), E = i();
131
131
  b(null);
132
132
  let un = b(null), dn = b(null), D = b({
133
133
  height: 316,
@@ -183,10 +183,10 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
183
183
  sum: Object.hasOwn(e, "sum") ? e.sum : !1,
184
184
  type: e.type,
185
185
  index: t
186
- }))), Dn = f(() => un.value ? un.value.getBoundingClientRect().height + 3 : 3), K = f(() => Object.keys(T.config || {}).length ? s(ee({
186
+ }))), Dn = f(() => un.value ? un.value.getBoundingClientRect().height + 3 : 3), K = f(() => Object.keys(T.config || {}).length ? ne(t({
187
187
  defaultConfig: ln,
188
188
  userConfig: T.config
189
- })) : ln), q = f(() => K.value.useCursorPointer), On = f(() => K.value.style.th.buttons.cancel.inactive.backgroundColor), kn = f(() => K.value.style.th.buttons.cancel.inactive.color), An = f(() => K.value.style.th.buttons.cancel.active.backgroundColor), jn = f(() => K.value.style.th.buttons.filter.active.backgroundColor), Mn = f(() => K.value.style.th.buttons.filter.active.color), Nn = f(() => t(An.value, .33)), Pn = f(() => n(An.value, 33)), Fn = f(() => t(jn.value, .33)), In = f(() => n(jn, 33)), Ln = f(() => [...G.value].filter((e) => e.type === O.value.DATE)), Rn = f(() => ["", ...Ln.value.map((e) => e.name)]), zn = f(() => {
189
+ })) : ln), q = f(() => K.value.useCursorPointer), On = f(() => K.value.style.th.buttons.cancel.inactive.backgroundColor), kn = f(() => K.value.style.th.buttons.cancel.inactive.color), An = f(() => K.value.style.th.buttons.cancel.active.backgroundColor), jn = f(() => K.value.style.th.buttons.filter.active.backgroundColor), Mn = f(() => K.value.style.th.buttons.filter.active.color), Nn = f(() => r(An.value, .33)), Pn = f(() => n(An.value, 33)), Fn = f(() => r(jn.value, .33)), In = f(() => n(jn, 33)), Ln = f(() => [...G.value].filter((e) => e.type === O.value.DATE)), Rn = f(() => ["", ...Ln.value.map((e) => e.name)]), zn = f(() => {
190
190
  let e = Ln.value.find((e) => e.name === wn.value);
191
191
  return e ? e.index : null;
192
192
  }), J = f(() => {
@@ -234,8 +234,8 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
234
234
  }
235
235
  let Jn = f(() => {
236
236
  if (!Hn.value) return [];
237
- let e = Kn.value.height, n = Kn.value.width, r = n / k.value.rows.length, i = Math.max(...k.value.rows.map((e) => e.value)), a = Math.min(...k.value.rows.map((e) => e.value)), o = T.dataset.header[k.value.col].isPercentage && T.dataset.header[k.value.col].percentageTo, ee = D.value.type === O.value.DONUT && V.value && V.value.name, s = T.dataset.header[k.value.col].name + (o ? ` / ${T.dataset.header[I.value[k.value.col].referenceIndex].name}` : "") + (ee ? ` ${K.value.translations.by} ${V.value.name}` : ""), c = T.dataset.header[k.value.col].prefix, re = T.dataset.header[k.value.col].suffix, ie = [{
238
- name: s,
237
+ let e = Kn.value.height, t = Kn.value.width, n = t / k.value.rows.length, i = Math.max(...k.value.rows.map((e) => e.value)), a = Math.min(...k.value.rows.map((e) => e.value)), o = T.dataset.header[k.value.col].isPercentage && T.dataset.header[k.value.col].percentageTo, s = D.value.type === O.value.DONUT && V.value && V.value.name, te = T.dataset.header[k.value.col].name + (o ? ` / ${T.dataset.header[I.value[k.value.col].referenceIndex].name}` : "") + (s ? ` ${K.value.translations.by} ${V.value.name}` : ""), ne = T.dataset.header[k.value.col].prefix, re = T.dataset.header[k.value.col].suffix, ie = [{
238
+ name: te,
239
239
  series: k.value.rows.map((e) => e.value),
240
240
  type: "line",
241
241
  useProgression: !0,
@@ -243,25 +243,25 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
243
243
  color: K.value.style.chart.layout.line.stroke,
244
244
  useArea: K.value.style.chart.layout.line.useArea
245
245
  }], ae = [{
246
- name: s,
246
+ name: te,
247
247
  series: k.value.rows.map((e) => e.value),
248
248
  type: "bar",
249
249
  useProgression: !0,
250
250
  color: K.value.style.chart.layout.bar.fill
251
- }], l = K.value.style.chart.modal.backgroundColor, u = ne(l), d = T.dataset.header[k.value.col].decimals, f = {
251
+ }], l = K.value.style.chart.modal.backgroundColor, u = c(l), d = T.dataset.header[k.value.col].decimals, f = {
252
252
  useCssAnimation: !1,
253
253
  chart: {
254
- width: n,
254
+ width: t,
255
255
  height: e - 250,
256
256
  backgroundColor: l,
257
257
  color: u,
258
258
  labels: {
259
259
  fontSize: 18,
260
- prefix: c,
260
+ prefix: ne,
261
261
  suffix: re
262
262
  },
263
263
  grid: {
264
- stroke: t(u, .5),
264
+ stroke: r(u, .5),
265
265
  labels: {
266
266
  color: u,
267
267
  xAxisLabels: {
@@ -280,7 +280,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
280
280
  show: !1
281
281
  },
282
282
  title: {
283
- text: s,
283
+ text: te,
284
284
  color: u,
285
285
  textAlign: "center",
286
286
  fontSize: 18
@@ -330,8 +330,8 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
330
330
  rounding: d
331
331
  }
332
332
  }
333
- }, oe = a >= 0 ? 0 : Math.abs(a), p = i + oe, m = T.dataset.header[k.value.col].isPercentage, h = k.value.rows.map((t, n) => ({
334
- x: r * n + r / 2,
333
+ }, oe = a >= 0 ? 0 : Math.abs(a), p = i + oe, m = T.dataset.header[k.value.col].isPercentage, h = k.value.rows.map((t, r) => ({
334
+ x: n * r + n / 2,
335
335
  y: (1 - (t.value + oe) / p) * e,
336
336
  value: m ? t.value * 100 : t.value,
337
337
  suffix: m ? "%" : T.dataset.header[k.value.col].suffix ? T.dataset.header[k.value.col].suffix : "",
@@ -360,7 +360,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
360
360
  labels: {
361
361
  dataLabels: {
362
362
  suffix: m ? "%" : "",
363
- prefix: c
363
+ prefix: ne
364
364
  },
365
365
  value: { rounding: d },
366
366
  percentage: {
@@ -397,7 +397,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
397
397
  right: 12
398
398
  },
399
399
  title: {
400
- text: s,
400
+ text: te,
401
401
  color: u,
402
402
  fontSize: 18
403
403
  },
@@ -413,13 +413,13 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
413
413
  xyConfig: f,
414
414
  xyDatasetLine: ie,
415
415
  xyDatasetBar: ae,
416
- progression: h.length >= 2 ? te(h) : !1
416
+ progression: h.length >= 2 ? ee(h) : !1
417
417
  };
418
418
  });
419
419
  function Yn() {
420
420
  hn.value = V.value.options.map((e, t) => ({
421
421
  name: e,
422
- color: c[t] || c[t % c.length],
422
+ color: o[t] || o[t % o.length],
423
423
  values: [Y.value.filter((t, n) => t.td[V.value.index] === e && k.value.rows.map((e) => e.index).includes(n)).map((e) => e.td[k.value.col]).reduce((e, t) => Math.abs(e) + Math.abs(t), 0)],
424
424
  absoluteValue: Y.value.filter((t, n) => t.td[V.value.index] === e && k.value.rows.map((e) => e.index).includes(n)).map((e) => e.td[k.value.col]).reduce((e, t) => e + t, 0)
425
425
  })).sort((e, t) => t.value - e.value), le(() => {
@@ -432,7 +432,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
432
432
  function Zn(e = "all") {
433
433
  let t = T.dataset.header.map((e) => e.name), n = e === "all" ? W.value.map((e) => e.td) : Y.value.map((e) => e.td);
434
434
  a({
435
- csvContent: o([t].concat(n)),
435
+ csvContent: te([t].concat(n)),
436
436
  title: Tn.value
437
437
  });
438
438
  }
@@ -863,13 +863,13 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
863
863
  "margin-right": "3px"
864
864
  }
865
865
  }, null, 8, Ie),
866
- g(" " + S(C(r)({
866
+ g(" " + S(C(s)({
867
867
  p: e.prefix,
868
868
  v: Number(ar(t)),
869
869
  s: e.suffix,
870
870
  r: e.decimals
871
871
  })) + " ", 1),
872
- I.value[t] && e.percentageTo && !e.isPercentage ? (y(), m("span", Le, " (" + S(isNaN(ar(t) / ar(I.value[t].referenceIndex)) ? "-" : C(r)({
872
+ I.value[t] && e.percentageTo && !e.isPercentage ? (y(), m("span", Le, " (" + S(isNaN(ar(t) / ar(I.value[t].referenceIndex)) ? "-" : C(s)({
873
873
  v: ar(t) / ar(I.value[t].referenceIndex) * 100,
874
874
  s: "%",
875
875
  r: e.decimals
@@ -882,7 +882,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
882
882
  "th-has-nan": N.value[t]
883
883
  }),
884
884
  style: v(`background:${K.value.style.th.backgroundColor};color:${K.value.style.th.color};outline:${K.value.style.th.outline}`)
885
- }, [e.average && !N.value[t] ? (y(), m("span", Re, " ~ " + S(isNaN(rr(t)) ? "" : C(r)({
885
+ }, [e.average && !N.value[t] ? (y(), m("span", Re, " ~ " + S(isNaN(rr(t)) ? "" : C(s)({
886
886
  p: e.prefix,
887
887
  v: Number(rr(t)),
888
888
  s: e.suffix,
@@ -1072,66 +1072,66 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
1072
1072
  class: "vue-ui-table-td-iteration",
1073
1073
  "data-row": n % 2 == 0 ? "odd" : "even",
1074
1074
  style: v({ outline: K.value.style.rows.outline })
1075
- }, S(t.absoluteIndex + 1), 13, vt), (y(!0), m(d, null, x(t.td, (i, a) => (y(), m("td", {
1075
+ }, S(t.absoluteIndex + 1), 13, vt), (y(!0), m(d, null, x(t.td, (r, i) => (y(), m("td", {
1076
1076
  "data-row": n % 2 == 0 ? "odd" : "even",
1077
- key: `td_${n}_${a}`,
1078
- style: v(cr(i) || e.dataset.header[a].type === O.value.DATE ? `text-align:right;font-variant-numeric: tabular-nums;outline:${K.value.style.rows.outline}` : `outline:${K.value.style.rows.outline}`),
1077
+ key: `td_${n}_${i}`,
1078
+ style: v(cr(r) || e.dataset.header[i].type === O.value.DATE ? `text-align:right;font-variant-numeric: tabular-nums;outline:${K.value.style.rows.outline}` : `outline:${K.value.style.rows.outline}`),
1079
1079
  onClick: (t) => br({
1080
- td: i,
1080
+ td: r,
1081
1081
  rowIndex: n,
1082
- colIndex: a,
1083
- headerType: e.dataset.header[a].type,
1082
+ colIndex: i,
1083
+ headerType: e.dataset.header[i].type,
1084
1084
  event: t
1085
1085
  }),
1086
1086
  onKeyup: [ge((t) => br({
1087
- td: i,
1087
+ td: r,
1088
1088
  rowIndex: n,
1089
- colIndex: a,
1090
- headerType: e.dataset.header[a].type,
1089
+ colIndex: i,
1090
+ headerType: e.dataset.header[i].type,
1091
1091
  event: t
1092
1092
  }), ["enter"]), ge((t) => br({
1093
- td: i,
1093
+ td: r,
1094
1094
  rowIndex: n,
1095
- colIndex: a,
1096
- headerType: e.dataset.header[a].type,
1095
+ colIndex: i,
1096
+ headerType: e.dataset.header[i].type,
1097
1097
  event: t
1098
1098
  }), ["space"])],
1099
1099
  class: _({
1100
- "td-numeric": e.dataset.header[a].type === O.value.NUMERIC,
1100
+ "td-numeric": e.dataset.header[i].type === O.value.NUMERIC,
1101
1101
  "td-focusable": !0,
1102
- "td-has-nan": N.value[a]
1102
+ "td-has-nan": N.value[i]
1103
1103
  }),
1104
- id: `cell_${n}_${a}_${C(E)}`,
1104
+ id: `cell_${n}_${i}_${C(E)}`,
1105
1105
  tabindex: "0"
1106
- }, [t.meta && t.meta.markerIndices.includes(a) && t.meta.unicodeIcon ? (y(), m("span", {
1106
+ }, [t.meta && t.meta.markerIndices.includes(i) && t.meta.unicodeIcon ? (y(), m("span", {
1107
1107
  key: 0,
1108
1108
  style: v(`color:${t.meta.color};margin-right:3px`),
1109
1109
  innerHTML: t.meta.unicodeIcon
1110
- }, null, 12, bt)) : p("", !0), e.dataset.header[a].type === O.value.DATE ? (y(), m("span", xt, S(e.dataset.header[a].prefix) + " " + S(new Date(i).toLocaleString().slice(0, 10)) + " " + S(e.dataset.header[a].suffix), 1)) : e.dataset.header[a].isPercentage ? (y(), m("span", St, S(C(r)({
1111
- v: Number(i * 100),
1110
+ }, null, 12, bt)) : p("", !0), e.dataset.header[i].type === O.value.DATE ? (y(), m("span", xt, S(e.dataset.header[i].prefix) + " " + S(new Date(r).toLocaleString().slice(0, 10)) + " " + S(e.dataset.header[i].suffix), 1)) : e.dataset.header[i].isPercentage ? (y(), m("span", St, S(C(s)({
1111
+ v: Number(r * 100),
1112
1112
  s: "%",
1113
- r: e.dataset.header[a].decimals
1114
- })), 1)) : I.value[a] && e.dataset.header[a].percentageTo && !e.dataset.header[a].isPercentage ? (y(), m("span", {
1113
+ r: e.dataset.header[i].decimals
1114
+ })), 1)) : I.value[i] && e.dataset.header[i].percentageTo && !e.dataset.header[i].isPercentage ? (y(), m("span", {
1115
1115
  key: 3,
1116
- class: _({ "td-nan": isNaN(Number(i)) })
1117
- }, S(isNaN(Number(i)) ? `${i} is not ${O.value.NUMERIC}` : C(r)({
1118
- p: e.dataset.header[a].prefix,
1119
- v: Number(i),
1120
- s: e.dataset.header[a].suffix,
1121
- r: e.dataset.header[a].decimals
1122
- })) + " (" + S(isNaN(Number(i)) ? "" : C(r)({
1123
- v: Number(i / ar(I.value[a].referenceIndex) * 100),
1116
+ class: _({ "td-nan": isNaN(Number(r)) })
1117
+ }, S(isNaN(Number(r)) ? `${r} is not ${O.value.NUMERIC}` : C(s)({
1118
+ p: e.dataset.header[i].prefix,
1119
+ v: Number(r),
1120
+ s: e.dataset.header[i].suffix,
1121
+ r: e.dataset.header[i].decimals
1122
+ })) + " (" + S(isNaN(Number(r)) ? "" : C(s)({
1123
+ v: Number(r / ar(I.value[i].referenceIndex) * 100),
1124
1124
  s: "%",
1125
- r: e.dataset.header[a].decimals
1126
- })) + ") ", 3)) : e.dataset.header[a].type === O.value.NUMERIC ? (y(), m("span", {
1125
+ r: e.dataset.header[i].decimals
1126
+ })) + ") ", 3)) : e.dataset.header[i].type === O.value.NUMERIC ? (y(), m("span", {
1127
1127
  key: 4,
1128
- class: _({ "td-nan": isNaN(Number(i)) })
1129
- }, S(isNaN(Number(i)) ? `${i} is not ${O.value.NUMERIC}` : C(r)({
1130
- p: e.dataset.header[a].prefix,
1131
- v: Number(i.toFixed(e.dataset.header[a].decimals)),
1132
- s: e.dataset.header[a].suffix,
1133
- r: e.dataset.header[a].decimals
1134
- })), 3)) : (y(), m("span", Ct, S(e.dataset.header[a].prefix) + " " + S(i) + " " + S(e.dataset.header[a].suffix), 1))], 46, yt))), 128))], 14, _t))), 128))], 32)
1128
+ class: _({ "td-nan": isNaN(Number(r)) })
1129
+ }, S(isNaN(Number(r)) ? `${r} is not ${O.value.NUMERIC}` : C(s)({
1130
+ p: e.dataset.header[i].prefix,
1131
+ v: Number(r.toFixed(e.dataset.header[i].decimals)),
1132
+ s: e.dataset.header[i].suffix,
1133
+ r: e.dataset.header[i].decimals
1134
+ })), 3)) : (y(), m("span", Ct, S(e.dataset.header[i].prefix) + " " + S(r) + " " + S(e.dataset.header[i].suffix), 1))], 46, yt))), 128))], 14, _t))), 128))], 32)
1135
1135
  ])], 4),
1136
1136
  h("div", {
1137
1137
  class: _({
@@ -1313,7 +1313,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
1313
1313
  key: 1,
1314
1314
  class: "chart-trend",
1315
1315
  style: v(`color:${K.value.style.chart.modal.color}`)
1316
- }, [n[33] ||= h("span", null, "---", -1), g(" Trend: " + S(C(r)({
1316
+ }, [n[33] ||= h("span", null, "---", -1), g(" Trend: " + S(C(s)({
1317
1317
  v: Jn.value.progression.trend * 100,
1318
1318
  s: "%",
1319
1319
  r: 1
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Et as t, H as n, J as r, S as i, X as ee, f as te, mt as ne, r as re } from "./lib-CXicicWN.js";
3
- import { t as ie } from "./useConfig-Bf_EBbe3.js";
4
- import { t as ae } from "./usePrinter-Dng0UK-G.js";
5
- import { t as a } from "./useNestedProp-APyFoLCQ.js";
2
+ import { Ot as t, Q as n, W as r, X as i, f as ee, gt as te, r as ne, w as re } from "./lib-CuwHGt1j.js";
3
+ import { t as ie } from "./useConfig-pVLia3dt.js";
4
+ import { t as ae } from "./usePrinter-C0wAS8yc.js";
5
+ import { t as a } from "./useNestedProp-BjkuFaz1.js";
6
6
  import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as se } from "./Shape-C5OvuwII.js";
7
+ import { t as se } from "./Shape-BnF9aMPX.js";
8
8
  import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
9
  import { t as ce } from "./useUserOptionState-DK-_1ddE.js";
10
10
  import { t as le } from "./vue_ui_table_heatmap-w8vx5k6f.js";
@@ -55,7 +55,7 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
55
55
  v52b63863: De.value,
56
56
  v32106484: Ee.value
57
57
  }));
58
- let E = fe(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), { vue_ui_table_heatmap: P } = ie(), { isThemeValid: F, warnInvalidTheme: ye } = oe(), I = e, L = x(n()), R = x(!1), z = x(null), B = x(!1), V = x(0), be = me();
58
+ let E = fe(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), { vue_ui_table_heatmap: P } = ie(), { isThemeValid: F, warnInvalidTheme: ye } = oe(), I = e, L = x(r()), R = x(!1), z = x(null), B = x(!1), V = x(0), be = me();
59
59
  y(() => {
60
60
  be["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
61
61
  });
@@ -91,7 +91,7 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
91
91
  Y();
92
92
  });
93
93
  function Y() {
94
- t(I.dataset) && ee({
94
+ t(I.dataset) && n({
95
95
  componentName: "VueUiTableHeatmap",
96
96
  type: "dataset"
97
97
  });
@@ -103,7 +103,7 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
103
103
  z.value && e.observe(z.value);
104
104
  }
105
105
  let X = c(() => I.dataset.map((e) => {
106
- let t = e.values.map((e) => isNaN(e) ? 0 : e), r = t.reduce((e, t) => e + t, 0);
106
+ let t = e.values.map((e) => isNaN(e) ? 0 : e), n = t.reduce((e, t) => e + t, 0);
107
107
  return {
108
108
  ...e,
109
109
  values: t,
@@ -111,11 +111,11 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
111
111
  max: Math.max(...t),
112
112
  min: Math.min(...t)
113
113
  },
114
- sum: r,
115
- average: r / t.length,
116
- median: te(t),
114
+ sum: n,
115
+ average: n / t.length,
116
+ median: ee(t),
117
117
  displayValues: [e.name, ...e.values],
118
- id: n()
118
+ id: r()
119
119
  };
120
120
  })), Z = c(() => {
121
121
  let e = X.value.flatMap((e) => e.values);
@@ -126,7 +126,7 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
126
126
  });
127
127
  function Te(e, t) {
128
128
  let n = H.value.style.heatmapColors.useIndividualScale;
129
- return ne(H.value.style.heatmapColors.min, H.value.style.heatmapColors.max, n ? t.min : Z.value.min, n ? t.max : Z.value.max, e);
129
+ return te(H.value.style.heatmapColors.min, H.value.style.heatmapColors.max, n ? t.min : Z.value.min, n ? t.max : Z.value.max, e);
130
130
  }
131
131
  let Q = c(() => X.value.map((e) => ({
132
132
  ...e,
@@ -140,14 +140,14 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
140
140
  [e.sum],
141
141
  [e.average],
142
142
  [e.median]
143
- ]), n = i([[
143
+ ]), n = re([[
144
144
  [""],
145
145
  H.value.table.head.values,
146
146
  ["sum"],
147
147
  ["average"],
148
148
  ["median"]
149
149
  ]].concat(t));
150
- e ? e(n) : r({
150
+ e ? e(n) : i({
151
151
  csvContent: n,
152
152
  title: "vue-ui-table-heatmap"
153
153
  });
@@ -317,7 +317,7 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
317
317
  type: typeof r,
318
318
  isResponsive: R.value,
319
319
  color: t.colors[i],
320
- textColor: w(re)(t.colors[i])
320
+ textColor: w(ne)(t.colors[i])
321
321
  }), void 0, !0) : u("", !0)], 64))], 8, D))), 256)),
322
322
  H.value.table.showSum ? (b(), d("td", A, [C(e.$slots, "sum", m({ ref_for: !0 }, {
323
323
  value: t.sum,
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Et as t, G as n, H as r, J as i, S as a, Vt as o, X as ee, ct as te, f as ne, i as re, kt as s, x as ie, y as ae } from "./lib-CXicicWN.js";
3
- import { t as oe } from "./useConfig-Bf_EBbe3.js";
4
- import { t as se } from "./usePrinter-Dng0UK-G.js";
5
- import { t as ce } from "./useNestedProp-APyFoLCQ.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-CuwHGt1j.js";
3
+ import { t as oe } from "./useConfig-pVLia3dt.js";
4
+ import { t as se } from "./usePrinter-C0wAS8yc.js";
5
+ import { t as ce } from "./useNestedProp-BjkuFaz1.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";
@@ -50,7 +50,7 @@ var Te = /* @__PURE__ */ e({ default: () => w }), Ee = ["id"], De = { style: {
50
50
  emits: ["copyAlt"],
51
51
  setup(e, { expose: ue, emit: Te }) {
52
52
  xe((e) => ({ v43308e63: e.tdo }));
53
- let w = p(() => import("./vue-ui-sparkline-CJKE7Xcl.js").then((e) => e.n)), T = p(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), ze = p(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), { vue_ui_table_sparkline: Be } = oe(), { isThemeValid: Ve, warnInvalidTheme: He } = le(), E = e, Ue = Te, D = v(r()), We = v(0), O = v(0), k = v(null), Ge = Se(), Ke = v(!1);
53
+ let w = p(() => import("./vue-ui-sparkline-BJfh5Lje.js").then((e) => e.n)), T = p(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), ze = p(() => import("./UserOptions-BxT1XHzN.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
54
  ye(() => {
55
55
  Ge["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
56
56
  });
@@ -74,7 +74,7 @@ var Te = /* @__PURE__ */ e({ default: () => w }), Ee = ["id"], De = { style: {
74
74
  });
75
75
  return {
76
76
  ...r,
77
- customPalette: r.customPalette.length ? r.customPalette : o[t] || s
77
+ customPalette: r.customPalette.length ? r.customPalette : i[t] || s
78
78
  };
79
79
  }
80
80
  Ce(() => E.config, (e) => {
@@ -86,13 +86,13 @@ var Te = /* @__PURE__ */ e({ default: () => w }), Ee = ["id"], De = { style: {
86
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 = c(() => ie(A.value.customPalette)), N = v(null), P = v(!1), tt = c(() => A.value.responsiveBreakpoint);
89
+ }), et = c(() => r(A.value.customPalette)), N = v(null), P = v(!1), tt = c(() => A.value.responsiveBreakpoint);
90
90
  ye(() => {
91
91
  nt();
92
92
  });
93
93
  let F = v(A.value.colNames), I = be(null);
94
94
  function nt() {
95
- t(E.dataset) && ee({
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) => {
@@ -120,21 +120,21 @@ var Te = /* @__PURE__ */ e({ default: () => w }), Ee = ["id"], De = { style: {
120
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 B(e, t, r = {}) {
124
- let i = L(e);
125
- return i === null ? "-" : re(A.value.formatter, i, n({
123
+ function B(e, t, n = {}) {
124
+ let r = L(e);
125
+ return r === null ? "-" : ne(A.value.formatter, r, re({
126
126
  p: A.value.prefix,
127
- v: i,
127
+ v: r,
128
128
  s: A.value.suffix,
129
129
  r: t
130
- }), r);
130
+ }), n);
131
131
  }
132
132
  let V = c(() => (E.dataset.forEach((e, t) => {
133
- te({
133
+ ie({
134
134
  datasetObject: e,
135
135
  requiredAttributes: ["name", "values"]
136
136
  }).forEach((e) => {
137
- ee({
137
+ n({
138
138
  componentName: "VueUiTableSparkline",
139
139
  type: "datasetSerieAttribute",
140
140
  property: e,
@@ -142,11 +142,11 @@ var Te = /* @__PURE__ */ e({ default: () => w }), Ee = ["id"], De = { style: {
142
142
  });
143
143
  });
144
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 ? ne(r) : null;
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
148
  values: n,
149
- color: ae(e.color) || et.value[t] || s[t] || s[t % s.length],
149
+ color: ee(e.color) || et.value[t] || s[t] || s[t % s.length],
150
150
  sum: i,
151
151
  average: a,
152
152
  median: o,
@@ -265,8 +265,8 @@ var Te = /* @__PURE__ */ e({ default: () => w }), Ee = ["id"], De = { style: {
265
265
  [e.sum],
266
266
  [e.average],
267
267
  [e.median]
268
- ]), r = a([t].concat(n));
269
- e ? e(r) : i({
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
  });