vue-data-ui 3.9.0 → 3.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseDraggableDialog-B6wHUQPl.js → BaseDraggableDialog-n3raFtf2.js} +1 -1
- package/dist/{BaseIcon-CQaciFyv.js → BaseIcon-Bcm8I1fZ.js} +3 -2
- package/dist/{BaseZoomControls-AMmyXEyM.js → BaseZoomControls-gNf811C7.js} +45 -34
- package/dist/{ColorPicker-nZHFmXUV.js → ColorPicker-C4ClF-aL.js} +1 -1
- package/dist/{DataTable-C8cgUUyx.js → DataTable-DFcqksx2.js} +1 -1
- package/dist/{NonSvgPenAndPaper-CVjActC2.js → NonSvgPenAndPaper-D44f2zrW.js} +2 -2
- package/dist/{PackageVersion-DXy-wfBa.js → PackageVersion-Cqd_jnJh.js} +1 -1
- package/dist/{PenAndPaper-DtbXViIl.js → PenAndPaper-Cjiyv0O9.js} +2 -2
- package/dist/{Slicer-DtlEs698.js → Slicer-DFcLRKwb.js} +1 -1
- package/dist/{SlicerPreview-DmzwkUJ4.js → SlicerPreview-Bhjrz2jx.js} +1 -1
- package/dist/{Title-osQjQYc-.js → Title-Bf2WqM40.js} +1 -1
- package/dist/{UserOptions-DeiXBImO.js → UserOptions-DKK-Opvk.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-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/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +17 -23
- package/dist/{useNestedProp-BeKjhKny.js → useNestedProp-DjZhR3_5.js} +11 -0
- package/dist/usePanZoom-CDF7rb3o.js +132 -0
- package/dist/{vue-data-ui-BDPkTNHQ.js → vue-data-ui-jc7MUQmF.js} +67 -67
- package/dist/vue-data-ui.js +70 -70
- package/dist/{vue-ui-3d-bar-uKhbCJCE.js → vue-ui-3d-bar-DnrKeChj.js} +3 -3
- package/dist/{vue-ui-accordion-nCaoOi6x.js → vue-ui-accordion-BbkkniuF.js} +2 -2
- package/dist/{vue-ui-age-pyramid-DLT_gkMY.js → vue-ui-age-pyramid-BhMZmyvF.js} +3 -3
- package/dist/{vue-ui-annotator-3wBuXKBn.js → vue-ui-annotator-BNTBBxok.js} +4 -4
- package/dist/{vue-ui-bullet-BwOyLfur.js → vue-ui-bullet-CMMAxcpy.js} +3 -3
- package/dist/{vue-ui-candlestick-DvIJjYgT.js → vue-ui-candlestick-DD3HBSWY.js} +4 -4
- package/dist/{vue-ui-carousel-table-mQdTBiJ6.js → vue-ui-carousel-table-DYxQqLVw.js} +2 -2
- package/dist/{vue-ui-chestnut-D4aL-SRw.js → vue-ui-chestnut-Bb391A-w.js} +2 -2
- package/dist/{vue-ui-chord-BNyOLiis.js → vue-ui-chord-BMJz7gTO.js} +3 -3
- package/dist/{vue-ui-circle-pack-DGjOBC77.js → vue-ui-circle-pack-BNvebVc_.js} +3 -3
- package/dist/{vue-ui-cursor-JDfWC_4Z.js → vue-ui-cursor-Dxi464Ps.js} +2 -2
- package/dist/{vue-ui-dag-C7GVHRdz.js → vue-ui-dag-D3Y0ss0q.js} +5 -5
- package/dist/{vue-ui-dashboard-Dhte9CS8.js → vue-ui-dashboard-D4XNvZEI.js} +66 -66
- package/dist/{vue-ui-digits-D2zs8kUV.js → vue-ui-digits-SXDDgXdv.js} +1 -1
- package/dist/{vue-ui-donut-BnJXrdXi.js → vue-ui-donut-CofjZRvC.js} +3 -3
- package/dist/{vue-ui-donut-evolution-B7IXs662.js → vue-ui-donut-evolution-CYdFYOv7.js} +4 -4
- package/dist/{vue-ui-dumbbell-icb7XI8Y.js → vue-ui-dumbbell-Uwamxj-h.js} +3 -3
- package/dist/{vue-ui-flow-BkFZyi2d.js → vue-ui-flow-Zjnvmqbf.js} +3 -3
- package/dist/{vue-ui-funnel-BtCQx40Z.js → vue-ui-funnel-Bz1hwX8J.js} +3 -3
- package/dist/{vue-ui-galaxy-DlkNLZDJ.js → vue-ui-galaxy-Blj4OcuQ.js} +3 -3
- package/dist/{vue-ui-gauge-Cdj0ecH3.js → vue-ui-gauge-lyzwM9n9.js} +3 -3
- package/dist/{vue-ui-geo-e3rtm3qo.js → vue-ui-geo-DmyHgp6f.js} +5 -5
- package/dist/{vue-ui-gizmo-D14h2JTq.js → vue-ui-gizmo-BIOa6EJm.js} +2 -2
- package/dist/{vue-ui-heatmap-rpR42azQ.js → vue-ui-heatmap-Dy1I79jU.js} +4 -4
- package/dist/{vue-ui-history-plot-Cecn8Oxm.js → vue-ui-history-plot-DhxscklX.js} +3 -3
- package/dist/{vue-ui-horizontal-bar-VKpzt8eG.js → vue-ui-horizontal-bar-BXrc2mbE.js} +8 -8
- package/dist/{vue-ui-kpi-C_sejZsA.js → vue-ui-kpi-P-XmbJWS.js} +2 -2
- package/dist/{vue-ui-mini-loader-BEBv2BjZ.js → vue-ui-mini-loader-Ba1L_dXD.js} +1 -1
- package/dist/{vue-ui-molecule-DlEuruqh.js → vue-ui-molecule-DQtY0Gyy.js} +3 -3
- package/dist/{vue-ui-mood-radar-BAP8G4Wj.js → vue-ui-mood-radar-ZnEJ_AA9.js} +3 -3
- package/dist/{vue-ui-nested-donuts-DSxsX5Vz.js → vue-ui-nested-donuts-CfNibIXL.js} +3 -3
- package/dist/{vue-ui-onion-BcFbjgm_.js → vue-ui-onion-CfEYEyby.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-C-qcnEpN.js → vue-ui-parallel-coordinate-plot-BDbDc-AQ.js} +3 -3
- package/dist/{vue-ui-quadrant-ChTRugDc.js → vue-ui-quadrant-OZn9JDYG.js} +3 -3
- package/dist/{vue-ui-quick-chart-CkRSQBoP.js → vue-ui-quick-chart-rxjCkIfg.js} +3 -3
- package/dist/{vue-ui-radar-D7h9MmKX.js → vue-ui-radar-6LcXizLr.js} +3 -3
- package/dist/{vue-ui-rating-Ci09laQN.js → vue-ui-rating-Dz4fQoXn.js} +1 -1
- package/dist/{vue-ui-relation-circle-BGSf9_de.js → vue-ui-relation-circle-CUsOxTTi.js} +3 -3
- package/dist/{vue-ui-ridgeline-BP3OBUSp.js → vue-ui-ridgeline-BpNOYtn-.js} +3 -3
- package/dist/{vue-ui-rings-bixIaG84.js → vue-ui-rings-HxKjlcYy.js} +3 -3
- package/dist/{vue-ui-scatter-CsbW44rO.js → vue-ui-scatter-CBS2N3dz.js} +3 -3
- package/dist/{vue-ui-skeleton-B7FFPfD7.js → vue-ui-skeleton-C4H_THKQ.js} +2 -2
- package/dist/{vue-ui-smiley-BW0ksZH3.js → vue-ui-smiley-sVz4LzSA.js} +1 -1
- package/dist/{vue-ui-spark-trend-BWiUSAGV.js → vue-ui-spark-trend-CJhuPDNg.js} +2 -2
- package/dist/{vue-ui-sparkbar-Y1-PvC2Q.js → vue-ui-sparkbar-B98lI934.js} +2 -2
- package/dist/{vue-ui-sparkgauge-DIOgIo9T.js → vue-ui-sparkgauge-L4xysWkN.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-Cc45FboV.js → vue-ui-sparkhistogram-DHPJRHaj.js} +2 -2
- package/dist/{vue-ui-sparkline-BkxHQO4g.js → vue-ui-sparkline-CYrrFlTe.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-eL00_vqY.js → vue-ui-sparkstackbar-rkOdqTgS.js} +2 -2
- package/dist/{vue-ui-stackbar-CCgBPMxT.js → vue-ui-stackbar-CK1NIsnA.js} +4 -4
- package/dist/{vue-ui-stackline-CrChjJG1.js → vue-ui-stackline-Lth0M3Nz.js} +4 -4
- package/dist/{vue-ui-strip-plot-ChBPDnF4.js → vue-ui-strip-plot-BGBCtwom.js} +3 -3
- package/dist/{vue-ui-table-Bf7ErBf-.js → vue-ui-table-CqoB-rh8.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BecLm3ow.js → vue-ui-table-heatmap-7lER15Z2.js} +2 -2
- package/dist/{vue-ui-table-sparkline-CQf4nxMY.js → vue-ui-table-sparkline-ni8jsLpS.js} +2 -2
- package/dist/{vue-ui-thermometer-1vtRLqYp.js → vue-ui-thermometer-ByH2NTic.js} +3 -3
- package/dist/{vue-ui-timer-C0_Umc6p.js → vue-ui-timer-Dxvm6G9d.js} +4 -4
- package/dist/{vue-ui-tiremarks-iijIId_5.js → vue-ui-tiremarks-DuCC1sgq.js} +3 -3
- package/dist/{vue-ui-treemap-vE6a19Mm.js → vue-ui-treemap-3r87kdbl.js} +4 -4
- package/dist/{vue-ui-waffle-C8kR8CpE.js → vue-ui-waffle-C1G226Ki.js} +3 -3
- package/dist/{vue-ui-wheel-D4OCD06F.js → vue-ui-wheel-B0yYlFGt.js} +3 -3
- package/dist/vue-ui-word-cloud-CmAKOgXN.js +1433 -0
- package/dist/{vue-ui-world-CKdzBshi.js → vue-ui-world-CwXBQ0i0.js} +2 -2
- package/dist/{vue-ui-xy-BOzzwSSP.js → vue-ui-xy-Ck5ZIiAc.js} +5 -5
- package/dist/{vue-ui-xy-canvas-CLoA6DTt.js → vue-ui-xy-canvas-C1ZHlQ3Y.js} +6 -6
- package/package.json +1 -1
- package/dist/usePanZoom-DMfuOfaC.js +0 -135
- package/dist/vue-ui-word-cloud-Zhi8r9_M.js +0 -1419
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as k, computed as y, ref as l, onMounted as r4, toRefs as n4, watch as t1, createElementBlock as m, openBlock as s, unref as n, normalizeStyle as o1, normalizeClass as V1, createBlock as L, createCommentVNode as c, renderSlot as u, createElementVNode as d, createVNode as a1, withCtx as p, normalizeProps as _, guardReactiveProps as w, createSlots as v1, withModifiers as i4, Fragment as j, renderList as Z1, mergeProps as X1, createTextVNode as r1, toDisplayString as W, Teleport as s4, resolveDynamicComponent as l4, nextTick as u4 } from "vue";
|
|
2
|
-
import { u as p4, a as y4 } from "./useNestedProp-
|
|
2
|
+
import { u as p4, a as y4 } from "./useNestedProp-DjZhR3_5.js";
|
|
3
3
|
import { c as J1, t as d4, j as m4, l as n1, p as Y, X as c4, n as g4, r as q1, a as Q1, d as e2, a0 as i1, ao as v4, u as h4, q as f4, x as b4 } from "./lib-_nVZfi2t.js";
|
|
4
4
|
import { u as P4, B as F4 } from "./BaseScanner-BMpwQAfz.js";
|
|
5
5
|
import { u as _4 } from "./usePrinter-DXIMGR61.js";
|
|
@@ -31,7 +31,7 @@ const A4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["selectDatapoint", "selectLegend"],
|
|
33
33
|
setup(t2, { expose: o2, emit: a2 }) {
|
|
34
|
-
const r2 = k(() => import("./Title-
|
|
34
|
+
const r2 = k(() => import("./Title-Bf2WqM40.js")), n2 = k(() => import("./Legend-PhhPyrZ0.js")), i2 = k(() => import("./Tooltip-l2pmtXwi.js")), s2 = k(() => import("./BaseIcon-Bcm8I1fZ.js")), l2 = k(() => import("./vue-ui-accordion-BbkkniuF.js")), u2 = k(() => import("./DataTable-DFcqksx2.js")), p2 = k(() => import("./PenAndPaper-Cjiyv0O9.js")), y2 = k(() => import("./UserOptions-DKK-Opvk.js")), d2 = k(() => import("./PackageVersion-Cqd_jnJh.js")), m2 = k(() => import("./BaseDraggableDialog-n3raFtf2.js")), { vue_ui_world: c2 } = p4(), v = t2, h1 = a2, V = y({
|
|
35
35
|
get() {
|
|
36
36
|
return !!z.value;
|
|
37
37
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent as Xe, useSlots as er, getCurrentInstance as lr, ref as x, computed as b, onMounted as Zl, toRefs as ar, watch as Ll, watchEffect as Lt, onBeforeUnmount as ka, nextTick as Mt, createElementBlock as n, openBlock as u, normalizeStyle as C, normalizeClass as ll, createBlock as Te, createCommentVNode as h, createElementVNode as p, createVNode as vl, unref as v, withCtx as G, renderSlot as P, normalizeProps as ke, guardReactiveProps as _e, createSlots as Tt, Fragment as d, renderList as w, mergeProps as al, toDisplayString as ae, Teleport as tr, resolveDynamicComponent as or, withDirectives as rr, vModelCheckbox as sr, createTextVNode as zt } from "vue";
|
|
2
2
|
import { c as _a, g as wa, t as ir, j as ur, M as Ml, N as tl, l as It, p as Sa, O as Jl, P as Y, Q as Ca, R as nr, S as cr, T as N, y as Ft, z as Ot, A as Bt, B as Nt, U as vr, V as Vt, W as Dt, a as re, Y as dr, x as Pt, Z as hr, b as Et, e as Ne, d as Ve, h as ol, s as ze, F as fr, w as Ge, G as Ql, m as Ce, _ as gr, $ as Ue, a0 as fe, i as mr, o as Rt, u as br, q as xr, a1 as dl } from "./lib-_nVZfi2t.js";
|
|
3
3
|
import { t as pr } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as yr, a as Tl } from "./useNestedProp-
|
|
4
|
+
import { u as yr, a as Tl } from "./useNestedProp-DjZhR3_5.js";
|
|
5
5
|
import { u as kr } from "./usePrinter-DXIMGR61.js";
|
|
6
6
|
import { u as _r, B as wr } from "./BaseScanner-BMpwQAfz.js";
|
|
7
7
|
import { u as Ht, a as Sr, l as Cr } from "./useTimeLabels-C5qMhpbe.js";
|
|
@@ -9,10 +9,10 @@ import { u as $r } from "./useSvgExport-DrjCWun4.js";
|
|
|
9
9
|
import { u as Ar } from "./useThemeCheck-DGJ31Vi5.js";
|
|
10
10
|
import { u as Lr } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
11
|
import Mr from "./img-C5q4A7ke.js";
|
|
12
|
-
import Tr from "./Title-
|
|
12
|
+
import Tr from "./Title-Bf2WqM40.js";
|
|
13
13
|
import { _ as Kl } from "./Shape-BuBasQnO.js";
|
|
14
|
-
import { S as zr } from "./SlicerPreview-
|
|
15
|
-
import Ir from "./vue-ui-accordion-
|
|
14
|
+
import { S as zr } from "./SlicerPreview-Bhjrz2jx.js";
|
|
15
|
+
import Ir from "./vue-ui-accordion-BbkkniuF.js";
|
|
16
16
|
import { _ as Fr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Yt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, timeTag: { backgroundColor: "#2A2A2A", color: "#CCCCCC", circleMarker: { color: "#2A2A2A" } }, grid: { stroke: "#5A5A5A", showVerticalLines: !1, labels: { color: "#CCCCCC", xAxisLabels: { color: "#CCCCCC" } } }, legend: { color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } }, bar: { border: { stroke: "#1A1A1A" }, labels: { color: "#CCCCCC" }, serieName: { color: "#CCCCCC" } }, line: { labels: { color: "#CCCCCC" } }, plot: { labels: { color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Wt = { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#424242", indicatorColor: "#FF8A65" } }, highlighter: { color: "#424242" }, timeTag: { backgroundColor: "#424242", color: "#FFF8E1", circleMarker: { color: "#424242" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#424242", xAxisLabels: { color: "#424242" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#FFF8E1" }, labels: { color: "#424242" }, serieName: { color: "#424242" } }, line: { labels: { color: "#424242" } }, plot: { labels: { color: "#424242" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Xt = { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#FF6B6B", indicatorColor: "#FF8A65" } }, highlighter: { color: "#FFF8E1" }, timeTag: { backgroundColor: "#5D4037", color: "#FFF8E1", circleMarker: { color: "#5D4037" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#BDBDBD", xAxisLabels: { color: "#BDBDBD" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#1E1E1E" }, labels: { color: "#BDBDBD" }, serieName: { color: "#BDBDBD" } }, line: { labels: { color: "#BDBDBD" } }, plot: { labels: { color: "#BDBDBD" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Gt = { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, highlighter: { color: "#66CC66" }, timeTag: { backgroundColor: "#1A1A1A", color: "#66CC66", circleMarker: { color: "#66CC66" } }, grid: { stroke: "#5F6A5F", showVerticalLines: !1, labels: { color: "#99AA99", xAxisLabels: { color: "#99AA99" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } }, bar: { borderRadius: 0, border: { stroke: "#66CC66" }, labels: { color: "#AACCAA" }, serieName: { color: "#99CC99" } }, line: { labels: { color: "#AACCAA" } }, plot: { labels: { color: "#AACCAA" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ut = { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, highlighter: { color: "#8F837A" }, timeTag: { backgroundColor: "#fbfafa", color: "#8A9892", circleMarker: { color: "#8A9892" } }, grid: { stroke: "transparent", labels: { show: !1, color: "#99AA99", xAxisLabels: { show: !1, color: "#99AA99" }, zeroLine: { show: !1 }, yAxis: { showBaseline: !1 } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, bar: { borderRadius: 4, border: { stroke: "#D7E0D2" }, labels: { color: "#8F837A" }, serieName: { color: "#858480" } }, line: { labels: { color: "#8F837A" } }, plot: { labels: { color: "#8F837A" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, qt = { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, highlighter: { color: "#7DA9B5" }, timeTag: { backgroundColor: "#f6f6fb", color: "#50606C", circleMarker: { color: "#50606C" } }, grid: { stroke: "#829C98", showVerticalLines: !0, showHorizontalLines: !0, labels: { color: "#50606C", xAxisLabels: { color: "#50606C" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, bar: { borderRadius: 2, border: { stroke: "#404C4D" }, labels: { color: "#50606C" }, serieName: { color: "#61747E" } }, line: { labels: { color: "#50606C" } }, plot: { labels: { color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Zt = {
|
|
18
18
|
default: {},
|
|
@@ -97,7 +97,7 @@ const Yt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { colo
|
|
|
97
97
|
},
|
|
98
98
|
emits: ["selectTimeLabel", "selectX", "selectLegend"],
|
|
99
99
|
setup(jl, { expose: Jt, emit: Qt }) {
|
|
100
|
-
const g = jl, Kt = Xe(() => import("./DataTable-
|
|
100
|
+
const g = jl, Kt = Xe(() => import("./DataTable-DFcqksx2.js")), jt = Xe(() => import("./Tooltip-l2pmtXwi.js")), eo = Xe(() => import("./UserOptions-DKK-Opvk.js")), $a = Xe(() => import("./BaseIcon-Bcm8I1fZ.js")), lo = Xe(() => import("./vue-ui-table-sparkline-ni8jsLpS.js").then((a) => a.b)), ao = Xe(() => import("./PackageVersion-Cqd_jnJh.js")), to = Xe(() => import("./PenAndPaper-Cjiyv0O9.js")), oo = Xe(() => import("./BaseDraggableDialog-n3raFtf2.js")), ea = Qt, Aa = er(), ro = lr(), { vue_ui_xy: hl } = yr(), { isThemeValid: so, warnInvalidTheme: io } = Ar(), Ie = x(null), fl = x(null), Fe = x(null), rl = x(null), gl = x(null), ml = x(null), uo = x(null), la = x(null), aa = x(null), sl = x(null), ta = x(null), oa = x(null), Ee = x(null), ra = x(null), no = x(0), I = x(null), La = x(!0), ve = x(600), ee = x(1e3), zl = x("0 0 1000 600"), co = x({ x: 0, y: 0 }), bl = x({ line: "line", bar: "bar", plot: "plot" }), xl = x(!1), qe = x(!1), Ma = x(!1), Ze = x(null), J = x([]), H = x(_a()), Ta = x(0), za = x(0), Ia = x(0), pl = x(!0), sa = x(0), B = x(null), Fa = x(!1), ia = x(!0), Il = x(!0), se = x(null), De = x({}), Fl = x(null), Oa = x(!1), il = x(null), _ = x(null), vo = b(() => ({
|
|
101
101
|
height: ve.value,
|
|
102
102
|
width: ee.value
|
|
103
103
|
}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent as pe, ref as d, computed as p, useSlots as Na, onMounted as $l, toRefs as _a, watch as O, nextTick as be, onBeforeUnmount as Tl, shallowRef as je, createElementBlock as Te, openBlock as I, normalizeClass as Ha, normalizeStyle as xe, createCommentVNode as V, createElementVNode as J, createBlock as W, unref as C, createSlots as Il, withCtx as b, renderSlot as S, normalizeProps as K, guardReactiveProps as ee, createVNode as El, Teleport as Xa, toDisplayString as qe, resolveDynamicComponent as Ua, mergeProps as Va, createTextVNode as Ol } from "vue";
|
|
2
2
|
import { c as Wa, t as Ya, i as ja, p as le, a0 as Ce, j as qa, M as Ge, a as se, d as ue, l as Rl, Q as Ga, ab as Za, S as Ja, o as Qa, g as Ka, x as Pl, s as Le, n as et, u as lt, q as at, Z as tt } from "./lib-_nVZfi2t.js";
|
|
3
3
|
import { c as ot, a as Ze, d as rt, t as st, u as ut, l as k, r as Ie, b as Y, p as Bl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as nt, a as Ee } from "./useNestedProp-
|
|
4
|
+
import { u as nt, a as Ee } from "./useNestedProp-DjZhR3_5.js";
|
|
5
5
|
import { u as it, B as ct } from "./BaseScanner-BMpwQAfz.js";
|
|
6
6
|
import { u as vt } from "./usePrinter-DXIMGR61.js";
|
|
7
7
|
import { u as dt, a as ht, l as ft } from "./useTimeLabels-C5qMhpbe.js";
|
|
@@ -10,10 +10,10 @@ import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
|
10
10
|
import { u as gt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
11
|
import pt from "./img-C5q4A7ke.js";
|
|
12
12
|
import bt from "./Legend-PhhPyrZ0.js";
|
|
13
|
-
import xt from "./Title-
|
|
14
|
-
import Ct from "./BaseIcon-
|
|
15
|
-
import Lt from "./vue-ui-accordion-
|
|
16
|
-
import { S as kt } from "./SlicerPreview-
|
|
13
|
+
import xt from "./Title-Bf2WqM40.js";
|
|
14
|
+
import Ct from "./BaseIcon-Bcm8I1fZ.js";
|
|
15
|
+
import Lt from "./vue-ui-accordion-BbkkniuF.js";
|
|
16
|
+
import { S as kt } from "./SlicerPreview-Bhjrz2jx.js";
|
|
17
17
|
import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, selector: { color: "#CCCCCC" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, grid: { y: { axisColor: "#5A5A5A", axisLabels: { color: "#CCCCCC" }, verticalLines: { color: "#4A4A4A" } }, x: { axisColor: "#5A5A5A", horizontalLines: { color: "#4A4A4A" }, timeLabels: { color: "#CCCCCC" } }, zeroLine: { color: "#5A5A5A" } }, dataLabels: { color: "#CCCCCC" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, _l = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, selector: { color: "#5D4037" }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, grid: { y: { axisColor: "#5D4037", axisLabels: { color: "#424242" }, verticalLines: { show: !1 } }, x: { axisColor: "#5D4037", horizontalLines: { color: "#9A9A9A" }, timeLabels: { color: "#424242" } }, zeroLine: { color: "#424242" } }, dataLabels: { color: "#424242" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Hl = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, selector: { color: "#BDBDBD" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, grid: { y: { axisColor: "#5D4037", axisLabels: { color: "#BDBDBD" }, verticalLines: { show: !1 } }, x: { axisColor: "#5D4037", horizontalLines: { color: "#3A3A3A" }, timeLabels: { color: "#BDBDBD" } }, zeroLine: { color: "#5D4037" } }, dataLabels: { color: "#BDBDBD" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Xl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, selector: { color: "#66CC66" }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66", borderRadius: 0 }, grid: { y: { axisColor: "#5F6A5F", axisLabels: { color: "#99AA99" }, verticalLines: { show: !1 } }, x: { axisColor: "#5F6A5F", horizontalLines: { color: "#3A3A3A" }, timeLabels: { color: "#99AA99" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#99AA99" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ul = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, selector: { color: "#8F837A" }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, grid: { y: { axisColor: "#8F837A", axisLabels: { color: "#8F837A" }, verticalLines: { show: !1 } }, x: { axisColor: "#8F837A", horizontalLines: { show: !1, alternate: !1 }, timeLabels: { color: "#8F837A" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#8F837A" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Vl = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, selector: { color: "#7DA9B5" }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, grid: { y: { axisColor: "#829C98", axisLabels: { color: "#50606C" }, verticalLines: { show: !1 } }, x: { axisColor: "#829C98", timeLabels: { color: "#50606C" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Wl = {
|
|
19
19
|
default: {},
|
|
@@ -57,7 +57,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
57
57
|
},
|
|
58
58
|
emits: ["selectLegend", "selectX"],
|
|
59
59
|
setup(Je, { expose: Yl, emit: jl }) {
|
|
60
|
-
const ql = pe(() => import("./Tooltip-l2pmtXwi.js")), Gl = pe(() => import("./DataTable-
|
|
60
|
+
const ql = pe(() => import("./Tooltip-l2pmtXwi.js")), Gl = pe(() => import("./DataTable-DFcqksx2.js")), Zl = pe(() => import("./UserOptions-DKK-Opvk.js")), Jl = pe(() => import("./NonSvgPenAndPaper-D44f2zrW.js")), Ql = pe(() => import("./BaseDraggableDialog-n3raFtf2.js")), { vue_ui_xy_canvas: Kl } = nt(), { isThemeValid: ea, warnInvalidTheme: la } = yt(), g = Je, Q = d(Wa()), _ = d(null), ae = d(null), c = d(null), m = d(1), j = d(1), ne = d(!1), h = d(null), ke = d(""), Qe = d(null), F = d([]), te = d(1), R = d(!0), H = d(!0), Ae = d(null), Ke = d(0), ie = d(!1), el = d(null), ll = d(null), q = d(null), al = d(null), Oe = d(0), Re = d(0), Pe = d(0), P = d(null), tl = d(!1), ce = d(null), Be = d(null), ve = d(!1), ol = d(!1), we = d(!1), A = d(null), X = p(() => Array.isArray(He.value) && He.value.length > 0), Ne = jl, aa = Na();
|
|
61
61
|
$l(() => {
|
|
62
62
|
aa["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
63
63
|
});
|
package/package.json
CHANGED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { ref as d, computed as U, onMounted as j, onUnmounted as J, watchEffect as K, watch as Q } from "vue";
|
|
2
|
-
function O(c, z = { x: 0, y: 0, width: 100, height: 100 }, V = 1, m, M = null) {
|
|
3
|
-
const a = d({ ...z }), n = d({ ...a.value }), r = d(1), E = d(!1), L = d(!1), S = d(0), D = d(null), x = d({ x: 0, y: 0 }), k = U(
|
|
4
|
-
() => n.value.x !== a.value.x || n.value.y !== a.value.y || n.value.width !== a.value.width || n.value.height !== a.value.height
|
|
5
|
-
);
|
|
6
|
-
let y = null;
|
|
7
|
-
function T(e) {
|
|
8
|
-
if (e.length < 2) return 0;
|
|
9
|
-
const t = e[0].clientX - e[1].clientX, o = e[0].clientY - e[1].clientY;
|
|
10
|
-
return Math.hypot(t, o);
|
|
11
|
-
}
|
|
12
|
-
function P(e) {
|
|
13
|
-
const t = c.value;
|
|
14
|
-
if (!t) return { x: 0, y: 0 };
|
|
15
|
-
const o = t.createSVGPoint();
|
|
16
|
-
o.x = e.clientX, o.y = e.clientY;
|
|
17
|
-
const u = t.getScreenCTM()?.inverse();
|
|
18
|
-
return u ? o.matrixTransform(u) : { x: 0, y: 0 };
|
|
19
|
-
}
|
|
20
|
-
function H(e, t) {
|
|
21
|
-
const o = c.value;
|
|
22
|
-
if (!o) return { dx: 0, dy: 0 };
|
|
23
|
-
const u = Math.max(1, o.clientWidth), l = Math.max(1, o.clientHeight), i = n.value.width / u, v = n.value.height / l;
|
|
24
|
-
return { dx: e * i, dy: t * v };
|
|
25
|
-
}
|
|
26
|
-
function Y(e) {
|
|
27
|
-
E.value = !0;
|
|
28
|
-
const t = e.touches?.[0] || e;
|
|
29
|
-
x.value = { x: t.clientX, y: t.clientY }, c.value && (c.value.style.cursor = "grabbing");
|
|
30
|
-
}
|
|
31
|
-
function X(e) {
|
|
32
|
-
if (!E.value) return;
|
|
33
|
-
const t = e.touches?.[0] || e, o = t.clientX - x.value.x, u = t.clientY - x.value.y;
|
|
34
|
-
if (o === 0 && u === 0) return;
|
|
35
|
-
const { dx: l, dy: i } = H(o, u);
|
|
36
|
-
n.value.x -= l, n.value.y -= i, x.value = { x: t.clientX, y: t.clientY };
|
|
37
|
-
}
|
|
38
|
-
function f() {
|
|
39
|
-
E.value = !1, c.value && (c.value.style.cursor = "");
|
|
40
|
-
}
|
|
41
|
-
function Z(e) {
|
|
42
|
-
M && M(), e.preventDefault();
|
|
43
|
-
const t = e.deltaY > 0 ? 0.9 : 1.1;
|
|
44
|
-
w(t, P(e));
|
|
45
|
-
}
|
|
46
|
-
function A(e) {
|
|
47
|
-
e.preventDefault();
|
|
48
|
-
const t = P(e), o = 1.5 * (1 + V / 100);
|
|
49
|
-
b(o, t);
|
|
50
|
-
}
|
|
51
|
-
function b(e, t) {
|
|
52
|
-
y && cancelAnimationFrame(y);
|
|
53
|
-
const o = r.value, u = o * e;
|
|
54
|
-
let l = null;
|
|
55
|
-
const i = 200, v = (h) => h < 0.5 ? 2 * h * h : -1 + (4 - 2 * h) * h, s = (h) => {
|
|
56
|
-
l == null && (l = h);
|
|
57
|
-
const q = Math.min((h - l) / i, 1), N = (o + (u - o) * v(q)) / r.value;
|
|
58
|
-
w(N, t), q < 1 ? y = requestAnimationFrame(s) : y = null;
|
|
59
|
-
};
|
|
60
|
-
requestAnimationFrame(s);
|
|
61
|
-
}
|
|
62
|
-
function w(e, t) {
|
|
63
|
-
const o = r.value * e, u = o / r.value, l = n.value.width / u, i = n.value.height / u, v = (t.x - n.value.x) * (1 - 1 / u), s = (t.y - n.value.y) * (1 - 1 / u);
|
|
64
|
-
n.value.x += v, n.value.y += s, n.value.width = l, n.value.height = i, r.value = o;
|
|
65
|
-
}
|
|
66
|
-
function B(e) {
|
|
67
|
-
e.touches.length === 2 ? (L.value = !0, S.value = T(e.touches), D.value = { ...n.value }) : (e.preventDefault(), Y(e));
|
|
68
|
-
}
|
|
69
|
-
function C(e) {
|
|
70
|
-
if (L.value && e.touches.length === 2) {
|
|
71
|
-
e.preventDefault();
|
|
72
|
-
const t = T(e.touches);
|
|
73
|
-
if (S.value) {
|
|
74
|
-
const o = t / S.value;
|
|
75
|
-
c.value.getBoundingClientRect();
|
|
76
|
-
const l = (e.touches[0].clientX + e.touches[1].clientX) / 2, i = (e.touches[0].clientY + e.touches[1].clientY) / 2, v = P({ clientX: l, clientY: i });
|
|
77
|
-
n.value = { ...D.value }, w(o, v);
|
|
78
|
-
}
|
|
79
|
-
} else
|
|
80
|
-
e.preventDefault(), X(e);
|
|
81
|
-
}
|
|
82
|
-
function g(e) {
|
|
83
|
-
e.touches.length < 2 && (L.value = !1), f();
|
|
84
|
-
}
|
|
85
|
-
function I(e = !1) {
|
|
86
|
-
if (!e) {
|
|
87
|
-
n.value = { ...a.value }, r.value = 1;
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const t = { ...n.value }, o = r.value, u = 300;
|
|
91
|
-
let l = null;
|
|
92
|
-
const i = (v) => {
|
|
93
|
-
l == null && (l = v);
|
|
94
|
-
const s = Math.min((v - l) / u, 1);
|
|
95
|
-
n.value = {
|
|
96
|
-
x: t.x + (a.value.x - t.x) * s,
|
|
97
|
-
y: t.y + (a.value.y - t.y) * s,
|
|
98
|
-
width: t.width + (a.value.width - t.width) * s,
|
|
99
|
-
height: t.height + (a.value.height - t.height) * s
|
|
100
|
-
}, r.value = o + (1 - o) * s, s < 1 && requestAnimationFrame(i);
|
|
101
|
-
};
|
|
102
|
-
requestAnimationFrame(i);
|
|
103
|
-
}
|
|
104
|
-
function W(e, t = {}) {
|
|
105
|
-
const { overwriteCurrentIfNotZoomed: o = !0 } = t, u = n.value.x !== a.value.x || n.value.y !== a.value.y || n.value.width !== a.value.width || n.value.height !== a.value.height;
|
|
106
|
-
a.value = { ...e }, !u && o && (n.value = { ...a.value }, r.value = 1);
|
|
107
|
-
}
|
|
108
|
-
function F() {
|
|
109
|
-
const e = c.value;
|
|
110
|
-
e && (e.addEventListener("mousedown", Y), e.addEventListener("mousemove", X), e.addEventListener("mouseup", f), e.addEventListener("mouseleave", f), e.addEventListener("wheel", Z, { passive: !1 }), e.addEventListener("dblclick", A), e.addEventListener("touchstart", B, { passive: !1 }), e.addEventListener("touchmove", C, { passive: !1 }), e.addEventListener("touchend", g), e.addEventListener("touchcancel", g));
|
|
111
|
-
}
|
|
112
|
-
function p() {
|
|
113
|
-
const e = c.value;
|
|
114
|
-
e && (e.removeEventListener("mousedown", Y), e.removeEventListener("mousemove", X), e.removeEventListener("mouseup", f), e.removeEventListener("mouseleave", f), e.removeEventListener("wheel", Z), e.removeEventListener("dblclick", A), e.removeEventListener("touchstart", B), e.removeEventListener("touchmove", C), e.removeEventListener("touchend", g), e.removeEventListener("touchcancel", g));
|
|
115
|
-
}
|
|
116
|
-
j(() => {
|
|
117
|
-
(!m || m.value) && F();
|
|
118
|
-
}), J(p), K(() => {
|
|
119
|
-
if (m)
|
|
120
|
-
return m.value ? F() : p(), () => p();
|
|
121
|
-
}), Q(c, () => {
|
|
122
|
-
p(), (!m || m.value) && F();
|
|
123
|
-
});
|
|
124
|
-
function G(e, t = !1) {
|
|
125
|
-
const o = {
|
|
126
|
-
x: n.value.x + n.value.width / 2,
|
|
127
|
-
y: n.value.y + n.value.height / 2
|
|
128
|
-
};
|
|
129
|
-
t ? b(e, o) : w(e, o);
|
|
130
|
-
}
|
|
131
|
-
return { viewBox: n, resetZoom: I, isZoom: k, setInitialViewBox: W, scale: r, zoomByFactor: G };
|
|
132
|
-
}
|
|
133
|
-
export {
|
|
134
|
-
O as u
|
|
135
|
-
};
|