vue-data-ui 3.19.5 → 3.19.7
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-BQcmQAK5.js → BaseDraggableDialog-DUUu2E2Q.js} +1 -1
- package/dist/{BaseIcon-CEmt3Ifx.js → BaseIcon-DM1x8hQF.js} +6 -3
- package/dist/{BaseLegendToggle-DUIqQmwM.js → BaseLegendToggle-CJTwLGXL.js} +1 -1
- package/dist/{BaseZoomControls-Ce1yqas1.js → BaseZoomControls-BkajQ8q9.js} +1 -1
- package/dist/{ColorPicker-DS_QkH3W.js → ColorPicker-DTQeqKUV.js} +1 -1
- package/dist/{DataTable-BvDJEAma.js → DataTable-DmE8Oo4i.js} +1 -1
- package/dist/{NonSvgPenAndPaper-D4Gh7O43.js → NonSvgPenAndPaper-tvWXeCsd.js} +2 -2
- package/dist/{PackageVersion-CGiidfDW.js → PackageVersion-DUU5Aku2.js} +1 -1
- package/dist/{PenAndPaper-DwpL8Z0l.js → PenAndPaper-DNgm6y3l.js} +2 -2
- package/dist/{Slicer-BlfyiHHD.js → Slicer-CPWGgGSp.js} +1 -1
- package/dist/{SlicerPreview-CG1jpZqZ.js → SlicerPreview-BU3ZeHjR.js} +1 -1
- package/dist/{UserOptions-DMw8EZEo.js → UserOptions-D7zR0tnR.js} +8 -4
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +107 -0
- package/dist/types/vue-ui-3d-bar.d.ts +2 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +2 -0
- package/dist/types/vue-ui-bullet.d.ts +2 -0
- package/dist/types/vue-ui-bump.d.ts +2 -0
- package/dist/types/vue-ui-candlestick.d.ts +2 -0
- package/dist/types/vue-ui-carousel-table.d.ts +2 -0
- package/dist/types/vue-ui-chestnut.d.ts +2 -0
- package/dist/types/vue-ui-chord.d.ts +2 -0
- package/dist/types/vue-ui-circle-pack.d.ts +2 -0
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/types/vue-ui-dashboard.d.ts +2 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +2 -0
- package/dist/types/vue-ui-donut.d.ts +2 -0
- package/dist/types/vue-ui-dumbbell.d.ts +2 -0
- package/dist/types/vue-ui-flow.d.ts +2 -0
- package/dist/types/vue-ui-funnel.d.ts +2 -0
- package/dist/types/vue-ui-galaxy.d.ts +2 -0
- package/dist/types/vue-ui-gauge.d.ts +2 -0
- package/dist/types/vue-ui-geo.d.ts +2 -0
- package/dist/types/vue-ui-heatmap.d.ts +2 -0
- package/dist/types/vue-ui-history-plot.d.ts +2 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +2 -0
- package/dist/types/vue-ui-molecule.d.ts +2 -0
- package/dist/types/vue-ui-mood-radar.d.ts +2 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +2 -0
- package/dist/types/vue-ui-onion.d.ts +2 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +2 -0
- package/dist/types/vue-ui-quadrant.d.ts +2 -0
- package/dist/types/vue-ui-quick-chart.d.ts +2 -0
- package/dist/types/vue-ui-radar.d.ts +2 -0
- package/dist/types/vue-ui-relation-circle.d.ts +2 -0
- package/dist/types/vue-ui-ridgeline.d.ts +2 -0
- package/dist/types/vue-ui-rings.d.ts +2 -0
- package/dist/types/vue-ui-scatter.d.ts +2 -0
- package/dist/types/vue-ui-stackbar.d.ts +2 -0
- package/dist/types/vue-ui-stackline.d.ts +2 -0
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +2 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +2 -0
- package/dist/types/vue-ui-thermometer.d.ts +2 -0
- package/dist/types/vue-ui-tiremarks.d.ts +2 -0
- package/dist/types/vue-ui-treemap.d.ts +2 -0
- package/dist/types/vue-ui-waffle.d.ts +2 -0
- package/dist/types/vue-ui-wheel.d.ts +2 -0
- package/dist/types/vue-ui-word-cloud.d.ts +2 -0
- package/dist/types/vue-ui-world.d.ts +2 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +2 -0
- package/dist/types/vue-ui-xy.d.ts +2 -0
- package/dist/{useConfig-lKgU652n.js → useConfig-ByaaSKhz.js} +5 -0
- package/dist/{useObjectBindings-C3q0I8Zm.js → useObjectBindings-BR1sGimd.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-DcI_rZFY.js → vue-data-ui-DBjj6t8B.js} +68 -68
- package/dist/vue-data-ui.js +69 -69
- package/dist/{vue-ui-3d-bar-DiV2fXyA.js → vue-ui-3d-bar-CmAc1xBL.js} +13 -3
- package/dist/{vue-ui-accordion-CNtzLReQ.js → vue-ui-accordion-BX9WL-QF.js} +2 -2
- package/dist/{vue-ui-age-pyramid-OeogBDSt.js → vue-ui-age-pyramid-CFvux3-S.js} +13 -3
- package/dist/{vue-ui-annotator-KPkeXw8q.js → vue-ui-annotator-Be3VpH8Z.js} +4 -4
- package/dist/{vue-ui-bullet-ChpUs3I8.js → vue-ui-bullet-C4xEb3fq.js} +13 -3
- package/dist/{vue-ui-bump-BkAshi4j.js → vue-ui-bump-BW76g7ep.js} +14 -4
- package/dist/vue-ui-candlestick-ShTn9uzH.js +1826 -0
- package/dist/vue-ui-carousel-table-DMan_IZb.js +455 -0
- package/dist/{vue-ui-chestnut-CSHDoJzC.js → vue-ui-chestnut-BIfaNOqy.js} +14 -4
- package/dist/{vue-ui-chord-DdwmuNQX.js → vue-ui-chord-GDJiAjfD.js} +14 -4
- package/dist/{vue-ui-circle-pack-DJQmSf72.js → vue-ui-circle-pack-Bo4ljiP_.js} +14 -4
- package/dist/{vue-ui-cursor-DFf_3h10.js → vue-ui-cursor-BuLoDOFw.js} +2 -2
- package/dist/{vue-ui-dag-CkO3Ax7d.js → vue-ui-dag-BmbwijZi.js} +14 -4
- package/dist/{vue-ui-dashboard--8Xk6LWT.js → vue-ui-dashboard-CyzIaw6M.js} +80 -70
- package/dist/{vue-ui-digits-Cs5EheDs.js → vue-ui-digits-B33dTRHj.js} +2 -2
- package/dist/{vue-ui-donut-DsNo3LIX.js → vue-ui-donut-BIgvjStd.js} +14 -4
- package/dist/{vue-ui-donut-evolution-_QyGlfxI.js → vue-ui-donut-evolution-DT5F88LK.js} +238 -218
- package/dist/{vue-ui-dumbbell-ChGtAAWt.js → vue-ui-dumbbell-SwLKpHuh.js} +13 -3
- package/dist/{vue-ui-flow-B5AzIgoc.js → vue-ui-flow-BqTUyRBS.js} +13 -3
- package/dist/{vue-ui-funnel-EDQSTDkg.js → vue-ui-funnel-GOx4FfhB.js} +14 -4
- package/dist/{vue-ui-galaxy-BD_RrBJE.js → vue-ui-galaxy-CTMyOfp7.js} +14 -4
- package/dist/{vue-ui-gauge-C9QMAGa9.js → vue-ui-gauge-Clz_TmiX.js} +13 -3
- package/dist/{vue-ui-geo-nR7niELP.js → vue-ui-geo-2kZK_UVF.js} +14 -4
- package/dist/{vue-ui-gizmo-Y1enSmyC.js → vue-ui-gizmo-BpNEwLo7.js} +2 -2
- package/dist/{vue-ui-heatmap-D2dBZY8v.js → vue-ui-heatmap-B6FLZij5.js} +15 -5
- package/dist/{vue-ui-history-plot-DEhOa4RX.js → vue-ui-history-plot-DpGwqYyg.js} +14 -4
- package/dist/{vue-ui-horizontal-bar-EoXn4UVd.js → vue-ui-horizontal-bar-BHFd966c.js} +16 -6
- package/dist/{vue-ui-kpi-DUKaYWpW.js → vue-ui-kpi-DyIqCISK.js} +2 -2
- package/dist/{vue-ui-mini-loader-BpLz9pDO.js → vue-ui-mini-loader-DDJUya9e.js} +1 -1
- package/dist/{vue-ui-molecule-MlVj-IXz.js → vue-ui-molecule-BtQOQ32e.js} +14 -4
- package/dist/{vue-ui-mood-radar-B8ILXAqP.js → vue-ui-mood-radar-CZSLnIMi.js} +13 -3
- package/dist/{vue-ui-nested-donuts-Jw8bQEo4.js → vue-ui-nested-donuts-Lhteboo1.js} +14 -4
- package/dist/{vue-ui-onion-D3ANYQG8.js → vue-ui-onion-uCUgmyF1.js} +14 -4
- package/dist/{vue-ui-parallel-coordinate-plot-DBUBo1uE.js → vue-ui-parallel-coordinate-plot-_u_VTAjF.js} +14 -4
- package/dist/{vue-ui-quadrant-CQ9eomPu.js → vue-ui-quadrant-CgalDMyS.js} +14 -4
- package/dist/{vue-ui-quick-chart-bAX-1W7U.js → vue-ui-quick-chart-BAWcSaDB.js} +15 -5
- package/dist/{vue-ui-radar-BrlQJKQ8.js → vue-ui-radar-64HPFASp.js} +14 -4
- package/dist/{vue-ui-rating-DBxf9Vwv.js → vue-ui-rating-D_QR_A3V.js} +1 -1
- package/dist/{vue-ui-relation-circle-53zRDuMv.js → vue-ui-relation-circle-DT4So4-6.js} +16 -6
- package/dist/{vue-ui-ridgeline-B80Je7Dl.js → vue-ui-ridgeline-5fZANTS9.js} +14 -4
- package/dist/{vue-ui-rings-q2Z9_I_C.js → vue-ui-rings-QFY794j3.js} +14 -4
- package/dist/{vue-ui-scatter-B2j49pZG.js → vue-ui-scatter-BPCY-u36.js} +14 -4
- package/dist/{vue-ui-skeleton-DBQVQjee.js → vue-ui-skeleton-Dj_ZVfSX.js} +2 -2
- package/dist/{vue-ui-smiley-2xc8AwPP.js → vue-ui-smiley-rFdGxZK6.js} +1 -1
- package/dist/{vue-ui-spark-trend-2A59xizI.js → vue-ui-spark-trend-DB0VHzm0.js} +2 -2
- package/dist/{vue-ui-sparkbar-ySB5tY6a.js → vue-ui-sparkbar-DVGRTFO5.js} +2 -2
- package/dist/{vue-ui-sparkgauge-1W1qaesz.js → vue-ui-sparkgauge-3UFZaDF9.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-By0How3p.js → vue-ui-sparkhistogram-DRmBVef7.js} +2 -2
- package/dist/{vue-ui-sparkline-BqJ0MXbc.js → vue-ui-sparkline-vsqKnakQ.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-CMVO2Tu-.js → vue-ui-sparkstackbar-BNUhunuQ.js} +3 -3
- package/dist/vue-ui-stackbar-9jP1s0MN.js +2267 -0
- package/dist/vue-ui-stackline-D1o_afno.js +2395 -0
- package/dist/{vue-ui-strip-plot-BkcKTTC6.js → vue-ui-strip-plot-CogQ8VSl.js} +13 -3
- package/dist/{vue-ui-table-CIgdj4R-.js → vue-ui-table-Bub1v0eM.js} +5 -5
- package/dist/{vue-ui-table-heatmap-CvHoeUmu.js → vue-ui-table-heatmap-BFKyJTr1.js} +15 -5
- package/dist/{vue-ui-table-sparkline-DReGOXrL.js → vue-ui-table-sparkline-BPts9wTR.js} +14 -4
- package/dist/{vue-ui-thermometer-Bmq8u98B.js → vue-ui-thermometer-CJJ4cVt0.js} +16 -6
- package/dist/{vue-ui-timer-cYpIWaiH.js → vue-ui-timer-BEPXWd20.js} +3 -3
- package/dist/{vue-ui-tiremarks-B01ayToa.js → vue-ui-tiremarks-BC7bLLQD.js} +13 -3
- package/dist/{vue-ui-treemap-CbqNfpkg.js → vue-ui-treemap-Cja-vZoa.js} +15 -5
- package/dist/{vue-ui-waffle-zz_nDVZ3.js → vue-ui-waffle-BRj-YBlz.js} +14 -4
- package/dist/{vue-ui-wheel--8hd9-06.js → vue-ui-wheel-AOTFpTWN.js} +16 -6
- package/dist/{vue-ui-word-cloud-BXyP8Qzx.js → vue-ui-word-cloud-dqfAdhW-.js} +14 -4
- package/dist/{vue-ui-world-hy7P8x_O.js → vue-ui-world-DqwsIYze.js} +14 -4
- package/dist/vue-ui-xy-Dhult6gR.js +4181 -0
- package/dist/{vue-ui-xy-canvas-BKUggHiV.js → vue-ui-xy-canvas-B06Rit63.js} +17 -7
- package/package.json +1 -1
- package/dist/vue-ui-candlestick-BwHP3icU.js +0 -1804
- package/dist/vue-ui-carousel-table-Bb5y_p3g.js +0 -445
- package/dist/vue-ui-stackbar-CRbyQwVz.js +0 -2243
- package/dist/vue-ui-stackline-CLlAhA0E.js +0 -2371
- package/dist/vue-ui-xy-3LB_mNPd.js +0 -4141
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { H as t, J as n, S as r, St as i, X as a, jt as ee } from "./lib-BkiwukKO.js";
|
|
3
|
+
import { t as te } from "./useConfig-ByaaSKhz.js";
|
|
4
|
+
import { t as ne } from "./usePrinter-X0yWOynH.js";
|
|
5
|
+
import { t as re } from "./useNestedProp-Ck4hsrpu.js";
|
|
6
|
+
import { t as ie } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
7
|
+
import { t as ae } from "./useUserOptionState-CjPJPTg2.js";
|
|
8
|
+
import { t as oe } from "./usePrefersMotion-BywLbIko.js";
|
|
9
|
+
import { Fragment as o, computed as s, createBlock as se, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as ce, createTextVNode as d, defineAsyncComponent as le, guardReactiveProps as f, mergeProps as ue, nextTick as p, normalizeClass as de, normalizeProps as m, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as fe, toDisplayString as S, unref as C, useSlots as pe, watch as w, withCtx as T } from "vue";
|
|
10
|
+
//#region src/components/vue-ui-carousel-table.vue
|
|
11
|
+
var me = /* @__PURE__ */ e({ default: () => E }), he = ["id"], ge = ["aria-labelledby"], _e = ["id"], ve = ["height"], ye = ["id"], be = [
|
|
12
|
+
"data-cell",
|
|
13
|
+
"aria-label",
|
|
14
|
+
"height"
|
|
15
|
+
], xe = {
|
|
16
|
+
key: 2,
|
|
17
|
+
ref: "source",
|
|
18
|
+
dir: "auto"
|
|
19
|
+
}, E = /* @__PURE__ */ ie({
|
|
20
|
+
__name: "vue-ui-carousel-table",
|
|
21
|
+
props: {
|
|
22
|
+
config: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default() {
|
|
25
|
+
return {};
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
dataset: {
|
|
29
|
+
type: Object,
|
|
30
|
+
default() {
|
|
31
|
+
return {};
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
emits: ["copyAlt"],
|
|
36
|
+
setup(e, { expose: ie, emit: me }) {
|
|
37
|
+
let E = le(() => import("./vue-ui-skeleton-Dj_ZVfSX.js").then((e) => e.n)), Se = le(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), { vue_ui_carousel_table: Ce } = te(), we = oe(), D = e, Te = me, O = y(t()), k = y(!1), A = y(!!D.dataset), Ee = pe();
|
|
38
|
+
_(() => {
|
|
39
|
+
De();
|
|
40
|
+
}), _(() => {
|
|
41
|
+
Ee["chart-background"] && console.warn("VueUiCarouselTable does not support the #chart-background slot.");
|
|
42
|
+
});
|
|
43
|
+
function De() {
|
|
44
|
+
i(D.dataset) ? a({
|
|
45
|
+
componentName: "VueUiCarouselTable",
|
|
46
|
+
type: "dataset"
|
|
47
|
+
}) : ((!D.dataset.head || i(D.dataset.head)) && (a({
|
|
48
|
+
componentName: "VueUiCarouselTable",
|
|
49
|
+
type: "datasetAttribute",
|
|
50
|
+
property: "head"
|
|
51
|
+
}), A.value = !1), (!D.dataset.body || i(D.dataset.body)) && (a({
|
|
52
|
+
componentName: "VueUiCarouselTable",
|
|
53
|
+
type: "datasetAttribute",
|
|
54
|
+
property: "body"
|
|
55
|
+
}), A.value = !1)), we.value && (j.value.userOptions.buttons.animation = !1);
|
|
56
|
+
}
|
|
57
|
+
let j = s({
|
|
58
|
+
get: () => Ae(),
|
|
59
|
+
set: (e) => e
|
|
60
|
+
}), Oe = s(() => j.value.userOptions.useCursorPointer), { userOptionsVisible: M, setUserOptionsVisibility: ke, keepUserOptionState: N } = ae({ config: j.value });
|
|
61
|
+
function Ae() {
|
|
62
|
+
return re({
|
|
63
|
+
userConfig: D.config,
|
|
64
|
+
defaultConfig: Ce
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
w(() => D.config, (e) => {
|
|
68
|
+
j.value = Ae(), M.value = !j.value.userOptions.showOnChartHover, De();
|
|
69
|
+
}, { deep: !0 }), w(() => D.dataset, (e) => {
|
|
70
|
+
W();
|
|
71
|
+
}, { deep: !0 });
|
|
72
|
+
let { isPrinting: je, isImaging: Me, generatePdf: Ne, generateImage: Pe } = ne({
|
|
73
|
+
elementId: `carousel-table_${O.value}`,
|
|
74
|
+
fileName: j.value.caption.text || "vue-ui-carousel-table",
|
|
75
|
+
options: j.value.userOptions.print
|
|
76
|
+
}), P = y({ showAnimation: j.value.animation.use }), F = y(null), Fe = y(null), I = y(null), L = y(null), R = y(0), z = y(0), B = y(!1), V = y(null), H = y(null), U = y(0);
|
|
77
|
+
function W() {
|
|
78
|
+
V.value && (H.value = {
|
|
79
|
+
elements: V.value.getElementsByTagName("tr"),
|
|
80
|
+
heights: Array.from(V.value.getElementsByTagName("tr")).map((e) => e.getBoundingClientRect().height)
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
_(W);
|
|
84
|
+
let Ie = s(() => !H.value || !H.value.heights.length ? 0 : Math.max(...H.value.heights) + R.value + z.value), Le = s(() => D.dataset.body ? j.value.tbody.tr.visible <= D.dataset.body.length ? j.value.tbody.tr.visible : D.dataset.body.length : 0), Re = s(() => (j.value.tbody.tr.height + j.value.tbody.tr.td.padding.top + j.value.tbody.tr.td.padding.bottom + j.value.tbody.tr.border.size * 2) * Le.value + R.value + z.value), G = y(0), K = y(null), q = y(0), J = y(!1), ze = y(0);
|
|
85
|
+
_(() => {
|
|
86
|
+
I.value && (R.value = I.value.getBoundingClientRect().height), L.value && (z.value = L.value.getBoundingClientRect().height), P.value.showAnimation && H.value && Ve();
|
|
87
|
+
}), _(() => {
|
|
88
|
+
if (F.value) {
|
|
89
|
+
let e = F.value.querySelector("thead"), t = Array.from(V.value.querySelectorAll("tr"));
|
|
90
|
+
function n() {
|
|
91
|
+
let n = e.getBoundingClientRect().bottom;
|
|
92
|
+
t.forEach((e) => {
|
|
93
|
+
e.getBoundingClientRect().top < n ? e.style.visibility = "hidden" : e.style.visibility = "visible";
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
F.value.addEventListener("scroll", n), n(), g(() => {
|
|
97
|
+
F.value.removeEventListener("scroll", n);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
function Be(e) {
|
|
102
|
+
k.value = e, ze.value += 1;
|
|
103
|
+
}
|
|
104
|
+
function Ve() {
|
|
105
|
+
we.value || !K.value && !J.value && (j.value.animation.type === "scroll" ? K.value = requestAnimationFrame(Ue) : K.value = requestAnimationFrame(We));
|
|
106
|
+
}
|
|
107
|
+
function He() {
|
|
108
|
+
if (!F.value) return !1;
|
|
109
|
+
let { scrollTop: e, scrollHeight: t, clientHeight: n } = F.value;
|
|
110
|
+
return e + n >= t;
|
|
111
|
+
}
|
|
112
|
+
function Ue(e) {
|
|
113
|
+
J.value || (q.value ||= e, e - q.value >= j.value.animation.speedMs && (G.value += H.value.heights[U.value], (He() || U.value >= H.value.heights.length) && (G.value = 0, U.value = -1), U.value += 1, F.value && F.value.scrollTo({
|
|
114
|
+
top: G.value,
|
|
115
|
+
behavior: "smooth"
|
|
116
|
+
}), q.value = e), K.value = requestAnimationFrame(Ue));
|
|
117
|
+
}
|
|
118
|
+
function We(e) {
|
|
119
|
+
if (J.value) return;
|
|
120
|
+
q.value ||= e;
|
|
121
|
+
let t = e - q.value, n = j.value.animation.speedMs / 4 / 1e3;
|
|
122
|
+
t >= n && (G.value += n, G.value >= F.value.scrollHeight - F.value.clientHeight && (G.value = 0), F.value && F.value.scrollTo({
|
|
123
|
+
top: G.value,
|
|
124
|
+
behavior: "auto"
|
|
125
|
+
}), q.value = e), K.value = requestAnimationFrame(We);
|
|
126
|
+
}
|
|
127
|
+
function Y() {
|
|
128
|
+
J.value = !0, cancelAnimationFrame(K.value), K.value = null;
|
|
129
|
+
}
|
|
130
|
+
g(Y);
|
|
131
|
+
function X() {
|
|
132
|
+
!J.value || !P.value.showAnimation || (J.value = !1, q.value = 0, Ve());
|
|
133
|
+
}
|
|
134
|
+
function Ge() {
|
|
135
|
+
j.value.animation.pauseOnHover && Y();
|
|
136
|
+
}
|
|
137
|
+
let Z = y(null);
|
|
138
|
+
function Ke() {
|
|
139
|
+
Y(), clearTimeout(Z.value);
|
|
140
|
+
}
|
|
141
|
+
function qe() {
|
|
142
|
+
clearTimeout(Z.value), Z.value = setTimeout(X, 1e3);
|
|
143
|
+
}
|
|
144
|
+
w(() => j.value.animation.use, (e) => {
|
|
145
|
+
e ? (P.value.showAnimation = !0, X()) : (P.value.showAnimation = !1, Y());
|
|
146
|
+
}), w(() => j.value.animation.type, (e) => {
|
|
147
|
+
Y(), G.value = 0, U.value = 0, F.value.scrollTo({
|
|
148
|
+
top: 0,
|
|
149
|
+
behavior: "auto"
|
|
150
|
+
}), X();
|
|
151
|
+
});
|
|
152
|
+
let Je = s(() => j.value.responsiveBreakpoint), Q = fe(null);
|
|
153
|
+
_(() => {
|
|
154
|
+
Q.value = new ResizeObserver((e) => {
|
|
155
|
+
e.forEach((e) => {
|
|
156
|
+
B.value = e.contentRect.width < Je.value;
|
|
157
|
+
}), R.value = I.value ? I.value.getBoundingClientRect().height : 0, z.value = L.value ? L.value.getBoundingClientRect().height : 0, U.value = 0, p(() => {
|
|
158
|
+
Y(), q.value = 0, G.value = 0, W(), X();
|
|
159
|
+
});
|
|
160
|
+
}), F.value && Q.value.observe(F.value);
|
|
161
|
+
}), g(() => {
|
|
162
|
+
Q.value && Q.value.disconnect();
|
|
163
|
+
});
|
|
164
|
+
function Ye() {
|
|
165
|
+
Ne();
|
|
166
|
+
}
|
|
167
|
+
function Xe() {
|
|
168
|
+
P.value.showAnimation = !P.value.showAnimation, P.value.showAnimation ? X() : Y();
|
|
169
|
+
}
|
|
170
|
+
function Ze(e = null) {
|
|
171
|
+
p(() => {
|
|
172
|
+
let t = D.dataset.head.map((e, t) => [[D.dataset.body[t]]]), i = r([[j.value.caption.text], [D.dataset.head.map((e) => [e])]].concat(t));
|
|
173
|
+
e ? e(i) : n({
|
|
174
|
+
csvContent: i,
|
|
175
|
+
title: j.value.caption.text || "vue-ui-carousel-table"
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
async function $() {
|
|
180
|
+
if (Te("copyAlt", {
|
|
181
|
+
config: j.value,
|
|
182
|
+
dataset: D.dataset
|
|
183
|
+
}), !j.value.userOptions.callbacks.altCopy) {
|
|
184
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
await Promise.resolve(j.value.userOptions.callbacks.altCopy({
|
|
188
|
+
config: j.value,
|
|
189
|
+
dataset: D.dataset
|
|
190
|
+
}));
|
|
191
|
+
}
|
|
192
|
+
return ie({
|
|
193
|
+
pauseAnimation: Y,
|
|
194
|
+
resumeAnimation: X,
|
|
195
|
+
toggleAnimation: Xe,
|
|
196
|
+
generateCsv: Ze,
|
|
197
|
+
generatePdf: Ye,
|
|
198
|
+
generateImage: Pe,
|
|
199
|
+
copyAlt: $
|
|
200
|
+
}), (t, n) => (v(), l("div", {
|
|
201
|
+
class: "vue-data-ui-component vue-ui-carousel-table",
|
|
202
|
+
style: {
|
|
203
|
+
position: "relative",
|
|
204
|
+
overflow: "visible"
|
|
205
|
+
},
|
|
206
|
+
ref_key: "chartContainer",
|
|
207
|
+
ref: Fe,
|
|
208
|
+
onMouseenter: n[5] ||= () => C(ke)(!0),
|
|
209
|
+
onMouseleave: n[6] ||= () => C(ke)(!1)
|
|
210
|
+
}, [
|
|
211
|
+
u("div", {
|
|
212
|
+
ref_key: "tableContainer",
|
|
213
|
+
ref: F,
|
|
214
|
+
id: `carousel-table_${O.value}`,
|
|
215
|
+
style: h({
|
|
216
|
+
height: C(je) || C(Me) ? "auto" : `${Math.max(Re.value, Ie.value)}px`,
|
|
217
|
+
containerType: "inline-size",
|
|
218
|
+
position: "relative",
|
|
219
|
+
overflow: "auto",
|
|
220
|
+
fontFamily: j.value.fontFamily
|
|
221
|
+
}),
|
|
222
|
+
class: de({
|
|
223
|
+
"vue-ui-responsive": B.value,
|
|
224
|
+
"is-playing": j.value.scrollbar.hide || !J.value && j.value.scrollbar.showOnlyOnHover
|
|
225
|
+
}),
|
|
226
|
+
onMouseover: n[0] ||= (e) => Ge(),
|
|
227
|
+
onMouseleave: n[1] ||= (e) => X(),
|
|
228
|
+
onTouchstart: n[2] ||= (e) => Ke(),
|
|
229
|
+
onTouchend: n[3] ||= (e) => qe(),
|
|
230
|
+
onTouchcancel: n[4] ||= (e) => qe()
|
|
231
|
+
}, [A.value ? (v(), l("table", {
|
|
232
|
+
key: 0,
|
|
233
|
+
class: "vue-data-ui-carousel-table",
|
|
234
|
+
"aria-labelledby": `carousel-caption-${O.value}`,
|
|
235
|
+
style: h({
|
|
236
|
+
...j.value.style,
|
|
237
|
+
border: `${j.value.border.size}px solid ${j.value.border.color}`,
|
|
238
|
+
width: "100%",
|
|
239
|
+
borderCollapse: "collapse",
|
|
240
|
+
backgroundColor: j.value.tbody.backgroundColor
|
|
241
|
+
})
|
|
242
|
+
}, [
|
|
243
|
+
u("caption", {
|
|
244
|
+
ref_key: "caption",
|
|
245
|
+
ref: I,
|
|
246
|
+
class: "vue-data-ui-carousel-table-caption",
|
|
247
|
+
id: `carousel-caption-${O.value}`,
|
|
248
|
+
style: h({
|
|
249
|
+
...j.value.caption.style,
|
|
250
|
+
fontFamily: "inherit",
|
|
251
|
+
position: "sticky",
|
|
252
|
+
top: 0,
|
|
253
|
+
zIndex: 2,
|
|
254
|
+
paddingTop: j.value.caption.padding.top + "px",
|
|
255
|
+
paddingRight: j.value.caption.padding.right + "px",
|
|
256
|
+
paddingBottom: j.value.caption.padding.bottom + "px",
|
|
257
|
+
paddingLeft: j.value.caption.padding.left + "px",
|
|
258
|
+
boxShadow: B.value ? j.value.thead.tr.style.boxShadow : "none",
|
|
259
|
+
minHeight: "36px",
|
|
260
|
+
display: t.$slots.caption || j.value.caption.text || j.value.userOptions.show ? "" : "none"
|
|
261
|
+
})
|
|
262
|
+
}, [d(S(j.value.caption.text && !t.$slots.caption ? j.value.caption.text : "") + " ", 1), x(t.$slots, "caption", {}, void 0, !0)], 12, _e),
|
|
263
|
+
u("thead", {
|
|
264
|
+
role: "rowgroup",
|
|
265
|
+
style: h({
|
|
266
|
+
...j.value.thead.style,
|
|
267
|
+
position: "sticky",
|
|
268
|
+
top: `${t.$slots.caption || j.value.caption.text || j.value.userOptions.show ? R.value : 0}px`,
|
|
269
|
+
zIndex: 1
|
|
270
|
+
})
|
|
271
|
+
}, [u("tr", {
|
|
272
|
+
ref_key: "tableRow",
|
|
273
|
+
ref: L,
|
|
274
|
+
role: "row",
|
|
275
|
+
style: h({
|
|
276
|
+
...j.value.thead.tr.style,
|
|
277
|
+
border: j.value.thead.tr.border.size ? `${j.value.thead.tr.border.size}px solid ${j.value.thead.tr.border.color}` : "none",
|
|
278
|
+
boxShadow: B.value ? "none" : j.value.thead.tr.style.boxShadow
|
|
279
|
+
}),
|
|
280
|
+
height: `${j.value.thead.tr.height}px`
|
|
281
|
+
}, [(v(!0), l(o, null, b(e.dataset.head, (e, n) => (v(), l("th", {
|
|
282
|
+
role: "cell",
|
|
283
|
+
key: `th_${n}`,
|
|
284
|
+
id: `col-${n}`,
|
|
285
|
+
scope: "col",
|
|
286
|
+
style: h({
|
|
287
|
+
...j.value.thead.tr.th.style,
|
|
288
|
+
border: j.value.thead.tr.th.border.size ? `${j.value.thead.tr.th.border.size}px solid ${j.value.thead.tr.th.border.color}` : "none",
|
|
289
|
+
paddingTop: j.value.thead.tr.th.padding.top + "px",
|
|
290
|
+
paddingRight: j.value.thead.tr.th.padding.right + "px",
|
|
291
|
+
paddingBottom: j.value.thead.tr.th.padding.bottom + "px",
|
|
292
|
+
paddingLeft: j.value.thead.tr.th.padding.left + "px"
|
|
293
|
+
})
|
|
294
|
+
}, [d(S(t.$slots.th ? "" : e) + " ", 1), x(t.$slots, "th", ue({ ref_for: !0 }, {
|
|
295
|
+
th: e,
|
|
296
|
+
colIndex: n
|
|
297
|
+
}), void 0, !0)], 12, ye))), 128))], 12, ve)], 4),
|
|
298
|
+
e.dataset.body && e.dataset.head ? (v(), l("tbody", {
|
|
299
|
+
key: 0,
|
|
300
|
+
ref_key: "tbody",
|
|
301
|
+
ref: V,
|
|
302
|
+
"aria-live": "polite",
|
|
303
|
+
style: { clipPath: "inset(0,0,0,0)" }
|
|
304
|
+
}, [(v(!0), l(o, null, b(e.dataset.body, (n, r) => (v(), l("tr", { style: h({
|
|
305
|
+
...j.value.tbody.tr.style,
|
|
306
|
+
border: `${j.value.tbody.tr.border.size}px solid ${j.value.tbody.tr.border.color}`,
|
|
307
|
+
verticalAlign: "middle"
|
|
308
|
+
}) }, [(v(!0), l(o, null, b(n, (n, i) => (v(), l("td", {
|
|
309
|
+
role: "cell",
|
|
310
|
+
"data-cell": e.dataset.head[i] || "",
|
|
311
|
+
"aria-label": `${e.dataset.head[i]}: ${n}`,
|
|
312
|
+
style: h({
|
|
313
|
+
...j.value.tbody.tr.td.style,
|
|
314
|
+
border: `${j.value.tbody.tr.td.border.size}px solid ${j.value.tbody.tr.td.border.color}`,
|
|
315
|
+
backgroundColor: C(ee)(j.value.tbody.tr.td.style.backgroundColor, r % 2 == 0 && j.value.tbody.tr.td.alternateColor ? j.value.tbody.tr.td.alternateOpacity * 100 : 100),
|
|
316
|
+
paddingTop: j.value.tbody.tr.td.padding.top + "px",
|
|
317
|
+
paddingRight: j.value.tbody.tr.td.padding.right + "px",
|
|
318
|
+
paddingBottom: j.value.tbody.tr.td.padding.bottom + "px",
|
|
319
|
+
paddingLeft: j.value.tbody.tr.td.padding.left + "px",
|
|
320
|
+
verticalAlign: "middle"
|
|
321
|
+
}),
|
|
322
|
+
height: `${j.value.tbody.tr.height}px`
|
|
323
|
+
}, [d(S(t.$slots.td ? "" : n) + " ", 1), x(t.$slots, "td", ue({ ref_for: !0 }, {
|
|
324
|
+
td: n,
|
|
325
|
+
rowIndex: r,
|
|
326
|
+
colIndex: i
|
|
327
|
+
}), void 0, !0)], 12, be))), 256))], 4))), 256))], 512)) : c("", !0)
|
|
328
|
+
], 12, ge)) : c("", !0)], 46, he),
|
|
329
|
+
A.value ? c("", !0) : (v(), se(C(E), {
|
|
330
|
+
key: 0,
|
|
331
|
+
config: { type: "table" }
|
|
332
|
+
})),
|
|
333
|
+
j.value.userOptions.show && A.value && (C(N) || C(M)) ? (v(), se(C(Se), {
|
|
334
|
+
ref: "details",
|
|
335
|
+
key: `user_option_${ze.value}`,
|
|
336
|
+
backgroundColor: j.value.style.backgroundColor,
|
|
337
|
+
color: j.value.style.color,
|
|
338
|
+
isPrinting: C(je),
|
|
339
|
+
isImaging: C(Me),
|
|
340
|
+
uid: O.value,
|
|
341
|
+
hasTooltip: !1,
|
|
342
|
+
hasPdf: j.value.userOptions.buttons.pdf,
|
|
343
|
+
hasImg: j.value.userOptions.buttons.img,
|
|
344
|
+
hasXls: j.value.userOptions.buttons.csv,
|
|
345
|
+
hasTable: !1,
|
|
346
|
+
hasLabel: !1,
|
|
347
|
+
hasAnimation: j.value.userOptions.buttons.animation,
|
|
348
|
+
isAnimation: !P.value.showAnimation,
|
|
349
|
+
hasFullscreen: j.value.userOptions.buttons.fullscreen,
|
|
350
|
+
hasAltCopy: j.value.userOptions.buttons.altCopy,
|
|
351
|
+
isFullscreen: k.value,
|
|
352
|
+
chartElement: Fe.value,
|
|
353
|
+
position: j.value.userOptions.position,
|
|
354
|
+
titles: { ...j.value.userOptions.buttonTitles },
|
|
355
|
+
zIndex: 3,
|
|
356
|
+
offsetX: 12,
|
|
357
|
+
callbacks: j.value.userOptions.callbacks,
|
|
358
|
+
printScale: j.value.userOptions.print.scale,
|
|
359
|
+
isCursorPointer: Oe.value,
|
|
360
|
+
onGeneratePdf: Ye,
|
|
361
|
+
onGenerateCsv: Ze,
|
|
362
|
+
onGenerateImage: C(Pe),
|
|
363
|
+
onToggleAnimation: Xe,
|
|
364
|
+
onToggleFullscreen: Be,
|
|
365
|
+
onCopyAlt: $,
|
|
366
|
+
style: h({ visibility: C(N) ? C(M) ? "visible" : "hidden" : "visible" })
|
|
367
|
+
}, ce({ _: 2 }, [
|
|
368
|
+
t.$slots.menuIcon ? {
|
|
369
|
+
name: "menuIcon",
|
|
370
|
+
fn: T(({ isOpen: e, color: n }) => [x(t.$slots, "menuIcon", m(f({
|
|
371
|
+
isOpen: e,
|
|
372
|
+
color: n
|
|
373
|
+
})), void 0, !0)]),
|
|
374
|
+
key: "0"
|
|
375
|
+
} : void 0,
|
|
376
|
+
t.$slots.optionPdf ? {
|
|
377
|
+
name: "optionPdf",
|
|
378
|
+
fn: T(() => [x(t.$slots, "optionPdf", {}, void 0, !0)]),
|
|
379
|
+
key: "1"
|
|
380
|
+
} : void 0,
|
|
381
|
+
t.$slots.optionCsv ? {
|
|
382
|
+
name: "optionCsv",
|
|
383
|
+
fn: T(() => [x(t.$slots, "optionCsv", {}, void 0, !0)]),
|
|
384
|
+
key: "2"
|
|
385
|
+
} : void 0,
|
|
386
|
+
t.$slots.optionImg ? {
|
|
387
|
+
name: "optionImg",
|
|
388
|
+
fn: T(() => [x(t.$slots, "optionImg", {}, void 0, !0)]),
|
|
389
|
+
key: "3"
|
|
390
|
+
} : void 0,
|
|
391
|
+
t.$slots.optionSvg ? {
|
|
392
|
+
name: "optionSvg",
|
|
393
|
+
fn: T(() => [x(t.$slots, "optionSvg", {}, void 0, !0)]),
|
|
394
|
+
key: "4"
|
|
395
|
+
} : void 0,
|
|
396
|
+
t.$slots.optionAnimation ? {
|
|
397
|
+
name: "optionAnimation",
|
|
398
|
+
fn: T(({ toggleAnimation: e, isAnimated: n }) => [x(t.$slots, "optionAnimation", m(f({
|
|
399
|
+
toggleAnimation: e,
|
|
400
|
+
isAnimated: n
|
|
401
|
+
})), void 0, !0)]),
|
|
402
|
+
key: "5"
|
|
403
|
+
} : void 0,
|
|
404
|
+
t.$slots.optionFullscreen ? {
|
|
405
|
+
name: "optionFullscreen",
|
|
406
|
+
fn: T(({ toggleFullscreen: e, isFullscreen: n }) => [x(t.$slots, "optionFullscreen", m(f({
|
|
407
|
+
toggleFullscreen: e,
|
|
408
|
+
isFullscreen: n
|
|
409
|
+
})), void 0, !0)]),
|
|
410
|
+
key: "6"
|
|
411
|
+
} : void 0,
|
|
412
|
+
t.$slots.optionAltCopy ? {
|
|
413
|
+
name: "optionAltCopy",
|
|
414
|
+
fn: T(({ altCopy: e }) => [x(t.$slots, "optionAltCopy", m(f({ altCopy: e })), void 0, !0)]),
|
|
415
|
+
key: "7"
|
|
416
|
+
} : void 0,
|
|
417
|
+
t.$slots["custom-menu-before"] ? {
|
|
418
|
+
name: "custom-menu-before",
|
|
419
|
+
fn: T(() => [x(t.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
420
|
+
key: "8"
|
|
421
|
+
} : void 0,
|
|
422
|
+
t.$slots["custom-menu-after"] ? {
|
|
423
|
+
name: "custom-menu-after",
|
|
424
|
+
fn: T(() => [x(t.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
425
|
+
key: "9"
|
|
426
|
+
} : void 0
|
|
427
|
+
]), 1032, [
|
|
428
|
+
"backgroundColor",
|
|
429
|
+
"color",
|
|
430
|
+
"isPrinting",
|
|
431
|
+
"isImaging",
|
|
432
|
+
"uid",
|
|
433
|
+
"hasPdf",
|
|
434
|
+
"hasImg",
|
|
435
|
+
"hasXls",
|
|
436
|
+
"hasAnimation",
|
|
437
|
+
"isAnimation",
|
|
438
|
+
"hasFullscreen",
|
|
439
|
+
"hasAltCopy",
|
|
440
|
+
"isFullscreen",
|
|
441
|
+
"chartElement",
|
|
442
|
+
"position",
|
|
443
|
+
"titles",
|
|
444
|
+
"callbacks",
|
|
445
|
+
"printScale",
|
|
446
|
+
"isCursorPointer",
|
|
447
|
+
"onGenerateImage",
|
|
448
|
+
"style"
|
|
449
|
+
])) : c("", !0),
|
|
450
|
+
t.$slots.source ? (v(), l("div", xe, [x(t.$slots, "source", {}, void 0, !0)], 512)) : c("", !0)
|
|
451
|
+
], 544));
|
|
452
|
+
}
|
|
453
|
+
}, [["__scopeId", "data-v-0f07f0c9"]]);
|
|
454
|
+
//#endregion
|
|
455
|
+
export { me as n, E as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { G as t, H as n, J as r, Lt as i, Mt as a, S as o, St as ee, Tt as s, X as te, bt as ne, d as re, i as c, jt as l, ot as ie, p as ae, r as oe, t as se, u, x as ce, y as le, zt as ue } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as de } from "./useConfig-
|
|
3
|
+
import { t as de } from "./useConfig-ByaaSKhz.js";
|
|
4
4
|
import { t as fe } from "./usePrinter-X0yWOynH.js";
|
|
5
5
|
import { n as pe, t as me } from "./BaseScanner-C7dmAref.js";
|
|
6
6
|
import { t as he } from "./useSvgExport-Dtu973wa.js";
|
|
@@ -357,8 +357,8 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
|
|
|
357
357
|
"copyAlt"
|
|
358
358
|
],
|
|
359
359
|
setup(e, { expose: ye, emit: Re }) {
|
|
360
|
-
Fe((e) => ({
|
|
361
|
-
let Zn = ke(() => import("./BaseIcon-
|
|
360
|
+
Fe((e) => ({ bd8a0696: e.tdo }));
|
|
361
|
+
let Zn = ke(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Qn = ke(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), $n = ke(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), er = ke(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), tr = ke(() => import("./PackageVersion-DUU5Aku2.js").then((e) => e.t)), nr = ke(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_chestnut: rr } = de(), { isThemeValid: ir, warnInvalidTheme: ar } = _e(), D = e, or = f(() => !!D.dataset && D.dataset.length), O = x(n()), sr = x(null), cr = x(0), lr = x(null), ur = x(null), dr = x(!1), fr = x(!1), pr = x(!1), k = x(!1), A = x(""), j = x({
|
|
362
362
|
level: "root",
|
|
363
363
|
rootIndex: 0,
|
|
364
364
|
branchIndex: 0,
|
|
@@ -1277,6 +1277,16 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
|
|
|
1277
1277
|
name: "optionAltCopy",
|
|
1278
1278
|
fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
|
|
1279
1279
|
key: "8"
|
|
1280
|
+
} : void 0,
|
|
1281
|
+
e.$slots["custom-menu-before"] ? {
|
|
1282
|
+
name: "custom-menu-before",
|
|
1283
|
+
fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1284
|
+
key: "9"
|
|
1285
|
+
} : void 0,
|
|
1286
|
+
e.$slots["custom-menu-after"] ? {
|
|
1287
|
+
name: "custom-menu-after",
|
|
1288
|
+
fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1289
|
+
key: "10"
|
|
1280
1290
|
} : void 0
|
|
1281
1291
|
]), 1032, [
|
|
1282
1292
|
"backgroundColor",
|
|
@@ -1995,6 +2005,6 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
|
|
|
1995
2005
|
C(e.$slots, "skeleton", {}, () => [T(hr) ? (b(), Te(me, { key: 0 })) : p("", !0)], !0)
|
|
1996
2006
|
], 46, ze));
|
|
1997
2007
|
}
|
|
1998
|
-
}, [["__scopeId", "data-v-
|
|
2008
|
+
}, [["__scopeId", "data-v-6db5d986"]]);
|
|
1999
2009
|
//#endregion
|
|
2000
2010
|
export { Re as n, Zn as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { G as t, H as n, Ht as r, J as i, Lt as a, S as o, St as s, Tt as c, V as ee, X as l, i as te, ot as ne, r as re, t as ie, x as ae, y as oe, zt as se } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as ce } from "./useConfig-
|
|
3
|
+
import { t as ce } from "./useConfig-ByaaSKhz.js";
|
|
4
4
|
import { t as le } from "./usePrinter-X0yWOynH.js";
|
|
5
5
|
import { n as ue, t as de } from "./BaseScanner-C7dmAref.js";
|
|
6
6
|
import { t as fe } from "./useSvgExport-Dtu973wa.js";
|
|
@@ -140,8 +140,8 @@ var Be = /* @__PURE__ */ e({ default: () => vt }), Ve = ["id"], He = ["id"], Ue
|
|
|
140
140
|
"copyAlt"
|
|
141
141
|
],
|
|
142
142
|
setup(e, { expose: ve, emit: Be }) {
|
|
143
|
-
Le((e) => ({
|
|
144
|
-
let vt = g(() => import("./vue-ui-accordion-
|
|
143
|
+
Le((e) => ({ v73ba9455: e.slicerColor }));
|
|
144
|
+
let vt = g(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), yt = g(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), bt = g(() => import("./DataTable-DmE8Oo4i.js")), xt = g(() => import("./PackageVersion-DUU5Aku2.js").then((e) => e.t)), St = g(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Ct = g(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), wt = g(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_chord: Tt } = ce(), { isThemeValid: Et, warnInvalidTheme: Dt } = me(), O = e, Ot = Be, k = S(!!O.dataset && Object.hasOwn(O.dataset, "matrix")), A = S(n()), j = S(null), M = S(null), N = S(null), kt = S(0), P = S(null), At = S(null), jt = S(null), Mt = S(null), Nt = S(null), Pt = S(0), Ft = S(0), It = S(0), F = S(!1), I = Fe(null), L = Fe(null), Lt = S(!1), Rt = S(null), zt = S(null), Bt = S(!1), Vt = S(!1), R = S("group"), z = S(null), Ht = S(!1), B = S($t()), V = d(() => B.value.userOptions.useCursorPointer), Ut = d(() => se({
|
|
145
145
|
defaultConfig: {
|
|
146
146
|
useCssAnimation: !1,
|
|
147
147
|
userOptions: { show: !1 },
|
|
@@ -999,6 +999,16 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
999
999
|
name: "optionAltCopy",
|
|
1000
1000
|
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
1001
1001
|
key: "8"
|
|
1002
|
+
} : void 0,
|
|
1003
|
+
e.$slots["custom-menu-before"] ? {
|
|
1004
|
+
name: "custom-menu-before",
|
|
1005
|
+
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1006
|
+
key: "9"
|
|
1007
|
+
} : void 0,
|
|
1008
|
+
e.$slots["custom-menu-after"] ? {
|
|
1009
|
+
name: "custom-menu-after",
|
|
1010
|
+
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1011
|
+
key: "10"
|
|
1002
1012
|
} : void 0
|
|
1003
1013
|
]), 1032, [
|
|
1004
1014
|
"backgroundColor",
|
|
@@ -1376,6 +1386,6 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
1376
1386
|
w(e.$slots, "skeleton", {}, () => [E(Wt) ? (x(), f(de, { key: 0 })) : p("", !0)], !0)
|
|
1377
1387
|
], 46, Ve));
|
|
1378
1388
|
}
|
|
1379
|
-
}, [["__scopeId", "data-v-
|
|
1389
|
+
}, [["__scopeId", "data-v-2716f6ca"]]);
|
|
1380
1390
|
//#endregion
|
|
1381
1391
|
export { Be as n, vt as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { G as t, H as n, It as r, J as i, Lt as a, S as o, St as s, Tt as c, W as l, X as u, i as d, pt as f, r as p, t as m, x as h, y as g, yt as ee, z as te, zt as ne } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as re } from "./useConfig-
|
|
3
|
+
import { t as re } from "./useConfig-ByaaSKhz.js";
|
|
4
4
|
import { t as ie } from "./usePrinter-X0yWOynH.js";
|
|
5
5
|
import { n as ae, t as oe } from "./BaseScanner-C7dmAref.js";
|
|
6
6
|
import { t as se } from "./useSvgExport-Dtu973wa.js";
|
|
@@ -293,8 +293,8 @@ var We = class {
|
|
|
293
293
|
},
|
|
294
294
|
emits: ["selectDatapoint", "copyAlt"],
|
|
295
295
|
setup(e, { expose: fe, emit: Pe }) {
|
|
296
|
-
je((e) => ({
|
|
297
|
-
let Ie = C(() => import("./Tooltip-CuWEYGr3.js")), N = C(() => import("./BaseIcon-
|
|
296
|
+
je((e) => ({ v0548cdba: ir.value }));
|
|
297
|
+
let Ie = C(() => import("./Tooltip-CuWEYGr3.js")), N = C(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Le = C(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), Re = C(() => import("./DataTable-DmE8Oo4i.js")), ze = C(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Be = C(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Ve = C(() => import("./PackageVersion-DUU5Aku2.js").then((e) => e.t)), He = C(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), P = e, Ue = Pe, { vue_ui_circle_pack: We } = re(), { isThemeValid: Ge, warnInvalidTheme: gt } = le(), _t = v(() => !!P.dataset && P.dataset.length), F = O(n()), I = O(null), vt = O(null), yt = O(null), bt = O(0), xt = O(0), St = O(0), Ct = O(null), L = O(null), wt = O(null), Tt = O(!1), Et = O(""), R = O(null), Dt = O(!1), Ot = O(!1), z = O(null), kt = O({
|
|
298
298
|
x: 0,
|
|
299
299
|
y: 0
|
|
300
300
|
}), At = O("pointer"), jt = O(!1), B = O(Rt()), V = v(() => B.value.userOptions.useCursorPointer), Mt = v(() => ne({
|
|
@@ -1275,6 +1275,16 @@ var We = class {
|
|
|
1275
1275
|
name: "optionAltCopy",
|
|
1276
1276
|
fn: M(({ altCopy: t }) => [k(e.$slots, "optionAltCopy", T(w({ altCopy: t })), void 0, !0)]),
|
|
1277
1277
|
key: "10"
|
|
1278
|
+
} : void 0,
|
|
1279
|
+
e.$slots["custom-menu-before"] ? {
|
|
1280
|
+
name: "custom-menu-before",
|
|
1281
|
+
fn: M(() => [k(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1282
|
+
key: "11"
|
|
1283
|
+
} : void 0,
|
|
1284
|
+
e.$slots["custom-menu-after"] ? {
|
|
1285
|
+
name: "custom-menu-after",
|
|
1286
|
+
fn: M(() => [k(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1287
|
+
key: "12"
|
|
1278
1288
|
} : void 0
|
|
1279
1289
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.isTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.callbacks.printScale.titles.hasAnnotator.isAnnotation.tableDialog.isCursorPointer.hasZoom.isZoom.onGeneratePdf.style".split("."))) : b("", !0),
|
|
1280
1290
|
S("div", { class: Te({
|
|
@@ -1593,6 +1603,6 @@ var We = class {
|
|
|
1593
1603
|
k(e.$slots, "skeleton", {}, () => [j(Nt) ? (D(), y(oe, { key: 0 })) : b("", !0)], !0)
|
|
1594
1604
|
], 46, Ke));
|
|
1595
1605
|
}
|
|
1596
|
-
}, [["__scopeId", "data-v-
|
|
1606
|
+
}, [["__scopeId", "data-v-a67cc1b9"]]);
|
|
1597
1607
|
//#endregion
|
|
1598
1608
|
export { Ge as n, gt as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { H as t, jt as n, t as r } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as ee } from "./useConfig-
|
|
3
|
+
import { t as ee } from "./useConfig-ByaaSKhz.js";
|
|
4
4
|
import { t as te } from "./useNestedProp-Ck4hsrpu.js";
|
|
5
5
|
import { t as i } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
6
|
-
import { n as a } from "./PackageVersion-
|
|
6
|
+
import { n as a } from "./PackageVersion-DUU5Aku2.js";
|
|
7
7
|
import { Teleport as o, computed as s, createBlock as ne, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, toDisplayString as y, unref as b } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-cursor.vue
|
|
9
9
|
var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { H as t, St as n, V as r, X as i, lt as a, t as o, y as s, zt as c } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as l } from "./useConfig-
|
|
3
|
+
import { t as l } from "./useConfig-ByaaSKhz.js";
|
|
4
4
|
import { t as u } from "./usePrinter-X0yWOynH.js";
|
|
5
5
|
import { n as d, t as f } from "./BaseScanner-C7dmAref.js";
|
|
6
6
|
import { t as p } from "./useSvgExport-Dtu973wa.js";
|
|
@@ -15,7 +15,7 @@ import { t as ie } from "./A11yDataTable-q2-8fSlJ.js";
|
|
|
15
15
|
import { t as ae } from "./useUserOptionState-CjPJPTg2.js";
|
|
16
16
|
import { t as oe } from "./useChartAccessibility-Do37qcw2.js";
|
|
17
17
|
import { t as se } from "./usePanZoom-B-4M_gmY.js";
|
|
18
|
-
import { t as ce } from "./BaseZoomControls-
|
|
18
|
+
import { t as ce } from "./BaseZoomControls-BkajQ8q9.js";
|
|
19
19
|
import { t as le } from "./vue_ui_dag-Ci_MOnvd.js";
|
|
20
20
|
import { Fragment as ue, Teleport as de, Transition as fe, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as pe, createTextVNode as me, createVNode as he, defineAsyncComponent as ge, guardReactiveProps as S, mergeProps as _e, nextTick as ve, normalizeClass as ye, normalizeProps as C, normalizeStyle as be, onBeforeUnmount as xe, onMounted as Se, openBlock as w, ref as T, renderList as Ce, renderSlot as E, toDisplayString as we, toRefs as Te, unref as D, watch as Ee, watchEffect as De, withCtx as O, withModifiers as Oe } from "vue";
|
|
21
21
|
//#region src/DAG/graph.js
|
|
@@ -1809,7 +1809,7 @@ var Yn = /* @__PURE__ */ e({ default: () => kr }), Xn = ["id"], Zn = ["id"], Qn
|
|
|
1809
1809
|
"rotate"
|
|
1810
1810
|
],
|
|
1811
1811
|
setup(e, { expose: a, emit: te }) {
|
|
1812
|
-
let De = ge(() => import("./PenAndPaper-
|
|
1812
|
+
let De = ge(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), ke = ge(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Ae = ge(() => import("./PackageVersion-DUU5Aku2.js").then((e) => e.t)), { vue_ui_dag: je } = l(), { isThemeValid: k, warnInvalidTheme: Me } = h(), A = e, j = te, M = T(null), N = T(t()), Ne = T(null), Pe = T(null), Fe = T(null), Ie = T(0), Le = T(0), Re = T(!1), ze = T(!1), Be = T(!1), Ve = T(!1), P = T(null), F = T(null), I = T(null), L = T(null), He = T(null), Ue = T("pointer"), We = T(!1), R = T(ct()), Ge = _(() => R.value.userOptions.useCursorPointer), Ke = T(R.value.style.chart.width), qe = T(R.value.style.chart.height), Je = T({
|
|
1813
1813
|
x: 0,
|
|
1814
1814
|
y: 0
|
|
1815
1815
|
}), z = T(null), B = T(null), Ye = T({
|
|
@@ -2577,6 +2577,16 @@ var Yn = /* @__PURE__ */ e({ default: () => kr }), Xn = ["id"], Zn = ["id"], Qn
|
|
|
2577
2577
|
name: "optionAltCopy",
|
|
2578
2578
|
fn: O(({ altCopy: t }) => [E(e.$slots, "optionAltCopy", C(S({ altCopy: t })), void 0, !0)]),
|
|
2579
2579
|
key: "7"
|
|
2580
|
+
} : void 0,
|
|
2581
|
+
e.$slots["custom-menu-before"] ? {
|
|
2582
|
+
name: "custom-menu-before",
|
|
2583
|
+
fn: O(() => [E(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
2584
|
+
key: "8"
|
|
2585
|
+
} : void 0,
|
|
2586
|
+
e.$slots["custom-menu-after"] ? {
|
|
2587
|
+
name: "custom-menu-after",
|
|
2588
|
+
fn: O(() => [E(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
2589
|
+
key: "9"
|
|
2580
2590
|
} : void 0
|
|
2581
2591
|
]), 1032, [
|
|
2582
2592
|
"backgroundColor",
|
|
@@ -2894,6 +2904,6 @@ var Yn = /* @__PURE__ */ e({ default: () => kr }), Xn = ["id"], Zn = ["id"], Qn
|
|
|
2894
2904
|
E(e.$slots, "skeleton", {}, () => [D(at) ? (w(), v(f, { key: 0 })) : y("", !0)], !0)
|
|
2895
2905
|
], 46, Xn));
|
|
2896
2906
|
}
|
|
2897
|
-
}, [["__scopeId", "data-v-
|
|
2907
|
+
}, [["__scopeId", "data-v-3de9c8da"]]);
|
|
2898
2908
|
//#endregion
|
|
2899
2909
|
export { Yn as n, kr as t };
|