vue-data-ui 3.22.4 → 3.22.6
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-CgzmXCW_.js → Arrow-Ds4xmpiQ.js} +1 -1
- package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-VbypEaAa.js} +2 -2
- package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-DcUvOfxf.js} +1 -1
- package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-DFwIY5bE.js} +1 -1
- package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-DwolSINF.js} +2 -2
- package/dist/{ColorPicker-Usv7badH.js → ColorPicker-UVDPcrjE.js} +2 -2
- package/dist/{DataTable-PidUPOit.js → DataTable-CXfvIulC.js} +2 -2
- package/dist/{Legend-DXOzbXb-.js → Legend-D-635Kag.js} +2 -2
- package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-pR_1qp3s.js} +29 -29
- package/dist/{PackageVersion-Cm-3hwIF.js → PackageVersion-Da7hl-34.js} +1 -1
- package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-Bk2-E7V4.js} +18 -18
- package/dist/{Shape-BnF9aMPX.js → Shape-BSetplwm.js} +1 -1
- package/dist/{Slicer-hEvKOLw3.js → Slicer-ClIGOuoX.js} +2 -2
- package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-D1n9AW39.js} +4 -4
- package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-CjDAyolg.js} +1 -1
- package/dist/{Title-DDEEO-Nr.js → Title-C-p0ilWB.js} +1 -1
- package/dist/{Tooltip-BhKov422.js → Tooltip-YabpoXo1.js} +1 -1
- package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BO4VFL8O.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-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-ZOysoMwu.js → dom-to-png-CVJfsfwL.js} +1 -1
- package/dist/exposedLib-CjwriUaG.js +19 -0
- package/dist/{img-B29J8tV5.js → img-B_y5qDdm.js} +1 -1
- package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CyVwqXSh.js} +1 -1
- package/dist/{lib-CuwHGt1j.js → lib-DRBJCmHW.js} +6 -9
- package/dist/{package-CRlwXCDr.js → package-DyQ_PQis.js} +1 -1
- package/dist/{pdf-ymYt9Lee.js → pdf-CG02qhAH.js} +1 -1
- package/dist/{render-common-D6ny-Fwu.js → render-common-CUAlQvAQ.js} +22 -22
- 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 +14 -0
- package/dist/types/vue-ui-treemap.d.ts +3 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-DPMOys9n.js} +1 -1
- package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
- package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-BEo2N1Db.js} +1 -1
- package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
- package/dist/{usePrinter-C0wAS8yc.js → usePrinter-CRp5IW3v.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-DTWqd0R2.js → vue-data-ui-Bpu4kxlm.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +1757 -0
- package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-CfMrbDoq.js} +4 -4
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +1238 -0
- package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-CG6rhFpy.js} +68 -68
- package/dist/{vue-ui-bullet-tlj5_z_z.js → vue-ui-bullet-C_oBS1cr.js} +18 -18
- package/dist/{vue-ui-bump-BD0Uq3As.js → vue-ui-bump-BZB1Na8h.js} +243 -243
- package/dist/{vue-ui-candlestick-CZxsNGKS.js → vue-ui-candlestick-8d_1xO8X.js} +27 -27
- package/dist/{vue-ui-carousel-table-ycbcmBKt.js → vue-ui-carousel-table-BfZNcwmY.js} +43 -43
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +2010 -0
- package/dist/vue-ui-chord-B-sauvLo.js +1391 -0
- package/dist/{vue-ui-circle-pack-BPC6zUis.js → vue-ui-circle-pack-BLh8HnGK.js} +32 -32
- package/dist/{vue-ui-cursor-DF_e5k1s.js → vue-ui-cursor-DVsEm_4l.js} +4 -4
- package/dist/{vue-ui-dag-BIo4-Oa8.js → vue-ui-dag-Cfi0b9qm.js} +24 -24
- package/dist/{vue-ui-dashboard-BEtF6UX2.js → vue-ui-dashboard-F_NZ1xoQ.js} +70 -70
- package/dist/{vue-ui-digits-07IxTlNO.js → vue-ui-digits-BfP1kbj3.js} +4 -4
- package/dist/vue-ui-donut-BwAyvV3-.js +2410 -0
- package/dist/{vue-ui-donut-C5oRCxAO.js → vue-ui-donut-DlVRnVr_.js} +120 -120
- package/dist/{vue-ui-donut-evolution-BSeyPC9k.js → vue-ui-donut-evolution-D1k4u6cA.js} +419 -419
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +1530 -0
- package/dist/{vue-ui-flow-R_dLE1WS.js → vue-ui-flow-D_7Idmmw.js} +84 -84
- package/dist/vue-ui-funnel-BYCFV5TD.js +777 -0
- package/dist/vue-ui-galaxy-Bjxbg5_B.js +1077 -0
- package/dist/{vue-ui-gauge-AbzY-7Gg.js → vue-ui-gauge-Dt0H7DgC.js} +217 -217
- package/dist/{vue-ui-geo-DVT9XEC3.js → vue-ui-geo-89DEQb5l.js} +18 -18
- package/dist/{vue-ui-gizmo-DJTRXao8.js → vue-ui-gizmo-CQyLK18v.js} +62 -62
- package/dist/{vue-ui-heatmap-BCFId15K.js → vue-ui-heatmap-o6MvoxBK.js} +247 -247
- package/dist/vue-ui-history-plot-B7zuCfdg.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-j3jszojt.js → vue-ui-horizontal-bar-CwB4sc6M.js} +275 -275
- package/dist/{vue-ui-kpi-DJjF6tcf.js → vue-ui-kpi-4C-j92D-.js} +4 -4
- package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-Bj4Wv-i8.js} +3 -3
- package/dist/vue-ui-molecule-BDrRmwmm.js +925 -0
- package/dist/{vue-ui-mood-radar-DP_4LHfZ.js → vue-ui-mood-radar-B5W35Fvp.js} +30 -30
- package/dist/{vue-ui-nested-donuts-DFsLZEqx.js → vue-ui-nested-donuts-wfesrzle.js} +105 -105
- package/dist/{vue-ui-onion-CzXx3Rme.js → vue-ui-onion-B8-psLbF.js} +40 -40
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +1416 -0
- package/dist/vue-ui-quadrant-BzyGOJR2.js +1978 -0
- package/dist/{vue-ui-quick-chart-CnIFPFPv.js → vue-ui-quick-chart-so_8PzvS.js} +663 -663
- package/dist/{vue-ui-radar-CNwKFbHc.js → vue-ui-radar-5fQ5AAWD.js} +63 -63
- package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-CKWHDKOT.js} +34 -34
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +924 -0
- package/dist/{vue-ui-ridgeline-Kw50zROq.js → vue-ui-ridgeline-DVbYznRz.js} +102 -102
- package/dist/vue-ui-rings-c-yLWFHr.js +1246 -0
- package/dist/{vue-ui-scatter-DoL5Kh1Y.js → vue-ui-scatter-QhmE7n1H.js} +87 -87
- package/dist/{vue-ui-skeleton-BOHwJSdz.js → vue-ui-skeleton-BkxB6Dik.js} +4 -4
- package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-C4g0iaF7.js} +10 -10
- package/dist/{vue-ui-spark-trend-OgSFIFh0.js → vue-ui-spark-trend-0FELlq4x.js} +98 -98
- package/dist/{vue-ui-sparkbar-D8FdqMB_.js → vue-ui-sparkbar-D-i_VLO6.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CBpPbVkw.js → vue-ui-sparkgauge-CWw6w_ng.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-BQjbLa2k.js → vue-ui-sparkhistogram-DuGpkfma.js} +105 -105
- package/dist/{vue-ui-sparkline-BJfh5Lje.js → vue-ui-sparkline-Bi06lHQd.js} +252 -252
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +662 -0
- package/dist/{vue-ui-stackbar-Dqs7_g8D.js → vue-ui-stackbar-DDvuDGQ_.js} +85 -85
- package/dist/vue-ui-stackline-C0NHBUaE.js +2416 -0
- package/dist/{vue-ui-strip-plot-B7D6Hk8R.js → vue-ui-strip-plot-_6LL45i9.js} +369 -369
- package/dist/{vue-ui-table-Bqi9XNvY.js → vue-ui-table-DBlZswRi.js} +26 -26
- package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-3xYIDKcP.js} +6 -6
- package/dist/{vue-ui-table-sparkline-0Ffb2jdf.js → vue-ui-table-sparkline-BH5PzEnJ.js} +201 -201
- package/dist/{vue-ui-thermometer-Di5PXtEO.js → vue-ui-thermometer-BxMzAqoT.js} +119 -119
- package/dist/{vue-ui-timer-9CDcd-gP.js → vue-ui-timer-ONSitYDm.js} +30 -30
- package/dist/{vue-ui-tiremarks-BAQ-cCSq.js → vue-ui-tiremarks-DWXM-9nR.js} +15 -15
- package/dist/vue-ui-treemap-B03c4RIy.js +1713 -0
- package/dist/{vue-ui-waffle-DG2IfACo.js → vue-ui-waffle-afa8HSxz.js} +160 -160
- package/dist/{vue-ui-wheel-BfXJFCjv.js → vue-ui-wheel-DRP7X8S2.js} +37 -37
- package/dist/{vue-ui-word-cloud-3NJy1z6d.js → vue-ui-word-cloud-AKpMO97a.js} +38 -38
- package/dist/{vue-ui-world-vrGT5g1H.js → vue-ui-world-CqS-HhZl.js} +400 -400
- package/dist/{vue-ui-xy-Dg0wxSeC.js → vue-ui-xy-Bmd11BxR.js} +656 -656
- package/dist/{vue-ui-xy-Cb7u46JN.js → vue-ui-xy-DJ8YKPgs.js} +244 -244
- package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DO_PDGKf.js} +47 -47
- package/package.json +1 -1
- package/dist/exposedLib-C2U48XK7.js +0 -19
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +0 -1757
- package/dist/vue-ui-age-pyramid-e09oK-Fp.js +0 -1238
- package/dist/vue-ui-chestnut-CnEsjvh4.js +0 -2010
- package/dist/vue-ui-chord-BZhXsZXp.js +0 -1391
- package/dist/vue-ui-donut-C4FcvXm3.js +0 -2410
- package/dist/vue-ui-dumbbell-Cykw4WYn.js +0 -1530
- package/dist/vue-ui-funnel-Ct5xQdak.js +0 -777
- package/dist/vue-ui-galaxy-B5BkdIt5.js +0 -1077
- package/dist/vue-ui-history-plot-DCeroetw.js +0 -1700
- package/dist/vue-ui-molecule-2pfoR63d.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +0 -1416
- package/dist/vue-ui-quadrant-Br_iZmcw.js +0 -1978
- package/dist/vue-ui-relation-circle-BVDIikGi.js +0 -924
- package/dist/vue-ui-rings-BDJyoWvT.js +0 -1246
- package/dist/vue-ui-sparkstackbar-1WUQrqd7.js +0 -662
- package/dist/vue-ui-stackline-IRjugedp.js +0 -2416
- package/dist/vue-ui-treemap-CLOlWiDE.js +0 -1587
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as se } from "./useConfig-
|
|
4
|
-
import { t as ce } from "./usePrinter-
|
|
2
|
+
import { At as t, Dt as n, Ht as r, It as i, M as a, Q as o, S as s, Vt as c, W as l, Wt as u, X as d, _t as f, at as p, b as m, g as h, h as ee, i as g, j as te, lt as ne, pt as re, q as _, t as ie, v, w as ae, xt as oe } from "./lib-DRBJCmHW.js";
|
|
3
|
+
import { t as se } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as ce } from "./usePrinter-CRp5IW3v.js";
|
|
5
5
|
import { n as le, t as ue } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as de } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as fe } from "./useNestedProp-
|
|
7
|
+
import { t as fe } from "./useNestedProp-BEo2N1Db.js";
|
|
8
8
|
import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as me } from "./img-
|
|
10
|
-
import { n as he } from "./Title-
|
|
11
|
-
import { t as ge } from "./Shape-
|
|
9
|
+
import { t as me } from "./img-B_y5qDdm.js";
|
|
10
|
+
import { n as he } from "./Title-C-p0ilWB.js";
|
|
11
|
+
import { t as ge } from "./Shape-BSetplwm.js";
|
|
12
12
|
import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as ve } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as ye } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as be } from "./BaseLegendToggle-
|
|
15
|
+
import { t as be } from "./BaseLegendToggle-DFwIY5bE.js";
|
|
16
16
|
import { t as xe } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as we } from "./Legend-
|
|
19
|
+
import { t as we } from "./Legend-D-635Kag.js";
|
|
20
20
|
import { t as Te } from "./vue_ui_scatter-I0POnicu.js";
|
|
21
21
|
import { Fragment as y, Teleport as Ee, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as De, createTextVNode as Oe, createVNode as ke, defineAsyncComponent as Ae, guardReactiveProps as T, mergeProps as je, nextTick as Me, normalizeClass as Ne, normalizeProps as E, normalizeStyle as D, onBeforeUnmount as Pe, onMounted as Fe, openBlock as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as Ie, shallowRef as Le, toDisplayString as M, toRefs as Re, unref as N, watch as ze, withCtx as P } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-scatter.vue
|
|
@@ -385,7 +385,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
385
385
|
},
|
|
386
386
|
emits: ["copyAlt", "selectLegend"],
|
|
387
387
|
setup(e, { expose: _e, emit: Be }) {
|
|
388
|
-
let _n = Ae(() => import("./Tooltip-
|
|
388
|
+
let _n = Ae(() => import("./Tooltip-YabpoXo1.js")), vn = Ae(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), yn = Ae(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), bn = Ae(() => import("./DataTable-CXfvIulC.js")), xn = Ae(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), Sn = Ae(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), Cn = Ae(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), wn = Ae(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_scatter: Tn } = se(), { isThemeValid: En, warnInvalidTheme: Dn } = pe(), F = e, On = Be, kn = b(() => !!F.dataset && F.dataset.length), I = k(l()), An = k(!1), jn = k(""), Mn = k(0), L = k(null), Nn = k(null), Pn = k(null), Fn = k(null), In = k(null), Ln = k(0), Rn = k(0), zn = k(0), R = k([]), Bn = k(!1), Vn = k(null), Hn = k(null), Un = k(null), Wn = k(null), Gn = k(!1), Kn = k(!1), qn = k(null), Jn = k(null), Yn = k(null), Xn = k(null), Zn = k(null), Qn = k(null), $n = k(null), er = k({
|
|
389
389
|
x: 0,
|
|
390
390
|
y: 0
|
|
391
391
|
}), tr = k("pointer"), nr = k(!1), rr = k(null), z = k(mr()), ir = b(() => z.value.userOptions.useCursorPointer);
|
|
@@ -397,7 +397,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
397
397
|
return Math.sqrt(-2 * Math.log(e)) * Math.cos(2 * Math.PI * t);
|
|
398
398
|
}, d = e / 2, f = Array.from({ length: d }, u), p = Array.from({ length: d }, u), m = (e) => e.reduce((e, t) => e + t, 0) / e.length, h = m(f), ee = m(p);
|
|
399
399
|
for (let e = 0; e < d; e += 1) f[e] -= h, p[e] -= ee;
|
|
400
|
-
let g = (e, t) => e.reduce((e, n, r) => e + n * t[r], 0), te = (e) => g(e, e), ne = g(p, f) / te(f),
|
|
400
|
+
let g = (e, t) => e.reduce((e, n, r) => e + n * t[r], 0), te = (e) => g(e, e), ne = g(p, f) / te(f), re = p.map((e, t) => e - ne * f[t]), _ = te(f) / d, ie = te(re) / d, v = Math.sqrt((1 - t * t) * _ / ie), ae = f.map((e, n) => t * e + v * re[n]), oe = f.concat(f.map((e) => -e)), se = ae.concat(ae.map((e) => -e)), ce = (e) => Math.sqrt(te(e) / e.length), le = (e, t, n) => {
|
|
401
401
|
let r = ce(e);
|
|
402
402
|
return e.map((e) => n + (r ? e / r * t : 0));
|
|
403
403
|
}, ue = le(oe, i, r), de = le(se, o, a);
|
|
@@ -410,7 +410,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
410
410
|
y: de[t]
|
|
411
411
|
}));
|
|
412
412
|
}
|
|
413
|
-
let or = b(() =>
|
|
413
|
+
let or = b(() => u({
|
|
414
414
|
defaultConfig: {
|
|
415
415
|
userOptions: { show: !1 },
|
|
416
416
|
table: { show: !1 },
|
|
@@ -446,7 +446,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
446
446
|
color: "#999999",
|
|
447
447
|
values: ar(100, .5, { seed: 42 })
|
|
448
448
|
}],
|
|
449
|
-
skeletonConfig:
|
|
449
|
+
skeletonConfig: u({
|
|
450
450
|
defaultConfig: z.value,
|
|
451
451
|
userConfig: or.value
|
|
452
452
|
})
|
|
@@ -455,19 +455,19 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
455
455
|
let e = fe({
|
|
456
456
|
userConfig: F.config,
|
|
457
457
|
defaultConfig: Tn
|
|
458
|
-
}),
|
|
459
|
-
if (!
|
|
458
|
+
}), n = e.theme;
|
|
459
|
+
if (!n) return e;
|
|
460
460
|
if (!En.value(e)) return Dn(e), e;
|
|
461
|
-
let
|
|
462
|
-
userConfig: Te[
|
|
461
|
+
let i = fe({
|
|
462
|
+
userConfig: Te[n] || F.config,
|
|
463
463
|
defaultConfig: e
|
|
464
|
-
}),
|
|
464
|
+
}), a = fe({
|
|
465
465
|
userConfig: F.config,
|
|
466
|
-
defaultConfig:
|
|
466
|
+
defaultConfig: i
|
|
467
467
|
});
|
|
468
468
|
return {
|
|
469
|
-
...
|
|
470
|
-
customPalette:
|
|
469
|
+
...a,
|
|
470
|
+
customPalette: a.customPalette.length ? a.customPalette : r[n] || t
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
473
|
ze(() => F.config, (e) => {
|
|
@@ -481,11 +481,11 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
481
481
|
});
|
|
482
482
|
let _r = b(() => !!z.value.debug);
|
|
483
483
|
function vr() {
|
|
484
|
-
if (
|
|
484
|
+
if (n(F.dataset) && (o({
|
|
485
485
|
componentName: "VueUiScatter",
|
|
486
486
|
type: "dataset",
|
|
487
487
|
debug: _r.value
|
|
488
|
-
}), lr.value = !0),
|
|
488
|
+
}), lr.value = !0), n(F.dataset) || (lr.value = z.value.loading), z.value.responsive) {
|
|
489
489
|
let e = ve(() => {
|
|
490
490
|
let { width: e, height: t } = ye({
|
|
491
491
|
chart: L.value,
|
|
@@ -576,7 +576,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
576
576
|
};
|
|
577
577
|
}), Or = b(() => {
|
|
578
578
|
cr.value.forEach((e, t) => {
|
|
579
|
-
|
|
579
|
+
ne({
|
|
580
580
|
datasetObject: e,
|
|
581
581
|
requiredAttributes: ["values"]
|
|
582
582
|
}).forEach((e) => {
|
|
@@ -587,7 +587,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
587
587
|
index: t
|
|
588
588
|
});
|
|
589
589
|
}), e.values && e.values.forEach((e, n) => {
|
|
590
|
-
|
|
590
|
+
ne({
|
|
591
591
|
datasetObject: e,
|
|
592
592
|
requiredAttributes: ["x", "y"]
|
|
593
593
|
}).forEach((e) => {
|
|
@@ -626,9 +626,9 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
626
626
|
let i = Ar(n);
|
|
627
627
|
if (e === t) {
|
|
628
628
|
let n = t + (e === 0 ? 1 : Math.abs(e) * .01);
|
|
629
|
-
return (r ?
|
|
629
|
+
return (r ? ee : h)(e, n, i);
|
|
630
630
|
}
|
|
631
|
-
return (r ?
|
|
631
|
+
return (r ? ee : h)(e, t, i);
|
|
632
632
|
}
|
|
633
633
|
let Nr = b(() => {
|
|
634
634
|
let e = z.value.style.layout.dataLabels.xAxis;
|
|
@@ -656,7 +656,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
656
656
|
return Nr.value.ticks.map((n) => ({
|
|
657
657
|
value: n,
|
|
658
658
|
x: zr(n),
|
|
659
|
-
label:
|
|
659
|
+
label: g(t.formatter, v(n), _({
|
|
660
660
|
p: z.value.style.layout.plots.selectors.labels.prefix,
|
|
661
661
|
v: v(n),
|
|
662
662
|
s: z.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -668,7 +668,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
668
668
|
return Pr.value.ticks.map((n) => ({
|
|
669
669
|
value: n,
|
|
670
670
|
y: Br(n),
|
|
671
|
-
label:
|
|
671
|
+
label: g(t.formatter, v(n), _({
|
|
672
672
|
p: z.value.style.layout.plots.selectors.labels.prefix,
|
|
673
673
|
v: v(n),
|
|
674
674
|
s: z.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -690,23 +690,23 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
690
690
|
x: zr(i),
|
|
691
691
|
y: Br(a)
|
|
692
692
|
};
|
|
693
|
-
}), G = b(() => cr.value.map((e,
|
|
694
|
-
let
|
|
693
|
+
}), G = b(() => cr.value.map((e, n) => {
|
|
694
|
+
let r = `cluster_${I.value}_${n}`;
|
|
695
695
|
return {
|
|
696
696
|
...e,
|
|
697
|
-
values:
|
|
697
|
+
values: oe({
|
|
698
698
|
data: e.values,
|
|
699
699
|
threshold: z.value.usePerformanceMode ? e.values.length + 1 : z.value.downsample.threshold
|
|
700
700
|
}),
|
|
701
|
-
id:
|
|
702
|
-
color: e.color ? e.color : wr.value[
|
|
703
|
-
opacity: R.value.includes(
|
|
701
|
+
id: r,
|
|
702
|
+
color: e.color ? e.color : wr.value[n] || t[n] || t[n % t.length],
|
|
703
|
+
opacity: R.value.includes(r) ? .5 : 1,
|
|
704
704
|
shape: e.shape ?? "circle",
|
|
705
|
-
segregate: () => oi(
|
|
706
|
-
isSegregated: R.value.includes(
|
|
705
|
+
segregate: () => oi(r),
|
|
706
|
+
isSegregated: R.value.includes(r),
|
|
707
707
|
hasGroupSelection: !!Jr.value,
|
|
708
|
-
isGroupSelected: Jr.value ===
|
|
709
|
-
onEnter: () => Xr(
|
|
708
|
+
isGroupSelected: Jr.value === r,
|
|
709
|
+
onEnter: () => Xr(r),
|
|
710
710
|
onLeave: () => Zr()
|
|
711
711
|
};
|
|
712
712
|
})), Vr = b(() => ({
|
|
@@ -716,20 +716,20 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
716
716
|
fontSize: z.value.style.legend.fontSize,
|
|
717
717
|
paddingBottom: 12,
|
|
718
718
|
fontWeight: z.value.style.legend.bold ? "bold" : ""
|
|
719
|
-
})), Hr = b(() => G.value.map((e,
|
|
719
|
+
})), Hr = b(() => G.value.map((e, n) => ({
|
|
720
720
|
...e,
|
|
721
|
-
plots: e.values.map((
|
|
722
|
-
x: zr(
|
|
723
|
-
y: Br(
|
|
721
|
+
plots: e.values.map((r, i) => ({
|
|
722
|
+
x: zr(r.x),
|
|
723
|
+
y: Br(r.y),
|
|
724
724
|
v: {
|
|
725
|
-
...
|
|
726
|
-
name:
|
|
725
|
+
...r,
|
|
726
|
+
name: r.name || ""
|
|
727
727
|
},
|
|
728
728
|
clusterName: e.name,
|
|
729
729
|
clusterId: e.id,
|
|
730
|
-
color: e.color ? e.color : wr.value[
|
|
731
|
-
id: `plot_${I.value}_${
|
|
732
|
-
weight:
|
|
730
|
+
color: e.color ? e.color : wr.value[n] || t[n] || t[n % t.length],
|
|
731
|
+
id: `plot_${I.value}_${n}_${i}`,
|
|
732
|
+
weight: r.weight ?? z.value.style.layout.plots.radius
|
|
733
733
|
}))
|
|
734
734
|
})).filter((e) => !R.value.includes(e.id))), K = b(() => {
|
|
735
735
|
let e = 1e-9, t = ({ m: t, b: n, rect: r, verticalX: i = null }) => {
|
|
@@ -763,8 +763,8 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
763
763
|
}
|
|
764
764
|
let l, u, d = null;
|
|
765
765
|
s < e ? (d = i, l = Infinity, u = null) : (l = o / s, u = a - l * i);
|
|
766
|
-
let
|
|
767
|
-
d === null ? (
|
|
766
|
+
let f, p;
|
|
767
|
+
d === null ? (f = l, p = u) : (f = Infinity, p = null);
|
|
768
768
|
let h = n.plots.every((e) => e.v && typeof e.v.x == "number" && typeof e.v.y == "number"), ee = NaN;
|
|
769
769
|
if (r >= 2) {
|
|
770
770
|
let t = 0, o = 0;
|
|
@@ -780,8 +780,8 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
780
780
|
}
|
|
781
781
|
}
|
|
782
782
|
let g = t({
|
|
783
|
-
m:
|
|
784
|
-
b:
|
|
783
|
+
m: f,
|
|
784
|
+
b: p,
|
|
785
785
|
rect: H.value,
|
|
786
786
|
verticalX: d
|
|
787
787
|
});
|
|
@@ -793,7 +793,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
793
793
|
...e,
|
|
794
794
|
deviation: 0,
|
|
795
795
|
shape: n.shape,
|
|
796
|
-
color:
|
|
796
|
+
color: m(n.color)
|
|
797
797
|
}))
|
|
798
798
|
};
|
|
799
799
|
let te = {
|
|
@@ -802,7 +802,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
802
802
|
};
|
|
803
803
|
return {
|
|
804
804
|
...n,
|
|
805
|
-
color:
|
|
805
|
+
color: m(n.color),
|
|
806
806
|
correlation: {
|
|
807
807
|
...g,
|
|
808
808
|
coefficient: ee
|
|
@@ -810,13 +810,13 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
810
810
|
label: te,
|
|
811
811
|
plots: n.plots.map((t) => {
|
|
812
812
|
let r, i;
|
|
813
|
-
d === null ? Math.abs(
|
|
813
|
+
d === null ? Math.abs(f) < e ? (r = t.x, i = p) : (r = (t.x + f * t.y - f * p) / (1 + f * f), i = (f * t.x + f * f * t.y + p) / (1 + f * f)) : (r = d, i = t.y);
|
|
814
814
|
let a = t.x - r, o = t.y - i, s = Math.sqrt(a * a + o * o);
|
|
815
815
|
return {
|
|
816
816
|
...t,
|
|
817
817
|
deviation: s,
|
|
818
818
|
shape: n.shape,
|
|
819
|
-
color:
|
|
819
|
+
color: m(n.color)
|
|
820
820
|
};
|
|
821
821
|
})
|
|
822
822
|
};
|
|
@@ -858,11 +858,11 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
858
858
|
let r = Gr(n, q.value);
|
|
859
859
|
return {
|
|
860
860
|
coords: r,
|
|
861
|
-
dX:
|
|
861
|
+
dX: te(r.avgX.map((t, n) => ({
|
|
862
862
|
x: t,
|
|
863
863
|
y: e - r.x[n] / r.maxX * z.value.style.layout.marginalBars.size
|
|
864
864
|
}))),
|
|
865
|
-
dY:
|
|
865
|
+
dY: a(r.avgY.map((e, n) => ({
|
|
866
866
|
y: e,
|
|
867
867
|
x: t + z.value.style.layout.marginalBars.size * r.y[n] / r.maxY
|
|
868
868
|
}))),
|
|
@@ -887,13 +887,13 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
887
887
|
}
|
|
888
888
|
function Qr(e) {
|
|
889
889
|
if (!pr.value || !e) return;
|
|
890
|
-
let t =
|
|
890
|
+
let t = c(e.x, e.y, pr.value);
|
|
891
891
|
t && (er.value = t);
|
|
892
892
|
}
|
|
893
893
|
let $r = b(() => X.value ? [X.value] : Z.value.length ? K.value.flatMap((e) => e.plots).filter((e) => Z.value.includes(e.id)) : []);
|
|
894
894
|
function ei(e) {
|
|
895
895
|
let t = z.value.style.layout.dataLabels.xAxis, n = t.scales.labels;
|
|
896
|
-
return
|
|
896
|
+
return g(n.formatter, v(e.v.x), _({
|
|
897
897
|
p: z.value.style.layout.plots.selectors.labels.prefix,
|
|
898
898
|
v: v(e.v.x),
|
|
899
899
|
s: z.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -902,7 +902,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
902
902
|
}
|
|
903
903
|
function ti(e) {
|
|
904
904
|
let t = z.value.style.layout.dataLabels.yAxis, n = t.scales.labels;
|
|
905
|
-
return
|
|
905
|
+
return g(n.formatter, v(e.v.y), _({
|
|
906
906
|
p: z.value.style.layout.plots.selectors.labels.prefix,
|
|
907
907
|
v: v(e.v.y),
|
|
908
908
|
s: z.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -922,7 +922,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
922
922
|
config: z.value
|
|
923
923
|
};
|
|
924
924
|
let a = z.value.style.tooltip.customFormat;
|
|
925
|
-
|
|
925
|
+
f(a) && p(() => a({
|
|
926
926
|
datapoint: e,
|
|
927
927
|
seriesIndex: t,
|
|
928
928
|
series: K.value,
|
|
@@ -932,7 +932,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
932
932
|
seriesIndex: t,
|
|
933
933
|
series: K.value,
|
|
934
934
|
config: z.value
|
|
935
|
-
}) : (e.clusterName && (i += `<div style="display:flex;gap:3px;align-items:center">${e.clusterName}</div>`), e.v.name && (i += `<div>${e.v.name}</div>`), i += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${z.value.style.tooltip.borderColor}">`, i += `<div>${z.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(e.v.x) ? "-" :
|
|
935
|
+
}) : (e.clusterName && (i += `<div style="display:flex;gap:3px;align-items:center">${e.clusterName}</div>`), e.v.name && (i += `<div>${e.v.name}</div>`), i += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${z.value.style.tooltip.borderColor}">`, i += `<div>${z.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(e.v.x) ? "-" : g(z.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, _({
|
|
936
936
|
p: z.value.style.tooltip.prefix,
|
|
937
937
|
v: e.v.x,
|
|
938
938
|
s: z.value.style.tooltip.suffix,
|
|
@@ -940,7 +940,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
940
940
|
}), {
|
|
941
941
|
datapoint: e,
|
|
942
942
|
seriesIndex: t
|
|
943
|
-
})}</b></div>`, i += `<div>${z.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(e.v.y) ? "-" :
|
|
943
|
+
})}</b></div>`, i += `<div>${z.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(e.v.y) ? "-" : g(z.value.style.layout.plots.selectors.labels.y.formatter, e.v.y, _({
|
|
944
944
|
p: z.value.style.tooltip.prefix,
|
|
945
945
|
v: e.v.y,
|
|
946
946
|
s: z.value.style.tooltip.suffix,
|
|
@@ -1000,7 +1000,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
1000
1000
|
e.plots.length,
|
|
1001
1001
|
e.plots.map((e) => e.v.x).reduce((e, t) => e + t, 0) / e.plots.length,
|
|
1002
1002
|
e.plots.map((e) => e.v.y).reduce((e, t) => e + t, 0) / e.plots.length
|
|
1003
|
-
]), r =
|
|
1003
|
+
]), r = ae([
|
|
1004
1004
|
[z.value.style.title.text],
|
|
1005
1005
|
[z.value.style.title.subtitle.text],
|
|
1006
1006
|
[
|
|
@@ -1160,13 +1160,13 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
1160
1160
|
}
|
|
1161
1161
|
let wi = b(() => {
|
|
1162
1162
|
if (!z.value.usePerformanceMode) return [""];
|
|
1163
|
-
let { left: e, right: t, top: n, bottom:
|
|
1163
|
+
let { left: e, right: t, top: n, bottom: r } = H.value, a = Math.max(1, (t - e) * (r - n)), o = (e) => e / a * 1e4, s = z.value.style.layout.plots.stroke, c = z.value.style.layout.plots.strokeWidth, l = z.value.style.layout.plots.opacity;
|
|
1164
1164
|
return K.value.map((a) => {
|
|
1165
1165
|
let u = [];
|
|
1166
|
-
for (let
|
|
1167
|
-
let o =
|
|
1168
|
-
if (o < e || o > t || s < n || s >
|
|
1169
|
-
let c = Math.max(z.value.style.layout.plots.radius,
|
|
1166
|
+
for (let i of a.plots) {
|
|
1167
|
+
let o = i.x, s = i.y;
|
|
1168
|
+
if (o < e || o > t || s < n || s > r) continue;
|
|
1169
|
+
let c = Math.max(z.value.style.layout.plots.radius, i.weight);
|
|
1170
1170
|
u.push(Ci({
|
|
1171
1171
|
shape: a.shape || "circle",
|
|
1172
1172
|
cx: o,
|
|
@@ -1179,7 +1179,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
1179
1179
|
return {
|
|
1180
1180
|
id: a.id,
|
|
1181
1181
|
d: u.join(""),
|
|
1182
|
-
fill:
|
|
1182
|
+
fill: i(a.color, l * 100),
|
|
1183
1183
|
stroke: d ? "none" : s,
|
|
1184
1184
|
strokeWidth: d ? 0 : c,
|
|
1185
1185
|
strokeOpacity: 1
|
|
@@ -1396,7 +1396,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
1396
1396
|
}
|
|
1397
1397
|
let Hi = b(() => {
|
|
1398
1398
|
if (!X.value) return "";
|
|
1399
|
-
let e = X.value, t = isNaN(e.v.x) ? "-" :
|
|
1399
|
+
let e = X.value, t = isNaN(e.v.x) ? "-" : g(z.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, _({
|
|
1400
1400
|
p: z.value.style.tooltip.prefix,
|
|
1401
1401
|
v: e.v.x,
|
|
1402
1402
|
s: z.value.style.tooltip.suffix,
|
|
@@ -1404,7 +1404,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
1404
1404
|
}), {
|
|
1405
1405
|
datapoint: e,
|
|
1406
1406
|
seriesIndex: e.seriesIndex
|
|
1407
|
-
}), n = isNaN(e.v.y) ? "-" :
|
|
1407
|
+
}), n = isNaN(e.v.y) ? "-" : g(z.value.style.layout.plots.selectors.labels.y.formatter, e.v.y, _({
|
|
1408
1408
|
p: z.value.style.tooltip.prefix,
|
|
1409
1409
|
v: e.v.y,
|
|
1410
1410
|
s: z.value.style.tooltip.suffix,
|
|
@@ -1640,7 +1640,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
1640
1640
|
w("div", Ge, [(O(), C("svg", {
|
|
1641
1641
|
ref_key: "svgRef",
|
|
1642
1642
|
ref: pr,
|
|
1643
|
-
xmlns: N(
|
|
1643
|
+
xmlns: N(ie),
|
|
1644
1644
|
"aria-describedby": `chart-instructions-${I.value}`,
|
|
1645
1645
|
class: Ne({
|
|
1646
1646
|
"vue-data-ui-fullscreen--on": fi.value,
|
|
@@ -1940,27 +1940,27 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
1940
1940
|
])) : S("", !0),
|
|
1941
1941
|
z.value.style.layout.plots.giftWrap.show ? (O(), C("g", jt, [(O(!0), C(y, null, A(K.value, (e, t) => (O(), C("g", null, [e.plots.length > 2 ? (O(), C("polygon", {
|
|
1942
1942
|
key: 0,
|
|
1943
|
-
points: N(
|
|
1944
|
-
fill: N(
|
|
1943
|
+
points: N(re)({ series: e.plots }),
|
|
1944
|
+
fill: N(i)(e.color, z.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
1945
1945
|
"stroke-width": z.value.style.layout.plots.giftWrap.strokeWidth,
|
|
1946
1946
|
"stroke-dasharray": z.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
1947
1947
|
stroke: e.color,
|
|
1948
1948
|
"stroke-linejoin": "round",
|
|
1949
1949
|
"stroke-linecap": "round"
|
|
1950
1950
|
}, null, 8, Mt)) : S("", !0)]))), 256))])) : S("", !0),
|
|
1951
|
-
z.value.usePerformanceMode ? S("", !0) : (O(!0), C(y, { key: 8 }, A(K.value, (e, t) => (O(), C("g", { key: e.id }, [!e.shape || e.shape === "circle" ? (O(), C("g", Nt, [(O(!0), C(y, null, A(e.plots, (n,
|
|
1951
|
+
z.value.usePerformanceMode ? S("", !0) : (O(!0), C(y, { key: 8 }, A(K.value, (e, t) => (O(), C("g", { key: e.id }, [!e.shape || e.shape === "circle" ? (O(), C("g", Nt, [(O(!0), C(y, null, A(e.plots, (n, r) => (O(), C("circle", {
|
|
1952
1952
|
key: n.id,
|
|
1953
1953
|
cx: n.x,
|
|
1954
1954
|
cy: n.y,
|
|
1955
1955
|
r: Y.value && Y.value === n.id || Z.value.includes(n.id) ? n.weight * z.value.style.layout.plots.hoverRadiusRatio : n.weight,
|
|
1956
|
-
fill: N(
|
|
1956
|
+
fill: N(i)(e.color, Y.value && Y.value !== n.id || Z.value.length && !Z.value.includes(n.id) ? z.value.style.layout.plots.opacityNotSelected * 100 : z.value.style.layout.plots.opacity * 100),
|
|
1957
1957
|
stroke: z.value.style.layout.plots.stroke,
|
|
1958
1958
|
"stroke-width": z.value.style.layout.plots.strokeWidth,
|
|
1959
1959
|
style: D(`opacity:${Y.value && Y.value === n.id || Z.value.includes(n.id) ? 1 : z.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) / Ur.value : z.value.style.layout.plots.significance.show && Math.abs(n.deviation) > z.value.style.layout.plots.significance.deviationThreshold ? z.value.style.layout.plots.significance.opacity : 1}`),
|
|
1960
1960
|
onMouseover: (e) => ni(n, t, "pointer", $.value.get(n.id)),
|
|
1961
1961
|
onMouseleave: (e) => ri(n, t),
|
|
1962
1962
|
onClick: (e) => ii(n, t)
|
|
1963
|
-
}, null, 44, Pt))), 128))])) : (O(), C("g", Ft, [(O(!0), C(y, null, A(e.plots, (n,
|
|
1963
|
+
}, null, 44, Pt))), 128))])) : (O(), C("g", Ft, [(O(!0), C(y, null, A(e.plots, (n, r) => (O(), x(ge, {
|
|
1964
1964
|
class: "vue-ui-scatter-datapoint",
|
|
1965
1965
|
plot: {
|
|
1966
1966
|
x: n.x,
|
|
@@ -1968,7 +1968,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
1968
1968
|
},
|
|
1969
1969
|
radius: Y.value && Y.value === n.id || Z.value.includes(n.id) ? n.weight * z.value.style.layout.plots.hoverRadiusRatio : n.weight,
|
|
1970
1970
|
shape: e.shape,
|
|
1971
|
-
color: N(
|
|
1971
|
+
color: N(i)(e.color, Y.value && Y.value !== n.id || Z.value.length && !Z.value.includes(n.id) ? z.value.style.layout.plots.opacityNotSelected * 100 : z.value.style.layout.plots.opacity * 100),
|
|
1972
1972
|
stroke: z.value.style.layout.plots.stroke,
|
|
1973
1973
|
strokeWidth: z.value.style.layout.plots.strokeWidth,
|
|
1974
1974
|
style: D(`opacity:${Y.value && Y.value === n.id || Z.value.includes(n.id) ? 1 : z.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) / Ur.value : z.value.style.layout.plots.significance.show && Math.abs(n.deviation) > z.value.style.layout.plots.significance.deviationThreshold ? z.value.style.layout.plots.significance.opacity : 1}`),
|
|
@@ -1992,7 +1992,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
1992
1992
|
transform: `translate(${e.x}, ${e.y - e.weight - z.value.style.layout.plots.name.fontSize + z.value.style.layout.plots.name.offsetY})`,
|
|
1993
1993
|
"text-anchor": "middle",
|
|
1994
1994
|
"font-size": z.value.style.layout.plots.name.fontSize,
|
|
1995
|
-
fill: N(
|
|
1995
|
+
fill: N(i)(z.value.style.layout.plots.name.color, Y.value && Y.value !== e.id || Z.value.length && !Z.value.includes(e.id) ? z.value.style.layout.plots.opacityNotSelected * 100 : 100),
|
|
1996
1996
|
onMouseover: (n) => ni(e, t, "pointer", $.value.get(e.id)),
|
|
1997
1997
|
onMouseleave: (n) => ri(e, t),
|
|
1998
1998
|
onClick: (n) => ii(e, t)
|
|
@@ -2068,7 +2068,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
2068
2068
|
fill: z.value.style.layout.plots.selectors.labels.color,
|
|
2069
2069
|
"font-weight": z.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
2070
2070
|
"text-anchor": e.x > W.value.x ? "end" : "start"
|
|
2071
|
-
}, M(N(
|
|
2071
|
+
}, M(N(g)(z.value.style.layout.plots.selectors.labels.y.formatter, N(v)(e.v.y), N(_)({
|
|
2072
2072
|
p: z.value.style.layout.plots.selectors.labels.prefix,
|
|
2073
2073
|
v: N(v)(e.v.y),
|
|
2074
2074
|
s: z.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2082,7 +2082,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
2082
2082
|
fill: z.value.style.layout.plots.selectors.labels.color,
|
|
2083
2083
|
"font-weight": z.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
2084
2084
|
"text-anchor": "middle"
|
|
2085
|
-
}, M(N(
|
|
2085
|
+
}, M(N(g)(z.value.style.layout.plots.selectors.labels.y.formatter, N(v)(e.v.x), N(_)({
|
|
2086
2086
|
p: z.value.style.layout.plots.selectors.labels.prefix,
|
|
2087
2087
|
v: N(v)(e.v.x),
|
|
2088
2088
|
s: z.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2149,7 +2149,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
2149
2149
|
"font-size": z.value.style.layout.dataLabels.xAxis.fontSize,
|
|
2150
2150
|
fill: z.value.style.layout.dataLabels.xAxis.color,
|
|
2151
2151
|
transform: `translate(${z.value.style.layout.dataLabels.xAxis.name ? z.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${W.value.y + z.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
|
|
2152
|
-
}, M(N(
|
|
2152
|
+
}, M(N(g)(z.value.style.layout.plots.selectors.labels.x.formatter, N(v)(U.value.xMin), N(_)({
|
|
2153
2153
|
p: z.value.style.layout.plots.selectors.labels.prefix,
|
|
2154
2154
|
v: N(v)(U.value.xMin),
|
|
2155
2155
|
s: z.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2163,7 +2163,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
2163
2163
|
transform: `translate(${H.value.right + z.value.style.layout.padding.right + 6}, ${W.value.y + z.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
|
|
2164
2164
|
"font-size": z.value.style.layout.dataLabels.xAxis.fontSize,
|
|
2165
2165
|
fill: z.value.style.layout.dataLabels.xAxis.color
|
|
2166
|
-
}, M(N(
|
|
2166
|
+
}, M(N(g)(z.value.style.layout.plots.selectors.labels.x.formatter, N(v)(U.value.xMax), N(_)({
|
|
2167
2167
|
p: z.value.style.layout.plots.selectors.labels.prefix,
|
|
2168
2168
|
v: N(v)(U.value.xMax),
|
|
2169
2169
|
s: z.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2178,7 +2178,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
2178
2178
|
"text-anchor": "middle",
|
|
2179
2179
|
"font-size": z.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2180
2180
|
fill: z.value.style.layout.dataLabels.yAxis.color
|
|
2181
|
-
}, M(N(
|
|
2181
|
+
}, M(N(g)(z.value.style.layout.plots.selectors.labels.y.formatter, N(v)(U.value.yMax), N(_)({
|
|
2182
2182
|
p: z.value.style.layout.plots.selectors.labels.prefix,
|
|
2183
2183
|
v: N(v)(U.value.yMax),
|
|
2184
2184
|
s: z.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2195,7 +2195,7 @@ var Be = /* @__PURE__ */ e({ default: () => _n }), Ve = ["id"], He = ["id"], Ue
|
|
|
2195
2195
|
"text-anchor": "middle",
|
|
2196
2196
|
"font-size": z.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2197
2197
|
fill: z.value.style.layout.dataLabels.yAxis.color
|
|
2198
|
-
}, M(N(
|
|
2198
|
+
}, M(N(g)(z.value.style.layout.plots.selectors.labels.y.formatter, N(v)(U.value.yMin), N(_)({
|
|
2199
2199
|
p: z.value.style.layout.plots.selectors.labels.prefix,
|
|
2200
2200
|
v: N(v)(U.value.yMin),
|
|
2201
2201
|
s: z.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { I as t,
|
|
3
|
-
import { t as ee } from "./useConfig-
|
|
4
|
-
import { t as te } from "./useNestedProp-
|
|
2
|
+
import { I as t, It as n, k as r, t as i } from "./lib-DRBJCmHW.js";
|
|
3
|
+
import { t as ee } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as te } from "./useNestedProp-BEo2N1Db.js";
|
|
5
5
|
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
|
-
import { n as o } from "./PackageVersion-
|
|
6
|
+
import { n as o } from "./PackageVersion-Da7hl-34.js";
|
|
7
7
|
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createStaticVNode as f, createVNode as p, normalizeClass as ne, normalizeStyle as m, openBlock as h, ref as g, renderList as _, unref as v } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-skeleton.vue
|
|
9
9
|
var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae = { transform: "translate(300, 300)" }, oe = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as s } from "./useConfig-
|
|
4
|
-
import { t as c } from "./useNestedProp-
|
|
2
|
+
import { Dt as t, Lt as n, Q as r, i, q as a, t as o } from "./lib-DRBJCmHW.js";
|
|
3
|
+
import { t as s } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as c } from "./useNestedProp-BEo2N1Db.js";
|
|
5
5
|
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
6
|
import { Fragment as u, computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, normalizeClass as _, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, unref as T, useSlots as E, watch as D, withCtx as O, withKeys as k } from "vue";
|
|
7
7
|
//#region src/atoms/BaseSmilingUnit.vue
|
|
@@ -28,12 +28,12 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
28
28
|
"mouseleave"
|
|
29
29
|
],
|
|
30
30
|
setup(e, { emit: t }) {
|
|
31
|
-
let
|
|
31
|
+
let r = e, i = t;
|
|
32
32
|
return (t, a) => (b(), p("div", {
|
|
33
33
|
tabindex: "0",
|
|
34
34
|
class: _({ "vue-ui-smiley-rated": !e.config.readonly && e.currentRating === e.unit }),
|
|
35
35
|
style: v({
|
|
36
|
-
cursor: e.config.readonly ? "default" :
|
|
36
|
+
cursor: e.config.readonly ? "default" : r.isCursorPointer ? "pointer" : "default",
|
|
37
37
|
height: e.config.style.itemSize + "px",
|
|
38
38
|
aspectRatio: "1/1",
|
|
39
39
|
position: "relative"
|
|
@@ -91,7 +91,7 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
91
91
|
"stroke-linejoin": "round"
|
|
92
92
|
}, [m("defs", null, [m("radialGradient", { id: `vueUiSmiley${e.unit - 1}` }, [m("stop", {
|
|
93
93
|
offset: "0%",
|
|
94
|
-
"stop-color": T(
|
|
94
|
+
"stop-color": T(n)(e.config.style.colors.active[e.unit - 1], .05)
|
|
95
95
|
}, null, 8, M), m("stop", {
|
|
96
96
|
offset: "100%",
|
|
97
97
|
"stop-color": e.config.style.colors.active[e.unit - 1]
|
|
@@ -129,7 +129,7 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
129
129
|
"stroke-linejoin": "round"
|
|
130
130
|
}, [m("defs", null, [m("radialGradient", { id: `vueUiSmiley${e.unit - 1}` }, [m("stop", {
|
|
131
131
|
offset: "0%",
|
|
132
|
-
"stop-color": T(
|
|
132
|
+
"stop-color": T(n)(e.config.style.colors.activeReadonly[e.unit - 1], .05)
|
|
133
133
|
}, null, 8, L), m("stop", {
|
|
134
134
|
offset: "100%",
|
|
135
135
|
"stop-color": e.config.style.colors.activeReadonly[e.unit - 1]
|
|
@@ -173,13 +173,13 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
175
|
emits: ["rate"],
|
|
176
|
-
setup(e, { expose:
|
|
176
|
+
setup(e, { expose: n, emit: o }) {
|
|
177
177
|
let { vue_ui_smiley: l } = s(), _ = e, C = E(), T = o, k = x(null);
|
|
178
178
|
y(() => {
|
|
179
179
|
C["chart-background"] && console.warn("VueUiSmiley does not support the #chart-background slot.");
|
|
180
180
|
});
|
|
181
181
|
function A() {
|
|
182
|
-
(!Object.hasOwn(_.dataset, "rating") || t(_.dataset)) &&
|
|
182
|
+
(!Object.hasOwn(_.dataset, "rating") || t(_.dataset)) && r({
|
|
183
183
|
componentName: "VueUiSmiley",
|
|
184
184
|
type: "datasetAttribute",
|
|
185
185
|
property: "rating"
|
|
@@ -273,7 +273,7 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
273
273
|
function Z(e = !0) {
|
|
274
274
|
L.value = e;
|
|
275
275
|
}
|
|
276
|
-
return
|
|
276
|
+
return n({
|
|
277
277
|
getData: X,
|
|
278
278
|
toggleReadonly: Z
|
|
279
279
|
}), (e, t) => (b(), p("div", {
|