vue-data-ui 3.25.2 → 3.25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
- package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
- package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
- package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
- package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.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 +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-label.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-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
- package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
- package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
- package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
- package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
- package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
- package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
- package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
- package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
- package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
- package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
- package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
- package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
- package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
- package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
- package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
- package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
- package/dist/vue-ui-donut-DfiocufT.js +2413 -0
- package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
- package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
- package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
- package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
- package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
- package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
- package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
- package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
- package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
- package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
- package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
- package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
- package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
- package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
- package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
- package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
- package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
- package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
- package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
- package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
- package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
- package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
- package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
- package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
- package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
- package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
- package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
- package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
- package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
- package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
- package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
- package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
- package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
- package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
- package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
- package/dist/vue-ui-table-BQna1wL6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
- package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
- package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
- package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
- package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
- package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
- package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
- package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
- package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
- package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
- package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
- package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
- package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
- package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
- package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
- package/dist/vue-ui-donut-BfehCl28.js +0 -2413
- package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
- package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
- package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
- package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
- package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
- package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
- package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
- package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
- package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
- package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
- package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
- package/dist/vue-ui-table-CftOhYTO.js +0 -1352
- package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n,
|
|
2
|
+
import { $ as t, D as n, Et as r, G as i, Lt as a, P as o, Pt as s, S as c, V as l, X as u, Yt as ee, Zt as te, c as ne, ht as re, i as ie, nt as ae, q as oe, r as se, t as ce, w as le } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as fe } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
5
|
import { t as pe } from "./useConfig-CyCVHo81.js";
|
|
6
|
-
import { t as me } from "./usePrinter-
|
|
6
|
+
import { t as me } from "./usePrinter-DISD7q5m.js";
|
|
7
7
|
import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
-
import { t as _e } from "./useNestedProp-
|
|
8
|
+
import { t as _e } from "./useNestedProp-Chvyfpl-.js";
|
|
9
9
|
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as ye } from "./useChartExport-iwOqiIWX.js";
|
|
11
11
|
import { t as be } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { n as xe } from "./Title-
|
|
12
|
+
import { n as xe } from "./Title-CPHi-evi.js";
|
|
13
13
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as Te } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Ee } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as De } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
18
|
import { t as Oe } from "./vue_ui_bump-Vl-zYAtG.js";
|
|
19
|
-
import { t as ke } from "./BaseDraggableDialog-
|
|
19
|
+
import { t as ke } from "./BaseDraggableDialog-BM_R41j8.js";
|
|
20
20
|
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ne, normalizeClass as Pe, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Fe, onMounted as Ie, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as T, toRefs as ze, unref as E, watch as Be, watchEffect as Ve, withCtx as D } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-bump.vue
|
|
22
22
|
var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
|
|
@@ -128,14 +128,14 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
128
128
|
},
|
|
129
129
|
emits: ["copyAlt"],
|
|
130
130
|
setup(e, { expose: Se, emit: He }) {
|
|
131
|
-
let ct = _(() => import("./BaseIcon-
|
|
131
|
+
let ct = _(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), lt = _(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), ut = _(() => import("./DataTable-COIO9gi4.js")), dt = _(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), ft = _(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), { vue_ui_bump: mt } = pe(), { isThemeValid: ht, warnInvalidTheme: gt } = ve(), O = e, _t = He, vt = f({
|
|
132
132
|
get() {
|
|
133
133
|
return !!O.dataset && O.dataset.length;
|
|
134
134
|
},
|
|
135
135
|
set(e) {
|
|
136
136
|
return e;
|
|
137
137
|
}
|
|
138
|
-
}),
|
|
138
|
+
}), k = S(null), A = S(oe()), yt = S(0), bt = S(null), xt = S(null), St = S(null), j = S(!1), Ct = S(!1), wt = S(0), Tt = S(0), M = S(null), Et = S(null), Dt = S(!1), N = S(null), Ot = S(null), kt = S(null), At = S(null), P = S(null), jt = S(!1), F = S(It());
|
|
139
139
|
ue({
|
|
140
140
|
config: () => F.value,
|
|
141
141
|
dataset: () => O.dataset,
|
|
@@ -269,7 +269,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
269
269
|
userConfig: O.config,
|
|
270
270
|
defaultConfig: r
|
|
271
271
|
}),
|
|
272
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
272
|
+
customPalette: e.customPalette.length ? e.customPalette : ee[n] || a
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
275
|
} else t = e;
|
|
@@ -296,7 +296,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
296
296
|
Array.isArray(e) && e.length > 0 && (Ft.value = !1);
|
|
297
297
|
}, { deep: !0 });
|
|
298
298
|
let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } = me({
|
|
299
|
-
elementId: `bump_${
|
|
299
|
+
elementId: `bump_${A.value}`,
|
|
300
300
|
fileName: F.value.style.chart.title.text || "vue-ui-bump",
|
|
301
301
|
options: F.value.userOptions.print
|
|
302
302
|
}), Kt = f(() => F.value.userOptions.show && !F.value.style.chart.title.text), z = S({
|
|
@@ -310,16 +310,16 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
310
310
|
}
|
|
311
311
|
}), qt = f(() => le(F.value.customPalette)), B = Re(null), V = Re(null), Jt = S(null), Yt = f(() => F.value.debug);
|
|
312
312
|
function Xt() {
|
|
313
|
-
if (
|
|
313
|
+
if (s(O.dataset) ? (ae({
|
|
314
314
|
componentName: "VueUiBump",
|
|
315
315
|
type: "dataset",
|
|
316
316
|
debug: Yt.value
|
|
317
317
|
}), Ft.value = !0) : O.dataset.forEach((e, t) => {
|
|
318
|
-
|
|
318
|
+
re({
|
|
319
319
|
datasetObject: e,
|
|
320
320
|
requiredAttributes: ["name", "values"]
|
|
321
321
|
}).forEach((e) => {
|
|
322
|
-
|
|
322
|
+
vt.value = !1, ae({
|
|
323
323
|
componentName: "VueUiBump",
|
|
324
324
|
type: "datasetSerieAttribute",
|
|
325
325
|
property: e,
|
|
@@ -327,18 +327,18 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
327
327
|
debug: Yt.value
|
|
328
328
|
}), Ft.value = !0;
|
|
329
329
|
});
|
|
330
|
-
}),
|
|
330
|
+
}), s(O.dataset) || (Ft.value = F.value.loading), setTimeout(() => {
|
|
331
331
|
Ct.value = !0;
|
|
332
332
|
}, 10), F.value.responsive) {
|
|
333
333
|
let e = Ce(() => {
|
|
334
334
|
Ct.value = !1;
|
|
335
335
|
let { width: e, height: t } = we({
|
|
336
|
-
chart:
|
|
337
|
-
noTitle:
|
|
338
|
-
title: F.value.style.chart.title.text ?
|
|
336
|
+
chart: k.value,
|
|
337
|
+
noTitle: xt.value,
|
|
338
|
+
title: F.value.style.chart.title.text ? bt.value : null,
|
|
339
339
|
legend: null,
|
|
340
340
|
slicer: null,
|
|
341
|
-
source:
|
|
341
|
+
source: St.value
|
|
342
342
|
});
|
|
343
343
|
requestAnimationFrame(() => {
|
|
344
344
|
z.value.width = e, z.value.height = t - 12, clearTimeout(Jt.value), Jt.value = setTimeout(() => {
|
|
@@ -346,14 +346,14 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
346
346
|
}, 10);
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value =
|
|
349
|
+
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = k.value.parentNode, B.value.observe(V.value);
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
Fe(() => {
|
|
353
353
|
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
354
354
|
});
|
|
355
355
|
let Zt = f(() => Pt.value.map((e, t) => {
|
|
356
|
-
let n = c(e.color) || qt.value[t] ||
|
|
356
|
+
let n = c(e.color) || qt.value[t] || a[t] || a[t % a.length];
|
|
357
357
|
return {
|
|
358
358
|
...e,
|
|
359
359
|
absoluteIndex: t,
|
|
@@ -433,14 +433,14 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
433
433
|
svgHeight: ne
|
|
434
434
|
};
|
|
435
435
|
}), W = f(() => {
|
|
436
|
-
if (!
|
|
436
|
+
if (!vt.value && !Nt.value) return [];
|
|
437
437
|
let e = Qt(Zt.value);
|
|
438
438
|
return Zt.value.map((t, n) => ({
|
|
439
439
|
...t,
|
|
440
440
|
positions: e[n]
|
|
441
441
|
})).map((e) => {
|
|
442
442
|
let t = e.positions.map((t, n) => {
|
|
443
|
-
let r =
|
|
443
|
+
let r = ie(F.value.style.chart.layout.plots.labels.formatter, e.values[n], u({
|
|
444
444
|
p: F.value.style.chart.layout.plots.labels.prefix,
|
|
445
445
|
v: e.values[n],
|
|
446
446
|
s: F.value.style.chart.layout.plots.labels.suffix,
|
|
@@ -457,11 +457,11 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
457
457
|
color: e.color,
|
|
458
458
|
labelColor: F.value.style.chart.layout.plots.labels.color === "auto" ? se(e.color) : c(F.value.style.chart.layout.plots.labels.color) ?? se(e.color)
|
|
459
459
|
};
|
|
460
|
-
}), n = t.filter((e) =>
|
|
460
|
+
}), n = t.filter((e) => r(e.value)), i = F.value.style.chart.layout.lines.smooth ? o(n) : l(n);
|
|
461
461
|
return {
|
|
462
462
|
...e,
|
|
463
463
|
coordinates: t,
|
|
464
|
-
path:
|
|
464
|
+
path: i
|
|
465
465
|
};
|
|
466
466
|
});
|
|
467
467
|
});
|
|
@@ -472,7 +472,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
472
472
|
seriesId: e.id,
|
|
473
473
|
seriesName: e.name,
|
|
474
474
|
pointId: `${e.id}_${r}`
|
|
475
|
-
})).filter((e) =>
|
|
475
|
+
})).filter((e) => r(e.value))));
|
|
476
476
|
function an(e, t, n, r) {
|
|
477
477
|
let i = e.toSorted((e, t) => e.y - t.y);
|
|
478
478
|
for (let e = 1; e < i.length; e += 1) {
|
|
@@ -546,7 +546,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
546
546
|
start: 0,
|
|
547
547
|
end: H.value
|
|
548
548
|
})), q = f(() => [...W.value].map((e) => {
|
|
549
|
-
let t = [...e.coordinates].filter((e) =>
|
|
549
|
+
let t = [...e.coordinates].filter((e) => r(e.value)).at(-1);
|
|
550
550
|
return {
|
|
551
551
|
...e,
|
|
552
552
|
navigationRank: t?.rank ?? Infinity
|
|
@@ -591,7 +591,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
591
591
|
}
|
|
592
592
|
let J = f(() => ({
|
|
593
593
|
head: Z.value.head,
|
|
594
|
-
body: W.value.map((e) => [e.name, ...e.coordinates.map((e) =>
|
|
594
|
+
body: W.value.map((e) => [e.name, ...e.coordinates.map((e) => r(e.value) ? `${e.displayValue} (${e.rank})` : "-")]),
|
|
595
595
|
caption: F.value.a11y.translations.tableCaption,
|
|
596
596
|
notice: F.value.a11y.translations.tableAvailable
|
|
597
597
|
}));
|
|
@@ -625,7 +625,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
625
625
|
Y.value = !Y.value;
|
|
626
626
|
}
|
|
627
627
|
function vn(e) {
|
|
628
|
-
|
|
628
|
+
j.value = e, yt.value += 1;
|
|
629
629
|
}
|
|
630
630
|
function yn() {
|
|
631
631
|
R.value.showTable = !R.value.showTable;
|
|
@@ -664,8 +664,8 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
664
664
|
color: F.value.table.th.color,
|
|
665
665
|
headerColor: F.value.table.th.color,
|
|
666
666
|
headerBg: F.value.table.th.backgroundColor,
|
|
667
|
-
isFullscreen:
|
|
668
|
-
fullscreenParent:
|
|
667
|
+
isFullscreen: j.value,
|
|
668
|
+
fullscreenParent: k.value,
|
|
669
669
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
670
670
|
isCursorPointer: I.value
|
|
671
671
|
} : {
|
|
@@ -711,9 +711,9 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
711
711
|
generateImage: Gt
|
|
712
712
|
});
|
|
713
713
|
async function kn({ scale: e = 2 } = {}) {
|
|
714
|
-
if (!
|
|
715
|
-
let { width: t, height: n } =
|
|
716
|
-
domElement:
|
|
714
|
+
if (!k.value) return;
|
|
715
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
|
|
716
|
+
domElement: k.value,
|
|
717
717
|
base64: !0,
|
|
718
718
|
img: !0,
|
|
719
719
|
scale: e
|
|
@@ -770,25 +770,25 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
770
770
|
toggleFullscreen: vn,
|
|
771
771
|
copyAlt: jn
|
|
772
772
|
}), (e, t) => (x(), h("div", {
|
|
773
|
-
id: `bump_${
|
|
773
|
+
id: `bump_${A.value}`,
|
|
774
774
|
ref_key: "bumpChart",
|
|
775
|
-
ref:
|
|
775
|
+
ref: k,
|
|
776
776
|
class: Pe({
|
|
777
777
|
"vue-data-ui-component": !0,
|
|
778
778
|
"vue-ui-bump": !0,
|
|
779
|
-
"vue-data-ui-wrapper-fullscreen":
|
|
779
|
+
"vue-data-ui-wrapper-fullscreen": j.value
|
|
780
780
|
}),
|
|
781
781
|
style: b(`background:${F.value.style.chart.backgroundColor};color:${F.value.style.chart.color};font-family:${F.value.style.fontFamily}; position: relative; ${F.value.responsive ? "height: 100%" : ""}`),
|
|
782
782
|
onMouseenter: Bt,
|
|
783
783
|
onMouseleave: Vt
|
|
784
784
|
}, [
|
|
785
785
|
g("p", {
|
|
786
|
-
id: `chart-instructions-${
|
|
786
|
+
id: `chart-instructions-${A.value}`,
|
|
787
787
|
class: "sr-only"
|
|
788
788
|
}, T(F.value.a11y.translations.keyboardNavigation), 9, We),
|
|
789
789
|
J.value.body.length ? (x(), p(Te, {
|
|
790
790
|
key: 0,
|
|
791
|
-
uid:
|
|
791
|
+
uid: A.value,
|
|
792
792
|
head: J.value.head,
|
|
793
793
|
body: J.value.body,
|
|
794
794
|
caption: J.value.caption,
|
|
@@ -827,14 +827,14 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
827
827
|
Kt.value ? (x(), h("div", {
|
|
828
828
|
key: 2,
|
|
829
829
|
ref_key: "noTitle",
|
|
830
|
-
ref:
|
|
830
|
+
ref: xt,
|
|
831
831
|
class: "vue-data-ui-no-title-space",
|
|
832
832
|
style: "height:36px; width: 100%;background:transparent"
|
|
833
833
|
}, null, 512)) : m("", !0),
|
|
834
834
|
F.value.style.chart.title.text ? (x(), h("div", {
|
|
835
835
|
key: 3,
|
|
836
836
|
ref_key: "chartTitle",
|
|
837
|
-
ref:
|
|
837
|
+
ref: bt,
|
|
838
838
|
style: "width:100%;background:transparent;"
|
|
839
839
|
}, [(x(), p(xe, {
|
|
840
840
|
key: `title_${wt.value}`,
|
|
@@ -849,15 +849,15 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
849
849
|
}
|
|
850
850
|
}
|
|
851
851
|
}, null, 8, ["config"]))], 512)) : m("", !0),
|
|
852
|
-
F.value.userOptions.show &&
|
|
852
|
+
F.value.userOptions.show && vt.value && (E(zt) || E(Lt)) ? (x(), p(E(ft), {
|
|
853
853
|
ref_key: "userOptionsRef",
|
|
854
854
|
ref: Et,
|
|
855
|
-
key: `user_option_${
|
|
855
|
+
key: `user_option_${yt.value}`,
|
|
856
856
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
857
857
|
color: F.value.style.chart.color,
|
|
858
858
|
isPrinting: E(Ht),
|
|
859
859
|
isImaging: E(Ut),
|
|
860
|
-
uid:
|
|
860
|
+
uid: A.value,
|
|
861
861
|
hasTooltip: !1,
|
|
862
862
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
863
863
|
hasImg: F.value.userOptions.buttons.img,
|
|
@@ -867,8 +867,8 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
867
867
|
hasLabel: !1,
|
|
868
868
|
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
869
869
|
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
870
|
-
isFullcreen:
|
|
871
|
-
chartElement:
|
|
870
|
+
isFullcreen: j.value,
|
|
871
|
+
chartElement: k.value,
|
|
872
872
|
position: F.value.userOptions.position,
|
|
873
873
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
874
874
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
@@ -956,7 +956,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
956
956
|
ref_key: "svgRef",
|
|
957
957
|
ref: L,
|
|
958
958
|
xmlns: E(ce),
|
|
959
|
-
"aria-describedby": `chart-instructions-${
|
|
959
|
+
"aria-describedby": `chart-instructions-${A.value}`,
|
|
960
960
|
viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.svgHeight <= 0 ? 10 : U.value.svgHeight}`,
|
|
961
961
|
class: Pe({
|
|
962
962
|
"vue-data-ui-loading": E(Nt),
|
|
@@ -1040,7 +1040,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1040
1040
|
opacity: N.value == null || N.value === t.id ? 1 : .1
|
|
1041
1041
|
})
|
|
1042
1042
|
}, T(e.rank), 13, Ze))), 256)) : m("", !0),
|
|
1043
|
-
F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (x(!0), h(d, { key: 2 }, C(t.coordinates, (n) => (x(), h(d, null, [E(
|
|
1043
|
+
F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (x(!0), h(d, { key: 2 }, C(t.coordinates, (n) => (x(), h(d, null, [E(r)(n.value) ? (x(), h("rect", Ne({
|
|
1044
1044
|
key: 0,
|
|
1045
1045
|
class: "transition-opacity"
|
|
1046
1046
|
}, { ref_for: !0 }, sn(n), {
|
|
@@ -1057,7 +1057,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1057
1057
|
...e.point,
|
|
1058
1058
|
pointIndex: e.i
|
|
1059
1059
|
}, t)
|
|
1060
|
-
}), null, 16, Qe)) : m("", !0), E(
|
|
1060
|
+
}), null, 16, Qe)) : m("", !0), E(r)(n.value) && F.value.style.chart.layout.plots.labels.show ? (x(), h("text", {
|
|
1061
1061
|
key: 1,
|
|
1062
1062
|
class: "transition-opacity",
|
|
1063
1063
|
x: n.x,
|
|
@@ -1076,7 +1076,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1076
1076
|
key: 1,
|
|
1077
1077
|
ref_key: "labelsLeft",
|
|
1078
1078
|
ref: Ot
|
|
1079
|
-
}, [(x(!0), h(d, null, C(on.value.left.filter((e) => E(
|
|
1079
|
+
}, [(x(!0), h(d, null, C(on.value.left.filter((e) => E(r)(e.value)), (e, t) => (x(), h("text", {
|
|
1080
1080
|
class: "transition-opacity",
|
|
1081
1081
|
x: U.value.left,
|
|
1082
1082
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -1084,7 +1084,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1084
1084
|
"font-size": F.value.style.chart.layout.nameLabels.fontSize,
|
|
1085
1085
|
"font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1086
1086
|
"text-anchor": "end",
|
|
1087
|
-
innerHTML: E(
|
|
1087
|
+
innerHTML: E(i)({
|
|
1088
1088
|
content: e.name,
|
|
1089
1089
|
fontSize: F.value.style.chart.layout.nameLabels.fontSize,
|
|
1090
1090
|
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
@@ -1101,7 +1101,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1101
1101
|
key: 2,
|
|
1102
1102
|
ref_key: "labelsRight",
|
|
1103
1103
|
ref: kt
|
|
1104
|
-
}, [(x(!0), h(d, null, C(on.value.right.filter((e) => E(
|
|
1104
|
+
}, [(x(!0), h(d, null, C(on.value.right.filter((e) => E(r)(e.value)), (e, t) => (x(), h("text", {
|
|
1105
1105
|
class: "transition-opacity",
|
|
1106
1106
|
x: U.value.right,
|
|
1107
1107
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -1109,7 +1109,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1109
1109
|
"font-size": F.value.style.chart.layout.nameLabels.fontSize,
|
|
1110
1110
|
"font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1111
1111
|
"text-anchor": "start",
|
|
1112
|
-
innerHTML: E(
|
|
1112
|
+
innerHTML: E(i)({
|
|
1113
1113
|
content: e.name,
|
|
1114
1114
|
fontSize: F.value.style.chart.layout.nameLabels.fontSize,
|
|
1115
1115
|
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
@@ -1148,7 +1148,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1148
1148
|
),
|
|
1149
1149
|
rotate(${F.value.style.chart.layout.timeLabels.rotation})
|
|
1150
1150
|
`,
|
|
1151
|
-
innerHTML: E(
|
|
1151
|
+
innerHTML: E(i)({
|
|
1152
1152
|
content: String(e.text),
|
|
1153
1153
|
fontSize: F.value.style.chart.layout.timeLabels.fontSize,
|
|
1154
1154
|
fill: F.value.style.chart.layout.timeLabels.color,
|
|
@@ -1181,7 +1181,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1181
1181
|
isVisible: jt.value
|
|
1182
1182
|
})), void 0, !0)])) : m("", !0)]),
|
|
1183
1183
|
e.$slots.watermark ? (x(), h("div", st, [w(e.$slots, "watermark", y(v({ isPrinting: E(Ht) || E(Ut) || E(Tn) || E(En) })), void 0, !0)])) : m("", !0),
|
|
1184
|
-
|
|
1184
|
+
vt.value && F.value.userOptions.buttons.table ? (x(), p(Le(X.value.component), Ne({ key: 6 }, X.value.props, {
|
|
1185
1185
|
ref_key: "tableUnit",
|
|
1186
1186
|
ref: M,
|
|
1187
1187
|
onClose: bn
|
|
@@ -1229,7 +1229,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
|
|
|
1229
1229
|
e.$slots.source ? (x(), h("div", {
|
|
1230
1230
|
key: 7,
|
|
1231
1231
|
ref_key: "source",
|
|
1232
|
-
ref:
|
|
1232
|
+
ref: St,
|
|
1233
1233
|
dir: "auto"
|
|
1234
1234
|
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1235
1235
|
w(e.$slots, "skeleton", {}, () => [E(Nt) ? (x(), p(ge, { key: 0 })) : m("", !0)], !0)
|