vue-data-ui 3.22.10 → 3.22.11
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-Ku6rQ87g.js → Arrow-DKx74WtM.js} +1 -1
- package/dist/{BaseDraggableDialog-CdkCqtag.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
- package/dist/{BaseIcon-CDTIUIKV.js → BaseIcon-CP5RWnqt.js} +1 -1
- package/dist/{BaseLegendToggle-BrQ2OlzI.js → BaseLegendToggle-DsWphmIb.js} +1 -1
- package/dist/{BaseZoomControls-CkEX0292.js → BaseZoomControls-C9_ygNN4.js} +2 -2
- package/dist/{ColorPicker-C959ZIW9.js → ColorPicker-3N_HVgXs.js} +2 -2
- package/dist/{DataTable-ByZy5gt1.js → DataTable-DzPEVvSo.js} +2 -2
- package/dist/{Legend-5VQGLnmx.js → Legend-C0xAnJdO.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Bd8OzTqw.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
- package/dist/{PackageVersion-BoTvk0i5.js → PackageVersion-1MNr72Bz.js} +1 -1
- package/dist/{PenAndPaper-CLaZJl6K.js → PenAndPaper-CSMVXpg2.js} +3 -3
- package/dist/{Shape-B5ksaGa1.js → Shape-BfnXr1nJ.js} +1 -1
- package/dist/Slicer-C6qNUmZ4.js +1149 -0
- package/dist/SlicerPreview-BIdvqU32.js +1689 -0
- package/dist/{SparkTooltip-CbYYc-xb.js → SparkTooltip-uoUiL_P8.js} +1 -1
- package/dist/{Title-Cr3jP7Qd.js → Title-BuPs74IB.js} +1 -1
- package/dist/{Tooltip-CDbLl3TD.js → Tooltip-CA1rtSyl.js} +1 -1
- package/dist/{UserOptions-BUQOnoPR.js → UserOptions-B69xBEVP.js} +6 -5
- 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-COPbGrdd.js → dom-to-png-BdAFKZQg.js} +1 -1
- package/dist/{exposedLib-CZbtc2a6.js → exposedLib-Ciw6TGtP.js} +1 -1
- package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
- package/dist/{img-CNdXiUfZ.js → img-Bikk1dGb.js} +1 -1
- package/dist/{labelUtils-JaoYKi2N.js → labelUtils-BUhssos9.js} +1 -1
- package/dist/{lib-CnHx5WfV.js → lib-CFm_J26b.js} +3 -3
- package/dist/{package-BRBLwZUc.js → package-Bf-Nk9qU.js} +1 -1
- package/dist/{pdf-CEMzBeuV.js → pdf-zmz3l2uy.js} +1 -1
- package/dist/{render-common-DJXFRGhU.js → render-common-DEb-WjM1.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 +1 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BUPt2iaP.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
- package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
- package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
- package/dist/{useNestedProp-D8NuRneO.js → useNestedProp-BY6DNN3i.js} +1 -1
- package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
- package/dist/{usePrinter-B-X_Pub0.js → usePrinter-BH-xle1O.js} +2 -2
- package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
- package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
- package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
- package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-Bx_8d3b_.js → vue-data-ui-Bme9usjG.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/{vue-ui-3d-bar-CfUfbpSE.js → vue-ui-3d-bar-Ds1BPxqb.js} +9 -10
- package/dist/{vue-ui-accordion-Oo3IsX3-.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
- package/dist/{vue-ui-age-pyramid-DD-4y5Jd.js → vue-ui-age-pyramid-CNCrH8Kd.js} +9 -10
- package/dist/{vue-ui-annotator-BvGE3lzE.js → vue-ui-annotator-BfZ8RTzJ.js} +15 -9
- package/dist/{vue-ui-bullet-DYOdbaO2.js → vue-ui-bullet-DscMmM2b.js} +10 -11
- package/dist/{vue-ui-bump-B8fJoxHF.js → vue-ui-bump-BvwU1_-N.js} +10 -11
- package/dist/{vue-ui-candlestick-BUP1JoNs.js → vue-ui-candlestick-Cp6r8ktf.js} +13 -13
- package/dist/{vue-ui-carousel-table-D-Bwhydt.js → vue-ui-carousel-table-CbtccW1g.js} +5 -5
- package/dist/{vue-ui-chestnut-C2VK2NEx.js → vue-ui-chestnut-C3Hmf1-m.js} +11 -11
- package/dist/{vue-ui-chord-AA-QjUQI.js → vue-ui-chord-DJk9j45J.js} +11 -12
- package/dist/{vue-ui-circle-pack-CdBFGYOK.js → vue-ui-circle-pack-CJe2wETT.js} +19 -20
- package/dist/{vue-ui-cursor-Cm_J_5Gk.js → vue-ui-cursor-BAi9omna.js} +4 -4
- package/dist/{vue-ui-dag-CgRph4-n.js → vue-ui-dag-D7BEbS71.js} +16 -14
- package/dist/{vue-ui-dashboard-BuPw5QjB.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
- package/dist/{vue-ui-digits-ClrukmcB.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
- package/dist/{vue-ui-donut-DtQCrMKL.js → vue-ui-donut-BUX4ybT6.js} +3 -3
- package/dist/{vue-ui-donut-evolution-DHkiY-BD.js → vue-ui-donut-evolution-MWDjQPQ5.js} +13 -14
- package/dist/{vue-ui-donut-Bc-EPZvu.js → vue-ui-donut-jXRV-3ON.js} +17 -18
- package/dist/{vue-ui-dumbbell-BlHEH4Mw.js → vue-ui-dumbbell-CnwsHaIy.js} +13 -13
- package/dist/{vue-ui-flow-PjwAW2tY.js → vue-ui-flow-CKXGk4Lm.js} +10 -11
- package/dist/{vue-ui-funnel-DojI09FV.js → vue-ui-funnel-CJwD7s7e.js} +9 -10
- package/dist/{vue-ui-galaxy-txYIK_LG.js → vue-ui-galaxy-DL85_SWR.js} +12 -13
- package/dist/{vue-ui-gauge-CoL0OzSd.js → vue-ui-gauge-Dkx-aUQr.js} +10 -11
- package/dist/{vue-ui-geo-yuL-_sqF.js → vue-ui-geo-fkLF1rHB.js} +15 -14
- package/dist/{vue-ui-gizmo-CbC5zV3K.js → vue-ui-gizmo-S8w_p769.js} +4 -4
- package/dist/{vue-ui-heatmap-CwqsZIsR.js → vue-ui-heatmap-Dopkbn2N.js} +12 -13
- package/dist/{vue-ui-history-plot-CuWssH-D.js → vue-ui-history-plot-DDYpEapS.js} +11 -12
- package/dist/{vue-ui-horizontal-bar-Dyje3GND.js → vue-ui-horizontal-bar-Bi8WvKeD.js} +17 -17
- package/dist/{vue-ui-kpi-BdYenScF.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
- package/dist/{vue-ui-mini-loader-BbwE3vBT.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
- package/dist/{vue-ui-molecule-BBh31vmd.js → vue-ui-molecule-CBTgGZ-s.js} +9 -8
- package/dist/{vue-ui-mood-radar-B_6GFlaR.js → vue-ui-mood-radar-CF83PcCx.js} +10 -11
- package/dist/{vue-ui-nested-donuts-BWq-At5Y.js → vue-ui-nested-donuts-D5dO-Uyg.js} +12 -13
- package/dist/{vue-ui-onion-BwGbSE-6.js → vue-ui-onion-BxjaQKo8.js} +13 -14
- package/dist/{vue-ui-parallel-coordinate-plot-Bh9hNoqf.js → vue-ui-parallel-coordinate-plot-Dz6ozRAM.js} +12 -13
- package/dist/{vue-ui-quadrant-B72Y4Zuw.js → vue-ui-quadrant-Bnxpa6m5.js} +19 -18
- package/dist/{vue-ui-quick-chart-B3LF2ViM.js → vue-ui-quick-chart-CAE0-NYj.js} +11 -12
- package/dist/{vue-ui-radar-4v_E8oGX.js → vue-ui-radar-O4BhBOyp.js} +12 -13
- package/dist/{vue-ui-rating-CzLGCFWK.js → vue-ui-rating-DbxK-ftN.js} +3 -3
- package/dist/{vue-ui-relation-circle-B_8dyIv2.js → vue-ui-relation-circle-BZ0Xf-Nc.js} +10 -11
- package/dist/{vue-ui-ridgeline-BArLhskj.js → vue-ui-ridgeline-DHVTPiM6.js} +13 -14
- package/dist/{vue-ui-rings-Csn5BgLk.js → vue-ui-rings-DAfY1V--.js} +13 -14
- package/dist/{vue-ui-scatter-BBaOx94M.js → vue-ui-scatter-Cb63SWJT.js} +13 -14
- package/dist/{vue-ui-skeleton-KeIPGp9U.js → vue-ui-skeleton-DoIqQtIV.js} +4 -4
- package/dist/{vue-ui-smiley-C1mYDh4R.js → vue-ui-smiley-Da2jgkb7.js} +3 -3
- package/dist/{vue-ui-spark-trend-EqCqmHmU.js → vue-ui-spark-trend-Db-FsXch.js} +6 -7
- package/dist/{vue-ui-sparkbar-BPh45vBP.js → vue-ui-sparkbar-Ce55FP_3.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CtouPcyW.js → vue-ui-sparkgauge-hB59dXm7.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-D4sI0DHN.js → vue-ui-sparkhistogram-DjnaStBw.js} +7 -8
- package/dist/{vue-ui-sparkline-BDFZ78Fz.js → vue-ui-sparkline-D1dyhLvG.js} +6 -7
- package/dist/{vue-ui-sparkstackbar-CbTXIfxm.js → vue-ui-sparkstackbar-BhOBFjts.js} +5 -5
- package/dist/{vue-ui-stackbar-nMXIY9x8.js → vue-ui-stackbar-BZKw8WYn.js} +25 -24
- package/dist/{vue-ui-stackline-CzfXl5ah.js → vue-ui-stackline-DLFNVbAz.js} +25 -25
- package/dist/{vue-ui-strip-plot-BCf5nthl.js → vue-ui-strip-plot-DyN2WELD.js} +10 -11
- package/dist/{vue-ui-table-BAKkFXki.js → vue-ui-table-DL_R4ppI.js} +12 -11
- package/dist/{vue-ui-table-heatmap-CUMxqHKK.js → vue-ui-table-heatmap-C9gF__Np.js} +6 -6
- package/dist/{vue-ui-table-sparkline-BVTm16fd.js → vue-ui-table-sparkline-CT-0w9-a.js} +10 -8
- package/dist/{vue-ui-thermometer-CGeEW1KV.js → vue-ui-thermometer-MP0dliC3.js} +10 -11
- package/dist/{vue-ui-timer-Bz7EnsM1.js → vue-ui-timer-B5S-6Da4.js} +7 -8
- package/dist/{vue-ui-tiremarks-IOqtk_Rr.js → vue-ui-tiremarks-DcJiLDsm.js} +9 -10
- package/dist/{vue-ui-treemap-JxNNtb7v.js → vue-ui-treemap-CjldCPnX.js} +501 -489
- package/dist/{vue-ui-waffle-D34mcJWi.js → vue-ui-waffle-dZM-9z1J.js} +13 -14
- package/dist/{vue-ui-wheel-B_qEhyvk.js → vue-ui-wheel-or7a6-Ce.js} +10 -11
- package/dist/{vue-ui-word-cloud-TtObhd91.js → vue-ui-word-cloud-8BwQ0cuB.js} +15 -12
- package/dist/{vue-ui-world-R9o00A6c.js → vue-ui-world-Q0KZb7A_.js} +10 -10
- package/dist/{vue-ui-xy-Do34-UbE.js → vue-ui-xy-4uzwZJcj.js} +9 -9
- package/dist/{vue-ui-xy-CUt6sU1s.js → vue-ui-xy-DZIs53tH.js} +38 -30
- package/dist/{vue-ui-xy-canvas-C6eRRH--.js → vue-ui-xy-canvas-Dz9aii7f.js} +27 -27
- package/package.json +2 -2
- package/dist/Slicer-WsWTQPKt.js +0 -1150
- package/dist/SlicerPreview-3n516NyE.js +0 -1688
- package/dist/useResponsive-BfnK0KxU.js +0 -19
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { At as t, Bt as n, C as r, E as i, Gt as a, K as o, Nt as s, Q as ee, Y as c, bt as te, et as ne, ft as re, i as ie, n as ae, qt as oe, r as se, st as ce, t as le, x as ue, zt as de } from "./lib-
|
|
3
|
-
import { t as fe } from "./useConfig-
|
|
4
|
-
import { t as pe } from "./usePrinter-
|
|
2
|
+
import { At as t, Bt as n, C as r, E as i, Gt as a, K as o, Nt as s, Q as ee, Y as c, bt as te, et as ne, ft as re, i as ie, n as ae, qt as oe, r as se, st as ce, t as le, x as ue, zt as de } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { t as fe } from "./useConfig-C0V0eG7L.js";
|
|
4
|
+
import { t as pe } from "./usePrinter-BH-xle1O.js";
|
|
5
5
|
import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as ge } from "./useSvgExport-
|
|
7
|
-
import { t as _e } from "./useNestedProp-
|
|
6
|
+
import { t as ge } from "./useSvgExport-Ba9qBr9M.js";
|
|
7
|
+
import { t as _e } from "./useNestedProp-BY6DNN3i.js";
|
|
8
8
|
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as ye } from "./img-
|
|
10
|
-
import { n as be } from "./Title-
|
|
11
|
-
import { t as xe } from "./Shape-
|
|
9
|
+
import { t as ye } from "./img-Bikk1dGb.js";
|
|
10
|
+
import { n as be } from "./Title-BuPs74IB.js";
|
|
11
|
+
import { t as xe } from "./Shape-BfnXr1nJ.js";
|
|
12
12
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
-
import {
|
|
14
|
-
import { t as we } from "./useResponsive-BfnK0KxU.js";
|
|
13
|
+
import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
|
|
15
14
|
import { t as Te } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
-
import { t as Ee } from "./BaseLegendToggle-
|
|
15
|
+
import { t as Ee } from "./BaseLegendToggle-DsWphmIb.js";
|
|
17
16
|
import { t as De } from "./A11yDataTable-DdRsVULz.js";
|
|
18
17
|
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
18
|
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Ae } from "./labelUtils-
|
|
21
|
-
import { t as je } from "./Legend-
|
|
19
|
+
import { t as Ae } from "./labelUtils-BUhssos9.js";
|
|
20
|
+
import { t as je } from "./Legend-C0xAnJdO.js";
|
|
22
21
|
import { t as Me } from "./vue_ui_waffle-DIARFc7g.js";
|
|
23
22
|
import { Fragment as l, Teleport as Ne, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Le, nextTick as Re, normalizeClass as ze, normalizeProps as _, normalizeStyle as Be, onBeforeUnmount as Ve, onMounted as He, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as Ue, shallowRef as We, toDisplayString as S, toRefs as Ge, unref as C, useSlots as Ke, watch as w, withCtx as T } from "vue";
|
|
24
23
|
//#region src/components/vue-ui-waffle.vue
|
|
@@ -104,7 +103,7 @@ var qe = /* @__PURE__ */ e({ default: () => mt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
104
103
|
},
|
|
105
104
|
emits: ["selectLegend", "copyAlt"],
|
|
106
105
|
setup(e, { expose: Se, emit: qe }) {
|
|
107
|
-
let mt = h(() => import("./Tooltip-
|
|
106
|
+
let mt = h(() => import("./Tooltip-CA1rtSyl.js")), ht = h(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), gt = h(() => import("./DataTable-DzPEVvSo.js")), _t = h(() => import("./vue-ui-accordion-nNxnZTg9.js").then((e) => e.n)), vt = h(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), yt = h(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), bt = h(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), xt = h(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_waffle: St } = fe(), { isThemeValid: Ct, warnInvalidTheme: wt } = ve(), E = e, Tt = Ke(), Et = u({
|
|
108
107
|
get() {
|
|
109
108
|
return !!E.dataset && E.dataset.length;
|
|
110
109
|
},
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { At as t, Bt as n, Dt as r, K as i, Ot as a, Y as o, et as s, i as c, qt as l, t as u, y as d } from "./lib-
|
|
3
|
-
import { t as f } from "./useConfig-
|
|
4
|
-
import { t as p } from "./usePrinter-
|
|
2
|
+
import { At as t, Bt as n, Dt as r, K as i, Ot as a, Y as o, et as s, i as c, qt as l, t as u, y as d } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { t as f } from "./useConfig-C0V0eG7L.js";
|
|
4
|
+
import { t as p } from "./usePrinter-BH-xle1O.js";
|
|
5
5
|
import { n as m, t as h } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as g } from "./useSvgExport-
|
|
7
|
-
import { t as _ } from "./useNestedProp-
|
|
6
|
+
import { t as g } from "./useSvgExport-Ba9qBr9M.js";
|
|
7
|
+
import { t as _ } from "./useNestedProp-BY6DNN3i.js";
|
|
8
8
|
import { t as v } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as y } from "./img-
|
|
10
|
-
import { n as b } from "./Title-
|
|
9
|
+
import { t as y } from "./img-Bikk1dGb.js";
|
|
10
|
+
import { n as b } from "./Title-BuPs74IB.js";
|
|
11
11
|
import { t as x } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import {
|
|
13
|
-
import { t as ee } from "./useResponsive-BfnK0KxU.js";
|
|
12
|
+
import { l as S, t as ee } from "./useResponsive-ZtArZtUf.js";
|
|
14
13
|
import { t as C } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
14
|
import { t as te } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
15
|
import { t as ne } from "./usePrefersMotion-BC-CsqR1.js";
|
|
@@ -119,7 +118,7 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
119
118
|
c5f7f2ee: It.value,
|
|
120
119
|
c5f82dc8: Lt.value
|
|
121
120
|
}));
|
|
122
|
-
let Re = se(() => import("./PenAndPaper-
|
|
121
|
+
let Re = se(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), ze = se(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), Be = se(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), { vue_ui_wheel: Ve } = f(), { isThemeValid: He, warnInvalidTheme: Ue } = v(), R = ne(), z = e, We = _e, Ge = T(() => !!z.dataset && Object.keys(z.dataset).length), B = N(i()), Ke = N(null), qe = N(0), V = N(null), Je = N(null), Ye = N(null), Xe = N(null), Ze = N(0), Qe = N(!1), $e = N(!1), H = N(st()), et = T(() => H.value.userOptions.useCursorPointer), tt = T(() => l({
|
|
123
122
|
defaultConfig: {
|
|
124
123
|
userOptions: { show: !1 },
|
|
125
124
|
style: { chart: {
|
|
@@ -257,7 +256,7 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
257
256
|
te,
|
|
258
257
|
ne,
|
|
259
258
|
re
|
|
260
|
-
], c), ae = e + w, oe = t + T, se = e + D, k = t + O, ce = (Math.max(C, re) - -m * Math.sin(p)) / (2 * m * Math.sin(p) || 1), A = f
|
|
259
|
+
], c), ae = e + w, oe = t + T, se = e + D, k = t + O, ce = (Math.max(C, re) - -m * Math.sin(p)) / (2 * m * Math.sin(p) || 1), A = !f || f(r), j = H.value.style.chart.layout.wheel.ticks.gradient.show ? n(u, r * Q.value / Z.value * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : u, le = vt(A ? j : d, ce), ue = Math.max(1.25, l * E * (Math.min(W.value.width, W.value.height) / 360));
|
|
261
260
|
g.push({
|
|
262
261
|
i: r,
|
|
263
262
|
x1: ae,
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { At as t, E as n, Gt as r, K as i, Nt as a, Q as o, Y as s, bt as c, et as l, ft as u, q as d, qt as f, t as p, x as m, y as h } from "./lib-
|
|
3
|
-
import { t as g } from "./useConfig-
|
|
4
|
-
import { t as _ } from "./usePrinter-
|
|
2
|
+
import { At as t, E as n, Gt as r, K as i, Nt as a, Q as o, Y as s, bt as c, et as l, ft as u, q as d, qt as f, t as p, x as m, y as h } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { t as g } from "./useConfig-C0V0eG7L.js";
|
|
4
|
+
import { t as _ } from "./usePrinter-BH-xle1O.js";
|
|
5
5
|
import { n as v, t as y } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as ee } from "./useSvgExport-
|
|
7
|
-
import { t as te } from "./useNestedProp-
|
|
6
|
+
import { t as ee } from "./useSvgExport-Ba9qBr9M.js";
|
|
7
|
+
import { t as te } from "./useNestedProp-BY6DNN3i.js";
|
|
8
8
|
import { t as b } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as x } from "./img-
|
|
10
|
-
import { n as S } from "./Title-
|
|
9
|
+
import { t as x } from "./img-Bikk1dGb.js";
|
|
10
|
+
import { n as S } from "./Title-BuPs74IB.js";
|
|
11
11
|
import { t as C } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import {
|
|
13
|
-
import { t as T } from "./useResponsive-BfnK0KxU.js";
|
|
12
|
+
import { i as w, t as T } from "./useResponsive-ZtArZtUf.js";
|
|
14
13
|
import { t as ne } from "./A11yDataTable-DdRsVULz.js";
|
|
15
14
|
import { t as E } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
15
|
import { t as re } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
16
|
import { t as D } from "./usePanZoom-CYU3B4T3.js";
|
|
18
17
|
import { t as ie } from "./vue_ui_word_cloud-C-qIMNLu.js";
|
|
19
|
-
import { t as ae } from "./BaseZoomControls-
|
|
18
|
+
import { t as ae } from "./BaseZoomControls-C9_ygNN4.js";
|
|
20
19
|
import { Fragment as oe, computed as O, createBlock as k, createCommentVNode as A, createElementBlock as j, createElementVNode as M, createSlots as se, createTextVNode as ce, createVNode as le, defineAsyncComponent as N, guardReactiveProps as P, mergeProps as ue, nextTick as de, normalizeClass as fe, normalizeProps as F, normalizeStyle as pe, onBeforeUnmount as me, onMounted as he, openBlock as I, ref as L, renderList as ge, renderSlot as R, resolveDynamicComponent as _e, shallowRef as ve, toDisplayString as ye, toRefs as be, unref as z, watch as xe, withCtx as B } from "vue";
|
|
21
20
|
//#region src/wordcloud.js
|
|
22
21
|
var Se = {
|
|
@@ -645,7 +644,7 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
645
644
|
},
|
|
646
645
|
emits: ["copyAlt"],
|
|
647
646
|
setup(e, { expose: C, emit: Se }) {
|
|
648
|
-
let Ce = N(() => import("./Tooltip-
|
|
647
|
+
let Ce = N(() => import("./Tooltip-CA1rtSyl.js")), we = N(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Te = N(() => import("./vue-ui-accordion-nNxnZTg9.js").then((e) => e.n)), Ee = N(() => import("./DataTable-DzPEVvSo.js")), De = N(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Oe = N(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), ke = N(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), Ae = N(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_word_cloud: je } = g(), { isThemeValid: Me, warnInvalidTheme: Ne } = b(), V = e, Pe = Se, Fe = O({
|
|
649
648
|
get() {
|
|
650
649
|
return !!V.dataset && V.dataset.length;
|
|
651
650
|
},
|
|
@@ -1249,7 +1248,11 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
1249
1248
|
} catch {
|
|
1250
1249
|
console.warn("Custom format cannot be applied."), fn.value = !1;
|
|
1251
1250
|
}
|
|
1252
|
-
|
|
1251
|
+
if (!fn.value) {
|
|
1252
|
+
let t = `<svg viewBox="0 0 10 10" height="${G.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${e.color}"/></svg><span>${e.name}:</span><b>${(e.value || 0).toFixed(G.value.style.chart.tooltip.roundingValue)}</b>`;
|
|
1253
|
+
pn.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${t}</div>`;
|
|
1254
|
+
}
|
|
1255
|
+
n === "keyboard" && de(() => {
|
|
1253
1256
|
vn(t);
|
|
1254
1257
|
}), Ve.value = !0;
|
|
1255
1258
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { C as t, Dt as n, E as r, J as ee, K as i, Nt as a, Q as te, Y as o, _t as s, bt as ne, i as c, qt as re, t as ie, vt as ae, x as l } from "./lib-
|
|
3
|
-
import { t as oe } from "./useConfig-
|
|
4
|
-
import { t as se } from "./usePrinter-
|
|
2
|
+
import { C as t, Dt as n, E as r, J as ee, K as i, Nt as a, Q as te, Y as o, _t as s, bt as ne, i as c, qt as re, t as ie, vt as ae, x as l } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { t as oe } from "./useConfig-C0V0eG7L.js";
|
|
4
|
+
import { t as se } from "./usePrinter-BH-xle1O.js";
|
|
5
5
|
import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as ue } from "./useSvgExport-
|
|
7
|
-
import { t as de } from "./useNestedProp-
|
|
8
|
-
import { t as fe } from "./img-
|
|
9
|
-
import { t as pe } from "./Shape-
|
|
6
|
+
import { t as ue } from "./useSvgExport-Ba9qBr9M.js";
|
|
7
|
+
import { t as de } from "./useNestedProp-BY6DNN3i.js";
|
|
8
|
+
import { t as fe } from "./img-Bikk1dGb.js";
|
|
9
|
+
import { t as pe } from "./Shape-BfnXr1nJ.js";
|
|
10
10
|
import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
11
11
|
import { t as he } from "./DefGrad-DVBqDjhO.js";
|
|
12
|
-
import { t as ge } from "./BaseLegendToggle-
|
|
12
|
+
import { t as ge } from "./BaseLegendToggle-DsWphmIb.js";
|
|
13
13
|
import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
|
|
14
14
|
import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
|
|
15
|
-
import { t as ye } from "./geoProjections-
|
|
15
|
+
import { t as ye } from "./geoProjections-BCP_PoiB.js";
|
|
16
16
|
import { Fragment as u, Teleport as be, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as xe, createTextVNode as Se, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ce, nextTick as we, normalizeClass as Te, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ee, onMounted as De, openBlock as x, ref as S, renderList as Oe, renderSlot as C, resolveDynamicComponent as ke, toDisplayString as w, toRefs as Ae, unref as T, watch as je, withCtx as E, withModifiers as Me } from "vue";
|
|
17
17
|
//#region src/resources/worldGeo.js
|
|
18
18
|
var Ne = 1e3, Pe = [
|
|
@@ -1999,7 +1999,7 @@ var Be = {
|
|
|
1999
1999
|
"copyAlt"
|
|
2000
2000
|
],
|
|
2001
2001
|
setup(e, { expose: me, emit: Ne }) {
|
|
2002
|
-
let Pe = _(() => import("./Title-
|
|
2002
|
+
let Pe = _(() => import("./Title-BuPs74IB.js").then((e) => e.t)), Fe = _(() => import("./Legend-C0xAnJdO.js").then((e) => e.n)), Ie = _(() => import("./Tooltip-CA1rtSyl.js")), Le = _(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Re = _(() => import("./vue-ui-accordion-nNxnZTg9.js").then((e) => e.n)), ze = _(() => import("./DataTable-DzPEVvSo.js")), Ve = _(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), ot = _(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), st = _(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), ct = _(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_world: lt } = oe(), D = e, ut = Ne, dt = d({
|
|
2003
2003
|
get() {
|
|
2004
2004
|
return !!L.value;
|
|
2005
2005
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as e, Bt as t, F as n, Gt as r, H as i, I as a, K as o, M as s, N as c, Nt as l, O as u, Rt as d, V as f, W as p, Y as m, _ as h, _t as g, a as _, c as v, g as y, i as b, k as x, qt as S, s as ee, t as C, tt as te, x as w, z as T, zt as E } from "./lib-
|
|
2
|
-
import { t as D } from "./useTimeLabels-
|
|
3
|
-
import { t as O } from "./useConfig-
|
|
1
|
+
import { B as e, Bt as t, F as n, Gt as r, H as i, I as a, K as o, M as s, N as c, Nt as l, O as u, Rt as d, V as f, W as p, Y as m, _ as h, _t as g, a as _, c as v, g as y, i as b, k as x, qt as S, s as ee, t as C, tt as te, x as w, z as T, zt as E } from "./lib-CFm_J26b.js";
|
|
2
|
+
import { t as D } from "./useTimeLabels-B9CEuiLZ.js";
|
|
3
|
+
import { t as O } from "./useConfig-C0V0eG7L.js";
|
|
4
4
|
import { t as ne } from "./vue_ui_xy-BA3-_LCx.js";
|
|
5
|
-
import { _ as k, d as A, f as j, g as M, h as N, l as P, m as F, p as I, u as L, v as R } from "./render-common-
|
|
5
|
+
import { _ as k, d as A, f as j, g as M, h as N, l as P, m as F, p as I, u as L, v as R } from "./render-common-DEb-WjM1.js";
|
|
6
6
|
//#region src/svg/vue-ui-xy/create.js
|
|
7
7
|
var { vue_ui_xy: z } = O();
|
|
8
8
|
function re({ config: e = {}, dataset: t = [] } = {}) {
|
|
@@ -479,19 +479,19 @@ function Ne(e) {
|
|
|
479
479
|
"text-anchor": "middle",
|
|
480
480
|
fill: e.color
|
|
481
481
|
})), M(e.scale.ticks).forEach((r) => {
|
|
482
|
-
let s =
|
|
483
|
-
Number.isFinite(
|
|
482
|
+
let s = (r - e.scale.min) / (e.scale.max - e.scale.min || 1), d = b - s * (b - y);
|
|
483
|
+
Number.isFinite(d) && (c && p.push(A("line", {
|
|
484
484
|
"data-cy": "axis-y-tick",
|
|
485
485
|
x1: o || a ? g : g + 3 - l - f,
|
|
486
486
|
x2: o ? a ? g + l : g - l : a ? g + l : g - f,
|
|
487
|
-
y1:
|
|
488
|
-
y2:
|
|
487
|
+
y1: d,
|
|
488
|
+
y2: d,
|
|
489
489
|
stroke: e.color,
|
|
490
490
|
"stroke-width": 1,
|
|
491
491
|
"stroke-linecap": "round"
|
|
492
492
|
})), p.push(R(De(r, t), {
|
|
493
493
|
"data-cy": "axis-y-label",
|
|
494
|
-
transform: `translate(${o ? a ? n.right + l + u + 5 : n.left - l - u - 5 : a ? g + l + u + 5 : g - 5 - f}, ${
|
|
494
|
+
transform: `translate(${o ? a ? n.right + l + u + 5 : n.left - l - u - 5 : a ? g + l + u + 5 : g - 5 - f}, ${d + i.dataLabels / 3})`,
|
|
495
495
|
"font-size": i.dataLabels,
|
|
496
496
|
"text-anchor": a ? "start" : "end",
|
|
497
497
|
fill: e.color
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { At as t, B as n, Bt as r, C as i, E as a, F as o, Gt as s, H as c, I as l, It as u, K as ee, Kt as d, M as te, N as ne, Nt as re, O as ie, Q as ae, R as oe, Rt as se, St as f, Tt as ce, U as le, V as ue, W as de, Wt as fe, Y as p, _ as pe, _t as me, a as he, at as m, bt as ge, c as _e, et as ve, g as ye, i as h, j as be, k as xe, n as Se, qt as Ce, r as we, s as Te, u as Ee, ut as De, x as Oe, xt as ke, y as g, z as Ae, zt as je } from "./lib-
|
|
3
|
-
import { n as Me, r as Ne, t as Pe } from "./useTimeLabels-
|
|
4
|
-
import { t as Fe } from "./useConfig-
|
|
5
|
-
import { t as Ie } from "./usePrinter-
|
|
2
|
+
import { At as t, B as n, Bt as r, C as i, E as a, F as o, Gt as s, H as c, I as l, It as u, K as ee, Kt as d, M as te, N as ne, Nt as re, O as ie, Q as ae, R as oe, Rt as se, St as f, Tt as ce, U as le, V as ue, W as de, Wt as fe, Y as p, _ as pe, _t as me, a as he, at as m, bt as ge, c as _e, et as ve, g as ye, i as h, j as be, k as xe, n as Se, qt as Ce, r as we, s as Te, u as Ee, ut as De, x as Oe, xt as ke, y as g, z as Ae, zt as je } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { n as Me, r as Ne, t as Pe } from "./useTimeLabels-B9CEuiLZ.js";
|
|
4
|
+
import { t as Fe } from "./useConfig-C0V0eG7L.js";
|
|
5
|
+
import { t as Ie } from "./usePrinter-BH-xle1O.js";
|
|
6
6
|
import { n as Le, t as Re } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ze } from "./useSvgExport-
|
|
8
|
-
import { t as Be } from "./useNestedProp-
|
|
7
|
+
import { t as ze } from "./useSvgExport-Ba9qBr9M.js";
|
|
8
|
+
import { t as Be } from "./useNestedProp-BY6DNN3i.js";
|
|
9
9
|
import { t as Ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as He } from "./useStableElementSize-C7KADDKj.js";
|
|
11
11
|
import { t as Ue } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as We } from "./img-
|
|
13
|
-
import { n as Ge } from "./Title-
|
|
12
|
+
import { t as We } from "./img-Bikk1dGb.js";
|
|
13
|
+
import { n as Ge } from "./Title-BuPs74IB.js";
|
|
14
14
|
import { t as Ke } from "./vue_ui_xy-BA3-_LCx.js";
|
|
15
|
-
import { t as qe } from "./Shape-
|
|
15
|
+
import { t as qe } from "./Shape-BfnXr1nJ.js";
|
|
16
16
|
import { t as Je } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
17
17
|
import { t as Ye } from "./DefGrad-DVBqDjhO.js";
|
|
18
|
-
import { t as Xe } from "./SlicerPreview-
|
|
19
|
-
import { t as Ze } from "./vue-ui-accordion-
|
|
20
|
-
import { t as Qe } from "./BaseLegendToggle-
|
|
18
|
+
import { t as Xe } from "./SlicerPreview-BIdvqU32.js";
|
|
19
|
+
import { t as Ze } from "./vue-ui-accordion-nNxnZTg9.js";
|
|
20
|
+
import { t as Qe } from "./BaseLegendToggle-DsWphmIb.js";
|
|
21
21
|
import { t as $e } from "./A11yDataTable-DdRsVULz.js";
|
|
22
22
|
import { Fragment as _, Teleport as et, computed as v, createBlock as tt, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as nt, createTextVNode as rt, createVNode as it, defineAsyncComponent as at, getCurrentInstance as ot, guardReactiveProps as S, mergeProps as st, nextTick as ct, normalizeClass as lt, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as ut, onMounted as dt, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as ft, shallowRef as pt, toDisplayString as k, toRefs as mt, unref as A, useSlots as ht, vModelCheckbox as gt, watch as _t, watchEffect as vt, withCtx as j, withDirectives as yt } from "vue";
|
|
23
23
|
//#region src/utils/xy.js
|
|
@@ -569,7 +569,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
569
569
|
"copyAlt"
|
|
570
570
|
],
|
|
571
571
|
setup(e, { expose: Je, emit: kt }) {
|
|
572
|
-
let M = e, si = at(() => import("./DataTable-
|
|
572
|
+
let M = e, si = at(() => import("./DataTable-DzPEVvSo.js")), ci = at(() => import("./Tooltip-CA1rtSyl.js")), li = at(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), ui = at(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), di = at(() => import("./vue-ui-table-sparkline-CT-0w9-a.js").then((e) => e.n)), fi = at(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), pi = at(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), mi = at(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), hi = kt, gi = ht(), _i = ot(), { vue_ui_xy: vi } = Fe(), { isThemeValid: yi, warnInvalidTheme: bi } = Ve(), xi = E(null), Si = E(null), Ci = E(null), wi = E(null), Ti = E(null), Ei = E(null), Di = E(null), Oi = E(null), ki = E(null), Ai = E(null), ji = E(null), Mi = E(null), Ni = E(null), Pi = E(null), Fi = E(0), N = E(null), Ii = E(!0), Li = E(600), P = E(1e3), Ri = E("0 0 1000 600"), zi = E({
|
|
573
573
|
x: 0,
|
|
574
574
|
y: 0
|
|
575
575
|
}), Bi = E({
|
|
@@ -919,7 +919,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
919
919
|
return Array.isArray(e) && e.some((e) => Ct(e) || po(e));
|
|
920
920
|
}
|
|
921
921
|
function ho(e) {
|
|
922
|
-
return G.value
|
|
922
|
+
return !G.value || ["line", "plot"].includes(e.type) && mo(e.series);
|
|
923
923
|
}
|
|
924
924
|
function go(e, t) {
|
|
925
925
|
return po(e) ? {
|
|
@@ -995,8 +995,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
995
995
|
Z.value = [], Fs.value = null, sa.value = null;
|
|
996
996
|
return;
|
|
997
997
|
}
|
|
998
|
-
let n = Number(t.point.x);
|
|
999
|
-
Z.value =
|
|
998
|
+
let n = Number(t.point.x), r = Is.value.matchingPointsByXValue.get(n) || [];
|
|
999
|
+
Z.value = r.map((e) => ({
|
|
1000
1000
|
...e,
|
|
1001
1001
|
distance: 0
|
|
1002
1002
|
})), Fs.value = Xc({ x: n }), sa.value = n;
|
|
@@ -1085,7 +1085,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1085
1085
|
return !!_i?.vnode.props?.onSelectTimeLabel;
|
|
1086
1086
|
}
|
|
1087
1087
|
function No(e, t, n) {
|
|
1088
|
-
|
|
1088
|
+
if (!na.value) {
|
|
1089
|
+
let e = document.createElement("canvas");
|
|
1090
|
+
na.value = e.getContext("2d");
|
|
1091
|
+
}
|
|
1092
|
+
return na.value.font = `${n || "normal"} ${e}px ${t || "sans-serif"}`, na.value;
|
|
1089
1093
|
}
|
|
1090
1094
|
function Po() {
|
|
1091
1095
|
let e = xi.value.querySelectorAll(".vue-ui-xy-tag");
|
|
@@ -1160,17 +1164,18 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1160
1164
|
wo.value = 0, To.value = 0, va.stop(), ua.value &&= (ua.value.disconnect(), null);
|
|
1161
1165
|
});
|
|
1162
1166
|
function qo(e, t) {
|
|
1167
|
+
let n = K.value.map((e) => ({
|
|
1168
|
+
shape: e.shape ?? e.type === "bar" ? "square" : "circle",
|
|
1169
|
+
name: e.name,
|
|
1170
|
+
color: e.color,
|
|
1171
|
+
type: e.type,
|
|
1172
|
+
value: e.absoluteValues.find((e, n) => n === t),
|
|
1173
|
+
comments: e.comments || [],
|
|
1174
|
+
prefix: e.prefix || V.value.chart.labels.prefix,
|
|
1175
|
+
suffix: e.suffix || V.value.chart.labels.suffix
|
|
1176
|
+
}));
|
|
1163
1177
|
hi("selectTimeLabel", {
|
|
1164
|
-
datapoint:
|
|
1165
|
-
shape: e.shape ?? e.type === "bar" ? "square" : "circle",
|
|
1166
|
-
name: e.name,
|
|
1167
|
-
color: e.color,
|
|
1168
|
-
type: e.type,
|
|
1169
|
-
value: e.absoluteValues.find((e, n) => n === t),
|
|
1170
|
-
comments: e.comments || [],
|
|
1171
|
-
prefix: e.prefix || V.value.chart.labels.prefix,
|
|
1172
|
-
suffix: e.suffix || V.value.chart.labels.suffix
|
|
1173
|
-
})),
|
|
1178
|
+
datapoint: n,
|
|
1174
1179
|
absoluteIndex: e.absoluteIndex,
|
|
1175
1180
|
label: e.text
|
|
1176
1181
|
});
|
|
@@ -1237,8 +1242,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1237
1242
|
let e = us(), t = {
|
|
1238
1243
|
...U.value,
|
|
1239
1244
|
...ls
|
|
1240
|
-
};
|
|
1241
|
-
os.value =
|
|
1245
|
+
}, n = us(t);
|
|
1246
|
+
os.value = n !== e, U.value = t, qa.value = { ...t }, ls = {}, ss = null, Xa(), cs && cancelAnimationFrame(cs), cs = requestAnimationFrame(() => {
|
|
1242
1247
|
os.value = !1, cs = null;
|
|
1243
1248
|
});
|
|
1244
1249
|
});
|
|
@@ -1744,7 +1749,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1744
1749
|
if (!e || !Array.isArray(e) || e.every((e) => !e.show)) return [];
|
|
1745
1750
|
let t = e.filter((e) => e.show && (e.yAxis.yTop != null || e.yAxis.yBottom != null));
|
|
1746
1751
|
if (!t.length) return [];
|
|
1747
|
-
let { left: n, right: r } = J.value, i = ws.value, a = J.value.height, o = W.value.min, s = W.value.max - o, c = (e) =>
|
|
1752
|
+
let { left: n, right: r } = J.value, i = ws.value, a = J.value.height, o = W.value.min, s = W.value.max - o, c = (e) => {
|
|
1753
|
+
let t = (e - 0) / s;
|
|
1754
|
+
return i - t * a;
|
|
1755
|
+
};
|
|
1748
1756
|
return t.map((e, t) => {
|
|
1749
1757
|
let { yAxis: { yTop: i, yBottom: a, label: o } } = e, s = i != null && a != null && i !== a, l = i == null ? null : c(i), u = a == null ? null : c(a), ee = No(o.fontSize);
|
|
1750
1758
|
ee.font = `${o.fontSize}px sans-serif`;
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { At as t, C as n, Dt as r, E as i, Gt as a, K as o, Lt as s, Nt as c, Q as l, Tt as u, Y as d, _t as ee, a as te, bt as ne, et as re, g as ie, i as ae, qt as oe, st as se, ut as ce, x as le, zt as ue } from "./lib-
|
|
3
|
-
import { n as de, r as fe, t as pe } from "./useTimeLabels-
|
|
4
|
-
import { t as me } from "./useConfig-
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
2
|
+
import { At as t, C as n, Dt as r, E as i, Gt as a, K as o, Lt as s, Nt as c, Q as l, Tt as u, Y as d, _t as ee, a as te, bt as ne, et as re, g as ie, i as ae, qt as oe, st as se, ut as ce, x as le, zt as ue } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { n as de, r as fe, t as pe } from "./useTimeLabels-B9CEuiLZ.js";
|
|
4
|
+
import { t as me } from "./useConfig-C0V0eG7L.js";
|
|
5
|
+
import { t as he } from "./usePrinter-BH-xle1O.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ve } from "./useNestedProp-
|
|
7
|
+
import { t as ve } from "./useNestedProp-BY6DNN3i.js";
|
|
8
8
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as be } from "./img-
|
|
10
|
-
import { n as xe } from "./Title-
|
|
9
|
+
import { t as be } from "./img-Bikk1dGb.js";
|
|
10
|
+
import { n as xe } from "./Title-BuPs74IB.js";
|
|
11
11
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import { a as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as Ne } from "./BaseLegendToggle-BrQ2OlzI.js";
|
|
12
|
+
import { a as f, c as p, i as Ce, l as we, n as Te, o as Ee, r as De, s as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
|
|
13
|
+
import { t as Ae } from "./BaseIcon-CP5RWnqt.js";
|
|
14
|
+
import { t as je } from "./SlicerPreview-BIdvqU32.js";
|
|
15
|
+
import { t as Me } from "./vue-ui-accordion-nNxnZTg9.js";
|
|
16
|
+
import { t as Ne } from "./BaseLegendToggle-DsWphmIb.js";
|
|
18
17
|
import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
18
|
import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Ie } from "./Legend-
|
|
19
|
+
import { t as Ie } from "./Legend-C0xAnJdO.js";
|
|
21
20
|
import { t as Le } from "./vue_ui_xy_canvas-Cb6dg3eK.js";
|
|
22
21
|
import { Teleport as Re, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as ze, createElementVNode as _, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as Ue, guardReactiveProps as v, mergeProps as We, nextTick as Ge, normalizeClass as Ke, normalizeProps as y, normalizeStyle as qe, onBeforeUnmount as Je, onMounted as Ye, openBlock as b, ref as x, renderSlot as S, resolveDynamicComponent as Xe, shallowRef as Ze, toDisplayString as Qe, toRefs as $e, unref as C, useSlots as et, watch as w, watchEffect as tt, withCtx as T } from "vue";
|
|
23
22
|
//#region src/components/vue-ui-xy-canvas.vue
|
|
@@ -64,7 +63,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
64
63
|
"copyAlt"
|
|
65
64
|
],
|
|
66
65
|
setup(e, { expose: Se, emit: nt }) {
|
|
67
|
-
let pt = Ue(() => import("./Tooltip-
|
|
66
|
+
let pt = Ue(() => import("./Tooltip-CA1rtSyl.js")), mt = Ue(() => import("./DataTable-DzPEVvSo.js")), ht = Ue(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), gt = Ue(() => import("./NonSvgPenAndPaper-B_mE5UbR.js")), _t = Ue(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_xy_canvas: vt } = me(), { isThemeValid: yt, warnInvalidTheme: bt } = ye(), E = e, D = x(o()), O = x(null), xt = x(null), k = x(null), A = x(1), j = x(1), St = x(!1), M = x(null), Ct = x(""), wt = x(null), N = x([]), Tt = x(1), P = x(!0), F = x(!0), Et = x(null), Dt = x(0), Ot = x(!1), kt = x(null), At = x(null), I = x(null), jt = x(null), Mt = x(0), Nt = x(0), Pt = x(0), L = x(null), Ft = x(!1), It = x(null), Lt = x(null), Rt = x(!1), zt = x(!1), Bt = x(!1), R = x(null), Vt = x(!1), Ht = x(!1), Ut = x(!1), z = x(null), Wt = x({
|
|
68
67
|
x: 0,
|
|
69
68
|
y: 0
|
|
70
69
|
}), B = m(() => Array.isArray($t.value) && $t.value.length > 0), Gt = nt, Kt = et();
|
|
@@ -459,7 +458,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
459
458
|
}], { color: V.value.style.chart.grid.y.verticalLines.color });
|
|
460
459
|
}), V.value.style.chart.grid.x.horizontalLines.show && (V.value.style.chart.grid.x.horizontalLines.alternate ? J.value.forEach((e) => {
|
|
461
460
|
e.localYLabels.forEach((t, n) => {
|
|
462
|
-
n < e.localYLabels.length - 1 &&
|
|
461
|
+
n < e.localYLabels.length - 1 && Oe(k.value, [
|
|
463
462
|
{
|
|
464
463
|
x: G.value.left,
|
|
465
464
|
y: t.y
|
|
@@ -540,7 +539,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
540
539
|
y: G.value.bottom
|
|
541
540
|
}], { color: V.value.style.chart.grid.y.verticalLines.color });
|
|
542
541
|
V.value.style.chart.grid.x.horizontalLines.show && (V.value.style.chart.grid.x.horizontalLines.alternate ? K.value.yLabels.forEach((e, t) => {
|
|
543
|
-
t < K.value.yLabels.length - 1 &&
|
|
542
|
+
t < K.value.yLabels.length - 1 && Oe(k.value, [
|
|
544
543
|
{
|
|
545
544
|
x: G.value.left,
|
|
546
545
|
y: e.y
|
|
@@ -613,7 +612,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
613
612
|
function Bn(e) {
|
|
614
613
|
for (let t = 0; t < e.coordinatesLine.length; t += 1) {
|
|
615
614
|
let n = (M.value === t || R.value === t ? A.value / 150 : V.value.style.chart.line.plots.show || e.type === "plot" ? A.value / 200 : 0) * V.value.style.chart.line.plots.radiusRatio;
|
|
616
|
-
|
|
615
|
+
Te(k.value, {
|
|
617
616
|
x: e.coordinatesLine[t].x,
|
|
618
617
|
y: e.coordinatesLine[t].y
|
|
619
618
|
}, n, {
|
|
@@ -776,7 +775,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
776
775
|
}
|
|
777
776
|
function $n() {
|
|
778
777
|
Z.value.forEach((e, t) => {
|
|
779
|
-
for (let n = 0; n < e.coordinatesLine.length; n += 1)
|
|
778
|
+
for (let n = 0; n < e.coordinatesLine.length; n += 1) Oe(k.value, [
|
|
780
779
|
{
|
|
781
780
|
x: G.value.left + G.value.slot * n + G.value.slot / 10 + (U.value.stacked ? 0 : G.value.slot / Z.value.length * t - (t === 0 ? 0 : G.value.slot / (5 * Z.value.length) * t)),
|
|
782
781
|
y: U.value.stacked ? e.localZero : K.value.zero
|
|
@@ -898,12 +897,12 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
898
897
|
let n = U.value.stacked ? e.localZero : K.value.zero;
|
|
899
898
|
if (t) {
|
|
900
899
|
let { polygons: t, singles: r } = er(e, n);
|
|
901
|
-
for (let n of t)
|
|
900
|
+
for (let n of t) Ee(k.value, n, {
|
|
902
901
|
fillColor: ue(e.color, V.value.style.chart.area.opacity),
|
|
903
902
|
strokeColor: "transparent"
|
|
904
903
|
});
|
|
905
904
|
let i = A.value / 200 * V.value.style.chart.line.plots.radiusRatio;
|
|
906
|
-
for (let t of r)
|
|
905
|
+
for (let t of r) Te(k.value, {
|
|
907
906
|
x: t.x,
|
|
908
907
|
y: t.y
|
|
909
908
|
}, i, {
|
|
@@ -919,7 +918,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
919
918
|
x: e.coordinatesLine.at(-1).x,
|
|
920
919
|
y: n
|
|
921
920
|
};
|
|
922
|
-
|
|
921
|
+
Ee(k.value, [
|
|
923
922
|
t,
|
|
924
923
|
...e.coordinatesLine,
|
|
925
924
|
r
|
|
@@ -949,7 +948,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
949
948
|
}
|
|
950
949
|
function ar() {
|
|
951
950
|
let { left: e, top: t, width: n, height: r } = G.value, i = Y.value.start, a = Y.value.end - i, o = n / a, s = X.value.start - i, c = X.value.end - i, l = Math.max(0, Math.min(a, s)), u = Math.max(0, Math.min(a, c));
|
|
952
|
-
|
|
951
|
+
Oe(k.value, [
|
|
953
952
|
{
|
|
954
953
|
x: e + l * o,
|
|
955
954
|
y: t
|
|
@@ -981,9 +980,9 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
981
980
|
function $() {
|
|
982
981
|
!B.value || !H.value || !k.value || (zn(), P.value ? ((M.value !== null || R.value !== null) && V.value.style.chart.selector.show && Zn(), $n(), U.value.stacked && V.value.style.chart.grid.x.showAxis && ir(), Ln.value.forEach((e) => {
|
|
983
982
|
(e.type === "line" || !e.type) && rr(e), F.value && (Bn(e), U.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Un(e));
|
|
984
|
-
}), H.value && (Et.value =
|
|
983
|
+
}), H.value && (Et.value = De(H.value))) : (Et.value && (k.value.clearRect(0, 0, 1e4, 1e4), k.value.drawImage(Et.value, 0, 0)), (M.value !== null || R.value !== null) && V.value.style.chart.selector.show && Zn(), (M.value !== null || R.value !== null) && J.value.forEach((e) => {
|
|
985
984
|
let t = M.value ?? R.value, n = e.coordinatesLine[t];
|
|
986
|
-
(e.type === "line" || !e.type || e.type === "plot") && n && Number.isFinite(n.x) && Number.isFinite(n.y) &&
|
|
985
|
+
(e.type === "line" || !e.type || e.type === "plot") && n && Number.isFinite(n.x) && Number.isFinite(n.y) && Te(k.value, {
|
|
987
986
|
x: n.x,
|
|
988
987
|
y: n.y
|
|
989
988
|
}, A.value / 150 * V.value.style.chart.line.plots.radiusRatio, {
|
|
@@ -993,7 +992,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
993
992
|
});
|
|
994
993
|
})), V.value.style.chart.grid.x.timeLabels.show && Xn(), V.value.style.chart.selector.show && V.value.style.chart.selector.showHorizontalSelector && Qn(), Hn(), Vn(), V.value.style.chart.zoom.preview.enable && (Y.value.start !== X.value.start || Y.value.end !== X.value.end) && ar(), P.value = !1);
|
|
995
994
|
}
|
|
996
|
-
let or =
|
|
995
|
+
let or = Ce(() => {
|
|
997
996
|
F.value = !0, Rn();
|
|
998
997
|
}, W.value > 200 ? 10 : 1, !F.value);
|
|
999
998
|
function sr(e) {
|
|
@@ -1098,9 +1097,10 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
|
|
|
1098
1097
|
i !== null && i >= 0 && i < r ? n ? (i += 1, i >= r && (i = 0)) : (--i, i < 0 && (i = r - 1)) : i = n ? 0 : r - 1, fr(i, { fromKeyboard: !0 });
|
|
1099
1098
|
}
|
|
1100
1099
|
function _r({ seriesIndex: e, datapoint: t }) {
|
|
1100
|
+
let n = Y.value.start + e;
|
|
1101
1101
|
Gt("selectX", {
|
|
1102
1102
|
dataset: t,
|
|
1103
|
-
index:
|
|
1103
|
+
index: n,
|
|
1104
1104
|
indexLabel: ""
|
|
1105
1105
|
});
|
|
1106
1106
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-data-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.22.
|
|
4
|
+
"version": "3.22.11",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
|
|
7
7
|
"keywords": [
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"sass": "^1.57.1",
|
|
128
128
|
"simple-git": "^3.36.0",
|
|
129
129
|
"typescript": "^6.0.2",
|
|
130
|
-
"vite": "^8.
|
|
130
|
+
"vite": "^8.1.4",
|
|
131
131
|
"vitest": "^4.1.8",
|
|
132
132
|
"vue": "^3.5.39"
|
|
133
133
|
}
|