vue-data-ui 2.6.41 → 2.6.43
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-CzwnuhQC.js → Arrow-Bz8n6ycZ.js} +1 -1
- package/dist/{Arrow-j4Npojhv.cjs → Arrow-C0LFlY5e.cjs} +1 -1
- package/dist/{BaseIcon-lwGFy7CI.cjs → BaseIcon-Bolmn50v.cjs} +1 -1
- package/dist/{BaseIcon-DyOT6PYJ.js → BaseIcon-BySu2V3d.js} +1 -1
- package/dist/{ColorPicker-BiTtlEx1.cjs → ColorPicker-DUYztfXY.cjs} +1 -1
- package/dist/{ColorPicker-DHXRDP2o.js → ColorPicker-DxSpy5e2.js} +3 -3
- package/dist/{DataTable-B8Vnlflz.js → DataTable-C5EKEHsp.js} +2 -2
- package/dist/{DataTable-CX-Mdafj.cjs → DataTable-DLUrhKkw.cjs} +1 -1
- package/dist/{Legend-DgyuPw1G.cjs → Legend-CHEbsxt2.cjs} +1 -1
- package/dist/{Legend-Bw9vX_fW.js → Legend-DSzoXS-3.js} +2 -2
- package/dist/{PackageVersion-CvpIoiav.cjs → PackageVersion-B6sWtTA0.cjs} +1 -1
- package/dist/{PackageVersion-C6hdi5vE.js → PackageVersion-BtrpyUPC.js} +1 -1
- package/dist/{PenAndPaper-5L5c2K-j.cjs → PenAndPaper-DO7-xSYx.cjs} +1 -1
- package/dist/{PenAndPaper-DBNdemyU.js → PenAndPaper-zjBsZuuq.js} +3 -3
- package/dist/{Shape-CcQr04tT.js → Shape-DzIamXsi.js} +1 -1
- package/dist/{Shape-my_oX1r-.cjs → Shape-_vXgfvZP.cjs} +1 -1
- package/dist/{Slicer-CJT21pOl.js → Slicer-DfOxim5W.js} +2 -2
- package/dist/{Slicer-Dpuspld0.cjs → Slicer-oUyDkRff.cjs} +1 -1
- package/dist/{Title-Dfjx2pT6.js → Title-BS1zFx79.js} +1 -1
- package/dist/{Title-CnyZaLp0.cjs → Title-BuZQSd23.cjs} +1 -1
- package/dist/{Tooltip-C3kzKkai.js → Tooltip-BNOd4lK1.js} +1 -1
- package/dist/{Tooltip-V6vr6k8X.cjs → Tooltip-BiBcMMP3.cjs} +1 -1
- package/dist/{html2canvas.esm-D53btDlk.cjs → html2canvas.esm-BA_v9SIU.cjs} +2 -2
- package/dist/{html2canvas.esm-Dr4iCOK6.js → html2canvas.esm-DgdJBc_o.js} +196 -196
- package/dist/img-BIeSHu0f.js +15 -0
- package/dist/img-D6uvziU0.cjs +1 -0
- package/dist/{index-BAPUY6BW.js → index-CzjsUYng.js} +19 -2
- package/dist/index-Zf2fUMIO.cjs +9 -0
- package/dist/{index.es-RWt7DWPC.js → index.es-BloWY6jv.js} +1285 -1285
- package/dist/{index.es-DvaaoatM.cjs → index.es-HygMioe_.cjs} +6 -6
- package/dist/{jspdf.es.min-Rw70uifz.cjs → jspdf.es.min-C518mmma.cjs} +57 -57
- package/dist/{jspdf.es.min-eTA26cmm.js → jspdf.es.min-t_OLULUR.js} +3038 -3038
- package/dist/pdf-BpXLKlRx.cjs +1 -0
- package/dist/{pdf-DVWl3Adn.js → pdf-H8Iw_Wax.js} +6 -6
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +17 -0
- package/dist/types/vue-data-ui.d.ts +17 -0
- package/dist/{useNestedProp-Ch_Tbu0f.cjs → useNestedProp-BcSwG6N0.cjs} +1 -1
- package/dist/{useNestedProp-X5u-cjpn.js → useNestedProp-RC28MVml.js} +1 -1
- package/dist/{usePrinter-BJ8ChcXf.cjs → usePrinter-BGPa8G48.cjs} +1 -1
- package/dist/{usePrinter-BsXYrX84.js → usePrinter-CUsjlfpk.js} +125 -122
- package/dist/{vue-data-ui-CZG3ODq3.cjs → vue-data-ui-BjDb6Vux.cjs} +1 -1
- package/dist/{vue-data-ui-OBrcs0EY.js → vue-data-ui-UWKC8R6X.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BRhfbpJd.js → vue-ui-3d-bar-5IdXbLb9.js} +55 -54
- package/dist/{vue-ui-3d-bar-BOUSglv4.cjs → vue-ui-3d-bar-WS8tL_FC.cjs} +8 -8
- package/dist/{vue-ui-accordion-BS_katXk.cjs → vue-ui-accordion-CnGQYWdI.cjs} +1 -1
- package/dist/{vue-ui-accordion-Dm7ZlylJ.js → vue-ui-accordion-ConQex-C.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CBtPdObD.js → vue-ui-age-pyramid-CP6Fd6zD.js} +13 -12
- package/dist/vue-ui-age-pyramid-CehCcwLC.cjs +1 -0
- package/dist/{vue-ui-annotator-Rb7-Ig4d.js → vue-ui-annotator-C5NyXYkj.js} +3 -3
- package/dist/{vue-ui-annotator-B8HvCy1u.cjs → vue-ui-annotator-CZ1F-VY2.cjs} +1 -1
- package/dist/{vue-ui-bullet-C7ftUjYQ.js → vue-ui-bullet-DKqr4Rcd.js} +11 -10
- package/dist/vue-ui-bullet-Djg_HER0.cjs +34 -0
- package/dist/{vue-ui-candlestick-DY4EKJPX.cjs → vue-ui-candlestick-BU9MfLPt.cjs} +2 -2
- package/dist/{vue-ui-candlestick-D_osh2qN.js → vue-ui-candlestick-DtVpSOzB.js} +14 -13
- package/dist/{vue-ui-carousel-table-M72bzy85.js → vue-ui-carousel-table-CYcrhcdv.js} +7 -6
- package/dist/vue-ui-carousel-table-EhzhIcW2.cjs +1 -0
- package/dist/{vue-ui-chestnut-BdHd-Juu.cjs → vue-ui-chestnut-C3UVgMQo.cjs} +2 -2
- package/dist/{vue-ui-chestnut-i7EtBpLY.js → vue-ui-chestnut-D5LH5zdq.js} +37 -36
- package/dist/{vue-ui-circle-pack-BC1uScHe.js → vue-ui-circle-pack-BL753_Uo.js} +14 -13
- package/dist/vue-ui-circle-pack-CJNBxO1N.cjs +1 -0
- package/dist/{vue-ui-cursor-B06MWQUK.cjs → vue-ui-cursor-B2MxKYNM.cjs} +1 -1
- package/dist/{vue-ui-cursor-eJ2ExkFm.js → vue-ui-cursor-Fe70t9Bl.js} +2 -2
- package/dist/{vue-ui-dashboard-m-sB4TXH.cjs → vue-ui-dashboard-C11-dJEl.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BAwwet8B.js → vue-ui-dashboard-QOSGNhC9.js} +3 -3
- package/dist/{vue-ui-digits-B6ivU7b9.js → vue-ui-digits-C5D_xk6r.js} +2 -2
- package/dist/{vue-ui-digits-C5jmpiTL.cjs → vue-ui-digits-H19fVeIu.cjs} +1 -1
- package/dist/{vue-ui-donut-DtZ-n8vd.js → vue-ui-donut-Bd1mIoux.js} +15 -14
- package/dist/vue-ui-donut-CwJg0emK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-VJpinb_g.js → vue-ui-donut-evolution-CFQ4lMWd.js} +45 -44
- package/dist/vue-ui-donut-evolution-DTjfMlNh.cjs +1 -0
- package/dist/vue-ui-dumbbell-CBsxNWVV.cjs +9 -0
- package/dist/{vue-ui-dumbbell-EoH10k2D.js → vue-ui-dumbbell-KJd6G5qD.js} +43 -42
- package/dist/vue-ui-flow-D3gtil-H.cjs +1 -0
- package/dist/{vue-ui-flow-B-xWkgVv.js → vue-ui-flow-DAxMQfhu.js} +53 -52
- package/dist/vue-ui-funnel-CkCNCQ1F.cjs +1 -0
- package/dist/{vue-ui-funnel-hdajl9CD.js → vue-ui-funnel-PvEDGsfj.js} +13 -12
- package/dist/{vue-ui-galaxy-CeqCjd4V.js → vue-ui-galaxy-DfAfjTDr.js} +31 -30
- package/dist/vue-ui-galaxy-DjeZUCuE.cjs +1 -0
- package/dist/vue-ui-gauge-BfDY3XHF.cjs +1 -0
- package/dist/{vue-ui-gauge-BSuGWZEY.js → vue-ui-gauge-DBGqwPZs.js} +36 -35
- package/dist/{vue-ui-gizmo-VFwChXXf.js → vue-ui-gizmo-BT0DknqD.js} +3 -3
- package/dist/{vue-ui-gizmo-D_J2R5JU.cjs → vue-ui-gizmo-yWBMeY1e.cjs} +1 -1
- package/dist/vue-ui-heatmap-Bkd2G7uW.cjs +1 -0
- package/dist/{vue-ui-heatmap-DAeCu-iM.js → vue-ui-heatmap-D_Tr1Hot.js} +73 -72
- package/dist/vue-ui-history-plot-B-VBGxRa.cjs +1 -0
- package/dist/{vue-ui-history-plot-Caty-SWt.js → vue-ui-history-plot-BG4nMlp7.js} +33 -32
- package/dist/{vue-ui-kpi-Bu24xnG8.cjs → vue-ui-kpi-LMze0lWI.cjs} +1 -1
- package/dist/{vue-ui-kpi-B2WcjLWP.js → vue-ui-kpi-WqBG4upX.js} +3 -3
- package/dist/{vue-ui-mini-loader-BgW5M00P.cjs → vue-ui-mini-loader-CoVSw6EU.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-B8QzxySW.js → vue-ui-mini-loader-eRXubESG.js} +2 -2
- package/dist/{vue-ui-molecule-Ds0uou9B.js → vue-ui-molecule-BcpPXHgo.js} +13 -12
- package/dist/vue-ui-molecule-Cu6_FpHD.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DMrAwNQa.js → vue-ui-mood-radar-CBFN1PfU.js} +14 -13
- package/dist/vue-ui-mood-radar-DlTYq1OE.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-FSCi4a9f.js → vue-ui-nested-donuts-Cq0PWd1N.js} +14 -13
- package/dist/{vue-ui-nested-donuts-3orKF1Fi.cjs → vue-ui-nested-donuts-c6Dc8R-H.cjs} +2 -2
- package/dist/{vue-ui-onion-YWVe7eaq.js → vue-ui-onion-BFDD4SN8.js} +14 -13
- package/dist/{vue-ui-onion-CiXgGubD.cjs → vue-ui-onion-Bd2D2Vld.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DeZ2tt1O.cjs → vue-ui-parallel-coordinate-plot-BTCld26y.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-C8vxLtTa.js → vue-ui-parallel-coordinate-plot-YF_ssmB7.js} +35 -34
- package/dist/vue-ui-quadrant-B659Q5iR.cjs +1 -0
- package/dist/{vue-ui-quadrant-DmDoysAq.js → vue-ui-quadrant-BeEBWrsG.js} +15 -14
- package/dist/{vue-ui-quick-chart-CwJe7rJt.js → vue-ui-quick-chart-Ba6-ZZk9.js} +12 -11
- package/dist/{vue-ui-quick-chart-BgSeWNxv.cjs → vue-ui-quick-chart-w0LaPcFd.cjs} +2 -2
- package/dist/vue-ui-radar-DAUGZC3X.cjs +1 -0
- package/dist/{vue-ui-radar-Bo9SbfBN.js → vue-ui-radar-Dgu656_F.js} +15 -14
- package/dist/{vue-ui-rating-DPs6BKf1.js → vue-ui-rating-BIk1Ip7B.js} +2 -2
- package/dist/{vue-ui-rating-CqY6A4WX.cjs → vue-ui-rating-BPgLpyoa.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-3Al_2yf1.js → vue-ui-relation-circle-CUU2Y66i.js} +13 -12
- package/dist/vue-ui-relation-circle-Dz_Du_5e.cjs +1 -0
- package/dist/{vue-ui-rings-DOlqslSN.cjs → vue-ui-rings-B7kPmx8M.cjs} +2 -2
- package/dist/{vue-ui-rings-D9_ClLdg.js → vue-ui-rings-DnZ3fSvL.js} +15 -14
- package/dist/{vue-ui-scatter-DFDHrRyc.js → vue-ui-scatter-Cej6ox0t.js} +15 -14
- package/dist/vue-ui-scatter-GfJALpzt.cjs +1 -0
- package/dist/{vue-ui-screenshot-R1IzXCqt.js → vue-ui-screenshot-B4HNd362.js} +2 -2
- package/dist/{vue-ui-screenshot-BWVTxKN_.cjs → vue-ui-screenshot-DkuLYple.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Dn9J8aVW.cjs → vue-ui-skeleton-CiGqKHDK.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DBfQG5lC.js → vue-ui-skeleton-XUKIcV-3.js} +3 -3
- package/dist/{vue-ui-smiley-CLv8dmnr.js → vue-ui-smiley-BUgxzenz.js} +2 -2
- package/dist/{vue-ui-smiley-DQ7I4CcQ.cjs → vue-ui-smiley-Dfo5zjHi.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B0qbQaxj.js → vue-ui-spark-trend-CvsL1wxJ.js} +5 -5
- package/dist/{vue-ui-spark-trend-Drp1E7DH.cjs → vue-ui-spark-trend-EK-zZg4U.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DYW_BgkY.cjs → vue-ui-sparkbar-CvWbFKnW.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bz_QHNKp.js → vue-ui-sparkbar-QL_FFOna.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C6tB0nl4.cjs → vue-ui-sparkgauge-CX9L1CCZ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-5EIHFUiW.js → vue-ui-sparkgauge-g51bSap-.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-KIw7nvKd.cjs → vue-ui-sparkhistogram-C_RkgtwV.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-COdCqBiI.js → vue-ui-sparkhistogram-TwShrJAd.js} +5 -5
- package/dist/{vue-ui-sparkline-CXIdKGso.cjs → vue-ui-sparkline-B-1mFAFf.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DgUc7CMn.js → vue-ui-sparkline-PoXP19tk.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-MrQzEVeh.cjs → vue-ui-sparkstackbar-BtOZ3Xvo.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BUqauQMd.js → vue-ui-sparkstackbar-C6K5d1a8.js} +5 -5
- package/dist/{vue-ui-stackbar-BUJpFyA3.cjs → vue-ui-stackbar-DP0kLFaZ.cjs} +2 -2
- package/dist/{vue-ui-stackbar-C-i36fcc.js → vue-ui-stackbar-DoAp1q1k.js} +16 -15
- package/dist/vue-ui-strip-plot-C6r7wmgw.cjs +1 -0
- package/dist/{vue-ui-strip-plot-Dc82V8Qo.js → vue-ui-strip-plot-DFyDRMeJ.js} +14 -13
- package/dist/{vue-ui-table-0E7zmWIW.cjs → vue-ui-table-BoFUMpxE.cjs} +2 -2
- package/dist/{vue-ui-table-DnAzCFyM.js → vue-ui-table-COQQvYVK.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CzwyhRmp.js → vue-ui-table-heatmap-D1a4Jbfq.js} +9 -8
- package/dist/vue-ui-table-heatmap-DEmDa6Mg.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-BU4he5wL.js → vue-ui-table-sparkline-CH1R9R6a.js} +9 -8
- package/dist/vue-ui-table-sparkline-bsEJsgny.cjs +1 -0
- package/dist/vue-ui-thermometer-1Gl2tpWy.cjs +1 -0
- package/dist/{vue-ui-thermometer-uShXro0_.js → vue-ui-thermometer-CZIBISGi.js} +26 -25
- package/dist/{vue-ui-timer-D6L29mt9.js → vue-ui-timer-CL0vPqGn.js} +5 -5
- package/dist/{vue-ui-timer-C8qXGSrQ.cjs → vue-ui-timer-DXZ_7lOR.cjs} +1 -1
- package/dist/vue-ui-tiremarks-D8rdzzQb.cjs +1 -0
- package/dist/{vue-ui-tiremarks-BcjGqJn-.js → vue-ui-tiremarks-DdwzlfZg.js} +20 -19
- package/dist/{vue-ui-treemap-BpB4ofIX.js → vue-ui-treemap-B3N6hzO2.js} +14 -13
- package/dist/vue-ui-treemap-CTcY1Qxh.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-CEIg-_SG.js → vue-ui-vertical-bar-BOpex-Xq.js} +16 -15
- package/dist/{vue-ui-vertical-bar-Q5ArQTC0.cjs → vue-ui-vertical-bar-pwqVkPXV.cjs} +3 -3
- package/dist/vue-ui-waffle-Bd_6bbdt.cjs +1 -0
- package/dist/{vue-ui-waffle-h8UbPcuC.js → vue-ui-waffle-CW6THuE8.js} +15 -14
- package/dist/{vue-ui-wheel-BhLEyhW_.js → vue-ui-wheel-9xdDEq_q.js} +10 -9
- package/dist/vue-ui-wheel-BO3Xqux3.cjs +1 -0
- package/dist/vue-ui-word-cloud-CJjvWjsc.cjs +1 -0
- package/dist/{vue-ui-word-cloud-oa6Tnt3L.js → vue-ui-word-cloud-DAlBxzeY.js} +39 -38
- package/dist/vue-ui-xy-BIBSJN48.cjs +3 -0
- package/dist/{vue-ui-xy-CXY00bkP.js → vue-ui-xy-CDGKX79V.js} +21 -19
- package/dist/{vue-ui-xy-canvas-Ce4kC0Xz.cjs → vue-ui-xy-canvas-BN7OU1Ak.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DapzRtyI.js → vue-ui-xy-canvas-C8YlVwjI.js} +111 -110
- package/package.json +2 -2
- package/dist/img-BPGizWpM.cjs +0 -1
- package/dist/img-itj0Vdmx.js +0 -15
- package/dist/index-CVZp-EFm.cjs +0 -9
- package/dist/pdf-DSkQT5iH.cjs +0 -1
- package/dist/vue-ui-age-pyramid-Bt_wuZiO.cjs +0 -1
- package/dist/vue-ui-bullet-BlYz0H5Q.cjs +0 -34
- package/dist/vue-ui-carousel-table-DHN5NuUS.cjs +0 -1
- package/dist/vue-ui-circle-pack-rf-DQQuM.cjs +0 -1
- package/dist/vue-ui-donut-GBs-eAbp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DdDVkeuH.cjs +0 -1
- package/dist/vue-ui-dumbbell-94nsg3t1.cjs +0 -9
- package/dist/vue-ui-flow-Ddn2S7NR.cjs +0 -1
- package/dist/vue-ui-funnel-Iawza5lZ.cjs +0 -1
- package/dist/vue-ui-galaxy-BoiBmzst.cjs +0 -1
- package/dist/vue-ui-gauge-B4aBDTfP.cjs +0 -1
- package/dist/vue-ui-heatmap-BNlBRWi1.cjs +0 -1
- package/dist/vue-ui-history-plot-BcjI3J96.cjs +0 -1
- package/dist/vue-ui-molecule-WPdx8i08.cjs +0 -1
- package/dist/vue-ui-mood-radar-D45uj8xo.cjs +0 -1
- package/dist/vue-ui-quadrant-LTIGWJiO.cjs +0 -1
- package/dist/vue-ui-radar-CblS9X1n.cjs +0 -1
- package/dist/vue-ui-relation-circle-COYe9dsQ.cjs +0 -1
- package/dist/vue-ui-scatter-DQhoY0TK.cjs +0 -1
- package/dist/vue-ui-strip-plot-BLECfP0D.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BHSksmMn.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BoVrzVok.cjs +0 -1
- package/dist/vue-ui-thermometer-DeJpqEix.cjs +0 -1
- package/dist/vue-ui-tiremarks-CQ4yESxv.cjs +0 -1
- package/dist/vue-ui-treemap-DbTCrAmK.cjs +0 -1
- package/dist/vue-ui-waffle-B61yE93N.cjs +0 -1
- package/dist/vue-ui-wheel-Chc9pVEu.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cq6mmJVo.cjs +0 -1
- package/dist/vue-ui-xy-Brt11wmo.cjs +0 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useCssVars as He, computed as m, ref as T, watch as We, onMounted as Ke, createElementBlock as o, openBlock as a, unref as n, normalizeStyle as h, normalizeClass as k, createBlock as K, createCommentVNode as f, renderSlot as S, createSlots as Je, withCtx as B, normalizeProps as J, guardReactiveProps as Q, createVNode as Ce, createElementVNode as s, toDisplayString as c, Fragment as g, renderList as _, createTextVNode as Z, withKeys as Qe, nextTick as Te } from "vue";
|
|
2
|
-
import { u as Ze, c as et, t as tt, p as P, a as lt, b as at, g as ne, e as ee, d as re, o as ot, X as st, s as F, w as ze, i as G, f as z, G as Ne, m as Se, j as ut, k as H, n as V, q as nt, r as rt } from "./index-
|
|
3
|
-
import { u as it, U as ct } from "./usePrinter-
|
|
4
|
-
import dt from "./vue-ui-skeleton-
|
|
5
|
-
import vt from "./BaseIcon-
|
|
6
|
-
import yt from "./vue-ui-accordion-
|
|
7
|
-
import { u as Fe } from "./useNestedProp-
|
|
8
|
-
import { _ as ht } from "./PackageVersion-
|
|
9
|
-
import { P as ft } from "./PenAndPaper-
|
|
2
|
+
import { u as Ze, c as et, t as tt, p as P, a as lt, b as at, g as ne, e as ee, d as re, o as ot, X as st, s as F, w as ze, i as G, f as z, G as Ne, m as Se, j as ut, k as H, n as V, q as nt, r as rt } from "./index-CzjsUYng.js";
|
|
3
|
+
import { u as it, U as ct } from "./usePrinter-CUsjlfpk.js";
|
|
4
|
+
import dt from "./vue-ui-skeleton-XUKIcV-3.js";
|
|
5
|
+
import vt from "./BaseIcon-BySu2V3d.js";
|
|
6
|
+
import yt from "./vue-ui-accordion-ConQex-C.js";
|
|
7
|
+
import { u as Fe } from "./useNestedProp-RC28MVml.js";
|
|
8
|
+
import { _ as ht } from "./PackageVersion-BtrpyUPC.js";
|
|
9
|
+
import { P as ft } from "./PenAndPaper-zjBsZuuq.js";
|
|
10
10
|
import { u as bt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { u as pt } from "./useChartAccessibility-BWojgys7.js";
|
|
12
12
|
import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -15,7 +15,7 @@ const _t = ["id"], xt = {
|
|
|
15
15
|
ref: "noTitle",
|
|
16
16
|
class: "vue-data-ui-no-title-space",
|
|
17
17
|
style: "height:36px; width: 100%;background:transparent"
|
|
18
|
-
}, mt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = { key: 1 }, $t = ["fill", "font-weight", "font-size", "x", "y"], Ct = ["fill", "font-weight", "font-size", "x", "y"], Tt = ["id"], zt = ["stop-color"], Nt = ["stop-color"], St = ["id"], Ft = ["stop-color"], It = ["stop-color"], Lt = ["id"], Pt = ["stop-color"], Vt = ["stop-color"],
|
|
18
|
+
}, mt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = { key: 1 }, $t = ["fill", "font-weight", "font-size", "x", "y"], Ct = ["fill", "font-weight", "font-size", "x", "y"], Tt = ["id"], zt = ["stop-color"], Nt = ["stop-color"], St = ["id"], Ft = ["stop-color"], It = ["stop-color"], Lt = ["id"], Pt = ["stop-color"], Vt = ["stop-color"], Ot = ["stop-color"], Rt = ["id"], Mt = ["stop-color"], Bt = ["stop-color"], jt = ["stop-color"], At = ["id"], Xt = ["stop-color"], Gt = ["stop-color"], Et = ["stop-color"], Ut = { key: 2 }, Dt = ["x", "y", "font-size", "font-weight", "fill"], Yt = ["x", "y", "font-size", "font-weight", "fill"], qt = ["d", "stroke"], Ht = ["cx", "cy", "r", "fill"], Wt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Kt = { key: 3 }, Jt = ["x", "y", "font-size", "fill", "onClick"], Qt = { key: 0 }, Zt = ["x", "y", "fill", "font-size", "font-weight"], el = ["x", "y", "height", "width", "fill", "rx", "onClick"], tl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], ll = { key: 4 }, al = ["x", "y", "fill", "font-size", "onClick"], ol = ["d", "stroke"], sl = ["fill", "cx", "cy", "r", "onClick"], ul = { key: 5 }, nl = ["x", "y", "font-size", "font-weight", "fill"], rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = ["y", "height", "width"], cl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, dl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, vl = {
|
|
19
19
|
viewBox: "0 0 20 20",
|
|
20
20
|
height: "16",
|
|
21
21
|
width: "16"
|
|
@@ -23,7 +23,7 @@ const _t = ["id"], xt = {
|
|
|
23
23
|
viewBox: "0 0 20 20",
|
|
24
24
|
height: "16",
|
|
25
25
|
width: "16"
|
|
26
|
-
}, _l = ["fill"], xl = ["cx", "cy", "fill"], ml = ["d", "stroke"], kl = ["cx", "cy", "fill"], wl = ["d", "stroke"], $l = ["cx", "cy", "fill"], Cl = ["cx", "cy", "fill"], Tl = ["x", "y", "fill", "font-size", "font-weight"], zl = ["x", "y", "fill", "font-size", "font-weight"], Nl = ["x", "text-anchor", "y", "fill", "font-size"], Sl = ["x", "text-anchor", "y", "fill", "font-size"], Fl = ["x", "text-anchor", "y", "fill", "font-size"], Il = ["x", "text-anchor", "y", "fill", "font-size"], Ll = ["x", "text-anchor", "y", "fill", "font-size"], Pl = ["x", "y", "font-size", "fill"], Vl = ["x", "y", "font-size", "fill"],
|
|
26
|
+
}, _l = ["fill"], xl = ["cx", "cy", "fill"], ml = ["d", "stroke"], kl = ["cx", "cy", "fill"], wl = ["d", "stroke"], $l = ["cx", "cy", "fill"], Cl = ["cx", "cy", "fill"], Tl = ["x", "y", "fill", "font-size", "font-weight"], zl = ["x", "y", "fill", "font-size", "font-weight"], Nl = ["x", "text-anchor", "y", "fill", "font-size"], Sl = ["x", "text-anchor", "y", "fill", "font-size"], Fl = ["x", "text-anchor", "y", "fill", "font-size"], Il = ["x", "text-anchor", "y", "fill", "font-size"], Ll = ["x", "text-anchor", "y", "fill", "font-size"], Pl = ["x", "y", "font-size", "fill"], Vl = ["x", "y", "font-size", "fill"], Ol = ["x", "y", "font-size", "fill"], Rl = {
|
|
27
27
|
key: 4,
|
|
28
28
|
class: "vue-data-ui-watermark"
|
|
29
29
|
}, Ml = {
|
|
@@ -49,32 +49,33 @@ const _t = ["id"], xt = {
|
|
|
49
49
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
50
50
|
setup(Ie, { expose: Le, emit: Pe }) {
|
|
51
51
|
He((l) => ({
|
|
52
|
-
"
|
|
52
|
+
"2dd0b74d": l.tdo
|
|
53
53
|
}));
|
|
54
|
-
const { vue_ui_chestnut: Ve } = Ze(),
|
|
54
|
+
const { vue_ui_chestnut: Ve } = Ze(), O = Ie, Y = m(() => !!O.dataset && O.dataset.length), w = T(et()), ie = T(null), Oe = T(null), ce = T(0), e = m({
|
|
55
55
|
get: () => he(),
|
|
56
56
|
set: (l) => l
|
|
57
57
|
}), { userOptionsVisible: te, setUserOptionsVisibility: de, keepUserOptionState: ve } = bt({ config: e.value }), { svgRef: ye } = pt({ config: e.value.style.chart.layout.title });
|
|
58
58
|
function he() {
|
|
59
59
|
const l = Fe({
|
|
60
|
-
userConfig:
|
|
60
|
+
userConfig: O.config,
|
|
61
61
|
defaultConfig: Ve
|
|
62
62
|
});
|
|
63
63
|
return l.theme ? {
|
|
64
64
|
...Fe({
|
|
65
|
-
userConfig: lt.vue_ui_chestnut[l.theme] ||
|
|
65
|
+
userConfig: lt.vue_ui_chestnut[l.theme] || O.config,
|
|
66
66
|
defaultConfig: l
|
|
67
67
|
}),
|
|
68
68
|
customPalette: tt[l.theme] || P
|
|
69
69
|
} : l;
|
|
70
70
|
}
|
|
71
|
-
We(() =>
|
|
71
|
+
We(() => O.config, (l) => {
|
|
72
72
|
e.value = he(), te.value = !e.value.userOptions.showOnChartHover, E.value.showTable = e.value.table.show, ke();
|
|
73
73
|
}, { deep: !0 });
|
|
74
74
|
const { isPrinting: fe, isImaging: be, generatePdf: pe, generateImage: ge } = it({
|
|
75
75
|
elementId: `vue-ui-chestnut_${w.value}`,
|
|
76
|
-
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
|
|
77
|
-
|
|
76
|
+
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
|
|
77
|
+
options: e.value.userOptions.print
|
|
78
|
+
}), Re = m(() => e.value.userOptions.show), le = m(() => at(e.value.customPalette)), E = T({
|
|
78
79
|
showTable: e.value.table.show
|
|
79
80
|
}), ae = T(null), _e = T(!1), Me = m(() => e.value.table.responsiveBreakpoint), r = T({
|
|
80
81
|
gap: 6,
|
|
@@ -96,7 +97,7 @@ const _t = ["id"], xt = {
|
|
|
96
97
|
width: r.value.width - (r.value.padding.left + r.value.padding.right),
|
|
97
98
|
height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
|
|
98
99
|
seedX: r.value.padding.left + 64
|
|
99
|
-
})),
|
|
100
|
+
})), R = m(() => Y.value ? O.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = m(() => (O.dataset.forEach((l, i) => {
|
|
100
101
|
ne({
|
|
101
102
|
datasetObject: l,
|
|
102
103
|
requiredAttributes: ["name", "branches"]
|
|
@@ -132,7 +133,7 @@ const _t = ["id"], xt = {
|
|
|
132
133
|
});
|
|
133
134
|
});
|
|
134
135
|
});
|
|
135
|
-
}),
|
|
136
|
+
}), O.dataset.map((l, i) => {
|
|
136
137
|
const t = (l.branches || []).map((u) => u.value || 0).reduce((u, b) => u + b, 0);
|
|
137
138
|
return {
|
|
138
139
|
...l,
|
|
@@ -154,14 +155,14 @@ const _t = ["id"], xt = {
|
|
|
154
155
|
table: {
|
|
155
156
|
rootName: l.name,
|
|
156
157
|
rootValue: t,
|
|
157
|
-
rootToTotal: t /
|
|
158
|
+
rootToTotal: t / R.value,
|
|
158
159
|
branchName: u.name,
|
|
159
160
|
branchValue: u.value,
|
|
160
|
-
branchToTotal: u.value /
|
|
161
|
+
branchToTotal: u.value / R.value,
|
|
161
162
|
branchToRoot: u.value / t,
|
|
162
163
|
nutName: y.name,
|
|
163
164
|
nutValue: y.value,
|
|
164
|
-
nutToTotal: y.value /
|
|
165
|
+
nutToTotal: y.value / R.value,
|
|
165
166
|
nutToRoot: y.value / t,
|
|
166
167
|
nutToBranch: y.value / u.value
|
|
167
168
|
},
|
|
@@ -172,7 +173,7 @@ const _t = ["id"], xt = {
|
|
|
172
173
|
branchTotal: u.value >= 0 ? u.value : 0,
|
|
173
174
|
proportionToBranch: y.value / u.value,
|
|
174
175
|
proportionToRoot: y.value / t,
|
|
175
|
-
proportionToTree: y.value /
|
|
176
|
+
proportionToTree: y.value / R.value,
|
|
176
177
|
rootIndex: i,
|
|
177
178
|
id: y.id || `nut_${i}_${b}_${p}_${w.value}`,
|
|
178
179
|
color: re(y.color) || le.value[p] || P[p] || P[p % P.length],
|
|
@@ -248,7 +249,7 @@ const _t = ["id"], xt = {
|
|
|
248
249
|
ke();
|
|
249
250
|
});
|
|
250
251
|
function ke() {
|
|
251
|
-
ot(
|
|
252
|
+
ot(O.dataset) && ee({
|
|
252
253
|
componentName: "VueUiChestnut",
|
|
253
254
|
type: "dataset"
|
|
254
255
|
});
|
|
@@ -274,7 +275,7 @@ const _t = ["id"], xt = {
|
|
|
274
275
|
});
|
|
275
276
|
function we() {
|
|
276
277
|
Te(() => {
|
|
277
|
-
const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total",
|
|
278
|
+
const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", R.value], [""]], i = v.value.head, t = v.value.body.map((y, p) => [
|
|
278
279
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootName,
|
|
279
280
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootValue,
|
|
280
281
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootToTotal,
|
|
@@ -326,10 +327,10 @@ const _t = ["id"], xt = {
|
|
|
326
327
|
active: W.value,
|
|
327
328
|
onClose: ue
|
|
328
329
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
329
|
-
|
|
330
|
+
Re.value ? (a(), o("div", xt, null, 512)) : f("", !0),
|
|
330
331
|
e.value.userOptions.show && Y.value && (n(ve) || n(te)) ? (a(), K(ct, {
|
|
331
332
|
ref_key: "details",
|
|
332
|
-
ref:
|
|
333
|
+
ref: Oe,
|
|
333
334
|
key: `user_options_${ce.value}`,
|
|
334
335
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
335
336
|
color: e.value.style.chart.color,
|
|
@@ -504,7 +505,7 @@ const _t = ["id"], xt = {
|
|
|
504
505
|
s("stop", {
|
|
505
506
|
offset: "100%",
|
|
506
507
|
"stop-color": n(F)("#FFFFFF", 0)
|
|
507
|
-
}, null, 8,
|
|
508
|
+
}, null, 8, Ot)
|
|
508
509
|
], 8, Lt),
|
|
509
510
|
s("radialGradient", {
|
|
510
511
|
cx: "50%",
|
|
@@ -526,7 +527,7 @@ const _t = ["id"], xt = {
|
|
|
526
527
|
offset: "100%",
|
|
527
528
|
"stop-color": n(F)("#FFFFFF", 0)
|
|
528
529
|
}, null, 8, jt)
|
|
529
|
-
], 8,
|
|
530
|
+
], 8, Rt),
|
|
530
531
|
s("radialGradient", {
|
|
531
532
|
cx: "50%",
|
|
532
533
|
cy: "50%",
|
|
@@ -569,10 +570,10 @@ const _t = ["id"], xt = {
|
|
|
569
570
|
onClick: $
|
|
570
571
|
}, c(n(G)(
|
|
571
572
|
e.value.style.chart.layout.grandTotal.formatter,
|
|
572
|
-
|
|
573
|
+
R.value,
|
|
573
574
|
n(z)({
|
|
574
575
|
p: e.value.style.chart.layout.grandTotal.prefix,
|
|
575
|
-
v:
|
|
576
|
+
v: R.value,
|
|
576
577
|
s: e.value.style.chart.layout.grandTotal.suffix,
|
|
577
578
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
578
579
|
})
|
|
@@ -773,7 +774,7 @@ const _t = ["id"], xt = {
|
|
|
773
774
|
{ datapoint: t }
|
|
774
775
|
)), 1),
|
|
775
776
|
Z(" (" + c(n(z)({
|
|
776
|
-
v: t.total /
|
|
777
|
+
v: t.total / R.value * 100,
|
|
777
778
|
s: "%",
|
|
778
779
|
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
779
780
|
})) + ") ", 1)
|
|
@@ -1027,14 +1028,14 @@ const _t = ["id"], xt = {
|
|
|
1027
1028
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1028
1029
|
onClick: $
|
|
1029
1030
|
}, c(n(z)({
|
|
1030
|
-
v: t.value /
|
|
1031
|
+
v: t.value / R.value * 100,
|
|
1031
1032
|
s: "%",
|
|
1032
1033
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1033
|
-
})) + " " + c(e.value.translations.proportionToTree), 9,
|
|
1034
|
+
})) + " " + c(e.value.translations.proportionToTree), 9, Ol)) : f("", !0)
|
|
1034
1035
|
]))), 256)),
|
|
1035
1036
|
S(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
1036
1037
|
], 14, mt)) : f("", !0),
|
|
1037
|
-
l.$slots.watermark ? (a(), o("div",
|
|
1038
|
+
l.$slots.watermark ? (a(), o("div", Rl, [
|
|
1038
1039
|
S(l.$slots, "watermark", J(Q({ isPrinting: n(fe) || n(be) })), void 0, !0)
|
|
1039
1040
|
])) : f("", !0),
|
|
1040
1041
|
Y.value ? f("", !0) : (a(), K(dt, {
|
|
@@ -1225,7 +1226,7 @@ const _t = ["id"], xt = {
|
|
|
1225
1226
|
}, 8, ["config"])) : f("", !0)
|
|
1226
1227
|
], 46, _t));
|
|
1227
1228
|
}
|
|
1228
|
-
}, ja = /* @__PURE__ */ gt(Ca, [["__scopeId", "data-v-
|
|
1229
|
+
}, ja = /* @__PURE__ */ gt(Ca, [["__scopeId", "data-v-c0036b55"]]);
|
|
1229
1230
|
export {
|
|
1230
1231
|
ja as default
|
|
1231
1232
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useCssVars as We, computed as w, ref as p, watch as $e, onMounted as Xe, watchEffect as Ye, createElementBlock as b, openBlock as f, unref as m, normalizeStyle as K, normalizeClass as Te, createBlock as M, createCommentVNode as k, renderSlot as x, createSlots as Ze, withCtx as z, normalizeProps as U, guardReactiveProps as B, createVNode as Je, Fragment as Q, renderList as Ke, createElementVNode as C, mergeProps as Pe, toDisplayString as j, createTextVNode as Qe, nextTick as Se } from "vue";
|
|
2
|
-
import { u as et, c as Ie, t as ie, p as ee, a as tt, o as lt, e as at, b as ot, d as st, h as Oe, f as ce, X as nt, l as rt, G as q, a9 as ut, q as it, r as ct, i as Fe } from "./index-
|
|
3
|
-
import { u as Ne } from "./useNestedProp-
|
|
4
|
-
import { u as vt, U as dt } from "./usePrinter-
|
|
5
|
-
import { _ as ht } from "./Title-
|
|
6
|
-
import { P as ft } from "./PenAndPaper-
|
|
2
|
+
import { u as et, c as Ie, t as ie, p as ee, a as tt, o as lt, e as at, b as ot, d as st, h as Oe, f as ce, X as nt, l as rt, G as q, a9 as ut, q as it, r as ct, i as Fe } from "./index-CzjsUYng.js";
|
|
3
|
+
import { u as Ne } from "./useNestedProp-RC28MVml.js";
|
|
4
|
+
import { u as vt, U as dt } from "./usePrinter-CUsjlfpk.js";
|
|
5
|
+
import { _ as ht } from "./Title-BS1zFx79.js";
|
|
6
|
+
import { P as ft } from "./PenAndPaper-zjBsZuuq.js";
|
|
7
7
|
import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
-
import { _ as mt } from "./PackageVersion-
|
|
9
|
-
import pt from "./vue-ui-accordion-
|
|
10
|
-
import { D as bt } from "./DataTable-
|
|
11
|
-
import gt from "./vue-ui-skeleton-
|
|
8
|
+
import { _ as mt } from "./PackageVersion-BtrpyUPC.js";
|
|
9
|
+
import pt from "./vue-ui-accordion-ConQex-C.js";
|
|
10
|
+
import { D as bt } from "./DataTable-C5EKEHsp.js";
|
|
11
|
+
import gt from "./vue-ui-skeleton-XUKIcV-3.js";
|
|
12
12
|
import { u as kt } from "./useChartAccessibility-BWojgys7.js";
|
|
13
13
|
import { t as xt, u as wt } from "./useResponsive-vZgZwV-S.js";
|
|
14
14
|
import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -100,8 +100,8 @@ const zt = ["id"], $t = ["xmlns", "viewBox", "height", "width"], Tt = ["x", "y",
|
|
|
100
100
|
emits: ["selectDatapoint"],
|
|
101
101
|
setup(r, { expose: c, emit: h }) {
|
|
102
102
|
We((t) => ({
|
|
103
|
-
|
|
104
|
-
"
|
|
103
|
+
cf72f1fe: N.value,
|
|
104
|
+
"4e89318c": oe.value
|
|
105
105
|
}));
|
|
106
106
|
const i = r, v = h, { vue_ui_circle_pack: o } = et(), a = w(() => !!i.dataset && i.dataset.length), s = p(Ie()), u = p(null), g = p(null), $ = p(null), E = p(0), R = p(0), A = p(0), W = p(null), e = w({
|
|
107
107
|
get: () => fe(),
|
|
@@ -129,7 +129,8 @@ const zt = ["id"], $t = ["xmlns", "viewBox", "height", "width"], Tt = ["x", "y",
|
|
|
129
129
|
}, { deep: !0 });
|
|
130
130
|
const { isPrinting: ye, isImaging: me, generatePdf: pe, generateImage: be } = vt({
|
|
131
131
|
elementId: `vue-ui-circle-pack_${s.value}`,
|
|
132
|
-
fileName: e.value.style.chart.title.text || "vue-ui-circle-pack"
|
|
132
|
+
fileName: e.value.style.chart.title.text || "vue-ui-circle-pack",
|
|
133
|
+
options: e.value.userOptions.print
|
|
133
134
|
}), De = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), D = p({
|
|
134
135
|
showTable: e.value.table.show
|
|
135
136
|
}), ge = p(null), I = p({ h: 10, w: 10 }), ke = p(0), O = p([0, 0, 100, 100]), X = p({ h: 0, w: 0 });
|
|
@@ -652,7 +653,7 @@ const zt = ["id"], $t = ["xmlns", "viewBox", "height", "width"], Tt = ["x", "y",
|
|
|
652
653
|
}, 8, ["config"])) : k("", !0)
|
|
653
654
|
], 46, zt));
|
|
654
655
|
}
|
|
655
|
-
}, sl = /* @__PURE__ */ Ct(Bt, [["__scopeId", "data-v-
|
|
656
|
+
}, sl = /* @__PURE__ */ Ct(Bt, [["__scopeId", "data-v-bb4f66a5"]]);
|
|
656
657
|
export {
|
|
657
658
|
sl as default
|
|
658
659
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-Zf2fUMIO.cjs"),ie=require("./useNestedProp-BcSwG6N0.cjs"),ce=require("./usePrinter-BGPa8G48.cjs"),_e=require("./Title-BuZQSd23.cjs"),Be=require("./PenAndPaper-DO7-xSYx.cjs"),Se=require("./useUserOptionState-BgepsfED.cjs"),$e=require("./PackageVersion-B6sWtTA0.cjs"),Ne=require("./vue-ui-accordion-CnGQYWdI.cjs"),Pe=require("./DataTable-DLUrhKkw.cjs"),Ee=require("./vue-ui-skeleton-CiGqKHDK.cjs"),Te=require("./useChartAccessibility-Cm7nkzTG.cjs"),ve=require("./useResponsive-N8jl0-aC.cjs"),Ve=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function de(i,d=0){const m=i.reduce((a,{x:r,r:c})=>Math.min(a,r-c-d),1/0),v=i.reduce((a,{x:r,r:c})=>Math.max(a,r+c+d),-1/0),f=i.reduce((a,{y:r,r:c})=>Math.min(a,r-c-d),1/0),n=i.reduce((a,{y:r,r:c})=>Math.max(a,r+c+d),-1/0);return[m,f,v-m,n-f]}function Oe(i,d,m){const v=i._,f=i.next._,n=v.r+f.r,a=(v.x*f.r+f.x*v.r)/n,r=(v.y*f.r+f.y*v.r)/n;return Math.max(Math.abs(a*m),Math.abs(r*d))}function fe(i,d,m){const v=Oe,f=i.length;if(!f)return i;let n,a,r;if(n=i[0],n.x=0,n.y=0,!(f>1)||(a=i[1],n.x=-a.r,a.x=n.r,a.y=0,!(f>2)))return i;he(a,n,r=i[2]),n=new q(n),a=new q(a),r=new q(r),n.next=r.previous=a,a.next=n.previous=r,r.next=a.previous=n;e:for(let c=3;c<f;++c){he(n._,a._,r=i[c]),r=new q(r);let y=a.next,b=n.previous,S=a._.r,$=n._.r;do if(S<=$){if(me(y._,r._)){a=y,n.next=a,a.previous=n,--c;continue e}S+=y._.r,y=y.next}else{if(me(b._,r._)){n=b,n.next=a,a.previous=n,--c;continue e}$+=b._.r,b=b.previous}while(y!==b.next);r.previous=n,r.next=a,n.next=a.previous=a=r;let N=v(n,m,d),F;for(;(r=r.next)!==a;)(F=v(r,m,d))<N&&(n=r,N=F);a=n.next}return i}function he(i,d,m){const v=i.x-d.x,f=i.y-d.y,n=v*v+f*f;if(n){const a=(d.r+m.r)**2,r=(i.r+m.r)**2;if(a>r){const c=(n+r-a)/(2*n),y=Math.sqrt(Math.max(0,r/n-c*c));m.x=i.x-c*v-y*f,m.y=i.y-c*f+y*v}else{const c=(n+a-r)/(2*n),y=Math.sqrt(Math.max(0,a/n-c*c));m.x=d.x+c*v-y*f,m.y=d.y+c*f+y*v}}else m.x=d.x+m.r,m.y=d.y}function me(i,d){const m=i.r+d.r-1e-6,v=d.x-i.x,f=d.y-i.y;return m>0&&m*m>v*v+f*f}class q{constructor(d){this._=d,this.next=null,this.previous=null}}const Fe=["id"],Ie=["xmlns","viewBox","height","width"],Re=["x","y","width","height"],Me=["id"],Ae=["stop-color"],qe=["stop-color"],De=["stop-color"],Le={key:0},He=["x","y","width","height","stroke","stroke-width","fill","rx","onMouseenter","onClick"],Ue=["x","y","width","height","stroke","stroke-width","fill","rx"],je=["opacity","x","y","font-size","fill","font-weight"],Ge=["opacity","x","y","font-size","fill","font-weight"],We=["cx","cy","r","opacity","stroke","stroke-width","fill"],Ye={key:0,style:{pointerEvents:"none"}},Xe={key:1},Ze=["opacity","x","y","font-size","fill","font-weight"],Je=["opacity","x","y","font-size","fill","font-weight"],Ke={key:6,class:"vue-data-ui-watermark"},Qe=["innerHTML"],et={__name:"vue-ui-circle-pack",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(i,{expose:d,emit:m}){e.useCssVars(o=>({cf72f1fe:B.value,"4e89318c":H.value}));const v=i,f=m,{vue_ui_circle_pack:n}=u.useConfig(),a=e.computed(()=>!!v.dataset&&v.dataset.length),r=e.ref(u.createUid()),c=e.ref(null),y=e.ref(null),b=e.ref(null),S=e.ref(0),$=e.ref(0),N=e.ref(0),F=e.ref(null),t=e.computed({get:()=>J(),set:o=>o}),{svgRef:Y}=Te.useChartAccessibility({config:t.value.style.chart.title}),{userOptionsVisible:D,setUserOptionsVisibility:X,keepUserOptionState:Z}=Se.useUserOptionState({config:t.value});function J(){const o=ie.useNestedProp({userConfig:v.config,defaultConfig:n});return o.theme?{...ie.useNestedProp({userConfig:u.themes.vue_ui_circle_pack[o.theme]||v.config,defaultConfig:o}),customPalette:u.themePalettes[o.theme]||u.palette}:o}e.watch(()=>v.config,o=>{t.value=J(),D.value=!t.value.userOptions.showOnChartHover,L(),S.value+=1,$.value+=1,P.value.showTable=t.value.table.show},{deep:!0});const{isPrinting:K,isImaging:Q,generatePdf:ee,generateImage:te}=ce.usePrinter({elementId:`vue-ui-circle-pack_${r.value}`,fileName:t.value.style.chart.title.text||"vue-ui-circle-pack",options:t.value.userOptions.print}),pe=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),P=e.ref({showTable:t.value.table.show}),oe=e.ref(null),w=e.ref({h:10,w:10}),le=e.ref(0),z=e.ref([0,0,100,100]),I=e.ref({h:0,w:0});async function L(){u.objectIsEmpty(v.dataset)&&u.error({componentName:"VueUiCirclePack",type:"dataset"}),_.value=await fe(R.value),k.value=de(_.value,1).join(" "),I.value=ae(c.value);const o=ve.throttle(()=>{const{width:s,height:l,heightTitle:p,heightNoTitle:g}=ve.useResponsive({chart:c.value,title:y.value,noTitle:b.value}),G=s||10,W=l&&l>10?l:10;le.value=t.value.style.chart.title.text?p:g,requestAnimationFrame(()=>{w.value.w=G,w.value.h=W-le.value,e.nextTick(async()=>{const we=R.value.map(ze=>({...ze}));_.value=await fe(we,w.value.h,w.value.w),z.value=de(_.value,1),k.value=z.value.join(" "),I.value=ae(c.value)})})});oe.value=new ResizeObserver(o),oe.value.observe(c.value.parentNode)}e.onMounted(L);function ae(o){if(!o||!o.parentElement)return console.warn("Component or parent element is missing."),{w:0,h:0};const s=o.parentElement;if(s.offsetWidth>0&&s.offsetHeight>0)return{w:s.offsetWidth,h:s.offsetHeight};const l=window.getComputedStyle(s),p=l.width,g=l.height;return p!=="auto"&&g!=="auto"&&parseFloat(p)>0&&parseFloat(g)>0?{w:parseFloat(p),h:parseFloat(g)}:{w:0,h:0}}e.watch(()=>v.dataset,async o=>{await L()},{deep:!0});const ye=e.computed(()=>u.convertCustomPalette(t.value.customPalette)),R=e.computed(()=>v.dataset.map((o,s)=>{const l=u.convertColorToHex(o.color)||ye.value[s]||u.themePalettes[t.value.theme||"default"][s%u.themePalettes[t.value.theme||"default"].length]||u.palette[s]||u.palette[s%u.palette.length];return{...o,r:o.value,id:u.createUid(),color:l}}).filter(o=>![null,void 0,1/0,-1/0].includes(o.value))),_=e.ref([]),k=e.ref("0 0 100 100"),E=e.computed(()=>Math.max(..._.value.map(o=>o.r)));function ne(o,s){return s/E.value*o}const h=e.ref(null);function ge(o){t.value.style.chart.circles.zoom.show&&(h.value=o)}const B=e.computed(()=>h.value?h.value.r:0),H=e.computed(()=>C.value?B.value:h.value?h.value.r>z.value[3]/6*t.value.style.chart.circles.zoom.zoomRatio?h.value.r:z.value[3]/6*t.value.style.chart.circles.zoom.zoomRatio:0),x=e.ref(0),be=e.computed(()=>({pointerEvents:"none",opacity:x.value,filter:`drop-shadow(0px 0px 6px ${u.darkenHexColor(h.value.color,t.value.style.chart.circles.zoom.shadowForce)})`})),T=e.ref(B.value);e.watchEffect(()=>{T.value=B.value,x.value=0;let o=null;function s(l){o||(o=l);const p=(l-o)/t.value.style.chart.circles.zoom.animationFrameMs;p<1?(T.value=B.value+(H.value-B.value)*p,x.value=0+t.value.style.chart.circles.zoom.opacity*p,requestAnimationFrame(s)):(T.value=H.value,x.value=t.value.style.chart.circles.zoom.opacity)}requestAnimationFrame(s)});const V=e.computed(()=>({name:t.value.style.chart.circles.zoom.label.name.fontSize*z.value[3]/300,value:t.value.style.chart.circles.zoom.label.value.fontSize*z.value[3]/300}));function U(o){return u.applyDataLabel(t.value.style.chart.circles.labels.value.formatter,o.value,u.dataLabel({p:t.value.style.chart.circles.labels.value.prefix,v:o.value,s:t.value.style.chart.circles.labels.value.suffix,r:t.value.style.chart.circles.labels.value.rounding}))}function ke(){return u.applyDataLabel(t.value.style.chart.circles.zoom.label.value.formatter,h.value.value,u.dataLabel({p:t.value.style.chart.circles.zoom.label.value.prefix,v:h.value.value,s:t.value.style.chart.circles.zoom.label.value.suffix,r:t.value.style.chart.circles.zoom.label.value.rounding}))}function re(o){if(!o)return 0;const s=o.r/U(o).length*(U(o).length===1?1:2);return Math.min(o.r/2.5,s)}const O=e.ref(!1);function xe(o){O.value=o,N.value+=1}const C=e.ref(!1);function j(){C.value=!C.value}const M=e.computed(()=>{const o=R.value.map(l=>({name:l.name,value:l.value,color:l.color})).toSorted((l,p)=>p.value-l.value),s=o.map(l=>l.value);return{head:o,body:s}});function se(){e.nextTick(()=>{const o=M.value.head.map((p,g)=>[[p.name],[M.value.body[g]]]),s=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),l=u.createCsvContent(s);u.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-circle-pack"})})}const A=e.computed(()=>{const o=[t.value.table.columnNames.datapoint,t.value.table.columnNames.value],s=M.value.head.map((g,G)=>{const W=u.dataLabel({p:t.value.style.chart.circles.labels.value.prefix,v:M.value.body[G],s:t.value.style.chart.circles.labels.value.suffix,r:t.value.style.chart.circles.labels.value.rounding});return[{color:g.color,name:g.name},W]}),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.datapoint,t.value.table.columnNames.value],head:o,body:s,config:l}});function ue(){P.value.showTable=!P.value.showTable}function Ce(){return R.value}return d({getData:Ce,generateCsv:se,generatePdf:ee,generateImage:te,toggleTable:ue,toggleAnnotator:j}),(o,s)=>(e.openBlock(),e.createElementBlock("div",{id:`vue-ui-circle-pack_${r.value}`,class:e.normalizeClass(`vue-ui-circle-pack ${O.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"circlePackChart",ref:c,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};text-align:center;background:${t.value.style.chart.backgroundColor}; height: ${I.value.h}px; width:${I.value.w}px`),onMouseenter:s[2]||(s[2]=()=>e.unref(X)(!0)),onMouseleave:s[3]||(s[3]=()=>e.unref(X)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Be.PenAndPaper,{key:0,svgRef:e.unref(Y),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:C.value,scale:E.value/100,onClose:j},null,8,["svgRef","backgroundColor","color","active","scale"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"userConfig",{},void 0,!0),pe.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:b,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:y,style:"width:100%;background:transparent;padding-bottom:12px"},[(e.openBlock(),e.createBlock(_e._sfc_main,{key:`title_${S.value}`,config:{title:{cy:"donut-div-title",...t.value.style.chart.title},subtitle:{cy:"donut-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&a.value&&(e.unref(Z)||e.unref(D))?(e.openBlock(),e.createBlock(ce.UserOptions,{ref:"details",key:`user_option_${N.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(K),isImaging:e.unref(Q),uid:r.value,hasTooltip:!1,hasLabel:!1,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:O.value,chartElement:c.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:C.value,onToggleFullscreen:xe,onGeneratePdf:e.unref(ee),onGenerateCsv:se,onGenerateImage:e.unref(te),onToggleTable:ue,onToggleAnnotator:j,style:e.normalizeStyle({visibility:e.unref(Z)?e.unref(D)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:p})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:p})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:p})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:p})),void 0,!0)]),key:"5"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:p})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:p})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","chartElement","position","titles","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:Y,xmlns:e.unref(u.XMLNS),viewBox:k.value,height:w.value.h,width:w.value.w,class:e.normalizeClass({"vue-data-ui-fullscreen--on":O.value,"vue-data-ui-fulscreen--off":!O.value}),style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color};background:${t.value.style.chart.backgroundColor};`)},[e.createVNode($e._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:k.value.x,y:k.value.y,width:k.value.width,height:k.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,Re)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:l.id,fy:"30%"},[e.createElementVNode("stop",{offset:"10%","stop-color":e.unref(u.lightenHexColor)(l.color,t.value.style.chart.circles.gradient.intensity/100)},null,8,Ae),e.createElementVNode("stop",{offset:"90%","stop-color":e.unref(u.darkenHexColor)(l.color,.1)},null,8,qe),e.createElementVNode("stop",{offset:"100%","stop-color":l.color},null,8,De)],8,Me)]),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",Le,[e.createElementVNode("defs",null,[e.renderSlot(o.$slots,"pattern",e.mergeProps({ref_for:!0},{...l,patternId:`pattern_${r.value}_${l.id}`}),void 0,!0)])])):e.createCommentVNode("",!0),e.createElementVNode("rect",{x:l.x-l.r,y:l.y-l.r,width:l.r*2,height:l.r*2,stroke:t.value.style.chart.circles.stroke,"stroke-width":t.value.style.chart.circles.strokeWidth*E.value/100,fill:t.value.style.chart.circles.gradient.show?`url(#${l.id})`:l.color,rx:l.r,onMouseenter:()=>ge(l),onMouseout:s[0]||(s[0]=p=>h.value=null),onClick:p=>f("selectDatapoint",l)},null,40,He),o.$slots.pattern?(e.openBlock(),e.createElementBlock("rect",{key:1,x:l.x-l.r,y:l.y-l.r,width:l.r*2,height:l.r*2,stroke:t.value.style.chart.circles.stroke,"stroke-width":t.value.style.chart.circles.strokeWidth*E.value/100,fill:`url(#pattern_${r.value}_${l.id})`,rx:l.r,style:{pointerEvents:"none"}},null,8,Ue)):e.createCommentVNode("",!0),o.$slots["data-label"]?e.renderSlot(o.$slots,"data-label",e.mergeProps({key:2,ref_for:!0},{...l,createTSpans:e.unref(u.createTSpans),fontSize:{name:l.r/3*t.value.style.chart.circles.labels.name.fontSizeRatio,value:re(l)*t.value.style.chart.circles.labels.value.fontSizeRatio},color:t.value.style.chart.circles.labels.name.color?t.value.style.chart.circles.labels.name.color:e.unref(u.adaptColorToBackground)(l.color)}),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t.value.style.chart.circles.labels.name.show&&l.name?(e.openBlock(),e.createElementBlock("text",{key:0,style:{pointerEvents:"none",transition:"opacity 0.2s ease-in-out"},opacity:h.value&&!C.value?.2:1,x:l.x,y:l.y+ne(l.r,t.value.style.chart.circles.labels.name.offsetY)-l.r/10,"font-size":l.r/3*t.value.style.chart.circles.labels.name.fontSizeRatio,fill:t.value.style.chart.circles.labels.name.color?t.value.style.chart.circles.labels.name.color:e.unref(u.adaptColorToBackground)(l.color),"font-weight":t.value.style.chart.circles.labels.name.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(l.name),9,je)):e.createCommentVNode("",!0),t.value.style.chart.circles.labels.value.show?(e.openBlock(),e.createElementBlock("text",{key:1,style:{pointerEvents:"none",transition:"opacity 0.2s ease-in-out"},opacity:h.value&&!C.value?.2:1,x:l.x,y:l.y+ne(l.r,t.value.style.chart.circles.labels.value.offsetY)+l.r/2.5,"font-size":re(l)*t.value.style.chart.circles.labels.value.fontSizeRatio,fill:t.value.style.chart.circles.labels.value.color?t.value.style.chart.circles.labels.value.color:e.unref(u.adaptColorToBackground)(l.color),"font-weight":t.value.style.chart.circles.labels.value.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(U(l)),9,Ge)):e.createCommentVNode("",!0)],64))],64))),256)),h.value&&t.value.style.chart.circles.zoom.show&&!C.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("circle",{style:e.normalizeStyle(be.value),cx:h.value.x,cy:h.value.y,r:T.value,opacity:x.value,stroke:t.value.style.chart.circles.stroke,"stroke-width":t.value.style.chart.circles.strokeWidth*E.value/100,fill:t.value.style.chart.circles.gradient.show?`url(#${h.value.id})`:h.value.color},null,12,We),o.$slots["zoom-label"]?(e.openBlock(),e.createElementBlock("g",Ye,[e.renderSlot(o.$slots,"zoom-label",e.normalizeProps(e.guardReactiveProps({...h.value,zoomOpacity:x.value,currentRadius:T.value,fontSize:V.value})),void 0,!0)])):(e.openBlock(),e.createElementBlock("g",Xe,[e.createElementVNode("text",{style:{pointerEvents:"none"},opacity:x.value,x:h.value.x,y:h.value.y+t.value.style.chart.circles.zoom.label.name.offsetY-V.value.name/4,"text-anchor":"middle","font-size":V.value.name,fill:t.value.style.chart.circles.zoom.label.name.color?t.value.style.chart.circles.zoom.label.name.color:e.unref(u.adaptColorToBackground)(h.value.color),"font-weight":t.value.style.chart.circles.zoom.label.name.bold?"bold":"normal"},e.toDisplayString(h.value.name),9,Ze),e.createElementVNode("text",{style:{pointerEvents:"none"},opacity:x.value,x:h.value.x,y:h.value.y+V.value.value+t.value.style.chart.circles.zoom.label.value.offsetY,"text-anchor":"middle","font-size":V.value.value,fill:t.value.style.chart.circles.zoom.label.value.color?t.value.style.chart.circles.zoom.label.value.color:e.unref(u.adaptColorToBackground)(h.value.color),"font-weight":t.value.style.chart.circles.zoom.label.value.bold?"bold":"normal"},e.toDisplayString(ke()),9,Je)]))],64)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"svg",{svg:{...k.value}},void 0,!0)],14,Ie)):e.createCommentVNode("",!0),a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ee.default,{key:5,config:{type:"circlePack",style:{color:"#CCCCCC"}}})),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ke,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(K)||e.unref(Q)})),void 0,!0)])):e.createCommentVNode("",!0),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:F,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createBlock(Ne.default,{key:8,hideDetails:"",config:{open:P.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Pe.DataTable,{key:`table_${$.value}`,colNames:A.value.colNames,head:A.value.head,body:A.value.body,config:A.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:s[1]||(s[1]=l=>P.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Qe)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Fe))}},tt=Ve._export_sfc(et,[["__scopeId","data-v-bb4f66a5"]]);exports.default=tt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),y=require("./useNestedProp-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),y=require("./useNestedProp-BcSwG6N0.cjs"),i=require("./index-Zf2fUMIO.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_=["xmlns","height","width"],p={id:"follower",fy:"30%",fx:"30%"},x=["stop-color","stop-opacity"],E=["r","fill","stroke","stroke-width","stroke-dasharray"],N=["r"],g={key:2,class:"wave"},V=["id"],w=["id"],S=["filter","stroke"],B={key:3,class:"crosshair"},R=["x1","stroke","stroke-width","stroke-dasharray"],b=["x1","stroke","stroke-width","stroke-dasharray"],F=["y1","stroke","stroke-width","stroke-dasharray"],z=["y1","stroke","stroke-width","stroke-dasharray"],L=["cy","r","fill"],O=["cy","r","fill"],I=["cx","r","fill"],T=["cx","r","fill"],D={key:5,class:"coordinates"},$=["x","y","font-size","fill"],W=["transform"],G=["font-size","fill"],P={__name:"vue-ui-cursor",props:{config:{type:Object,default:{}}},setup(f){const{vue_ui_cursor:h}=i.useConfig(),k=f,n=t.ref(i.createUid()),e=t.computed(()=>y.useNestedProp({userConfig:k.config,defaultConfig:h})),o=t.ref({x:-100,y:-100});function u({clientX:r,clientY:l,...A}){o.value.x=r-e.value.centerCircleRadius,o.value.y=l-e.value.centerCircleRadius}function d(r){o.value.x=r.targetTouches[0].clientX-e.value.centerCircleRadius,o.value.y=r.targetTouches[0].clientY-e.value.centerCircleRadius}const v=t.ref(!0);function a(r){v.value=r}const s=t.ref(!1),c=t.ref(null);function m(){s.value=!1,c.value&&clearTimeout(c.value),t.nextTick(()=>{s.value=!0,c.value=setTimeout(()=>{s.value=!1},1e3)})}return t.onMounted(()=>{const r=e.value.parentId?document.getElementById(e.value.parentId):document.getElementsByTagName("div")[0];r.addEventListener("mousemove",u),r.addEventListener("touchmove",d),r.addEventListener("mouseleave",()=>a(!1)),r.addEventListener("mouseenter",()=>a(!0)),r.addEventListener("click",m)}),t.onBeforeUnmount(()=>{const r=e.value.parentId?document.getElementById(e.value.parentId):document.getElementsByTagName("div")[0];r.removeEventListener("mousemove",u),r.removeEventListener("touchmove",d),r.removeEventListener("mouseleave",()=>a(!1)),r.removeEventListener("mouseenter",()=>a(!0)),r.removeEventListener("click",m)}),t.computed(()=>e.value.centerCircleRadius/2.5),(r,l)=>v.value?(t.openBlock(),t.createElementBlock("svg",{key:0,"data-html2canvas-ignore":"",xmlns:t.unref(i.XMLNS),style:t.normalizeStyle(`z-index: 2147483647; overflow: visible; pointer-events: none;background: transparent; position:fixed; top:${o.value.y}px; left:${o.value.x}px;`),viewBox:"0 0 100 100",height:e.value.centerCircleRadius*2,width:e.value.centerCircleRadius*2},[t.createElementVNode("defs",null,[t.createElementVNode("radialGradient",p,[t.createElementVNode("stop",{offset:"10%","stop-color":e.value.bubbleEffectColor,"stop-opacity":e.value.bubbleEffectOpacity},null,8,x),l[0]||(l[0]=t.createElementVNode("stop",{offset:"95%","stop-color":"transparent"},null,-1))])]),e.value.showCenterCircle?(t.openBlock(),t.createElementBlock("circle",{key:0,cx:50,cy:50,r:e.value.centerCircleRadius,fill:t.unref(i.setOpacity)(e.value.centerCircleColor,e.value.centerCircleOpacity*100),stroke:e.value.centerCircleStroke,"stroke-width":e.value.centerCircleStrokeWidth,"stroke-dasharray":e.value.centerCircleDasharray},null,8,E)):t.createCommentVNode("",!0),e.value.bubbleEffect?(t.openBlock(),t.createElementBlock("circle",{key:1,cx:50,cy:50,r:e.value.centerCircleRadius,fill:"url(#follower)",stroke:"none"},null,8,N)):t.createCommentVNode("",!0),e.value.useWaveOnClick?(t.openBlock(),t.createElementBlock("g",g,[t.createElementVNode("defs",null,[t.createElementVNode("filter",{id:`blur_${n.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[t.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:4,id:`blur_std_${n.value}`},null,8,w),l[1]||(l[1]=t.createElementVNode("feColorMatrix",{type:"saturate",values:"0"},null,-1))],8,V)]),s.value?(t.openBlock(),t.createElementBlock("circle",{key:0,class:t.normalizeClass({"circle-wave":s.value}),cx:50,cy:50,r:50,filter:`url(#blur_${n.value})`,stroke:e.value.centerCircleStroke,fill:"none","stroke-width":"3"},null,10,S)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.value.showCrosshair?(t.openBlock(),t.createElementBlock("g",B,[t.createElementVNode("line",{x1:-e.value.centerCircleRadius+50,x2:-5e3,y1:50,y2:50,stroke:e.value.crosshairStroke,"stroke-width":e.value.crosshairStrokeWidth,"stroke-dasharray":e.value.crosshairDasharray,"stroke-linecap":"round"},null,8,R),t.createElementVNode("line",{x1:50+e.value.centerCircleRadius,x2:5e3,y1:50,y2:50,stroke:e.value.crosshairStroke,"stroke-width":e.value.crosshairStrokeWidth,"stroke-dasharray":e.value.crosshairDasharray,"stroke-linecap":"round"},null,8,b),t.createElementVNode("line",{x1:50,x2:50,y1:-e.value.centerCircleRadius+50,y2:-5e3,stroke:e.value.crosshairStroke,"stroke-width":e.value.crosshairStrokeWidth,"stroke-dasharray":e.value.crosshairDasharray,"stroke-linecap":"round"},null,8,F),t.createElementVNode("line",{x1:50,x2:50,y1:e.value.centerCircleRadius+50,y2:5e3,stroke:e.value.crosshairStroke,"stroke-width":e.value.crosshairStrokeWidth,"stroke-dasharray":e.value.crosshairDasharray,"stroke-linecap":"round"},null,8,z)])):t.createCommentVNode("",!0),e.value.showIntersectCircles?(t.openBlock(),t.createElementBlock("g",{key:4,class:t.normalizeClass({"rotating-circles":e.value.isLoading})},[t.createElementVNode("circle",{cx:50,cy:e.value.centerCircleRadius+50,r:e.value.intersectCirclesRadius,fill:e.value.intersectCirclesFill},null,8,L),t.createElementVNode("circle",{cx:50,cy:-e.value.centerCircleRadius+50,r:e.value.intersectCirclesRadius,fill:e.value.intersectCirclesFill},null,8,O),t.createElementVNode("circle",{cx:-e.value.centerCircleRadius+50,cy:50,r:e.value.intersectCirclesRadius,fill:e.value.intersectCirclesFill},null,8,I),t.createElementVNode("circle",{cx:e.value.centerCircleRadius+50,cy:50,r:e.value.intersectCirclesRadius,fill:e.value.intersectCirclesFill},null,8,T)],2)):t.createCommentVNode("",!0),e.value.showCoordinates?(t.openBlock(),t.createElementBlock("g",D,[t.createElementVNode("text",{"text-anchor":"end",x:-e.value.centerCircleRadius+50-e.value.coordinatesFontSize/2+e.value.coordinatesOffset,y:50-e.value.coordinatesFontSize/2+e.value.coordinatesOffset,"font-size":e.value.coordinatesFontSize,fill:e.value.coordinatesColor,style:{"font-variant-numeric":"tabular-nums"},"font-family":"Arial"},t.toDisplayString(o.value.x.toFixed(0)),9,$),t.createElementVNode("g",{transform:`translate(${50-e.value.coordinatesFontSize/2+e.value.coordinatesOffset}, ${-e.value.centerCircleRadius+50-e.value.coordinatesFontSize/2+e.value.coordinatesOffset})`},[t.createElementVNode("text",{"text-anchor":"start","font-size":e.value.coordinatesFontSize,fill:e.value.coordinatesColor,style:{"font-variant-numeric":"tabular-nums"},transform:"rotate(-90)","font-family":"Arial"},t.toDisplayString(o.value.y.toFixed(0)),9,G)],8,W)])):t.createCommentVNode("",!0)],12,_)):t.createCommentVNode("",!0)}},q=C._export_sfc(P,[["__scopeId","data-v-0cca0d39"]]);exports.default=q;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as c, computed as _, onMounted as R, onBeforeUnmount as S, createElementBlock as l, createCommentVNode as o, openBlock as i, normalizeStyle as E, unref as m, createElementVNode as r, normalizeClass as C, toDisplayString as p, nextTick as b } from "vue";
|
|
2
|
-
import { u as F } from "./useNestedProp-
|
|
3
|
-
import { u as L, c as z, X as O, s as I } from "./index-
|
|
2
|
+
import { u as F } from "./useNestedProp-RC28MVml.js";
|
|
3
|
+
import { u as L, c as z, X as O, s as I } from "./index-CzjsUYng.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const N = ["xmlns", "height", "width"], T = {
|
|
6
6
|
id: "follower",
|
|
@@ -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-BpXLKlRx.cjs"),G=require("./useNestedProp-BcSwG6N0.cjs"),$=require("./index-Zf2fUMIO.cjs"),J=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),K={key:0,"data-html2canvas-ignore":"",style:{width:"100%",display:"flex","justify-content":"end"}},Q=["disabled"],Z=["stroke"],ee={key:1},te=["id"],oe=["onMousedown","onTouchstart"],le=["onMousedown","onTouchstart"],ae=["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=>({"014a5839":F.value,c96c137e:R.value}));const{vue_ui_dashboard:Y}=$.useConfig(),_=x,r=o.computed(()=>G.useNestedProp({userConfig:_.config,defaultConfig:Y})),E=o.ref($.createUid()),c=o.ref(r.value.locked);function V(){c.value=!c.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),d=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(!c.value&&(d.value=!0,p.value=e,u.value===null)){h.value=e,v.value={x:event.clientX,y:event.clientY};const t=s.value[e],a=100-t.width,l=100-t.height;t.left<0&&(t.left=0),t.top<0&&(t.top=0),t.left>a&&(t.left=a),t.top>l&&(t.top=l),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){d.value=!0,p.value=e,u.value={index:e,direction:t};const a=s.value[e];f.value={x:event.clientX,y:event.clientY,initialWidth:a.width,initialHeight:a.height}}function B(e,t,a){if(u.value.direction.includes("top")){const l=e.height-a/i.value.offsetHeight*100;l>=M&&(e.top+=a/i.value.offsetHeight*100,e.height=l)}if(u.value.direction.includes("bottom")){const l=e.height+a/i.value.offsetHeight*100;l>=M&&(e.height=l)}if(u.value.direction.includes("left")){const l=e.width-t/i.value.offsetWidth*100;l>=M&&(e.left+=t/i.value.offsetWidth*100,e.width=l)}if(u.value.direction.includes("right")){const l=e.width+t/i.value.offsetWidth*100;l>=M&&(e.width=l)}}function I(e){if(!(c.value||b.value)){if(d.value=!0,h.value!==null){const t=s.value[h.value],a=e.clientX-v.value.x,l=e.clientY-v.value.y,n=t.left+a/i.value.offsetWidth*100,g=t.top+l/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],a=e.clientX-f.value.x,l=e.clientY-f.value.y;B(t,a,l),f.value={x:e.clientX,y:e.clientY}}}}const P=X;o.watch(s,e=>{e&&!d.value&&P("change",s.value)},{deep:!0});function D(){h.value=null,u.value=null,d.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){c.value||b.value||(d.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,a){if(d.value=!0,p.value=e,u.value===null){u.value={index:e,direction:t};const l=s.value[e];f.value={x:a.touches[0].clientX,y:a.touches[0].clientY,initialWidth:l.width,initialHeight:l.height}}}function T(e){if(d.value=!0,e.preventDefault(),u.value!==null){const t=s.value[u.value.index],a=e.touches[0].clientX-f.value.x,l=e.touches[0].clientY-f.value.y;B(t,a,l),f.value={x:e.touches[0].clientX,y:e.touches[0].clientY}}}function W(e){if(!(c.value||b.value)&&(d.value=!0,e.preventDefault(),h.value!==null)){const t=s.value[h.value],a=e.touches[0].clientX-v.value.x,l=e.touches[0].clientY-v.value.y,n=t.left+a/i.value.offsetWidth*100,g=t.top+l/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(){d.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-07570d07></path><path d="M18 16v.01" data-v-07570d07></path><path d="M6 16v.01" data-v-07570d07></path><path d="M12 5v.01" data-v-07570d07></path><path d="M12 12v.01" data-v-07570d07></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-07570d07></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,(a,l)=>(o.openBlock(),o.createElementBlock("div",{key:a.id,class:o.normalizeClass({"vue-ui-dashboard-grid-item":!0,"vue-ui-dashboard-grid-item--locked":c.value}),style:o.normalizeStyle({width:`${a.width}%`,height:`${a.height}%`,left:`${a.left}%`,top:`${a.top}%`,cursor:"move",boxShadow:p.value===l?"0 6px 12px -3px rgba(0,0,0,0.3)":"",zIndex:p.value===l?s.value.length+1:a.index,backgroundColor:r.value.style.item.backgroundColor}),onMousedown:n=>H(l),onTouchstart:n=>L(l)},[c.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(l,"top-left"),onTouchstart:n=>k(l,"top-left",n),onTouchmove:t[0]||(t[0]=n=>T(n)),onTouchend:w},null,40,le),o.createElementVNode("div",{class:"vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",onMousedown:n=>y(l,"top-right"),onTouchstart:n=>k(l,"top-right",n),onTouchmove:t[1]||(t[1]=n=>T(n)),onTouchend:w},null,40,ae),o.createElementVNode("div",{class:"vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",onMousedown:n=>y(l,"bottom-left"),onTouchstart:n=>k(l,"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(l,"bottom-right"),onTouchstart:n=>k(l,"bottom-right",n),onTouchmove:t[3]||(t[3]=n=>T(n)),onTouchend:w},null,40,ue)],64)),o.renderSlot(e.$slots,"content",{item:a,index:l,left:a.left,top:a.top,height:a.height,width:a.width},void 0,!0)],46,oe))),128))],36)],12,te)],32))}},re=J._export_sfc(se,[["__scopeId","data-v-07570d07"]]);exports.default=re;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as ee, computed as T, ref as s, watch as te, createElementBlock as w, openBlock as y, createCommentVNode as E, createElementVNode as p, normalizeStyle as $, createStaticVNode as oe, Fragment as L, renderList as ae, normalizeClass as le, renderSlot as ne } from "vue";
|
|
2
|
-
import ue from "./pdf-
|
|
3
|
-
import { u as se } from "./useNestedProp-
|
|
4
|
-
import { u as ie, c as re } from "./index-
|
|
2
|
+
import ue from "./pdf-H8Iw_Wax.js";
|
|
3
|
+
import { u as se } from "./useNestedProp-RC28MVml.js";
|
|
4
|
+
import { u as ie, c as re } from "./index-CzjsUYng.js";
|
|
5
5
|
import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const ce = {
|
|
7
7
|
key: 0,
|
|
@@ -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-RC28MVml.js";
|
|
3
|
+
import { u as M, X as S } from "./index-CzjsUYng.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 +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-BcSwG6N0.cjs"),L=require("./index-Zf2fUMIO.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,18 +1,18 @@
|
|
|
1
1
|
import { useSlots as vt, computed as _, ref as d, onMounted as ct, onBeforeUnmount as dt, watch as Ue, 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 je, withCtx as x, normalizeProps as H, guardReactiveProps as E, Fragment as b, renderList as F, mergeProps as We, toDisplayString as C, createTextVNode as He, nextTick as ht } from "vue";
|
|
2
|
-
import { u as yt, o as ft, e as Ee, g as pt, c as gt, b as bt, d as qe, p as U, m as mt, H as wt, f as O, X as kt, s as Z, w as _t, j as xt, I as L, i as A, k as ee, n as w, t as $t, a as Ct, q as Pt, r as St, x as Ft } from "./index-
|
|
2
|
+
import { u as yt, o as ft, e as Ee, g as pt, c as gt, b as bt, d as qe, p as U, m as mt, H as wt, f as O, X as kt, s as Z, w as _t, j as xt, I as L, i as A, k as ee, n as w, t as $t, a as Ct, q as Pt, r as St, x as Ft } from "./index-CzjsUYng.js";
|
|
3
3
|
import { t as Lt, u as Tt } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
-
import { _ as zt } from "./Title-
|
|
5
|
-
import { u as Ot, U as Yt } from "./usePrinter-
|
|
6
|
-
import { D as At } from "./DataTable-
|
|
7
|
-
import { _ as Nt } from "./Tooltip-
|
|
8
|
-
import { L as Xt } from "./Legend-
|
|
9
|
-
import It from "./vue-ui-skeleton-
|
|
10
|
-
import Dt from "./vue-ui-accordion-
|
|
11
|
-
import { u as Je } from "./useNestedProp-
|
|
12
|
-
import { _ as Mt } from "./PackageVersion-
|
|
13
|
-
import { P as Bt } from "./PenAndPaper-
|
|
4
|
+
import { _ as zt } from "./Title-BS1zFx79.js";
|
|
5
|
+
import { u as Ot, U as Yt } from "./usePrinter-CUsjlfpk.js";
|
|
6
|
+
import { D as At } from "./DataTable-C5EKEHsp.js";
|
|
7
|
+
import { _ as Nt } from "./Tooltip-BNOd4lK1.js";
|
|
8
|
+
import { L as Xt } from "./Legend-DSzoXS-3.js";
|
|
9
|
+
import It from "./vue-ui-skeleton-XUKIcV-3.js";
|
|
10
|
+
import Dt from "./vue-ui-accordion-ConQex-C.js";
|
|
11
|
+
import { u as Je } from "./useNestedProp-RC28MVml.js";
|
|
12
|
+
import { _ as Mt } from "./PackageVersion-BtrpyUPC.js";
|
|
13
|
+
import { P as Bt } from "./PenAndPaper-zjBsZuuq.js";
|
|
14
14
|
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
-
import { _ as Gt } from "./Shape-
|
|
15
|
+
import { _ as Gt } from "./Shape-DzIamXsi.js";
|
|
16
16
|
import { u as Rt } from "./useChartAccessibility-BWojgys7.js";
|
|
17
17
|
import { _ as Ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { key: 1 }, qt = ["id"], Jt = ["stop-color"], Kt = ["offset", "stop-color"], Qt = ["offset", "stop-color"], Zt = ["stop-color"], el = { key: 2 }, tl = ["id", "cx", "cy"], ll = ["stop-color", "stop-opacity"], al = ["stop-color"], ol = ["id"], ul = ["id"], sl = ["id"], nl = ["flood-color"], rl = ["id"], il = ["flood-color"], vl = ["d", "stroke", "filter"], cl = ["x1", "y1", "x2", "y2", "stroke", "filter"], dl = ["cx", "cy", "r", "fill", "filter"], hl = { key: 6 }, yl = ["stroke", "d"], fl = { key: 0 }, pl = ["d", "fill", "stroke", "stroke-width", "filter"], gl = ["d", "fill", "stroke", "stroke-width", "filter"], bl = { key: 0 }, ml = ["stroke", "d"], wl = { key: 0 }, kl = ["d", "stroke", "stroke-width", "filter"], _l = { key: 1 }, xl = ["d", "fill", "stroke", "stroke-width", "filter"], $l = ["d", "fill", "stroke", "stroke-width", "filter"], Cl = { key: 1 }, Pl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Fl = ["cx", "cy", "r", "stroke"], Ll = ["cx", "cy", "r", "fill"], Tl = { key: 0 }, zl = ["d", "fill", "onMouseenter", "onClick"], Ol = { key: 1 }, Yl = ["cx", "cy", "r", "fill"], Al = ["x", "y", "fill", "font-size"], Nl = ["x", "y", "fill", "font-size"], Xl = ["x", "y", "fill", "font-size"], Il = ["x", "y", "fill", "font-size"], Dl = ["filter"], Ml = { key: 0 }, Bl = ["x", "y"], Vl = { key: 1 }, Gl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Rl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ul = ["text-anchor", "x", "y", "fill", "font-size", "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 = { key: 2 }, ql = ["x", "y", "width"], Jl = ["x", "y", "width"], Kl = {
|
|
@@ -107,7 +107,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
107
107
|
}, { deep: !0 });
|
|
108
108
|
const { isPrinting: Pe, isImaging: Se, generatePdf: Fe, generateImage: Le } = Ot({
|
|
109
109
|
elementId: `donut__${y.value}`,
|
|
110
|
-
fileName: e.value.style.chart.title.text || "vue-ui-donut"
|
|
110
|
+
fileName: e.value.style.chart.title.text || "vue-ui-donut",
|
|
111
|
+
options: e.value.userOptions.print
|
|
111
112
|
}), at = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = _(() => bt(e.value.customPalette)), f = d({
|
|
112
113
|
dataLabels: {
|
|
113
114
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
@@ -1174,7 +1175,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1174
1175
|
}, 8, ["config"])) : i("", !0)
|
|
1175
1176
|
], 46, jt));
|
|
1176
1177
|
}
|
|
1177
|
-
}, wa = /* @__PURE__ */ Ut(la, [["__scopeId", "data-v-
|
|
1178
|
+
}, wa = /* @__PURE__ */ Ut(la, [["__scopeId", "data-v-649fdaa0"]]);
|
|
1178
1179
|
export {
|
|
1179
1180
|
wa as default
|
|
1180
1181
|
};
|