vue-data-ui 2.6.4 → 2.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist/{Arrow-CJeP3IfV.cjs → Arrow-CyeGXbbD.cjs} +1 -1
  2. package/dist/{Arrow-BNRsG_PK.js → Arrow-DfGZcZu4.js} +1 -1
  3. package/dist/{BaseIcon-BOR1UXkg.cjs → BaseIcon-B5DvqSYe.cjs} +1 -1
  4. package/dist/{BaseIcon-DAD8bWYx.js → BaseIcon-BzuvxztF.js} +1 -1
  5. package/dist/{DataTable-Bg0b_pVK.js → DataTable-BCCBpyhr.js} +2 -2
  6. package/dist/{DataTable-C1LMti1U.cjs → DataTable-zpYtivMM.cjs} +1 -1
  7. package/dist/{Legend-CMzKRWtT.cjs → Legend-CJkkmRNE.cjs} +1 -1
  8. package/dist/{Legend-Ba6qRAqc.js → Legend-CyJrN721.js} +2 -2
  9. package/dist/{PackageVersion-2gojTmrp.cjs → PackageVersion-Dv25_ZxF.cjs} +1 -1
  10. package/dist/{PackageVersion-C5hOoj_p.js → PackageVersion-PZr4BkQ5.js} +1 -1
  11. package/dist/{PenAndPaper-BJLUyj-s.js → PenAndPaper-Cniu2YEX.js} +3 -3
  12. package/dist/{PenAndPaper-Bwxr_PKm.cjs → PenAndPaper-Cx3_Liuv.cjs} +1 -1
  13. package/dist/{Shape-BXfC7I_g.js → Shape-BXTmpde5.js} +1 -1
  14. package/dist/{Shape-DTKetM4N.cjs → Shape-GAZUIBfN.cjs} +1 -1
  15. package/dist/{Slicer-bCt9Cx4y.js → Slicer-D3tEQT9Z.js} +2 -2
  16. package/dist/{Slicer-Park25Rm.cjs → Slicer-DzKrIvL0.cjs} +1 -1
  17. package/dist/{Title-AFFkNb_h.js → Title-CXBc1TH6.js} +1 -1
  18. package/dist/{Title-vXH_7MPz.cjs → Title-DdUtciJN.cjs} +1 -1
  19. package/dist/{Tooltip-C7eukp_Y.cjs → Tooltip-BlGVq6xj.cjs} +1 -1
  20. package/dist/{Tooltip-C6qF6AOJ.js → Tooltip-C9lPh5bN.js} +1 -1
  21. package/dist/{index-y7ebFPbO.js → index-DLCyjPV0.js} +7 -7
  22. package/dist/index-DSGAenF3.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-BzGIy5aD.cjs → useNestedProp-BdTohsDJ.cjs} +1 -1
  25. package/dist/{useNestedProp-BWzyGJZ8.js → useNestedProp-q86V3_LA.js} +1 -1
  26. package/dist/{usePrinter-DY6H-UkT.cjs → usePrinter-CPqTP09H.cjs} +1 -1
  27. package/dist/{usePrinter-xz0bcBPM.js → usePrinter-CpHZjw3G.js} +1 -1
  28. package/dist/{vue-data-ui-DI586Tl5.cjs → vue-data-ui-CR9Dof80.cjs} +1 -1
  29. package/dist/{vue-data-ui-lvrlgytd.js → vue-data-ui-CzqznXmA.js} +61 -61
  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-7ciIKlHS.js → vue-ui-3d-bar-DvHdA_uo.js} +9 -9
  33. package/dist/{vue-ui-3d-bar-BZgGJ_4E.cjs → vue-ui-3d-bar-vvpkf_bv.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-DxSGI7GJ.js → vue-ui-accordion-DR2qjfsa.js} +3 -3
  35. package/dist/{vue-ui-accordion-D3UeWj9q.cjs → vue-ui-accordion-FM16tlk7.cjs} +1 -1
  36. package/dist/{vue-ui-age-pyramid-D8CKdfwE.js → vue-ui-age-pyramid-BoXxK9_W.js} +10 -10
  37. package/dist/{vue-ui-age-pyramid-C-3bEzow.cjs → vue-ui-age-pyramid-CMMnrI3R.cjs} +1 -1
  38. package/dist/{vue-ui-annotator-B4_flLm1.cjs → vue-ui-annotator-5tI8NuFh.cjs} +1 -1
  39. package/dist/{vue-ui-annotator-Cu9TPyUl.js → vue-ui-annotator-D4kCCpAK.js} +1 -1
  40. package/dist/{vue-ui-bullet-BEssjqEW.js → vue-ui-bullet-X3Xa_OZ6.js} +8 -8
  41. package/dist/{vue-ui-bullet-CS48Jn1m.cjs → vue-ui-bullet-nXPlud-q.cjs} +1 -1
  42. package/dist/{vue-ui-candlestick-B85sWqPO.cjs → vue-ui-candlestick-B6T0LhEG.cjs} +1 -1
  43. package/dist/{vue-ui-candlestick-DW7NHW5L.js → vue-ui-candlestick-BTW5toA5.js} +11 -11
  44. package/dist/{vue-ui-carousel-table--yu4e9Dn.cjs → vue-ui-carousel-table-Cmnwv9Y3.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-BDgIKnZ6.js → vue-ui-carousel-table-D7s_SrJR.js} +4 -4
  46. package/dist/{vue-ui-chestnut-CohERgOT.cjs → vue-ui-chestnut-D8Gq_i77.cjs} +1 -1
  47. package/dist/{vue-ui-chestnut-wiZb3STX.js → vue-ui-chestnut-DN9EZShg.js} +8 -8
  48. package/dist/{vue-ui-circle-pack-D0DnGODv.cjs → vue-ui-circle-pack-DCz3OWlu.cjs} +1 -1
  49. package/dist/{vue-ui-circle-pack-CCbFwcZq.js → vue-ui-circle-pack-ts3rurGX.js} +9 -9
  50. package/dist/{vue-ui-cursor-Br93sq6V.cjs → vue-ui-cursor-CpWkrHpR.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-DqFQ-PMZ.js → vue-ui-cursor-SW96fYT3.js} +2 -2
  52. package/dist/{vue-ui-dashboard-lSSaetgV.js → vue-ui-dashboard-BZcfgajg.js} +2 -2
  53. package/dist/{vue-ui-dashboard-BwnE3PnW.cjs → vue-ui-dashboard-Buh9xBz-.cjs} +1 -1
  54. package/dist/{vue-ui-digits-BbKoWo0v.js → vue-ui-digits-C00yOT24.js} +2 -2
  55. package/dist/{vue-ui-digits-DyMxtXim.cjs → vue-ui-digits-rB78vJRR.cjs} +1 -1
  56. package/dist/{vue-ui-donut-BPY9X0nr.js → vue-ui-donut-BkGR2Q-_.js} +13 -14
  57. package/dist/{vue-ui-donut-BFdOEkVv.cjs → vue-ui-donut-BpgK-I9o.cjs} +1 -1
  58. package/dist/{vue-ui-donut-evolution-WWwGlSFZ.js → vue-ui-donut-evolution-B7WrjiTO.js} +12 -12
  59. package/dist/{vue-ui-donut-evolution-572FJh5z.cjs → vue-ui-donut-evolution-BVJCDPQ2.cjs} +1 -1
  60. package/dist/{vue-ui-dumbbell-CTCUgGKD.cjs → vue-ui-dumbbell-DRcemHVG.cjs} +1 -1
  61. package/dist/{vue-ui-dumbbell-otpZLJRb.js → vue-ui-dumbbell-gQadUH53.js} +10 -10
  62. package/dist/{vue-ui-flow-Dr2lzUkJ.js → vue-ui-flow-CqSTZbgP.js} +9 -9
  63. package/dist/{vue-ui-flow-BcqEMc_I.cjs → vue-ui-flow-DdQsK5DR.cjs} +1 -1
  64. package/dist/{vue-ui-funnel-D3WFS9UV.cjs → vue-ui-funnel-Bq4yoTfd.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-DhAgAXS7.js → vue-ui-funnel-Jr9TMTsq.js} +9 -9
  66. package/dist/{vue-ui-galaxy-Com-d71M.js → vue-ui-galaxy-BrQ10tPo.js} +11 -11
  67. package/dist/{vue-ui-galaxy-wA-JkujS.cjs → vue-ui-galaxy-ia1UNlpc.cjs} +1 -1
  68. package/dist/{vue-ui-gauge-DseS2Wjw.cjs → vue-ui-gauge-C3FbYOSi.cjs} +1 -1
  69. package/dist/{vue-ui-gauge-D5cWSaYs.js → vue-ui-gauge-DOMio6Mv.js} +8 -8
  70. package/dist/{vue-ui-gizmo-C4hyVlqo.cjs → vue-ui-gizmo-C3NimqVM.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-D7Y4R-bm.js → vue-ui-gizmo-SKS1idHb.js} +3 -3
  72. package/dist/{vue-ui-heatmap-rlqRMQeh.cjs → vue-ui-heatmap-BCau2Z3U.cjs} +1 -1
  73. package/dist/{vue-ui-heatmap-B60uAj5d.js → vue-ui-heatmap-l4vCjb6f.js} +13 -13
  74. package/dist/{vue-ui-history-plot-CmOEQx8n.js → vue-ui-history-plot-B05tJML1.js} +11 -11
  75. package/dist/{vue-ui-history-plot-CC4-ii7H.cjs → vue-ui-history-plot-DL7VjOd0.cjs} +1 -1
  76. package/dist/{vue-ui-kpi-B9SmpjuD.js → vue-ui-kpi-DF4U5E1w.js} +3 -3
  77. package/dist/{vue-ui-kpi-uxIO9tVc.cjs → vue-ui-kpi-DQJr571M.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-Bpp9yfiB.js → vue-ui-mini-loader-BMARnOW4.js} +2 -2
  79. package/dist/{vue-ui-mini-loader-B8n-qGUz.cjs → vue-ui-mini-loader-BZkVKkqn.cjs} +1 -1
  80. package/dist/{vue-ui-molecule-D5DCX4SJ.cjs → vue-ui-molecule-B5XDGmLx.cjs} +1 -1
  81. package/dist/{vue-ui-molecule-9de6y3_R.js → vue-ui-molecule-C1ycekVJ.js} +11 -11
  82. package/dist/{vue-ui-mood-radar-uHW_8xE-.cjs → vue-ui-mood-radar-DyMCJKFb.cjs} +1 -1
  83. package/dist/{vue-ui-mood-radar-D2pdih9T.js → vue-ui-mood-radar-_Kd-Lhpm.js} +11 -11
  84. package/dist/{vue-ui-nested-donuts-BCtAAmdG.cjs → vue-ui-nested-donuts-B4Am-r6T.cjs} +1 -1
  85. package/dist/{vue-ui-nested-donuts-wLxqfAFm.js → vue-ui-nested-donuts-DIwRSn-O.js} +11 -11
  86. package/dist/{vue-ui-onion-Vz2j7gWm.js → vue-ui-onion-Dqb0gwGl.js} +11 -11
  87. package/dist/{vue-ui-onion-CK_xa2M4.cjs → vue-ui-onion-YeBdJrdx.cjs} +1 -1
  88. package/dist/{vue-ui-parallel-coordinate-plot-CZRX2Hss.cjs → vue-ui-parallel-coordinate-plot-CoecETlm.cjs} +1 -1
  89. package/dist/{vue-ui-parallel-coordinate-plot-BQdLDI5B.js → vue-ui-parallel-coordinate-plot-De-tYNNy.js} +12 -12
  90. package/dist/{vue-ui-quadrant-iPPHj_cd.js → vue-ui-quadrant-BQ5maxJq.js} +15 -15
  91. package/dist/{vue-ui-quadrant-CalJqNte.cjs → vue-ui-quadrant-Btzq3qNJ.cjs} +1 -1
  92. package/dist/{vue-ui-quick-chart-CFUOFUU_.cjs → vue-ui-quick-chart-5cWjffLJ.cjs} +1 -1
  93. package/dist/{vue-ui-quick-chart-CV1VBbY1.js → vue-ui-quick-chart-DF_510YT.js} +9 -9
  94. package/dist/{vue-ui-radar-DsialWJl.js → vue-ui-radar-DDHd0AYs.js} +13 -15
  95. package/dist/{vue-ui-radar-B2gn7R-V.cjs → vue-ui-radar-t22bqFiQ.cjs} +1 -1
  96. package/dist/{vue-ui-rating-4gM1AlYy.js → vue-ui-rating-Chi3OOtp.js} +2 -2
  97. package/dist/{vue-ui-rating-B3W6ZWnp.cjs → vue-ui-rating-D9kQcY2a.cjs} +1 -1
  98. package/dist/{vue-ui-relation-circle-D6ZiupHh.js → vue-ui-relation-circle-CV1xQOok.js} +7 -7
  99. package/dist/{vue-ui-relation-circle-YEAFQh-9.cjs → vue-ui-relation-circle-CWgGPxDJ.cjs} +1 -1
  100. package/dist/{vue-ui-rings-B9BPvha3.cjs → vue-ui-rings-CiLJkRwa.cjs} +2 -2
  101. package/dist/{vue-ui-rings-CbIo_ZYH.js → vue-ui-rings-D2ezwyae.js} +13 -14
  102. package/dist/{vue-ui-scatter-BqSstAAz.cjs → vue-ui-scatter-B24gGA8q.cjs} +1 -1
  103. package/dist/{vue-ui-scatter-CQ-Vdmeu.js → vue-ui-scatter-BxbUYPk1.js} +13 -13
  104. package/dist/{vue-ui-screenshot-0RZZXp_S.cjs → vue-ui-screenshot-Bc7Lv1i8.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-BEV-kvIS.js → vue-ui-screenshot-cxDgcXJB.js} +1 -1
  106. package/dist/{vue-ui-skeleton-DOahsJXV.js → vue-ui-skeleton-D6ojufhb.js} +3 -3
  107. package/dist/{vue-ui-skeleton-DkW8eWHI.cjs → vue-ui-skeleton-DvdPnQbR.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-DY8lN1W3.js → vue-ui-smiley-9nGRDSn7.js} +2 -2
  109. package/dist/{vue-ui-smiley-B9xk5OKe.cjs → vue-ui-smiley-DEJ6S-We.cjs} +1 -1
  110. package/dist/{vue-ui-spark-trend-CGoCmXa9.cjs → vue-ui-spark-trend-BosbwgVe.cjs} +1 -1
  111. package/dist/{vue-ui-spark-trend-XDdEKIe6.js → vue-ui-spark-trend-DiNeAGXR.js} +5 -5
  112. package/dist/{vue-ui-sparkbar-QikBTVyy.cjs → vue-ui-sparkbar-DGFKrcg0.cjs} +1 -1
  113. package/dist/{vue-ui-sparkbar-CGpwWIBE.js → vue-ui-sparkbar-DNf_Majv.js} +4 -4
  114. package/dist/{vue-ui-sparkgauge-CeNuuLof.js → vue-ui-sparkgauge-D89HjxSK.js} +4 -4
  115. package/dist/{vue-ui-sparkgauge-ZDhKN9Pz.cjs → vue-ui-sparkgauge-DwK7dzdJ.cjs} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-DLEumotF.js → vue-ui-sparkhistogram-CU1_P6AJ.js} +21 -21
  117. package/dist/vue-ui-sparkhistogram-DKoI6_TT.cjs +1 -0
  118. package/dist/vue-ui-sparkline-Bp7GMRrA.cjs +1 -0
  119. package/dist/{vue-ui-sparkline-b9FXu2wY.js → vue-ui-sparkline-C2McLmh5.js} +136 -140
  120. package/dist/{vue-ui-sparkstackbar-CQFec5Ni.js → vue-ui-sparkstackbar-Cu4aG9PB.js} +8 -6
  121. package/dist/vue-ui-sparkstackbar-Dayxdcr7.cjs +1 -0
  122. package/dist/{vue-ui-stackbar-B50_Zmpe.js → vue-ui-stackbar-6m5CpvNM.js} +13 -13
  123. package/dist/{vue-ui-stackbar-B24Xho-6.cjs → vue-ui-stackbar-C21xTVy9.cjs} +1 -1
  124. package/dist/{vue-ui-strip-plot-DzTWLY9k.cjs → vue-ui-strip-plot-DAo8FMup.cjs} +1 -1
  125. package/dist/{vue-ui-strip-plot-DBEKI4DJ.js → vue-ui-strip-plot-DlZ2Eez4.js} +11 -11
  126. package/dist/{vue-ui-table-DeQeB-f6.cjs → vue-ui-table-BjhcV9qB.cjs} +1 -1
  127. package/dist/{vue-ui-table-CiJBrzOj.js → vue-ui-table-U0_3I0fu.js} +1 -1
  128. package/dist/{vue-ui-table-heatmap-DQMdZaE0.cjs → vue-ui-table-heatmap-Bfqytiv5.cjs} +1 -1
  129. package/dist/{vue-ui-table-heatmap-CjnQNUKw.js → vue-ui-table-heatmap-BrGkCaOG.js} +4 -4
  130. package/dist/{vue-ui-table-sparkline-DqBjtjvu.js → vue-ui-table-sparkline-C1wNBDqO.js} +5 -5
  131. package/dist/{vue-ui-table-sparkline-Bu6vSST9.cjs → vue-ui-table-sparkline-CXlnp8E3.cjs} +1 -1
  132. package/dist/{vue-ui-thermometer-DQr-b2tS.js → vue-ui-thermometer-Bx2abW1B.js} +11 -11
  133. package/dist/vue-ui-thermometer-CBdAwYdC.cjs +1 -0
  134. package/dist/{vue-ui-timer-lsgsV998.js → vue-ui-timer-3UkgrtEj.js} +5 -5
  135. package/dist/{vue-ui-timer-B18HFp7S.cjs → vue-ui-timer-CRDQbqJ_.cjs} +1 -1
  136. package/dist/{vue-ui-tiremarks-D1A57_oK.cjs → vue-ui-tiremarks-C78mfaBr.cjs} +1 -1
  137. package/dist/{vue-ui-tiremarks-C7Dw9KnQ.js → vue-ui-tiremarks-C_xuD4De.js} +7 -7
  138. package/dist/{vue-ui-treemap-qSvP_IHI.js → vue-ui-treemap-BjDSR72h.js} +11 -11
  139. package/dist/{vue-ui-treemap-DurUVYzG.cjs → vue-ui-treemap-CP__1pdb.cjs} +1 -1
  140. package/dist/{vue-ui-vertical-bar-C-liaL8N.cjs → vue-ui-vertical-bar-DTB8r4LH.cjs} +2 -2
  141. package/dist/{vue-ui-vertical-bar-D9eDAZF3.js → vue-ui-vertical-bar-DUhOoSNl.js} +15 -16
  142. package/dist/{vue-ui-waffle-CaGazi4R.cjs → vue-ui-waffle-CrVyCF7k.cjs} +1 -1
  143. package/dist/{vue-ui-waffle-CFzcClhK.js → vue-ui-waffle-Dpox5n5s.js} +13 -13
  144. package/dist/{vue-ui-wheel-CIHLvNK5.cjs → vue-ui-wheel-DV2zgr4d.cjs} +1 -1
  145. package/dist/{vue-ui-wheel-tsJlAaV1.js → vue-ui-wheel-ykD8OULJ.js} +7 -7
  146. package/dist/{vue-ui-word-cloud-BxEfdctG.cjs → vue-ui-word-cloud-DBkAo2uX.cjs} +1 -1
  147. package/dist/{vue-ui-word-cloud-CelTdM-N.js → vue-ui-word-cloud-u5S86-Ft.js} +10 -10
  148. package/dist/{vue-ui-xy-CaEGEO6l.js → vue-ui-xy-0nBQDwL2.js} +15 -16
  149. package/dist/{vue-ui-xy-canvas-DBWb4s2q.js → vue-ui-xy-canvas-DI7LiD4U.js} +11 -11
  150. package/dist/{vue-ui-xy-canvas-CrU_aS7K.cjs → vue-ui-xy-canvas-yQlThVu7.cjs} +1 -1
  151. package/dist/{vue-ui-xy-BMTIOJmU.cjs → vue-ui-xy-mEVVQr_U.cjs} +2 -2
  152. package/package.json +1 -1
  153. package/dist/index-Cww7pocd.cjs +0 -9
  154. package/dist/vue-ui-sparkhistogram-BN2N7qor.cjs +0 -1
  155. package/dist/vue-ui-sparkline-BmaYIS-1.cjs +0 -1
  156. package/dist/vue-ui-sparkstackbar-hxwlugf0.cjs +0 -1
  157. package/dist/vue-ui-thermometer-DCv2Gvg0.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-Cww7pocd.cjs"),S=require("./useNestedProp-BzGIy5aD.cjs"),G=require("./vue-ui-skeleton-DkW8eWHI.cjs"),P=require("./useResponsive-YQYQrAZ_.cjs"),R=require("./PackageVersion-2gojTmrp.cjs"),H=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),U=["id"],X=["xmlns","viewBox"],Z=["width","height"],Y=["id"],J=["stop-color"],K=["stop-color"],Q=["id"],ee=["stop-color"],te=["stop-color"],le=["id"],ae=["stop-color"],oe=["stop-color"],ne={key:1},re=["d","fill"],ue=["d","fill"],se=["d","stroke","stroke-width"],ie=["x1","x2","y1","y2","stroke","stroke-width"],de=["x","y","width","height","fill","rx"],ce=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],ve=["x1","x2","y1","y2","stroke","stroke-dasharray","stroke-width"],he=["cx","cy","r","fill","stroke","stroke-width"],ye=["x","y","font-size","font-weight","fill"],fe=["x","y","height","width","onMouseenter","onClick"],pe={__name:"vue-ui-sparkline",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}},showInfo:{type:Boolean,default:!0},selectedIndex:{type:Number,default:void 0},heightRatio:{type:Number,default:1},forcedPadding:{type:Number,default:30}},emits:["hoverIndex","selectDatapoint"],setup(p,{emit:z}){const{vue_ui_sparkline:A}=r.useConfig(),u=p,k=e.computed(()=>!!u.dataset&&u.dataset.length),v=e.ref(r.createUid()),x=e.ref(null),V=e.ref(null),C=e.ref(null),t=e.computed({get:()=>L(),set:l=>l});function L(){const l=S.useNestedProp({userConfig:u.config,defaultConfig:A});let o={};return l.theme?o={...S.useNestedProp({userConfig:r.themes.vue_ui_sparkline[l.theme]||u.config,defaultConfig:l})}:o=l,u.config&&r.hasDeepProperty(u.config,"style.scaleMin")?o.style.scaleMin=u.config.style.scaleMin:o.style.scaleMin=null,u.config&&r.hasDeepProperty(u.config,"style.scaleMax")?o.style.scaleMax=u.config.style.scaleMax:o.style.scaleMax=null,o}const b=e.computed(()=>r.largestTriangleThreeBucketsArrayObjects({data:u.dataset,threshold:t.value.downsample.threshold}));e.watch(()=>u.config,l=>{t.value=L(),$(),n.value.chartWidth=t.value.style.chartWidth},{deep:!0}),e.watch(()=>u.dataset,l=>{f.value=r.largestTriangleThreeBucketsArrayObjects({data:u.dataset.map(o=>({...o,value:[void 0].includes(o.value)?null:o.value})),threshold:t.value.downsample.threshold})},{deep:!0});const f=e.ref(D());function D(){return r.largestTriangleThreeBucketsArrayObjects({data:u.dataset.map(l=>t.value.style.animation.show?{...l,value:null}:{...l,value:[void 0].includes(l.value)?null:l.value}),threshold:t.value.downsample.threshold})}const E=e.ref(null);e.onMounted(()=>{if($(),t.value.style.animation.show&&u.dataset.length>1){let a=function(){o<b.value.length?(f.value.push(b.value[o]),setTimeout(()=>{requestAnimationFrame(a)},l)):f.value=b.value,o+=1};f.value=[];const l=t.value.style.animation.animationFrames/u.dataset.length;let o=0;a()}});function $(){if(r.objectIsEmpty(u.dataset)?r.error({componentName:"VueUiSparkline",type:"dataset"}):u.dataset.forEach((l,o)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["period","value"]}).forEach(a=>{r.error({componentName:"VueUiSparkline",type:"datasetSerieAttribute",property:a,index:o})})}),t.value.responsive){const l=P.throttle(()=>{const{width:o,height:a}=P.useResponsive({chart:x.value,title:t.value.style.title.show&&u.showInfo?V.value:null,source:C.value});requestAnimationFrame(()=>{n.value.width=o,n.value.height=a,n.value.chartWidth=t.value.style.chartWidth/500*o,n.value.padding=u.forcedPadding/500*o})});E.value=new ResizeObserver(l),E.value.observe(x.value.parentNode)}}const n=e.ref({height:80*u.heightRatio,width:500,chartWidth:t.value.style.chartWidth,padding:u.forcedPadding}),w=z,s=e.computed(()=>{const{top:l,right:o,bottom:a,left:i}=t.value.style.padding;return{top:l,left:i,right:n.value.width-o,bottom:n.value.height-a,start:u.showInfo&&t.value.style.dataLabel.show&&t.value.style.dataLabel.position==="left"?n.value.width-n.value.chartWidth+i:n.value.padding+i,width:u.showInfo&&t.value.style.dataLabel.show?n.value.chartWidth-i-o:n.value.width-n.value.padding-i-o,height:n.value.height-l-a}}),N=e.computed(()=>[null,void 0].includes(t.value.style.scaleMin)?Math.min(...f.value.map(l=>isNaN(l.value)||[void 0,null,"NaN",NaN,1/0,-1/0].includes(l.value)?0:l.value||0)):t.value.style.scaleMin),O=e.computed(()=>[null,void 0].includes(t.value.style.scaleMax)?Math.max(...f.value.map(l=>isNaN(l.value)||[void 0,null,"NaN",NaN,1/0,-1/0].includes(l.value)?0:l.value||0)):t.value.style.scaleMax),m=e.computed(()=>{const l=N.value>=0?0:N.value;return Math.abs(l)}),T=e.computed(()=>O.value+m.value),_=e.computed(()=>s.value.bottom-s.value.height*B(m.value));function B(l){return l/T.value}const h=e.computed(()=>b.value.length-1),d=e.computed(()=>f.value.map((l,o)=>{const a=isNaN(l.value)||[void 0,null,"NaN",NaN,1/0,-1/0].includes(l.value)?0:l.value||0;return{absoluteValue:a,period:l.period,plotValue:a+m.value,toMax:B(a+m.value),x:s.value.start+o*(s.value.width/(h.value+1)>n.padding?n.padding:s.value.width/(h.value+1)),y:s.value.bottom-s.value.height*B(a+m.value),id:`plot_${v.value}_${o}`,color:g.value?t.value.style.bar.color:t.value.style.area.useGradient?r.shiftHue(t.value.style.line.color,.05*(1-o/h.value)):t.value.style.line.color,width:s.value.width/(h.value+1)>n.padding?n.padding:s.value.width/(h.value+1)}})),W=e.computed(()=>{const l={x:d.value[0].x||0,y:(n.value.height||0)-6},o={x:d.value[d.value.length-1].x||0,y:(n.value.height||0)-6},a=[];return d.value.forEach(i=>{a.push(`${i.x||0},${i.y||0} `)}),[l.x,l.y,...a,o.x,o.y].toString()}),c=e.ref(void 0);function F(l,o){c.value=l,w("hoverIndex",{index:o})}function j(){c.value=void 0,w("hoverIndex",{index:void 0})}const y=e.computed(()=>{if(k.value){const l=d.value.map(a=>a.absoluteValue),o=l.reduce((a,i)=>a+i,0);return{latest:d.value[d.value.length-1].absoluteValue,sum:o,average:o/d.value.length,median:r.calcMedian(l),trend:r.calcLinearProgression(d.value.map(({x:a,y:i,absoluteValue:I})=>({x:a,y:i,value:I}))).trend}}else return{latest:null,sum:null,average:null,median:null,trend:null}}),M=e.computed(()=>k.value?t.value.style.dataLabel.valueType==="latest"?y.value.latest:t.value.style.dataLabel.valueType==="sum"?y.value.sum:t.value.style.dataLabel.valueType==="average"?y.value.average:0:0),g=e.computed(()=>t.value.type&&t.value.type==="bar");function q(l,o){w("selectDatapoint",{datapoint:l,index:o})}return(l,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"sparklineChart",ref:x,class:"vue-ui-sparkline",id:v.value,style:e.normalizeStyle(`width:100%;font-family:${t.value.style.fontFamily};`)},[e.renderSlot(l.$slots,"before",e.normalizeProps(e.guardReactiveProps({selected:c.value,latest:y.value.latest,sum:y.value.sum,average:y.value.average,median:y.value.median,trend:y.value.trend})),void 0,!0),t.value.style.title.show&&p.showInfo?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:V,class:"vue-ui-sparkline-title",style:e.normalizeStyle(`display:flex;align-items:center;width:100%;color:${t.value.style.title.color};background:${t.value.style.backgroundColor};justify-content:${t.value.style.title.textAlign==="left"?"flex-start":t.value.style.title.textAlign==="right"?"flex-end":"center"};height:${t.value.style.title.fontSize*2}px;font-size:${t.value.style.title.fontSize}px;font-weight:${t.value.style.title.bold?"bold":"normal"};`)},[e.createElementVNode("span",{style:e.normalizeStyle(`padding:${t.value.style.title.textAlign==="left"?"0 0 0 12px":t.value.style.title.textAlign==="right"?"0 12px 0 0":"0"}`)},e.toDisplayString(c.value?c.value.period:t.value.style.title.text),5)],4)):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(r.XMLNS),viewBox:`0 0 ${n.value.width} ${n.value.height}`,style:e.normalizeStyle(`background:${t.value.style.backgroundColor};overflow:visible`)},[e.createVNode(R._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,Z)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{x1:"0%",y1:"0%",x2:"100%",y2:"0%",id:`sparkline_gradient_${v.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(e.unref(r.shiftHue)(t.value.style.area.color,.05),t.value.style.area.opacity)},null,8,J),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(t.value.style.area.color,t.value.style.area.opacity)},null,8,K)],8,Y),e.createElementVNode("linearGradient",{x2:"0%",y2:"100%",id:`sparkline_bar_gradient_pos_${v.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.bar.color},null,8,ee),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.shiftHue)(t.value.style.bar.color,.05)},null,8,te)],8,Q),e.createElementVNode("linearGradient",{x2:"0%",y2:"100%",id:`sparkline_bar_gradient_neg_${v.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.shiftHue)(t.value.style.bar.color,.05)},null,8,ae),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.bar.color},null,8,oe)],8,le)]),t.value.style.area.show&&!g.value&&d.value[0]?(e.openBlock(),e.createElementBlock("g",ne,[t.value.style.line.smooth?(e.openBlock(),e.createElementBlock("path",{key:0,d:`M ${d.value[0].x},${s.value.bottom} ${e.unref(r.createSmoothPath)(d.value)} L ${d.value.at(-1).x},${s.value.bottom} Z`,fill:t.value.style.area.useGradient?`url(#sparkline_gradient_${v.value})`:e.unref(r.setOpacity)(t.value.style.area.color,t.value.style.area.opacity)},null,8,re)):(e.openBlock(),e.createElementBlock("path",{key:1,d:`M${W.value}Z`,fill:t.value.style.area.useGradient?`url(#sparkline_gradient_${v.value})`:e.unref(r.setOpacity)(t.value.style.area.color,t.value.style.area.opacity)},null,8,ue))])):e.createCommentVNode("",!0),t.value.style.line.smooth&&!g.value?(e.openBlock(),e.createElementBlock("path",{key:2,d:`M ${e.unref(r.createSmoothPath)(d.value)}`,stroke:t.value.style.line.color,fill:"none","stroke-width":t.value.style.line.strokeWidth,"stroke-linecap":"round"},null,8,se)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(a,i)=>(e.openBlock(),e.createElementBlock("g",null,[i<d.value.length-1&&!t.value.style.line.smooth&&!g.value?(e.openBlock(),e.createElementBlock("line",{key:0,x1:a.x,x2:d.value[i+1].x,y1:a.y||0,y2:d.value[i+1].y||0,stroke:a.color,"stroke-width":t.value.style.line.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round","shape-rendering":"geometricPrecision"},null,8,ie)):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock("rect",{key:1,x:a.x-a.width/2,y:a.absoluteValue>0?a.y:_.value,width:a.width,height:Math.abs(a.y-_.value),fill:a.absoluteValue>0?`url(#sparkline_bar_gradient_pos_${v.value})`:`url(#sparkline_bar_gradient_neg_${v.value})`,rx:t.value.style.bar.borderRadius},null,8,de)):e.createCommentVNode("",!0),t.value.style.verticalIndicator.show&&(c.value&&a.id===c.value.id||p.selectedIndex===i)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:a.x,x2:a.x,y1:s.value.top-6,y2:s.value.bottom,stroke:t.value.style.verticalIndicator.color||a.color,"stroke-width":t.value.style.verticalIndicator.strokeWidth,"stroke-linecap":"round","stroke-dasharray":t.value.style.verticalIndicator.strokeDasharray||0},null,8,ce)):e.createCommentVNode("",!0)]))),256)),N.value<0?(e.openBlock(),e.createElementBlock("line",{key:3,x1:s.value.start,x2:s.value.start+s.value.width-16,y1:e.unref(r.forceValidValue)(_.value,s.value.bottom),y2:e.unref(r.forceValidValue)(_.value,s.value.bottom),stroke:t.value.style.zeroLine.color,"stroke-dasharray":t.value.style.zeroLine.strokeWidth*2,"stroke-width":t.value.style.zeroLine.strokeWidth,"stroke-linecap":"round"},null,8,ve)):e.createCommentVNode("",!0),t.value.style.plot.show?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:4},e.renderList(d.value,(a,i)=>(e.openBlock(),e.createElementBlock("g",null,[c.value&&a.id===c.value.id||p.selectedIndex===i?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:a.x,cy:a.y,r:t.value.style.plot.radius,fill:a.color,stroke:t.value.style.plot.stroke,"stroke-width":t.value.style.plot.strokeWidth},null,8,he)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),p.showInfo&&t.value.style.dataLabel.show?(e.openBlock(),e.createElementBlock("text",{key:5,x:t.value.style.dataLabel.position==="left"?12+t.value.style.dataLabel.offsetX:s.value.width+12+t.value.style.dataLabel.offsetX,y:n.value.height/2+t.value.style.dataLabel.fontSize/2.5+t.value.style.dataLabel.offsetY,"font-size":t.value.style.dataLabel.fontSize,"font-weight":t.value.style.dataLabel.bold?"bold":"normal",fill:t.value.style.dataLabel.color},e.toDisplayString(c.value?e.unref(r.applyDataLabel)(t.value.style.dataLabel.formatter,c.value.absoluteValue,e.unref(r.dataLabel)({p:t.value.style.dataLabel.prefix,v:c.value.absoluteValue,s:t.value.style.dataLabel.suffix,r:t.value.style.dataLabel.roundingValue}),{datapoint:c.value}):e.unref(r.applyDataLabel)(t.value.style.dataLabel.formatter,M.value,e.unref(r.dataLabel)({p:t.value.style.dataLabel.prefix,v:M.value,s:t.value.style.dataLabel.suffix,r:t.value.style.dataLabel.roundingValue}))),9,ye)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(a,i)=>(e.openBlock(),e.createElementBlock("rect",{x:a.x-(s.value.width/(h.value+1)>n.value.padding?n.value.padding:s.value.width/(h.value+1))/2,y:s.value.top-6,height:s.value.height+6,width:s.value.width/(h.value+1)>n.value.padding?n.value.padding:s.value.width/(h.value+1),fill:"transparent",onMouseenter:I=>F(a,i),onMouseleave:j,onClick:()=>q(a,i)},null,40,fe))),256)),e.renderSlot(l.$slots,"svg",{svg:n.value},void 0,!0)],12,X)):e.createCommentVNode("",!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"source",ref:C,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(G.default,{key:3,config:{type:"sparkline",style:{backgroundColor:t.value.style.backgroundColor,sparkline:{color:"#CCCCCC"}}}},null,8,["config"]))],12,U))}},me=H._export_sfc(pe,[["__scopeId","data-v-db8c64e5"]]);exports.default=me;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-Cww7pocd.cjs"),V=require("./useNestedProp-BzGIy5aD.cjs"),O=require("./vue-ui-skeleton-DkW8eWHI.cjs"),U=require("./PackageVersion-2gojTmrp.cjs"),M=require("./Tooltip-C7eukp_Y.cjs"),j=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),H=["xmlns","viewBox"],I=["id"],R=["stop-color"],W=["stop-color"],Y=["stop-color"],G={id:"stackPill",clipPathUnits:"objectBoundingBox"},X=["fill"],J={key:0,"clip-path":"url(#stackPill)"},K=["x","width","height","fill"],Q=["x","width","height","fill","stroke"],Z=["onClick","x","width","height","onMouseenter"],ee=["width","height","rx"],te=["onClick"],le={style:{display:"flex","flex-direction":"row","align-items":"center",gap:"4px","justify-content":"center"}},oe=["height","width"],ae=["fill"],re={key:4,ref:"source",dir:"auto"},ne={__name:"vue-ui-sparkstackbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(P,{emit:D}){const{vue_ui_sparkstackbar:L}=a.useConfig(),u=P,F=e.useSlots();e.onMounted(()=>{F["chart-background"]&&console.warn("VueUiSparkStackbar does not support the #chart-background slot.")});const x=e.computed(()=>!!u.dataset&&u.dataset.length),B=e.ref(null),S=e.ref(a.createUid()),b=e.ref(!1),_=e.ref(""),t=e.computed({get:()=>$(),set:l=>l});function $(){const l=V.useNestedProp({userConfig:u.config,defaultConfig:L});return l.theme?{...V.useNestedProp({userConfig:a.themes.vue_ui_sparkstackbar[l.theme]||u.config,defaultConfig:l}),customPalette:a.themePalettes[l.theme]||a.palette}:l}e.watch(()=>u.config,l=>{t.value=$(),E()},{deep:!0}),e.watch(()=>u.dataset,l=>{v.value=u.dataset.map((n,o)=>({...n,color:n.color?a.convertColorToHex(n.color):f.value[o]||a.palette[o]||a.palette[o%a.palette.length]}))},{deep:!0});const f=e.computed(()=>a.convertCustomPalette(t.value.customPalette)),v=e.ref(u.dataset.map((l,n)=>({...l,value:t.value.style.animation.show?0:l.value||0,color:l.color?a.convertColorToHex(l.color):f.value[n]||a.palette[n]||a.palette[n%a.palette.length]}))),g=e.ref(!0);e.onMounted(()=>{if(E(),t.value.style.animation.show){let p=function(){r+=o/l,r<o?(v.value=v.value.map((s,i)=>({...s,value:s.value+=n[i],color:s.color?a.convertColorToHex(s.color):f.value[i]||a.palette[i]||a.palette[i%a.palette.length]})),requestAnimationFrame(p)):(g.value=!1,v.value=u.dataset.map((s,i)=>({...s,value:s.value||0,color:s.color?a.convertColorToHex(s.color):f.value[i]||a.palette[i]||a.palette[i%a.palette.length],id:a.createUid()})))};const l=t.value.style.animation.animationFrames,n=u.dataset.map((s,i)=>s.value/l),o=u.dataset.map(s=>s.value||0).reduce((s,i)=>s+i,0);let r=0;g.value=!0,p()}});function E(){a.objectIsEmpty(u.dataset)?a.error({componentName:"VueUiSparkStackbar",type:"dataset"}):u.dataset.forEach((l,n)=>{a.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","value"]}).forEach(o=>{a.error({componentName:"VueUiSparkStackbar",type:"datasetSerieAttribute",property:o,index:n})})})}const c=e.ref({width:500,height:16}),d=e.ref([]),N=e.computed(()=>u.dataset.map(l=>l.value||0).filter((l,n)=>!d.value.includes(n)).reduce((l,n)=>l+n,0)),y=e.computed(()=>v.value.map((l,n)=>{const o=l.value||0,r=o/N.value,p=isNaN(r)?0:r,s=p*c.value.width;return{...l,value:o,proportion:p,width:s,proportionLabel:a.dataLabel({v:p*100,s:"%",r:t.value.style.legend.percentage.rounding})}})),C=e.computed(()=>y.value.filter((l,n)=>!d.value.includes(n)));function T(l){d.value.includes(l)?d.value=d.value.filter(n=>n!==l):d.value.length<v.value.length-1&&d.value.push(l)}const h=e.computed(()=>{let l=0;const n=[];for(let o=0;o<C.value.length;o+=1)n.push({...C.value[o],start:l}),l+=C.value[o].width;return n}),A=D;function z(l,n){A("selectDatapoint",{datapoint:l,index:n})}const w=e.ref(null),k=e.ref(!1),m=e.ref(null);function q({datapoint:l,seriesIndex:n}){if(!t.value.style.tooltip.show)return;w.value={datapoint:l,seriesIndex:n,config:t.value,series:y.value},b.value=!0,m.value=n;const o=t.value.style.tooltip.customFormat;if(a.isFunction(o))try{const r=o({seriesIndex:n,datapoint:l,series:y.value,config:t.value});typeof r=="string"&&(_.value=r,k.value=!0)}catch{console.warn("Custom format cannot be applied."),k.value=!1}if(!k.value){let r="";r+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`,r+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`,r+=`<b>${l.proportionLabel}</b>`,r+=`<span>(${a.applyDataLabel(t.value.style.legend.value.formatter,l.value,a.dataLabel({p:t.value.style.legend.value.prefix,v:l.value,s:t.value.style.legend.value.suffix,r:t.value.style.legend.value.rounding}),{datapoint:l,seriesIndex:n})})</span>`,_.value=`<div>${r}</div>`}}return(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-spark-stackbar",ref_key:"sparkstackbarChart",ref:B,style:e.normalizeStyle(`width:100%; background:${t.value.style.backgroundColor}`)},[t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${t.value.style.title.margin};padding: 0 6px;text-align:${t.value.style.title.textAlign}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`font-size:${t.value.style.title.fontSize}px;color:${t.value.style.title.color};font-weight:${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,style:e.normalizeStyle(`font-size:${t.value.style.title.subtitle.fontSize}px;color:${t.value.style.title.subtitle.color};font-weight:${t.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(t.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(a.XMLNS),width:"100%",viewBox:`0 0 ${c.value.width} ${c.value.height}`},[e.createVNode(U._sfc_main),e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,r)=>(e.openBlock(),e.createElementBlock("linearGradient",{key:`stack_gradient_${r}`,gradientTransform:"rotate(90)",id:`stack_gradient_${r}_${S.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":o.color},null,8,R),e.createElementVNode("stop",{offset:"50%","stop-color":e.unref(a.setOpacity)(e.unref(a.shiftHue)(o.color,.05),100-t.value.style.bar.gradient.intensity)},null,8,W),e.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,Y)],8,I))),128)),e.createElementVNode("clipPath",G,[e.createElementVNode("rect",{x:"0.005",y:"-2",width:"0.99",height:"5",rx:"3",ry:"3",fill:t.value.style.backgroundColor},null,8,X)])]),N.value>0?(e.openBlock(),e.createElementBlock("g",J,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,r)=>(e.openBlock(),e.createElementBlock("rect",{key:`stack_underlayer_${r}`,x:o.start,y:0,width:o.width,height:c.value.height,fill:t.value.style.bar.gradient.underlayerColor,class:e.normalizeClass({animated:!g.value}),style:e.normalizeStyle({opacity:m.value!==null&&t.value.style.tooltip.show?m.value===r?1:.5:1})},null,14,K))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,r)=>(e.openBlock(),e.createElementBlock("rect",{key:`stack_${r}`,x:o.start,y:0,width:o.width,height:c.value.height,fill:t.value.style.bar.gradient.show?`url(#stack_gradient_${r}_${S.value})`:o.color,stroke:t.value.style.backgroundColor,"stroke-linecap":"round",class:e.normalizeClass({animated:!g.value}),style:e.normalizeStyle({opacity:m.value!==null&&t.value.style.tooltip.show?m.value===r?1:.5:1})},null,14,Q))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,r)=>(e.openBlock(),e.createElementBlock("rect",{key:`stack_trap_${r}`,onClick:()=>z(o,r),x:o.start,y:0,width:o.width,height:c.value.height,fill:"transparent",stroke:"none",class:e.normalizeClass({animated:!g.value}),onMouseenter:()=>q({datapoint:o,seriesIndex:r}),onMouseleave:n[0]||(n[0]=p=>{b.value=!1,m.value=null})},null,42,Z))),128))])):(e.openBlock(),e.createElementBlock("rect",{key:1,x:2,y:1,width:c.value.width-4,height:c.value.height-2,stroke:"#CCCCCC","stroke-width":"2",fill:"transparent",rx:(c.value.height-4)/2},null,8,ee))],8,H)):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(O.default,{key:2,config:{type:"sparkStackbar",style:{backgroundColor:t.value.style.backgroundColor,sparkStackbar:{color:"#CCCCCC"}}}},null,8,["config"])),t.value.style.legend.show?(e.openBlock(),e.createElementBlock("div",{key:3,style:e.normalizeStyle(`background:transparent;margin:0 auto;margin:${t.value.style.legend.margin};justify-content:${t.value.style.legend.textAlign==="left"?"flex-start":t.value.style.legend.textAlign==="right"?"flex-end":"center"}`),class:"vue-ui-sparkstackbar-legend"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(o,r)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`font-size:${t.value.style.legend.fontSize}px;`),class:e.normalizeClass({"vue-ui-sparkstackbar-legend-item":!0,"vue-ui-sparkstackbar-legend-item-unselected":d.value.includes(r)}),onClick:p=>{T(r),z(o,r)}},[e.createElementVNode("div",le,[(e.openBlock(),e.createElementBlock("svg",{height:`${t.value.style.legend.fontSize}px`,width:`${t.value.style.legend.fontSize}px`,viewBox:"0 0 10 10"},[e.createElementVNode("circle",{cx:5,cy:5,r:5,fill:o.color},null,8,ae)],8,oe)),e.createElementVNode("span",{style:e.normalizeStyle(`color:${t.value.style.legend.name.color}; font-weight:${t.value.style.legend.name.bold?"bold":"normal"}`)},e.toDisplayString(o.name),5),t.value.style.legend.percentage.show?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(`font-weight:${t.value.style.legend.percentage.bold?"bold":"normal"};color:${t.value.style.legend.percentage.color}`)},e.toDisplayString(d.value.includes(r)?" - ":o.proportionLabel),5)):e.createCommentVNode("",!0),t.value.style.legend.value.show?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle(`font-weight:${t.value.style.legend.value.bold?"bold":"normal"};color:${t.value.style.legend.value.color}`)}," ("+e.toDisplayString(e.unref(a.applyDataLabel)(t.value.style.legend.value.formatter,o.value,e.unref(a.dataLabel)({p:t.value.style.legend.value.prefix,v:o.value,s:t.value.style.legend.value.suffix,r:t.value.style.legend.value.rounding}),{datapoint:o,seriesIndex:r}))+") ",5)):e.createCommentVNode("",!0)])],14,te))),256))],4)):e.createCommentVNode("",!0),e.createVNode(M._sfc_main,{show:b.value&&t.value.style.tooltip.show,parent:B.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,fontSize:t.value.style.tooltip.fontSize,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,content:_.value,isCustom:k.value,offsetY:-124+t.value.style.tooltip.offsetY,blockShiftY:!0},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...w.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...w.value})),void 0,!0)]),_:3},8,["show","parent","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","content","isCustom","offsetY"]),l.$slots.source?(e.openBlock(),e.createElementBlock("div",re,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],4))}},se=j._export_sfc(ne,[["__scopeId","data-v-c37627ff"]]);exports.default=se;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-Cww7pocd.cjs"),te=require("./Title-vXH_7MPz.cjs"),U=require("./usePrinter-DY6H-UkT.cjs"),oe=require("./vue-ui-skeleton-DkW8eWHI.cjs"),Y=require("./useNestedProp-BzGIy5aD.cjs"),le=require("./PackageVersion-2gojTmrp.cjs"),re=require("./PenAndPaper-Bwxr_PKm.cjs"),ae=require("./useUserOptionState-BgepsfED.cjs"),se=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ne=["id"],ue={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},ie={key:2,style:"width:100%"},ce=["xmlns","viewBox"],de=["width","height"],he={id:"vueUiPill",clipPathUnits:"objectBoundingBox"},ve=["fill"],me=["id"],pe=["stop-color"],ye=["stop-color"],fe=["stop-color"],ge={"clip-path":"url(#vueUiPill)"},ke=["x","y","height","width"],be=["x","y","height","width","fill"],xe=["x1","x2","y1","y2","stroke-width","stroke"],Ce=["x1","x2","y1","y2","stroke-width","stroke"],we=["x1","x2","y1","y2","stroke-width","stroke"],_e=["x1","x2","y1","y2","stroke-width","stroke"],Ne=["x1","x2","y1","y2","stroke-width","stroke"],Be=["x1","x2","y1","y2","stroke-width","stroke"],Ve=["x1","x2","y1","y2","stroke-width","stroke"],Ee=["x1","x2","y1","y2","stroke-width","stroke"],Pe=["x","y","height","width"],$e=["y","x","fill","font-size","font-weight"],Fe={key:5,class:"vue-data-ui-watermark"},Oe={key:6,ref:"source",dir:"auto"},Se={__name:"vue-ui-thermometer",props:{dataset:{type:Object,default(){return{}}},config:{type:Object,default(){return{}}}},setup(m,{expose:z}){e.useCssVars(l=>({"0c45683a":R.value,"2e6db90b":D.value,"399c14b8":j.value}));const{vue_ui_thermometer:L}=a.useConfig(),s=m,g=e.computed(()=>!!s.dataset&&Object.keys(s.dataset).length);e.onMounted(()=>{V()});function V(){a.objectIsEmpty(s.dataset)?a.error({componentName:"VueUiThermometer",type:"dataset"}):a.getMissingDatasetAttributes({datasetObject:s.dataset,requiredAttributes:["value","from","to"]}).forEach(l=>{a.error({componentName:"VueUiThermometer",type:"datasetAttribute",property:l})})}const d=e.ref(a.createUid()),k=e.ref(null),E=e.ref(0),P=e.ref(0),t=e.computed({get:()=>O(),set:l=>l}),{userOptionsVisible:b,setUserOptionsVisibility:$,keepUserOptionState:F}=ae.useUserOptionState({config:t.value});function O(){const l=Y.useNestedProp({userConfig:s.config,defaultConfig:L});return l.theme?{...Y.useNestedProp({userConfig:a.themes.vue_ui_thermometer[l.theme]||s.config,defaultConfig:l}),customPalette:a.themePalettes[l.theme]||a.palette}:l}e.watch(()=>s.config,l=>{t.value=O(),b.value=!t.value.userOptions.showOnChartHover,V(),P.value+=1},{deep:!0});const{isPrinting:S,isImaging:I,generatePdf:q,generateImage:A}=U.usePrinter({elementId:`thermometer__${d.value}`,fileName:t.value.style.title.text||"vue-ui-thermometer"}),G=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),p=e.computed(()=>a.convertCustomPalette(t.value.customPalette)),H=e.computed(()=>t.value.style.chart.thermometer.width),c=e.computed(()=>s.dataset.steps||10),i=e.ref({top:t.value.style.chart.padding.top,left:t.value.style.chart.padding.left,right:t.value.style.chart.padding.right,bottom:t.value.style.chart.padding.bottom});function y(l,n,o){const u=[],N=T(l),B=T(n);for(let v=0;v<o;v++){const K=x(N.red,B.red,v,o),Q=x(N.green,B.green,v,o),Z=x(N.blue,B.blue,v,o),ee=`#${C(K)}${C(Q)}${C(Z)}`;u.push(ee)}return u}function T(l){const n=l.slice(1);return{red:parseInt(n.slice(0,2),16),green:parseInt(n.slice(2,4),16),blue:parseInt(n.slice(4,6),16)}}function x(l,n,o,u){return Math.round(l+(n-l)*o/u)}function C(l){return l.toString(16).padStart(2,"0")}const r=e.computed(()=>{const l=H.value+i.value.left+i.value.right,n=t.value.style.chart.height;return{width:l,left:i.value.left,right:l-i.value.right,top:i.value.top,bottom:n-i.value.bottom,height:n}}),W=e.computed(()=>r.value),w=e.computed(()=>{const l=a.checkNaN(s.dataset.from)<0?Math.abs(a.checkNaN(s.dataset.from)):a.checkNaN(s.dataset.from),n=a.checkNaN(s.dataset.to)<0?Math.abs(a.checkNaN(s.dataset.to)):a.checkNaN(s.dataset.to);let o=0;return a.checkNaN(s.dataset.to)>0?o=l+n:l>n?o=l-n:o=n-l,(1-(Math.abs(a.checkNaN(s.dataset.from))+a.checkNaN(s.dataset.value))/o)*(r.value.height-i.value.top-i.value.bottom)}),j=e.computed(()=>`${w.value}px`),D=e.computed(()=>`${r.value.height-t.value.style.chart.padding.bottom-i.value.top}px`),R=e.computed(()=>`${t.value.style.chart.animation.speedMs}ms`),X=e.computed(()=>{if(s.dataset.colors){if(!s.dataset.colors.from)return y(p.value[0]||a.palette[0],a.convertColorToHex(s.dataset.colors.to),c.value||10);if(!s.dataset.colors.to)return y(a.convertColorToHex(s.dataset.colors.from),p.value[1]||a.palette[1],c.value||10)}else return y(p.value[1]||a.palette[1],p.value[0]||a.palette[0],c.value||10);return y(a.convertColorToHex(s.dataset.colors.from),a.convertColorToHex(s.dataset.colors.to),c.value||10)}),M=e.computed(()=>{const l=[];let n=0;const o=r.value.height-i.value.top-i.value.bottom;for(let u=0;u<o-1;u+=o/c.value)l.push({x:r.value.left,y:r.value.top+u,qYLess:r.value.top+u+o/c.value/4,halfY:r.value.top+u+o/c.value/2,qYMore:r.value.top+u+o/c.value/4*3,color:X.value[n],height:o/c.value}),n+=1;return l}),h=e.ref(!1);function J(l){h.value=l,E.value+=1}const f=e.ref(!1);function _(){f.value=!f.value}return z({generatePdf:q,generateImage:A,toggleAnnotator:_}),(l,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"thermoChart",ref:k,class:e.normalizeClass(`vue-ui-thermometer ${h.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`width:100%;background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color};font-family:${t.value.style.fontFamily}`),id:`thermometer__${d.value}`,onMouseenter:n[0]||(n[0]=()=>e.unref($)(!0)),onMouseleave:n[1]||(n[1]=()=>e.unref($)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(re.PenAndPaper,{key:0,parent:k.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:f.value,onClose:_},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),G.value?(e.openBlock(),e.createElementBlock("div",ue,null,512)):e.createCommentVNode("",!0),t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",ie,[(e.openBlock(),e.createBlock(te._sfc_main,{key:`title_${P.value}`,config:{title:{cy:"thermometer-div-title",...t.value.style.title},subtitle:{cy:"thermometer-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&g.value&&(e.unref(F)||e.unref(b))?(e.openBlock(),e.createBlock(U.UserOptions,{ref:"details",key:`user_options_${E.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isImaging:e.unref(I),isPrinting:e.unref(S),uid:d.value,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:h.value,titles:{...t.value.userOptions.buttonTitles},chartElement:k.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:f.value,onToggleFullscreen:J,onGeneratePdf:e.unref(q),onGenerateImage:e.unref(A),onToggleAnnotator:_,style:e.normalizeStyle({visibility:e.unref(F)?e.unref(b)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:u})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:u})),void 0,!0)]),key:"2"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:u})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:u})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(a.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":h.value,"vue-data-ui-fulscreen--off":!h.value}),width:"100%",viewBox:`0 0 ${r.value.width} ${r.value.height}`,style:"background:transparent"},[e.createVNode(le._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:r.value.width,height:r.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,de)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",he,[e.createElementVNode("rect",{x:"0",y:"0",width:"1",height:"1",rx:"0.5",ry:"0.07",fill:t.value.style.chart.backgroundColor},null,8,ve)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,(o,u)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`vueUiThermometerGradient_${u}_${d.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":o.color},null,8,pe),e.createElementVNode("stop",{offset:"50%","stop-color":e.unref(a.setOpacity)(o.color,100-t.value.style.chart.graduations.gradient.intensity)},null,8,ye),e.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,fe)],8,me))),256))]),e.createElementVNode("g",ge,[e.createElementVNode("rect",{x:r.value.left,y:r.value.top,height:r.value.height-i.value.top-i.value.bottom,width:r.value.width-i.value.left-i.value.right,fill:"#FFFFFF"},null,8,ke),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,(o,u)=>(e.openBlock(),e.createElementBlock("g",{key:`graduation_${u}`},[e.createElementVNode("rect",{x:o.x,y:o.y,height:o.height,width:r.value.width-t.value.style.chart.padding.left-t.value.style.chart.padding.right,fill:t.value.style.chart.graduations.gradient.show?`url(#vueUiThermometerGradient_${u}_${d.value})`:o.color,"shape-rendering":"crispEdges"},null,8,be),t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x+10,y1:o.y,y2:o.y,"stroke-width":t.value.style.chart.graduations.strokeWidth,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,xe)):e.createCommentVNode("",!0),t.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x+5,y1:o.halfY,y2:o.halfY,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,Ce)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:o.x,x2:o.x+2.5,y1:o.qYLess,y2:o.qYLess,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,we)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","left"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:o.x,x2:o.x+2.5,y1:o.qYMore,y2:o.qYMore,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,_e)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:r.value.right,x2:r.value.right-10,y1:o.y,y2:o.y,"stroke-width":t.value.style.chart.graduations.strokeWidth,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,Ne)):e.createCommentVNode("",!0),t.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:r.value.right,x2:r.value.right-5,y1:o.halfY,y2:o.halfY,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,Be)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:r.value.right,x2:r.value.right-2.5,y1:o.qYLess,y2:o.qYLess,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,Ve)):e.createCommentVNode("",!0),t.value.style.chart.graduations.show&&["both","right"].includes(t.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:r.value.right,x2:r.value.right-2.5,y1:o.qYMore,y2:o.qYMore,"stroke-width":t.value.style.chart.graduations.strokeWidth/2,stroke:t.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,Ee)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]))),128)),e.createElementVNode("rect",{class:e.normalizeClass({"vue-ui-thermometer-temperature":t.value.style.chart.animation.use}),x:r.value.left,y:r.value.top,height:w.value,width:r.value.width-t.value.style.chart.padding.left-t.value.style.chart.padding.right,fill:"#FFFFFF66"},null,10,Pe)]),e.createElementVNode("text",{class:e.normalizeClass({"vue-ui-thermometer-temperature-value":t.value.style.chart.animation.use}),y:w.value+r.value.top+t.value.style.chart.label.fontSize/3,x:r.value.left-10,"text-anchor":"end",fill:t.value.style.chart.label.color,"font-size":t.value.style.chart.label.fontSize,"font-weight":t.value.style.chart.label.bold?"bold":"normal"},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.style.chart.label.formatter,m.dataset.value,e.unref(a.dataLabel)({p:t.value.style.chart.label.prefix,v:m.dataset.value,s:t.value.style.chart.label.suffix,r:t.value.style.chart.label.rounding}),{datapoint:m.dataset})),11,$e),e.renderSlot(l.$slots,"svg",{svg:W.value},void 0,!0)],10,ce)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Fe,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(S)||e.unref(I)})),void 0,!0)])):e.createCommentVNode("",!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",Oe,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),g.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(oe.default,{key:7,config:{type:"thermometer",style:{backgroundColor:t.value.style.chart.backgroundColor,thermometer:{color:"#CCCCCC"}}}},null,8,["config"]))],46,ne))}},Ie=se._export_sfc(Se,[["__scopeId","data-v-3a4d7c10"]]);exports.default=Ie;