vue-data-ui 2.4.84 → 2.4.86

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 (168) hide show
  1. package/dist/{Arrow-DCfmf5dA.cjs → Arrow-Bh7Ezbzf.cjs} +1 -1
  2. package/dist/{Arrow-CExa0Dz7.js → Arrow-DpgbndsU.js} +1 -1
  3. package/dist/{BaseIcon-64qWZUaJ.cjs → BaseIcon-CaKclr1e.cjs} +1 -1
  4. package/dist/{BaseIcon-I6DfuN0D.js → BaseIcon-CdPe2CAc.js} +1 -1
  5. package/dist/{DataTable-DYhXzoFM.js → DataTable-BfiPjHpN.js} +2 -2
  6. package/dist/{DataTable-C_6KWwfC.cjs → DataTable-DuosyZ6d.cjs} +1 -1
  7. package/dist/{Legend-BkolTSZc.cjs → Legend-BnKYc6ZY.cjs} +1 -1
  8. package/dist/{Legend-D8VMKZ6f.js → Legend-DiFDWEo2.js} +2 -2
  9. package/dist/{PackageVersion-BV362f3w.cjs → PackageVersion-B5rBHZEb.cjs} +1 -1
  10. package/dist/{PackageVersion-CO2IMTO9.js → PackageVersion-qom4AEUr.js} +1 -1
  11. package/dist/{PenAndPaper-DvN8ocWC.cjs → PenAndPaper-5OV7IAca.cjs} +1 -1
  12. package/dist/{PenAndPaper-CnW2eqXw.js → PenAndPaper-C-1AU46J.js} +3 -3
  13. package/dist/{Shape-VkiqMBJb.cjs → Shape-CmsIulaS.cjs} +1 -1
  14. package/dist/{Shape-Bit--n_P.js → Shape-Dmv7nCLC.js} +1 -1
  15. package/dist/{Slicer-D8EYKe1g.cjs → Slicer-CmBt4xoj.cjs} +1 -1
  16. package/dist/{Slicer-BIRZ38gw.js → Slicer-D4ugcR39.js} +2 -2
  17. package/dist/{Title-C_gOJvlv.js → Title-ClQ27HaB.js} +1 -1
  18. package/dist/{Title-BVwrrnjn.cjs → Title-D3kX1BVl.cjs} +1 -1
  19. package/dist/{Tooltip-CfsfUzgu.cjs → Tooltip-CARCyQNT.cjs} +1 -1
  20. package/dist/{Tooltip-Czv48jTt.js → Tooltip-CGYgJoPR.js} +1 -1
  21. package/dist/{index-CFW17vb1.js → index-CXx0JV8R.js} +1 -1
  22. package/dist/{index-DtU3BvTq.cjs → index-DqxDpUy0.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-HPB1YHuD.js → useNestedProp-B-WAbP7E.js} +1 -1
  25. package/dist/{useNestedProp-Bwqm-3kz.cjs → useNestedProp-DNWKDmdP.cjs} +1 -1
  26. package/dist/{usePrinter-CdEwyYTo.cjs → usePrinter-BC7U4s0U.cjs} +1 -1
  27. package/dist/{usePrinter-19frcFuH.js → usePrinter-Ctor1UK0.js} +1 -1
  28. package/dist/{vue-data-ui-Cwa_3CUx.js → vue-data-ui-BpAZx3Va.js} +60 -60
  29. package/dist/{vue-data-ui-Do7J2TPn.cjs → vue-data-ui-DkgWwqtw.cjs} +1 -1
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-DFyAJ8Js.js → vue-ui-3d-bar-1A6t1biQ.js} +9 -9
  33. package/dist/{vue-ui-3d-bar-BHQnk6JC.cjs → vue-ui-3d-bar-ngD35pLb.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-B8vShfXi.js → vue-ui-accordion-BljYKOXR.js} +3 -3
  35. package/dist/{vue-ui-accordion-DP9u_TW0.cjs → vue-ui-accordion-XAEm2rxj.cjs} +1 -1
  36. package/dist/vue-ui-age-pyramid-BgsDYe37.cjs +1 -0
  37. package/dist/{vue-ui-age-pyramid-Dmve7QfH.js → vue-ui-age-pyramid-qfVpUr52.js} +14 -12
  38. package/dist/{vue-ui-annotator-BlXk3QBH.js → vue-ui-annotator-CH9QWqAv.js} +1 -1
  39. package/dist/{vue-ui-annotator-D9EQpzhs.cjs → vue-ui-annotator-pFybuGix.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-C_689DzY.js → vue-ui-bullet-BH7zmX0E.js} +8 -8
  41. package/dist/{vue-ui-bullet-HVCVCTLU.cjs → vue-ui-bullet-C6y7Ddg-.cjs} +1 -1
  42. package/dist/{vue-ui-candlestick-jaQCvTyL.cjs → vue-ui-candlestick-DtCmxeo5.cjs} +2 -2
  43. package/dist/{vue-ui-candlestick-BeoPugFC.js → vue-ui-candlestick-RCtFAjEU.js} +72 -70
  44. package/dist/{vue-ui-carousel-table-DSJth2mn.js → vue-ui-carousel-table-BUL063mi.js} +4 -4
  45. package/dist/{vue-ui-carousel-table-C6TjkSgb.cjs → vue-ui-carousel-table-BeDenKJo.cjs} +1 -1
  46. package/dist/{vue-ui-chestnut-B2ufyy3m.cjs → vue-ui-chestnut-B6EalNLT.cjs} +1 -1
  47. package/dist/{vue-ui-chestnut-DYFaL9sS.js → vue-ui-chestnut-xDD_4bz2.js} +8 -8
  48. package/dist/{vue-ui-cursor-0SZiJ6tf.js → vue-ui-cursor-D6Qndjnn.js} +2 -2
  49. package/dist/{vue-ui-cursor-B8ne66iS.cjs → vue-ui-cursor-DbV0HXHB.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-9JNDS8H_.js → vue-ui-dashboard-B_4ot4bz.js} +2 -2
  51. package/dist/{vue-ui-dashboard-Cc6YeOue.cjs → vue-ui-dashboard-B_kj8L_A.cjs} +1 -1
  52. package/dist/{vue-ui-digits-DNyhJL4P.js → vue-ui-digits-BLI4lCZC.js} +2 -2
  53. package/dist/{vue-ui-digits-lJ7p7zK0.cjs → vue-ui-digits-DKs2fTGz.cjs} +1 -1
  54. package/dist/vue-ui-donut-B1Cg4vpI.cjs +1 -0
  55. package/dist/{vue-ui-donut-evolution-CNUN-Ibl.cjs → vue-ui-donut-evolution-CgB_aexh.cjs} +1 -1
  56. package/dist/{vue-ui-donut-evolution-BZgaPkPQ.js → vue-ui-donut-evolution-ClOGDHiK.js} +11 -11
  57. package/dist/{vue-ui-donut-rUTpcnu6.js → vue-ui-donut-wBZoPkru.js} +17 -15
  58. package/dist/vue-ui-dumbbell-Cm5O6D4x.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-Dt0y6iAc.js → vue-ui-dumbbell-PR9tHMvD.js} +48 -46
  60. package/dist/{vue-ui-flow-DoDnRTz2.cjs → vue-ui-flow-CIkXePxd.cjs} +1 -1
  61. package/dist/{vue-ui-flow-CNJvuCPl.js → vue-ui-flow-CxW8g0NW.js} +9 -9
  62. package/dist/{vue-ui-funnel-CzxjqsPW.js → vue-ui-funnel-BJNlWIq5.js} +37 -35
  63. package/dist/vue-ui-funnel-BLXk1z5r.cjs +1 -0
  64. package/dist/{vue-ui-galaxy-Bd3A40CM.cjs → vue-ui-galaxy-C01Apc4E.cjs} +1 -1
  65. package/dist/{vue-ui-galaxy-4lQvAV3d.js → vue-ui-galaxy-DuGLDGzf.js} +11 -11
  66. package/dist/{vue-ui-gauge-C-VzxGad.js → vue-ui-gauge-CBx84KCt.js} +28 -26
  67. package/dist/vue-ui-gauge-Dpcxdegh.cjs +1 -0
  68. package/dist/{vue-ui-gizmo-CE_RL3QC.js → vue-ui-gizmo-BPIyNNkI.js} +3 -3
  69. package/dist/{vue-ui-gizmo-C_H8YGW3.cjs → vue-ui-gizmo-Djw5T_Vr.cjs} +1 -1
  70. package/dist/{vue-ui-heatmap-GRSinjd8.js → vue-ui-heatmap-DI8gVwfM.js} +10 -10
  71. package/dist/{vue-ui-heatmap-9F3jF9Ph.cjs → vue-ui-heatmap-DYPE1Efx.cjs} +1 -1
  72. package/dist/vue-ui-history-plot-BeYYrq5_.cjs +1 -0
  73. package/dist/{vue-ui-history-plot-DmGaPsqO.js → vue-ui-history-plot-CWfWMwqw.js} +56 -54
  74. package/dist/{vue-ui-kpi-Ce45VFCW.cjs → vue-ui-kpi-BjGIj-IQ.cjs} +1 -1
  75. package/dist/{vue-ui-kpi-BeGj6WIY.js → vue-ui-kpi-CBJZp-nE.js} +3 -3
  76. package/dist/{vue-ui-mini-loader-D3edtEz_.cjs → vue-ui-mini-loader-Cafts_cp.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-DE8S92Sq.js → vue-ui-mini-loader-DfeNWsJk.js} +2 -2
  78. package/dist/{vue-ui-molecule-B3DvbGKk.js → vue-ui-molecule-BTO5WRuL.js} +11 -11
  79. package/dist/{vue-ui-molecule-CBXx1n83.cjs → vue-ui-molecule-Ckh2JsOJ.cjs} +1 -1
  80. package/dist/{vue-ui-mood-radar-D86fg_ce.js → vue-ui-mood-radar-CKGwiCsd.js} +11 -11
  81. package/dist/{vue-ui-mood-radar-LiiA0Dc-.cjs → vue-ui-mood-radar-WHFk1KC1.cjs} +1 -1
  82. package/dist/{vue-ui-nested-donuts-BXKM6dJG.cjs → vue-ui-nested-donuts-BvkJoiOT.cjs} +2 -2
  83. package/dist/{vue-ui-nested-donuts-jk4b-l4R.js → vue-ui-nested-donuts-JGie_log.js} +16 -14
  84. package/dist/{vue-ui-onion-DMDU5CNx.cjs → vue-ui-onion-BWoVr0FT.cjs} +2 -2
  85. package/dist/{vue-ui-onion-0OpNltFd.js → vue-ui-onion-BXauNEVz.js} +31 -29
  86. package/dist/{vue-ui-parallel-coordinate-plot-C6z7ZrZv.cjs → vue-ui-parallel-coordinate-plot-BrvB0jer.cjs} +2 -2
  87. package/dist/{vue-ui-parallel-coordinate-plot-CK1Npqa-.js → vue-ui-parallel-coordinate-plot-njogPtYo.js} +62 -60
  88. package/dist/vue-ui-quadrant-D8krEYWV.cjs +1 -0
  89. package/dist/{vue-ui-quadrant-BTXxbgGe.js → vue-ui-quadrant-DnaOzxMc.js} +16 -14
  90. package/dist/{vue-ui-quick-chart-C648x_Ta.cjs → vue-ui-quick-chart-DTiell5S.cjs} +2 -2
  91. package/dist/{vue-ui-quick-chart-DxTYh43Q.js → vue-ui-quick-chart-kAG9Eaxb.js} +55 -53
  92. package/dist/vue-ui-radar-DKB9rVav.cjs +1 -0
  93. package/dist/{vue-ui-radar-ogrYz2LM.js → vue-ui-radar-DRmP5yb4.js} +100 -98
  94. package/dist/{vue-ui-rating-BA3qzlLU.cjs → vue-ui-rating-BtLDJSwm.cjs} +1 -1
  95. package/dist/{vue-ui-rating-BDOw91i1.js → vue-ui-rating-De5IfgHJ.js} +2 -2
  96. package/dist/vue-ui-relation-circle-B2l-2KnH.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-DzIUtPsI.js → vue-ui-relation-circle-DKQl7eWX.js} +56 -54
  98. package/dist/{vue-ui-rings-ZT5FspBJ.js → vue-ui-rings-Dwyz2fEm.js} +39 -37
  99. package/dist/{vue-ui-rings-CC2lRhXV.cjs → vue-ui-rings-KQoMkv4v.cjs} +2 -2
  100. package/dist/vue-ui-scatter-CDT3zyXP.cjs +1 -0
  101. package/dist/{vue-ui-scatter-DWrEQi8R.js → vue-ui-scatter-DeOrkD2Y.js} +52 -50
  102. package/dist/{vue-ui-screenshot-C5qnoqpN.cjs → vue-ui-screenshot-BLp1_Q6K.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-Cu9IDDlN.js → vue-ui-screenshot-D1Ekbb27.js} +1 -1
  104. package/dist/{vue-ui-skeleton-RRyod9qq.js → vue-ui-skeleton-Cw0-Ac_0.js} +3 -3
  105. package/dist/{vue-ui-skeleton-BJjc2poJ.cjs → vue-ui-skeleton-qIxxRRaX.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-y9nTUBhA.cjs → vue-ui-smiley-D3WgXFhb.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-Ph-v2-Ai.js → vue-ui-smiley-D3oqt6Rg.js} +2 -2
  108. package/dist/{vue-ui-spark-trend-CLToG1xM.cjs → vue-ui-spark-trend-CVyPm6ms.cjs} +1 -1
  109. package/dist/{vue-ui-spark-trend-Bny5SJnu.js → vue-ui-spark-trend-DyhcWMWz.js} +5 -5
  110. package/dist/{vue-ui-sparkbar-Cte6J2j-.js → vue-ui-sparkbar-C0av7SAn.js} +4 -4
  111. package/dist/{vue-ui-sparkbar-XuIl0I-2.cjs → vue-ui-sparkbar-CRMMOv0T.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-NGpDEiOA.js → vue-ui-sparkgauge-B3K4si6u.js} +4 -4
  113. package/dist/{vue-ui-sparkgauge-85UuRRgo.cjs → vue-ui-sparkgauge-BQnxP_8u.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-DC6GQfGG.js → vue-ui-sparkhistogram-Bo3pkA-I.js} +5 -5
  115. package/dist/{vue-ui-sparkhistogram-g9PwZ66_.cjs → vue-ui-sparkhistogram-DVAas7L7.cjs} +1 -1
  116. package/dist/vue-ui-sparkline-CDqFBaPU.cjs +1 -0
  117. package/dist/{vue-ui-sparkline-Cv0OStNn.js → vue-ui-sparkline-DIHKGu0H.js} +37 -35
  118. package/dist/{vue-ui-sparkstackbar-Dvi0gC4_.cjs → vue-ui-sparkstackbar-CC-OaMTb.cjs} +1 -1
  119. package/dist/{vue-ui-sparkstackbar-lUSVcaQd.js → vue-ui-sparkstackbar-DG87wFd5.js} +5 -5
  120. package/dist/{vue-ui-stackbar-DjJtIsdz.cjs → vue-ui-stackbar-CVHKHNom.cjs} +2 -2
  121. package/dist/{vue-ui-stackbar-CqbbJfYt.js → vue-ui-stackbar-fZKaRitE.js} +55 -53
  122. package/dist/vue-ui-strip-plot-C1pjZ1AT.cjs +1 -0
  123. package/dist/{vue-ui-strip-plot-BCg5ReEr.js → vue-ui-strip-plot-WOMaN28I.js} +77 -75
  124. package/dist/{vue-ui-table-BLtxfmhY.cjs → vue-ui-table-CTtYDZPd.cjs} +1 -1
  125. package/dist/{vue-ui-table-C0gtq240.js → vue-ui-table-a4m3lpRq.js} +1 -1
  126. package/dist/{vue-ui-table-heatmap-QuqCtJWs.js → vue-ui-table-heatmap-0vDMKYpV.js} +4 -4
  127. package/dist/{vue-ui-table-heatmap-Df4MQoU-.cjs → vue-ui-table-heatmap-i00aBLPq.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-Cgt7aEwb.js → vue-ui-table-sparkline-D5lngzCM.js} +5 -5
  129. package/dist/{vue-ui-table-sparkline-CUD-P2XB.cjs → vue-ui-table-sparkline-DW7t3xfB.cjs} +1 -1
  130. package/dist/{vue-ui-thermometer-Dmba_BQM.js → vue-ui-thermometer-3aeRI-SM.js} +7 -7
  131. package/dist/{vue-ui-thermometer-DwFIhO9V.cjs → vue-ui-thermometer-QtlVD4-S.cjs} +1 -1
  132. package/dist/vue-ui-timer-B1nkj0WG.cjs +64 -0
  133. package/dist/{vue-ui-timer-C7B7kC_T.js → vue-ui-timer-mRaLpRHZ.js} +35 -33
  134. package/dist/{vue-ui-tiremarks-D5xKuhfo.js → vue-ui-tiremarks-Dv2O6FpS.js} +7 -7
  135. package/dist/{vue-ui-tiremarks-Cbu6E711.cjs → vue-ui-tiremarks-xMuvEsN7.cjs} +1 -1
  136. package/dist/vue-ui-treemap-BupfwSFa.cjs +1 -0
  137. package/dist/{vue-ui-treemap-4MV0XnQk.js → vue-ui-treemap-D89aQanB.js} +37 -35
  138. package/dist/{vue-ui-vertical-bar-CXyj54xk.js → vue-ui-vertical-bar-BpLIp4qR.js} +53 -51
  139. package/dist/{vue-ui-vertical-bar-CoReGxcB.cjs → vue-ui-vertical-bar-CwHag6jq.cjs} +2 -2
  140. package/dist/vue-ui-waffle-DuPI0NV4.cjs +1 -0
  141. package/dist/{vue-ui-waffle-DEs7x_2T.js → vue-ui-waffle-sr2mWvpN.js} +50 -48
  142. package/dist/{vue-ui-wheel-g8X99gKX.js → vue-ui-wheel-B7DOHXW8.js} +22 -20
  143. package/dist/vue-ui-wheel-C0KYRHGC.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-BCPMmXhU.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-CVa0GWD2.js → vue-ui-word-cloud-BxMb7oCr.js} +47 -45
  146. package/dist/vue-ui-xy-D5ROTNHD.cjs +3 -0
  147. package/dist/{vue-ui-xy-BGlQK1KX.js → vue-ui-xy-DlyUTKB5.js} +809 -818
  148. package/dist/{vue-ui-xy-canvas-B8lWHhig.cjs → vue-ui-xy-canvas-BDMk6XVE.cjs} +2 -2
  149. package/dist/{vue-ui-xy-canvas-C5WvLq7x.js → vue-ui-xy-canvas-DHvkJKQH.js} +36 -34
  150. package/package.json +1 -1
  151. package/dist/vue-ui-age-pyramid-DZM35V2u.cjs +0 -1
  152. package/dist/vue-ui-donut-B1pUA9f9.cjs +0 -1
  153. package/dist/vue-ui-dumbbell-Cvsoh0T7.cjs +0 -9
  154. package/dist/vue-ui-funnel-BuMkpJAC.cjs +0 -1
  155. package/dist/vue-ui-gauge-BE_j4sWG.cjs +0 -1
  156. package/dist/vue-ui-history-plot-CCRPcG-q.cjs +0 -1
  157. package/dist/vue-ui-quadrant-BseIxY55.cjs +0 -1
  158. package/dist/vue-ui-radar-BRL3W3Na.cjs +0 -1
  159. package/dist/vue-ui-relation-circle-lh7NE0h5.cjs +0 -1
  160. package/dist/vue-ui-scatter-ebuihNvY.cjs +0 -1
  161. package/dist/vue-ui-sparkline-BiqTIIb1.cjs +0 -1
  162. package/dist/vue-ui-strip-plot-y7iID0n4.cjs +0 -1
  163. package/dist/vue-ui-timer-mYvuMMWA.cjs +0 -64
  164. package/dist/vue-ui-treemap-CE67vTLK.cjs +0 -1
  165. package/dist/vue-ui-waffle-8nA0-Wb6.cjs +0 -1
  166. package/dist/vue-ui-wheel-CJr7fA0P.cjs +0 -1
  167. package/dist/vue-ui-word-cloud-B6swJJCN.cjs +0 -1
  168. package/dist/vue-ui-xy-lkMHpHRs.cjs +0 -3
@@ -1,4 +1,4 @@
1
- import { A as o, B as n } from "./index-CFW17vb1.js";
1
+ import { A as o, B as n } from "./index-CXx0JV8R.js";
2
2
  function c({ defaultConfig: e, userConfig: r }) {
3
3
  if (!Object.keys(r || {}).length)
4
4
  return e;
@@ -1 +1 @@
1
- "use strict";const r=require("./index-DtU3BvTq.cjs");function o({defaultConfig:e,userConfig:t}){if(!Object.keys(t||{}).length)return e;const n=r.treeShake({defaultConfig:e,userConfig:t});return r.convertConfigColors(n)}exports.useNestedProp=o;
1
+ "use strict";const r=require("./index-DqxDpUy0.cjs");function o({defaultConfig:e,userConfig:t}){if(!Object.keys(t||{}).length)return e;const n=r.treeShake({defaultConfig:e,userConfig:t});return r.convertConfigColors(n)}exports.useNestedProp=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),a=require("./BaseIcon-64qWZUaJ.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-CaKclr1e.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,5 +1,5 @@
1
1
  import { ref as b, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as R, openBlock as t, createElementBlock as i, normalizeStyle as d, createElementVNode as U, withModifiers as Y, withKeys as Z, createVNode as p, normalizeClass as c, renderSlot as m, Fragment as h, createBlock as f, toDisplayString as $, createCommentVNode as u, normalizeProps as L, mergeProps as w, unref as _ } from "vue";
2
- import a from "./BaseIcon-I6DfuN0D.js";
2
+ import a from "./BaseIcon-CdPe2CAc.js";
3
3
  import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const te = {
5
5
  beforeMount(e, v) {
@@ -1,5 +1,5 @@
1
1
  import { toRefs as R, defineAsyncComponent as e, computed as s, ref as o, onMounted as w, watch as G, shallowReactive as tt, openBlock as c, createElementBlock as et, normalizeStyle as ot, createElementVNode as it, createBlock as m, createCommentVNode as M, createTextVNode as at, toDisplayString as nt, resolveDynamicComponent as rt, mergeProps as lt, toHandlers as ut, createSlots as st, renderList as ct, withCtx as gt, renderSlot as pt, normalizeProps as mt, guardReactiveProps as dt } from "vue";
2
- import $ from "./BaseIcon-I6DfuN0D.js";
2
+ import $ from "./BaseIcon-CdPe2CAc.js";
3
3
  const Vt = { style: { width: "36px" } }, kt = {
4
4
  __name: "vue-data-ui",
5
5
  props: {
@@ -34,65 +34,65 @@ const Vt = { style: { width: "36px" } }, kt = {
34
34
  ],
35
35
  setup(W, { expose: X, emit: Q }) {
36
36
  const n = W, { component: Ut, dataset: j, config: z } = R(n), g = {
37
- VueUi3dBar: e(() => import("./vue-ui-3d-bar-DFyAJ8Js.js")),
38
- VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-Dmve7QfH.js")),
39
- VueUiAnnotator: e(() => import("./vue-ui-annotator-BlXk3QBH.js")),
40
- VueUiCandlestick: e(() => import("./vue-ui-candlestick-BeoPugFC.js")),
41
- VueUiChestnut: e(() => import("./vue-ui-chestnut-DYFaL9sS.js")),
42
- VueUiDashboard: e(() => import("./vue-ui-dashboard-9JNDS8H_.js")),
43
- VueUiDigits: e(() => import("./vue-ui-digits-DNyhJL4P.js")),
44
- VueUiDonut: e(() => import("./vue-ui-donut-rUTpcnu6.js")),
45
- VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-BZgaPkPQ.js")),
46
- VueUiGalaxy: e(() => import("./vue-ui-galaxy-4lQvAV3d.js")),
47
- VueUiGauge: e(() => import("./vue-ui-gauge-C-VzxGad.js")),
48
- VueUiHeatmap: e(() => import("./vue-ui-heatmap-GRSinjd8.js")),
49
- VueUiKpi: e(() => import("./vue-ui-kpi-BeGj6WIY.js")),
50
- VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-DE8S92Sq.js")),
51
- VueUiMolecule: e(() => import("./vue-ui-molecule-B3DvbGKk.js")),
52
- VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-D86fg_ce.js")),
53
- VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-jk4b-l4R.js")),
54
- VueUiOnion: e(() => import("./vue-ui-onion-0OpNltFd.js")),
55
- VueUiQuadrant: e(() => import("./vue-ui-quadrant-BTXxbgGe.js")),
56
- VueUiRadar: e(() => import("./vue-ui-radar-ogrYz2LM.js")),
57
- VueUiRating: e(() => import("./vue-ui-rating-BDOw91i1.js")),
58
- VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-DzIUtPsI.js")),
59
- VueUiRings: e(() => import("./vue-ui-rings-ZT5FspBJ.js")),
60
- VueUiScatter: e(() => import("./vue-ui-scatter-DWrEQi8R.js")),
61
- VueUiScreenshot: e(() => import("./vue-ui-screenshot-Cu9IDDlN.js")),
62
- VueUiSkeleton: e(() => import("./vue-ui-skeleton-RRyod9qq.js")),
63
- VueUiSmiley: e(() => import("./vue-ui-smiley-Ph-v2-Ai.js")),
64
- VueUiSparkbar: e(() => import("./vue-ui-sparkbar-Cte6J2j-.js")),
65
- VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-NGpDEiOA.js")),
66
- VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-DC6GQfGG.js")),
67
- VueUiSparkline: e(() => import("./vue-ui-sparkline-Cv0OStNn.js")),
68
- VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-lUSVcaQd.js")),
69
- VueUiTable: e(() => import("./vue-ui-table-C0gtq240.js")),
70
- VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-Cgt7aEwb.js")),
71
- VueUiThermometer: e(() => import("./vue-ui-thermometer-Dmba_BQM.js")),
72
- VueUiTiremarks: e(() => import("./vue-ui-tiremarks-D5xKuhfo.js")),
73
- VueUiTreemap: e(() => import("./vue-ui-treemap-4MV0XnQk.js")),
74
- VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-CXyj54xk.js")),
75
- VueUiWaffle: e(() => import("./vue-ui-waffle-DEs7x_2T.js")),
76
- VueUiWheel: e(() => import("./vue-ui-wheel-g8X99gKX.js")),
77
- VueUiXy: e(() => import("./vue-ui-xy-BGlQK1KX.js")),
78
- VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-QuqCtJWs.js")),
79
- VueUiAccordion: e(() => import("./vue-ui-accordion-B8vShfXi.js")),
80
- VueUiQuickChart: e(() => import("./vue-ui-quick-chart-DxTYh43Q.js")),
81
- VueUiCursor: e(() => import("./vue-ui-cursor-0SZiJ6tf.js")),
82
- VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-Bny5SJnu.js")),
83
- VueUiStripPlot: e(() => import("./vue-ui-strip-plot-BCg5ReEr.js")),
84
- VueUiDumbbell: e(() => import("./vue-ui-dumbbell-Dt0y6iAc.js")),
85
- VueUiWordCloud: e(() => import("./vue-ui-word-cloud-CVa0GWD2.js")),
86
- VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-C5WvLq7x.js")),
87
- VueUiFlow: e(() => import("./vue-ui-flow-CNJvuCPl.js")),
88
- VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-CK1Npqa-.js")),
89
- VueUiTimer: e(() => import("./vue-ui-timer-C7B7kC_T.js")),
90
- VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-DSJth2mn.js")),
91
- VueUiGizmo: e(() => import("./vue-ui-gizmo-CE_RL3QC.js")),
92
- VueUiStackbar: e(() => import("./vue-ui-stackbar-CqbbJfYt.js")),
93
- VueUiBullet: e(() => import("./vue-ui-bullet-C_689DzY.js")),
94
- VueUiFunnel: e(() => import("./vue-ui-funnel-CzxjqsPW.js")),
95
- VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-DmGaPsqO.js"))
37
+ VueUi3dBar: e(() => import("./vue-ui-3d-bar-1A6t1biQ.js")),
38
+ VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-qfVpUr52.js")),
39
+ VueUiAnnotator: e(() => import("./vue-ui-annotator-CH9QWqAv.js")),
40
+ VueUiCandlestick: e(() => import("./vue-ui-candlestick-RCtFAjEU.js")),
41
+ VueUiChestnut: e(() => import("./vue-ui-chestnut-xDD_4bz2.js")),
42
+ VueUiDashboard: e(() => import("./vue-ui-dashboard-B_4ot4bz.js")),
43
+ VueUiDigits: e(() => import("./vue-ui-digits-BLI4lCZC.js")),
44
+ VueUiDonut: e(() => import("./vue-ui-donut-wBZoPkru.js")),
45
+ VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-ClOGDHiK.js")),
46
+ VueUiGalaxy: e(() => import("./vue-ui-galaxy-DuGLDGzf.js")),
47
+ VueUiGauge: e(() => import("./vue-ui-gauge-CBx84KCt.js")),
48
+ VueUiHeatmap: e(() => import("./vue-ui-heatmap-DI8gVwfM.js")),
49
+ VueUiKpi: e(() => import("./vue-ui-kpi-CBJZp-nE.js")),
50
+ VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-DfeNWsJk.js")),
51
+ VueUiMolecule: e(() => import("./vue-ui-molecule-BTO5WRuL.js")),
52
+ VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-CKGwiCsd.js")),
53
+ VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-JGie_log.js")),
54
+ VueUiOnion: e(() => import("./vue-ui-onion-BXauNEVz.js")),
55
+ VueUiQuadrant: e(() => import("./vue-ui-quadrant-DnaOzxMc.js")),
56
+ VueUiRadar: e(() => import("./vue-ui-radar-DRmP5yb4.js")),
57
+ VueUiRating: e(() => import("./vue-ui-rating-De5IfgHJ.js")),
58
+ VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-DKQl7eWX.js")),
59
+ VueUiRings: e(() => import("./vue-ui-rings-Dwyz2fEm.js")),
60
+ VueUiScatter: e(() => import("./vue-ui-scatter-DeOrkD2Y.js")),
61
+ VueUiScreenshot: e(() => import("./vue-ui-screenshot-D1Ekbb27.js")),
62
+ VueUiSkeleton: e(() => import("./vue-ui-skeleton-Cw0-Ac_0.js")),
63
+ VueUiSmiley: e(() => import("./vue-ui-smiley-D3oqt6Rg.js")),
64
+ VueUiSparkbar: e(() => import("./vue-ui-sparkbar-C0av7SAn.js")),
65
+ VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-B3K4si6u.js")),
66
+ VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-Bo3pkA-I.js")),
67
+ VueUiSparkline: e(() => import("./vue-ui-sparkline-DIHKGu0H.js")),
68
+ VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-DG87wFd5.js")),
69
+ VueUiTable: e(() => import("./vue-ui-table-a4m3lpRq.js")),
70
+ VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-D5lngzCM.js")),
71
+ VueUiThermometer: e(() => import("./vue-ui-thermometer-3aeRI-SM.js")),
72
+ VueUiTiremarks: e(() => import("./vue-ui-tiremarks-Dv2O6FpS.js")),
73
+ VueUiTreemap: e(() => import("./vue-ui-treemap-D89aQanB.js")),
74
+ VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-BpLIp4qR.js")),
75
+ VueUiWaffle: e(() => import("./vue-ui-waffle-sr2mWvpN.js")),
76
+ VueUiWheel: e(() => import("./vue-ui-wheel-B7DOHXW8.js")),
77
+ VueUiXy: e(() => import("./vue-ui-xy-DlyUTKB5.js")),
78
+ VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-0vDMKYpV.js")),
79
+ VueUiAccordion: e(() => import("./vue-ui-accordion-BljYKOXR.js")),
80
+ VueUiQuickChart: e(() => import("./vue-ui-quick-chart-kAG9Eaxb.js")),
81
+ VueUiCursor: e(() => import("./vue-ui-cursor-D6Qndjnn.js")),
82
+ VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-DyhcWMWz.js")),
83
+ VueUiStripPlot: e(() => import("./vue-ui-strip-plot-WOMaN28I.js")),
84
+ VueUiDumbbell: e(() => import("./vue-ui-dumbbell-PR9tHMvD.js")),
85
+ VueUiWordCloud: e(() => import("./vue-ui-word-cloud-BxMb7oCr.js")),
86
+ VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-DHvkJKQH.js")),
87
+ VueUiFlow: e(() => import("./vue-ui-flow-CxW8g0NW.js")),
88
+ VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-njogPtYo.js")),
89
+ VueUiTimer: e(() => import("./vue-ui-timer-mRaLpRHZ.js")),
90
+ VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-BUL063mi.js")),
91
+ VueUiGizmo: e(() => import("./vue-ui-gizmo-BPIyNNkI.js")),
92
+ VueUiStackbar: e(() => import("./vue-ui-stackbar-fZKaRitE.js")),
93
+ VueUiBullet: e(() => import("./vue-ui-bullet-BH7zmX0E.js")),
94
+ VueUiFunnel: e(() => import("./vue-ui-funnel-BJNlWIq5.js")),
95
+ VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-CWfWMwqw.js"))
96
96
  }, K = {
97
97
  VueUi3dBar: ["config", "dataset"],
98
98
  VueUiAgePyramid: ["config", "dataset"],
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./BaseIcon-64qWZUaJ.cjs"),Q={style:{width:"36px"}},z={__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(E,{expose:O,emit:_}){const i=E,{component:K,dataset:N,config:M}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-BHQnk6JC.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-DZM35V2u.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-D9EQpzhs.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-jaQCvTyL.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-B2ufyy3m.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-Cc6YeOue.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-lJ7p7zK0.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-B1pUA9f9.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-CNUN-Ibl.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-Bd3A40CM.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-BE_j4sWG.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-9F3jF9Ph.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-Ce45VFCW.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-D3edtEz_.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-CBXx1n83.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-LiiA0Dc-.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-BXKM6dJG.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-DMDU5CNx.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-BseIxY55.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-BRL3W3Na.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-BA3qzlLU.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-lh7NE0h5.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-CC2lRhXV.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-ebuihNvY.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-C5qnoqpN.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-BJjc2poJ.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-y9nTUBhA.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-XuIl0I-2.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-85UuRRgo.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-g9PwZ66_.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-BiqTIIb1.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-Dvi0gC4_.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-BLtxfmhY.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-CUD-P2XB.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-DwFIhO9V.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-Cbu6E711.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-CE67vTLK.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-CoReGxcB.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-8nA0-Wb6.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-CJr7fA0P.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-lkMHpHRs.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-Df4MQoU-.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-DP9u_TW0.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-C648x_Ta.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-B8ne66iS.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-CLToG1xM.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-y7iID0n4.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-Cvsoh0T7.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-B6swJJCN.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-B8lWHhig.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-DoDnRTz2.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-C6z7ZrZv.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-mYvuMMWA.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-C6TjkSgb.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-C_H8YGW3.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-DjJtIsdz.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-HVCVCTLU.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-BuMkpJAC.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-CCRPcG-q.cjs")))},G={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"]},c=e.computed(()=>!l[i.component]),$=e.computed(()=>l[i.component]||null),o=e.ref(null),W=e.computed(()=>{const t=G[i.component]||[],n={};return t.includes("config")&&(n.config=M.value),t.includes("dataset")&&(n.dataset=N.value),n}),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=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),k=e.ref(()=>null),S=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),I=e.ref(()=>null),x=e.ref(()=>null),F=e.ref(()=>null),H=e.ref(()=>null);e.onMounted(()=>{if(c.value)throw new Error(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./BaseIcon-CaKclr1e.cjs"),Q={style:{width:"36px"}},z={__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(E,{expose:O,emit:_}){const i=E,{component:K,dataset:N,config:M}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-ngD35pLb.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-BgsDYe37.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-pFybuGix.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-DtCmxeo5.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-B6EalNLT.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-B_kj8L_A.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-DKs2fTGz.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-B1Cg4vpI.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-CgB_aexh.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-C01Apc4E.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-Dpcxdegh.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-DYPE1Efx.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-BjGIj-IQ.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-Cafts_cp.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-Ckh2JsOJ.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-WHFk1KC1.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-BvkJoiOT.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-BWoVr0FT.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-D8krEYWV.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-DKB9rVav.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-BtLDJSwm.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-B2l-2KnH.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-KQoMkv4v.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-CDT3zyXP.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-BLp1_Q6K.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-qIxxRRaX.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-D3WgXFhb.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-CRMMOv0T.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-BQnxP_8u.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-DVAas7L7.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-CDqFBaPU.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CC-OaMTb.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-CTtYDZPd.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-DW7t3xfB.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-QtlVD4-S.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-xMuvEsN7.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BupfwSFa.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-CwHag6jq.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-DuPI0NV4.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-C0KYRHGC.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-D5ROTNHD.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-i00aBLPq.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-XAEm2rxj.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-DTiell5S.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-DbV0HXHB.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-CVyPm6ms.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-C1pjZ1AT.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-Cm5O6D4x.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-BCPMmXhU.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-BDMk6XVE.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-CIkXePxd.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-BrvB0jer.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-B1nkj0WG.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-BeDenKJo.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-Djw5T_Vr.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-CVHKHNom.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-C6y7Ddg-.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-BLXk1z5r.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-BeYYrq5_.cjs")))},G={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"]},c=e.computed(()=>!l[i.component]),$=e.computed(()=>l[i.component]||null),o=e.ref(null),W=e.computed(()=>{const t=G[i.component]||[],n={};return t.includes("config")&&(n.config=M.value),t.includes("dataset")&&(n.dataset=N.value),n}),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=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),k=e.ref(()=>null),S=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),I=e.ref(()=>null),x=e.ref(()=>null),F=e.ref(()=>null),H=e.ref(()=>null);e.onMounted(()=>{if(c.value)throw new Error(`
2
2
 
3
3
  Vue Data UI exception:
4
4
  The provided component "${i.component}" does not exist. Check the spelling.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-DtU3BvTq.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.VueUiPattern=e.VueUiPattern;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.abbreviate=e.abbreviate;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.darkenColor=e.darkenColor;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;exports.lightenColor=e.lightenColor;exports.shiftColorHue=e.shiftColorHue;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-DqxDpUy0.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.VueUiPattern=e.VueUiPattern;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.abbreviate=e.abbreviate;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.darkenColor=e.darkenColor;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;exports.lightenColor=e.lightenColor;exports.shiftColorHue=e.shiftColorHue;
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { aa as s, ab as u, ac as V, ad as U, ae as r, af as t, b5 as o, ag as l, b2 as n, ah as b, ai as d, aj as m, ak as C, al as c, am as g, an as k, ao as p, b6 as S, ap as T, aq as h, b3 as D, ar as P, b7 as f, as as y, at as H, au as R, av as A, aw as W, ax as v, ay as x, az as B, b8 as F, aA as G, aB as M, aC as w, aD as L, aE as Q, aF as X, aG as z, aH as E, aI as I, aJ as K, aK as N, aL as O, aM as j, aN as q, aO as J, aP as Y, b4 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, b0 as la, b1 as na, L as ba, a3 as da, b9 as ma, ba as Ca, bb as ca, bc as ga, bd as ka, be as pa } from "./index-CFW17vb1.js";
2
+ import { aa as s, ab as u, ac as V, ad as U, ae as r, af as t, b5 as o, ag as l, b2 as n, ah as b, ai as d, aj as m, ak as C, al as c, am as g, an as k, ao as p, b6 as S, ap as T, aq as h, b3 as D, ar as P, b7 as f, as as y, at as H, au as R, av as A, aw as W, ax as v, ay as x, az as B, b8 as F, aA as G, aB as M, aC as w, aD as L, aE as Q, aF as X, aG as z, aH as E, aI as I, aJ as K, aK as N, aL as O, aM as j, aN as q, aO as J, aP as Y, b4 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, b0 as la, b1 as na, L as ba, a3 as da, b9 as ma, ba as Ca, bb as ca, bc as ga, bd as ka, be as pa } from "./index-CXx0JV8R.js";
3
3
  export {
4
4
  s as Arrow,
5
5
  u as VueDataUi,
@@ -1,13 +1,13 @@
1
1
  import { computed as T, ref as j, watch as Ue, onMounted as Ee, openBlock as n, createElementBlock as i, normalizeClass as Pe, normalizeStyle as D, unref as d, createBlock as G, createCommentVNode as y, createSlots as He, withCtx as N, renderSlot as S, normalizeProps as Z, guardReactiveProps as q, createVNode as Ze, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as qe, nextTick as Xe, pushScopeId as Re, popScopeId as Ye } from "vue";
2
- import { u as Je, c as Se, t as Ke, a as Qe, p as Q, b as et, d as tt, o as lt, e as ee, g as de, l as U, m as je, f as z, X as ot, s as g, h as te, i as le, j as Te, k as I, n as oe, q as st, r as at } from "./index-CFW17vb1.js";
3
- import { _ as nt } from "./Title-C_gOJvlv.js";
4
- import { u as rt, U as ut } from "./usePrinter-19frcFuH.js";
5
- import it from "./vue-ui-skeleton-RRyod9qq.js";
6
- import { D as dt } from "./DataTable-DYhXzoFM.js";
7
- import ct from "./vue-ui-accordion-B8vShfXi.js";
8
- import { u as ze } from "./useNestedProp-HPB1YHuD.js";
9
- import { _ as ht } from "./PackageVersion-CO2IMTO9.js";
10
- import { P as vt } from "./PenAndPaper-CnW2eqXw.js";
2
+ import { u as Je, c as Se, t as Ke, a as Qe, p as Q, b as et, d as tt, o as lt, e as ee, g as de, l as U, m as je, f as z, X as ot, s as g, h as te, i as le, j as Te, k as I, n as oe, q as st, r as at } from "./index-CXx0JV8R.js";
3
+ import { _ as nt } from "./Title-ClQ27HaB.js";
4
+ import { u as rt, U as ut } from "./usePrinter-Ctor1UK0.js";
5
+ import it from "./vue-ui-skeleton-Cw0-Ac_0.js";
6
+ import { D as dt } from "./DataTable-BfiPjHpN.js";
7
+ import ct from "./vue-ui-accordion-BljYKOXR.js";
8
+ import { u as ze } from "./useNestedProp-B-WAbP7E.js";
9
+ import { _ as ht } from "./PackageVersion-qom4AEUr.js";
10
+ import { P as vt } from "./PenAndPaper-C-1AU46J.js";
11
11
  import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
12
12
  import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DtU3BvTq.cjs"),ke=require("./Title-BVwrrnjn.cjs"),ne=require("./usePrinter-CdEwyYTo.cjs"),me=require("./vue-ui-skeleton-BJjc2poJ.cjs"),ye=require("./DataTable-C_6KWwfC.cjs"),ge=require("./vue-ui-accordion-DP9u_TW0.cjs"),re=require("./useNestedProp-Bwqm-3kz.cjs"),$e=require("./PackageVersion-BV362f3w.cjs"),_e=require("./PenAndPaper-DvN8ocWC.cjs"),Be=require("./useUserOptionState-BgepsfED.cjs"),be=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-d1a66464"),N=N(),e.popScopeId(),N),xe=["id"],Ce={key:1,style:"width:100%;background:transparent"},Ee=["xmlns","viewBox"],we=["width","height"],Ne=["id"],Ve=["stop-color"],Fe=["stop-color"],Se=["id"],Me=["stop-color"],Pe=["stop-color"],Oe=["id"],Le=["stop-color"],De=["stop-color"],ze=["id"],Te=["stop-color"],je=["stop-color"],Ae=["stop-color"],Ie={key:1},We=["id"],Ge=["stop-color"],He=["stop-color"],Ue=["id"],qe=["stop-color"],Xe=["stop-color"],Re=["id"],Ze=["stop-color"],Ye=["stop-color"],Je=["id"],Ke=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),Qe=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),et=[Ke,Qe],tt=["x","y","font-size","font-weight","fill"],lt=["x","y"],ot=["d","stroke"],nt=["d","stroke"],rt={key:4},at={key:0},st=["stroke-dasharray","d","stroke","stroke-width"],ut=["stroke-dasharray","d","stroke","stroke-width"],it=["stroke-dasharray","d","stroke","stroke-width"],ct=["stroke-dasharray","d","stroke","stroke-width"],dt={key:1},ht=["d","stroke","stroke-width","fill"],vt=["d","stroke","stroke-width","fill"],pt=["d","stroke","stroke-width","fill"],ft={key:2},kt=["d","fill","onMouseenter","onClick"],mt=["d","fill","onMouseenter","onClick"],yt=["d","fill","onMouseenter","onClick"],gt=["d","onMouseenter","onClick"],$t=["d"],_t=["d","stroke"],Bt=["onClick"],bt=["stroke","d"],xt=["cx","cy","fill","stroke"],Ct=["x","y","width","height"],Et={key:1},wt=["d","stroke"],Nt=["d","fill","stroke"],Vt=["id"],Ft=["stop-color"],St=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),Mt=["stop-color"],Pt=["cx","cy","fill"],Ot=["cx","cy","fill"],Lt={key:0},Dt=["text-anchor","x","y","fill","font-size"],zt=["text-anchor","x","y","fill","font-size"],Tt={key:2},jt=["d","fill","stroke"],At={key:5},It={key:0},Wt=["stroke-dasharray","d","stroke","stroke-width"],Gt=["stroke-dasharray","d","stroke","stroke-width"],Ht=["stroke-dasharray","d","stroke","stroke-width"],Ut=["stroke-dasharray","d","stroke","stroke-width"],qt=["d","stroke","stroke-width","fill"],Xt=["d","stroke","stroke-width","fill"],Rt={key:1},Zt=["onClick"],Yt=["id"],Jt=["stop-color"],Kt=["stop-color"],Qt=["id"],el=["stop-color"],tl=["stop-color"],ll=["stop-color"],ol=["stop-color"],nl=["stop-color"],rl=["onMouseenter","onClick","d","fill"],al=["onMouseenter","onClick","d"],sl=["onMouseenter","onClick","d","fill"],ul=["onClick"],il=["stroke","d"],cl=["cx","cy","fill","stroke"],dl=["x","y","width","height"],hl={key:1},vl=["d","stroke"],pl=["d","fill","stroke"],fl=["id"],kl=["stop-color"],ml=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),yl=["stop-color"],gl=["cx","cy","fill"],$l=["cx","cy","fill"],_l={key:0},Bl=["text-anchor","x","y","fill","font-size"],bl=["text-anchor","x","y","fill","font-size"],xl={key:2},Cl=["d","fill","stroke"],El={key:4,class:"vue-data-ui-watermark"},wl={key:6,ref:"source",dir:"auto"},Nl=["innerHTML"],Vl={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(N,{expose:ae,emit:F}){const f=N,{vue_ui_3d_bar:se}=s.useConfig(),S=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(s.createUid()),ue=e.ref(null),D=e.ref(null),x=e.ref(!1),I=e.ref(0),W=e.ref(0),l=e.computed({get:()=>U(),set:a=>a}),{userOptionsVisible:z,setUserOptionsVisibility:G,keepUserOptionState:H}=Be.useUserOptionState({config:l.value});function U(){const a=re.useNestedProp({userConfig:f.config,defaultConfig:se});return a.theme?{...re.useNestedProp({userConfig:s.themes.vue_ui_3d_bar[a.theme]||f.config,defaultConfig:a}),customPalette:s.themePalettes[a.theme]||s.palette}:a}e.watch(()=>f.config,a=>{l.value=U(),z.value=!l.value.showOnChartHover,Y(),I.value+=1,W.value+=1},{deep:!0});const{isPrinting:q,isImaging:X,generatePdf:R,generateImage:Z}=ne.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),ie=e.computed(()=>s.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 a=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),r=f.dataset.series.map((o,u)=>({...o,id:s.createUid(),proportion:(o.value||0)/a,color:s.convertColorToHex(o.color)||ie.value[u]||s.palette[u]||s.palette[u%s.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<r.length;o+=1)t.push({...r[o],fill:ce(c,r[o].proportion,r[o].breakdown,r[o].color)}),c+=r[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(()=>{Y();let a=0,r=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){E.value+=r+a,a+=t,E.value<f.dataset.percentage?requestAnimationFrame(c):E.value=f.dataset.percentage}l.value.style.chart.animation.use&&(E.value=0,c())});function Y(){s.objectIsEmpty(f.dataset)?s.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((a,r)=>{s.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","value"]}).forEach(t=>{s.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:r})}),a.breakdown&&a.breakdown.forEach((t,c)=>{s.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{s.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${r} - ${c}`})})})}):s.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(a=>{s.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:a})})}function ce(a,r,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*a,A=i-d-v-o*r/2,ve=A>n.value.height/2?"top":"bottom",ee=64,pe=!!t;let te=null,le=null;return pe&&(t=t.map((oe,fe)=>({...oe,value:oe.value||0,color:s.lightenHexColor(c,fe/t.length)})),te=s.makeDonut({series:t},u+n.value.absoluteWidth/4-14,ve==="top"?A-ee:A+ee,28,28,1.99999,2,1,360,105.25,14),le=s.makeDonut({series:t},u-y+20,i-d-v-o*r/2,6,6,1.99999,2,1,360,105.25,6)),{donut:te,miniDonut:le,sidePointer:{x:u-y,y:i-d-v-o*r/2,topY:i-d-v-o*r,height:o*r},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*r,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*r} ${u-y},${i-d-v-o*r} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*r} ${h}, ${i-d-v-o*r} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*r} ${u/2},${i-d-o*r} ${u-y},${i-d-v-o*r}`,liningTopShade:`M${h},${i-d-v-o*r-.5} ${u/2},${i-d-o*r-.5} ${u-y},${i-d-v-o*r-.5}`,top:`M${u/2},${i-d-o*r} ${h},${i-d-v-o*r} ${u/2},${i-d-v*2-o*r} ${u-y},${i-d-v-o*r} Z`,tubeTop:`M${h},${i-d-o*r-v} C ${h},${i-d-o*r-v*2.5} ${u-y},${i-d-o*r-v*2.5} ${u-y},${i-d-o*r-v} C ${u-y},${i-d-o*r+v/2} ${h},${i-d-o*r+v/2} ${h},${i-d-o*r-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"),s=require("./index-DqxDpUy0.cjs"),ke=require("./Title-D3kX1BVl.cjs"),ne=require("./usePrinter-BC7U4s0U.cjs"),me=require("./vue-ui-skeleton-qIxxRRaX.cjs"),ye=require("./DataTable-DuosyZ6d.cjs"),ge=require("./vue-ui-accordion-XAEm2rxj.cjs"),re=require("./useNestedProp-DNWKDmdP.cjs"),$e=require("./PackageVersion-B5rBHZEb.cjs"),_e=require("./PenAndPaper-5OV7IAca.cjs"),Be=require("./useUserOptionState-BgepsfED.cjs"),be=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-d1a66464"),N=N(),e.popScopeId(),N),xe=["id"],Ce={key:1,style:"width:100%;background:transparent"},Ee=["xmlns","viewBox"],we=["width","height"],Ne=["id"],Ve=["stop-color"],Fe=["stop-color"],Se=["id"],Me=["stop-color"],Pe=["stop-color"],Oe=["id"],Le=["stop-color"],De=["stop-color"],ze=["id"],Te=["stop-color"],je=["stop-color"],Ae=["stop-color"],Ie={key:1},We=["id"],Ge=["stop-color"],He=["stop-color"],Ue=["id"],qe=["stop-color"],Xe=["stop-color"],Re=["id"],Ze=["stop-color"],Ye=["stop-color"],Je=["id"],Ke=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),Qe=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),et=[Ke,Qe],tt=["x","y","font-size","font-weight","fill"],lt=["x","y"],ot=["d","stroke"],nt=["d","stroke"],rt={key:4},at={key:0},st=["stroke-dasharray","d","stroke","stroke-width"],ut=["stroke-dasharray","d","stroke","stroke-width"],it=["stroke-dasharray","d","stroke","stroke-width"],ct=["stroke-dasharray","d","stroke","stroke-width"],dt={key:1},ht=["d","stroke","stroke-width","fill"],vt=["d","stroke","stroke-width","fill"],pt=["d","stroke","stroke-width","fill"],ft={key:2},kt=["d","fill","onMouseenter","onClick"],mt=["d","fill","onMouseenter","onClick"],yt=["d","fill","onMouseenter","onClick"],gt=["d","onMouseenter","onClick"],$t=["d"],_t=["d","stroke"],Bt=["onClick"],bt=["stroke","d"],xt=["cx","cy","fill","stroke"],Ct=["x","y","width","height"],Et={key:1},wt=["d","stroke"],Nt=["d","fill","stroke"],Vt=["id"],Ft=["stop-color"],St=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),Mt=["stop-color"],Pt=["cx","cy","fill"],Ot=["cx","cy","fill"],Lt={key:0},Dt=["text-anchor","x","y","fill","font-size"],zt=["text-anchor","x","y","fill","font-size"],Tt={key:2},jt=["d","fill","stroke"],At={key:5},It={key:0},Wt=["stroke-dasharray","d","stroke","stroke-width"],Gt=["stroke-dasharray","d","stroke","stroke-width"],Ht=["stroke-dasharray","d","stroke","stroke-width"],Ut=["stroke-dasharray","d","stroke","stroke-width"],qt=["d","stroke","stroke-width","fill"],Xt=["d","stroke","stroke-width","fill"],Rt={key:1},Zt=["onClick"],Yt=["id"],Jt=["stop-color"],Kt=["stop-color"],Qt=["id"],el=["stop-color"],tl=["stop-color"],ll=["stop-color"],ol=["stop-color"],nl=["stop-color"],rl=["onMouseenter","onClick","d","fill"],al=["onMouseenter","onClick","d"],sl=["onMouseenter","onClick","d","fill"],ul=["onClick"],il=["stroke","d"],cl=["cx","cy","fill","stroke"],dl=["x","y","width","height"],hl={key:1},vl=["d","stroke"],pl=["d","fill","stroke"],fl=["id"],kl=["stop-color"],ml=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),yl=["stop-color"],gl=["cx","cy","fill"],$l=["cx","cy","fill"],_l={key:0},Bl=["text-anchor","x","y","fill","font-size"],bl=["text-anchor","x","y","fill","font-size"],xl={key:2},Cl=["d","fill","stroke"],El={key:4,class:"vue-data-ui-watermark"},wl={key:6,ref:"source",dir:"auto"},Nl=["innerHTML"],Vl={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(N,{expose:ae,emit:F}){const f=N,{vue_ui_3d_bar:se}=s.useConfig(),S=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(s.createUid()),ue=e.ref(null),D=e.ref(null),x=e.ref(!1),I=e.ref(0),W=e.ref(0),l=e.computed({get:()=>U(),set:a=>a}),{userOptionsVisible:z,setUserOptionsVisibility:G,keepUserOptionState:H}=Be.useUserOptionState({config:l.value});function U(){const a=re.useNestedProp({userConfig:f.config,defaultConfig:se});return a.theme?{...re.useNestedProp({userConfig:s.themes.vue_ui_3d_bar[a.theme]||f.config,defaultConfig:a}),customPalette:s.themePalettes[a.theme]||s.palette}:a}e.watch(()=>f.config,a=>{l.value=U(),z.value=!l.value.showOnChartHover,Y(),I.value+=1,W.value+=1},{deep:!0});const{isPrinting:q,isImaging:X,generatePdf:R,generateImage:Z}=ne.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),ie=e.computed(()=>s.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 a=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),r=f.dataset.series.map((o,u)=>({...o,id:s.createUid(),proportion:(o.value||0)/a,color:s.convertColorToHex(o.color)||ie.value[u]||s.palette[u]||s.palette[u%s.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<r.length;o+=1)t.push({...r[o],fill:ce(c,r[o].proportion,r[o].breakdown,r[o].color)}),c+=r[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(()=>{Y();let a=0,r=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){E.value+=r+a,a+=t,E.value<f.dataset.percentage?requestAnimationFrame(c):E.value=f.dataset.percentage}l.value.style.chart.animation.use&&(E.value=0,c())});function Y(){s.objectIsEmpty(f.dataset)?s.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((a,r)=>{s.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","value"]}).forEach(t=>{s.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:r})}),a.breakdown&&a.breakdown.forEach((t,c)=>{s.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{s.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${r} - ${c}`})})})}):s.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(a=>{s.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:a})})}function ce(a,r,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*a,A=i-d-v-o*r/2,ve=A>n.value.height/2?"top":"bottom",ee=64,pe=!!t;let te=null,le=null;return pe&&(t=t.map((oe,fe)=>({...oe,value:oe.value||0,color:s.lightenHexColor(c,fe/t.length)})),te=s.makeDonut({series:t},u+n.value.absoluteWidth/4-14,ve==="top"?A-ee:A+ee,28,28,1.99999,2,1,360,105.25,14),le=s.makeDonut({series:t},u-y+20,i-d-v-o*r/2,6,6,1.99999,2,1,360,105.25,6)),{donut:te,miniDonut:le,sidePointer:{x:u-y,y:i-d-v-o*r/2,topY:i-d-v-o*r,height:o*r},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*r,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*r} ${u-y},${i-d-v-o*r} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*r} ${h}, ${i-d-v-o*r} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*r} ${u/2},${i-d-o*r} ${u-y},${i-d-v-o*r}`,liningTopShade:`M${h},${i-d-v-o*r-.5} ${u/2},${i-d-o*r-.5} ${u-y},${i-d-v-o*r-.5}`,top:`M${u/2},${i-d-o*r} ${h},${i-d-v-o*r} ${u/2},${i-d-v*2-o*r} ${u-y},${i-d-v-o*r} Z`,tubeTop:`M${h},${i-d-o*r-v} C ${h},${i-d-o*r-v*2.5} ${u-y},${i-d-o*r-v*2.5} ${u-y},${i-d-o*r-v} C ${u-y},${i-d-o*r+v/2} ${h},${i-d-o*r+v/2} ${h},${i-d-o*r-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*r-v}
3
3
  C ${h},${i-d-o*r+v/2}
4
4
  ${u-y},${i-d-o*r+v/2}
@@ -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-I6DfuN0D.js";
3
- import { u as x } from "./useNestedProp-HPB1YHuD.js";
4
- import { u as B, c as I } from "./index-CFW17vb1.js";
2
+ import w from "./BaseIcon-CdPe2CAc.js";
3
+ import { u as x } from "./useNestedProp-B-WAbP7E.js";
4
+ import { u as B, c as I } from "./index-CXx0JV8R.js";
5
5
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const F = ["id"], P = {
7
7
  key: 0,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-64qWZUaJ.cjs"),g=require("./useNestedProp-Bwqm-3kz.cjs"),u=require("./index-DtU3BvTq.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-CaKclr1e.cjs"),g=require("./useNestedProp-DNWKDmdP.cjs"),u=require("./index-DqxDpUy0.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;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-DqxDpUy0.cjs"),X=require("./useResponsive-BJ7DTGpm.cjs"),re=require("./Title-D3kX1BVl.cjs"),Y=require("./usePrinter-BC7U4s0U.cjs"),ie=require("./Tooltip-CARCyQNT.cjs"),ne=require("./DataTable-DuosyZ6d.cjs"),ue=require("./vue-ui-skeleton-qIxxRRaX.cjs"),de=require("./vue-ui-accordion-XAEm2rxj.cjs"),J=require("./useNestedProp-DNWKDmdP.cjs"),ce=require("./PackageVersion-B5rBHZEb.cjs"),ve=require("./PenAndPaper-5OV7IAca.cjs"),ye=require("./useUserOptionState-BgepsfED.cjs"),he=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),fe=["id"],pe=["xmlns","viewBox"],ge=["x","y","width","height"],be=["id"],me=["stop-color"],xe=["stop-color"],ke=["id"],we=["stop-color"],Ce=["stop-color"],Ne=["x","y","width","height","fill","rx"],_e=["x","y","width","height","fill","rx"],Le=["x","y","width","height","fill","rx"],Se=["x","y","width","height","fill","rx"],Te={key:0},Be=["x","y","fill","font-size","font-weight"],Ae=["x","y","fill","font-size","font-weight"],$e={key:1},Ee=["x","y","font-size","fill","font-weight"],Ve={key:2},ze={key:0},Pe=["x1","x2","y1","y2","stroke","stroke-width"],Oe=["x1","x2","y1","y2","stroke","stroke-width"],Fe=["x1","x2","y1","y2","stroke","stroke-width"],Ie=["x","y","font-size","fill","font-weight"],De=["x1","x2","y1","y2","stroke","stroke-width"],Me=["x","y","font-size","fill","font-weight"],Re=["x","y","font-size","fill","font-weight"],qe=["x","y","width","height","fill","onMouseover"],Ue={key:5,class:"vue-data-ui-watermark"},Ge={__name:"vue-ui-age-pyramid",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(T,{expose:K}){const u=T,{vue_ui_age_pyramid:Q}=r.useConfig(),m=e.computed(()=>!!u.dataset&&u.dataset.length),c=e.ref(r.createUid()),Z=e.ref(null),C=e.ref(!1),N=e.ref(""),x=e.ref(null),B=e.ref(0),y=e.ref(null),A=e.ref(null),$=e.ref(null),E=e.ref(null),V=e.ref(0),z=e.ref(0),t=e.computed({get:()=>F(),set:l=>l}),{userOptionsVisible:_,setUserOptionsVisibility:P,keepUserOptionState:O}=ye.useUserOptionState({config:t.value});function F(){const l=J.useNestedProp({userConfig:u.config,defaultConfig:Q});return l.theme?{...J.useNestedProp({userConfig:r.themes.vue_ui_age_pyramid[l.theme]||u.config,defaultConfig:l})}:l}e.watch(()=>u.config,l=>{t.value=F(),_.value=!t.value.showOnChartHover,D(),V.value+=1,z.value+=1},{deep:!0});const I=e.ref(null);e.onMounted(()=>{D()});function D(){if(r.objectIsEmpty(u.dataset)&&r.error({componentName:"VueUiAgePyramid",type:"dataset"}),t.value.responsive){const l=X.throttle(()=>{const{width:i,height:o}=X.useResponsive({chart:y.value,title:t.value.style.title.text?A.value:null,source:$.value,noTitle:E.value});requestAnimationFrame(()=>{d.value.width=i,d.value.height=o})});I.value=new ResizeObserver(l),I.value.observe(y.value.parentNode)}}const{isPrinting:M,isImaging:R,generatePdf:q,generateImage:U}=Y.usePrinter({elementId:`vue-ui-age-pyramid_${c.value}`,fileName:t.value.style.title.text||"vue-ui-age-pyramid"}),ee=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),v=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.tooltip.show}),d=e.ref({height:t.value.style.height,width:t.value.style.width}),s=e.computed(()=>{const l=d.value.width-t.value.style.layout.padding.right-t.value.style.layout.padding.left,i=t.value.style.layout.padding.left,o=d.value.width-t.value.style.layout.padding.right;return{top:t.value.style.layout.padding.top,left:i,right:o,bottom:d.value.height-t.value.style.layout.padding.bottom,width:l,height:d.value.height-t.value.style.layout.padding.top-t.value.style.layout.padding.bottom,centerX:t.value.style.layout.padding.left+l/2,leftChart:{width:l/2-t.value.style.layout.centerSlit.width,right:i+l/2-t.value.style.layout.centerSlit.width},rightChart:{width:l/2-t.value.style.layout.centerSlit.width,left:i+l/2+t.value.style.layout.centerSlit.width}}}),te=e.computed(()=>u.dataset.map(l=>t.value.style.layout.dataLabels.yAxis.display==="age"?l[1]:l[0])),h=e.computed(()=>{const l=le(b.value/5),i=[],o=[];for(let a=0;a<=5;a+=1){const n=l*a,j=l*(a-5);i.push({value:n,x:s.value.left+s.value.width/2+t.value.style.layout.centerSlit.width+n/b.value*s.value.leftChart.width}),o.push({value:Math.abs(j),x:s.value.left+s.value.width/2+j/b.value*s.value.leftChart.width-t.value.style.layout.centerSlit.width})}return{right:i,left:o}});function le(l){if(l===0)return 0;const o=10**Math.floor(Math.log10(Math.abs(l)));let a;return l<0,a=Math.round(l/o)*o,a}const b=e.computed(()=>Math.max(...u.dataset.flatMap(l=>l.slice(-2).map(i=>r.checkNaN(i))))),f=e.computed(()=>u.dataset.length),oe=e.computed(()=>u.dataset.map(l=>({segment:l[0],age:l[1],left:{value:l[2],proportionToMax:l[2]/b.value},right:{value:l[3],proportionToMax:l[3]/b.value}}))),p=e.computed(()=>oe.value.map((l,i)=>{const o=s.value.top+s.value.height/f.value*i,a=s.value.height/f.value-t.value.style.layout.bars.gap;return{segment:l.segment,age:l.age,left:{...l.left,y:o,color:t.value.style.layout.bars.left.color,x:s.value.leftChart.right-l.left.proportionToMax*s.value.leftChart.width,width:r.checkNaN(l.left.proportionToMax*s.value.leftChart.width),height:a},right:{...l.right,y:o,color:t.value.style.layout.bars.right.color,x:s.value.rightChart.left,width:r.checkNaN(l.right.proportionToMax*s.value.rightChart.width),height:a}}})),L=e.ref(null);function ae(l,i){x.value=l,L.value={datapoint:i,seriesIndex:l,series:p.value,config:t.value};const o=t.value.style.tooltip.customFormat;if(r.isFunction(o)&&r.functionReturnsString(()=>o({seriesIndex:l,datapoint:{segment:i[0],index:i[1],left:i[2],right:i[3]},series:p.value,config:t.value})))N.value=o({seriesIndex:l,datapoint:{segment:i[0],index:i[1],left:i[2],right:i[3]},series:p.value,config:t.value});else{let a="";const n=p.value[l];a+=`<div><b>${n.segment}</b></div>`,a+=`<div>${t.value.translations.age}: ${r.applyDataLabel(t.value.style.layout.dataLabels.yAxis.formatter,r.checkNaN(n.age),r.dataLabel({v:r.checkNaN(n.age)}),{datapoint:i,seriesIndex:l})}</div>`,a+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}">`,a+='<div style="display:flex; flex-direction:row;gap:12px">',a+=`<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${c.value})`:t.value.style.layout.bars.left.color}"/></svg><div>${t.value.translations.female}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.left.value),r.dataLabel({v:r.checkNaN(n.left.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+=`<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${c.value})`:t.value.style.layout.bars.right.color}"/></svg><div>${t.value.translations.male}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.right.value),r.dataLabel({v:r.checkNaN(n.right.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+="</div>",a+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}"><div>${t.value.translations.total}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.right.value)+r.checkNaN(n.left.value),r.dataLabel({v:r.checkNaN(n.right.value)+r.checkNaN(n.left.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+="</div>",N.value=`<div>${a}</div>`}C.value=!0}function G(){e.nextTick(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],i=u.dataset.map(n=>[n[0],n[1],n[2],n[3],n[2]+n[3]]),o=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(i),a=r.createCsvContent(o);r.downloadCsv({csvContent:a,title:t.value.style.title.text||"vue-ui-heatmap"})})}const k=e.computed(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],i=u.dataset.map(a=>[a[0],a[1],a[2].toLocaleString(),a[3].toLocaleString(),(a[2]+a[3]).toLocaleString()]),o={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{head:l,body:i,config:o,colNames:l}}),g=e.ref(!1);function se(l){g.value=l,B.value+=1}function H(){v.value.showTable=!v.value.showTable}function W(){v.value.showTooltip=!v.value.showTooltip}const w=e.ref(!1);function S(){w.value=!w.value}return K({generatePdf:q,generateCsv:G,generateImage:U,toggleTable:H,toggleTooltip:W,toggleAnnotator:S}),(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-age-pyramid ${g.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"agePyramid",ref:y,id:`vue-ui-age-pyramid_${c.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:i[2]||(i[2]=()=>e.unref(P)(!0)),onMouseleave:i[3]||(i[3]=()=>e.unref(P)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ve.PenAndPaper,{key:0,parent:y.value,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,active:w.value,onClose:S},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),ee.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:E,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:A,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(re._sfc_main,{key:`title_${V.value}`,config:{title:{cy:"pyramid-div-title",...t.value.style.title},subtitle:{cy:"pyramid-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&m.value&&(e.unref(O)||e.unref(_))?(e.openBlock(),e.createBlock(Y.UserOptions,{ref_key:"details",ref:Z,key:`user_options_${B.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(R),isPrinting:e.unref(M),uid:c.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:g.value,isTooltip:v.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:y.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:se,onGeneratePdf:e.unref(q),onGenerateCsv:G,onGenerateImage:e.unref(U),onToggleTable:H,onToggleTooltip:W,onToggleAnnotator:S,style:e.normalizeStyle({visibility:e.unref(O)?e.unref(_)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:a})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:a})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:a})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:a})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":g.value,"vue-data-ui-fulscreen--off":!g.value}),viewBox:`0 0 ${d.value.width<=0?10:d.value.width} ${d.value.height<=0?10:d.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.color}`)},[e.createVNode(ce._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:s.value.left,y:s.value.top,width:s.value.width,height:s.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,ge)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`age_pyramid_left_${c.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.bars.left.color},null,8,me),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(e.unref(r.shiftHue)(t.value.style.layout.bars.left.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,xe)],8,be),e.createElementVNode("linearGradient",{id:`age_pyramid_right_${c.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(e.unref(r.shiftHue)(t.value.style.layout.bars.right.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,we),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.bars.right.color},null,8,Ce)],8,ke)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:o.left.x,y:o.left.y,width:e.unref(r.checkNaN)(o.left.width<=0?1e-4:o.left.width),height:o.left.height<=0?1e-4:o.left.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,Ne),e.createElementVNode("rect",{x:o.left.x,y:o.left.y,width:o.left.width<=0?1e-4:o.left.width,height:o.left.height<=0?1e-4:o.left.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${c.value})`:o.left.color,rx:t.value.style.layout.bars.borderRadius},null,8,_e),e.createElementVNode("rect",{x:o.right.x,y:o.right.y,width:o.right.width<=0?1e-4:o.right.width,height:o.right.height<=0?1e-4:o.right.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,Le),e.createElementVNode("rect",{x:o.right.x,y:o.right.y,width:o.right.width<=0?1e-4:o.right.width,height:o.right.height<=0?1e-4:o.right.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${c.value})`:o.right.color,rx:t.value.style.layout.bars.borderRadius},null,8,Se)]))),256)),e.createElementVNode("g",null,[t.value.style.layout.dataLabels.sideTitles.show?(e.openBlock(),e.createElementBlock("g",Te,[e.createElementVNode("text",{x:s.value.left,y:s.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.left.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"start","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.female),9,Be),e.createElementVNode("text",{x:s.value.right,y:s.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.right.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"end","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.male),9,Ae)])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",$e,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(te.value,(o,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a%t.value.style.layout.dataLabels.yAxis.showEvery===0?(e.openBlock(),e.createElementBlock("text",{key:0,x:s.value.centerX,y:s.value.top+s.value.height/f.value*a+t.value.style.layout.dataLabels.yAxis.fontSize/3,"text-anchor":"middle","font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color,"font-weight":t.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.layout.dataLabels.yAxis.formatter,o,e.unref(r.dataLabel)({v:o}),{datapoint:o,seriesIndex:a})),9,Ee)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",Ve,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("g",ze,[e.createElementVNode("line",{x1:h.value.right[0].x,x2:h.value.right.at(-1).x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Pe),e.createElementVNode("line",{x1:h.value.left[0].x,x2:h.value.left.at(-1).x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Oe)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.right,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Fe)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:o.x,y:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,o.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(r.dataLabel)({v:o.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:o,seriesIndex:a})),9,Ie)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.left,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,De)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:o.x,y:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,o.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(r.dataLabel)({v:o.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:o,seriesIndex:a})),9,Me)]))),256)),e.createElementVNode("text",{x:s.value.right,y:d.value.height,"text-anchor":"end","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(t.value.style.layout.dataLabels.xAxis.translation),9,Re)])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.dataset,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:s.value.left,y:s.value.top+s.value.height/f.value*a-t.value.style.layout.bars.gap/2,width:s.value.width<=0?1e-4:s.value.width,height:s.value.height/f.value<=0?1e-4:s.value.height/f.value,fill:x.value!==null&&x.value===a?e.unref(r.setOpacity)(t.value.style.highlighter.color,t.value.style.highlighter.opacity):"transparent",onMouseover:n=>ae(a,o),onMouseleave:i[0]||(i[0]=n=>{x.value=null,C.value=!1})},null,40,qe)]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,pe)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ue,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(M)||e.unref(R)})),void 0,!0)])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ue.default,{key:6,config:{type:"pyramid",style:{backgroundColor:t.value.style.backgroundColor,pyramid:{color:"#CCCCCC"}}}},null,8,["config"])),e.renderSlot(l.$slots,"legend",{legend:p.value},void 0,!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:$,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(ie._sfc_main,{show:v.value.showTooltip&&C.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,fontSize:t.value.style.tooltip.fontSize,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,offsetY:t.value.style.tooltip.offsetY,parent:y.value,content:N.value,isFullscreen:g.value,isCustom:t.value.style.tooltip.customFormat&&typeof t.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...L.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...L.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),m.value?(e.openBlock(),e.createBlock(de.default,{key:8,hideDetails:"",config:{open:v.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color},head:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(ne.DataTable,{key:`table_${z.value}`,colNames:k.value.colNames,head:k.value.head,body:k.value.body,config:k.value.config,title:`${t.value.style.title.text}${t.value.style.title.subtitle.text?` : ${t.value.style.title.subtitle.text}`:""}`,onClose:i[1]||(i[1]=o=>v.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createTextVNode(e.toDisplayString(o),1)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,fe))}},He=he._export_sfc(Ge,[["__scopeId","data-v-71fdf5af"]]);exports.default=He;
@@ -1,15 +1,15 @@
1
1
  import { computed as b, ref as v, watch as Te, onMounted as Ae, openBlock as i, createElementBlock as r, normalizeClass as ye, normalizeStyle as W, unref as u, createBlock as S, createCommentVNode as y, createSlots as Le, withCtx as p, renderSlot as h, normalizeProps as I, guardReactiveProps as F, createVNode as he, createElementVNode as d, Fragment as z, renderList as P, toDisplayString as w, createTextVNode as fe, nextTick as Se } from "vue";
2
- import { u as ze, c as Oe, t as Ie, o as Fe, e as Pe, v as f, X as Me, s as X, w as ce, i as k, f as _, x as Ne, y as Re, q as De, r as Ge } from "./index-CFW17vb1.js";
2
+ import { u as ze, c as Oe, t as Ie, o as Fe, e as Pe, v as f, X as Me, s as X, w as ce, i as k, f as _, x as Ne, y as Re, q as De, r as Ge } from "./index-CXx0JV8R.js";
3
3
  import { t as Ue, u as Be } from "./useResponsive-CoxXLe23.js";
4
- import { _ as Ee } from "./Title-C_gOJvlv.js";
5
- import { u as Ve, U as We } from "./usePrinter-19frcFuH.js";
6
- import { _ as Xe } from "./Tooltip-Czv48jTt.js";
7
- import { D as je } from "./DataTable-DYhXzoFM.js";
8
- import He from "./vue-ui-skeleton-RRyod9qq.js";
9
- import Ye from "./vue-ui-accordion-B8vShfXi.js";
10
- import { u as ge } from "./useNestedProp-HPB1YHuD.js";
11
- import { _ as qe } from "./PackageVersion-CO2IMTO9.js";
12
- import { P as Je } from "./PenAndPaper-CnW2eqXw.js";
4
+ import { _ as Ee } from "./Title-ClQ27HaB.js";
5
+ import { u as Ve, U as We } from "./usePrinter-Ctor1UK0.js";
6
+ import { _ as Xe } from "./Tooltip-CGYgJoPR.js";
7
+ import { D as je } from "./DataTable-BfiPjHpN.js";
8
+ import He from "./vue-ui-skeleton-Cw0-Ac_0.js";
9
+ import Ye from "./vue-ui-accordion-BljYKOXR.js";
10
+ import { u as ge } from "./useNestedProp-B-WAbP7E.js";
11
+ import { _ as qe } from "./PackageVersion-qom4AEUr.js";
12
+ import { P as Je } from "./PenAndPaper-C-1AU46J.js";
13
13
  import { u as Ke } from "./useUserOptionState-BIvW1Kz7.js";
14
14
  import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["x", "y", "width", "height"], lt = ["id"], at = ["stop-color"], ot = ["stop-color"], st = ["id"], it = ["stop-color"], ut = ["stop-color"], rt = ["x", "y", "width", "height", "fill", "rx"], nt = ["x", "y", "width", "height", "fill", "rx"], dt = ["x", "y", "width", "height", "fill", "rx"], vt = ["x", "y", "width", "height", "fill", "rx"], yt = { key: 0 }, ht = ["x", "y", "fill", "font-size", "font-weight"], ft = ["x", "y", "fill", "font-size", "font-weight"], ct = { key: 1 }, gt = ["x", "y", "font-size", "fill", "font-weight"], pt = { key: 2 }, bt = { key: 0 }, xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kt = ["x", "y", "font-size", "fill", "font-weight"], _t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ct = ["x", "y", "font-size", "fill", "font-weight"], $t = ["x", "y", "font-size", "fill", "font-weight"], Tt = ["x", "y", "width", "height", "fill", "onMouseover"], At = {
@@ -67,7 +67,9 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["x", "y", "width", "height"]
67
67
  source: q.value,
68
68
  noTitle: J.value
69
69
  });
70
- g.value.width = s, g.value.height = l;
70
+ requestAnimationFrame(() => {
71
+ g.value.width = s, g.value.height = l;
72
+ });
71
73
  });
72
74
  le.value = new ResizeObserver(t), le.value.observe(C.value.parentNode);
73
75
  }
@@ -713,7 +715,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["x", "y", "width", "height"]
713
715
  }, 8, ["config"])) : y("", !0)
714
716
  ], 46, Ze));
715
717
  }
716
- }, Vt = /* @__PURE__ */ Qe(Lt, [["__scopeId", "data-v-8fdd585f"]]);
718
+ }, Vt = /* @__PURE__ */ Qe(Lt, [["__scopeId", "data-v-71fdf5af"]]);
717
719
  export {
718
720
  Vt as default
719
721
  };