vue-data-ui 2.6.42 → 2.6.44-beta.0

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 (161) hide show
  1. package/README.md +1 -1
  2. package/dist/{Arrow-i50QW7Eq.js → Arrow-BoxEqBI9.js} +1 -1
  3. package/dist/{Arrow-C6-3JiKs.cjs → Arrow-DIUU40P5.cjs} +1 -1
  4. package/dist/{BaseIcon-BYl8WVrn.js → BaseIcon-BDBwHXHX.js} +1 -1
  5. package/dist/{BaseIcon-CGjwy6WD.cjs → BaseIcon-HOCzoYbs.cjs} +1 -1
  6. package/dist/{ColorPicker-Cpi--TbY.cjs → ColorPicker-BE7dtNKz.cjs} +1 -1
  7. package/dist/{ColorPicker-rv2BDrXO.js → ColorPicker-D5xsaimt.js} +3 -3
  8. package/dist/{DataTable-Dp7g_Ei4.cjs → DataTable-CWmGoVel.cjs} +1 -1
  9. package/dist/{DataTable-B_PZ5EQ5.js → DataTable-DpYrmdKR.js} +2 -2
  10. package/dist/{Legend-BB51QBPV.js → Legend-Bns8n5XI.js} +2 -2
  11. package/dist/{Legend-BB6S3gBp.cjs → Legend-CAcWDl5L.cjs} +1 -1
  12. package/dist/{PackageVersion-Cz-oD7U6.js → PackageVersion-C-jBIpMs.js} +1 -1
  13. package/dist/{PackageVersion-Dj3KQ8Ax.cjs → PackageVersion-KqTLourS.cjs} +1 -1
  14. package/dist/{PenAndPaper-DOTH2X_u.js → PenAndPaper-B1x7gtt0.js} +3 -3
  15. package/dist/{PenAndPaper-OCjAJH70.cjs → PenAndPaper-Bhj2KfFw.cjs} +1 -1
  16. package/dist/{Shape-CGBgd_EH.js → Shape-B53a4cKQ.js} +1 -1
  17. package/dist/{Shape-DCTTj5cs.cjs → Shape-BejVJkvz.cjs} +1 -1
  18. package/dist/{Slicer-Dhto2Wym.js → Slicer-BUH3aQru.js} +2 -2
  19. package/dist/{Slicer-BHKFOTCG.cjs → Slicer-ZM-g13q7.cjs} +1 -1
  20. package/dist/{Title-BkwZ_rBI.cjs → Title-B5DeSNYN.cjs} +1 -1
  21. package/dist/{Title-y0r2c8bY.js → Title-CuyN78xN.js} +1 -1
  22. package/dist/{Tooltip-DhhX9jKQ.cjs → Tooltip-BfRrUigu.cjs} +1 -1
  23. package/dist/{Tooltip-CbWEnMUw.js → Tooltip-CoZJLSUy.js} +1 -1
  24. package/dist/documentation/installation.md +2 -2
  25. package/dist/{index-DWsIpwzs.js → index-BjeHPQB2.js} +5 -3
  26. package/dist/index-CFpKg6bb.cjs +9 -0
  27. package/dist/style.css +1 -1
  28. package/dist/types/vue-data-ui.d.cts +2 -0
  29. package/dist/types/vue-data-ui.d.ts +2 -0
  30. package/dist/{useNestedProp-B8CE091o.cjs → useNestedProp-D1QXXl5v.cjs} +1 -1
  31. package/dist/{useNestedProp-Bole8bsm.js → useNestedProp-jWaei8o8.js} +1 -1
  32. package/dist/{usePrinter-B8LELMkA.js → usePrinter-BDx4dDHp.js} +1 -1
  33. package/dist/{usePrinter-Cqxw0sR7.cjs → usePrinter-D9AdulyE.cjs} +1 -1
  34. package/dist/{vue-data-ui-Dizs9qYs.cjs → vue-data-ui-DHxKOYW-.cjs} +1 -1
  35. package/dist/{vue-data-ui-BHNNKB7k.js → vue-data-ui-DVsBaIUb.js} +61 -61
  36. package/dist/vue-data-ui.cjs +1 -1
  37. package/dist/vue-data-ui.js +1 -1
  38. package/dist/{vue-ui-3d-bar-D1DTuPTJ.js → vue-ui-3d-bar-ConzsB93.js} +9 -9
  39. package/dist/{vue-ui-3d-bar-D-jstByg.cjs → vue-ui-3d-bar-Cz46fEZ0.cjs} +1 -1
  40. package/dist/{vue-ui-accordion-10T9IdE-.cjs → vue-ui-accordion-BMLckzAQ.cjs} +1 -1
  41. package/dist/{vue-ui-accordion-WrimcQK1.js → vue-ui-accordion-CrDhNoyv.js} +3 -3
  42. package/dist/{vue-ui-age-pyramid-0uO95dEL.cjs → vue-ui-age-pyramid-CDADFGzK.cjs} +1 -1
  43. package/dist/{vue-ui-age-pyramid-vSOQxYMZ.js → vue-ui-age-pyramid-DS4QeJhs.js} +10 -10
  44. package/dist/{vue-ui-annotator-DuX2lvw8.js → vue-ui-annotator-Bfc_tJu5.js} +1 -1
  45. package/dist/{vue-ui-annotator-CzqmXArP.cjs → vue-ui-annotator-RGa73O7h.cjs} +1 -1
  46. package/dist/{vue-ui-bullet-ni1A0wmE.js → vue-ui-bullet-B8lNyqBU.js} +8 -8
  47. package/dist/{vue-ui-bullet-hJsuFbdK.cjs → vue-ui-bullet-lJ7H217l.cjs} +1 -1
  48. package/dist/{vue-ui-candlestick-CtFOtkuX.js → vue-ui-candlestick-CG3Btn-O.js} +11 -11
  49. package/dist/{vue-ui-candlestick-JSYKg3QU.cjs → vue-ui-candlestick-LN1alZy4.cjs} +1 -1
  50. package/dist/{vue-ui-carousel-table-Bc8SG-3_.js → vue-ui-carousel-table-BPPE00f_.js} +4 -4
  51. package/dist/{vue-ui-carousel-table-BJsBlOAu.cjs → vue-ui-carousel-table-CPGwzLmi.cjs} +1 -1
  52. package/dist/{vue-ui-chestnut-VR_UxBpO.js → vue-ui-chestnut-CDahTtnd.js} +8 -8
  53. package/dist/{vue-ui-chestnut-EPeVQvs_.cjs → vue-ui-chestnut-Cc84Oypu.cjs} +1 -1
  54. package/dist/{vue-ui-circle-pack-NstojV4G.cjs → vue-ui-circle-pack-CxueIMwV.cjs} +1 -1
  55. package/dist/{vue-ui-circle-pack-ECXVp4H4.js → vue-ui-circle-pack-xNnpqKCg.js} +9 -9
  56. package/dist/{vue-ui-cursor-IZ28NWCv.cjs → vue-ui-cursor-C1SnyUxK.cjs} +1 -1
  57. package/dist/{vue-ui-cursor-DRP_eOrg.js → vue-ui-cursor-CglUvQEj.js} +2 -2
  58. package/dist/{vue-ui-dashboard-BVoasjGP.cjs → vue-ui-dashboard-BqmoMynd.cjs} +1 -1
  59. package/dist/{vue-ui-dashboard-Bg4eu3bx.js → vue-ui-dashboard-CVuQnChA.js} +2 -2
  60. package/dist/{vue-ui-digits-B2qzXXO6.js → vue-ui-digits-32Kp_eG8.js} +2 -2
  61. package/dist/{vue-ui-digits-BKR62-KQ.cjs → vue-ui-digits-DCBTsq9c.cjs} +1 -1
  62. package/dist/{vue-ui-donut-Bnc5n4vE.cjs → vue-ui-donut-BLx9gvvp.cjs} +1 -1
  63. package/dist/{vue-ui-donut-BWbLJHC5.js → vue-ui-donut-CsC2XlsB.js} +12 -12
  64. package/dist/{vue-ui-donut-evolution-DyQPblkZ.cjs → vue-ui-donut-evolution-BVgSIx_N.cjs} +1 -1
  65. package/dist/{vue-ui-donut-evolution-Cpmdg9Na.js → vue-ui-donut-evolution-CoHKwqOx.js} +11 -11
  66. package/dist/{vue-ui-dumbbell-BjGLUyTB.cjs → vue-ui-dumbbell-BFSenYlM.cjs} +1 -1
  67. package/dist/{vue-ui-dumbbell-kOEJnUNy.js → vue-ui-dumbbell-BtlUd-Uf.js} +10 -10
  68. package/dist/{vue-ui-flow-DVvxwHKl.js → vue-ui-flow-CQfZK1gp.js} +9 -9
  69. package/dist/{vue-ui-flow-BxqHFumu.cjs → vue-ui-flow-Cmy--LB8.cjs} +1 -1
  70. package/dist/{vue-ui-funnel-CPGQJsTE.cjs → vue-ui-funnel-CuYKPXfV.cjs} +1 -1
  71. package/dist/{vue-ui-funnel-Dh9Zio3k.js → vue-ui-funnel-ZDkI00Ns.js} +9 -9
  72. package/dist/{vue-ui-galaxy-DBrUSx1b.js → vue-ui-galaxy-Dw_3R-md.js} +11 -11
  73. package/dist/{vue-ui-galaxy-S4L3B76T.cjs → vue-ui-galaxy-X7w_aTcI.cjs} +1 -1
  74. package/dist/{vue-ui-gauge-Cs-ypQfN.cjs → vue-ui-gauge-1DflQ456.cjs} +1 -1
  75. package/dist/{vue-ui-gauge-tZvlIU-S.js → vue-ui-gauge-e4FDUuhW.js} +7 -7
  76. package/dist/{vue-ui-gizmo-Dci5soUk.js → vue-ui-gizmo-B6n0z4F6.js} +3 -3
  77. package/dist/{vue-ui-gizmo-CCSsG2_b.cjs → vue-ui-gizmo-DX6dnsfI.cjs} +1 -1
  78. package/dist/{vue-ui-heatmap-DOcrZCVa.js → vue-ui-heatmap-DBzP4OF3.js} +10 -10
  79. package/dist/{vue-ui-heatmap-DJ7wdUPo.cjs → vue-ui-heatmap-Df4bNpxS.cjs} +1 -1
  80. package/dist/{vue-ui-history-plot-qtdp25Sg.js → vue-ui-history-plot-DDrPZ1aW.js} +11 -11
  81. package/dist/{vue-ui-history-plot-Cdbru79N.cjs → vue-ui-history-plot-XPpTXFdp.cjs} +1 -1
  82. package/dist/{vue-ui-kpi-vLsne_Vi.cjs → vue-ui-kpi-DCnXbmlM.cjs} +1 -1
  83. package/dist/{vue-ui-kpi-DTXy_HfT.js → vue-ui-kpi-DllQnaM_.js} +3 -3
  84. package/dist/{vue-ui-mini-loader-CuWWrNo9.cjs → vue-ui-mini-loader-CAksZ5CW.cjs} +1 -1
  85. package/dist/{vue-ui-mini-loader-B1MEbk8x.js → vue-ui-mini-loader-DUUOG16Y.js} +2 -2
  86. package/dist/{vue-ui-molecule-BwO_9sCz.js → vue-ui-molecule-CNT6Iqi5.js} +10 -10
  87. package/dist/{vue-ui-molecule-huq_1VnO.cjs → vue-ui-molecule-DyQHaYZM.cjs} +1 -1
  88. package/dist/{vue-ui-mood-radar-CLiiGRyR.js → vue-ui-mood-radar-CprLBHpU.js} +11 -11
  89. package/dist/{vue-ui-mood-radar-B4k3k2q7.cjs → vue-ui-mood-radar-j9nneyUO.cjs} +1 -1
  90. package/dist/{vue-ui-nested-donuts-CxAFaOns.js → vue-ui-nested-donuts-CF-jSyUa.js} +11 -11
  91. package/dist/{vue-ui-nested-donuts-t_TWJrWV.cjs → vue-ui-nested-donuts-Cg1p47uP.cjs} +1 -1
  92. package/dist/{vue-ui-onion-DIQLewG_.cjs → vue-ui-onion-CGvPHton.cjs} +1 -1
  93. package/dist/{vue-ui-onion-gweww1Nd.js → vue-ui-onion-lAop0oO0.js} +11 -11
  94. package/dist/{vue-ui-parallel-coordinate-plot-B48BZpEc.cjs → vue-ui-parallel-coordinate-plot-CF1Dt-34.cjs} +1 -1
  95. package/dist/{vue-ui-parallel-coordinate-plot-Dos2dhCW.js → vue-ui-parallel-coordinate-plot-vM7BVVi0.js} +12 -12
  96. package/dist/{vue-ui-quadrant-fXKeOjn-.js → vue-ui-quadrant-DlAbj_j6.js} +12 -12
  97. package/dist/{vue-ui-quadrant-BYDJYypD.cjs → vue-ui-quadrant-Te6mWq8u.cjs} +1 -1
  98. package/dist/{vue-ui-quick-chart-BojZdQHp.js → vue-ui-quick-chart-CIFSsg2O.js} +9 -9
  99. package/dist/{vue-ui-quick-chart-BVVVrJyc.cjs → vue-ui-quick-chart-CJ69T4A5.cjs} +1 -1
  100. package/dist/{vue-ui-radar-C5mA8lGM.cjs → vue-ui-radar-Bpw4Ol7S.cjs} +1 -1
  101. package/dist/{vue-ui-radar-D4mB15zr.js → vue-ui-radar-DJJEwaWW.js} +12 -12
  102. package/dist/{vue-ui-rating-BG_CF73W.js → vue-ui-rating-BWQ3gtDw.js} +2 -2
  103. package/dist/{vue-ui-rating-P9KkC2lE.cjs → vue-ui-rating-CEOcHUR1.cjs} +1 -1
  104. package/dist/{vue-ui-relation-circle-CfNGeO3G.cjs → vue-ui-relation-circle-EAC-_4KL.cjs} +1 -1
  105. package/dist/{vue-ui-relation-circle-xYqp0Vj9.js → vue-ui-relation-circle-hTF7gfQf.js} +7 -7
  106. package/dist/{vue-ui-rings-CTw5Guq9.js → vue-ui-rings-BHhzJO6R.js} +12 -12
  107. package/dist/{vue-ui-rings-Ba7xV0bh.cjs → vue-ui-rings-nshYhfg6.cjs} +1 -1
  108. package/dist/{vue-ui-scatter-CMhOzUfw.js → vue-ui-scatter-B05oU03T.js} +12 -12
  109. package/dist/{vue-ui-scatter-UeHQSMn_.cjs → vue-ui-scatter-mkaSgzbX.cjs} +1 -1
  110. package/dist/{vue-ui-screenshot-Dqiqn0Tt.cjs → vue-ui-screenshot-BkHsxMBx.cjs} +1 -1
  111. package/dist/{vue-ui-screenshot-DkB1LMw4.js → vue-ui-screenshot-DcYLymGX.js} +1 -1
  112. package/dist/{vue-ui-skeleton-BZsFiqo5.cjs → vue-ui-skeleton-C_vRaZhI.cjs} +1 -1
  113. package/dist/{vue-ui-skeleton-DDZb9FFJ.js → vue-ui-skeleton-Db5GDVLW.js} +3 -3
  114. package/dist/{vue-ui-smiley-BgS5Przf.js → vue-ui-smiley-BVsPtDbp.js} +2 -2
  115. package/dist/{vue-ui-smiley-CUmfLZx6.cjs → vue-ui-smiley-C5grOPd7.cjs} +1 -1
  116. package/dist/{vue-ui-spark-trend-w10yXsJZ.cjs → vue-ui-spark-trend-BhJUXEbd.cjs} +1 -1
  117. package/dist/{vue-ui-spark-trend-NRIFklnc.js → vue-ui-spark-trend-DVMI0hHl.js} +5 -5
  118. package/dist/{vue-ui-sparkbar-ejr7X72c.js → vue-ui-sparkbar-BP4Klcwq.js} +4 -4
  119. package/dist/{vue-ui-sparkbar-aigBoTy2.cjs → vue-ui-sparkbar-CchD9Z0i.cjs} +1 -1
  120. package/dist/{vue-ui-sparkgauge-BOf5aBj9.js → vue-ui-sparkgauge-Bh40wvEN.js} +4 -4
  121. package/dist/{vue-ui-sparkgauge-CkefH_Q3.cjs → vue-ui-sparkgauge-Cc544Aj9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkhistogram-Dtn7OLFq.cjs → vue-ui-sparkhistogram-2aQdqbS-.cjs} +1 -1
  123. package/dist/{vue-ui-sparkhistogram-C64SJzGD.js → vue-ui-sparkhistogram-B27-9RmD.js} +5 -5
  124. package/dist/{vue-ui-sparkline-POZCJkr9.js → vue-ui-sparkline-C4z4BgdB.js} +4 -4
  125. package/dist/{vue-ui-sparkline-BKGLvlLw.cjs → vue-ui-sparkline-DcjnRMCm.cjs} +1 -1
  126. package/dist/{vue-ui-sparkstackbar-BxeVbtHZ.cjs → vue-ui-sparkstackbar-BGV781nw.cjs} +1 -1
  127. package/dist/{vue-ui-sparkstackbar-C7v5flng.js → vue-ui-sparkstackbar-BfD-pJWc.js} +5 -5
  128. package/dist/{vue-ui-stackbar-OS-G2tRA.cjs → vue-ui-stackbar-Dj_h3XUr.cjs} +1 -1
  129. package/dist/{vue-ui-stackbar-DUvKoTiT.js → vue-ui-stackbar-fMdRSsVo.js} +13 -13
  130. package/dist/{vue-ui-strip-plot-IcTvmihM.cjs → vue-ui-strip-plot-D2geizj0.cjs} +1 -1
  131. package/dist/{vue-ui-strip-plot-DvQPyqtk.js → vue-ui-strip-plot-DMmf9d_H.js} +11 -11
  132. package/dist/{vue-ui-table-C8zG8WTp.js → vue-ui-table-CcKldUI9.js} +1 -1
  133. package/dist/{vue-ui-table-Bo5KWUa-.cjs → vue-ui-table-GdqtmrDJ.cjs} +1 -1
  134. package/dist/{vue-ui-table-heatmap-DvRBb7Za.cjs → vue-ui-table-heatmap-B1IFStem.cjs} +1 -1
  135. package/dist/{vue-ui-table-heatmap-N2a-kKWJ.js → vue-ui-table-heatmap-B82viIhG.js} +4 -4
  136. package/dist/{vue-ui-table-sparkline-DOYmxyiy.js → vue-ui-table-sparkline-Bm_vy6Lk.js} +5 -5
  137. package/dist/{vue-ui-table-sparkline-DVhyXHjb.cjs → vue-ui-table-sparkline-qY93ZgAb.cjs} +1 -1
  138. package/dist/{vue-ui-thermometer-DsFTU7hy.js → vue-ui-thermometer-BCV4os_6.js} +7 -7
  139. package/dist/{vue-ui-thermometer-CshBwaty.cjs → vue-ui-thermometer-D6YPh58k.cjs} +1 -1
  140. package/dist/{vue-ui-timer-BazkEbRz.js → vue-ui-timer-BH4RyRGU.js} +5 -5
  141. package/dist/{vue-ui-timer-b4eSKrHr.cjs → vue-ui-timer-C6tuiP54.cjs} +1 -1
  142. package/dist/{vue-ui-tiremarks-LjeTpuwu.js → vue-ui-tiremarks-Dp3x0P0N.js} +7 -7
  143. package/dist/{vue-ui-tiremarks-tCyisBN-.cjs → vue-ui-tiremarks-Dt_VsUOM.cjs} +1 -1
  144. package/dist/vue-ui-treemap-BHdWvB2b.js +920 -0
  145. package/dist/vue-ui-treemap-CjFIqX2j.cjs +1 -0
  146. package/dist/{vue-ui-vertical-bar-D3vjiqvq.cjs → vue-ui-vertical-bar-BCt5jXfW.cjs} +1 -1
  147. package/dist/{vue-ui-vertical-bar-ViFIMQc9.js → vue-ui-vertical-bar-C52t8maW.js} +12 -12
  148. package/dist/{vue-ui-waffle-D8uQiqvC.js → vue-ui-waffle-C-KQIRg5.js} +12 -12
  149. package/dist/{vue-ui-waffle-4Wpu2k9B.cjs → vue-ui-waffle-CZcsqZNd.cjs} +1 -1
  150. package/dist/{vue-ui-wheel-DgJ52HhJ.js → vue-ui-wheel-CIIaCb2O.js} +7 -7
  151. package/dist/{vue-ui-wheel-Wkp_TkAj.cjs → vue-ui-wheel-CQAT1WY8.cjs} +1 -1
  152. package/dist/{vue-ui-word-cloud-CtR6FmsK.cjs → vue-ui-word-cloud-BTH_Iu4E.cjs} +1 -1
  153. package/dist/{vue-ui-word-cloud-BmX0SdIe.js → vue-ui-word-cloud-CgC7nBrO.js} +10 -10
  154. package/dist/{vue-ui-xy-B68466-C.cjs → vue-ui-xy-BSlyU66u.cjs} +1 -1
  155. package/dist/{vue-ui-xy-CnNugA_v.js → vue-ui-xy-XERn_sPB.js} +14 -14
  156. package/dist/{vue-ui-xy-canvas-D7IJkVz1.cjs → vue-ui-xy-canvas-DDmWzosq.cjs} +1 -1
  157. package/dist/{vue-ui-xy-canvas-DRbFpLFp.js → vue-ui-xy-canvas-DogYqOaq.js} +12 -12
  158. package/package.json +1 -1
  159. package/dist/index-Crz6y51C.cjs +0 -9
  160. package/dist/vue-ui-treemap-CkPWe6se.js +0 -857
  161. package/dist/vue-ui-treemap-o4rsDy3h.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./useNestedProp-B8CE091o.cjs"),c=require("./index-Crz6y51C.cjs"),K=require("./Title-BkwZ_rBI.cjs"),j=require("./usePrinter-Cqxw0sR7.cjs"),Q=require("./vue-ui-skeleton-BZsFiqo5.cjs"),W=require("./PackageVersion-Dj3KQ8Ax.cjs"),Z=require("./PenAndPaper-OCjAJH70.cjs"),ee=require("./useUserOptionState-BgepsfED.cjs"),te=require("./useChartAccessibility-Cm7nkzTG.cjs"),oe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ae=["id"],le={key:2,style:"width:100%;background:transparent;padding-bottom:12px"},re=["xmlns","viewBox"],ne=["width","height"],se={key:1},ue=["d","stroke-width","stroke"],ie={key:2},ce=["x1","y1","x2","y2","stroke-width","stroke"],ve=["x","y","font-size","fill","font-weight","text-anchor"],de={key:5,class:"vue-data-ui-watermark"},he={key:6,ref:"source",dir:"auto"},pe={__name:"vue-ui-tiremarks",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(G,{expose:H}){const{vue_ui_tiremarks:D}=c.useConfig(),v=G,$=e.computed(()=>!!v.dataset&&Object.keys(v.dataset).length),P=e.ref(c.createUid()),O=e.ref(null),X=e.ref(null),S=e.ref(0),A=e.ref(0),t=e.computed({get:()=>E(),set:o=>o}),{userOptionsVisible:B,setUserOptionsVisibility:z,keepUserOptionState:N}=ee.useUserOptionState({config:t.value}),{svgRef:I}=te.useChartAccessibility({config:t.value.style.chart.title});function E(){const o=L.useNestedProp({userConfig:v.config,defaultConfig:D});return o.theme?{...L.useNestedProp({userConfig:c.themes.vue_ui_tiremarks[o.theme]||v.config,defaultConfig:o})}:o}e.watch(()=>v.config,o=>{t.value=E(),B.value=!t.value.userOptions.showOnChartHover,U(),A.value+=1},{deep:!0});const{isPrinting:F,isImaging:V,generatePdf:q,generateImage:T}=j.usePrinter({elementId:P.value,fileName:t.value.style.chart.title.text||"vue-ui-tiremarks",options:t.value.userOptions.print}),Y=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),s=e.ref(t.value.style.chart.animation.use?0:c.checkNaN(v.dataset.percentage));e.watch(()=>v.dataset,o=>{t.value.style.chart.animation.use?M(o.percentage):s.value=o.percentage||0},{deep:!0}),e.onMounted(()=>{U()});function M(o){let n=t.value.style.chart.animation.speed;const a=Math.abs(o-s.value)/(n*120);function r(){s.value<o?s.value=Math.min(s.value+a,o):s.value>o&&(s.value=Math.max(s.value-a,o)),s.value!==o&&requestAnimationFrame(r)}r()}function U(){c.objectIsEmpty(v.dataset)&&c.error({componentName:"VueUiTiremarks",type:"dataset"}),M(v.dataset.percentage||0)}const m=e.computed(()=>t.value.style.chart.layout.display==="vertical"),u=e.computed(()=>{const o={top:48,left:64,right:64,bottom:48};return m.value?{top:t.value.style.chart.percentage.verticalPosition==="top"?o.top:3,left:3,right:3,bottom:t.value.style.chart.percentage.verticalPosition==="bottom"?o.bottom:3}:{top:0,bottom:0,left:t.value.style.chart.percentage.horizontalPosition==="left"?o.left:3,right:t.value.style.chart.percentage.horizontalPosition==="right"?o.right:10}}),C=e.computed(()=>Object.values(u.value).reduce((o,n)=>o+n,0)),l=e.computed(()=>({height:m.value?312:56,width:m.value?56:312})),i=e.computed(()=>m.value?{mark:(l.value.height-C.value)/100*.5,space:(l.value.height-C.value)/100*.5}:{mark:(l.value.width-C.value)/100*.5,space:(l.value.width-C.value)/100*.5}),R=e.computed(()=>{const o=[];for(let a=0;a<100;a+=1){const r=t.value.style.chart.layout.ticks.gradient.show?c.shiftHue(t.value.style.chart.layout.activeColor,a/100*(t.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):t.value.style.chart.layout.activeColor;if(m.value){const y=t.value.style.chart.layout.crescendo?(100-a)*(l.value.width-u.value.left-u.value.right)/100/3:0,d=u.value.left+4+y,h=l.value.width-u.value.right-4-y,p=l.value.height-u.value.bottom-a*i.value.mark-a*i.value.space-i.value.mark,f=l.value.height-u.value.bottom-a*i.value.mark-a*i.value.space-i.value.mark,k=(h-d)/t.value.style.chart.layout.curveAngleX,b=t.value.style.chart.layout.curveAngleY*((1+a)/100);o.push({x1:d,x2:h,y1:p,y2:f,curve:`M ${d} ${p} C ${d+k} ${p-b}, ${h-k} ${f-b}, ${h} ${f}`,color:r})}else{const y=t.value.style.chart.layout.crescendo?(100-a)*(l.value.height-u.value.top-u.value.bottom)/100/3:0,d=u.value.left+a*i.value.mark+a*i.value.space-i.value.mark,h=d,p=u.value.top+4+y,f=l.value.height-u.value.bottom-4-y,k=t.value.style.chart.layout.curveAngleY*((1+a)/100),b=(f-p)/t.value.style.chart.layout.curveAngleX;o.push({x1:d,x2:h,y1:p,y2:f,curve:`M ${d} ${p} C ${d+k} ${p+b}, ${h+k} ${f-b}, ${h} ${f}`,color:r})}}return o}),g=e.computed(()=>{let o,n,a;const r=t.value.style.chart.percentage.fontSize/3;return m.value?t.value.style.chart.percentage.verticalPosition==="top"?(o=l.value.width/2,n=u.value.top/2,a="middle"):t.value.style.chart.percentage.verticalPosition==="bottom"&&(o=l.value.width/2,n=l.value.height-u.value.bottom/2+r,a="middle"):t.value.style.chart.percentage.horizontalPosition==="left"?(o=4,n=l.value.height/2+r,a="start"):t.value.style.chart.percentage.horizontalPosition==="right"&&(o=l.value.width-u.value.right+8,n=l.value.height/2+r,a="start"),{x:o,y:n,textAnchor:a,bold:t.value.style.chart.percentage.bold,fontSize:t.value.style.chart.percentage.fontSize,fill:t.value.style.chart.percentage.color}}),_=e.ref(!1);function J(o){_.value=o,S.value+=1}const w=e.ref(!1);function x(){w.value=!w.value}return H({generatePdf:q,generateImage:T,toggleAnnotator:x}),(o,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tiremarksChart",ref:O,class:e.normalizeClass(`vue-ui-tiremarks ${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:P.value,onMouseenter:n[0]||(n[0]=()=>e.unref(z)(!0)),onMouseleave:n[1]||(n[1]=()=>e.unref(z)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Z.PenAndPaper,{key:0,svgRef:e.unref(I),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:w.value,onClose:x},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),Y.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:X,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",le,[(e.openBlock(),e.createBlock(K._sfc_main,{key:`title_${A.value}`,config:{title:{cy:"wheel-title",...t.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&$.value&&(e.unref(N)||e.unref(B))?(e.openBlock(),e.createBlock(j.UserOptions,{ref:"details",key:`user_options_${S.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(F),isImaging:e.unref(V),uid:P.value,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:_.value,titles:{...t.value.userOptions.buttonTitles},chartElement:O.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:J,onGeneratePdf:e.unref(q),onGenerateImage:e.unref(T),onToggleAnnotator:x,style:e.normalizeStyle({visibility:e.unref(N)?e.unref(B)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:a,color:r})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:a,color:r})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:r})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:r})),void 0,!0)]),key:"3"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:r})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:r})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:I,xmlns:e.unref(c.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":_.value,"vue-data-ui-fulscreen--off":!_.value}),viewBox:`0 0 ${l.value.width} ${l.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(W._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:l.value.width,height:l.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,ne)):e.createCommentVNode("",!0),t.value.style.chart.layout.curved?(e.openBlock(),e.createElementBlock("g",se,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,(a,r)=>(e.openBlock(),e.createElementBlock("path",{d:a.curve,"stroke-width":i.value.mark,stroke:s.value>=r?a.color:t.value.style.chart.layout.inactiveColor,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"vue-ui-tick-animated":t.value.style.chart.animation.use&&r<=s.value})},null,10,ue))),256))])):(e.openBlock(),e.createElementBlock("g",ie,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:a.x1,y1:a.y1,x2:a.x2,y2:a.y2,"stroke-width":i.value.mark,stroke:s.value>=r?a.color:t.value.style.chart.layout.inactiveColor,"stroke-linecap":"round"},null,8,ce))),256))])),t.value.style.chart.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:3,x:g.value.x,y:g.value.y,"font-size":g.value.fontSize,fill:t.value.style.chart.layout.ticks.gradient.show&&t.value.style.chart.percentage.useGradientColor?e.unref(c.shiftHue)(t.value.style.chart.layout.activeColor,s.value/100*(t.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):t.value.style.chart.percentage.color,"font-weight":g.value.bold?"bold":"normal","text-anchor":g.value.textAnchor},e.toDisplayString(e.unref(c.applyDataLabel)(t.value.style.chart.percentage.formatter,s.value,e.unref(c.dataLabel)({v:s.value,s:"%",r:t.value.style.chart.percentage.rounding}))),9,ve)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"svg",{svg:l.value},void 0,!0)],14,re)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(F)||e.unref(V)})),void 0,!0)])):e.createCommentVNode("",!0),o.$slots.source?(e.openBlock(),e.createElementBlock("div",he,[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Q.default,{key:7,config:{type:"tiremarks",style:{backgroundColor:t.value.style.chart.backgroundColor,tiremarks:{color:"#CCCCCC"}}}},null,8,["config"]))],46,ae))}},fe=oe._export_sfc(pe,[["__scopeId","data-v-fac4c918"]]);exports.default=fe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./useNestedProp-D1QXXl5v.cjs"),c=require("./index-CFpKg6bb.cjs"),K=require("./Title-B5DeSNYN.cjs"),j=require("./usePrinter-D9AdulyE.cjs"),Q=require("./vue-ui-skeleton-C_vRaZhI.cjs"),W=require("./PackageVersion-KqTLourS.cjs"),Z=require("./PenAndPaper-Bhj2KfFw.cjs"),ee=require("./useUserOptionState-BgepsfED.cjs"),te=require("./useChartAccessibility-Cm7nkzTG.cjs"),oe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ae=["id"],le={key:2,style:"width:100%;background:transparent;padding-bottom:12px"},re=["xmlns","viewBox"],ne=["width","height"],se={key:1},ue=["d","stroke-width","stroke"],ie={key:2},ce=["x1","y1","x2","y2","stroke-width","stroke"],ve=["x","y","font-size","fill","font-weight","text-anchor"],de={key:5,class:"vue-data-ui-watermark"},he={key:6,ref:"source",dir:"auto"},pe={__name:"vue-ui-tiremarks",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(G,{expose:H}){const{vue_ui_tiremarks:D}=c.useConfig(),v=G,$=e.computed(()=>!!v.dataset&&Object.keys(v.dataset).length),P=e.ref(c.createUid()),O=e.ref(null),X=e.ref(null),S=e.ref(0),A=e.ref(0),t=e.computed({get:()=>E(),set:o=>o}),{userOptionsVisible:B,setUserOptionsVisibility:z,keepUserOptionState:N}=ee.useUserOptionState({config:t.value}),{svgRef:I}=te.useChartAccessibility({config:t.value.style.chart.title});function E(){const o=L.useNestedProp({userConfig:v.config,defaultConfig:D});return o.theme?{...L.useNestedProp({userConfig:c.themes.vue_ui_tiremarks[o.theme]||v.config,defaultConfig:o})}:o}e.watch(()=>v.config,o=>{t.value=E(),B.value=!t.value.userOptions.showOnChartHover,U(),A.value+=1},{deep:!0});const{isPrinting:F,isImaging:V,generatePdf:q,generateImage:T}=j.usePrinter({elementId:P.value,fileName:t.value.style.chart.title.text||"vue-ui-tiremarks",options:t.value.userOptions.print}),Y=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),s=e.ref(t.value.style.chart.animation.use?0:c.checkNaN(v.dataset.percentage));e.watch(()=>v.dataset,o=>{t.value.style.chart.animation.use?M(o.percentage):s.value=o.percentage||0},{deep:!0}),e.onMounted(()=>{U()});function M(o){let n=t.value.style.chart.animation.speed;const a=Math.abs(o-s.value)/(n*120);function r(){s.value<o?s.value=Math.min(s.value+a,o):s.value>o&&(s.value=Math.max(s.value-a,o)),s.value!==o&&requestAnimationFrame(r)}r()}function U(){c.objectIsEmpty(v.dataset)&&c.error({componentName:"VueUiTiremarks",type:"dataset"}),M(v.dataset.percentage||0)}const m=e.computed(()=>t.value.style.chart.layout.display==="vertical"),u=e.computed(()=>{const o={top:48,left:64,right:64,bottom:48};return m.value?{top:t.value.style.chart.percentage.verticalPosition==="top"?o.top:3,left:3,right:3,bottom:t.value.style.chart.percentage.verticalPosition==="bottom"?o.bottom:3}:{top:0,bottom:0,left:t.value.style.chart.percentage.horizontalPosition==="left"?o.left:3,right:t.value.style.chart.percentage.horizontalPosition==="right"?o.right:10}}),C=e.computed(()=>Object.values(u.value).reduce((o,n)=>o+n,0)),l=e.computed(()=>({height:m.value?312:56,width:m.value?56:312})),i=e.computed(()=>m.value?{mark:(l.value.height-C.value)/100*.5,space:(l.value.height-C.value)/100*.5}:{mark:(l.value.width-C.value)/100*.5,space:(l.value.width-C.value)/100*.5}),R=e.computed(()=>{const o=[];for(let a=0;a<100;a+=1){const r=t.value.style.chart.layout.ticks.gradient.show?c.shiftHue(t.value.style.chart.layout.activeColor,a/100*(t.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):t.value.style.chart.layout.activeColor;if(m.value){const y=t.value.style.chart.layout.crescendo?(100-a)*(l.value.width-u.value.left-u.value.right)/100/3:0,d=u.value.left+4+y,h=l.value.width-u.value.right-4-y,p=l.value.height-u.value.bottom-a*i.value.mark-a*i.value.space-i.value.mark,f=l.value.height-u.value.bottom-a*i.value.mark-a*i.value.space-i.value.mark,k=(h-d)/t.value.style.chart.layout.curveAngleX,b=t.value.style.chart.layout.curveAngleY*((1+a)/100);o.push({x1:d,x2:h,y1:p,y2:f,curve:`M ${d} ${p} C ${d+k} ${p-b}, ${h-k} ${f-b}, ${h} ${f}`,color:r})}else{const y=t.value.style.chart.layout.crescendo?(100-a)*(l.value.height-u.value.top-u.value.bottom)/100/3:0,d=u.value.left+a*i.value.mark+a*i.value.space-i.value.mark,h=d,p=u.value.top+4+y,f=l.value.height-u.value.bottom-4-y,k=t.value.style.chart.layout.curveAngleY*((1+a)/100),b=(f-p)/t.value.style.chart.layout.curveAngleX;o.push({x1:d,x2:h,y1:p,y2:f,curve:`M ${d} ${p} C ${d+k} ${p+b}, ${h+k} ${f-b}, ${h} ${f}`,color:r})}}return o}),g=e.computed(()=>{let o,n,a;const r=t.value.style.chart.percentage.fontSize/3;return m.value?t.value.style.chart.percentage.verticalPosition==="top"?(o=l.value.width/2,n=u.value.top/2,a="middle"):t.value.style.chart.percentage.verticalPosition==="bottom"&&(o=l.value.width/2,n=l.value.height-u.value.bottom/2+r,a="middle"):t.value.style.chart.percentage.horizontalPosition==="left"?(o=4,n=l.value.height/2+r,a="start"):t.value.style.chart.percentage.horizontalPosition==="right"&&(o=l.value.width-u.value.right+8,n=l.value.height/2+r,a="start"),{x:o,y:n,textAnchor:a,bold:t.value.style.chart.percentage.bold,fontSize:t.value.style.chart.percentage.fontSize,fill:t.value.style.chart.percentage.color}}),_=e.ref(!1);function J(o){_.value=o,S.value+=1}const w=e.ref(!1);function x(){w.value=!w.value}return H({generatePdf:q,generateImage:T,toggleAnnotator:x}),(o,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tiremarksChart",ref:O,class:e.normalizeClass(`vue-ui-tiremarks ${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:P.value,onMouseenter:n[0]||(n[0]=()=>e.unref(z)(!0)),onMouseleave:n[1]||(n[1]=()=>e.unref(z)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Z.PenAndPaper,{key:0,svgRef:e.unref(I),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:w.value,onClose:x},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),Y.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:X,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",le,[(e.openBlock(),e.createBlock(K._sfc_main,{key:`title_${A.value}`,config:{title:{cy:"wheel-title",...t.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&$.value&&(e.unref(N)||e.unref(B))?(e.openBlock(),e.createBlock(j.UserOptions,{ref:"details",key:`user_options_${S.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(F),isImaging:e.unref(V),uid:P.value,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:_.value,titles:{...t.value.userOptions.buttonTitles},chartElement:O.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:J,onGeneratePdf:e.unref(q),onGenerateImage:e.unref(T),onToggleAnnotator:x,style:e.normalizeStyle({visibility:e.unref(N)?e.unref(B)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:a,color:r})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:a,color:r})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:r})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:r})),void 0,!0)]),key:"3"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:r})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:r})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:I,xmlns:e.unref(c.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":_.value,"vue-data-ui-fulscreen--off":!_.value}),viewBox:`0 0 ${l.value.width} ${l.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(W._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:l.value.width,height:l.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,ne)):e.createCommentVNode("",!0),t.value.style.chart.layout.curved?(e.openBlock(),e.createElementBlock("g",se,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,(a,r)=>(e.openBlock(),e.createElementBlock("path",{d:a.curve,"stroke-width":i.value.mark,stroke:s.value>=r?a.color:t.value.style.chart.layout.inactiveColor,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"vue-ui-tick-animated":t.value.style.chart.animation.use&&r<=s.value})},null,10,ue))),256))])):(e.openBlock(),e.createElementBlock("g",ie,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:a.x1,y1:a.y1,x2:a.x2,y2:a.y2,"stroke-width":i.value.mark,stroke:s.value>=r?a.color:t.value.style.chart.layout.inactiveColor,"stroke-linecap":"round"},null,8,ce))),256))])),t.value.style.chart.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:3,x:g.value.x,y:g.value.y,"font-size":g.value.fontSize,fill:t.value.style.chart.layout.ticks.gradient.show&&t.value.style.chart.percentage.useGradientColor?e.unref(c.shiftHue)(t.value.style.chart.layout.activeColor,s.value/100*(t.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):t.value.style.chart.percentage.color,"font-weight":g.value.bold?"bold":"normal","text-anchor":g.value.textAnchor},e.toDisplayString(e.unref(c.applyDataLabel)(t.value.style.chart.percentage.formatter,s.value,e.unref(c.dataLabel)({v:s.value,s:"%",r:t.value.style.chart.percentage.rounding}))),9,ve)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"svg",{svg:l.value},void 0,!0)],14,re)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(F)||e.unref(V)})),void 0,!0)])):e.createCommentVNode("",!0),o.$slots.source?(e.openBlock(),e.createElementBlock("div",he,[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Q.default,{key:7,config:{type:"tiremarks",style:{backgroundColor:t.value.style.chart.backgroundColor,tiremarks:{color:"#CCCCCC"}}}},null,8,["config"]))],46,ae))}},fe=oe._export_sfc(pe,[["__scopeId","data-v-fac4c918"]]);exports.default=fe;