vue-data-ui 3.22.3 → 3.22.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-Ct8T_Lyp.js → Arrow-CgzmXCW_.js} +1 -1
- package/dist/{BaseDraggableDialog-DLuXvUbs.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
- package/dist/{BaseIcon-CX_ChMz-.js → BaseIcon-xBuW2jjI.js} +1 -1
- package/dist/{BaseLegendToggle-qL0O9ooF.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
- package/dist/{BaseZoomControls-BI5sLb6d.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
- package/dist/{ColorPicker-CwyWzPx_.js → ColorPicker-Usv7badH.js} +2 -2
- package/dist/{DataTable-KEMekOVu.js → DataTable-PidUPOit.js} +2 -2
- package/dist/Legend-DXOzbXb-.js +156 -0
- package/dist/{NonSvgPenAndPaper-CeNJtWON.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
- package/dist/{PackageVersion-D-_GVhxY.js → PackageVersion-Cm-3hwIF.js} +1 -1
- package/dist/{PenAndPaper-DkZYRnrW.js → PenAndPaper-ISUbDKXq.js} +11 -11
- package/dist/{Shape-S-7v8SAE.js → Shape-BnF9aMPX.js} +3 -3
- package/dist/Slicer-hEvKOLw3.js +1145 -0
- package/dist/{SlicerPreview-Co-V9YBf.js → SlicerPreview-BDI-aCXE.js} +36 -35
- package/dist/{SparkTooltip-D2BBjZKc.js → SparkTooltip-DaWSTzfA.js} +1 -1
- package/dist/{Title-Cxgd_JyY.js → Title-DDEEO-Nr.js} +1 -1
- package/dist/{Tooltip-BqdN_ZBE.js → Tooltip-BhKov422.js} +1 -1
- package/dist/{UserOptions-WIxTs7Xf.js → UserOptions-BxT1XHzN.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-DsEPQbU1.js → dom-to-png-ZOysoMwu.js} +1 -1
- package/dist/exposedLib-C2U48XK7.js +19 -0
- package/dist/img-B29J8tV5.js +129 -0
- package/dist/{labelUtils-WDjGa7EP.js → labelUtils-BFcL_t-A.js} +1 -1
- package/dist/{lib-NmjQazSn.js → lib-CuwHGt1j.js} +142 -123
- package/dist/{package-KQdsc0if.js → package-CRlwXCDr.js} +1 -1
- package/dist/{pdf-BVocBz-Y.js → pdf-ymYt9Lee.js} +1 -1
- package/dist/{render-common-BUbY65H0.js → render-common-D6ny-Fwu.js} +22 -22
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +59 -2
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DBv7sw1h.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
- package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
- package/dist/{useNestedProp-C9viY7oU.js → useNestedProp-BjkuFaz1.js} +1 -1
- package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
- package/dist/{usePrinter-DRYgV-XS.js → usePrinter-C0wAS8yc.js} +3 -3
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-CDgunUso.js → vue-data-ui-DTWqd0R2.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
- package/dist/{vue-ui-accordion-vYLqcJJd.js → vue-ui-accordion-B64IJyPU.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CCAcpoA2.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
- package/dist/{vue-ui-annotator-CmjcPCRy.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
- package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
- package/dist/{vue-ui-bump-UWs3Fols.js → vue-ui-bump-BD0Uq3As.js} +259 -259
- package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
- package/dist/{vue-ui-carousel-table-DiPXX1eV.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
- package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
- package/dist/{vue-ui-chord-MB6BktFk.js → vue-ui-chord-BZhXsZXp.js} +53 -53
- package/dist/{vue-ui-circle-pack-D4n5rKtA.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
- package/dist/{vue-ui-cursor-Cu_HGeoy.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
- package/dist/{vue-ui-dag-DQlbTBPB.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
- package/dist/{vue-ui-dashboard-BD-M8q8G.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
- package/dist/{vue-ui-digits-C21SWRDQ.js → vue-ui-digits-07IxTlNO.js} +4 -4
- package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
- package/dist/{vue-ui-donut-Djiw7Rz1.js → vue-ui-donut-C5oRCxAO.js} +193 -193
- package/dist/{vue-ui-donut-evolution-BkI06V1N.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
- package/dist/{vue-ui-dumbbell-Yn79Apx7.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
- package/dist/{vue-ui-flow-DfWx60DS.js → vue-ui-flow-R_dLE1WS.js} +72 -72
- package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
- package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
- package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
- package/dist/{vue-ui-geo-DdB-gJBh.js → vue-ui-geo-DVT9XEC3.js} +18 -18
- package/dist/{vue-ui-gizmo-AMWvrL1N.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
- package/dist/{vue-ui-heatmap-8cmpKIN5.js → vue-ui-heatmap-BCFId15K.js} +293 -293
- package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
- package/dist/{vue-ui-horizontal-bar-D32lWjQJ.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
- package/dist/{vue-ui-kpi-B3FdCV-T.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
- package/dist/{vue-ui-mini-loader-Bk-5TDbT.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
- package/dist/{vue-ui-molecule-B4fNC1Bk.js → vue-ui-molecule-2pfoR63d.js} +213 -213
- package/dist/{vue-ui-mood-radar-_mw9D1wg.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
- package/dist/{vue-ui-nested-donuts-DPhDz07R.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
- package/dist/{vue-ui-onion-Cob0y2FO.js → vue-ui-onion-CzXx3Rme.js} +293 -293
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
- package/dist/{vue-ui-quadrant-D6wv44Hs.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
- package/dist/{vue-ui-quick-chart-EeT-lzAq.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
- package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
- package/dist/{vue-ui-rating-DlMTyra_.js → vue-ui-rating-CRziryE2.js} +22 -22
- package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
- package/dist/{vue-ui-ridgeline-VO2-zPGd.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
- package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
- package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
- package/dist/{vue-ui-skeleton-ImkpUdwJ.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
- package/dist/{vue-ui-smiley-Ct3ijoOw.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
- package/dist/{vue-ui-spark-trend-_b2gVafQ.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
- package/dist/{vue-ui-sparkbar-CRH8b1fM.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
- package/dist/{vue-ui-sparkgauge-Z_lgEp7i.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
- package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
- package/dist/{vue-ui-sparkline-B-QS62r4.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
- package/dist/{vue-ui-sparkstackbar-DICmDZrB.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
- package/dist/{vue-ui-stackbar-BRqqDp3a.js → vue-ui-stackbar-Dqs7_g8D.js} +147 -147
- package/dist/{vue-ui-stackline-DVY_4Fmh.js → vue-ui-stackline-IRjugedp.js} +417 -417
- package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
- package/dist/{vue-ui-table-ByFPF5fJ.js → vue-ui-table-Bqi9XNvY.js} +64 -64
- package/dist/{vue-ui-table-heatmap-DfLfYJiR.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
- package/dist/{vue-ui-table-sparkline-Gi1MQO-E.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
- package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
- package/dist/{vue-ui-timer-CrIq3NmZ.js → vue-ui-timer-9CDcd-gP.js} +6 -6
- package/dist/{vue-ui-tiremarks-BB3VV4tK.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
- package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
- package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
- package/dist/{vue-ui-wheel-DZq3C6wh.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
- package/dist/{vue-ui-word-cloud-BNK1nfDn.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
- package/dist/{vue-ui-world-D3F772fb.js → vue-ui-world-vrGT5g1H.js} +127 -127
- package/dist/{vue-ui-xy-f56XjeNS.js → vue-ui-xy-Cb7u46JN.js} +410 -410
- package/dist/{vue-ui-xy-DOnq4Na2.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
- package/dist/{vue-ui-xy-canvas-OajdJbzS.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
- package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
- package/package.json +1 -1
- package/dist/Legend--t7Mbp9Z.js +0 -115
- package/dist/Slicer-CpBaahpI.js +0 -1144
- package/dist/exposedLib-BkRxoSB9.js +0 -19
- package/dist/img-CyjhDDaM.js +0 -74
- package/dist/vue-ui-3d-bar-BrSoUZQ_.js +0 -1757
- package/dist/vue-ui-bullet-BYrQAbvp.js +0 -710
- package/dist/vue-ui-candlestick-CJw3R21J.js +0 -1826
- package/dist/vue-ui-chestnut-DJkyr3uK.js +0 -2010
- package/dist/vue-ui-donut-BPOS4Aoe.js +0 -2410
- package/dist/vue-ui-funnel-hsmCJgE5.js +0 -777
- package/dist/vue-ui-galaxy-BC-D8ZZ6.js +0 -1077
- package/dist/vue-ui-gauge-CnDTR46T.js +0 -920
- package/dist/vue-ui-history-plot-ZcraxoDy.js +0 -1554
- package/dist/vue-ui-parallel-coordinate-plot-BPyfEQEf.js +0 -1416
- package/dist/vue-ui-radar-DNid-gVu.js +0 -1281
- package/dist/vue-ui-relation-circle-DALWYwuI.js +0 -924
- package/dist/vue-ui-rings-CGU8bnut.js +0 -1246
- package/dist/vue-ui-scatter-CDy2LLD_.js +0 -2413
- package/dist/vue-ui-sparkhistogram-DzukoeRA.js +0 -560
- package/dist/vue-ui-strip-plot-DUv9SsML.js +0 -1340
- package/dist/vue-ui-thermometer-MfzmVt9N.js +0 -763
- package/dist/vue-ui-treemap-CeE1TT6j.js +0 -1587
- package/dist/vue-ui-waffle-KDOR3fMN.js +0 -1362
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Gt as t, H as n, Ht as r, Ot as a, Q as o, S as s, Tt as c, U as l, Ut as u, Vt as d, W as f, X as ee, b as te, g as ne, h as re, i as p, it as m, jt as ie, ot as ae, q as h, r as oe, s as se, t as ce, ut as le, vt as ue, w as de } from "./lib-CuwHGt1j.js";
|
|
3
3
|
import { n as fe, r as pe, t as me } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
-
import { t as he } from "./useConfig-
|
|
5
|
-
import { t as ge } from "./usePrinter-
|
|
4
|
+
import { t as he } from "./useConfig-pVLia3dt.js";
|
|
5
|
+
import { t as ge } from "./usePrinter-C0wAS8yc.js";
|
|
6
6
|
import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as be } from "./useNestedProp-
|
|
8
|
+
import { t as be } from "./useNestedProp-BjkuFaz1.js";
|
|
9
9
|
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as Se } from "./useStableElementSize-C7KADDKj.js";
|
|
11
11
|
import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as we } from "./img-
|
|
13
|
-
import { n as Te } from "./Title-
|
|
14
|
-
import { t as Ee } from "./Shape-
|
|
12
|
+
import { t as we } from "./img-B29J8tV5.js";
|
|
13
|
+
import { n as Te } from "./Title-DDEEO-Nr.js";
|
|
14
|
+
import { t as Ee } from "./Shape-BnF9aMPX.js";
|
|
15
15
|
import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { c as Oe } from "./canvas-lib-BOP_HS11.js";
|
|
17
17
|
import { t as ke } from "./useResponsive-BfnK0KxU.js";
|
|
18
|
-
import { t as Ae } from "./SlicerPreview-
|
|
19
|
-
import { t as je } from "./BaseLegendToggle-
|
|
18
|
+
import { t as Ae } from "./SlicerPreview-BDI-aCXE.js";
|
|
19
|
+
import { t as je } from "./BaseLegendToggle-C4Usj0LI.js";
|
|
20
20
|
import { t as Me } from "./A11yDataTable-DdRsVULz.js";
|
|
21
21
|
import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
|
|
22
22
|
import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
|
|
23
|
-
import { t as Fe } from "./Legend
|
|
23
|
+
import { t as Fe } from "./Legend-DXOzbXb-.js";
|
|
24
24
|
import { t as Ie } from "./vue_ui_stackbar-COOrQQdK.js";
|
|
25
25
|
import { Fragment as g, Teleport as Le, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as S, guardReactiveProps as C, mergeProps as Ve, nextTick as He, normalizeClass as Ue, normalizeProps as w, normalizeStyle as T, onBeforeUnmount as We, onMounted as Ge, openBlock as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as A, toRefs as Je, unref as j, useSlots as Ye, watch as Xe, watchEffect as Ze, withCtx as M } from "vue";
|
|
26
26
|
//#region src/components/vue-ui-stackbar.vue
|
|
@@ -280,14 +280,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
280
280
|
"copyAlt"
|
|
281
281
|
],
|
|
282
282
|
setup(e, { expose: De, emit: Qe }) {
|
|
283
|
-
let Zt = S(() => import("./Tooltip-
|
|
283
|
+
let Zt = S(() => import("./Tooltip-BhKov422.js")), Qt = S(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), $t = S(() => import("./vue-ui-accordion-B64IJyPU.js").then((e) => e.n)), en = S(() => import("./DataTable-PidUPOit.js")), tn = S(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), nn = S(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), rn = S(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), an = S(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), { vue_ui_stackbar: on } = he(), { isThemeValid: sn, warnInvalidTheme: cn } = xe(), ln = Ye(), N = e, P = Qe, un = _({
|
|
284
284
|
get() {
|
|
285
285
|
return !!N.dataset && N.dataset.length;
|
|
286
286
|
},
|
|
287
287
|
set(e) {
|
|
288
288
|
return e;
|
|
289
289
|
}
|
|
290
|
-
}), F = D(null), I = D(
|
|
290
|
+
}), F = D(null), I = D(f()), dn = D(!1), fn = D(null), pn = D(""), L = D([]), mn = D(0), hn = D(null), gn = D(null), _n = D(null), vn = D(null), yn = D(!1), R = D(null), bn = D(!1), xn = D(0), Sn = D(0), Cn = D(0), wn = D(!1), Tn = D(null), En = D(null), Dn = D(!1), On = D(!1), kn = D(null), An = D(null), jn = D(null), Mn = D(null), Nn = D(null), Pn = D(null), Fn = qe(null), In = D(!1), Ln = D(0), Rn = D(0), z = D(null), zn = D({
|
|
291
291
|
x: 0,
|
|
292
292
|
y: 0
|
|
293
293
|
}), Bn = D("pointer"), Vn = Se({
|
|
@@ -318,7 +318,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
318
318
|
Ge(() => {
|
|
319
319
|
wn.value = !0, Hn(), Vn.start(), mr();
|
|
320
320
|
});
|
|
321
|
-
let B = D(nr()), V = _(() => B.value.userOptions.useCursorPointer), Kn = _(() =>
|
|
321
|
+
let B = D(nr()), V = _(() => B.value.userOptions.useCursorPointer), Kn = _(() => t({
|
|
322
322
|
defaultConfig: {
|
|
323
323
|
userOptions: { show: !1 },
|
|
324
324
|
useCssAnimation: !1,
|
|
@@ -395,7 +395,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
395
395
|
],
|
|
396
396
|
color: "#CACACA"
|
|
397
397
|
}],
|
|
398
|
-
skeletonConfig:
|
|
398
|
+
skeletonConfig: t({
|
|
399
399
|
defaultConfig: B.value,
|
|
400
400
|
userConfig: Kn.value
|
|
401
401
|
})
|
|
@@ -426,7 +426,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
426
426
|
userConfig: N.config,
|
|
427
427
|
defaultConfig: r
|
|
428
428
|
}),
|
|
429
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
429
|
+
customPalette: e.customPalette.length ? e.customPalette : u[n] || ie
|
|
430
430
|
};
|
|
431
431
|
}
|
|
432
432
|
else t = e;
|
|
@@ -463,18 +463,18 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
463
463
|
bottom: B.value.style.chart.padding.bottom / B.value.style.chart.height,
|
|
464
464
|
left: B.value.style.chart.padding.left / B.value.style.chart.width
|
|
465
465
|
}
|
|
466
|
-
}), lr = _(() =>
|
|
466
|
+
}), lr = _(() => s(B.value.customPalette)), ur = qe(null), dr = qe(null), fr = D(null), pr = _(() => !!B.value.debug);
|
|
467
467
|
function mr({ resetSlicer: e = !0 } = {}) {
|
|
468
|
-
if (a(N.dataset) ? (
|
|
468
|
+
if (a(N.dataset) ? (o({
|
|
469
469
|
componentName: "VueUiStackbar",
|
|
470
470
|
type: "dataset",
|
|
471
471
|
debug: pr.value
|
|
472
472
|
}), Yn.value = !0) : N.dataset.forEach((e, t) => {
|
|
473
|
-
|
|
473
|
+
le({
|
|
474
474
|
datasetObject: e,
|
|
475
475
|
requiredAttributes: ["name", "series"]
|
|
476
476
|
}).forEach((e) => {
|
|
477
|
-
un.value = !1,
|
|
477
|
+
un.value = !1, o({
|
|
478
478
|
componentName: "VueUiStackbar",
|
|
479
479
|
type: "datasetSerieAttribute",
|
|
480
480
|
property: e,
|
|
@@ -605,7 +605,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
605
605
|
let e = hr();
|
|
606
606
|
a = e.left, o = e.right, s = e.scaleLabelsWidth, c = e.yAxisLabelWidth;
|
|
607
607
|
}
|
|
608
|
-
let l = B.value.style.chart.padding.top + r, u = t - t * n - _r.value - o, d = e - B.value.style.chart.padding.bottom - Tr.value - r, f = B.value.style.chart.padding.left + a,
|
|
608
|
+
let l = B.value.style.chart.padding.top + r, u = t - t * n - _r.value - o, d = e - B.value.style.chart.padding.bottom - Tr.value - r, f = B.value.style.chart.padding.left + a, ee = t - f - t * n - _r.value - o, te = e - l - B.value.style.chart.padding.bottom - Tr.value - r;
|
|
609
609
|
return {
|
|
610
610
|
chartHeight: e,
|
|
611
611
|
chartWidth: t,
|
|
@@ -613,8 +613,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
613
613
|
right: u,
|
|
614
614
|
bottom: d,
|
|
615
615
|
left: f,
|
|
616
|
-
width: Math.max(0,
|
|
617
|
-
height: Math.max(0,
|
|
616
|
+
width: Math.max(0, ee),
|
|
617
|
+
height: Math.max(0, te),
|
|
618
618
|
offsetLeft: a,
|
|
619
619
|
offsetRightAxis: o,
|
|
620
620
|
scaleLabelsWidth: s,
|
|
@@ -654,7 +654,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
654
654
|
};
|
|
655
655
|
}
|
|
656
656
|
}), K = _(() => Jn.value.map((e, t) => {
|
|
657
|
-
let n = `stackbar_serie_${t}`, r = String(e.key ?? e.id ?? e.name ?? n), a =
|
|
657
|
+
let n = `stackbar_serie_${t}`, r = String(e.key ?? e.id ?? e.name ?? n), a = te(e.color) || lr.value[t] || ie[t] || ie[t % ie.length];
|
|
658
658
|
return {
|
|
659
659
|
...e,
|
|
660
660
|
datasetKey: r,
|
|
@@ -704,7 +704,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
704
704
|
let X = _(() => {
|
|
705
705
|
let e;
|
|
706
706
|
return e = B.value.orientation === "vertical" ? G.value.width / (J.value.end - J.value.start) : G.value.height / (J.value.end - J.value.start), e <= 0 ? 0 : e;
|
|
707
|
-
}), Pr = _(() =>
|
|
707
|
+
}), Pr = _(() => d(K.value.filter((e) => !L.value.includes(e.id))).slice(J.value.start, J.value.end)), Fr = _(() => L.value.length === K.value.length), Ir = _(() => B.value.style.chart.zoom.minimap.show ? d(K.value.map((e) => ({
|
|
708
708
|
...e,
|
|
709
709
|
series: e.series.map((e) => e ?? 0)
|
|
710
710
|
})).filter((e) => Fr.value ? !0 : !L.value.includes(e.id))) : []), Lr = _(() => B.value.style.chart.zoom.minimap.show ? [{
|
|
@@ -712,17 +712,17 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
712
712
|
series: Ir.value,
|
|
713
713
|
color: "#000000",
|
|
714
714
|
isVisible: !0
|
|
715
|
-
}] : []), Rr = _(() =>
|
|
715
|
+
}] : []), Rr = _(() => d(K.value.filter((e) => !L.value.includes(e.id)).map((e) => ({
|
|
716
716
|
...e,
|
|
717
717
|
series: e.series.map((t, n) => e.signedSeries[n] === -1 && t >= 0 ? -t : t)
|
|
718
718
|
}))).slice(J.value.start, J.value.end)), zr = _(() => {
|
|
719
719
|
let e = K.value.filter((e) => !L.value.includes(e.id));
|
|
720
720
|
return {
|
|
721
|
-
positive:
|
|
721
|
+
positive: d(e.map((e) => ({
|
|
722
722
|
...e,
|
|
723
723
|
series: e.series.slice(J.value.start, J.value.end).map((e) => e >= 0 ? e : 0)
|
|
724
724
|
}))),
|
|
725
|
-
negative:
|
|
725
|
+
negative: d(e.map((e) => ({
|
|
726
726
|
...e,
|
|
727
727
|
series: e.series.slice(J.value.start, J.value.end).map((e) => e < 0 ? e : 0)
|
|
728
728
|
})))
|
|
@@ -735,7 +735,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
735
735
|
void 0,
|
|
736
736
|
null
|
|
737
737
|
].includes(t) ? 0 : t;
|
|
738
|
-
return !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ?
|
|
738
|
+
return !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? ne(n > 0 ? 0 : n, e < 0 ? 0 : e, B.value.style.chart.grid.scale.ticks) : re(n > 0 ? 0 : n, e < 0 ? 0 : e, B.value.style.chart.grid.scale.ticks);
|
|
739
739
|
}), Vr = _(() => Br.value.ticks), Z = _(() => {
|
|
740
740
|
let e = Br.value, t = e.max + Math.abs(e.min);
|
|
741
741
|
return Vr.value.map((n) => ({
|
|
@@ -749,7 +749,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
749
749
|
}));
|
|
750
750
|
}), Hr = _(() => {
|
|
751
751
|
let e = B.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = B.value.style.chart.bars.dataLabels;
|
|
752
|
-
return Vr.value.map((r) => String(
|
|
752
|
+
return Vr.value.map((r) => String(p(e.formatter, r, h({
|
|
753
753
|
p: t,
|
|
754
754
|
v: r,
|
|
755
755
|
s: n,
|
|
@@ -866,13 +866,13 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
866
866
|
NaN,
|
|
867
867
|
void 0,
|
|
868
868
|
null
|
|
869
|
-
].includes(o) ? 0 : o, { min: c, max: l } = !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ?
|
|
869
|
+
].includes(o) ? 0 : o, { min: c, max: l } = !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? ne(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : re(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, ee = Z.value[0] ? Z.value[0].zero : G.value.bottom, te = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, p = Array(Ir.value.length).fill(0), m = Array(Ir.value.length).fill(0);
|
|
870
870
|
return K.value.filter((e) => !L.value.includes(e.id)).map((a) => {
|
|
871
|
-
let o = a.series.slice(), s = o.map((e, t) =>
|
|
871
|
+
let o = a.series.slice(), s = o.map((e, t) => p[t]), c = o.map((e, t) => m[t]);
|
|
872
872
|
o.forEach((e, t) => {
|
|
873
|
-
(Number(e) || 0) >= 0 ?
|
|
873
|
+
(Number(e) || 0) >= 0 ? p[t] += Number(e) || 0 : m[t] += Math.abs(Number(e) || 0);
|
|
874
874
|
});
|
|
875
|
-
let l = a.series.slice(J.value.start, J.value.end),
|
|
875
|
+
let l = a.series.slice(J.value.start, J.value.end), ne = a.signedSeries.slice(J.value.start, J.value.end), re = l.map((e, t) => ti(a, J.value.start + t)), ie = o.map((e, t) => ti(a, t)), ae = l.map((e, t) => G.value.left + X.value * t + X.value * B.value.style.chart.bars.gapRatio / 4), h = (Ir.value || []).filter(Number.isFinite), oe = h.length ? Math.max(...h) : 0, se = h.length ? Math.min(...h) : 0;
|
|
876
876
|
function ce({ minimapH: e }) {
|
|
877
877
|
let t = 1e-9, n = oe > 0;
|
|
878
878
|
if (n && se < 0) {
|
|
@@ -895,7 +895,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
895
895
|
return o.map((r, a) => e + t * a + n);
|
|
896
896
|
}, ue = l.map((e, t) => G.value.top + X.value * t + X.value * B.value.style.chart.bars.gapRatio / 4), de = l.map((t, r) => {
|
|
897
897
|
let a = B.value.style.chart.bars.distributed ? (t || 0) / Pr.value[r] : (t || 0) / u, o, s;
|
|
898
|
-
return t > 0 ? (s = d * a, o =
|
|
898
|
+
return t > 0 ? (s = d * a, o = ee - s - e[r], e[r] += s) : (s = d * a, o = ee + n[r], n[r] += Math.abs(s)), o;
|
|
899
899
|
}), fe = ({ minimapH: e }) => {
|
|
900
900
|
if (B.value.style.chart.bars.distributed) return o.map((t, n) => {
|
|
901
901
|
let r = Math.abs(Number(t) || 0), a = Math.abs(Ir.value?.[n] || 0) || 1e-9;
|
|
@@ -908,7 +908,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
908
908
|
});
|
|
909
909
|
}, pe = l.map((e, n) => {
|
|
910
910
|
let a = B.value.style.chart.bars.distributed ? (e || 0) / Pr.value[n] : (e || 0) / u, o, s;
|
|
911
|
-
return e > 0 ? (s = f * a, o =
|
|
911
|
+
return e > 0 ? (s = f * a, o = te + t[n], t[n] += s) : (s = f * a, o = te - Math.abs(s) - r[n], r[n] += Math.abs(s)), o;
|
|
912
912
|
}), me = l.map((e, t) => {
|
|
913
913
|
let n = B.value.style.chart.bars.distributed ? (e || 0) / Pr.value[t] : (e || 0) / u;
|
|
914
914
|
return e > 0 ? d * n : d * Math.abs(n);
|
|
@@ -924,7 +924,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
924
924
|
...a,
|
|
925
925
|
proportions: l.map((e, t) => B.value.style.chart.bars.distributed ? (e || 0) / Pr.value[t] : (e || 0) / _e),
|
|
926
926
|
series: l,
|
|
927
|
-
signedSeries:
|
|
927
|
+
signedSeries: ne,
|
|
928
928
|
rectKeys: re,
|
|
929
929
|
minimapRectKeys: ie,
|
|
930
930
|
x: ae,
|
|
@@ -943,10 +943,10 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
943
943
|
sign: e >= 0 ? 1 : -1
|
|
944
944
|
})));
|
|
945
945
|
function ri(e, t, n, r, a) {
|
|
946
|
-
let
|
|
947
|
-
return
|
|
946
|
+
let o = a === -1 && e >= 0 ? -e : e;
|
|
947
|
+
return p(B.value.style.chart.bars.dataLabels.formatter, o, h({
|
|
948
948
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
949
|
-
v:
|
|
949
|
+
v: o,
|
|
950
950
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
951
951
|
r: B.value.style.chart.bars.dataLabels.rounding
|
|
952
952
|
}), {
|
|
@@ -956,7 +956,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
956
956
|
});
|
|
957
957
|
}
|
|
958
958
|
function ii(e, t, n, r) {
|
|
959
|
-
return
|
|
959
|
+
return p(B.value.style.chart.bars.dataLabels.formatter, e, h({
|
|
960
960
|
v: isNaN(e) ? 0 : e,
|
|
961
961
|
s: "%",
|
|
962
962
|
r: B.value.style.chart.bars.dataLabels.rounding
|
|
@@ -1034,8 +1034,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1034
1034
|
config: B.value,
|
|
1035
1035
|
series: $.value
|
|
1036
1036
|
};
|
|
1037
|
-
let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0),
|
|
1038
|
-
if (
|
|
1037
|
+
let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), o = r.map((e) => m(e.value)).reduce((e, t) => e + t, 0);
|
|
1038
|
+
if (ue(n) && ae(() => n({
|
|
1039
1039
|
seriesIndex: e,
|
|
1040
1040
|
datapoint: r,
|
|
1041
1041
|
series: $.value,
|
|
@@ -1047,39 +1047,39 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1047
1047
|
config: B.value
|
|
1048
1048
|
});
|
|
1049
1049
|
else {
|
|
1050
|
-
let { showValue: t, showTotal: n, totalTranslation:
|
|
1051
|
-
ee && (
|
|
1052
|
-
<span>${
|
|
1050
|
+
let { showValue: t, showTotal: n, totalTranslation: s, showPercentage: c, borderColor: l, roundingValue: u, roundingPercentage: d } = B.value.style.chart.tooltip, f = "", ee = li(e);
|
|
1051
|
+
ee && (f += `<div style="width:100%;text-align:center;border-bottom:1px solid ${l};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), n && (f += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
1052
|
+
<span>${s}:</span>
|
|
1053
1053
|
<span>
|
|
1054
|
-
${
|
|
1054
|
+
${p(B.value.style.chart.bars.dataLabels.formatter, o, h({
|
|
1055
1055
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
1056
|
-
v:
|
|
1056
|
+
v: o,
|
|
1057
1057
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
1058
|
-
r:
|
|
1058
|
+
r: u
|
|
1059
1059
|
}), { datapoint: {
|
|
1060
|
-
name:
|
|
1061
|
-
value:
|
|
1060
|
+
name: s,
|
|
1061
|
+
value: o
|
|
1062
1062
|
} })}
|
|
1063
1063
|
</span>
|
|
1064
1064
|
</div>`);
|
|
1065
|
-
let te = [t &&
|
|
1065
|
+
let te = [t && c ? "(" : "", t && c ? ")" : ""];
|
|
1066
1066
|
r.reverse().forEach((e) => {
|
|
1067
|
-
|
|
1067
|
+
f += `
|
|
1068
1068
|
<div style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
1069
1069
|
<svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${B.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color}"/>${ln.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${I.value}_${e.absoluteIndex})"/>` : ""}</svg>
|
|
1070
|
-
${e.name}${t ||
|
|
1070
|
+
${e.name}${t || c ? ":" : ""} ${t ? p(B.value.style.chart.bars.dataLabels.formatter, e.value, h({
|
|
1071
1071
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
1072
1072
|
v: e.value,
|
|
1073
1073
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
1074
|
-
r:
|
|
1075
|
-
}, { datapoint: e })) : ""} ${te[0]}${
|
|
1074
|
+
r: u
|
|
1075
|
+
}, { datapoint: e })) : ""} ${te[0]}${c ? h({
|
|
1076
1076
|
v: isNaN(e.value / a) ? 0 : Math.abs(e.value) / a * 100,
|
|
1077
1077
|
s: "%",
|
|
1078
|
-
r:
|
|
1078
|
+
r: d
|
|
1079
1079
|
}) : ""}${te[1]}
|
|
1080
1080
|
</div>
|
|
1081
1081
|
`;
|
|
1082
|
-
}), pn.value = `<div>${
|
|
1082
|
+
}), pn.value = `<div>${f}</div>`;
|
|
1083
1083
|
}
|
|
1084
1084
|
}
|
|
1085
1085
|
let di = _(() => U.value.width), fi = _(() => U.value.height);
|
|
@@ -1151,8 +1151,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1151
1151
|
[B.value.style.chart.title.text],
|
|
1152
1152
|
[B.value.style.chart.title.subtitle.text],
|
|
1153
1153
|
[""]
|
|
1154
|
-
], n = ["", ...vi.value.head.map((e) => e.label)], r = vi.value.body, a =
|
|
1155
|
-
e ? e(a) :
|
|
1154
|
+
], n = ["", ...vi.value.head.map((e) => e.label)], r = vi.value.body, a = de(t.concat([n]).concat(r));
|
|
1155
|
+
e ? e(a) : ee({
|
|
1156
1156
|
csvContent: a,
|
|
1157
1157
|
title: B.value.style.chart.title.text || "vue-ui-stackbar"
|
|
1158
1158
|
});
|
|
@@ -1436,9 +1436,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1436
1436
|
}
|
|
1437
1437
|
function ia(e) {
|
|
1438
1438
|
if (!Number.isFinite(e)) return;
|
|
1439
|
-
let t,
|
|
1440
|
-
B.value.orientation === "vertical" ? (t = G.value.left + e * X.value + X.value / 2,
|
|
1441
|
-
let a =
|
|
1439
|
+
let t, n;
|
|
1440
|
+
B.value.orientation === "vertical" ? (t = G.value.left + e * X.value + X.value / 2, n = G.value.top + G.value.height / 2) : (t = G.value.left + G.value.width / 2, n = G.value.top + e * X.value + X.value / 2);
|
|
1441
|
+
let a = r(t, n, $n.value);
|
|
1442
1442
|
a && (zn.value = a);
|
|
1443
1443
|
}
|
|
1444
1444
|
let aa = _(() => ({
|
|
@@ -1460,7 +1460,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1460
1460
|
toggleAnnotator: ki,
|
|
1461
1461
|
toggleFullscreen: pi,
|
|
1462
1462
|
copyAlt: $i
|
|
1463
|
-
}), (
|
|
1463
|
+
}), (t, r) => (E(), b("div", {
|
|
1464
1464
|
id: `stackbar_${I.value}`,
|
|
1465
1465
|
ref_key: "stackbarChart",
|
|
1466
1466
|
ref: F,
|
|
@@ -1500,12 +1500,12 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1500
1500
|
isCursorPointer: V.value,
|
|
1501
1501
|
onClose: ki
|
|
1502
1502
|
}, {
|
|
1503
|
-
"annotator-action-close": M(() => [k(
|
|
1504
|
-
"annotator-action-color": M(({ color: e }) => [k(
|
|
1505
|
-
"annotator-action-draw": M(({ mode: e }) => [k(
|
|
1506
|
-
"annotator-action-undo": M(({ disabled: e }) => [k(
|
|
1507
|
-
"annotator-action-redo": M(({ disabled: e }) => [k(
|
|
1508
|
-
"annotator-action-delete": M(({ disabled: e }) => [k(
|
|
1503
|
+
"annotator-action-close": M(() => [k(t.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1504
|
+
"annotator-action-color": M(({ color: e }) => [k(t.$slots, "annotator-action-color", w(C({ color: e })), void 0, !0)]),
|
|
1505
|
+
"annotator-action-draw": M(({ mode: e }) => [k(t.$slots, "annotator-action-draw", w(C({ mode: e })), void 0, !0)]),
|
|
1506
|
+
"annotator-action-undo": M(({ disabled: e }) => [k(t.$slots, "annotator-action-undo", w(C({ disabled: e })), void 0, !0)]),
|
|
1507
|
+
"annotator-action-redo": M(({ disabled: e }) => [k(t.$slots, "annotator-action-redo", w(C({ disabled: e })), void 0, !0)]),
|
|
1508
|
+
"annotator-action-delete": M(({ disabled: e }) => [k(t.$slots, "annotator-action-delete", w(C({ disabled: e })), void 0, !0)]),
|
|
1509
1509
|
_: 3
|
|
1510
1510
|
}, 8, [
|
|
1511
1511
|
"svgRef",
|
|
@@ -1514,7 +1514,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1514
1514
|
"active",
|
|
1515
1515
|
"isCursorPointer"
|
|
1516
1516
|
])) : y("", !0),
|
|
1517
|
-
k(
|
|
1517
|
+
k(t.$slots, "userConfig", {}, void 0, !0),
|
|
1518
1518
|
B.value.style.chart.title.text ? (E(), b("div", {
|
|
1519
1519
|
key: 2,
|
|
1520
1520
|
ref_key: "chartTitle",
|
|
@@ -1575,78 +1575,78 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1575
1575
|
onCopyAlt: $i,
|
|
1576
1576
|
style: T({ visibility: j(Qn) ? j(Xn) ? "visible" : "hidden" : "visible" })
|
|
1577
1577
|
}, Re({ _: 2 }, [
|
|
1578
|
-
|
|
1578
|
+
t.$slots.menuIcon ? {
|
|
1579
1579
|
name: "menuIcon",
|
|
1580
|
-
fn: M(({ isOpen: e, color:
|
|
1580
|
+
fn: M(({ isOpen: e, color: n }) => [k(t.$slots, "menuIcon", w(C({
|
|
1581
1581
|
isOpen: e,
|
|
1582
|
-
color:
|
|
1582
|
+
color: n
|
|
1583
1583
|
})), void 0, !0)]),
|
|
1584
1584
|
key: "0"
|
|
1585
1585
|
} : void 0,
|
|
1586
|
-
|
|
1586
|
+
t.$slots.optionTooltip ? {
|
|
1587
1587
|
name: "optionTooltip",
|
|
1588
|
-
fn: M(() => [k(
|
|
1588
|
+
fn: M(() => [k(t.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1589
1589
|
key: "1"
|
|
1590
1590
|
} : void 0,
|
|
1591
|
-
|
|
1591
|
+
t.$slots.optionPdf ? {
|
|
1592
1592
|
name: "optionPdf",
|
|
1593
|
-
fn: M(() => [k(
|
|
1593
|
+
fn: M(() => [k(t.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1594
1594
|
key: "2"
|
|
1595
1595
|
} : void 0,
|
|
1596
|
-
|
|
1596
|
+
t.$slots.optionCsv ? {
|
|
1597
1597
|
name: "optionCsv",
|
|
1598
|
-
fn: M(() => [k(
|
|
1598
|
+
fn: M(() => [k(t.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1599
1599
|
key: "3"
|
|
1600
1600
|
} : void 0,
|
|
1601
|
-
|
|
1601
|
+
t.$slots.optionImg ? {
|
|
1602
1602
|
name: "optionImg",
|
|
1603
|
-
fn: M(() => [k(
|
|
1603
|
+
fn: M(() => [k(t.$slots, "optionImg", {}, void 0, !0)]),
|
|
1604
1604
|
key: "4"
|
|
1605
1605
|
} : void 0,
|
|
1606
|
-
|
|
1606
|
+
t.$slots.optionSvg ? {
|
|
1607
1607
|
name: "optionSvg",
|
|
1608
|
-
fn: M(() => [k(
|
|
1608
|
+
fn: M(() => [k(t.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1609
1609
|
key: "5"
|
|
1610
1610
|
} : void 0,
|
|
1611
|
-
|
|
1611
|
+
t.$slots.optionTable ? {
|
|
1612
1612
|
name: "optionTable",
|
|
1613
|
-
fn: M(() => [k(
|
|
1613
|
+
fn: M(() => [k(t.$slots, "optionTable", {}, void 0, !0)]),
|
|
1614
1614
|
key: "6"
|
|
1615
1615
|
} : void 0,
|
|
1616
|
-
|
|
1616
|
+
t.$slots.optionLabels ? {
|
|
1617
1617
|
name: "optionLabels",
|
|
1618
|
-
fn: M(() => [k(
|
|
1618
|
+
fn: M(() => [k(t.$slots, "optionLabels", {}, void 0, !0)]),
|
|
1619
1619
|
key: "7"
|
|
1620
1620
|
} : void 0,
|
|
1621
|
-
|
|
1621
|
+
t.$slots.optionFullscreen ? {
|
|
1622
1622
|
name: "optionFullscreen",
|
|
1623
|
-
fn: M(({ toggleFullscreen: e, isFullscreen:
|
|
1623
|
+
fn: M(({ toggleFullscreen: e, isFullscreen: n }) => [k(t.$slots, "optionFullscreen", w(C({
|
|
1624
1624
|
toggleFullscreen: e,
|
|
1625
|
-
isFullscreen:
|
|
1625
|
+
isFullscreen: n
|
|
1626
1626
|
})), void 0, !0)]),
|
|
1627
1627
|
key: "8"
|
|
1628
1628
|
} : void 0,
|
|
1629
|
-
|
|
1629
|
+
t.$slots.optionAnnotator ? {
|
|
1630
1630
|
name: "optionAnnotator",
|
|
1631
|
-
fn: M(({ toggleAnnotator: e, isAnnotator:
|
|
1631
|
+
fn: M(({ toggleAnnotator: e, isAnnotator: n }) => [k(t.$slots, "optionAnnotator", w(C({
|
|
1632
1632
|
toggleAnnotator: e,
|
|
1633
|
-
isAnnotator:
|
|
1633
|
+
isAnnotator: n
|
|
1634
1634
|
})), void 0, !0)]),
|
|
1635
1635
|
key: "9"
|
|
1636
1636
|
} : void 0,
|
|
1637
|
-
|
|
1637
|
+
t.$slots.optionAltCopy ? {
|
|
1638
1638
|
name: "optionAltCopy",
|
|
1639
|
-
fn: M(({ altCopy: e }) => [k(
|
|
1639
|
+
fn: M(({ altCopy: e }) => [k(t.$slots, "optionAltCopy", w(C({ altCopy: e })), void 0, !0)]),
|
|
1640
1640
|
key: "10"
|
|
1641
1641
|
} : void 0,
|
|
1642
|
-
|
|
1642
|
+
t.$slots["custom-menu-before"] ? {
|
|
1643
1643
|
name: "custom-menu-before",
|
|
1644
|
-
fn: M(() => [k(
|
|
1644
|
+
fn: M(() => [k(t.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1645
1645
|
key: "11"
|
|
1646
1646
|
} : void 0,
|
|
1647
|
-
|
|
1647
|
+
t.$slots["custom-menu-after"] ? {
|
|
1648
1648
|
name: "custom-menu-after",
|
|
1649
|
-
fn: M(() => [k(
|
|
1649
|
+
fn: M(() => [k(t.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1650
1650
|
key: "12"
|
|
1651
1651
|
} : void 0
|
|
1652
1652
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : y("", !0),
|
|
@@ -1664,14 +1664,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1664
1664
|
onKeydown: ra
|
|
1665
1665
|
}, [
|
|
1666
1666
|
Be(j(rn)),
|
|
1667
|
-
|
|
1667
|
+
t.$slots["chart-background"] ? (E(), b("foreignObject", {
|
|
1668
1668
|
key: 0,
|
|
1669
1669
|
x: G.value.left,
|
|
1670
1670
|
y: G.value.top,
|
|
1671
1671
|
width: G.value.width <= 0 ? 10 : G.value.width,
|
|
1672
1672
|
height: G.value.height <= 0 ? 10 : G.value.height,
|
|
1673
1673
|
style: { pointerEvents: "none" }
|
|
1674
|
-
}, [k(
|
|
1674
|
+
}, [k(t.$slots, "chart-background", {}, void 0, !0)], 8, it)) : y("", !0),
|
|
1675
1675
|
B.value.style.chart.bars.gradient.show ? (E(), b("defs", at, [(E(!0), b(g, null, O($.value, (e, t) => (E(), b("linearGradient", {
|
|
1676
1676
|
id: `gradient_${e.id}`,
|
|
1677
1677
|
x1: "0%",
|
|
@@ -1685,7 +1685,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1685
1685
|
}, null, 8, st),
|
|
1686
1686
|
x("stop", {
|
|
1687
1687
|
offset: "61.8%",
|
|
1688
|
-
"stop-color": j(
|
|
1688
|
+
"stop-color": j(c)(e.color, B.value.style.chart.bars.gradient.intensity / 100)
|
|
1689
1689
|
}, null, 8, ct),
|
|
1690
1690
|
x("stop", {
|
|
1691
1691
|
offset: "100%",
|
|
@@ -1750,13 +1750,13 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1750
1750
|
"stroke-dasharray": B.value.style.chart.grid.y.linesStrokeDasharray,
|
|
1751
1751
|
"stroke-linecap": "round"
|
|
1752
1752
|
}, null, 8, mt))), 256)) : y("", !0),
|
|
1753
|
-
(E(!0), b(g, null, O($.value, (e,
|
|
1753
|
+
(E(!0), b(g, null, O($.value, (e, n) => (E(), b("g", { key: `stackbar-group-${e.datasetKey}` }, [t.$slots.pattern ? (E(), b("defs", ht, [k(t.$slots, "pattern", Ve({ ref_for: !0 }, {
|
|
1754
1754
|
seriesIndex: e.absoluteIndex,
|
|
1755
1755
|
patternId: `pattern_${I.value}_${e.absoluteIndex}`
|
|
1756
1756
|
}), void 0, !0)])) : y("", !0), B.value.orientation === "vertical" ? (E(), b(g, { key: 1 }, [(E(!0), b(g, null, O(e.x, (t, n) => (E(), b("rect", {
|
|
1757
1757
|
key: `stackbar-rect-${e.rectKeys[n]}`,
|
|
1758
1758
|
x: t,
|
|
1759
|
-
y: j(
|
|
1759
|
+
y: j(m)(e.y[n]),
|
|
1760
1760
|
height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
|
|
1761
1761
|
rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
|
|
1762
1762
|
width: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
|
|
@@ -1769,10 +1769,10 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1769
1769
|
"vue-data-ui-bar-animated": B.value.useCssAnimation,
|
|
1770
1770
|
"vue-data-ui-bar-transition": bn.value
|
|
1771
1771
|
})
|
|
1772
|
-
}, null, 10, gt))), 128)),
|
|
1772
|
+
}, null, 10, gt))), 128)), t.$slots.pattern ? (E(), b("g", _t, [(E(!0), b(g, null, O(e.x, (t, n) => (E(), b("rect", {
|
|
1773
1773
|
key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
|
|
1774
1774
|
x: t,
|
|
1775
|
-
y: j(
|
|
1775
|
+
y: j(m)(e.y[n]),
|
|
1776
1776
|
height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
|
|
1777
1777
|
rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
|
|
1778
1778
|
width: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
|
|
@@ -1787,9 +1787,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1787
1787
|
})
|
|
1788
1788
|
}, null, 10, vt))), 128))])) : y("", !0)], 64)) : (E(), b(g, { key: 2 }, [(E(!0), b(g, null, O(e.horizontal_x, (t, n) => (E(), b("rect", {
|
|
1789
1789
|
key: `stackbar-rect-${e.rectKeys[n]}`,
|
|
1790
|
-
x: j(
|
|
1790
|
+
x: j(m)(t, G.value.left),
|
|
1791
1791
|
y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
|
|
1792
|
-
width: j(
|
|
1792
|
+
width: j(m)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
|
|
1793
1793
|
rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
|
|
1794
1794
|
height: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
|
|
1795
1795
|
fill: B.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color,
|
|
@@ -1801,11 +1801,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1801
1801
|
"vue-data-ui-bar-animated": B.value.useCssAnimation,
|
|
1802
1802
|
"vue-data-ui-bar-transition": bn.value
|
|
1803
1803
|
})
|
|
1804
|
-
}, null, 10, yt))), 128)),
|
|
1804
|
+
}, null, 10, yt))), 128)), t.$slots.pattern ? (E(), b("g", bt, [(E(!0), b(g, null, O(e.horizontal_x, (t, n) => (E(), b("rect", {
|
|
1805
1805
|
key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
|
|
1806
|
-
x: j(
|
|
1806
|
+
x: j(m)(t, G.value.left),
|
|
1807
1807
|
y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
|
|
1808
|
-
width: j(
|
|
1808
|
+
width: j(m)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
|
|
1809
1809
|
rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
|
|
1810
1810
|
height: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
|
|
1811
1811
|
fill: `url(#pattern_${I.value}_${e.absoluteIndex})`,
|
|
@@ -1921,7 +1921,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1921
1921
|
"font-weight": B.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
1922
1922
|
fill: B.value.style.chart.grid.y.axisLabels.color,
|
|
1923
1923
|
"text-anchor": W.value ? "start" : "end"
|
|
1924
|
-
}, A(j(
|
|
1924
|
+
}, A(j(p)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, j(h)({
|
|
1925
1925
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
1926
1926
|
v: e.value,
|
|
1927
1927
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1946,7 +1946,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1946
1946
|
fill: B.value.style.chart.grid.y.axisLabels.color,
|
|
1947
1947
|
"text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1948
1948
|
transform: `translate(${e.horizontal_x}, ${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`
|
|
1949
|
-
}, A(j(
|
|
1949
|
+
}, A(j(p)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, j(h)({
|
|
1950
1950
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
1951
1951
|
v: e.value,
|
|
1952
1952
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1956,55 +1956,55 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1956
1956
|
key: 15,
|
|
1957
1957
|
ref_key: "timeLabelsEls",
|
|
1958
1958
|
ref: Mn
|
|
1959
|
-
}, [
|
|
1960
|
-
x: G.value.left + X.value *
|
|
1959
|
+
}, [t.$slots["time-label"] ? (E(), b("g", Pt, [(E(!0), b(g, null, O(qr.value, (e, n) => (E(), b("g", null, [k(t.$slots, "time-label", Ve({ ref_for: !0 }, {
|
|
1960
|
+
x: G.value.left + X.value * n + X.value / 2,
|
|
1961
1961
|
y: G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY,
|
|
1962
1962
|
fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1963
1963
|
fill: B.value.style.chart.grid.x.timeLabels.color,
|
|
1964
|
-
transform: `translate(${G.value.left + X.value *
|
|
1964
|
+
transform: `translate(${G.value.left + X.value * n + X.value / 2}, ${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`,
|
|
1965
1965
|
absoluteIndex: e.absoluteIndex,
|
|
1966
1966
|
content: e.text,
|
|
1967
1967
|
textAnchor: B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1968
1968
|
show: !0
|
|
1969
|
-
}), void 0, !0)]))), 256))])) : (E(), b("g", Ft, [(E(!0), b(g, null, O(qr.value, (e,
|
|
1970
|
-
key:
|
|
1969
|
+
}), void 0, !0)]))), 256))])) : (E(), b("g", Ft, [(E(!0), b(g, null, O(qr.value, (e, t) => (E(), b("g", null, [String(e.text).includes("\n") ? (E(), b("text", {
|
|
1970
|
+
key: t + "-multi",
|
|
1971
1971
|
"text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1972
1972
|
"font-size": B.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1973
1973
|
fill: B.value.style.chart.grid.x.timeLabels.color,
|
|
1974
1974
|
transform: `
|
|
1975
1975
|
translate(
|
|
1976
|
-
${G.value.left + X.value *
|
|
1976
|
+
${G.value.left + X.value * t + X.value / 2},
|
|
1977
1977
|
${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}
|
|
1978
1978
|
),
|
|
1979
1979
|
rotate(${B.value.style.chart.grid.x.timeLabels.rotation})
|
|
1980
1980
|
`,
|
|
1981
1981
|
style: T({ cursor: V.value ? "pointer" : "default" }),
|
|
1982
|
-
innerHTML: j(
|
|
1982
|
+
innerHTML: j(n)({
|
|
1983
1983
|
content: String(e.text),
|
|
1984
1984
|
fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1985
1985
|
fill: B.value.style.chart.grid.x.timeLabels.color,
|
|
1986
1986
|
x: 0,
|
|
1987
1987
|
y: 0
|
|
1988
1988
|
}),
|
|
1989
|
-
onClick: () => Ai(e,
|
|
1989
|
+
onClick: () => Ai(e, t)
|
|
1990
1990
|
}, null, 12, Lt)) : (E(), b("text", {
|
|
1991
1991
|
class: "vue-data-ui-time-label",
|
|
1992
|
-
key:
|
|
1992
|
+
key: t,
|
|
1993
1993
|
"text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1994
1994
|
"font-size": B.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1995
1995
|
"font-weight": B.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
|
|
1996
1996
|
fill: B.value.style.chart.grid.x.timeLabels.color,
|
|
1997
|
-
transform: `translate(${G.value.left + X.value *
|
|
1997
|
+
transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`,
|
|
1998
1998
|
style: T({ cursor: V.value ? "pointer" : "default" }),
|
|
1999
|
-
onClick: () => Ai(e,
|
|
1999
|
+
onClick: () => Ai(e, t)
|
|
2000
2000
|
}, A(e.text), 13, It))]))), 256))]))], 512)) : y("", !0),
|
|
2001
2001
|
B.value.style.chart.grid.x.timeLabels.show && B.value.orientation === "horizontal" ? (E(), b("g", {
|
|
2002
2002
|
key: 16,
|
|
2003
2003
|
ref_key: "timeLabelsEls",
|
|
2004
2004
|
ref: Mn
|
|
2005
|
-
}, [
|
|
2005
|
+
}, [t.$slots["time-label"] ? (E(), b("g", Rt, [(E(!0), b(g, null, O(Q.value, (e, n) => (E(), b("g", null, [k(t.$slots, "time-label", Ve({ ref_for: !0 }, {
|
|
2006
2006
|
x: G.value.left - 8,
|
|
2007
|
-
y: G.value.top + X.value *
|
|
2007
|
+
y: G.value.top + X.value * n + X.value / 2 + B.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
2008
2008
|
fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
|
|
2009
2009
|
fill: B.value.style.chart.grid.x.timeLabels.color,
|
|
2010
2010
|
transform: null,
|
|
@@ -2022,7 +2022,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2022
2022
|
y: G.value.top + X.value * t + X.value / 2 + B.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
2023
2023
|
style: T({ cursor: V.value ? "pointer" : "default" }),
|
|
2024
2024
|
onClick: () => Ai(e, t),
|
|
2025
|
-
innerHTML: j(
|
|
2025
|
+
innerHTML: j(l)({
|
|
2026
2026
|
content: String(e.text),
|
|
2027
2027
|
fontSize: B.value.style.chart.grid.y.axisLabels.fontSize,
|
|
2028
2028
|
fill: B.value.style.chart.grid.y.axisLabels.color,
|
|
@@ -2066,7 +2066,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2066
2066
|
"data-start": J.value.start,
|
|
2067
2067
|
"data-end": J.value.end
|
|
2068
2068
|
}), null, 16, Wt)) : y("", !0),
|
|
2069
|
-
k(
|
|
2069
|
+
k(t.$slots, "svg", { svg: {
|
|
2070
2070
|
drawingArea: G.value,
|
|
2071
2071
|
slicer: J.value,
|
|
2072
2072
|
data: $.value,
|
|
@@ -2074,11 +2074,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2074
2074
|
isPrintingSvg: On.value,
|
|
2075
2075
|
barWidth: X.value
|
|
2076
2076
|
} }, void 0, !0)
|
|
2077
|
-
], 46, rt)),
|
|
2077
|
+
], 46, rt)), t.$slots.hint ? (E(), b("div", Gt, [k(t.$slots, "hint", w(C({
|
|
2078
2078
|
hint: B.value.a11y.translations.keyboardNavigation,
|
|
2079
2079
|
isVisible: ea.value
|
|
2080
2080
|
})), void 0, !0)])) : y("", !0)]),
|
|
2081
|
-
|
|
2081
|
+
t.$slots.watermark ? (E(), b("div", Kt, [k(t.$slots, "watermark", w(C({ isPrinting: j(ar) || j(or) || Dn.value || On.value })), void 0, !0)])) : y("", !0),
|
|
2082
2082
|
B.value.style.chart.zoom.show && un.value && Wi.value && q.value > 6 ? (E(), v(Ae, {
|
|
2083
2083
|
key: 5,
|
|
2084
2084
|
ref_key: "chartSlicer",
|
|
@@ -2136,11 +2136,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2136
2136
|
"onUpdate:end": Ji,
|
|
2137
2137
|
"onUpdate:start": qi,
|
|
2138
2138
|
onTrapMouse: Dr,
|
|
2139
|
-
onReset:
|
|
2140
|
-
onFutureEnd:
|
|
2141
|
-
onFutureStart:
|
|
2139
|
+
onReset: r[0] ||= () => Nr({ force: !0 }),
|
|
2140
|
+
onFutureEnd: r[1] ||= (e) => kr("end", e),
|
|
2141
|
+
onFutureStart: r[2] ||= (e) => kr("start", e)
|
|
2142
2142
|
}, {
|
|
2143
|
-
"reset-action": M(({ reset: e }) => [k(
|
|
2143
|
+
"reset-action": M(({ reset: e }) => [k(t.$slots, "reset-action", w(C({ reset: e })), void 0, !0)]),
|
|
2144
2144
|
slotMap: M(({ width: e, height: t, unitW: n }) => [(E(!0), b(g, null, O($.value, (e) => (E(), b("g", { key: e.id }, [(E(!0), b(g, null, O(e.xMinimap({
|
|
2145
2145
|
left: 0,
|
|
2146
2146
|
unitW: n
|
|
@@ -2176,7 +2176,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2176
2176
|
parent: F.value,
|
|
2177
2177
|
content: pn.value,
|
|
2178
2178
|
isFullscreen: yn.value,
|
|
2179
|
-
isCustom: j(
|
|
2179
|
+
isCustom: j(ue)(B.value.style.chart.tooltip.customFormat),
|
|
2180
2180
|
smooth: B.value.style.chart.tooltip.smooth,
|
|
2181
2181
|
backdropFilter: B.value.style.chart.tooltip.backdropFilter,
|
|
2182
2182
|
smoothForce: B.value.style.chart.tooltip.smoothForce,
|
|
@@ -2184,9 +2184,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2184
2184
|
isA11yMode: Bn.value === "keyboard",
|
|
2185
2185
|
a11yPosition: zn.value
|
|
2186
2186
|
}, {
|
|
2187
|
-
"tooltip-before": M(() => [k(
|
|
2188
|
-
tooltip: M(() => [k(
|
|
2189
|
-
"tooltip-after": M(() => [k(
|
|
2187
|
+
"tooltip-before": M(() => [k(t.$slots, "tooltip-before", w(C({ ...fn.value })), void 0, !0)]),
|
|
2188
|
+
tooltip: M(() => [k(t.$slots, "tooltip", w(C({ ...fn.value })), void 0, !0)]),
|
|
2189
|
+
"tooltip-after": M(() => [k(t.$slots, "tooltip-after", w(C({ ...fn.value })), void 0, !0)]),
|
|
2190
2190
|
_: 3
|
|
2191
2191
|
}, 8, [
|
|
2192
2192
|
"teleportTo",
|
|
@@ -2213,18 +2213,18 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2213
2213
|
"a11yPosition"
|
|
2214
2214
|
]),
|
|
2215
2215
|
x("div", { id: `legend-bottom-${I.value}` }, null, 8, Jt),
|
|
2216
|
-
wn.value && (B.value.style.chart.legend.show ||
|
|
2216
|
+
wn.value && (B.value.style.chart.legend.show || t.$slots.legend) ? (E(), v(Le, {
|
|
2217
2217
|
key: 6,
|
|
2218
2218
|
to: B.value.style.chart.legend.position === "top" ? `#legend-top-${I.value}` : `#legend-bottom-${I.value}`
|
|
2219
2219
|
}, [x("div", {
|
|
2220
2220
|
ref_key: "chartLegend",
|
|
2221
2221
|
ref: gn
|
|
2222
|
-
}, [k(
|
|
2222
|
+
}, [k(t.$slots, "legend", { legend: Ei.value }, () => [B.value.style.chart.legend.show ? (E(), v(Fe, {
|
|
2223
2223
|
key: 0,
|
|
2224
2224
|
legendSet: Ei.value,
|
|
2225
2225
|
config: Di.value,
|
|
2226
2226
|
isCursorPointer: V.value,
|
|
2227
|
-
onClickMarker:
|
|
2227
|
+
onClickMarker: r[3] ||= ({ legend: e }) => e.segregate()
|
|
2228
2228
|
}, Re({
|
|
2229
2229
|
item: M(({ legend: e }) => [j(qn) ? y("", !0) : (E(), b("div", {
|
|
2230
2230
|
key: 0,
|
|
@@ -2247,7 +2247,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2247
2247
|
"isCursorPointer"
|
|
2248
2248
|
])) : y("", !0)]),
|
|
2249
2249
|
_: 2
|
|
2250
|
-
}, [
|
|
2250
|
+
}, [t.$slots.pattern ? {
|
|
2251
2251
|
name: "legend-pattern",
|
|
2252
2252
|
fn: M(({ legend: e, index: t }) => [Be(Ee, {
|
|
2253
2253
|
shape: e.shape,
|
|
@@ -2265,12 +2265,12 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2265
2265
|
"config",
|
|
2266
2266
|
"isCursorPointer"
|
|
2267
2267
|
])) : y("", !0)], !0)], 512)], 8, ["to"])) : y("", !0),
|
|
2268
|
-
|
|
2268
|
+
t.$slots.source ? (E(), b("div", {
|
|
2269
2269
|
key: 7,
|
|
2270
2270
|
ref_key: "source",
|
|
2271
2271
|
ref: vn,
|
|
2272
2272
|
dir: "auto"
|
|
2273
|
-
}, [k(
|
|
2273
|
+
}, [k(t.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
|
|
2274
2274
|
un.value && B.value.userOptions.buttons.table ? (E(), v(Ke(Pi.value.component), Ve({ key: 8 }, Pi.value.props, {
|
|
2275
2275
|
ref_key: "tableUnit",
|
|
2276
2276
|
ref: Tn,
|
|
@@ -2287,7 +2287,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2287
2287
|
onClose: Fi
|
|
2288
2288
|
}, {
|
|
2289
2289
|
th: M(({ th: e }) => [x("div", { innerHTML: e }, null, 8, Xt)]),
|
|
2290
|
-
td: M(({ td: e }) => [ze(A(isNaN(Number(e)) ? e : j(
|
|
2290
|
+
td: M(({ td: e }) => [ze(A(isNaN(Number(e)) ? e : j(h)({
|
|
2291
2291
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
2292
2292
|
v: e,
|
|
2293
2293
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -2313,7 +2313,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2313
2313
|
fn: M(() => [x("button", {
|
|
2314
2314
|
tabindex: "0",
|
|
2315
2315
|
class: "vue-ui-user-options-button",
|
|
2316
|
-
onClick:
|
|
2316
|
+
onClick: r[4] ||= (e) => yi(B.value.userOptions.callbacks.csv),
|
|
2317
2317
|
style: T({ cursor: V.value ? "pointer" : "default" })
|
|
2318
2318
|
}, [Be(j(Qt), {
|
|
2319
2319
|
name: "fileCsv",
|
|
@@ -2321,7 +2321,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2321
2321
|
}, null, 8, ["stroke"])], 4)]),
|
|
2322
2322
|
key: "1"
|
|
2323
2323
|
} : void 0]), 1040)) : y("", !0),
|
|
2324
|
-
k(
|
|
2324
|
+
k(t.$slots, "skeleton", {}, () => [j(qn) ? (E(), v(ve, { key: 0 })) : y("", !0)], !0)
|
|
2325
2325
|
], 46, $e));
|
|
2326
2326
|
}
|
|
2327
2327
|
}, [["__scopeId", "data-v-23fc8c86"]]);
|