vue-data-ui 3.24.0 → 3.25.0
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-CJuuMivt.js → Arrow-cWEoIMbe.js} +1 -1
- package/dist/{BaseDraggableDialog-9RMU4zIz.js → BaseDraggableDialog-obpncsqR.js} +2 -2
- package/dist/{BaseIcon-U0y1Y7dC.js → BaseIcon-Dmgd8MfJ.js} +1 -1
- package/dist/{BaseLegendToggle-B_wibe7d.js → BaseLegendToggle-Dj1a_tSb.js} +1 -1
- package/dist/{BaseZoomControls-DXDTBATh.js → BaseZoomControls-CdYm4Qh4.js} +2 -2
- package/dist/{ColorPicker-Diee0Pe9.js → ColorPicker-B93_eq_J.js} +2 -2
- package/dist/{DataTable-1Lsn9w61.js → DataTable-D6vq6n14.js} +2 -2
- package/dist/{HillActions-DntqVj-0.js → HillActions-D0OMo0PZ.js} +1 -1
- package/dist/{Legend-Cg1jtWxv.js → Legend-Du6YK6gu.js} +2 -2
- package/dist/{NonSvgPenAndPaper-aCu8CNkj.js → NonSvgPenAndPaper-DbwjIxnE.js} +3 -3
- package/dist/{PackageVersion-CrLLZ567.js → PackageVersion-CU9Hflo-.js} +1 -1
- package/dist/{PenAndPaper-ktbpEc-t.js → PenAndPaper-CD5tlFYh.js} +3 -3
- package/dist/{Shape-BV_BCG2F.js → Shape-Dqpgbk7w.js} +1 -1
- package/dist/{SlicerPreview-CsFT236o.js → SlicerPreview-BSjcCjhA.js} +2 -2
- package/dist/{SparkTooltip-BqzJa3h2.js → SparkTooltip-Da4O7iOD.js} +1 -1
- package/dist/{Title-C5ytqOnj.js → Title-y2KUSK-I.js} +1 -1
- package/dist/{Tooltip-CTgk02J6.js → Tooltip-CLpW5URN.js} +1 -1
- package/dist/{UserOptions-DJt-e5q0.js → UserOptions-3Qr8es3g.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-hill.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-label.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-K9hvrmBm.js → dom-to-png-CQUIoewh.js} +1 -1
- package/dist/{exposedLib-CNHCqGuG.js → exposedLib-4fR8MXNd.js} +1 -1
- package/dist/{img-DRq3Equ5.js → img-D3Ck2d_T.js} +1 -1
- package/dist/{labelUtils-CSh956Gz.js → labelUtils-CJ6EaaYo.js} +1 -1
- package/dist/{lib-DfMn_3jf.js → lib-DurLxjMz.js} +21 -42
- package/dist/{package-DwX5gXIb.js → package-CawqE4gj.js} +1 -1
- package/dist/{pdf-CglSdC4O.js → pdf-2aQfvzB9.js} +1 -1
- package/dist/{render-common-DruozHP7.js → render-common-DrbN2WgW.js} +2 -2
- 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 +6 -0
- package/dist/{useConfig-BtJSJ6AK.js → useConfig-CyCVHo81.js} +27 -17
- package/dist/{useNestedProp-CLEe1P5W.js → useNestedProp-B3XMQAL1.js} +1 -1
- package/dist/{useObjectBindings-CgRKOMSB.js → useObjectBindings-ByORl1rV.js} +1 -1
- package/dist/{usePrinter-Daqyj6c7.js → usePrinter-D53IAxB2.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-C37q2rbt.js → vue-data-ui-DHA6rnQ7.js} +70 -70
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-B_z643_d.js → vue-ui-3d-bar-B3bLF2Fp.js} +7 -7
- package/dist/{vue-ui-accordion-BhOSscZB.js → vue-ui-accordion-D2W-dY3E.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CS1J-mHZ.js → vue-ui-age-pyramid-CvRi9Web.js} +7 -7
- package/dist/{vue-ui-annotator-DmTbmRrw.js → vue-ui-annotator-BTozB0Fb.js} +7 -7
- package/dist/{vue-ui-bullet-BUuF_-rE.js → vue-ui-bullet-BbCPpZ5k.js} +8 -8
- package/dist/{vue-ui-bump-Dt13LCR2.js → vue-ui-bump-FZIoCybJ.js} +100 -96
- package/dist/{vue-ui-candlestick-CgvK082R.js → vue-ui-candlestick-IlS8zO5O.js} +431 -416
- package/dist/{vue-ui-carousel-table-C6IZZLpG.js → vue-ui-carousel-table-DokjHbNr.js} +5 -5
- package/dist/{vue-ui-chestnut-B03dTYpe.js → vue-ui-chestnut-DoUFUSVm.js} +6 -6
- package/dist/{vue-ui-chord-R7YLYkOS.js → vue-ui-chord-6t-7dxVu.js} +9 -9
- package/dist/{vue-ui-circle-pack-CxIJbXSK.js → vue-ui-circle-pack-CexF2pcc.js} +7 -7
- package/dist/{vue-ui-cursor-Bqm8zbqD.js → vue-ui-cursor-YbgOW5z6.js} +4 -4
- package/dist/{vue-ui-dag-TqlqeLgZ.js → vue-ui-dag-B4RKzj4H.js} +8 -8
- package/dist/{vue-ui-dashboard-W0PV1gGV.js → vue-ui-dashboard-BUXA_h5X.js} +70 -70
- package/dist/{vue-ui-digits-D3VKW9O0.js → vue-ui-digits-C4eNwkQW.js} +4 -4
- package/dist/{vue-ui-donut-8W7ZV_hU.js → vue-ui-donut-BS9ICnxW.js} +3 -3
- package/dist/{vue-ui-donut-C_CUqRdv.js → vue-ui-donut-DBhaQARJ.js} +11 -11
- package/dist/{vue-ui-donut-evolution-CHQHSkpq.js → vue-ui-donut-evolution-B0v3uJNo.js} +10 -10
- package/dist/{vue-ui-dumbbell-D3G5uL-P.js → vue-ui-dumbbell-Dj-FFcXl.js} +8 -8
- package/dist/{vue-ui-flow-CjvO8Fsp.js → vue-ui-flow-CGjXnUTR.js} +8 -8
- package/dist/{vue-ui-funnel-eHR9hTpj.js → vue-ui-funnel-B8qoKSY6.js} +7 -7
- package/dist/{vue-ui-galaxy-DBarvxFP.js → vue-ui-galaxy-BOqqpg7g.js} +10 -10
- package/dist/{vue-ui-gauge-Cz6PC_H5.js → vue-ui-gauge-C6gbloYZ.js} +7 -7
- package/dist/{vue-ui-geo-BmjzP6NK.js → vue-ui-geo-BMRhXP7L.js} +8 -8
- package/dist/{vue-ui-gizmo-BChwImvX.js → vue-ui-gizmo-DjnW3oDO.js} +4 -4
- package/dist/{vue-ui-heatmap-h0_V5jv6.js → vue-ui-heatmap-DyxHJCSO.js} +8 -8
- package/dist/{vue-ui-hill-D_2DFdNy.js → vue-ui-hill-C4osOxU0.js} +7 -7
- package/dist/{vue-ui-history-plot-Bis3f9Ub.js → vue-ui-history-plot-Cwi7sVNg.js} +9 -9
- package/dist/{vue-ui-horizontal-bar-2AOgQ694.js → vue-ui-horizontal-bar-CrgP4Bm8.js} +11 -11
- package/dist/{vue-ui-kpi-k0yLSsqF.js → vue-ui-kpi-is2_nVkE.js} +4 -4
- package/dist/{vue-ui-label-aHnVFvfK.js → vue-ui-label-BbX73tEX.js} +4 -4
- package/dist/{vue-ui-mini-loader-DUsSEO5b.js → vue-ui-mini-loader-DntLxOr0.js} +3 -3
- package/dist/{vue-ui-molecule--1J4__BY.js → vue-ui-molecule-CIY3r7HA.js} +6 -6
- package/dist/{vue-ui-mood-radar-BEruKK_i.js → vue-ui-mood-radar-CezYlJmD.js} +8 -8
- package/dist/{vue-ui-nested-donuts-MBeHoc-t.js → vue-ui-nested-donuts-CF7YdoRx.js} +10 -10
- package/dist/{vue-ui-onion-j0eEGvru.js → vue-ui-onion-Chk8CzSw.js} +10 -10
- package/dist/{vue-ui-parallel-coordinate-plot-BvuYSu3N.js → vue-ui-parallel-coordinate-plot-hKkob-cX.js} +10 -10
- package/dist/{vue-ui-quadrant-DWtwr7JT.js → vue-ui-quadrant-B3Wy4REJ.js} +10 -10
- package/dist/{vue-ui-quick-chart-vhICAvQe.js → vue-ui-quick-chart-rUvFKRs1.js} +8 -8
- package/dist/{vue-ui-radar-e9eoRxOC.js → vue-ui-radar-DA5EnHNt.js} +9 -9
- package/dist/{vue-ui-rating-WsMfVsJN.js → vue-ui-rating-DglGQ_DQ.js} +3 -3
- package/dist/{vue-ui-relation-circle-NgJ8121q.js → vue-ui-relation-circle-ta7aeXOK.js} +7 -7
- package/dist/{vue-ui-ridgeline-BZ1Czz8V.js → vue-ui-ridgeline-BDqNGJ20.js} +20 -13
- package/dist/{vue-ui-rings-grgJPuxE.js → vue-ui-rings-BbSBLvb4.js} +13 -13
- package/dist/{vue-ui-scatter-DuqZxbZD.js → vue-ui-scatter-DwgFHsYb.js} +10 -10
- package/dist/{vue-ui-skeleton-CnexlOV6.js → vue-ui-skeleton-UP0Bv65Q.js} +4 -4
- package/dist/{vue-ui-smiley-Bvs5RJtM.js → vue-ui-smiley-CmN35dmK.js} +3 -3
- package/dist/{vue-ui-spark-trend-C2knAS0F.js → vue-ui-spark-trend-BHC8GKeh.js} +4 -4
- package/dist/vue-ui-sparkbar-DG5Lx7L_.js +401 -0
- package/dist/{vue-ui-sparkgauge-CCkcq4Wh.js → vue-ui-sparkgauge-Budj4a8D.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B-fzheQo.js → vue-ui-sparkhistogram-EF6l_8DB.js} +5 -5
- package/dist/{vue-ui-sparkline-DVYlqELY.js → vue-ui-sparkline-Bt3WUBs7.js} +4 -4
- package/dist/vue-ui-sparkstackbar-zcc269TN.js +738 -0
- package/dist/{vue-ui-stackbar-CIUS0xkc.js → vue-ui-stackbar-RFBCfoIt.js} +612 -596
- package/dist/vue-ui-stackline-B2cHovb4.js +2463 -0
- package/dist/{vue-ui-strip-plot-Sshmlk9v.js → vue-ui-strip-plot-Cu-cVKCS.js} +8 -8
- package/dist/{vue-ui-table-DSUvcqI9.js → vue-ui-table-BukgLZ8K.js} +6 -6
- package/dist/{vue-ui-table-heatmap-btnDozZ-.js → vue-ui-table-heatmap-y9oWnS6t.js} +6 -6
- package/dist/{vue-ui-table-sparkline-C12IgrZG.js → vue-ui-table-sparkline-B4V_s9rK.js} +5 -5
- package/dist/{vue-ui-thermometer-3ZSPCE1q.js → vue-ui-thermometer-CqVDnPmF.js} +7 -7
- package/dist/{vue-ui-timer-Birf1RVz.js → vue-ui-timer-D2pn3RWL.js} +6 -6
- package/dist/{vue-ui-tiremarks-BuzKLW5l.js → vue-ui-tiremarks-BMIIhkaB.js} +7 -7
- package/dist/{vue-ui-treemap-DMwq5MYv.js → vue-ui-treemap-fFJPPf8-.js} +10 -10
- package/dist/{vue-ui-waffle-wjn4e1mz.js → vue-ui-waffle-B9TaBdel.js} +11 -11
- package/dist/{vue-ui-wheel-BS6f8xC-.js → vue-ui-wheel-BN-YBzNj.js} +7 -7
- package/dist/{vue-ui-word-cloud-BH1JB5hg.js → vue-ui-word-cloud-CZzUlZBc.js} +8 -8
- package/dist/{vue-ui-world-DtNML6Oz.js → vue-ui-world-C--4pHTs.js} +8 -8
- package/dist/{vue-ui-xy-DNvRGCN_.js → vue-ui-xy-16TcfetH.js} +47 -28
- package/dist/{vue-ui-xy-B9S7cAhC.js → vue-ui-xy-BTh5QolL.js} +31 -17
- package/dist/{vue-ui-xy-canvas-Hk0x8dd_.js → vue-ui-xy-canvas-BzbNRbft.js} +12 -12
- package/package.json +3 -3
- package/dist/vue-ui-sparkbar-Daxkni2h.js +0 -400
- package/dist/vue-ui-sparkstackbar-pip0BOeZ.js +0 -688
- package/dist/vue-ui-stackline-Dy4tIQwk.js +0 -2447
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { C as t, Ft as n, Xt as r, q as i } from "./lib-
|
|
2
|
+
import { C as t, Ft as n, Xt as r, q as i } from "./lib-DurLxjMz.js";
|
|
3
3
|
import { n as a, t as o } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as s } from "./useConfig-
|
|
5
|
-
import { t as ee } from "./usePrinter-
|
|
6
|
-
import { t as c } from "./dom-to-png-
|
|
4
|
+
import { t as s } from "./useConfig-CyCVHo81.js";
|
|
5
|
+
import { t as ee } from "./usePrinter-D53IAxB2.js";
|
|
6
|
+
import { t as c } from "./dom-to-png-CQUIoewh.js";
|
|
7
7
|
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
|
-
import { t as u } from "./BaseIcon-
|
|
9
|
-
import { t as te } from "./vue-ui-accordion-
|
|
10
|
-
import { t as ne } from "./ColorPicker-
|
|
8
|
+
import { t as u } from "./BaseIcon-Dmgd8MfJ.js";
|
|
9
|
+
import { t as te } from "./vue-ui-accordion-D2W-dY3E.js";
|
|
10
|
+
import { t as ne } from "./ColorPicker-B93_eq_J.js";
|
|
11
11
|
import { Fragment as re, Teleport as ie, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, nextTick as ae, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as oe, onMounted as se, openBlock as b, ref as x, renderList as ce, renderSlot as le, toDisplayString as S, unref as ue, vModelCheckbox as de, vModelText as fe, watch as pe, withCtx as C, withDirectives as me, withModifiers as he } from "vue";
|
|
12
12
|
//#region src/registerAnnotatorShortcuts.js
|
|
13
13
|
function ge(e) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { At as t, Nt as n, S as r, X as i, Xt as a, _ as ee, i as o, mt as te, nt as ne, q as re, t as ie } from "./lib-
|
|
2
|
+
import { At as t, Nt as n, S as r, X as i, Xt as a, _ as ee, i as o, mt as te, nt as ne, q as re, t as ie } from "./lib-DurLxjMz.js";
|
|
3
3
|
import { n as ae } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as oe } from "./useConfig-
|
|
5
|
-
import { t as se } from "./usePrinter-
|
|
4
|
+
import { t as oe } from "./useConfig-CyCVHo81.js";
|
|
5
|
+
import { t as se } from "./usePrinter-D53IAxB2.js";
|
|
6
6
|
import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as s } from "./useNestedProp-
|
|
7
|
+
import { t as s } from "./useNestedProp-B3XMQAL1.js";
|
|
8
8
|
import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as de } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as fe } from "./img-
|
|
11
|
-
import { n as pe } from "./Title-
|
|
10
|
+
import { t as fe } from "./img-D3Ck2d_T.js";
|
|
11
|
+
import { n as pe } from "./Title-y2KUSK-I.js";
|
|
12
12
|
import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as he, t as ge } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
15
|
import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
-
import { t as ye } from "./Legend-
|
|
16
|
+
import { t as ye } from "./Legend-Du6YK6gu.js";
|
|
17
17
|
import { t as be } from "./vue_ui_bullet-ClzdLoOv.js";
|
|
18
18
|
import { Fragment as c, Teleport as xe, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Se, createVNode as Ce, defineAsyncComponent as m, guardReactiveProps as h, normalizeClass as we, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Te, onMounted as Ee, openBlock as v, ref as y, renderList as b, renderSlot as x, toDisplayString as S, toRefs as De, unref as C, watch as Oe, withCtx as w } from "vue";
|
|
19
19
|
//#region src/components/vue-ui-bullet.vue
|
|
@@ -103,7 +103,7 @@ var ke = /* @__PURE__ */ e({ default: () => T }), Ae = ["id"], je = {
|
|
|
103
103
|
},
|
|
104
104
|
emits: ["copyAlt"],
|
|
105
105
|
setup(e, { expose: me, emit: ke }) {
|
|
106
|
-
let T = m(() => import("./PackageVersion-
|
|
106
|
+
let T = m(() => import("./PackageVersion-CU9Hflo-.js").then((e) => e.t)), Ze = m(() => import("./PenAndPaper-CD5tlFYh.js").then((e) => e.t)), Qe = m(() => import("./UserOptions-3Qr8es3g.js").then((e) => e.n)), { vue_ui_bullet: $e } = oe(), { isThemeValid: et, warnInvalidTheme: tt } = ue(), E = e, nt = ke, D = y(null), rt = y(null), it = y(0), O = y(null), at = y(null), ot = y(0), k = y(null), A = y(null), st = y(!1), j = l({
|
|
107
107
|
get: () => R.value.hasOwnProperty("value"),
|
|
108
108
|
set: (e) => e
|
|
109
109
|
}), M = y(I()), N = l(() => M.value.debug), P = l(() => R.value.segments ? Array.isArray(R.value.segments) ? R.value.segments.length ? !0 : (N.value && console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\n segments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n ]\n "), j.value = !1, !1) : (N.value && console.warn("VueUiBullet: dataset segments must be an array of objects with this datastructure:\n\n segments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n ] \n "), j.value = !1, !1) : (N.value && console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\n segments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n ]\n "), j.value = !1, !1)), ct = l(() => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, G as r, It as i, Jt as a, Nt as o, P as s, S as c, Tt as l, V as u, X as ee, Xt as te, c as ne, i as re, mt as ie, nt as ae, q as oe, r as se, t as ce, w as le } from "./lib-
|
|
2
|
+
import { $ as t, D as n, G as r, It as i, Jt as a, Nt as o, P as s, S as c, Tt as l, V as u, X as ee, Xt as te, c as ne, i as re, mt as ie, nt as ae, q as oe, r as se, t as ce, w as le } from "./lib-DurLxjMz.js";
|
|
3
3
|
import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as fe } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
|
-
import { t as pe } from "./useConfig-
|
|
6
|
-
import { t as me } from "./usePrinter-
|
|
5
|
+
import { t as pe } from "./useConfig-CyCVHo81.js";
|
|
6
|
+
import { t as me } from "./usePrinter-D53IAxB2.js";
|
|
7
7
|
import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
-
import { t as _e } from "./useNestedProp-
|
|
8
|
+
import { t as _e } from "./useNestedProp-B3XMQAL1.js";
|
|
9
9
|
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as ye } from "./useChartExport-iwOqiIWX.js";
|
|
11
11
|
import { t as be } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { n as xe } from "./Title-
|
|
12
|
+
import { n as xe } from "./Title-y2KUSK-I.js";
|
|
13
13
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as Te } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Ee } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as De } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
18
|
import { t as Oe } from "./vue_ui_bump-Vl-zYAtG.js";
|
|
19
|
-
import { t as ke } from "./BaseDraggableDialog-
|
|
19
|
+
import { t as ke } from "./BaseDraggableDialog-obpncsqR.js";
|
|
20
20
|
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ne, normalizeClass as Pe, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Fe, onMounted as Ie, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as T, toRefs as ze, unref as E, watch as Be, watchEffect as Ve, withCtx as D } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-bump.vue
|
|
22
22
|
var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
|
|
@@ -89,6 +89,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
89
89
|
"font-size",
|
|
90
90
|
"font-weight",
|
|
91
91
|
"fill",
|
|
92
|
+
"stroke",
|
|
92
93
|
"transform"
|
|
93
94
|
], at = [
|
|
94
95
|
"text-anchor",
|
|
@@ -127,14 +128,14 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
127
128
|
},
|
|
128
129
|
emits: ["copyAlt"],
|
|
129
130
|
setup(e, { expose: Se, emit: He }) {
|
|
130
|
-
let ct = _(() => import("./BaseIcon-
|
|
131
|
+
let ct = _(() => import("./BaseIcon-Dmgd8MfJ.js").then((e) => e.n)), lt = _(() => import("./vue-ui-accordion-D2W-dY3E.js").then((e) => e.n)), ut = _(() => import("./DataTable-D6vq6n14.js")), dt = _(() => import("./PenAndPaper-CD5tlFYh.js").then((e) => e.t)), ft = _(() => import("./UserOptions-3Qr8es3g.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-CU9Hflo-.js").then((e) => e.t)), { vue_ui_bump: mt } = pe(), { isThemeValid: ht, warnInvalidTheme: gt } = ve(), O = e, _t = He, k = f({
|
|
131
132
|
get() {
|
|
132
133
|
return !!O.dataset && O.dataset.length;
|
|
133
134
|
},
|
|
134
135
|
set(e) {
|
|
135
136
|
return e;
|
|
136
137
|
}
|
|
137
|
-
}),
|
|
138
|
+
}), A = S(null), j = S(oe()), vt = S(0), yt = S(null), bt = S(null), xt = S(null), St = S(!1), Ct = S(!1), wt = S(0), Tt = S(0), M = S(null), Et = S(null), Dt = S(!1), N = S(null), Ot = S(null), kt = S(null), At = S(null), P = S(null), jt = S(!1), F = S(It());
|
|
138
139
|
ue({
|
|
139
140
|
config: () => F.value,
|
|
140
141
|
dataset: () => O.dataset,
|
|
@@ -295,7 +296,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
295
296
|
Array.isArray(e) && e.length > 0 && (Ft.value = !1);
|
|
296
297
|
}, { deep: !0 });
|
|
297
298
|
let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } = me({
|
|
298
|
-
elementId: `bump_${
|
|
299
|
+
elementId: `bump_${j.value}`,
|
|
299
300
|
fileName: F.value.style.chart.title.text || "vue-ui-bump",
|
|
300
301
|
options: F.value.userOptions.print
|
|
301
302
|
}), Kt = f(() => F.value.userOptions.show && !F.value.style.chart.title.text), z = S({
|
|
@@ -318,7 +319,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
318
319
|
datasetObject: e,
|
|
319
320
|
requiredAttributes: ["name", "values"]
|
|
320
321
|
}).forEach((e) => {
|
|
321
|
-
|
|
322
|
+
k.value = !1, ae({
|
|
322
323
|
componentName: "VueUiBump",
|
|
323
324
|
type: "datasetSerieAttribute",
|
|
324
325
|
property: e,
|
|
@@ -332,12 +333,12 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
332
333
|
let e = Ce(() => {
|
|
333
334
|
Ct.value = !1;
|
|
334
335
|
let { width: e, height: t } = we({
|
|
335
|
-
chart:
|
|
336
|
-
noTitle:
|
|
337
|
-
title: F.value.style.chart.title.text ?
|
|
336
|
+
chart: A.value,
|
|
337
|
+
noTitle: bt.value,
|
|
338
|
+
title: F.value.style.chart.title.text ? yt.value : null,
|
|
338
339
|
legend: null,
|
|
339
340
|
slicer: null,
|
|
340
|
-
source:
|
|
341
|
+
source: xt.value
|
|
341
342
|
});
|
|
342
343
|
requestAnimationFrame(() => {
|
|
343
344
|
z.value.width = e, z.value.height = t - 12, clearTimeout(Jt.value), Jt.value = setTimeout(() => {
|
|
@@ -345,7 +346,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
345
346
|
}, 10);
|
|
346
347
|
});
|
|
347
348
|
});
|
|
348
|
-
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value =
|
|
349
|
+
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = A.value.parentNode, B.value.observe(V.value);
|
|
349
350
|
}
|
|
350
351
|
}
|
|
351
352
|
Fe(() => {
|
|
@@ -432,7 +433,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
432
433
|
svgHeight: ne
|
|
433
434
|
};
|
|
434
435
|
}), W = f(() => {
|
|
435
|
-
if (!
|
|
436
|
+
if (!k.value && !Nt.value) return [];
|
|
436
437
|
let e = Qt(Zt.value);
|
|
437
438
|
return Zt.value.map((t, n) => ({
|
|
438
439
|
...t,
|
|
@@ -538,13 +539,10 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
538
539
|
e === cn && (G.value = t);
|
|
539
540
|
})();
|
|
540
541
|
});
|
|
541
|
-
let
|
|
542
|
-
let e = F.value.style.chart.layout.timeLabels.modulo;
|
|
543
|
-
return G.value.length ? Math.min(e, [...new Set(G.value.map((e) => e.text))].length) : e;
|
|
544
|
-
}), K = f(() => {
|
|
542
|
+
let K = f(() => {
|
|
545
543
|
let e = F.value.style.chart.layout.timeLabels, t = G.value || [], n = G.value || [], r = H.value, i = t.map((e) => e?.text ?? ""), a = n.map((e) => e?.text ?? "");
|
|
546
|
-
return ne(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1,
|
|
547
|
-
}),
|
|
544
|
+
return ne(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Number(e.modulo) || 1), i, a, 0, null, r);
|
|
545
|
+
}), ln = f(() => z.value.width), un = f(() => z.value.height), dn = f(() => ({
|
|
548
546
|
start: 0,
|
|
549
547
|
end: H.value
|
|
550
548
|
})), q = f(() => [...W.value].map((e) => {
|
|
@@ -554,40 +552,40 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
554
552
|
navigationRank: t?.rank ?? Infinity
|
|
555
553
|
};
|
|
556
554
|
}).sort((e, t) => e.navigationRank - t.navigationRank));
|
|
557
|
-
function
|
|
555
|
+
function fn() {
|
|
558
556
|
P.value = null, jt.value = !0;
|
|
559
557
|
}
|
|
560
|
-
function
|
|
561
|
-
|
|
558
|
+
function pn() {
|
|
559
|
+
hn(), jt.value = !1;
|
|
562
560
|
}
|
|
563
|
-
function
|
|
561
|
+
function mn(e, t) {
|
|
564
562
|
let n = q.value.length;
|
|
565
563
|
return n ? e === null || e < 0 || e >= n ? 0 : t === "previous" ? (e - 1 + n) % n : (e + 1) % n : null;
|
|
566
564
|
}
|
|
567
|
-
function
|
|
565
|
+
function hn() {
|
|
568
566
|
if (P.value !== null) {
|
|
569
567
|
let e = q.value[P.value];
|
|
570
568
|
e && $(e, e);
|
|
571
569
|
}
|
|
572
570
|
P.value = null, N.value = null;
|
|
573
571
|
}
|
|
574
|
-
function
|
|
572
|
+
function gn(e) {
|
|
575
573
|
if (!L.value || Y.value || document.activeElement !== L.value || !q.value.length) return;
|
|
576
574
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
577
575
|
if (!t && !n && !r && !i) return;
|
|
578
576
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
579
|
-
|
|
577
|
+
hn();
|
|
580
578
|
return;
|
|
581
579
|
}
|
|
582
580
|
if (r) {
|
|
583
581
|
if (P.value === null) return;
|
|
584
582
|
let e = q.value[P.value];
|
|
585
583
|
if (!e) return;
|
|
586
|
-
|
|
584
|
+
An(e, e);
|
|
587
585
|
return;
|
|
588
586
|
}
|
|
589
587
|
let a = P.value;
|
|
590
|
-
a === null ? a = 0 : t ? a =
|
|
588
|
+
a === null ? a = 0 : t ? a = mn(a, "previous") : n && (a = mn(a, "next"));
|
|
591
589
|
let o = q.value[a];
|
|
592
590
|
o && (P.value = a, Q(o, o));
|
|
593
591
|
}
|
|
@@ -600,7 +598,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
600
598
|
be({
|
|
601
599
|
timeLabelsEls: At,
|
|
602
600
|
timeLabels: G,
|
|
603
|
-
slicer:
|
|
601
|
+
slicer: dn,
|
|
604
602
|
configRef: F,
|
|
605
603
|
rotationPath: [
|
|
606
604
|
"style",
|
|
@@ -618,30 +616,30 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
618
616
|
"enable"
|
|
619
617
|
],
|
|
620
618
|
isAutoSize: !1,
|
|
621
|
-
width:
|
|
622
|
-
height:
|
|
619
|
+
width: ln,
|
|
620
|
+
height: un,
|
|
623
621
|
rotation: F.value.style.chart.layout.timeLabels.autoRotate.angle
|
|
624
622
|
});
|
|
625
623
|
let Y = S(!1);
|
|
626
|
-
function
|
|
624
|
+
function _n() {
|
|
627
625
|
Y.value = !Y.value;
|
|
628
626
|
}
|
|
629
|
-
function
|
|
630
|
-
|
|
627
|
+
function vn(e) {
|
|
628
|
+
St.value = e, vt.value += 1;
|
|
631
629
|
}
|
|
632
|
-
function
|
|
630
|
+
function yn() {
|
|
633
631
|
R.value.showTable = !R.value.showTable;
|
|
634
632
|
}
|
|
635
633
|
Be(() => R.value.showTable, (e) => {
|
|
636
634
|
F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
637
635
|
});
|
|
638
|
-
function
|
|
636
|
+
function bn() {
|
|
639
637
|
R.value.showTable = !1, Et.value && Et.value.setTableIconState(!1);
|
|
640
638
|
}
|
|
641
|
-
function
|
|
639
|
+
function xn() {
|
|
642
640
|
return W.value;
|
|
643
641
|
}
|
|
644
|
-
function
|
|
642
|
+
function Sn(e = null) {
|
|
645
643
|
let r = [
|
|
646
644
|
[F.value.style.chart.title.text],
|
|
647
645
|
[F.value.style.chart.title.subtitle.text],
|
|
@@ -666,8 +664,8 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
666
664
|
color: F.value.table.th.color,
|
|
667
665
|
headerColor: F.value.table.th.color,
|
|
668
666
|
headerBg: F.value.table.th.backgroundColor,
|
|
669
|
-
isFullscreen:
|
|
670
|
-
fullscreenParent:
|
|
667
|
+
isFullscreen: St.value,
|
|
668
|
+
fullscreenParent: A.value,
|
|
671
669
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
672
670
|
isCursorPointer: I.value
|
|
673
671
|
} : {
|
|
@@ -703,19 +701,19 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
703
701
|
breakpoint: F.value.table.responsiveBreakpoint
|
|
704
702
|
},
|
|
705
703
|
colNames: [F.value.table.columnNames.series]
|
|
706
|
-
})),
|
|
704
|
+
})), Cn = f(() => F.value.style.chart.backgroundColor), wn = f(() => F.value.style.chart.title), { isCallbackImaging: Tn, isCallbackSvg: En, generateSvg: Dn, onGenerateImage: On } = ye({
|
|
707
705
|
svg: L,
|
|
708
|
-
title:
|
|
706
|
+
title: wn,
|
|
709
707
|
legend: null,
|
|
710
708
|
legendItems: null,
|
|
711
|
-
backgroundColor:
|
|
709
|
+
backgroundColor: Cn,
|
|
712
710
|
getSvgCallback: () => F.value.userOptions.callbacks.svg,
|
|
713
711
|
generateImage: Gt
|
|
714
712
|
});
|
|
715
|
-
async function
|
|
716
|
-
if (!
|
|
717
|
-
let { width: t, height: n } =
|
|
718
|
-
domElement:
|
|
713
|
+
async function kn({ scale: e = 2 } = {}) {
|
|
714
|
+
if (!A.value) return;
|
|
715
|
+
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
|
|
716
|
+
domElement: A.value,
|
|
719
717
|
base64: !0,
|
|
720
718
|
img: !0,
|
|
721
719
|
scale: e
|
|
@@ -741,13 +739,13 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
741
739
|
seriesIndex: e?.pointIndex ?? null
|
|
742
740
|
});
|
|
743
741
|
}
|
|
744
|
-
function
|
|
742
|
+
function An(e, t) {
|
|
745
743
|
F.value.events.datapointClick && F.value.events.datapointClick({
|
|
746
744
|
datapoint: e,
|
|
747
745
|
seriesIndex: e?.pointIndex ?? null
|
|
748
746
|
});
|
|
749
747
|
}
|
|
750
|
-
async function
|
|
748
|
+
async function jn() {
|
|
751
749
|
if (_t("copyAlt", {
|
|
752
750
|
config: F.value,
|
|
753
751
|
dataset: W.value
|
|
@@ -761,36 +759,36 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
761
759
|
}));
|
|
762
760
|
}
|
|
763
761
|
return Se({
|
|
764
|
-
getData:
|
|
765
|
-
getImage:
|
|
762
|
+
getData: xn,
|
|
763
|
+
getImage: kn,
|
|
766
764
|
generatePdf: Wt,
|
|
767
|
-
generateCsv:
|
|
765
|
+
generateCsv: Sn,
|
|
768
766
|
generateImage: Gt,
|
|
769
|
-
generateSvg:
|
|
770
|
-
toggleTable:
|
|
771
|
-
toggleAnnotator:
|
|
772
|
-
toggleFullscreen:
|
|
773
|
-
copyAlt:
|
|
767
|
+
generateSvg: Dn,
|
|
768
|
+
toggleTable: yn,
|
|
769
|
+
toggleAnnotator: _n,
|
|
770
|
+
toggleFullscreen: vn,
|
|
771
|
+
copyAlt: jn
|
|
774
772
|
}), (e, t) => (x(), h("div", {
|
|
775
|
-
id: `bump_${
|
|
773
|
+
id: `bump_${j.value}`,
|
|
776
774
|
ref_key: "bumpChart",
|
|
777
|
-
ref:
|
|
775
|
+
ref: A,
|
|
778
776
|
class: Pe({
|
|
779
777
|
"vue-data-ui-component": !0,
|
|
780
778
|
"vue-ui-bump": !0,
|
|
781
|
-
"vue-data-ui-wrapper-fullscreen":
|
|
779
|
+
"vue-data-ui-wrapper-fullscreen": St.value
|
|
782
780
|
}),
|
|
783
781
|
style: b(`background:${F.value.style.chart.backgroundColor};color:${F.value.style.chart.color};font-family:${F.value.style.fontFamily}; position: relative; ${F.value.responsive ? "height: 100%" : ""}`),
|
|
784
782
|
onMouseenter: Bt,
|
|
785
783
|
onMouseleave: Vt
|
|
786
784
|
}, [
|
|
787
785
|
g("p", {
|
|
788
|
-
id: `chart-instructions-${
|
|
786
|
+
id: `chart-instructions-${j.value}`,
|
|
789
787
|
class: "sr-only"
|
|
790
788
|
}, T(F.value.a11y.translations.keyboardNavigation), 9, We),
|
|
791
789
|
J.value.body.length ? (x(), p(Te, {
|
|
792
790
|
key: 0,
|
|
793
|
-
uid:
|
|
791
|
+
uid: j.value,
|
|
794
792
|
head: J.value.head,
|
|
795
793
|
body: J.value.body,
|
|
796
794
|
caption: J.value.caption,
|
|
@@ -809,7 +807,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
809
807
|
color: F.value.style.chart.color,
|
|
810
808
|
active: Y.value,
|
|
811
809
|
isCursorPointer: I.value,
|
|
812
|
-
onClose:
|
|
810
|
+
onClose: _n
|
|
813
811
|
}, {
|
|
814
812
|
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
815
813
|
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
|
|
@@ -829,14 +827,14 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
829
827
|
Kt.value ? (x(), h("div", {
|
|
830
828
|
key: 2,
|
|
831
829
|
ref_key: "noTitle",
|
|
832
|
-
ref:
|
|
830
|
+
ref: bt,
|
|
833
831
|
class: "vue-data-ui-no-title-space",
|
|
834
832
|
style: "height:36px; width: 100%;background:transparent"
|
|
835
833
|
}, null, 512)) : m("", !0),
|
|
836
834
|
F.value.style.chart.title.text ? (x(), h("div", {
|
|
837
835
|
key: 3,
|
|
838
836
|
ref_key: "chartTitle",
|
|
839
|
-
ref:
|
|
837
|
+
ref: yt,
|
|
840
838
|
style: "width:100%;background:transparent;"
|
|
841
839
|
}, [(x(), p(xe, {
|
|
842
840
|
key: `title_${wt.value}`,
|
|
@@ -851,15 +849,15 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
851
849
|
}
|
|
852
850
|
}
|
|
853
851
|
}, null, 8, ["config"]))], 512)) : m("", !0),
|
|
854
|
-
F.value.userOptions.show &&
|
|
852
|
+
F.value.userOptions.show && k.value && (E(zt) || E(Lt)) ? (x(), p(E(ft), {
|
|
855
853
|
ref_key: "userOptionsRef",
|
|
856
854
|
ref: Et,
|
|
857
|
-
key: `user_option_${
|
|
855
|
+
key: `user_option_${vt.value}`,
|
|
858
856
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
859
857
|
color: F.value.style.chart.color,
|
|
860
858
|
isPrinting: E(Ht),
|
|
861
859
|
isImaging: E(Ut),
|
|
862
|
-
uid:
|
|
860
|
+
uid: j.value,
|
|
863
861
|
hasTooltip: !1,
|
|
864
862
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
865
863
|
hasImg: F.value.userOptions.buttons.img,
|
|
@@ -869,8 +867,8 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
869
867
|
hasLabel: !1,
|
|
870
868
|
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
871
869
|
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
872
|
-
isFullcreen:
|
|
873
|
-
chartElement:
|
|
870
|
+
isFullcreen: St.value,
|
|
871
|
+
chartElement: A.value,
|
|
874
872
|
position: F.value.userOptions.position,
|
|
875
873
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
876
874
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
@@ -879,14 +877,14 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
879
877
|
printScale: F.value.userOptions.print.scale,
|
|
880
878
|
tableDialog: F.value.table.useDialog,
|
|
881
879
|
isCursorPointer: I.value,
|
|
882
|
-
onToggleFullscreen:
|
|
880
|
+
onToggleFullscreen: vn,
|
|
883
881
|
onGeneratePdf: E(Wt),
|
|
884
|
-
onGenerateCsv:
|
|
885
|
-
onGenerateImage: E(
|
|
886
|
-
onGenerateSvg: E(
|
|
887
|
-
onToggleTable:
|
|
888
|
-
onToggleAnnotator:
|
|
889
|
-
onCopyAlt:
|
|
882
|
+
onGenerateCsv: Sn,
|
|
883
|
+
onGenerateImage: E(On),
|
|
884
|
+
onGenerateSvg: E(Dn),
|
|
885
|
+
onToggleTable: yn,
|
|
886
|
+
onToggleAnnotator: _n,
|
|
887
|
+
onCopyAlt: jn,
|
|
890
888
|
style: b({ visibility: E(zt) ? E(Lt) ? "visible" : "hidden" : "visible" })
|
|
891
889
|
}, Ae({ _: 2 }, [
|
|
892
890
|
e.$slots.menuIcon ? {
|
|
@@ -958,7 +956,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
958
956
|
ref_key: "svgRef",
|
|
959
957
|
ref: L,
|
|
960
958
|
xmlns: E(ce),
|
|
961
|
-
"aria-describedby": `chart-instructions-${
|
|
959
|
+
"aria-describedby": `chart-instructions-${j.value}`,
|
|
962
960
|
viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.svgHeight <= 0 ? 10 : U.value.svgHeight}`,
|
|
963
961
|
class: Pe({
|
|
964
962
|
"vue-data-ui-loading": E(Nt),
|
|
@@ -969,9 +967,9 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
969
967
|
"aria-live": "polite",
|
|
970
968
|
preserveAspectRatio: "xMidYMid",
|
|
971
969
|
tabindex: "0",
|
|
972
|
-
onFocus:
|
|
973
|
-
onBlur:
|
|
974
|
-
onKeydown:
|
|
970
|
+
onFocus: fn,
|
|
971
|
+
onBlur: pn,
|
|
972
|
+
onKeydown: gn
|
|
975
973
|
}, [
|
|
976
974
|
Me(E(pt)),
|
|
977
975
|
e.$slots["chart-background"] ? (x(), h("foreignObject", {
|
|
@@ -1004,7 +1002,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1004
1002
|
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1005
1003
|
onMouseenter: (t) => Q(e, e),
|
|
1006
1004
|
onMouseleave: (t) => $(e, e),
|
|
1007
|
-
onClick: (t) =>
|
|
1005
|
+
onClick: (t) => An(e, e)
|
|
1008
1006
|
}, null, 44, Ye)], 64))), 256)),
|
|
1009
1007
|
(x(!0), h(d, null, C(W.value, (t) => (x(), h(d, null, [
|
|
1010
1008
|
F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (x(!0), h(d, { key: 0 }, C(t.coordinates, (e, n) => (x(), h("circle", {
|
|
@@ -1097,7 +1095,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1097
1095
|
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1098
1096
|
onMouseenter: (t) => Q(e, e),
|
|
1099
1097
|
onMouseleave: (t) => $(e, e),
|
|
1100
|
-
onClick: (t) =>
|
|
1098
|
+
onClick: (t) => An(e, e)
|
|
1101
1099
|
}, null, 44, et))), 256))], 512)) : m("", !0),
|
|
1102
1100
|
F.value.style.chart.layout.nameLabels.rightLabels.show ? (x(), h("g", {
|
|
1103
1101
|
key: 2,
|
|
@@ -1122,7 +1120,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1122
1120
|
style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1123
1121
|
onMouseenter: (t) => Q(e, e),
|
|
1124
1122
|
onMouseleave: (t) => $(e, e),
|
|
1125
|
-
onClick: (t) =>
|
|
1123
|
+
onClick: (t) => An(e, e)
|
|
1126
1124
|
}, null, 44, tt))), 256))], 512)) : m("", !0),
|
|
1127
1125
|
F.value.style.chart.layout.timeLabels.show ? (x(), h("g", {
|
|
1128
1126
|
key: 3,
|
|
@@ -1154,6 +1152,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1154
1152
|
content: String(e.text),
|
|
1155
1153
|
fontSize: F.value.style.chart.layout.timeLabels.fontSize,
|
|
1156
1154
|
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1155
|
+
stroke: F.value.style.chart.backgroundColor,
|
|
1157
1156
|
x: 0,
|
|
1158
1157
|
y: 0
|
|
1159
1158
|
})
|
|
@@ -1164,23 +1163,28 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1164
1163
|
"font-size": F.value.style.chart.layout.timeLabels.fontSize,
|
|
1165
1164
|
"font-weight": F.value.style.chart.layout.timeLabels.bold ? "bold" : "normal",
|
|
1166
1165
|
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1166
|
+
stroke: F.value.style.chart.backgroundColor,
|
|
1167
|
+
"stroke-width": "3",
|
|
1168
|
+
"stroke-linejoin": "round",
|
|
1169
|
+
"stroke-linecap": "round",
|
|
1170
|
+
"paint-order": "stroke fill",
|
|
1167
1171
|
transform: `translate(${U.value.unitW * t + U.value.unitW / 2 + U.value.left}, ${U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY}), rotate(${F.value.style.chart.layout.timeLabels.rotation})`
|
|
1168
1172
|
}, T(e.text), 9, it))]))), 256))]))], 512)) : m("", !0),
|
|
1169
1173
|
w(e.$slots, "svg", { svg: {
|
|
1170
1174
|
drawingArea: U.value,
|
|
1171
1175
|
data: W.value,
|
|
1172
|
-
isPrintingImg: E(Ht) || E(Ut) || E(
|
|
1173
|
-
isPrintingSvg: E(
|
|
1176
|
+
isPrintingImg: E(Ht) || E(Ut) || E(Tn),
|
|
1177
|
+
isPrintingSvg: E(En)
|
|
1174
1178
|
} }, void 0, !0)
|
|
1175
1179
|
], 46, Ke)), e.$slots.hint ? (x(), h("div", ot, [w(e.$slots, "hint", y(v({
|
|
1176
1180
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1177
1181
|
isVisible: jt.value
|
|
1178
1182
|
})), void 0, !0)])) : m("", !0)]),
|
|
1179
|
-
e.$slots.watermark ? (x(), h("div", st, [w(e.$slots, "watermark", y(v({ isPrinting: E(Ht) || E(Ut) || E(
|
|
1180
|
-
|
|
1183
|
+
e.$slots.watermark ? (x(), h("div", st, [w(e.$slots, "watermark", y(v({ isPrinting: E(Ht) || E(Ut) || E(Tn) || E(En) })), void 0, !0)])) : m("", !0),
|
|
1184
|
+
k.value && F.value.userOptions.buttons.table ? (x(), p(Le(X.value.component), Ne({ key: 6 }, X.value.props, {
|
|
1181
1185
|
ref_key: "tableUnit",
|
|
1182
1186
|
ref: M,
|
|
1183
|
-
onClose:
|
|
1187
|
+
onClose: bn
|
|
1184
1188
|
}), Ae({
|
|
1185
1189
|
content: D(() => [Me(E(ut), {
|
|
1186
1190
|
colNames: Z.value.colNames,
|
|
@@ -1190,7 +1194,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1190
1194
|
title: F.value.table.useDialog ? "" : X.value.title,
|
|
1191
1195
|
withCloseButton: !F.value.table.useDialog,
|
|
1192
1196
|
isCursorPointer: I.value,
|
|
1193
|
-
onClose:
|
|
1197
|
+
onClose: bn
|
|
1194
1198
|
}, {
|
|
1195
1199
|
th: D(({ th: e }) => [g("div", null, T(e), 1)]),
|
|
1196
1200
|
td: D(({ td: e }) => [je(T(e), 1)]),
|
|
@@ -1214,7 +1218,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1214
1218
|
fn: D(() => [g("button", {
|
|
1215
1219
|
tabindex: "0",
|
|
1216
1220
|
class: "vue-ui-user-options-button",
|
|
1217
|
-
onClick: t[1] ||= (e) =>
|
|
1221
|
+
onClick: t[1] ||= (e) => Sn(F.value.userOptions.callbacks.csv),
|
|
1218
1222
|
style: b({ cursor: I.value ? "pointer" : "default" })
|
|
1219
1223
|
}, [Me(E(ct), {
|
|
1220
1224
|
name: "fileCsv",
|
|
@@ -1225,12 +1229,12 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1225
1229
|
e.$slots.source ? (x(), h("div", {
|
|
1226
1230
|
key: 7,
|
|
1227
1231
|
ref_key: "source",
|
|
1228
|
-
ref:
|
|
1232
|
+
ref: xt,
|
|
1229
1233
|
dir: "auto"
|
|
1230
1234
|
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1231
1235
|
w(e.$slots, "skeleton", {}, () => [E(Nt) ? (x(), p(ge, { key: 0 })) : m("", !0)], !0)
|
|
1232
1236
|
], 46, Ue));
|
|
1233
1237
|
}
|
|
1234
|
-
}, [["__scopeId", "data-v-
|
|
1238
|
+
}, [["__scopeId", "data-v-744eabfb"]]);
|
|
1235
1239
|
//#endregion
|
|
1236
1240
|
export { He as n, ct as t };
|