vue-data-ui 3.8.5 → 3.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/dist/{BaseDraggableDialog-C2wzOVzX.js → BaseDraggableDialog-B6wHUQPl.js} +1 -1
- package/dist/{BaseIcon-_2VlkSHq.js → BaseIcon-CQaciFyv.js} +3 -2
- package/dist/BaseScanner-BMpwQAfz.js +30 -0
- package/dist/BaseZoomControls-AMmyXEyM.js +110 -0
- package/dist/{ColorPicker-Y-VfX-24.js → ColorPicker-nZHFmXUV.js} +1 -1
- package/dist/{DataTable-CokMin24.js → DataTable-C8cgUUyx.js} +1 -1
- package/dist/{NonSvgPenAndPaper-ir3Z1ZAu.js → NonSvgPenAndPaper-CVjActC2.js} +2 -2
- package/dist/{PackageVersion-DU6pdQRM.js → PackageVersion-CIhhY-aH.js} +1 -1
- package/dist/{PenAndPaper-CFRubEEG.js → PenAndPaper-DtbXViIl.js} +2 -2
- package/dist/{Slicer-CVcdknEx.js → Slicer-DtlEs698.js} +1 -1
- package/dist/{SlicerPreview-C1EQEgYE.js → SlicerPreview-DmzwkUJ4.js} +1 -1
- package/dist/{Title-m5US8voB.js → Title-osQjQYc-.js} +1 -1
- package/dist/{UserOptions-M5A9w5GL.js → UserOptions-DeiXBImO.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 +5 -0
- 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/geoProjections-D0Vxsz_O.js +154 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +210 -4
- package/dist/types/vue-ui-geo.d.ts +10 -0
- package/dist/{useNestedProp-B696zdq-.js → useNestedProp-BeKjhKny.js} +99 -17
- package/dist/usePanZoom-CDF7rb3o.js +132 -0
- package/dist/{vue-data-ui-DA30aOVt.js → vue-data-ui-bVCjAfu8.js} +113 -108
- package/dist/vue-data-ui.js +101 -98
- package/dist/{vue-ui-3d-bar-B8vwrYhQ.js → vue-ui-3d-bar-Bs1SXAWI.js} +4 -4
- package/dist/{vue-ui-accordion-q1EhHbRP.js → vue-ui-accordion-nCaoOi6x.js} +2 -2
- package/dist/{vue-ui-age-pyramid-D6joh86v.js → vue-ui-age-pyramid-D25YLhPh.js} +4 -4
- package/dist/{vue-ui-annotator-749kzlDJ.js → vue-ui-annotator-3wBuXKBn.js} +4 -4
- package/dist/{vue-ui-bullet-YJv-2ZQ9.js → vue-ui-bullet-XX1owNiy.js} +4 -4
- package/dist/{vue-ui-candlestick-BjeFFWuf.js → vue-ui-candlestick-CbKnRXLs.js} +5 -5
- package/dist/{vue-ui-carousel-table-C7sPVM5f.js → vue-ui-carousel-table-B95eZm5f.js} +2 -2
- package/dist/{vue-ui-chestnut-CUMsJRhG.js → vue-ui-chestnut-D6B8mFCb.js} +3 -3
- package/dist/{vue-ui-chord-BE5LirVm.js → vue-ui-chord-C-Fe5nTC.js} +4 -4
- package/dist/{vue-ui-circle-pack-Ddemd-Lq.js → vue-ui-circle-pack-DbGOEbwG.js} +4 -4
- package/dist/{vue-ui-cursor-DxGbCKPl.js → vue-ui-cursor-D99JZotY.js} +2 -2
- package/dist/{vue-ui-dag-DnaGtaUA.js → vue-ui-dag-D7R60BRH.js} +706 -809
- package/dist/{vue-ui-dashboard-CJ-bIPTN.js → vue-ui-dashboard-Dxhaj5E6.js} +66 -66
- package/dist/{vue-ui-digits-DlZPpTdG.js → vue-ui-digits-D2zs8kUV.js} +1 -1
- package/dist/{vue-ui-donut-D6cI982K.js → vue-ui-donut-CbHumHFw.js} +4 -4
- package/dist/{vue-ui-donut-evolution-D1FPSupz.js → vue-ui-donut-evolution--rlD_bzN.js} +5 -5
- package/dist/{vue-ui-dumbbell-CeM87r9l.js → vue-ui-dumbbell-Bak094f4.js} +4 -4
- package/dist/{vue-ui-flow-DFqmvJ62.js → vue-ui-flow-BU_3xWDD.js} +4 -4
- package/dist/{vue-ui-funnel-53eVC-iv.js → vue-ui-funnel-aOfTIY8A.js} +3 -3
- package/dist/{vue-ui-galaxy-C_UY_GdO.js → vue-ui-galaxy-CFnCDW6L.js} +4 -4
- package/dist/{vue-ui-gauge-CrkujWLj.js → vue-ui-gauge-Te_U6eYB.js} +4 -4
- package/dist/vue-ui-geo-qkJZph6o.js +977 -0
- package/dist/{vue-ui-gizmo-DdXZShbC.js → vue-ui-gizmo-BKGL0hrf.js} +3 -3
- package/dist/{vue-ui-heatmap-fF1TTdvJ.js → vue-ui-heatmap-CxupvmxZ.js} +5 -5
- package/dist/{vue-ui-history-plot-Blv-HI5D.js → vue-ui-history-plot-CRNGUd--.js} +4 -4
- package/dist/{vue-ui-horizontal-bar-CxUf7XvD.js → vue-ui-horizontal-bar-GXt7JlrG.js} +9 -9
- package/dist/{vue-ui-kpi-CmaIZcHA.js → vue-ui-kpi-C_sejZsA.js} +2 -2
- package/dist/{vue-ui-mini-loader-9HFOVyYQ.js → vue-ui-mini-loader-BEBv2BjZ.js} +1 -1
- package/dist/{vue-ui-molecule-1gMD_IGa.js → vue-ui-molecule-D5MQWvsl.js} +4 -4
- package/dist/{vue-ui-mood-radar-De7XXM1S.js → vue-ui-mood-radar-DkwW-6_J.js} +4 -4
- package/dist/{vue-ui-nested-donuts-C3U1D_tk.js → vue-ui-nested-donuts-Cl2CtNHY.js} +4 -4
- package/dist/{vue-ui-onion-DmNqk1KG.js → vue-ui-onion-BbTd3-9h.js} +4 -4
- package/dist/{vue-ui-parallel-coordinate-plot-Ck9zrf0f.js → vue-ui-parallel-coordinate-plot-CAuAUcJe.js} +4 -4
- package/dist/{vue-ui-quadrant-c1P_mUWA.js → vue-ui-quadrant-CiQOwv_x.js} +4 -4
- package/dist/{vue-ui-quick-chart-aC-unW5B.js → vue-ui-quick-chart-Db_p50n_.js} +4 -4
- package/dist/{vue-ui-radar-B79zcusd.js → vue-ui-radar-Cq0FzSuo.js} +4 -4
- package/dist/{vue-ui-rating-CMg5akXd.js → vue-ui-rating-Ci09laQN.js} +1 -1
- package/dist/{vue-ui-relation-circle-BLSlYwzp.js → vue-ui-relation-circle-0TKhiI54.js} +4 -4
- package/dist/{vue-ui-ridgeline-DJI-8Jea.js → vue-ui-ridgeline-BpKSoxMw.js} +4 -4
- package/dist/{vue-ui-rings-DedSjGyQ.js → vue-ui-rings-vn5kZZRA.js} +4 -4
- package/dist/{vue-ui-scatter-Bl92_3zT.js → vue-ui-scatter-CF_h6seO.js} +4 -4
- package/dist/{vue-ui-skeleton-I3jcxaGr.js → vue-ui-skeleton-pcNjmtIm.js} +2 -2
- package/dist/{vue-ui-smiley-Cr4XG1yP.js → vue-ui-smiley-BW0ksZH3.js} +1 -1
- package/dist/{vue-ui-spark-trend-_2A6BJsZ.js → vue-ui-spark-trend-Gwr_mhU3.js} +3 -3
- package/dist/{vue-ui-sparkbar-Mcw9XS3C.js → vue-ui-sparkbar-Ti79zXlf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DC4me9S4.js → vue-ui-sparkgauge-Cw076CAR.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CCQMAuWU.js → vue-ui-sparkhistogram-DAQatxbk.js} +3 -3
- package/dist/{vue-ui-sparkline-vzFXbBM3.js → vue-ui-sparkline-DIFjHdAd.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Bb1A_xq-.js → vue-ui-sparkstackbar-CV48OIlq.js} +3 -3
- package/dist/{vue-ui-stackbar-SEv0BiEx.js → vue-ui-stackbar-iNQuoaFJ.js} +5 -5
- package/dist/{vue-ui-stackline-j8dlN7IX.js → vue-ui-stackline-Ba_T3bRL.js} +5 -5
- package/dist/{vue-ui-strip-plot-C1H4_vRX.js → vue-ui-strip-plot-DQHiecxa.js} +4 -4
- package/dist/{vue-ui-table-1fioweBm.js → vue-ui-table-BNvnkqgr.js} +4 -4
- package/dist/{vue-ui-table-heatmap-C9B50I8F.js → vue-ui-table-heatmap-BecLm3ow.js} +2 -2
- package/dist/{vue-ui-table-sparkline-CHRU9kcU.js → vue-ui-table-sparkline-Z9G-8VPL.js} +2 -2
- package/dist/{vue-ui-thermometer-BkYFDCK_.js → vue-ui-thermometer-NJ6mFchh.js} +4 -4
- package/dist/{vue-ui-timer-Qec1qL9Y.js → vue-ui-timer-BzWAHC6N.js} +4 -4
- package/dist/{vue-ui-tiremarks-DWJFmX5I.js → vue-ui-tiremarks-DUVReJRZ.js} +4 -4
- package/dist/{vue-ui-treemap-CZl4JSsA.js → vue-ui-treemap-pLbU0XEi.js} +5 -5
- package/dist/{vue-ui-waffle-CVo_6Vo6.js → vue-ui-waffle-QkCm05fN.js} +4 -4
- package/dist/{vue-ui-wheel-oRl2lzXg.js → vue-ui-wheel-DaRAOHXK.js} +4 -4
- package/dist/{vue-ui-word-cloud-D9URPA8p.js → vue-ui-word-cloud-CEIaALCH.js} +5 -5
- package/dist/{vue-ui-world-6qUyz6us.js → vue-ui-world-BS0oWBVp.js} +430 -579
- package/dist/{vue-ui-xy-canvas-QsBOBS05.js → vue-ui-xy-canvas-CLoA6DTt.js} +7 -7
- package/dist/{vue-ui-xy-DCIyTcrb.js → vue-ui-xy-l6mUNMUu.js} +6 -6
- package/package.json +1 -1
- package/dist/BaseScanner-BgWxam9d.js +0 -29
- package/dist/usePanZoom-DMfuOfaC.js +0 -135
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { u as it, B as ct } from "./BaseScanner-
|
|
4
|
+
import { u as nt, a as Ee } from "./useNestedProp-BeKjhKny.js";
|
|
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";
|
|
8
8
|
import { u as yt } from "./useThemeCheck-DGJ31Vi5.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-osQjQYc-.js";
|
|
14
|
+
import Ct from "./BaseIcon-CQaciFyv.js";
|
|
15
|
+
import Lt from "./vue-ui-accordion-nCaoOi6x.js";
|
|
16
|
+
import { S as kt } from "./SlicerPreview-DmzwkUJ4.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-C8cgUUyx.js")), Zl = pe(() => import("./UserOptions-DeiXBImO.js")), Jl = pe(() => import("./NonSvgPenAndPaper-CVjActC2.js")), Ql = pe(() => import("./BaseDraggableDialog-B6wHUQPl.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
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
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-BeKjhKny.js";
|
|
5
5
|
import { u as kr } from "./usePrinter-DXIMGR61.js";
|
|
6
|
-
import { u as _r, B as wr } from "./BaseScanner-
|
|
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";
|
|
8
8
|
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-osQjQYc-.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-DmzwkUJ4.js";
|
|
15
|
+
import Ir from "./vue-ui-accordion-nCaoOi6x.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-C8cgUUyx.js")), jt = Xe(() => import("./Tooltip-l2pmtXwi.js")), eo = Xe(() => import("./UserOptions-DeiXBImO.js")), $a = Xe(() => import("./BaseIcon-CQaciFyv.js")), lo = Xe(() => import("./vue-ui-table-sparkline-Z9G-8VPL.js").then((a) => a.b)), ao = Xe(() => import("./PackageVersion-CIhhY-aH.js")), to = Xe(() => import("./PenAndPaper-DtbXViIl.js")), oo = Xe(() => import("./BaseDraggableDialog-B6wHUQPl.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
|
}));
|
package/package.json
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ref as d, computed as v, unref as c, watchEffect as g, createElementBlock as h, openBlock as A } from "vue";
|
|
2
|
-
import { _ as y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
function S({
|
|
4
|
-
config: o,
|
|
5
|
-
dataset: e,
|
|
6
|
-
skeletonDataset: r,
|
|
7
|
-
skeletonConfig: s,
|
|
8
|
-
FINAL_CONFIG: i,
|
|
9
|
-
prepareConfig: f,
|
|
10
|
-
callback: t = null,
|
|
11
|
-
dsIsNumber: _ = !1
|
|
12
|
-
}) {
|
|
13
|
-
const u = d(!1), a = v(() => {
|
|
14
|
-
const m = c(o)?.loading ?? !1, n = c(e), p = _ ? [null, void 0].includes(n) : n == null || Array.isArray(n) && n.length === 0 || Object.keys(n).length === 0;
|
|
15
|
-
return u.value || m || p;
|
|
16
|
-
}), l = d(c(e));
|
|
17
|
-
return g(() => {
|
|
18
|
-
l.value = a.value ? r : c(e), i.value = a.value ? s : f(), t && t();
|
|
19
|
-
}), { loading: a, FINAL_DATASET: l, manualLoading: u, skeletonDataset: r, skeletonConfig: s };
|
|
20
|
-
}
|
|
21
|
-
const B = {}, E = { class: "vue-data-ui-scanner" };
|
|
22
|
-
function L(o, e) {
|
|
23
|
-
return A(), h("div", E);
|
|
24
|
-
}
|
|
25
|
-
const T = /* @__PURE__ */ y(B, [["render", L], ["__scopeId", "data-v-d6376e44"]]);
|
|
26
|
-
export {
|
|
27
|
-
T as B,
|
|
28
|
-
S as u
|
|
29
|
-
};
|
|
@@ -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
|
-
};
|