vue-data-ui 2.4.27 → 2.4.28

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 (157) hide show
  1. package/README.md +10 -4
  2. package/dist/{Arrow-S0bKj06d.cjs → Arrow-0dIb6Jq7.cjs} +1 -1
  3. package/dist/{Arrow-DqxPKITt.js → Arrow-BNbwapxO.js} +1 -1
  4. package/dist/{BaseIcon-DdR74ekM.js → BaseIcon-B2vcsAEz.js} +4 -3
  5. package/dist/{BaseIcon-BEvRHM2R.cjs → BaseIcon-CSdun2De.cjs} +1 -1
  6. package/dist/{DataTable-CKYq5S0j.cjs → DataTable-W54GZy5H.cjs} +1 -1
  7. package/dist/{DataTable-DY9Joecu.js → DataTable-gCisz4py.js} +2 -2
  8. package/dist/{Legend-CSG4maaN.js → Legend-CjX5JjbY.js} +1 -1
  9. package/dist/{Legend-EHKRwZ5N.cjs → Legend-tN_pcrMt.cjs} +1 -1
  10. package/dist/{PackageVersion-CRyyH_HB.js → PackageVersion-B3zZMf_E.js} +1 -1
  11. package/dist/{PackageVersion-C_Y8uWJM.cjs → PackageVersion-Cx8faIns.cjs} +1 -1
  12. package/dist/{PenAndPaper-BF7qtcRe.js → PenAndPaper-BQ5u-Bj0.js} +3 -3
  13. package/dist/{PenAndPaper-CotnLxGh.cjs → PenAndPaper-qWrl9T2y.cjs} +1 -1
  14. package/dist/{Shape-DKxW8u2N.cjs → Shape-BslXHo8P.cjs} +1 -1
  15. package/dist/{Shape-B-_UZQAs.js → Shape-C2_5omvw.js} +1 -1
  16. package/dist/{Slicer-BeNAVIli.cjs → Slicer-CCF0wwaF.cjs} +1 -1
  17. package/dist/{Slicer-CKVHmNoC.js → Slicer-DLdL9UVM.js} +2 -2
  18. package/dist/{Title-C8WRomob.cjs → Title-DNJNGw-j.cjs} +1 -1
  19. package/dist/{Title-CfjKQsLl.js → Title-DfZARCN2.js} +1 -1
  20. package/dist/{Tooltip-0vzas_4d.cjs → Tooltip-BKT7lkVI.cjs} +1 -1
  21. package/dist/{Tooltip-B3hfjJYk.js → Tooltip-CvDe0uXm.js} +1 -1
  22. package/dist/documentation/installation.md +2 -0
  23. package/dist/index-BLLlwxO0.cjs +9 -0
  24. package/dist/{index-DtCryprM.js → index-CFiXy4nY.js} +734 -355
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +182 -9
  27. package/dist/types/vue-data-ui.d.ts +182 -9
  28. package/dist/{useNestedProp-tT95LfDr.js → useNestedProp-3d6JiXbm.js} +1 -1
  29. package/dist/{useNestedProp-DMaPxyYb.cjs → useNestedProp-Bjrt5Glr.cjs} +1 -1
  30. package/dist/{usePrinter-D4_doq3d.js → usePrinter-DaGf53v6.js} +1 -1
  31. package/dist/{usePrinter-Bd-68vBM.cjs → usePrinter-DpmXq4r_.cjs} +1 -1
  32. package/dist/vue-data-ui-CYJ-cGZ7.cjs +9 -0
  33. package/dist/{vue-data-ui-BHbGLvb2.js → vue-data-ui-DOz89zuL.js} +72 -70
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +39 -38
  36. package/dist/{vue-ui-3d-bar-wE79cKJb.cjs → vue-ui-3d-bar-CjgJT9th.cjs} +1 -1
  37. package/dist/{vue-ui-3d-bar-BUZbm9kJ.js → vue-ui-3d-bar-Cjp42NQN.js} +9 -9
  38. package/dist/{vue-ui-accordion-DAf1jeI5.cjs → vue-ui-accordion-BtwaJlG6.cjs} +1 -1
  39. package/dist/{vue-ui-accordion-C3p9yjUl.js → vue-ui-accordion-DORcK2IX.js} +3 -3
  40. package/dist/{vue-ui-age-pyramid-DtG_nStX.cjs → vue-ui-age-pyramid-CG5Hv1RE.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-BSRlLxEA.js → vue-ui-age-pyramid-Twv6fSmC.js} +10 -10
  42. package/dist/{vue-ui-annotator-DCBMlGAw.js → vue-ui-annotator-CAfU9AmU.js} +1 -1
  43. package/dist/{vue-ui-annotator-g2vIoGtS.cjs → vue-ui-annotator-Cu76-g8g.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-B95xQ8WK.js → vue-ui-bullet-CAP2CFQ2.js} +8 -8
  45. package/dist/{vue-ui-bullet-C5jEVTbE.cjs → vue-ui-bullet-D5QztIGw.cjs} +1 -1
  46. package/dist/{vue-ui-candlestick-BWM5iWqv.js → vue-ui-candlestick-BmIlcq5g.js} +11 -11
  47. package/dist/{vue-ui-candlestick-eqL2uYci.cjs → vue-ui-candlestick-D0SHq8xs.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-CyDUz_Gq.js → vue-ui-carousel-table-BfA0p_BQ.js} +4 -4
  49. package/dist/{vue-ui-carousel-table-y7VQhC4I.cjs → vue-ui-carousel-table-DTXjhQwk.cjs} +1 -1
  50. package/dist/{vue-ui-chestnut-DhqYkzID.js → vue-ui-chestnut-BmO2I_Bi.js} +8 -8
  51. package/dist/{vue-ui-chestnut-CVf4jIy8.cjs → vue-ui-chestnut-CXC7BN2X.cjs} +1 -1
  52. package/dist/{vue-ui-cursor-BZnAcEqs.js → vue-ui-cursor-CNuSnW81.js} +2 -2
  53. package/dist/{vue-ui-cursor-oziVE5oM.cjs → vue-ui-cursor-DwCDu9oO.cjs} +1 -1
  54. package/dist/{vue-ui-dashboard-D1f7-Glw.cjs → vue-ui-dashboard-CiGCEwlS.cjs} +1 -1
  55. package/dist/{vue-ui-dashboard-TqWW5RI5.js → vue-ui-dashboard-DgvdTtRt.js} +2 -2
  56. package/dist/{vue-ui-digits-DASTO7R_.js → vue-ui-digits-BITW4NUc.js} +2 -2
  57. package/dist/{vue-ui-digits-DQynEn2d.cjs → vue-ui-digits-DBW9vyIQ.cjs} +1 -1
  58. package/dist/{vue-ui-donut-DzyBoMNU.js → vue-ui-donut-DNh7PW9t.js} +11 -11
  59. package/dist/{vue-ui-donut-evolution-Da4D9v3R.js → vue-ui-donut-evolution-CZ5XSOIe.js} +11 -11
  60. package/dist/{vue-ui-donut-evolution-NbhQnprN.cjs → vue-ui-donut-evolution-DjNcAvzg.cjs} +1 -1
  61. package/dist/{vue-ui-donut-BR8Mg-n2.cjs → vue-ui-donut-puOFwfTi.cjs} +1 -1
  62. package/dist/{vue-ui-dumbbell-CTvRHWls.js → vue-ui-dumbbell-B6N4Vtyv.js} +10 -10
  63. package/dist/{vue-ui-dumbbell-DcJN9Ioz.cjs → vue-ui-dumbbell-BewjHirJ.cjs} +1 -1
  64. package/dist/{vue-ui-flow-aww0Tcl3.js → vue-ui-flow-Cew9Ezr2.js} +9 -9
  65. package/dist/{vue-ui-flow-9oyLtjZU.cjs → vue-ui-flow-DOOTZoZ3.cjs} +1 -1
  66. package/dist/{vue-ui-funnel-CqAc4qrq.js → vue-ui-funnel-D7_EP9pg.js} +8 -8
  67. package/dist/{vue-ui-funnel-B9Y1bLEB.cjs → vue-ui-funnel-OgT9lJwU.cjs} +1 -1
  68. package/dist/{vue-ui-galaxy-C5BIxb4j.js → vue-ui-galaxy-C2ZLbj4y.js} +11 -11
  69. package/dist/{vue-ui-galaxy-CuSb6qU7.cjs → vue-ui-galaxy-CXWjQf2D.cjs} +1 -1
  70. package/dist/{vue-ui-gauge-DmJY5Dfj.cjs → vue-ui-gauge-C29ZR7K9.cjs} +1 -1
  71. package/dist/{vue-ui-gauge-Lbp4fSO6.js → vue-ui-gauge-ojDC8NQq.js} +7 -7
  72. package/dist/{vue-ui-gizmo-B2eu5Cgm.cjs → vue-ui-gizmo-4H4brRak.cjs} +1 -1
  73. package/dist/{vue-ui-gizmo-BhGFYCMO.js → vue-ui-gizmo-DSxqF4UQ.js} +3 -3
  74. package/dist/{vue-ui-heatmap-Cg8NbY9c.cjs → vue-ui-heatmap-CKGr-yZ-.cjs} +1 -1
  75. package/dist/{vue-ui-heatmap-pCtD1kfU.js → vue-ui-heatmap-DIX4q92p.js} +10 -10
  76. package/dist/vue-ui-history-plot-D1LCN49m.cjs +1 -0
  77. package/dist/vue-ui-history-plot-DxDQKN_n.js +852 -0
  78. package/dist/{vue-ui-kpi-f_UBt1sc.cjs → vue-ui-kpi-B801Z9Mu.cjs} +1 -1
  79. package/dist/{vue-ui-kpi-D8JYWPV_.js → vue-ui-kpi-CReMIy_Q.js} +3 -3
  80. package/dist/{vue-ui-mini-loader-WEjnMYYV.js → vue-ui-mini-loader-0iVPh6xI.js} +2 -2
  81. package/dist/{vue-ui-mini-loader-mPxJfkT2.cjs → vue-ui-mini-loader-qLFnCdde.cjs} +1 -1
  82. package/dist/{vue-ui-molecule-3ZmmBGb2.js → vue-ui-molecule-CUitG78e.js} +11 -11
  83. package/dist/{vue-ui-molecule-OJyvyLfY.cjs → vue-ui-molecule-DruPveKE.cjs} +1 -1
  84. package/dist/{vue-ui-mood-radar-BNtsGg0D.js → vue-ui-mood-radar-BH2dtsW-.js} +11 -11
  85. package/dist/{vue-ui-mood-radar-C_WpF4wB.cjs → vue-ui-mood-radar-BythFKLg.cjs} +1 -1
  86. package/dist/{vue-ui-nested-donuts-jtOuJhbR.js → vue-ui-nested-donuts-DghK1QXS.js} +11 -11
  87. package/dist/{vue-ui-nested-donuts-B2jLubqd.cjs → vue-ui-nested-donuts-TzvvrR4G.cjs} +1 -1
  88. package/dist/{vue-ui-onion-DgzhhXA7.js → vue-ui-onion-D_nb00Z4.js} +11 -11
  89. package/dist/{vue-ui-onion-BFSYk82P.cjs → vue-ui-onion-F5UZYJdl.cjs} +1 -1
  90. package/dist/{vue-ui-parallel-coordinate-plot-C5AKz42e.js → vue-ui-parallel-coordinate-plot-BUkipMCR.js} +12 -12
  91. package/dist/{vue-ui-parallel-coordinate-plot-BFlAjzs3.cjs → vue-ui-parallel-coordinate-plot-p7BP1Ltj.cjs} +1 -1
  92. package/dist/{vue-ui-quadrant-BiApJsNE.cjs → vue-ui-quadrant-CcSOeR05.cjs} +1 -1
  93. package/dist/{vue-ui-quadrant-CqBNV30b.js → vue-ui-quadrant-uWMV9qOM.js} +12 -12
  94. package/dist/{vue-ui-quick-chart-DBbzmkAK.js → vue-ui-quick-chart-CmpHjNkq.js} +9 -9
  95. package/dist/{vue-ui-quick-chart-DsGbmmwr.cjs → vue-ui-quick-chart-DjlhRR3a.cjs} +1 -1
  96. package/dist/{vue-ui-radar-C2biHwNz.js → vue-ui-radar-CCQA3zwl.js} +12 -12
  97. package/dist/{vue-ui-radar-C4xga7lb.cjs → vue-ui-radar-Cwzxmt98.cjs} +1 -1
  98. package/dist/{vue-ui-rating-AF6PTMiG.cjs → vue-ui-rating-BV2S6hfA.cjs} +1 -1
  99. package/dist/{vue-ui-rating-F4DM4bFb.js → vue-ui-rating-CTipvzGg.js} +2 -2
  100. package/dist/{vue-ui-relation-circle-B7ORrYO6.js → vue-ui-relation-circle-DB9viPCp.js} +7 -7
  101. package/dist/{vue-ui-relation-circle-CMxzMy2N.cjs → vue-ui-relation-circle-psK2FS34.cjs} +1 -1
  102. package/dist/{vue-ui-rings-Doq5O6yQ.js → vue-ui-rings-BkixUtjR.js} +11 -11
  103. package/dist/{vue-ui-rings-CgCIB6BD.cjs → vue-ui-rings-C3A5ybIQ.cjs} +1 -1
  104. package/dist/{vue-ui-scatter-DNS48w0P.js → vue-ui-scatter-BYwfdQo6.js} +12 -12
  105. package/dist/{vue-ui-scatter-Bw4_ui3D.cjs → vue-ui-scatter-HLM4oJjp.cjs} +1 -1
  106. package/dist/{vue-ui-screenshot-D_WCQPUk.js → vue-ui-screenshot-B75HYxGr.js} +1 -1
  107. package/dist/{vue-ui-screenshot-DuSWlrxS.cjs → vue-ui-screenshot-ChrgrH-d.cjs} +1 -1
  108. package/dist/vue-ui-skeleton-CchU2_i9.cjs +41 -0
  109. package/dist/{vue-ui-skeleton-Bw0j7S0v.js → vue-ui-skeleton-Dj3LsSHJ.js} +425 -302
  110. package/dist/{vue-ui-smiley-B-ETDTJ2.js → vue-ui-smiley-BJtXVaLr.js} +2 -2
  111. package/dist/{vue-ui-smiley-BlB4Chmp.cjs → vue-ui-smiley-KgNpjgZq.cjs} +1 -1
  112. package/dist/{vue-ui-spark-trend-kJnXlgAD.js → vue-ui-spark-trend-BOTACQYD.js} +5 -5
  113. package/dist/{vue-ui-spark-trend-DuRx94ei.cjs → vue-ui-spark-trend-CjbGzz0O.cjs} +1 -1
  114. package/dist/{vue-ui-sparkbar-DwGySfoF.js → vue-ui-sparkbar-DaSRb5Zx.js} +4 -4
  115. package/dist/{vue-ui-sparkbar-BVPRp_3-.cjs → vue-ui-sparkbar-aTZBQ0_K.cjs} +1 -1
  116. package/dist/{vue-ui-sparkgauge-CS92Bz1t.js → vue-ui-sparkgauge-bYKCyDr4.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-CWufhmcn.cjs → vue-ui-sparkgauge-z-QDyogC.cjs} +1 -1
  118. package/dist/{vue-ui-sparkhistogram-BSL1pxc1.cjs → vue-ui-sparkhistogram-Bi4hTOrp.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-BEDVWIsL.js → vue-ui-sparkhistogram-ntiCLO0c.js} +5 -5
  120. package/dist/{vue-ui-sparkline-xQ2ASk9Q.cjs → vue-ui-sparkline-CftoCs-2.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-BWHDD9ZL.js → vue-ui-sparkline-RfiNbiSF.js} +4 -4
  122. package/dist/{vue-ui-sparkstackbar-UaXwlx2p.js → vue-ui-sparkstackbar-C58MiKn1.js} +5 -5
  123. package/dist/{vue-ui-sparkstackbar-DczF0DoH.cjs → vue-ui-sparkstackbar-CUtOdArY.cjs} +1 -1
  124. package/dist/{vue-ui-stackbar-EBbZeb4L.js → vue-ui-stackbar-BCQcJPVi.js} +12 -12
  125. package/dist/{vue-ui-stackbar-DJiE_c3H.cjs → vue-ui-stackbar-RDsR0eb7.cjs} +1 -1
  126. package/dist/{vue-ui-strip-plot-CUqnskSY.cjs → vue-ui-strip-plot-Bwa1VHOF.cjs} +1 -1
  127. package/dist/{vue-ui-strip-plot-C5wIUe2j.js → vue-ui-strip-plot-CHnmAzf2.js} +11 -11
  128. package/dist/{vue-ui-table-BsXhzqil.cjs → vue-ui-table-BUBmWwoM.cjs} +1 -1
  129. package/dist/{vue-ui-table-CopdN0r5.js → vue-ui-table-DIq9_CR2.js} +1 -1
  130. package/dist/{vue-ui-table-heatmap-tA_0lJjn.js → vue-ui-table-heatmap-7cV60m5v.js} +4 -4
  131. package/dist/{vue-ui-table-heatmap-BGi-lAnz.cjs → vue-ui-table-heatmap-Dpj4icul.cjs} +1 -1
  132. package/dist/{vue-ui-table-sparkline-9HdhBdnp.js → vue-ui-table-sparkline-DL5U9f1q.js} +5 -5
  133. package/dist/{vue-ui-table-sparkline-BHyPQXZ0.cjs → vue-ui-table-sparkline-DqaPQvbW.cjs} +1 -1
  134. package/dist/{vue-ui-thermometer-BsR1qCbw.js → vue-ui-thermometer-B5YD4_IU.js} +7 -7
  135. package/dist/{vue-ui-thermometer-DJ3auHYk.cjs → vue-ui-thermometer-gYUxn5Gw.cjs} +1 -1
  136. package/dist/{vue-ui-timer-DxXbrlZA.cjs → vue-ui-timer-5S4xc1pV.cjs} +1 -1
  137. package/dist/{vue-ui-timer-Bx5uXdY4.js → vue-ui-timer-uoJwsXAJ.js} +5 -5
  138. package/dist/{vue-ui-tiremarks-m7OGuMw6.js → vue-ui-tiremarks-BoDu-FF4.js} +7 -7
  139. package/dist/{vue-ui-tiremarks-BIfgN7ZG.cjs → vue-ui-tiremarks-DcQC2y7y.cjs} +1 -1
  140. package/dist/{vue-ui-treemap-6bRwR5CK.cjs → vue-ui-treemap-CTRfSzcK.cjs} +1 -1
  141. package/dist/{vue-ui-treemap-Bf7wnDl1.js → vue-ui-treemap-DikOtBDn.js} +11 -11
  142. package/dist/{vue-ui-vertical-bar-BhiiTzOI.cjs → vue-ui-vertical-bar-BkfPw2Aw.cjs} +1 -1
  143. package/dist/{vue-ui-vertical-bar-DI3gBfva.js → vue-ui-vertical-bar-DUYPYCzB.js} +11 -11
  144. package/dist/{vue-ui-waffle-CXVfDfFQ.cjs → vue-ui-waffle-B4SzHyh9.cjs} +1 -1
  145. package/dist/{vue-ui-waffle-DIeMOgnB.js → vue-ui-waffle-BAhSD-p7.js} +11 -11
  146. package/dist/{vue-ui-wheel-DqlLxmCx.cjs → vue-ui-wheel-B33Bwfo4.cjs} +1 -1
  147. package/dist/{vue-ui-wheel-BsDuXp0I.js → vue-ui-wheel-BDiifbe4.js} +7 -7
  148. package/dist/{vue-ui-word-cloud-COixZsVG.js → vue-ui-word-cloud-BmbB0sAA.js} +10 -10
  149. package/dist/{vue-ui-word-cloud-CwX4PJRH.cjs → vue-ui-word-cloud-CE-mdCqu.cjs} +1 -1
  150. package/dist/{vue-ui-xy-zDZjZ9y0.js → vue-ui-xy-B9m2QHhU.js} +14 -14
  151. package/dist/{vue-ui-xy-CI0yZAIl.cjs → vue-ui-xy-C65gGblV.cjs} +1 -1
  152. package/dist/{vue-ui-xy-canvas-BdIsNYh_.js → vue-ui-xy-canvas-Bi10imsb.js} +11 -11
  153. package/dist/{vue-ui-xy-canvas-ZLeAE6Ij.cjs → vue-ui-xy-canvas-DCRImNW6.cjs} +1 -1
  154. package/package.json +1 -1
  155. package/dist/index-Dgjlvd_3.cjs +0 -9
  156. package/dist/vue-data-ui-Cd8mwZKF.cjs +0 -9
  157. package/dist/vue-ui-skeleton-Ng7RKLmM.cjs +0 -41
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),a=require("./BaseIcon-BEvRHM2R.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={beforeMount(t,u){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||u.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},D=["title","onClick","onKeypress"],L=["data-open"],w={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{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}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:u}){const s=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function y(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),A=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(A.value=!1)}function M(){s.isPrinting||s.isImaging||(r.value=!1)}function T(){r.value&&M()}const B=e.ref(s.isLabelActive);function F(){B.value=!B.value,u("toggleLabels")}const m=e.ref(s.isAnimation);function h(){m.value=!m.value,u("toggleAnimation")}const b=e.computed({get:()=>s.isAnnotation,set:l=>l});function E(){b.value=!b.value,u("toggleAnnotator")}function p(){u("toggleSort")}const C=e.ref(s.isStacked);function I(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function P(){$.value=!$.value,u("toggleTooltip")}const f=e.ref(!1);function z(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function N(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",N)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:r.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(S,["stop"]),onKeypress:e.withKeys(S,["enter"])},[e.createVNode(a.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,D),e.createElementVNode("div",{"data-open":r.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:k,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:y,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:F,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:B.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>z(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:z,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:h},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:h,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:E},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:E,isAnnotator:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,L)],4)),[[e.unref(V),T]])}},X=O._export_sfc(w,[["__scopeId","data-v-5b704ad2"]]);function q({elementId:t,fileName:u,canPrint:s=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!s||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./pdf-9cRTLjY8.cjs"));await r({domElement:document.getElementById(t),fileName:u})}catch(r){console.error("Error generating PDF:",r)}finally{k.value=!1}},100))}async function y(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./img-BFCs759q.cjs"));await r({domElement:document.getElementById(t),fileName:u,format:"png"})}catch(r){console.error("Error generating image:",r)}finally{d.value=!1}},100))}return{generatePdf:g,generateImage:y,isPrinting:k,isImaging:d}}exports.UserOptions=X;exports.usePrinter=q;exports.vClickOutside=V;
1
+ "use strict";const e=require("vue"),a=require("./BaseIcon-CSdun2De.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={beforeMount(t,u){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||u.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},D=["title","onClick","onKeypress"],L=["data-open"],w={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{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}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:u}){const s=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function y(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),A=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(A.value=!1)}function M(){s.isPrinting||s.isImaging||(r.value=!1)}function T(){r.value&&M()}const B=e.ref(s.isLabelActive);function F(){B.value=!B.value,u("toggleLabels")}const m=e.ref(s.isAnimation);function h(){m.value=!m.value,u("toggleAnimation")}const b=e.computed({get:()=>s.isAnnotation,set:l=>l});function E(){b.value=!b.value,u("toggleAnnotator")}function p(){u("toggleSort")}const C=e.ref(s.isStacked);function I(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function P(){$.value=!$.value,u("toggleTooltip")}const f=e.ref(!1);function z(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function N(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",N)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:r.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(S,["stop"]),onKeypress:e.withKeys(S,["enter"])},[e.createVNode(a.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,D),e.createElementVNode("div",{"data-open":r.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:k,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:y,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:F,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:B.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>z(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:z,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:h},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:h,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:E},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:E,isAnnotator:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,L)],4)),[[e.unref(V),T]])}},X=O._export_sfc(w,[["__scopeId","data-v-5b704ad2"]]);function q({elementId:t,fileName:u,canPrint:s=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!s||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./pdf-9cRTLjY8.cjs"));await r({domElement:document.getElementById(t),fileName:u})}catch(r){console.error("Error generating PDF:",r)}finally{k.value=!1}},100))}async function y(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./img-BFCs759q.cjs"));await r({domElement:document.getElementById(t),fileName:u,format:"png"})}catch(r){console.error("Error generating image:",r)}finally{d.value=!1}},100))}return{generatePdf:g,generateImage:y,isPrinting:k,isImaging:d}}exports.UserOptions=X;exports.usePrinter=q;exports.vClickOutside=V;
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Q=require("./BaseIcon-CSdun2De.cjs"),$={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},z={style:{width:"36px"}},K={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(x,{expose:I,emit:E}){const i=x,{component:O,dataset:F,config:N}=e.toRefs(i),a={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-CjgJT9th.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-CG5Hv1RE.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-Cu76-g8g.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-D0SHq8xs.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-CXC7BN2X.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-CiGCEwlS.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-DBW9vyIQ.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-puOFwfTi.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-DjNcAvzg.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-CXWjQf2D.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-C29ZR7K9.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-CKGr-yZ-.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-B801Z9Mu.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-qLFnCdde.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-DruPveKE.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-BythFKLg.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-TzvvrR4G.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-F5UZYJdl.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-CcSOeR05.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-Cwzxmt98.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-BV2S6hfA.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-psK2FS34.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-C3A5ybIQ.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-HLM4oJjp.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-ChrgrH-d.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-CchU2_i9.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-KgNpjgZq.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-aTZBQ0_K.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-z-QDyogC.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-Bi4hTOrp.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-CftoCs-2.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CUtOdArY.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-BUBmWwoM.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-DqaPQvbW.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-gYUxn5Gw.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-DcQC2y7y.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-CTRfSzcK.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-BkfPw2Aw.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-B4SzHyh9.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-B33Bwfo4.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-C65gGblV.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-Dpj4icul.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-BtwaJlG6.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-DjlhRR3a.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-DwCDu9oO.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-CjbGzz0O.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-Bwa1VHOF.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-BewjHirJ.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-CE-mdCqu.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-DCRImNW6.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-DOOTZoZ3.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-p7BP1Ltj.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-5S4xc1pV.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-DTXjhQwk.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-4H4brRak.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-RDsR0eb7.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-D5QztIGw.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-OgT9lJwU.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-D1LCN49m.cjs")))},M={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"]},u=e.computed(()=>!a[i.component]),G=e.computed(()=>a[i.component]||null),t=e.ref(null),W=e.computed(()=>{const o=M[i.component]||[],n={};return o.includes("config")&&(n.config=N.value),o.includes("dataset")&&(n.dataset=F.value),n}),c=e.ref(()=>null),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),U=e.ref(()=>null),v=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),A=e.ref(()=>null),C=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),S=e.ref(()=>null),k=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),H=e.ref(()=>null),L=e.ref(()=>null),_=e.ref(()=>null);e.onMounted(()=>{if(u.value)throw new Error(`
2
+
3
+ Vue Data UI exception:
4
+ The provided component "${i.component}" does not exist. Check the spelling.
5
+
6
+ Available components:
7
+
8
+ ${Object.keys(a).map(o=>`. ${o}
9
+ `).join("")}`)}),e.watch(t,async o=>{o&&(o.generatePdf&&(c.value=o.generatePdf),o.generateImage&&(d.value=o.generateImage),o.generateCsv&&(m.value=o.generateCsv),o.getItemsPositions&&(g.value=o.getItemsPositions),o.toggleReadonly&&(p.value=o.toggleReadonly),o.shoot&&(f.value=o.shoot),o.close&&(V.value=o.close),o.restoreOrder&&(U.value=o.restoreOrder),o.recalculateHeight&&(v.value=o.recalculateHeight),o.toggleLock&&(h.value=o.toggleLock),o.toggleTable&&(y.value=o.toggleTable),o.toggleLabels&&(A.value=o.toggleLabels),o.toggleSort&&(C.value=o.toggleSort),o.toggleStack&&(P.value=o.toggleStack),o.toggleTooltip&&(q.value=o.toggleTooltip),o.start&&(S.value=o.start),o.pause&&(k.value=o.pause),o.reset&&(b.value=o.reset),o.restart&&(T.value=o.restart),o.lap&&(D.value=o.lap),o.toggleAnimation&&(B.value=o.toggleAnimation),o.pauseAnimation&&(H.value=o.pauseAnimation),o.resumeAnimation&&(L.value=o.resumeAnimation),o.toggleAnnotator&&(_.value=o.toggleAnnotator))});const X=()=>{const o=["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","pause","reset","restart","lap","toggleAnimation","pauseAnimation","resumeAnimation","toggleAnnotator"],n={};return o.forEach(l=>{n[l]=(...s)=>E(l,...s)}),n},r=e.shallowReactive([]);return e.watch([r,t],()=>{if(t.value)for(;r.length;){const[o,...n]=r.shift();typeof t.value[o]=="function"&&t.value[o](...n)}}),I({getData:(...o)=>t.value&&typeof t.value.getData=="function"?t.value.getData():r.push(["getData",...o]),generatePdf:c,generateCsv:m,generateImage:d,getItemsPositions:g,toggleReadonly:p,shoot:f,close:V,restoreOrder:U,recalculateHeight:v,toggleLock:h,toggleTable:y,toggleLabels:A,toggleSort:C,toggleStack:P,toggleTooltip:q,start:S,pause:k,reset:b,restart:T,lap:D,pauseAnimation:H,resumeAnimation:L,toggleAnimation:B,toggleAnnotator:_}),(o,n)=>u.value?(e.openBlock(),e.createElementBlock("div",$,[e.createElementVNode("div",z,[e.createVNode(Q.default,{name:"moodFlat",stroke:"#FF0000"})]),e.createTextVNode(' The provided component "'+e.toDisplayString(e.unref(O))+'" does not exist ',1)])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(G.value),e.mergeProps({key:1,ref_key:"currentComponentRef",ref:t},W.value,e.toHandlers(X())),e.createSlots({_:2},[e.renderList(o.$slots,(l,s)=>({name:s,fn:e.withCtx(j=>[e.renderSlot(o.$slots,s,e.normalizeProps(e.guardReactiveProps(j)))])}))]),1040))}};exports.default=K;
@@ -1,5 +1,5 @@
1
1
  import { toRefs as J, defineAsyncComponent as e, computed as c, ref as o, onMounted as Y, watch as O, shallowReactive as Z, openBlock as F, createElementBlock as R, createElementVNode as w, createVNode as tt, createTextVNode as et, toDisplayString as ot, unref as it, createBlock as at, resolveDynamicComponent as nt, mergeProps as rt, toHandlers as lt, createSlots as ut, renderList as st, withCtx as ct, renderSlot as gt, normalizeProps as pt, guardReactiveProps as mt } from "vue";
2
- import dt from "./BaseIcon-DdR74ekM.js";
2
+ import dt from "./BaseIcon-B2vcsAEz.js";
3
3
  const Vt = {
4
4
  key: 0,
5
5
  style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
@@ -37,64 +37,65 @@ const Vt = {
37
37
  ],
38
38
  setup(N, { expose: G, emit: M }) {
39
39
  const n = N, { component: W, dataset: X, config: Q } = J(n), u = {
40
- VueUi3dBar: e(() => import("./vue-ui-3d-bar-BUZbm9kJ.js")),
41
- VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-BSRlLxEA.js")),
42
- VueUiAnnotator: e(() => import("./vue-ui-annotator-DCBMlGAw.js")),
43
- VueUiCandlestick: e(() => import("./vue-ui-candlestick-BWM5iWqv.js")),
44
- VueUiChestnut: e(() => import("./vue-ui-chestnut-DhqYkzID.js")),
45
- VueUiDashboard: e(() => import("./vue-ui-dashboard-TqWW5RI5.js")),
46
- VueUiDigits: e(() => import("./vue-ui-digits-DASTO7R_.js")),
47
- VueUiDonut: e(() => import("./vue-ui-donut-DzyBoMNU.js")),
48
- VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-Da4D9v3R.js")),
49
- VueUiGalaxy: e(() => import("./vue-ui-galaxy-C5BIxb4j.js")),
50
- VueUiGauge: e(() => import("./vue-ui-gauge-Lbp4fSO6.js")),
51
- VueUiHeatmap: e(() => import("./vue-ui-heatmap-pCtD1kfU.js")),
52
- VueUiKpi: e(() => import("./vue-ui-kpi-D8JYWPV_.js")),
53
- VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-WEjnMYYV.js")),
54
- VueUiMolecule: e(() => import("./vue-ui-molecule-3ZmmBGb2.js")),
55
- VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-BNtsGg0D.js")),
56
- VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-jtOuJhbR.js")),
57
- VueUiOnion: e(() => import("./vue-ui-onion-DgzhhXA7.js")),
58
- VueUiQuadrant: e(() => import("./vue-ui-quadrant-CqBNV30b.js")),
59
- VueUiRadar: e(() => import("./vue-ui-radar-C2biHwNz.js")),
60
- VueUiRating: e(() => import("./vue-ui-rating-F4DM4bFb.js")),
61
- VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-B7ORrYO6.js")),
62
- VueUiRings: e(() => import("./vue-ui-rings-Doq5O6yQ.js")),
63
- VueUiScatter: e(() => import("./vue-ui-scatter-DNS48w0P.js")),
64
- VueUiScreenshot: e(() => import("./vue-ui-screenshot-D_WCQPUk.js")),
65
- VueUiSkeleton: e(() => import("./vue-ui-skeleton-Bw0j7S0v.js")),
66
- VueUiSmiley: e(() => import("./vue-ui-smiley-B-ETDTJ2.js")),
67
- VueUiSparkbar: e(() => import("./vue-ui-sparkbar-DwGySfoF.js")),
68
- VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-CS92Bz1t.js")),
69
- VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-BEDVWIsL.js")),
70
- VueUiSparkline: e(() => import("./vue-ui-sparkline-BWHDD9ZL.js")),
71
- VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-UaXwlx2p.js")),
72
- VueUiTable: e(() => import("./vue-ui-table-CopdN0r5.js")),
73
- VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-9HdhBdnp.js")),
74
- VueUiThermometer: e(() => import("./vue-ui-thermometer-BsR1qCbw.js")),
75
- VueUiTiremarks: e(() => import("./vue-ui-tiremarks-m7OGuMw6.js")),
76
- VueUiTreemap: e(() => import("./vue-ui-treemap-Bf7wnDl1.js")),
77
- VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-DI3gBfva.js")),
78
- VueUiWaffle: e(() => import("./vue-ui-waffle-DIeMOgnB.js")),
79
- VueUiWheel: e(() => import("./vue-ui-wheel-BsDuXp0I.js")),
80
- VueUiXy: e(() => import("./vue-ui-xy-zDZjZ9y0.js")),
81
- VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-tA_0lJjn.js")),
82
- VueUiAccordion: e(() => import("./vue-ui-accordion-C3p9yjUl.js")),
83
- VueUiQuickChart: e(() => import("./vue-ui-quick-chart-DBbzmkAK.js")),
84
- VueUiCursor: e(() => import("./vue-ui-cursor-BZnAcEqs.js")),
85
- VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-kJnXlgAD.js")),
86
- VueUiStripPlot: e(() => import("./vue-ui-strip-plot-C5wIUe2j.js")),
87
- VueUiDumbbell: e(() => import("./vue-ui-dumbbell-CTvRHWls.js")),
88
- VueUiWordCloud: e(() => import("./vue-ui-word-cloud-COixZsVG.js")),
89
- VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-BdIsNYh_.js")),
90
- VueUiFlow: e(() => import("./vue-ui-flow-aww0Tcl3.js")),
91
- VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-C5AKz42e.js")),
92
- VueUiTimer: e(() => import("./vue-ui-timer-Bx5uXdY4.js")),
93
- VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-CyDUz_Gq.js")),
94
- VueUiGizmo: e(() => import("./vue-ui-gizmo-BhGFYCMO.js")),
95
- VueUiStackbar: e(() => import("./vue-ui-stackbar-EBbZeb4L.js")),
96
- VueUiBullet: e(() => import("./vue-ui-bullet-B95xQ8WK.js")),
97
- VueUiFunnel: e(() => import("./vue-ui-funnel-CqAc4qrq.js"))
40
+ VueUi3dBar: e(() => import("./vue-ui-3d-bar-Cjp42NQN.js")),
41
+ VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-Twv6fSmC.js")),
42
+ VueUiAnnotator: e(() => import("./vue-ui-annotator-CAfU9AmU.js")),
43
+ VueUiCandlestick: e(() => import("./vue-ui-candlestick-BmIlcq5g.js")),
44
+ VueUiChestnut: e(() => import("./vue-ui-chestnut-BmO2I_Bi.js")),
45
+ VueUiDashboard: e(() => import("./vue-ui-dashboard-DgvdTtRt.js")),
46
+ VueUiDigits: e(() => import("./vue-ui-digits-BITW4NUc.js")),
47
+ VueUiDonut: e(() => import("./vue-ui-donut-DNh7PW9t.js")),
48
+ VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-CZ5XSOIe.js")),
49
+ VueUiGalaxy: e(() => import("./vue-ui-galaxy-C2ZLbj4y.js")),
50
+ VueUiGauge: e(() => import("./vue-ui-gauge-ojDC8NQq.js")),
51
+ VueUiHeatmap: e(() => import("./vue-ui-heatmap-DIX4q92p.js")),
52
+ VueUiKpi: e(() => import("./vue-ui-kpi-CReMIy_Q.js")),
53
+ VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-0iVPh6xI.js")),
54
+ VueUiMolecule: e(() => import("./vue-ui-molecule-CUitG78e.js")),
55
+ VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-BH2dtsW-.js")),
56
+ VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-DghK1QXS.js")),
57
+ VueUiOnion: e(() => import("./vue-ui-onion-D_nb00Z4.js")),
58
+ VueUiQuadrant: e(() => import("./vue-ui-quadrant-uWMV9qOM.js")),
59
+ VueUiRadar: e(() => import("./vue-ui-radar-CCQA3zwl.js")),
60
+ VueUiRating: e(() => import("./vue-ui-rating-CTipvzGg.js")),
61
+ VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-DB9viPCp.js")),
62
+ VueUiRings: e(() => import("./vue-ui-rings-BkixUtjR.js")),
63
+ VueUiScatter: e(() => import("./vue-ui-scatter-BYwfdQo6.js")),
64
+ VueUiScreenshot: e(() => import("./vue-ui-screenshot-B75HYxGr.js")),
65
+ VueUiSkeleton: e(() => import("./vue-ui-skeleton-Dj3LsSHJ.js")),
66
+ VueUiSmiley: e(() => import("./vue-ui-smiley-BJtXVaLr.js")),
67
+ VueUiSparkbar: e(() => import("./vue-ui-sparkbar-DaSRb5Zx.js")),
68
+ VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-bYKCyDr4.js")),
69
+ VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-ntiCLO0c.js")),
70
+ VueUiSparkline: e(() => import("./vue-ui-sparkline-RfiNbiSF.js")),
71
+ VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-C58MiKn1.js")),
72
+ VueUiTable: e(() => import("./vue-ui-table-DIq9_CR2.js")),
73
+ VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-DL5U9f1q.js")),
74
+ VueUiThermometer: e(() => import("./vue-ui-thermometer-B5YD4_IU.js")),
75
+ VueUiTiremarks: e(() => import("./vue-ui-tiremarks-BoDu-FF4.js")),
76
+ VueUiTreemap: e(() => import("./vue-ui-treemap-DikOtBDn.js")),
77
+ VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-DUYPYCzB.js")),
78
+ VueUiWaffle: e(() => import("./vue-ui-waffle-BAhSD-p7.js")),
79
+ VueUiWheel: e(() => import("./vue-ui-wheel-BDiifbe4.js")),
80
+ VueUiXy: e(() => import("./vue-ui-xy-B9m2QHhU.js")),
81
+ VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-7cV60m5v.js")),
82
+ VueUiAccordion: e(() => import("./vue-ui-accordion-DORcK2IX.js")),
83
+ VueUiQuickChart: e(() => import("./vue-ui-quick-chart-CmpHjNkq.js")),
84
+ VueUiCursor: e(() => import("./vue-ui-cursor-CNuSnW81.js")),
85
+ VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-BOTACQYD.js")),
86
+ VueUiStripPlot: e(() => import("./vue-ui-strip-plot-CHnmAzf2.js")),
87
+ VueUiDumbbell: e(() => import("./vue-ui-dumbbell-B6N4Vtyv.js")),
88
+ VueUiWordCloud: e(() => import("./vue-ui-word-cloud-BmbB0sAA.js")),
89
+ VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-Bi10imsb.js")),
90
+ VueUiFlow: e(() => import("./vue-ui-flow-Cew9Ezr2.js")),
91
+ VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-BUkipMCR.js")),
92
+ VueUiTimer: e(() => import("./vue-ui-timer-uoJwsXAJ.js")),
93
+ VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-BfA0p_BQ.js")),
94
+ VueUiGizmo: e(() => import("./vue-ui-gizmo-DSxqF4UQ.js")),
95
+ VueUiStackbar: e(() => import("./vue-ui-stackbar-BCQcJPVi.js")),
96
+ VueUiBullet: e(() => import("./vue-ui-bullet-CAP2CFQ2.js")),
97
+ VueUiFunnel: e(() => import("./vue-ui-funnel-D7_EP9pg.js")),
98
+ VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-DxDQKN_n.js"))
98
99
  }, $ = {
99
100
  VueUi3dBar: ["config", "dataset"],
100
101
  VueUiAgePyramid: ["config", "dataset"],
@@ -153,11 +154,12 @@ const Vt = {
153
154
  VueUiGizmo: ["config", "dataset"],
154
155
  VueUiStackbar: ["config", "dataset"],
155
156
  VueUiBullet: ["config", "dataset"],
156
- VueUiFunnel: ["config", "dataset"]
157
+ VueUiFunnel: ["config", "dataset"],
158
+ VueUiHistoryPlot: ["config", "dataset"]
157
159
  }, g = c(() => !u[n.component]), j = c(() => u[n.component] || null), i = o(null), z = c(() => {
158
160
  const t = $[n.component] || [], a = {};
159
161
  return t.includes("config") && (a.config = Q.value), t.includes("dataset") && (a.dataset = X.value), a;
160
- }), p = o(() => null), m = o(() => null), d = o(() => null), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), h = o(() => null), k = o(() => null), S = o(() => null), b = o(() => null), y = o(() => null), T = o(() => null), A = o(() => null), C = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), L = o(() => null), _ = o(() => null), B = o(() => null), I = o(() => null), E = o(() => null), H = o(() => null);
162
+ }), p = o(() => null), m = o(() => null), d = o(() => null), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), h = o(() => null), k = o(() => null), S = o(() => null), y = o(() => null), b = o(() => null), T = o(() => null), A = o(() => null), C = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), H = o(() => null), L = o(() => null), _ = o(() => null), B = o(() => null), I = o(() => null), E = o(() => null);
161
163
  Y(() => {
162
164
  if (g.value)
163
165
  throw new Error(`
@@ -170,7 +172,7 @@ Available components:
170
172
  ${Object.keys(u).map((t) => `. ${t}
171
173
  `).join("")}`);
172
174
  }), O(i, async (t) => {
173
- t && (t.generatePdf && (p.value = t.generatePdf), t.generateImage && (d.value = t.generateImage), t.generateCsv && (m.value = t.generateCsv), t.getItemsPositions && (V.value = t.getItemsPositions), t.toggleReadonly && (U.value = t.toggleReadonly), t.shoot && (f.value = t.shoot), t.close && (v.value = t.close), t.restoreOrder && (h.value = t.restoreOrder), t.recalculateHeight && (k.value = t.recalculateHeight), t.toggleLock && (S.value = t.toggleLock), t.toggleTable && (b.value = t.toggleTable), t.toggleLabels && (y.value = t.toggleLabels), t.toggleSort && (T.value = t.toggleSort), t.toggleStack && (A.value = t.toggleStack), t.toggleTooltip && (C.value = t.toggleTooltip), t.start && (P.value = t.start), t.pause && (D.value = t.pause), t.reset && (x.value = t.reset), t.restart && (L.value = t.restart), t.lap && (_.value = t.lap), t.toggleAnimation && (B.value = t.toggleAnimation), t.pauseAnimation && (I.value = t.pauseAnimation), t.resumeAnimation && (E.value = t.resumeAnimation), t.toggleAnnotator && (H.value = t.toggleAnnotator));
175
+ t && (t.generatePdf && (p.value = t.generatePdf), t.generateImage && (d.value = t.generateImage), t.generateCsv && (m.value = t.generateCsv), t.getItemsPositions && (V.value = t.getItemsPositions), t.toggleReadonly && (U.value = t.toggleReadonly), t.shoot && (f.value = t.shoot), t.close && (v.value = t.close), t.restoreOrder && (h.value = t.restoreOrder), t.recalculateHeight && (k.value = t.recalculateHeight), t.toggleLock && (S.value = t.toggleLock), t.toggleTable && (y.value = t.toggleTable), t.toggleLabels && (b.value = t.toggleLabels), t.toggleSort && (T.value = t.toggleSort), t.toggleStack && (A.value = t.toggleStack), t.toggleTooltip && (C.value = t.toggleTooltip), t.start && (P.value = t.start), t.pause && (D.value = t.pause), t.reset && (x.value = t.reset), t.restart && (H.value = t.restart), t.lap && (L.value = t.lap), t.toggleAnimation && (_.value = t.toggleAnimation), t.pauseAnimation && (B.value = t.pauseAnimation), t.resumeAnimation && (I.value = t.resumeAnimation), t.toggleAnnotator && (E.value = t.toggleAnnotator));
174
176
  });
175
177
  const K = () => {
176
178
  const t = [
@@ -222,20 +224,20 @@ ${Object.keys(u).map((t) => `. ${t}
222
224
  restoreOrder: h,
223
225
  recalculateHeight: k,
224
226
  toggleLock: S,
225
- toggleTable: b,
226
- toggleLabels: y,
227
+ toggleTable: y,
228
+ toggleLabels: b,
227
229
  toggleSort: T,
228
230
  toggleStack: A,
229
231
  toggleTooltip: C,
230
232
  start: P,
231
233
  pause: D,
232
234
  reset: x,
233
- restart: L,
234
- lap: _,
235
- pauseAnimation: I,
236
- resumeAnimation: E,
237
- toggleAnimation: B,
238
- toggleAnnotator: H
235
+ restart: H,
236
+ lap: L,
237
+ pauseAnimation: B,
238
+ resumeAnimation: I,
239
+ toggleAnimation: _,
240
+ toggleAnnotator: E
239
241
  }), (t, a) => g.value ? (F(), R("div", Vt, [
240
242
  w("div", Ut, [
241
243
  tt(dt, {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-Dgjlvd_3.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiBullet=e.VueUiBullet;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiFunnel=e.VueUiFunnel;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-BLLlwxO0.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiBullet=e.VueUiBullet;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiFunnel=e.VueUiFunnel;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiHistoryPlot=e.VueUiHistoryPlot;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { a8 as s, a9 as u, aa as V, ab as U, ac as r, ad as t, b3 as o, ae as l, b0 as n, af as b, ag as d, ah as m, ai as p, aj as S, ak as c, al as g, am as k, b4 as C, an as T, ao as D, b1 as h, ap as P, aq as f, ar as y, as as R, at as A, au as W, av as x, aw as B, ax as F, ay as G, az as H, aA as M, aB as v, aC as w, aD as Q, aE as X, aF as z, aG as E, aH as I, aI as K, aJ as L, aK as N, aL as O, aM as j, aN as q, b2 as J, aO as Y, aP as Z, aQ as _, aR as $, aS as aa, aT as ea, aU as ia, aV as sa, aW as ua, aX as Va, aY as Ua, aZ as ra, a_ as ta, a$ as oa, a1 as la, b5 as na, b6 as ba, b7 as da } from "./index-DtCryprM.js";
2
+ import { a8 as s, a9 as u, aa as V, ab as U, ac as r, ad as t, b3 as o, ae as l, b0 as n, af as b, ag as d, ah as m, ai as p, aj as S, ak as c, al as g, am as k, b4 as C, an as T, ao as D, b1 as h, ap as P, b5 as y, aq as f, ar as R, as as A, at as H, au as W, av as x, aw as B, ax as F, ay as G, az as M, aA as v, aB as w, aC as Q, aD as X, aE as z, aF as E, aG as I, aH as K, aI as L, aJ as N, aK as O, aL as j, aM as q, aN as J, b2 as Y, aO as Z, aP as _, aQ as $, aR as aa, aS as ea, aT as ia, aU as sa, aV as ua, aW as Va, aX as Ua, aY as ra, aZ as ta, a_ as oa, a$ as la, a1 as na, b6 as ba, b7 as da, b8 as ma } from "./index-CFiXy4nY.js";
3
3
  export {
4
4
  s as Arrow,
5
5
  u as VueDataUi,
@@ -23,47 +23,48 @@ export {
23
23
  D as VueUiGauge,
24
24
  h as VueUiGizmo,
25
25
  P as VueUiHeatmap,
26
+ y as VueUiHistoryPlot,
26
27
  f as VueUiIcon,
27
- y as VueUiKpi,
28
- R as VueUiMiniLoader,
29
- A as VueUiMolecule,
28
+ R as VueUiKpi,
29
+ A as VueUiMiniLoader,
30
+ H as VueUiMolecule,
30
31
  W as VueUiMoodRadar,
31
32
  x as VueUiNestedDonuts,
32
33
  B as VueUiOnion,
33
34
  F as VueUiParallelCoordinatePlot,
34
35
  G as VueUiQuadrant,
35
- H as VueUiQuickChart,
36
- M as VueUiRadar,
37
- v as VueUiRating,
38
- w as VueUiRelationCircle,
39
- Q as VueUiRings,
40
- X as VueUiScatter,
41
- z as VueUiScreenshot,
42
- E as VueUiSkeleton,
43
- I as VueUiSmiley,
44
- K as VueUiSparkHistogram,
45
- L as VueUiSparkStackbar,
46
- N as VueUiSparkTrend,
47
- O as VueUiSparkbar,
48
- j as VueUiSparkgauge,
49
- q as VueUiSparkline,
50
- J as VueUiStackbar,
51
- Y as VueUiStripPlot,
52
- Z as VueUiTable,
53
- _ as VueUiTableHeatmap,
54
- $ as VueUiTableSparkline,
55
- aa as VueUiThermometer,
56
- ea as VueUiTimer,
57
- ia as VueUiTiremarks,
58
- sa as VueUiTreemap,
59
- ua as VueUiVerticalBar,
60
- Va as VueUiWaffle,
61
- Ua as VueUiWheel,
62
- ra as VueUiWordCloud,
63
- ta as VueUiXy,
64
- oa as VueUiXyCanvas,
65
- la as createWordCloudDatasetFromPlainText,
66
- na as getPalette,
67
- ba as getThemeConfig,
68
- da as getVueDataUiConfig
36
+ M as VueUiQuickChart,
37
+ v as VueUiRadar,
38
+ w as VueUiRating,
39
+ Q as VueUiRelationCircle,
40
+ X as VueUiRings,
41
+ z as VueUiScatter,
42
+ E as VueUiScreenshot,
43
+ I as VueUiSkeleton,
44
+ K as VueUiSmiley,
45
+ L as VueUiSparkHistogram,
46
+ N as VueUiSparkStackbar,
47
+ O as VueUiSparkTrend,
48
+ j as VueUiSparkbar,
49
+ q as VueUiSparkgauge,
50
+ J as VueUiSparkline,
51
+ Y as VueUiStackbar,
52
+ Z as VueUiStripPlot,
53
+ _ as VueUiTable,
54
+ $ as VueUiTableHeatmap,
55
+ aa as VueUiTableSparkline,
56
+ ea as VueUiThermometer,
57
+ ia as VueUiTimer,
58
+ sa as VueUiTiremarks,
59
+ ua as VueUiTreemap,
60
+ Va as VueUiVerticalBar,
61
+ Ua as VueUiWaffle,
62
+ ra as VueUiWheel,
63
+ ta as VueUiWordCloud,
64
+ oa as VueUiXy,
65
+ la as VueUiXyCanvas,
66
+ na as createWordCloudDatasetFromPlainText,
67
+ ba as getPalette,
68
+ da as getThemeConfig,
69
+ ma as getVueDataUiConfig
69
70
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-Dgjlvd_3.cjs"),ve=require("./Title-C8WRomob.cjs"),te=require("./usePrinter-Bd-68vBM.cjs"),pe=require("./vue-ui-skeleton-Ng7RKLmM.cjs"),fe=require("./DataTable-CKYq5S0j.cjs"),ke=require("./vue-ui-accordion-DAf1jeI5.cjs"),le=require("./useNestedProp-DMaPxyYb.cjs"),me=require("./PackageVersion-C_Y8uWJM.cjs"),ye=require("./PenAndPaper-CotnLxGh.cjs"),ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-558e9734"),N=N(),e.popScopeId(),N),$e=["id"],_e={key:1,style:"width:100%;background:transparent"},Be=["xmlns","viewBox"],xe=["id"],be=["stop-color"],Ce=["stop-color"],Ee=["id"],we=["stop-color"],Ne=["stop-color"],Ve=["id"],Fe=["stop-color"],Se=["stop-color"],Me=["id"],Pe=["stop-color"],Oe=["stop-color"],Le=["stop-color"],De={key:0},ze=["id"],Te=["stop-color"],je=["stop-color"],Ae=["id"],Ie=["stop-color"],We=["stop-color"],Ge=["id"],He=["stop-color"],qe=["stop-color"],Ue=["id"],Xe=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),Re=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),Ze=[Xe,Re],Ye=["x","y","font-size","font-weight","fill"],Je=["x","y"],Ke=["d","stroke"],Qe=["d","stroke"],et={key:3},tt={key:0},lt=["stroke-dasharray","d","stroke","stroke-width"],ot=["stroke-dasharray","d","stroke","stroke-width"],nt=["stroke-dasharray","d","stroke","stroke-width"],at=["stroke-dasharray","d","stroke","stroke-width"],rt={key:1},st=["d","stroke","stroke-width","fill"],ut=["d","stroke","stroke-width","fill"],it=["d","stroke","stroke-width","fill"],ct={key:2},dt=["d","fill","onMouseenter","onClick"],ht=["d","fill","onMouseenter","onClick"],vt=["d","fill","onMouseenter","onClick"],pt=["d","onMouseenter","onClick"],ft=["d"],kt=["d","stroke"],mt=["onClick"],yt=["stroke","d"],gt=["cx","cy","fill","stroke"],$t=["x","y","width","height"],_t={key:1},Bt=["d","stroke"],xt=["d","fill","stroke"],bt=["id"],Ct=["stop-color"],Et=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),wt=["stop-color"],Nt=["cx","cy","fill"],Vt=["cx","cy","fill"],Ft={key:0},St=["text-anchor","x","y","fill","font-size"],Mt=["text-anchor","x","y","fill","font-size"],Pt={key:2},Ot=["d","fill","stroke"],Lt={key:4},Dt={key:0},zt=["stroke-dasharray","d","stroke","stroke-width"],Tt=["stroke-dasharray","d","stroke","stroke-width"],jt=["stroke-dasharray","d","stroke","stroke-width"],At=["stroke-dasharray","d","stroke","stroke-width"],It=["d","stroke","stroke-width","fill"],Wt=["d","stroke","stroke-width","fill"],Gt={key:1},Ht=["onClick"],qt=["id"],Ut=["stop-color"],Xt=["stop-color"],Rt=["id"],Zt=["stop-color"],Yt=["stop-color"],Jt=["stop-color"],Kt=["stop-color"],Qt=["stop-color"],el=["onMouseenter","onClick","d","fill"],tl=["onMouseenter","onClick","d"],ll=["onMouseenter","onClick","d","fill"],ol=["onClick"],nl=["stroke","d"],al=["cx","cy","fill","stroke"],rl=["x","y","width","height"],sl={key:1},ul=["d","stroke"],il=["d","fill","stroke"],cl=["id"],dl=["stop-color"],hl=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),vl=["stop-color"],pl=["cx","cy","fill"],fl=["cx","cy","fill"],kl={key:0},ml=["text-anchor","x","y","fill","font-size"],yl=["text-anchor","x","y","fill","font-size"],gl={key:2},$l=["d","fill","stroke"],_l={key:4,class:"vue-data-ui-watermark"},Bl={key:6,ref:"source",dir:"auto"},xl=["innerHTML"],bl={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(N,{expose:oe,emit:F}){const f=N,{vue_ui_3d_bar:ne}=r.useConfig(),S=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(r.createUid()),ae=e.ref(null),D=e.ref(null),b=e.ref(!1),A=e.ref(0),I=e.ref(0),l=e.computed({get:()=>W(),set:s=>s});function W(){const s=le.useNestedProp({userConfig:f.config,defaultConfig:ne});return s.theme?{...le.useNestedProp({userConfig:r.themes.vue_ui_3d_bar[s.theme]||f.config,defaultConfig:s}),customPalette:r.themePalettes[s.theme]||r.palette}:s}e.watch(()=>f.config,s=>{l.value=W(),X(),A.value+=1,I.value+=1},{deep:!0});const{isPrinting:G,isImaging:H,generatePdf:q,generateImage:U}=te.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),re=e.computed(()=>r.convertCustomPalette(l.value.customPalette)),M=e.ref({showTable:l.value.table.show}),$=e.computed(()=>f.dataset.series&&f.dataset.series.length),n=e.computed(()=>({height:l.value.style.chart.box.dimensions.height,width:l.value.style.chart.box.dimensions.width,absoluteWidth:l.value.style.chart.box.dimensions.width*($.value?2:1),top:l.value.style.chart.box.dimensions.top,bottom:l.value.style.chart.box.dimensions.bottom,left:l.value.style.chart.box.dimensions.left,right:l.value.style.chart.box.dimensions.right,perspective:l.value.style.chart.box.dimensions.perspective})),g=e.computed(()=>{if($.value){const s=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),a=f.dataset.series.map((o,u)=>({...o,id:r.createUid(),proportion:(o.value||0)/s,color:r.convertColorToHex(o.color)||re.value[u]||r.palette[u]||r.palette[u%r.palette.length],breakdown:o.breakdown?o.breakdown.sort((i,p)=>p.value-i.value):null})).sort((o,u)=>u.value-o.value),t=[];let c=0;for(let o=0;o<a.length;o+=1)t.push({...a[o],fill:se(c,a[o].proportion,a[o].breakdown,a[o].color)}),c+=a[o].proportion;return t}return null}),B=e.computed(()=>({right:`M${n.value.width/2},${n.value.top} ${n.value.width-n.value.right}, ${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,left:`M${n.value.width/2},${n.value.top} ${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,side:`M${n.value.width/2},${n.value.height-n.value.bottom} ${n.value.width/2},${n.value.top+n.value.perspective*2}`,topSides:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.width/2},${n.value.top+n.value.perspective*2} ${n.value.width-n.value.right},${n.value.top+n.value.perspective}`,tubeTop:`M${n.value.left},${n.value.top+n.value.perspective} C ${n.value.left},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top+n.value.perspective} C ${n.value.width-n.value.right},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective}`,tubeLeft:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`,tubeRight:`M${n.value.width-n.value.right},${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective}`,tubeBottom:`M${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} C ${n.value.width-n.value.right},${n.value.height} ${n.value.left},${n.value.height} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`})),E=e.ref(l.value.style.chart.animation.use?0:f.dataset.percentage);e.onMounted(()=>{X();let s=0,a=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){E.value+=a+s,s+=t,E.value<f.dataset.percentage?requestAnimationFrame(c):E.value=f.dataset.percentage}l.value.style.chart.animation.use&&(E.value=0,c())});function X(){r.objectIsEmpty(f.dataset)?r.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((s,a)=>{r.getMissingDatasetAttributes({datasetObject:s,requiredAttributes:["name","value"]}).forEach(t=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:a})}),s.breakdown&&s.breakdown.forEach((t,c)=>{r.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${a} - ${c}`})})})}):r.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(s=>{r.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:s})})}function se(s,a,t,c){const o=n.value.height-n.value.bottom-n.value.top-n.value.perspective*2,{width:u,height:i,bottom:p,right:y,left:h,perspective:v}=n.value,d=p+o*s,j=i-d-v-o*a/2,ce=j>n.value.height/2?"top":"bottom",J=64,de=!!t;let K=null,Q=null;return de&&(t=t.map((ee,he)=>({...ee,value:ee.value||0,color:r.lightenHexColor(c,he/t.length)})),K=r.makeDonut({series:t},u+n.value.absoluteWidth/4-14,ce==="top"?j-J:j+J,28,28,1.99999,2,1,360,105.25,14),Q=r.makeDonut({series:t},u-y+20,i-d-v-o*a/2,6,6,1.99999,2,1,360,105.25,6)),{donut:K,miniDonut:Q,sidePointer:{x:u-y,y:i-d-v-o*a/2,topY:i-d-v-o*a,height:o*a},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*a,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*a} ${u-y},${i-d-v-o*a} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*a} ${h}, ${i-d-v-o*a} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*a} ${u/2},${i-d-o*a} ${u-y},${i-d-v-o*a}`,liningTopShade:`M${h},${i-d-v-o*a-.5} ${u/2},${i-d-o*a-.5} ${u-y},${i-d-v-o*a-.5}`,top:`M${u/2},${i-d-o*a} ${h},${i-d-v-o*a} ${u/2},${i-d-v*2-o*a} ${u-y},${i-d-v-o*a} Z`,tubeTop:`M${h},${i-d-o*a-v} C ${h},${i-d-o*a-v*2.5} ${u-y},${i-d-o*a-v*2.5} ${u-y},${i-d-o*a-v} C ${u-y},${i-d-o*a+v/2} ${h},${i-d-o*a+v/2} ${h},${i-d-o*a-v}`,bottomTubeTop:`M ${u-y-.5},${i-d-v} C ${u-y-.5},${i-d+v/2} ${h},${i-d+v/2} ${h+.5},${i-d-v}`,tubeBody:`M
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-BLLlwxO0.cjs"),ve=require("./Title-DNJNGw-j.cjs"),te=require("./usePrinter-DpmXq4r_.cjs"),pe=require("./vue-ui-skeleton-CchU2_i9.cjs"),fe=require("./DataTable-W54GZy5H.cjs"),ke=require("./vue-ui-accordion-BtwaJlG6.cjs"),le=require("./useNestedProp-Bjrt5Glr.cjs"),me=require("./PackageVersion-Cx8faIns.cjs"),ye=require("./PenAndPaper-qWrl9T2y.cjs"),ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-558e9734"),N=N(),e.popScopeId(),N),$e=["id"],_e={key:1,style:"width:100%;background:transparent"},Be=["xmlns","viewBox"],xe=["id"],be=["stop-color"],Ce=["stop-color"],Ee=["id"],we=["stop-color"],Ne=["stop-color"],Ve=["id"],Fe=["stop-color"],Se=["stop-color"],Me=["id"],Pe=["stop-color"],Oe=["stop-color"],Le=["stop-color"],De={key:0},ze=["id"],Te=["stop-color"],je=["stop-color"],Ae=["id"],Ie=["stop-color"],We=["stop-color"],Ge=["id"],He=["stop-color"],qe=["stop-color"],Ue=["id"],Xe=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),Re=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),Ze=[Xe,Re],Ye=["x","y","font-size","font-weight","fill"],Je=["x","y"],Ke=["d","stroke"],Qe=["d","stroke"],et={key:3},tt={key:0},lt=["stroke-dasharray","d","stroke","stroke-width"],ot=["stroke-dasharray","d","stroke","stroke-width"],nt=["stroke-dasharray","d","stroke","stroke-width"],at=["stroke-dasharray","d","stroke","stroke-width"],rt={key:1},st=["d","stroke","stroke-width","fill"],ut=["d","stroke","stroke-width","fill"],it=["d","stroke","stroke-width","fill"],ct={key:2},dt=["d","fill","onMouseenter","onClick"],ht=["d","fill","onMouseenter","onClick"],vt=["d","fill","onMouseenter","onClick"],pt=["d","onMouseenter","onClick"],ft=["d"],kt=["d","stroke"],mt=["onClick"],yt=["stroke","d"],gt=["cx","cy","fill","stroke"],$t=["x","y","width","height"],_t={key:1},Bt=["d","stroke"],xt=["d","fill","stroke"],bt=["id"],Ct=["stop-color"],Et=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),wt=["stop-color"],Nt=["cx","cy","fill"],Vt=["cx","cy","fill"],Ft={key:0},St=["text-anchor","x","y","fill","font-size"],Mt=["text-anchor","x","y","fill","font-size"],Pt={key:2},Ot=["d","fill","stroke"],Lt={key:4},Dt={key:0},zt=["stroke-dasharray","d","stroke","stroke-width"],Tt=["stroke-dasharray","d","stroke","stroke-width"],jt=["stroke-dasharray","d","stroke","stroke-width"],At=["stroke-dasharray","d","stroke","stroke-width"],It=["d","stroke","stroke-width","fill"],Wt=["d","stroke","stroke-width","fill"],Gt={key:1},Ht=["onClick"],qt=["id"],Ut=["stop-color"],Xt=["stop-color"],Rt=["id"],Zt=["stop-color"],Yt=["stop-color"],Jt=["stop-color"],Kt=["stop-color"],Qt=["stop-color"],el=["onMouseenter","onClick","d","fill"],tl=["onMouseenter","onClick","d"],ll=["onMouseenter","onClick","d","fill"],ol=["onClick"],nl=["stroke","d"],al=["cx","cy","fill","stroke"],rl=["x","y","width","height"],sl={key:1},ul=["d","stroke"],il=["d","fill","stroke"],cl=["id"],dl=["stop-color"],hl=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),vl=["stop-color"],pl=["cx","cy","fill"],fl=["cx","cy","fill"],kl={key:0},ml=["text-anchor","x","y","fill","font-size"],yl=["text-anchor","x","y","fill","font-size"],gl={key:2},$l=["d","fill","stroke"],_l={key:4,class:"vue-data-ui-watermark"},Bl={key:6,ref:"source",dir:"auto"},xl=["innerHTML"],bl={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(N,{expose:oe,emit:F}){const f=N,{vue_ui_3d_bar:ne}=r.useConfig(),S=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(r.createUid()),ae=e.ref(null),D=e.ref(null),b=e.ref(!1),A=e.ref(0),I=e.ref(0),l=e.computed({get:()=>W(),set:s=>s});function W(){const s=le.useNestedProp({userConfig:f.config,defaultConfig:ne});return s.theme?{...le.useNestedProp({userConfig:r.themes.vue_ui_3d_bar[s.theme]||f.config,defaultConfig:s}),customPalette:r.themePalettes[s.theme]||r.palette}:s}e.watch(()=>f.config,s=>{l.value=W(),X(),A.value+=1,I.value+=1},{deep:!0});const{isPrinting:G,isImaging:H,generatePdf:q,generateImage:U}=te.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),re=e.computed(()=>r.convertCustomPalette(l.value.customPalette)),M=e.ref({showTable:l.value.table.show}),$=e.computed(()=>f.dataset.series&&f.dataset.series.length),n=e.computed(()=>({height:l.value.style.chart.box.dimensions.height,width:l.value.style.chart.box.dimensions.width,absoluteWidth:l.value.style.chart.box.dimensions.width*($.value?2:1),top:l.value.style.chart.box.dimensions.top,bottom:l.value.style.chart.box.dimensions.bottom,left:l.value.style.chart.box.dimensions.left,right:l.value.style.chart.box.dimensions.right,perspective:l.value.style.chart.box.dimensions.perspective})),g=e.computed(()=>{if($.value){const s=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),a=f.dataset.series.map((o,u)=>({...o,id:r.createUid(),proportion:(o.value||0)/s,color:r.convertColorToHex(o.color)||re.value[u]||r.palette[u]||r.palette[u%r.palette.length],breakdown:o.breakdown?o.breakdown.sort((i,p)=>p.value-i.value):null})).sort((o,u)=>u.value-o.value),t=[];let c=0;for(let o=0;o<a.length;o+=1)t.push({...a[o],fill:se(c,a[o].proportion,a[o].breakdown,a[o].color)}),c+=a[o].proportion;return t}return null}),B=e.computed(()=>({right:`M${n.value.width/2},${n.value.top} ${n.value.width-n.value.right}, ${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,left:`M${n.value.width/2},${n.value.top} ${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,side:`M${n.value.width/2},${n.value.height-n.value.bottom} ${n.value.width/2},${n.value.top+n.value.perspective*2}`,topSides:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.width/2},${n.value.top+n.value.perspective*2} ${n.value.width-n.value.right},${n.value.top+n.value.perspective}`,tubeTop:`M${n.value.left},${n.value.top+n.value.perspective} C ${n.value.left},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top+n.value.perspective} C ${n.value.width-n.value.right},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective}`,tubeLeft:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`,tubeRight:`M${n.value.width-n.value.right},${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective}`,tubeBottom:`M${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} C ${n.value.width-n.value.right},${n.value.height} ${n.value.left},${n.value.height} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`})),E=e.ref(l.value.style.chart.animation.use?0:f.dataset.percentage);e.onMounted(()=>{X();let s=0,a=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){E.value+=a+s,s+=t,E.value<f.dataset.percentage?requestAnimationFrame(c):E.value=f.dataset.percentage}l.value.style.chart.animation.use&&(E.value=0,c())});function X(){r.objectIsEmpty(f.dataset)?r.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((s,a)=>{r.getMissingDatasetAttributes({datasetObject:s,requiredAttributes:["name","value"]}).forEach(t=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:a})}),s.breakdown&&s.breakdown.forEach((t,c)=>{r.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${a} - ${c}`})})})}):r.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(s=>{r.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:s})})}function se(s,a,t,c){const o=n.value.height-n.value.bottom-n.value.top-n.value.perspective*2,{width:u,height:i,bottom:p,right:y,left:h,perspective:v}=n.value,d=p+o*s,j=i-d-v-o*a/2,ce=j>n.value.height/2?"top":"bottom",J=64,de=!!t;let K=null,Q=null;return de&&(t=t.map((ee,he)=>({...ee,value:ee.value||0,color:r.lightenHexColor(c,he/t.length)})),K=r.makeDonut({series:t},u+n.value.absoluteWidth/4-14,ce==="top"?j-J:j+J,28,28,1.99999,2,1,360,105.25,14),Q=r.makeDonut({series:t},u-y+20,i-d-v-o*a/2,6,6,1.99999,2,1,360,105.25,6)),{donut:K,miniDonut:Q,sidePointer:{x:u-y,y:i-d-v-o*a/2,topY:i-d-v-o*a,height:o*a},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*a,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*a} ${u-y},${i-d-v-o*a} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*a} ${h}, ${i-d-v-o*a} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*a} ${u/2},${i-d-o*a} ${u-y},${i-d-v-o*a}`,liningTopShade:`M${h},${i-d-v-o*a-.5} ${u/2},${i-d-o*a-.5} ${u-y},${i-d-v-o*a-.5}`,top:`M${u/2},${i-d-o*a} ${h},${i-d-v-o*a} ${u/2},${i-d-v*2-o*a} ${u-y},${i-d-v-o*a} Z`,tubeTop:`M${h},${i-d-o*a-v} C ${h},${i-d-o*a-v*2.5} ${u-y},${i-d-o*a-v*2.5} ${u-y},${i-d-o*a-v} C ${u-y},${i-d-o*a+v/2} ${h},${i-d-o*a+v/2} ${h},${i-d-o*a-v}`,bottomTubeTop:`M ${u-y-.5},${i-d-v} C ${u-y-.5},${i-d+v/2} ${h},${i-d+v/2} ${h+.5},${i-d-v}`,tubeBody:`M
2
2
  ${h},${i-d-o*a-v}
3
3
  C ${h},${i-d-o*a+v/2}
4
4
  ${u-y},${i-d-o*a+v/2}
@@ -1,13 +1,13 @@
1
1
  import { computed as T, ref as S, watch as We, onMounted as Ge, openBlock as n, createElementBlock as i, normalizeClass as Ce, normalizeStyle as I, createBlock as V, createCommentVNode as y, unref as c, createSlots as Ve, withCtx as D, renderSlot as j, normalizeProps as Z, guardReactiveProps as q, createVNode as Ue, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as Ee, nextTick as He, pushScopeId as Ze, popScopeId as qe } from "vue";
2
- import { u as Xe, c as Fe, t as Re, a as Ye, p as Q, b as Je, d as Ke, o as Qe, e as ee, g as ie, l as U, m as Me, f as z, X as et, s as g, h as te, i as le, j as Pe, k as O, n as oe, q as tt, r as lt } from "./index-DtCryprM.js";
3
- import { _ as ot } from "./Title-CfjKQsLl.js";
4
- import { u as st, U as at } from "./usePrinter-D4_doq3d.js";
5
- import nt from "./vue-ui-skeleton-Bw0j7S0v.js";
6
- import { D as rt } from "./DataTable-DY9Joecu.js";
7
- import ut from "./vue-ui-accordion-C3p9yjUl.js";
8
- import { u as Se } from "./useNestedProp-tT95LfDr.js";
9
- import { _ as it } from "./PackageVersion-CRyyH_HB.js";
10
- import { P as dt } from "./PenAndPaper-BF7qtcRe.js";
2
+ import { u as Xe, c as Fe, t as Re, a as Ye, p as Q, b as Je, d as Ke, o as Qe, e as ee, g as ie, l as U, m as Me, f as z, X as et, s as g, h as te, i as le, j as Pe, k as O, n as oe, q as tt, r as lt } from "./index-CFiXy4nY.js";
3
+ import { _ as ot } from "./Title-DfZARCN2.js";
4
+ import { u as st, U as at } from "./usePrinter-DaGf53v6.js";
5
+ import nt from "./vue-ui-skeleton-Dj3LsSHJ.js";
6
+ import { D as rt } from "./DataTable-gCisz4py.js";
7
+ import ut from "./vue-ui-accordion-DORcK2IX.js";
8
+ import { u as Se } from "./useNestedProp-3d6JiXbm.js";
9
+ import { _ as it } from "./PackageVersion-B3zZMf_E.js";
10
+ import { P as dt } from "./PenAndPaper-BQ5u-Bj0.js";
11
11
  import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
13
13
  key: 1,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-BEvRHM2R.cjs"),g=require("./useNestedProp-DMaPxyYb.cjs"),u=require("./index-Dgjlvd_3.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=["id"],h={key:0,class:"vue-ui-accordion-arrow"},k={__name:"vue-ui-accordion",props:{config:{type:Object,default(){return{}}},hideDetails:{type:Boolean,default:!1}},setup(l){const c=l;e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:d}=u.useConfig(),o=e.computed(()=>g.useNestedProp({userConfig:c.config,defaultConfig:d})),a=e.ref(o.value.open),i=e.ref(u.createUid()),t=e.ref(null),n=e.ref(0);e.onMounted(()=>{t.value.open=o.value.open}),e.watch(()=>o.value.open,r=>{t.value.open=r});function s(){(n.value>0||!o.value.open)&&(a.value=!a.value),n.value+=1}const v=e.computed(()=>`${o.value.maxHeight}px`);return(r,C)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("details",{id:`details_${i.value}`,ref_key:"details",ref:t,onToggle:s},[e.createElementVNode("summary",{class:e.normalizeClass({"vue-ui-accordion-headless":l.hideDetails})},[e.createElementVNode("div",{class:"vue-ui-accordion-head",style:e.normalizeStyle(`background:${o.value.head.backgroundColor};padding:${o.value.head.padding}; ${l.hideDetails?"height: 0px !important; padding: 0 !important;":""}`)},[l.hideDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[o.value.head.useArrowSlot?e.renderSlot(r.$slots,"arrow",e.normalizeProps(e.mergeProps({key:0},{backgroundColor:o.value.head.backgroundColor,color:o.value.head.color,iconColor:o.value.head.iconColor,isOpen:a.value})),void 0,!0):(e.openBlock(),e.createBlock(p.default,{key:1,name:"arrowRight",stroke:o.value.head.iconColor},null,8,["stroke"]))])),e.renderSlot(r.$slots,"title",e.normalizeProps(e.guardReactiveProps({color:o.value.head.color,isOpen:a.value})),void 0,!0)],4)],2)],40,m),e.createElementVNode("div",{class:"vue-ui-accordion-content",style:e.normalizeStyle(`background:${o.value.body.backgroundColor};color:${o.value.body.color}`)},[e.renderSlot(r.$slots,"content",e.normalizeProps(e.guardReactiveProps({backgroundColor:o.value.body.backgroundColor,color:o.value.body.color,isOpen:a.value})),void 0,!0)],4)]))}},y=f._export_sfc(k,[["__scopeId","data-v-28fc829c"]]);exports.default=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-CSdun2De.cjs"),g=require("./useNestedProp-Bjrt5Glr.cjs"),u=require("./index-BLLlwxO0.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=["id"],h={key:0,class:"vue-ui-accordion-arrow"},k={__name:"vue-ui-accordion",props:{config:{type:Object,default(){return{}}},hideDetails:{type:Boolean,default:!1}},setup(l){const c=l;e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:d}=u.useConfig(),o=e.computed(()=>g.useNestedProp({userConfig:c.config,defaultConfig:d})),a=e.ref(o.value.open),i=e.ref(u.createUid()),t=e.ref(null),n=e.ref(0);e.onMounted(()=>{t.value.open=o.value.open}),e.watch(()=>o.value.open,r=>{t.value.open=r});function s(){(n.value>0||!o.value.open)&&(a.value=!a.value),n.value+=1}const v=e.computed(()=>`${o.value.maxHeight}px`);return(r,C)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("details",{id:`details_${i.value}`,ref_key:"details",ref:t,onToggle:s},[e.createElementVNode("summary",{class:e.normalizeClass({"vue-ui-accordion-headless":l.hideDetails})},[e.createElementVNode("div",{class:"vue-ui-accordion-head",style:e.normalizeStyle(`background:${o.value.head.backgroundColor};padding:${o.value.head.padding}; ${l.hideDetails?"height: 0px !important; padding: 0 !important;":""}`)},[l.hideDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[o.value.head.useArrowSlot?e.renderSlot(r.$slots,"arrow",e.normalizeProps(e.mergeProps({key:0},{backgroundColor:o.value.head.backgroundColor,color:o.value.head.color,iconColor:o.value.head.iconColor,isOpen:a.value})),void 0,!0):(e.openBlock(),e.createBlock(p.default,{key:1,name:"arrowRight",stroke:o.value.head.iconColor},null,8,["stroke"]))])),e.renderSlot(r.$slots,"title",e.normalizeProps(e.guardReactiveProps({color:o.value.head.color,isOpen:a.value})),void 0,!0)],4)],2)],40,m),e.createElementVNode("div",{class:"vue-ui-accordion-content",style:e.normalizeStyle(`background:${o.value.body.backgroundColor};color:${o.value.body.color}`)},[e.renderSlot(r.$slots,"content",e.normalizeProps(e.guardReactiveProps({backgroundColor:o.value.body.backgroundColor,color:o.value.body.color,isOpen:a.value})),void 0,!0)],4)]))}},y=f._export_sfc(k,[["__scopeId","data-v-28fc829c"]]);exports.default=y;
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, openBlock as u, createElementBlock as v, createElementVNode as n, normalizeClass as $, normalizeStyle as p, renderSlot as c, normalizeProps as i, mergeProps as O, createBlock as D, createCommentVNode as N, guardReactiveProps as m } from "vue";
2
- import w from "./BaseIcon-DdR74ekM.js";
3
- import { u as x } from "./useNestedProp-tT95LfDr.js";
4
- import { u as B, c as I } from "./index-DtCryprM.js";
2
+ import w from "./BaseIcon-B2vcsAEz.js";
3
+ import { u as x } from "./useNestedProp-3d6JiXbm.js";
4
+ import { u as B, c as I } from "./index-CFiXy4nY.js";
5
5
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const F = ["id"], P = {
7
7
  key: 0,