vue-data-ui 2.10.2 → 2.10.3-beta.1
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-D6UBVyNr.cjs → Arrow-B_t3knDx.cjs} +1 -1
- package/dist/{Arrow-B2-rOYz8.js → Arrow-GVrF9WOj.js} +1 -1
- package/dist/{BaseIcon-DfoJJxST.cjs → BaseIcon-DBgAUX2a.cjs} +1 -1
- package/dist/{BaseIcon-Br5G8Cdk.js → BaseIcon-h9TCYwJK.js} +1 -1
- package/dist/{ColorPicker-CiQzB3a-.js → ColorPicker-CtdVdLS4.js} +3 -3
- package/dist/{ColorPicker-Dvgprgpv.cjs → ColorPicker-YfLIuv-R.cjs} +1 -1
- package/dist/{DataTable-CGucPqAQ.cjs → DataTable-C3yxI_aI.cjs} +1 -1
- package/dist/{DataTable-Dk-94kK2.js → DataTable-DObvjXDX.js} +2 -2
- package/dist/{Legend-B9aoKeq3.cjs → Legend-DJ-i2IuD.cjs} +1 -1
- package/dist/{Legend-Cx6NYPTA.js → Legend-DzSy-IUq.js} +2 -2
- package/dist/{PackageVersion-C2bjLIu9.cjs → PackageVersion-BIgwvtuC.cjs} +1 -1
- package/dist/{PackageVersion-BdNfnIm2.js → PackageVersion-Bf6TS-QR.js} +1 -1
- package/dist/{PenAndPaper-CJIFAI78.cjs → PenAndPaper-Bz1D0jf7.cjs} +1 -1
- package/dist/{PenAndPaper-wrVNMaG8.js → PenAndPaper-DMTgFlFr.js} +3 -3
- package/dist/{Shape-vIKj52KP.js → Shape-BB_8PZCY.js} +1 -1
- package/dist/{Shape-Cn2RU1NY.cjs → Shape-DT1Q81L9.cjs} +1 -1
- package/dist/{Slicer-t3EfI94H.cjs → Slicer-Bp6W-Q1V.cjs} +1 -1
- package/dist/{Slicer-yki6JqTB.js → Slicer-DCUzf9fq.js} +2 -2
- package/dist/{Title-Bae0QJu7.cjs → Title-B1y-3QPQ.cjs} +1 -1
- package/dist/{Title-CDYBDpu3.js → Title-BD93Z93w.js} +1 -1
- package/dist/{Tooltip-BzsAOdBd.js → Tooltip-DrcHzDRM.js} +1 -1
- package/dist/{Tooltip-CfqYTd5O.cjs → Tooltip-RV5OVI3a.cjs} +1 -1
- package/dist/{dom-to-png-DgRl9bEH.cjs → dom-to-png-CCEeTdud.cjs} +1 -1
- package/dist/{dom-to-png-IAiARGiU.js → dom-to-png-GVD347Ix.js} +1 -1
- package/dist/{img-DxEvbX77.cjs → img-CzUIHHgH.cjs} +1 -1
- package/dist/{img-DaDUVggy.js → img-Dj_G_KYV.js} +1 -1
- package/dist/{index-BI6O7K58.js → index-DWq4s-ww.js} +243 -236
- package/dist/index-DmOqU2gc.cjs +9 -0
- package/dist/{pdf-Dq3h9PEr.cjs → pdf-CHnecAVX.cjs} +1 -1
- package/dist/{pdf-DBVNp7s2.js → pdf-DpksDzZW.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +7 -1
- package/dist/types/vue-data-ui.d.ts +7 -1
- package/dist/{useNestedProp-CCR03NVM.cjs → useNestedProp-CEwtxiO9.cjs} +1 -1
- package/dist/{useNestedProp-Cvz4MkSy.js → useNestedProp-CPAzMQW3.js} +1 -1
- package/dist/{usePrinter-Jr3eyr8H.js → usePrinter-BjxuB68l.js} +3 -3
- package/dist/{usePrinter-B2xVvtiy.cjs → usePrinter-GqLmuLI-.cjs} +1 -1
- package/dist/{vue-data-ui-bm5wfGa_.js → vue-data-ui-BhuxqKkJ.js} +62 -62
- package/dist/{vue-data-ui-DhWKehHS.cjs → vue-data-ui-DBEeag8i.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CHOAZoDV.js → vue-ui-3d-bar-6npDtOUn.js} +9 -9
- package/dist/{vue-ui-3d-bar-Bpm8dKya.cjs → vue-ui-3d-bar-TWzcdbdy.cjs} +1 -1
- package/dist/{vue-ui-accordion-ldF7KsjV.js → vue-ui-accordion-Ca6nV8uf.js} +3 -3
- package/dist/{vue-ui-accordion-DE1isSE9.cjs → vue-ui-accordion-VK6Q6MAw.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BuKSta-B.js → vue-ui-age-pyramid-BaBU4AkZ.js} +10 -10
- package/dist/{vue-ui-age-pyramid-BnHOxOPT.cjs → vue-ui-age-pyramid-CwqMewxq.cjs} +1 -1
- package/dist/{vue-ui-annotator-BBuH-QB4.js → vue-ui-annotator-BSfg2Cqh.js} +2 -2
- package/dist/{vue-ui-annotator-B9j16TKW.cjs → vue-ui-annotator-DBtx2PHg.cjs} +1 -1
- package/dist/{vue-ui-bullet-CRChR0Qe.cjs → vue-ui-bullet-DQGjRgXj.cjs} +1 -1
- package/dist/{vue-ui-bullet-B0C_rPTQ.js → vue-ui-bullet-vBhcJqBu.js} +8 -8
- package/dist/{vue-ui-candlestick-By5MsCcS.js → vue-ui-candlestick-AhsFFM0O.js} +11 -11
- package/dist/{vue-ui-candlestick-Bq66GLxw.cjs → vue-ui-candlestick-C8m29T8u.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CyywZulq.cjs → vue-ui-carousel-table-B09sTudP.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BOtjI2Ov.js → vue-ui-carousel-table-M69qs_tr.js} +4 -4
- package/dist/{vue-ui-chestnut-BS2kXrPU.js → vue-ui-chestnut-Cz_Aj8pX.js} +8 -8
- package/dist/{vue-ui-chestnut-D8QPZS8n.cjs → vue-ui-chestnut-uQ4QhJEu.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-iOxdB75t.cjs → vue-ui-circle-pack-CN7nYxdb.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-C8m10WZ0.js → vue-ui-circle-pack-CYIHdn-n.js} +9 -9
- package/dist/{vue-ui-cursor-Ccym3tFb.cjs → vue-ui-cursor-BaXtpkTz.cjs} +1 -1
- package/dist/{vue-ui-cursor-Bn-CCFO0.js → vue-ui-cursor-weHYxHaT.js} +2 -2
- package/dist/{vue-ui-dashboard-D-vs2N_7.js → vue-ui-dashboard-BNsg59hU.js} +62 -62
- package/dist/{vue-ui-dashboard-Cw4IXhXY.cjs → vue-ui-dashboard-CLYI8wEV.cjs} +1 -1
- package/dist/{vue-ui-digits-BXBXg7wv.js → vue-ui-digits-B0hyDETd.js} +2 -2
- package/dist/{vue-ui-digits-D66h3nUw.cjs → vue-ui-digits-wj8ka_eT.cjs} +1 -1
- package/dist/vue-ui-donut-B2acbY3c.js +1259 -0
- package/dist/vue-ui-donut-C4LxZkgt.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-5yOibvNM.js → vue-ui-donut-evolution-2pYa-efH.js} +11 -11
- package/dist/{vue-ui-donut-evolution-xxrUJzgG.cjs → vue-ui-donut-evolution-UoUnPX6g.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-C-KqKhxI.js → vue-ui-dumbbell-DSxoHF9p.js} +10 -10
- package/dist/{vue-ui-dumbbell-CWn7cNsm.cjs → vue-ui-dumbbell-DwZPwUCk.cjs} +1 -1
- package/dist/{vue-ui-flow-D4_2VnaB.js → vue-ui-flow-BkpFuQkm.js} +9 -9
- package/dist/{vue-ui-flow-DFxWNRRJ.cjs → vue-ui-flow-aJq5srUA.cjs} +1 -1
- package/dist/{vue-ui-funnel-DIoqpwbm.cjs → vue-ui-funnel-BafVKO-m.cjs} +1 -1
- package/dist/{vue-ui-funnel-ADEjZ8yz.js → vue-ui-funnel-BuI-vnQb.js} +9 -9
- package/dist/{vue-ui-galaxy-BRle40mR.cjs → vue-ui-galaxy-DOAhW1MF.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DLtA9Ebb.js → vue-ui-galaxy-DU1KQobN.js} +11 -11
- package/dist/{vue-ui-gauge-B4vEWkRk.cjs → vue-ui-gauge-D21wMdC_.cjs} +1 -1
- package/dist/{vue-ui-gauge-BVj-IBdi.js → vue-ui-gauge-D7sFY8c_.js} +7 -7
- package/dist/{vue-ui-gizmo-BwBtkZ5z.cjs → vue-ui-gizmo-BA1d9qdv.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BTe8CPyi.js → vue-ui-gizmo-BXaLmym5.js} +3 -3
- package/dist/{vue-ui-heatmap-VdFtflO6.cjs → vue-ui-heatmap-CCoQHO_6.cjs} +1 -1
- package/dist/{vue-ui-heatmap-DrXMOxbe.js → vue-ui-heatmap-Cxss4QvF.js} +10 -10
- package/dist/{vue-ui-history-plot-B-ScOcEy.cjs → vue-ui-history-plot-C92Mp3Xp.cjs} +1 -1
- package/dist/{vue-ui-history-plot-_DfuZIMP.js → vue-ui-history-plot-DQO0n3Rf.js} +11 -11
- package/dist/{vue-ui-kpi-DfFiDtCP.js → vue-ui-kpi-BhvozR5s.js} +3 -3
- package/dist/{vue-ui-kpi-DSQV0Kf2.cjs → vue-ui-kpi-COo6m-Ks.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CDOlO_1_.cjs → vue-ui-mini-loader-B-tISyPq.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-1JZipPcP.js → vue-ui-mini-loader-BwEHFWkC.js} +2 -2
- package/dist/{vue-ui-molecule-jEcRTe4V.cjs → vue-ui-molecule-DS-9YlFP.cjs} +1 -1
- package/dist/{vue-ui-molecule-Db_C7mVS.js → vue-ui-molecule-bcpIBsMm.js} +11 -11
- package/dist/{vue-ui-mood-radar-m48vvkft.js → vue-ui-mood-radar-C5PYCas_.js} +11 -11
- package/dist/{vue-ui-mood-radar-BoKSTE-Y.cjs → vue-ui-mood-radar-CtsnePEw.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-ihd00Tpn.cjs → vue-ui-nested-donuts-BM1drnr6.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DNhMOryo.js → vue-ui-nested-donuts-DykqnDcp.js} +11 -11
- package/dist/{vue-ui-onion-D9AHOWa5.cjs → vue-ui-onion-C2ZBvIAR.cjs} +1 -1
- package/dist/{vue-ui-onion-YKxsqnI7.js → vue-ui-onion-gaJqwmrF.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-7SCwFkrU.js → vue-ui-parallel-coordinate-plot-A1Gj_Ga7.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-BmO6zenq.cjs → vue-ui-parallel-coordinate-plot-xu2Wocpp.cjs} +1 -1
- package/dist/{vue-ui-quadrant-Bi0by7IK.js → vue-ui-quadrant-DcbgFaxG.js} +12 -12
- package/dist/{vue-ui-quadrant-CAJ4dTBu.cjs → vue-ui-quadrant-n27JvM93.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-DlV0Qv_x.js → vue-ui-quick-chart-ByKtbyYB.js} +9 -9
- package/dist/{vue-ui-quick-chart-C37lGqa1.cjs → vue-ui-quick-chart-JcAbo_Ou.cjs} +1 -1
- package/dist/{vue-ui-radar-H08KmB3s.cjs → vue-ui-radar-ClfEAsg9.cjs} +1 -1
- package/dist/{vue-ui-radar-B14zLIww.js → vue-ui-radar-DxDuU7PC.js} +12 -12
- package/dist/{vue-ui-rating-CdSQUBG6.js → vue-ui-rating-BRsSp9rc.js} +2 -2
- package/dist/{vue-ui-rating-CYarWaTf.cjs → vue-ui-rating-wjKAMprc.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-IzAvPPGl.js → vue-ui-relation-circle-DFWEguaU.js} +7 -7
- package/dist/{vue-ui-relation-circle-A4Vw8kYl.cjs → vue-ui-relation-circle-DcsjQXnt.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-BF5X6KQR.js → vue-ui-ridgeline-CwXRZCK1.js} +12 -12
- package/dist/{vue-ui-ridgeline-BaHgOn_p.cjs → vue-ui-ridgeline-D8nEWP-a.cjs} +1 -1
- package/dist/{vue-ui-rings-DUhnXy1h.js → vue-ui-rings-BUYVAbfZ.js} +12 -12
- package/dist/{vue-ui-rings-DnVeMrOw.cjs → vue-ui-rings-BjHcappB.cjs} +1 -1
- package/dist/{vue-ui-scatter-DoGX7iHp.cjs → vue-ui-scatter-C2G-V-rP.cjs} +1 -1
- package/dist/{vue-ui-scatter-D7bXuxob.js → vue-ui-scatter-CalyzpYZ.js} +12 -12
- package/dist/{vue-ui-skeleton-DeEGdJEn.cjs → vue-ui-skeleton-C2lcxV1r.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Dxm7rqic.js → vue-ui-skeleton-CgSdY-i3.js} +3 -3
- package/dist/{vue-ui-smiley-95l4UiqT.js → vue-ui-smiley-CAp8amf3.js} +2 -2
- package/dist/{vue-ui-smiley-DmAtXVht.cjs → vue-ui-smiley-CyjuCEzK.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-C3CO25Jy.cjs → vue-ui-spark-trend-DNRog2VZ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DdH43oVm.js → vue-ui-spark-trend-g3JUDKWQ.js} +5 -5
- package/dist/{vue-ui-sparkbar-C2roDWfv.cjs → vue-ui-sparkbar-BPFUJ-XV.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DTe3QrR3.js → vue-ui-sparkbar-Dgv-eGQT.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BwclNj3C.js → vue-ui-sparkgauge-J4QKrqrr.js} +4 -4
- package/dist/{vue-ui-sparkgauge-nq6-9TjT.cjs → vue-ui-sparkgauge-Rm9WqJac.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Brau127G.js → vue-ui-sparkhistogram-BamMJRbn.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-BdWirDjI.cjs → vue-ui-sparkhistogram-CPJl4whz.cjs} +1 -1
- package/dist/{vue-ui-sparkline-qqfyQyVz.js → vue-ui-sparkline-BE6uxQJ1.js} +4 -4
- package/dist/{vue-ui-sparkline-B2mOJzkG.cjs → vue-ui-sparkline-BswJd-GI.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DLlDU0B2.js → vue-ui-sparkstackbar-BH9sFANv.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BJl9lbBp.cjs → vue-ui-sparkstackbar-DkOoCVXL.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CEvmDjq3.cjs → vue-ui-stackbar-CSHgiu-S.cjs} +1 -1
- package/dist/{vue-ui-stackbar-RRGnblUm.js → vue-ui-stackbar-bII9CH8i.js} +13 -13
- package/dist/{vue-ui-strip-plot-C9LKjSkW.js → vue-ui-strip-plot-BcxHXtpk.js} +11 -11
- package/dist/{vue-ui-strip-plot-Dlsv-yRI.cjs → vue-ui-strip-plot-DfAGuNRJ.cjs} +1 -1
- package/dist/{vue-ui-table-DxdJ151X.js → vue-ui-table-D2qlWdag.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BhxOvDDW.cjs → vue-ui-table-heatmap-DrNGAq6g.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CzGeU_uL.js → vue-ui-table-heatmap-Y9npl2qT.js} +4 -4
- package/dist/{vue-ui-table-qULtmHGA.cjs → vue-ui-table-kj_YAH7E.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DSZhEDKX.js → vue-ui-table-sparkline-VeqlQ66b.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D1hriLB0.cjs → vue-ui-table-sparkline-qFq-ga-b.cjs} +1 -1
- package/dist/{vue-ui-thermometer-Cvnh4jvE.cjs → vue-ui-thermometer-C1lDcGjT.cjs} +1 -1
- package/dist/{vue-ui-thermometer-Pw4X3Bun.js → vue-ui-thermometer-CgDYCC3w.js} +7 -7
- package/dist/{vue-ui-timer-CvvexEeN.js → vue-ui-timer-BY2dCjiN.js} +5 -5
- package/dist/{vue-ui-timer-BlmIXPv6.cjs → vue-ui-timer-CY2IxtRl.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BAkMBz3o.cjs → vue-ui-tiremarks-BWQmACOn.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DbZQvV_2.js → vue-ui-tiremarks-DTWdmj4v.js} +7 -7
- package/dist/{vue-ui-treemap-CF-RjM16.js → vue-ui-treemap-CtBynkdy.js} +12 -12
- package/dist/{vue-ui-treemap-a6b1vWy-.cjs → vue-ui-treemap-DrXwsion.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-ZJbSI-xR.js → vue-ui-vertical-bar-C_qWNcce.js} +12 -12
- package/dist/{vue-ui-vertical-bar-Dm5zMIeE.cjs → vue-ui-vertical-bar-DybIA-c5.cjs} +1 -1
- package/dist/{vue-ui-waffle-I9AKkwb4.js → vue-ui-waffle-3xEQ48b1.js} +12 -12
- package/dist/{vue-ui-waffle-XNiw-qtb.cjs → vue-ui-waffle-xCR4Q6fn.cjs} +1 -1
- package/dist/{vue-ui-wheel-DJUrO6CA.cjs → vue-ui-wheel-CweXDTzj.cjs} +1 -1
- package/dist/{vue-ui-wheel-BA7wZUZL.js → vue-ui-wheel-Dc8OZDxx.js} +7 -7
- package/dist/{vue-ui-word-cloud-ByjkRq1g.cjs → vue-ui-word-cloud-CJOHMRfq.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BVqb1Yix.js → vue-ui-word-cloud-wwE8jKoI.js} +10 -10
- package/dist/{vue-ui-world-9nlcZMH1.cjs → vue-ui-world-DNYusHsf.cjs} +1 -1
- package/dist/{vue-ui-world-DkYRlp5s.js → vue-ui-world-kJodeH03.js} +11 -11
- package/dist/{vue-ui-xy-B1HwPMFi.js → vue-ui-xy-C5qR9CE2.js} +16 -16
- package/dist/{vue-ui-xy-B4sqGuw6.cjs → vue-ui-xy-DK2uwes1.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-C-rykR_6.cjs → vue-ui-xy-canvas-0s6cq6q8.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-CGCtkn9g.js → vue-ui-xy-canvas-DTaRiqld.js} +12 -12
- package/package.json +1 -1
- package/dist/index-DgIVCHLv.cjs +0 -9
- package/dist/vue-ui-donut-BGZIwC5D.js +0 -1191
- package/dist/vue-ui-donut-Bf3THSxi.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),d=require("./index-DgIVCHLv.cjs"),x=require("./useResponsive-DQmBAoBf.cjs"),vt=require("./Tooltip-CfqYTd5O.cjs"),dt=require("./Legend-B9aoKeq3.cjs"),ht=require("./Title-Bae0QJu7.cjs"),ft=require("./Slicer-t3EfI94H.cjs"),Ue=require("./usePrinter-B2xVvtiy.cjs"),yt=require("./vue-ui-accordion-DE1isSE9.cjs"),pt=require("./DataTable-CGucPqAQ.cjs"),gt=require("./vue-ui-skeleton-DeEGdJEn.cjs"),qe=require("./useNestedProp-CCR03NVM.cjs"),mt=require("./useUserOptionState-BgepsfED.cjs"),bt=require("./useChartAccessibility-Cm7nkzTG.cjs"),ge=require("./BaseIcon-DfoJJxST.cjs"),xt=require("./ColorPicker-Dvgprgpv.cjs"),We=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),kt={class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Ct=["disabled"],Lt=["data-mode","xmlns","viewBox"],wt=["cx","cy","r","fill"],St=["d","stroke","stroke-width"],zt=["x","y","fill","font-size"],$t=["x","dy"],Tt=["d","stroke","stroke-width"],Et={__name:"NonSvgPenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup(z,{emit:Ee}){const U=z,Be=Ee,L=t.ref([]),V=t.ref([]),K=t.ref("0 0 0 0"),D=t.ref(U.color),y=t.ref(1),m=t.ref("draw"),w=t.ref(null),q=t.ref(!1),h=t.ref(null),Y=t.ref({x:0,y:0}),X=t.ref([""]),E=t.ref({row:0,col:0}),P=t.ref(16);let W=1;function G(){return W++}function ne(i){var a;const r=R.value;if(!r)return{x:0,y:0};const o=r.createSVGPoint();let u=i.clientX,v=i.clientY;i.touches&&i.touches.length&&(u=i.touches[0].clientX,v=i.touches[0].clientY),o.x=u,o.y=v;const f=(a=r.getScreenCTM())==null?void 0:a.inverse();return f?o.matrixTransform(f):{x:0,y:0}}function re(i){if(!w.value||m.value!=="text"||q.value)return;const{x:r,y:o}=ne(i);Y.value={x:r,y:o},X.value=[""],E.value={row:0,col:0};const u=document.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("x",r),u.setAttribute("y",o),u.setAttribute("fill",D.value),u.setAttribute("font-size",P.value),u.setAttribute("font-family","sans-serif"),u.setAttribute("class","vue-data-ui-doodle"),u.setAttribute("dominant-baseline","hanging"),u.setAttribute("pointer-events","all");const v=document.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttribute("x",r),v.setAttribute("dy","0"),v.textContent="",u.appendChild(v),u.style.pointerEvents="none",u.style.userSelect="none",w.value.appendChild(u),h.value=u,q.value=!0,window.addEventListener("keydown",ue),window.addEventListener("mousedown",ie,!0),J(),se()}function ue(i){if(!q.value)return;let{row:r,col:o}=E.value,u=X.value.slice(),v=!1;if(i.key==="Enter"){const f=u[r],a=f.slice(0,o),T=f.slice(o);u.splice(r,1,a,T),r+=1,o=0,v=!0,i.preventDefault()}else if(i.key==="Backspace"){if(o>0)u[r]=u[r].slice(0,o-1)+u[r].slice(o),o-=1,v=!0;else if(r>0){const f=u[r-1].length;u[r-1]+=u[r],u.splice(r,1),r-=1,o=f,v=!0}i.preventDefault()}else if(i.key==="Delete")o<u[r].length?(u[r]=u[r].slice(0,o)+u[r].slice(o+1),v=!0):r<u.length-1&&(u[r]+=u[r+1],u.splice(r+1,1),v=!0),i.preventDefault();else if(i.key==="ArrowLeft")o>0?o-=1:r>0&&(r-=1,o=u[r].length),v=!0,i.preventDefault();else if(i.key==="ArrowRight")o<u[r].length?o+=1:r<u.length-1&&(r+=1,o=0),v=!0,i.preventDefault();else if(i.key==="ArrowUp")r>0&&(r-=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key==="ArrowDown")r<u.length-1&&(r+=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey)u[r]=u[r].slice(0,o)+i.key+u[r].slice(o),o+=1,v=!0,i.preventDefault();else if(i.key==="Escape"){ce(!0);return}else i.key==="Tab"&&i.preventDefault();v&&(X.value=u,E.value={row:r,col:o},J(),se())}function J(){const i=h.value,{x:r,y:o}=Y.value;for(;i.firstChild;)i.removeChild(i.firstChild);X.value.forEach((u,v)=>{const f=document.createElementNS("http://www.w3.org/2000/svg","tspan");f.setAttribute("x",r),f.setAttribute("dy",v===0?"0":`${P.value*1.2}`),f.textContent=u.length?u:"",i.appendChild(f)})}function se(){const i=w.value.querySelector(".vue-data-ui-svg-caret");i&&w.value.removeChild(i);const r=h.value;if(!r)return;const{x:o,y:u}=Y.value,{row:v,col:f}=E.value,a=P.value,T=r.childNodes[v];if(!T)return;let B=T.textContent.slice(0,f);B.endsWith(" ")&&(B+=" ");const p=document.createElementNS("http://www.w3.org/2000/svg","text");p.setAttribute("x",o),p.setAttribute("y",u),p.setAttribute("font-size",a),p.setAttribute("font-family","sans-serif"),p.textContent=B||"",w.value.appendChild(p);const M=p.getBBox();w.value.removeChild(p);let $=u+v*a*1.2,g=o+M.width;const c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("x",g),c.setAttribute("y",$),c.setAttribute("width",1),c.setAttribute("height",a),c.setAttribute("fill",D.value),c.setAttribute("class","vue-data-ui-svg-caret"),w.value.appendChild(c)}function ie(i){if(h.value&&!h.value.contains(i.target)){const r=h.value.children;r.length===1&&(r[0].textContent===""||r[0].textContent==="")&&h.value.remove(),ce(!1)}}function ce(i=!1){var u;window.removeEventListener("keydown",ue),window.removeEventListener("mousedown",ie,!0);const r=(u=w.value)==null?void 0:u.querySelector(".vue-data-ui-svg-caret");r&&w.value.removeChild(r);const o=X.value.every(v=>!v||v==="");i||o||L.value.push({id:G(),type:"text",x:Y.value.x,y:Y.value.y,color:D.value,fontSize:P.value,lines:X.value.map(v=>v)}),h.value&&w.value&&w.value.contains(h.value)&&w.value.removeChild(h.value),q.value=!1,h.value=null,X.value=[""],E.value={row:0,col:0}}const H=t.computed(()=>d.lightenHexColor(U.color,.6));function ee({width:i,height:r}){K.value=`0 0 ${i} ${r}`}const _=t.ref(null);t.onMounted(()=>{t.nextTick(()=>{if(U.parent){_.value=new ResizeObserver(o=>{for(const u of o){const{width:v,height:f}=u.contentRect;ee({width:v,height:f})}}),_.value.observe(U.parent);const{width:i,height:r}=U.parent.getBoundingClientRect();ee({width:i,height:r})}}),w.value=R.value.querySelector("g")}),t.onBeforeUnmount(()=>{_.value&&_.value.disconnect()}),t.watch(()=>U.parent,i=>{if(!i)return;const{width:r,height:o}=U.parent.getBoundingClientRect();ee({width:r,height:o})},{immediate:!0}),t.watch(m,i=>{var r,o;i==="text"?(r=R.value)==null||r.addEventListener("mousedown",re):(o=R.value)==null||o.removeEventListener("mousedown",re)});const Z=t.ref(!1),N=t.ref(""),R=t.ref(null);function me(i){if(m.value!=="draw"||!R.value)return;Z.value=!0;const{x:r,y:o}=F(i);N.value=`M ${r} ${o}`}function be(i){if(!Z.value||!R.value)return;const{x:r,y:o}=F(i);N.value+=` ${r} ${o}`}function l(i){const r=i.trim().split(/\s+/);if(r.length<4)return i;const o=r.slice(1).map(Number);if(o.length%2!==0)return i;const u=ve(o),v=[`M ${u[0]} ${u[1]}`];for(let T=2;T<u.length-2;T+=2){const B=u[T-2],p=u[T-1],M=u[T],$=u[T+1],g=(B+M)/2,c=(p+$)/2;v.push(`Q ${B} ${p} ${g} ${c}`)}const f=u[u.length-2],a=u[u.length-1];return v.push(`L ${f} ${a}`),v.join(" ")}function ve(i,r=1){const o=[...i];for(let u=2;u<i.length-2;u+=2){const v=i[u],f=i[u+1],a=i[u-2],T=i[u-1],B=i[u+2],p=i[u+3];o[u]=v+r*((a+B)/2-v),o[u+1]=f+r*((T+p)/2-f)}return o}function xe(i){const r=i.trim().split(/\s+/);let o="",u="",v=null,f=null;for(let a=0;a<r.length;a+=1){const T=r[a];if(isNaN(T)){if(u=T,u==="M"||u==="L")v=parseFloat(r[++a]),f=parseFloat(r[++a]),o+=`${u}${v} ${f}`;else if(u==="Q"){const B=parseFloat(r[++a]),p=parseFloat(r[++a]),M=parseFloat(r[++a]),$=parseFloat(r[++a]);B===v&&p===f?o+=`t${M-v} ${$-f}`:o+=`q${B-v} ${p-f} ${M-v} ${$-f}`,v=M,f=$}}else{const B=parseFloat(T),p=parseFloat(r[++a]);if(u==="L"){const M=B-v,$=p-f;M===0?o+=`v${$}`:$===0?o+=`h${M}`:o+=`l${M} ${$}`,v=B,f=p}else if(u==="Q"){const M=B,$=p,g=parseFloat(r[++a]),c=parseFloat(r[++a]);M===v&&$===f?o+=`t${g-v} ${c-f}`:o+=`q${M-v} ${$-f} ${g-v} ${c-f}`,v=g,f=c}}}return o}function ae(){Z.value&&(L.value.push({id:G(),strokeWidth:y.value,path:xe(l(N.value)),color:D.value}),V.value=[],N.value=""),Z.value=!1}function F(i){if(!R.value)return{x:0,y:0};const r=R.value.getBoundingClientRect();let o,u;return i.touches&&i.touches.length?(o=i.touches[0].clientX,u=i.touches[0].clientY):(o=i.clientX,u=i.clientY),{x:o-r.left,y:u-r.top}}function ke(){if(L.value.length>0){const i=L.value.pop();V.value.push(i)}}function Ce(){if(V.value.length>0){const i=V.value.pop();L.value.push(i)}}function Le(){L.value=[],V.value=[]}const de=t.ref(null);return(i,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[z.active?(t.openBlock(),t.createElementBlock("div",{key:0,"data-dom-to-png-ignore":"",class:t.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:z.active}),style:t.normalizeStyle({backgroundColor:z.backgroundColor})},[t.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:r[0]||(r[0]=o=>Be("close"))},[t.createVNode(ge.default,{name:"close",stroke:z.color},null,8,["stroke"])],4),t.createElementVNode("button",kt,[t.createVNode(xt.ColorPicker,{value:D.value,"onUpdate:value":r[1]||(r[1]=o=>D.value=o),backgroundColor:z.backgroundColor,buttonBorderColor:H.value},null,8,["value","backgroundColor","buttonBorderColor"])]),t.createElementVNode("button",{class:t.normalizeClass(["vue-ui-pen-and-paper-action",{"vue-ui-pen-and-paper-action-active":m.value==="text"}]),onClick:r[2]||(r[2]=o=>m.value=m.value==="text"?"draw":"text"),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`})},[t.createVNode(ge.default,{name:m.value==="draw"?"annotator":"text",stroke:z.color},null,8,["name","stroke"]),t.createElementVNode("div",{style:t.normalizeStyle({position:"absolute",bottom:"-20px",color:H.value,width:"100%",textAlign:"center",fontSize:"12px"})},t.toDisplayString(t.unref(d.dataLabel)({v:m.value==="draw"?y.value:P.value,s:"px",r:1})),5)],6),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length}),disabled:!L.value.length,style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`,marginTop:"20px"}),onClick:ke},[t.createVNode(ge.default,{name:"restart",stroke:z.color},null,8,["stroke"])],14,Ct),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!V.value.length}),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Ce},[t.createVNode(ge.default,{name:"restart",stroke:z.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),t.createElementVNode("button",{class:t.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length},"vue-ui-pen-and-paper-action"]),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Le},[t.createVNode(ge.default,{name:"trash",stroke:z.color},null,8,["stroke"])],6),m.value==="draw"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:0,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":r[3]||(r[3]=o=>y.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,y.value]]):t.createCommentVNode("",!0),m.value==="text"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:1,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:3,max:48,step:.1,"onUpdate:modelValue":r[4]||(r[4]=o=>P.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,P.value]]):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),(t.openBlock(),t.createElementBlock("svg",{"data-mode":m.value,ref_key:"svgElement",ref:R,xmlns:t.unref(d.XMLNS),viewBox:K.value,class:t.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!z.active}),onMousedown:me,onMousemove:be,onMouseup:ae,onMouseleave:ae,onTouchstart:t.withModifiers(me,["prevent"]),onTouchmove:t.withModifiers(be,["prevent"]),onTouchend:ae},[t.createElementVNode("g",{ref_key:"G",ref:w},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.value,o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o.id},[o.path&&o.path.replace("M","").split(" ").length===2?(t.openBlock(),t.createElementBlock("circle",{key:0,cx:o.path.replace("M","").split(" ")[0],cy:o.path.replace("M","").split(" ")[1],r:o.strokeWidth/2,fill:o.color},null,8,wt)):o.path?(t.openBlock(),t.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:o.path,stroke:o.color,"stroke-width":o.strokeWidth,fill:"none"},null,8,St)):o.type==="text"?(t.openBlock(),t.createElementBlock("text",{key:2,x:o.x,y:o.y,fill:o.color,"font-size":o.fontSize,"font-family":"sans-serif","dominant-baseline":"hanging",class:"vue-ui-pen-and-paper-text"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.lines,(u,v)=>(t.openBlock(),t.createElementBlock("tspan",{key:v,x:o.x,dy:v===0?"0":o.fontSize*1.2},t.toDisplayString(u.length?u:""),9,$t))),128))],8,zt)):t.createCommentVNode("",!0)],64))),128))],512),Z.value?(t.openBlock(),t.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:l(N.value),stroke:D.value,"stroke-width":y.value*1.1,fill:"none"},null,8,Tt)):t.createCommentVNode("",!0)],42,Lt))],64))}},Bt=We._export_sfc(Et,[["__scopeId","data-v-14478ba4"]]),Mt=["id"],Nt=["onClick"],Pt={key:2,class:"vue-data-ui-watermark"},It=["innerHTML"],At={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(z,{expose:Ee,emit:U}){const{vue_ui_xy_canvas:Be}=d.useConfig(),L=z,V=t.ref(d.createUid()),K=t.ref(null),D=t.ref(null),y=t.ref(null),m=t.ref(1),w=t.ref(1),q=t.ref(!1),h=t.ref(null),Y=t.ref(""),X=t.ref(null),E=t.ref([]),P=t.ref(1),W=t.ref(!0),G=t.ref(!0),ne=t.ref(null),re=t.ref(0),ue=t.ref(0),J=t.ref(!1),se=t.ref(null),ie=t.ref(null),ce=t.ref(null),H=t.ref(null),ee=t.ref(0),_=t.ref(0),Z=t.ref(0),N=t.ref(null),R=t.computed(()=>!!L.dataset&&L.dataset.length),me=U,be=t.useSlots();t.onMounted(()=>{be["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const l=t.computed({get:()=>ke(),set:e=>e}),{userOptionsVisible:ve,setUserOptionsVisibility:xe,keepUserOptionState:ae}=mt.useUserOptionState({config:l.value}),{svgRef:F}=bt.useChartAccessibility({config:l.value.style.chart.title});function ke(){const e=qe.useNestedProp({userConfig:L.config,defaultConfig:Be});let n={};return e.theme?n={...qe.useNestedProp({userConfig:d.themes.vue_ui_xy_canvas[e.theme]||L.config,defaultConfig:e}),customPalette:d.themePalettes[e.theme]||d.palette}:n=e,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.min")?n.style.chart.scale.min=L.config.style.chart.scale.min:n.style.chart.scale.min=null,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.max")?n.style.chart.scale.max=L.config.style.chart.scale.max:n.style.chart.scale.max=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.startIndex")?n.style.chart.zoom.startIndex=L.config.style.chart.zoom.startIndex:n.style.chart.zoom.startIndex=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.endIndex")?n.style.chart.zoom.endIndex=L.config.style.chart.zoom.endIndex:n.style.chart.zoom.endIndex=null,n}t.watch(()=>L.config,e=>{l.value=ke(),ve.value=!l.value.userOptions.showOnChartHover,Me(),ee.value+=1,_.value+=1,Z.value+=1,o.value.showTable=l.value.table.show,o.value.showDataLabels=l.value.style.chart.dataLabels.show,o.value.stacked=l.value.style.chart.stacked,o.value.showTooltip=l.value.style.chart.tooltip.show},{deep:!0}),t.watch(()=>L.dataset,()=>{Me(),ee.value+=1,_.value+=1,Z.value+=1},{deep:!0});const Ce=t.ref(l.value.style.chart.aspectRatio),{isPrinting:Le,isImaging:de,generatePdf:i,generateImage:r}=Ue.usePrinter({elementId:`xy_canvas_${V.value}`,fileName:l.value.style.chart.title.text||"vue-ui-xy-canvas",options:l.value.userOptions.print}),o=t.ref({showTable:l.value.table.show,showDataLabels:l.value.style.chart.dataLabels.show,stacked:l.value.style.chart.stacked,showTooltip:l.value.style.chart.tooltip.show});function u(e){J.value=e,ue.value+=1}const v=t.computed(()=>d.convertCustomPalette(l.value.customPalette)),f=t.computed(()=>$.value?Math.max(...$.value.filter((e,n)=>!E.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=t.computed(()=>{const e=m.value-m.value*(l.value.style.chart.paddingProportions.left+l.value.style.chart.paddingProportions.right);return{canvasWidth:m.value,canvasHeight:w.value,left:m.value*l.value.style.chart.paddingProportions.left,top:w.value*l.value.style.chart.paddingProportions.top,right:m.value-m.value*l.value.style.chart.paddingProportions.right,bottom:w.value-w.value*l.value.style.chart.paddingProportions.bottom,width:e,height:w.value-w.value*(l.value.style.chart.paddingProportions.top+l.value.style.chart.paddingProportions.bottom),slot:e/(c.value.end-c.value.start)}});function T(e,n){return e/n}function B({hasAutoScale:e,series:n,min:s,max:b,scale:C,yOffset:A,individualHeight:k,stackIndex:S=null}){return n.map((te,O)=>{const Q=C.min<0?Math.abs(C.min):0,le=T(te+Q,Q+C.max);let ye,pe;e&&(ye=C.min,pe=T(te-ye,C.max-ye));let j=0;return S===null?j=a.value.bottom-a.value.height*(e?pe:le):j=a.value.bottom-A-k*(e?pe:le),{x:a.value.left+a.value.slot*O+a.value.slot/2,y:j,value:te}})}const p=t.computed(()=>{const e=l.value.style.chart.scale.min!==null?l.value.style.chart.scale.min:Math.min(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),n=l.value.style.chart.scale.max!==null?l.value.style.chart.scale.max:Math.max(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),s=d.calculateNiceScale(e<0?e:0,n===e?e+1<0?0:e+1:n<0?0:n,l.value.style.chart.scale.ticks),b=s.min<0?Math.abs(s.min):0,C=a.value.bottom-a.value.height*(b/(s.max+b)),A=s.ticks.map(k=>({y:a.value.bottom-a.value.height*((k+b)/(s.max+b)),x:a.value.left-8,value:k}));return{absoluteMin:b,max:n,min:e,scale:s,yLabels:A,zero:C}}),M=t.computed(()=>g.value.map(e=>`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),d=require("./index-DmOqU2gc.cjs"),x=require("./useResponsive-DQmBAoBf.cjs"),vt=require("./Tooltip-RV5OVI3a.cjs"),dt=require("./Legend-DJ-i2IuD.cjs"),ht=require("./Title-B1y-3QPQ.cjs"),ft=require("./Slicer-Bp6W-Q1V.cjs"),Ue=require("./usePrinter-GqLmuLI-.cjs"),yt=require("./vue-ui-accordion-VK6Q6MAw.cjs"),pt=require("./DataTable-C3yxI_aI.cjs"),gt=require("./vue-ui-skeleton-C2lcxV1r.cjs"),qe=require("./useNestedProp-CEwtxiO9.cjs"),mt=require("./useUserOptionState-BgepsfED.cjs"),bt=require("./useChartAccessibility-Cm7nkzTG.cjs"),ge=require("./BaseIcon-DBgAUX2a.cjs"),xt=require("./ColorPicker-YfLIuv-R.cjs"),We=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),kt={class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Ct=["disabled"],Lt=["data-mode","xmlns","viewBox"],wt=["cx","cy","r","fill"],St=["d","stroke","stroke-width"],zt=["x","y","fill","font-size"],$t=["x","dy"],Tt=["d","stroke","stroke-width"],Et={__name:"NonSvgPenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup(z,{emit:Ee}){const U=z,Be=Ee,L=t.ref([]),V=t.ref([]),K=t.ref("0 0 0 0"),D=t.ref(U.color),y=t.ref(1),m=t.ref("draw"),w=t.ref(null),q=t.ref(!1),h=t.ref(null),Y=t.ref({x:0,y:0}),X=t.ref([""]),E=t.ref({row:0,col:0}),P=t.ref(16);let W=1;function G(){return W++}function ne(i){var a;const r=R.value;if(!r)return{x:0,y:0};const o=r.createSVGPoint();let u=i.clientX,v=i.clientY;i.touches&&i.touches.length&&(u=i.touches[0].clientX,v=i.touches[0].clientY),o.x=u,o.y=v;const f=(a=r.getScreenCTM())==null?void 0:a.inverse();return f?o.matrixTransform(f):{x:0,y:0}}function re(i){if(!w.value||m.value!=="text"||q.value)return;const{x:r,y:o}=ne(i);Y.value={x:r,y:o},X.value=[""],E.value={row:0,col:0};const u=document.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("x",r),u.setAttribute("y",o),u.setAttribute("fill",D.value),u.setAttribute("font-size",P.value),u.setAttribute("font-family","sans-serif"),u.setAttribute("class","vue-data-ui-doodle"),u.setAttribute("dominant-baseline","hanging"),u.setAttribute("pointer-events","all");const v=document.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttribute("x",r),v.setAttribute("dy","0"),v.textContent="",u.appendChild(v),u.style.pointerEvents="none",u.style.userSelect="none",w.value.appendChild(u),h.value=u,q.value=!0,window.addEventListener("keydown",ue),window.addEventListener("mousedown",ie,!0),J(),se()}function ue(i){if(!q.value)return;let{row:r,col:o}=E.value,u=X.value.slice(),v=!1;if(i.key==="Enter"){const f=u[r],a=f.slice(0,o),T=f.slice(o);u.splice(r,1,a,T),r+=1,o=0,v=!0,i.preventDefault()}else if(i.key==="Backspace"){if(o>0)u[r]=u[r].slice(0,o-1)+u[r].slice(o),o-=1,v=!0;else if(r>0){const f=u[r-1].length;u[r-1]+=u[r],u.splice(r,1),r-=1,o=f,v=!0}i.preventDefault()}else if(i.key==="Delete")o<u[r].length?(u[r]=u[r].slice(0,o)+u[r].slice(o+1),v=!0):r<u.length-1&&(u[r]+=u[r+1],u.splice(r+1,1),v=!0),i.preventDefault();else if(i.key==="ArrowLeft")o>0?o-=1:r>0&&(r-=1,o=u[r].length),v=!0,i.preventDefault();else if(i.key==="ArrowRight")o<u[r].length?o+=1:r<u.length-1&&(r+=1,o=0),v=!0,i.preventDefault();else if(i.key==="ArrowUp")r>0&&(r-=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key==="ArrowDown")r<u.length-1&&(r+=1,o=Math.min(o,u[r].length),v=!0),i.preventDefault();else if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey)u[r]=u[r].slice(0,o)+i.key+u[r].slice(o),o+=1,v=!0,i.preventDefault();else if(i.key==="Escape"){ce(!0);return}else i.key==="Tab"&&i.preventDefault();v&&(X.value=u,E.value={row:r,col:o},J(),se())}function J(){const i=h.value,{x:r,y:o}=Y.value;for(;i.firstChild;)i.removeChild(i.firstChild);X.value.forEach((u,v)=>{const f=document.createElementNS("http://www.w3.org/2000/svg","tspan");f.setAttribute("x",r),f.setAttribute("dy",v===0?"0":`${P.value*1.2}`),f.textContent=u.length?u:"",i.appendChild(f)})}function se(){const i=w.value.querySelector(".vue-data-ui-svg-caret");i&&w.value.removeChild(i);const r=h.value;if(!r)return;const{x:o,y:u}=Y.value,{row:v,col:f}=E.value,a=P.value,T=r.childNodes[v];if(!T)return;let B=T.textContent.slice(0,f);B.endsWith(" ")&&(B+=" ");const p=document.createElementNS("http://www.w3.org/2000/svg","text");p.setAttribute("x",o),p.setAttribute("y",u),p.setAttribute("font-size",a),p.setAttribute("font-family","sans-serif"),p.textContent=B||"",w.value.appendChild(p);const M=p.getBBox();w.value.removeChild(p);let $=u+v*a*1.2,g=o+M.width;const c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("x",g),c.setAttribute("y",$),c.setAttribute("width",1),c.setAttribute("height",a),c.setAttribute("fill",D.value),c.setAttribute("class","vue-data-ui-svg-caret"),w.value.appendChild(c)}function ie(i){if(h.value&&!h.value.contains(i.target)){const r=h.value.children;r.length===1&&(r[0].textContent===""||r[0].textContent==="")&&h.value.remove(),ce(!1)}}function ce(i=!1){var u;window.removeEventListener("keydown",ue),window.removeEventListener("mousedown",ie,!0);const r=(u=w.value)==null?void 0:u.querySelector(".vue-data-ui-svg-caret");r&&w.value.removeChild(r);const o=X.value.every(v=>!v||v==="");i||o||L.value.push({id:G(),type:"text",x:Y.value.x,y:Y.value.y,color:D.value,fontSize:P.value,lines:X.value.map(v=>v)}),h.value&&w.value&&w.value.contains(h.value)&&w.value.removeChild(h.value),q.value=!1,h.value=null,X.value=[""],E.value={row:0,col:0}}const H=t.computed(()=>d.lightenHexColor(U.color,.6));function ee({width:i,height:r}){K.value=`0 0 ${i} ${r}`}const _=t.ref(null);t.onMounted(()=>{t.nextTick(()=>{if(U.parent){_.value=new ResizeObserver(o=>{for(const u of o){const{width:v,height:f}=u.contentRect;ee({width:v,height:f})}}),_.value.observe(U.parent);const{width:i,height:r}=U.parent.getBoundingClientRect();ee({width:i,height:r})}}),w.value=R.value.querySelector("g")}),t.onBeforeUnmount(()=>{_.value&&_.value.disconnect()}),t.watch(()=>U.parent,i=>{if(!i)return;const{width:r,height:o}=U.parent.getBoundingClientRect();ee({width:r,height:o})},{immediate:!0}),t.watch(m,i=>{var r,o;i==="text"?(r=R.value)==null||r.addEventListener("mousedown",re):(o=R.value)==null||o.removeEventListener("mousedown",re)});const Z=t.ref(!1),N=t.ref(""),R=t.ref(null);function me(i){if(m.value!=="draw"||!R.value)return;Z.value=!0;const{x:r,y:o}=F(i);N.value=`M ${r} ${o}`}function be(i){if(!Z.value||!R.value)return;const{x:r,y:o}=F(i);N.value+=` ${r} ${o}`}function l(i){const r=i.trim().split(/\s+/);if(r.length<4)return i;const o=r.slice(1).map(Number);if(o.length%2!==0)return i;const u=ve(o),v=[`M ${u[0]} ${u[1]}`];for(let T=2;T<u.length-2;T+=2){const B=u[T-2],p=u[T-1],M=u[T],$=u[T+1],g=(B+M)/2,c=(p+$)/2;v.push(`Q ${B} ${p} ${g} ${c}`)}const f=u[u.length-2],a=u[u.length-1];return v.push(`L ${f} ${a}`),v.join(" ")}function ve(i,r=1){const o=[...i];for(let u=2;u<i.length-2;u+=2){const v=i[u],f=i[u+1],a=i[u-2],T=i[u-1],B=i[u+2],p=i[u+3];o[u]=v+r*((a+B)/2-v),o[u+1]=f+r*((T+p)/2-f)}return o}function xe(i){const r=i.trim().split(/\s+/);let o="",u="",v=null,f=null;for(let a=0;a<r.length;a+=1){const T=r[a];if(isNaN(T)){if(u=T,u==="M"||u==="L")v=parseFloat(r[++a]),f=parseFloat(r[++a]),o+=`${u}${v} ${f}`;else if(u==="Q"){const B=parseFloat(r[++a]),p=parseFloat(r[++a]),M=parseFloat(r[++a]),$=parseFloat(r[++a]);B===v&&p===f?o+=`t${M-v} ${$-f}`:o+=`q${B-v} ${p-f} ${M-v} ${$-f}`,v=M,f=$}}else{const B=parseFloat(T),p=parseFloat(r[++a]);if(u==="L"){const M=B-v,$=p-f;M===0?o+=`v${$}`:$===0?o+=`h${M}`:o+=`l${M} ${$}`,v=B,f=p}else if(u==="Q"){const M=B,$=p,g=parseFloat(r[++a]),c=parseFloat(r[++a]);M===v&&$===f?o+=`t${g-v} ${c-f}`:o+=`q${M-v} ${$-f} ${g-v} ${c-f}`,v=g,f=c}}}return o}function ae(){Z.value&&(L.value.push({id:G(),strokeWidth:y.value,path:xe(l(N.value)),color:D.value}),V.value=[],N.value=""),Z.value=!1}function F(i){if(!R.value)return{x:0,y:0};const r=R.value.getBoundingClientRect();let o,u;return i.touches&&i.touches.length?(o=i.touches[0].clientX,u=i.touches[0].clientY):(o=i.clientX,u=i.clientY),{x:o-r.left,y:u-r.top}}function ke(){if(L.value.length>0){const i=L.value.pop();V.value.push(i)}}function Ce(){if(V.value.length>0){const i=V.value.pop();L.value.push(i)}}function Le(){L.value=[],V.value=[]}const de=t.ref(null);return(i,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[z.active?(t.openBlock(),t.createElementBlock("div",{key:0,"data-dom-to-png-ignore":"",class:t.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:z.active}),style:t.normalizeStyle({backgroundColor:z.backgroundColor})},[t.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:r[0]||(r[0]=o=>Be("close"))},[t.createVNode(ge.default,{name:"close",stroke:z.color},null,8,["stroke"])],4),t.createElementVNode("button",kt,[t.createVNode(xt.ColorPicker,{value:D.value,"onUpdate:value":r[1]||(r[1]=o=>D.value=o),backgroundColor:z.backgroundColor,buttonBorderColor:H.value},null,8,["value","backgroundColor","buttonBorderColor"])]),t.createElementVNode("button",{class:t.normalizeClass(["vue-ui-pen-and-paper-action",{"vue-ui-pen-and-paper-action-active":m.value==="text"}]),onClick:r[2]||(r[2]=o=>m.value=m.value==="text"?"draw":"text"),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`})},[t.createVNode(ge.default,{name:m.value==="draw"?"annotator":"text",stroke:z.color},null,8,["name","stroke"]),t.createElementVNode("div",{style:t.normalizeStyle({position:"absolute",bottom:"-20px",color:H.value,width:"100%",textAlign:"center",fontSize:"12px"})},t.toDisplayString(t.unref(d.dataLabel)({v:m.value==="draw"?y.value:P.value,s:"px",r:1})),5)],6),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length}),disabled:!L.value.length,style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`,marginTop:"20px"}),onClick:ke},[t.createVNode(ge.default,{name:"restart",stroke:z.color},null,8,["stroke"])],14,Ct),t.createElementVNode("button",{class:t.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!V.value.length}),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Ce},[t.createVNode(ge.default,{name:"restart",stroke:z.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),t.createElementVNode("button",{class:t.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!L.value.length},"vue-ui-pen-and-paper-action"]),style:t.normalizeStyle({backgroundColor:z.backgroundColor,border:`1px solid ${H.value}`}),onClick:Le},[t.createVNode(ge.default,{name:"trash",stroke:z.color},null,8,["stroke"])],6),m.value==="draw"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:0,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":r[3]||(r[3]=o=>y.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,y.value]]):t.createCommentVNode("",!0),m.value==="text"?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:1,ref_key:"range",ref:de,type:"range",class:"vertical-range",min:3,max:48,step:.1,"onUpdate:modelValue":r[4]||(r[4]=o=>P.value=o),style:t.normalizeStyle({accentColor:z.color})},null,4)),[[t.vModelText,P.value]]):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),(t.openBlock(),t.createElementBlock("svg",{"data-mode":m.value,ref_key:"svgElement",ref:R,xmlns:t.unref(d.XMLNS),viewBox:K.value,class:t.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!z.active}),onMousedown:me,onMousemove:be,onMouseup:ae,onMouseleave:ae,onTouchstart:t.withModifiers(me,["prevent"]),onTouchmove:t.withModifiers(be,["prevent"]),onTouchend:ae},[t.createElementVNode("g",{ref_key:"G",ref:w},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.value,o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o.id},[o.path&&o.path.replace("M","").split(" ").length===2?(t.openBlock(),t.createElementBlock("circle",{key:0,cx:o.path.replace("M","").split(" ")[0],cy:o.path.replace("M","").split(" ")[1],r:o.strokeWidth/2,fill:o.color},null,8,wt)):o.path?(t.openBlock(),t.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:o.path,stroke:o.color,"stroke-width":o.strokeWidth,fill:"none"},null,8,St)):o.type==="text"?(t.openBlock(),t.createElementBlock("text",{key:2,x:o.x,y:o.y,fill:o.color,"font-size":o.fontSize,"font-family":"sans-serif","dominant-baseline":"hanging",class:"vue-ui-pen-and-paper-text"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.lines,(u,v)=>(t.openBlock(),t.createElementBlock("tspan",{key:v,x:o.x,dy:v===0?"0":o.fontSize*1.2},t.toDisplayString(u.length?u:""),9,$t))),128))],8,zt)):t.createCommentVNode("",!0)],64))),128))],512),Z.value?(t.openBlock(),t.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:l(N.value),stroke:D.value,"stroke-width":y.value*1.1,fill:"none"},null,8,Tt)):t.createCommentVNode("",!0)],42,Lt))],64))}},Bt=We._export_sfc(Et,[["__scopeId","data-v-14478ba4"]]),Mt=["id"],Nt=["onClick"],Pt={key:2,class:"vue-data-ui-watermark"},It=["innerHTML"],At={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(z,{expose:Ee,emit:U}){const{vue_ui_xy_canvas:Be}=d.useConfig(),L=z,V=t.ref(d.createUid()),K=t.ref(null),D=t.ref(null),y=t.ref(null),m=t.ref(1),w=t.ref(1),q=t.ref(!1),h=t.ref(null),Y=t.ref(""),X=t.ref(null),E=t.ref([]),P=t.ref(1),W=t.ref(!0),G=t.ref(!0),ne=t.ref(null),re=t.ref(0),ue=t.ref(0),J=t.ref(!1),se=t.ref(null),ie=t.ref(null),ce=t.ref(null),H=t.ref(null),ee=t.ref(0),_=t.ref(0),Z=t.ref(0),N=t.ref(null),R=t.computed(()=>!!L.dataset&&L.dataset.length),me=U,be=t.useSlots();t.onMounted(()=>{be["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const l=t.computed({get:()=>ke(),set:e=>e}),{userOptionsVisible:ve,setUserOptionsVisibility:xe,keepUserOptionState:ae}=mt.useUserOptionState({config:l.value}),{svgRef:F}=bt.useChartAccessibility({config:l.value.style.chart.title});function ke(){const e=qe.useNestedProp({userConfig:L.config,defaultConfig:Be});let n={};return e.theme?n={...qe.useNestedProp({userConfig:d.themes.vue_ui_xy_canvas[e.theme]||L.config,defaultConfig:e}),customPalette:d.themePalettes[e.theme]||d.palette}:n=e,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.min")?n.style.chart.scale.min=L.config.style.chart.scale.min:n.style.chart.scale.min=null,L.config&&d.hasDeepProperty(L.config,"style.chart.scale.max")?n.style.chart.scale.max=L.config.style.chart.scale.max:n.style.chart.scale.max=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.startIndex")?n.style.chart.zoom.startIndex=L.config.style.chart.zoom.startIndex:n.style.chart.zoom.startIndex=null,L.config&&d.hasDeepProperty(L.config,"style.chart.zoom.endIndex")?n.style.chart.zoom.endIndex=L.config.style.chart.zoom.endIndex:n.style.chart.zoom.endIndex=null,n}t.watch(()=>L.config,e=>{l.value=ke(),ve.value=!l.value.userOptions.showOnChartHover,Me(),ee.value+=1,_.value+=1,Z.value+=1,o.value.showTable=l.value.table.show,o.value.showDataLabels=l.value.style.chart.dataLabels.show,o.value.stacked=l.value.style.chart.stacked,o.value.showTooltip=l.value.style.chart.tooltip.show},{deep:!0}),t.watch(()=>L.dataset,()=>{Me(),ee.value+=1,_.value+=1,Z.value+=1},{deep:!0});const Ce=t.ref(l.value.style.chart.aspectRatio),{isPrinting:Le,isImaging:de,generatePdf:i,generateImage:r}=Ue.usePrinter({elementId:`xy_canvas_${V.value}`,fileName:l.value.style.chart.title.text||"vue-ui-xy-canvas",options:l.value.userOptions.print}),o=t.ref({showTable:l.value.table.show,showDataLabels:l.value.style.chart.dataLabels.show,stacked:l.value.style.chart.stacked,showTooltip:l.value.style.chart.tooltip.show});function u(e){J.value=e,ue.value+=1}const v=t.computed(()=>d.convertCustomPalette(l.value.customPalette)),f=t.computed(()=>$.value?Math.max(...$.value.filter((e,n)=>!E.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=t.computed(()=>{const e=m.value-m.value*(l.value.style.chart.paddingProportions.left+l.value.style.chart.paddingProportions.right);return{canvasWidth:m.value,canvasHeight:w.value,left:m.value*l.value.style.chart.paddingProportions.left,top:w.value*l.value.style.chart.paddingProportions.top,right:m.value-m.value*l.value.style.chart.paddingProportions.right,bottom:w.value-w.value*l.value.style.chart.paddingProportions.bottom,width:e,height:w.value-w.value*(l.value.style.chart.paddingProportions.top+l.value.style.chart.paddingProportions.bottom),slot:e/(c.value.end-c.value.start)}});function T(e,n){return e/n}function B({hasAutoScale:e,series:n,min:s,max:b,scale:C,yOffset:A,individualHeight:k,stackIndex:S=null}){return n.map((te,O)=>{const Q=C.min<0?Math.abs(C.min):0,le=T(te+Q,Q+C.max);let ye,pe;e&&(ye=C.min,pe=T(te-ye,C.max-ye));let j=0;return S===null?j=a.value.bottom-a.value.height*(e?pe:le):j=a.value.bottom-A-k*(e?pe:le),{x:a.value.left+a.value.slot*O+a.value.slot/2,y:j,value:te}})}const p=t.computed(()=>{const e=l.value.style.chart.scale.min!==null?l.value.style.chart.scale.min:Math.min(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),n=l.value.style.chart.scale.max!==null?l.value.style.chart.scale.max:Math.max(...$.value.filter((k,S)=>!E.value.includes(k.absoluteIndex)).flatMap(k=>k.series.slice(c.value.start,c.value.end))),s=d.calculateNiceScale(e<0?e:0,n===e?e+1<0?0:e+1:n<0?0:n,l.value.style.chart.scale.ticks),b=s.min<0?Math.abs(s.min):0,C=a.value.bottom-a.value.height*(b/(s.max+b)),A=s.ticks.map(k=>({y:a.value.bottom-a.value.height*((k+b)/(s.max+b)),x:a.value.left-8,value:k}));return{absoluteMin:b,max:n,min:e,scale:s,yLabels:A,zero:C}}),M=t.computed(()=>g.value.map(e=>`
|
|
2
2
|
<div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
|
|
3
3
|
<svg viewBox="0 0 10 10" height="12" width="12">
|
|
4
4
|
<circle cx="5" cy="5" r="5" fill="${e.color}"/>
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ref as c, computed as R, onMounted as ot, nextTick as Oe, onBeforeUnmount as $t, watch as _, createElementBlock as M, openBlock as w, Fragment as je, createCommentVNode as Z, normalizeStyle as N, normalizeClass as ve, createElementVNode as W, withDirectives as gt, createVNode as me, toDisplayString as Qe, unref as D, vModelText as pt, withModifiers as mt, renderList as bt, useSlots as Gt, createBlock as ie, createSlots as Zt, withCtx as A, renderSlot as P, normalizeProps as ye, guardReactiveProps as ge, createTextVNode as qt } from "vue";
|
|
2
|
-
import { l as St, f as be, X as jt, u as Kt, c as Qt, t as _t, p as pe, a as Jt, C as Ke, b as el, D as lt, i as Le, d as xt, $ as tl, H as ll, ah as al, o as ol, e as nl, x as kt, q as rl, r as ul, y as sl, s as Re } from "./index-
|
|
2
|
+
import { l as St, f as be, X as jt, u as Kt, c as Qt, t as _t, p as pe, a as Jt, C as Ke, b as el, D as lt, i as Le, d as xt, $ as tl, H as ll, ah as al, o as ol, e as nl, x as kt, q as rl, r as ul, y as sl, s as Re } from "./index-DWq4s-ww.js";
|
|
3
3
|
import { d as il, t as vl, u as cl, c as dl, a as Lt, l as F, r as at, b as ne, p as wt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
4
|
-
import { _ as hl } from "./Tooltip-
|
|
5
|
-
import { L as fl } from "./Legend-
|
|
6
|
-
import { _ as yl } from "./Title-
|
|
7
|
-
import { S as gl } from "./Slicer-
|
|
8
|
-
import { u as pl, U as ml } from "./usePrinter-
|
|
9
|
-
import bl from "./vue-ui-accordion-
|
|
10
|
-
import { D as xl } from "./DataTable-
|
|
11
|
-
import kl from "./vue-ui-skeleton-
|
|
12
|
-
import { u as Ct } from "./useNestedProp-
|
|
4
|
+
import { _ as hl } from "./Tooltip-DrcHzDRM.js";
|
|
5
|
+
import { L as fl } from "./Legend-DzSy-IUq.js";
|
|
6
|
+
import { _ as yl } from "./Title-BD93Z93w.js";
|
|
7
|
+
import { S as gl } from "./Slicer-DCUzf9fq.js";
|
|
8
|
+
import { u as pl, U as ml } from "./usePrinter-BjxuB68l.js";
|
|
9
|
+
import bl from "./vue-ui-accordion-Ca6nV8uf.js";
|
|
10
|
+
import { D as xl } from "./DataTable-DObvjXDX.js";
|
|
11
|
+
import kl from "./vue-ui-skeleton-CgSdY-i3.js";
|
|
12
|
+
import { u as Ct } from "./useNestedProp-CPAzMQW3.js";
|
|
13
13
|
import { u as Ll } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as wl } from "./useChartAccessibility-BWojgys7.js";
|
|
15
|
-
import De from "./BaseIcon-
|
|
16
|
-
import { C as Cl } from "./ColorPicker-
|
|
15
|
+
import De from "./BaseIcon-h9TCYwJK.js";
|
|
16
|
+
import { C as Cl } from "./ColorPicker-CtdVdLS4.js";
|
|
17
17
|
import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const $l = {
|
|
19
19
|
class: /* @__PURE__ */ ve({
|
package/package.json
CHANGED