vue-data-ui 2.7.2 → 2.7.4
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/{Arrow-Cuf9zUpa.cjs → Arrow-Bslu6In_.cjs} +1 -1
- package/dist/{Arrow-SOQeOwmT.js → Arrow-Kbu7LT-f.js} +1 -1
- package/dist/{BaseIcon-DqYzMisq.js → BaseIcon-BLhJaEYy.js} +4 -3
- package/dist/{BaseIcon-C0unoacb.cjs → BaseIcon-WIhlX3LN.cjs} +1 -1
- package/dist/{ColorPicker-DyOTLjAA.js → ColorPicker-Dlg-p-yo.js} +3 -3
- package/dist/{ColorPicker-DLNc3kpl.cjs → ColorPicker-mXlj2N11.cjs} +1 -1
- package/dist/{DataTable-C_28ZqiP.js → DataTable-DOKlm7k4.js} +2 -2
- package/dist/{DataTable-ByOfBGEi.cjs → DataTable-c3nDhwbO.cjs} +1 -1
- package/dist/{Legend-mrAy7yUC.cjs → Legend-Bhl2d6oj.cjs} +1 -1
- package/dist/{Legend-CmKaL7xe.js → Legend-CIjMjfNk.js} +2 -2
- package/dist/{PackageVersion-39l3KkzC.js → PackageVersion-BCLALL_i.js} +1 -1
- package/dist/{PackageVersion-By81XV8X.cjs → PackageVersion-DFYAej2o.cjs} +1 -1
- package/dist/PenAndPaper-CAqWCUZx.cjs +1 -0
- package/dist/PenAndPaper-CZs431Nx.js +374 -0
- package/dist/{Shape-iIO-95sh.js → Shape-D9MuIPm8.js} +1 -1
- package/dist/{Shape-x7U3IhoM.cjs → Shape-wMij_bxG.cjs} +1 -1
- package/dist/{Slicer-C49MotZz.js → Slicer-CqYLlNlU.js} +2 -2
- package/dist/{Slicer-Ct66sqV1.cjs → Slicer-Duh-nBCD.cjs} +1 -1
- package/dist/{Title-BgVFZwZZ.cjs → Title-C5w8bVlo.cjs} +1 -1
- package/dist/{Title-Co3F59jq.js → Title-UjBqdYyD.js} +1 -1
- package/dist/{Tooltip-Cr89wMKa.js → Tooltip-3NNIdJ6N.js} +1 -1
- package/dist/{Tooltip-B8E9uCVm.cjs → Tooltip-Dbe23pmt.cjs} +1 -1
- package/dist/{dom-to-png-DtBlqZMR.js → dom-to-png-6NoDv4_U.js} +1 -1
- package/dist/{dom-to-png-D9eujpXB.cjs → dom-to-png-C-_IolaZ.cjs} +1 -1
- package/dist/{img-DQDP5JIH.js → img-BxGd_UqS.js} +1 -1
- package/dist/{img-DgRUFehB.cjs → img-DCkGlbCr.cjs} +1 -1
- package/dist/{index-gC66Se26.js → index-D3VntmA9.js} +1 -1
- package/dist/{index-BeJeDy5m.cjs → index-MIJJ8liG.cjs} +1 -1
- package/dist/{pdf-Bu1ahAX2.cjs → pdf-BGp1xMhT.cjs} +1 -1
- package/dist/{pdf-lJiGVhtL.js → pdf-BpVckOt1.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -1
- package/dist/types/vue-data-ui.d.ts +2 -1
- package/dist/{useNestedProp-BusTOV-6.js → useNestedProp-DTlOqz2P.js} +1 -1
- package/dist/{useNestedProp-CF-iHhIC.cjs → useNestedProp-DwR4JSzw.cjs} +1 -1
- package/dist/{usePrinter-KMFl0n0s.js → usePrinter-H3tAjGXs.js} +3 -3
- package/dist/{usePrinter-Bz_kd3vb.cjs → usePrinter-U1x-RAEA.cjs} +1 -1
- package/dist/{vue-data-ui-Bak-lr4I.cjs → vue-data-ui-BuY9ggUz.cjs} +1 -1
- package/dist/{vue-data-ui-BApY_erH.js → vue-data-ui-DFwVHeO8.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DeTBYGV_.cjs +19 -0
- package/dist/{vue-ui-3d-bar-BWjU0K3_.js → vue-ui-3d-bar-NNib9NTc.js} +30 -30
- package/dist/{vue-ui-accordion-j2beIma_.js → vue-ui-accordion-DGJQIcdB.js} +3 -3
- package/dist/{vue-ui-accordion-CZBJSHT_.cjs → vue-ui-accordion-cBSqrYy3.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Cmw4WVB4.js → vue-ui-age-pyramid-DWG7C-nA.js} +22 -22
- package/dist/vue-ui-age-pyramid-DfGSS3SE.cjs +1 -0
- package/dist/{vue-ui-annotator-BVv5XkoE.cjs → vue-ui-annotator-Bpy0V7AA.cjs} +1 -1
- package/dist/{vue-ui-annotator-CKmqZjUD.js → vue-ui-annotator-D21j4NL0.js} +2 -2
- package/dist/vue-ui-bullet-CrgeKJBE.cjs +34 -0
- package/dist/{vue-ui-bullet-U_yJjO0m.js → vue-ui-bullet-MrNlqcTX.js} +36 -36
- package/dist/vue-ui-candlestick-DfEQ057F.cjs +2 -0
- package/dist/{vue-ui-candlestick-DhdlFIQE.js → vue-ui-candlestick-Dgwjzuq0.js} +11 -11
- package/dist/{vue-ui-carousel-table-BhC5cEe3.cjs → vue-ui-carousel-table-B9AHiJLA.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Ej7qzKkp.js → vue-ui-carousel-table-TOSDOJ0J.js} +4 -4
- package/dist/{vue-ui-chestnut-BzNHXzDj.cjs → vue-ui-chestnut-BQwGKI2l.cjs} +1 -1
- package/dist/{vue-ui-chestnut-L0bS5jtX.js → vue-ui-chestnut-DAlxKIqD.js} +32 -32
- package/dist/vue-ui-circle-pack-B9HW-E4V.cjs +1 -0
- package/dist/{vue-ui-circle-pack-DwCzeO3L.js → vue-ui-circle-pack-BjD7UG4l.js} +44 -44
- package/dist/{vue-ui-cursor-0mZP5nBc.cjs → vue-ui-cursor-Bv_hn_5f.cjs} +1 -1
- package/dist/{vue-ui-cursor-DwHdXwLS.js → vue-ui-cursor-CS0L4MjH.js} +2 -2
- package/dist/{vue-ui-dashboard-DILmOchy.js → vue-ui-dashboard-Cu4QabFb.js} +3 -3
- package/dist/{vue-ui-dashboard-CegApY8_.cjs → vue-ui-dashboard-DGJjS8TM.cjs} +1 -1
- package/dist/{vue-ui-digits-me8Nky0A.cjs → vue-ui-digits-BusMzORo.cjs} +1 -1
- package/dist/{vue-ui-digits-Dbwzk-sl.js → vue-ui-digits-CrqD5QXP.js} +2 -2
- package/dist/{vue-ui-donut-DwE-iZSV.js → vue-ui-donut-CbDkvk9s.js} +12 -12
- package/dist/{vue-ui-donut-evolution-DhFABvEv.js → vue-ui-donut-evolution-DKD_efmP.js} +69 -69
- package/dist/vue-ui-donut-evolution-Dul--Pi_.cjs +1 -0
- package/dist/vue-ui-donut-vqs5auMD.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Cqq4iV6-.js → vue-ui-dumbbell-BGN-Rshy.js} +52 -52
- package/dist/{vue-ui-dumbbell-CL15d-aQ.cjs → vue-ui-dumbbell-CB6lYwMc.cjs} +1 -1
- package/dist/vue-ui-flow-CDPkL02l.cjs +1 -0
- package/dist/{vue-ui-flow-CU-orj9I.js → vue-ui-flow-g93Xo1mO.js} +75 -75
- package/dist/vue-ui-funnel-D1PhFKgP.cjs +1 -0
- package/dist/{vue-ui-funnel-DQmQmdNV.js → vue-ui-funnel-r_WI2IRS.js} +28 -28
- package/dist/{vue-ui-galaxy-nqyCbQ9j.js → vue-ui-galaxy-B4JnwjLW.js} +39 -39
- package/dist/vue-ui-galaxy-DSXcoM3k.cjs +1 -0
- package/dist/{vue-ui-gauge-BV3CJfqe.js → vue-ui-gauge-BPz7mbOb.js} +26 -26
- package/dist/vue-ui-gauge-Ct1Knstr.cjs +1 -0
- package/dist/{vue-ui-gizmo-CJwSAsxs.js → vue-ui-gizmo-BbUqDkQz.js} +3 -3
- package/dist/{vue-ui-gizmo-CNRAH2zT.cjs → vue-ui-gizmo-tet3qRDX.cjs} +1 -1
- package/dist/{vue-ui-heatmap-B1s7KejC.js → vue-ui-heatmap-BbmFxESu.js} +10 -10
- package/dist/vue-ui-heatmap-RHN_eSK2.cjs +1 -0
- package/dist/vue-ui-history-plot-B8_Kig_-.cjs +1 -0
- package/dist/{vue-ui-history-plot-z_KFt5z_.js → vue-ui-history-plot-CJFtY1Rm.js} +35 -35
- package/dist/{vue-ui-kpi-FaGp6_XP.cjs → vue-ui-kpi-C0IWPkaZ.cjs} +1 -1
- package/dist/{vue-ui-kpi-DabR5K70.js → vue-ui-kpi-CQo8VsEv.js} +3 -3
- package/dist/{vue-ui-mini-loader-w-BmywLJ.js → vue-ui-mini-loader-8wZYNxLC.js} +2 -2
- package/dist/{vue-ui-mini-loader-_plxZxma.cjs → vue-ui-mini-loader-DoOFKxep.cjs} +1 -1
- package/dist/{vue-ui-molecule-aiWG--to.js → vue-ui-molecule-DHb8Roml.js} +45 -45
- package/dist/{vue-ui-molecule-3ClCLk7L.cjs → vue-ui-molecule-HnReqNMq.cjs} +1 -1
- package/dist/vue-ui-mood-radar-BjmCUY0q.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DwxCn06q.js → vue-ui-mood-radar-CdBmESCg.js} +40 -40
- package/dist/{vue-ui-nested-donuts-ONgAaLY-.js → vue-ui-nested-donuts-CO7sSeR-.js} +65 -65
- package/dist/vue-ui-nested-donuts-SBaCzHQP.cjs +17 -0
- package/dist/vue-ui-onion-BehdICTa.cjs +5 -0
- package/dist/{vue-ui-onion-DjoQuBo8.js → vue-ui-onion-Ci15BQ0y.js} +75 -75
- package/dist/{vue-ui-parallel-coordinate-plot-DWGVzaHE.js → vue-ui-parallel-coordinate-plot-BJbrb-Mp.js} +38 -38
- package/dist/vue-ui-parallel-coordinate-plot-BLLONfts.cjs +8 -0
- package/dist/{vue-ui-quadrant-CgiD9c7i.js → vue-ui-quadrant-BZTZY3LG.js} +54 -54
- package/dist/vue-ui-quadrant-ntmlYIVx.cjs +1 -0
- package/dist/{vue-ui-quick-chart-5NiRxtpD.js → vue-ui-quick-chart-B2OUF1Pk.js} +9 -9
- package/dist/vue-ui-quick-chart-BCdm0tx2.cjs +15 -0
- package/dist/vue-ui-radar-CUoLdojY.cjs +1 -0
- package/dist/{vue-ui-radar-CfKAy0nI.js → vue-ui-radar-D8DHrSPP.js} +55 -55
- package/dist/{vue-ui-rating-yiM_5H0W.cjs → vue-ui-rating-BWlmz08s.cjs} +1 -1
- package/dist/{vue-ui-rating-CbZvsZNv.js → vue-ui-rating-D4H6cT0d.js} +2 -2
- package/dist/{vue-ui-relation-circle-RRK2jhHr.js → vue-ui-relation-circle-CWvX8cvJ.js} +7 -7
- package/dist/vue-ui-relation-circle-DighSxmd.cjs +1 -0
- package/dist/vue-ui-rings-CPIzjzdm.cjs +2 -0
- package/dist/{vue-ui-rings-CiMKMEpp.js → vue-ui-rings-Dq5YT7h-.js} +62 -62
- package/dist/{vue-ui-scatter-9PFXuvoo.js → vue-ui-scatter-BMuJyp6q.js} +44 -44
- package/dist/vue-ui-scatter-BSgMQLjw.cjs +1 -0
- package/dist/{vue-ui-skeleton-KW-jcPRN.cjs → vue-ui-skeleton-DOE444ST.cjs} +1 -1
- package/dist/{vue-ui-skeleton-7Zfds6H1.js → vue-ui-skeleton-pHcbvN3-.js} +3 -3
- package/dist/{vue-ui-smiley-D0jhMBUh.js → vue-ui-smiley-BsPExuQ7.js} +2 -2
- package/dist/{vue-ui-smiley-BNQlshyY.cjs → vue-ui-smiley-bHv8hVve.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CLm12POW.cjs → vue-ui-spark-trend-S0FbKqDW.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D8nDY0fS.js → vue-ui-spark-trend-eJ5IZSRQ.js} +5 -5
- package/dist/{vue-ui-sparkbar-ChEbpWYC.cjs → vue-ui-sparkbar-B1pwFeeg.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-wKlwMCph.js → vue-ui-sparkbar-B9E03kBf.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DG824sGI.cjs → vue-ui-sparkgauge-BpAFpJN9.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CvhIe_mP.js → vue-ui-sparkgauge-CbtRwF8H.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B8k8a538.cjs → vue-ui-sparkhistogram-4gAnz36n.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CVmbTFTc.js → vue-ui-sparkhistogram-BJfFPQ-X.js} +5 -5
- package/dist/{vue-ui-sparkline-7wnWuXDQ.cjs → vue-ui-sparkline-CJ8rlJiI.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CtqAbSzZ.js → vue-ui-sparkline-CLz-PMi0.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DfwEeUC5.js → vue-ui-sparkstackbar-C5ZzOhRM.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-57SONMGP.cjs → vue-ui-sparkstackbar-ja3t34Mt.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CGSVPiPx.js → vue-ui-stackbar-BnuJOk6L.js} +86 -86
- package/dist/vue-ui-stackbar-DSWEq3Pa.cjs +6 -0
- package/dist/{vue-ui-strip-plot-fJFkn8_0.js → vue-ui-strip-plot-Cbr3Dkmd.js} +36 -36
- package/dist/vue-ui-strip-plot-CyiaXAxw.cjs +1 -0
- package/dist/{vue-ui-table-Das3959J.cjs → vue-ui-table-CPJeRMDV.cjs} +1 -1
- package/dist/{vue-ui-table-CliL2Wsp.js → vue-ui-table-Cr6jEi4z.js} +1 -1
- package/dist/{vue-ui-table-heatmap-C28ozf2S.cjs → vue-ui-table-heatmap-BfKruH6W.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-ZsJMMGpG.js → vue-ui-table-heatmap-C0J52xWN.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CrQNShdH.js → vue-ui-table-sparkline-C9PHXjbW.js} +5 -5
- package/dist/{vue-ui-table-sparkline-0i9FAXug.cjs → vue-ui-table-sparkline-CGUs_6Ij.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BaGL6WSb.js → vue-ui-thermometer-Cs8Xt7tQ.js} +50 -50
- package/dist/vue-ui-thermometer-DWC--OtD.cjs +1 -0
- package/dist/{vue-ui-timer-CFtgJ_Vi.cjs → vue-ui-timer-DD0VvMEs.cjs} +1 -1
- package/dist/{vue-ui-timer-Nk94fV-n.js → vue-ui-timer-DDZHmPLV.js} +5 -5
- package/dist/vue-ui-tiremarks-B_koqVkj.cjs +1 -0
- package/dist/{vue-ui-tiremarks-zYgdq_99.js → vue-ui-tiremarks-DHAdNbAA.js} +25 -25
- package/dist/vue-ui-treemap-C_yhbpyF.cjs +1 -0
- package/dist/{vue-ui-treemap-CAxPcxn-.js → vue-ui-treemap-CfH-P5Oh.js} +12 -12
- package/dist/vue-ui-vertical-bar-BRplGFjj.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-Di3FBkwJ.js → vue-ui-vertical-bar-oBdc4YQS.js} +80 -80
- package/dist/vue-ui-waffle-Bg5T7RVn.cjs +1 -0
- package/dist/{vue-ui-waffle-DBJAQsEf.js → vue-ui-waffle-DZ2zIujl.js} +45 -45
- package/dist/{vue-ui-wheel-BTZEr2Vs.js → vue-ui-wheel-BerXCO4A.js} +27 -27
- package/dist/vue-ui-wheel-Bj3Z92nh.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BEaRWIu-.cjs → vue-ui-word-cloud-BWQ1ogz9.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DBCVUkLM.js → vue-ui-word-cloud-U5KISxTe.js} +72 -72
- package/dist/{vue-ui-xy-DbN93Pcf.cjs → vue-ui-xy-C078AHoi.cjs} +2 -2
- package/dist/vue-ui-xy-canvas-BpblELcE.js +1672 -0
- package/dist/vue-ui-xy-canvas-C76OoGNJ.cjs +9 -0
- package/dist/{vue-ui-xy-aKaGgYGL.js → vue-ui-xy-y9zEQYMK.js} +16 -16
- package/package.json +1 -1
- package/dist/PenAndPaper-CmcfpltX.js +0 -243
- package/dist/PenAndPaper-DNbX5hR8.cjs +0 -1
- package/dist/vue-ui-3d-bar-CmbTiJVx.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Sv-HbbDJ.cjs +0 -1
- package/dist/vue-ui-bullet-vcmTY4AX.cjs +0 -34
- package/dist/vue-ui-candlestick-DQT-8PRz.cjs +0 -2
- package/dist/vue-ui-circle-pack-CVLJs0XP.cjs +0 -1
- package/dist/vue-ui-donut-FoRYusUX.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BIK2yfIJ.cjs +0 -1
- package/dist/vue-ui-flow-N825fjRf.cjs +0 -1
- package/dist/vue-ui-funnel-B6XMYl89.cjs +0 -1
- package/dist/vue-ui-galaxy-p-sbDnSY.cjs +0 -1
- package/dist/vue-ui-gauge-DsZFk8T_.cjs +0 -1
- package/dist/vue-ui-heatmap-VXgeMOwT.cjs +0 -1
- package/dist/vue-ui-history-plot-JmeGiR--.cjs +0 -1
- package/dist/vue-ui-mood-radar-CO5sPVVG.cjs +0 -1
- package/dist/vue-ui-nested-donuts-D0nALasd.cjs +0 -17
- package/dist/vue-ui-onion-CBqx4q4k.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-uNCmnSvz.cjs +0 -8
- package/dist/vue-ui-quadrant-BOkyMgCm.cjs +0 -1
- package/dist/vue-ui-quick-chart-BRp_bNso.cjs +0 -15
- package/dist/vue-ui-radar-BpicgiWF.cjs +0 -1
- package/dist/vue-ui-relation-circle-Dg6rdyGP.cjs +0 -1
- package/dist/vue-ui-rings-A49lyv-J.cjs +0 -2
- package/dist/vue-ui-scatter-C_jHsy8M.cjs +0 -1
- package/dist/vue-ui-stackbar--0FZ_eBi.cjs +0 -6
- package/dist/vue-ui-strip-plot-C_ggDAQ-.cjs +0 -1
- package/dist/vue-ui-thermometer-h0rymM2v.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cj8-XGcp.cjs +0 -1
- package/dist/vue-ui-treemap-CybL6mVf.cjs +0 -1
- package/dist/vue-ui-vertical-bar-D4IkwvAB.cjs +0 -4
- package/dist/vue-ui-waffle-7otLUrER.cjs +0 -1
- package/dist/vue-ui-wheel-BUJXtmeP.cjs +0 -1
- package/dist/vue-ui-xy-canvas-CF_lqLg-.cjs +0 -9
- package/dist/vue-ui-xy-canvas-CVQ__d4u.js +0 -1500
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),A=require("./pdf-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),A=require("./pdf-BGp1xMhT.cjs"),G=require("./useNestedProp-DwR4JSzw.cjs"),$=require("./index-MIJJ8liG.cjs"),J=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),K={key:0,"data-dom-to-png-ignore":"",style:{width:"100%",display:"flex","justify-content":"end"}},Q=["disabled"],Z=["stroke"],ee={key:1},te=["id"],oe=["onMousedown","onTouchstart"],ae=["onMousedown","onTouchstart"],le=["onMousedown","onTouchstart"],ne=["onMousedown","onTouchstart"],ue=["onMousedown","onTouchstart"],M=20,se={__name:"vue-ui-dashboard",props:{dataset:Array,config:Object},emits:["change"],setup(x,{expose:S,emit:X}){o.useCssVars(e=>({"2f859c13":F.value,"34772da7":R.value}));const{vue_ui_dashboard:Y}=$.useConfig(),_=x,r=o.computed(()=>G.useNestedProp({userConfig:_.config,defaultConfig:Y})),E=o.ref($.createUid()),d=o.ref(r.value.locked);function V(){d.value=!d.value}const s=o.ref(_.dataset.map((e,t)=>({...e,index:t}))),h=o.ref(null),u=o.ref(null),v=o.ref({x:0,y:0}),f=o.ref({x:0,y:0}),i=o.ref(null),c=o.ref(!1),p=o.ref(null),m=o.ref(!1),b=o.ref(!1);function z(e){const t=e.target;(t.tagName==="INPUT"&&t.type==="range"||t.classList.contains("range-handle"))&&(b.value=!0)}function N(e){const t=e.target;t.tagName==="INPUT"&&t.type==="range"&&(b.value=!1)}function C(){m.value=!0,A.default({domElement:document.getElementById(`vue-ui-dashboard_${E.value}`),fileName:"vue-ui-dashboard"}).finally(()=>{m.value=!1})}function H(e){if(!d.value&&(c.value=!0,p.value=e,u.value===null)){h.value=e,v.value={x:event.clientX,y:event.clientY};const t=s.value[e],l=100-t.width,a=100-t.height;t.left<0&&(t.left=0),t.top<0&&(t.top=0),t.left>l&&(t.left=l),t.top>a&&(t.top=a),t.left<0&&(t.left=0),t.top<0&&(t.top=0),t.left+t.width>100&&(t.left=100-t.width),t.top+t.height>100&&(t.top=100-t.height)}}function y(e,t){c.value=!0,p.value=e,u.value={index:e,direction:t};const l=s.value[e];f.value={x:event.clientX,y:event.clientY,initialWidth:l.width,initialHeight:l.height}}function B(e,t,l){if(u.value.direction.includes("top")){const a=e.height-l/i.value.offsetHeight*100;a>=M&&(e.top+=l/i.value.offsetHeight*100,e.height=a)}if(u.value.direction.includes("bottom")){const a=e.height+l/i.value.offsetHeight*100;a>=M&&(e.height=a)}if(u.value.direction.includes("left")){const a=e.width-t/i.value.offsetWidth*100;a>=M&&(e.left+=t/i.value.offsetWidth*100,e.width=a)}if(u.value.direction.includes("right")){const a=e.width+t/i.value.offsetWidth*100;a>=M&&(e.width=a)}}function I(e){if(!(d.value||b.value)){if(c.value=!0,h.value!==null){const t=s.value[h.value],l=e.clientX-v.value.x,a=e.clientY-v.value.y,n=t.left+l/i.value.offsetWidth*100,g=t.top+a/i.value.offsetHeight*100;n>=0&&g>=0&&n+t.width<=100&&g+t.height<=100&&(t.left=n,t.top=g),v.value={x:e.clientX,y:e.clientY}}if(u.value!==null){const t=s.value[u.value.index],l=e.clientX-f.value.x,a=e.clientY-f.value.y;B(t,l,a),f.value={x:e.clientX,y:e.clientY}}}}const P=X;o.watch(s,e=>{e&&!c.value&&P("change",s.value)},{deep:!0});function D(){h.value=null,u.value=null,c.value=!1,p.value=null,s.value.forEach(e=>{e.left=Math.round(e.left/100*100),e.top=Math.round(e.top/100*100),e.width=Math.round(e.width/100*100),e.height=Math.round(e.height/100*100)})}function L(e){d.value||b.value||(c.value=!0,p.value=e,u.value===null&&(h.value=e,v.value={x:event.touches[0].clientX,y:event.touches[0].clientY}))}function k(e,t,l){if(c.value=!0,p.value=e,u.value===null){u.value={index:e,direction:t};const a=s.value[e];f.value={x:l.touches[0].clientX,y:l.touches[0].clientY,initialWidth:a.width,initialHeight:a.height}}}function T(e){if(c.value=!0,e.preventDefault(),u.value!==null){const t=s.value[u.value.index],l=e.touches[0].clientX-f.value.x,a=e.touches[0].clientY-f.value.y;B(t,l,a),f.value={x:e.touches[0].clientX,y:e.touches[0].clientY}}}function W(e){if(!(d.value||b.value)&&(c.value=!0,e.preventDefault(),h.value!==null)){const t=s.value[h.value],l=e.touches[0].clientX-v.value.x,a=e.touches[0].clientY-v.value.y,n=t.left+l/i.value.offsetWidth*100,g=t.top+a/i.value.offsetHeight*100;n>=0&&g>=0&&n+t.width<=100&&g+t.height<=100&&(t.left=n,t.top=g),v.value={x:e.touches[0].clientX,y:e.touches[0].clientY}}}function w(){c.value=!1,p.value=null,h.value=null,u.value=null,s.value.forEach(e=>{e.left=Math.round(e.left/100*100),e.top=Math.round(e.top/100*100),e.width=Math.round(e.width/100*100),e.height=Math.round(e.height/100*100)})}const F=o.computed(()=>r.value.style.item.borderColor),R=o.computed(()=>r.value.style.resizeHandles.backgroundColor),q=o.computed(()=>r.value.style.board.aspectRatio),O=o.computed(()=>r.value.style.board.backgroundColor),U=o.computed(()=>r.value.style.board.border);function j(){return s.value}return S({generatePdf:C,getItemsPositions:j,toggleLock:V}),(e,t)=>(o.openBlock(),o.createElementBlock("div",{onMousedown:z,onMouseup:N,onTouchstart:z,onTouchend:N},[r.value.allowPrint?(o.openBlock(),o.createElementBlock("div",K,[o.createElementVNode("button",{class:"vue-ui-dashboard-button",onClick:C,disabled:m.value,style:o.normalizeStyle([{"margin-top":"12px"},`color:${r.value.style.board.color}`])},[m.value?(o.openBlock(),o.createElementBlock("svg",{key:0,class:"vue-ui-dashboard-print-icon",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:r.value.style.board.color,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},t[4]||(t[4]=[o.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-4f47ba9c></path><path d="M18 16v.01" data-v-4f47ba9c></path><path d="M6 16v.01" data-v-4f47ba9c></path><path d="M12 5v.01" data-v-4f47ba9c></path><path d="M12 12v.01" data-v-4f47ba9c></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-4f47ba9c></path>',6)]),8,Z)):(o.openBlock(),o.createElementBlock("span",ee,"PDF"))],12,Q)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"vue-ui-dashboard-container",ref_key:"dashboardContainer",ref:i,id:`vue-ui-dashboard_${E.value}`,style:o.normalizeStyle(`border:${U.value}; sbackground:${O.value}; aspect-ratio:${q.value}`)},[o.createElementVNode("div",{class:"vue-ui-dashboard-grid-container",ref:"container",onMousemove:I,onMouseup:D,onTouchmove:W,onTouchend:w,style:o.normalizeStyle(`background:${r.value.style.board.backgroundColor}`)},[t[5]||(t[5]=o.createElementVNode("div",{class:"vue-ui-dashboard-grid"},null,-1)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,(l,a)=>(o.openBlock(),o.createElementBlock("div",{key:l.id,class:o.normalizeClass({"vue-ui-dashboard-grid-item":!0,"vue-ui-dashboard-grid-item--locked":d.value}),style:o.normalizeStyle({width:`${l.width}%`,height:`${l.height}%`,left:`${l.left}%`,top:`${l.top}%`,cursor:"move",boxShadow:p.value===a?"0 6px 12px -3px rgba(0,0,0,0.3)":"",zIndex:p.value===a?s.value.length+1:l.index,backgroundColor:r.value.style.item.backgroundColor}),onMousedown:n=>H(a),onTouchstart:n=>L(a)},[d.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("div",{class:"vue-ui-dashboard-resize-handle vue-ui-dashboard-top-left",onMousedown:n=>y(a,"top-left"),onTouchstart:n=>k(a,"top-left",n),onTouchmove:t[0]||(t[0]=n=>T(n)),onTouchend:w},null,40,ae),o.createElementVNode("div",{class:"vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",onMousedown:n=>y(a,"top-right"),onTouchstart:n=>k(a,"top-right",n),onTouchmove:t[1]||(t[1]=n=>T(n)),onTouchend:w},null,40,le),o.createElementVNode("div",{class:"vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",onMousedown:n=>y(a,"bottom-left"),onTouchstart:n=>k(a,"bottom-left",n),onTouchmove:t[2]||(t[2]=n=>T(n)),onTouchend:w},null,40,ne),o.createElementVNode("div",{class:"vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",onMousedown:n=>y(a,"bottom-right"),onTouchstart:n=>k(a,"bottom-right",n),onTouchmove:t[3]||(t[3]=n=>T(n)),onTouchend:w},null,40,ue)],64)),o.renderSlot(e.$slots,"content",{item:l,index:a,left:l.left,top:l.top,height:l.height,width:l.width},void 0,!0)],46,oe))),128))],36)],12,te)],32))}},re=J._export_sfc(se,[["__scopeId","data-v-4f47ba9c"]]);exports.default=re;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),g=require("./useNestedProp-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),g=require("./useNestedProp-DwR4JSzw.cjs"),L=require("./index-MIJJ8liG.cjs"),f={key:0},m=["d","fill"],k=["d","fill"],h=["d","fill"],v=["d","fill"],C=["d","fill"],N=["d","fill"],b=["d","fill"],B={key:1},E=["cx","cy","fill"],q={__name:"Digit",props:{quanta:{type:String,default:null},backgroundColor:{type:String,default:"#e1e5e8"},color:{type:String,default:"#000000"},x:{type:Number,default:0},y:{type:Number,default:0}},setup(e){const $=e,u=t.ref({0:"1111110",1:"0110000",2:"1101101",3:"1111001",4:"0110011",5:"1011011",6:"1011111",7:"1110000",8:"1111111",9:"1111011","-":"0000001",X:"0000000"}),l=t.computed(()=>[void 0,null].includes($.quanta)?u.value.X:u.value[$.quanta]);return(a,x)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[[void 0,null,"."].includes(e.quanta)?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("g",f,[t.createElementVNode("path",{d:`M ${e.x} ${e.y} L ${e.x+2} ${e.y-2} L ${e.x+24} ${e.y-2} L ${e.x+26} ${e.y} L ${e.x+24} ${e.y+2} L ${e.x+2} ${e.y+2}Z`,fill:l.value[0]==1?e.color:e.backgroundColor,stroke:"none"},null,8,m),t.createElementVNode("path",{d:`M ${e.x+26} ${e.y+26} L ${e.x+26} ${e.y+4} L ${e.x+28} ${e.y+2} L ${e.x+30} ${e.y+4} L ${e.x+30} ${e.y+26} L ${e.x+28} ${e.y+28} L ${e.x+26} ${e.y+26}`,fill:l.value[1]==1?e.color:e.backgroundColor,stroke:"none"},null,8,k),t.createElementVNode("path",{d:`M ${e.x+26} ${e.y+56} L ${e.x+26} ${e.y+34} L ${e.x+28} ${e.y+32} L ${e.x+30} ${e.y+34} L ${e.x+30} ${e.y+56} L ${e.x+28} ${e.y+58} L ${e.x+26} ${e.y+56}`,fill:l.value[2]==1?e.color:e.backgroundColor,stroke:"none"},null,8,h),t.createElementVNode("path",{d:`M ${e.x+2} ${e.y+58} L ${e.x} ${e.y+60} L ${e.x+2} ${e.y+62} L ${e.x+24} ${e.y+62} L ${e.x+26} ${e.y+60} L ${e.x+24} ${e.y+58} L ${e.x+2} ${e.y+58}`,fill:l.value[3]==1?e.color:e.backgroundColor,stroke:"none"},null,8,v),t.createElementVNode("path",{d:`M ${e.x} ${e.y+34} L ${e.x-2} ${e.y+32} L ${e.x-4} ${e.y+34} L ${e.x-4} ${e.y+56} L ${e.x-2} ${e.y+58} L ${e.x} ${e.y+56} L ${e.x} ${e.y+34}`,fill:l.value[4]==1?e.color:e.backgroundColor,stroke:"none"},null,8,C),t.createElementVNode("path",{d:`M ${e.x-2} ${e.y+2} L ${e.x} ${e.y+4} L ${e.x} ${e.y+26} L ${e.x-2} ${e.y+28} L ${e.x-4} ${e.y+26} L ${e.x-4} ${e.y+4} L ${e.x-2} ${e.y+2}`,fill:l.value[5]==1?e.color:e.backgroundColor,stroke:"none"},null,8,N),t.createElementVNode("path",{d:`M ${e.x+2} ${e.y+28} L ${e.x} ${e.y+30} L ${e.x+2} ${e.y+32} L ${e.x+24} ${e.y+32} L ${e.x+26} ${e.y+30} L ${e.x+24} ${e.y+28} L ${e.x+2} ${e.y+28}`,fill:l.value[6]==1?e.color:e.backgroundColor,stroke:"none"},null,8,b)])),e.quanta=="."?(t.openBlock(),t.createElementBlock("g",B,[t.createElementVNode("circle",{cx:e.x-8,cy:e.y+60,r:3,fill:e.color},null,8,E)])):t.createCommentVNode("",!0)],64))}},M=["xmlns","viewBox"],V={__name:"vue-ui-digits",props:{dataset:{type:Number,default:0},config:{type:Object,default(){return{}}}},setup(e){const{vue_ui_digits:$}=L.useConfig(),u=e,l=t.computed(()=>g.useNestedProp({userConfig:u.config,defaultConfig:$})),a=t.computed(()=>{const c=(u.dataset||0).toString().split(""),i=[],n={x:10,y:10};let d=0;for(let y=0;y<c.length;y+=1){const o=c[y];i.push({x:n.x+d,y:n.y,quanta:o}),o=="."?d+=2:d+=44}return i}),x=t.computed(()=>Math.max(...a.value.map(c=>c.x))+36);return(c,i)=>(t.openBlock(),t.createElementBlock("svg",{class:"vue-ui-digits",xmlns:t.unref(L.XMLNS),viewBox:`0 0 ${x.value} 80`,style:t.normalizeStyle(`background:${l.value.backgroundColor};${l.value.height?`height:${l.value.height};`:""}${l.value.width?`width:${l.value.width}`:""}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value,n=>(t.openBlock(),t.createBlock(q,{x:n.x,y:n.y,quanta:n.quanta,color:l.value.digits.color,backgroundColor:l.value.digits.skeletonColor},null,8,["x","y","quanta","color","backgroundColor"]))),256))],12,M))}};exports.default=V;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as k, computed as d, createElementBlock as i, openBlock as $, Fragment as o, createCommentVNode as m, createElementVNode as l, normalizeStyle as v, unref as C, renderList as b, createBlock as N } from "vue";
|
|
2
|
-
import { u as q } from "./useNestedProp-
|
|
3
|
-
import { u as M, X as S } from "./index-
|
|
2
|
+
import { u as q } from "./useNestedProp-DTlOqz2P.js";
|
|
3
|
+
import { u as M, X as S } from "./index-D3VntmA9.js";
|
|
4
4
|
const w = { key: 0 }, B = ["d", "fill"], F = ["d", "fill"], X = ["d", "fill"], E = ["d", "fill"], I = ["d", "fill"], O = ["d", "fill"], A = ["d", "fill"], D = { key: 1 }, G = ["cx", "cy", "fill"], V = {
|
|
5
5
|
__name: "Digit",
|
|
6
6
|
props: {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { useSlots as ct, computed as w, ref as d, onMounted as dt, onBeforeUnmount as ht, watch as je, createElementBlock as u, openBlock as o, unref as n, normalizeStyle as z, normalizeClass as de, createBlock as R, createCommentVNode as i, renderSlot as g, createElementVNode as p, createVNode as he, createSlots as We, withCtx as x, normalizeProps as H, guardReactiveProps as E, Fragment as b, renderList as F, mergeProps as He, toDisplayString as C, createTextVNode as Ee, nextTick as yt } from "vue";
|
|
2
|
-
import { u as ft, o as pt, e as qe, g as gt, c as bt, b as mt, d as Je, p as U, m as wt, H as kt, f as O, X as _t, s as Z, w as xt, j as $t, I as L, i as A, k as ee, n as k, t as Ct, a as Pt, q as St, r as Ft, x as Lt } from "./index-
|
|
2
|
+
import { u as ft, o as pt, e as qe, g as gt, c as bt, b as mt, d as Je, p as U, m as wt, H as kt, f as O, X as _t, s as Z, w as xt, j as $t, I as L, i as A, k as ee, n as k, t as Ct, a as Pt, q as St, r as Ft, x as Lt } from "./index-D3VntmA9.js";
|
|
3
3
|
import { t as Tt, u as zt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
4
|
-
import { _ as Ot } from "./Title-
|
|
5
|
-
import { u as Yt, U as At } from "./usePrinter-
|
|
6
|
-
import { D as Nt } from "./DataTable-
|
|
7
|
-
import { _ as Xt } from "./Tooltip-
|
|
8
|
-
import { L as It } from "./Legend-
|
|
9
|
-
import Dt from "./vue-ui-skeleton-
|
|
10
|
-
import Mt from "./vue-ui-accordion-
|
|
11
|
-
import { u as Ke } from "./useNestedProp-
|
|
12
|
-
import { _ as Bt } from "./PackageVersion-
|
|
13
|
-
import {
|
|
4
|
+
import { _ as Ot } from "./Title-UjBqdYyD.js";
|
|
5
|
+
import { u as Yt, U as At } from "./usePrinter-H3tAjGXs.js";
|
|
6
|
+
import { D as Nt } from "./DataTable-DOKlm7k4.js";
|
|
7
|
+
import { _ as Xt } from "./Tooltip-3NNIdJ6N.js";
|
|
8
|
+
import { L as It } from "./Legend-CIjMjfNk.js";
|
|
9
|
+
import Dt from "./vue-ui-skeleton-pHcbvN3-.js";
|
|
10
|
+
import Mt from "./vue-ui-accordion-DGJQIcdB.js";
|
|
11
|
+
import { u as Ke } from "./useNestedProp-DTlOqz2P.js";
|
|
12
|
+
import { _ as Bt } from "./PackageVersion-BCLALL_i.js";
|
|
13
|
+
import { _ as Vt } from "./PenAndPaper-CZs431Nx.js";
|
|
14
14
|
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
-
import { _ as Rt } from "./Shape-
|
|
15
|
+
import { _ as Rt } from "./Shape-D9MuIPm8.js";
|
|
16
16
|
import { u as Ut } from "./useChartAccessibility-BWojgys7.js";
|
|
17
17
|
import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const Wt = ["id"], Ht = ["xmlns", "viewBox"], Et = ["width", "height"], qt = { key: 1 }, Jt = ["id"], Kt = ["stop-color"], Qt = ["offset", "stop-color"], Zt = ["offset", "stop-color"], el = ["stop-color"], tl = { key: 2 }, ll = ["id", "cx", "cy"], al = ["stop-color", "stop-opacity"], ol = ["stop-color"], ul = ["id"], sl = ["id"], nl = ["id"], rl = ["flood-color"], il = ["id"], vl = ["flood-color"], cl = ["d", "stroke", "filter"], dl = ["x1", "y1", "x2", "y2", "stroke", "filter"], hl = ["cx", "cy", "r", "fill", "filter"], yl = { key: 6 }, fl = ["stroke", "d"], pl = { key: 0 }, gl = ["d", "fill", "stroke", "stroke-width", "filter"], bl = ["d", "fill", "stroke", "stroke-width", "filter"], ml = { key: 0 }, wl = ["stroke", "d"], kl = { key: 0 }, _l = ["d", "stroke", "stroke-width", "filter"], xl = { key: 1 }, $l = ["d", "fill", "stroke", "stroke-width", "filter"], Cl = ["d", "fill", "stroke", "stroke-width", "filter"], Pl = { key: 1 }, Sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Fl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ll = ["cx", "cy", "r", "stroke"], Tl = ["cx", "cy", "r", "fill"], zl = { key: 0 }, Ol = ["d", "fill", "onMouseenter", "onClick"], Yl = { key: 1 }, Al = ["cx", "cy", "r", "fill"], Nl = ["x", "y", "fill", "font-size"], Xl = ["x", "y", "fill", "font-size"], Il = ["x", "y", "fill", "font-size"], Dl = ["x", "y", "fill", "font-size"], Ml = ["filter"], Bl = { key: 0 }, Vl = ["x", "y"], Gl = { key: 1 }, Rl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ul = ["cx", "cy", "fill", "stroke", "filter", "onClick"], jl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Wl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Hl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], El = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ql = { key: 2 }, Jl = ["x", "y", "width"], Kl = ["x", "y", "width"], Ql = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as x, ref as b, onMounted as vt, watch as Ue, createElementBlock as o, openBlock as a, unref as c, normalizeStyle as Z, normalizeClass as
|
|
2
|
-
import { u as ft, o as gt, e as Q, g as bt, c as Xe, t as mt, p as ee, a as pt, C as Be, b as xt, d as ve, J as kt, D as Ge, m as de, X as _t, s as Y, E as Ct, i as he, f as te, j as je, k as Ye, n as le, q as wt, r as zt, K as Ke } from "./index-
|
|
3
|
-
import { _ as Lt } from "./Title-
|
|
4
|
-
import { u as St, U as
|
|
5
|
-
import { D as
|
|
6
|
-
import { L as It } from "./Legend-
|
|
7
|
-
import Nt from "./vue-ui-skeleton-
|
|
8
|
-
import { S as Ft } from "./Slicer-
|
|
9
|
-
import
|
|
10
|
-
import { u as qe } from "./useNestedProp-
|
|
11
|
-
import { _ as
|
|
12
|
-
import {
|
|
1
|
+
import { computed as x, ref as b, onMounted as vt, watch as Ue, createElementBlock as o, openBlock as a, unref as c, normalizeStyle as Z, normalizeClass as O, createBlock as D, createCommentVNode as v, renderSlot as S, createSlots as dt, withCtx as $, normalizeProps as B, guardReactiveProps as G, createVNode as ht, createElementVNode as y, Fragment as k, renderList as _, toDisplayString as m, withKeys as yt, createTextVNode as We, nextTick as j } from "vue";
|
|
2
|
+
import { u as ft, o as gt, e as Q, g as bt, c as Xe, t as mt, p as ee, a as pt, C as Be, b as xt, d as ve, J as kt, D as Ge, m as de, X as _t, s as Y, E as Ct, i as he, f as te, j as je, k as Ye, n as le, q as wt, r as zt, K as Ke } from "./index-D3VntmA9.js";
|
|
3
|
+
import { _ as Lt } from "./Title-UjBqdYyD.js";
|
|
4
|
+
import { u as St, U as $t } from "./usePrinter-H3tAjGXs.js";
|
|
5
|
+
import { D as At } from "./DataTable-DOKlm7k4.js";
|
|
6
|
+
import { L as It } from "./Legend-CIjMjfNk.js";
|
|
7
|
+
import Nt from "./vue-ui-skeleton-pHcbvN3-.js";
|
|
8
|
+
import { S as Ft } from "./Slicer-CqYLlNlU.js";
|
|
9
|
+
import Ot from "./vue-ui-accordion-DGJQIcdB.js";
|
|
10
|
+
import { u as qe } from "./useNestedProp-DTlOqz2P.js";
|
|
11
|
+
import { _ as Pt } from "./PackageVersion-BCLALL_i.js";
|
|
12
|
+
import { _ as Dt } from "./PenAndPaper-CZs431Nx.js";
|
|
13
13
|
import { u as Et } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as Tt } from "./useChartAccessibility-BWojgys7.js";
|
|
15
15
|
import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -17,7 +17,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
17
17
|
key: 4,
|
|
18
18
|
"data-cy-zoom": "",
|
|
19
19
|
class: "vue-ui-donut-evolution-dialog"
|
|
20
|
-
}, kl = ["x", "y", "width", "height", "fill"], _l = ["x1", "y1", "x2", "y2", "stroke"], Cl = ["x1", "y2", "x2", "y1", "stroke"], wl = ["cx", "cy", "r"], zl = ["d", "stroke"], Ll = ["cx", "cy", "r", "fill"], Sl = ["d", "fill", "stroke"],
|
|
20
|
+
}, kl = ["x", "y", "width", "height", "fill"], _l = ["x1", "y1", "x2", "y2", "stroke"], Cl = ["x1", "y2", "x2", "y1", "stroke"], wl = ["cx", "cy", "r"], zl = ["d", "stroke"], Ll = ["cx", "cy", "r", "fill"], Sl = ["d", "fill", "stroke"], $l = { class: "vue-ui-donut-evolution-focus" }, Al = ["text-anchor", "x", "y", "fill"], Il = ["cx", "cy", "r", "fill"], Nl = ["cx", "cy", "r", "fill"], Fl = ["x", "y", "fill"], Ol = ["x", "y", "font-size", "fill"], Pl = {
|
|
21
21
|
key: 5,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
23
|
}, Dl = ["onClick"], El = { key: 0 }, Tl = { key: 1 }, Vl = {
|
|
@@ -81,7 +81,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
81
81
|
});
|
|
82
82
|
}), fe();
|
|
83
83
|
}
|
|
84
|
-
const E = b(Xe()), C = b([]), g = b(null), ae = b(null),
|
|
84
|
+
const E = b(Xe()), C = b([]), g = b(null), ae = b(null), A = b(!1), I = b(null), be = b(null), lt = b(null), me = b(0), pe = b(0), xe = b(0), ke = b(0), _e = b(0), Ce = Qe, e = x({
|
|
85
85
|
get: () => Se(),
|
|
86
86
|
set: (l) => l
|
|
87
87
|
}), { userOptionsVisible: oe, setUserOptionsVisibility: we, keepUserOptionState: ze } = Et({ config: e.value }), { svgRef: Le } = Tt({ config: e.value.style.chart.title });
|
|
@@ -104,7 +104,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
104
104
|
}, { deep: !0 }), Ue(() => p.dataset, (l) => {
|
|
105
105
|
ye();
|
|
106
106
|
}, { deep: !0 });
|
|
107
|
-
const { isPrinting:
|
|
107
|
+
const { isPrinting: $e, isImaging: Ae, generatePdf: Ie, generateImage: Ne } = St({
|
|
108
108
|
elementId: E.value,
|
|
109
109
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
|
|
110
110
|
options: e.value.userOptions.print
|
|
@@ -125,7 +125,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
125
125
|
height: t,
|
|
126
126
|
width: r
|
|
127
127
|
};
|
|
128
|
-
}),
|
|
128
|
+
}), P = x(() => (p.dataset.forEach((l, u) => {
|
|
129
129
|
[null, void 0].includes(l.name) && Q({
|
|
130
130
|
componentName: "VueUiDonutEvolution",
|
|
131
131
|
type: "datasetSerieAttribute",
|
|
@@ -143,7 +143,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
143
143
|
color: ve(l.color) || ot.value[u] || ee[u] || ee[u % ee.length],
|
|
144
144
|
length: (l.values || []).length,
|
|
145
145
|
uid: Xe()
|
|
146
|
-
})))), W = x(() =>
|
|
146
|
+
})))), W = x(() => P.value.filter((l) => !C.value.includes(l.uid)).map((l) => ({
|
|
147
147
|
...l,
|
|
148
148
|
values: l.values.filter((u, t) => t >= d.value.start && t <= d.value.end)
|
|
149
149
|
}))), T = x(() => Math.max(...W.value.map((l) => l.length))), z = x(() => i.value.width / (d.value.end - d.value.start)), w = x(() => {
|
|
@@ -221,20 +221,20 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
221
221
|
function Fe(l, u) {
|
|
222
222
|
return isNaN(l.value / Ke(u, "value")) ? 0 : (l.value / Ke(u, "value") * 100).toFixed(0) + "%";
|
|
223
223
|
}
|
|
224
|
-
function
|
|
225
|
-
|
|
224
|
+
function Oe() {
|
|
225
|
+
A.value || (g.value = null, ae.value = null);
|
|
226
226
|
}
|
|
227
227
|
function nt(l) {
|
|
228
|
-
|
|
228
|
+
A.value || (g.value = l.index, ae.value = l);
|
|
229
229
|
}
|
|
230
230
|
const se = b(null);
|
|
231
231
|
function ne(l, u) {
|
|
232
|
-
l.subtotal && (ae.value = null, g.value = null,
|
|
232
|
+
l.subtotal && (ae.value = null, g.value = null, A.value = !0, I.value = l, [null, void 0].includes(u) || (se.value = u));
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
I.value = null,
|
|
234
|
+
function Pe() {
|
|
235
|
+
I.value = null, A.value = !1, se.value = null;
|
|
236
236
|
}
|
|
237
|
-
const De = x(() =>
|
|
237
|
+
const De = x(() => P.value.map((l, u) => ({
|
|
238
238
|
name: l.name,
|
|
239
239
|
value: l.values.slice(d.value.start, d.value.end).reduce((t, r) => t + r, 0),
|
|
240
240
|
shape: "circle",
|
|
@@ -257,20 +257,20 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
257
257
|
if (C.value.includes(l))
|
|
258
258
|
C.value = C.value.filter((u) => u !== l), Ce("selectLegend", null);
|
|
259
259
|
else {
|
|
260
|
-
if (C.value.length ===
|
|
261
|
-
C.value.push(l), Ce("selectLegend",
|
|
260
|
+
if (C.value.length === P.value.length - 1) return;
|
|
261
|
+
C.value.push(l), Ce("selectLegend", P.value.find((u) => u.uid === l));
|
|
262
262
|
}
|
|
263
263
|
I.value && ne(w.value.find((u, t) => t === se.value));
|
|
264
264
|
}
|
|
265
265
|
const R = x(() => {
|
|
266
|
-
const l = [""].concat(
|
|
266
|
+
const l = [""].concat(P.value.filter((s) => !C.value.includes(s.uid)).map((s) => ({
|
|
267
267
|
name: s.name,
|
|
268
268
|
color: s.color
|
|
269
269
|
}))).concat(["Σ"]);
|
|
270
270
|
let u = [];
|
|
271
271
|
for (let s = 0; s < T.value; s += 1) {
|
|
272
|
-
const f =
|
|
273
|
-
u.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(
|
|
272
|
+
const f = P.value.filter((h) => !C.value.includes(h.uid)).map((h) => h.values[s] ?? 0).reduce((h, N) => h + N, 0);
|
|
273
|
+
u.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(P.value.filter((h) => !C.value.includes(h.uid)).map((h) => ({
|
|
274
274
|
value: h.values[s] ?? 0,
|
|
275
275
|
percentage: h.values[s] ? h.values[s] / f * 100 : 0
|
|
276
276
|
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
@@ -289,11 +289,11 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
289
289
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
290
290
|
}, r = [
|
|
291
291
|
e.value.table.columnNames.period
|
|
292
|
-
].concat(
|
|
292
|
+
].concat(P.value.filter((s) => !C.value.includes(s.uid)).map((s) => s.name)).concat(e.value.table.columnNames.total);
|
|
293
293
|
return { head: l, body: u, config: t, colNames: r };
|
|
294
294
|
});
|
|
295
295
|
function it() {
|
|
296
|
-
return
|
|
296
|
+
return P.value;
|
|
297
297
|
}
|
|
298
298
|
function Te() {
|
|
299
299
|
j(() => {
|
|
@@ -328,7 +328,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
328
328
|
}), (l, u) => (a(), o("div", {
|
|
329
329
|
ref_key: "donutEvolutionChart",
|
|
330
330
|
ref: be,
|
|
331
|
-
class:
|
|
331
|
+
class: O(`vue-ui-donut-evolution ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
332
332
|
style: Z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
333
333
|
id: E.value,
|
|
334
334
|
onMouseenter: u[4] || (u[4] = () => c(we)(!0)),
|
|
@@ -352,7 +352,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
352
352
|
e.value.style.chart.title.text ? (a(), o("div", {
|
|
353
353
|
key: 2,
|
|
354
354
|
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
355
|
-
onMouseleave:
|
|
355
|
+
onMouseleave: Oe
|
|
356
356
|
}, [
|
|
357
357
|
(a(), D(Lt, {
|
|
358
358
|
key: `title_${xe.value}`,
|
|
@@ -368,13 +368,13 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
368
368
|
}
|
|
369
369
|
}, null, 8, ["config"]))
|
|
370
370
|
], 32)) : v("", !0),
|
|
371
|
-
e.value.userOptions.show && K.value && (c(ze) || c(oe)) ? (a(), D(
|
|
371
|
+
e.value.userOptions.show && K.value && (c(ze) || c(oe)) ? (a(), D($t, {
|
|
372
372
|
ref: "details",
|
|
373
373
|
key: `user_options_${me.value}`,
|
|
374
374
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
375
375
|
color: e.value.style.chart.color,
|
|
376
|
-
isPrinting: c(
|
|
377
|
-
isImaging: c(
|
|
376
|
+
isPrinting: c($e),
|
|
377
|
+
isImaging: c(Ae),
|
|
378
378
|
uid: E.value,
|
|
379
379
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
380
380
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -399,49 +399,49 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
399
399
|
}, dt({ _: 2 }, [
|
|
400
400
|
l.$slots.menuIcon ? {
|
|
401
401
|
name: "menuIcon",
|
|
402
|
-
fn:
|
|
402
|
+
fn: $(({ isOpen: t, color: r }) => [
|
|
403
403
|
S(l.$slots, "menuIcon", B(G({ isOpen: t, color: r })), void 0, !0)
|
|
404
404
|
]),
|
|
405
405
|
key: "0"
|
|
406
406
|
} : void 0,
|
|
407
407
|
l.$slots.optionPdf ? {
|
|
408
408
|
name: "optionPdf",
|
|
409
|
-
fn:
|
|
409
|
+
fn: $(() => [
|
|
410
410
|
S(l.$slots, "optionPdf", {}, void 0, !0)
|
|
411
411
|
]),
|
|
412
412
|
key: "1"
|
|
413
413
|
} : void 0,
|
|
414
414
|
l.$slots.optionCsv ? {
|
|
415
415
|
name: "optionCsv",
|
|
416
|
-
fn:
|
|
416
|
+
fn: $(() => [
|
|
417
417
|
S(l.$slots, "optionCsv", {}, void 0, !0)
|
|
418
418
|
]),
|
|
419
419
|
key: "2"
|
|
420
420
|
} : void 0,
|
|
421
421
|
l.$slots.optionImg ? {
|
|
422
422
|
name: "optionImg",
|
|
423
|
-
fn:
|
|
423
|
+
fn: $(() => [
|
|
424
424
|
S(l.$slots, "optionImg", {}, void 0, !0)
|
|
425
425
|
]),
|
|
426
426
|
key: "3"
|
|
427
427
|
} : void 0,
|
|
428
428
|
l.$slots.optionTable ? {
|
|
429
429
|
name: "optionTable",
|
|
430
|
-
fn:
|
|
430
|
+
fn: $(() => [
|
|
431
431
|
S(l.$slots, "optionTable", {}, void 0, !0)
|
|
432
432
|
]),
|
|
433
433
|
key: "4"
|
|
434
434
|
} : void 0,
|
|
435
435
|
l.$slots.optionFullscreen ? {
|
|
436
436
|
name: "optionFullscreen",
|
|
437
|
-
fn:
|
|
437
|
+
fn: $(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
438
438
|
S(l.$slots, "optionFullscreen", B(G({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
439
439
|
]),
|
|
440
440
|
key: "5"
|
|
441
441
|
} : void 0,
|
|
442
442
|
l.$slots.optionAnnotator ? {
|
|
443
443
|
name: "optionAnnotator",
|
|
444
|
-
fn:
|
|
444
|
+
fn: $(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
445
445
|
S(l.$slots, "optionAnnotator", B(G({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
446
446
|
]),
|
|
447
447
|
key: "6"
|
|
@@ -452,11 +452,11 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
452
452
|
ref_key: "svgRef",
|
|
453
453
|
ref: Le,
|
|
454
454
|
xmlns: c(_t),
|
|
455
|
-
class:
|
|
455
|
+
class: O({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
|
|
456
456
|
viewBox: `0 0 ${i.value.absoluteWidth} ${i.value.absoluteHeight}`,
|
|
457
457
|
style: Z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
458
458
|
}, [
|
|
459
|
-
ht(
|
|
459
|
+
ht(Pt),
|
|
460
460
|
l.$slots["chart-background"] ? (a(), o("foreignObject", {
|
|
461
461
|
key: 0,
|
|
462
462
|
x: n.value.left,
|
|
@@ -536,7 +536,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
536
536
|
])) : v("", !0),
|
|
537
537
|
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), o("g", {
|
|
538
538
|
key: 2,
|
|
539
|
-
class:
|
|
539
|
+
class: O({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value })
|
|
540
540
|
}, [
|
|
541
541
|
(a(!0), o(k, null, _(st.value, (t, r) => (a(), o("g", null, [
|
|
542
542
|
t.value >= H.value.min && t.value <= H.value.max ? (a(), o("line", {
|
|
@@ -571,7 +571,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
571
571
|
], 2)) : v("", !0),
|
|
572
572
|
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), o("g", {
|
|
573
573
|
key: 3,
|
|
574
|
-
class:
|
|
574
|
+
class: O({ "donut-opacity": !0, "donut-behind": A.value })
|
|
575
575
|
}, [
|
|
576
576
|
(a(!0), o(k, null, _(d.value.end - d.value.start, (t, r) => (a(), o("g", null, [
|
|
577
577
|
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r === T.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
|
|
@@ -586,7 +586,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
586
586
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", null, [
|
|
587
587
|
e.value.style.chart.layout.line.show && r < w.value.length - 1 && ![t.subtotal, w.value[r + 1].subtotal].includes(null) ? (a(), o("line", {
|
|
588
588
|
key: 0,
|
|
589
|
-
class:
|
|
589
|
+
class: O({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value }),
|
|
590
590
|
x1: t.x,
|
|
591
591
|
y1: t.y,
|
|
592
592
|
x2: w.value[r + 1].x,
|
|
@@ -607,7 +607,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
607
607
|
])) : v("", !0)
|
|
608
608
|
]))), 256)),
|
|
609
609
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
610
|
-
class:
|
|
610
|
+
class: O({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
|
|
611
611
|
}, [
|
|
612
612
|
t.subtotal ? (a(), o("g", sl, [
|
|
613
613
|
g.value !== null && g.value === r ? (a(), o("g", nl, [
|
|
@@ -646,7 +646,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
646
646
|
])) : v("", !0)
|
|
647
647
|
], 2))), 256)),
|
|
648
648
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
649
|
-
class:
|
|
649
|
+
class: O({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
|
|
650
650
|
}, [
|
|
651
651
|
t.subtotal !== null ? (a(), o("g", vl, [
|
|
652
652
|
t.subtotal === 0 ? (a(), o("circle", {
|
|
@@ -673,7 +673,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
673
673
|
])) : v("", !0)
|
|
674
674
|
], 2))), 256)),
|
|
675
675
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
676
|
-
class:
|
|
676
|
+
class: O({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
|
|
677
677
|
}, [
|
|
678
678
|
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
|
|
679
679
|
key: 0,
|
|
@@ -692,7 +692,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
692
692
|
height: 10,
|
|
693
693
|
fill: g.value === t.index ? `url(#hover_${E.value})` : "transparent",
|
|
694
694
|
onClick: (s) => ne(t, r),
|
|
695
|
-
class:
|
|
695
|
+
class: O({ "donut-hover": g.value === t.index && t.subtotal })
|
|
696
696
|
}, null, 10, ml))), 256)),
|
|
697
697
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
|
|
698
698
|
"data-cy-trap": "",
|
|
@@ -702,11 +702,11 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
702
702
|
height: i.value.height,
|
|
703
703
|
fill: "transparent",
|
|
704
704
|
onMouseenter: (s) => nt(t),
|
|
705
|
-
onMouseleave:
|
|
705
|
+
onMouseleave: Oe,
|
|
706
706
|
onClick: (s) => ne(t, r),
|
|
707
|
-
class:
|
|
707
|
+
class: O({ "donut-hover": g.value === t.index && t.subtotal })
|
|
708
708
|
}, null, 42, pl))), 256)),
|
|
709
|
-
|
|
709
|
+
A.value ? (a(), o("g", xl, [
|
|
710
710
|
y("rect", {
|
|
711
711
|
rx: 4,
|
|
712
712
|
x: n.value.left,
|
|
@@ -738,8 +738,8 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
738
738
|
}, null, 8, Cl),
|
|
739
739
|
y("circle", {
|
|
740
740
|
"data-cy-close": "",
|
|
741
|
-
onClick:
|
|
742
|
-
onKeypress: yt(
|
|
741
|
+
onClick: Pe,
|
|
742
|
+
onKeypress: yt(Pe, ["enter"]),
|
|
743
743
|
cx: i.value.absoluteWidth - n.value.right - i.value.width / 40,
|
|
744
744
|
cy: n.value.top + i.value.height / 30,
|
|
745
745
|
r: i.value.height / 12,
|
|
@@ -773,7 +773,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
773
773
|
stroke: e.value.style.chart.backgroundColor,
|
|
774
774
|
class: "vue-ui-donut-evolution-focus"
|
|
775
775
|
}, null, 8, Sl))), 256)),
|
|
776
|
-
(a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("g",
|
|
776
|
+
(a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("g", $l, [
|
|
777
777
|
Re(t) ? (a(), o("text", {
|
|
778
778
|
key: 0,
|
|
779
779
|
"text-anchor": c(le)(t, !0, 20).anchor,
|
|
@@ -782,7 +782,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
782
782
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
783
783
|
"font-size": 10,
|
|
784
784
|
"font-weight": "bold"
|
|
785
|
-
}, m(t.name) + ": " + m(Fe(t, I.value.donutFocus)) + " (" + m(t.value === null ? "-" : q(t.value, t, r)) + ") ", 9,
|
|
785
|
+
}, m(t.name) + ": " + m(Fe(t, I.value.donutFocus)) + " (" + m(t.value === null ? "-" : q(t.value, t, r)) + ") ", 9, Al)) : v("", !0)
|
|
786
786
|
]))), 256)),
|
|
787
787
|
y("circle", {
|
|
788
788
|
cx: n.value.left + i.value.width / 2,
|
|
@@ -811,12 +811,12 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
811
811
|
y: n.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
812
812
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
813
813
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
814
|
-
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(I.value.index) + Number(d.value.start)]), 9,
|
|
814
|
+
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(I.value.index) + Number(d.value.start)]), 9, Ol)) : v("", !0)
|
|
815
815
|
])) : v("", !0),
|
|
816
816
|
S(l.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
817
817
|
], 14, Rt)) : v("", !0),
|
|
818
|
-
l.$slots.watermark ? (a(), o("div",
|
|
819
|
-
S(l.$slots, "watermark", B(G({ isPrinting: c(
|
|
818
|
+
l.$slots.watermark ? (a(), o("div", Pl, [
|
|
819
|
+
S(l.$slots, "watermark", B(G({ isPrinting: c($e) || c(Ae) })), void 0, !0)
|
|
820
820
|
])) : v("", !0),
|
|
821
821
|
K.value ? v("", !0) : (a(), D(Nt, {
|
|
822
822
|
key: 6,
|
|
@@ -862,7 +862,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
862
862
|
enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
|
|
863
863
|
onReset: ye
|
|
864
864
|
}, {
|
|
865
|
-
"reset-action":
|
|
865
|
+
"reset-action": $(({ reset: t }) => [
|
|
866
866
|
S(l.$slots, "reset-action", B(G({ reset: t })), void 0, !0)
|
|
867
867
|
]),
|
|
868
868
|
_: 3
|
|
@@ -873,7 +873,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
873
873
|
config: rt.value,
|
|
874
874
|
onClickMarker: u[2] || (u[2] = ({ legend: t }) => re(t.uid))
|
|
875
875
|
}, {
|
|
876
|
-
item:
|
|
876
|
+
item: $(({ legend: t, index: r }) => [
|
|
877
877
|
y("div", {
|
|
878
878
|
onClick: (s) => re(t.uid),
|
|
879
879
|
style: Z(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
|
|
@@ -902,7 +902,7 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
902
902
|
l.$slots.source ? (a(), o("div", Vl, [
|
|
903
903
|
S(l.$slots, "source", {}, void 0, !0)
|
|
904
904
|
], 512)) : v("", !0),
|
|
905
|
-
K.value ? (a(), D(
|
|
905
|
+
K.value ? (a(), D(Ot, {
|
|
906
906
|
key: 10,
|
|
907
907
|
hideDetails: "",
|
|
908
908
|
config: {
|
|
@@ -918,8 +918,8 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
918
918
|
}
|
|
919
919
|
}
|
|
920
920
|
}, {
|
|
921
|
-
content:
|
|
922
|
-
(a(), D(
|
|
921
|
+
content: $(() => [
|
|
922
|
+
(a(), D(At, {
|
|
923
923
|
key: `table_${ke.value}`,
|
|
924
924
|
colNames: R.value.colNames,
|
|
925
925
|
head: R.value.head,
|
|
@@ -928,10 +928,10 @@ const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
|
|
|
928
928
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
929
929
|
onClose: u[3] || (u[3] = (t) => U.value.showTable = !1)
|
|
930
930
|
}, {
|
|
931
|
-
th:
|
|
931
|
+
th: $(({ th: t }) => [
|
|
932
932
|
We(m(t.name ?? t), 1)
|
|
933
933
|
]),
|
|
934
|
-
td:
|
|
934
|
+
td: $(({ td: t }) => [
|
|
935
935
|
t.value === null ? (a(), o("span", Hl, "-")) : (a(), o("b", Rl, m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + m(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
936
936
|
y("span", null, m(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
937
937
|
]),
|