vue-data-ui 2.4.50 → 2.4.52

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 (200) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-D1z9KkQN.js → Arrow-BuBoE64l.js} +1 -1
  3. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-CFlFdPC5.cjs} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-zmxwsaLW.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-COkA4Nyz.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-CwAdpLng.cjs} +1 -1
  8. package/dist/{Legend-Bbz-hKDf.cjs → Legend-CR9ydX8N.cjs} +1 -1
  9. package/dist/{Legend-Br7MWNDo.js → Legend-bYlSC7I7.js} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-Dz3KcTL4.js} +1 -1
  12. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-BycdTwSP.js} +3 -3
  13. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
  14. package/dist/{Shape-BD37ZaX9.cjs → Shape-BBp5EwJH.cjs} +1 -1
  15. package/dist/{Shape-B7Mekpyf.js → Shape-BDJJ38uM.js} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-D_DaIThC.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-B7ruS8yl.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aMb2ETf7.js} +1 -1
  20. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-BRZ3DT4p.js} +1 -1
  21. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-BqSN71SL.cjs} +1 -1
  22. package/dist/index-BkXYJDpD.cjs +9 -0
  23. package/dist/{index-BtL_cLa8.js → index-K5uyh1gA.js} +5 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
  28. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-DifqJZAs.js} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-DHv-BwME.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-p_ZZlGc9.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-3PlAeIlX.js} +60 -60
  34. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-PrijRaoI.js} +355 -349
  38. package/dist/vue-ui-3d-bar-VQyMytda.cjs +19 -0
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
  41. package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
  42. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-DFYykOow.js} +260 -254
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
  45. package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
  46. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-Ybz4qPWl.js} +147 -141
  47. package/dist/vue-ui-candlestick-BxcwK8UI.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-DsVBdCz_.js} +231 -225
  49. package/dist/vue-ui-carousel-table-C2ThrWYt.js +379 -0
  50. package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-BacH0ZYK.js} +258 -252
  52. package/dist/vue-ui-chestnut-Cw8LKuZG.cjs +6 -0
  53. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
  54. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
  55. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
  56. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
  57. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
  58. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-CyTjq_oN.js} +2 -2
  59. package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
  60. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-BxLlCBhU.js} +402 -396
  61. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +320 -314
  62. package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
  63. package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-D0PjpD19.js} +267 -261
  65. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-BuTJcn6b.js} +174 -168
  66. package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
  67. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-CxO1aav3.js} +190 -184
  68. package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-B2uwYVgz.js} +199 -193
  70. package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
  71. package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-CqhJx__t.js} +213 -207
  73. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
  74. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
  75. package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-DLNzJh--.js} +291 -285
  77. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-CH2mN74k.js} +258 -252
  78. package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
  79. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
  80. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-BAwzIU19.js} +300 -295
  84. package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
  85. package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
  86. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-BXOWHB57.js} +202 -196
  87. package/dist/vue-ui-nested-donuts-D1EF5IEw.cjs +17 -0
  88. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-F1pwFa1Y.js} +298 -292
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-C9dEaRbc.js} +214 -208
  90. package/dist/vue-ui-onion-nA8sXxh-.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +260 -254
  92. package/dist/vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-C_hJHr9T.js} +278 -272
  94. package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
  95. package/dist/vue-ui-quick-chart-C5v_8Kpw.cjs +15 -0
  96. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-D4k-zSan.js} +474 -466
  97. package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
  98. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-WKQ-TavD.js} +265 -259
  99. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-BrSnMkzF.js} +2 -2
  100. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
  101. package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-DzZ5H4og.js +498 -0
  103. package/dist/vue-ui-rings-1qwg2E0O.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-43dY-4_7.js} +206 -201
  105. package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-q6Sfqa4W.js} +330 -324
  107. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
  108. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
  109. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
  110. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
  111. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
  112. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
  113. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
  114. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
  119. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
  120. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BeXW23yH.js} +382 -376
  126. package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-CG-wp65N.js} +261 -255
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-BzuWkWse.js} +1 -1
  131. package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-obAYC2HB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-CW0-ubzl.js} +288 -236
  135. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-BmgPuIr6.js} +187 -181
  136. package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
  137. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-6eWSNYld.js} +5 -5
  138. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
  139. package/dist/vue-ui-tiremarks-DeEI5TAa.js +323 -0
  140. package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
  141. package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-tlPZye6M.js} +261 -255
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-BIst1a32.js} +251 -245
  144. package/dist/vue-ui-vertical-bar-CCXF79YU.cjs +4 -0
  145. package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
  146. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-iJT4g4Ht.js} +333 -327
  147. package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
  148. package/dist/vue-ui-wheel-v1_jsNWp.js +305 -0
  149. package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-DR8E1ArH.js} +247 -241
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-BZ3lbw6i.js} +708 -697
  152. package/dist/vue-ui-xy-CvFWhRR-.cjs +3 -0
  153. package/dist/vue-ui-xy-canvas-BVw3zOIC.cjs +9 -0
  154. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-hPcU2SBK.js} +344 -338
  155. package/package.json +1 -1
  156. package/dist/index-DoD-GxZR.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
  159. package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
  160. package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
  162. package/dist/vue-ui-carousel-table-I1m4HMWf.js +0 -373
  163. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  164. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  165. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  166. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  167. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  168. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  169. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  170. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  171. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  172. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  173. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  174. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  175. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  176. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  177. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  178. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  179. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  180. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  182. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  183. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  184. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  185. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  186. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  188. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  189. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  190. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  192. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  193. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  194. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  195. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  196. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  197. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  198. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  199. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  200. package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-BkXYJDpD.cjs"),me=require("./useResponsive-BJ7DTGpm.cjs"),Ee=require("./Title-B7ruS8yl.cjs"),be=require("./usePrinter-DHv-BwME.cjs"),Fe=require("./DataTable-CwAdpLng.cjs"),Te=require("./Tooltip-BqSN71SL.cjs"),Oe=require("./Legend-CR9ydX8N.cjs"),Pe=require("./vue-ui-skeleton-BTN1PKkz.cjs"),ze=require("./vue-ui-accordion-kr18wKfc.cjs"),ge=require("./useNestedProp-C6IvqE-r.cjs"),De=require("./PackageVersion-C1F3QLoY.cjs"),Ie=require("./PenAndPaper-DDheVRNG.cjs"),Ae=require("./useUserOptionState-BgepsfED.cjs"),Me=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),q=x=>(e.pushScopeId("data-v-36b04f69"),x=x(),e.popScopeId(),x),Ue=["id"],Re=["xmlns","viewBox"],qe=["id"],Ye=q(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF","stop-opacity":"0"},null,-1)),Xe=["offset","stop-color"],Ge=["offset","stop-opacity"],He=q(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF","stop-opacity":"0"},null,-1)),We=["id"],Je=["id"],Ke=q(()=>e.createElementVNode("feColorMatrix",{type:"saturate",values:"0"},null,-1)),Qe=["id"],Ze=["flood-color"],je=["d","fill","stroke","stroke-width","filter"],et={key:0},tt=["d","fill"],lt={key:1},at=["x","y","font-size","font-weight","fill"],ot={key:2},nt=["filter"],rt=["text-anchor","x","y","fill","font-size","font-weight"],st=["text-anchor","x","y","fill","font-size","font-weight"],ut=["text-anchor","x","y","fill","font-size","font-weight"],it=["d","fill","onMouseenter","onClick"],ct={key:5,class:"vue-data-ui-watermark"},dt={key:0,class:"vue-ui-nested-donuts-legend-title"},vt=["onClick"],ft=["innerHTML"],pt={__name:"vue-ui-nested-donuts",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(x,{expose:ke,emit:Y}){const k=x,{vue_ui_nested_donuts:Ce}=r.useConfig(),$=e.computed(()=>!!k.dataset&&k.dataset.length),p=e.ref(r.createUid()),T=e.ref(!1),O=e.ref(""),Le=e.ref(null),X=e.ref(0),w=e.ref(null),G=e.ref(null),P=e.ref(null),H=e.ref(null),W=e.ref(null),J=e.ref(0),K=e.ref(0),Q=e.ref(0),B=e.ref(!1);function we(l){B.value=l,X.value+=1}const t=e.computed({get:()=>ee(),set:l=>l}),{userOptionsVisible:z,setUserOptionsVisibility:Z,keepUserOptionState:j}=Ae.useUserOptionState({config:t.value});function ee(){const l=ge.useNestedProp({userConfig:k.config,defaultConfig:Ce});return l.theme?{...ge.useNestedProp({userConfig:r.themes.vue_ui_nested_donuts[l.theme]||k.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>k.config,l=>{t.value=ee(),z.value=!t.value.showOnChartHover,te(),J.value+=1,K.value+=1,Q.value+=1},{deep:!0});const N=e.ref(null);e.onMounted(()=>{te()});function te(){if(r.objectIsEmpty(k.dataset)&&r.error({componentName:"VueUiNestedDonuts",type:"dataset"}),t.value.responsive){const l=me.throttle(()=>{const{width:s,height:o}=me.useResponsive({chart:w.value,title:t.value.style.chart.title.text?G.value:null,legend:t.value.style.chart.legend.show?P.value:null,source:H.value,noTitle:W.value});d.value.width=s,d.value.height=o});N.value=new ResizeObserver(l),N.value.observe(w.value.parentNode)}}e.onBeforeUnmount(()=>{N.value&&N.value.disconnect()});const{isPrinting:le,isImaging:ae,generatePdf:oe,generateImage:ne}=be.usePrinter({elementId:`nested_donuts_${p.value}`,fileName:t.value.style.chart.title.text||"vue-ui-nested-donuts"}),Be=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),xe=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),h=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),d=e.ref({height:512,width:512});function $e({datapoint:l,index:s}){Y("selectDatapoint",{datapoint:l,index:s})}const v=e.ref([]),m=e.computed(()=>(k.dataset.forEach((l,s)=>{[null,void 0].includes(l.name)&&r.error({componentName:"VueUiNestedDonuts",type:"datasetSerieAttribute",property:"name",index:s}),[null,void 0].includes(l.series)?r.error({componentName:"VueUiNestedDonuts",type:"datasetSerieAttribute",property:"series",index:s}):l.series.length===0?r.error({componentName:"VueUiNestedDonuts",type:"datasetAttributeEmpty",property:`series at index ${s}`}):l.series.forEach((o,n)=>{[null,void 0].includes(o.name)&&r.error({componentName:"VueUiNestedDonuts",type:"datasetSerieAttribute",property:"name",index:n,key:"serie"}),[null,void 0].includes(o.values)&&r.error({componentName:"VueUiNestedDonuts",type:"datasetSerieAttribute",property:"values",index:n,key:"serie"})})}),k.dataset.map((l,s)=>({...l,total:l.series.filter(o=>!v.value.includes(o.id)).map(o=>r.sanitizeArray(o.values).reduce((n,a)=>n+a,0)).reduce((o,n)=>o+n,0),datasetIndex:s,id:`${p.value}_${s}`,series:l.series.map((o,n)=>({name:o.name,arcOf:l.name,arcOfId:`${p.value}_${s}`,id:`${p.value}_${s}_${n}`,seriesIndex:n,datasetIndex:s,color:r.convertColorToHex(o.color)||xe.value[n]||r.palette[n]||r.palette[n%r.palette.length],value:r.sanitizeArray(o.values).reduce((a,u)=>a+u,0),absoluteValues:o.values||[]}))})))),b=e.computed(()=>Math.min(d.value.height,d.value.width)*(t.value.style.chart.layout.donut.strokeWidth/512)),re=e.computed(()=>[...m.value].map((l,s)=>{const o=l.series.filter(n=>!v.value.includes(n.id)).map(n=>n.value).reduce((n,a)=>n+a,0);return{...l,total:o,series:l.series.filter(n=>!v.value.includes(n.id)).map(n=>({...n,proportion:n.value/o}))}}));function Ne(l,s,o){let n=0;for(let a=0;a<l.length;a+=1)o.includes(l[a])&&(n+=1);return n<s}const c=e.ref(re.value);e.watch(()=>re.value,l=>c.value=l);const se=e.ref(null),ue=e.ref(null);function D(l){Y("selectLegend",l);const s=m.value.flatMap(i=>i.series).find(i=>i.id===l.id),o=c.value.flatMap(i=>i.series).find(i=>i.id===l.id);let a=o?o.value:0;const u=m.value.find(i=>i.id===s.arcOfId).series.map(i=>i.id),f=Ne(u,u.length-1,v.value);if(v.value.includes(l.id)){let i=function(){a>s.value?(cancelAnimationFrame(se.value),c.value=c.value.map(y=>({...y,series:y.series.map(g=>g.id==l.id?{...g,value:s.value}:g)}))):(a+=s.value*.025,c.value=c.value.map(y=>({...y,series:y.series.map(g=>g.id===l.id?{...g,value:a}:g)})),se.value=requestAnimationFrame(i))};v.value=v.value.filter(y=>y!==l.id),i()}else if(f){let i=function(){a<.1?(cancelAnimationFrame(ue.value),v.value.push(l.id),c.value=c.value.map((y,g)=>({...y,series:y.series.map(L=>L.id===l.id?{...L,value:0}:L)}))):(a/=1.1,c.value=c.value.map((y,g)=>({...y,series:y.series.map(L=>L.id===l.id?{...L,value:a}:L)})),ue.value=requestAnimationFrame(i))};i()}}const I=e.computed(()=>b.value/m.value.length*t.value.style.chart.layout.donut.spacingRatio),ie=e.computed(()=>c.value.map((l,s)=>b.value-s*b.value/m.value.length)),_=e.computed(()=>c.value.map((l,s)=>{const o=s*b.value/m.value.length;return{...l,radius:b.value-o,donut:r.makeDonut({series:l.series},d.value.width/2,d.value.height/2,b.value-o,b.value-o,1.99999,2,1,360,105.25,I.value)}})),ce=e.computed(()=>[...m.value].map((l,s)=>{const o=s*b.value/m.value.length;return{sizeRatio:o,donut:r.makeDonut({series:[{value:1}]},d.value.width/2,d.value.height/2,b.value-o,b.value-o,1.99999,2,1,360,105.25,b.value/m.value.length*t.value.style.chart.layout.donut.spacingRatio)[0]}})),de=e.ref(null),S=e.ref(null),V=e.ref(null),A=e.ref(null);function _e({datapoint:l,_relativeIndex:s,seriesIndex:o}){de.value=l.arcOfId,S.value=l.id,V.value=o,A.value={datapoint:l,seriesIndex:o,series:c.value,config:t.value};const n=t.value.style.chart.tooltip.customFormat;if(r.isFunction(n)&&r.functionReturnsString(()=>n({seriesIndex:o,datapoint:l,series:c.value,config:t.value})))O.value=n({seriesIndex:o,datapoint:l,series:c.value,config:t.value});else{let a="";if(t.value.style.chart.tooltip.showAllItemsAtIndex&&v.value.length===0){const u=c.value.map(f=>f.series.find(i=>i.seriesIndex===o));u.forEach((f,i)=>{if(!f)return"";a+=`
2
+ <div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${i<u.length-1?`border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor}`:""}">
3
+ <div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
4
+ <svg viewBox="0 0 20 20" height="${t.value.style.chart.tooltip.fontSize}" width="${t.value.style.chart.tooltip.fontSize}">
5
+ <circle cx="10" cy="10" r="10" fill="${f.color}"/>
6
+ </svg>
7
+ <span>
8
+ ${f.arcOf??""} - ${f.name}
9
+ </span>
10
+ </div>
11
+ <span>
12
+ ${t.value.style.chart.tooltip.showValue?`<b>${r.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,l.value,r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:l,seriesIndex:o})}
13
+ </b>`:""}
14
+ ${t.value.style.chart.tooltip.showPercentage?`(${r.dataLabel({v:f.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})`:""}
15
+ </span>
16
+ </div>
17
+ `})}else a+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.arcOf??""} - ${l.name}</div>`,a+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`,t.value.style.chart.tooltip.showValue&&(a+=`<b>${r.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,l.value,r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:l,seriesIndex:o})}</b>`),t.value.style.chart.tooltip.showPercentage&&(t.value.style.chart.tooltip.showValue?a+=`<span>(${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})</span></div>`:a+=`<b>${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</b></div>`);O.value=`<div style="font-size:${t.value.style.chart.tooltip.fontSize}px">${a}</div>`}T.value=!0}function M(l){return l.proportion*100>t.value.style.chart.layout.labels.dataLabels.hideUnderValue}function ve(l,s){if(!t.value.useBlurOnHover)return"";if(t.value.style.chart.tooltip.showAllItemsAtIndex&&v.value.length===0)return[null,void 0].includes(V.value)||V.value===s?"":`url(#blur_${p.value})`;if(!t.value.style.chart.tooltip.showAllItemsAtIndex||v.value.length)return[null,void 0].includes(S.value)||S.value===l.id?"":`url(#blur_${p.value})`}const U=e.computed(()=>m.value.map((l,s)=>l.series.map((o,n)=>({name:o.name,color:o.color,value:o.value,shape:"circle",arcOf:o.arcOf,id:o.id,seriesIndex:n,datasetIndex:s,total:l.series.filter(a=>!v.value.includes(a.id)).map(a=>a.value).reduce((a,u)=>a+u,0)})).map(o=>({...o,opacity:v.value.includes(o.id)?.5:1,segregate:()=>D(o),isSegregated:v.value.includes(o.id)})))),Se=e.computed(()=>({cy:"nested-donuts-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),C=e.computed(()=>{const l=c.value.flatMap(o=>o.series.map(n=>({name:`${o.name} - ${n.name}`,color:n.color,total:o.total}))),s=c.value.flatMap(o=>o.series.map(n=>n.value));return{head:l,body:s}});function fe(){e.nextTick(()=>{const l=C.value.head.map((n,a)=>[[n.name],[C.value.body[a]],[isNaN(C.value.body[a]/n.total)?"-":C.value.body[a]/n.total*100]]),s=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),o=r.createCsvContent(s);r.downloadCsv({csvContent:o,title:t.value.style.chart.title.text||"vue-ui-nested-donuts"})})}const E=e.computed(()=>{const l=[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage],s=C.value.head.map((a,u)=>{const f=r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:C.value.body[u],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue});return[{color:a.color,name:a.name},f,isNaN(C.value.body[u]/a.total)?"-":r.dataLabel({v:C.value.body[u]/a.total*100,s:"%",r:t.value.table.td.roundingPercentage})]}),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{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage],head:l,body:s,config:o}});function Ve(){return m.value}function pe(){h.value.showTable=!h.value.showTable}function he(){h.value.dataLabels.show=!h.value.dataLabels.show}function ye(){h.value.showTooltip=!h.value.showTooltip}const F=e.ref(!1);function R(){F.value=!F.value}return ke({getData:Ve,generatePdf:oe,generateCsv:fe,generateImage:ne,toggleTable:pe,toggleLabels:he,toggleTooltip:ye,toggleAnnotator:R}),(l,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"nestedDonutsChart",ref:w,class:e.normalizeClass(`vue-ui-nested-donuts ${B.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),id:`nested_donuts_${p.value}`,onMouseenter:s[3]||(s[3]=()=>e.unref(Z)(!0)),onMouseleave:s[4]||(s[4]=()=>e.unref(Z)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Ie.PenAndPaper,{key:0,parent:w.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:F.value,onClose:R},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),Be.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:W,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:G},[(e.openBlock(),e.createBlock(Ee._sfc_main,{key:`title_${J.value}`,config:{title:{cy:"donut-div-title",...t.value.style.chart.title},subtitle:{cy:"donut-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&$.value&&(e.unref(j)||e.unref(z))?(e.openBlock(),e.createBlock(be.UserOptions,{ref:"details",key:`user_option_${X.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(le),isImaging:e.unref(ae),uid:p.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.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,hasLabel:t.value.userOptions.buttons.labels,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:B.value,isTooltip:h.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:w.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:F.value,onToggleFullscreen:we,onGeneratePdf:e.unref(oe),onGenerateCsv:fe,onGenerateImage:e.unref(ne),onToggleTable:pe,onToggleLabels:he,onToggleTooltip:ye,onToggleAnnotator:R,style:e.normalizeStyle({visibility:e.unref(j)?e.unref(z)?"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.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionLabels",{},void 0,!0)]),key:"5"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:n})),void 0,!0)]),key:"6"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:n})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasLabel","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":B.value,"vue-data-ui-fulscreen--off":!B.value}),viewBox:`0 0 ${d.value.width<=0?.001:d.value.width} ${d.value.height<0?.001:d.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(De._sfc_main),e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ce.value,(o,n)=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`radial_${p.value}_${n}`},[Ye,e.createElementVNode("stop",{offset:`${(1-I.value/ie.value[n])*100}%`,"stop-color":e.unref(r.setOpacity)("#FFFFFF",0),"stop-opacity":"0"},null,8,Xe),e.createElementVNode("stop",{offset:`${(1-I.value/ie.value[n]/2)*100}%`,"stop-color":"#FFFFFF","stop-opacity":t.value.style.chart.gradientIntensity/100},null,8,Ge),He],8,qe))),256))]),e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${p.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:2,id:`blur_std_${p.value}`},null,8,Je),Ke],8,We),e.createElementVNode("filter",{id:`shadow_${p.value}`,"color-interpolation-filters":"sRGB"},[e.createElementVNode("feDropShadow",{dx:"0",dy:"0",stdDeviation:"10","flood-opacity":"0.5","flood-color":t.value.style.chart.layout.donut.shadowColor},null,8,Ze)],8,Qe)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.donut,(a,u)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{class:"vue-ui-donut-arc-path",d:a.arcSlice,fill:e.unref(r.setOpacity)(a.color,80),stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth,filter:ve(a,u)},null,8,je)]))),256))]))),256)),t.value.style.chart.useGradient?(e.openBlock(),e.createElementBlock("g",et,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ce.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{d:o.donut.arcSlice,fill:`url(#radial_${p.value}_${n})`,stroke:"transparent","stroke-width":"0"},null,8,tt)]))),256))])):e.createCommentVNode("",!0),t.value.style.chart.layout.labels.dataLabels.showDonutName?(e.openBlock(),e.createElementBlock("g",lt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.donut,(a,u)=>(e.openBlock(),e.createElementBlock("g",null,[u===0&&d.value.width&&d.value.height?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass({animated:t.value.useCssAnimation}),x:d.value.width/2,y:a.startY-t.value.style.chart.layout.labels.dataLabels.fontSize+t.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,"text-anchor":"middle","font-size":t.value.style.chart.layout.labels.dataLabels.fontSize,"font-weight":t.value.style.chart.layout.labels.dataLabels.boldDonutName?"bold":"normal",fill:t.value.style.chart.layout.labels.dataLabels.color},e.toDisplayString(t.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation?e.unref(r.abbreviate)({source:o.name,length:t.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize}):o.name),11,at)):e.createCommentVNode("",!0)]))),256))]))),256))])):e.createCommentVNode("",!0),t.value.style.chart.layout.labels.dataLabels.show?(e.openBlock(),e.createElementBlock("g",ot,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.donut,(a,u)=>(e.openBlock(),e.createElementBlock("g",{filter:ve(a,u)},[M(a)&&h.value.dataLabels.show&&t.value.style.chart.layout.labels.dataLabels.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass({animated:t.value.useCssAnimation}),"text-anchor":e.unref(r.calcMarkerOffsetX)(a,!0).anchor,x:e.unref(r.calcMarkerOffsetX)(a,!1,t.value.style.chart.layout.labels.dataLabels.offsetX).x||0,y:e.unref(r.calcMarkerOffsetY)(a,t.value.style.chart.layout.labels.dataLabels.offsetY,t.value.style.chart.layout.labels.dataLabels.offsetY),fill:t.value.style.chart.layout.labels.dataLabels.useSerieColor?a.color:t.value.style.chart.layout.labels.dataLabels.color,"font-size":t.value.style.chart.layout.labels.dataLabels.fontSize,"font-weight":t.value.style.chart.layout.labels.dataLabels.boldPercentage?"bold":"normal"},e.toDisplayString(e.unref(r.dataLabel)({v:a.proportion*100,s:"%",r:t.value.style.chart.layout.labels.dataLabels.roundingPercentage})),11,rt)):e.createCommentVNode("",!0),M(a)&&h.value.dataLabels.show&&t.value.style.chart.layout.labels.dataLabels.showPercentage&&t.value.style.chart.layout.labels.dataLabels.showValue?(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass({animated:t.value.useCssAnimation}),"text-anchor":e.unref(r.calcMarkerOffsetX)(a,!0).anchor,x:e.unref(r.calcMarkerOffsetX)(a,!1,t.value.style.chart.layout.labels.dataLabels.offsetX).x||0,y:e.unref(r.calcMarkerOffsetY)(a,t.value.style.chart.layout.labels.dataLabels.offsetY,t.value.style.chart.layout.labels.dataLabels.offsetY)+t.value.style.chart.layout.labels.dataLabels.fontSize,fill:t.value.style.chart.layout.labels.dataLabels.useSerieColor?a.color:t.value.style.chart.layout.labels.dataLabels.color,"font-size":t.value.style.chart.layout.labels.dataLabels.fontSize,"font-weight":t.value.style.chart.layout.labels.dataLabels.boldValue?"bold":"normal"}," ("+e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,a.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:a.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.layout.labels.dataLabels.roundingValue}),{datapoint:a,seriesIndex:n,datapointIndex:u}))+") ",11,st)):e.createCommentVNode("",!0),M(a)&&h.value.dataLabels.show&&!t.value.style.chart.layout.labels.dataLabels.showPercentage&&t.value.style.chart.layout.labels.dataLabels.showValue?(e.openBlock(),e.createElementBlock("text",{key:2,class:e.normalizeClass({animated:t.value.useCssAnimation}),"text-anchor":e.unref(r.calcMarkerOffsetX)(a,!0).anchor,x:e.unref(r.calcMarkerOffsetX)(a,!1,t.value.style.chart.layout.labels.dataLabels.offsetX).x||0,y:e.unref(r.calcMarkerOffsetY)(a,t.value.style.chart.layout.labels.dataLabels.offsetY,t.value.style.chart.layout.labels.dataLabels.offsetY),fill:t.value.style.chart.layout.labels.dataLabels.useSerieColor?a.color:t.value.style.chart.layout.labels.dataLabels.color,"font-size":t.value.style.chart.layout.labels.dataLabels.fontSize,"font-weight":t.value.style.chart.layout.labels.dataLabels.boldValue?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,a.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:a.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.layout.labels.dataLabels.roundingValue}),{datapoint:a,seriesIndex:n,datapointIndex:u})),11,ut)):e.createCommentVNode("",!0)],8,nt))),256))]))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.donut,(a,u)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{"data-cy-donut-trap":"",d:a.arcSlice,fill:Le.value===n?"rgba(0,0,0,0.1)":"transparent",onMouseenter:f=>_e({datapoint:a,relativeIndex:n,seriesIndex:a.seriesIndex}),onClick:f=>$e({datapoint:a,index:u}),onMouseleave:s[0]||(s[0]=f=>{T.value=!1,de.value=null,S.value=null,V.value=null})},null,40,it)]))),256))]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,Re)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",ct,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(le)||e.unref(ae)})),void 0,!0)])):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Pe.default,{key:6,config:{type:"donut",style:{backgroundColor:t.value.style.chart.backgroundColor,donut:{color:"#CCCCCC"}}}},null,8,["config"])),e.createVNode(Te._sfc_main,{show:h.value.showTooltip&&T.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,fontSize:t.value.style.chart.tooltip.fontSize,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:w.value,content:O.value,isFullscreen:B.value,isCustom:e.unref(r.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...A.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...A.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),t.value.style.chart.legend.show?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"chartLegend",ref:P,class:e.normalizeClass({"vue-ui-nested-donuts-legend":U.value.length>1})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,(o,n)=>(e.openBlock(),e.createBlock(Oe.Legend,{key:`legend_${n}_${Q.value}`,legendSet:o,config:Se.value,onClickMarker:s[1]||(s[1]=({legend:a})=>D(a))},{legendTitle:e.withCtx(({titleSet:a})=>[a[0]&&a[0].arcOf?(e.openBlock(),e.createElementBlock("div",dt,e.toDisplayString(a[0].arcOf),1)):e.createCommentVNode("",!0)]),item:e.withCtx(({legend:a,index:u})=>[e.createElementVNode("div",{onClick:f=>D(a),style:e.normalizeStyle(`opacity:${v.value.includes(a.id)?.5:1}`)},[e.createTextVNode(e.toDisplayString(a.name)+": "+e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,a.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:a.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:a,seriesIndex:u}))+" ",1),v.value.includes(a.id)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(" ( - % ) ")],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(" ("+e.toDisplayString(isNaN(a.value/a.total)?"-":e.unref(r.dataLabel)({v:a.value/a.total*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1)],64))],12,vt)]),_:2},1032,["legendSet","config"]))),128))],2)):e.createCommentVNode("",!0),t.value.style.chart.legend.show?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:8,ref_key:"chartLegend",ref:P},[e.renderSlot(l.$slots,"legend",{legend:U.value},void 0,!0)],512)),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:9,ref_key:"source",ref:H,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createBlock(ze.default,{key:10,hideDetails:"",config:{open:h.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Fe.DataTable,{key:`table_${K.value}`,colNames:E.value.colNames,head:E.value.head,body:E.value.body,config:E.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:s[2]||(s[2]=o=>h.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createElementVNode("div",{innerHTML:o,style:{display:"flex","align-items":"center"}},null,8,ft)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o.name||o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ue))}},ht=Me._export_sfc(pt,[["__scopeId","data-v-36b04f69"]]);exports.default=ht;