vue-data-ui 3.22.13 → 3.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +13 -1
- package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
- package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
- package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
- package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
- package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
- package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
- package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
- package/dist/HillActions-BWhxHlrj.js +187 -0
- package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
- package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
- package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
- package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
- package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
- package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
- package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
- package/dist/Title-BODtwViI.js +87 -0
- package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
- package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +2 -0
- 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-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
- package/dist/exposedLib-DWLRqRhv.js +25 -0
- package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
- package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
- package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
- package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
- package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
- package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
- 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 +493 -0
- package/dist/types/vue-ui-hill.d.ts +90 -0
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
- package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
- package/dist/useHints-Dq_w2E8B.js +66 -0
- package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
- package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
- package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
- package/dist/useTransitions-g_zBREk2.js +39 -0
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
- package/dist/vue-data-ui.js +77 -76
- package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
- package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
- package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
- package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
- package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
- package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
- package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
- package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
- package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
- package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
- package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
- package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
- package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
- package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
- package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
- package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
- package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
- package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
- package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
- package/dist/vue-ui-funnel-CjYosIik.js +797 -0
- package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
- package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
- package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
- package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
- package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
- package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
- package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
- package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
- package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
- package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
- package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
- package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
- package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
- package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
- package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
- package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
- package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
- package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
- package/dist/vue-ui-rating--K7rX2an.js +360 -0
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
- package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
- package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
- package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
- package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
- package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
- package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
- package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
- package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
- package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
- package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
- package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
- package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
- package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
- package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
- package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
- package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
- package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
- package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
- package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
- package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
- package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
- package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
- package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
- package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
- package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
- package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
- package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
- package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
- package/dist/vue_ui_hill-dnltu0L-.js +368 -0
- package/package.json +2 -2
- package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
- package/dist/Title-BuPs74IB.js +0 -87
- package/dist/exposedLib-Ciw6TGtP.js +0 -25
- package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
- package/dist/useMountedDelay-BAjrhRJb.js +0 -14
- package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
- package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
- package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
- package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
- package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
- package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
- package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
- package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
- package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
- package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
- package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
- package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
- package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
- package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
- package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
- package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
- package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
- package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
- package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
- package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
- package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
- package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
- package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
- package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
- package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
- package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
- package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
- package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
- package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
- package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
- package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
- package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
- package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { q as t } from "./lib-BuMGJ_a0.js";
|
|
3
|
+
import { n, t as r } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as i } from "./useConfig-BilxnBNr.js";
|
|
5
|
+
import { t as a } from "./usePrinter-BFvi4jVy.js";
|
|
6
|
+
import { t as ee } from "./useNestedProp--NSEmhOH.js";
|
|
7
|
+
import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
|
+
import { t as te } from "./useUserOptionState-DK-_1ddE.js";
|
|
9
|
+
import { t as ne } from "./UserOptions-3ujTo3LD.js";
|
|
10
|
+
import { n as re } from "./PenAndPaper-cE4J8-rA.js";
|
|
11
|
+
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as ie, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as ae, normalizeClass as oe, normalizeProps as h, normalizeStyle as g, openBlock as _, ref as v, renderList as se, renderSlot as y, resolveDynamicComponent as ce, unref as b, useCssVars as le, watch as x, withCtx as S } from "vue";
|
|
12
|
+
//#region src/components/vue-ui-dashboard.vue
|
|
13
|
+
var C = /* @__PURE__ */ e({ default: () => T }), ue = ["id"], de = ["onMousedown", "onTouchstart"], fe = ["onMousedown", "onTouchstart"], pe = ["onMousedown", "onTouchstart"], me = ["onMousedown", "onTouchstart"], he = ["onMousedown", "onTouchstart"], w = 1, T = /*#__PURE__*/ o({
|
|
14
|
+
__name: "vue-ui-dashboard",
|
|
15
|
+
props: {
|
|
16
|
+
dataset: Array,
|
|
17
|
+
config: Object
|
|
18
|
+
},
|
|
19
|
+
emits: ["change", "copyAlt"],
|
|
20
|
+
setup(e, { expose: o, emit: C }) {
|
|
21
|
+
le((e) => ({
|
|
22
|
+
f1be45ec: Oe.value,
|
|
23
|
+
v5f77e8e0: ke.value
|
|
24
|
+
}));
|
|
25
|
+
let T = {
|
|
26
|
+
VueDataUi: p(() => import("./vue-data-ui-EsawKe_W.js").then((e) => e.n)),
|
|
27
|
+
VueUi3dBar: p(() => import("./vue-ui-3d-bar-RSUS2xpL.js").then((e) => e.n)),
|
|
28
|
+
VueUiAccordion: p(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)),
|
|
29
|
+
VueUiAgePyramid: p(() => import("./vue-ui-age-pyramid-CgnPWA93.js").then((e) => e.n)),
|
|
30
|
+
VueUiAnnotator: p(() => import("./vue-ui-annotator-DBRT85HG.js").then((e) => e.n)),
|
|
31
|
+
VueUiCandlestick: p(() => import("./vue-ui-candlestick-DvvsrIdp.js").then((e) => e.n)),
|
|
32
|
+
VueUiChestnut: p(() => import("./vue-ui-chestnut-ArloORzP.js").then((e) => e.n)),
|
|
33
|
+
VueUiDigits: p(() => import("./vue-ui-digits-DgDE-_Fn.js").then((e) => e.n)),
|
|
34
|
+
VueUiDonut: p(() => import("./vue-ui-donut-B_n6wF6B.js").then((e) => e.n)),
|
|
35
|
+
VueUiDonutEvolution: p(() => import("./vue-ui-donut-evolution-D6vH_hfx.js").then((e) => e.n)),
|
|
36
|
+
VueUiDumbbell: p(() => import("./vue-ui-dumbbell-BX4Ao_wR.js").then((e) => e.n)),
|
|
37
|
+
VueUiFlow: p(() => import("./vue-ui-flow-Bshw8pT_.js").then((e) => e.n)),
|
|
38
|
+
VueUiGalaxy: p(() => import("./vue-ui-galaxy-CvXgy-dy.js").then((e) => e.n)),
|
|
39
|
+
VueUiGauge: p(() => import("./vue-ui-gauge-CByT0_vF.js").then((e) => e.n)),
|
|
40
|
+
VueUiHeatmap: p(() => import("./vue-ui-heatmap-DEEKv8ip.js").then((e) => e.n)),
|
|
41
|
+
VueUiKpi: p(() => import("./vue-ui-kpi-DCBnNfTb.js").then((e) => e.n)),
|
|
42
|
+
VueUiMiniLoader: p(() => import("./vue-ui-mini-loader-CtWpqnLW.js").then((e) => e.n)),
|
|
43
|
+
VueUiMolecule: p(() => import("./vue-ui-molecule-D3igGyOy.js").then((e) => e.n)),
|
|
44
|
+
VueUiMoodRadar: p(() => import("./vue-ui-mood-radar-sl6DMxqR.js").then((e) => e.n)),
|
|
45
|
+
VueUiNestedDonuts: p(() => import("./vue-ui-nested-donuts-aS4YzaB3.js").then((e) => e.n)),
|
|
46
|
+
VueUiOnion: p(() => import("./vue-ui-onion-EhPTZpW_.js").then((e) => e.n)),
|
|
47
|
+
VueUiParallelCoordinatePlot: p(() => import("./vue-ui-parallel-coordinate-plot-DE9wTmQQ.js").then((e) => e.n)),
|
|
48
|
+
VueUiQuadrant: p(() => import("./vue-ui-quadrant-SaY_RPSE.js").then((e) => e.n)),
|
|
49
|
+
VueUiQuickChart: p(() => import("./vue-ui-quick-chart-CJ9rejnj.js").then((e) => e.n)),
|
|
50
|
+
VueUiRadar: p(() => import("./vue-ui-radar-CaNen5Fj.js").then((e) => e.n)),
|
|
51
|
+
VueUiRating: p(() => import("./vue-ui-rating--K7rX2an.js").then((e) => e.n)),
|
|
52
|
+
VueUiRelationCircle: p(() => import("./vue-ui-relation-circle-FLs8vOxQ.js").then((e) => e.n)),
|
|
53
|
+
VueUiRings: p(() => import("./vue-ui-rings-BevKD8P-.js").then((e) => e.n)),
|
|
54
|
+
VueUiScatter: p(() => import("./vue-ui-scatter-CNA7jF-o.js").then((e) => e.n)),
|
|
55
|
+
VueUiSkeleton: p(() => import("./vue-ui-skeleton-B9ZP1w-i.js").then((e) => e.n)),
|
|
56
|
+
VueUiSmiley: p(() => import("./vue-ui-smiley-DYnqqk6u.js").then((e) => e.n)),
|
|
57
|
+
VueUiSparkHistogram: p(() => import("./vue-ui-sparkhistogram-DvRKy8rq.js").then((e) => e.n)),
|
|
58
|
+
VueUiSparkStackbar: p(() => import("./vue-ui-sparkstackbar-DlnPdZih.js").then((e) => e.n)),
|
|
59
|
+
VueUiSparkTrend: p(() => import("./vue-ui-spark-trend-R0ebpg-G.js").then((e) => e.n)),
|
|
60
|
+
VueUiSparkbar: p(() => import("./vue-ui-sparkbar-DYC3By0v.js").then((e) => e.n)),
|
|
61
|
+
VueUiSparkgauge: p(() => import("./vue-ui-sparkgauge-Bw6no-In.js").then((e) => e.n)),
|
|
62
|
+
VueUiSparkline: p(() => import("./vue-ui-sparkline-Dz1uzBos.js").then((e) => e.n)),
|
|
63
|
+
VueUiStripPlot: p(() => import("./vue-ui-strip-plot-ACeYOoHj.js").then((e) => e.n)),
|
|
64
|
+
VueUiTable: p(() => import("./vue-ui-table-rFy16bp0.js").then((e) => e.n)),
|
|
65
|
+
VueUiTableHeatmap: p(() => import("./vue-ui-table-heatmap-DVwMqzje.js").then((e) => e.n)),
|
|
66
|
+
VueUiTableSparkline: p(() => import("./vue-ui-table-sparkline-CABJzK8p.js").then((e) => e.n)),
|
|
67
|
+
VueUiThermometer: p(() => import("./vue-ui-thermometer-CVQ-H69Q.js").then((e) => e.n)),
|
|
68
|
+
VueUiTimer: p(() => import("./vue-ui-timer-Bm8LpsnI.js").then((e) => e.n)),
|
|
69
|
+
VueUiTiremarks: p(() => import("./vue-ui-tiremarks-DB3f5qiz.js").then((e) => e.n)),
|
|
70
|
+
VueUiTreemap: p(() => import("./vue-ui-treemap-DP0Sx8Y8.js").then((e) => e.n)),
|
|
71
|
+
VueUiVerticalBar: p(() => import("./vue-ui-horizontal-bar-CfFye5tL.js").then((e) => e.n)),
|
|
72
|
+
VueUiHorizontalBar: p(() => import("./vue-ui-horizontal-bar-CfFye5tL.js").then((e) => e.n)),
|
|
73
|
+
VueUiWaffle: p(() => import("./vue-ui-waffle-iPpdk1Bm.js").then((e) => e.n)),
|
|
74
|
+
VueUiWheel: p(() => import("./vue-ui-wheel-BJkEYfLj.js").then((e) => e.n)),
|
|
75
|
+
VueUiWordCloud: p(() => import("./vue-ui-word-cloud-B2sxtel9.js").then((e) => e.n)),
|
|
76
|
+
VueUiXy: p(() => import("./vue-ui-xy-DZj5DT-q.js").then((e) => e.n)),
|
|
77
|
+
VueUiXyCanvas: p(() => import("./vue-ui-xy-canvas-BN2u0bOJ.js").then((e) => e.n)),
|
|
78
|
+
VueUiCarouselTable: p(() => import("./vue-ui-carousel-table-DtsNVim8.js").then((e) => e.n)),
|
|
79
|
+
VueUiGizmo: p(() => import("./vue-ui-gizmo-CJdxyPID.js").then((e) => e.n)),
|
|
80
|
+
VueUiStackbar: p(() => import("./vue-ui-stackbar-B-THcavY.js").then((e) => e.n)),
|
|
81
|
+
VueUiStackline: p(() => import("./vue-ui-stackline-3dBPoI0h.js").then((e) => e.n)),
|
|
82
|
+
VueUiBullet: p(() => import("./vue-ui-bullet-Bc3-WaN1.js").then((e) => e.n)),
|
|
83
|
+
VueUiFunnel: p(() => import("./vue-ui-funnel-CjYosIik.js").then((e) => e.n)),
|
|
84
|
+
VueUiHistoryPlot: p(() => import("./vue-ui-history-plot-BhcU94Pt.js").then((e) => e.n)),
|
|
85
|
+
VueUiCirclePack: p(() => import("./vue-ui-circle-pack-D8wykmqg.js").then((e) => e.n)),
|
|
86
|
+
VueUiWorld: p(() => import("./vue-ui-world-BBQZLnzm.js").then((e) => e.n)),
|
|
87
|
+
VueUiChord: p(() => import("./vue-ui-chord-xX5gWZy8.js").then((e) => e.n)),
|
|
88
|
+
VueUiRidgeline: p(() => import("./vue-ui-ridgeline-Beg5hshN.js").then((e) => e.n)),
|
|
89
|
+
VueUiDag: p(() => import("./vue-ui-dag-C9Sf9vH7.js").then((e) => e.n))
|
|
90
|
+
}, { vue_ui_dashboard: ge } = i(), _e = v(null), ve = v(null), E = v(null), D = e, O = c(() => ee({
|
|
91
|
+
userConfig: D.config,
|
|
92
|
+
defaultConfig: ge
|
|
93
|
+
}));
|
|
94
|
+
n({
|
|
95
|
+
config: () => O.value,
|
|
96
|
+
dataset: () => D.dataset,
|
|
97
|
+
component: "VueUiDashboard",
|
|
98
|
+
rules: [r.noHint]
|
|
99
|
+
});
|
|
100
|
+
let k = c(() => O.value.userOptions.useCursorPointer), A = v(t()), j = v(O.value.locked);
|
|
101
|
+
function ye() {
|
|
102
|
+
j.value = !j.value;
|
|
103
|
+
}
|
|
104
|
+
x(() => D.config, () => {
|
|
105
|
+
j.value = O.value.locked, Q.value = !O.value.userOptions.showOnChartHover;
|
|
106
|
+
});
|
|
107
|
+
function M() {
|
|
108
|
+
return D.dataset.map((e, t) => ({
|
|
109
|
+
...e,
|
|
110
|
+
index: t
|
|
111
|
+
}));
|
|
112
|
+
}
|
|
113
|
+
let N = v(M());
|
|
114
|
+
x(() => D.dataset, () => {
|
|
115
|
+
N.value = M();
|
|
116
|
+
});
|
|
117
|
+
let P = c(() => N.value.map((e) => ({
|
|
118
|
+
...e,
|
|
119
|
+
resolvedComponent: typeof e.component == "string" ? T[e.component] : e.component
|
|
120
|
+
}))), F = v(null), I = v(null), L = v({
|
|
121
|
+
x: 0,
|
|
122
|
+
y: 0
|
|
123
|
+
}), R = v({
|
|
124
|
+
x: 0,
|
|
125
|
+
y: 0
|
|
126
|
+
}), z = v(null), B = v(!1), V = v(null), H = v(!1);
|
|
127
|
+
function U(e) {
|
|
128
|
+
let t = e.target;
|
|
129
|
+
(t.tagName === "INPUT" && t.type === "range" || t.classList.contains("range-handle")) && (H.value = !0);
|
|
130
|
+
}
|
|
131
|
+
function W(e) {
|
|
132
|
+
let t = e.target;
|
|
133
|
+
t.tagName === "INPUT" && t.type === "range" && (H.value = !1);
|
|
134
|
+
}
|
|
135
|
+
let { isPrinting: be, isImaging: xe, generatePdf: G, generateImage: Se } = a({
|
|
136
|
+
elementId: `vue-ui-dashboard_${A.value}`,
|
|
137
|
+
fileName: O.value.userOptions.print.filename || "dashboard",
|
|
138
|
+
options: {
|
|
139
|
+
...O.value.userOptions.print,
|
|
140
|
+
aspectRatio: O.value.style.board.aspectRatio
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
function Ce(e) {
|
|
144
|
+
if (!j.value && (B.value = !0, V.value = e, I.value === null)) {
|
|
145
|
+
F.value = e, L.value = {
|
|
146
|
+
x: event.clientX,
|
|
147
|
+
y: event.clientY
|
|
148
|
+
};
|
|
149
|
+
let t = N.value[e], n = 100 - t.width, r = 100 - t.height;
|
|
150
|
+
t.left < 0 && (t.left = 0), t.top < 0 && (t.top = 0), t.left > n && (t.left = n), t.top > r && (t.top = r), t.left < 0 && (t.left = 0), t.top < 0 && (t.top = 0), t.left + t.width > 100 && (t.left = 100 - t.width), t.top + t.height > 100 && (t.top = 100 - t.height);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
function K(e, t) {
|
|
154
|
+
B.value = !0, V.value = e, I.value = {
|
|
155
|
+
index: e,
|
|
156
|
+
direction: t
|
|
157
|
+
};
|
|
158
|
+
let n = N.value[e];
|
|
159
|
+
R.value = {
|
|
160
|
+
x: event.clientX,
|
|
161
|
+
y: event.clientY,
|
|
162
|
+
initialWidth: n.width,
|
|
163
|
+
initialHeight: n.height
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
function q(e, t, n) {
|
|
167
|
+
if (I.value.direction.includes("top")) {
|
|
168
|
+
let t = e.height - n / z.value.offsetHeight * 100;
|
|
169
|
+
t >= w && (e.top += n / z.value.offsetHeight * 100, e.height = t);
|
|
170
|
+
}
|
|
171
|
+
if (I.value.direction.includes("bottom")) {
|
|
172
|
+
let t = e.height + n / z.value.offsetHeight * 100;
|
|
173
|
+
t >= w && (e.height = t);
|
|
174
|
+
}
|
|
175
|
+
if (I.value.direction.includes("left")) {
|
|
176
|
+
let n = e.width - t / z.value.offsetWidth * 100;
|
|
177
|
+
n >= w && (e.left += t / z.value.offsetWidth * 100, e.width = n);
|
|
178
|
+
}
|
|
179
|
+
if (I.value.direction.includes("right")) {
|
|
180
|
+
let n = e.width + t / z.value.offsetWidth * 100;
|
|
181
|
+
n >= w && (e.width = n);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
function we(e) {
|
|
185
|
+
if (!(j.value || H.value)) {
|
|
186
|
+
if (B.value = !0, F.value !== null) {
|
|
187
|
+
let t = N.value[F.value], n = e.clientX - L.value.x, r = e.clientY - L.value.y, i = t.left + n / z.value.offsetWidth * 100, a = t.top + r / z.value.offsetHeight * 100;
|
|
188
|
+
i >= 0 && a >= 0 && i + t.width <= 100 && a + t.height <= 100 && (t.left = i, t.top = a), L.value = {
|
|
189
|
+
x: e.clientX,
|
|
190
|
+
y: e.clientY
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
if (I.value !== null) {
|
|
194
|
+
let t = N.value[I.value.index];
|
|
195
|
+
q(t, e.clientX - R.value.x, e.clientY - R.value.y), R.value = {
|
|
196
|
+
x: e.clientX,
|
|
197
|
+
y: e.clientY
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
let J = C;
|
|
203
|
+
x(N, (e) => {
|
|
204
|
+
e && !B.value && J("change", N.value);
|
|
205
|
+
}, { deep: !0 });
|
|
206
|
+
function Te() {
|
|
207
|
+
F.value = null, I.value = null, B.value = !1, V.value = null, N.value.forEach((e) => {
|
|
208
|
+
e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
function Ee(e) {
|
|
212
|
+
j.value || H.value || (B.value = !0, V.value = e, I.value === null && (F.value = e, L.value = {
|
|
213
|
+
x: event.touches[0].clientX,
|
|
214
|
+
y: event.touches[0].clientY
|
|
215
|
+
}));
|
|
216
|
+
}
|
|
217
|
+
function Y(e, t, n) {
|
|
218
|
+
if (B.value = !0, V.value = e, I.value === null) {
|
|
219
|
+
I.value = {
|
|
220
|
+
index: e,
|
|
221
|
+
direction: t
|
|
222
|
+
};
|
|
223
|
+
let r = N.value[e];
|
|
224
|
+
R.value = {
|
|
225
|
+
x: n.touches[0].clientX,
|
|
226
|
+
y: n.touches[0].clientY,
|
|
227
|
+
initialWidth: r.width,
|
|
228
|
+
initialHeight: r.height
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
function X(e) {
|
|
233
|
+
if (B.value = !0, e.preventDefault(), I.value !== null) {
|
|
234
|
+
let t = N.value[I.value.index];
|
|
235
|
+
q(t, e.touches[0].clientX - R.value.x, e.touches[0].clientY - R.value.y), R.value = {
|
|
236
|
+
x: e.touches[0].clientX,
|
|
237
|
+
y: e.touches[0].clientY
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
function De(e) {
|
|
242
|
+
if (!(j.value || H.value) && (B.value = !0, e.preventDefault(), F.value !== null)) {
|
|
243
|
+
let t = N.value[F.value], n = e.touches[0].clientX - L.value.x, r = e.touches[0].clientY - L.value.y, i = t.left + n / z.value.offsetWidth * 100, a = t.top + r / z.value.offsetHeight * 100;
|
|
244
|
+
i >= 0 && a >= 0 && i + t.width <= 100 && a + t.height <= 100 && (t.left = i, t.top = a), L.value = {
|
|
245
|
+
x: e.touches[0].clientX,
|
|
246
|
+
y: e.touches[0].clientY
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
function Z() {
|
|
251
|
+
B.value = !1, V.value = null, F.value = null, I.value = null, N.value.forEach((e) => {
|
|
252
|
+
e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
let Oe = c(() => O.value.style.item.borderColor), ke = c(() => O.value.style.resizeHandles.backgroundColor), Ae = c(() => O.value.style.board.aspectRatio), je = c(() => O.value.style.board.backgroundColor), Me = c(() => O.value.style.board.border);
|
|
256
|
+
function Ne() {
|
|
257
|
+
return N.value;
|
|
258
|
+
}
|
|
259
|
+
let { userOptionsVisible: Q, setUserOptionsVisibility: Pe, keepUserOptionState: Fe } = te({ config: O.value }), $ = v(!1);
|
|
260
|
+
function Ie() {
|
|
261
|
+
$.value = !$.value;
|
|
262
|
+
}
|
|
263
|
+
function Le() {
|
|
264
|
+
Pe(!0);
|
|
265
|
+
}
|
|
266
|
+
function Re() {
|
|
267
|
+
Pe(!1);
|
|
268
|
+
}
|
|
269
|
+
async function ze() {
|
|
270
|
+
if (J("copyAlt", {
|
|
271
|
+
config: O.value,
|
|
272
|
+
dataset: P.value
|
|
273
|
+
}), !O.value.userOptions.callbacks.altCopy) {
|
|
274
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
await Promise.resolve(O.value.userOptions.callbacks.altCopy({
|
|
278
|
+
config: O.value,
|
|
279
|
+
dataset: P.value
|
|
280
|
+
}));
|
|
281
|
+
}
|
|
282
|
+
return o({
|
|
283
|
+
generatePdf: G,
|
|
284
|
+
getItemsPositions: Ne,
|
|
285
|
+
toggleLock: ye,
|
|
286
|
+
copyAlt: ze
|
|
287
|
+
}), (e, t) => (_(), d("div", {
|
|
288
|
+
id: `vue-ui-dashboard_${A.value}`,
|
|
289
|
+
onMousedown: U,
|
|
290
|
+
onMouseup: W,
|
|
291
|
+
onTouchstart: U,
|
|
292
|
+
onTouchend: W,
|
|
293
|
+
onMouseenter: Le,
|
|
294
|
+
onMouseleave: Re,
|
|
295
|
+
ref_key: "dashboardRef",
|
|
296
|
+
ref: _e,
|
|
297
|
+
style: { position: "relative" },
|
|
298
|
+
class: "vue-data-ui-component"
|
|
299
|
+
}, [
|
|
300
|
+
f("div", {
|
|
301
|
+
class: "vue-ui-dashboard-container",
|
|
302
|
+
ref_key: "dashboardContainer",
|
|
303
|
+
ref: z,
|
|
304
|
+
style: g(`outline:${Me.value}; background:${je.value}; aspect-ratio:${Ae.value};${$.value ? "pointer-events:none" : ""}`)
|
|
305
|
+
}, [f("div", {
|
|
306
|
+
class: "vue-ui-dashboard-grid-container",
|
|
307
|
+
ref: "container",
|
|
308
|
+
onMousemove: we,
|
|
309
|
+
onMouseup: Te,
|
|
310
|
+
onTouchmove: De,
|
|
311
|
+
onTouchend: Z,
|
|
312
|
+
style: g(`background:${O.value.style.board.backgroundColor}`)
|
|
313
|
+
}, [t[4] ||= f("div", { class: "vue-ui-dashboard-grid" }, null, -1), (_(!0), d(s, null, se(P.value, (n, r) => (_(), d("div", {
|
|
314
|
+
key: n.id,
|
|
315
|
+
class: oe({
|
|
316
|
+
"vue-ui-dashboard-grid-item": !0,
|
|
317
|
+
"vue-ui-dashboard-grid-item--locked": j.value
|
|
318
|
+
}),
|
|
319
|
+
style: g({
|
|
320
|
+
width: `${n.width}%`,
|
|
321
|
+
height: `${n.height}%`,
|
|
322
|
+
left: `${n.left}%`,
|
|
323
|
+
top: `${n.top}%`,
|
|
324
|
+
cursor: "move",
|
|
325
|
+
boxShadow: V.value === r ? "0 6px 12px -3px rgba(0,0,0,0.3)" : "",
|
|
326
|
+
zIndex: V.value === r ? P.value.length + 1 : n.index,
|
|
327
|
+
backgroundColor: O.value.style.item.backgroundColor
|
|
328
|
+
}),
|
|
329
|
+
onMousedown: (e) => Ce(r),
|
|
330
|
+
onTouchstart: (e) => Ee(r, n)
|
|
331
|
+
}, [
|
|
332
|
+
j.value ? u("", !0) : (_(), d(s, { key: 0 }, [
|
|
333
|
+
f("div", {
|
|
334
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-left",
|
|
335
|
+
onMousedown: (e) => K(r, "top-left"),
|
|
336
|
+
onTouchstart: (e) => Y(r, "top-left", e),
|
|
337
|
+
onTouchmove: t[0] ||= (e) => X(e),
|
|
338
|
+
onTouchend: Z
|
|
339
|
+
}, null, 40, fe),
|
|
340
|
+
f("div", {
|
|
341
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",
|
|
342
|
+
onMousedown: (e) => K(r, "top-right"),
|
|
343
|
+
onTouchstart: (e) => Y(r, "top-right", e),
|
|
344
|
+
onTouchmove: t[1] ||= (e) => X(e),
|
|
345
|
+
onTouchend: Z
|
|
346
|
+
}, null, 40, pe),
|
|
347
|
+
f("div", {
|
|
348
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",
|
|
349
|
+
onMousedown: (e) => K(r, "bottom-left"),
|
|
350
|
+
onTouchstart: (e) => Y(r, "bottom-left", e),
|
|
351
|
+
onTouchmove: t[2] ||= (e) => X(e),
|
|
352
|
+
onTouchend: Z
|
|
353
|
+
}, null, 40, me),
|
|
354
|
+
f("div", {
|
|
355
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",
|
|
356
|
+
onMousedown: (e) => K(r, "bottom-right"),
|
|
357
|
+
onTouchstart: (e) => Y(r, "bottom-right", e),
|
|
358
|
+
onTouchmove: t[3] ||= (e) => X(e),
|
|
359
|
+
onTouchend: Z
|
|
360
|
+
}, null, 40, he)
|
|
361
|
+
], 64)),
|
|
362
|
+
y(e.$slots, "top", {
|
|
363
|
+
item: n,
|
|
364
|
+
index: r
|
|
365
|
+
}, void 0, !0),
|
|
366
|
+
n.resolvedComponent ? (_(), l(ce(n.resolvedComponent), ae({
|
|
367
|
+
key: 1,
|
|
368
|
+
ref_for: !0
|
|
369
|
+
}, n.props), null, 16)) : y(e.$slots, "content", {
|
|
370
|
+
item: n,
|
|
371
|
+
index: r,
|
|
372
|
+
left: n.left,
|
|
373
|
+
top: n.top,
|
|
374
|
+
height: n.height,
|
|
375
|
+
width: n.width
|
|
376
|
+
}, void 0, !0, 2),
|
|
377
|
+
y(e.$slots, "bottom", {
|
|
378
|
+
item: n,
|
|
379
|
+
index: r
|
|
380
|
+
}, void 0, !0)
|
|
381
|
+
], 46, de))), 128))], 36)], 4),
|
|
382
|
+
(_(), d("svg", {
|
|
383
|
+
style: g({
|
|
384
|
+
width: "100%",
|
|
385
|
+
height: "100%",
|
|
386
|
+
pointerEvents: "none",
|
|
387
|
+
position: "absolute",
|
|
388
|
+
top: 0,
|
|
389
|
+
left: 0,
|
|
390
|
+
zIndex: P.value.length + 1
|
|
391
|
+
}),
|
|
392
|
+
ref_key: "svgRef",
|
|
393
|
+
ref: E
|
|
394
|
+
}, null, 4)),
|
|
395
|
+
O.value.userOptions.buttons.annotator && z.value && E.value ? (_(), l(re, {
|
|
396
|
+
key: 0,
|
|
397
|
+
color: O.value.style.board.color,
|
|
398
|
+
backgroundColor: O.value.style.board.backgroundColor,
|
|
399
|
+
active: $.value,
|
|
400
|
+
svgRef: E.value,
|
|
401
|
+
isCursorPointer: k.value,
|
|
402
|
+
onClose: Ie,
|
|
403
|
+
style: g({ zIndex: P.value.length + 1 })
|
|
404
|
+
}, {
|
|
405
|
+
"annotator-action-close": S(() => [y(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
406
|
+
"annotator-action-color": S(({ color: t }) => [y(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
|
|
407
|
+
"annotator-action-draw": S(({ mode: t }) => [y(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
|
|
408
|
+
"annotator-action-undo": S(({ disabled: t }) => [y(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
|
|
409
|
+
"annotator-action-redo": S(({ disabled: t }) => [y(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
|
|
410
|
+
"annotator-action-delete": S(({ disabled: t }) => [y(e.$slots, "annotator-action-delete", h(m({ disabled: t })), void 0, !0)]),
|
|
411
|
+
_: 3
|
|
412
|
+
}, 8, [
|
|
413
|
+
"color",
|
|
414
|
+
"backgroundColor",
|
|
415
|
+
"active",
|
|
416
|
+
"svgRef",
|
|
417
|
+
"isCursorPointer",
|
|
418
|
+
"style"
|
|
419
|
+
])) : u("", !0),
|
|
420
|
+
(O.value.allowPrint || O.value.userOptions.show) && (O.value.userOptions.buttons.pdf || O.value.userOptions.buttons.img) ? (_(), l(ne, {
|
|
421
|
+
key: 1,
|
|
422
|
+
ref_key: "userOptionsRef",
|
|
423
|
+
ref: ve,
|
|
424
|
+
backgroundColor: O.value.style.board.backgroundColor,
|
|
425
|
+
color: O.value.style.board.color,
|
|
426
|
+
isPrinting: b(be),
|
|
427
|
+
isImaging: b(xe),
|
|
428
|
+
uid: A.value,
|
|
429
|
+
position: O.value.userOptions.position,
|
|
430
|
+
hasTooltip: !1,
|
|
431
|
+
hasPdf: O.value.userOptions.buttons.pdf,
|
|
432
|
+
hasImg: O.value.userOptions.buttons.img,
|
|
433
|
+
hasXls: !1,
|
|
434
|
+
hasTable: !1,
|
|
435
|
+
hasLabel: !1,
|
|
436
|
+
hasFullscreen: !1,
|
|
437
|
+
hasAltCopy: O.value.userOptions.buttons.altCopy,
|
|
438
|
+
chartElement: z.value,
|
|
439
|
+
callbacks: O.value.userOptions.callbacks,
|
|
440
|
+
hasAnnotator: O.value.userOptions.buttons.annotator,
|
|
441
|
+
isAnnotation: $.value,
|
|
442
|
+
printScale: O.value.userOptions.print.scale,
|
|
443
|
+
titles: { ...O.value.userOptions.buttonTitles },
|
|
444
|
+
isCursorPointer: k.value,
|
|
445
|
+
onGeneratePdf: b(G),
|
|
446
|
+
onGenerateImage: b(Se),
|
|
447
|
+
onToggleAnnotator: Ie,
|
|
448
|
+
onCopyAlt: ze,
|
|
449
|
+
style: g({
|
|
450
|
+
visibility: b(Fe) ? b(Q) ? "visible" : "hidden" : "visible",
|
|
451
|
+
zIndex: P.value.length + 1
|
|
452
|
+
})
|
|
453
|
+
}, ie({ _: 2 }, [
|
|
454
|
+
e.$slots.menuIcon ? {
|
|
455
|
+
name: "menuIcon",
|
|
456
|
+
fn: S(({ isOpen: t, color: n }) => [y(e.$slots, "menuIcon", h(m({
|
|
457
|
+
isOpen: t,
|
|
458
|
+
color: n
|
|
459
|
+
})), void 0, !0)]),
|
|
460
|
+
key: "0"
|
|
461
|
+
} : void 0,
|
|
462
|
+
e.$slots.optionPdf ? {
|
|
463
|
+
name: "optionPdf",
|
|
464
|
+
fn: S(() => [y(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
465
|
+
key: "1"
|
|
466
|
+
} : void 0,
|
|
467
|
+
e.$slots.optionImg ? {
|
|
468
|
+
name: "optionImg",
|
|
469
|
+
fn: S(() => [y(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
470
|
+
key: "2"
|
|
471
|
+
} : void 0,
|
|
472
|
+
e.$slots.optionAnnotator ? {
|
|
473
|
+
name: "optionAnnotator",
|
|
474
|
+
fn: S(({ toggleAnnotator: t, isAnnotator: n }) => [y(e.$slots, "optionAnnotator", h(m({
|
|
475
|
+
toggleAnnotator: t,
|
|
476
|
+
isAnnotator: n
|
|
477
|
+
})), void 0, !0)]),
|
|
478
|
+
key: "3"
|
|
479
|
+
} : void 0,
|
|
480
|
+
e.$slots.optionAltCopy ? {
|
|
481
|
+
name: "optionAltCopy",
|
|
482
|
+
fn: S(({ altCopy: t }) => [y(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
|
|
483
|
+
key: "4"
|
|
484
|
+
} : void 0,
|
|
485
|
+
e.$slots["custom-menu-before"] ? {
|
|
486
|
+
name: "custom-menu-before",
|
|
487
|
+
fn: S(() => [y(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
488
|
+
key: "5"
|
|
489
|
+
} : void 0,
|
|
490
|
+
e.$slots["custom-menu-after"] ? {
|
|
491
|
+
name: "custom-menu-after",
|
|
492
|
+
fn: S(() => [y(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
493
|
+
key: "6"
|
|
494
|
+
} : void 0
|
|
495
|
+
]), 1032, [
|
|
496
|
+
"backgroundColor",
|
|
497
|
+
"color",
|
|
498
|
+
"isPrinting",
|
|
499
|
+
"isImaging",
|
|
500
|
+
"uid",
|
|
501
|
+
"position",
|
|
502
|
+
"hasPdf",
|
|
503
|
+
"hasImg",
|
|
504
|
+
"hasAltCopy",
|
|
505
|
+
"chartElement",
|
|
506
|
+
"callbacks",
|
|
507
|
+
"hasAnnotator",
|
|
508
|
+
"isAnnotation",
|
|
509
|
+
"printScale",
|
|
510
|
+
"titles",
|
|
511
|
+
"isCursorPointer",
|
|
512
|
+
"onGeneratePdf",
|
|
513
|
+
"onGenerateImage",
|
|
514
|
+
"style"
|
|
515
|
+
])) : u("", !0)
|
|
516
|
+
], 40, ue));
|
|
517
|
+
}
|
|
518
|
+
}, [["__scopeId", "data-v-842ab9e8"]]);
|
|
519
|
+
//#endregion
|
|
520
|
+
export { C as n, T as t };
|