vue-data-ui 2.4.85 → 2.4.87

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 (170) hide show
  1. package/dist/{Arrow-Ajt3NMEa.cjs → Arrow-B6C-c2DT.cjs} +1 -1
  2. package/dist/{Arrow-Qayb_B0s.js → Arrow-C8PrFeHS.js} +1 -1
  3. package/dist/{BaseIcon-BVrsMbvi.cjs → BaseIcon-CdOKZmHr.cjs} +1 -1
  4. package/dist/{BaseIcon-B8U62FEj.js → BaseIcon-plElWres.js} +1 -1
  5. package/dist/{DataTable-1PQD-SFb.cjs → DataTable-BmKl4AAb.cjs} +1 -1
  6. package/dist/{DataTable-C0tCPQ9i.js → DataTable-CKke7C6w.js} +2 -2
  7. package/dist/{Legend-BJ2Wbqut.cjs → Legend-CY6wjCYY.cjs} +1 -1
  8. package/dist/{Legend-BTpe6qQB.js → Legend-DMeEvZOT.js} +2 -2
  9. package/dist/{PackageVersion-BjfedMsH.cjs → PackageVersion-DvDNPRrJ.cjs} +1 -1
  10. package/dist/{PackageVersion-CENy3Lm2.js → PackageVersion-Rh3rgo6A.js} +1 -1
  11. package/dist/{PenAndPaper-nqRtAh6J.cjs → PenAndPaper--xHLJRME.cjs} +1 -1
  12. package/dist/{PenAndPaper-Dr7ndoP_.js → PenAndPaper-DqVsdeLc.js} +3 -3
  13. package/dist/{Shape-zFv85Gc2.js → Shape-CL3HglYL.js} +1 -1
  14. package/dist/{Shape-Boa32JEn.cjs → Shape-DEwnzwRB.cjs} +1 -1
  15. package/dist/{Slicer-D6QLMg5N.cjs → Slicer-CnNbe-dl.cjs} +1 -1
  16. package/dist/{Slicer-BUYuk07t.js → Slicer-ZryQKOl5.js} +2 -2
  17. package/dist/{Title-CaET2xuF.js → Title-BU5Aq1_x.js} +1 -1
  18. package/dist/{Title-DJUxOiaO.cjs → Title-C10173bN.cjs} +1 -1
  19. package/dist/{Tooltip-C5QuW94e.cjs → Tooltip-CL7aSMgq.cjs} +1 -1
  20. package/dist/{Tooltip-Bkc4233T.js → Tooltip-Dm-obTbx.js} +1 -1
  21. package/dist/{index-COIn1phv.cjs → index-1HOIfTy2.cjs} +1 -1
  22. package/dist/{index-B7nCQFK0.js → index-BG5J_ybN.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-CbMuGGl3.cjs → useNestedProp-BFNnjpX-.cjs} +1 -1
  25. package/dist/{useNestedProp-C9rlBRTT.js → useNestedProp-BN1ZmAKT.js} +1 -1
  26. package/dist/{usePrinter-CQMn1b4E.js → usePrinter-CWeJt84b.js} +1 -1
  27. package/dist/{usePrinter-CXXfgFFN.cjs → usePrinter-i-j4CdEi.cjs} +1 -1
  28. package/dist/{vue-data-ui-Bu_VIHgr.cjs → vue-data-ui-549nX1yu.cjs} +1 -1
  29. package/dist/{vue-data-ui-BnsKGbqb.js → vue-data-ui-B5u9V9lC.js} +60 -60
  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-V5FBS9MA.js → vue-ui-3d-bar-DBtozgXL.js} +38 -38
  33. package/dist/{vue-ui-3d-bar-D39F2dKF.cjs → vue-ui-3d-bar-J7LkJgTZ.cjs} +11 -11
  34. package/dist/{vue-ui-accordion-CGlnNTr8.cjs → vue-ui-accordion-Cd6GaDwU.cjs} +1 -1
  35. package/dist/{vue-ui-accordion-B8ptB5BQ.js → vue-ui-accordion-JBOceVq2.js} +3 -3
  36. package/dist/{vue-ui-age-pyramid-Bjp1R8Ku.js → vue-ui-age-pyramid-BIkYjL8e.js} +29 -29
  37. package/dist/vue-ui-age-pyramid-DeryBRqg.cjs +1 -0
  38. package/dist/{vue-ui-annotator-V9m5fTGG.js → vue-ui-annotator-Bt90Iec6.js} +1 -1
  39. package/dist/{vue-ui-annotator-BoWZZRPg.cjs → vue-ui-annotator-Dw8cVACs.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-DLIxlhFF.cjs → vue-ui-bullet-BMAYQESQ.cjs} +1 -1
  41. package/dist/{vue-ui-bullet-Bqvb5PV-.js → vue-ui-bullet-DzosZUYl.js} +8 -8
  42. package/dist/{vue-ui-candlestick-D4BD8LyJ.cjs → vue-ui-candlestick-BaLnAKB9.cjs} +2 -2
  43. package/dist/{vue-ui-candlestick-DHCtmsh3.js → vue-ui-candlestick-dTATEFOU.js} +48 -48
  44. package/dist/{vue-ui-carousel-table-VIuoh2QI.cjs → vue-ui-carousel-table-CWNI7Ri5.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-Cn2RJkSb.js → vue-ui-carousel-table-rMcj65Bo.js} +4 -4
  46. package/dist/{vue-ui-chestnut-C5qUO1uK.js → vue-ui-chestnut-B_NLFSaY.js} +29 -29
  47. package/dist/{vue-ui-chestnut-ClG9HZoC.cjs → vue-ui-chestnut-DjOEVM3w.cjs} +2 -2
  48. package/dist/{vue-ui-cursor-Bo8et-dD.cjs → vue-ui-cursor-CBUwAZd1.cjs} +1 -1
  49. package/dist/{vue-ui-cursor-eJau3iyr.js → vue-ui-cursor-CTvVj3YO.js} +2 -2
  50. package/dist/{vue-ui-dashboard-DnaH9bCw.js → vue-ui-dashboard-CG9J3DLT.js} +2 -2
  51. package/dist/{vue-ui-dashboard-WJqGQ8iR.cjs → vue-ui-dashboard-DcfhPFVi.cjs} +1 -1
  52. package/dist/{vue-ui-digits-qIckO4-r.cjs → vue-ui-digits-B8lUQcKK.cjs} +1 -1
  53. package/dist/{vue-ui-digits-Cqjts2eq.js → vue-ui-digits-CF6qbsmO.js} +2 -2
  54. package/dist/{vue-ui-donut-pprcnbIw.js → vue-ui-donut-Bbkz0M-R.js} +76 -76
  55. package/dist/vue-ui-donut-CzmOCuxn.cjs +1 -0
  56. package/dist/{vue-ui-donut-evolution-EzYvP11F.js → vue-ui-donut-evolution-BkE-sAyn.js} +66 -66
  57. package/dist/vue-ui-donut-evolution-CjFUAKXU.cjs +1 -0
  58. package/dist/vue-ui-dumbbell-BiHzKPGP.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-DaxcxmnU.js → vue-ui-dumbbell-D8JuHhzi.js} +28 -28
  60. package/dist/vue-ui-flow-CR1Qo5Rt.cjs +1 -0
  61. package/dist/{vue-ui-flow-DbRgaKBu.js → vue-ui-flow-Cie8iHDK.js} +31 -31
  62. package/dist/vue-ui-funnel-B8uRuzDx.cjs +1 -0
  63. package/dist/{vue-ui-funnel-B2del8KB.js → vue-ui-funnel-tW6PGqcE.js} +32 -32
  64. package/dist/vue-ui-galaxy-BfbYEvnO.cjs +1 -0
  65. package/dist/{vue-ui-galaxy-pUYeASJf.js → vue-ui-galaxy-p4j0h3ZX.js} +81 -81
  66. package/dist/{vue-ui-gauge-DpsXpEaW.js → vue-ui-gauge-CtVmazzP.js} +7 -7
  67. package/dist/{vue-ui-gauge-BOXoAgWk.cjs → vue-ui-gauge-DnTOvr4T.cjs} +1 -1
  68. package/dist/{vue-ui-gizmo-Bq9uAmqd.cjs → vue-ui-gizmo-BdlVxVqD.cjs} +1 -1
  69. package/dist/{vue-ui-gizmo-BpYrhkon.js → vue-ui-gizmo-wjZJgWPe.js} +3 -3
  70. package/dist/{vue-ui-heatmap-Cz6_9Veh.js → vue-ui-heatmap-DJXLmzGL.js} +63 -63
  71. package/dist/vue-ui-heatmap-Gd3nkwzC.cjs +1 -0
  72. package/dist/vue-ui-history-plot-CevSrT7E.cjs +1 -0
  73. package/dist/{vue-ui-history-plot-DAotUjSF.js → vue-ui-history-plot-DJQck-9N.js} +69 -69
  74. package/dist/{vue-ui-kpi-D6mp6EQ2.cjs → vue-ui-kpi-D8NVXEfO.cjs} +1 -1
  75. package/dist/{vue-ui-kpi-Ch2p7m-i.js → vue-ui-kpi-MK6JH8yi.js} +3 -3
  76. package/dist/{vue-ui-mini-loader-E13lmwfO.js → vue-ui-mini-loader-UiC0NYsO.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-CO-KGVlC.cjs → vue-ui-mini-loader-a8JZaxIy.cjs} +1 -1
  78. package/dist/vue-ui-molecule-CXgKUNCL.cjs +1 -0
  79. package/dist/{vue-ui-molecule-C69K6EPO.js → vue-ui-molecule-Cz9zZQ95.js} +155 -155
  80. package/dist/vue-ui-mood-radar-B-PSds5c.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-DDtky572.js → vue-ui-mood-radar-BMMCFkEk.js} +33 -33
  82. package/dist/{vue-ui-nested-donuts-DMCd6DqT.cjs → vue-ui-nested-donuts-Cdx6UQwF.cjs} +5 -5
  83. package/dist/{vue-ui-nested-donuts-AYPYIRrE.js → vue-ui-nested-donuts-Da9c-H0Y.js} +147 -147
  84. package/dist/{vue-ui-onion-Bsa88sKK.js → vue-ui-onion-D1wExDGP.js} +44 -44
  85. package/dist/{vue-ui-onion-BedLvfFe.cjs → vue-ui-onion-HAS4P8nS.cjs} +2 -2
  86. package/dist/{vue-ui-parallel-coordinate-plot-KCEb4iRs.js → vue-ui-parallel-coordinate-plot-BH0xKZAE.js} +79 -79
  87. package/dist/{vue-ui-parallel-coordinate-plot-CSOMIABF.cjs → vue-ui-parallel-coordinate-plot-BYeyzJnE.cjs} +3 -3
  88. package/dist/{vue-ui-quadrant-Bd_88Eht.js → vue-ui-quadrant-BDkbMaNf.js} +108 -108
  89. package/dist/vue-ui-quadrant-DbWSZWfP.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-CXAYKYHa.js → vue-ui-quick-chart-D3b2YwMY.js} +212 -212
  91. package/dist/vue-ui-quick-chart-qnbmA75J.cjs +15 -0
  92. package/dist/{vue-ui-radar-De397oTB.js → vue-ui-radar--Bt67L0i.js} +107 -107
  93. package/dist/vue-ui-radar-DSZpmaIZ.cjs +1 -0
  94. package/dist/{vue-ui-rating-wK3_ZWE5.js → vue-ui-rating-Bgr7tvIq.js} +2 -2
  95. package/dist/{vue-ui-rating-BjiMVoyX.cjs → vue-ui-rating-Z_ANkBeZ.cjs} +1 -1
  96. package/dist/{vue-ui-relation-circle-BEGyr1h-.cjs → vue-ui-relation-circle-3cgv8yC-.cjs} +1 -1
  97. package/dist/{vue-ui-relation-circle-BxlK8MVs.js → vue-ui-relation-circle-B22VP_p1.js} +7 -7
  98. package/dist/{vue-ui-rings-BcNMBXxq.cjs → vue-ui-rings-DZEwaUv5.cjs} +2 -2
  99. package/dist/{vue-ui-rings-BXrtMSML.js → vue-ui-rings-DgzfAEvJ.js} +66 -66
  100. package/dist/{vue-ui-scatter-BWZfLJ9P.js → vue-ui-scatter-BwlbShJE.js} +85 -85
  101. package/dist/vue-ui-scatter-CSI15Dgp.cjs +1 -0
  102. package/dist/{vue-ui-screenshot-BJgOwFMW.cjs → vue-ui-screenshot-DK2xyINC.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-hw4PC9Uu.js → vue-ui-screenshot-Dk0TqQpi.js} +1 -1
  104. package/dist/{vue-ui-skeleton-BIqMxXV7.cjs → vue-ui-skeleton-CLiDRcQX.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-D66ZIUln.js → vue-ui-skeleton-c211TxZ8.js} +3 -3
  106. package/dist/{vue-ui-smiley-Duy5Xo-j.cjs → vue-ui-smiley-Kr6bQ-7L.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-DWPYdcDB.js → vue-ui-smiley-hIooew3m.js} +2 -2
  108. package/dist/{vue-ui-spark-trend-Ce4IaqPz.js → vue-ui-spark-trend-CgpDYM8f.js} +5 -5
  109. package/dist/{vue-ui-spark-trend-DP5foaNi.cjs → vue-ui-spark-trend-SVqMwS1X.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-Bbns4V16.cjs → vue-ui-sparkbar-DY1J0X8K.cjs} +1 -1
  111. package/dist/{vue-ui-sparkbar-Fa-Kc9Fr.js → vue-ui-sparkbar-D_HgtfBM.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-BrLrvNLH.cjs → vue-ui-sparkgauge-C4p0nAHp.cjs} +1 -1
  113. package/dist/{vue-ui-sparkgauge-DUWcJ7cM.js → vue-ui-sparkgauge-jO5jKAyz.js} +4 -4
  114. package/dist/{vue-ui-sparkhistogram-PgC-c-5a.js → vue-ui-sparkhistogram-BpQfz14e.js} +5 -5
  115. package/dist/{vue-ui-sparkhistogram-B0rhs_UN.cjs → vue-ui-sparkhistogram-gSNvSVcP.cjs} +1 -1
  116. package/dist/{vue-ui-sparkline-BqNlrKjb.js → vue-ui-sparkline-BTgaJjMj.js} +4 -4
  117. package/dist/{vue-ui-sparkline-c5Awoj8J.cjs → vue-ui-sparkline-D53BDGCi.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-DyJIUulr.js → vue-ui-sparkstackbar-COm1EqFN.js} +5 -5
  119. package/dist/{vue-ui-sparkstackbar-BmYIcpVZ.cjs → vue-ui-sparkstackbar-DcEhBuvP.cjs} +1 -1
  120. package/dist/{vue-ui-stackbar-BebRtOYL.js → vue-ui-stackbar-BHyysJyj.js} +51 -51
  121. package/dist/{vue-ui-stackbar-DJ9NH_l1.cjs → vue-ui-stackbar-D4-vrvMz.cjs} +3 -3
  122. package/dist/{vue-ui-strip-plot-BGHj1BHd.js → vue-ui-strip-plot-BOLWDlTl.js} +118 -118
  123. package/dist/vue-ui-strip-plot-iUjpocRA.cjs +1 -0
  124. package/dist/{vue-ui-table-BFdGppRF.cjs → vue-ui-table-DG3-RAEv.cjs} +1 -1
  125. package/dist/{vue-ui-table-ClPMKcMn.js → vue-ui-table-XThR7HtD.js} +1 -1
  126. package/dist/{vue-ui-table-heatmap-B7wTjM-H.cjs → vue-ui-table-heatmap-B82Dmfv2.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-DVQtPt-M.js → vue-ui-table-heatmap-DxWQ3cdf.js} +4 -4
  128. package/dist/{vue-ui-table-sparkline-DjxKXWQm.js → vue-ui-table-sparkline-BIQAc-eX.js} +5 -5
  129. package/dist/{vue-ui-table-sparkline-DaKODjfM.cjs → vue-ui-table-sparkline-C3JrSwmi.cjs} +1 -1
  130. package/dist/{vue-ui-thermometer-CV_9k37V.js → vue-ui-thermometer-Ci0OBAEN.js} +7 -7
  131. package/dist/{vue-ui-thermometer-DE9r0emf.cjs → vue-ui-thermometer-t1cul6jD.cjs} +1 -1
  132. package/dist/{vue-ui-timer-Ct-KYWSX.cjs → vue-ui-timer-BLqulQx5.cjs} +1 -1
  133. package/dist/{vue-ui-timer-2w5Ayq7G.js → vue-ui-timer-CwJoQApu.js} +5 -5
  134. package/dist/{vue-ui-tiremarks-BJnh0GBj.js → vue-ui-tiremarks-CFVl_w7d.js} +7 -7
  135. package/dist/{vue-ui-tiremarks-Cf04zARl.cjs → vue-ui-tiremarks-_d9WOe-N.cjs} +1 -1
  136. package/dist/vue-ui-treemap-BaQFfbqL.cjs +1 -0
  137. package/dist/{vue-ui-treemap-BD546LBi.js → vue-ui-treemap-BtjPxOzu.js} +108 -108
  138. package/dist/{vue-ui-vertical-bar-D3QKHHnS.cjs → vue-ui-vertical-bar-BcjM9qCI.cjs} +3 -3
  139. package/dist/{vue-ui-vertical-bar-E5CTb1Bd.js → vue-ui-vertical-bar-xnQDjCLE.js} +54 -54
  140. package/dist/{vue-ui-waffle-BAJIMbZK.js → vue-ui-waffle-BMFtG4mh.js} +99 -99
  141. package/dist/vue-ui-waffle-DGarEDP5.cjs +1 -0
  142. package/dist/{vue-ui-wheel-CPPLUSFq.js → vue-ui-wheel-DIr8JQt0.js} +7 -7
  143. package/dist/{vue-ui-wheel-Dy_B7BTG.cjs → vue-ui-wheel-DLFWUmdm.cjs} +1 -1
  144. package/dist/vue-ui-word-cloud-CDQ4rkP-.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-BVZcDY7m.js → vue-ui-word-cloud-CrSkUMkN.js} +81 -81
  146. package/dist/{vue-ui-xy-tB-6IP2y.js → vue-ui-xy-DPT3SYuU.js} +815 -818
  147. package/dist/vue-ui-xy-DfnDyl8o.cjs +3 -0
  148. package/dist/{vue-ui-xy-canvas-DFUfTZwz.js → vue-ui-xy-canvas-C3iMSkvP.js} +35 -35
  149. package/dist/{vue-ui-xy-canvas-BSZTrqci.cjs → vue-ui-xy-canvas-DEyhDtC-.cjs} +3 -3
  150. package/package.json +1 -1
  151. package/dist/vue-ui-age-pyramid-BdseHKUc.cjs +0 -1
  152. package/dist/vue-ui-donut-BP7yj2DU.cjs +0 -1
  153. package/dist/vue-ui-donut-evolution-Cz8uFJp8.cjs +0 -1
  154. package/dist/vue-ui-dumbbell-CYqHCr2S.cjs +0 -9
  155. package/dist/vue-ui-flow-HeRCplGL.cjs +0 -1
  156. package/dist/vue-ui-funnel-DxniWNkD.cjs +0 -1
  157. package/dist/vue-ui-galaxy-BDA64dud.cjs +0 -1
  158. package/dist/vue-ui-heatmap-CbKgGLtN.cjs +0 -1
  159. package/dist/vue-ui-history-plot-BoMdvItE.cjs +0 -1
  160. package/dist/vue-ui-molecule-CeoDnPXB.cjs +0 -1
  161. package/dist/vue-ui-mood-radar-BwOqQUuT.cjs +0 -1
  162. package/dist/vue-ui-quadrant-BXQVOvpY.cjs +0 -1
  163. package/dist/vue-ui-quick-chart-dLItYwM_.cjs +0 -15
  164. package/dist/vue-ui-radar-BuNtocmn.cjs +0 -1
  165. package/dist/vue-ui-scatter-DTy3yPVu.cjs +0 -1
  166. package/dist/vue-ui-strip-plot-f7vejZht.cjs +0 -1
  167. package/dist/vue-ui-treemap-D0vi4bv4.cjs +0 -1
  168. package/dist/vue-ui-waffle-BL0e3Yeq.cjs +0 -1
  169. package/dist/vue-ui-word-cloud-BPoAoeWZ.cjs +0 -1
  170. package/dist/vue-ui-xy-D4hRtHAi.cjs +0 -3
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),k=require("./index-COIn1phv.cjs"),V=require("./html2canvas.esm-BA_v9SIU.cjs"),U={__name:"vue-ui-screenshot",props:{config:{type:Object,default(){return{}}}},emits:["postImage"],setup(z,{expose:T,emit:H}){const C=z,{vue_ui_screenshot:B}=k.useConfig(),$=i.ref(`vue-ui-screenshot-${Math.random()}`),n=i.computed(()=>{if(!Object.keys(C.config||{}).length)return B;const e=k.treeShake({defaultConfig:B,userConfig:C.config});return k.convertConfigColors(e)}),a=i.ref(null),d=i.ref(null),v=i.ref(null),M=i.ref(null),S=i.ref(null),y=i.ref(null),h=i.ref(null),p=i.ref(null),f=i.ref(null),b=i.ref(null),x=i.ref(null),w=i.ref(!1),I=i.ref(null);function R(){const e=document.createElement("DIV"),{innerWidth:t,innerHeight:l}=window;return e.style.position="fixed",e.style.top=`${l?l/2-n.value.style.captureArea.initialHeight/2:200}px`,e.style.left=`${t?t/2-n.value.style.captureArea.initialWidth/2:100}px`,e.style.width=`${n.value.style.captureArea.initialWidth}px`,e.style.height=`${n.value.style.captureArea.initialHeight}px`,e.style.background=n.value.style.captureArea.background,e.style.cursor="move",e.style.boxSizing="border-box",e.style.border=n.value.style.captureArea.border,e.style.resize="both",e.style.padding="none !important",e.style.margin="none !important",e.dataset.cy="screenshot-overlay",e}function E(){a.value&&(clearTimeout(I.value),a.value.remove(),a.value=null)}function W(e){const t=document.createElement("DIV");t.classList.add("vue-ui-screenshot-info-text"),t.innerHTML=n.value.translations.info,t.dataset.html2canvasIgnore="true",t.dataset.cy="screenshot-info-text",t.style.background=n.value.style.info.background,t.style.color=n.value.style.info.color,t.style.fontWeight=n.value.style.info.bold?"bold":"normal",t.style.minWidth=`${n.value.style.info.minWidth}px`,t.style.left="50%",t.style.padding=`${n.value.style.info.padding}px`,t.style.position="absolute",t.style.textAlign="center",t.style.top=`${n.value.style.info.top}px`,t.style.transform="translateX(-50%)",t.style.borderRadius=`${n.value.style.info.borderRadius}px`,t.style.boxShadow=n.value.style.info.boxShadow,t.style.fontFamily=n.value.style.info.fontFamily,t.style.fontSize=`${n.value.style.info.fontSize}px`,t.style.border=n.value.style.info.border,t.style.userSelect="none";const l=document.createElement("BUTTON");l.classList.add("vue-ui-screenshot-close-button"),l.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" stroke-width="2.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>',l.style.outline="none",l.dataset.cy="screenshot-close-button",l.style.display="flex",l.style.cursor="pointer",l.style.borderRadius="50%",l.style.alignItems="center",l.style.position="absolute",l.style.justifyContent="center",l.style.transformOrigin="center",l.style.top=`${n.value.style.cancelButton.top}px`,l.style.right=`${n.value.style.cancelButton.right}px`,l.style.background=n.value.style.cancelButton.background,l.style.color=n.value.style.cancelButton.color,l.style.border=n.value.style.cancelButton.border,l.style.borderRadius=`${n.value.style.cancelButton.borderRadius}px`,l.style.height=`${n.value.style.cancelButton.size}px`,l.style.width=`${n.value.style.cancelButton.size}px`,l.addEventListener("click",E),t.appendChild(l),e.appendChild(t)}function X(e){a.value&&(w.value=!0,e.touches?(y.value=e.touches[0].clientX,h.value=e.touches[0].clientY):(y.value=e.clientX,h.value=e.clientY),b.value=a.value.getBoundingClientRect().width,x.value=a.value.getBoundingClientRect().height,e.target.addEventListener("mousemove",L),e.target.addEventListener("touchmove",L))}function L(e){if(!a.value)return;let t,l;e.touches?(p.value=e.touches[0].clientX,t=e.touches[0].clientX,f.value=e.touches[0].clientY,l=e.touches[0].clientY):(p.value=e.clientX,t=e.clientX,f.value=e.clientY,l=e.clientY);const u=e.target.classList[0],o=a.value.style;switch(!0){case u==="vue-ui-screenshot-handle-nw":o.top=`${l}px`,o.left=`${t}px`,o.width=`${b.value+(y.value-p.value)}px`,o.height=`${x.value+(h.value-f.value)}px`;break;case u==="vue-ui-screenshot-handle-ne":o.top=`${l}px`,o.width=`${b.value+(p.value-y.value)}px`,o.height=`${x.value+(h.value-f.value)}px`;break;case u==="vue-ui-screenshot-handle-sw":o.left=`${t}px`,o.width=`${b.value+(y.value-p.value)}px`,o.height=`${x.value+(f.value-h.value)}px`;break;case u==="vue-ui-screenshot-handle-se":o.width=`${b.value+(p.value-y.value)}px`,o.height=`${x.value+(f.value-h.value)}px`;break}}function A(e){if(!a.value)return;e.stopPropagation();const t=Array.from(e.target.classList);t.includes("vue-ui-screenshot-handle-se")||t.includes("vue-ui-screenshot-handle-sw")||t.includes("vue-ui-screenshot-handle-nw")||t.includes("vue-ui-screenshot-handle-ne")||(w.value=!0,a.value.style.pointerEvents="auto",e.touches?(d.value=e.touches[0].clientX,v.value=e.touches[0].clientY):(d.value=e.clientX,v.value=e.clientY),M.value=d.value,S.value=v.value,document.addEventListener("mousemove",g),document.addEventListener("touchmove",g),document.addEventListener("mouseup",m),document.addEventListener("touchend",m))}function m(){d.value=null,v.value=null,M.value=null,S.value=null,w.value=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",m),document.removeEventListener("touchmove",g),document.removeEventListener("touchend",m)}function g(e){if(!a.value)return;const t=a.value.getBoundingClientRect();let l,u;e.touches?(l=e.touches[0].clientX-d.value,u=e.touches[0].clientY-v.value,d.value=e.touches[0].clientX,v.value=e.touches[0].clientY):(l=e.clientX-d.value,u=e.clientY-v.value,d.value=e.clientX,v.value=e.clientY),a.value.style.top=`${t.top+u}px`,a.value.style.left=`${t.left+l}px`}function Y(e){e.target.removeEventListener("mousemove",L),e.target.removeEventListener("touchmove",L),document.removeEventListener("mousemove",g),document.removeEventListener("touchmove",g),document.removeEventListener("mouseup",m),document.removeEventListener("touchend",m),w.value=!1}function D(){const e=navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?"tablet":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(e)?"mobile":"desktop"}function O(){const e=document.getElementById(`vue-ui-screenshot-button-${$.value}`);e.innerHTML=`<svg id="saveButtonSvg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),k=require("./index-1HOIfTy2.cjs"),V=require("./html2canvas.esm-BA_v9SIU.cjs"),U={__name:"vue-ui-screenshot",props:{config:{type:Object,default(){return{}}}},emits:["postImage"],setup(z,{expose:T,emit:H}){const C=z,{vue_ui_screenshot:B}=k.useConfig(),$=i.ref(`vue-ui-screenshot-${Math.random()}`),n=i.computed(()=>{if(!Object.keys(C.config||{}).length)return B;const e=k.treeShake({defaultConfig:B,userConfig:C.config});return k.convertConfigColors(e)}),a=i.ref(null),d=i.ref(null),v=i.ref(null),M=i.ref(null),S=i.ref(null),y=i.ref(null),h=i.ref(null),p=i.ref(null),f=i.ref(null),b=i.ref(null),x=i.ref(null),w=i.ref(!1),I=i.ref(null);function R(){const e=document.createElement("DIV"),{innerWidth:t,innerHeight:l}=window;return e.style.position="fixed",e.style.top=`${l?l/2-n.value.style.captureArea.initialHeight/2:200}px`,e.style.left=`${t?t/2-n.value.style.captureArea.initialWidth/2:100}px`,e.style.width=`${n.value.style.captureArea.initialWidth}px`,e.style.height=`${n.value.style.captureArea.initialHeight}px`,e.style.background=n.value.style.captureArea.background,e.style.cursor="move",e.style.boxSizing="border-box",e.style.border=n.value.style.captureArea.border,e.style.resize="both",e.style.padding="none !important",e.style.margin="none !important",e.dataset.cy="screenshot-overlay",e}function E(){a.value&&(clearTimeout(I.value),a.value.remove(),a.value=null)}function W(e){const t=document.createElement("DIV");t.classList.add("vue-ui-screenshot-info-text"),t.innerHTML=n.value.translations.info,t.dataset.html2canvasIgnore="true",t.dataset.cy="screenshot-info-text",t.style.background=n.value.style.info.background,t.style.color=n.value.style.info.color,t.style.fontWeight=n.value.style.info.bold?"bold":"normal",t.style.minWidth=`${n.value.style.info.minWidth}px`,t.style.left="50%",t.style.padding=`${n.value.style.info.padding}px`,t.style.position="absolute",t.style.textAlign="center",t.style.top=`${n.value.style.info.top}px`,t.style.transform="translateX(-50%)",t.style.borderRadius=`${n.value.style.info.borderRadius}px`,t.style.boxShadow=n.value.style.info.boxShadow,t.style.fontFamily=n.value.style.info.fontFamily,t.style.fontSize=`${n.value.style.info.fontSize}px`,t.style.border=n.value.style.info.border,t.style.userSelect="none";const l=document.createElement("BUTTON");l.classList.add("vue-ui-screenshot-close-button"),l.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" stroke-width="2.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>',l.style.outline="none",l.dataset.cy="screenshot-close-button",l.style.display="flex",l.style.cursor="pointer",l.style.borderRadius="50%",l.style.alignItems="center",l.style.position="absolute",l.style.justifyContent="center",l.style.transformOrigin="center",l.style.top=`${n.value.style.cancelButton.top}px`,l.style.right=`${n.value.style.cancelButton.right}px`,l.style.background=n.value.style.cancelButton.background,l.style.color=n.value.style.cancelButton.color,l.style.border=n.value.style.cancelButton.border,l.style.borderRadius=`${n.value.style.cancelButton.borderRadius}px`,l.style.height=`${n.value.style.cancelButton.size}px`,l.style.width=`${n.value.style.cancelButton.size}px`,l.addEventListener("click",E),t.appendChild(l),e.appendChild(t)}function X(e){a.value&&(w.value=!0,e.touches?(y.value=e.touches[0].clientX,h.value=e.touches[0].clientY):(y.value=e.clientX,h.value=e.clientY),b.value=a.value.getBoundingClientRect().width,x.value=a.value.getBoundingClientRect().height,e.target.addEventListener("mousemove",L),e.target.addEventListener("touchmove",L))}function L(e){if(!a.value)return;let t,l;e.touches?(p.value=e.touches[0].clientX,t=e.touches[0].clientX,f.value=e.touches[0].clientY,l=e.touches[0].clientY):(p.value=e.clientX,t=e.clientX,f.value=e.clientY,l=e.clientY);const u=e.target.classList[0],o=a.value.style;switch(!0){case u==="vue-ui-screenshot-handle-nw":o.top=`${l}px`,o.left=`${t}px`,o.width=`${b.value+(y.value-p.value)}px`,o.height=`${x.value+(h.value-f.value)}px`;break;case u==="vue-ui-screenshot-handle-ne":o.top=`${l}px`,o.width=`${b.value+(p.value-y.value)}px`,o.height=`${x.value+(h.value-f.value)}px`;break;case u==="vue-ui-screenshot-handle-sw":o.left=`${t}px`,o.width=`${b.value+(y.value-p.value)}px`,o.height=`${x.value+(f.value-h.value)}px`;break;case u==="vue-ui-screenshot-handle-se":o.width=`${b.value+(p.value-y.value)}px`,o.height=`${x.value+(f.value-h.value)}px`;break}}function A(e){if(!a.value)return;e.stopPropagation();const t=Array.from(e.target.classList);t.includes("vue-ui-screenshot-handle-se")||t.includes("vue-ui-screenshot-handle-sw")||t.includes("vue-ui-screenshot-handle-nw")||t.includes("vue-ui-screenshot-handle-ne")||(w.value=!0,a.value.style.pointerEvents="auto",e.touches?(d.value=e.touches[0].clientX,v.value=e.touches[0].clientY):(d.value=e.clientX,v.value=e.clientY),M.value=d.value,S.value=v.value,document.addEventListener("mousemove",g),document.addEventListener("touchmove",g),document.addEventListener("mouseup",m),document.addEventListener("touchend",m))}function m(){d.value=null,v.value=null,M.value=null,S.value=null,w.value=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",m),document.removeEventListener("touchmove",g),document.removeEventListener("touchend",m)}function g(e){if(!a.value)return;const t=a.value.getBoundingClientRect();let l,u;e.touches?(l=e.touches[0].clientX-d.value,u=e.touches[0].clientY-v.value,d.value=e.touches[0].clientX,v.value=e.touches[0].clientY):(l=e.clientX-d.value,u=e.clientY-v.value,d.value=e.clientX,v.value=e.clientY),a.value.style.top=`${t.top+u}px`,a.value.style.left=`${t.left+l}px`}function Y(e){e.target.removeEventListener("mousemove",L),e.target.removeEventListener("touchmove",L),document.removeEventListener("mousemove",g),document.removeEventListener("touchmove",g),document.removeEventListener("mouseup",m),document.removeEventListener("touchend",m),w.value=!1}function D(){const e=navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?"tablet":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(e)?"mobile":"desktop"}function O(){const e=document.getElementById(`vue-ui-screenshot-button-${$.value}`);e.innerHTML=`<svg id="saveButtonSvg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
2
2
  <path fill="none" stroke="currentColor" d="M1 4 1 3C1 2 2 1 3 1L4 1M16 1 17 1C18 1 19 2 19 3L19 4M1 16 1 17C1 18 2 19 3 19L4 19M16 19 17 19C18 19 19 18 19 17L19 16M8 10A1 1 0 0012 10 1 1 0 008 10M5 13 5 8C5 7 5 7 6 7L14 7C15 7 15 7 15 8L15 13C15 14 15 14 14 14L6 14C5 14 5 14 5 13M7 6 13 6" />
3
3
  </svg>`,document.getElementById(`vue-ui-screenshot-button-${$.value}`).animate([{opacity:"0.3"},{opacity:"1"},{opacity:"0.3"}],{duration:1e3,iterations:1/0}),e.classList.add("loading"),e.setAttribute("disabled","true")}function _(){if(!a.value)return;O();const e=a.value.getBoundingClientRect();I.value=setTimeout(()=>{V.default(document.body,{allowTaint:!0,width:e.width,height:e.height,x:e.left+window.scrollX,y:e.top+window.scrollY,useCORS:!0,scale:n.value.quality}).then(t=>{const l=t.toDataURL("image/png",1),u=l.split(",")[1],c=atob(u).length/1024;if(n.value.mode==="download"){const s=document.createElement("a");s.download="screenshot.png",s.href=l,s.click()}n.value.mode==="post"&&H("postImage",{createdAt:Date.now(),fileSize:`${c.toFixed(2)} KB`,image:l,x:e.left+window.scrollX,y:e.top+window.scrollY,screenWidth:window.innerWidth>0?window.innerWidth:screen.width,deviceType:D()})}).finally(E)},10)}function F(e){const t=n.value.style.handles.size/2+4,l=document.createElement("DIV");l.style.top=`${-t}px`,l.style.left=`${-t}px`,l.style.cursor="nw-resize",l.classList.add("vue-ui-screenshot-handle-nw"),l.dataset.cy="screenshot-handle-nw";const u=document.createElement("DIV");u.style.top=`${-t}px`,u.style.left="auto",u.style.right=`${-t}px`,u.style.cursor="ne-resize",u.classList.add("vue-ui-screenshot-handle-ne"),u.dataset.cy="screenshot-handle-ne";const o=document.createElement("DIV");o.style.top="auto",o.style.bottom=`${-t}px`,o.style.left=`${-t}px`,o.style.cursor="sw-resize",o.classList.add("vue-ui-screenshot-handle-sw"),o.dataset.cy="screenshot-handle-sw";const c=document.createElement("DIV");c.style.top="auto",c.style.left="auto",c.style.right=`${-t}px`,c.style.bottom=`${-t}px`,c.style.cursor="se-resize",c.classList.add("vue-ui-screenshot-handle-se"),c.dataset.cy="screenshot-handle-se";const s=document.createElement("BUTTON");s.innerHTML=`<svg id="saveButtonSvg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path fill="none" stroke="currentColor" d="M1 4 1 3C1 2 2 1 3 1L4 1M16 1 17 1C18 1 19 2 19 3L19 4M1 16 1 17C1 18 2 19 3 19L4 19M16 19 17 19C18 19 19 18 19 17L19 16M8 10A1 1 0 0012 10 1 1 0 008 10M5 13 5 8C5 7 5 7 6 7L14 7C15 7 15 7 15 8L15 13C15 14 15 14 14 14L6 14C5 14 5 14 5 13M7 6 13 6" /></svg><span>${n.value.translations.captureButton}</span>`,s.classList.add("vue-ui-screenshot-capture-button"),s.id=`vue-ui-screenshot-button-${$.value}`,s.style.position="absolute",s.style.top="50%",s.style.left="50%",s.style.transform="translate(-50%,-50%)",s.style.background=n.value.style.captureButton.background,s.style.color=n.value.style.captureButton.color,s.style.border=n.value.style.captureButton.border,s.style.outline="none",s.style.cursor="pointer",s.style.padding=n.value.style.captureButton.padding,s.style.fontFamily=n.value.style.captureButton.fontFamily,s.style.fontSize=`${n.value.style.captureButton.fontSize}px`,s.style.minHeight=`${n.value.style.captureButton.minHeight}px`,s.style.width="fit-content",s.style.display="flex",s.style.alignItems="center",s.style.justifyContent="center",s.style.gap="3px",s.style.borderRadius=`${n.value.style.captureButton.borderRadius}px`,s.style.boxShadow=n.value.style.captureButton.boxShadow,s.style.userSelect="none",s.style.opacity="0.95",s.style.textAlign="left",s.style.fontWeight=n.value.style.captureButton.bold?"bold":"normal",s.dataset.cy="screenshot-save-button",s.addEventListener("mouseenter",()=>{s.style.opacity="1"}),s.addEventListener("mouseleave",()=>{s.style.opacity="0.95"}),s.addEventListener("click",_),e.appendChild(s),[l,u,o,c].forEach((r,N)=>{r.classList.add(`handle-${N}`),r.dataset.html2canvasIgnore="true",r.style.position="absolute",r.style.height=`${n.value.style.handles.size}px`,r.style.width=`${n.value.style.handles.size}px`,r.style.background=n.value.style.handles.background,r.style.border=n.value.style.handles.border,r.style.borderRadius=`${n.value.style.handles.borderRadius}px`,r.style.pointerEvents="auto !important",r.addEventListener("mousedown",X),r.addEventListener("touchstart",X),e.appendChild(r)})}function j(){a.value||i.nextTick(()=>{const e=R();e.dataset.html2canvasIgnore=!0,W(e),F(e),a.value=e,e.addEventListener("touchmove",function(t){t.preventDefault()},{passive:!1}),document.body.appendChild(e),document.addEventListener("mousedown",A),document.addEventListener("touchstart",A),document.addEventListener("mouseup",Y),document.addEventListener("touchend",Y)})}return T({shoot:j,close:E}),(e,t)=>(i.openBlock(),i.createElementBlock("div"))}};exports.default=U;
@@ -1,5 +1,5 @@
1
1
  import { ref as i, computed as N, openBlock as V, createElementBlock as U, nextTick as G } from "vue";
2
- import { u as K, A as P, B as q } from "./index-B7nCQFK0.js";
2
+ import { u as K, A as P, B as q } from "./index-BG5J_ybN.js";
3
3
  import J from "./html2canvas.esm-d2sM-0Wm.js";
4
4
  const te = {
5
5
  __name: "vue-ui-screenshot",
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-COIn1phv.cjs"),b=require("./useNestedProp-CbMuGGl3.cjs"),s=require("./PackageVersion-BjfedMsH.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),i=u=>(e.pushScopeId("data-v-75f0973e"),u=u(),e.popScopeId(),u),L=["id"],S=["xmlns"],z=["stroke"],A=["stroke"],$=["stroke"],P=["fill","stroke"],W=["fill"],X=["fill","stroke"],j=["fill"],F=["fill","stroke"],O=["fill"],q=["fill","stroke"],H=["fill"],I=["fill","stroke"],Z=["fill"],T=["fill","stroke"],G=["fill"],R=["xmlns"],Y=["stroke","fill"],D=["xmlns"],U=["stroke","fill"],J=["xmlns"],K=["fill"],Q=["fill"],ee=["fill"],te=["fill"],le=["xmlns"],oe=["stroke"],re=["fill"],ne=["stroke","fill"],se=["stroke","fill"],ae=["fill"],ce=["stroke","fill"],ie=["stroke","fill"],de=["fill"],ue=["stroke","fill"],ke=["stroke","fill"],ye=["fill"],he=["stroke","fill"],me=["stroke","fill"],_e=["fill"],ve=["stroke","fill"],pe=["stroke","fill"],xe=["xmlns"],fe=["stroke"],ge=["stroke"],Ne=["stroke","fill"],we=["stroke","fill"],Ee=["stroke","fill"],Ve=["stroke","fill"],Be=["stroke","fill"],Me=["stroke","fill"],be=["stroke","fill"],Ce=["stroke","fill"],Le=["stroke","fill"],Se=["stroke","fill"],ze=["stroke","fill"],Ae=["stroke","fill"],$e=["stroke","fill"],Pe=["stroke","fill"],We=["stroke","fill"],Xe=["stroke","fill"],je=["stroke","fill"],Fe=["stroke","fill"],Oe=["stroke","fill"],qe=["stroke","fill"],He=["stroke","fill"],Ie=["stroke","fill"],Ze=["stroke","fill"],Te=["xmlns"],Ge=["stroke"],Re=["xmlns"],Ye=["stroke"],De=["xmlns"],Ue=["stroke"],Je=["xmlns"],Ke=["fill"],Qe=["fill"],et=["fill"],tt=["fill"],lt=["fill"],ot=["fill"],rt=["fill"],nt=["fill"],st=["fill"],at=["fill"],ct=["fill"],it=["fill"],dt=["xmlns"],ut=["stroke"],kt=["stroke"],yt=["stroke"],ht=["stroke"],mt=["stroke"],_t=["stroke"],vt=["xmlns"],pt=["stroke"],xt=["stroke"],ft=["stroke"],gt=["stroke"],Nt=["stroke"],wt=["stroke"],Et=["stroke"],Vt=["stroke"],Bt=["stroke"],Mt=["xmlns"],bt=["stroke"],Ct=["xmlns"],Lt=["stroke"],St=["stroke"],zt=["stroke"],At=["stroke"],$t=["stroke"],Pt=["stroke"],Wt=["stroke"],Xt=["stroke"],jt=["stroke"],Ft=["xmlns"],Ot=["x1","x2","stroke"],qt=["xmlns"],Ht=["x","y","width","height","fill"],It=["y","width","height","fill"],Zt=["xmlns"],Tt=["fill"],Gt=["fill"],Rt=["fill"],Yt=["xmlns"],Dt=["x1","x2","y1","y2","stroke"],Ut=["stroke"],Jt=["fill"],Kt=["xmlns"],Qt=["fill"],el=["fill"],tl=["x1","y1","x2","y2","stroke-width","stroke"],ll=["xmlns"],ol={key:0},rl=["stroke","stroke-width"],nl=["stroke","stroke-width"],sl=["x1","x2","y1","y2","stroke","stroke-width"],al=["x1","x2","y1","y2","stroke","stroke-width"],cl=["x1","x2","y1","y2","stroke","stroke-width"],il=["x","y","height","width","fill"],dl=["xmlns","viewBox"],ul=["x","y","stroke","fill"],kl=["xmlns"],yl=["d","stroke"],hl=["cx","cy","r","fill","stroke"],ml=["cx","cy","r","fill","stroke"],_l=["x","y","width","fill"],vl=["cx","cy","fill"],pl=["cx","cy","fill"],xl=["stroke"],fl=["xmlns"],gl=["stroke","stroke-width"],Nl=["stroke","stroke-width"],wl=["stroke","stroke-width"],El=["fill"],Vl=["fill"],Bl=["fill"],Ml=["fill"],bl=["fill"],Cl=["fill"],Ll=["xmlns"],Sl={key:0},zl=["stroke","stroke-width"],Al=["stroke","stroke-width"],$l=["stroke","stroke-width"],Pl={key:1},Wl=["r","fill"],Xl=["r","fill"],jl=["xmlns"],Fl={key:0},Ol=["stroke","stroke-width"],ql=["stroke","stroke-width"],Hl=["fill","rx","x","y","width","height"],Il=["xmlns"],Zl=["stroke-width","stroke"],Tl=["stroke-width","stroke"],Gl=["stroke-width","stroke"],Rl=["xmlns"],Yl=["stroke"],Dl=["stroke"],Ul=["stroke"],Jl=["stroke"],Kl=["fill"],Ql=["stroke"],eo=["xmlns"],to=["stroke","stroke-width"],lo=["stroke","stroke-width"],oo=["fill","r"],ro=["fill","r"],no=["fill","r"],so=["fill","r"],ao=["fill","r"],co=["fill","r"],io=["fill","r"],uo=["fill","r"],ko=["fill","r"],yo=["xmlns"],ho=["d","stroke","stroke-width"],mo=["d","stroke","stroke-width"],_o=["d","stroke","stroke-width"],vo=["d","stroke","stroke-width"],po=["stroke","stroke-width"],xo=["stroke","stroke-width"],fo=["stroke","stroke-width"],go=["fill"],No=["fill"],wo=["xmlns"],Eo=["x","y","fill"],Vo=["x","y","fill"],Bo=["x","y","fill"],Mo=["xmlns"],bo=["fill"],Co=["fill"],Lo=["y1","y2","stroke","stroke-width"],So=["x1","x2","stroke","stroke-width"],zo=["xmlns","stroke"],Ao=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),$o=["fill"],Po=["xmlns","stroke"],Wo=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-75f0973e></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-75f0973e></path><path d="M9 10l.01 0" data-v-75f0973e></path><path d="M15 10l.01 0" data-v-75f0973e></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-75f0973e></path>',5),Xo=[Wo],jo=["xmlns","stroke"],Fo=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),Oo=["fill"],qo=["xmlns","stroke"],Ho=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-75f0973e></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-75f0973e></path><path d="M9 10l.01 0" data-v-75f0973e></path><path d="M15 10l.01 0" data-v-75f0973e></path><path d="M9 15l6 0" data-v-75f0973e></path>',5),Io=[Ho],Zo=["xmlns","stroke"],To=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),Go=["fill"],Ro=["xmlns","stroke"],Yo=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),Do=i(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),Uo=i(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),Jo=i(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),Ko=[Yo,Do,Uo,Jo],Qo=["xmlns","stroke"],er=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),tr=["fill"],lr=["xmlns","stroke"],or=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-75f0973e></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-75f0973e></path><path d="M9 10l.01 0" data-v-75f0973e></path><path d="M15 10l.01 0" data-v-75f0973e></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-75f0973e></path>',5),rr=[or],nr=["xmlns","stroke"],sr=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),ar=["fill"],cr=["xmlns","stroke"],ir=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-75f0973e></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-75f0973e></path><path d="M9 9l.01 0" data-v-75f0973e></path><path d="M15 9l.01 0" data-v-75f0973e></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-75f0973e></path>',5),dr=[ir],ur=["xmlns"],kr=["points","fill","stroke","stroke-width"],yr=["xmlns"],hr={key:0},mr=["stroke","stroke-width"],_r=["y","width","fill","rx"],vr={__name:"vue-ui-skeleton",props:{config:{type:Object,default(){return{}}}},setup(u){const p=u,{vue_ui_skeleton:x}=l.useConfig(),f=e.ref(`vue-ui-skeleton-${Math.random()}`),t=e.computed(()=>b.useNestedProp({userConfig:p.config,defaultConfig:x})),g=e.computed(()=>t.value.style.animated),n=e.computed(()=>t.value.type),N=e.ref([60,50,55,36,40,25,26,12]),w=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:40,sides:6}).path),E=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:30,sides:6}).path),V=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:20,sides:6}).path),B=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:10,sides:6}).path),y=e.ref([{root:{x:70,y:77,r:44,opacity:100},bars:[{x:200,y:37,opacity:100,width:240},{x:200,y:118,opacity:100,width:180},{x:200,y:253,opacity:100,width:80}]},{root:{x:70,y:177,r:32,opacity:70},bars:[{x:200,y:145,opacity:70,width:160},{x:200,y:172,opacity:70,width:140},{x:200,y:199,opacity:70,width:120}]},{root:{x:70,y:257,r:24,opacity:40},bars:[{x:200,y:64,opacity:40,width:220},{x:200,y:91,opacity:40,width:200},{x:200,y:226,opacity:40,width:100}]}]),a=e.ref([{y:200,height:100,bar:50},{y:180,height:100,bar:40},{y:150,height:100,bar:30},{y:120,height:80,bar:50},{y:110,height:60,bar:30},{y:80,height:80,bar:10},{y:50,height:80,bar:40},{y:24,height:40,bar:24},{y:44,height:20,bar:13},{y:32,height:45,bar:19}]),k=e.ref([[3,2.5],[4,3.1],[8,6],[9.5,6.5],[12,11],[16,15],[18,18.2],[25,24],[24,26],[32,32],[33,32],[32,31],[38,37],[37,38],[42,41],[40,41],[44,45],[38,35],[31,32]]),h=e.ref([{x:40,y:30},{x:45,y:28},{x:50,y:25},{x:55,y:20},{x:60,y:27},{x:65,y:14},{x:70,y:23},{x:75,y:16},{x:80,y:25},{x:85,y:10},{x:90,y:18},{x:95,y:7},{x:100,y:12},{x:105,y:10},{x:110,y:20},{x:115,y:7},{x:120,y:14},{x:125,y:10},{x:130,y:19},{x:135,y:3},{x:140,y:10},{x:145,y:2},{x:150,y:1}]);function m(d,_=1){return{x:200+160*Math.cos(29.85+d*Math.PI/180)*_,y:200+160*Math.sin(29.85+d*Math.PI/180)*_}}const M=e.computed(()=>{const d=[];for(let o=0;o<100;o+=1)d.push({x1:m(360/100*o).x,y1:m(360/100*o).y,x2:m(360/100*o,.9).x,y2:m(360/100*o,.9).y,color:t.value.style.wheel.color});return d});return(d,_)=>(e.openBlock(),e.createElementBlock("div",{id:f.value,class:e.normalizeClass({"vue-ui-skeleton":!0,"vue-ui-skeleton-animated":g.value}),style:e.normalizeStyle(`background:${t.value.style.backgroundColor};color:${t.value.style.color};display:flex;align-items:center;justify-content:center;`)},[n.value==="historyPlot"?(e.openBlock(),e.createElementBlock("svg",{key:0,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 612 512",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"12",x2:"12",y1:"12",y2:"500",stroke:t.value.style.historyPlot.color,"stroke-width":"3","stroke-linecap":"round"},null,8,z),e.createElementVNode("line",{x1:"12",x2:"600",y1:"500",y2:"500",stroke:t.value.style.historyPlot.color,"stroke-width":"3","stroke-linecap":"round"},null,8,A),e.createElementVNode("path",{d:"M 80,100 300,200 400,150 560,230 360,420 230,320",fill:"none",stroke:t.value.style.historyPlot.color,"stroke-width":"3"},null,8,$),e.createElementVNode("circle",{cx:"80",cy:"100",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,P),e.createElementVNode("text",{x:"80",y:"108",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"1",8,W),e.createElementVNode("circle",{cx:"300",cy:"200",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,X),e.createElementVNode("text",{x:"300",y:"208",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"2",8,j),e.createElementVNode("circle",{cx:"400",cy:"150",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,F),e.createElementVNode("text",{x:"400",y:"158",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"3",8,O),e.createElementVNode("circle",{cx:"560",cy:"230",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,q),e.createElementVNode("text",{x:"560",y:"238",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"4",8,H),e.createElementVNode("circle",{cx:"360",cy:"420",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,I),e.createElementVNode("text",{x:"360",y:"428",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"5",8,Z),e.createElementVNode("circle",{cx:"230",cy:"320",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,T),e.createElementVNode("text",{x:"230",y:"328",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"6",8,G)],12,S)):e.createCommentVNode("",!0),n.value==="flow"?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 8 L 28 12 L 52 9 L 75 8 L 75 12 L 52 12 L 28 21 L 5 29 Z M 5 34 L 28 35 L 52 24 L 75 21 L 75 27 L 52 30 L 28 44 L 52 39 L 75 41 L 75 47 L 52 45 L 28 52 L 5 52 Z",stroke:t.value.style.flow.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:t.value.style.flow.color},null,8,Y)],12,R)):e.createCommentVNode("",!0),n.value==="parallelCoordinatePlot"?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 10 A 1 1 0 0 0 5 12 A 1 1 0 0 0 5 10 M 28 15 A 1 1 0 0 0 28 17 A 1 1 0 0 0 28 15 M 52 8 A 1 1 0 0 0 52 10 A 1 1 0 0 0 52 8 M 75 11 A 1 1 0 0 0 75 13 A 1 1 0 0 0 75 11 M 6 11 L 27 16 M 29 16 L 51 9 M 53 9 L 74 12 M 5 50 A 1 1 0 0 0 5 48 A 1 1 0 0 0 5 50 M 28 39 A 1 1 0 0 0 28 41 A 1 1 0 0 0 28 39 M 52 45 A 1 1 0 0 0 52 47 A 1 1 0 0 0 52 45 M 75 45 A 1 1 0 0 0 75 47 A 1 1 0 0 0 75 45 M 6 49 L 27 40 M 29 40 L 51 46 M 53 46 L 74 46 M 5 25 A 1 1 0 0 0 5 27 A 1 1 0 0 0 5 25 M 28 31 A 1 1 0 0 0 28 33 A 1 1 0 0 0 28 31 M 52 23 A 1 1 0 0 0 52 25 A 1 1 0 0 0 52 23 M 75 21 A 1 1 0 0 0 75 23 A 1 1 0 0 0 75 21 M 6 26 L 27 32 M 29 32 L 51 24 M 53 24 L 74 22",stroke:t.value.style.parallelCoordinatePlot.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:t.value.style.parallelCoordinatePlot.color},null,8,U)],12,D)):e.createCommentVNode("",!0),n.value==="bullet"?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 600 96",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:24,y:12,width:300,height:72,style:{opacity:"0.8"}},null,8,K),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:324,y:12,width:150,height:72,style:{opacity:"0.6"}},null,8,Q),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:474,y:12,width:102,height:72,style:{opacity:"0.3"}},null,8,ee),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:24,y:36,width:490,height:24,style:{opacity:"1"}},null,8,te)],12,J)):e.createCommentVNode("",!0),n.value==="dumbbell"?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 55",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:t.value.style.dumbbell.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,oe),e.createElementVNode("path",{d:`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-1HOIfTy2.cjs"),b=require("./useNestedProp-BFNnjpX-.cjs"),s=require("./PackageVersion-DvDNPRrJ.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),i=u=>(e.pushScopeId("data-v-75f0973e"),u=u(),e.popScopeId(),u),L=["id"],S=["xmlns"],z=["stroke"],A=["stroke"],$=["stroke"],P=["fill","stroke"],W=["fill"],X=["fill","stroke"],j=["fill"],F=["fill","stroke"],O=["fill"],q=["fill","stroke"],H=["fill"],I=["fill","stroke"],Z=["fill"],T=["fill","stroke"],G=["fill"],R=["xmlns"],Y=["stroke","fill"],D=["xmlns"],U=["stroke","fill"],J=["xmlns"],K=["fill"],Q=["fill"],ee=["fill"],te=["fill"],le=["xmlns"],oe=["stroke"],re=["fill"],ne=["stroke","fill"],se=["stroke","fill"],ae=["fill"],ce=["stroke","fill"],ie=["stroke","fill"],de=["fill"],ue=["stroke","fill"],ke=["stroke","fill"],ye=["fill"],he=["stroke","fill"],me=["stroke","fill"],_e=["fill"],ve=["stroke","fill"],pe=["stroke","fill"],xe=["xmlns"],fe=["stroke"],ge=["stroke"],Ne=["stroke","fill"],we=["stroke","fill"],Ee=["stroke","fill"],Ve=["stroke","fill"],Be=["stroke","fill"],Me=["stroke","fill"],be=["stroke","fill"],Ce=["stroke","fill"],Le=["stroke","fill"],Se=["stroke","fill"],ze=["stroke","fill"],Ae=["stroke","fill"],$e=["stroke","fill"],Pe=["stroke","fill"],We=["stroke","fill"],Xe=["stroke","fill"],je=["stroke","fill"],Fe=["stroke","fill"],Oe=["stroke","fill"],qe=["stroke","fill"],He=["stroke","fill"],Ie=["stroke","fill"],Ze=["stroke","fill"],Te=["xmlns"],Ge=["stroke"],Re=["xmlns"],Ye=["stroke"],De=["xmlns"],Ue=["stroke"],Je=["xmlns"],Ke=["fill"],Qe=["fill"],et=["fill"],tt=["fill"],lt=["fill"],ot=["fill"],rt=["fill"],nt=["fill"],st=["fill"],at=["fill"],ct=["fill"],it=["fill"],dt=["xmlns"],ut=["stroke"],kt=["stroke"],yt=["stroke"],ht=["stroke"],mt=["stroke"],_t=["stroke"],vt=["xmlns"],pt=["stroke"],xt=["stroke"],ft=["stroke"],gt=["stroke"],Nt=["stroke"],wt=["stroke"],Et=["stroke"],Vt=["stroke"],Bt=["stroke"],Mt=["xmlns"],bt=["stroke"],Ct=["xmlns"],Lt=["stroke"],St=["stroke"],zt=["stroke"],At=["stroke"],$t=["stroke"],Pt=["stroke"],Wt=["stroke"],Xt=["stroke"],jt=["stroke"],Ft=["xmlns"],Ot=["x1","x2","stroke"],qt=["xmlns"],Ht=["x","y","width","height","fill"],It=["y","width","height","fill"],Zt=["xmlns"],Tt=["fill"],Gt=["fill"],Rt=["fill"],Yt=["xmlns"],Dt=["x1","x2","y1","y2","stroke"],Ut=["stroke"],Jt=["fill"],Kt=["xmlns"],Qt=["fill"],el=["fill"],tl=["x1","y1","x2","y2","stroke-width","stroke"],ll=["xmlns"],ol={key:0},rl=["stroke","stroke-width"],nl=["stroke","stroke-width"],sl=["x1","x2","y1","y2","stroke","stroke-width"],al=["x1","x2","y1","y2","stroke","stroke-width"],cl=["x1","x2","y1","y2","stroke","stroke-width"],il=["x","y","height","width","fill"],dl=["xmlns","viewBox"],ul=["x","y","stroke","fill"],kl=["xmlns"],yl=["d","stroke"],hl=["cx","cy","r","fill","stroke"],ml=["cx","cy","r","fill","stroke"],_l=["x","y","width","fill"],vl=["cx","cy","fill"],pl=["cx","cy","fill"],xl=["stroke"],fl=["xmlns"],gl=["stroke","stroke-width"],Nl=["stroke","stroke-width"],wl=["stroke","stroke-width"],El=["fill"],Vl=["fill"],Bl=["fill"],Ml=["fill"],bl=["fill"],Cl=["fill"],Ll=["xmlns"],Sl={key:0},zl=["stroke","stroke-width"],Al=["stroke","stroke-width"],$l=["stroke","stroke-width"],Pl={key:1},Wl=["r","fill"],Xl=["r","fill"],jl=["xmlns"],Fl={key:0},Ol=["stroke","stroke-width"],ql=["stroke","stroke-width"],Hl=["fill","rx","x","y","width","height"],Il=["xmlns"],Zl=["stroke-width","stroke"],Tl=["stroke-width","stroke"],Gl=["stroke-width","stroke"],Rl=["xmlns"],Yl=["stroke"],Dl=["stroke"],Ul=["stroke"],Jl=["stroke"],Kl=["fill"],Ql=["stroke"],eo=["xmlns"],to=["stroke","stroke-width"],lo=["stroke","stroke-width"],oo=["fill","r"],ro=["fill","r"],no=["fill","r"],so=["fill","r"],ao=["fill","r"],co=["fill","r"],io=["fill","r"],uo=["fill","r"],ko=["fill","r"],yo=["xmlns"],ho=["d","stroke","stroke-width"],mo=["d","stroke","stroke-width"],_o=["d","stroke","stroke-width"],vo=["d","stroke","stroke-width"],po=["stroke","stroke-width"],xo=["stroke","stroke-width"],fo=["stroke","stroke-width"],go=["fill"],No=["fill"],wo=["xmlns"],Eo=["x","y","fill"],Vo=["x","y","fill"],Bo=["x","y","fill"],Mo=["xmlns"],bo=["fill"],Co=["fill"],Lo=["y1","y2","stroke","stroke-width"],So=["x1","x2","stroke","stroke-width"],zo=["xmlns","stroke"],Ao=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),$o=["fill"],Po=["xmlns","stroke"],Wo=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-75f0973e></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-75f0973e></path><path d="M9 10l.01 0" data-v-75f0973e></path><path d="M15 10l.01 0" data-v-75f0973e></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-75f0973e></path>',5),Xo=[Wo],jo=["xmlns","stroke"],Fo=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),Oo=["fill"],qo=["xmlns","stroke"],Ho=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-75f0973e></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-75f0973e></path><path d="M9 10l.01 0" data-v-75f0973e></path><path d="M15 10l.01 0" data-v-75f0973e></path><path d="M9 15l6 0" data-v-75f0973e></path>',5),Io=[Ho],Zo=["xmlns","stroke"],To=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),Go=["fill"],Ro=["xmlns","stroke"],Yo=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),Do=i(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),Uo=i(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),Jo=i(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),Ko=[Yo,Do,Uo,Jo],Qo=["xmlns","stroke"],er=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),tr=["fill"],lr=["xmlns","stroke"],or=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-75f0973e></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-75f0973e></path><path d="M9 10l.01 0" data-v-75f0973e></path><path d="M15 10l.01 0" data-v-75f0973e></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-75f0973e></path>',5),rr=[or],nr=["xmlns","stroke"],sr=i(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),ar=["fill"],cr=["xmlns","stroke"],ir=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-75f0973e></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-75f0973e></path><path d="M9 9l.01 0" data-v-75f0973e></path><path d="M15 9l.01 0" data-v-75f0973e></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-75f0973e></path>',5),dr=[ir],ur=["xmlns"],kr=["points","fill","stroke","stroke-width"],yr=["xmlns"],hr={key:0},mr=["stroke","stroke-width"],_r=["y","width","fill","rx"],vr={__name:"vue-ui-skeleton",props:{config:{type:Object,default(){return{}}}},setup(u){const p=u,{vue_ui_skeleton:x}=l.useConfig(),f=e.ref(`vue-ui-skeleton-${Math.random()}`),t=e.computed(()=>b.useNestedProp({userConfig:p.config,defaultConfig:x})),g=e.computed(()=>t.value.style.animated),n=e.computed(()=>t.value.type),N=e.ref([60,50,55,36,40,25,26,12]),w=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:40,sides:6}).path),E=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:30,sides:6}).path),V=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:20,sides:6}).path),B=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:10,sides:6}).path),y=e.ref([{root:{x:70,y:77,r:44,opacity:100},bars:[{x:200,y:37,opacity:100,width:240},{x:200,y:118,opacity:100,width:180},{x:200,y:253,opacity:100,width:80}]},{root:{x:70,y:177,r:32,opacity:70},bars:[{x:200,y:145,opacity:70,width:160},{x:200,y:172,opacity:70,width:140},{x:200,y:199,opacity:70,width:120}]},{root:{x:70,y:257,r:24,opacity:40},bars:[{x:200,y:64,opacity:40,width:220},{x:200,y:91,opacity:40,width:200},{x:200,y:226,opacity:40,width:100}]}]),a=e.ref([{y:200,height:100,bar:50},{y:180,height:100,bar:40},{y:150,height:100,bar:30},{y:120,height:80,bar:50},{y:110,height:60,bar:30},{y:80,height:80,bar:10},{y:50,height:80,bar:40},{y:24,height:40,bar:24},{y:44,height:20,bar:13},{y:32,height:45,bar:19}]),k=e.ref([[3,2.5],[4,3.1],[8,6],[9.5,6.5],[12,11],[16,15],[18,18.2],[25,24],[24,26],[32,32],[33,32],[32,31],[38,37],[37,38],[42,41],[40,41],[44,45],[38,35],[31,32]]),h=e.ref([{x:40,y:30},{x:45,y:28},{x:50,y:25},{x:55,y:20},{x:60,y:27},{x:65,y:14},{x:70,y:23},{x:75,y:16},{x:80,y:25},{x:85,y:10},{x:90,y:18},{x:95,y:7},{x:100,y:12},{x:105,y:10},{x:110,y:20},{x:115,y:7},{x:120,y:14},{x:125,y:10},{x:130,y:19},{x:135,y:3},{x:140,y:10},{x:145,y:2},{x:150,y:1}]);function m(d,_=1){return{x:200+160*Math.cos(29.85+d*Math.PI/180)*_,y:200+160*Math.sin(29.85+d*Math.PI/180)*_}}const M=e.computed(()=>{const d=[];for(let o=0;o<100;o+=1)d.push({x1:m(360/100*o).x,y1:m(360/100*o).y,x2:m(360/100*o,.9).x,y2:m(360/100*o,.9).y,color:t.value.style.wheel.color});return d});return(d,_)=>(e.openBlock(),e.createElementBlock("div",{id:f.value,class:e.normalizeClass({"vue-ui-skeleton":!0,"vue-ui-skeleton-animated":g.value}),style:e.normalizeStyle(`background:${t.value.style.backgroundColor};color:${t.value.style.color};display:flex;align-items:center;justify-content:center;`)},[n.value==="historyPlot"?(e.openBlock(),e.createElementBlock("svg",{key:0,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 612 512",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"12",x2:"12",y1:"12",y2:"500",stroke:t.value.style.historyPlot.color,"stroke-width":"3","stroke-linecap":"round"},null,8,z),e.createElementVNode("line",{x1:"12",x2:"600",y1:"500",y2:"500",stroke:t.value.style.historyPlot.color,"stroke-width":"3","stroke-linecap":"round"},null,8,A),e.createElementVNode("path",{d:"M 80,100 300,200 400,150 560,230 360,420 230,320",fill:"none",stroke:t.value.style.historyPlot.color,"stroke-width":"3"},null,8,$),e.createElementVNode("circle",{cx:"80",cy:"100",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,P),e.createElementVNode("text",{x:"80",y:"108",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"1",8,W),e.createElementVNode("circle",{cx:"300",cy:"200",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,X),e.createElementVNode("text",{x:"300",y:"208",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"2",8,j),e.createElementVNode("circle",{cx:"400",cy:"150",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,F),e.createElementVNode("text",{x:"400",y:"158",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"3",8,O),e.createElementVNode("circle",{cx:"560",cy:"230",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,q),e.createElementVNode("text",{x:"560",y:"238",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"4",8,H),e.createElementVNode("circle",{cx:"360",cy:"420",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,I),e.createElementVNode("text",{x:"360",y:"428",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"5",8,Z),e.createElementVNode("circle",{cx:"230",cy:"320",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,T),e.createElementVNode("text",{x:"230",y:"328",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"6",8,G)],12,S)):e.createCommentVNode("",!0),n.value==="flow"?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 8 L 28 12 L 52 9 L 75 8 L 75 12 L 52 12 L 28 21 L 5 29 Z M 5 34 L 28 35 L 52 24 L 75 21 L 75 27 L 52 30 L 28 44 L 52 39 L 75 41 L 75 47 L 52 45 L 28 52 L 5 52 Z",stroke:t.value.style.flow.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:t.value.style.flow.color},null,8,Y)],12,R)):e.createCommentVNode("",!0),n.value==="parallelCoordinatePlot"?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 10 A 1 1 0 0 0 5 12 A 1 1 0 0 0 5 10 M 28 15 A 1 1 0 0 0 28 17 A 1 1 0 0 0 28 15 M 52 8 A 1 1 0 0 0 52 10 A 1 1 0 0 0 52 8 M 75 11 A 1 1 0 0 0 75 13 A 1 1 0 0 0 75 11 M 6 11 L 27 16 M 29 16 L 51 9 M 53 9 L 74 12 M 5 50 A 1 1 0 0 0 5 48 A 1 1 0 0 0 5 50 M 28 39 A 1 1 0 0 0 28 41 A 1 1 0 0 0 28 39 M 52 45 A 1 1 0 0 0 52 47 A 1 1 0 0 0 52 45 M 75 45 A 1 1 0 0 0 75 47 A 1 1 0 0 0 75 45 M 6 49 L 27 40 M 29 40 L 51 46 M 53 46 L 74 46 M 5 25 A 1 1 0 0 0 5 27 A 1 1 0 0 0 5 25 M 28 31 A 1 1 0 0 0 28 33 A 1 1 0 0 0 28 31 M 52 23 A 1 1 0 0 0 52 25 A 1 1 0 0 0 52 23 M 75 21 A 1 1 0 0 0 75 23 A 1 1 0 0 0 75 21 M 6 26 L 27 32 M 29 32 L 51 24 M 53 24 L 74 22",stroke:t.value.style.parallelCoordinatePlot.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:t.value.style.parallelCoordinatePlot.color},null,8,U)],12,D)):e.createCommentVNode("",!0),n.value==="bullet"?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 600 96",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:24,y:12,width:300,height:72,style:{opacity:"0.8"}},null,8,K),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:324,y:12,width:150,height:72,style:{opacity:"0.6"}},null,8,Q),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:474,y:12,width:102,height:72,style:{opacity:"0.3"}},null,8,ee),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:24,y:36,width:490,height:24,style:{opacity:"1"}},null,8,te)],12,J)):e.createCommentVNode("",!0),n.value==="dumbbell"?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 55",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:t.value.style.dumbbell.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,oe),e.createElementVNode("path",{d:`
2
2
  M 30,11
3
3
  C 39,10 39,10
4
4
  45,11
@@ -1,7 +1,7 @@
1
1
  import { ref as w, computed as g, openBlock as e, createElementBlock as o, normalizeClass as F, normalizeStyle as n, unref as s, createVNode as d, createElementVNode as t, createCommentVNode as a, Fragment as h, renderList as v, pushScopeId as O, popScopeId as V, createStaticVNode as P } from "vue";
2
- import { u as X, O as B, X as u, s as k, V as G } from "./index-B7nCQFK0.js";
3
- import { u as R } from "./useNestedProp-C9rlBRTT.js";
4
- import { _ as y } from "./PackageVersion-CENy3Lm2.js";
2
+ import { u as X, O as B, X as u, s as k, V as G } from "./index-BG5J_ybN.js";
3
+ import { u as R } from "./useNestedProp-BN1ZmAKT.js";
4
+ import { _ as y } from "./PackageVersion-Rh3rgo6A.js";
5
5
  import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const p = (m) => (O("data-v-75f0973e"), m = m(), V(), m), Y = ["id"], D = ["xmlns"], U = ["stroke"], J = ["stroke"], K = ["stroke"], Q = ["fill", "stroke"], ll = ["fill"], tl = ["fill", "stroke"], el = ["fill"], ol = ["fill", "stroke"], sl = ["fill"], rl = ["fill", "stroke"], il = ["fill"], nl = ["fill", "stroke"], al = ["fill"], ul = ["fill", "stroke"], cl = ["fill"], dl = ["xmlns"], yl = ["stroke", "fill"], hl = ["xmlns"], kl = ["stroke", "fill"], vl = ["xmlns"], _l = ["fill"], xl = ["fill"], pl = ["fill"], gl = ["fill"], fl = ["xmlns"], wl = ["stroke"], ml = ["fill"], bl = ["stroke", "fill"], Ml = ["stroke", "fill"], Cl = ["fill"], Ll = ["stroke", "fill"], Al = ["stroke", "fill"], $l = ["fill"], Bl = ["stroke", "fill"], Pl = ["stroke", "fill"], Wl = ["fill"], zl = ["stroke", "fill"], jl = ["stroke", "fill"], ql = ["fill"], Hl = ["stroke", "fill"], Sl = ["stroke", "fill"], El = ["xmlns"], Il = ["stroke"], Zl = ["stroke"], Nl = ["stroke", "fill"], Fl = ["stroke", "fill"], Ol = ["stroke", "fill"], Vl = ["stroke", "fill"], Xl = ["stroke", "fill"], Gl = ["stroke", "fill"], Rl = ["stroke", "fill"], Tl = ["stroke", "fill"], Yl = ["stroke", "fill"], Dl = ["stroke", "fill"], Ul = ["stroke", "fill"], Jl = ["stroke", "fill"], Kl = ["stroke", "fill"], Ql = ["stroke", "fill"], lt = ["stroke", "fill"], tt = ["stroke", "fill"], et = ["stroke", "fill"], ot = ["stroke", "fill"], st = ["stroke", "fill"], rt = ["stroke", "fill"], it = ["stroke", "fill"], nt = ["stroke", "fill"], at = ["stroke", "fill"], ut = ["xmlns"], ct = ["stroke"], dt = ["xmlns"], yt = ["stroke"], ht = ["xmlns"], kt = ["stroke"], vt = ["xmlns"], _t = ["fill"], xt = ["fill"], pt = ["fill"], gt = ["fill"], ft = ["fill"], wt = ["fill"], mt = ["fill"], bt = ["fill"], Mt = ["fill"], Ct = ["fill"], Lt = ["fill"], At = ["fill"], $t = ["xmlns"], Bt = ["stroke"], Pt = ["stroke"], Wt = ["stroke"], zt = ["stroke"], jt = ["stroke"], qt = ["stroke"], Ht = ["xmlns"], St = ["stroke"], Et = ["stroke"], It = ["stroke"], Zt = ["stroke"], Nt = ["stroke"], Ft = ["stroke"], Ot = ["stroke"], Vt = ["stroke"], Xt = ["stroke"], Gt = ["xmlns"], Rt = ["stroke"], Tt = ["xmlns"], Yt = ["stroke"], Dt = ["stroke"], Ut = ["stroke"], Jt = ["stroke"], Kt = ["stroke"], Qt = ["stroke"], le = ["stroke"], te = ["stroke"], ee = ["stroke"], oe = ["xmlns"], se = ["x1", "x2", "stroke"], re = ["xmlns"], ie = ["x", "y", "width", "height", "fill"], ne = ["y", "width", "height", "fill"], ae = ["xmlns"], ue = ["fill"], ce = ["fill"], de = ["fill"], ye = ["xmlns"], he = ["x1", "x2", "y1", "y2", "stroke"], ke = ["stroke"], ve = ["fill"], _e = ["xmlns"], xe = ["fill"], pe = ["fill"], ge = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], fe = ["xmlns"], we = { key: 0 }, me = ["stroke", "stroke-width"], be = ["stroke", "stroke-width"], Me = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ce = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Le = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ae = ["x", "y", "height", "width", "fill"], $e = ["xmlns", "viewBox"], Be = ["x", "y", "stroke", "fill"], Pe = ["xmlns"], We = ["d", "stroke"], ze = ["cx", "cy", "r", "fill", "stroke"], je = ["cx", "cy", "r", "fill", "stroke"], qe = ["x", "y", "width", "fill"], He = ["cx", "cy", "fill"], Se = ["cx", "cy", "fill"], Ee = ["stroke"], Ie = ["xmlns"], Ze = ["stroke", "stroke-width"], Ne = ["stroke", "stroke-width"], Fe = ["stroke", "stroke-width"], Oe = ["fill"], Ve = ["fill"], Xe = ["fill"], Ge = ["fill"], Re = ["fill"], Te = ["fill"], Ye = ["xmlns"], De = { key: 0 }, Ue = ["stroke", "stroke-width"], Je = ["stroke", "stroke-width"], Ke = ["stroke", "stroke-width"], Qe = { key: 1 }, lo = ["r", "fill"], to = ["r", "fill"], eo = ["xmlns"], oo = { key: 0 }, so = ["stroke", "stroke-width"], ro = ["stroke", "stroke-width"], io = ["fill", "rx", "x", "y", "width", "height"], no = ["xmlns"], ao = ["stroke-width", "stroke"], uo = ["stroke-width", "stroke"], co = ["stroke-width", "stroke"], yo = ["xmlns"], ho = ["stroke"], ko = ["stroke"], vo = ["stroke"], _o = ["stroke"], xo = ["fill"], po = ["stroke"], go = ["xmlns"], fo = ["stroke", "stroke-width"], wo = ["stroke", "stroke-width"], mo = ["fill", "r"], bo = ["fill", "r"], Mo = ["fill", "r"], Co = ["fill", "r"], Lo = ["fill", "r"], Ao = ["fill", "r"], $o = ["fill", "r"], Bo = ["fill", "r"], Po = ["fill", "r"], Wo = ["xmlns"], zo = ["d", "stroke", "stroke-width"], jo = ["d", "stroke", "stroke-width"], qo = ["d", "stroke", "stroke-width"], Ho = ["d", "stroke", "stroke-width"], So = ["stroke", "stroke-width"], Eo = ["stroke", "stroke-width"], Io = ["stroke", "stroke-width"], Zo = ["fill"], No = ["fill"], Fo = ["xmlns"], Oo = ["x", "y", "fill"], Vo = ["x", "y", "fill"], Xo = ["x", "y", "fill"], Go = ["xmlns"], Ro = ["fill"], To = ["fill"], Yo = ["y1", "y2", "stroke", "stroke-width"], Do = ["x1", "x2", "stroke", "stroke-width"], Uo = ["xmlns", "stroke"], Jo = /* @__PURE__ */ p(() => /* @__PURE__ */ t("path", {
7
7
  stroke: "none",
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-COIn1phv.cjs"),M=require("./useNestedProp-CbMuGGl3.cjs"),B=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=y=>(e.pushScopeId("data-v-69afe185"),y=y(),e.popScopeId(),y),C={key:0,class:"vue-ui-rating-title",style:{width:"100%"}},R=["xmlns","stroke"],L={id:"vueUiSmiley0"},H=["stop-color"],X=["stop-color"],j=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),D=["fill"],U=["stroke"],G=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-69afe185></path>',5),A=[G],Y=["xmlns","viewBox","stroke"],K={id:"vueUiSmiley0"},I=["stop-color"],T=["stop-color"],F=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),O=["fill"],q=["viewBox","stroke"],P=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-69afe185></path>',5),J=[P],Q=["xmlns","stroke"],W={id:"vueUiSmiley1"},Z=["stop-color"],ee=["stop-color"],te=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),le=["fill"],oe=["xmlns","stroke"],ae=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9 15l6 0" data-v-69afe185></path>',5),ne=[ae],se=["xmlns","viewBox","stroke"],ie={id:"vueUiSmiley1"},re=["stop-color"],de=["stop-color"],ue=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),ce=["fill"],pe=["viewBox","stroke"],ve=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9 15l6 0" data-v-69afe185></path>',5),ye=[ve],fe=["xmlns","stroke"],me={id:"vueUiSmiley2"},he=["stop-color"],ke=["stop-color"],ge=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),xe=["fill"],_e=["xmlns","stroke"],Ne=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),be=r(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),Ve=r(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),ze=r(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),Ee=[Ne,be,Ve,ze],Se=["xmlns","viewBox","stroke"],$e=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),we={id:"vueUiSmiley2"},Me=["stop-color"],Be=["stop-color"],Ce=["fill"],Re=["xmlns","viewBox","stroke"],Le=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),He=r(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),Xe=r(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),je=r(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),De=[Le,He,Xe,je],Ue=["xmlns","stroke"],Ge={id:"vueUiSmiley3"},Ae=["stop-color"],Ye=["stop-color"],Ke=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),Ie=["fill"],Te=["xmlns","stroke"],Fe=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-69afe185></path>',5),Oe=[Fe],qe=["xmlns","viewBox","stroke"],Pe=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),Je={id:"vueUiSmiley3"},Qe=["stop-color"],We=["stop-color"],Ze=["fill"],et=["xmlns","viewBox","stroke"],tt=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-69afe185></path>',5),lt=[tt],ot=["xmlns","stroke"],at={id:"vueUiSmiley4"},nt=["stop-color"],st=["stop-color"],it=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),rt=["fill"],dt=["xmlns","stroke"],ut=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 9l.01 0" data-v-69afe185></path><path d="M15 9l.01 0" data-v-69afe185></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-69afe185></path>',5),ct=[ut],pt=["xmlns","viewBox","stroke"],vt=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),yt={id:"vueUiSmiley4"},ft=["stop-color"],mt=["stop-color"],ht=["fill"],kt=["xmlns","viewBox","stroke"],gt=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 9l.01 0" data-v-69afe185></path><path d="M15 9l.01 0" data-v-69afe185></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-69afe185></path>',5),xt=[gt],_t={__name:"vue-ui-smiley",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["rate"],setup(y,{expose:_,emit:N}){const s=y,{vue_ui_smiley:b}=o.useConfig(),V=e.useSlots();e.onMounted(()=>{V["chart-background"]&&console.warn("VueUiSmiley does not support the #chart-background slot.")}),e.onMounted(()=>{m()});function m(){o.objectIsEmpty(s.dataset)&&o.error({componentName:"VueUiSmiley",type:"dataset"})}const h=e.ref(!1),i=e.ref(void 0),t=e.computed({get:()=>k(),set:n=>n});function k(){return M.useNestedProp({userConfig:s.config,defaultConfig:b})}e.watch(()=>s.config,n=>{t.value=k(),m()},{deep:!0});const z=e.computed(()=>typeof s.dataset.rating=="object"&&!Array.isArray(s.dataset.rating)?E(s.dataset.rating):s.dataset.rating||null),f=e.computed(()=>typeof s.dataset.rating=="object"&&!Array.isArray(s.dataset.rating)),d=e.ref(z.value),u=e.computed(()=>t.value.readonly);function E(n){if(n===null)return null;let l=0,a=0;for(const g in n){const w=parseInt(g),x=n[g];l+=w*x,a+=x}return a===0?0:l/a}function p(n){const l=d.value-n,a=24;switch(!0){case l<0:return 0;case l>1:return 1*a;default:return l*a}}function v(n){u.value||(d.value=n,N("rate",n))}function S(){return d.value}function $(n=!0){u.value=n}_({getData:S,toggleReadonly:$});function c(n){return t.value.readonly?t.value.style.colors.inactive[n]:d.value===n+1?t.value.style.icons.useGradient&&t.value.style.icons.filled?`url(#vueUiSmiley${n})`:t.value.style.colors.active[n]:i.value!==void 0&&i.value===n?t.value.style.icons.useGradient&&t.value.style.icons.filled?`url(#vueUiSmiley${n})`:t.value.style.colors.active[n]:t.value.style.colors.inactive[n]}return(n,l)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`background:${t.value.style.backgroundColor};font-family:${t.value.style.fontFamily};width:100%;`),onMouseover:l[20]||(l[20]=a=>h.value=!0),onMouseleave:l[21]||(l[21]=a=>{h.value=!1,i.value=void 0})},[t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",C,[e.createElementVNode("div",{style:e.normalizeStyle(`color:${t.value.style.title.color};font-weight:${t.value.style.title.bold?"bold":"normal"};text-align:${t.value.style.title.textAlign};margin-bottom:${t.value.style.title.offsetY}px;font-size:${t.value.style.title.fontSize}px`)},e.toDisplayString(t.value.style.title.text),5),t.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`color:${t.value.style.title.subtitle.color};font-size:${t.value.style.title.subtitle.fontSize}px;text-align:${t.value.style.title.textAlign};margin-bottom:${t.value.style.title.subtitle.offsetY}px;font-weight:${t.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(t.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.style.rating.show&&t.value.style.rating.position==="top"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:100%;text-align:center;margin-bottom:${t.value.style.rating.offsetY}px;font-size:${t.value.style.rating.fontSize}px;font-weight:${t.value.style.rating.bold?"bold":"normal"};margin-left:${t.value.style.rating.offsetX}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.rating.formatter,d.value,e.unref(o.dataLabel)({v:d.value,r:t.value.style.rating.roundingValue}),t.value)),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"vue-ui-smiley-wrapper",style:e.normalizeStyle(`overflow:visible;height:${t.value.style.itemSize}px;width:fit-content;margin:0 auto;display:flex;align-items:center;justify-content:center;`)},[t.value.style.rating.show&&t.value.style.rating.position==="left"?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${t.value.style.rating.offsetY}px;font-size:${t.value.style.rating.fontSize}px;font-weight:${t.value.style.rating.bold?"bold":"normal"};padding-right:${t.value.style.rating.offsetX}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.rating.formatter,d.value,e.unref(o.dataLabel)({v:d.value,r:t.value.style.rating.roundingValue}),t.value)),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&d.value===1}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-1HOIfTy2.cjs"),M=require("./useNestedProp-BFNnjpX-.cjs"),B=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=y=>(e.pushScopeId("data-v-69afe185"),y=y(),e.popScopeId(),y),C={key:0,class:"vue-ui-rating-title",style:{width:"100%"}},R=["xmlns","stroke"],L={id:"vueUiSmiley0"},H=["stop-color"],X=["stop-color"],j=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),D=["fill"],U=["stroke"],G=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-69afe185></path>',5),A=[G],Y=["xmlns","viewBox","stroke"],K={id:"vueUiSmiley0"},I=["stop-color"],T=["stop-color"],F=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),O=["fill"],q=["viewBox","stroke"],P=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-69afe185></path>',5),J=[P],Q=["xmlns","stroke"],W={id:"vueUiSmiley1"},Z=["stop-color"],ee=["stop-color"],te=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),le=["fill"],oe=["xmlns","stroke"],ae=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9 15l6 0" data-v-69afe185></path>',5),ne=[ae],se=["xmlns","viewBox","stroke"],ie={id:"vueUiSmiley1"},re=["stop-color"],de=["stop-color"],ue=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),ce=["fill"],pe=["viewBox","stroke"],ve=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9 15l6 0" data-v-69afe185></path>',5),ye=[ve],fe=["xmlns","stroke"],me={id:"vueUiSmiley2"},he=["stop-color"],ke=["stop-color"],ge=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),xe=["fill"],_e=["xmlns","stroke"],Ne=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),be=r(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),Ve=r(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),ze=r(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),Ee=[Ne,be,Ve,ze],Se=["xmlns","viewBox","stroke"],$e=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),we={id:"vueUiSmiley2"},Me=["stop-color"],Be=["stop-color"],Ce=["fill"],Re=["xmlns","viewBox","stroke"],Le=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),He=r(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),Xe=r(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),je=r(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),De=[Le,He,Xe,je],Ue=["xmlns","stroke"],Ge={id:"vueUiSmiley3"},Ae=["stop-color"],Ye=["stop-color"],Ke=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),Ie=["fill"],Te=["xmlns","stroke"],Fe=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-69afe185></path>',5),Oe=[Fe],qe=["xmlns","viewBox","stroke"],Pe=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),Je={id:"vueUiSmiley3"},Qe=["stop-color"],We=["stop-color"],Ze=["fill"],et=["xmlns","viewBox","stroke"],tt=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 10l.01 0" data-v-69afe185></path><path d="M15 10l.01 0" data-v-69afe185></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-69afe185></path>',5),lt=[tt],ot=["xmlns","stroke"],at={id:"vueUiSmiley4"},nt=["stop-color"],st=["stop-color"],it=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),rt=["fill"],dt=["xmlns","stroke"],ut=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 9l.01 0" data-v-69afe185></path><path d="M15 9l.01 0" data-v-69afe185></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-69afe185></path>',5),ct=[ut],pt=["xmlns","viewBox","stroke"],vt=r(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),yt={id:"vueUiSmiley4"},ft=["stop-color"],mt=["stop-color"],ht=["fill"],kt=["xmlns","viewBox","stroke"],gt=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-69afe185></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-69afe185></path><path d="M9 9l.01 0" data-v-69afe185></path><path d="M15 9l.01 0" data-v-69afe185></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-69afe185></path>',5),xt=[gt],_t={__name:"vue-ui-smiley",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["rate"],setup(y,{expose:_,emit:N}){const s=y,{vue_ui_smiley:b}=o.useConfig(),V=e.useSlots();e.onMounted(()=>{V["chart-background"]&&console.warn("VueUiSmiley does not support the #chart-background slot.")}),e.onMounted(()=>{m()});function m(){o.objectIsEmpty(s.dataset)&&o.error({componentName:"VueUiSmiley",type:"dataset"})}const h=e.ref(!1),i=e.ref(void 0),t=e.computed({get:()=>k(),set:n=>n});function k(){return M.useNestedProp({userConfig:s.config,defaultConfig:b})}e.watch(()=>s.config,n=>{t.value=k(),m()},{deep:!0});const z=e.computed(()=>typeof s.dataset.rating=="object"&&!Array.isArray(s.dataset.rating)?E(s.dataset.rating):s.dataset.rating||null),f=e.computed(()=>typeof s.dataset.rating=="object"&&!Array.isArray(s.dataset.rating)),d=e.ref(z.value),u=e.computed(()=>t.value.readonly);function E(n){if(n===null)return null;let l=0,a=0;for(const g in n){const w=parseInt(g),x=n[g];l+=w*x,a+=x}return a===0?0:l/a}function p(n){const l=d.value-n,a=24;switch(!0){case l<0:return 0;case l>1:return 1*a;default:return l*a}}function v(n){u.value||(d.value=n,N("rate",n))}function S(){return d.value}function $(n=!0){u.value=n}_({getData:S,toggleReadonly:$});function c(n){return t.value.readonly?t.value.style.colors.inactive[n]:d.value===n+1?t.value.style.icons.useGradient&&t.value.style.icons.filled?`url(#vueUiSmiley${n})`:t.value.style.colors.active[n]:i.value!==void 0&&i.value===n?t.value.style.icons.useGradient&&t.value.style.icons.filled?`url(#vueUiSmiley${n})`:t.value.style.colors.active[n]:t.value.style.colors.inactive[n]}return(n,l)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`background:${t.value.style.backgroundColor};font-family:${t.value.style.fontFamily};width:100%;`),onMouseover:l[20]||(l[20]=a=>h.value=!0),onMouseleave:l[21]||(l[21]=a=>{h.value=!1,i.value=void 0})},[t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",C,[e.createElementVNode("div",{style:e.normalizeStyle(`color:${t.value.style.title.color};font-weight:${t.value.style.title.bold?"bold":"normal"};text-align:${t.value.style.title.textAlign};margin-bottom:${t.value.style.title.offsetY}px;font-size:${t.value.style.title.fontSize}px`)},e.toDisplayString(t.value.style.title.text),5),t.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`color:${t.value.style.title.subtitle.color};font-size:${t.value.style.title.subtitle.fontSize}px;text-align:${t.value.style.title.textAlign};margin-bottom:${t.value.style.title.subtitle.offsetY}px;font-weight:${t.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(t.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.style.rating.show&&t.value.style.rating.position==="top"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:100%;text-align:center;margin-bottom:${t.value.style.rating.offsetY}px;font-size:${t.value.style.rating.fontSize}px;font-weight:${t.value.style.rating.bold?"bold":"normal"};margin-left:${t.value.style.rating.offsetX}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.rating.formatter,d.value,e.unref(o.dataLabel)({v:d.value,r:t.value.style.rating.roundingValue}),t.value)),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"vue-ui-smiley-wrapper",style:e.normalizeStyle(`overflow:visible;height:${t.value.style.itemSize}px;width:fit-content;margin:0 auto;display:flex;align-items:center;justify-content:center;`)},[t.value.style.rating.show&&t.value.style.rating.position==="left"?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${t.value.style.rating.offsetY}px;font-size:${t.value.style.rating.fontSize}px;font-weight:${t.value.style.rating.bold?"bold":"normal"};padding-right:${t.value.style.rating.offsetX}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.rating.formatter,d.value,e.unref(o.dataLabel)({v:d.value,r:t.value.style.rating.roundingValue}),t.value)),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&d.value===1}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;
2
2
  position:relative`),onMouseenter:l[0]||(l[0]=a=>i.value=0),onMouseleave:l[1]||(l[1]=a=>i.value=void 0),onClick:l[2]||(l[2]=a=>v(1)),onKeyup:l[3]||(l[3]=e.withKeys(a=>v(1),["enter"]))},[t.value.style.tooltip.show&&f.value&&u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${t.value.style.tooltip.borderColor};position:absolute;top:${-48+t.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${t.value.style.tooltip.backgroundColor};display:${i.value===0?"block":"none"};padding:2px 12px;border-radius:${t.value.style.tooltip.borderRadius}px;box-shadow:${t.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${t.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.style.tooltip.fontSize}px`)},"1:",4),e.createTextVNode(),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${t.value.style.tooltip.bold?"bold":"normal"};font-size:${t.value.style.tooltip.fontSize}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.tooltip.formatter,s.dataset.rating[1],e.unref(o.dataLabel)({v:s.dataset.rating[1],r:t.value.style.tooltip.roundingValue}),t.value)),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${t.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),t.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(o.XMLNS),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",L,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.active[0],.05)},null,8,H),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.active[0]},null,8,X)])]),j,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:c(0)},null,8,D)],8,R)):(e.openBlock(),e.createElementBlock("svg",{key:2,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},A,8,U)),t.value.style.icons.filled&&u.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(o.XMLNS),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:`0 0 ${p(0)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",K,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[0],.05)},null,8,I),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[0]},null,8,T)])]),F,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.icons.useGradient?"url(#vueUiSmiley0)":t.value.style.colors.activeReadonly[0]},null,8,O)],8,Y)):e.createCommentVNode("",!0),!t.value.style.icons.filled&&u.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(0)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},J,8,q)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&d.value===2}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:l[4]||(l[4]=a=>i.value=1),onMouseleave:l[5]||(l[5]=a=>i.value=void 0),onClick:l[6]||(l[6]=a=>v(2)),onKeyup:l[7]||(l[7]=e.withKeys(a=>v(2),["enter"]))},[t.value.style.tooltip.show&&f.value&&u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${t.value.style.tooltip.borderColor};position:absolute;top:${-48+t.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${t.value.style.tooltip.backgroundColor};display:${i.value===1?"block":"none"};padding:2px 12px;border-radius:${t.value.style.tooltip.borderRadius}px;box-shadow:${t.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${t.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.style.tooltip.fontSize}px`)},"2:",4),e.createTextVNode(),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${t.value.style.tooltip.bold?"bold":"normal"};font-size:${t.value.style.tooltip.fontSize}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.tooltip.formatter,s.dataset.rating[2],e.unref(o.dataLabel)({v:s.dataset.rating[2],r:t.value.style.tooltip.roundingValue}),t.value)),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${t.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),t.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",W,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.active[1],.05)},null,8,Z),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.active[1]},null,8,ee)])]),te,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:c(1)},null,8,le)],8,Q)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},ne,8,oe)),t.value.style.icons.filled&&u.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(1)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",ie,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[1],.05)},null,8,re),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[1]},null,8,de)])]),ue,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.icons.useGradient?"url(#vueUiSmiley1)":t.value.style.colors.activeReadonly[1]},null,8,ce)],8,se)):e.createCommentVNode("",!0),!t.value.style.icons.filled&&u.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(1)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},ye,8,pe)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&d.value===3}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:l[8]||(l[8]=a=>i.value=2),onMouseleave:l[9]||(l[9]=a=>i.value=void 0),onClick:l[10]||(l[10]=a=>v(3)),onKeyup:l[11]||(l[11]=e.withKeys(a=>v(3),["enter"]))},[t.value.style.tooltip.show&&f.value&&u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${t.value.style.tooltip.borderColor};position:absolute;top:${-48+t.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${t.value.style.tooltip.backgroundColor};display:${i.value===2?"block":"none"};padding:2px 12px;border-radius:${t.value.style.tooltip.borderRadius}px;box-shadow:${t.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${t.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.style.tooltip.fontSize}px`)},"3:",4),e.createTextVNode(),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${t.value.style.tooltip.bold?"bold":"normal"};font-size:${t.value.style.tooltip.fontSize}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.tooltip.formatter,s.dataset.rating[3],e.unref(o.dataLabel)({v:s.dataset.rating[3],r:t.value.style.tooltip.roundingValue}),t.value)),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${t.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),t.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",me,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[2],.05)},null,8,he),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[2]},null,8,ke)])]),ge,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:c(2)},null,8,xe)],8,fe)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},Ee,8,_e)),t.value.style.icons.filled&&u.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(2)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[$e,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",we,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[2],.05)},null,8,Me),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[2]},null,8,Be)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.icons.useGradient?"url(#vueUiSmiley2)":t.value.style.colors.activeReadonly[2]},null,8,Ce)],8,Se)):e.createCommentVNode("",!0),!t.value.style.icons.filled&&u.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(2)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},De,8,Re)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&d.value===4}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:l[12]||(l[12]=a=>i.value=3),onMouseleave:l[13]||(l[13]=a=>i.value=void 0),onClick:l[14]||(l[14]=a=>v(4)),onKeyup:l[15]||(l[15]=e.withKeys(a=>v(4),["enter"]))},[t.value.style.tooltip.show&&f.value&&u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${t.value.style.tooltip.borderColor};position:absolute;top:${-48+t.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${t.value.style.tooltip.backgroundColor};display:${i.value===3?"block":"none"};padding:2px 12px;border-radius:${t.value.style.tooltip.borderRadius}px;box-shadow:${t.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${t.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.style.tooltip.fontSize}px`)},"4:",4),e.createTextVNode(),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${t.value.style.tooltip.bold?"bold":"normal"};font-size:${t.value.style.tooltip.fontSize}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.tooltip.formatter,s.dataset.rating[4],e.unref(o.dataLabel)({v:s.dataset.rating[4],r:t.value.style.tooltip.roundingValue}),t.value)),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${t.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),t.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",Ge,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[3],.95)},null,8,Ae),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[3]},null,8,Ye)])]),Ke,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:c(3)},null,8,Ie)],8,Ue)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},Oe,8,Te)),t.value.style.icons.filled&&u.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(3)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[Pe,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",Je,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[3],.95)},null,8,Qe),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[3]},null,8,We)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:t.value.style.icons.useGradient?"url(#vueUiSmiley3)":t.value.style.colors.activeReadonly[3]},null,8,Ze)],8,qe)):e.createCommentVNode("",!0),!t.value.style.icons.filled&&u.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(3)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},lt,8,et)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&d.value===5}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:l[16]||(l[16]=a=>i.value=4),onMouseleave:l[17]||(l[17]=a=>i.value=void 0),onClick:l[18]||(l[18]=a=>v(5)),onKeyup:l[19]||(l[19]=e.withKeys(a=>v(5),["enter"]))},[t.value.style.tooltip.show&&f.value&&u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${t.value.style.tooltip.borderColor};position:absolute;top:${-48+t.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${t.value.style.tooltip.backgroundColor};display:${i.value===4?"block":"none"};padding:2px 12px;border-radius:${t.value.style.tooltip.borderRadius}px;box-shadow:${t.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${t.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.style.tooltip.fontSize}px`)},"5:",4),e.createTextVNode(),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${t.value.style.tooltip.bold?"bold":"normal"};font-size:${t.value.style.tooltip.fontSize}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.tooltip.formatter,s.dataset.rating[5],e.unref(o.dataLabel)({v:s.dataset.rating[5],r:t.value.style.tooltip.roundingValue}),t.value)),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${t.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),t.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",at,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[4],.9)},null,8,nt),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[4]},null,8,st)])]),it,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:c(4)},null,8,rt)],8,ot)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},ct,8,dt)),t.value.style.icons.filled&&u.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(4)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[vt,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",yt,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[4],.9)},null,8,ft),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[4]},null,8,mt)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:t.value.style.icons.useGradient?"url(#vueUiSmiley4)":t.value.style.colors.activeReadonly[4]},null,8,ht)],8,pt)):e.createCommentVNode("",!0),!t.value.style.icons.filled&&u.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(4)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},xt,8,kt)):e.createCommentVNode("",!0)],38),t.value.style.rating.show&&t.value.style.rating.position==="right"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${t.value.style.rating.offsetY}px;font-size:${t.value.style.rating.fontSize}px;font-weight:${t.value.style.rating.bold?"bold":"normal"};padding-left:${t.value.style.rating.offsetX}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.rating.formatter,d.value,e.unref(o.dataLabel)({v:d.value,r:t.value.style.rating.roundingValue}),t.value)),5)):e.createCommentVNode("",!0)],4),t.value.style.rating.show&&t.value.style.rating.position==="bottom"?(e.openBlock(),e.createElementBlock("div",{key:2,style:e.normalizeStyle(`width:100%;text-align:center;margin-top:${t.value.style.rating.offsetY}px;font-size:${t.value.style.rating.fontSize}px;font-weight:${t.value.style.rating.bold?"bold":"normal"};margin-left:${t.value.style.rating.offsetX}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.rating.formatter,d.value,e.unref(o.dataLabel)({v:d.value,r:t.value.style.rating.roundingValue}),t.value)),5)):e.createCommentVNode("",!0)],36))}},Nt=B._export_sfc(_t,[["__scopeId","data-v-69afe185"]]);exports.default=Nt;
@@ -1,6 +1,6 @@
1
1
  import { useSlots as O, onMounted as X, ref as B, computed as C, watch as T, openBlock as s, createElementBlock as i, normalizeStyle as a, createElementVNode as e, toDisplayString as g, createCommentVNode as u, unref as l, normalizeClass as M, withKeys as S, createTextVNode as R, pushScopeId as P, popScopeId as q, createStaticVNode as $ } from "vue";
2
- import { u as J, o as Q, e as W, i as _, f as b, X as c, w as x } from "./index-B7nCQFK0.js";
3
- import { u as Z } from "./useNestedProp-C9rlBRTT.js";
2
+ import { u as J, o as Q, e as W, i as _, f as b, X as c, w as x } from "./index-BG5J_ybN.js";
3
+ import { u as Z } from "./useNestedProp-BN1ZmAKT.js";
4
4
  import { _ as tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const p = (w) => (P("data-v-69afe185"), w = w(), q(), w), et = {
6
6
  key: 0,
@@ -1,9 +1,9 @@
1
1
  import { computed as s, ref as k, watch as E, onMounted as K, openBlock as o, createElementBlock as u, normalizeStyle as Q, createBlock as L, unref as h, createVNode as Y, renderSlot as D, createCommentVNode as r, createElementVNode as _, toDisplayString as O } from "vue";
2
- import { u as ee, c as te, t as ae, Z as S, o as le, e as ne, v as c, _ as oe, X as se, s as M, R as G, f as U, i as ue } from "./index-B7nCQFK0.js";
3
- import { u as Z } from "./useNestedProp-C9rlBRTT.js";
4
- import I from "./BaseIcon-B8U62FEj.js";
5
- import re from "./vue-ui-skeleton-D66ZIUln.js";
6
- import { _ as ie } from "./PackageVersion-CENy3Lm2.js";
2
+ import { u as ee, c as te, t as ae, Z as S, o as le, e as ne, v as c, _ as oe, X as se, s as M, R as G, f as U, i as ue } from "./index-BG5J_ybN.js";
3
+ import { u as Z } from "./useNestedProp-BN1ZmAKT.js";
4
+ import I from "./BaseIcon-plElWres.js";
5
+ import re from "./vue-ui-skeleton-c211TxZ8.js";
6
+ import { _ as ie } from "./PackageVersion-Rh3rgo6A.js";
7
7
  import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["id"], fe = ["stop-color"], pe = ["stop-color"], ge = { key: 1 }, me = ["d", "fill"], ke = ["d", "fill"], _e = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], be = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], we = ["height", "width", "x"], xe = { style: { width: "100%" } }, Ce = ["x", "y", "fill", "font-size", "font-weight"], Le = ["stroke", "cx", "cy", "fill"], $e = ["x", "y", "font-size", "fill", "font-weight"], Ne = {
9
9
  key: 2,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-COIn1phv.cjs"),T=require("./useNestedProp-CbMuGGl3.cjs"),w=require("./BaseIcon-BVrsMbvi.cjs"),A=require("./vue-ui-skeleton-BIqMxXV7.cjs"),F=require("./PackageVersion-BjfedMsH.cjs"),q=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O=["id"],D=["xmlns","viewBox"],P=["width","height"],G=["id"],U=["stop-color"],W=["stop-color"],Z={key:1},H=["d","fill"],R=["d","fill"],X=["d","stroke","stroke-width","stroke-linecap","stroke-linejoin"],J=["d","stroke","stroke-width","stroke-linecap","stroke-linejoin"],K=["height","width","x"],Q={style:{width:"100%"}},Y=["x","y","fill","font-size","font-weight"],ee=["stroke","cx","cy","fill"],te=["x","y","font-size","fill","font-weight"],le={key:2,ref:"source",dir:"auto"},ae={__name:"vue-ui-spark-trend",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(E){const u=E,{vue_ui_spark_trend:$}=a.useConfig(),S=e.computed(()=>!!u.dataset&&u.dataset.length),y=e.ref(a.createUid()),t=e.computed({get:()=>x(),set:l=>l});function x(){const l=T.useNestedProp({userConfig:u.config,defaultConfig:$});return l.theme?{...T.useNestedProp({userConfig:a.themes.vue_ui_spark_trend[l.theme]||u.config,defaultConfig:l})}:l}const c=e.computed(()=>a.largestTriangleThreeBucketsArray({data:u.dataset,threshold:t.value.downsample.threshold}));e.watch(()=>u.config,l=>{t.value=x(),C()},{deep:!0}),e.watch(()=>u.dataset,l=>{h.value=a.largestTriangleThreeBucketsArray({data:u.dataset,threshold:t.value.downsample.threshold}).map(r=>[void 0,1/0,-1/0,null,NaN].includes(r)?null:r)},{deep:!0});function g(l){return l.map(r=>a.checkNaN(r))}const h=e.ref(a.largestTriangleThreeBucketsArray({data:u.dataset,threshold:t.value.downsample.threshold}).map(l=>t.value.style.animation.show||[void 0,1/0,-1/0,null,NaN].includes(l)?null:l)),p=e.ref(!1),_=e.ref(null);e.onMounted(()=>{C();let r=1e3/t.value.style.animation.animationFrames,i=performance.now();if(t.value.style.animation.show&&t.value.style.animation.animationFrames&&u.dataset.length>1){let N=function(){p.value=!0;let L=performance.now(),V=L-i;V>r?(i=L-V%r,v<c.value.length?(h.value.push(c.value[v]),v+=1,_.value=requestAnimationFrame(N)):(cancelAnimationFrame(_.value),h.value=g(c.value),p.value=!1)):_.value=requestAnimationFrame(N)};h.value=[];let v=0;N()}});function C(){a.objectIsEmpty(u.dataset)&&a.error({componentName:"VueUiSparkTrend",type:"dataset"})}const n=e.ref({height:80,width:300}),d=e.computed(()=>({top:t.value.style.padding.top,left:t.value.style.padding.left,right:n.value.width-t.value.style.padding.right,bottom:n.value.height-t.value.style.padding.bottom,height:n.value.height-(t.value.style.padding.top+t.value.style.padding.bottom)-(t.value.style.dataLabel.show?t.value.style.dataLabel.fontSize:0),width:n.value.width-(t.value.style.padding.left+t.value.style.padding.right)})),b=e.computed(()=>{const l=g(c.value);return{max:Math.max(...l.map(r=>a.checkNaN(r))),min:Math.min(...l.map(r=>a.checkNaN(r)))}}),m=e.computed(()=>{const l=b.value.min>=0?0:b.value.min;return Math.abs(l)}),z=e.computed(()=>b.value.max+m.value);function B(l){return l/z.value}const M=e.computed(()=>c.value.length),o=e.computed(()=>h.value.map((l,r)=>{const i=isNaN(l)||[void 0,null,"NaN",NaN,1/0,-1/0].includes(l)?0:l||0;return{value:a.checkNaN(l),absoluteValue:a.checkNaN(i),plotValue:a.checkNaN(i+m.value),toMax:B(i+m.value),x:d.value.left+a.checkNaN(r*(d.value.width/(M.value-1)))-t.value.style.padding.right,y:d.value.bottom-a.checkNaN(d.value.height*B(i+m.value))}})),f=e.computed(()=>{const l=g(c.value);return t.value.style.trendLabel.trendType==="global"?a.calcTrend(l):t.value.style.trendLabel.trendType==="n-1"&&l.length>1?(l.at(-1)/l.at(-2)-1)*100:t.value.style.trendLabel.trendType==="lastToFirst"?(l.at(-1)/l[0]-1)*100:0}),k=e.computed(()=>p.value||f.value===0?"neutral":f.value>0?"positive":"negative"),s=e.computed(()=>t.value.style.arrow.colors[k.value]),I=e.computed(()=>{const l={x:o.value[0].x,y:n.value.height-6},r={x:o.value[o.value.length-1].x,y:n.value.height-6},i=[];return o.value.forEach(v=>{i.push(`${v.x},${v.y} `)}),[l.x,l.y,...i,r.x,r.y].toString()}),j=e.computed(()=>{let l=[];return o.value.forEach(r=>{l.push(`${r.x},${r.y} `)}),`M ${l.toString()}`});return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-spark-trend",id:y.value,style:e.normalizeStyle(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor}`)},[S.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(a.XMLNS),viewBox:`0 0 ${n.value.width} ${n.value.height}`,style:"width:100%;background:transparent;overflow:visible"},[e.createVNode(F._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:n.value.width<=0?10:n.value.width,height:n.value.height<=0?10:n.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,P)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{x1:"0%",y1:"0%",x2:"0%",y2:"100%",id:`pill_gradient_${y.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(a.setOpacity)(t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,t.value.style.area.opacity)},null,8,U),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.backgroundColor},null,8,W)],8,G)]),t.value.style.area.show&&o.value[0]?(e.openBlock(),e.createElementBlock("g",Z,[t.value.style.line.smooth?(e.openBlock(),e.createElementBlock("path",{key:0,d:`M ${o.value[0].x},${d.value.bottom} ${e.unref(a.createSmoothPath)(o.value)} L ${o.value.at(-1).x},${d.value.bottom} Z`,fill:t.value.style.area.useGradient?`url(#pill_gradient_${y.value})`:e.unref(a.setOpacity)(t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,t.value.style.area.opacity),stroke:"none"},null,8,H)):(e.openBlock(),e.createElementBlock("path",{key:1,d:`M${I.value}Z`,fill:t.value.style.area.useGradient?`url(#pill_gradient_${y.value})`:e.unref(a.setOpacity)(t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,t.value.style.area.opacity),stroke:"none"},null,8,R))])):e.createCommentVNode("",!0),t.value.style.line.smooth&&o.value.length?(e.openBlock(),e.createElementBlock("path",{key:2,d:`M ${e.unref(a.createSmoothPath)(o.value)}`,stroke:t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,fill:"none","stroke-width":t.value.style.line.strokeWidth,"stroke-linecap":t.value.style.line.strokeLinecap,"stroke-linejoin":t.value.style.line.strokeLinejoin},null,8,X)):e.createCommentVNode("",!0),!t.value.style.line.smooth&&o.value.length?(e.openBlock(),e.createElementBlock("path",{key:3,d:j.value,stroke:t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,fill:"none","stroke-width":t.value.style.line.strokeWidth,"stroke-linecap":t.value.style.line.strokeLinecap,"stroke-linejoin":t.value.style.line.strokeLinejoin},null,8,J)):e.createCommentVNode("",!0),p.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("foreignObject",{key:4,height:n.value.height/2,width:n.value.height/2,x:n.value.height/5,y:8},[e.createElementVNode("div",Q,[k.value==="positive"?(e.openBlock(),e.createBlock(w.default,{key:0,stroke:s.value,name:"arrowTop",size:n.value.height/2},null,8,["stroke","size"])):e.createCommentVNode("",!0),k.value==="negative"?(e.openBlock(),e.createBlock(w.default,{key:1,stroke:s.value,name:"arrowBottom",size:n.value.height/2},null,8,["stroke","size"])):e.createCommentVNode("",!0),k.value==="neutral"?(e.openBlock(),e.createBlock(w.default,{key:2,stroke:s.value,name:"arrowRight",size:n.value.height/2},null,8,["stroke","size"])):e.createCommentVNode("",!0)])],8,K)),p.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("text",{key:5,x:n.value.height/2-n.value.height/20,y:d.value.bottom,"text-anchor":"middle",fill:t.value.style.trendLabel.useColorTrend?s.value:t.value.style.trendLabel.color,"font-size":t.value.style.trendLabel.fontSize,"font-weight":t.value.style.trendLabel.bold?"bold":"normal"},e.toDisplayString(e.unref(a.dataLabel)({p:f.value>0?"+":"",v:f.value,s:"%",r:t.value.style.trendLabel.rounding})),9,Y)),o.value.length&&o.value.at(-1).x!==void 0?(e.openBlock(),e.createElementBlock("circle",{key:6,stroke:t.value.style.backgroundColor,"stroke-width":2,cx:o.value.at(-1).x,cy:o.value.at(-1).y,r:4,fill:s.value},null,8,ee)):e.createCommentVNode("",!0),o.value.length&&o.value.at(-1).x!==void 0&&t.value.style.dataLabel.show?(e.openBlock(),e.createElementBlock("text",{key:7,"text-anchor":"middle",x:o.value.at(-1).x,y:o.value.at(-1).y-t.value.style.dataLabel.fontSize/1.5,"font-size":t.value.style.dataLabel.fontSize,fill:t.value.style.dataLabel.useColorTrend?s.value:t.value.style.dataLabel.color,"font-weight":t.value.style.dataLabel.bold?"bold":"normal"},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.style.dataLabel.formatter,o.value.at(-1).value,e.unref(a.dataLabel)({p:t.value.style.dataLabel.prefix,v:o.value.at(-1).value,s:t.value.style.dataLabel.suffix,r:t.value.style.dataLabel.rounding}),{datapoint:o.value.at(-1)})),9,te)):e.createCommentVNode("",!0)],8,D)):(e.openBlock(),e.createBlock(A.default,{key:0,config:{type:"sparkline",style:{backgroundColor:t.value.style.backgroundColor,sparkline:{color:"#CCCCCC"}}}},null,8,["config"])),l.$slots.source?(e.openBlock(),e.createElementBlock("div",le,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],12,O))}},oe=q._export_sfc(ae,[["__scopeId","data-v-38d02804"]]);exports.default=oe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-1HOIfTy2.cjs"),T=require("./useNestedProp-BFNnjpX-.cjs"),w=require("./BaseIcon-CdOKZmHr.cjs"),A=require("./vue-ui-skeleton-CLiDRcQX.cjs"),F=require("./PackageVersion-DvDNPRrJ.cjs"),q=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O=["id"],D=["xmlns","viewBox"],P=["width","height"],G=["id"],U=["stop-color"],W=["stop-color"],Z={key:1},H=["d","fill"],R=["d","fill"],X=["d","stroke","stroke-width","stroke-linecap","stroke-linejoin"],J=["d","stroke","stroke-width","stroke-linecap","stroke-linejoin"],K=["height","width","x"],Q={style:{width:"100%"}},Y=["x","y","fill","font-size","font-weight"],ee=["stroke","cx","cy","fill"],te=["x","y","font-size","fill","font-weight"],le={key:2,ref:"source",dir:"auto"},ae={__name:"vue-ui-spark-trend",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(E){const u=E,{vue_ui_spark_trend:$}=a.useConfig(),S=e.computed(()=>!!u.dataset&&u.dataset.length),y=e.ref(a.createUid()),t=e.computed({get:()=>x(),set:l=>l});function x(){const l=T.useNestedProp({userConfig:u.config,defaultConfig:$});return l.theme?{...T.useNestedProp({userConfig:a.themes.vue_ui_spark_trend[l.theme]||u.config,defaultConfig:l})}:l}const c=e.computed(()=>a.largestTriangleThreeBucketsArray({data:u.dataset,threshold:t.value.downsample.threshold}));e.watch(()=>u.config,l=>{t.value=x(),C()},{deep:!0}),e.watch(()=>u.dataset,l=>{h.value=a.largestTriangleThreeBucketsArray({data:u.dataset,threshold:t.value.downsample.threshold}).map(r=>[void 0,1/0,-1/0,null,NaN].includes(r)?null:r)},{deep:!0});function g(l){return l.map(r=>a.checkNaN(r))}const h=e.ref(a.largestTriangleThreeBucketsArray({data:u.dataset,threshold:t.value.downsample.threshold}).map(l=>t.value.style.animation.show||[void 0,1/0,-1/0,null,NaN].includes(l)?null:l)),p=e.ref(!1),_=e.ref(null);e.onMounted(()=>{C();let r=1e3/t.value.style.animation.animationFrames,i=performance.now();if(t.value.style.animation.show&&t.value.style.animation.animationFrames&&u.dataset.length>1){let N=function(){p.value=!0;let L=performance.now(),V=L-i;V>r?(i=L-V%r,v<c.value.length?(h.value.push(c.value[v]),v+=1,_.value=requestAnimationFrame(N)):(cancelAnimationFrame(_.value),h.value=g(c.value),p.value=!1)):_.value=requestAnimationFrame(N)};h.value=[];let v=0;N()}});function C(){a.objectIsEmpty(u.dataset)&&a.error({componentName:"VueUiSparkTrend",type:"dataset"})}const n=e.ref({height:80,width:300}),d=e.computed(()=>({top:t.value.style.padding.top,left:t.value.style.padding.left,right:n.value.width-t.value.style.padding.right,bottom:n.value.height-t.value.style.padding.bottom,height:n.value.height-(t.value.style.padding.top+t.value.style.padding.bottom)-(t.value.style.dataLabel.show?t.value.style.dataLabel.fontSize:0),width:n.value.width-(t.value.style.padding.left+t.value.style.padding.right)})),b=e.computed(()=>{const l=g(c.value);return{max:Math.max(...l.map(r=>a.checkNaN(r))),min:Math.min(...l.map(r=>a.checkNaN(r)))}}),m=e.computed(()=>{const l=b.value.min>=0?0:b.value.min;return Math.abs(l)}),z=e.computed(()=>b.value.max+m.value);function B(l){return l/z.value}const M=e.computed(()=>c.value.length),o=e.computed(()=>h.value.map((l,r)=>{const i=isNaN(l)||[void 0,null,"NaN",NaN,1/0,-1/0].includes(l)?0:l||0;return{value:a.checkNaN(l),absoluteValue:a.checkNaN(i),plotValue:a.checkNaN(i+m.value),toMax:B(i+m.value),x:d.value.left+a.checkNaN(r*(d.value.width/(M.value-1)))-t.value.style.padding.right,y:d.value.bottom-a.checkNaN(d.value.height*B(i+m.value))}})),f=e.computed(()=>{const l=g(c.value);return t.value.style.trendLabel.trendType==="global"?a.calcTrend(l):t.value.style.trendLabel.trendType==="n-1"&&l.length>1?(l.at(-1)/l.at(-2)-1)*100:t.value.style.trendLabel.trendType==="lastToFirst"?(l.at(-1)/l[0]-1)*100:0}),k=e.computed(()=>p.value||f.value===0?"neutral":f.value>0?"positive":"negative"),s=e.computed(()=>t.value.style.arrow.colors[k.value]),I=e.computed(()=>{const l={x:o.value[0].x,y:n.value.height-6},r={x:o.value[o.value.length-1].x,y:n.value.height-6},i=[];return o.value.forEach(v=>{i.push(`${v.x},${v.y} `)}),[l.x,l.y,...i,r.x,r.y].toString()}),j=e.computed(()=>{let l=[];return o.value.forEach(r=>{l.push(`${r.x},${r.y} `)}),`M ${l.toString()}`});return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-spark-trend",id:y.value,style:e.normalizeStyle(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor}`)},[S.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(a.XMLNS),viewBox:`0 0 ${n.value.width} ${n.value.height}`,style:"width:100%;background:transparent;overflow:visible"},[e.createVNode(F._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:n.value.width<=0?10:n.value.width,height:n.value.height<=0?10:n.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,P)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{x1:"0%",y1:"0%",x2:"0%",y2:"100%",id:`pill_gradient_${y.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(a.setOpacity)(t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,t.value.style.area.opacity)},null,8,U),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.backgroundColor},null,8,W)],8,G)]),t.value.style.area.show&&o.value[0]?(e.openBlock(),e.createElementBlock("g",Z,[t.value.style.line.smooth?(e.openBlock(),e.createElementBlock("path",{key:0,d:`M ${o.value[0].x},${d.value.bottom} ${e.unref(a.createSmoothPath)(o.value)} L ${o.value.at(-1).x},${d.value.bottom} Z`,fill:t.value.style.area.useGradient?`url(#pill_gradient_${y.value})`:e.unref(a.setOpacity)(t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,t.value.style.area.opacity),stroke:"none"},null,8,H)):(e.openBlock(),e.createElementBlock("path",{key:1,d:`M${I.value}Z`,fill:t.value.style.area.useGradient?`url(#pill_gradient_${y.value})`:e.unref(a.setOpacity)(t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,t.value.style.area.opacity),stroke:"none"},null,8,R))])):e.createCommentVNode("",!0),t.value.style.line.smooth&&o.value.length?(e.openBlock(),e.createElementBlock("path",{key:2,d:`M ${e.unref(a.createSmoothPath)(o.value)}`,stroke:t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,fill:"none","stroke-width":t.value.style.line.strokeWidth,"stroke-linecap":t.value.style.line.strokeLinecap,"stroke-linejoin":t.value.style.line.strokeLinejoin},null,8,X)):e.createCommentVNode("",!0),!t.value.style.line.smooth&&o.value.length?(e.openBlock(),e.createElementBlock("path",{key:3,d:j.value,stroke:t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,fill:"none","stroke-width":t.value.style.line.strokeWidth,"stroke-linecap":t.value.style.line.strokeLinecap,"stroke-linejoin":t.value.style.line.strokeLinejoin},null,8,J)):e.createCommentVNode("",!0),p.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("foreignObject",{key:4,height:n.value.height/2,width:n.value.height/2,x:n.value.height/5,y:8},[e.createElementVNode("div",Q,[k.value==="positive"?(e.openBlock(),e.createBlock(w.default,{key:0,stroke:s.value,name:"arrowTop",size:n.value.height/2},null,8,["stroke","size"])):e.createCommentVNode("",!0),k.value==="negative"?(e.openBlock(),e.createBlock(w.default,{key:1,stroke:s.value,name:"arrowBottom",size:n.value.height/2},null,8,["stroke","size"])):e.createCommentVNode("",!0),k.value==="neutral"?(e.openBlock(),e.createBlock(w.default,{key:2,stroke:s.value,name:"arrowRight",size:n.value.height/2},null,8,["stroke","size"])):e.createCommentVNode("",!0)])],8,K)),p.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("text",{key:5,x:n.value.height/2-n.value.height/20,y:d.value.bottom,"text-anchor":"middle",fill:t.value.style.trendLabel.useColorTrend?s.value:t.value.style.trendLabel.color,"font-size":t.value.style.trendLabel.fontSize,"font-weight":t.value.style.trendLabel.bold?"bold":"normal"},e.toDisplayString(e.unref(a.dataLabel)({p:f.value>0?"+":"",v:f.value,s:"%",r:t.value.style.trendLabel.rounding})),9,Y)),o.value.length&&o.value.at(-1).x!==void 0?(e.openBlock(),e.createElementBlock("circle",{key:6,stroke:t.value.style.backgroundColor,"stroke-width":2,cx:o.value.at(-1).x,cy:o.value.at(-1).y,r:4,fill:s.value},null,8,ee)):e.createCommentVNode("",!0),o.value.length&&o.value.at(-1).x!==void 0&&t.value.style.dataLabel.show?(e.openBlock(),e.createElementBlock("text",{key:7,"text-anchor":"middle",x:o.value.at(-1).x,y:o.value.at(-1).y-t.value.style.dataLabel.fontSize/1.5,"font-size":t.value.style.dataLabel.fontSize,fill:t.value.style.dataLabel.useColorTrend?s.value:t.value.style.dataLabel.color,"font-weight":t.value.style.dataLabel.bold?"bold":"normal"},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.style.dataLabel.formatter,o.value.at(-1).value,e.unref(a.dataLabel)({p:t.value.style.dataLabel.prefix,v:o.value.at(-1).value,s:t.value.style.dataLabel.suffix,r:t.value.style.dataLabel.rounding}),{datapoint:o.value.at(-1)})),9,te)):e.createCommentVNode("",!0)],8,D)):(e.openBlock(),e.createBlock(A.default,{key:0,config:{type:"sparkline",style:{backgroundColor:t.value.style.backgroundColor,sparkline:{color:"#CCCCCC"}}}},null,8,["config"])),l.$slots.source?(e.openBlock(),e.createElementBlock("div",le,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],12,O))}},oe=q._export_sfc(ae,[["__scopeId","data-v-38d02804"]]);exports.default=oe;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-COIn1phv.cjs"),b=require("./useNestedProp-CbMuGGl3.cjs"),D=require("./vue-ui-skeleton-BIqMxXV7.cjs"),$=require("./PackageVersion-BjfedMsH.cjs"),z=["onClick"],L={key:1},P=["xmlns","viewBox"],A=["id"],F=["stop-color"],O=["stop-color"],I=["height","width","fill","rx"],T=["height","width","fill","rx"],q=["height","width","fill","rx"],M={key:2,ref:"source",dir:"auto"},U={__name:"vue-ui-sparkbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}},backgroundOpacity:{type:Number,default:null}},emits:["selectDatapoint"],setup(p,{emit:C}){const n=p,{vue_ui_sparkbar:S}=o.useConfig(),w=e.useSlots();e.onMounted(()=>{w["chart-background"]&&console.warn("VueUiSparkbar does not support the #chart-background slot.")});const v=e.computed(()=>!!n.dataset&&n.dataset.length),y=e.ref(o.createUid()),t=e.computed({get:()=>f(),set:l=>l});function f(){const l=b.useNestedProp({userConfig:n.config,defaultConfig:S});return l.theme?{...b.useNestedProp({userConfig:o.themes.vue_ui_sparkbar[l.theme]||n.config,defaultConfig:l}),customPalette:o.themePalettes[l.theme]||o.palette}:l}e.watch(()=>n.config,l=>{t.value=f()},{deep:!0});const N=e.computed(()=>o.convertCustomPalette(t.value.customPalette)),c=e.ref(n.dataset.map(l=>({...l,value:t.value.style.animation.show?0:l.value||0,formatter:l.formatter||null}))),g=e.ref(null);e.onMounted(async()=>{o.objectIsEmpty(n.dataset)&&o.error({componentName:"VueUiSparkbar",type:"dataset"}),h()});function h(){if(t.value.style.animation.show){let x=function(){i+=a/l,i<a?(c.value=c.value.map((u,m)=>({...u,value:u.value+=r[m]})),g.value=requestAnimationFrame(x)):c.value=n.dataset.map(u=>({...u,value:u.value||0,formatter:u.formatter||null}))};const l=t.value.style.animation.animationFrames,r=n.dataset.map((u,m)=>u.value/l),a=n.dataset.map(u=>u.value||0).reduce((u,m)=>u+m,0);let i=0;x()}}e.watch(()=>n.dataset,async l=>{cancelAnimationFrame(g.value),c.value=n.dataset.map(r=>({...r,value:t.value.style.animation.show?0:r.value||0,formatter:r.formatter||null})),e.nextTick(h)},{deep:!0});const s=e.ref({width:500,height:16}),_=e.computed(()=>Math.max(...n.dataset.map(l=>l.value))),B=e.computed(()=>(n.dataset.forEach((l,r)=>{o.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","value"]}).forEach(a=>{o.error({componentName:"VueUiSparkbar",type:"datasetSerieAttribute",property:a,index:r})})}),c.value.map((l,r)=>({...l,value:l.value||0,color:o.convertColorToHex(l.color)||N.value[r]||o.palette[r]||o.palette[r%o.palette.length]}))));function V(l){return l/_.value}function k(l){return t.value.style.layout.independant?l.target?l.value/l.target:t.value.style.layout.percentage?l.value>100?1:l.value/100:t.value.style.layout.target===0?1:l.value/t.value.style.layout.target:V(l.value)}function d(l){return t.value.style.layout.independant&&l.target||t.value.style.layout.target}function E(l,r){C("selectDatapoint",{datapoint:l,index:r})}return(l,r)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle({width:"100%",fontFamily:t.value.style.fontFamily,background:n.backgroundOpacity!==null?e.unref(o.setOpacity)(t.value.style.backgroundColor,n.backgroundOpacity):t.value.style.backgroundColor})},[l.$slots.title?e.renderSlot(l.$slots,"title",e.normalizeProps(e.mergeProps({key:0},{title:{...l.title,title:t.value.style.title.text,subtitle:t.value.style.title.subtitle.text}}))):e.createCommentVNode("",!0),!l.$slots.title&&t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:1,class:"vue-ui-sparkbar-title-container",style:e.normalizeStyle({background:t.value.style.title.backgroundColor,margin:t.value.style.title.margin,textAlign:t.value.style.title.textAlign})},[e.createElementVNode("div",{class:"vue-ui-sparkbar-title",style:e.normalizeStyle({fontSize:t.value.style.title.fontSize+"px",color:t.value.style.title.color,fontWeight:t.value.style.title.bold?"bold":"normal"})},e.toDisplayString(t.value.style.title.text),5),t.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-sparkbar-subtitle",style:e.normalizeStyle({fontSize:t.value.style.title.subtitle.fontSize+"px",color:t.value.style.title.subtitle.color,fontWeight:t.value.style.title.subtitle.bold?"bold":"normal"})},e.toDisplayString(t.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,(a,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[v.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`display:flex !important;${["left","right"].includes(t.value.style.labels.name.position)?`flex-direction: ${t.value.style.labels.name.position==="right"?"row-reverse":"row"} !important`:"flex-direction:column !important"};gap:${t.value.style.gap}px !important;align-items:center;${p.dataset.length>0&&i!==p.dataset.length-1?"margin-bottom:6px":""}`),onClick:()=>E(a,i)},[e.renderSlot(l.$slots,"data-label",e.normalizeProps(e.guardReactiveProps({bar:{...a,target:d(a),valueLabel:e.unref(o.applyDataLabel)(a.formatter,a.value,e.unref(o.dataLabel)({p:a.prefix||"",v:a.value,s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i}),targetLabel:e.unref(o.applyDataLabel)(a.formatter,d(a),e.unref(o.dataLabel)({p:a.prefix||"",v:d(a),s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i})}}))),l.$slots["data-label"]?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:t.value.style.labels.name.width,color:t.value.style.labels.name.color,fontSize:t.value.style.labels.fontSize+"px",fontWeight:t.value.style.labels.name.bold?"bold":"normal",textAlign:["left","right"].includes(t.value.style.labels.name.position)||["top","top-left"].includes(t.value.style.labels.name.position)?"left":t.value.style.labels.name.position==="top-center"?"center":"right"})},[e.createElementVNode("span",null,e.toDisplayString(a.name),1),t.value.style.labels.value.show?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(`font-weight:${t.value.style.labels.value.bold?"bold":"normal"}`)},": "+e.toDisplayString(e.unref(o.applyDataLabel)(a.formatter,a.value,e.unref(o.dataLabel)({p:a.prefix||"",v:a.value,s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i})),5)):e.createCommentVNode("",!0),t.value.style.layout.showTargetValue?(e.openBlock(),e.createElementBlock("span",L,e.toDisplayString(" "+t.value.style.layout.targetValueText)+" "+e.toDisplayString(e.unref(o.applyDataLabel)(a.formatter,d(a),e.unref(o.dataLabel)({p:a.prefix||"",v:d(a),s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i})),1)):e.createCommentVNode("",!0)],4)),(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(o.XMLNS),viewBox:`0 0 ${s.value.width} ${s.value.height}`,width:"100%"},[e.createVNode($._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{x1:"0%",y1:"0%",x2:"100%",y2:"0%",id:`sparkbar_gradient_${i}_${y.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.setOpacity)(e.unref(o.shiftHue)(a.color,.03),100-t.value.style.bar.gradient.intensity)},null,8,F),e.createElementVNode("stop",{offset:"100%","stop-color":a.color},null,8,O)],8,A)]),e.createElementVNode("rect",{height:s.value.height,width:s.value.width,x:0,y:0,fill:e.unref(o.setOpacity)(t.value.style.gutter.backgroundColor,t.value.style.gutter.opacity),rx:s.value.height/2},null,8,I),e.createElementVNode("rect",{height:s.value.height,width:s.value.width*k(a),x:0,y:0,fill:t.value.style.bar.gradient.underlayerColor,rx:s.value.height/2},null,8,T),e.createElementVNode("rect",{height:s.value.height,width:s.value.width*k(a),x:0,y:0,fill:t.value.style.bar.gradient.show?`url(#sparkbar_gradient_${i}_${y.value})`:a.color,rx:s.value.height/2},null,8,q)],8,P))],12,z)):e.createCommentVNode("",!0)],64))),256)),l.$slots.source?(e.openBlock(),e.createElementBlock("div",M,[e.renderSlot(l.$slots,"source")],512)):e.createCommentVNode("",!0),v.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D.default,{key:3,config:{type:"sparkbar",style:{backgroundColor:t.value.style.backgroundColor,sparkbar:{color:"#CCCCCC"}}}},null,8,["config"]))],4))}};exports.default=U;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-1HOIfTy2.cjs"),b=require("./useNestedProp-BFNnjpX-.cjs"),D=require("./vue-ui-skeleton-CLiDRcQX.cjs"),$=require("./PackageVersion-DvDNPRrJ.cjs"),z=["onClick"],L={key:1},P=["xmlns","viewBox"],A=["id"],F=["stop-color"],O=["stop-color"],I=["height","width","fill","rx"],T=["height","width","fill","rx"],q=["height","width","fill","rx"],M={key:2,ref:"source",dir:"auto"},U={__name:"vue-ui-sparkbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}},backgroundOpacity:{type:Number,default:null}},emits:["selectDatapoint"],setup(p,{emit:C}){const n=p,{vue_ui_sparkbar:S}=o.useConfig(),w=e.useSlots();e.onMounted(()=>{w["chart-background"]&&console.warn("VueUiSparkbar does not support the #chart-background slot.")});const v=e.computed(()=>!!n.dataset&&n.dataset.length),y=e.ref(o.createUid()),t=e.computed({get:()=>f(),set:l=>l});function f(){const l=b.useNestedProp({userConfig:n.config,defaultConfig:S});return l.theme?{...b.useNestedProp({userConfig:o.themes.vue_ui_sparkbar[l.theme]||n.config,defaultConfig:l}),customPalette:o.themePalettes[l.theme]||o.palette}:l}e.watch(()=>n.config,l=>{t.value=f()},{deep:!0});const N=e.computed(()=>o.convertCustomPalette(t.value.customPalette)),c=e.ref(n.dataset.map(l=>({...l,value:t.value.style.animation.show?0:l.value||0,formatter:l.formatter||null}))),g=e.ref(null);e.onMounted(async()=>{o.objectIsEmpty(n.dataset)&&o.error({componentName:"VueUiSparkbar",type:"dataset"}),h()});function h(){if(t.value.style.animation.show){let x=function(){i+=a/l,i<a?(c.value=c.value.map((u,m)=>({...u,value:u.value+=r[m]})),g.value=requestAnimationFrame(x)):c.value=n.dataset.map(u=>({...u,value:u.value||0,formatter:u.formatter||null}))};const l=t.value.style.animation.animationFrames,r=n.dataset.map((u,m)=>u.value/l),a=n.dataset.map(u=>u.value||0).reduce((u,m)=>u+m,0);let i=0;x()}}e.watch(()=>n.dataset,async l=>{cancelAnimationFrame(g.value),c.value=n.dataset.map(r=>({...r,value:t.value.style.animation.show?0:r.value||0,formatter:r.formatter||null})),e.nextTick(h)},{deep:!0});const s=e.ref({width:500,height:16}),_=e.computed(()=>Math.max(...n.dataset.map(l=>l.value))),B=e.computed(()=>(n.dataset.forEach((l,r)=>{o.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","value"]}).forEach(a=>{o.error({componentName:"VueUiSparkbar",type:"datasetSerieAttribute",property:a,index:r})})}),c.value.map((l,r)=>({...l,value:l.value||0,color:o.convertColorToHex(l.color)||N.value[r]||o.palette[r]||o.palette[r%o.palette.length]}))));function V(l){return l/_.value}function k(l){return t.value.style.layout.independant?l.target?l.value/l.target:t.value.style.layout.percentage?l.value>100?1:l.value/100:t.value.style.layout.target===0?1:l.value/t.value.style.layout.target:V(l.value)}function d(l){return t.value.style.layout.independant&&l.target||t.value.style.layout.target}function E(l,r){C("selectDatapoint",{datapoint:l,index:r})}return(l,r)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle({width:"100%",fontFamily:t.value.style.fontFamily,background:n.backgroundOpacity!==null?e.unref(o.setOpacity)(t.value.style.backgroundColor,n.backgroundOpacity):t.value.style.backgroundColor})},[l.$slots.title?e.renderSlot(l.$slots,"title",e.normalizeProps(e.mergeProps({key:0},{title:{...l.title,title:t.value.style.title.text,subtitle:t.value.style.title.subtitle.text}}))):e.createCommentVNode("",!0),!l.$slots.title&&t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:1,class:"vue-ui-sparkbar-title-container",style:e.normalizeStyle({background:t.value.style.title.backgroundColor,margin:t.value.style.title.margin,textAlign:t.value.style.title.textAlign})},[e.createElementVNode("div",{class:"vue-ui-sparkbar-title",style:e.normalizeStyle({fontSize:t.value.style.title.fontSize+"px",color:t.value.style.title.color,fontWeight:t.value.style.title.bold?"bold":"normal"})},e.toDisplayString(t.value.style.title.text),5),t.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-sparkbar-subtitle",style:e.normalizeStyle({fontSize:t.value.style.title.subtitle.fontSize+"px",color:t.value.style.title.subtitle.color,fontWeight:t.value.style.title.subtitle.bold?"bold":"normal"})},e.toDisplayString(t.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,(a,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[v.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`display:flex !important;${["left","right"].includes(t.value.style.labels.name.position)?`flex-direction: ${t.value.style.labels.name.position==="right"?"row-reverse":"row"} !important`:"flex-direction:column !important"};gap:${t.value.style.gap}px !important;align-items:center;${p.dataset.length>0&&i!==p.dataset.length-1?"margin-bottom:6px":""}`),onClick:()=>E(a,i)},[e.renderSlot(l.$slots,"data-label",e.normalizeProps(e.guardReactiveProps({bar:{...a,target:d(a),valueLabel:e.unref(o.applyDataLabel)(a.formatter,a.value,e.unref(o.dataLabel)({p:a.prefix||"",v:a.value,s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i}),targetLabel:e.unref(o.applyDataLabel)(a.formatter,d(a),e.unref(o.dataLabel)({p:a.prefix||"",v:d(a),s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i})}}))),l.$slots["data-label"]?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:t.value.style.labels.name.width,color:t.value.style.labels.name.color,fontSize:t.value.style.labels.fontSize+"px",fontWeight:t.value.style.labels.name.bold?"bold":"normal",textAlign:["left","right"].includes(t.value.style.labels.name.position)||["top","top-left"].includes(t.value.style.labels.name.position)?"left":t.value.style.labels.name.position==="top-center"?"center":"right"})},[e.createElementVNode("span",null,e.toDisplayString(a.name),1),t.value.style.labels.value.show?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(`font-weight:${t.value.style.labels.value.bold?"bold":"normal"}`)},": "+e.toDisplayString(e.unref(o.applyDataLabel)(a.formatter,a.value,e.unref(o.dataLabel)({p:a.prefix||"",v:a.value,s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i})),5)):e.createCommentVNode("",!0),t.value.style.layout.showTargetValue?(e.openBlock(),e.createElementBlock("span",L,e.toDisplayString(" "+t.value.style.layout.targetValueText)+" "+e.toDisplayString(e.unref(o.applyDataLabel)(a.formatter,d(a),e.unref(o.dataLabel)({p:a.prefix||"",v:d(a),s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i})),1)):e.createCommentVNode("",!0)],4)),(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(o.XMLNS),viewBox:`0 0 ${s.value.width} ${s.value.height}`,width:"100%"},[e.createVNode($._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{x1:"0%",y1:"0%",x2:"100%",y2:"0%",id:`sparkbar_gradient_${i}_${y.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.setOpacity)(e.unref(o.shiftHue)(a.color,.03),100-t.value.style.bar.gradient.intensity)},null,8,F),e.createElementVNode("stop",{offset:"100%","stop-color":a.color},null,8,O)],8,A)]),e.createElementVNode("rect",{height:s.value.height,width:s.value.width,x:0,y:0,fill:e.unref(o.setOpacity)(t.value.style.gutter.backgroundColor,t.value.style.gutter.opacity),rx:s.value.height/2},null,8,I),e.createElementVNode("rect",{height:s.value.height,width:s.value.width*k(a),x:0,y:0,fill:t.value.style.bar.gradient.underlayerColor,rx:s.value.height/2},null,8,T),e.createElementVNode("rect",{height:s.value.height,width:s.value.width*k(a),x:0,y:0,fill:t.value.style.bar.gradient.show?`url(#sparkbar_gradient_${i}_${y.value})`:a.color,rx:s.value.height/2},null,8,q)],8,P))],12,z)):e.createCommentVNode("",!0)],64))),256)),l.$slots.source?(e.openBlock(),e.createElementBlock("div",M,[e.renderSlot(l.$slots,"source")],512)):e.createCommentVNode("",!0),v.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(D.default,{key:3,config:{type:"sparkbar",style:{backgroundColor:t.value.style.backgroundColor,sparkbar:{color:"#CCCCCC"}}}},null,8,["config"]))],4))}};exports.default=U;
@@ -1,8 +1,8 @@
1
1
  import { useSlots as X, onMounted as z, computed as g, ref as x, watch as L, nextTick as R, openBlock as n, createElementBlock as c, normalizeStyle as p, unref as s, renderSlot as C, normalizeProps as O, mergeProps as J, createCommentVNode as v, createElementVNode as d, toDisplayString as f, Fragment as T, renderList as K, guardReactiveProps as Q, createVNode as Y, createBlock as Z } from "vue";
2
- import { u as ee, c as te, t as le, a as ae, p as k, b as oe, o as se, e as V, g as ue, d as ne, s as $, i as b, f as w, X as re, w as ie } from "./index-B7nCQFK0.js";
3
- import { u as E } from "./useNestedProp-C9rlBRTT.js";
4
- import ce from "./vue-ui-skeleton-D66ZIUln.js";
5
- import { _ as ve } from "./PackageVersion-CENy3Lm2.js";
2
+ import { u as ee, c as te, t as le, a as ae, p as k, b as oe, o as se, e as V, g as ue, d as ne, s as $, i as b, f as w, X as re, w as ie } from "./index-BG5J_ybN.js";
3
+ import { u as E } from "./useNestedProp-BN1ZmAKT.js";
4
+ import ce from "./vue-ui-skeleton-c211TxZ8.js";
5
+ import { _ as ve } from "./PackageVersion-Rh3rgo6A.js";
6
6
  const de = ["onClick"], pe = { key: 1 }, fe = ["xmlns", "viewBox"], ye = ["id"], me = ["stop-color"], ge = ["stop-color"], he = ["height", "width", "fill", "rx"], xe = ["height", "width", "fill", "rx"], ke = ["height", "width", "fill", "rx"], be = {
7
7
  key: 2,
8
8
  ref: "source",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-COIn1phv.cjs"),b=require("./useNestedProp-CbMuGGl3.cjs"),w=require("./vue-ui-skeleton-BIqMxXV7.cjs"),x=require("./PackageVersion-BjfedMsH.cjs"),S=["xmlns","viewBox"],B=["width","height"],E=["id"],L=["stop-color"],M=["stop-color"],V=["d","stroke","stroke-linecap"],z=["d","stroke","stroke-linecap","stroke-dashoffset"],A=["x","y","font-size","fill","font-weight"],O={key:4,ref:"source",dir:"auto"},j={__name:"vue-ui-sparkgauge",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(C){const o=C,{vue_ui_sparkgauge:_}=n.useConfig(),c=e.computed(()=>!!o.dataset&&Object.keys(o.dataset).length);e.onMounted(()=>{d()});function d(){n.objectIsEmpty(o.dataset)?n.error({componentName:"VueUiSparkgauge",type:"dataset"}):n.getMissingDatasetAttributes({datasetObject:o.dataset,requiredAttributes:["value","min","max"]}).forEach(a=>{n.error({componentName:"VueUiSparkgauge",type:"datasetAttribute",property:a})})}const v=e.ref(n.createUid()),t=e.computed({get:()=>m(),set:a=>a});function m(){const a=b.useNestedProp({userConfig:o.config,defaultConfig:_});return a.theme?{...b.useNestedProp({userConfig:n.themes.vue_ui_sparkgauge[a.theme]||o.config,defaultConfig:a})}:a}e.watch(()=>o.config,a=>{t.value=m(),d()},{deep:!0});const u=e.computed(()=>({height:t.value.style.height,width:128,base:t.value.style.basePosition})),s=e.computed(()=>{const a=o.dataset.min??0,r=o.dataset.max??0,$=r-a;return{min:a,max:r,diff:$}}),l=e.ref(t.value.style.animation.show?s.value.min:o.dataset.value);e.watch(()=>o.dataset.value,()=>{y(o.dataset.value||0)});const f=e.computed(()=>l.value>s.value.max?s.value.max:l.value<s.value.min?s.value.min:l.value),p=e.computed(()=>s.value.diff/t.value.style.animation.speedMs);e.onMounted(()=>{y(o.dataset.value||0)});function y(a){function r(){l.value<a?l.value=Math.min(l.value+p.value,a):l.value>a&&(l.value=Math.max(l.value-p.value,a)),l.value!==a&&requestAnimationFrame(r)}r()}const i=e.computed(()=>o.dataset.title??""),g=e.computed(()=>l.value>=0?(f.value-s.value.min)/s.value.diff:(Math.abs(s.value.min)-Math.abs(f.value))/s.value.diff),h=e.computed(()=>n.interpolateColorHex(t.value.style.colors.min,t.value.style.colors.max,s.value.min,s.value.max,l.value)),k=e.computed(()=>t.value.style.dataLabel.autoColor?h.value:t.value.style.dataLabel.color),N=e.computed(()=>t.value.style.track.autoColor?h.value:t.value.style.track.color);return(a,r)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width: 100%; background:${t.value.style.background}`)},[t.value.style.title.show&&i.value&&t.value.style.title.position==="top"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-data-ui-sparkgauge-label",style:e.normalizeStyle(`font-size:${t.value.style.title.fontSize}px;text-align:${t.value.style.title.textAlign};font-weight:${t.value.style.title.bold?"bold":"normal"};color:${t.value.style.title.color}`)},e.toDisplayString(i.value),5)):e.createCommentVNode("",!0),c.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(n.XMLNS),viewBox:`0 0 ${u.value.width} ${u.value.height}`,style:"overflow: visible; background:transparent; width:100%;"},[e.createVNode(x._sfc_main),a.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:u.value.width,height:u.value.height,style:{pointerEvents:"none"}},[e.renderSlot(a.$slots,"chart-background")],8,B)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`gradient_${v.value}`,x1:"-10%",y1:"100%",x2:"110%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.colors.min},null,8,L),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.max},null,8,M)],8,E)]),e.createElementVNode("path",{d:`M10 ${u.value.base} A 1 1 0 1 1 118 ${u.value.base}`,stroke:t.value.style.gutter.color,"stroke-width":8,"stroke-linecap":t.value.style.gutter.strokeLinecap,fill:"none"},null,8,V),g.value!==0?(e.openBlock(),e.createElementBlock("path",{key:1,d:`M10 ${u.value.base} A 1 1 0 1 1 118 ${u.value.base}`,stroke:t.value.style.colors.showGradient?`url(#gradient_${v.value})`:N.value,"stroke-width":8,"stroke-linecap":t.value.style.track.strokeLinecap,fill:"none","stroke-dasharray":169.5,"stroke-dashoffset":169.5-169.5*g.value,class:e.normalizeClass({"vue-ui-sparkgauge-track":t.value.style.animation.show}),style:e.normalizeStyle(t.value.style.animation.show?`animation: vue-ui-sparkgauge-animation ${t.value.style.animation.speedMs}ms ease-in;`:"")},null,14,z)):e.createCommentVNode("",!0),e.createElementVNode("text",{"text-anchor":"middle",x:u.value.width/2,y:u.value.base+6+t.value.style.dataLabel.offsetY,"font-size":t.value.style.dataLabel.fontSize,fill:k.value,"font-weight":t.value.style.dataLabel.bold?"bold":"normal"},e.toDisplayString(e.unref(n.applyDataLabel)(t.value.style.dataLabel.formatter,e.unref(n.checkNaN)(l.value),e.unref(n.dataLabel)({p:t.value.style.dataLabel.prefix,v:e.unref(n.checkNaN)(l.value),s:t.value.style.dataLabel.suffix,r:t.value.style.dataLabel.rounding}),{datapoint:e.unref(n.checkNaN)(l.value),color:k.value})),9,A)],8,S)):e.createCommentVNode("",!0),c.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(w.default,{key:2,config:{type:"gauge",style:{backgroundColor:t.value.style.background,gauge:{color:"#CCCCCC"}}}},null,8,["config"])),t.value.style.title.show&&i.value&&t.value.style.title.position==="bottom"?(e.openBlock(),e.createElementBlock("div",{key:3,class:"vue-data-ui-sparkgauge-label",style:e.normalizeStyle(`font-size:${t.value.style.title.fontSize}px;text-align:${t.value.style.title.textAlign};font-weight:${t.value.style.title.bold?"bold":"normal"};font-weight:${t.value.style.title.bold?"bold":"normal"};color:${t.value.style.title.color}`)},e.toDisplayString(i.value),5)):e.createCommentVNode("",!0),a.$slots.source?(e.openBlock(),e.createElementBlock("div",O,[e.renderSlot(a.$slots,"source")],512)):e.createCommentVNode("",!0)],4))}};exports.default=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-1HOIfTy2.cjs"),b=require("./useNestedProp-BFNnjpX-.cjs"),w=require("./vue-ui-skeleton-CLiDRcQX.cjs"),x=require("./PackageVersion-DvDNPRrJ.cjs"),S=["xmlns","viewBox"],B=["width","height"],E=["id"],L=["stop-color"],M=["stop-color"],V=["d","stroke","stroke-linecap"],z=["d","stroke","stroke-linecap","stroke-dashoffset"],A=["x","y","font-size","fill","font-weight"],O={key:4,ref:"source",dir:"auto"},j={__name:"vue-ui-sparkgauge",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(C){const o=C,{vue_ui_sparkgauge:_}=n.useConfig(),c=e.computed(()=>!!o.dataset&&Object.keys(o.dataset).length);e.onMounted(()=>{d()});function d(){n.objectIsEmpty(o.dataset)?n.error({componentName:"VueUiSparkgauge",type:"dataset"}):n.getMissingDatasetAttributes({datasetObject:o.dataset,requiredAttributes:["value","min","max"]}).forEach(a=>{n.error({componentName:"VueUiSparkgauge",type:"datasetAttribute",property:a})})}const v=e.ref(n.createUid()),t=e.computed({get:()=>m(),set:a=>a});function m(){const a=b.useNestedProp({userConfig:o.config,defaultConfig:_});return a.theme?{...b.useNestedProp({userConfig:n.themes.vue_ui_sparkgauge[a.theme]||o.config,defaultConfig:a})}:a}e.watch(()=>o.config,a=>{t.value=m(),d()},{deep:!0});const u=e.computed(()=>({height:t.value.style.height,width:128,base:t.value.style.basePosition})),s=e.computed(()=>{const a=o.dataset.min??0,r=o.dataset.max??0,$=r-a;return{min:a,max:r,diff:$}}),l=e.ref(t.value.style.animation.show?s.value.min:o.dataset.value);e.watch(()=>o.dataset.value,()=>{y(o.dataset.value||0)});const f=e.computed(()=>l.value>s.value.max?s.value.max:l.value<s.value.min?s.value.min:l.value),p=e.computed(()=>s.value.diff/t.value.style.animation.speedMs);e.onMounted(()=>{y(o.dataset.value||0)});function y(a){function r(){l.value<a?l.value=Math.min(l.value+p.value,a):l.value>a&&(l.value=Math.max(l.value-p.value,a)),l.value!==a&&requestAnimationFrame(r)}r()}const i=e.computed(()=>o.dataset.title??""),g=e.computed(()=>l.value>=0?(f.value-s.value.min)/s.value.diff:(Math.abs(s.value.min)-Math.abs(f.value))/s.value.diff),h=e.computed(()=>n.interpolateColorHex(t.value.style.colors.min,t.value.style.colors.max,s.value.min,s.value.max,l.value)),k=e.computed(()=>t.value.style.dataLabel.autoColor?h.value:t.value.style.dataLabel.color),N=e.computed(()=>t.value.style.track.autoColor?h.value:t.value.style.track.color);return(a,r)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width: 100%; background:${t.value.style.background}`)},[t.value.style.title.show&&i.value&&t.value.style.title.position==="top"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-data-ui-sparkgauge-label",style:e.normalizeStyle(`font-size:${t.value.style.title.fontSize}px;text-align:${t.value.style.title.textAlign};font-weight:${t.value.style.title.bold?"bold":"normal"};color:${t.value.style.title.color}`)},e.toDisplayString(i.value),5)):e.createCommentVNode("",!0),c.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(n.XMLNS),viewBox:`0 0 ${u.value.width} ${u.value.height}`,style:"overflow: visible; background:transparent; width:100%;"},[e.createVNode(x._sfc_main),a.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:u.value.width,height:u.value.height,style:{pointerEvents:"none"}},[e.renderSlot(a.$slots,"chart-background")],8,B)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`gradient_${v.value}`,x1:"-10%",y1:"100%",x2:"110%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.colors.min},null,8,L),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.max},null,8,M)],8,E)]),e.createElementVNode("path",{d:`M10 ${u.value.base} A 1 1 0 1 1 118 ${u.value.base}`,stroke:t.value.style.gutter.color,"stroke-width":8,"stroke-linecap":t.value.style.gutter.strokeLinecap,fill:"none"},null,8,V),g.value!==0?(e.openBlock(),e.createElementBlock("path",{key:1,d:`M10 ${u.value.base} A 1 1 0 1 1 118 ${u.value.base}`,stroke:t.value.style.colors.showGradient?`url(#gradient_${v.value})`:N.value,"stroke-width":8,"stroke-linecap":t.value.style.track.strokeLinecap,fill:"none","stroke-dasharray":169.5,"stroke-dashoffset":169.5-169.5*g.value,class:e.normalizeClass({"vue-ui-sparkgauge-track":t.value.style.animation.show}),style:e.normalizeStyle(t.value.style.animation.show?`animation: vue-ui-sparkgauge-animation ${t.value.style.animation.speedMs}ms ease-in;`:"")},null,14,z)):e.createCommentVNode("",!0),e.createElementVNode("text",{"text-anchor":"middle",x:u.value.width/2,y:u.value.base+6+t.value.style.dataLabel.offsetY,"font-size":t.value.style.dataLabel.fontSize,fill:k.value,"font-weight":t.value.style.dataLabel.bold?"bold":"normal"},e.toDisplayString(e.unref(n.applyDataLabel)(t.value.style.dataLabel.formatter,e.unref(n.checkNaN)(l.value),e.unref(n.dataLabel)({p:t.value.style.dataLabel.prefix,v:e.unref(n.checkNaN)(l.value),s:t.value.style.dataLabel.suffix,r:t.value.style.dataLabel.rounding}),{datapoint:e.unref(n.checkNaN)(l.value),color:k.value})),9,A)],8,S)):e.createCommentVNode("",!0),c.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(w.default,{key:2,config:{type:"gauge",style:{backgroundColor:t.value.style.background,gauge:{color:"#CCCCCC"}}}},null,8,["config"])),t.value.style.title.show&&i.value&&t.value.style.title.position==="bottom"?(e.openBlock(),e.createElementBlock("div",{key:3,class:"vue-data-ui-sparkgauge-label",style:e.normalizeStyle(`font-size:${t.value.style.title.fontSize}px;text-align:${t.value.style.title.textAlign};font-weight:${t.value.style.title.bold?"bold":"normal"};font-weight:${t.value.style.title.bold?"bold":"normal"};color:${t.value.style.title.color}`)},e.toDisplayString(i.value),5)):e.createCommentVNode("",!0),a.$slots.source?(e.openBlock(),e.createElementBlock("div",O,[e.renderSlot(a.$slots,"source")],512)):e.createCommentVNode("",!0)],4))}};exports.default=j;
@@ -1,8 +1,8 @@
1
1
  import { computed as s, onMounted as N, ref as A, watch as M, openBlock as n, createElementBlock as i, normalizeStyle as m, toDisplayString as y, createCommentVNode as r, unref as c, createVNode as D, renderSlot as S, createElementVNode as d, normalizeClass as G, createBlock as I } from "vue";
2
- import { u as U, o as q, e as z, g as P, c as R, t as T, N as X, X as H, i as V, v as g, f as Y } from "./index-B7nCQFK0.js";
3
- import { u as O } from "./useNestedProp-C9rlBRTT.js";
4
- import J from "./vue-ui-skeleton-D66ZIUln.js";
5
- import { _ as K } from "./PackageVersion-CENy3Lm2.js";
2
+ import { u as U, o as q, e as z, g as P, c as R, t as T, N as X, X as H, i as V, v as g, f as Y } from "./index-BG5J_ybN.js";
3
+ import { u as O } from "./useNestedProp-BN1ZmAKT.js";
4
+ import J from "./vue-ui-skeleton-c211TxZ8.js";
5
+ import { _ as K } from "./PackageVersion-Rh3rgo6A.js";
6
6
  const Q = ["xmlns", "viewBox"], W = ["width", "height"], Z = ["id"], ee = ["stop-color"], te = ["stop-color"], ae = ["d", "stroke", "stroke-linecap"], le = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], oe = ["x", "y", "font-size", "fill", "font-weight"], se = {
7
7
  key: 4,
8
8
  ref: "source",
@@ -1,9 +1,9 @@
1
1
  import { useCssVars as K, computed as _, onMounted as Q, ref as N, watch as Z, openBlock as a, createElementBlock as s, normalizeStyle as $, createElementVNode as h, createTextVNode as ee, toDisplayString as p, unref as n, createCommentVNode as c, createVNode as te, renderSlot as D, Fragment as f, renderList as g, normalizeClass as I, createBlock as V } from "vue";
2
- import { u as le, o as ae, e as E, g as se, c as oe, t as ue, s as b, i as H, f as F, X as re, w as z } from "./index-B7nCQFK0.js";
3
- import { u as O } from "./useNestedProp-C9rlBRTT.js";
4
- import { _ as ie } from "./Shape-zFv85Gc2.js";
5
- import ne from "./vue-ui-skeleton-D66ZIUln.js";
6
- import { _ as ve } from "./PackageVersion-CENy3Lm2.js";
2
+ import { u as le, o as ae, e as E, g as se, c as oe, t as ue, s as b, i as H, f as F, X as re, w as z } from "./index-BG5J_ybN.js";
3
+ import { u as O } from "./useNestedProp-BN1ZmAKT.js";
4
+ import { _ as ie } from "./Shape-CL3HglYL.js";
5
+ import ne from "./vue-ui-skeleton-c211TxZ8.js";
6
+ import { _ as ve } from "./PackageVersion-Rh3rgo6A.js";
7
7
  import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const ce = { key: 0 }, ye = { key: 1 }, he = ["xmlns", "viewBox"], fe = ["width", "height"], ge = ["id"], pe = ["stop-color"], be = ["stop-color"], me = ["id"], _e = ["stop-color"], xe = ["stop-color"], ke = ["id"], we = ["stop-color"], $e = ["stop-color"], Ce = { key: 1 }, Le = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], ze = { key: 2 }, Se = ["x", "y", "font-size", "font-weight", "fill"], Me = ["x", "y", "font-size", "fill"], Ae = ["x", "y", "font-size", "fill"], Ne = ["height", "width", "x", "onMouseover", "stroke", "stroke-width", "rx", "stroke-dasharray", "onClick"], De = {
9
9
  key: 2,