vue-data-ui 2.4.50 → 2.4.52
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/README.md +12 -0
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BuBoE64l.js} +1 -1
- package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-CFlFdPC5.cjs} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-zmxwsaLW.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-COkA4Nyz.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-CwAdpLng.cjs} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-CR9ydX8N.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-bYlSC7I7.js} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-Dz3KcTL4.js} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-BycdTwSP.js} +3 -3
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-BBp5EwJH.cjs} +1 -1
- package/dist/{Shape-B7Mekpyf.js → Shape-BDJJ38uM.js} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-D_DaIThC.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-B7ruS8yl.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aMb2ETf7.js} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-BRZ3DT4p.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-BqSN71SL.cjs} +1 -1
- package/dist/index-BkXYJDpD.cjs +9 -0
- package/dist/{index-BtL_cLa8.js → index-K5uyh1gA.js} +5 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
- package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-DifqJZAs.js} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-DHv-BwME.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.js → usePrinter-p_ZZlGc9.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-3PlAeIlX.js} +60 -60
- package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-M0E2b8Dw.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-BeXYzdzu.js → vue-ui-3d-bar-PrijRaoI.js} +355 -349
- package/dist/vue-ui-3d-bar-VQyMytda.cjs +19 -0
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-DFYykOow.js} +260 -254
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
- package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-Ybz4qPWl.js} +147 -141
- package/dist/vue-ui-candlestick-BxcwK8UI.cjs +2 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-DsVBdCz_.js} +231 -225
- package/dist/vue-ui-carousel-table-C2ThrWYt.js +379 -0
- package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
- package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-BacH0ZYK.js} +258 -252
- package/dist/vue-ui-chestnut-Cw8LKuZG.cjs +6 -0
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-CyTjq_oN.js} +2 -2
- package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-BxLlCBhU.js} +402 -396
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +320 -314
- package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
- package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-D0PjpD19.js} +267 -261
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-BuTJcn6b.js} +174 -168
- package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-CxO1aav3.js} +190 -184
- package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
- package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-B2uwYVgz.js} +199 -193
- package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
- package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
- package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-CqhJx__t.js} +213 -207
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
- package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-DLNzJh--.js} +291 -285
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-CH2mN74k.js} +258 -252
- package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-BAwzIU19.js} +300 -295
- package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
- package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-BXOWHB57.js} +202 -196
- package/dist/vue-ui-nested-donuts-D1EF5IEw.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-F1pwFa1Y.js} +298 -292
- package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-C9dEaRbc.js} +214 -208
- package/dist/vue-ui-onion-nA8sXxh-.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +260 -254
- package/dist/vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs +8 -0
- package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-C_hJHr9T.js} +278 -272
- package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
- package/dist/vue-ui-quick-chart-C5v_8Kpw.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-D4k-zSan.js} +474 -466
- package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-WKQ-TavD.js} +265 -259
- package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-BrSnMkzF.js} +2 -2
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
- package/dist/vue-ui-relation-circle-DzZ5H4og.js +498 -0
- package/dist/vue-ui-rings-1qwg2E0O.cjs +2 -0
- package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-43dY-4_7.js} +206 -201
- package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-q6Sfqa4W.js} +330 -324
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BeXW23yH.js} +382 -376
- package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
- package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-CG-wp65N.js} +261 -255
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-BzuWkWse.js} +1 -1
- package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
- package/dist/vue-ui-table-heatmap-obAYC2HB.js +262 -0
- package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-CW0-ubzl.js} +288 -236
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-BmgPuIr6.js} +187 -181
- package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
- package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-6eWSNYld.js} +5 -5
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
- package/dist/vue-ui-tiremarks-DeEI5TAa.js +323 -0
- package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
- package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
- package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-tlPZye6M.js} +261 -255
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-BIst1a32.js} +251 -245
- package/dist/vue-ui-vertical-bar-CCXF79YU.cjs +4 -0
- package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-iJT4g4Ht.js} +333 -327
- package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
- package/dist/vue-ui-wheel-v1_jsNWp.js +305 -0
- package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
- package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-DR8E1ArH.js} +247 -241
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-BZ3lbw6i.js} +708 -697
- package/dist/vue-ui-xy-CvFWhRR-.cjs +3 -0
- package/dist/vue-ui-xy-canvas-BVw3zOIC.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-hPcU2SBK.js} +344 -338
- package/package.json +1 -1
- package/dist/index-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-carousel-table-I1m4HMWf.js +0 -373
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { computed as b, ref as v, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { P as
|
|
13
|
-
import {
|
|
14
|
-
|
|
1
|
+
import { computed as b, ref as v, watch as Te, onMounted as Ae, openBlock as i, createElementBlock as n, normalizeClass as ye, normalizeStyle as W, unref as u, createBlock as S, createCommentVNode as y, createSlots as Le, withCtx as p, renderSlot as f, normalizeProps as I, guardReactiveProps as F, createVNode as he, createElementVNode as d, Fragment as z, renderList as P, toDisplayString as w, createTextVNode as fe, nextTick as Se } from "vue";
|
|
2
|
+
import { u as ze, c as Oe, t as Ie, o as Fe, e as Pe, v as h, X as Me, s as X, w as ce, i as k, f as _, x as Ne, y as Re, q as De, r as Ge } from "./index-K5uyh1gA.js";
|
|
3
|
+
import { t as Ue, u as Be } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as Ve } from "./Title-aMb2ETf7.js";
|
|
5
|
+
import { u as Ee, U as We } from "./usePrinter-p_ZZlGc9.js";
|
|
6
|
+
import { _ as Xe } from "./Tooltip-BRZ3DT4p.js";
|
|
7
|
+
import { D as He } from "./DataTable-COkA4Nyz.js";
|
|
8
|
+
import Ye from "./vue-ui-skeleton-BhA2lIT6.js";
|
|
9
|
+
import je from "./vue-ui-accordion-CsJT7Az3.js";
|
|
10
|
+
import { u as ge } from "./useNestedProp-DifqJZAs.js";
|
|
11
|
+
import { _ as qe } from "./PackageVersion-Dz3KcTL4.js";
|
|
12
|
+
import { P as Je } from "./PenAndPaper-BycdTwSP.js";
|
|
13
|
+
import { u as Ke } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
|
+
import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"], at = ["stop-color"], ot = ["id"], st = ["stop-color"], it = ["stop-color"], ut = ["x", "y", "width", "height", "fill", "rx"], rt = ["x", "y", "width", "height", "fill", "rx"], nt = ["x", "y", "width", "height", "fill", "rx"], dt = ["x", "y", "width", "height", "fill", "rx"], vt = { key: 0 }, yt = ["x", "y", "fill", "font-size", "font-weight"], ht = ["x", "y", "fill", "font-size", "font-weight"], ft = { key: 1 }, ct = ["x", "y", "font-size", "fill", "font-weight"], gt = { key: 2 }, pt = { key: 0 }, bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wt = ["x", "y", "font-size", "fill", "font-weight"], kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = ["x", "y", "font-size", "fill", "font-weight"], Ct = ["x", "y", "font-size", "fill", "font-weight"], $t = ["x", "y", "width", "height", "fill", "onMouseover"], Tt = {
|
|
15
16
|
key: 5,
|
|
16
17
|
class: "vue-data-ui-watermark"
|
|
17
|
-
},
|
|
18
|
+
}, At = {
|
|
18
19
|
__name: "vue-ui-age-pyramid",
|
|
19
20
|
props: {
|
|
20
21
|
config: {
|
|
@@ -30,61 +31,61 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
|
-
setup(
|
|
34
|
-
const c =
|
|
35
|
-
get: () =>
|
|
34
|
+
setup(H, { expose: pe }) {
|
|
35
|
+
const c = H, { vue_ui_age_pyramid: be } = ze(), M = b(() => !!c.dataset && c.dataset.length), x = v(Oe()), xe = v(null), G = v(!1), U = v(""), N = v(null), Y = v(0), C = v(null), j = v(null), q = v(null), J = v(null), K = v(0), Q = v(0), e = b({
|
|
36
|
+
get: () => te(),
|
|
36
37
|
set: (t) => t
|
|
37
|
-
});
|
|
38
|
-
function
|
|
39
|
-
const t =
|
|
38
|
+
}), { userOptionsVisible: B, setUserOptionsVisibility: Z, keepUserOptionState: ee } = Ke({ config: e.value });
|
|
39
|
+
function te() {
|
|
40
|
+
const t = ge({
|
|
40
41
|
userConfig: c.config,
|
|
41
|
-
defaultConfig:
|
|
42
|
+
defaultConfig: be
|
|
42
43
|
});
|
|
43
44
|
return t.theme ? {
|
|
44
|
-
...
|
|
45
|
-
userConfig:
|
|
45
|
+
...ge({
|
|
46
|
+
userConfig: Ie.vue_ui_age_pyramid[t.theme] || c.config,
|
|
46
47
|
defaultConfig: t
|
|
47
48
|
})
|
|
48
49
|
} : t;
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
-
e.value =
|
|
51
|
+
Te(() => c.config, (t) => {
|
|
52
|
+
e.value = te(), B.value = !e.value.showOnChartHover, ae(), K.value += 1, Q.value += 1;
|
|
52
53
|
}, { deep: !0 });
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
const le = v(null);
|
|
55
|
+
Ae(() => {
|
|
56
|
+
ae();
|
|
56
57
|
});
|
|
57
|
-
function
|
|
58
|
-
if (
|
|
58
|
+
function ae() {
|
|
59
|
+
if (Fe(c.dataset) && Pe({
|
|
59
60
|
componentName: "VueUiAgePyramid",
|
|
60
61
|
type: "dataset"
|
|
61
62
|
}), e.value.responsive) {
|
|
62
|
-
const t =
|
|
63
|
-
const { width:
|
|
63
|
+
const t = Ue(() => {
|
|
64
|
+
const { width: o, height: l } = Be({
|
|
64
65
|
chart: C.value,
|
|
65
|
-
title: e.value.style.title.text ?
|
|
66
|
-
source:
|
|
67
|
-
noTitle:
|
|
66
|
+
title: e.value.style.title.text ? j.value : null,
|
|
67
|
+
source: q.value,
|
|
68
|
+
noTitle: J.value
|
|
68
69
|
});
|
|
69
|
-
g.value.width =
|
|
70
|
+
g.value.width = o, g.value.height = l;
|
|
70
71
|
});
|
|
71
|
-
|
|
72
|
+
le.value = new ResizeObserver(t), le.value.observe(C.value.parentNode);
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
|
-
const { isPrinting:
|
|
75
|
+
const { isPrinting: oe, isImaging: se, generatePdf: ie, generateImage: ue } = Ee({
|
|
75
76
|
elementId: `vue-ui-age-pyramid_${x.value}`,
|
|
76
77
|
fileName: e.value.style.title.text || "vue-ui-age-pyramid"
|
|
77
|
-
}),
|
|
78
|
+
}), me = b(() => e.value.userOptions.show && !e.value.style.title.text), m = v({
|
|
78
79
|
showTable: e.value.table.show,
|
|
79
80
|
showTooltip: e.value.style.tooltip.show
|
|
80
81
|
}), g = v({
|
|
81
82
|
height: e.value.style.height,
|
|
82
83
|
width: e.value.style.width
|
|
83
|
-
}),
|
|
84
|
-
const t = g.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left,
|
|
84
|
+
}), s = b(() => {
|
|
85
|
+
const t = g.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left, o = e.value.style.layout.padding.left, l = g.value.width - e.value.style.layout.padding.right;
|
|
85
86
|
return {
|
|
86
87
|
top: e.value.style.layout.padding.top,
|
|
87
|
-
left:
|
|
88
|
+
left: o,
|
|
88
89
|
right: l,
|
|
89
90
|
bottom: g.value.height - e.value.style.layout.padding.bottom,
|
|
90
91
|
width: t,
|
|
@@ -92,49 +93,49 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
92
93
|
centerX: e.value.style.layout.padding.left + t / 2,
|
|
93
94
|
leftChart: {
|
|
94
95
|
width: t / 2 - e.value.style.layout.centerSlit.width,
|
|
95
|
-
right:
|
|
96
|
+
right: o + t / 2 - e.value.style.layout.centerSlit.width
|
|
96
97
|
},
|
|
97
98
|
rightChart: {
|
|
98
99
|
width: t / 2 - e.value.style.layout.centerSlit.width,
|
|
99
|
-
left:
|
|
100
|
+
left: o + t / 2 + e.value.style.layout.centerSlit.width
|
|
100
101
|
}
|
|
101
102
|
};
|
|
102
|
-
}),
|
|
103
|
-
const t =
|
|
103
|
+
}), we = b(() => c.dataset.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), $ = b(() => {
|
|
104
|
+
const t = ke(O.value / 5), o = [], l = [];
|
|
104
105
|
for (let a = 0; a <= 5; a += 1) {
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
value:
|
|
108
|
-
x:
|
|
106
|
+
const r = t * a, ve = t * (a - 5);
|
|
107
|
+
o.push({
|
|
108
|
+
value: r,
|
|
109
|
+
x: s.value.left + s.value.width / 2 + e.value.style.layout.centerSlit.width + r / O.value * s.value.leftChart.width
|
|
109
110
|
}), l.push({
|
|
110
|
-
value: Math.abs(
|
|
111
|
-
x:
|
|
111
|
+
value: Math.abs(ve),
|
|
112
|
+
x: s.value.left + s.value.width / 2 + ve / O.value * s.value.leftChart.width - e.value.style.layout.centerSlit.width
|
|
112
113
|
});
|
|
113
114
|
}
|
|
114
115
|
return {
|
|
115
|
-
right:
|
|
116
|
+
right: o,
|
|
116
117
|
left: l
|
|
117
118
|
};
|
|
118
119
|
});
|
|
119
|
-
function
|
|
120
|
+
function ke(t) {
|
|
120
121
|
if (t === 0) return 0;
|
|
121
122
|
const l = 10 ** Math.floor(Math.log10(Math.abs(t)));
|
|
122
123
|
let a;
|
|
123
124
|
return t < 0, a = Math.round(t / l) * l, a;
|
|
124
125
|
}
|
|
125
|
-
const
|
|
126
|
+
const O = b(() => Math.max(...c.dataset.flatMap((t) => t.slice(-2).map((o) => h(o))))), T = b(() => c.dataset.length), _e = b(() => c.dataset.map((t) => ({
|
|
126
127
|
segment: t[0],
|
|
127
128
|
age: t[1],
|
|
128
129
|
left: {
|
|
129
130
|
value: t[2],
|
|
130
|
-
proportionToMax: t[2] /
|
|
131
|
+
proportionToMax: t[2] / O.value
|
|
131
132
|
},
|
|
132
133
|
right: {
|
|
133
134
|
value: t[3],
|
|
134
|
-
proportionToMax: t[3] /
|
|
135
|
+
proportionToMax: t[3] / O.value
|
|
135
136
|
}
|
|
136
|
-
}))), A = b(() =>
|
|
137
|
-
const l =
|
|
137
|
+
}))), A = b(() => _e.value.map((t, o) => {
|
|
138
|
+
const l = s.value.top + s.value.height / T.value * o, a = s.value.height / T.value - e.value.style.layout.bars.gap;
|
|
138
139
|
return {
|
|
139
140
|
segment: t.segment,
|
|
140
141
|
age: t.age,
|
|
@@ -142,87 +143,87 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
142
143
|
...t.left,
|
|
143
144
|
y: l,
|
|
144
145
|
color: e.value.style.layout.bars.left.color,
|
|
145
|
-
x:
|
|
146
|
-
width: h(t.left.proportionToMax *
|
|
146
|
+
x: s.value.leftChart.right - t.left.proportionToMax * s.value.leftChart.width,
|
|
147
|
+
width: h(t.left.proportionToMax * s.value.leftChart.width),
|
|
147
148
|
height: a
|
|
148
149
|
},
|
|
149
150
|
right: {
|
|
150
151
|
...t.right,
|
|
151
152
|
y: l,
|
|
152
153
|
color: e.value.style.layout.bars.right.color,
|
|
153
|
-
x:
|
|
154
|
-
width: h(t.right.proportionToMax *
|
|
154
|
+
x: s.value.rightChart.left,
|
|
155
|
+
width: h(t.right.proportionToMax * s.value.rightChart.width),
|
|
155
156
|
height: a
|
|
156
157
|
}
|
|
157
158
|
};
|
|
158
|
-
})),
|
|
159
|
-
function
|
|
160
|
-
N.value = t,
|
|
161
|
-
datapoint:
|
|
159
|
+
})), V = v(null);
|
|
160
|
+
function Ce(t, o) {
|
|
161
|
+
N.value = t, V.value = {
|
|
162
|
+
datapoint: o,
|
|
162
163
|
seriesIndex: t,
|
|
163
164
|
series: A.value,
|
|
164
165
|
config: e.value
|
|
165
166
|
};
|
|
166
167
|
const l = e.value.style.tooltip.customFormat;
|
|
167
|
-
if (
|
|
168
|
+
if (Ne(l) && Re(() => l({
|
|
168
169
|
seriesIndex: t,
|
|
169
170
|
datapoint: {
|
|
170
|
-
segment:
|
|
171
|
-
index:
|
|
172
|
-
left:
|
|
173
|
-
right:
|
|
171
|
+
segment: o[0],
|
|
172
|
+
index: o[1],
|
|
173
|
+
left: o[2],
|
|
174
|
+
right: o[3]
|
|
174
175
|
},
|
|
175
176
|
series: A.value,
|
|
176
177
|
config: e.value
|
|
177
178
|
})))
|
|
178
|
-
|
|
179
|
+
U.value = l({
|
|
179
180
|
seriesIndex: t,
|
|
180
181
|
datapoint: {
|
|
181
|
-
segment:
|
|
182
|
-
index:
|
|
183
|
-
left:
|
|
184
|
-
right:
|
|
182
|
+
segment: o[0],
|
|
183
|
+
index: o[1],
|
|
184
|
+
left: o[2],
|
|
185
|
+
right: o[3]
|
|
185
186
|
},
|
|
186
187
|
series: A.value,
|
|
187
188
|
config: e.value
|
|
188
189
|
});
|
|
189
190
|
else {
|
|
190
191
|
let a = "";
|
|
191
|
-
const
|
|
192
|
-
a += `<div><b>${
|
|
192
|
+
const r = A.value[t];
|
|
193
|
+
a += `<div><b>${r.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${k(
|
|
193
194
|
e.value.style.layout.dataLabels.yAxis.formatter,
|
|
194
|
-
h(
|
|
195
|
-
_({ v: h(
|
|
196
|
-
{ datapoint:
|
|
195
|
+
h(r.age),
|
|
196
|
+
_({ v: h(r.age) }),
|
|
197
|
+
{ datapoint: o, seriesIndex: t }
|
|
197
198
|
)}</div>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.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="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${x.value})` : e.value.style.layout.bars.left.color}"/></svg><div>${e.value.translations.female}</div><div><b>${k(
|
|
198
199
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
199
|
-
h(
|
|
200
|
-
_({ v: h(
|
|
201
|
-
{ datapoint:
|
|
200
|
+
h(r.left.value),
|
|
201
|
+
_({ v: h(r.left.value) }),
|
|
202
|
+
{ datapoint: o, seriesIndex: t }
|
|
202
203
|
)}</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="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${x.value})` : e.value.style.layout.bars.right.color}"/></svg><div>${e.value.translations.male}</div><div><b>${k(
|
|
203
204
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
204
|
-
h(
|
|
205
|
-
_({ v: h(
|
|
206
|
-
{ datapoint:
|
|
205
|
+
h(r.right.value),
|
|
206
|
+
_({ v: h(r.right.value) }),
|
|
207
|
+
{ datapoint: o, seriesIndex: t }
|
|
207
208
|
)}</b></div></div>`, a += "</div>", a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}"><div>${e.value.translations.total}</div><div><b>${k(
|
|
208
209
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
209
|
-
h(
|
|
210
|
-
_({ v: h(
|
|
211
|
-
{ datapoint:
|
|
212
|
-
)}</b></div></div>`, a += "</div>",
|
|
210
|
+
h(r.right.value) + h(r.left.value),
|
|
211
|
+
_({ v: h(r.right.value) + h(r.left.value) }),
|
|
212
|
+
{ datapoint: o, seriesIndex: t }
|
|
213
|
+
)}</b></div></div>`, a += "</div>", U.value = `<div>${a}</div>`;
|
|
213
214
|
}
|
|
214
215
|
G.value = !0;
|
|
215
216
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
218
|
-
const t = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total],
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(
|
|
225
|
-
|
|
217
|
+
function re() {
|
|
218
|
+
Se(() => {
|
|
219
|
+
const t = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], o = c.dataset.map((r) => [
|
|
220
|
+
r[0],
|
|
221
|
+
r[1],
|
|
222
|
+
r[2],
|
|
223
|
+
r[3],
|
|
224
|
+
r[2] + r[3]
|
|
225
|
+
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(o), a = De(l);
|
|
226
|
+
Ge({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
226
227
|
});
|
|
227
228
|
}
|
|
228
229
|
const R = b(() => {
|
|
@@ -232,7 +233,7 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
232
233
|
e.value.translations.female,
|
|
233
234
|
e.value.translations.male,
|
|
234
235
|
e.value.translations.total
|
|
235
|
-
],
|
|
236
|
+
], o = c.dataset.map((a) => [
|
|
236
237
|
a[0],
|
|
237
238
|
a[1],
|
|
238
239
|
a[2].toLocaleString(),
|
|
@@ -251,58 +252,60 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
251
252
|
},
|
|
252
253
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
253
254
|
};
|
|
254
|
-
return { head: t, body:
|
|
255
|
+
return { head: t, body: o, config: l, colNames: t };
|
|
255
256
|
}), L = v(!1);
|
|
256
|
-
function
|
|
257
|
-
L.value = t,
|
|
257
|
+
function $e(t) {
|
|
258
|
+
L.value = t, Y.value += 1;
|
|
258
259
|
}
|
|
259
|
-
function
|
|
260
|
+
function ne() {
|
|
260
261
|
m.value.showTable = !m.value.showTable;
|
|
261
262
|
}
|
|
262
|
-
function
|
|
263
|
+
function de() {
|
|
263
264
|
m.value.showTooltip = !m.value.showTooltip;
|
|
264
265
|
}
|
|
265
266
|
const D = v(!1);
|
|
266
|
-
function
|
|
267
|
+
function E() {
|
|
267
268
|
D.value = !D.value;
|
|
268
269
|
}
|
|
269
|
-
return
|
|
270
|
-
generatePdf:
|
|
271
|
-
generateCsv:
|
|
272
|
-
generateImage:
|
|
273
|
-
toggleTable:
|
|
274
|
-
toggleTooltip:
|
|
275
|
-
toggleAnnotator:
|
|
276
|
-
}), (t,
|
|
277
|
-
class:
|
|
270
|
+
return pe({
|
|
271
|
+
generatePdf: ie,
|
|
272
|
+
generateCsv: re,
|
|
273
|
+
generateImage: ue,
|
|
274
|
+
toggleTable: ne,
|
|
275
|
+
toggleTooltip: de,
|
|
276
|
+
toggleAnnotator: E
|
|
277
|
+
}), (t, o) => (i(), n("div", {
|
|
278
|
+
class: ye(`vue-ui-age-pyramid ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
278
279
|
ref_key: "agePyramid",
|
|
279
280
|
ref: C,
|
|
280
281
|
id: `vue-ui-age-pyramid_${x.value}`,
|
|
281
|
-
style:
|
|
282
|
+
style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
283
|
+
onMouseenter: o[2] || (o[2] = () => u(Z)(!0)),
|
|
284
|
+
onMouseleave: o[3] || (o[3] = () => u(Z)(!1))
|
|
282
285
|
}, [
|
|
283
|
-
e.value.userOptions.buttons.annotator ? (i(), S(
|
|
286
|
+
e.value.userOptions.buttons.annotator ? (i(), S(Je, {
|
|
284
287
|
key: 0,
|
|
285
288
|
parent: C.value,
|
|
286
289
|
backgroundColor: e.value.style.backgroundColor,
|
|
287
290
|
color: e.value.style.color,
|
|
288
291
|
active: D.value,
|
|
289
|
-
onClose:
|
|
292
|
+
onClose: E
|
|
290
293
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
291
|
-
|
|
294
|
+
me.value ? (i(), n("div", {
|
|
292
295
|
key: 1,
|
|
293
296
|
ref_key: "noTitle",
|
|
294
|
-
ref:
|
|
297
|
+
ref: J,
|
|
295
298
|
class: "vue-data-ui-no-title-space",
|
|
296
299
|
style: "height:36px; width: 100%;background:transparent"
|
|
297
300
|
}, null, 512)) : y("", !0),
|
|
298
|
-
e.value.style.title.text ? (i(),
|
|
301
|
+
e.value.style.title.text ? (i(), n("div", {
|
|
299
302
|
key: 2,
|
|
300
303
|
ref_key: "chartTitle",
|
|
301
|
-
ref:
|
|
304
|
+
ref: j,
|
|
302
305
|
style: "width:100%;background:transparent"
|
|
303
306
|
}, [
|
|
304
|
-
(i(), S(
|
|
305
|
-
key: `title_${
|
|
307
|
+
(i(), S(Ve, {
|
|
308
|
+
key: `title_${K.value}`,
|
|
306
309
|
config: {
|
|
307
310
|
title: {
|
|
308
311
|
cy: "pyramid-div-title",
|
|
@@ -315,14 +318,14 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
315
318
|
}
|
|
316
319
|
}, null, 8, ["config"]))
|
|
317
320
|
], 512)) : y("", !0),
|
|
318
|
-
e.value.userOptions.show && M.value ? (i(), S(
|
|
321
|
+
e.value.userOptions.show && M.value && (u(ee) || u(B)) ? (i(), S(We, {
|
|
319
322
|
ref_key: "details",
|
|
320
|
-
ref:
|
|
321
|
-
key: `user_options_${
|
|
323
|
+
ref: xe,
|
|
324
|
+
key: `user_options_${Y.value}`,
|
|
322
325
|
backgroundColor: e.value.style.backgroundColor,
|
|
323
326
|
color: e.value.style.color,
|
|
324
|
-
isImaging:
|
|
325
|
-
isPrinting:
|
|
327
|
+
isImaging: u(se),
|
|
328
|
+
isPrinting: u(oe),
|
|
326
329
|
uid: x.value,
|
|
327
330
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
328
331
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -337,14 +340,17 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
337
340
|
position: e.value.userOptions.position,
|
|
338
341
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
339
342
|
isAnnotation: D.value,
|
|
340
|
-
onToggleFullscreen:
|
|
341
|
-
onGeneratePdf:
|
|
342
|
-
onGenerateCsv:
|
|
343
|
-
onGenerateImage:
|
|
344
|
-
onToggleTable:
|
|
345
|
-
onToggleTooltip:
|
|
346
|
-
onToggleAnnotator:
|
|
347
|
-
|
|
343
|
+
onToggleFullscreen: $e,
|
|
344
|
+
onGeneratePdf: u(ie),
|
|
345
|
+
onGenerateCsv: re,
|
|
346
|
+
onGenerateImage: u(ue),
|
|
347
|
+
onToggleTable: ne,
|
|
348
|
+
onToggleTooltip: de,
|
|
349
|
+
onToggleAnnotator: E,
|
|
350
|
+
style: W({
|
|
351
|
+
visibility: u(ee) ? u(B) ? "visible" : "hidden" : "visible"
|
|
352
|
+
})
|
|
353
|
+
}, Le({ _: 2 }, [
|
|
348
354
|
t.$slots.optionTooltip ? {
|
|
349
355
|
name: "optionTooltip",
|
|
350
356
|
fn: p(() => [
|
|
@@ -383,235 +389,235 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
383
389
|
t.$slots.optionFullscreen ? {
|
|
384
390
|
name: "optionFullscreen",
|
|
385
391
|
fn: p(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
386
|
-
f(t.$slots, "optionFullscreen",
|
|
392
|
+
f(t.$slots, "optionFullscreen", I(F({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
387
393
|
]),
|
|
388
394
|
key: "5"
|
|
389
395
|
} : void 0,
|
|
390
396
|
t.$slots.optionAnnotator ? {
|
|
391
397
|
name: "optionAnnotator",
|
|
392
398
|
fn: p(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
393
|
-
f(t.$slots, "optionAnnotator",
|
|
399
|
+
f(t.$slots, "optionAnnotator", I(F({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
394
400
|
]),
|
|
395
401
|
key: "6"
|
|
396
402
|
} : void 0
|
|
397
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
398
|
-
M.value ? (i(),
|
|
403
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
404
|
+
M.value ? (i(), n("svg", {
|
|
399
405
|
key: 4,
|
|
400
|
-
xmlns:
|
|
401
|
-
class:
|
|
406
|
+
xmlns: u(Me),
|
|
407
|
+
class: ye({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
|
|
402
408
|
viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${g.value.height <= 0 ? 10 : g.value.height}`,
|
|
403
|
-
style:
|
|
409
|
+
style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
404
410
|
}, [
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
411
|
+
he(qe),
|
|
412
|
+
d("defs", null, [
|
|
413
|
+
d("linearGradient", {
|
|
408
414
|
id: `age_pyramid_left_${x.value}`,
|
|
409
415
|
x1: "0%",
|
|
410
416
|
y1: "0%",
|
|
411
417
|
x2: "100%",
|
|
412
418
|
y2: "0%"
|
|
413
419
|
}, [
|
|
414
|
-
|
|
420
|
+
d("stop", {
|
|
415
421
|
offset: "0%",
|
|
416
422
|
"stop-color": e.value.style.layout.bars.left.color
|
|
417
|
-
}, null, 8,
|
|
418
|
-
|
|
423
|
+
}, null, 8, lt),
|
|
424
|
+
d("stop", {
|
|
419
425
|
offset: "100%",
|
|
420
|
-
"stop-color":
|
|
421
|
-
}, null, 8,
|
|
422
|
-
], 8,
|
|
423
|
-
|
|
426
|
+
"stop-color": u(X)(u(ce)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
427
|
+
}, null, 8, at)
|
|
428
|
+
], 8, tt),
|
|
429
|
+
d("linearGradient", {
|
|
424
430
|
id: `age_pyramid_right_${x.value}`,
|
|
425
431
|
x1: "0%",
|
|
426
432
|
y1: "0%",
|
|
427
433
|
x2: "100%",
|
|
428
434
|
y2: "0%"
|
|
429
435
|
}, [
|
|
430
|
-
|
|
436
|
+
d("stop", {
|
|
431
437
|
offset: "0%",
|
|
432
|
-
"stop-color":
|
|
433
|
-
}, null, 8,
|
|
434
|
-
|
|
438
|
+
"stop-color": u(X)(u(ce)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
439
|
+
}, null, 8, st),
|
|
440
|
+
d("stop", {
|
|
435
441
|
offset: "100%",
|
|
436
442
|
"stop-color": e.value.style.layout.bars.right.color
|
|
437
|
-
}, null, 8,
|
|
438
|
-
], 8,
|
|
443
|
+
}, null, 8, it)
|
|
444
|
+
], 8, ot)
|
|
439
445
|
]),
|
|
440
|
-
(i(!0),
|
|
441
|
-
|
|
446
|
+
(i(!0), n(z, null, P(A.value, (l, a) => (i(), n("g", null, [
|
|
447
|
+
d("rect", {
|
|
442
448
|
x: l.left.x,
|
|
443
449
|
y: l.left.y,
|
|
444
|
-
width:
|
|
450
|
+
width: u(h)(l.left.width <= 0 ? 1e-4 : l.left.width),
|
|
445
451
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
446
452
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
447
453
|
rx: e.value.style.layout.bars.borderRadius
|
|
448
|
-
}, null, 8,
|
|
449
|
-
|
|
454
|
+
}, null, 8, ut),
|
|
455
|
+
d("rect", {
|
|
450
456
|
x: l.left.x,
|
|
451
457
|
y: l.left.y,
|
|
452
458
|
width: l.left.width <= 0 ? 1e-4 : l.left.width,
|
|
453
459
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
454
460
|
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${x.value})` : l.left.color,
|
|
455
461
|
rx: e.value.style.layout.bars.borderRadius
|
|
456
|
-
}, null, 8,
|
|
457
|
-
|
|
462
|
+
}, null, 8, rt),
|
|
463
|
+
d("rect", {
|
|
458
464
|
x: l.right.x,
|
|
459
465
|
y: l.right.y,
|
|
460
466
|
width: l.right.width <= 0 ? 1e-4 : l.right.width,
|
|
461
467
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
462
468
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
463
469
|
rx: e.value.style.layout.bars.borderRadius
|
|
464
|
-
}, null, 8,
|
|
465
|
-
|
|
470
|
+
}, null, 8, nt),
|
|
471
|
+
d("rect", {
|
|
466
472
|
x: l.right.x,
|
|
467
473
|
y: l.right.y,
|
|
468
474
|
width: l.right.width <= 0 ? 1e-4 : l.right.width,
|
|
469
475
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
470
476
|
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${x.value})` : l.right.color,
|
|
471
477
|
rx: e.value.style.layout.bars.borderRadius
|
|
472
|
-
}, null, 8,
|
|
478
|
+
}, null, 8, dt)
|
|
473
479
|
]))), 256)),
|
|
474
|
-
|
|
475
|
-
e.value.style.layout.dataLabels.sideTitles.show ? (i(),
|
|
476
|
-
|
|
477
|
-
x:
|
|
478
|
-
y:
|
|
480
|
+
d("g", null, [
|
|
481
|
+
e.value.style.layout.dataLabels.sideTitles.show ? (i(), n("g", vt, [
|
|
482
|
+
d("text", {
|
|
483
|
+
x: s.value.left,
|
|
484
|
+
y: s.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
|
|
479
485
|
fill: e.value.style.layout.dataLabels.sideTitles.useSideColor ? e.value.style.layout.bars.left.color : e.value.style.layout.dataLabels.sideTitles.color,
|
|
480
486
|
"font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
481
487
|
"text-anchor": "start",
|
|
482
488
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
483
|
-
}, w(e.value.translations.female), 9,
|
|
484
|
-
|
|
485
|
-
x:
|
|
486
|
-
y:
|
|
489
|
+
}, w(e.value.translations.female), 9, yt),
|
|
490
|
+
d("text", {
|
|
491
|
+
x: s.value.right,
|
|
492
|
+
y: s.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
|
|
487
493
|
fill: e.value.style.layout.dataLabels.sideTitles.useSideColor ? e.value.style.layout.bars.right.color : e.value.style.layout.dataLabels.sideTitles.color,
|
|
488
494
|
"font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
489
495
|
"text-anchor": "end",
|
|
490
496
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
491
|
-
}, w(e.value.translations.male), 9,
|
|
497
|
+
}, w(e.value.translations.male), 9, ht)
|
|
492
498
|
])) : y("", !0),
|
|
493
|
-
e.value.style.layout.dataLabels.yAxis.show ? (i(),
|
|
494
|
-
(i(!0),
|
|
495
|
-
a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(),
|
|
499
|
+
e.value.style.layout.dataLabels.yAxis.show ? (i(), n("g", ft, [
|
|
500
|
+
(i(!0), n(z, null, P(we.value, (l, a) => (i(), n(z, null, [
|
|
501
|
+
a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), n("text", {
|
|
496
502
|
key: 0,
|
|
497
|
-
x:
|
|
498
|
-
y:
|
|
503
|
+
x: s.value.centerX,
|
|
504
|
+
y: s.value.top + s.value.height / T.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
|
|
499
505
|
"text-anchor": "middle",
|
|
500
506
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
501
507
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
502
508
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
503
|
-
}, w(
|
|
509
|
+
}, w(u(k)(
|
|
504
510
|
e.value.style.layout.dataLabels.yAxis.formatter,
|
|
505
511
|
l,
|
|
506
|
-
|
|
512
|
+
u(_)({ v: l }),
|
|
507
513
|
{ datapoint: l, seriesIndex: a }
|
|
508
|
-
)), 9,
|
|
514
|
+
)), 9, ct)) : y("", !0)
|
|
509
515
|
], 64))), 256))
|
|
510
516
|
])) : y("", !0),
|
|
511
|
-
e.value.style.layout.dataLabels.xAxis.show ? (i(),
|
|
512
|
-
e.value.style.layout.grid.show ? (i(),
|
|
513
|
-
|
|
517
|
+
e.value.style.layout.dataLabels.xAxis.show ? (i(), n("g", gt, [
|
|
518
|
+
e.value.style.layout.grid.show ? (i(), n("g", pt, [
|
|
519
|
+
d("line", {
|
|
514
520
|
x1: $.value.right[0].x,
|
|
515
521
|
x2: $.value.right.at(-1).x,
|
|
516
|
-
y1:
|
|
517
|
-
y2:
|
|
522
|
+
y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
523
|
+
y2: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
518
524
|
stroke: e.value.style.layout.grid.stroke,
|
|
519
525
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
520
526
|
"stroke-linecap": "round"
|
|
521
|
-
}, null, 8,
|
|
522
|
-
|
|
527
|
+
}, null, 8, bt),
|
|
528
|
+
d("line", {
|
|
523
529
|
x1: $.value.left[0].x,
|
|
524
530
|
x2: $.value.left.at(-1).x,
|
|
525
|
-
y1:
|
|
526
|
-
y2:
|
|
531
|
+
y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
532
|
+
y2: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
527
533
|
stroke: e.value.style.layout.grid.stroke,
|
|
528
534
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
529
535
|
"stroke-linecap": "round"
|
|
530
|
-
}, null, 8,
|
|
536
|
+
}, null, 8, xt)
|
|
531
537
|
])) : y("", !0),
|
|
532
|
-
(i(!0),
|
|
533
|
-
e.value.style.layout.grid.show ? (i(),
|
|
538
|
+
(i(!0), n(z, null, P($.value.right, (l, a) => (i(), n("g", null, [
|
|
539
|
+
e.value.style.layout.grid.show ? (i(), n("line", {
|
|
534
540
|
key: 0,
|
|
535
541
|
x1: l.x,
|
|
536
542
|
x2: l.x,
|
|
537
|
-
y1:
|
|
538
|
-
y2:
|
|
543
|
+
y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
544
|
+
y2: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 4,
|
|
539
545
|
stroke: e.value.style.layout.grid.stroke,
|
|
540
546
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
541
547
|
"stroke-linecap": "round"
|
|
542
|
-
}, null, 8,
|
|
543
|
-
|
|
548
|
+
}, null, 8, mt)) : y("", !0),
|
|
549
|
+
d("text", {
|
|
544
550
|
x: l.x,
|
|
545
|
-
y:
|
|
551
|
+
y: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
|
|
546
552
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
547
553
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
548
554
|
"text-anchor": "middle",
|
|
549
555
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
|
|
550
|
-
}, w(
|
|
556
|
+
}, w(u(k)(
|
|
551
557
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
552
558
|
l.value / e.value.style.layout.dataLabels.xAxis.scale,
|
|
553
|
-
|
|
559
|
+
u(_)({
|
|
554
560
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
555
561
|
}),
|
|
556
562
|
{ datapoint: l, seriesIndex: a }
|
|
557
|
-
)), 9,
|
|
563
|
+
)), 9, wt)
|
|
558
564
|
]))), 256)),
|
|
559
|
-
(i(!0),
|
|
560
|
-
e.value.style.layout.grid.show ? (i(),
|
|
565
|
+
(i(!0), n(z, null, P($.value.left, (l, a) => (i(), n("g", null, [
|
|
566
|
+
e.value.style.layout.grid.show ? (i(), n("line", {
|
|
561
567
|
key: 0,
|
|
562
568
|
x1: l.x,
|
|
563
569
|
x2: l.x,
|
|
564
|
-
y1:
|
|
565
|
-
y2:
|
|
570
|
+
y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
571
|
+
y2: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 4,
|
|
566
572
|
stroke: e.value.style.layout.grid.stroke,
|
|
567
573
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
568
574
|
"stroke-linecap": "round"
|
|
569
|
-
}, null, 8,
|
|
570
|
-
|
|
575
|
+
}, null, 8, kt)) : y("", !0),
|
|
576
|
+
d("text", {
|
|
571
577
|
x: l.x,
|
|
572
|
-
y:
|
|
578
|
+
y: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
|
|
573
579
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
574
580
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
575
581
|
"text-anchor": "middle",
|
|
576
582
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
|
|
577
|
-
}, w(
|
|
583
|
+
}, w(u(k)(
|
|
578
584
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
579
585
|
l.value / e.value.style.layout.dataLabels.xAxis.scale,
|
|
580
|
-
|
|
586
|
+
u(_)({
|
|
581
587
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
582
588
|
}),
|
|
583
589
|
{ datapoint: l, seriesIndex: a }
|
|
584
|
-
)), 9,
|
|
590
|
+
)), 9, _t)
|
|
585
591
|
]))), 256)),
|
|
586
|
-
|
|
587
|
-
x:
|
|
592
|
+
d("text", {
|
|
593
|
+
x: s.value.right,
|
|
588
594
|
y: g.value.height,
|
|
589
595
|
"text-anchor": "end",
|
|
590
596
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
591
597
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
592
598
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
|
|
593
|
-
}, w(e.value.style.layout.dataLabels.xAxis.translation), 9,
|
|
599
|
+
}, w(e.value.style.layout.dataLabels.xAxis.translation), 9, Ct)
|
|
594
600
|
])) : y("", !0)
|
|
595
601
|
]),
|
|
596
|
-
(i(!0),
|
|
597
|
-
|
|
598
|
-
x:
|
|
599
|
-
y:
|
|
600
|
-
width:
|
|
601
|
-
height:
|
|
602
|
-
fill: N.value !== null && N.value === a ?
|
|
603
|
-
onMouseover: (
|
|
604
|
-
onMouseleave:
|
|
602
|
+
(i(!0), n(z, null, P(H.dataset, (l, a) => (i(), n("g", null, [
|
|
603
|
+
d("rect", {
|
|
604
|
+
x: s.value.left,
|
|
605
|
+
y: s.value.top + s.value.height / T.value * a - e.value.style.layout.bars.gap / 2,
|
|
606
|
+
width: s.value.width <= 0 ? 1e-4 : s.value.width,
|
|
607
|
+
height: s.value.height / T.value <= 0 ? 1e-4 : s.value.height / T.value,
|
|
608
|
+
fill: N.value !== null && N.value === a ? u(X)(e.value.style.highlighter.color, e.value.style.highlighter.opacity) : "transparent",
|
|
609
|
+
onMouseover: (r) => Ce(a, l),
|
|
610
|
+
onMouseleave: o[0] || (o[0] = (r) => {
|
|
605
611
|
N.value = null, G.value = !1;
|
|
606
612
|
})
|
|
607
|
-
}, null, 40,
|
|
613
|
+
}, null, 40, $t)
|
|
608
614
|
]))), 256)),
|
|
609
615
|
f(t.$slots, "svg", { svg: g.value }, void 0, !0)
|
|
610
|
-
], 14,
|
|
611
|
-
t.$slots.watermark ? (i(),
|
|
612
|
-
f(t.$slots, "watermark",
|
|
616
|
+
], 14, et)) : y("", !0),
|
|
617
|
+
t.$slots.watermark ? (i(), n("div", Tt, [
|
|
618
|
+
f(t.$slots, "watermark", I(F({ isPrinting: u(oe) || u(se) })), void 0, !0)
|
|
613
619
|
])) : y("", !0),
|
|
614
|
-
M.value ? y("", !0) : (i(), S(
|
|
620
|
+
M.value ? y("", !0) : (i(), S(Ye, {
|
|
615
621
|
key: 6,
|
|
616
622
|
config: {
|
|
617
623
|
type: "pyramid",
|
|
@@ -624,15 +630,15 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
624
630
|
}
|
|
625
631
|
}, null, 8, ["config"])),
|
|
626
632
|
f(t.$slots, "legend", { legend: A.value }, void 0, !0),
|
|
627
|
-
t.$slots.source ? (i(),
|
|
633
|
+
t.$slots.source ? (i(), n("div", {
|
|
628
634
|
key: 7,
|
|
629
635
|
ref_key: "source",
|
|
630
|
-
ref:
|
|
636
|
+
ref: q,
|
|
631
637
|
dir: "auto"
|
|
632
638
|
}, [
|
|
633
639
|
f(t.$slots, "source", {}, void 0, !0)
|
|
634
640
|
], 512)) : y("", !0),
|
|
635
|
-
|
|
641
|
+
he(Xe, {
|
|
636
642
|
show: m.value.showTooltip && G.value,
|
|
637
643
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
638
644
|
color: e.value.style.tooltip.color,
|
|
@@ -644,19 +650,19 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
644
650
|
position: e.value.style.tooltip.position,
|
|
645
651
|
offsetY: e.value.style.tooltip.offsetY,
|
|
646
652
|
parent: C.value,
|
|
647
|
-
content:
|
|
653
|
+
content: U.value,
|
|
648
654
|
isFullscreen: L.value,
|
|
649
655
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
650
656
|
}, {
|
|
651
657
|
"tooltip-before": p(() => [
|
|
652
|
-
f(t.$slots, "tooltip-before",
|
|
658
|
+
f(t.$slots, "tooltip-before", I(F({ ...V.value })), void 0, !0)
|
|
653
659
|
]),
|
|
654
660
|
"tooltip-after": p(() => [
|
|
655
|
-
f(t.$slots, "tooltip-after",
|
|
661
|
+
f(t.$slots, "tooltip-after", I(F({ ...V.value })), void 0, !0)
|
|
656
662
|
]),
|
|
657
663
|
_: 3
|
|
658
664
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
659
|
-
M.value ? (i(), S(
|
|
665
|
+
M.value ? (i(), S(je, {
|
|
660
666
|
key: 8,
|
|
661
667
|
hideDetails: "",
|
|
662
668
|
config: {
|
|
@@ -673,29 +679,29 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
673
679
|
}
|
|
674
680
|
}, {
|
|
675
681
|
content: p(() => [
|
|
676
|
-
(i(), S(
|
|
677
|
-
key: `table_${
|
|
682
|
+
(i(), S(He, {
|
|
683
|
+
key: `table_${Q.value}`,
|
|
678
684
|
colNames: R.value.colNames,
|
|
679
685
|
head: R.value.head,
|
|
680
686
|
body: R.value.body,
|
|
681
687
|
config: R.value.config,
|
|
682
688
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
683
|
-
onClose:
|
|
689
|
+
onClose: o[1] || (o[1] = (l) => m.value.showTable = !1)
|
|
684
690
|
}, {
|
|
685
691
|
th: p(({ th: l }) => [
|
|
686
|
-
|
|
692
|
+
fe(w(l), 1)
|
|
687
693
|
]),
|
|
688
694
|
td: p(({ td: l }) => [
|
|
689
|
-
|
|
695
|
+
fe(w(l), 1)
|
|
690
696
|
]),
|
|
691
697
|
_: 1
|
|
692
698
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
693
699
|
]),
|
|
694
700
|
_: 1
|
|
695
701
|
}, 8, ["config"])) : y("", !0)
|
|
696
|
-
],
|
|
702
|
+
], 46, Ze));
|
|
697
703
|
}
|
|
698
|
-
},
|
|
704
|
+
}, Vt = /* @__PURE__ */ Qe(At, [["__scopeId", "data-v-0b42a758"]]);
|
|
699
705
|
export {
|
|
700
|
-
|
|
706
|
+
Vt as default
|
|
701
707
|
};
|