vue-data-ui 3.29.3 → 3.29.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 (192) hide show
  1. package/dist/{Arrow-CITPKnWF.js → Arrow-DhkzHBsL.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DVstuNhT.js → BaseDraggableDialog-MyWIeEtr.js} +1 -1
  3. package/dist/{BaseIcon-CoY0vuL3.js → BaseIcon-CQFjKDhE.js} +1 -1
  4. package/dist/{BaseLegendToggle-VzX69MCo.js → BaseLegendToggle-CnQ_U5rI.js} +1 -1
  5. package/dist/{BaseZoomControls-D4i_j6vc.js → BaseZoomControls-OZwEB4vm.js} +1 -1
  6. package/dist/{ColorPicker-DmVnJGVv.js → ColorPicker-dbxPO2fg.js} +1 -1
  7. package/dist/{DataTable-KeuZB1JM.js → DataTable-BHW5xD9B.js} +1 -1
  8. package/dist/{HillActions-D--h5brJ.js → HillActions-KXWY_FyA.js} +1 -1
  9. package/dist/{Legend-W9YVYVX-.js → Legend-D5I3jeGD.js} +1 -1
  10. package/dist/{NonSvgPenAndPaper-B2kuh5Yb.js → NonSvgPenAndPaper-RQzq8DqO.js} +1 -1
  11. package/dist/{PackageVersion-DAF5ApGl.js → PackageVersion-B-1JX0wI.js} +1 -1
  12. package/dist/{PenAndPaper-BV5ODysA.js → PenAndPaper-B2UOwiJM.js} +1 -1
  13. package/dist/{Shape-CRe8woTu.js → Shape-DgpYvQc4.js} +1 -1
  14. package/dist/{SlicerPreview-BVgz_p4G.js → SlicerPreview-QaJuNJhX.js} +1 -1
  15. package/dist/{SparkTooltip-Ch06CV71.js → SparkTooltip-dnNSazTu.js} +1 -1
  16. package/dist/{StackChartTable-rTC6w378.js → StackChartTable-mMKxPOnc.js} +1 -1
  17. package/dist/{Title-BliHuXfT.js → Title-DlhGIAWX.js} +1 -1
  18. package/dist/{Tooltip-B432XpvC.js → Tooltip-CL3U31cL.js} +1 -1
  19. package/dist/UserOptions-B97cPcKc.js +1 -0
  20. package/dist/{XyAnalysisOptions-Cyt8w5B3.js → XyAnalysisOptions-DeJOjnC3.js} +1 -1
  21. package/dist/{chartImage-DPGnEuYM.js → chartImage-Dvrx_F7P.js} +1 -1
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-graph.js +1 -1
  48. package/dist/components/vue-ui-heatmap.js +1 -1
  49. package/dist/components/vue-ui-hill.js +1 -1
  50. package/dist/components/vue-ui-history-plot.js +1 -1
  51. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  52. package/dist/components/vue-ui-icon.js +1 -1
  53. package/dist/components/vue-ui-kpi.js +1 -1
  54. package/dist/components/vue-ui-label.js +1 -1
  55. package/dist/components/vue-ui-mini-loader.js +1 -1
  56. package/dist/components/vue-ui-molecule.js +1 -1
  57. package/dist/components/vue-ui-mood-radar.js +1 -1
  58. package/dist/components/vue-ui-nested-donuts.js +1 -1
  59. package/dist/components/vue-ui-onion.js +1 -1
  60. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  61. package/dist/components/vue-ui-quadrant.js +1 -1
  62. package/dist/components/vue-ui-quick-chart.js +1 -1
  63. package/dist/components/vue-ui-radar.js +1 -1
  64. package/dist/components/vue-ui-rating.js +1 -1
  65. package/dist/components/vue-ui-relation-circle.js +1 -1
  66. package/dist/components/vue-ui-ridgeline.js +1 -1
  67. package/dist/components/vue-ui-rings.js +1 -1
  68. package/dist/components/vue-ui-scatter.js +1 -1
  69. package/dist/components/vue-ui-skeleton.js +1 -1
  70. package/dist/components/vue-ui-smiley.js +1 -1
  71. package/dist/components/vue-ui-spark-trend.js +1 -1
  72. package/dist/components/vue-ui-sparkbar.js +1 -1
  73. package/dist/components/vue-ui-sparkgauge.js +1 -1
  74. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  75. package/dist/components/vue-ui-sparkline.js +1 -1
  76. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  77. package/dist/components/vue-ui-stackbar.js +1 -1
  78. package/dist/components/vue-ui-stackline.js +1 -1
  79. package/dist/components/vue-ui-strip-plot.js +1 -1
  80. package/dist/components/vue-ui-table-heatmap.js +1 -1
  81. package/dist/components/vue-ui-table-sparkline.js +1 -1
  82. package/dist/components/vue-ui-table.js +1 -1
  83. package/dist/components/vue-ui-thermometer.js +1 -1
  84. package/dist/components/vue-ui-timer.js +1 -1
  85. package/dist/components/vue-ui-tiremarks.js +1 -1
  86. package/dist/components/vue-ui-treemap.js +1 -1
  87. package/dist/components/vue-ui-vertical-bar.js +1 -1
  88. package/dist/components/vue-ui-waffle.js +1 -1
  89. package/dist/components/vue-ui-wheel.js +1 -1
  90. package/dist/components/vue-ui-word-cloud.js +1 -1
  91. package/dist/components/vue-ui-world.js +1 -1
  92. package/dist/components/vue-ui-xy-canvas.js +1 -1
  93. package/dist/components/vue-ui-xy.js +1 -1
  94. package/dist/{dom-to-png-D56-Zgv4.js → dom-to-png-BciywWcQ.js} +1 -1
  95. package/dist/{exposedLib-BRtClmZy.js → exposedLib-BaycYTOv.js} +1 -1
  96. package/dist/{img-D4RQwASc.js → img-Dwb4XSud.js} +1 -1
  97. package/dist/{labelUtils-CdtU-yB_.js → labelUtils-D_AyGvLO.js} +1 -1
  98. package/dist/{lib-rPeBMZrn.js → lib-BaWaqwnJ.js} +7 -7
  99. package/dist/package-CfW2xYyy.js +1 -0
  100. package/dist/{pdf-CVdqBWVS.js → pdf-Bd6zav8D.js} +1 -1
  101. package/dist/{render-common-B7aQrXBR.js → render-common-CxohOkPd.js} +1 -1
  102. package/dist/{resolveChartConfig-0IvbmIE_.js → resolveChartConfig-QgMumfgd.js} +1 -1
  103. package/dist/ssr/vue-ui-donut.js +1 -1
  104. package/dist/ssr/vue-ui-xy.js +1 -1
  105. package/dist/ssr.js +1 -1
  106. package/dist/style.css +1 -1
  107. package/dist/types/vue-data-ui.d.ts +20 -0
  108. package/dist/{useConfig-B8qvYKdK.js → useConfig-B-AzS3w-.js} +1 -1
  109. package/dist/{useNestedProp-DnGoh-XS.js → useNestedProp-ri-deXpG.js} +1 -1
  110. package/dist/{useObjectBindings-CztjiAzG.js → useObjectBindings-DsvXXciT.js} +1 -1
  111. package/dist/{usePrinter-DVf3YcG5.js → usePrinter-CUD8gosC.js} +1 -1
  112. package/dist/utils.js +1 -1
  113. package/dist/vue-data-ui-orKuQ-0A.js +1 -0
  114. package/dist/vue-data-ui.js +1 -1
  115. package/dist/{vue-ui-3d-bar-D3pDUYiG.js → vue-ui-3d-bar-BxIOe5pW.js} +1 -1
  116. package/dist/{vue-ui-accordion-BpTfjWvH.js → vue-ui-accordion-B8LYfVG9.js} +1 -1
  117. package/dist/{vue-ui-age-pyramid-bJmGRZ59.js → vue-ui-age-pyramid-CsQ6Zx79.js} +1 -1
  118. package/dist/{vue-ui-annotator-C-gyszpf.js → vue-ui-annotator-xYv2xrXs.js} +1 -1
  119. package/dist/{vue-ui-bullet-5ZNUgPS7.js → vue-ui-bullet-CsaTMHaa.js} +1 -1
  120. package/dist/{vue-ui-bump-DYGbmTko.js → vue-ui-bump-BOVB5hWu.js} +1 -1
  121. package/dist/{vue-ui-candlestick-BwETH5d4.js → vue-ui-candlestick-C8W4sGST.js} +1 -1
  122. package/dist/{vue-ui-carousel-table-_V-HWzd-.js → vue-ui-carousel-table-DAMT9bn5.js} +1 -1
  123. package/dist/{vue-ui-chestnut-Cg8m6-N6.js → vue-ui-chestnut-XdPEyosT.js} +1 -1
  124. package/dist/{vue-ui-chord-CaJ-uclL.js → vue-ui-chord-CeYpAizS.js} +1 -1
  125. package/dist/{vue-ui-circle-pack-BiVPm8ii.js → vue-ui-circle-pack-Brhoqu25.js} +1 -1
  126. package/dist/{vue-ui-cursor-jkuEvFtX.js → vue-ui-cursor-CieGBz32.js} +1 -1
  127. package/dist/{vue-ui-dag-wkBDTIcz.js → vue-ui-dag-CC7fXGUn.js} +1 -1
  128. package/dist/{vue-ui-dashboard-CDekEQNH.js → vue-ui-dashboard-C7oXScoZ.js} +1 -1
  129. package/dist/{vue-ui-digits-ByjwG9Hv.js → vue-ui-digits-Cn_wqq4Y.js} +1 -1
  130. package/dist/{vue-ui-donut-BB7BW0dE.js → vue-ui-donut-BHRes5Ak.js} +1 -1
  131. package/dist/{vue-ui-donut-BV3btR0S.js → vue-ui-donut-BXlWXh2v.js} +1 -1
  132. package/dist/{vue-ui-donut-evolution-CPIVtWxh.js → vue-ui-donut-evolution-DHPd3KRv.js} +1 -1
  133. package/dist/{vue-ui-dumbbell-bTQpX8A6.js → vue-ui-dumbbell-BmqFCL_t.js} +1 -1
  134. package/dist/{vue-ui-flow-BRC3pGzL.js → vue-ui-flow-CvRa8Ija.js} +1 -1
  135. package/dist/{vue-ui-funnel-7RjzjVqE.js → vue-ui-funnel-Ds4JV24L.js} +1 -1
  136. package/dist/vue-ui-galaxy-DSHlkl9t.js +1 -0
  137. package/dist/{vue-ui-gauge-DM3p5s8H.js → vue-ui-gauge-2XPqwRR4.js} +1 -1
  138. package/dist/{vue-ui-geo-BUQL79cU.js → vue-ui-geo-IDzNLYVX.js} +1 -1
  139. package/dist/{vue-ui-gizmo-CoET_abC.js → vue-ui-gizmo-BXEnFICN.js} +1 -1
  140. package/dist/{vue-ui-graph-CCLd8bTj.js → vue-ui-graph-DdY8jDH-.js} +2 -2
  141. package/dist/{vue-ui-heatmap-BvVHrOcc.js → vue-ui-heatmap-DmgXUHFz.js} +1 -1
  142. package/dist/{vue-ui-hill-BkcY-Zbf.js → vue-ui-hill-CTuh5311.js} +1 -1
  143. package/dist/{vue-ui-history-plot-DVoOwR1y.js → vue-ui-history-plot-qpbsJ706.js} +1 -1
  144. package/dist/{vue-ui-horizontal-bar-Khi_qtla.js → vue-ui-horizontal-bar-BnIRG4Da.js} +1 -1
  145. package/dist/{vue-ui-kpi-BPL64spX.js → vue-ui-kpi-BvGMMvPY.js} +1 -1
  146. package/dist/{vue-ui-label-OvoE3A_k.js → vue-ui-label-CcVh3FeS.js} +1 -1
  147. package/dist/{vue-ui-mini-loader-DyefvJIr.js → vue-ui-mini-loader-C7rLQ7JE.js} +1 -1
  148. package/dist/{vue-ui-molecule-B7KJzavj.js → vue-ui-molecule-BLCwrefH.js} +1 -1
  149. package/dist/{vue-ui-mood-radar-6q5OUW6D.js → vue-ui-mood-radar-Bm12y-t8.js} +1 -1
  150. package/dist/{vue-ui-nested-donuts-C137tg5U.js → vue-ui-nested-donuts-BGz-1VHL.js} +1 -1
  151. package/dist/{vue-ui-onion-ClMux968.js → vue-ui-onion-C23btxVO.js} +1 -1
  152. package/dist/{vue-ui-parallel-coordinate-plot-JbfDQzwN.js → vue-ui-parallel-coordinate-plot-E17cuXGN.js} +1 -1
  153. package/dist/{vue-ui-quadrant-BPKWN3Ac.js → vue-ui-quadrant-NJPbHq0p.js} +1 -1
  154. package/dist/{vue-ui-quick-chart-BvqQnNn1.js → vue-ui-quick-chart-CI1n75li.js} +1 -1
  155. package/dist/{vue-ui-radar-DIdTBEet.js → vue-ui-radar-CD1Ge3r9.js} +1 -1
  156. package/dist/{vue-ui-rating-CFu9LjID.js → vue-ui-rating-mDoJ2Rkg.js} +1 -1
  157. package/dist/{vue-ui-relation-circle-5Noti3DC.js → vue-ui-relation-circle-CQPFqgsl.js} +1 -1
  158. package/dist/{vue-ui-ridgeline-DUrvAa8z.js → vue-ui-ridgeline-C0fxNnYy.js} +1 -1
  159. package/dist/{vue-ui-rings-B-cJIyAX.js → vue-ui-rings-D2XUhWg-.js} +1 -1
  160. package/dist/{vue-ui-scatter-DcchOWYi.js → vue-ui-scatter-DgfuFep8.js} +1 -1
  161. package/dist/{vue-ui-skeleton-DtHam8Oi.js → vue-ui-skeleton-BUMvfDJX.js} +1 -1
  162. package/dist/{vue-ui-smiley-C8ES41OS.js → vue-ui-smiley-aTCVrK-n.js} +1 -1
  163. package/dist/{vue-ui-spark-trend-m_ybZFN7.js → vue-ui-spark-trend-B1S6SaGz.js} +1 -1
  164. package/dist/{vue-ui-sparkbar-CVJo0I__.js → vue-ui-sparkbar-DtGqqvGS.js} +1 -1
  165. package/dist/{vue-ui-sparkgauge-UXQOQCQ6.js → vue-ui-sparkgauge-yEOfuIEu.js} +1 -1
  166. package/dist/{vue-ui-sparkhistogram-DVyAev-n.js → vue-ui-sparkhistogram-nM2G2AJx.js} +1 -1
  167. package/dist/{vue-ui-sparkline-DXJpSvr5.js → vue-ui-sparkline-B7ZZzccR.js} +1 -1
  168. package/dist/{vue-ui-sparkstackbar-CI7LeTy9.js → vue-ui-sparkstackbar-CTCvV0UA.js} +1 -1
  169. package/dist/{vue-ui-stackbar-BAdE_agj.js → vue-ui-stackbar-DTlq5Fmr.js} +1 -1
  170. package/dist/{vue-ui-stackline-CEcCgYrY.js → vue-ui-stackline-DgV0GCOn.js} +1 -1
  171. package/dist/{vue-ui-strip-plot-D2JTssjF.js → vue-ui-strip-plot-DlIqyn9G.js} +1 -1
  172. package/dist/{vue-ui-table-CcBJ_hPp.js → vue-ui-table-B1QawDAY.js} +1 -1
  173. package/dist/{vue-ui-table-heatmap-CwV82zwm.js → vue-ui-table-heatmap-DFjVopuI.js} +1 -1
  174. package/dist/{vue-ui-table-sparkline-D1OPXi2z.js → vue-ui-table-sparkline-D15wq2iu.js} +1 -1
  175. package/dist/{vue-ui-thermometer-D2LlLcEV.js → vue-ui-thermometer-gK8M0jyN.js} +1 -1
  176. package/dist/{vue-ui-timer-Ca8KPZNl.js → vue-ui-timer-Be4jnf30.js} +2 -2
  177. package/dist/{vue-ui-tiremarks-BsKJi3S0.js → vue-ui-tiremarks-B1PF45Fh.js} +1 -1
  178. package/dist/{vue-ui-treemap-5HkhmOD4.js → vue-ui-treemap-CProQJII.js} +1 -1
  179. package/dist/{vue-ui-waffle-2BJYwpwv.js → vue-ui-waffle-C9QBRGRd.js} +1 -1
  180. package/dist/{vue-ui-wheel-Dr-mMZrH.js → vue-ui-wheel-EBNVnATV.js} +1 -1
  181. package/dist/{vue-ui-word-cloud-CF_k1x_e.js → vue-ui-word-cloud-D_wT_OgE.js} +1 -1
  182. package/dist/{vue-ui-world-BuzOXOPx.js → vue-ui-world-CvjzqQPz.js} +1 -1
  183. package/dist/{vue-ui-xy-Cr5w4DsW.js → vue-ui-xy-B0z97XdU.js} +1 -1
  184. package/dist/{vue-ui-xy-Cwkavs_B.js → vue-ui-xy-ZTbijg4Q.js} +3 -3
  185. package/dist/{vue-ui-xy-canvas-DnWzhq9y.js → vue-ui-xy-canvas-QqaK6zlu.js} +1 -1
  186. package/dist/vue_ui_galaxy-fL8NyfDy.js +1 -0
  187. package/package.json +14 -14
  188. package/dist/UserOptions-K1N7zQRx.js +0 -1
  189. package/dist/package-Dd1ZNT5Q.js +0 -1
  190. package/dist/vue-data-ui-BmTsLaNH.js +0 -1
  191. package/dist/vue-ui-galaxy-D91dIUfs.js +0 -1
  192. package/dist/vue_ui_galaxy-iCWLHLBY.js +0 -1
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./unpackTheme-CNsFKCeq.js";var n=/* @__PURE__ */ e({default:()=>b}),r=[[],[`userOptions`,`style`],[`show`],[`chart`],[`layout`,`legend`],[`arcs`],[`gradient`],[`userOptions`,`style`,`table`],[`backgroundColor`,`color`,`layout`,`legend`,`title`,`tooltip`],[`arcs`,`labels`],[`dataLabels`],[`color`],[`show`,`backgroundColor`,`color`,`selectAllToggle`],[`backgroundColor`,`color`],[`color`,`subtitle`],[`backgroundColor`,`backgroundOpacity`,`color`,`borderColor`],[`th`,`td`],[`style`,`table`],[`backgroundColor`,`color`,`legend`,`title`,`tooltip`,`layout`],[`backgroundColor`,`color`,`selectAllToggle`],[`labels`],[`backgroundColor`,`color`,`borderColor`]],i=[2,!1],a=[6,i],o=`#1A1A1A`,s=`#CCCCCC`,c=`#3A3A3A`,l=[11,`#757575`],u=[13,o,s],d=`#FFF8E1`,f=`#424242`,p=`#1E1E1E`,m=`#BDBDBD`,h=`#99AA99`,g=`#fbfafa`,_=`#f6f6fb`,v=`#50606C`,y=[13,_,v],b={default:/* @__PURE__ */ t([0],r),minimal:/* @__PURE__ */ t([1,i,[3,[4,[5,a],i]]],r),minimalDark:/* @__PURE__ */ t([7,i,[3,[8,o,s,[9,a,[10,[11,s]]],[12,!1,o,s,[13,c,s]],[14,s,l],[15,o,70,s,c]]],[16,u,u]],r),dark:/* @__PURE__ */ t([17,[3,[18,o,s,[19,o,s,[13,c,s]],[14,s,l],[15,o,70,s,`#5A5A5A`],[20,[10,[11,s]]]]],[16,u,u]],r),celebration:/* @__PURE__ */ t([17,[3,[8,d,f,[9,a,[10,[11,f]]],[19,d,f,[13,`#5D4037`,d]],[14,f,l],[15,`#FFECB3`,30,f,`#FF8A65`]]],[16,[13,d,f],[13,d,f]]],r),celebrationNight:/* @__PURE__ */ t([17,[3,[8,p,m,[9,a,[10,[11,m]]],[19,p,m,[13,c,m]],[14,d,[11,m]],[15,p,30,d,`#FF8A65`]]],[16,[13,p,m],[13,p,m]]],r),hack:/* @__PURE__ */ t([17,[3,[8,o,h,[9,[6,[11,o]],[10,[11,`#AACCAA`]]],[19,o,h,[13,c,h]],[14,`#66CC66`,[11,h]],[21,`#2A2F2A`,`#AACCAA`,`#66CC66`]]],[16,[13,o,h],[13,o,`#AACCAA`]]],r),zen:/* @__PURE__ */ t([17,[3,[8,g,`#8A9892`,[9,[6,[11,g]],[10,[11,`#A0AC94`]]],[19,g,h,[13,`#E0CFC3`,`#8F837A`]],[14,`#8A9892`,[11,h]],[13,g,`#8A9892`]]],[16,[13,g,`#8F837A`],[13,g,`#8F837A`]]],r),concrete:/* @__PURE__ */ t([17,[3,[8,_,v,[9,a,[10,[11,`#61747E`]]],[19,_,`#61747E`,[13,v,_]],[14,v,[11,`#718890`]],y]],[16,y,y]],r)};export{n,b as t};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.29.3",
4
+ "version": "3.29.4",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -106,26 +106,26 @@
106
106
  }
107
107
  },
108
108
  "devDependencies": {
109
- "@storybook/addon-docs": "^10.6.6",
110
- "@storybook/addon-vitest": "^10.6.6",
111
- "@storybook/vue3-vite": "^10.6.3",
109
+ "@storybook/addon-docs": "^10.6.8",
110
+ "@storybook/addon-vitest": "^10.6.8",
111
+ "@storybook/vue3-vite": "^10.6.8",
112
112
  "@types/node": "^25.5.0",
113
- "@vitejs/plugin-vue": "^6.0.10",
114
- "@vitest/browser-playwright": "^5.0.5",
115
- "@vue/compiler-dom": "3.5.45",
113
+ "@vitejs/plugin-vue": "^6.0.11",
114
+ "@vitest/browser-playwright": "^5.1.1",
115
+ "@vue/compiler-dom": "3.5.46",
116
116
  "@vue/test-utils": "^2.6.0",
117
- "jsdom": "^31.0.0",
118
- "playwright": "^1.65.0",
117
+ "jsdom": "^31.0.1",
118
+ "playwright": "^1.65.1",
119
119
  "prettier": "3.8.1",
120
120
  "remove-attr": "^0.0.13",
121
- "rolldown": "1.3.0",
121
+ "rolldown": "1.3.3",
122
122
  "sass": "^1.57.1",
123
123
  "simple-git": "^4.0.2",
124
- "storybook": "^10.6.6",
124
+ "storybook": "^10.6.8",
125
125
  "typescript": "^6.0.2",
126
- "vite": "^8.3.6",
127
- "vitest": "^5.1.0",
128
- "vue": "^3.5.45"
126
+ "vite": "^8.3.8",
127
+ "vitest": "^5.1.1",
128
+ "vue": "^3.5.46"
129
129
  },
130
130
  "scripts": {
131
131
  "dev": "node add-dev-dep.cjs && pnpm install && vite",
@@ -1 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./vClickOutside-BxNzkY17.js";import{t as n}from"./BaseIcon-CoY0vuL3.js";import{t as r}from"./img-D4RQwASc.js";import{t as i}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{Fragment as a,computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,createElementVNode as u,createVNode as d,guardReactiveProps as f,nextTick as p,normalizeClass as m,normalizeProps as h,normalizeStyle as g,onBeforeUnmount as _,onMounted as v,openBlock as y,ref as b,renderList as ee,renderSlot as x,toDisplayString as te,unref as S,watch as ne,withDirectives as re,withKeys as ie,withModifiers as C}from"vue";var w=/* @__PURE__ */ new WeakMap;function ae(e){if(!e?.classList||e.classList.contains(`vue-ui-graph`))return{enter(){},stop(){}};if(w.has(e))return w.get(e);let t=e.clientWidth||e.getBoundingClientRect().width||800,n=/* @__PURE__ */ new Set,r=null,i,a,o=!1,s=1,c=1,l=[`--vdui-fullscreen-width`,`--vdui-fullscreen-scale`,`--vdui-fullscreen-chrome-width`,`--vdui-fullscreen-chrome-scale`,`--vdui-fullscreen-pan-height`,`--vdui-fullscreen-chart-width`].map(t=>[t,e.style.getPropertyValue(t),e.style.getPropertyPriority(t)]);function u(t,n){e.style.getPropertyValue(t)!==n&&e.style.setProperty(t,n)}function d(){if(r=null,!o||!e.isConnected)return;u(`--vdui-fullscreen-width`,`${t}px`),u(`--vdui-fullscreen-scale`,String(s));for(let t of e.children){let e=getComputedStyle(t);e.position!==`absolute`&&e.position!==`fixed`&&(n.has(t)||(n.add(t),t.setAttribute(`data-vdui-fullscreen-content`,``),i?.observe(t)))}let a=Math.max(1,e.clientWidth-32),l=Math.max(1,e.clientHeight-32);u(`--vdui-fullscreen-chrome-width`,`${a/c}px`),u(`--vdui-fullscreen-chrome-scale`,String(c));let d=0,p=0,m=0,h=t;for(let t of n){if(!e.contains(t)){i?.unobserve(t),n.delete(t);continue}let r=getComputedStyle(t);if(r.position===`absolute`||r.position===`fixed`){t.removeAttribute(`data-vdui-fullscreen-content`),t.removeAttribute(`data-vdui-fullscreen-visual`),t.removeAttribute(`data-vdui-fullscreen-pan-zoom`),i?.unobserve(t),n.delete(t);continue}if(r.display===`none`)continue;let a=!t.hasAttribute(`data-vdui-fullscreen-control`)&&(t.matches(`svg, canvas, table`)||!!t.querySelector(`canvas, table`)||[...t.querySelectorAll(`svg`)].some(e=>!e.closest(`[data-vdui-fullscreen-control]`)&&(e.matches(`.vue-data-ui-svg, .vue-data-ui-fullscreen--on`)||e.clientWidth>128)));a!==t.hasAttribute(`data-vdui-fullscreen-visual`)&&(t.toggleAttribute(`data-vdui-fullscreen-visual`,a),f());let o=t.matches(`svg[data-vdui-pan-zoom]`)||!!t.querySelector(`svg[data-vdui-pan-zoom]`);o!==t.hasAttribute(`data-vdui-fullscreen-pan-zoom`)&&(t.toggleAttribute(`data-vdui-fullscreen-pan-zoom`,o),f()),o&&(d+=1);let l=t.getBoundingClientRect(),u=a?s:c,g=l.height/u+(parseFloat(r.marginTop)||0)+(parseFloat(r.marginBottom)||0);a?o||(h=Math.max(h,l.width/s),p+=g):m+=g}let g=Math.min(96,l/3),_=Math.min(1,(l-g)/Math.max(1,m));Math.abs(_-c)*Math.max(1,m)>.25&&(c=_,u(`--vdui-fullscreen-chrome-scale`,String(c)),u(`--vdui-fullscreen-chrome-width`,`${a/c}px`),f()),d&&u(`--vdui-fullscreen-pan-height`,`${Math.max(1,l-m*c-p*s)/d}px`);let v=Math.min(a/h,Math.max(1,l-m*c)/Math.max(1,p));Number.isFinite(v)&&v>0&&Math.abs(v-s)*Math.max(1,h,p)>.25&&(s=v,u(`--vdui-fullscreen-scale`,String(s))),u(`--vdui-fullscreen-chart-width`,`${Math.min(a,t*s)/c}px`)}function f(){o&&r===null&&(r=requestAnimationFrame(d))}function p(){document.fullscreenElement!==e&&h()}function m(){o||(o=!0,e.setAttribute(`data-vdui-fullscreen-layout`,``),u(`--vdui-fullscreen-width`,`${t}px`),u(`--vdui-fullscreen-scale`,`1`),u(`--vdui-fullscreen-chrome-scale`,`1`),u(`--vdui-fullscreen-chrome-width`,`${Math.max(1,e.clientWidth-32)}px`),i=new ResizeObserver(f),i.observe(e),a=new MutationObserver(e=>{e.some(e=>!(e.target instanceof SVGElement))&&f()}),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`style`,`class`]}),window.addEventListener(`resize`,f),document.addEventListener(`fullscreenchange`,p),d())}function h(){if(!o)w.get(e)===g&&w.delete(e);else{o=!1,r!==null&&cancelAnimationFrame(r),r=null,i?.disconnect(),a?.disconnect(),window.removeEventListener(`resize`,f),document.removeEventListener(`fullscreenchange`,p),w.delete(e),e.removeAttribute(`data-vdui-fullscreen-layout`);for(let e of n)e.removeAttribute(`data-vdui-fullscreen-content`),e.removeAttribute(`data-vdui-fullscreen-visual`),e.removeAttribute(`data-vdui-fullscreen-pan-zoom`);n.clear();for(let[t,n,r]of l)n?e.style.setProperty(t,n,r):e.style.removeProperty(t);s=1,c=1}}let g={enter:m,stop:h};return w.set(e,g),g}var oe={beforeMount(e,t){let n=()=>typeof t.value==`function`?{handler:t.value,targets:[e],disabled:!1,scrollGuardMs:250,moveThreshold:10}:{handler:t.value?.handler,targets:t.value?.targets??[e],disabled:!!t.value?.disabled,scrollGuardMs:t.value?.scrollGuardMs??250,moveThreshold:t.value?.moveThreshold??10},r={lastScrollTs:0,pointerId:null,startX:0,startY:0,moved:!1},i=()=>{r.lastScrollTs=performance.now()},a=e=>{r.pointerId=e.pointerId??null,r.startX=e.clientX??0,r.startY=e.clientY??0,r.moved=!1},o=e=>{if(r.pointerId===null||(e.pointerId??null)!==r.pointerId)return;let t=(e.clientX??0)-r.startX,i=(e.clientY??0)-r.startY,{moveThreshold:a}=n();t*t+i*i>=a*a&&(r.moved=!0)},s=e=>{r.pointerId!==null&&(e.pointerId??null)===r.pointerId&&(r.pointerId=null)},c=(e,t)=>{let n=e.composedPath?e.composedPath():[];for(let r of t){let t=r&&typeof r==`object`&&`value`in r?r.value:r;if(t&&(t===e.target||t.contains&&t.contains(e.target)||n.length&&n.includes(t)))return!0}return!1},l=e=>{let{handler:t,targets:i,disabled:a,scrollGuardMs:o}=n();a||typeof t==`function`&&(performance.now()-r.lastScrollTs<o||r.moved||c(e,i)||t(e))};e.__vPopoverClickOutside__={onScrollCapture:i,onPointerDownCapture:a,onPointerMoveCapture:o,onPointerUpCapture:s,onClickCapture:l},window.addEventListener(`scroll`,i,!0),document.addEventListener(`pointerdown`,a,!0),document.addEventListener(`pointermove`,o,!0),document.addEventListener(`pointerup`,s,!0),document.addEventListener(`click`,l,!0)},unmounted(e){let t=e.__vPopoverClickOutside__;t&&(window.removeEventListener(`scroll`,t.onScrollCapture,!0),document.removeEventListener(`pointerdown`,t.onPointerDownCapture,!0),document.removeEventListener(`pointermove`,t.onPointerMoveCapture,!0),document.removeEventListener(`pointerup`,t.onPointerUpCapture,!0),document.removeEventListener(`click`,t.onClickCapture,!0),delete e.__vPopoverClickOutside__)}},T=/* @__PURE__ */ e({default:()=>E}),se=[`title`,`onKeydown`],ce=[`popover`,`data-open`],le=[`onClick`,`onMouseenter`,`onMouseout`],ue=[`title`],de=[`data-open`],fe=[`onClick`,`onMouseenter`,`onMouseout`],E=/*#__PURE__*/ i({__name:`UserOptions`,props:{hasAnalyze:{type:Boolean,default:!1},hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasSvg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:`right`},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1},callbacks:{type:Object,default(){return{}}},printScale:{type:Number,default:2},tableDialog:{type:Boolean,default:!1},hasZoom:{type:Boolean,default:!1},isZoom:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1},hasAltCopy:{type:Boolean,default:!1}},emits:[`analyze`,`generatePdf`,`generateCsv`,`generateImage`,`toggleTable`,`toggleLabels`,`toggleSort`,`toggleFullscreen`,`toggleStack`,`toggleTooltip`,`toggleAnimation`,`toggleAnnotator`,`generateSvg`,`toggleZoom`,`copyAlt`],setup(e,{expose:i,emit:w}){let T=e,E=w,D=b(null),O=b(null),k=b(null),A=b(!1),j=o(()=>typeof window<`u`&&typeof HTMLElement<`u`&&`popover`in HTMLElement.prototype);async function pe(){if(T.callbacks.pdf){let{imageUri:e,base64:t}=await r({domElement:T.chartElement,base64:!0,img:!0,scale:T.printScale});T.callbacks.pdf({domElement:T.chartElement,base64:t,imageUri:e})}else E(`generatePdf`)}function me(){E(`generateCsv`,T.callbacks.csv)}async function he(){if(T.callbacks.img){E(`generateImage`,{stage:`start`});try{let{imageUri:e,base64:t}=await r({domElement:T.chartElement,base64:!0,img:!0,scale:T.printScale});await Promise.resolve(T.callbacks.img({domElement:T.chartElement,imageUri:e,base64:t}))}finally{E(`generateImage`,{stage:`end`})}}else E(`generateImage`)}function ge(){E(`generateSvg`,{isCb:!!T.callbacks.svg})}let M=b(!1);function _e(){T.callbacks.table?T.callbacks.table():(M.value=!M.value,E(`toggleTable`))}function ve(e){M.value=e}i({setTableIconState:ve,setTooltipIconState:Se,close:Y});let N=b(T.isLabelActive);function ye(){T.callbacks.labels?T.callbacks.labels():(N.value=!N.value,E(`toggleLabels`))}let P=b(T.isAnimation);function F(){T.callbacks.animation?T.callbacks.animation():(P.value=!P.value,E(`toggleAnimation`))}let I=b(T.isZoom);function L(){T.callbacks.zoom?T.callbacks.zoom():(I.value=!I.value,E(`toggleZoom`))}let R=o({get:()=>T.isAnnotation,set:e=>e});function z(){T.callbacks.annotator?T.callbacks.annotator():(R.value=!R.value,E(`toggleAnnotator`))}function be(){T.callbacks.sort?T.callbacks.sort():E(`toggleSort`)}function B(){E(`copyAlt`)}let V=b(T.isStacked);function xe(){T.callbacks.stack?T.callbacks.stack():(V.value=!V.value,E(`toggleStack`))}let H=b(T.isTooltip);function Se(e){H.value=e}function Ce(){T.callbacks.tooltip?T.callbacks.tooltip():(H.value=!H.value,E(`toggleTooltip`))}let U=null,W=null;function we(){W!==T.chartElement&&(U?.stop(),W=T.chartElement,U=ae(T.chartElement))}async function Te(){if(T.chartElement){we(),E(`toggleFullscreen`,!T.isFullscreen);try{document.fullscreenElement===T.chartElement?await document.exitFullscreen():await T.chartElement.requestFullscreen()}catch{U?.stop(),E(`toggleFullscreen`,!1)}}}function G(){let e=!!T.chartElement&&document.fullscreenElement===T.chartElement;e?(we(),U?.enter()):U?.stop(),e!==T.isFullscreen&&E(`toggleFullscreen`,e)}v(()=>{document.addEventListener(`fullscreenchange`,G),T.chartElement&&document.fullscreenElement===T.chartElement&&G()}),_(()=>{document.removeEventListener(`fullscreenchange`,G);let e=U,t=W;p(()=>{t?.isConnected&&document.fullscreenElement===t||e?.stop()})});let K=b(window.innerWidth>600),q=b({analyze:!1,tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1,svg:!1,zoom:!1,altCopy:!1}),Ee=b(!0);function De(){K.value=window.innerWidth>600,A.value=!A.value,A.value&&(Ee.value=!1)}function Oe(){T.isPrinting||T.isImaging||(A.value=!1)}function ke(){A.value&&Oe()}let J=b(0);function Ae(){J.value=performance.now()+50}function Y(){T.isPrinting||T.isImaging||(j.value&&Q(),A.value=!1)}function je(){performance.now()<J.value||Y()}function Me(){if(K.value=window.innerWidth>600,!j.value){A.value||Ae(),A.value=!A.value;return}let e=k.value;e&&e.matches&&e.matches(`:popover-open`)||A.value?(A.value=!1,Q()):(Ae(),A.value=!0)}function Ne(){Me()}function X(e,t,n,r){let i=window.devicePixelRatio||1,a=e=>Math.round(e*i)/i;e.style.position=`fixed`,e.style.top=`${a(t)}px`,e.style.left=`${a(n)}px`,e.style.right=`auto`,e.style.width=`${a(r)}px`}function Pe(e){if(e.style.width=``,e.style.left=``,e.style.right=``,e.style.top=``,e.style.position=`absolute`,e.style.top=`36px`,T.position===`right`){let t=T.offsetX?T.offsetX:T.noOffset?0:4;e.style.right=`${t}px`,e.style.left=`auto`}else{let t=T.noOffset?0:4;e.style.left=`${t}px`,e.style.right=`auto`}e.style.display=`flex`,e.style.visibility=`hidden`,e.style.pointerEvents=`none`}function Fe(){if(!j.value||!A.value||!D.value||!k.value)return;let e=D.value.getBoundingClientRect(),t=k.value.getBoundingClientRect(),n=e.top+38;if(T.position===`right`){let r=T.offsetX?T.offsetX:T.noOffset?0:4,i=e.right-r-t.width;X(k.value,n,i,t.width)}else{let r=T.noOffset?0:4,i=e.left+r;X(k.value,n,i,t.width)}}let Ie=0;function Le(){cancelAnimationFrame(Ie),Ie=requestAnimationFrame(()=>{Fe()})}function Z(){j.value&&A.value&&Le()}function Re(e,t){let n=window.devicePixelRatio||1,r=e=>Math.round(e*n)/n;e.style.position=`fixed`,e.style.top=`${r(t.top)}px`,e.style.left=`${r(t.left)}px`,e.style.right=`auto`,e.style.width=`${r(t.width)}px`}async function ze(e=!1){if(!j.value)return;let t=k.value;if(!t)return;let n=t.getAttribute(`style`)||``,r=t.getAttribute(`data-open`);t.setAttribute(`popover`,`manual`);try{t.setAttribute(`data-open`,`true`),Pe(t),await p();let i=t.getBoundingClientRect();t.setAttribute(`style`,n),r===null?t.removeAttribute(`data-open`):t.setAttribute(`data-open`,r),Re(t,i),e||(typeof t.showPopover==`function`?t.showPopover():t.style.display=`flex`)}catch{if(!e)try{typeof t.showPopover==`function`?t.showPopover():t.style.display=`flex`}catch{}}}function Q(){if(!j.value)return;let e=k.value;if(e){e.setAttribute(`popover`,`manual`);try{typeof e.hidePopover==`function`?e.hidePopover():e.style.display=`none`}catch{e.style.display=`none`}e.style.position=``,e.style.top=``,e.style.left=``,e.style.right=``,e.style.width=``,e.style.inset=``}}function Be(){if(!j.value)return;let e=k.value;e&&(A.value&&=typeof e.matches==`function`&&(()=>{try{return e.matches(`:popover-open`)}catch{return!1}})())}function Ve(e){if(!j.value||!A.value||performance.now()<J.value)return;let t=e.composedPath?e.composedPath():[],n=O.value?t.includes(O.value):!1,r=k.value?t.includes(k.value):!1;!n&&!r&&Y()}ne(()=>T.isFullscreen,async()=>{j.value&&(await p(),A.value&&ze())}),ne(()=>A.value,async e=>{j.value&&(await p(),e?(await ze(!1),Fe()):Q())});function He(e){e.key===`Escape`&&D.value&&D.value.contains(document.activeElement)&&(e.preventDefault(),e.stopPropagation(),Y(),O.value?.focus())}v(()=>{window.addEventListener(`pointerdown`,Ve,!0),window.addEventListener(`resize`,Z,{passive:!0}),window.addEventListener(`scroll`,Z,{passive:!0,capture:!0}),k.value&&k.value.addEventListener(`toggle`,Be)}),_(()=>{window.removeEventListener(`pointerdown`,Ve,!0),window.removeEventListener(`resize`,Z),window.removeEventListener(`scroll`,Z,!0),k.value&&k.value.removeEventListener(`toggle`,Be)});let Ue=o(()=>[{key:`pdf`,visible:T.hasPdf,slot:`optionPdf`,testId:`user-options-pdf`,run:pe,icon:`filePdf`,alternate:T.isPrinting,alternateIcon:`hourglass`,spin:!0},{key:`csv`,visible:T.hasXls,slot:`optionCsv`,testId:`user-options-xls`,run:me,icon:`fileCsv`},{key:`img`,visible:T.hasImg,slot:`optionImg`,testId:`user-options-img`,run:he,icon:`filePng`,alternate:T.isImaging,alternateIcon:`hourglass`,spin:!0},{key:`svg`,visible:T.hasSvg,slot:`optionSvg`,testId:`user-options-svg`,run:ge,icon:`fileSvg`},{key:`tooltip`,visible:T.hasTooltip,slot:`optionTooltip`,testId:`user-options-tooltip`,run:Ce,icon:`tooltipDisabled`,alternate:H.value,alternateIcon:`tooltip`},{key:`table`,visible:T.hasTable,slot:`optionTable`,testId:`user-options-table`,run:_e,icon:M.value?`tableClose`:`tableOpen`,alternate:T.tableDialog,alternateIcon:M.value?`tableDialogClose`:`tableDialogOpen`},{key:`labels`,visible:T.hasLabel,slot:`optionLabels`,testId:`user-options-label`,run:ye,icon:N.value?`labelClose`:`labelOpen`},{key:`sort`,visible:T.hasSort,slot:`optionSort`,testId:`user-options-sort`,run:be,icon:`sort`},{key:`stack`,visible:T.hasStack,slot:`optionStack`,testId:`user-options-stack`,run:xe,icon:`stack`,alternate:V.value,alternateIcon:`unstack`,slotProps:{first:{name:`isStack`,value:V.value}}},{key:`fullscreen`,visible:T.hasFullscreen,slot:`optionFullscreen`,testId:`user-options-fullscreen`,run:()=>Te(T.isFullscreen?`out`:`in`),icon:`fullscreen`,alternate:T.isFullscreen,alternateIcon:`exitFullscreen`,slotProps:{first:{name:`toggleFullscreen`,value:Te},second:{name:`isFullscreen`,value:T.isFullscreen}}},{key:`zoom`,visible:T.hasZoom,slot:`optionZoom`,testId:`user-options-fullscreen`,run:()=>L(),icon:`zoomLock`,alternate:T.isZoom,alternateIcon:`zoomUnlock`,slotProps:{first:{name:`toggleZoom`,value:L},second:{name:`isZoomLocked`,value:!T.isZoom}}},{key:`animation`,visible:T.hasAnimation,slot:`optionAnimation`,testId:`user-options-anim`,run:F,icon:`pause`,alternate:P.value,alternateIcon:`play`,slotProps:{first:{name:`toggleAnimation`,value:F},second:{name:`isAnimated`,value:P.value}}},{key:`annotator`,visible:T.hasAnnotator,slot:`optionAnnotator`,testId:`user-options-annotator`,run:z,icon:`annotator`,alternate:R.value,alternateIcon:`annotatorDisabled`,slotProps:{first:{name:`toggleAnnotator`,value:z},second:{name:`isAnnotator`,value:R.value}}},{key:`analyze`,visible:T.hasAnalyze,slot:`optionAnalyze`,testId:`user-options-analyze`,run:()=>E(`analyze`),icon:`analyze`},{key:`altCopy`,visible:T.hasAltCopy,slot:`optionAltCopy`,testId:`user-options-alt-copy`,run:B,icon:`accessibility`,slotProps:{first:{name:`copyAlt`,value:B}}}]);function $(e){let t={"button-info-left":T.position===`left`,"button-info-right":T.position===`right`},n=T.position===`left`&&q.value[e],r=T.position===`right`&&q.value[e];return e===`tooltip`?{...t,"button-info-left-visible":n,"button-info-right-visible":r}:{...t,"button-info-right-visible":r,"button-info-left-visible":n}}return(r,i)=>j.value?re((y(),l(`div`,{key:0,ref_key:`rootRef`,ref:D,"data-dom-to-png-ignore":``,class:`vue-ui-user-options`,style:g(`z-index: ${e.zIndex}; height: 34px; position: ${e.isFullscreen?`fixed`:`absolute`}; top: 0; ${e.position===`right`?`right:${e.isFullscreen?`12px`:`0`}`:`left:${e.isFullscreen?`12px`:`0`}`}; padding: 4px; background:transparent;`),onKeydown:He},[u(`div`,{ref_key:`triggerRef`,ref:O,tabindex:`0`,role:`button`,title:A.value?e.titles.close||``:e.titles.open||``,style:g(`width:32px; position: absolute; top: 0;${e.position===`right`?`right: ${e.offsetX?e.offsetX:e.noOffset?0:4}px`:`left: ${e.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:${e.isCursorPointer?`pointer`:`default`}; background:transparent`),onPointerdown:C(Me,[`stop`,`prevent`]),onKeydown:ie(C(Ne,[`stop`,`prevent`]),[`enter`])},[x(r.$slots,`menuIcon`,h(f({isOpen:A.value,color:e.color})),()=>[d(n,{name:A.value?`close`:`menu`,stroke:e.color,"stroke-width":2},null,8,[`name`,`stroke`])],!0)],44,se),u(`div`,{ref_key:`drawerRef`,ref:k,popover:j.value?`manual`:null,"data-open":j.value?null:A.value,class:m({"vue-ui-user-options-drawer":!0}),style:g(j.value?{background:e.backgroundColor}:`background:${e.backgroundColor}; ${e.position===`right`?`right: ${e.offsetX?e.offsetX:e.noOffset?0:4}px`:`left: ${e.noOffset?0:4}px`}`)},[x(r.$slots,`custom-menu-before`,{},void 0,!0),(y(!0),l(a,null,ee(Ue.value,t=>(y(),l(a,{key:t.key},[t.visible?(y(),l(`button`,{key:0,tabindex:`0`,class:`vue-ui-user-options-button`,onClick:t.run,onMouseenter:e=>q.value[t.key]=!0,onMouseout:e=>q.value[t.key]=!1,style:g({cursor:e.isCursorPointer?`pointer`:`default`})},[r.$slots[t.slot]?(y(),l(a,{key:0},[t.slotProps?t.slotProps.second?x(r.$slots,t.slot,h({[t.slotProps.first.name||``]:t.slotProps.first.value,[t.slotProps.second.name||``]:t.slotProps.second.value}),void 0,!0,2):x(r.$slots,t.slot,h({[t.slotProps.first.name||``]:t.slotProps.first.value}),void 0,!0,1):x(r.$slots,t.slot,{},void 0,!0,0)],64)):(y(),l(a,{key:1},[t.alternate?(y(),s(n,{key:0,name:t.alternateIcon,isSpin:t.spin,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`name`,`isSpin`,`stroke`])):(y(),s(n,{key:1,name:t.icon,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`name`,`stroke`]))],64)),K.value&&e.titles[t.key===`animation`?`fullscreen`:t.key]?(y(),l(`div`,{key:2,dir:`auto`,class:m($(t.key)),style:g({background:e.backgroundColor,color:e.color})},te(e.titles[t.key]),7)):c(``,!0)],44,le)):c(``,!0)],64))),128)),x(r.$slots,`custom-menu-after`,{},void 0,!0)],12,ce)],36)),[[S(oe),j.value?null:{targets:[D.value,k.value,O.value],handler:je}]]):re((y(),l(`div`,{key:1,ref_key:`rootRef`,ref:D,"data-dom-to-png-ignore":``,class:`vue-ui-user-options`,style:g(`z-index: ${e.zIndex}; height: 34px; position: ${e.isFullscreen?`fixed`:`absolute`}; top: 0; ${e.position===`right`?`right:${e.isFullscreen?`12px`:`0`}`:`left:${e.isFullscreen?`12px`:`0`}`}; padding: 4px; background:transparent;`),onKeydown:He},[u(`div`,{ref_key:`triggerRef`,ref:O,tabindex:`0`,title:A.value?e.titles.close||``:e.titles.open||``,style:g(`width:32px; position: absolute; top: 0;${e.position===`right`?`right: ${e.offsetX?e.offsetX:e.noOffset?0:4}px`:`left: ${e.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:C(De,[`stop`]),onKeypress:ie(De,[`enter`])},[x(r.$slots,`menuIcon`,h(f({isOpen:A.value,color:e.color})),()=>[d(n,{name:A.value?`close`:`menu`,stroke:e.color,"stroke-width":2},null,8,[`name`,`stroke`])],!0)],44,ue),u(`div`,{ref_key:`drawerRef`,ref:k,"data-open":A.value,class:m({"vue-ui-user-options-drawer":!0}),style:g(`background:${e.backgroundColor}; ${e.position===`right`?`right: ${e.offsetX?e.offsetX:e.noOffset?0:4}px`:`left: ${e.noOffset?0:4}px`}`)},[x(r.$slots,`custom-menu-before`,{},void 0,!0),(y(!0),l(a,null,ee(Ue.value,t=>(y(),l(a,{key:t.key},[t.visible?(y(),l(`button`,{key:0,tabindex:`0`,class:`vue-ui-user-options-button`,onClick:e=>t.run(e),onMouseenter:e=>q.value[t.key]=!0,onMouseout:e=>q.value[t.key]=!1},[r.$slots[t.slot]?(y(),l(a,{key:0},[t.slotProps?t.slotProps.second?x(r.$slots,t.slot,h({[t.slotProps.first.name||``]:t.slotProps.first.value,[t.slotProps.second.name||``]:t.slotProps.second.value}),void 0,!0,2):x(r.$slots,t.slot,h({[t.slotProps.first.name||``]:t.slotProps.first.value}),void 0,!0,1):x(r.$slots,t.slot,{},void 0,!0,0)],64)):(y(),l(a,{key:1},[t.alternate?(y(),s(n,{key:0,name:t.alternateIcon,isSpin:t.spin,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`name`,`isSpin`,`stroke`])):(y(),s(n,{key:1,name:t.icon,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`name`,`stroke`]))],64)),K.value&&e.titles[t.key===`animation`?`fullscreen`:t.key]?(y(),l(`div`,{key:2,dir:`auto`,class:m($(t.key)),style:g({background:e.backgroundColor,color:e.color})},te(e.titles[t.key]),7)):c(``,!0)],40,fe)):c(``,!0)],64))),128)),x(r.$slots,`custom-menu-actions`,{},void 0,!0)],12,de)],36)),[[S(t),ke]])}},[[`__scopeId`,`data-v-769c3c21`]]);export{T as n,E as t};
@@ -1 +0,0 @@
1
- var e=`3.29.3`;export{e as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./BaseIcon-CoY0vuL3.js";import{computed as n,createBlock as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,createSlots as s,createTextVNode as c,defineAsyncComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,normalizeStyle as p,onMounted as m,openBlock as h,ref as g,renderList as _,renderSlot as v,resolveDynamicComponent as y,toDisplayString as b,useAttrs as x,watch as S,withCtx as C}from"vue";var w=/* @__PURE__ */ e({default:()=>E}),T={style:{width:`36px`}},E=/*@__PURE__*/ Object.assign({inheritAttrs:!1},{__name:`vue-data-ui`,props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},setup(e,{expose:w}){let E=e,D=x(),O={VueUiGraph:l(()=>import(`./vue-ui-graph-CCLd8bTj.js`).then(e=>e.n)),VueUi3dBar:l(()=>import(`./vue-ui-3d-bar-D3pDUYiG.js`).then(e=>e.n)),VueUiAgePyramid:l(()=>import(`./vue-ui-age-pyramid-bJmGRZ59.js`).then(e=>e.n)),VueUiAnnotator:l(()=>import(`./vue-ui-annotator-C-gyszpf.js`).then(e=>e.n)),VueUiCandlestick:l(()=>import(`./vue-ui-candlestick-BwETH5d4.js`).then(e=>e.n)),VueUiChestnut:l(()=>import(`./vue-ui-chestnut-Cg8m6-N6.js`).then(e=>e.n)),VueUiDashboard:l(()=>import(`./vue-ui-dashboard-CDekEQNH.js`).then(e=>e.n)),VueUiDigits:l(()=>import(`./vue-ui-digits-ByjwG9Hv.js`).then(e=>e.n)),VueUiDonut:l(()=>import(`./vue-ui-donut-BV3btR0S.js`).then(e=>e.n)),VueUiDonutEvolution:l(()=>import(`./vue-ui-donut-evolution-CPIVtWxh.js`).then(e=>e.n)),VueUiGalaxy:l(()=>import(`./vue-ui-galaxy-D91dIUfs.js`).then(e=>e.n)),VueUiGauge:l(()=>import(`./vue-ui-gauge-DM3p5s8H.js`).then(e=>e.n)),VueUiHeatmap:l(()=>import(`./vue-ui-heatmap-BvVHrOcc.js`).then(e=>e.n)),VueUiKpi:l(()=>import(`./vue-ui-kpi-BPL64spX.js`).then(e=>e.n)),VueUiMiniLoader:l(()=>import(`./vue-ui-mini-loader-DyefvJIr.js`).then(e=>e.n)),VueUiMolecule:l(()=>import(`./vue-ui-molecule-B7KJzavj.js`).then(e=>e.n)),VueUiMoodRadar:l(()=>import(`./vue-ui-mood-radar-6q5OUW6D.js`).then(e=>e.n)),VueUiNestedDonuts:l(()=>import(`./vue-ui-nested-donuts-C137tg5U.js`).then(e=>e.n)),VueUiOnion:l(()=>import(`./vue-ui-onion-ClMux968.js`).then(e=>e.n)),VueUiQuadrant:l(()=>import(`./vue-ui-quadrant-BPKWN3Ac.js`).then(e=>e.n)),VueUiRadar:l(()=>import(`./vue-ui-radar-DIdTBEet.js`).then(e=>e.n)),VueUiRating:l(()=>import(`./vue-ui-rating-CFu9LjID.js`).then(e=>e.n)),VueUiRelationCircle:l(()=>import(`./vue-ui-relation-circle-5Noti3DC.js`).then(e=>e.n)),VueUiRings:l(()=>import(`./vue-ui-rings-B-cJIyAX.js`).then(e=>e.n)),VueUiScatter:l(()=>import(`./vue-ui-scatter-DcchOWYi.js`).then(e=>e.n)),VueUiSkeleton:l(()=>import(`./vue-ui-skeleton-DtHam8Oi.js`).then(e=>e.n)),VueUiSmiley:l(()=>import(`./vue-ui-smiley-C8ES41OS.js`).then(e=>e.n)),VueUiSparkbar:l(()=>import(`./vue-ui-sparkbar-CVJo0I__.js`).then(e=>e.n)),VueUiSparkgauge:l(()=>import(`./vue-ui-sparkgauge-UXQOQCQ6.js`).then(e=>e.n)),VueUiSparkHistogram:l(()=>import(`./vue-ui-sparkhistogram-DVyAev-n.js`).then(e=>e.n)),VueUiSparkline:l(()=>import(`./vue-ui-sparkline-DXJpSvr5.js`).then(e=>e.n)),VueUiSparkStackbar:l(()=>import(`./vue-ui-sparkstackbar-CI7LeTy9.js`).then(e=>e.n)),VueUiTable:l(()=>import(`./vue-ui-table-CcBJ_hPp.js`).then(e=>e.n)),VueUiTableSparkline:l(()=>import(`./vue-ui-table-sparkline-D1OPXi2z.js`).then(e=>e.n)),VueUiThermometer:l(()=>import(`./vue-ui-thermometer-D2LlLcEV.js`).then(e=>e.n)),VueUiTiremarks:l(()=>import(`./vue-ui-tiremarks-BsKJi3S0.js`).then(e=>e.n)),VueUiTreemap:l(()=>import(`./vue-ui-treemap-5HkhmOD4.js`).then(e=>e.n)),VueUiVerticalBar:l(()=>import(`./vue-ui-horizontal-bar-Khi_qtla.js`).then(e=>e.n)),VueUiHorizontalBar:l(()=>import(`./vue-ui-horizontal-bar-Khi_qtla.js`).then(e=>e.n)),VueUiWaffle:l(()=>import(`./vue-ui-waffle-2BJYwpwv.js`).then(e=>e.n)),VueUiWheel:l(()=>import(`./vue-ui-wheel-Dr-mMZrH.js`).then(e=>e.n)),VueUiXy:l(()=>import(`./vue-ui-xy-Cwkavs_B.js`).then(e=>e.n)),VueUiTableHeatmap:l(()=>import(`./vue-ui-table-heatmap-CwV82zwm.js`).then(e=>e.n)),VueUiAccordion:l(()=>import(`./vue-ui-accordion-BpTfjWvH.js`).then(e=>e.n)),VueUiQuickChart:l(()=>import(`./vue-ui-quick-chart-BvqQnNn1.js`).then(e=>e.n)),VueUiCursor:l(()=>import(`./vue-ui-cursor-jkuEvFtX.js`).then(e=>e.n)),VueUiSparkTrend:l(()=>import(`./vue-ui-spark-trend-m_ybZFN7.js`).then(e=>e.n)),VueUiStripPlot:l(()=>import(`./vue-ui-strip-plot-D2JTssjF.js`).then(e=>e.n)),VueUiDumbbell:l(()=>import(`./vue-ui-dumbbell-bTQpX8A6.js`).then(e=>e.n)),VueUiWordCloud:l(()=>import(`./vue-ui-word-cloud-CF_k1x_e.js`).then(e=>e.n)),VueUiXyCanvas:l(()=>import(`./vue-ui-xy-canvas-DnWzhq9y.js`).then(e=>e.n)),VueUiFlow:l(()=>import(`./vue-ui-flow-BRC3pGzL.js`).then(e=>e.n)),VueUiParallelCoordinatePlot:l(()=>import(`./vue-ui-parallel-coordinate-plot-JbfDQzwN.js`).then(e=>e.n)),VueUiTimer:l(()=>import(`./vue-ui-timer-Ca8KPZNl.js`).then(e=>e.n)),VueUiCarouselTable:l(()=>import(`./vue-ui-carousel-table-_V-HWzd-.js`).then(e=>e.n)),VueUiGizmo:l(()=>import(`./vue-ui-gizmo-CoET_abC.js`).then(e=>e.n)),VueUiStackbar:l(()=>import(`./vue-ui-stackbar-BAdE_agj.js`).then(e=>e.n)),VueUiStackline:l(()=>import(`./vue-ui-stackline-CEcCgYrY.js`).then(e=>e.n)),VueUiBullet:l(()=>import(`./vue-ui-bullet-5ZNUgPS7.js`).then(e=>e.n)),VueUiFunnel:l(()=>import(`./vue-ui-funnel-7RjzjVqE.js`).then(e=>e.n)),VueUiHistoryPlot:l(()=>import(`./vue-ui-history-plot-DVoOwR1y.js`).then(e=>e.n)),VueUiCirclePack:l(()=>import(`./vue-ui-circle-pack-BiVPm8ii.js`).then(e=>e.n)),VueUiWorld:l(()=>import(`./vue-ui-world-BuzOXOPx.js`).then(e=>e.n)),VueUiRidgeline:l(()=>import(`./vue-ui-ridgeline-DUrvAa8z.js`).then(e=>e.n)),VueUiChord:l(()=>import(`./vue-ui-chord-CaJ-uclL.js`).then(e=>e.n)),VueUiDag:l(()=>import(`./vue-ui-dag-wkBDTIcz.js`).then(e=>e.n)),VueUiGeo:l(()=>import(`./vue-ui-geo-BUQL79cU.js`).then(e=>e.n)),VueUiBump:l(()=>import(`./vue-ui-bump-DYGbmTko.js`).then(e=>e.n)),VueUiHill:l(()=>import(`./vue-ui-hill-BkcY-Zbf.js`).then(e=>e.n)),VueUiLabel:l(()=>import(`./vue-ui-label-OvoE3A_k.js`).then(e=>e.n))},k=/* @__PURE__ */ new Set([`VueUiMiniLoader`,`VueUiSkeleton`,`VueUiAccordion`,`VueUiCursor`,`VueUiTimer`]),A=/* @__PURE__ */ `fitToView.focusNode.resetLayout.autoSize.cancel.close.copyAlt.clearSelection.fitCountries.focusCountry.focusLocation.generateCsv.generateImage.generatePdf.generateSvg.getItemsPositions.hideSeries.lap.pause.pauseAnimation.recalculateHeight.reset.resetView.resetZoom.restart.restoreOrder.resumeAnimation.save.selectGroup.selectNode.selectRibbon.setZoomState.shoot.showSeries.start.switchOrientation.toggleAnimation.toggleAnnotator.toggleLabels.toggleLock.toggleReadonly.toggleSort.toggleStack.toggleTable.toggleFullscreen.toggleTooltip.toggleZoom.zoomIn.zoomOut`.split(`.`),j=g(null),M=n(()=>!O[E.component]),N=n(()=>O[E.component]||null);function P(){let e={...D,config:E.config};return k.has(E.component)||(e.dataset=E.dataset),e}let F=[];function I(e,t){return new Promise((n,r)=>{F.push({method:e,args:t,resolve:n,reject:r})})}function L(e){return/* @__PURE__ */ Error(`Method "${e}" not found on ${E.component}`)}function R(e,t){let n=j.value;if(!n)return null;let r=n[e];return typeof r==`function`?r.apply(n,t):null}function z(e,t){let n=j.value;if(!n)return I(e,t);let r=n[e];return typeof r==`function`?r.apply(n,t):Promise.reject(L(e))}S(j,e=>{if(e)for(;F.length;){let{method:t,args:n,resolve:r,reject:i}=F.shift(),a=e[t];typeof a==`function`?Promise.resolve().then(()=>a.apply(e,n)).then(r).catch(i):i(L(t))}}),w({getData(...e){return z(`getData`,e)},getImage(e={}){let{scale:t=2}=e;return z(`getImage`,[{scale:t}])},...Object.fromEntries(A.map(e=>[e,(...t)=>R(e,t)]))}),m(()=>{M.value&&console.error(`\n\nVue Data UI exception:\nThe provided component "${E.component}" does not exist. Check the spelling.\n\nAvailable components:\n\n${Object.keys(O).map(e=>`. ${e}\n`).join(``)}`)});let B=n(()=>{let e=`The provided component ${E.component} does not exist.`;return[`VueUiIcon`,`VueUiPattern`,`Arrow`].includes(E.component)?(e=`${E.component} is not supported by the VueDataUi universal component. You must import it individually.`,console.warn(e),{status:`notSupported`,message:e}):(console.warn(e),{status:`unknown`,message:e})});return(e,n)=>M.value?(h(),a(`div`,{key:0,style:p({width:`100%`,display:`flex`,gap:`6px`,alignItems:`center`,color:B.value.status===`notSupported`?`#FF9000`:`#FF0000`})},[o(`div`,T,[B.value.status===`unknown`?(h(),r(t,{key:0,name:`moodFlat`,stroke:`#FF0000`})):i(``,!0),B.value.status===`notSupported`?(h(),r(t,{key:1,name:`circleExclamation`,stroke:`#FF9000`})):i(``,!0)]),c(` `+b(B.value.message),1)],4)):(h(),r(y(N.value),d({key:1,ref_key:`currentComponentRef`,ref:j},P()),s({_:2},[_(e.$slots,(t,n)=>({name:n,fn:C(t=>[v(e.$slots,n,f(u(t)))])}))]),1040))}});export{w as n,E as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{n as t,r as n,t as r}from"./userOptionsSlots-CWtXN5Q6.js";import{n as i,r as a,t as o}from"./annotationSlots-OLiW25XN.js";import{n as s,t as ee}from"./tableIntegration-CNoJ1CIY.js";import{t as te}from"./chartImage-DPGnEuYM.js";import{n as ne}from"./resolveChartConfig-0IvbmIE_.js";import{$ as c,D as re,Dt as ie,Ht as ae,Kt as oe,S as se,X as ce,at as le,i as ue,in as de,nt as fe,t as pe,w as me,z as he}from"./lib-rPeBMZrn.js";import{n as ge,t as _e}from"./useHints-C-TwxM0Y.js";import{t as ve}from"./useConfig-B8qvYKdK.js";import{t as ye}from"./usePrinter-DVf3YcG5.js";import{t as be}from"./useResponsive-CENUxfEL.js";import{t as xe}from"./useChartExport-BZts4KFb.js";import{t as Se}from"./useTransitions-ChGGrtrv.js";import{t as Ce}from"./useChartAccessibility-DOMuYJfm.js";import{t as we}from"./labelUtils-CdtU-yB_.js";import{n as Te}from"./Title-BliHuXfT.js";import{t as Ee}from"./Legend-W9YVYVX-.js";import{t as De}from"./vue_ui_galaxy-iCWLHLBY.js";import{t as Oe}from"./BaseScanner-m6QR9rwD.js";import{t as ke}from"./A11yDataTable-DWNlWXzs.js";import{t as Ae}from"./BaseLegendToggle-VzX69MCo.js";import{t as je}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{Fragment as Me,Teleport as Ne,computed as l,createBlock as u,createCommentVNode as d,createElementBlock as f,createElementVNode as p,createSlots as Pe,createTextVNode as Fe,createVNode as m,defineAsyncComponent as h,guardReactiveProps as g,mergeProps as Ie,nextTick as Le,normalizeClass as _,normalizeProps as v,normalizeStyle as Re,onBeforeUnmount as ze,onMounted as Be,openBlock as y,ref as b,renderList as Ve,renderSlot as x,resolveDynamicComponent as He,shallowRef as Ue,toDisplayString as S,unref as C,watch as w,withCtx as T}from"vue";var We=/* @__PURE__ */ e({default:()=>dt}),Ge=[`id`],Ke=[`id`],qe=[`id`],Je={style:{position:`relative`}},Ye=[`xmlns`,`aria-describedby`,`viewBox`],Xe=[`width`,`height`],Ze=[`id`],Qe=[`stdDeviation`],$e=[`d`,`stroke`,`stroke-width`],et=[`d`,`stroke`,`stroke-width`],tt=[`filter`],nt=[`d`,`stroke`,`stroke-width`],rt=[`data-a11y-serie-id`,`d`,`stroke-width`,`aria-label`,`onMouseenter`,`onMouseleave`,`onClick`],it={key:0,style:{position:`absolute`,top:`100%`,left:`0`,width:`100%`},"data-dom-to-png-ignore":``,"aria-hidden":`true`},at={key:5,class:`vue-data-ui-watermark`},ot=[`id`],st=[`onClick`],ct={key:0},lt={key:1},ut=190,dt=/*#__PURE__*/ je({__name:`vue-ui-galaxy`,props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:[`selectLegend`,`selectDatapoint`,`copyAlt`],setup(e,{expose:je,emit:We}){let dt=h(()=>import(`./Tooltip-B432XpvC.js`)),ft=h(()=>import(`./BaseIcon-CoY0vuL3.js`).then(e=>e.n)),pt=h(()=>import(`./vue-ui-accordion-BpTfjWvH.js`).then(e=>e.n)),mt=h(()=>import(`./DataTable-KeuZB1JM.js`)),ht=h(()=>import(`./PenAndPaper-BV5ODysA.js`).then(e=>e.t)),gt=h(()=>import(`./UserOptions-K1N7zQRx.js`).then(e=>e.n)),_t=h(()=>import(`./PackageVersion-DAF5ApGl.js`).then(e=>e.t)),vt=h(()=>import(`./BaseDraggableDialog-DVstuNhT.js`).then(e=>e.n)),{vue_ui_galaxy:yt}=ve(),E=e,D=b(ce()),O=b(null),bt=b(!1),xt=b(``),k=b(null),St=b(0),Ct=b(null),wt=b(null),Tt=b(null),Et=b(null),A=Ue(null),Dt=b(!1),Ot=b(null),kt=b(null),j=b(null),M=b(null),At=b({x:0,y:0}),jt=b(`pointer`),Mt=b(!1),Nt=l(()=>!!E.dataset&&E.dataset.length),Pt=l(Kt),N=l(()=>!!E.config.loading||!E.dataset?.length),Ft=l(()=>de({defaultConfig:{userOptions:{show:!1},table:{show:!1},useCssAnimation:!1,style:{chart:{backgroundColor:`#99999930`,legend:{backgroundColor:`transparent`}}}},userConfig:Pt.value.skeletonConfig??{}})),P=l(()=>N.value?de({defaultConfig:Pt.value,userConfig:Ft.value}):Pt.value),It=l(()=>N.value?E.config.skeletonDataset??[{name:`_`,values:[21],color:`#DBDBDB`},{name:`_`,values:[13],color:`#C4C4C4`},{name:`_`,values:[8],color:`#ADADAD`}]:E.dataset),F=l(()=>P.value.style.chart.layout.arcs),I=l(()=>P.value.style.chart.layout),L=l(()=>P.value.style.chart);ge({config:()=>P.value,dataset:()=>E.dataset,component:`VueUiGalaxy`,rules:[_e.singleSeries,_e.emptyArray,{test:e=>e.length>6,message:[`👀 The number of series is > 6. Consider:`,``,`▶️ Grouping small values dynamically into a single "Other" series.`,``,`▶️ Using filters to let users choose a maximum number of series to display.`,``,`▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read.`]}]});let{transitionEnabled:Lt}=Se({config:()=>P.value.transitions,dataset:()=>E.dataset}),Rt=l(()=>P.value.userOptions.useCursorPointer),R=l(()=>Pt.value.debug);w([()=>E.dataset,R],()=>{E.dataset?.length||le({componentName:`VueUiGalaxy`,type:`dataset`,debug:R.value}),E.dataset?.forEach((e,t)=>{let n=e&&typeof e==`object`?Object.keys(e):[];[`name`,`values`].filter(e=>!n.includes(e)).forEach(e=>le({componentName:`VueUiGalaxy`,type:`datasetSerieAttribute`,property:e,index:t,debug:R.value})),n.includes(`values`)&&!Array.isArray(e.values)&&R.value&&console.warn(`VueUiGalaxy: dataset[${t}].values must be an array.`)})},{immediate:!0,deep:!0});let zt=b(null),z=null,Bt=!1;function Vt(){A.value?.disconnect(),A.value=null,z!==null&&cancelAnimationFrame(z),z=null}function Ht(){if(Vt(),zt.value=null,!P.value.responsive||!O.value?.parentNode)return;let e=new ResizeObserver(t);function t(){Bt||A.value!==e||(z!==null&&cancelAnimationFrame(z),z=requestAnimationFrame(()=>{if(Bt||A.value!==e)return;z=null;let{width:t,height:n}=be({chart:O.value,title:L.value.title.text?Ct.value:null,legend:L.value.legend.show?wt.value:null,noTitle:Et.value,source:Tt.value});zt.value={width:Math.max(.1,t),height:Math.max(.1,n-12)}}))}A.value=e,e.observe(O.value.parentNode),t()}Be(()=>{Dt.value=!0,Ht()}),ze(()=>{Bt=!0,Vt()}),w([()=>P.value.responsive,()=>L.value.title.text,()=>L.value.title.subtitle.text,()=>L.value.legend.show,()=>L.value.legend.position],Ht,{flush:`post`});let Ut=b(!P.value.userOptions.showOnChartHover),Wt=l(()=>P.value.userOptions.keepStateOnChartLeave);function Gt(e=!1){P.value.userOptions.showOnChartHover&&(Ut.value=e)}w(()=>P.value.userOptions.showOnChartHover,e=>{Ut.value=!e});let{svgRef:B}=Ce({config:L.value.title});function Kt(){return ne(E.config,yt,De)}let{isPrinting:qt,isImaging:Jt,generatePdf:Yt,generateImage:Xt}=ye({elementId:`galaxy_${D.value}`,fileName:L.value.title.text||`vue-ui-galaxy`,options:P.value.userOptions.print}),Zt=l(()=>P.value.userOptions.show&&!L.value.title.text),Qt=l(()=>me(P.value.customPalette)),V=b({dataLabels:{show:I.value.labels.dataLabels.show},showTable:P.value.table.show,showTooltip:L.value.tooltip.show});w(()=>P.value.table.show,e=>{V.value.showTable=e}),w(()=>L.value.tooltip.show,e=>{V.value.showTooltip=e}),w(()=>I.value.labels.dataLabels.show,e=>{V.value.dataLabels.show=e});let H=l(()=>{let{width:e,height:t}=zt.value||{width:250,height:180};return{width:e,height:t,viewBox:`0 0 ${e} ${t}`}}),$t=We,U=b([]);function en(){$t(`selectLegend`,J.value.map(e=>({name:e.name,color:e.color,value:e.value})))}function tn(){U.value.length?U.value=[]:Cn.value.forEach(e=>{U.value.push(e.id)}),en()}function W(e){U.value.includes(e.id)?U.value=U.value.filter(t=>t!==e.id):U.value.push(e.id),en()}function nn(e){return K.value.length?K.value.find(t=>t.name===e)||(R.value&&console.warn(`VueUiGalaxy - Series name not found "${e}"`),null):(R.value&&console.warn(`VueUiGalaxy - There are no series to show.`),null)}function rn(e){let t=nn(e);t!==null&&U.value.includes(t.id)&&W({id:t.id})}function an(e){let t=nn(e);t!==null&&(U.value.includes(t.id)||W({id:t.id}))}let G=/* @__PURE__ */ new Map,on=l(()=>{let e=/* @__PURE__ */ new Map,t=/* @__PURE__ */ new Set,n=It.value.map((n,r)=>{let i=n?.id==null?`index:${r}`:`id:${typeof n.id}:${n.id}`,a=e.get(i)||0;e.set(i,a+1);let o=`${N.value?`skeleton`:`data`}:${i}:${a}`;return t.add(o),G.has(o)||G.set(o,ce()),G.get(o)}),r=`${N.value?`skeleton`:`data`}:`;for(let e of G.keys())e.startsWith(r)&&!t.has(e)&&G.delete(e);return n}),K=l(()=>It.value.flatMap((e,t)=>{if(!e||typeof e!=`object`)return[];let n=oe(Array.isArray(e.values)?e.values:[]),r=n.reduce((e,t)=>e+(typeof t==`number`?t:0),0);return[{name:e.name,color:se(e.color)||Qt.value[t]||ae[t%ae.length],value:Number.isFinite(r)?r:0,absoluteValues:n,id:on.value[t]}]}).sort((e,t)=>t.value-e.value).map((e,t)=>({...e,absoluteIndex:t})));function sn(){return K.value.map(e=>({name:e.name,color:e.color,value:e.value}))}let cn=l(()=>K.value.filter(e=>!U.value.includes(e.id))),q=l(()=>cn.value.reduce((e,t)=>e+t.value,0)),ln=l(()=>K.value.reduce((e,t)=>e+t.value,0));function un(e,t){let n=t?e/t:0;return Number.isFinite(n)?n:0}w(K,e=>{if(N.value)return;let t=new Set(e.map(e=>e.id));U.value=U.value.filter(e=>t.has(e))});let dn=l(()=>(F.value.strokeWidth+F.value.borderWidth)/2+(I.value.padding??12)),fn=l(()=>he({maxPoints:ut,a:F.value.a??6,b:F.value.b??6,angleStep:F.value.angleStep??.07,startX:H.value.width/2+F.value.offsetX,startY:H.value.height/2+F.value.offsetY,boxWidth:H.value.width,boxHeight:H.value.height,padding:dn.value})),J=l(()=>{let e=[];for(let t=0;t<cn.value.length;t+=1){let n=cn.value[t],r=un(n.value,q.value)*ut+(t>0&&e.length?e[t-1].points:0);e.push({points:r,...n,seriesIndex:t,proportion:un(n.value,q.value),path:fn.value(r)})}return e.toSorted((e,t)=>t.points-e.points)});function pn(e){let t=Math.min(H.value.width,H.value.height),n=k.value===e.id&&F.value.hoverEffect.show?F.value.hoverEffect.multiplicator:1,r=(F.value.strokeWidth+F.value.borderWidth)*n,i=F.value.strokeWidth*n,a=F.value.strokeWidth/2*n;return{border:r/180*t,path:i/180*t,blur:a/180*t}}let mn=l(()=>Object.fromEntries(J.value.map(e=>[e.id,pn(e)]))),Y=b(!1);function hn(e){Y.value=e,St.value+=1}let X=b(null);function gn(){bt.value=!1,k.value=null,j.value=null,M.value=null,X.value=null,xt.value=``}function _n(e){if(!B.value||!e)return;let t=B.value.querySelector(`[data-a11y-serie-id="${e}"]`);if(!t)return;let n=t.getBoundingClientRect();At.value={x:n.left+n.width/2,y:n.top+n.height/2}}function vn(e){P.value.events.datapointLeave&&P.value.events.datapointLeave({datapoint:e,seriesIndex:e.absoluteIndex}),(M.value!==e.id||jt.value!==`keyboard`)&&gn()}function yn(e){N.value||($t(`selectDatapoint`,e),P.value.events.datapointClick&&P.value.events.datapointClick({datapoint:e,seriesIndex:e.absoluteIndex}))}function bn({val:e,percentage:t,showVal:n,showPercentage:r}){let i=I.value.labels.dataLabels;return we({config:i,val:e,percentage:t,showVal:n,showPercentage:r})}function xn({datapoint:e,seriesIndex:t,show:n=!1,triggerMode:r=`pointer`,flatIndex:i=null}){N.value||(P.value.events.datapointEnter&&P.value.events.datapointEnter({datapoint:e,seriesIndex:e.absoluteIndex}),jt.value=r,j.value=i,M.value=e.id,k.value=e.id,bt.value=n&&V.value.showTooltip,Sn(e,t),r===`keyboard`&&Le(()=>_n(e.id)))}function Sn(e,t){if(X.value={datapoint:e,seriesIndex:t,series:K.value,config:P.value},!V.value.showTooltip){xt.value=``;return}let n=``,r=L.value.tooltip.customFormat,i=ie(r)?r({seriesIndex:t,datapoint:e,series:K.value,config:P.value}):null;typeof i==`string`?xt.value=i:(n+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`,n+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`,n+=`<b>${bn({showVal:L.value.tooltip.showValue,showPercentage:L.value.tooltip.showPercentage,val:ue(I.value.labels.dataLabels.formatter,e.value,c({p:I.value.labels.dataLabels.prefix,v:e.value,s:I.value.labels.dataLabels.suffix,r:L.value.tooltip.roundingValue}),{datapoint:e,seriesIndex:t}),percentage:c({v:e.proportion*100,s:`%`,r:L.value.tooltip.roundingPercentage})})}</b></div>`,xt.value=`<div>${n}</div>`)}w([J,()=>L.value.tooltip,()=>I.value.labels.dataLabels,()=>V.value.showTooltip,N],()=>{if(!M.value)return;let e=$.value.findIndex(e=>e.datapoint.id===M.value);if(e<0){gn();return}let t=$.value[e].datapoint;j.value=e,Sn(t,t.seriesIndex),V.value.showTooltip||(bt.value=!1),jt.value===`keyboard`&&Le(()=>_n(t.id))});let Cn=l(()=>K.value.map((e,t)=>{let n=ue(I.value.labels.dataLabels.formatter,e.value,c({p:I.value.labels.dataLabels.prefix,v:e.value,s:I.value.labels.dataLabels.suffix,r:L.value.legend.roundingValue}),{datapoint:e,index:t}),r=!q.value||!Number.isFinite(q.value)||U.value.includes(e.id)?`-`:c({v:e.value/q.value*100,s:`%`,r:L.value.legend.roundingPercentage}),i=bn({showVal:L.value.legend.showValue,showPercentage:L.value.legend.showPercentage,val:n,percentage:r});return{...e,proportion:un(e.value,ln.value),opacity:U.value.includes(e.id)?.5:1,shape:e.shape||`circle`,segregate:()=>W(e),isSegregated:U.value.includes(e.id),display:`${e.name}${L.value.legend.showPercentage||L.value.legend.showValue?`: `:``}${i}`}})),wn=l(()=>({cy:`galaxy-div-legend`,backgroundColor:L.value.legend.backgroundColor,color:L.value.legend.color,fontSize:L.value.legend.fontSize,paddingBottom:12,fontWeight:L.value.legend.bold?`bold`:``})),Z=l(()=>({head:J.value.map(e=>({name:e.name,color:e.color})),body:J.value.map(e=>e.value)}));function Tn(e=null){Le(()=>{let t=Z.value.head.map((e,t)=>[[e.name],[Z.value.body[t]],[!q.value||!Number.isFinite(q.value)?`-`:Z.value.body[t]/q.value*100]]),n=[[L.value.title.text],[L.value.title.subtitle.text],[[P.value.table.columnNames.series],[P.value.table.columnNames.value],[P.value.table.columnNames.percentage]]].concat(t),r=re(n);e?e(r):fe({csvContent:r,title:L.value.title.text||`vue-ui-galaxy`})})}let Q=l(()=>{let e=[`__SUM__`,c({p:I.value.labels.dataLabels.prefix,v:q.value,s:I.value.labels.dataLabels.suffix,r:P.value.table.td.roundingValue}),`100%`],t=Z.value.head.map((e,t)=>{let n=c({p:I.value.labels.dataLabels.prefix,v:Z.value.body[t],s:I.value.labels.dataLabels.suffix,r:P.value.table.td.roundingValue});return[{color:e.color,name:e.name},n,!q.value||!Number.isFinite(q.value)?`-`:c({v:Z.value.body[t]/q.value*100,s:`%`,r:P.value.table.td.roundingPercentage})]}),n={th:{backgroundColor:P.value.table.th.backgroundColor,color:P.value.table.th.color,outline:P.value.table.th.outline},td:{backgroundColor:P.value.table.td.backgroundColor,color:P.value.table.td.color,outline:P.value.table.td.outline},breakpoint:P.value.table.responsiveBreakpoint};return{colNames:[P.value.table.columnNames.series,P.value.table.columnNames.value,P.value.table.columnNames.percentage],head:e,body:t,config:n}});function En(){V.value.showTable=!V.value.showTable}function Dn(){V.value.showTooltip=!V.value.showTooltip}let On=b(!1);function kn(){On.value=!On.value}let An=te(O,()=>L.value.title.text),jn=l(()=>ee({config:P,style:L,mutableConfig:V,dialog:vt,accordion:pt,isFullscreen:Y,parent:O,maxWidth:500,isCursorPointer:Rt}));w(()=>V.value.showTable,e=>{Ot.value&&s(e,P,Ot)});function Mn(){V.value.showTable=!1,kt.value&&kt.value.setTableIconState(!1)}let Nn=l(()=>Cn.value.map(e=>({...e,name:e.display}))),Pn=l(()=>L.value.backgroundColor),Fn=l(()=>L.value.legend),In=l(()=>L.value.title),{isCallbackImaging:Ln,isCallbackSvg:Rn,generateSvg:zn,onGenerateImage:Bn}=xe({svg:B,title:In,legend:Fn,legendItems:Nn,backgroundColor:Pn,getSvgCallback:()=>P.value.userOptions.callbacks.svg,generateImage:Xt});async function Vn(){$t(`copyAlt`,{config:P.value,dataset:K.value}),P.value.userOptions.callbacks.altCopy?await Promise.resolve(P.value.userOptions.callbacks.altCopy({config:P.value,dataset:K.value})):console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.")}function Hn(){j.value=null,M.value=null,Mt.value=!0}function Un(){gn(),Mt.value=!1}function Wn(e){if(!B.value||On.value||document.activeElement!==B.value||!$.value.length)return;let t=e.key===`ArrowLeft`||e.key===`ArrowUp`,n=e.key===`ArrowRight`||e.key===`ArrowDown`,r=e.key===`Enter`||e.key===` `,i=e.key===`Escape`;if(!t&&!n&&!r&&!i)return;if(e.preventDefault(),e.stopPropagation(),i){gn();return}if(r){if(j.value===null)return;let e=$.value[j.value];if(!e)return;yn(e.datapoint);return}let a=j.value;a===null||a<0||a>=$.value.length?a=n?0:$.value.length-1:(a+=n?1:-1,a<0&&(a=$.value.length-1),a>=$.value.length&&(a=0));let o=$.value[a];o&&xn({datapoint:o.datapoint,seriesIndex:o.datapoint.seriesIndex,show:!0,triggerMode:`keyboard`,flatIndex:a})}let Gn=l(()=>({headers:Q.value?.colNames??[],rows:Q.value.body.map(([e,...t])=>[e.name,...t])})),$=l(()=>J.value.filter(e=>e.value&&!N.value).map((e,t)=>({datapoint:e,index:t})));return je({getData:sn,getImage:An,generatePdf:Yt,generateCsv:Tn,generateImage:Xt,generateSvg:zn,hideSeries:an,showSeries:rn,toggleTable:En,toggleTooltip:Dn,toggleAnnotator:kn,toggleFullscreen:hn,copyAlt:Vn}),(e,s)=>(y(),f(`div`,{ref_key:`galaxyChart`,ref:O,class:_(`vue-data-ui-component vue-ui-galaxy ${Y.value?`vue-data-ui-wrapper-fullscreen`:``} ${P.value.useCssAnimation?``:`vue-ui-dna`} ${N.value?`loading`:``}`),style:Re(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;${L.value.title.text?``:`padding-top:36px`};background:${L.value.backgroundColor}`),id:`galaxy_${D.value}`,onMouseenter:s[2]||=()=>Gt(!0),onMouseleave:s[3]||=()=>{Gt(!1),Mt.value||gn()}},[p(`div`,{id:`chart-instructions-${D.value}`,class:`sr-only`},[p(`p`,null,S(P.value.a11y.translations.keyboardNavigation),1)],8,Ke),P.value.a11y.includeTable&&Gn.value?.rows?.length?(y(),u(ke,{key:0,uid:D.value,head:Gn.value.headers,body:Gn.value.rows,notice:P.value.a11y.translations.tableAvailable,caption:P.value.a11y.translations.tableCaption},null,8,[`uid`,`head`,`body`,`notice`,`caption`])):d(``,!0),P.value.userOptions.buttons.annotator?(y(),u(C(ht),Ie({key:1},C(a)(P.value.userOptions.annotator),{svgRef:C(B),backgroundColor:L.value.backgroundColor,color:L.value.color,active:On.value,isCursorPointer:Rt.value,palette:P.value.userOptions.annotatorPalette,onClose:kn}),Pe({_:2},[Ve(C(o),t=>({name:t,fn:T(n=>[x(e.$slots,t,v(g(C(i)(t,n))),void 0,!0)])}))]),1040,[`svgRef`,`backgroundColor`,`color`,`active`,`isCursorPointer`,`palette`])):d(``,!0),Zt.value?(y(),f(`div`,{key:2,ref_key:`noTitle`,ref:Et,class:`vue-data-ui-no-title-space`,style:`height:36px; width: 100%;background:transparent`},null,512)):d(``,!0),L.value.title.text?(y(),f(`div`,{key:3,ref_key:`chartTitle`,ref:Ct,style:`width:100%;background:transparent;padding-bottom:24px`},[m(Te,{config:{title:{cy:`galaxy-div-title`,...L.value.title},subtitle:{cy:`galaxy-div-subtitle`,...L.value.title.subtitle}}},null,8,[`config`])],512)):d(``,!0),p(`div`,{id:`legend-top-${D.value}`},null,8,qe),P.value.userOptions.show&&Nt.value&&(Wt.value||Ut.value)?(y(),u(C(gt),Ie({ref_key:`userOptionsRef`,ref:kt,key:`user_option_${St.value}`,backgroundColor:L.value.backgroundColor,color:L.value.color,isPrinting:C(qt),isImaging:C(Jt),uid:D.value,hasTooltip:P.value.userOptions.buttons.tooltip&&L.value.tooltip.show,isTooltip:V.value.showTooltip,isFullscreen:Y.value,chartElement:O.value},C(n)(P.value.userOptions,`pdf csv img svg table fullscreen altCopy annotator`),{isAnnotation:On.value,tableDialog:P.value.table.useDialog,isCursorPointer:Rt.value,onToggleFullscreen:hn,onGeneratePdf:C(Yt),onGenerateCsv:Tn,onGenerateImage:C(Bn),onGenerateSvg:C(zn),onToggleTable:En,onToggleTooltip:Dn,onToggleAnnotator:kn,onCopyAlt:Vn,style:{visibility:Wt.value?Ut.value?`visible`:`hidden`:`visible`}}),Pe({_:2},[Ve(C(t)(e.$slots,`menuIcon optionTooltip optionPdf optionCsv optionImg optionSvg optionTable optionFullscreen optionAnnotator optionAltCopy custom-menu-before custom-menu-after`),t=>({name:t,fn:T(n=>[x(e.$slots,t,v(g(C(r)(t,n))),void 0,!0)])}))]),1040,[`backgroundColor`,`color`,`isPrinting`,`isImaging`,`uid`,`hasTooltip`,`isTooltip`,`isFullscreen`,`chartElement`,`isAnnotation`,`tableDialog`,`isCursorPointer`,`onGeneratePdf`,`onGenerateImage`,`onGenerateSvg`,`style`])):d(``,!0),p(`div`,Je,[(y(),f(`svg`,{ref_key:`svgRef`,ref:B,xmlns:C(pe),"aria-describedby":`chart-instructions-${D.value}`,class:_({"vue-data-ui-fullscreen--on":Y.value,"vue-data-ui-fulscreen--off":!Y.value}),viewBox:H.value.viewBox,style:Re(`max-width:100%; overflow: visible; background:transparent;color:${L.value.color}`),tabindex:`0`,onFocus:Hn,onBlur:Un,onKeydown:Wn},[m(C(_t)),x(e.$slots,`svg-underlayer`,{svg:{...H.value,isPrintingImg:C(qt)||C(Jt)||C(Ln),isPrintingSvg:C(Rn)}},void 0,!0),e.$slots[`chart-background`]?(y(),f(`foreignObject`,{key:0,x:0,y:0,width:H.value.width,height:H.value.height,style:{pointerEvents:`none`}},[x(e.$slots,`chart-background`,{},void 0,!0)],8,Xe)):d(``,!0),p(`defs`,null,[p(`filter`,{id:`blur_${D.value}`,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`},[p(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:100/F.value.gradient.intensity},null,8,Qe)],8,Ze)]),(y(!0),f(Me,null,Ve(J.value,e=>(y(),f(`g`,{key:`dp_${e.id}`},[e.value?(y(),f(`path`,{key:0,d:e.path,fill:`none`,stroke:L.value.backgroundColor,"stroke-width":mn.value[e.id].border,class:_({"vue-data-ui-transition":C(Lt)}),"stroke-linecap":`round`},null,10,$e)):d(``,!0),e.value?(y(),f(`path`,{key:1,d:e.path,fill:`none`,stroke:e.color,"stroke-width":mn.value[e.id].path,"stroke-linecap":`round`,class:_({"vue-data-ui-transition":C(Lt),"vue-ui-galaxy-blur":k.value&&k.value!==e.id&&P.value.useBlurOnHover})},null,10,et)):d(``,!0),e.value&&F.value.gradient.show?(y(),f(`g`,{key:2,filter:`url(#blur_${D.value})`},[p(`path`,{d:e.path,fill:`none`,stroke:F.value.gradient.color,"stroke-width":mn.value[e.id].blur,"stroke-linecap":`round`,class:_({"vue-ui-galaxy-gradient":!0,"vue-data-ui-transition":C(Lt),"vue-ui-galaxy-blur":k.value&&k.value!==e.id&&P.value.useBlurOnHover})},null,10,nt)],8,tt)):d(``,!0)]))),128)),(y(!0),f(Me,null,Ve(J.value,(e,t)=>(y(),f(`g`,null,[e.value?(y(),f(`path`,{key:0,"data-a11y-serie-id":e.id,d:e.path,fill:`none`,stroke:`transparent`,"stroke-width":mn.value[e.id].border,"stroke-linecap":`round`,"aria-label":`${e.name}: ${C(c)({p:I.value.labels.dataLabels.prefix,v:e.value,s:I.value.labels.dataLabels.suffix,r:L.value.tooltip.roundingValue})}`,onMouseenter:t=>xn({datapoint:e,seriesIndex:e.seriesIndex,show:!0,triggerMode:`pointer`,flatIndex:$.value.findIndex(t=>t.datapoint.id===e.id)}),onMouseleave:t=>vn(e),onClick:t=>yn(e)},null,40,rt)):d(``,!0)]))),256)),x(e.$slots,`svg`,{svg:{...H.value,isPrintingImg:C(qt)||C(Jt)||C(Ln),isPrintingSvg:C(Rn)}},void 0,!0)],46,Ye)),e.$slots.hint?(y(),f(`div`,it,[x(e.$slots,`hint`,v(g({hint:P.value.a11y.translations.keyboardNavigation,isVisible:Mt.value})),void 0,!0)])):d(``,!0)]),e.$slots.watermark?(y(),f(`div`,at,[x(e.$slots,`watermark`,v(g({isPrinting:C(qt)||C(Jt)||C(Ln)||C(Rn)})),void 0,!0)])):d(``,!0),p(`div`,{id:`legend-bottom-${D.value}`},null,8,ot),Dt.value&&(L.value.legend.show||e.$slots.legend)?(y(),u(Ne,{key:6,to:L.value.legend.position===`top`?`#legend-top-${D.value}`:`#legend-bottom-${D.value}`},[p(`div`,{ref_key:`chartLegend`,ref:wt},[x(e.$slots,`legend`,{legend:Cn.value},()=>[L.value.legend.show?(y(),u(Ee,{key:0,legendSet:Cn.value,config:wn.value,onClickMarker:s[0]||=({legend:e})=>W(e)},{item:T(({legend:e,index:t})=>[N.value?d(``,!0):(y(),f(`div`,{key:0,onClick:t=>W(e),style:Re(`opacity:${U.value.includes(e.id)?.5:1}`)},S(e.display),13,st))]),legendToggle:T(()=>[Cn.value.length>2&&L.value.legend.selectAllToggle.show&&!N.value?(y(),u(Ae,{key:0,backgroundColor:L.value.legend.selectAllToggle.backgroundColor,color:L.value.legend.selectAllToggle.color,fontSize:L.value.legend.fontSize,checked:U.value.length>0,onToggle:tn},null,8,[`backgroundColor`,`color`,`fontSize`,`checked`])):d(``,!0)]),_:1},8,[`legendSet`,`config`])):d(``,!0)],!0)],512)],8,[`to`])):d(``,!0),e.$slots.source?(y(),f(`div`,{key:7,ref_key:`source`,ref:Tt,dir:`auto`},[x(e.$slots,`source`,{},void 0,!0)],512)):d(``,!0),m(C(dt),{teleportTo:L.value.tooltip.teleportTo,show:V.value.showTooltip&&bt.value,backgroundColor:L.value.tooltip.backgroundColor,color:L.value.tooltip.color,borderRadius:L.value.tooltip.borderRadius,borderColor:L.value.tooltip.borderColor,borderWidth:L.value.tooltip.borderWidth,fontSize:L.value.tooltip.fontSize,backgroundOpacity:L.value.tooltip.backgroundOpacity,position:L.value.tooltip.position,offsetX:L.value.tooltip.offsetX,offsetY:L.value.tooltip.offsetY,parent:O.value,content:xt.value,isFullscreen:Y.value,isCustom:C(ie)(L.value.tooltip.customFormat),smooth:L.value.tooltip.smooth,backdropFilter:L.value.tooltip.backdropFilter,smoothForce:L.value.tooltip.smoothForce,smoothSnapThreshold:L.value.tooltip.smoothSnapThreshold,isA11yMode:jt.value===`keyboard`,a11yPosition:At.value},{"tooltip-before":T(()=>[x(e.$slots,`tooltip-before`,v(g({...X.value})),void 0,!0)]),tooltip:T(()=>[x(e.$slots,`tooltip`,v(g({...X.value})),void 0,!0)]),"tooltip-after":T(()=>[x(e.$slots,`tooltip-after`,v(g({...X.value})),void 0,!0)]),_:3},8,[`teleportTo`,`show`,`backgroundColor`,`color`,`borderRadius`,`borderColor`,`borderWidth`,`fontSize`,`backgroundOpacity`,`position`,`offsetX`,`offsetY`,`parent`,`content`,`isFullscreen`,`isCustom`,`smooth`,`backdropFilter`,`smoothForce`,`smoothSnapThreshold`,`isA11yMode`,`a11yPosition`]),Nt.value&&P.value.userOptions.buttons.table?(y(),u(He(jn.value.component),Ie({key:8},jn.value.props,{ref_key:`tableUnit`,ref:Ot,onClose:Mn}),Pe({content:T(()=>[m(C(mt),{colNames:Q.value.colNames,head:Q.value.head,body:Q.value.body,config:Q.value.config,title:P.value.table.useDialog?``:jn.value.title,withCloseButton:!P.value.table.useDialog,isCursorPointer:Rt.value,onClose:Mn},{th:T(({th:e})=>[e===`__SUM__`?(y(),f(`div`,ct,[m(C(ft),{name:`sigma`,stroke:Q.value.config.th.color,size:16},null,8,[`stroke`])])):(y(),f(`div`,lt,S(e),1))]),td:T(({td:e})=>[Fe(S(e.name||e),1)]),_:1},8,[`colNames`,`head`,`body`,`config`,`title`,`withCloseButton`,`isCursorPointer`])]),_:2},[P.value.table.useDialog?{name:`title`,fn:T(()=>[Fe(S(jn.value.title),1)]),key:`0`}:void 0,P.value.table.useDialog?{name:`actions`,fn:T(()=>[p(`button`,{tabindex:`0`,class:`vue-ui-user-options-button`,onClick:s[1]||=e=>Tn(P.value.userOptions.callbacks.csv),style:Re({cursor:Rt.value?`pointer`:`default`})},[m(C(ft),{name:`fileCsv`,stroke:jn.value.props.color},null,8,[`stroke`])],4)]),key:`1`}:void 0]),1040)):d(``,!0),x(e.$slots,`skeleton`,{},()=>[N.value?(y(),u(Oe,{key:0})):d(``,!0)],!0)],46,Ge))}},[[`__scopeId`,`data-v-799ed9d7`]]);export{We as n,dt as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./unpackTheme-CNsFKCeq.js";var n=/* @__PURE__ */ e({default:()=>b}),r=[[],[`userOptions`,`style`],[`show`],[`chart`],[`layout`,`legend`],[`arcs`],[`gradient`],[`userOptions`,`style`,`table`],[`backgroundColor`,`color`,`layout`,`legend`,`title`,`tooltip`],[`show`,`backgroundColor`,`color`,`selectAllToggle`],[`backgroundColor`,`color`],[`color`,`subtitle`],[`color`],[`backgroundColor`,`backgroundOpacity`,`color`,`borderColor`],[`th`,`td`],[`style`,`table`],[`backgroundColor`,`color`,`legend`,`title`,`tooltip`],[`backgroundColor`,`color`,`selectAllToggle`],[`backgroundColor`,`color`,`borderColor`]],i=[2,!1],a=[5,[6,i]],o=`#1A1A1A`,s=`#CCCCCC`,c=`#3A3A3A`,l=[12,`#757575`],u=[10,o,s],d=`#FFF8E1`,f=`#424242`,p=`#1E1E1E`,m=`#BDBDBD`,h=`#99AA99`,g=`#fbfafa`,_=`#f6f6fb`,v=`#50606C`,y=[10,_,v],b={default:/* @__PURE__ */ t([0],r),minimal:/* @__PURE__ */ t([1,i,[3,[4,a,i]]],r),minimalDark:/* @__PURE__ */ t([7,i,[3,[8,o,s,a,[9,!1,o,s,[10,c,s]],[11,s,l],[13,o,70,s,c]]],[14,u,u]],r),dark:/* @__PURE__ */ t([15,[3,[16,o,s,[17,o,s,[10,c,s]],[11,s,l],[13,o,70,s,`#5A5A5A`]]],[14,u,u]],r),celebration:/* @__PURE__ */ t([15,[3,[8,d,f,a,[17,d,f,[10,`#5D4037`,d]],[11,f,l],[13,`#FFECB3`,30,f,`#FF8A65`]]],[14,[10,d,f],[10,d,f]]],r),celebrationNight:/* @__PURE__ */ t([15,[3,[8,p,m,a,[17,p,m,[10,c,m]],[11,d,[12,m]],[13,p,30,d,`#FF8A65`]]],[14,[10,p,m],[10,p,m]]],r),hack:/* @__PURE__ */ t([15,[3,[8,o,h,[5,[6,[12,o]]],[17,o,h,[10,c,h]],[11,`#66CC66`,[12,h]],[18,`#2A2F2A`,`#AACCAA`,`#66CC66`]]],[14,[10,o,h],[10,o,`#AACCAA`]]],r),zen:/* @__PURE__ */ t([15,[3,[8,g,`#8A9892`,[5,[6,[12,g]]],[17,g,h,[10,`#E0CFC3`,`#8F837A`]],[11,`#8A9892`,[12,h]],[10,g,`#8A9892`]]],[14,[10,g,`#8F837A`],[10,g,`#8F837A`]]],r),concrete:/* @__PURE__ */ t([15,[3,[8,_,v,a,[17,_,`#61747E`,[10,v,_]],[11,v,[12,`#718890`]],y]],[14,y,y]],r)};export{n,b as t};