vue-data-ui 3.28.6 → 3.28.8
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.
- package/dist/BaseDraggableDialog-BK7dj9O6.js +1 -0
- package/dist/BaseIcon-CoY0vuL3.js +1 -0
- package/dist/{BaseLegendToggle-aT9fOoGO.js → BaseLegendToggle-BIzyyI1h.js} +1 -1
- package/dist/{BaseZoomControls-1OdFWrHW.js → BaseZoomControls-JSk9zW3D.js} +1 -1
- package/dist/ColorPicker-CwYfNvwH.js +1 -0
- package/dist/{DataTable-5Ug6gMAX.js → DataTable-Dof6yhO7.js} +1 -1
- package/dist/{HillActions-C8am4I5c.js → HillActions-BMH9pSmQ.js} +1 -1
- package/dist/{NonSvgPenAndPaper-CawVDtNj.js → NonSvgPenAndPaper-DXdAh1Sz.js} +1 -1
- package/dist/{PackageVersion-u-p5bCcj.js → PackageVersion-Bczw6rsP.js} +1 -1
- package/dist/PenAndPaper-DoNTA-SV.js +1 -0
- package/dist/SlicerPreview-ChKbdZSU.js +1 -0
- package/dist/UserOptions-DW84OKKr.js +1 -0
- package/dist/XyAnalysisOptions-U4UJx51x.js +1 -0
- package/dist/annotationSlots-OLiW25XN.js +1 -0
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-graph.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/package-CNWVs68D.js +1 -0
- package/dist/{render-common-CTaC-_Nw.js → render-common-DY4sNXDz.js} +1 -1
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +96 -0
- package/dist/types/vue-ui-xy.d.ts +4 -0
- package/dist/useConfig-By3Vb5kz.js +1 -0
- package/dist/{useObjectBindings-BCi3Az41.js → useObjectBindings-0vvvimYP.js} +1 -1
- package/dist/usePanZoom-CE6Ofyy8.js +1 -0
- package/dist/utils.js +1 -1
- package/dist/vue-data-ui-BWqplouA.js +1 -0
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DmRrbXjK.js +19 -0
- package/dist/{vue-ui-accordion-D4FHxzsL.js → vue-ui-accordion-DFxSW8ET.js} +1 -1
- package/dist/vue-ui-age-pyramid-CJJIp5gY.js +1 -0
- package/dist/{vue-ui-annotator-DuAQovkf.js → vue-ui-annotator-BnR2XnsL.js} +1 -1
- package/dist/vue-ui-bullet-Br7H7FSM.js +34 -0
- package/dist/vue-ui-bump-DCDHNvWE.js +8 -0
- package/dist/vue-ui-candlestick-C_swW8gM.js +22 -0
- package/dist/{vue-ui-carousel-table-CDgmtbuI.js → vue-ui-carousel-table-BP_yVdDm.js} +1 -1
- package/dist/vue-ui-chestnut-CIGNqBsT.js +1 -0
- package/dist/vue-ui-chord-DZRFBkRJ.js +21 -0
- package/dist/vue-ui-circle-pack-CtdPeMsY.js +13 -0
- package/dist/{vue-ui-cursor-9khzj4l-.js → vue-ui-cursor-DRQc_V2R.js} +1 -1
- package/dist/vue-ui-dag-Cj0CcntI.js +9 -0
- package/dist/vue-ui-dashboard-HyzHqAtX.js +1 -0
- package/dist/{vue-ui-digits-DdrPl8eP.js → vue-ui-digits-CfdB0vaP.js} +1 -1
- package/dist/vue-ui-donut-Cv-bYyBN.js +47 -0
- package/dist/{vue-ui-donut-BbJFmKZh.js → vue-ui-donut-Dy4j7B9b.js} +1 -1
- package/dist/vue-ui-donut-evolution-DL112anx.js +2 -0
- package/dist/vue-ui-dumbbell-owG24VsQ.js +9 -0
- package/dist/vue-ui-flow-BMNIydqI.js +3 -0
- package/dist/vue-ui-funnel-BsVS3vuI.js +1 -0
- package/dist/vue-ui-galaxy-B8HgdBjc.js +1 -0
- package/dist/vue-ui-gauge-B1A_NFY6.js +1 -0
- package/dist/vue-ui-geo-_TG4jaV9.js +1 -0
- package/dist/{vue-ui-gizmo-kebiFGRl.js → vue-ui-gizmo-D0QjzIGt.js} +1 -1
- package/dist/vue-ui-graph-DScVnTzu.js +7 -0
- package/dist/vue-ui-heatmap-BbQseEbM.js +1 -0
- package/dist/vue-ui-hill-D3V84h_t.js +1 -0
- package/dist/vue-ui-history-plot-Bx4WYG6U.js +2 -0
- package/dist/vue-ui-horizontal-bar-Do0HJy4f.js +4 -0
- package/dist/{vue-ui-kpi-D4q8R7Uq.js → vue-ui-kpi-CF7pAl08.js} +1 -1
- package/dist/{vue-ui-label-0lSeoxvv.js → vue-ui-label-W0oz08pp.js} +1 -1
- package/dist/{vue-ui-mini-loader-C6vhrfx3.js → vue-ui-mini-loader-OLYDdN3T.js} +1 -1
- package/dist/vue-ui-molecule-bAMGCA2Y.js +1 -0
- package/dist/vue-ui-mood-radar-CFpgxjuR.js +1 -0
- package/dist/vue-ui-nested-donuts-CWY26iKX.js +19 -0
- package/dist/vue-ui-onion-DsBUqL_c.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-BF3gO85b.js +9 -0
- package/dist/vue-ui-quadrant-BkNG2LGm.js +2 -0
- package/dist/vue-ui-quick-chart-CYxvgVpD.js +17 -0
- package/dist/vue-ui-radar-0H8CiLmc.js +1 -0
- package/dist/{vue-ui-rating-7RAJA7I4.js → vue-ui-rating-B9HeTCLa.js} +1 -1
- package/dist/vue-ui-relation-circle-B0BM4xf8.js +1 -0
- package/dist/vue-ui-ridgeline-D-fDuE3y.js +2 -0
- package/dist/vue-ui-rings-UtlBiaZZ.js +1 -0
- package/dist/vue-ui-scatter-CduaARRt.js +9 -0
- package/dist/{vue-ui-skeleton-C0oElPXz.js → vue-ui-skeleton-an0peDis.js} +1 -1
- package/dist/{vue-ui-smiley-BdhxsPGW.js → vue-ui-smiley-Cht1imV-.js} +1 -1
- package/dist/{vue-ui-spark-trend-CRQ5JfVc.js → vue-ui-spark-trend-DCP7blHB.js} +1 -1
- package/dist/{vue-ui-sparkbar-BTclK0-F.js → vue-ui-sparkbar-DT3sDgda.js} +1 -1
- package/dist/{vue-ui-sparkgauge-zNl9Xmt3.js → vue-ui-sparkgauge-AQt2L5dI.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-ynyE3DOc.js → vue-ui-sparkhistogram-a_jc2Dv2.js} +1 -1
- package/dist/{vue-ui-sparkline-CtsijvdW.js → vue-ui-sparkline-D2-KcHAU.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-RHlqUD-0.js → vue-ui-sparkstackbar-CBI4S5cu.js} +1 -1
- package/dist/vue-ui-stackbar-DS_31-a3.js +29 -0
- package/dist/vue-ui-stackline-CuxohB0U.js +39 -0
- package/dist/vue-ui-strip-plot-bYGhsPA5.js +2 -0
- package/dist/{vue-ui-table-heatmap-IYPQ7LMg.js → vue-ui-table-heatmap-D6gpmHg8.js} +1 -1
- package/dist/{vue-ui-table-BetuN-ZS.js → vue-ui-table-lzolsJ_n.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Fdjb-U1P.js → vue-ui-table-sparkline-By319cB8.js} +1 -1
- package/dist/vue-ui-thermometer-B3Uv3aWc.js +1 -0
- package/dist/{vue-ui-timer-BKqG5HxS.js → vue-ui-timer-C6Pevf4N.js} +2 -2
- package/dist/vue-ui-tiremarks-DeNdCFVD.js +1 -0
- package/dist/vue-ui-treemap-Ck9_llHA.js +1 -0
- package/dist/vue-ui-waffle-BW2SacnV.js +1 -0
- package/dist/vue-ui-wheel-BXDhx5bf.js +1 -0
- package/dist/vue-ui-word-cloud-DKPtoruY.js +4 -0
- package/dist/vue-ui-world-D9vpDbN7.js +19 -0
- package/dist/vue-ui-xy-CMckdUft.js +27 -0
- package/dist/{vue-ui-xy-Y_rIBQj0.js → vue-ui-xy-Df5gIADT.js} +1 -1
- package/dist/vue-ui-xy-canvas-CBrKi3nN.js +9 -0
- package/package.json +1 -1
- package/dist/BaseDraggableDialog-9d30Yx8c.js +0 -1
- package/dist/BaseIcon-fYK0iID8.js +0 -1
- package/dist/ColorPicker-DEJOjcmD.js +0 -1
- package/dist/PenAndPaper-r50tK3S4.js +0 -1
- package/dist/SlicerPreview-DYuyE9u9.js +0 -1
- package/dist/UserOptions-Em_JgDXM.js +0 -1
- package/dist/annotationSlots-RvQBEO9-.js +0 -1
- package/dist/package-BdTnZDoM.js +0 -1
- package/dist/useConfig-D3ZfFSE5.js +0 -1
- package/dist/usePanZoom-BdjP5Suc.js +0 -1
- package/dist/vue-data-ui-DRkivgOZ.js +0 -1
- package/dist/vue-ui-3d-bar-BeM22sZn.js +0 -19
- package/dist/vue-ui-age-pyramid-BpkEVmpT.js +0 -1
- package/dist/vue-ui-bullet-Cx9Noxp_.js +0 -34
- package/dist/vue-ui-bump-DIjSKk8F.js +0 -8
- package/dist/vue-ui-candlestick-Cfd63wqQ.js +0 -22
- package/dist/vue-ui-chestnut-24bmc5Rq.js +0 -1
- package/dist/vue-ui-chord-fQZQ9hjU.js +0 -21
- package/dist/vue-ui-circle-pack-C1CbpBNe.js +0 -13
- package/dist/vue-ui-dag-B6QkUUCe.js +0 -9
- package/dist/vue-ui-dashboard-BBaAZBSj.js +0 -1
- package/dist/vue-ui-donut-H65cwWN-.js +0 -47
- package/dist/vue-ui-donut-evolution-DeHbG9Rx.js +0 -2
- package/dist/vue-ui-dumbbell-ClCVHsrR.js +0 -9
- package/dist/vue-ui-flow-DyrpRWOP.js +0 -3
- package/dist/vue-ui-funnel-bjH_hFeX.js +0 -1
- package/dist/vue-ui-galaxy-BTgZs4Le.js +0 -1
- package/dist/vue-ui-gauge-CXZklQPg.js +0 -1
- package/dist/vue-ui-geo-0_HimFX5.js +0 -1
- package/dist/vue-ui-graph-NTeJASbv.js +0 -7
- package/dist/vue-ui-heatmap-aiEMlbZm.js +0 -1
- package/dist/vue-ui-hill-ZpLv0IMP.js +0 -1
- package/dist/vue-ui-history-plot-4xG3oQtO.js +0 -2
- package/dist/vue-ui-horizontal-bar-DMyL8GM6.js +0 -4
- package/dist/vue-ui-molecule-4t84pqvx.js +0 -1
- package/dist/vue-ui-mood-radar-BGuw0U8y.js +0 -1
- package/dist/vue-ui-nested-donuts-BTTJ6KAx.js +0 -19
- package/dist/vue-ui-onion-BUbI3uaY.js +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-Bn3Y28ZQ.js +0 -9
- package/dist/vue-ui-quadrant-CVKEUWqI.js +0 -2
- package/dist/vue-ui-quick-chart-BgH0Arb4.js +0 -17
- package/dist/vue-ui-radar-Bb0u6tqk.js +0 -1
- package/dist/vue-ui-relation-circle-Csx30ROI.js +0 -1
- package/dist/vue-ui-ridgeline-Ce1ZrE0B.js +0 -2
- package/dist/vue-ui-rings-DgILqhz8.js +0 -1
- package/dist/vue-ui-scatter-CX_rE0cU.js +0 -9
- package/dist/vue-ui-stackbar-Zhl3to0r.js +0 -29
- package/dist/vue-ui-stackline-8JRhuHTg.js +0 -39
- package/dist/vue-ui-strip-plot-DL7Ulgpz.js +0 -2
- package/dist/vue-ui-thermometer-6kfYImU-.js +0 -1
- package/dist/vue-ui-tiremarks-D_ps9th8.js +0 -1
- package/dist/vue-ui-treemap-BfOdhGl7.js +0 -1
- package/dist/vue-ui-waffle-BL0zzw6B.js +0 -1
- package/dist/vue-ui-wheel-v1o2eN3I.js +0 -1
- package/dist/vue-ui-word-cloud-HUnuPCyQ.js +0 -4
- package/dist/vue-ui-world-BagJihbJ.js +0 -19
- package/dist/vue-ui-xy-D948j7de.js +0 -24
- package/dist/vue-ui-xy-canvas-CjrbWdJJ.js +0 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as n}from"./img-D4RQwASc.js";import{t as r}from"./BaseIcon-CoY0vuL3.js";import{t as i}from"./vClickOutside-BxNzkY17.js";import{Fragment as a,computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,createElementVNode as u,createVNode as d,guardReactiveProps as f,nextTick as p,normalizeClass as m,normalizeProps as h,normalizeStyle as g,onBeforeUnmount as _,onMounted as v,openBlock as y,ref as b,renderList as ee,renderSlot as x,toDisplayString as te,unref as S,watch as ne,withDirectives as re,withKeys as ie,withModifiers as C}from"vue";var w=/* @__PURE__ */ new WeakMap;function ae(e){if(!e?.classList||e.classList.contains(`vue-ui-graph`))return{enter(){},stop(){}};if(w.has(e))return w.get(e);let t=e.clientWidth||e.getBoundingClientRect().width||800,n=/* @__PURE__ */ new Set,r=null,i,a,o=!1,s=1,c=1,l=[`--vdui-fullscreen-width`,`--vdui-fullscreen-scale`,`--vdui-fullscreen-chrome-width`,`--vdui-fullscreen-chrome-scale`,`--vdui-fullscreen-pan-height`,`--vdui-fullscreen-chart-width`].map(t=>[t,e.style.getPropertyValue(t),e.style.getPropertyPriority(t)]);function u(t,n){e.style.getPropertyValue(t)!==n&&e.style.setProperty(t,n)}function d(){if(r=null,!o||!e.isConnected)return;u(`--vdui-fullscreen-width`,`${t}px`),u(`--vdui-fullscreen-scale`,String(s));for(let t of e.children){let e=getComputedStyle(t);e.position!==`absolute`&&e.position!==`fixed`&&(n.has(t)||(n.add(t),t.setAttribute(`data-vdui-fullscreen-content`,``),i?.observe(t)))}let a=Math.max(1,e.clientWidth-32),l=Math.max(1,e.clientHeight-32);u(`--vdui-fullscreen-chrome-width`,`${a/c}px`),u(`--vdui-fullscreen-chrome-scale`,String(c));let d=0,p=0,m=0,h=t;for(let t of n){if(!e.contains(t)){i?.unobserve(t),n.delete(t);continue}let r=getComputedStyle(t);if(r.position===`absolute`||r.position===`fixed`){t.removeAttribute(`data-vdui-fullscreen-content`),t.removeAttribute(`data-vdui-fullscreen-visual`),t.removeAttribute(`data-vdui-fullscreen-pan-zoom`),i?.unobserve(t),n.delete(t);continue}if(r.display===`none`)continue;let a=!t.hasAttribute(`data-vdui-fullscreen-control`)&&(t.matches(`svg, canvas, table`)||!!t.querySelector(`canvas, table`)||[...t.querySelectorAll(`svg`)].some(e=>!e.closest(`[data-vdui-fullscreen-control]`)&&(e.matches(`.vue-data-ui-svg, .vue-data-ui-fullscreen--on`)||e.clientWidth>128)));a!==t.hasAttribute(`data-vdui-fullscreen-visual`)&&(t.toggleAttribute(`data-vdui-fullscreen-visual`,a),f());let o=t.matches(`svg[data-vdui-pan-zoom]`)||!!t.querySelector(`svg[data-vdui-pan-zoom]`);o!==t.hasAttribute(`data-vdui-fullscreen-pan-zoom`)&&(t.toggleAttribute(`data-vdui-fullscreen-pan-zoom`,o),f()),o&&(d+=1);let l=t.getBoundingClientRect(),u=a?s:c,g=l.height/u+(parseFloat(r.marginTop)||0)+(parseFloat(r.marginBottom)||0);a?o||(h=Math.max(h,l.width/s),p+=g):m+=g}let g=Math.min(96,l/3),_=Math.min(1,(l-g)/Math.max(1,m));Math.abs(_-c)*Math.max(1,m)>.25&&(c=_,u(`--vdui-fullscreen-chrome-scale`,String(c)),u(`--vdui-fullscreen-chrome-width`,`${a/c}px`),f()),d&&u(`--vdui-fullscreen-pan-height`,`${Math.max(1,l-m*c-p*s)/d}px`);let v=Math.min(a/h,Math.max(1,l-m*c)/Math.max(1,p));Number.isFinite(v)&&v>0&&Math.abs(v-s)*Math.max(1,h,p)>.25&&(s=v,u(`--vdui-fullscreen-scale`,String(s))),u(`--vdui-fullscreen-chart-width`,`${Math.min(a,t*s)/c}px`)}function f(){o&&r===null&&(r=requestAnimationFrame(d))}function p(){document.fullscreenElement!==e&&h()}function m(){o||(o=!0,e.setAttribute(`data-vdui-fullscreen-layout`,``),u(`--vdui-fullscreen-width`,`${t}px`),u(`--vdui-fullscreen-scale`,`1`),u(`--vdui-fullscreen-chrome-scale`,`1`),u(`--vdui-fullscreen-chrome-width`,`${Math.max(1,e.clientWidth-32)}px`),i=new ResizeObserver(f),i.observe(e),a=new MutationObserver(e=>{e.some(e=>!(e.target instanceof SVGElement))&&f()}),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`style`,`class`]}),window.addEventListener(`resize`,f),document.addEventListener(`fullscreenchange`,p),d())}function h(){if(!o)w.get(e)===g&&w.delete(e);else{o=!1,r!==null&&cancelAnimationFrame(r),r=null,i?.disconnect(),a?.disconnect(),window.removeEventListener(`resize`,f),document.removeEventListener(`fullscreenchange`,p),w.delete(e),e.removeAttribute(`data-vdui-fullscreen-layout`);for(let e of n)e.removeAttribute(`data-vdui-fullscreen-content`),e.removeAttribute(`data-vdui-fullscreen-visual`),e.removeAttribute(`data-vdui-fullscreen-pan-zoom`);n.clear();for(let[t,n,r]of l)n?e.style.setProperty(t,n,r):e.style.removeProperty(t);s=1,c=1}}let g={enter:m,stop:h};return w.set(e,g),g}var oe={beforeMount(e,t){let n=()=>typeof t.value==`function`?{handler:t.value,targets:[e],disabled:!1,scrollGuardMs:250,moveThreshold:10}:{handler:t.value?.handler,targets:t.value?.targets??[e],disabled:!!t.value?.disabled,scrollGuardMs:t.value?.scrollGuardMs??250,moveThreshold:t.value?.moveThreshold??10},r={lastScrollTs:0,pointerId:null,startX:0,startY:0,moved:!1},i=()=>{r.lastScrollTs=performance.now()},a=e=>{r.pointerId=e.pointerId??null,r.startX=e.clientX??0,r.startY=e.clientY??0,r.moved=!1},o=e=>{if(r.pointerId===null||(e.pointerId??null)!==r.pointerId)return;let t=(e.clientX??0)-r.startX,i=(e.clientY??0)-r.startY,{moveThreshold:a}=n();t*t+i*i>=a*a&&(r.moved=!0)},s=e=>{r.pointerId!==null&&(e.pointerId??null)===r.pointerId&&(r.pointerId=null)},c=(e,t)=>{let n=e.composedPath?e.composedPath():[];for(let r of t){let t=r&&typeof r==`object`&&`value`in r?r.value:r;if(t&&(t===e.target||t.contains&&t.contains(e.target)||n.length&&n.includes(t)))return!0}return!1},l=e=>{let{handler:t,targets:i,disabled:a,scrollGuardMs:o}=n();a||typeof t==`function`&&(performance.now()-r.lastScrollTs<o||r.moved||c(e,i)||t(e))};e.__vPopoverClickOutside__={onScrollCapture:i,onPointerDownCapture:a,onPointerMoveCapture:o,onPointerUpCapture:s,onClickCapture:l},window.addEventListener(`scroll`,i,!0),document.addEventListener(`pointerdown`,a,!0),document.addEventListener(`pointermove`,o,!0),document.addEventListener(`pointerup`,s,!0),document.addEventListener(`click`,l,!0)},unmounted(e){let t=e.__vPopoverClickOutside__;t&&(window.removeEventListener(`scroll`,t.onScrollCapture,!0),document.removeEventListener(`pointerdown`,t.onPointerDownCapture,!0),document.removeEventListener(`pointermove`,t.onPointerMoveCapture,!0),document.removeEventListener(`pointerup`,t.onPointerUpCapture,!0),document.removeEventListener(`click`,t.onClickCapture,!0),delete e.__vPopoverClickOutside__)}},T=/* @__PURE__ */ e({default:()=>E}),se=[`title`,`onKeydown`],ce=[`popover`,`data-open`],le=[`onClick`,`onMouseenter`,`onMouseout`],ue=[`title`],de=[`data-open`],fe=[`onClick`,`onMouseenter`,`onMouseout`],E=/*#__PURE__*/ t({__name:`UserOptions`,props:{hasAnalyze:{type:Boolean,default:!1},hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasSvg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:`right`},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1},callbacks:{type:Object,default(){return{}}},printScale:{type:Number,default:2},tableDialog:{type:Boolean,default:!1},hasZoom:{type:Boolean,default:!1},isZoom:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1},hasAltCopy:{type:Boolean,default:!1}},emits:[`analyze`,`generatePdf`,`generateCsv`,`generateImage`,`toggleTable`,`toggleLabels`,`toggleSort`,`toggleFullscreen`,`toggleStack`,`toggleTooltip`,`toggleAnimation`,`toggleAnnotator`,`generateSvg`,`toggleZoom`,`copyAlt`],setup(e,{expose:t,emit:w}){let T=e,E=w,D=b(null),O=b(null),k=b(null),A=b(!1),j=o(()=>typeof window<`u`&&typeof HTMLElement<`u`&&`popover`in HTMLElement.prototype);async function pe(){if(T.callbacks.pdf){let{imageUri:e,base64:t}=await n({domElement:T.chartElement,base64:!0,img:!0,scale:T.printScale});T.callbacks.pdf({domElement:T.chartElement,base64:t,imageUri:e})}else E(`generatePdf`)}function me(){E(`generateCsv`,T.callbacks.csv)}async function he(){if(T.callbacks.img){E(`generateImage`,{stage:`start`});try{let{imageUri:e,base64:t}=await n({domElement:T.chartElement,base64:!0,img:!0,scale:T.printScale});await Promise.resolve(T.callbacks.img({domElement:T.chartElement,imageUri:e,base64:t}))}finally{E(`generateImage`,{stage:`end`})}}else E(`generateImage`)}function ge(){E(`generateSvg`,{isCb:!!T.callbacks.svg})}let M=b(!1);function _e(){T.callbacks.table?T.callbacks.table():(M.value=!M.value,E(`toggleTable`))}function ve(e){M.value=e}t({setTableIconState:ve,setTooltipIconState:Se});let N=b(T.isLabelActive);function ye(){T.callbacks.labels?T.callbacks.labels():(N.value=!N.value,E(`toggleLabels`))}let P=b(T.isAnimation);function F(){T.callbacks.animation?T.callbacks.animation():(P.value=!P.value,E(`toggleAnimation`))}let I=b(T.isZoom);function L(){T.callbacks.zoom?T.callbacks.zoom():(I.value=!I.value,E(`toggleZoom`))}let R=o({get:()=>T.isAnnotation,set:e=>e});function z(){T.callbacks.annotator?T.callbacks.annotator():(R.value=!R.value,E(`toggleAnnotator`))}function be(){T.callbacks.sort?T.callbacks.sort():E(`toggleSort`)}function B(){E(`copyAlt`)}let V=b(T.isStacked);function xe(){T.callbacks.stack?T.callbacks.stack():(V.value=!V.value,E(`toggleStack`))}let H=b(T.isTooltip);function Se(e){H.value=e}function Ce(){T.callbacks.tooltip?T.callbacks.tooltip():(H.value=!H.value,E(`toggleTooltip`))}let U=null,W=null;function we(){W!==T.chartElement&&(U?.stop(),W=T.chartElement,U=ae(T.chartElement))}async function Te(){if(T.chartElement){we(),E(`toggleFullscreen`,!T.isFullscreen);try{document.fullscreenElement===T.chartElement?await document.exitFullscreen():await T.chartElement.requestFullscreen()}catch{U?.stop(),E(`toggleFullscreen`,!1)}}}function G(){let e=!!T.chartElement&&document.fullscreenElement===T.chartElement;e?(we(),U?.enter()):U?.stop(),e!==T.isFullscreen&&E(`toggleFullscreen`,e)}v(()=>{document.addEventListener(`fullscreenchange`,G),T.chartElement&&document.fullscreenElement===T.chartElement&&G()}),_(()=>{document.removeEventListener(`fullscreenchange`,G);let e=U,t=W;p(()=>{t?.isConnected&&document.fullscreenElement===t||e?.stop()})});let K=b(window.innerWidth>600),q=b({analyze:!1,tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1,svg:!1,zoom:!1,altCopy:!1}),Ee=b(!0);function De(){K.value=window.innerWidth>600,A.value=!A.value,A.value&&(Ee.value=!1)}function Oe(){T.isPrinting||T.isImaging||(A.value=!1)}function ke(){A.value&&Oe()}let J=b(0);function Ae(){J.value=performance.now()+50}function Y(){T.isPrinting||T.isImaging||(j.value&&Q(),A.value=!1)}function je(){performance.now()<J.value||Y()}function Me(){if(K.value=window.innerWidth>600,!j.value){A.value||Ae(),A.value=!A.value;return}let e=k.value;e&&e.matches&&e.matches(`:popover-open`)||A.value?(A.value=!1,Q()):(Ae(),A.value=!0)}function Ne(){Me()}function X(e,t,n,r){let i=window.devicePixelRatio||1,a=e=>Math.round(e*i)/i;e.style.position=`fixed`,e.style.top=`${a(t)}px`,e.style.left=`${a(n)}px`,e.style.right=`auto`,e.style.width=`${a(r)}px`}function Pe(e){if(e.style.width=``,e.style.left=``,e.style.right=``,e.style.top=``,e.style.position=`absolute`,e.style.top=`36px`,T.position===`right`){let t=T.offsetX?T.offsetX:T.noOffset?0:4;e.style.right=`${t}px`,e.style.left=`auto`}else{let t=T.noOffset?0:4;e.style.left=`${t}px`,e.style.right=`auto`}e.style.display=`flex`,e.style.visibility=`hidden`,e.style.pointerEvents=`none`}function Fe(){if(!j.value||!A.value||!D.value||!k.value)return;let e=D.value.getBoundingClientRect(),t=k.value.getBoundingClientRect(),n=e.top+38;if(T.position===`right`){let r=T.offsetX?T.offsetX:T.noOffset?0:4,i=e.right-r-t.width;X(k.value,n,i,t.width)}else{let r=T.noOffset?0:4,i=e.left+r;X(k.value,n,i,t.width)}}let Ie=0;function Le(){cancelAnimationFrame(Ie),Ie=requestAnimationFrame(()=>{Fe()})}function Z(){j.value&&A.value&&Le()}function Re(e,t){let n=window.devicePixelRatio||1,r=e=>Math.round(e*n)/n;e.style.position=`fixed`,e.style.top=`${r(t.top)}px`,e.style.left=`${r(t.left)}px`,e.style.right=`auto`,e.style.width=`${r(t.width)}px`}async function ze(e=!1){if(!j.value)return;let t=k.value;if(!t)return;let n=t.getAttribute(`style`)||``,r=t.getAttribute(`data-open`);t.setAttribute(`popover`,`manual`);try{t.setAttribute(`data-open`,`true`),Pe(t),await p();let i=t.getBoundingClientRect();t.setAttribute(`style`,n),r===null?t.removeAttribute(`data-open`):t.setAttribute(`data-open`,r),Re(t,i),e||(typeof t.showPopover==`function`?t.showPopover():t.style.display=`flex`)}catch{if(!e)try{typeof t.showPopover==`function`?t.showPopover():t.style.display=`flex`}catch{}}}function Q(){if(!j.value)return;let e=k.value;if(e){e.setAttribute(`popover`,`manual`);try{typeof e.hidePopover==`function`?e.hidePopover():e.style.display=`none`}catch{e.style.display=`none`}e.style.position=``,e.style.top=``,e.style.left=``,e.style.right=``,e.style.width=``,e.style.inset=``}}function Be(){if(!j.value)return;let e=k.value;e&&(A.value&&=typeof e.matches==`function`&&(()=>{try{return e.matches(`:popover-open`)}catch{return!1}})())}function Ve(e){if(!j.value||!A.value||performance.now()<J.value)return;let t=e.composedPath?e.composedPath():[],n=O.value?t.includes(O.value):!1,r=k.value?t.includes(k.value):!1;!n&&!r&&Y()}ne(()=>T.isFullscreen,async()=>{j.value&&(await p(),A.value&&ze())}),ne(()=>A.value,async e=>{j.value&&(await p(),e?(await ze(!1),Fe()):Q())});function He(e){e.key===`Escape`&&D.value&&D.value.contains(document.activeElement)&&(e.preventDefault(),e.stopPropagation(),Y(),O.value?.focus())}v(()=>{window.addEventListener(`pointerdown`,Ve,!0),window.addEventListener(`resize`,Z,{passive:!0}),window.addEventListener(`scroll`,Z,{passive:!0,capture:!0}),k.value&&k.value.addEventListener(`toggle`,Be)}),_(()=>{window.removeEventListener(`pointerdown`,Ve,!0),window.removeEventListener(`resize`,Z),window.removeEventListener(`scroll`,Z,!0),k.value&&k.value.removeEventListener(`toggle`,Be)});let Ue=o(()=>[{key:`pdf`,visible:T.hasPdf,slot:`optionPdf`,testId:`user-options-pdf`,run:pe,icon:`filePdf`,alternate:T.isPrinting,alternateIcon:`hourglass`,spin:!0},{key:`csv`,visible:T.hasXls,slot:`optionCsv`,testId:`user-options-xls`,run:me,icon:`fileCsv`},{key:`img`,visible:T.hasImg,slot:`optionImg`,testId:`user-options-img`,run:he,icon:`filePng`,alternate:T.isImaging,alternateIcon:`hourglass`,spin:!0},{key:`svg`,visible:T.hasSvg,slot:`optionSvg`,testId:`user-options-svg`,run:ge,icon:`fileSvg`},{key:`tooltip`,visible:T.hasTooltip,slot:`optionTooltip`,testId:`user-options-tooltip`,run:Ce,icon:`tooltipDisabled`,alternate:H.value,alternateIcon:`tooltip`},{key:`table`,visible:T.hasTable,slot:`optionTable`,testId:`user-options-table`,run:_e,icon:M.value?`tableClose`:`tableOpen`,alternate:T.tableDialog,alternateIcon:M.value?`tableDialogClose`:`tableDialogOpen`},{key:`labels`,visible:T.hasLabel,slot:`optionLabels`,testId:`user-options-label`,run:ye,icon:N.value?`labelClose`:`labelOpen`},{key:`sort`,visible:T.hasSort,slot:`optionSort`,testId:`user-options-sort`,run:be,icon:`sort`},{key:`stack`,visible:T.hasStack,slot:`optionStack`,testId:`user-options-stack`,run:xe,icon:`stack`,alternate:V.value,alternateIcon:`unstack`,slotProps:{first:{name:`isStack`,value:V.value}}},{key:`fullscreen`,visible:T.hasFullscreen,slot:`optionFullscreen`,testId:`user-options-fullscreen`,run:()=>Te(T.isFullscreen?`out`:`in`),icon:`fullscreen`,alternate:T.isFullscreen,alternateIcon:`exitFullscreen`,slotProps:{first:{name:`toggleFullscreen`,value:Te},second:{name:`isFullscreen`,value:T.isFullscreen}}},{key:`zoom`,visible:T.hasZoom,slot:`optionZoom`,testId:`user-options-fullscreen`,run:()=>L(),icon:`zoomLock`,alternate:T.isZoom,alternateIcon:`zoomUnlock`,slotProps:{first:{name:`toggleZoom`,value:L},second:{name:`isZoomLocked`,value:!T.isZoom}}},{key:`animation`,visible:T.hasAnimation,slot:`optionAnimation`,testId:`user-options-anim`,run:F,icon:`pause`,alternate:P.value,alternateIcon:`play`,slotProps:{first:{name:`toggleAnimation`,value:F},second:{name:`isAnimated`,value:P.value}}},{key:`annotator`,visible:T.hasAnnotator,slot:`optionAnnotator`,testId:`user-options-annotator`,run:z,icon:`annotator`,alternate:R.value,alternateIcon:`annotatorDisabled`,slotProps:{first:{name:`toggleAnnotator`,value:z},second:{name:`isAnnotator`,value:R.value}}},{key:`analyze`,visible:T.hasAnalyze,slot:`optionAnalyze`,testId:`user-options-analyze`,run:()=>E(`analyze`),icon:`analyze`},{key:`altCopy`,visible:T.hasAltCopy,slot:`optionAltCopy`,testId:`user-options-alt-copy`,run:B,icon:`accessibility`,slotProps:{first:{name:`copyAlt`,value:B}}}]);function $(e){let t={"button-info-left":T.position===`left`,"button-info-right":T.position===`right`},n=T.position===`left`&&q.value[e],r=T.position===`right`&&q.value[e];return e===`tooltip`?{...t,"button-info-left-visible":n,"button-info-right-visible":r}:{...t,"button-info-right-visible":r,"button-info-left-visible":n}}return(t,n)=>j.value?re((y(),l(`div`,{key:0,ref_key:`rootRef`,ref:D,"data-dom-to-png-ignore":``,class:`vue-ui-user-options`,style:g(`z-index: ${e.zIndex}; height: 34px; position: ${e.isFullscreen?`fixed`:`absolute`}; top: 0; ${e.position===`right`?`right:${e.isFullscreen?`12px`:`0`}`:`left:${e.isFullscreen?`12px`:`0`}`}; padding: 4px; background:transparent;`),onKeydown:He},[u(`div`,{ref_key:`triggerRef`,ref:O,tabindex:`0`,role:`button`,title:A.value?e.titles.close||``:e.titles.open||``,style:g(`width:32px; position: absolute; top: 0;${e.position===`right`?`right: ${e.offsetX?e.offsetX:e.noOffset?0:4}px`:`left: ${e.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:${e.isCursorPointer?`pointer`:`default`}; background:transparent`),onPointerdown:C(Me,[`stop`,`prevent`]),onKeydown:ie(C(Ne,[`stop`,`prevent`]),[`enter`])},[x(t.$slots,`menuIcon`,h(f({isOpen:A.value,color:e.color})),()=>[d(r,{name:A.value?`close`:`menu`,stroke:e.color,"stroke-width":2},null,8,[`name`,`stroke`])],!0)],44,se),u(`div`,{ref_key:`drawerRef`,ref:k,popover:j.value?`manual`:null,"data-open":j.value?null:A.value,class:m({"vue-ui-user-options-drawer":!0}),style:g(j.value?{background:e.backgroundColor}:`background:${e.backgroundColor}; ${e.position===`right`?`right: ${e.offsetX?e.offsetX:e.noOffset?0:4}px`:`left: ${e.noOffset?0:4}px`}`)},[x(t.$slots,`custom-menu-before`,{},void 0,!0),(y(!0),l(a,null,ee(Ue.value,n=>(y(),l(a,{key:n.key},[n.visible?(y(),l(`button`,{key:0,tabindex:`0`,class:`vue-ui-user-options-button`,onClick:n.run,onMouseenter:e=>q.value[n.key]=!0,onMouseout:e=>q.value[n.key]=!1,style:g({cursor:e.isCursorPointer?`pointer`:`default`})},[t.$slots[n.slot]?(y(),l(a,{key:0},[n.slotProps?n.slotProps.second?x(t.$slots,n.slot,h({[n.slotProps.first.name||``]:n.slotProps.first.value,[n.slotProps.second.name||``]:n.slotProps.second.value}),void 0,!0,2):x(t.$slots,n.slot,h({[n.slotProps.first.name||``]:n.slotProps.first.value}),void 0,!0,1):x(t.$slots,n.slot,{},void 0,!0,0)],64)):(y(),l(a,{key:1},[n.alternate?(y(),s(r,{key:0,name:n.alternateIcon,isSpin:n.spin,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`name`,`isSpin`,`stroke`])):(y(),s(r,{key:1,name:n.icon,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`name`,`stroke`]))],64)),K.value&&e.titles[n.key===`animation`?`fullscreen`:n.key]?(y(),l(`div`,{key:2,dir:`auto`,class:m($(n.key)),style:g({background:e.backgroundColor,color:e.color})},te(e.titles[n.key]),7)):c(``,!0)],44,le)):c(``,!0)],64))),128)),x(t.$slots,`custom-menu-after`,{},void 0,!0)],12,ce)],36)),[[S(oe),j.value?null:{targets:[D.value,k.value,O.value],handler:je}]]):re((y(),l(`div`,{key:1,ref_key:`rootRef`,ref:D,"data-dom-to-png-ignore":``,class:`vue-ui-user-options`,style:g(`z-index: ${e.zIndex}; height: 34px; position: ${e.isFullscreen?`fixed`:`absolute`}; top: 0; ${e.position===`right`?`right:${e.isFullscreen?`12px`:`0`}`:`left:${e.isFullscreen?`12px`:`0`}`}; padding: 4px; background:transparent;`),onKeydown:He},[u(`div`,{ref_key:`triggerRef`,ref:O,tabindex:`0`,title:A.value?e.titles.close||``:e.titles.open||``,style:g(`width:32px; position: absolute; top: 0;${e.position===`right`?`right: ${e.offsetX?e.offsetX:e.noOffset?0:4}px`:`left: ${e.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:C(De,[`stop`]),onKeypress:ie(De,[`enter`])},[x(t.$slots,`menuIcon`,h(f({isOpen:A.value,color:e.color})),()=>[d(r,{name:A.value?`close`:`menu`,stroke:e.color,"stroke-width":2},null,8,[`name`,`stroke`])],!0)],44,ue),u(`div`,{ref_key:`drawerRef`,ref:k,"data-open":A.value,class:m({"vue-ui-user-options-drawer":!0}),style:g(`background:${e.backgroundColor}; ${e.position===`right`?`right: ${e.offsetX?e.offsetX:e.noOffset?0:4}px`:`left: ${e.noOffset?0:4}px`}`)},[x(t.$slots,`custom-menu-before`,{},void 0,!0),(y(!0),l(a,null,ee(Ue.value,n=>(y(),l(a,{key:n.key},[n.visible?(y(),l(`button`,{key:0,tabindex:`0`,class:`vue-ui-user-options-button`,onClick:e=>n.run(e),onMouseenter:e=>q.value[n.key]=!0,onMouseout:e=>q.value[n.key]=!1},[t.$slots[n.slot]?(y(),l(a,{key:0},[n.slotProps?n.slotProps.second?x(t.$slots,n.slot,h({[n.slotProps.first.name||``]:n.slotProps.first.value,[n.slotProps.second.name||``]:n.slotProps.second.value}),void 0,!0,2):x(t.$slots,n.slot,h({[n.slotProps.first.name||``]:n.slotProps.first.value}),void 0,!0,1):x(t.$slots,n.slot,{},void 0,!0,0)],64)):(y(),l(a,{key:1},[n.alternate?(y(),s(r,{key:0,name:n.alternateIcon,isSpin:n.spin,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`name`,`isSpin`,`stroke`])):(y(),s(r,{key:1,name:n.icon,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`name`,`stroke`]))],64)),K.value&&e.titles[n.key===`animation`?`fullscreen`:n.key]?(y(),l(`div`,{key:2,dir:`auto`,class:m($(n.key)),style:g({background:e.backgroundColor,color:e.color})},te(e.titles[n.key]),7)):c(``,!0)],40,fe)):c(``,!0)],64))),128)),x(t.$slots,`custom-menu-actions`,{},void 0,!0)],12,de)],36)),[[S(i),ke]])}},[[`__scopeId`,`data-v-cab0147c`]]);export{T as n,E as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{a as t,i as n,r}from"./vue-ui-xy-CMckdUft.js";import{t as i}from"./ColorPicker-CwYfNvwH.js";import{t as a}from"./BaseDraggableDialog-BK7dj9O6.js";import{Fragment as o,computed as s,createBlock as c,createCommentVNode as l,createElementBlock as u,createElementVNode as d,createSlots as f,createTextVNode as p,createVNode as m,guardReactiveProps as h,normalizeProps as g,normalizeStyle as _,onMounted as v,openBlock as y,ref as b,renderList as x,renderSlot as S,toDisplayString as C,vModelCheckbox as w,vModelText as T,watch as E,withCtx as D,withDirectives as O}from"vue";var k={class:`vue-ui-xy-analysis-appearance`},A={class:`vue-ui-xy-analysis-color`},j={class:`vue-ui-xy-analysis-color-control`},M={key:0,class:`vue-ui-xy-analysis-series`},N={class:`vue-ui-xy-analysis-checkboxes`},P=[`value`,`data-series-id`],F={class:`vue-ui-xy-analysis-checkboxes`},I=[`onUpdate:modelValue`,`disabled`],L={key:1,class:`vue-ui-xy-analysis-options-notice`},R={class:`vue-ui-xy-analysis-options-actions`},z=/*#__PURE__*/ e({__name:`XyAnalysisOptions`,props:{messages:{type:Object,required:!0},selected:{type:Object,default:r},series:{type:Array,default:()=>[]},selectedSeries:{type:Array,default:null},appearance:{type:Object,default:()=>({color:`#2D353C`,fontSize:16,strokeWidth:2})},palette:Array,isFullscreen:Boolean,fullscreenParent:Object,fontFamily:String,isCursorPointer:Boolean,color:String,backgroundColor:String},emits:[`apply`,`cancel`,`preview`],setup(e,{emit:r}){let z=e,B=r,V=b(null),H=b({...z.selected}),U=b({...z.appearance}),W=s(()=>t.filter(e=>z.messages.options?.[e]!==!1)),G=b(z.selectedSeries?[...z.selectedSeries]:z.series.map(e=>e.id));function K(){return{options:n(H.value,z.messages.options),seriesIds:[...G.value],appearance:{...U.value}}}E([H,G,U],()=>{q||B(`preview`,K())},{deep:!0});let q=!1;function J(){q||(q=!0,B(`cancel`))}function Y(){q||(q=!0,B(`apply`,K()))}return v(()=>{V.value.open(),B(`preview`,K())}),(t,n)=>(y(),c(a,{ref_key:`panel`,ref:V,backgroundColor:e.backgroundColor,color:e.color,headerBg:e.backgroundColor,headerColor:e.color,forcedWidth:440,forcedHeight:480,fitViewport:``,isFullscreen:e.isFullscreen,fullscreenParent:e.fullscreenParent,isCursorPointer:e.isCursorPointer,withPadding:``,onClose:J},{title:D(()=>[p(C(e.messages.optionsTitle),1)]),content:D(()=>[d(`div`,{class:`vue-ui-xy-analysis-options`,style:_({color:e.color,fontFamily:e.fontFamily,cursor:e.isCursorPointer?`pointer`:`default`}),"data-dom-to-png-ignore":``},[d(`fieldset`,k,[d(`legend`,null,C(e.messages.appearanceTitle),1),d(`div`,A,[d(`span`,null,C(e.messages.colorLabel),1),d(`div`,j,[m(i,{value:U.value.color,"onUpdate:value":n[0]||=e=>U.value.color=e,backgroundColor:e.backgroundColor,buttonBorderColor:e.color,palette:e.palette,isCursorPointer:e.isCursorPointer,teleported:``},f({_:2},[t.$slots[`analysis-action-color`]?{name:`annotator-action-color`,fn:D(({color:e})=>[S(t.$slots,`analysis-action-color`,g(h({color:e})),void 0,!0)]),key:`0`}:void 0]),1032,[`value`,`backgroundColor`,`buttonBorderColor`,`palette`,`isCursorPointer`])])]),d(`label`,null,[O(d(`input`,{type:`range`,min:`6`,max:`24`,step:`1`,"onUpdate:modelValue":n[1]||=e=>U.value.fontSize=e,style:_({accentColor:e.color})},null,4),[[T,U.value.fontSize,void 0,{number:!0}]]),d(`span`,null,C(e.messages.fontSizeLabel)+`: `+C(U.value.fontSize),1)]),d(`label`,null,[O(d(`input`,{type:`range`,min:`0.5`,max:`6`,step:`0.5`,"onUpdate:modelValue":n[2]||=e=>U.value.strokeWidth=e,style:_({accentColor:e.color})},null,4),[[T,U.value.strokeWidth,void 0,{number:!0}]]),d(`span`,null,C(e.messages.strokeWidthLabel)+`: `+C(U.value.strokeWidth),1)])]),e.series.length>1?(y(),u(`fieldset`,M,[d(`legend`,null,C(e.messages.seriesTitle),1),d(`div`,N,[(y(!0),u(o,null,x(e.series,t=>(y(),u(`label`,{key:t.id},[O(d(`input`,{type:`checkbox`,"onUpdate:modelValue":n[3]||=e=>G.value=e,value:t.id,"data-series-id":t.id},null,8,P),[[w,G.value]]),d(`span`,null,C(t.name||e.messages.series),1)]))),128))])])):l(``,!0),d(`fieldset`,null,[d(`legend`,null,C(e.messages.optionsTitle),1),d(`div`,F,[(y(!0),u(o,null,x(W.value,t=>(y(),u(`label`,{key:t},[O(d(`input`,{type:`checkbox`,"onUpdate:modelValue":e=>H.value[t]=e,disabled:t===`threshold`&&!e.messages.thresholds?.some(Number.isFinite)},null,8,I),[[w,H.value[t]]]),d(`span`,null,C(e.messages.optionLabels[t]),1)]))),128))])]),W.value.includes(`threshold`)&&!e.messages.thresholds?.some(Number.isFinite)?(y(),u(`p`,L,C(e.messages.thresholdUnavailable),1)):l(``,!0)],4)]),footer:D(()=>[d(`div`,{class:`vue-ui-xy-analysis-footer`,style:_({color:e.color,fontFamily:e.fontFamily,cursor:e.isCursorPointer?`pointer`:`default`})},[d(`div`,R,[d(`button`,{type:`button`,onClick:Y},C(e.messages.apply),1),d(`button`,{type:`button`,onClick:J},C(e.messages.cancel),1)])],4)]),_:3},8,[`backgroundColor`,`color`,`headerBg`,`headerColor`,`isFullscreen`,`fullscreenParent`,`isCursorPointer`]))}},[[`__scopeId`,`data-v-a9e90260`]]);export{z as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return{showGroupActions:e?.showGroupActions??!0,useOutline:e?.useOutline??!0,outlineThickness:e?.outlineThickness??1,outlineColor:e?.outlineColor??null}}var t=[`annotator-action-close`,`annotator-action-color`,`annotator-action-draw`,`annotator-action-undo`,`annotator-action-redo`,`annotator-action-delete`,`annotator-action-select-multiple`,`annotator-action-group`,`annotator-action-ungroup`];function n(e,t){switch(e){case`annotator-action-color`:return{color:t.color};case`annotator-action-draw`:return{mode:t.mode};case`annotator-action-select-multiple`:return{isSelecting:t.isSelecting};case`annotator-action-group`:case`annotator-action-ungroup`:case`annotator-action-undo`:case`annotator-action-redo`:case`annotator-action-delete`:return{disabled:t.disabled};default:return{}}}export{n,e as r,t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUi3dBar,t as default}from"../vue-ui-3d-bar-
|
|
1
|
+
export{t as VueUi3dBar,t as default}from"../vue-ui-3d-bar-DmRrbXjK.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiAccordion,t as default}from"../vue-ui-accordion-
|
|
1
|
+
export{t as VueUiAccordion,t as default}from"../vue-ui-accordion-DFxSW8ET.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiAgePyramid,t as default}from"../vue-ui-age-pyramid-
|
|
1
|
+
export{t as VueUiAgePyramid,t as default}from"../vue-ui-age-pyramid-CJJIp5gY.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiAnnotator,t as default}from"../vue-ui-annotator-
|
|
1
|
+
export{t as VueUiAnnotator,t as default}from"../vue-ui-annotator-BnR2XnsL.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiBullet,t as default}from"../vue-ui-bullet-
|
|
1
|
+
export{t as VueUiBullet,t as default}from"../vue-ui-bullet-Br7H7FSM.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiBump,t as default}from"../vue-ui-bump-
|
|
1
|
+
export{t as VueUiBump,t as default}from"../vue-ui-bump-DCDHNvWE.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiCandlestick,t as default}from"../vue-ui-candlestick-
|
|
1
|
+
export{t as VueUiCandlestick,t as default}from"../vue-ui-candlestick-C_swW8gM.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiCarouselTable,t as default}from"../vue-ui-carousel-table-
|
|
1
|
+
export{t as VueUiCarouselTable,t as default}from"../vue-ui-carousel-table-BP_yVdDm.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiChestnut,t as default}from"../vue-ui-chestnut-
|
|
1
|
+
export{t as VueUiChestnut,t as default}from"../vue-ui-chestnut-CIGNqBsT.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiChord,t as default}from"../vue-ui-chord-
|
|
1
|
+
export{t as VueUiChord,t as default}from"../vue-ui-chord-DZRFBkRJ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiCirclePack,t as default}from"../vue-ui-circle-pack-
|
|
1
|
+
export{t as VueUiCirclePack,t as default}from"../vue-ui-circle-pack-CtdPeMsY.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiCursor,t as default}from"../vue-ui-cursor-
|
|
1
|
+
export{t as VueUiCursor,t as default}from"../vue-ui-cursor-DRQc_V2R.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiDag,t as default}from"../vue-ui-dag-
|
|
1
|
+
export{t as VueUiDag,t as default}from"../vue-ui-dag-Cj0CcntI.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiDashboard,t as default}from"../vue-ui-dashboard-
|
|
1
|
+
export{t as VueUiDashboard,t as default}from"../vue-ui-dashboard-HyzHqAtX.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiDigits,t as default}from"../vue-ui-digits-
|
|
1
|
+
export{t as VueUiDigits,t as default}from"../vue-ui-digits-CfdB0vaP.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiDonutEvolution,t as default}from"../vue-ui-donut-evolution-
|
|
1
|
+
export{t as VueUiDonutEvolution,t as default}from"../vue-ui-donut-evolution-DL112anx.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiDonut,t as default}from"../vue-ui-donut-
|
|
1
|
+
export{t as VueUiDonut,t as default}from"../vue-ui-donut-Cv-bYyBN.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiDumbbell,t as default}from"../vue-ui-dumbbell-
|
|
1
|
+
export{t as VueUiDumbbell,t as default}from"../vue-ui-dumbbell-owG24VsQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiFlow,t as default}from"../vue-ui-flow-
|
|
1
|
+
export{t as VueUiFlow,t as default}from"../vue-ui-flow-BMNIydqI.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiFunnel,t as default}from"../vue-ui-funnel-
|
|
1
|
+
export{t as VueUiFunnel,t as default}from"../vue-ui-funnel-BsVS3vuI.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiGalaxy,t as default}from"../vue-ui-galaxy-
|
|
1
|
+
export{t as VueUiGalaxy,t as default}from"../vue-ui-galaxy-B8HgdBjc.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiGauge,t as default}from"../vue-ui-gauge-
|
|
1
|
+
export{t as VueUiGauge,t as default}from"../vue-ui-gauge-B1A_NFY6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiGeo,t as default}from"../vue-ui-geo-
|
|
1
|
+
export{t as VueUiGeo,t as default}from"../vue-ui-geo-_TG4jaV9.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiGizmo,t as default}from"../vue-ui-gizmo-
|
|
1
|
+
export{t as VueUiGizmo,t as default}from"../vue-ui-gizmo-D0QjzIGt.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiGraph,t as default}from"../vue-ui-graph-
|
|
1
|
+
export{t as VueUiGraph,t as default}from"../vue-ui-graph-DScVnTzu.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiHeatmap,t as default}from"../vue-ui-heatmap-
|
|
1
|
+
export{t as VueUiHeatmap,t as default}from"../vue-ui-heatmap-BbQseEbM.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiHill,t as default}from"../vue-ui-hill-
|
|
1
|
+
export{t as VueUiHill,t as default}from"../vue-ui-hill-D3V84h_t.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiHistoryPlot,t as default}from"../vue-ui-history-plot-
|
|
1
|
+
export{t as VueUiHistoryPlot,t as default}from"../vue-ui-history-plot-Bx4WYG6U.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiHorizontalBar,t as default}from"../vue-ui-horizontal-bar-
|
|
1
|
+
export{t as VueUiHorizontalBar,t as default}from"../vue-ui-horizontal-bar-Do0HJy4f.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiIcon,t as default}from"../BaseIcon-
|
|
1
|
+
export{t as VueUiIcon,t as default}from"../BaseIcon-CoY0vuL3.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiKpi,t as default}from"../vue-ui-kpi-
|
|
1
|
+
export{t as VueUiKpi,t as default}from"../vue-ui-kpi-CF7pAl08.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiLabel,t as default}from"../vue-ui-label-
|
|
1
|
+
export{t as VueUiLabel,t as default}from"../vue-ui-label-W0oz08pp.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiMiniLoader,t as default}from"../vue-ui-mini-loader-
|
|
1
|
+
export{t as VueUiMiniLoader,t as default}from"../vue-ui-mini-loader-OLYDdN3T.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiMolecule,t as default}from"../vue-ui-molecule-
|
|
1
|
+
export{t as VueUiMolecule,t as default}from"../vue-ui-molecule-bAMGCA2Y.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiMoodRadar,t as default}from"../vue-ui-mood-radar-
|
|
1
|
+
export{t as VueUiMoodRadar,t as default}from"../vue-ui-mood-radar-CFpgxjuR.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiNestedDonuts,t as default}from"../vue-ui-nested-donuts-
|
|
1
|
+
export{t as VueUiNestedDonuts,t as default}from"../vue-ui-nested-donuts-CWY26iKX.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiOnion,t as default}from"../vue-ui-onion-
|
|
1
|
+
export{t as VueUiOnion,t as default}from"../vue-ui-onion-DsBUqL_c.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiParallelCoordinatePlot,t as default}from"../vue-ui-parallel-coordinate-plot-
|
|
1
|
+
export{t as VueUiParallelCoordinatePlot,t as default}from"../vue-ui-parallel-coordinate-plot-BF3gO85b.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiQuadrant,t as default}from"../vue-ui-quadrant-
|
|
1
|
+
export{t as VueUiQuadrant,t as default}from"../vue-ui-quadrant-BkNG2LGm.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiQuickChart,t as default}from"../vue-ui-quick-chart-
|
|
1
|
+
export{t as VueUiQuickChart,t as default}from"../vue-ui-quick-chart-CYxvgVpD.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiRadar,t as default}from"../vue-ui-radar-
|
|
1
|
+
export{t as VueUiRadar,t as default}from"../vue-ui-radar-0H8CiLmc.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiRating,t as default}from"../vue-ui-rating-
|
|
1
|
+
export{t as VueUiRating,t as default}from"../vue-ui-rating-B9HeTCLa.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiRelationCircle,t as default}from"../vue-ui-relation-circle-
|
|
1
|
+
export{t as VueUiRelationCircle,t as default}from"../vue-ui-relation-circle-B0BM4xf8.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiRidgeline,t as default}from"../vue-ui-ridgeline-
|
|
1
|
+
export{t as VueUiRidgeline,t as default}from"../vue-ui-ridgeline-D-fDuE3y.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiRings,t as default}from"../vue-ui-rings-
|
|
1
|
+
export{t as VueUiRings,t as default}from"../vue-ui-rings-UtlBiaZZ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiScatter,t as default}from"../vue-ui-scatter-
|
|
1
|
+
export{t as VueUiScatter,t as default}from"../vue-ui-scatter-CduaARRt.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiSkeleton,t as default}from"../vue-ui-skeleton-
|
|
1
|
+
export{t as VueUiSkeleton,t as default}from"../vue-ui-skeleton-an0peDis.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiSmiley,t as default}from"../vue-ui-smiley-
|
|
1
|
+
export{t as VueUiSmiley,t as default}from"../vue-ui-smiley-Cht1imV-.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiSparkTrend,t as default}from"../vue-ui-spark-trend-
|
|
1
|
+
export{t as VueUiSparkTrend,t as default}from"../vue-ui-spark-trend-DCP7blHB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiSparkbar,t as default}from"../vue-ui-sparkbar-
|
|
1
|
+
export{t as VueUiSparkbar,t as default}from"../vue-ui-sparkbar-DT3sDgda.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiSparkgauge,t as default}from"../vue-ui-sparkgauge-
|
|
1
|
+
export{t as VueUiSparkgauge,t as default}from"../vue-ui-sparkgauge-AQt2L5dI.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiSparkHistogram,t as default}from"../vue-ui-sparkhistogram-
|
|
1
|
+
export{t as VueUiSparkHistogram,t as default}from"../vue-ui-sparkhistogram-a_jc2Dv2.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiSparkline,t as default}from"../vue-ui-sparkline-
|
|
1
|
+
export{t as VueUiSparkline,t as default}from"../vue-ui-sparkline-D2-KcHAU.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiSparkStackbar,t as default}from"../vue-ui-sparkstackbar-
|
|
1
|
+
export{t as VueUiSparkStackbar,t as default}from"../vue-ui-sparkstackbar-CBI4S5cu.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiStackbar,t as default}from"../vue-ui-stackbar-
|
|
1
|
+
export{t as VueUiStackbar,t as default}from"../vue-ui-stackbar-DS_31-a3.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiStackline,t as default}from"../vue-ui-stackline-
|
|
1
|
+
export{t as VueUiStackline,t as default}from"../vue-ui-stackline-CuxohB0U.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiStripPlot,t as default}from"../vue-ui-strip-plot-
|
|
1
|
+
export{t as VueUiStripPlot,t as default}from"../vue-ui-strip-plot-bYGhsPA5.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiTableHeatmap,t as default}from"../vue-ui-table-heatmap-
|
|
1
|
+
export{t as VueUiTableHeatmap,t as default}from"../vue-ui-table-heatmap-D6gpmHg8.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiTableSparkline,t as default}from"../vue-ui-table-sparkline-
|
|
1
|
+
export{t as VueUiTableSparkline,t as default}from"../vue-ui-table-sparkline-By319cB8.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiTable,t as default}from"../vue-ui-table-
|
|
1
|
+
export{t as VueUiTable,t as default}from"../vue-ui-table-lzolsJ_n.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiThermometer,t as default}from"../vue-ui-thermometer-
|
|
1
|
+
export{t as VueUiThermometer,t as default}from"../vue-ui-thermometer-B3Uv3aWc.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiTimer,t as default}from"../vue-ui-timer-
|
|
1
|
+
export{t as VueUiTimer,t as default}from"../vue-ui-timer-C6Pevf4N.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiTiremarks,t as default}from"../vue-ui-tiremarks-
|
|
1
|
+
export{t as VueUiTiremarks,t as default}from"../vue-ui-tiremarks-DeNdCFVD.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiTreemap,t as default}from"../vue-ui-treemap-
|
|
1
|
+
export{t as VueUiTreemap,t as default}from"../vue-ui-treemap-Ck9_llHA.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiVerticalBar,t as default}from"../vue-ui-horizontal-bar-
|
|
1
|
+
export{t as VueUiVerticalBar,t as default}from"../vue-ui-horizontal-bar-Do0HJy4f.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiWaffle,t as default}from"../vue-ui-waffle-
|
|
1
|
+
export{t as VueUiWaffle,t as default}from"../vue-ui-waffle-BW2SacnV.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiWheel,t as default}from"../vue-ui-wheel-
|
|
1
|
+
export{t as VueUiWheel,t as default}from"../vue-ui-wheel-BXDhx5bf.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiWordCloud,t as default}from"../vue-ui-word-cloud-
|
|
1
|
+
export{t as VueUiWordCloud,t as default}from"../vue-ui-word-cloud-DKPtoruY.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiWorld,t as default}from"../vue-ui-world-
|
|
1
|
+
export{t as VueUiWorld,t as default}from"../vue-ui-world-D9vpDbN7.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiXyCanvas,t as default}from"../vue-ui-xy-canvas-
|
|
1
|
+
export{t as VueUiXyCanvas,t as default}from"../vue-ui-xy-canvas-CBrKi3nN.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as VueUiXy,t as default}from"../vue-ui-xy-
|
|
1
|
+
export{t as VueUiXy,t as default}from"../vue-ui-xy-CMckdUft.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=`3.28.8`;export{e as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e,M as t,S as n,ct as r,st as i}from"./lib-rPeBMZrn.js";import{t as a}from"./package-
|
|
1
|
+
import{B as e,M as t,S as n,ct as r,st as i}from"./lib-rPeBMZrn.js";import{t as a}from"./package-CNWVs68D.js";function o(e,t=0){let n=Number(e);return Number.isFinite(n)?n:t}function s(e){return Array.isArray(e)?e:[]}function c(e){return Number.isFinite(Number(e))}function l(e,t={},n=``){let i=Object.entries(t).filter(([,e])=>e!=null&&e!==!1).map(([e,t])=>`${e}="${r(t)}"`).join(` `);return`<${e}${i?` ${i}`:``}>${n}</${e}>`}function u(e,t={}){let n=Object.entries(t).filter(([,e])=>e!=null&&e!==!1).map(([e,t])=>`${e}="${r(t)}"`).join(` `);return`<${e}${n?` ${n}`:``}/>`}function d(e,t={}){return l(`text`,t,i(e??``))}function f(e){return[`triangle`,`square`,`diamond`,`pentagon`,`hexagon`,`star`].includes(e)?e:`circle`}function p({dataCy:n,shape:r,plot:i,radius:a,fill:s,stroke:c,strokeWidth:l}){let d=f(r),p=o(i.x,0),m=o(i.y,0),h=o(a,4);if(d===`circle`)return u(`circle`,{"data-cy":n,cx:p,cy:m,r:h,fill:s,stroke:c,"stroke-width":l});if(d===`star`)return u(`polygon`,{"data-cy":n,points:e({plot:{x:p,y:m},radius:h}),fill:s,stroke:c,"stroke-width":l});let g={triangle:{sides:3,rotation:.52},square:{sides:4,rotation:.8},diamond:{sides:4,rotation:0},pentagon:{sides:5,rotation:.95},hexagon:{sides:6,rotation:0}}[d];return u(`path`,{"data-cy":n,d:t({plot:{x:p,y:m},radius:h,sides:g.sides,rotation:g.rotation}).path,fill:s,stroke:c,"stroke-width":l})}function m(e,t,n){let r=e;for(let e of t.split(`.`)){if(!r||typeof r!=`object`||!(e in r))return n;r=r[e]}return r??n}function h(e,t){return String(e??``).length*t*.58}function g(e,t,n){let r=m(e,`style.chart.${t}`,void 0);return r===void 0?m(e,`chart.${t}`,n):r}function _(e,t,n){let r=m(e,t,void 0);return r===void 0?g(e,t,n):r}function v(e,t=`#000000`){return n(e)||e||t}function y(e,t=`#FFFFFF`){return v(g(e,`backgroundColor`,t),t)}function b(e,t=`#2D353C`){return v(g(e,`color`,t),t)}function x(e,t){return u(`rect`,{width:e.width,height:e.height,fill:t??y(e.config)})}function S({content:e,x:t,fontSize:n,fill:r,textAnchor:a}){return String(e).split(/\n/g).map((e,o)=>l(`tspan`,{x:t,dy:o===0?0:n*1.2,fill:r,"text-anchor":a},i(e))).join(``)}function C(e,t){return String(e).split(``).reduce((e,n)=>n===` `?e+t*.28:`ilI.,:;|!`.includes(n)?e+t*.24:`()[]{}`.includes(n)?e+t*.34:`0123456789%/`.includes(n)?e+t*.5:n===n.toUpperCase()&&/[A-Z]/.test(n)?e+t*.62:e+t*.52,0)}function w(e){return e.svgTitle?l(`desc`,{"aria-hidden":`true`},i(e.svgTitle)):``}function T(){return`<desc aria-hidden="true">Composed with Vue Data UI ${a}</desc>`}export{o as _,g as a,w as c,u as d,h as f,s as g,p as h,_ as i,T as l,c as m,C as n,v as o,m as p,b as r,x as s,S as t,l as u,d as v};
|
package/dist/ssr/vue-ui-donut.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as createStaticVueUiDonut}from"../vue-ui-donut-
|
|
1
|
+
export{t as createStaticVueUiDonut}from"../vue-ui-donut-Dy4j7B9b.js";
|
package/dist/ssr/vue-ui-xy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{t as createStaticVueUiXy}from"../vue-ui-xy-
|
|
1
|
+
export{t as createStaticVueUiXy}from"../vue-ui-xy-Df5gIADT.js";
|
package/dist/ssr.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./vue-ui-xy-
|
|
1
|
+
import{t as e}from"./vue-ui-xy-Df5gIADT.js";import{t}from"./vue-ui-donut-Dy4j7B9b.js";export{t as createStaticVueUiDonut,e as createStaticVueUiXy};
|