vue-data-ui 2.11.1 → 2.11.2
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-Djn3xrHB.cjs → Arrow-CogAJvGp.cjs} +1 -1
- package/dist/{Arrow-Ch3m7pIz.js → Arrow-OttzfahM.js} +1 -1
- package/dist/{BaseIcon-D9r5PTQj.js → BaseIcon-CpIcYACc.js} +1 -1
- package/dist/{BaseIcon-ljtRuDne.cjs → BaseIcon-DY-33nfj.cjs} +1 -1
- package/dist/{ColorPicker-DuOr2Ic4.js → ColorPicker-BnsG9Qeu.js} +3 -3
- package/dist/{ColorPicker-CiQtzrYd.cjs → ColorPicker-CrMLe8x_.cjs} +1 -1
- package/dist/{DataTable-p1tKJjJU.js → DataTable-CJOtzfgn.js} +2 -2
- package/dist/{DataTable-CzL8BmEn.cjs → DataTable-CNCnRrD-.cjs} +1 -1
- package/dist/{Legend-COUltTuv.js → Legend-DKQ4psNY.js} +2 -2
- package/dist/{Legend-m-jOk1o6.cjs → Legend-ieOu_fKK.cjs} +1 -1
- package/dist/{PackageVersion-BhpRHJg-.cjs → PackageVersion-BxSGdh6L.cjs} +1 -1
- package/dist/{PackageVersion-Db8Jk3Yz.js → PackageVersion-D-aPPO0L.js} +1 -1
- package/dist/{PenAndPaper-Cr_VFW1Y.cjs → PenAndPaper-ByAFuR-l.cjs} +1 -1
- package/dist/{PenAndPaper-Bleo21mI.js → PenAndPaper-D9g_r8-6.js} +3 -3
- package/dist/{Shape-3lpxIkGY.cjs → Shape-BQIcurpe.cjs} +1 -1
- package/dist/{Shape-DThtou8P.js → Shape-DLjaeo5U.js} +1 -1
- package/dist/{Slicer-BSgrBZJB.js → Slicer-DuqI_UVS.js} +2 -2
- package/dist/{Slicer-D5exzdrG.cjs → Slicer-FXxFjXOP.cjs} +1 -1
- package/dist/{Title-DnNgxDaw.cjs → Title-D62pPwLz.cjs} +1 -1
- package/dist/{Title-C6HOVO5o.js → Title-DIYoufYR.js} +1 -1
- package/dist/{Tooltip-CkPkykAp.js → Tooltip-BFz2yelJ.js} +1 -1
- package/dist/{Tooltip-BcRV15Nk.cjs → Tooltip-C_H6-uAa.cjs} +1 -1
- package/dist/{dom-to-png-dbkxxccc.cjs → dom-to-png-B3SeX1JP.cjs} +1 -1
- package/dist/{dom-to-png-C-xt3eHI.js → dom-to-png-BB-m1MuD.js} +1 -1
- package/dist/{img-B6MWbnlo.cjs → img-Bl4Pt1QH.cjs} +1 -1
- package/dist/{img-CeyprTwt.js → img-Cyr1eIO7.js} +1 -1
- package/dist/{index-BKWunRAY.cjs → index-Cn2tUOoX.cjs} +1 -1
- package/dist/{index-Ckt5xLw3.js → index-d3erwTWB.js} +1 -1
- package/dist/{pdf-BoIy0kYM.cjs → pdf-BQABl7QG.cjs} +1 -1
- package/dist/{pdf-C8Uc-ViT.js → pdf-BQRTRQlZ.js} +1 -1
- package/dist/{useNestedProp-BU5A_H6S.js → useNestedProp-BqKuhIvF.js} +1 -1
- package/dist/{useNestedProp-swJfhg8O.cjs → useNestedProp-C8955nsn.cjs} +1 -1
- package/dist/{usePrinter-Dhf-GWO2.cjs → usePrinter-BrH80VBz.cjs} +1 -1
- package/dist/{usePrinter-Drrm-7ZN.js → usePrinter-CHrKIDM7.js} +3 -3
- package/dist/{vue-data-ui-DEFuCGY2.js → vue-data-ui-BRKcN5_z.js} +63 -63
- package/dist/{vue-data-ui-BwmmF0Rx.cjs → vue-data-ui-BbzW2_-6.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-Dejz1jbq.js → vue-ui-3d-bar-BIw7nTYA.js} +9 -9
- package/dist/{vue-ui-3d-bar-B7HO9mUa.cjs → vue-ui-3d-bar-WFymJ4EL.cjs} +1 -1
- package/dist/{vue-ui-accordion-CACZOsPN.cjs → vue-ui-accordion-7GoAZx3k.cjs} +1 -1
- package/dist/{vue-ui-accordion-CHWjFAdS.js → vue-ui-accordion-BJyaBDyF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BuI0BAu6.cjs → vue-ui-age-pyramid-DGpLdvsL.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BCbQzcSN.js → vue-ui-age-pyramid-Dn_061NF.js} +10 -10
- package/dist/{vue-ui-annotator-BVkhLQx1.js → vue-ui-annotator-Y65oZVga.js} +2 -2
- package/dist/{vue-ui-annotator-D3WW79fZ.cjs → vue-ui-annotator-ypStRKCB.cjs} +1 -1
- package/dist/{vue-ui-bullet-Dp-pvoks.js → vue-ui-bullet-B5mjXy0q.js} +8 -8
- package/dist/{vue-ui-bullet-Cu4QFP97.cjs → vue-ui-bullet-C_Ppz5nn.cjs} +1 -1
- package/dist/{vue-ui-candlestick-PL89PKKX.js → vue-ui-candlestick-BIC2-GAV.js} +11 -11
- package/dist/{vue-ui-candlestick-CvzvkTZL.cjs → vue-ui-candlestick-BrDk_pc_.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-pGj3lD-7.cjs → vue-ui-carousel-table-BTxtBHvb.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CxCDgVti.js → vue-ui-carousel-table-CnvQ0CeQ.js} +4 -4
- package/dist/{vue-ui-chestnut-BCLNZl02.cjs → vue-ui-chestnut-D_NZDyDN.cjs} +1 -1
- package/dist/{vue-ui-chestnut-B59bltYj.js → vue-ui-chestnut-IsRTDol2.js} +8 -8
- package/dist/{vue-ui-chord-I12oZYBZ.cjs → vue-ui-chord-CZ66gJ7w.cjs} +1 -1
- package/dist/{vue-ui-chord-311T5EMM.js → vue-ui-chord-iSsr3a59.js} +12 -12
- package/dist/{vue-ui-circle-pack-ckubmbMP.js → vue-ui-circle-pack-CS2l9IXg.js} +9 -9
- package/dist/{vue-ui-circle-pack-BdEy-F2l.cjs → vue-ui-circle-pack-lGkj98rL.cjs} +1 -1
- package/dist/{vue-ui-cursor-DuaNjqbd.js → vue-ui-cursor-Cq9lPDB7.js} +2 -2
- package/dist/{vue-ui-cursor-CB9lfY2N.cjs → vue-ui-cursor-YZyc0ARl.cjs} +1 -1
- package/dist/{vue-ui-dashboard-z6r_7oqD.js → vue-ui-dashboard-7Cm-15oc.js} +62 -62
- package/dist/{vue-ui-dashboard-BYVM2ULB.cjs → vue-ui-dashboard-jP2U4qtK.cjs} +1 -1
- package/dist/{vue-ui-digits-uhUYI1ca.js → vue-ui-digits-BecNI-j7.js} +2 -2
- package/dist/{vue-ui-digits-DKjgPEvR.cjs → vue-ui-digits-C5PfeED6.cjs} +1 -1
- package/dist/{vue-ui-donut-C7VlH0Dm.cjs → vue-ui-donut-BM9i2XHJ.cjs} +1 -1
- package/dist/{vue-ui-donut-C0Wl5tdn.js → vue-ui-donut-D_bFxovZ.js} +12 -12
- package/dist/{vue-ui-donut-evolution-BSZYlpQ4.js → vue-ui-donut-evolution-C8dlmVur.js} +11 -11
- package/dist/{vue-ui-donut-evolution-DS2dqteq.cjs → vue-ui-donut-evolution-Oga32kTV.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CTcvX2CT.cjs → vue-ui-dumbbell-ClzXgan7.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-9sEMuWdj.js → vue-ui-dumbbell-Ds41wAQh.js} +10 -10
- package/dist/{vue-ui-flow-wAvTzG20.cjs → vue-ui-flow-Bp1oqzTj.cjs} +1 -1
- package/dist/{vue-ui-flow-Bn6eRbfA.js → vue-ui-flow-CqdSvk4_.js} +11 -11
- package/dist/{vue-ui-funnel-ENbP7k7d.js → vue-ui-funnel-CNDgAWjp.js} +9 -9
- package/dist/{vue-ui-funnel-DQflekb1.cjs → vue-ui-funnel-y3hN7BGU.cjs} +1 -1
- package/dist/{vue-ui-galaxy-B6thZdtp.cjs → vue-ui-galaxy-D5vKPiFH.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BXBlLF0x.js → vue-ui-galaxy-DzUAHZ4G.js} +11 -11
- package/dist/{vue-ui-gauge-TLv35WQu.cjs → vue-ui-gauge-57ahTSbZ.cjs} +1 -1
- package/dist/{vue-ui-gauge-D-BFLHdh.js → vue-ui-gauge-Cj-4ZhyL.js} +7 -7
- package/dist/{vue-ui-gizmo-CupuHUJa.js → vue-ui-gizmo-CCS3u0qr.js} +3 -3
- package/dist/{vue-ui-gizmo-CIDsbSUq.cjs → vue-ui-gizmo-D5_kCO9e.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Df3qLtt5.cjs → vue-ui-heatmap-B8sfOhVF.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Bxy7ffI3.js → vue-ui-heatmap-CBRd8kvj.js} +10 -10
- package/dist/{vue-ui-history-plot-CPbp9vdL.js → vue-ui-history-plot-4XT22zB_.js} +11 -11
- package/dist/{vue-ui-history-plot-CPmQ5Xri.cjs → vue-ui-history-plot-DQVpKlp1.cjs} +1 -1
- package/dist/{vue-ui-kpi-D16IoodO.js → vue-ui-kpi-B-lBgRvZ.js} +3 -3
- package/dist/{vue-ui-kpi-D6wD01aX.cjs → vue-ui-kpi-DjI1yXtc.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BczPBX3e.cjs → vue-ui-mini-loader-BpAnNEHG.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CceGVViE.js → vue-ui-mini-loader-_ksyazrb.js} +2 -2
- package/dist/{vue-ui-molecule-uQWB-9XK.cjs → vue-ui-molecule-BqpYPmrd.cjs} +1 -1
- package/dist/{vue-ui-molecule-CrQakNH_.js → vue-ui-molecule-Db_QmLY6.js} +11 -11
- package/dist/{vue-ui-mood-radar-BG9otX9u.cjs → vue-ui-mood-radar-DI_FioVr.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DahDca5w.js → vue-ui-mood-radar-Y_CGEC1L.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DTNxPtmB.cjs → vue-ui-nested-donuts-B0rJlEH0.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-XJH9z_wF.js → vue-ui-nested-donuts-DosW9Sfg.js} +11 -11
- package/dist/{vue-ui-onion-rmq2wvkV.cjs → vue-ui-onion-CEHc9oKt.cjs} +1 -1
- package/dist/{vue-ui-onion-BJvveHv1.js → vue-ui-onion-CQwIVcfN.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-DUG7AQBu.cjs → vue-ui-parallel-coordinate-plot-C1sxm3Nr.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-C1A6OGCv.js → vue-ui-parallel-coordinate-plot-Cdu0SvMZ.js} +12 -12
- package/dist/{vue-ui-quadrant-CPUtUNLW.js → vue-ui-quadrant-B8H5sBMi.js} +12 -12
- package/dist/{vue-ui-quadrant-wz9ILTxc.cjs → vue-ui-quadrant-DM3Afg_i.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-D5GV86FD.js → vue-ui-quick-chart-ClB6jwSV.js} +9 -9
- package/dist/{vue-ui-quick-chart-BUCAhqff.cjs → vue-ui-quick-chart-ClJi48bc.cjs} +1 -1
- package/dist/{vue-ui-radar-DgxnT6Ia.js → vue-ui-radar-BTluZs04.js} +12 -12
- package/dist/{vue-ui-radar-DEJQlniz.cjs → vue-ui-radar-f0QY_Mal.cjs} +1 -1
- package/dist/{vue-ui-rating-oHYSjb-S.cjs → vue-ui-rating-B71_TxmN.cjs} +1 -1
- package/dist/{vue-ui-rating-YhL9VCJu.js → vue-ui-rating-CTNYeoXO.js} +2 -2
- package/dist/{vue-ui-relation-circle-CuN880Sz.js → vue-ui-relation-circle-CdHhoGcO.js} +7 -7
- package/dist/{vue-ui-relation-circle-fvzrVyeW.cjs → vue-ui-relation-circle-DHOG2jKh.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-0N6HCsbx.cjs → vue-ui-ridgeline-CxhklaLX.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-DcJqJ4Br.js → vue-ui-ridgeline-Dr6UOfwb.js} +12 -12
- package/dist/{vue-ui-rings-B3NvRyTt.cjs → vue-ui-rings-DoGxh2qe.cjs} +1 -1
- package/dist/{vue-ui-rings-CWVbql32.js → vue-ui-rings-N2mHKtLh.js} +12 -12
- package/dist/{vue-ui-scatter-BomRqjIY.js → vue-ui-scatter-BcJRyqbE.js} +12 -12
- package/dist/{vue-ui-scatter-pm9MRNSF.cjs → vue-ui-scatter-BnRkkP5Z.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Buze5CJ9.js → vue-ui-skeleton-BOtCpAcY.js} +3 -3
- package/dist/{vue-ui-skeleton-D5NShLgw.cjs → vue-ui-skeleton-Mcoev-5q.cjs} +1 -1
- package/dist/{vue-ui-smiley-BwfJxJz1.js → vue-ui-smiley-BPqpTUTh.js} +2 -2
- package/dist/{vue-ui-smiley-2dUYrT8i.cjs → vue-ui-smiley-Ch9trBZA.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-C7iY_86w.js → vue-ui-spark-trend-BXo8mbxJ.js} +5 -5
- package/dist/{vue-ui-spark-trend-CEisuf9v.cjs → vue-ui-spark-trend-PqEN-rL8.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CRuTBzCm.js → vue-ui-sparkbar-DEsL52nJ.js} +4 -4
- package/dist/{vue-ui-sparkbar-CYBJuXyQ.cjs → vue-ui-sparkbar-DnRQFo63.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BXiL-H2G.cjs → vue-ui-sparkgauge-C0E5Sojk.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DlQVyQjt.js → vue-ui-sparkgauge-DkawMq8d.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-dRHZS69c.cjs → vue-ui-sparkhistogram-Bqtsbb3w.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B0dDhsh7.js → vue-ui-sparkhistogram-D8ZCXl7m.js} +5 -5
- package/dist/{vue-ui-sparkline--7FAyaV6.cjs → vue-ui-sparkline-BTruGe7A.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BPYP_3F7.js → vue-ui-sparkline-D8LYPXpr.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DIIJj1wV.cjs → vue-ui-sparkstackbar-DeXUgBIH.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CW8EOoq6.js → vue-ui-sparkstackbar-DzeVCG0H.js} +5 -5
- package/dist/{vue-ui-stackbar-Ck1yeR-g.cjs → vue-ui-stackbar-CaFp42Tn.cjs} +1 -1
- package/dist/{vue-ui-stackbar-C7VZ5PHn.js → vue-ui-stackbar-DQ9CcKUd.js} +13 -13
- package/dist/{vue-ui-strip-plot-DZMIliYA.js → vue-ui-strip-plot-C6gcQLMI.js} +11 -11
- package/dist/{vue-ui-strip-plot-C2YMIwOm.cjs → vue-ui-strip-plot-DzNU6VRW.cjs} +1 -1
- package/dist/{vue-ui-table-DggvYyBd.js → vue-ui-table-D7azsjo3.js} +3 -3
- package/dist/{vue-ui-table-BR32W2JW.cjs → vue-ui-table-DP2ZaGWa.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Bl8BJlrP.cjs → vue-ui-table-heatmap-B2gZkAqm.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Co86evBH.js → vue-ui-table-heatmap-DINNMAyX.js} +4 -4
- package/dist/{vue-ui-table-sparkline-bpl24ydD.js → vue-ui-table-sparkline-BrYh6fVq.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CR4Xo17N.cjs → vue-ui-table-sparkline-CgN2nMYT.cjs} +1 -1
- package/dist/{vue-ui-thermometer-C03In60a.cjs → vue-ui-thermometer-DgZfQbR2.cjs} +1 -1
- package/dist/{vue-ui-thermometer-9fpJItF7.js → vue-ui-thermometer-J0A6MZy_.js} +7 -7
- package/dist/{vue-ui-timer-Jei5BiD_.js → vue-ui-timer-CI8zPXh3.js} +5 -5
- package/dist/{vue-ui-timer-B-GRZP1F.cjs → vue-ui-timer-ClM5FpoU.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CtojdnkW.cjs → vue-ui-tiremarks-19Krsd1f.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-B8WG2ok9.js → vue-ui-tiremarks-BuNik_Pf.js} +7 -7
- package/dist/{vue-ui-treemap-Cb7cgmml.cjs → vue-ui-treemap-DvmJ1MOU.cjs} +1 -1
- package/dist/{vue-ui-treemap-6KYCNZho.js → vue-ui-treemap-oUtdOGWu.js} +12 -12
- package/dist/{vue-ui-vertical-bar-BEFnicAy.js → vue-ui-vertical-bar-2bHPN2lr.js} +12 -12
- package/dist/{vue-ui-vertical-bar-U38k297l.cjs → vue-ui-vertical-bar-RT-SM-us.cjs} +1 -1
- package/dist/{vue-ui-waffle-BiDUa_mf.cjs → vue-ui-waffle-BSKRUJbJ.cjs} +1 -1
- package/dist/{vue-ui-waffle-DkmwDnZR.js → vue-ui-waffle-BuISvHw-.js} +12 -12
- package/dist/{vue-ui-wheel-DP7fvbGp.js → vue-ui-wheel-CSy7_x22.js} +7 -7
- package/dist/{vue-ui-wheel-_n8mecg5.cjs → vue-ui-wheel-DfBVkT9x.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-D7AN_XSy.cjs → vue-ui-word-cloud-BlfCmzD-.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-QJS8wmHH.js → vue-ui-word-cloud-DEpoSRMP.js} +10 -10
- package/dist/vue-ui-world-Cy1VBlK3.js +931 -0
- package/dist/vue-ui-world-EgFhVXSY.cjs +19 -0
- package/dist/{vue-ui-xy-B31mVrV8.js → vue-ui-xy-PaM6vcjk.js} +16 -16
- package/dist/{vue-ui-xy-DrSTGIwE.cjs → vue-ui-xy-aQEDcKbT.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-Cb-SSn4j.cjs → vue-ui-xy-canvas-C6-sYgU_.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-CcYTS3qd.js → vue-ui-xy-canvas-CSyX_xLO.js} +12 -12
- package/package.json +1 -1
- package/dist/vue-ui-world-BKjsYsNe.js +0 -931
- package/dist/vue-ui-world-Cwu0_sO2.cjs +0 -19
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as ot, defineAsyncComponent as e, computed as s, ref as o, onMounted as it, watch as $, shallowReactive as at, createElementBlock as nt, createBlock as m, openBlock as c, normalizeStyle as lt, createElementVNode as rt, createTextVNode as ut, createCommentVNode as X, toDisplayString as st, resolveDynamicComponent as ct, mergeProps as gt, toHandlers as pt, createSlots as mt, renderList as dt, withCtx as Vt, renderSlot as Ut, normalizeProps as ft, guardReactiveProps as vt } from "vue";
|
|
2
|
-
import Q from "./BaseIcon-
|
|
2
|
+
import Q from "./BaseIcon-CpIcYACc.js";
|
|
3
3
|
const kt = { style: { width: "36px" } }, yt = {
|
|
4
4
|
__name: "vue-data-ui",
|
|
5
5
|
props: {
|
|
@@ -36,68 +36,68 @@ const kt = { style: { width: "36px" } }, yt = {
|
|
|
36
36
|
],
|
|
37
37
|
setup(j, { expose: z, emit: K }) {
|
|
38
38
|
const n = j, { component: St, dataset: q, config: Y } = ot(n), g = {
|
|
39
|
-
VueUi3dBar: e(() => import("./vue-ui-3d-bar-
|
|
40
|
-
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-
|
|
41
|
-
VueUiAnnotator: e(() => import("./vue-ui-annotator-
|
|
42
|
-
VueUiCandlestick: e(() => import("./vue-ui-candlestick-
|
|
43
|
-
VueUiChestnut: e(() => import("./vue-ui-chestnut-
|
|
44
|
-
VueUiDashboard: e(() => import("./vue-ui-dashboard-
|
|
45
|
-
VueUiDigits: e(() => import("./vue-ui-digits-
|
|
46
|
-
VueUiDonut: e(() => import("./vue-ui-donut-
|
|
47
|
-
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-
|
|
48
|
-
VueUiGalaxy: e(() => import("./vue-ui-galaxy-
|
|
49
|
-
VueUiGauge: e(() => import("./vue-ui-gauge-
|
|
50
|
-
VueUiHeatmap: e(() => import("./vue-ui-heatmap-
|
|
51
|
-
VueUiKpi: e(() => import("./vue-ui-kpi-
|
|
52
|
-
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-
|
|
53
|
-
VueUiMolecule: e(() => import("./vue-ui-molecule-
|
|
54
|
-
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-
|
|
55
|
-
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-
|
|
56
|
-
VueUiOnion: e(() => import("./vue-ui-onion-
|
|
57
|
-
VueUiQuadrant: e(() => import("./vue-ui-quadrant-
|
|
58
|
-
VueUiRadar: e(() => import("./vue-ui-radar-
|
|
59
|
-
VueUiRating: e(() => import("./vue-ui-rating-
|
|
60
|
-
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-
|
|
61
|
-
VueUiRings: e(() => import("./vue-ui-rings-
|
|
62
|
-
VueUiScatter: e(() => import("./vue-ui-scatter-
|
|
63
|
-
VueUiSkeleton: e(() => import("./vue-ui-skeleton-
|
|
64
|
-
VueUiSmiley: e(() => import("./vue-ui-smiley-
|
|
65
|
-
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-
|
|
66
|
-
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-
|
|
67
|
-
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-
|
|
68
|
-
VueUiSparkline: e(() => import("./vue-ui-sparkline-
|
|
69
|
-
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-
|
|
70
|
-
VueUiTable: e(() => import("./vue-ui-table-
|
|
71
|
-
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-
|
|
72
|
-
VueUiThermometer: e(() => import("./vue-ui-thermometer-
|
|
73
|
-
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-
|
|
74
|
-
VueUiTreemap: e(() => import("./vue-ui-treemap-
|
|
75
|
-
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-
|
|
76
|
-
VueUiWaffle: e(() => import("./vue-ui-waffle-
|
|
77
|
-
VueUiWheel: e(() => import("./vue-ui-wheel-
|
|
78
|
-
VueUiXy: e(() => import("./vue-ui-xy-
|
|
79
|
-
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-
|
|
80
|
-
VueUiAccordion: e(() => import("./vue-ui-accordion-
|
|
81
|
-
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-
|
|
82
|
-
VueUiCursor: e(() => import("./vue-ui-cursor-
|
|
83
|
-
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-
|
|
84
|
-
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-
|
|
85
|
-
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-
|
|
86
|
-
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-
|
|
87
|
-
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-
|
|
88
|
-
VueUiFlow: e(() => import("./vue-ui-flow-
|
|
89
|
-
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-
|
|
90
|
-
VueUiTimer: e(() => import("./vue-ui-timer-
|
|
91
|
-
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-
|
|
92
|
-
VueUiGizmo: e(() => import("./vue-ui-gizmo-
|
|
93
|
-
VueUiStackbar: e(() => import("./vue-ui-stackbar-
|
|
94
|
-
VueUiBullet: e(() => import("./vue-ui-bullet-
|
|
95
|
-
VueUiFunnel: e(() => import("./vue-ui-funnel-
|
|
96
|
-
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-
|
|
97
|
-
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-
|
|
98
|
-
VueUiWorld: e(() => import("./vue-ui-world-
|
|
99
|
-
VueUiRidgeline: e(() => import("./vue-ui-ridgeline-
|
|
100
|
-
VueUiChord: e(() => import("./vue-ui-chord-
|
|
39
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-BIw7nTYA.js")),
|
|
40
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-Dn_061NF.js")),
|
|
41
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-Y65oZVga.js")),
|
|
42
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-BIC2-GAV.js")),
|
|
43
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-IsRTDol2.js")),
|
|
44
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-7Cm-15oc.js")),
|
|
45
|
+
VueUiDigits: e(() => import("./vue-ui-digits-BecNI-j7.js")),
|
|
46
|
+
VueUiDonut: e(() => import("./vue-ui-donut-D_bFxovZ.js")),
|
|
47
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-C8dlmVur.js")),
|
|
48
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-DzUAHZ4G.js")),
|
|
49
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-Cj-4ZhyL.js")),
|
|
50
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-CBRd8kvj.js")),
|
|
51
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-B-lBgRvZ.js")),
|
|
52
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-_ksyazrb.js")),
|
|
53
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-Db_QmLY6.js")),
|
|
54
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-Y_CGEC1L.js")),
|
|
55
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-DosW9Sfg.js")),
|
|
56
|
+
VueUiOnion: e(() => import("./vue-ui-onion-CQwIVcfN.js")),
|
|
57
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-B8H5sBMi.js")),
|
|
58
|
+
VueUiRadar: e(() => import("./vue-ui-radar-BTluZs04.js")),
|
|
59
|
+
VueUiRating: e(() => import("./vue-ui-rating-CTNYeoXO.js")),
|
|
60
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-CdHhoGcO.js")),
|
|
61
|
+
VueUiRings: e(() => import("./vue-ui-rings-N2mHKtLh.js")),
|
|
62
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-BcJRyqbE.js")),
|
|
63
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-BOtCpAcY.js")),
|
|
64
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-BPqpTUTh.js")),
|
|
65
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-DEsL52nJ.js")),
|
|
66
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-DkawMq8d.js")),
|
|
67
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-D8ZCXl7m.js")),
|
|
68
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-D8LYPXpr.js")),
|
|
69
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-DzeVCG0H.js")),
|
|
70
|
+
VueUiTable: e(() => import("./vue-ui-table-D7azsjo3.js")),
|
|
71
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-BrYh6fVq.js")),
|
|
72
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-J0A6MZy_.js")),
|
|
73
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-BuNik_Pf.js")),
|
|
74
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-oUtdOGWu.js")),
|
|
75
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-2bHPN2lr.js")),
|
|
76
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-BuISvHw-.js")),
|
|
77
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-CSy7_x22.js")),
|
|
78
|
+
VueUiXy: e(() => import("./vue-ui-xy-PaM6vcjk.js")),
|
|
79
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-DINNMAyX.js")),
|
|
80
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-BJyaBDyF.js")),
|
|
81
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-ClB6jwSV.js")),
|
|
82
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-Cq9lPDB7.js")),
|
|
83
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-BXo8mbxJ.js")),
|
|
84
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-C6gcQLMI.js")),
|
|
85
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-Ds41wAQh.js")),
|
|
86
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-DEpoSRMP.js")),
|
|
87
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-CSyX_xLO.js")),
|
|
88
|
+
VueUiFlow: e(() => import("./vue-ui-flow-CqdSvk4_.js")),
|
|
89
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-Cdu0SvMZ.js")),
|
|
90
|
+
VueUiTimer: e(() => import("./vue-ui-timer-CI8zPXh3.js")),
|
|
91
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-CnvQ0CeQ.js")),
|
|
92
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-CCS3u0qr.js")),
|
|
93
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-DQ9CcKUd.js")),
|
|
94
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-B5mjXy0q.js")),
|
|
95
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-CNDgAWjp.js")),
|
|
96
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-4XT22zB_.js")),
|
|
97
|
+
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-CS2l9IXg.js")),
|
|
98
|
+
VueUiWorld: e(() => import("./vue-ui-world-Cy1VBlK3.js")),
|
|
99
|
+
VueUiRidgeline: e(() => import("./vue-ui-ridgeline-Dr6UOfwb.js")),
|
|
100
|
+
VueUiChord: e(() => import("./vue-ui-chord-iSsr3a59.js"))
|
|
101
101
|
}, J = {
|
|
102
102
|
VueUi3dBar: ["config", "dataset"],
|
|
103
103
|
VueUiAgePyramid: ["config", "dataset"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),E=require("./BaseIcon-ljtRuDne.cjs"),J={style:{width:"36px"}},Z={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator","selectGroup","selectRibbon"],setup(O,{expose:_,emit:M}){const i=O,{component:R,dataset:W,config:$}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-B7HO9mUa.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-BuI0BAu6.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-D3WW79fZ.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-CvzvkTZL.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-BCLNZl02.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-BYVM2ULB.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-DKjgPEvR.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-C7VlH0Dm.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-DS2dqteq.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-B6thZdtp.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-TLv35WQu.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-Df3qLtt5.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-D6wD01aX.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-BczPBX3e.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-uQWB-9XK.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-BG9otX9u.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-DTNxPtmB.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-rmq2wvkV.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-wz9ILTxc.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-DEJQlniz.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-oHYSjb-S.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-fvzrVyeW.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-B3NvRyTt.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-pm9MRNSF.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-D5NShLgw.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-2dUYrT8i.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-CYBJuXyQ.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-BXiL-H2G.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-dRHZS69c.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline--7FAyaV6.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-DIIJj1wV.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-BR32W2JW.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-CR4Xo17N.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-C03In60a.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-CtojdnkW.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-Cb7cgmml.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-U38k297l.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-BiDUa_mf.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-_n8mecg5.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-DrSTGIwE.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-Bl8BJlrP.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-CACZOsPN.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-BUCAhqff.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-CB9lfY2N.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-CEisuf9v.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-C2YMIwOm.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-CTcvX2CT.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-D7AN_XSy.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-Cb-SSn4j.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-wAvTzG20.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-DUG7AQBu.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-B-GRZP1F.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-pGj3lD-7.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-CIDsbSUq.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-Ck1yeR-g.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-Cu4QFP97.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-DQflekb1.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-CPmQ5Xri.cjs"))),VueUiCirclePack:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-circle-pack-BdEy-F2l.cjs"))),VueUiWorld:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-world-Cwu0_sO2.cjs"))),VueUiRidgeline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-ridgeline-0N6HCsbx.cjs"))),VueUiChord:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chord-I12oZYBZ.cjs")))},X={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"],VueUiCirclePack:["config","dataset"],VueUiWorld:["config","dataset"],VueUiRidgeline:["config","dataset"],VueUiChord:["config","dataset"]},j=M,c=e.computed(()=>!l[i.component]),Q=e.computed(()=>l[i.component]||null),t=e.ref(null),z=e.computed(()=>{const o=X[i.component]||[],n={};return o.includes("config")&&(n.config=$.value),o.includes("dataset")&&(n.dataset=W.value),n}),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),C=e.ref(()=>null),A=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),k=e.ref(()=>null),S=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),I=e.ref(()=>null),N=e.ref(()=>null),x=e.ref(()=>null),F=e.ref(()=>null),H=e.ref(()=>null),L=e.ref(()=>null),G=e.ref(()=>null);e.onMounted(()=>{c.value&&console.error(`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),E=require("./BaseIcon-DY-33nfj.cjs"),J={style:{width:"36px"}},Z={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator","selectGroup","selectRibbon"],setup(O,{expose:_,emit:M}){const i=O,{component:R,dataset:W,config:$}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-WFymJ4EL.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-DGpLdvsL.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-ypStRKCB.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-BrDk_pc_.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-D_NZDyDN.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-jP2U4qtK.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-C5PfeED6.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-BM9i2XHJ.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-Oga32kTV.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-D5vKPiFH.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-57ahTSbZ.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-B8sfOhVF.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-DjI1yXtc.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-BpAnNEHG.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-BqpYPmrd.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-DI_FioVr.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-B0rJlEH0.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-CEHc9oKt.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-DM3Afg_i.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-f0QY_Mal.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-B71_TxmN.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-DHOG2jKh.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-DoGxh2qe.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-BnRkkP5Z.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-Mcoev-5q.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-Ch9trBZA.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-DnRQFo63.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-C0E5Sojk.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-Bqtsbb3w.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-BTruGe7A.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-DeXUgBIH.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-DP2ZaGWa.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-CgN2nMYT.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-DgZfQbR2.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-19Krsd1f.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-DvmJ1MOU.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-RT-SM-us.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-BSKRUJbJ.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-DfBVkT9x.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-aQEDcKbT.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-B2gZkAqm.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-7GoAZx3k.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-ClJi48bc.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-YZyc0ARl.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-PqEN-rL8.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-DzNU6VRW.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-ClzXgan7.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-BlfCmzD-.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-C6-sYgU_.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-Bp1oqzTj.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-C1sxm3Nr.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-ClM5FpoU.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-BTxtBHvb.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-D5_kCO9e.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-CaFp42Tn.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-C_Ppz5nn.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-y3hN7BGU.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-DQVpKlp1.cjs"))),VueUiCirclePack:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-circle-pack-lGkj98rL.cjs"))),VueUiWorld:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-world-EgFhVXSY.cjs"))),VueUiRidgeline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-ridgeline-CxhklaLX.cjs"))),VueUiChord:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chord-CZ66gJ7w.cjs")))},X={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"],VueUiCirclePack:["config","dataset"],VueUiWorld:["config","dataset"],VueUiRidgeline:["config","dataset"],VueUiChord:["config","dataset"]},j=M,c=e.computed(()=>!l[i.component]),Q=e.computed(()=>l[i.component]||null),t=e.ref(null),z=e.computed(()=>{const o=X[i.component]||[],n={};return o.includes("config")&&(n.config=$.value),o.includes("dataset")&&(n.dataset=W.value),n}),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),C=e.ref(()=>null),A=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),k=e.ref(()=>null),S=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),I=e.ref(()=>null),N=e.ref(()=>null),x=e.ref(()=>null),F=e.ref(()=>null),H=e.ref(()=>null),L=e.ref(()=>null),G=e.ref(()=>null);e.onMounted(()=>{c.value&&console.error(`
|
|
2
2
|
|
|
3
3
|
Vue Data UI exception:
|
|
4
4
|
The provided component "${i.component}" does not exist. Check the spelling.
|
package/dist/vue-data-ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-Cn2tUOoX.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiBullet=e.VueUiBullet;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiChord=e.VueUiChord;exports.VueUiCirclePack=e.VueUiCirclePack;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiFunnel=e.VueUiFunnel;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiHistoryPlot=e.VueUiHistoryPlot;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiPattern=e.VueUiPattern;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRidgeline=e.VueUiRidgeline;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiWorld=e.VueUiWorld;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.abbreviate=e.abbreviate;exports.createSmoothPath=e.createSmoothPath;exports.createStraightPath=e.createStraightPath;exports.createTSpans=e.createTSpans;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.darkenColor=e.darkenColor;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;exports.lightenColor=e.lightenColor;exports.shiftColorHue=e.shiftColorHue;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { an as s, ao as u, ap as V, aq as U, ar as r, as as t, bh as o, at as b, be as l, au as n, bo as d, bl as c, av as m, aw as C, ax as S, ay as g, az as p, aA as k, aB as h, bi as T, aC as P, aD as D, bf as f, aE as y, bj as R, aF as H, aG as W, aH as A, aI as v, aJ as x, aK as B, aL as F, aM as G, bk as M, aN as w, aO as Q, aP as X, aQ as j, aR as q, bn as z, aS as E, aT as I, aU as J, aV as K, aW as L, aX as N, aY as O, aZ as Y, a_ as Z, a$ as _, bg as $, b0 as aa, b1 as ea, b2 as ia, b3 as sa, b4 as ua, b5 as Va, b6 as Ua, b7 as ra, b8 as ta, b9 as oa, ba, bb as la, bm as na, bc as da, bd as ca, J as ma, T as Ca, S as Sa, af as ga, aj as pa, bp as ka, bq as ha, br as Ta, bs as Pa, bt as Da, bu as fa } from "./index-
|
|
2
|
+
import { an as s, ao as u, ap as V, aq as U, ar as r, as as t, bh as o, at as b, be as l, au as n, bo as d, bl as c, av as m, aw as C, ax as S, ay as g, az as p, aA as k, aB as h, bi as T, aC as P, aD as D, bf as f, aE as y, bj as R, aF as H, aG as W, aH as A, aI as v, aJ as x, aK as B, aL as F, aM as G, bk as M, aN as w, aO as Q, aP as X, aQ as j, aR as q, bn as z, aS as E, aT as I, aU as J, aV as K, aW as L, aX as N, aY as O, aZ as Y, a_ as Z, a$ as _, bg as $, b0 as aa, b1 as ea, b2 as ia, b3 as sa, b4 as ua, b5 as Va, b6 as Ua, b7 as ra, b8 as ta, b9 as oa, ba, bb as la, bm as na, bc as da, bd as ca, J as ma, T as Ca, S as Sa, af as ga, aj as pa, bp as ka, bq as ha, br as Ta, bs as Pa, bt as Da, bu as fa } from "./index-d3erwTWB.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { computed as T, ref as j, watch as He, onMounted as Re, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as O, normalizeClass as Me, createBlock as G, createCommentVNode as y, createSlots as Ze, withCtx as S, renderSlot as P, normalizeProps as Y, guardReactiveProps as J, createVNode as qe, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as B, mergeProps as Pe, createTextVNode as Xe, nextTick as Ye } from "vue";
|
|
2
|
-
import { u as Je, c as je, t as Ke, p as K, a as Qe, b as et, d as tt, o as lt, e as Q, g as re, l as U, m as Te, f as D, X as ot, s as g, h as ee, i as te, j as Se, k as le, n as I, q as st, r as at } from "./index-
|
|
3
|
-
import { _ as nt } from "./Title-
|
|
4
|
-
import { u as rt, U as ut } from "./usePrinter-
|
|
5
|
-
import it from "./vue-ui-skeleton-
|
|
6
|
-
import { D as dt } from "./DataTable-
|
|
7
|
-
import ct from "./vue-ui-accordion-
|
|
8
|
-
import { u as De } from "./useNestedProp-
|
|
9
|
-
import { _ as ht } from "./PackageVersion-
|
|
10
|
-
import { _ as vt } from "./PenAndPaper-
|
|
2
|
+
import { u as Je, c as je, t as Ke, p as K, a as Qe, b as et, d as tt, o as lt, e as Q, g as re, l as U, m as Te, f as D, X as ot, s as g, h as ee, i as te, j as Se, k as le, n as I, q as st, r as at } from "./index-d3erwTWB.js";
|
|
3
|
+
import { _ as nt } from "./Title-DIYoufYR.js";
|
|
4
|
+
import { u as rt, U as ut } from "./usePrinter-CHrKIDM7.js";
|
|
5
|
+
import it from "./vue-ui-skeleton-BOtCpAcY.js";
|
|
6
|
+
import { D as dt } from "./DataTable-CJOtzfgn.js";
|
|
7
|
+
import ct from "./vue-ui-accordion-BJyaBDyF.js";
|
|
8
|
+
import { u as De } from "./useNestedProp-BqKuhIvF.js";
|
|
9
|
+
import { _ as ht } from "./PackageVersion-D-aPPO0L.js";
|
|
10
|
+
import { _ as vt } from "./PenAndPaper-D9g_r8-6.js";
|
|
11
11
|
import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
12
|
import { u as pt } from "./useChartAccessibility-BWojgys7.js";
|
|
13
13
|
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-Cn2tUOoX.cjs"),me=require("./Title-D62pPwLz.cjs"),oe=require("./usePrinter-BrH80VBz.cjs"),ye=require("./vue-ui-skeleton-Mcoev-5q.cjs"),ge=require("./DataTable-CNCnRrD-.cjs"),$e=require("./vue-ui-accordion-7GoAZx3k.cjs"),ne=require("./useNestedProp-C8955nsn.cjs"),_e=require("./PackageVersion-BxSGdh6L.cjs"),be=require("./PenAndPaper-ByAFuR-l.cjs"),Be=require("./useUserOptionState-BgepsfED.cjs"),xe=require("./useChartAccessibility-Cm7nkzTG.cjs"),Ce=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ee=["id"],we={key:1,style:"width:100%;background:transparent"},Ne=["xmlns","viewBox"],Ve=["width","height"],Fe=["id"],Me=["stop-color"],Se=["stop-color"],Pe=["id"],Oe=["stop-color"],Le=["stop-color"],De=["id"],Te=["stop-color"],ze=["stop-color"],je=["id"],Ae=["stop-color"],Ie=["stop-color"],We=["stop-color"],Ge={key:1},He=["id"],qe=["stop-color"],Ue=["stop-color"],Re=["id"],Xe=["stop-color"],Ze=["stop-color"],Ye=["id"],Je=["stop-color"],Ke=["stop-color"],Qe=["id"],et=["x","y","font-size","font-weight","fill"],tt=["x","y"],lt=["d","stroke"],ot=["d","stroke"],nt={key:4},rt={key:0},at=["stroke-dasharray","d","stroke","stroke-width"],st=["stroke-dasharray","d","stroke","stroke-width"],ut=["stroke-dasharray","d","stroke","stroke-width"],it=["stroke-dasharray","d","stroke","stroke-width"],ct={key:1},dt=["d","stroke","stroke-width","fill"],ht=["d","stroke","stroke-width","fill"],vt=["d","stroke","stroke-width","fill"],pt={key:2},ft=["d","fill","onMouseenter","onClick"],kt=["d","fill","onMouseenter","onClick"],mt=["d","fill","onMouseenter","onClick"],yt=["d","onMouseenter","onClick"],gt=["d"],$t=["d","stroke"],_t=["onClick"],bt=["stroke","d"],Bt=["cx","cy","fill","stroke"],xt=["x","y","width","height"],Ct={key:1},Et=["d","stroke"],wt=["d","fill","stroke"],Nt=["id"],Vt=["stop-color"],Ft=["stop-color"],Mt=["cx","cy","fill"],St=["cx","cy","fill"],Pt={key:0},Ot=["text-anchor","x","y","fill","font-size"],Lt=["text-anchor","x","y","fill","font-size"],Dt={key:2},Tt=["d","fill","stroke"],zt={key:5},jt={key:0},At=["stroke-dasharray","d","stroke","stroke-width"],It=["stroke-dasharray","d","stroke","stroke-width"],Wt=["stroke-dasharray","d","stroke","stroke-width"],Gt=["stroke-dasharray","d","stroke","stroke-width"],Ht=["d","stroke","stroke-width","fill"],qt=["d","stroke","stroke-width","fill"],Ut={key:1},Rt=["onClick"],Xt=["id"],Zt=["stop-color"],Yt=["stop-color"],Jt=["id"],Kt=["stop-color"],Qt=["stop-color"],el=["stop-color"],tl=["stop-color"],ll=["stop-color"],ol=["onMouseenter","onClick","d","fill"],nl=["onMouseenter","onClick","d"],rl=["onMouseenter","onClick","d","fill"],al=["onClick"],sl=["stroke","d"],ul=["cx","cy","fill","stroke"],il=["x","y","width","height"],cl={key:1},dl=["d","stroke"],hl=["d","fill","stroke"],vl=["id"],pl=["stop-color"],fl=["stop-color"],kl=["cx","cy","fill"],ml=["cx","cy","fill"],yl={key:0},gl=["text-anchor","x","y","fill","font-size"],$l=["text-anchor","x","y","fill","font-size"],_l={key:2},bl=["d","fill","stroke"],Bl={key:4,class:"vue-data-ui-watermark"},xl={key:6,ref:"source",dir:"auto"},Cl=["innerHTML"],El={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(re,{expose:ae,emit:se}){const{vue_ui_3d_bar:ue}=s.useConfig(),f=re,F=se,M=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(s.createUid()),ie=e.ref(null),z=e.ref(null),x=e.ref(!1),j=e.ref(0),A=e.ref(0),l=e.computed({get:()=>H(),set:a=>a}),{userOptionsVisible:O,setUserOptionsVisibility:I,keepUserOptionState:W}=Be.useUserOptionState({config:l.value}),{svgRef:G}=xe.useChartAccessibility({config:l.value.style.chart.title});function H(){const a=ne.useNestedProp({userConfig:f.config,defaultConfig:ue});return a.theme?{...ne.useNestedProp({userConfig:s.themes.vue_ui_3d_bar[a.theme]||f.config,defaultConfig:a}),customPalette:s.themePalettes[a.theme]||s.palette}:a}e.watch(()=>f.config,a=>{l.value=H(),O.value=!l.value.userOptions.showOnChartHover,Z(),j.value+=1,A.value+=1,N.value.showTable=l.value.table.show},{deep:!0});const{isPrinting:q,isImaging:U,generatePdf:R,generateImage:X}=oe.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar",options:l.value.userOptions.print}),ce=e.computed(()=>s.convertCustomPalette(l.value.customPalette)),N=e.ref({showTable:l.value.table.show}),$=e.computed(()=>f.dataset.series&&f.dataset.series.length),n=e.computed(()=>({height:l.value.style.chart.box.dimensions.height,width:l.value.style.chart.box.dimensions.width,absoluteWidth:l.value.style.chart.box.dimensions.width*($.value?2:1),top:l.value.style.chart.box.dimensions.top,bottom:l.value.style.chart.box.dimensions.bottom,left:l.value.style.chart.box.dimensions.left,right:l.value.style.chart.box.dimensions.right,perspective:l.value.style.chart.box.dimensions.perspective})),g=e.computed(()=>{if($.value){const a=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),r=f.dataset.series.map((o,u)=>({...o,id:s.createUid(),proportion:(o.value||0)/a,color:s.convertColorToHex(o.color)||ce.value[u]||s.palette[u]||s.palette[u%s.palette.length],breakdown:o.breakdown?o.breakdown.sort((i,p)=>p.value-i.value):null})).sort((o,u)=>u.value-o.value),t=[];let c=0;for(let o=0;o<r.length;o+=1)t.push({...r[o],fill:de(c,r[o].proportion,r[o].breakdown,r[o].color)}),c+=r[o].proportion;return t}return null}),b=e.computed(()=>({right:`M${n.value.width/2},${n.value.top} ${n.value.width-n.value.right}, ${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,left:`M${n.value.width/2},${n.value.top} ${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,side:`M${n.value.width/2},${n.value.height-n.value.bottom} ${n.value.width/2},${n.value.top+n.value.perspective*2}`,topSides:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.width/2},${n.value.top+n.value.perspective*2} ${n.value.width-n.value.right},${n.value.top+n.value.perspective}`,tubeTop:`M${n.value.left},${n.value.top+n.value.perspective} C ${n.value.left},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top+n.value.perspective} C ${n.value.width-n.value.right},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective}`,tubeLeft:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`,tubeRight:`M${n.value.width-n.value.right},${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective}`,tubeBottom:`M${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} C ${n.value.width-n.value.right},${n.value.height} ${n.value.left},${n.value.height} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`})),E=e.ref(l.value.style.chart.animation.use?0:f.dataset.percentage);e.onMounted(()=>{Z();let a=0,r=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){E.value+=r+a,a+=t,E.value<f.dataset.percentage?requestAnimationFrame(c):E.value=f.dataset.percentage}l.value.style.chart.animation.use&&(E.value=0,c())});function Z(){s.objectIsEmpty(f.dataset)?s.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((a,r)=>{s.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","value"]}).forEach(t=>{s.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:r})}),a.breakdown&&a.breakdown.forEach((t,c)=>{s.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{s.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${r} - ${c}`})})})}):s.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(a=>{s.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:a})})}function de(a,r,t,c){const o=n.value.height-n.value.bottom-n.value.top-n.value.perspective*2,{width:u,height:i,bottom:p,right:y,left:h,perspective:v}=n.value,d=p+o*a,T=i-d-v-o*r/2,pe=T>n.value.height/2?"top":"bottom",Q=64,fe=!!t;let ee=null,te=null;return fe&&(t=t.map((le,ke)=>({...le,value:le.value||0,color:s.lightenHexColor(c,ke/t.length)})),ee=s.makeDonut({series:t},u+n.value.absoluteWidth/4-14,pe==="top"?T-Q:T+Q,28,28,1.99999,2,1,360,105.25,14),te=s.makeDonut({series:t},u-y+20,i-d-v-o*r/2,6,6,1.99999,2,1,360,105.25,6)),{donut:ee,miniDonut:te,sidePointer:{x:u-y,y:i-d-v-o*r/2,topY:i-d-v-o*r,height:o*r},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*r,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*r} ${u-y},${i-d-v-o*r} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*r} ${h}, ${i-d-v-o*r} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*r} ${u/2},${i-d-o*r} ${u-y},${i-d-v-o*r}`,liningTopShade:`M${h},${i-d-v-o*r-.5} ${u/2},${i-d-o*r-.5} ${u-y},${i-d-v-o*r-.5}`,top:`M${u/2},${i-d-o*r} ${h},${i-d-v-o*r} ${u/2},${i-d-v*2-o*r} ${u-y},${i-d-v-o*r} Z`,tubeTop:`M${h},${i-d-o*r-v} C ${h},${i-d-o*r-v*2.5} ${u-y},${i-d-o*r-v*2.5} ${u-y},${i-d-o*r-v} C ${u-y},${i-d-o*r+v/2} ${h},${i-d-o*r+v/2} ${h},${i-d-o*r-v}`,bottomTubeTop:`M ${u-y-.5},${i-d-v} C ${u-y-.5},${i-d+v/2} ${h},${i-d+v/2} ${h+.5},${i-d-v}`,tubeBody:`M
|
|
2
2
|
${h},${i-d-o*r-v}
|
|
3
3
|
C ${h},${i-d-o*r+v/2}
|
|
4
4
|
${u-y},${i-d-o*r+v/2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-DY-33nfj.cjs"),g=require("./useNestedProp-C8955nsn.cjs"),u=require("./index-Cn2tUOoX.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=["id"],h={key:0,class:"vue-ui-accordion-arrow"},k={__name:"vue-ui-accordion",props:{config:{type:Object,default(){return{}}},hideDetails:{type:Boolean,default:!1}},setup(l){e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:c}=u.useConfig(),d=l,o=e.computed(()=>g.useNestedProp({userConfig:d.config,defaultConfig:c})),a=e.ref(o.value.open),i=e.ref(u.createUid()),t=e.ref(null),n=e.ref(0);e.onMounted(()=>{t.value.open=o.value.open}),e.watch(()=>o.value.open,r=>{t.value.open=r});function s(){(n.value>0||!o.value.open)&&(a.value=!a.value),n.value+=1}const v=e.computed(()=>`${o.value.maxHeight}px`);return(r,C)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("details",{id:`details_${i.value}`,ref_key:"details",ref:t,onToggle:s},[e.createElementVNode("summary",{class:e.normalizeClass({"vue-ui-accordion-headless":l.hideDetails})},[e.createElementVNode("div",{class:"vue-ui-accordion-head",style:e.normalizeStyle(`background:${o.value.head.backgroundColor};padding:${o.value.head.padding}; ${l.hideDetails?"height: 0px !important; padding: 0 !important;":""}`)},[l.hideDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[o.value.head.useArrowSlot?e.renderSlot(r.$slots,"arrow",e.normalizeProps(e.mergeProps({key:0},{backgroundColor:o.value.head.backgroundColor,color:o.value.head.color,iconColor:o.value.head.iconColor,isOpen:a.value})),void 0,!0):(e.openBlock(),e.createBlock(p.default,{key:1,name:"arrowRight",stroke:o.value.head.iconColor},null,8,["stroke"]))])),e.renderSlot(r.$slots,"title",e.normalizeProps(e.guardReactiveProps({color:o.value.head.color,isOpen:a.value})),void 0,!0)],4)],2)],40,m),e.createElementVNode("div",{class:"vue-ui-accordion-content",style:e.normalizeStyle(`background:${o.value.body.backgroundColor};color:${o.value.body.color}`)},[e.renderSlot(r.$slots,"content",e.normalizeProps(e.guardReactiveProps({backgroundColor:o.value.body.backgroundColor,color:o.value.body.color,isOpen:a.value})),void 0,!0)],4)]))}},y=f._export_sfc(k,[["__scopeId","data-v-28fc829c"]]);exports.default=y;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, createElementBlock as v, openBlock as u, createElementVNode as n, normalizeClass as $, normalizeStyle as p, createCommentVNode as O, renderSlot as c, createBlock as D, normalizeProps as i, mergeProps as N, guardReactiveProps as m } from "vue";
|
|
2
|
-
import w from "./BaseIcon-
|
|
3
|
-
import { u as x } from "./useNestedProp-
|
|
4
|
-
import { u as B, c as I } from "./index-
|
|
2
|
+
import w from "./BaseIcon-CpIcYACc.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-BqKuhIvF.js";
|
|
4
|
+
import { u as B, c as I } from "./index-d3erwTWB.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-BKWunRAY.cjs"),Y=require("./useResponsive-BBkmXXaa.cjs"),ie=require("./Title-DnNgxDaw.cjs"),J=require("./usePrinter-Dhf-GWO2.cjs"),ne=require("./Tooltip-BcRV15Nk.cjs"),ue=require("./DataTable-CzL8BmEn.cjs"),de=require("./vue-ui-skeleton-D5NShLgw.cjs"),ce=require("./vue-ui-accordion-CACZOsPN.cjs"),K=require("./useNestedProp-swJfhg8O.cjs"),ve=require("./PackageVersion-BhpRHJg-.cjs"),ye=require("./PenAndPaper-Cr_VFW1Y.cjs"),he=require("./useUserOptionState-BgepsfED.cjs"),fe=require("./useChartAccessibility-Cm7nkzTG.cjs"),pe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ge=["id"],be=["xmlns","viewBox"],me=["x","y","width","height"],xe=["id"],ke=["stop-color"],we=["stop-color"],Ce=["id"],_e=["stop-color"],Ne=["stop-color"],Se=["x","y","width","height","fill","rx"],Le=["x","y","width","height","fill","rx"],Te=["x","y","width","height","fill","rx"],Be=["x","y","width","height","fill","rx"],Ae={key:0},$e=["x","y","fill","font-size","font-weight"],Ee=["x","y","fill","font-size","font-weight"],Ve={key:1},ze=["x","y","font-size","fill","font-weight"],Oe={key:2},Pe={key:0},Ie=["x1","x2","y1","y2","stroke","stroke-width"],Fe=["x1","x2","y1","y2","stroke","stroke-width"],Re=["x1","x2","y1","y2","stroke","stroke-width"],De=["x","y","font-size","fill","font-weight"],Me=["x1","x2","y1","y2","stroke","stroke-width"],qe=["x","y","font-size","fill","font-weight"],Ue=["x","y","font-size","fill","font-weight"],Ge=["x","y","width","height","fill","onMouseover"],He={key:5,class:"vue-data-ui-watermark"},We={__name:"vue-ui-age-pyramid",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(T,{expose:Q}){const{vue_ui_age_pyramid:Z}=r.useConfig(),u=T,m=e.computed(()=>!!u.dataset&&u.dataset.length),v=e.ref(r.createUid()),ee=e.ref(null),C=e.ref(!1),_=e.ref(""),x=e.ref(null),B=e.ref(0),g=e.ref(null),A=e.ref(null),$=e.ref(null),E=e.ref(null),V=e.ref(0),z=e.ref(0),t=e.computed({get:()=>F(),set:l=>l}),{userOptionsVisible:N,setUserOptionsVisibility:O,keepUserOptionState:P}=he.useUserOptionState({config:t.value}),{svgRef:I}=fe.useChartAccessibility({config:t.value.style.title});function F(){const l=K.useNestedProp({userConfig:u.config,defaultConfig:Z});return l.theme?{...K.useNestedProp({userConfig:r.themes.vue_ui_age_pyramid[l.theme]||u.config,defaultConfig:l})}:l}e.watch(()=>u.config,l=>{t.value=F(),N.value=!t.value.userOptions.showOnChartHover,D(),V.value+=1,z.value+=1,c.value.showTable=t.value.table.show,c.value.showTooltip=t.value.style.tooltip.show},{deep:!0});const R=e.ref(null);e.onMounted(()=>{D()});function D(){if(r.objectIsEmpty(u.dataset)&&r.error({componentName:"VueUiAgePyramid",type:"dataset"}),t.value.responsive){const l=Y.throttle(()=>{const{width:i,height:o}=Y.useResponsive({chart:g.value,title:t.value.style.title.text?A.value:null,source:$.value,noTitle:E.value});requestAnimationFrame(()=>{d.value.width=i,d.value.height=o})});R.value=new ResizeObserver(l),R.value.observe(g.value.parentNode)}}const{isPrinting:M,isImaging:q,generatePdf:U,generateImage:G}=J.usePrinter({elementId:`vue-ui-age-pyramid_${v.value}`,fileName:t.value.style.title.text||"vue-ui-age-pyramid",options:t.value.userOptions.print}),te=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),c=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.tooltip.show}),d=e.ref({height:t.value.style.height,width:t.value.style.width}),s=e.computed(()=>{const l=d.value.width-t.value.style.layout.padding.right-t.value.style.layout.padding.left,i=t.value.style.layout.padding.left,o=d.value.width-t.value.style.layout.padding.right;return{top:t.value.style.layout.padding.top,left:i,right:o,bottom:d.value.height-t.value.style.layout.padding.bottom,width:l,height:d.value.height-t.value.style.layout.padding.top-t.value.style.layout.padding.bottom,centerX:t.value.style.layout.padding.left+l/2,leftChart:{width:l/2-t.value.style.layout.centerSlit.width,right:i+l/2-t.value.style.layout.centerSlit.width},rightChart:{width:l/2-t.value.style.layout.centerSlit.width,left:i+l/2+t.value.style.layout.centerSlit.width}}}),le=e.computed(()=>u.dataset.map(l=>t.value.style.layout.dataLabels.yAxis.display==="age"?l[1]:l[0])),y=e.computed(()=>{const l=oe(b.value/5),i=[],o=[];for(let a=0;a<=5;a+=1){const n=l*a,X=l*(a-5);i.push({value:n,x:s.value.left+s.value.width/2+t.value.style.layout.centerSlit.width+n/b.value*s.value.leftChart.width}),o.push({value:Math.abs(X),x:s.value.left+s.value.width/2+X/b.value*s.value.leftChart.width-t.value.style.layout.centerSlit.width})}return{right:i,left:o}});function oe(l){if(l===0)return 0;const o=10**Math.floor(Math.log10(Math.abs(l)));let a;return l<0,a=Math.round(l/o)*o,a}const b=e.computed(()=>Math.max(...u.dataset.flatMap(l=>l.slice(-2).map(i=>r.checkNaN(i))))),h=e.computed(()=>u.dataset.length),ae=e.computed(()=>u.dataset.map(l=>({segment:l[0],age:l[1],left:{value:l[2],proportionToMax:l[2]/b.value},right:{value:l[3],proportionToMax:l[3]/b.value}}))),f=e.computed(()=>ae.value.map((l,i)=>{const o=s.value.top+s.value.height/h.value*i,a=s.value.height/h.value-t.value.style.layout.bars.gap;return{segment:l.segment,age:l.age,left:{...l.left,y:o,color:t.value.style.layout.bars.left.color,x:s.value.leftChart.right-l.left.proportionToMax*s.value.leftChart.width,width:r.checkNaN(l.left.proportionToMax*s.value.leftChart.width),height:a},right:{...l.right,y:o,color:t.value.style.layout.bars.right.color,x:s.value.rightChart.left,width:r.checkNaN(l.right.proportionToMax*s.value.rightChart.width),height:a}}})),S=e.ref(null);function se(l,i){x.value=l,S.value={datapoint:i,seriesIndex:l,series:f.value,config:t.value};const o=t.value.style.tooltip.customFormat;if(r.isFunction(o)&&r.functionReturnsString(()=>o({seriesIndex:l,datapoint:{segment:i[0],index:i[1],left:i[2],right:i[3]},series:f.value,config:t.value})))_.value=o({seriesIndex:l,datapoint:{segment:i[0],index:i[1],left:i[2],right:i[3]},series:f.value,config:t.value});else{let a="";const n=f.value[l];a+=`<div><b>${n.segment}</b></div>`,a+=`<div>${t.value.translations.age}: ${r.applyDataLabel(t.value.style.layout.dataLabels.yAxis.formatter,r.checkNaN(n.age),r.dataLabel({v:r.checkNaN(n.age)}),{datapoint:i,seriesIndex:l})}</div>`,a+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}">`,a+='<div style="display:flex; flex-direction:row;gap:12px">',a+=`<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${v.value})`:t.value.style.layout.bars.left.color}"/></svg><div>${t.value.translations.female}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.left.value),r.dataLabel({v:r.checkNaN(n.left.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+=`<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${v.value})`:t.value.style.layout.bars.right.color}"/></svg><div>${t.value.translations.male}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.right.value),r.dataLabel({v:r.checkNaN(n.right.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+="</div>",a+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}"><div>${t.value.translations.total}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.right.value)+r.checkNaN(n.left.value),r.dataLabel({v:r.checkNaN(n.right.value)+r.checkNaN(n.left.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+="</div>",_.value=`<div>${a}</div>`}C.value=!0}function H(){e.nextTick(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],i=u.dataset.map(n=>[n[0],n[1],n[2],n[3],n[2]+n[3]]),o=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(i),a=r.createCsvContent(o);r.downloadCsv({csvContent:a,title:t.value.style.title.text||"vue-ui-heatmap"})})}const k=e.computed(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],i=u.dataset.map(a=>[a[0],a[1],a[2].toLocaleString(),a[3].toLocaleString(),(a[2]+a[3]).toLocaleString()]),o={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{head:l,body:i,config:o,colNames:l}}),p=e.ref(!1);function re(l){p.value=l,B.value+=1}function W(){c.value.showTable=!c.value.showTable}function j(){c.value.showTooltip=!c.value.showTooltip}const w=e.ref(!1);function L(){w.value=!w.value}return Q({generatePdf:U,generateCsv:H,generateImage:G,toggleTable:W,toggleTooltip:j,toggleAnnotator:L}),(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-age-pyramid ${p.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"agePyramid",ref:g,id:`vue-ui-age-pyramid_${v.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:i[2]||(i[2]=()=>e.unref(O)(!0)),onMouseleave:i[3]||(i[3]=()=>e.unref(O)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ye._sfc_main,{key:0,svgRef:e.unref(I),backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,active:w.value,onClose:L},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),te.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:E,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:A,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(ie._sfc_main,{key:`title_${V.value}`,config:{title:{cy:"pyramid-div-title",...t.value.style.title},subtitle:{cy:"pyramid-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&m.value&&(e.unref(P)||e.unref(N))?(e.openBlock(),e.createBlock(J.UserOptions,{ref_key:"details",ref:ee,key:`user_options_${B.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(q),isPrinting:e.unref(M),uid:v.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:p.value,isTooltip:c.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:g.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:re,onGeneratePdf:e.unref(U),onGenerateCsv:H,onGenerateImage:e.unref(G),onToggleTable:W,onToggleTooltip:j,onToggleAnnotator:L,style:e.normalizeStyle({visibility:e.unref(P)?e.unref(N)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:o,color:a})=>[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:o,color:a})),void 0,!0)]),key:"0"}:void 0,l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:a})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:a})),void 0,!0)]),key:"6"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:a})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:a})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:I,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":p.value,"vue-data-ui-fulscreen--off":!p.value}),viewBox:`0 0 ${d.value.width<=0?10:d.value.width} ${d.value.height<=0?10:d.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.color}`)},[e.createVNode(ve._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:s.value.left,y:s.value.top,width:s.value.width,height:s.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,me)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`age_pyramid_left_${v.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.bars.left.color},null,8,ke),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(e.unref(r.shiftHue)(t.value.style.layout.bars.left.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,we)],8,xe),e.createElementVNode("linearGradient",{id:`age_pyramid_right_${v.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(e.unref(r.shiftHue)(t.value.style.layout.bars.right.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,_e),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.bars.right.color},null,8,Ne)],8,Ce)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:o.left.x,y:o.left.y,width:e.unref(r.checkNaN)(o.left.width<=0?1e-4:o.left.width),height:o.left.height<=0?1e-4:o.left.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,Se),e.createElementVNode("rect",{x:o.left.x,y:o.left.y,width:o.left.width<=0?1e-4:o.left.width,height:o.left.height<=0?1e-4:o.left.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${v.value})`:o.left.color,rx:t.value.style.layout.bars.borderRadius},null,8,Le),e.createElementVNode("rect",{x:o.right.x,y:o.right.y,width:o.right.width<=0?1e-4:o.right.width,height:o.right.height<=0?1e-4:o.right.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,Te),e.createElementVNode("rect",{x:o.right.x,y:o.right.y,width:o.right.width<=0?1e-4:o.right.width,height:o.right.height<=0?1e-4:o.right.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${v.value})`:o.right.color,rx:t.value.style.layout.bars.borderRadius},null,8,Be)]))),256)),e.createElementVNode("g",null,[t.value.style.layout.dataLabels.sideTitles.show?(e.openBlock(),e.createElementBlock("g",Ae,[e.createElementVNode("text",{x:s.value.left,y:s.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.left.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"start","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.female),9,$e),e.createElementVNode("text",{x:s.value.right,y:s.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.right.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"end","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.male),9,Ee)])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",Ve,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(le.value,(o,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a%t.value.style.layout.dataLabels.yAxis.showEvery===0?(e.openBlock(),e.createElementBlock("text",{key:0,x:s.value.centerX,y:s.value.top+s.value.height/h.value*a+t.value.style.layout.dataLabels.yAxis.fontSize/3,"text-anchor":"middle","font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color,"font-weight":t.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.layout.dataLabels.yAxis.formatter,o,e.unref(r.dataLabel)({v:o}),{datapoint:o,seriesIndex:a})),9,ze)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",Oe,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("g",Pe,[e.createElementVNode("line",{x1:y.value.right[0].x,x2:y.value.right.at(-1).x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Ie),e.createElementVNode("line",{x1:y.value.left[0].x,x2:y.value.left.at(-1).x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Fe)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.right,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Re)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:o.x,y:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,o.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(r.dataLabel)({v:o.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:o,seriesIndex:a})),9,De)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.left,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Me)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:o.x,y:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,o.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(r.dataLabel)({v:o.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:o,seriesIndex:a})),9,qe)]))),256)),e.createElementVNode("text",{x:s.value.right,y:d.value.height,"text-anchor":"end","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(t.value.style.layout.dataLabels.xAxis.translation),9,Ue)])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.dataset,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:s.value.left,y:s.value.top+s.value.height/h.value*a-t.value.style.layout.bars.gap/2,width:s.value.width<=0?1e-4:s.value.width,height:s.value.height/h.value<=0?1e-4:s.value.height/h.value,fill:x.value!==null&&x.value===a?e.unref(r.setOpacity)(t.value.style.highlighter.color,t.value.style.highlighter.opacity):"transparent",onMouseover:n=>se(a,o),onMouseleave:i[0]||(i[0]=n=>{x.value=null,C.value=!1})},null,40,Ge)]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,be)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",He,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(M)||e.unref(q)})),void 0,!0)])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(de.default,{key:6,config:{type:"pyramid",style:{backgroundColor:t.value.style.backgroundColor,pyramid:{color:"#CCCCCC"}}}},null,8,["config"])),e.renderSlot(l.$slots,"legend",{legend:f.value},void 0,!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:$,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(ne._sfc_main,{show:c.value.showTooltip&&C.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,fontSize:t.value.style.tooltip.fontSize,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,offsetY:t.value.style.tooltip.offsetY,parent:g.value,content:_.value,isFullscreen:p.value,isCustom:t.value.style.tooltip.customFormat&&typeof t.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...S.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...S.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),m.value?(e.openBlock(),e.createBlock(ce.default,{key:8,hideDetails:"",config:{open:c.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color},head:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(ue.DataTable,{key:`table_${z.value}`,colNames:k.value.colNames,head:k.value.head,body:k.value.body,config:k.value.config,title:`${t.value.style.title.text}${t.value.style.title.subtitle.text?` : ${t.value.style.title.subtitle.text}`:""}`,onClose:i[1]||(i[1]=o=>c.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createTextVNode(e.toDisplayString(o),1)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,ge))}},je=pe._export_sfc(We,[["__scopeId","data-v-beb1c78c"]]);exports.default=je;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-Cn2tUOoX.cjs"),Y=require("./useResponsive-BBkmXXaa.cjs"),ie=require("./Title-D62pPwLz.cjs"),J=require("./usePrinter-BrH80VBz.cjs"),ne=require("./Tooltip-C_H6-uAa.cjs"),ue=require("./DataTable-CNCnRrD-.cjs"),de=require("./vue-ui-skeleton-Mcoev-5q.cjs"),ce=require("./vue-ui-accordion-7GoAZx3k.cjs"),K=require("./useNestedProp-C8955nsn.cjs"),ve=require("./PackageVersion-BxSGdh6L.cjs"),ye=require("./PenAndPaper-ByAFuR-l.cjs"),he=require("./useUserOptionState-BgepsfED.cjs"),fe=require("./useChartAccessibility-Cm7nkzTG.cjs"),pe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ge=["id"],be=["xmlns","viewBox"],me=["x","y","width","height"],xe=["id"],ke=["stop-color"],we=["stop-color"],Ce=["id"],_e=["stop-color"],Ne=["stop-color"],Se=["x","y","width","height","fill","rx"],Le=["x","y","width","height","fill","rx"],Te=["x","y","width","height","fill","rx"],Be=["x","y","width","height","fill","rx"],Ae={key:0},$e=["x","y","fill","font-size","font-weight"],Ee=["x","y","fill","font-size","font-weight"],Ve={key:1},ze=["x","y","font-size","fill","font-weight"],Oe={key:2},Pe={key:0},Ie=["x1","x2","y1","y2","stroke","stroke-width"],Fe=["x1","x2","y1","y2","stroke","stroke-width"],Re=["x1","x2","y1","y2","stroke","stroke-width"],De=["x","y","font-size","fill","font-weight"],Me=["x1","x2","y1","y2","stroke","stroke-width"],qe=["x","y","font-size","fill","font-weight"],Ue=["x","y","font-size","fill","font-weight"],Ge=["x","y","width","height","fill","onMouseover"],He={key:5,class:"vue-data-ui-watermark"},We={__name:"vue-ui-age-pyramid",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(T,{expose:Q}){const{vue_ui_age_pyramid:Z}=r.useConfig(),u=T,m=e.computed(()=>!!u.dataset&&u.dataset.length),v=e.ref(r.createUid()),ee=e.ref(null),C=e.ref(!1),_=e.ref(""),x=e.ref(null),B=e.ref(0),g=e.ref(null),A=e.ref(null),$=e.ref(null),E=e.ref(null),V=e.ref(0),z=e.ref(0),t=e.computed({get:()=>F(),set:l=>l}),{userOptionsVisible:N,setUserOptionsVisibility:O,keepUserOptionState:P}=he.useUserOptionState({config:t.value}),{svgRef:I}=fe.useChartAccessibility({config:t.value.style.title});function F(){const l=K.useNestedProp({userConfig:u.config,defaultConfig:Z});return l.theme?{...K.useNestedProp({userConfig:r.themes.vue_ui_age_pyramid[l.theme]||u.config,defaultConfig:l})}:l}e.watch(()=>u.config,l=>{t.value=F(),N.value=!t.value.userOptions.showOnChartHover,D(),V.value+=1,z.value+=1,c.value.showTable=t.value.table.show,c.value.showTooltip=t.value.style.tooltip.show},{deep:!0});const R=e.ref(null);e.onMounted(()=>{D()});function D(){if(r.objectIsEmpty(u.dataset)&&r.error({componentName:"VueUiAgePyramid",type:"dataset"}),t.value.responsive){const l=Y.throttle(()=>{const{width:i,height:o}=Y.useResponsive({chart:g.value,title:t.value.style.title.text?A.value:null,source:$.value,noTitle:E.value});requestAnimationFrame(()=>{d.value.width=i,d.value.height=o})});R.value=new ResizeObserver(l),R.value.observe(g.value.parentNode)}}const{isPrinting:M,isImaging:q,generatePdf:U,generateImage:G}=J.usePrinter({elementId:`vue-ui-age-pyramid_${v.value}`,fileName:t.value.style.title.text||"vue-ui-age-pyramid",options:t.value.userOptions.print}),te=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),c=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.tooltip.show}),d=e.ref({height:t.value.style.height,width:t.value.style.width}),s=e.computed(()=>{const l=d.value.width-t.value.style.layout.padding.right-t.value.style.layout.padding.left,i=t.value.style.layout.padding.left,o=d.value.width-t.value.style.layout.padding.right;return{top:t.value.style.layout.padding.top,left:i,right:o,bottom:d.value.height-t.value.style.layout.padding.bottom,width:l,height:d.value.height-t.value.style.layout.padding.top-t.value.style.layout.padding.bottom,centerX:t.value.style.layout.padding.left+l/2,leftChart:{width:l/2-t.value.style.layout.centerSlit.width,right:i+l/2-t.value.style.layout.centerSlit.width},rightChart:{width:l/2-t.value.style.layout.centerSlit.width,left:i+l/2+t.value.style.layout.centerSlit.width}}}),le=e.computed(()=>u.dataset.map(l=>t.value.style.layout.dataLabels.yAxis.display==="age"?l[1]:l[0])),y=e.computed(()=>{const l=oe(b.value/5),i=[],o=[];for(let a=0;a<=5;a+=1){const n=l*a,X=l*(a-5);i.push({value:n,x:s.value.left+s.value.width/2+t.value.style.layout.centerSlit.width+n/b.value*s.value.leftChart.width}),o.push({value:Math.abs(X),x:s.value.left+s.value.width/2+X/b.value*s.value.leftChart.width-t.value.style.layout.centerSlit.width})}return{right:i,left:o}});function oe(l){if(l===0)return 0;const o=10**Math.floor(Math.log10(Math.abs(l)));let a;return l<0,a=Math.round(l/o)*o,a}const b=e.computed(()=>Math.max(...u.dataset.flatMap(l=>l.slice(-2).map(i=>r.checkNaN(i))))),h=e.computed(()=>u.dataset.length),ae=e.computed(()=>u.dataset.map(l=>({segment:l[0],age:l[1],left:{value:l[2],proportionToMax:l[2]/b.value},right:{value:l[3],proportionToMax:l[3]/b.value}}))),f=e.computed(()=>ae.value.map((l,i)=>{const o=s.value.top+s.value.height/h.value*i,a=s.value.height/h.value-t.value.style.layout.bars.gap;return{segment:l.segment,age:l.age,left:{...l.left,y:o,color:t.value.style.layout.bars.left.color,x:s.value.leftChart.right-l.left.proportionToMax*s.value.leftChart.width,width:r.checkNaN(l.left.proportionToMax*s.value.leftChart.width),height:a},right:{...l.right,y:o,color:t.value.style.layout.bars.right.color,x:s.value.rightChart.left,width:r.checkNaN(l.right.proportionToMax*s.value.rightChart.width),height:a}}})),S=e.ref(null);function se(l,i){x.value=l,S.value={datapoint:i,seriesIndex:l,series:f.value,config:t.value};const o=t.value.style.tooltip.customFormat;if(r.isFunction(o)&&r.functionReturnsString(()=>o({seriesIndex:l,datapoint:{segment:i[0],index:i[1],left:i[2],right:i[3]},series:f.value,config:t.value})))_.value=o({seriesIndex:l,datapoint:{segment:i[0],index:i[1],left:i[2],right:i[3]},series:f.value,config:t.value});else{let a="";const n=f.value[l];a+=`<div><b>${n.segment}</b></div>`,a+=`<div>${t.value.translations.age}: ${r.applyDataLabel(t.value.style.layout.dataLabels.yAxis.formatter,r.checkNaN(n.age),r.dataLabel({v:r.checkNaN(n.age)}),{datapoint:i,seriesIndex:l})}</div>`,a+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}">`,a+='<div style="display:flex; flex-direction:row;gap:12px">',a+=`<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${v.value})`:t.value.style.layout.bars.left.color}"/></svg><div>${t.value.translations.female}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.left.value),r.dataLabel({v:r.checkNaN(n.left.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+=`<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${v.value})`:t.value.style.layout.bars.right.color}"/></svg><div>${t.value.translations.male}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.right.value),r.dataLabel({v:r.checkNaN(n.right.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+="</div>",a+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}"><div>${t.value.translations.total}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.right.value)+r.checkNaN(n.left.value),r.dataLabel({v:r.checkNaN(n.right.value)+r.checkNaN(n.left.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+="</div>",_.value=`<div>${a}</div>`}C.value=!0}function H(){e.nextTick(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],i=u.dataset.map(n=>[n[0],n[1],n[2],n[3],n[2]+n[3]]),o=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(i),a=r.createCsvContent(o);r.downloadCsv({csvContent:a,title:t.value.style.title.text||"vue-ui-heatmap"})})}const k=e.computed(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],i=u.dataset.map(a=>[a[0],a[1],a[2].toLocaleString(),a[3].toLocaleString(),(a[2]+a[3]).toLocaleString()]),o={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{head:l,body:i,config:o,colNames:l}}),p=e.ref(!1);function re(l){p.value=l,B.value+=1}function W(){c.value.showTable=!c.value.showTable}function j(){c.value.showTooltip=!c.value.showTooltip}const w=e.ref(!1);function L(){w.value=!w.value}return Q({generatePdf:U,generateCsv:H,generateImage:G,toggleTable:W,toggleTooltip:j,toggleAnnotator:L}),(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-age-pyramid ${p.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"agePyramid",ref:g,id:`vue-ui-age-pyramid_${v.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:i[2]||(i[2]=()=>e.unref(O)(!0)),onMouseleave:i[3]||(i[3]=()=>e.unref(O)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ye._sfc_main,{key:0,svgRef:e.unref(I),backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,active:w.value,onClose:L},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),te.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:E,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:A,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(ie._sfc_main,{key:`title_${V.value}`,config:{title:{cy:"pyramid-div-title",...t.value.style.title},subtitle:{cy:"pyramid-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&m.value&&(e.unref(P)||e.unref(N))?(e.openBlock(),e.createBlock(J.UserOptions,{ref_key:"details",ref:ee,key:`user_options_${B.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(q),isPrinting:e.unref(M),uid:v.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:p.value,isTooltip:c.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:g.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:re,onGeneratePdf:e.unref(U),onGenerateCsv:H,onGenerateImage:e.unref(G),onToggleTable:W,onToggleTooltip:j,onToggleAnnotator:L,style:e.normalizeStyle({visibility:e.unref(P)?e.unref(N)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:o,color:a})=>[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:o,color:a})),void 0,!0)]),key:"0"}:void 0,l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:a})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:a})),void 0,!0)]),key:"6"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:a})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:a})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:I,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":p.value,"vue-data-ui-fulscreen--off":!p.value}),viewBox:`0 0 ${d.value.width<=0?10:d.value.width} ${d.value.height<=0?10:d.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.color}`)},[e.createVNode(ve._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:s.value.left,y:s.value.top,width:s.value.width,height:s.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,me)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`age_pyramid_left_${v.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.bars.left.color},null,8,ke),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(e.unref(r.shiftHue)(t.value.style.layout.bars.left.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,we)],8,xe),e.createElementVNode("linearGradient",{id:`age_pyramid_right_${v.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(e.unref(r.shiftHue)(t.value.style.layout.bars.right.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,_e),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.bars.right.color},null,8,Ne)],8,Ce)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:o.left.x,y:o.left.y,width:e.unref(r.checkNaN)(o.left.width<=0?1e-4:o.left.width),height:o.left.height<=0?1e-4:o.left.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,Se),e.createElementVNode("rect",{x:o.left.x,y:o.left.y,width:o.left.width<=0?1e-4:o.left.width,height:o.left.height<=0?1e-4:o.left.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${v.value})`:o.left.color,rx:t.value.style.layout.bars.borderRadius},null,8,Le),e.createElementVNode("rect",{x:o.right.x,y:o.right.y,width:o.right.width<=0?1e-4:o.right.width,height:o.right.height<=0?1e-4:o.right.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,Te),e.createElementVNode("rect",{x:o.right.x,y:o.right.y,width:o.right.width<=0?1e-4:o.right.width,height:o.right.height<=0?1e-4:o.right.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${v.value})`:o.right.color,rx:t.value.style.layout.bars.borderRadius},null,8,Be)]))),256)),e.createElementVNode("g",null,[t.value.style.layout.dataLabels.sideTitles.show?(e.openBlock(),e.createElementBlock("g",Ae,[e.createElementVNode("text",{x:s.value.left,y:s.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.left.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"start","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.female),9,$e),e.createElementVNode("text",{x:s.value.right,y:s.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.right.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"end","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.male),9,Ee)])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",Ve,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(le.value,(o,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a%t.value.style.layout.dataLabels.yAxis.showEvery===0?(e.openBlock(),e.createElementBlock("text",{key:0,x:s.value.centerX,y:s.value.top+s.value.height/h.value*a+t.value.style.layout.dataLabels.yAxis.fontSize/3,"text-anchor":"middle","font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color,"font-weight":t.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.layout.dataLabels.yAxis.formatter,o,e.unref(r.dataLabel)({v:o}),{datapoint:o,seriesIndex:a})),9,ze)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",Oe,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("g",Pe,[e.createElementVNode("line",{x1:y.value.right[0].x,x2:y.value.right.at(-1).x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Ie),e.createElementVNode("line",{x1:y.value.left[0].x,x2:y.value.left.at(-1).x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Fe)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.right,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Re)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:o.x,y:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,o.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(r.dataLabel)({v:o.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:o,seriesIndex:a})),9,De)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.left,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Me)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:o.x,y:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,o.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(r.dataLabel)({v:o.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:o,seriesIndex:a})),9,qe)]))),256)),e.createElementVNode("text",{x:s.value.right,y:d.value.height,"text-anchor":"end","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(t.value.style.layout.dataLabels.xAxis.translation),9,Ue)])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.dataset,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:s.value.left,y:s.value.top+s.value.height/h.value*a-t.value.style.layout.bars.gap/2,width:s.value.width<=0?1e-4:s.value.width,height:s.value.height/h.value<=0?1e-4:s.value.height/h.value,fill:x.value!==null&&x.value===a?e.unref(r.setOpacity)(t.value.style.highlighter.color,t.value.style.highlighter.opacity):"transparent",onMouseover:n=>se(a,o),onMouseleave:i[0]||(i[0]=n=>{x.value=null,C.value=!1})},null,40,Ge)]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,be)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",He,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(M)||e.unref(q)})),void 0,!0)])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(de.default,{key:6,config:{type:"pyramid",style:{backgroundColor:t.value.style.backgroundColor,pyramid:{color:"#CCCCCC"}}}},null,8,["config"])),e.renderSlot(l.$slots,"legend",{legend:f.value},void 0,!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:$,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(ne._sfc_main,{show:c.value.showTooltip&&C.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,fontSize:t.value.style.tooltip.fontSize,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,offsetY:t.value.style.tooltip.offsetY,parent:g.value,content:_.value,isFullscreen:p.value,isCustom:t.value.style.tooltip.customFormat&&typeof t.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...S.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...S.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),m.value?(e.openBlock(),e.createBlock(ce.default,{key:8,hideDetails:"",config:{open:c.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color},head:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(ue.DataTable,{key:`table_${z.value}`,colNames:k.value.colNames,head:k.value.head,body:k.value.body,config:k.value.config,title:`${t.value.style.title.text}${t.value.style.title.subtitle.text?` : ${t.value.style.title.subtitle.text}`:""}`,onClose:i[1]||(i[1]=o=>c.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createTextVNode(e.toDisplayString(o),1)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,ge))}},je=pe._export_sfc(We,[["__scopeId","data-v-beb1c78c"]]);exports.default=je;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as b, ref as v, watch as Ae, onMounted as Le, createElementBlock as r, openBlock as i, unref as u, normalizeStyle as W, normalizeClass as he, createBlock as L, createCommentVNode as y, renderSlot as h, createVNode as fe, createSlots as Se, withCtx as c, normalizeProps as S, guardReactiveProps as z, createElementVNode as d, Fragment as O, renderList as M, toDisplayString as w, createTextVNode as ce, nextTick as ze } from "vue";
|
|
2
|
-
import { u as Oe, c as Ie, a as Fe, o as Me, e as Pe, v as f, X as Ne, s as X, w as ge, i as k, f as _, q as Re, r as De, x as Ge, y as Ue } from "./index-
|
|
2
|
+
import { u as Oe, c as Ie, a as Fe, o as Me, e as Pe, v as f, X as Ne, s as X, w as ge, i as k, f as _, q as Re, r as De, x as Ge, y as Ue } from "./index-d3erwTWB.js";
|
|
3
3
|
import { t as Be, u as Ee } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { _ as Ve } from "./Title-
|
|
5
|
-
import { u as We, U as Xe } from "./usePrinter-
|
|
6
|
-
import { _ as je } from "./Tooltip-
|
|
7
|
-
import { D as He } from "./DataTable-
|
|
8
|
-
import Ye from "./vue-ui-skeleton-
|
|
9
|
-
import qe from "./vue-ui-accordion-
|
|
10
|
-
import { u as pe } from "./useNestedProp-
|
|
11
|
-
import { _ as Je } from "./PackageVersion-
|
|
12
|
-
import { _ as Ke } from "./PenAndPaper-
|
|
4
|
+
import { _ as Ve } from "./Title-DIYoufYR.js";
|
|
5
|
+
import { u as We, U as Xe } from "./usePrinter-CHrKIDM7.js";
|
|
6
|
+
import { _ as je } from "./Tooltip-BFz2yelJ.js";
|
|
7
|
+
import { D as He } from "./DataTable-CJOtzfgn.js";
|
|
8
|
+
import Ye from "./vue-ui-skeleton-BOtCpAcY.js";
|
|
9
|
+
import qe from "./vue-ui-accordion-BJyaBDyF.js";
|
|
10
|
+
import { u as pe } from "./useNestedProp-BqKuhIvF.js";
|
|
11
|
+
import { _ as Je } from "./PackageVersion-D-aPPO0L.js";
|
|
12
|
+
import { _ as Ke } from "./PenAndPaper-D9g_r8-6.js";
|
|
13
13
|
import { u as Qe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as Ze } from "./useChartAccessibility-BWojgys7.js";
|
|
15
15
|
import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as p, A as v, u as w, B as A } from "./index-
|
|
2
|
-
import { d as M } from "./dom-to-png-
|
|
1
|
+
import { z as p, A as v, u as w, B as A } from "./index-d3erwTWB.js";
|
|
2
|
+
import { d as M } from "./dom-to-png-BB-m1MuD.js";
|
|
3
3
|
import { createElementBlock as d, openBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, createCommentVNode as a, normalizeClass as y, createStaticVNode as F, withDirectives as N, vModelCheckbox as g, vModelText as C, renderSlot as O, Fragment as L, renderList as G } from "vue";
|
|
4
4
|
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const m = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var I=Object.create;var b=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var f=(e,o,s,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of C(o))!x.call(e,l)&&l!==s&&b(e,l,{get:()=>o[l],enumerable:!(n=F(o,l))||n.enumerable});return e};var k=(e,o,s)=>(s=e!=null?I(S(e)):{},f(o||!e||!e.__esModule?b(s,"default",{value:e,enumerable:!0}):s,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-
|
|
1
|
+
"use strict";var I=Object.create;var b=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var f=(e,o,s,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of C(o))!x.call(e,l)&&l!==s&&b(e,l,{get:()=>o[l],enumerable:!(n=F(o,l))||n.enumerable});return e};var k=(e,o,s)=>(s=e!=null?I(S(e)):{},f(o||!e||!e.__esModule?b(s,"default",{value:e,enumerable:!0}):s,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-Cn2tUOoX.cjs"),g=require("./dom-to-png-B3SeX1JP.cjs"),i=require("vue"),m=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),p={props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{shapes:[],lastSelectedShape:void 0}}}},data(){return{activeShape:void 0,strokeSize:1,currentPointer:{start:{x:0,y:0},end:{x:0,end:0}},currentTarget:void 0,hoveredShapeId:void 0,isBold:!1,isBulletTextMode:!1,isDash:!1,isDeleteMode:!1,isDrawing:!1,isDrawingNewShape:!0,isDrawMode:!1,isItalic:!1,isMouseDown:!1,isMoveMode:!1,isPrinting:!1,isResizeMode:!1,isSelectMode:!1,isSummaryOpen:!1,isTextMode:!1,isUnderline:!1,isWriting:!1,lastSelectedShape:this.dataset.lastSelectedShape,pointerDownId:-1,pointerPosition:{x:0,y:0},preventEdit:!0,selectedGroup:[],shapes:this.dataset.shapes?this.dataset.shapes:[],shapesOrder:[],step:Math.round(Math.random())*1e5,svgHeight:1e3,svgWidth:1e3,options:{arrow:{color:"grey",filled:!0},circle:{color:"grey",filled:!1,radius:3,strokeWidth:2},rect:{color:"grey",filled:!1,strokeWidth:2,height:12,width:12}},selectedColor:"#000000",showCaret:!1,sizeRatio:1,slottedSvg:void 0,sourceWidth:1,sourceHeight:1,textAlign:"start",textFont:20,transparency:100,transparencyCodes:u.opacity}},watch:{shapes:{handler(e){e.length===0&&(this.lastSelectedShape=void 0)}}},computed:{FINAL_CONFIG(){const e=u.useConfig().vue_ui_annotator;if(!Object.keys(this.config||{}).length)return e;const o=this.treeShake({defaultConfig:e,userConfig:this.config});return this.convertConfigColors(o)},canSelect(){return this.shapes.filter(e=>!["line","group"].includes(e.type)).length>1},colorTransparency(){return this.transparencyCodes[this.transparency>98?98:this.transparency]},cursorClass(){switch(!0){case this.isDeleteMode:return"default";case this.isMoveMode:return"move";case this.isTextMode:return"text";case this.isResizeMode:return"se-resize";default:return""}},records(){return this.shapes},userShapes(){return this.records.map(e=>{switch(!0){case(e&&e.type==="arrow"):const o=e.strokeWidth>3?5:10,s=e.strokeWidth>3?2.5:5;return`
|
|
2
2
|
<defs>
|
|
3
3
|
<marker
|
|
4
4
|
id="${e.id}"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as g, computed as f, onMounted as ge, watch as K, onBeforeUnmount as fe, createElementBlock as o, openBlock as r, unref as u, normalizeStyle as H, normalizeClass as Q, createBlock as w, createCommentVNode as i, createElementVNode as x, createSlots as me, withCtx as p, renderSlot as m, normalizeProps as L, guardReactiveProps as $, createVNode as ye, Fragment as M, renderList as T, toDisplayString as O } from "vue";
|
|
2
|
-
import { u as pe, o as be, e as Z, g as ke, c as we, l as xe, D as _e, d as Ce, i as B, f as A, X as Le, a as $e } from "./index-
|
|
3
|
-
import { u as ee } from "./useNestedProp-
|
|
4
|
-
import { _ as Oe } from "./Title-
|
|
5
|
-
import { L as Be } from "./Legend-
|
|
6
|
-
import { u as Ae, U as Fe } from "./usePrinter-
|
|
7
|
-
import { _ as Ie } from "./PackageVersion-
|
|
8
|
-
import { _ as Se } from "./PenAndPaper-
|
|
9
|
-
import Pe from "./vue-ui-skeleton-
|
|
2
|
+
import { u as pe, o as be, e as Z, g as ke, c as we, l as xe, D as _e, d as Ce, i as B, f as A, X as Le, a as $e } from "./index-d3erwTWB.js";
|
|
3
|
+
import { u as ee } from "./useNestedProp-BqKuhIvF.js";
|
|
4
|
+
import { _ as Oe } from "./Title-DIYoufYR.js";
|
|
5
|
+
import { L as Be } from "./Legend-DKQ4psNY.js";
|
|
6
|
+
import { u as Ae, U as Fe } from "./usePrinter-CHrKIDM7.js";
|
|
7
|
+
import { _ as Ie } from "./PackageVersion-D-aPPO0L.js";
|
|
8
|
+
import { _ as Se } from "./PenAndPaper-D9g_r8-6.js";
|
|
9
|
+
import Pe from "./vue-ui-skeleton-BOtCpAcY.js";
|
|
10
10
|
import { u as He } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { u as Me } from "./useChartAccessibility-BWojgys7.js";
|
|
12
12
|
import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|