vue-data-ui 3.1.18 → 3.1.19-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-DRpg18lg.js} +3 -3
- package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CtECQwBN.js → UserOptions-Bn3u4JQu.js} +2 -2
- package/dist/components/arrow.js +5 -0
- package/dist/components/vue-ui-3d-bar.js +5 -0
- package/dist/components/vue-ui-accordion.js +5 -0
- package/dist/components/vue-ui-age-pyramid.js +5 -0
- package/dist/components/vue-ui-bullet.js +5 -0
- package/dist/components/vue-ui-candlestick.js +5 -0
- package/dist/components/vue-ui-carousel-table.js +5 -0
- package/dist/components/vue-ui-chestnut.js +5 -0
- package/dist/components/vue-ui-chord.js +5 -0
- package/dist/components/vue-ui-circle-pack.js +5 -0
- package/dist/components/vue-ui-cursor.js +5 -0
- package/dist/components/vue-ui-dashboard.js +5 -0
- package/dist/components/vue-ui-digits.js +5 -0
- package/dist/components/vue-ui-donut-evolution.js +5 -0
- package/dist/components/vue-ui-donut.js +5 -0
- package/dist/components/vue-ui-dumbbell.js +5 -0
- package/dist/components/vue-ui-flow.js +5 -0
- package/dist/components/vue-ui-funnel.js +5 -0
- package/dist/components/vue-ui-galaxy.js +5 -0
- package/dist/components/vue-ui-gauge.js +5 -0
- package/dist/components/vue-ui-gizmo.js +5 -0
- package/dist/components/vue-ui-heatmap.js +5 -0
- package/dist/components/vue-ui-history-plot.js +5 -0
- package/dist/components/vue-ui-horizontal-bar.js +5 -0
- package/dist/components/vue-ui-icon.js +5 -0
- package/dist/components/vue-ui-kpi.js +5 -0
- package/dist/components/vue-ui-mini-loader.js +5 -0
- package/dist/components/vue-ui-molecule.js +5 -0
- package/dist/components/vue-ui-mood-radar.js +5 -0
- package/dist/components/vue-ui-nested-donuts.js +5 -0
- package/dist/components/vue-ui-onion.js +5 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
- package/dist/components/vue-ui-pattern.js +5 -0
- package/dist/components/vue-ui-quadrant.js +5 -0
- package/dist/components/vue-ui-quick-chart.js +5 -0
- package/dist/components/vue-ui-radar.js +5 -0
- package/dist/components/vue-ui-rating.js +5 -0
- package/dist/components/vue-ui-relation-circle.js +5 -0
- package/dist/components/vue-ui-ridgeline.js +5 -0
- package/dist/components/vue-ui-rings.js +5 -0
- package/dist/components/vue-ui-scatter.js +5 -0
- package/dist/components/vue-ui-skeleton.js +5 -0
- package/dist/components/vue-ui-smiley.js +5 -0
- package/dist/components/vue-ui-spark-trend.js +5 -0
- package/dist/components/vue-ui-sparkbar.js +5 -0
- package/dist/components/vue-ui-sparkgauge.js +5 -0
- package/dist/components/vue-ui-sparkhistogram.js +5 -0
- package/dist/components/vue-ui-sparkline.js +5 -0
- package/dist/components/vue-ui-sparkstackbar.js +5 -0
- package/dist/components/vue-ui-stackbar.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +5 -0
- package/dist/components/vue-ui-table-heatmap.js +5 -0
- package/dist/components/vue-ui-table-sparkline.js +5 -0
- package/dist/components/vue-ui-table.js +5 -0
- package/dist/components/vue-ui-thermometer.js +5 -0
- package/dist/components/vue-ui-timer.js +5 -0
- package/dist/components/vue-ui-tiremarks.js +5 -0
- package/dist/components/vue-ui-treemap.js +5 -0
- package/dist/components/vue-ui-vertical-bar.js +5 -0
- package/dist/components/vue-ui-waffle.js +5 -0
- package/dist/components/vue-ui-wheel.js +5 -0
- package/dist/components/vue-ui-word-cloud.js +5 -0
- package/dist/components/vue-ui-world.js +5 -0
- package/dist/components/vue-ui-xy-canvas.js +5 -0
- package/dist/components/vue-ui-xy.js +5 -0
- package/dist/{dom-to-png-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D1L3r23x.js → pdf-Wd2BQz4D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/themes-D3cUNuKw.js +53 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/universal.d.ts +1 -0
- package/dist/types/vue-data-ui.d.ts +71 -21
- package/dist/types/vue-ui-3d-bar.d.ts +18 -0
- package/dist/types/vue-ui-accordion.d.ts +12 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
- package/dist/types/vue-ui-bullet.d.ts +16 -0
- package/dist/types/vue-ui-candlestick.d.ts +16 -0
- package/dist/types/vue-ui-carousel-table.d.ts +14 -0
- package/dist/types/vue-ui-chestnut.d.ts +17 -0
- package/dist/types/vue-ui-chord.d.ts +19 -0
- package/dist/types/vue-ui-circle-pack.d.ts +17 -0
- package/dist/types/vue-ui-cursor.d.ts +7 -0
- package/dist/types/vue-ui-dashboard.d.ts +14 -0
- package/dist/types/vue-ui-digits.d.ts +10 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
- package/dist/types/vue-ui-donut.d.ts +18 -0
- package/dist/types/vue-ui-dumbbell.d.ts +18 -0
- package/dist/types/vue-ui-flow.d.ts +18 -0
- package/dist/types/vue-ui-funnel.d.ts +15 -0
- package/dist/types/vue-ui-galaxy.d.ts +18 -0
- package/dist/types/vue-ui-gauge.d.ts +16 -0
- package/dist/types/vue-ui-gizmo.d.ts +14 -0
- package/dist/types/vue-ui-heatmap.d.ts +17 -0
- package/dist/types/vue-ui-history-plot.d.ts +19 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
- package/dist/types/vue-ui-icon.d.ts +16 -0
- package/dist/types/vue-ui-kpi.d.ts +13 -0
- package/dist/types/vue-ui-mini-loader.d.ts +13 -0
- package/dist/types/vue-ui-molecule.d.ts +17 -0
- package/dist/types/vue-ui-mood-radar.d.ts +17 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
- package/dist/types/vue-ui-onion.d.ts +18 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
- package/dist/types/vue-ui-pattern.d.ts +17 -0
- package/dist/types/vue-ui-quadrant.d.ts +20 -0
- package/dist/types/vue-ui-quick-chart.d.ts +16 -0
- package/dist/types/vue-ui-radar.d.ts +22 -0
- package/dist/types/vue-ui-rating.d.ts +15 -0
- package/dist/types/vue-ui-relation-circle.d.ts +17 -0
- package/dist/types/vue-ui-ridgeline.d.ts +20 -0
- package/dist/types/vue-ui-rings.d.ts +17 -0
- package/dist/types/vue-ui-scatter.d.ts +19 -0
- package/dist/types/vue-ui-skeleton.d.ts +12 -0
- package/dist/types/vue-ui-smiley.d.ts +14 -0
- package/dist/types/vue-ui-spark-trend.d.ts +13 -0
- package/dist/types/vue-ui-sparkbar.d.ts +15 -0
- package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
- package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
- package/dist/types/vue-ui-sparkline.d.ts +15 -0
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
- package/dist/types/vue-ui-stackbar.d.ts +18 -0
- package/dist/types/vue-ui-strip-plot.d.ts +19 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
- package/dist/types/vue-ui-table.d.ts +17 -0
- package/dist/types/vue-ui-thermometer.d.ts +15 -0
- package/dist/types/vue-ui-timer.d.ts +12 -0
- package/dist/types/vue-ui-tiremarks.d.ts +15 -0
- package/dist/types/vue-ui-treemap.d.ts +18 -0
- package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
- package/dist/types/vue-ui-waffle.d.ts +18 -0
- package/dist/types/vue-ui-wheel.d.ts +15 -0
- package/dist/types/vue-ui-word-cloud.d.ts +17 -0
- package/dist/types/vue-ui-world.d.ts +17 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
- package/dist/types/vue-ui-xy.d.ts +24 -0
- package/dist/universal-registry-CL8g2COA.js +70 -0
- package/dist/universal.js +5 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-nFj0xF0a.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/vue-data-ui-h5C8hpE8.js +317 -0
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-BZDLbeym.js} +58 -57
- package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
- package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
- package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
- package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
- package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
- package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-DqGoensA.js} +61 -60
- package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
- package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
- package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-CWgiy7rq.js} +39 -38
- package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
- package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
- package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-C8iSww9L.js} +127 -126
- package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
- package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
- package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-MM8rPNWR.js} +43 -42
- package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
- package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
- package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BCfEt867.js} +105 -104
- package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
- package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
- package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
- package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
- package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
- package/dist/{vue-ui-quadrant-BC99Cua7.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
- package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
- package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-BmmwGJaI.js} +90 -89
- package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
- package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
- package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-DS-YbQVr.js} +74 -73
- package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-D8kUADP7.js} +121 -120
- package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
- package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-qt8UvEPc.js} +47 -46
- package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DgHvA8ra.js} +16 -15
- package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
- package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BSGiRpQ9.js} +131 -130
- package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
- package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
- package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
- package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-DKHtmqLd.js} +9 -8
- package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
- package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
- package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-C4LZMTeg.js} +31 -31
- package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
- package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
- package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
- package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CP6jUrto.js} +76 -75
- package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-B59kWUZd.js} +85 -84
- package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
- package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-B6S7X6sr.js} +19 -19
- package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-BjzutuG2.js} +135 -134
- package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
- package/package.json +19 -11
- package/dist/index-smzxfsyV.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DeKmJzsE.js +0 -13
- package/dist/vue-data-ui-DcBYykse.js +0 -325
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as L, computed as p, ref as i, toRefs as Tt, watch as q, shallowRef as Ve, onMounted as $t, onBeforeUnmount as Xe, watchEffect as St, createElementBlock as n, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as z, createCommentVNode as c, createVNode as be, createSlots as
|
|
2
|
-
import {
|
|
3
|
-
import { t as et, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import
|
|
11
|
-
import { _ as
|
|
12
|
-
import
|
|
1
|
+
import { defineAsyncComponent as L, computed as p, ref as i, toRefs as Tt, watch as q, shallowRef as Ve, onMounted as $t, onBeforeUnmount as Xe, watchEffect as St, createElementBlock as n, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as z, createCommentVNode as c, createVNode as be, createSlots as Ye, withCtx as b, renderSlot as y, normalizeProps as F, guardReactiveProps as I, createElementVNode as m, Fragment as g, renderList as _, toDisplayString as T, mergeProps as je, resolveDynamicComponent as Ot, createTextVNode as qe, nextTick as zt } from "vue";
|
|
2
|
+
import { c as ye, t as Pt, b as Dt, p as P, o as Je, f as me, g as Ke, e as Nt, h as Qe, q as Ft, E as It, d as K, X as Mt, a as ge, N as Rt, ad as Wt, m as Bt, r as Et, z as Ze, F as Gt, x as Ht, y as Ut, A as Vt } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as et, u as Xt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Yt, a as tt } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as jt, B as qt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as Jt } from "./usePrinter-Yeu5jOfm.js";
|
|
7
|
+
import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as Zt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
+
import el from "./img-CH7J0fYg.js";
|
|
11
|
+
import { _ as tl } from "./Shape-BDy56-wS.js";
|
|
12
|
+
import ll from "./Title-pI68ZJsq.js";
|
|
13
|
+
import { t as al } from "./themes-D3cUNuKw.js";
|
|
13
14
|
import { _ as ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
15
|
const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"], nl = { key: 1 }, il = { key: 0 }, vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], cl = { key: 1 }, hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fl = ["x", "y", "fill", "font-size"], bl = ["transform", "font-size", "fill", "text-anchor"], yl = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], ml = ["fill", "font-size", "transform"], gl = ["fill", "font-size", "x", "y"], xl = ["x1", "x2", "y1", "y2", "stroke"], kl = ["cx", "cy", "fill"], wl = ["cx", "cy", "fill"], Cl = ["id"], Al = ["stop-color"], Ll = ["stop-color"], _l = ["stop-color"], Tl = { key: 0 }, $l = ["x", "y", "font-size", "fill"], Sl = {
|
|
15
16
|
key: 4,
|
|
@@ -32,14 +33,14 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
32
33
|
},
|
|
33
34
|
emits: ["selectDatapoint"],
|
|
34
35
|
setup(lt, { expose: at, emit: ot }) {
|
|
35
|
-
const st = L(() => import("./Tooltip-
|
|
36
|
+
const st = L(() => import("./Tooltip-Clf2K3CF.js")), rt = L(() => import("./BaseIcon-D2f9w5Z5.js")), ut = L(() => import("./vue-ui-accordion-D-L73-T2.js")), nt = L(() => import("./DataTable-xISHA7Pu.js")), it = L(() => import("./UserOptions-Bn3u4JQu.js")), vt = L(() => import("./PenAndPaper-CtDMyIvW.js")), ct = L(() => import("./PackageVersion-DRpg18lg.js")), ht = L(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_strip_plot: dt } = Yt(), x = lt, pt = ot, G = p({
|
|
36
37
|
get() {
|
|
37
38
|
return !!x.dataset && x.dataset.length;
|
|
38
39
|
},
|
|
39
40
|
set(t) {
|
|
40
41
|
return t;
|
|
41
42
|
}
|
|
42
|
-
}), Q = i(ye()), xe = i(0), Z = i(!1), ee = i(""), w = i(null), ke = i(null), we = i(null), Ce = i(null), Ae = i(!1), Le = i(0), _e = i(0), M = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ne()), { loading: se, FINAL_DATASET: Te, manualLoading: re } =
|
|
43
|
+
}), Q = i(ye()), xe = i(0), Z = i(!1), ee = i(""), w = i(null), ke = i(null), we = i(null), Ce = i(null), Ae = i(!1), Le = i(0), _e = i(0), M = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ne()), { loading: se, FINAL_DATASET: Te, manualLoading: re } = jt({
|
|
43
44
|
...Tt(x),
|
|
44
45
|
FINAL_CONFIG: e,
|
|
45
46
|
prepareConfig: ne,
|
|
@@ -90,7 +91,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
90
91
|
]
|
|
91
92
|
}
|
|
92
93
|
],
|
|
93
|
-
skeletonConfig:
|
|
94
|
+
skeletonConfig: Pt({
|
|
94
95
|
defaultConfig: e.value,
|
|
95
96
|
userConfig: {
|
|
96
97
|
userOptions: { show: !1 },
|
|
@@ -129,7 +130,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
129
130
|
}
|
|
130
131
|
}
|
|
131
132
|
})
|
|
132
|
-
}), { userOptionsVisible: ue, setUserOptionsVisibility: $e, keepUserOptionState: Se } =
|
|
133
|
+
}), { userOptionsVisible: ue, setUserOptionsVisibility: $e, keepUserOptionState: Se } = Kt({ config: e.value }), { svgRef: Oe } = Qt({ config: e.value.style.chart.title });
|
|
133
134
|
function ne() {
|
|
134
135
|
const t = tt({
|
|
135
136
|
userConfig: x.config,
|
|
@@ -137,10 +138,10 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
137
138
|
});
|
|
138
139
|
return t.theme ? {
|
|
139
140
|
...tt({
|
|
140
|
-
userConfig:
|
|
141
|
+
userConfig: al.vue_ui_strip_plot[t.theme] || x.config,
|
|
141
142
|
defaultConfig: t
|
|
142
143
|
}),
|
|
143
|
-
customPalette:
|
|
144
|
+
customPalette: Dt[t.theme] || P
|
|
144
145
|
} : t;
|
|
145
146
|
}
|
|
146
147
|
q(() => x.config, async (t) => {
|
|
@@ -186,14 +187,14 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
186
187
|
});
|
|
187
188
|
}), Je(x.dataset) || (re.value = e.value.loading), e.value.responsive) {
|
|
188
189
|
const t = et(() => {
|
|
189
|
-
const { width: a, height: l } =
|
|
190
|
+
const { width: a, height: l } = Xt({
|
|
190
191
|
chart: w.value,
|
|
191
192
|
title: e.value.style.chart.title.text ? ke.value : null,
|
|
192
193
|
source: we.value,
|
|
193
194
|
noTitle: Ce.value
|
|
194
195
|
});
|
|
195
196
|
requestAnimationFrame(() => {
|
|
196
|
-
bt.value = l, $.value = Math.max(0.1, a), C.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? W.value =
|
|
197
|
+
bt.value = l, $.value = Math.max(0.1, a), C.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? W.value = Gt({
|
|
197
198
|
relator: Math.min(l, a),
|
|
198
199
|
adjuster: 600,
|
|
199
200
|
source: e.value.style.chart.plots.radius,
|
|
@@ -211,11 +212,11 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
211
212
|
Xe(() => {
|
|
212
213
|
A.value && (D.value && A.value.unobserve(D.value), A.value.disconnect());
|
|
213
214
|
});
|
|
214
|
-
const { isPrinting: Pe, isImaging: De, generatePdf: Ne, generateImage: Fe } =
|
|
215
|
+
const { isPrinting: Pe, isImaging: De, generatePdf: Ne, generateImage: Fe } = Jt({
|
|
215
216
|
elementId: `strip-plot_${Q.value}`,
|
|
216
217
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
|
|
217
218
|
options: e.value.userOptions.print
|
|
218
|
-
}), ft = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ie = p(() =>
|
|
219
|
+
}), ft = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ie = p(() => Nt(e.value.customPalette)), R = i(e.value.useCssAnimation), N = i({
|
|
219
220
|
top: e.value.style.chart.padding.top,
|
|
220
221
|
bottom: e.value.style.chart.padding.bottom,
|
|
221
222
|
left: e.value.style.chart.padding.left,
|
|
@@ -284,7 +285,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
284
285
|
color: t.color ? Qe(t.color) : Ie.value[a] || P[a] || P[a % P.length],
|
|
285
286
|
plots: t.plots.map((s, u) => ({
|
|
286
287
|
...s,
|
|
287
|
-
value:
|
|
288
|
+
value: Ft(s.value),
|
|
288
289
|
parentId: l,
|
|
289
290
|
parentName: t.name,
|
|
290
291
|
parentIndex: a,
|
|
@@ -305,7 +306,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
305
306
|
max: Math.max(...t),
|
|
306
307
|
min: Math.min(...t)
|
|
307
308
|
};
|
|
308
|
-
}), S = p(() =>
|
|
309
|
+
}), S = p(() => It(he.value.min < 0 ? he.value.min : 0, he.value.max, e.value.style.chart.grid.scaleSteps)), xt = p(() => (k.value || []).map((t, a) => ({
|
|
309
310
|
...t,
|
|
310
311
|
plots: t.plots.map((l) => ({
|
|
311
312
|
...l,
|
|
@@ -326,7 +327,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
326
327
|
function Ct({ datapoint: t, seriesIndex: a }) {
|
|
327
328
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), de.value = { datapoint: t, seriesIndex: a, config: e.value, series: U.value }, Z.value = !0, d.value = t;
|
|
328
329
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
329
|
-
if (Ze(l) &&
|
|
330
|
+
if (Ze(l) && Vt(() => l({
|
|
330
331
|
seriesIndex: a,
|
|
331
332
|
datapoint: t,
|
|
332
333
|
series: U.value,
|
|
@@ -364,8 +365,8 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
364
365
|
zt(() => {
|
|
365
366
|
const a = V.value.head.map((u, f) => [[
|
|
366
367
|
u.name
|
|
367
|
-
], [V.value.body[f]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), s =
|
|
368
|
-
t ? t(s) :
|
|
368
|
+
], [V.value.body[f]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), s = Ht(l);
|
|
369
|
+
t ? t(s) : Ut({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
369
370
|
});
|
|
370
371
|
}
|
|
371
372
|
const X = p(() => {
|
|
@@ -373,7 +374,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
373
374
|
e.value.table.columnNames.series,
|
|
374
375
|
e.value.table.columnNames.value
|
|
375
376
|
], a = V.value.head.map((u, f) => {
|
|
376
|
-
const
|
|
377
|
+
const j = K({
|
|
377
378
|
p: e.value.style.chart.labels.prefix,
|
|
378
379
|
v: V.value.body[f],
|
|
379
380
|
s: e.value.style.chart.labels.suffix,
|
|
@@ -384,7 +385,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
384
385
|
color: u.color,
|
|
385
386
|
name: u.name
|
|
386
387
|
},
|
|
387
|
-
|
|
388
|
+
j
|
|
388
389
|
];
|
|
389
390
|
}), l = {
|
|
390
391
|
th: {
|
|
@@ -424,13 +425,13 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
424
425
|
function Ge() {
|
|
425
426
|
h.value.showTooltip = !h.value.showTooltip;
|
|
426
427
|
}
|
|
427
|
-
const
|
|
428
|
+
const Y = i(!1);
|
|
428
429
|
function fe() {
|
|
429
|
-
|
|
430
|
+
Y.value = !Y.value;
|
|
430
431
|
}
|
|
431
432
|
async function Lt({ scale: t = 2 } = {}) {
|
|
432
433
|
if (!w.value) return;
|
|
433
|
-
const { width: a, height: l } = w.value.getBoundingClientRect(), s = a / l, { imageUri: u, base64: f } = await
|
|
434
|
+
const { width: a, height: l } = w.value.getBoundingClientRect(), s = a / l, { imageUri: u, base64: f } = await el({ domElement: w.value, base64: !0, img: !0, scale: t });
|
|
434
435
|
return {
|
|
435
436
|
imageUri: u,
|
|
436
437
|
base64: f,
|
|
@@ -441,7 +442,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
441
442
|
};
|
|
442
443
|
}
|
|
443
444
|
const He = p(() => k.value.map((t) => t.name)), _t = i({ start: 0, end: k.value.length });
|
|
444
|
-
|
|
445
|
+
Zt({
|
|
445
446
|
timeLabelsEls: H,
|
|
446
447
|
timeLabels: He,
|
|
447
448
|
slicer: _t,
|
|
@@ -515,7 +516,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
515
516
|
svgRef: v(Oe),
|
|
516
517
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
517
518
|
color: e.value.style.chart.color,
|
|
518
|
-
active:
|
|
519
|
+
active: Y.value,
|
|
519
520
|
onClose: fe
|
|
520
521
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
521
522
|
ft.value ? (r(), n("div", {
|
|
@@ -531,7 +532,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
531
532
|
ref: ke,
|
|
532
533
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
533
534
|
}, [
|
|
534
|
-
(r(), z(
|
|
535
|
+
(r(), z(ll, {
|
|
535
536
|
key: `title_${Le.value}`,
|
|
536
537
|
config: {
|
|
537
538
|
title: {
|
|
@@ -567,7 +568,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
567
568
|
chartElement: w.value,
|
|
568
569
|
position: e.value.userOptions.position,
|
|
569
570
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
570
|
-
isAnnotation:
|
|
571
|
+
isAnnotation: Y.value,
|
|
571
572
|
callbacks: e.value.userOptions.callbacks,
|
|
572
573
|
printScale: e.value.userOptions.print.scale,
|
|
573
574
|
tableDialog: e.value.table.useDialog,
|
|
@@ -582,7 +583,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
582
583
|
style: J({
|
|
583
584
|
visibility: v(Se) ? v(ue) ? "visible" : "hidden" : "visible"
|
|
584
585
|
})
|
|
585
|
-
},
|
|
586
|
+
}, Ye({ _: 2 }, [
|
|
586
587
|
t.$slots.menuIcon ? {
|
|
587
588
|
name: "menuIcon",
|
|
588
589
|
fn: b(({ isOpen: l, color: s }) => [
|
|
@@ -650,7 +651,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
650
651
|
(r(), n("svg", {
|
|
651
652
|
ref_key: "svgRef",
|
|
652
653
|
ref: Oe,
|
|
653
|
-
xmlns: v(
|
|
654
|
+
xmlns: v(Mt),
|
|
654
655
|
class: E({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
655
656
|
viewBox: `0 0 ${$.value} ${C.value}`,
|
|
656
657
|
style: J(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
@@ -749,8 +750,8 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
749
750
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
750
751
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
751
752
|
"text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
752
|
-
innerHTML: v(
|
|
753
|
-
content: v(
|
|
753
|
+
innerHTML: v(Rt)({
|
|
754
|
+
content: v(Wt)(String(l)),
|
|
754
755
|
fontSize: e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
755
756
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
756
757
|
x: 0,
|
|
@@ -817,11 +818,11 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
817
818
|
}, [
|
|
818
819
|
m("stop", {
|
|
819
820
|
offset: "10%",
|
|
820
|
-
"stop-color": v(
|
|
821
|
+
"stop-color": v(Bt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
821
822
|
}, null, 8, Al),
|
|
822
823
|
m("stop", {
|
|
823
824
|
offset: "90%",
|
|
824
|
-
"stop-color": v(
|
|
825
|
+
"stop-color": v(Et)(l.color, 0.1)
|
|
825
826
|
}, null, 8, Ll),
|
|
826
827
|
m("stop", {
|
|
827
828
|
offset: "100%",
|
|
@@ -830,7 +831,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
830
831
|
], 8, Cl))), 256))
|
|
831
832
|
]),
|
|
832
833
|
(r(!0), n(g, null, _(xt.value, (l, s) => (r(), n(g, null, [
|
|
833
|
-
(r(!0), n(g, null, _(l.plots, (u, f) => (r(), z(
|
|
834
|
+
(r(!0), n(g, null, _(l.plots, (u, f) => (r(), z(tl, je({ ref_for: !0 }, t.$attrs, {
|
|
834
835
|
plot: { x: u.x, y: Ae.value ? u.y : o.value.top },
|
|
835
836
|
radius: d.value && d.value.id === u.id ? ve.value * 1.5 : ve.value,
|
|
836
837
|
shape: e.value.style.chart.plots.shape,
|
|
@@ -839,9 +840,9 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
839
840
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
840
841
|
style: `transition: all 0.2s ease-in-out; opacity:${d.value ? d.value.id === u.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${R.value ? `transition-delay:${f * 50}ms` : ""}`,
|
|
841
842
|
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && R.value && !v(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !R.value },
|
|
842
|
-
onMouseenter: (
|
|
843
|
-
onMouseleave: (
|
|
844
|
-
onClick: (
|
|
843
|
+
onMouseenter: (j) => Ct({ datapoint: u, seriesIndex: f }),
|
|
844
|
+
onMouseleave: (j) => kt({ datapoint: u, seriesIndex: f }),
|
|
845
|
+
onClick: (j) => wt({ datapoint: u, seriesIndex: f })
|
|
845
846
|
}), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "style", "class", "onMouseenter", "onMouseleave", "onClick"]))), 256)),
|
|
846
847
|
h.value.dataLabels.show ? (r(), n("g", Tl, [
|
|
847
848
|
(r(!0), n(g, null, _(l.plots, (u, f) => (r(), n(g, null, [
|
|
@@ -908,11 +909,11 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
908
909
|
]),
|
|
909
910
|
_: 3
|
|
910
911
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
911
|
-
G.value && e.value.userOptions.buttons.table ? (r(), z(Ot(B.value.component),
|
|
912
|
+
G.value && e.value.userOptions.buttons.table ? (r(), z(Ot(B.value.component), je({ key: 6 }, B.value.props, {
|
|
912
913
|
ref_key: "tableUnit",
|
|
913
914
|
ref: M,
|
|
914
915
|
onClose: Ue
|
|
915
|
-
}),
|
|
916
|
+
}), Ye({
|
|
916
917
|
content: b(() => [
|
|
917
918
|
(r(), z(v(nt), {
|
|
918
919
|
key: `table_${_e.value}`,
|
|
@@ -962,10 +963,10 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
|
|
|
962
963
|
key: "1"
|
|
963
964
|
} : void 0
|
|
964
965
|
]), 1040)) : c("", !0),
|
|
965
|
-
v(se) ? (r(), z(
|
|
966
|
+
v(se) ? (r(), z(qt, { key: 7 })) : c("", !0)
|
|
966
967
|
], 46, sl));
|
|
967
968
|
}
|
|
968
|
-
},
|
|
969
|
+
}, Xl = /* @__PURE__ */ ol(zl, [["__scopeId", "data-v-62aa6d64"]]);
|
|
969
970
|
export {
|
|
970
|
-
|
|
971
|
+
Xl as default
|
|
971
972
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { a4 as z, t as U, m as T, y as V, d as X, r as j, x as Y, B as W, h as J, G as K, p as Z } from "./lib-p5pfHmOX.js";
|
|
2
|
+
import { u as q } from "./useNestedProp-DF7e2h1z.js";
|
|
3
|
+
import Q from "./vue-ui-xy-BjzutuG2.js";
|
|
4
|
+
import $ from "./vue-ui-donut-CWgiy7rq.js";
|
|
5
|
+
import ee from "./BaseIcon-D2f9w5Z5.js";
|
|
5
6
|
import { resolveComponent as D, createElementBlock as u, openBlock as c, normalizeStyle as g, createCommentVNode as b, createElementVNode as a, toDisplayString as d, createTextVNode as w, withDirectives as O, withKeys as S, withModifiers as L, vModelText as A, createVNode as E, Fragment as F, renderList as k, normalizeClass as N, vModelSelect as te, createBlock as P } from "vue";
|
|
6
7
|
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
8
|
const ne = {
|
|
@@ -78,7 +79,7 @@ const ne = {
|
|
|
78
79
|
itemsPerPage: this.config.rowsPerPage ? this.config.rowsPerPage : 25,
|
|
79
80
|
multiselects: {},
|
|
80
81
|
paginatorOptions: [.../* @__PURE__ */ new Set([10, 25, 50, 100, 250, 500, this.config.rowsPerPage ? this.config.rowsPerPage : 25, this.dataset.body.length])].sort((t, r) => t - r),
|
|
81
|
-
palette:
|
|
82
|
+
palette: Z,
|
|
82
83
|
percentages: {},
|
|
83
84
|
rafId: null,
|
|
84
85
|
rangeFilters: {},
|
|
@@ -423,7 +424,7 @@ Provide an array of objects of type:
|
|
|
423
424
|
};
|
|
424
425
|
},
|
|
425
426
|
FINAL_CONFIG() {
|
|
426
|
-
const { vue_ui_table: n } =
|
|
427
|
+
const { vue_ui_table: n } = q();
|
|
427
428
|
if (!Object.keys(this.config || {}).length)
|
|
428
429
|
return n;
|
|
429
430
|
const t = this.treeShake({
|
|
@@ -1544,7 +1545,7 @@ function Wt(n, t, r, i, s, e) {
|
|
|
1544
1545
|
], 4)) : b("", !0)
|
|
1545
1546
|
], 4);
|
|
1546
1547
|
}
|
|
1547
|
-
const
|
|
1548
|
+
const ss = /* @__PURE__ */ se(ne, [["render", Wt], ["__scopeId", "data-v-24575fa8"]]);
|
|
1548
1549
|
export {
|
|
1549
|
-
|
|
1550
|
+
ss as default
|
|
1550
1551
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as z, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as E, normalizeStyle as C, createBlock as le, createCommentVNode as v, createElementVNode as g, createSlots as re, withCtx as b, renderSlot as u, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as ue, nextTick as ie } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as H } from "./useNestedProp-
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import {
|
|
2
|
+
import { c as A, o as de, f as pe, a5 as ce, G as ve, a2 as me, x as fe, y as he } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { u as ge, a as H } from "./useNestedProp-DF7e2h1z.js";
|
|
4
|
+
import { u as be } from "./usePrinter-Yeu5jOfm.js";
|
|
5
|
+
import { u as ye } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
+
import { t as Ce } from "./themes-D3cUNuKw.js";
|
|
7
|
+
import { _ as ke } from "./Shape-BDy56-wS.js";
|
|
7
8
|
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"],
|
|
9
|
+
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], xe = {
|
|
9
10
|
key: 0,
|
|
10
11
|
style: { display: "flex", "flex-direction": "row", gap: "2px", "align-items": "center" }
|
|
11
|
-
},
|
|
12
|
+
}, Fe = ["height", "width"], Pe = {
|
|
12
13
|
key: 0,
|
|
13
14
|
role: "cell",
|
|
14
15
|
"data-cell": "sum"
|
|
@@ -45,30 +46,30 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
45
46
|
"8f8e7142": ee.value,
|
|
46
47
|
cb3b028c: j.value
|
|
47
48
|
}));
|
|
48
|
-
const X = oe(() => import("./UserOptions-
|
|
49
|
+
const X = oe(() => import("./UserOptions-Bn3u4JQu.js")), { vue_ui_table_heatmap: W } = ge(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
|
|
49
50
|
z(() => {
|
|
50
51
|
q["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
51
52
|
});
|
|
52
53
|
const t = c({
|
|
53
|
-
get: () =>
|
|
54
|
+
get: () => P(),
|
|
54
55
|
set: (e) => e
|
|
55
|
-
}), { userOptionsVisible: $, setUserOptionsVisibility:
|
|
56
|
-
function
|
|
56
|
+
}), { userOptionsVisible: $, setUserOptionsVisibility: x, keepUserOptionState: F } = ye({ config: t.value });
|
|
57
|
+
function P() {
|
|
57
58
|
const e = H({
|
|
58
59
|
userConfig: m.config,
|
|
59
60
|
defaultConfig: W
|
|
60
61
|
});
|
|
61
62
|
return e.theme ? {
|
|
62
63
|
...H({
|
|
63
|
-
userConfig:
|
|
64
|
+
userConfig: Ce.vue_ui_table_heatmap[e.theme] || m.config,
|
|
64
65
|
defaultConfig: e
|
|
65
66
|
})
|
|
66
67
|
} : e;
|
|
67
68
|
}
|
|
68
69
|
ne(() => m.config, (e) => {
|
|
69
|
-
t.value =
|
|
70
|
+
t.value = P(), $.value = !t.value.userOptions.showOnChartHover, V();
|
|
70
71
|
}, { deep: !0 });
|
|
71
|
-
const { isPrinting: J, isImaging: K, generatePdf: N, generateImage: S } =
|
|
72
|
+
const { isPrinting: J, isImaging: K, generatePdf: N, generateImage: S } = be({
|
|
72
73
|
elementId: `table_heatmap_${_.value}`,
|
|
73
74
|
fileName: "vue-ui-table-heatmap",
|
|
74
75
|
options: t.value.userOptions.print
|
|
@@ -77,7 +78,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
77
78
|
V();
|
|
78
79
|
});
|
|
79
80
|
function V() {
|
|
80
|
-
|
|
81
|
+
de(m.dataset) && pe({
|
|
81
82
|
componentName: "VueUiTableHeatmap",
|
|
82
83
|
type: "dataset"
|
|
83
84
|
});
|
|
@@ -99,7 +100,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
99
100
|
},
|
|
100
101
|
sum: a,
|
|
101
102
|
average: a / o.length,
|
|
102
|
-
median:
|
|
103
|
+
median: ce(o),
|
|
103
104
|
displayValues: [e.name, ...e.values],
|
|
104
105
|
id: A()
|
|
105
106
|
};
|
|
@@ -112,7 +113,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
112
113
|
});
|
|
113
114
|
function Z(e, o) {
|
|
114
115
|
const a = t.value.style.heatmapColors.useIndividualScale;
|
|
115
|
-
return
|
|
116
|
+
return me(t.value.style.heatmapColors.min, t.value.style.heatmapColors.max, a ? o.min : M.value.min, a ? o.max : M.value.max, e);
|
|
116
117
|
}
|
|
117
118
|
const T = c(() => R.value.map((e) => ({
|
|
118
119
|
...e,
|
|
@@ -126,8 +127,8 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
126
127
|
[l.sum],
|
|
127
128
|
[l.average],
|
|
128
129
|
[l.median]
|
|
129
|
-
]), a = [[[""], t.value.table.head.values, ["sum"], ["average"], ["median"]]].concat(o), s =
|
|
130
|
-
e ? e(s) :
|
|
130
|
+
]), a = [[[""], t.value.table.head.values, ["sum"], ["average"], ["median"]]].concat(o), s = fe(a);
|
|
131
|
+
e ? e(s) : he({ csvContent: s, title: "vue-ui-table-heatmap" });
|
|
131
132
|
});
|
|
132
133
|
}
|
|
133
134
|
function te(e) {
|
|
@@ -143,10 +144,10 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
143
144
|
style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
|
|
144
145
|
class: E({ "vue-ui-responsive": d.value }),
|
|
145
146
|
id: `table_heatmap_${_.value}`,
|
|
146
|
-
onMouseenter: o[0] || (o[0] = () => i(
|
|
147
|
-
onMouseleave: o[1] || (o[1] = () => i(
|
|
147
|
+
onMouseenter: o[0] || (o[0] = () => i(x)(!0)),
|
|
148
|
+
onMouseleave: o[1] || (o[1] = () => i(x)(!1))
|
|
148
149
|
}, [
|
|
149
|
-
t.value.userOptions.show && Y.value && (i(
|
|
150
|
+
t.value.userOptions.show && Y.value && (i(F) || i($)) ? (n(), le(i(X), {
|
|
150
151
|
ref: "details",
|
|
151
152
|
key: `user_option_${O.value}`,
|
|
152
153
|
backgroundColor: t.value.style.backgroundColor,
|
|
@@ -169,7 +170,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
169
170
|
onGenerateCsv: U,
|
|
170
171
|
onGenerateImage: i(S),
|
|
171
172
|
style: C({
|
|
172
|
-
visibility: i(
|
|
173
|
+
visibility: i(F) ? i($) ? "visible" : "hidden" : "visible"
|
|
173
174
|
})
|
|
174
175
|
}, re({ _: 2 }, [
|
|
175
176
|
e.$slots.menuIcon ? {
|
|
@@ -231,7 +232,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
231
232
|
role: "cell",
|
|
232
233
|
"data-cell": t.value.table.head.values[p]
|
|
233
234
|
}, [
|
|
234
|
-
a.color && p === 0 ? (n(), r("div",
|
|
235
|
+
a.color && p === 0 ? (n(), r("div", xe, [
|
|
235
236
|
a.color ? (n(), r("svg", {
|
|
236
237
|
key: 0,
|
|
237
238
|
height: t.value.style.shapeSize,
|
|
@@ -245,7 +246,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
245
246
|
radius: 9,
|
|
246
247
|
shape: a.shape || "circle"
|
|
247
248
|
}, null, 8, ["color", "shape"])
|
|
248
|
-
], 8,
|
|
249
|
+
], 8, Fe)) : v("", !0),
|
|
249
250
|
u(e.$slots, "rowTitle", f({ ref_for: !0 }, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value }), void 0, !0)
|
|
250
251
|
])) : (n(), r(k, { key: 1 }, [
|
|
251
252
|
p === 0 ? u(e.$slots, "rowTitle", f({
|
|
@@ -255,10 +256,10 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
255
256
|
p > 0 ? u(e.$slots, "cell", f({
|
|
256
257
|
key: 1,
|
|
257
258
|
ref_for: !0
|
|
258
|
-
}, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value, color: a.colors[p], textColor: i(
|
|
259
|
+
}, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value, color: a.colors[p], textColor: i(ve)(a.colors[p]) }), void 0, !0) : v("", !0)
|
|
259
260
|
], 64))
|
|
260
261
|
], 8, Oe))), 256)),
|
|
261
|
-
t.value.table.showSum ? (n(), r("td",
|
|
262
|
+
t.value.table.showSum ? (n(), r("td", Pe, [
|
|
262
263
|
u(e.$slots, "sum", f({ ref_for: !0 }, { value: a.sum, rowIndex: s, isResponsive: d.value }), void 0, !0)
|
|
263
264
|
])) : v("", !0),
|
|
264
265
|
t.value.table.showAverage ? (n(), r("td", Ne, [
|
|
@@ -275,7 +276,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
275
276
|
], 512)) : v("", !0)
|
|
276
277
|
], 46, Ie));
|
|
277
278
|
}
|
|
278
|
-
},
|
|
279
|
+
}, He = /* @__PURE__ */ _e(Re, [["__scopeId", "data-v-37974d3f"]]);
|
|
279
280
|
export {
|
|
280
|
-
|
|
281
|
+
He as default
|
|
281
282
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
|
|
2
|
-
import { u as ye } from "./useNestedProp-
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { v as
|
|
2
|
+
import { u as Ge, a as ye } from "./useNestedProp-DF7e2h1z.js";
|
|
3
|
+
import { c as Le, b as Re, p as T, e as He, o as Xe, f as he, g as qe, a5 as Je, h as Ke, a as W, d as M, x as Qe, y as Ye } from "./lib-p5pfHmOX.js";
|
|
4
|
+
import { u as Ze } from "./usePrinter-Yeu5jOfm.js";
|
|
5
|
+
import { u as je } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
+
import { v as et } from "./vClickOutside-C6WiFswA.js";
|
|
7
|
+
import { t as tt } from "./themes-D3cUNuKw.js";
|
|
7
8
|
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
9
|
const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } }, nt = {
|
|
9
10
|
key: 0,
|
|
@@ -43,14 +44,14 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
43
44
|
Fe((t) => ({
|
|
44
45
|
"3ff44dec": t.tdo
|
|
45
46
|
}));
|
|
46
|
-
const Ce = J(() => import("./vue-ui-sparkline-
|
|
47
|
+
const Ce = J(() => import("./vue-ui-sparkline-BSGiRpQ9.js")), N = J(() => import("./BaseIcon-D2f9w5Z5.js")), xe = J(() => import("./UserOptions-Bn3u4JQu.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
|
|
47
48
|
me(() => {
|
|
48
49
|
Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
49
50
|
});
|
|
50
51
|
const e = _({
|
|
51
52
|
get: () => te(),
|
|
52
53
|
set: (t) => t
|
|
53
|
-
}), { userOptionsVisible: G, setUserOptionsVisibility: j, keepUserOptionState: ee } =
|
|
54
|
+
}), { userOptionsVisible: G, setUserOptionsVisibility: j, keepUserOptionState: ee } = je({ config: e.value });
|
|
54
55
|
function te() {
|
|
55
56
|
const t = ye({
|
|
56
57
|
userConfig: x.config,
|
|
@@ -58,7 +59,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
58
59
|
});
|
|
59
60
|
return t.theme ? {
|
|
60
61
|
...ye({
|
|
61
|
-
userConfig:
|
|
62
|
+
userConfig: tt.vue_ui_table_sparkline[t.theme] || x.config,
|
|
62
63
|
defaultConfig: t
|
|
63
64
|
}),
|
|
64
65
|
customPalette: Re[t.theme] || T
|
|
@@ -69,17 +70,17 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
69
70
|
}, { deep: !0 }), be(() => x.dataset, (t) => {
|
|
70
71
|
m.value = $.value, B.value += 1;
|
|
71
72
|
}, { deep: !0 });
|
|
72
|
-
const { isPrinting: ae, isImaging: le, generatePdf: oe, generateImage: ne } =
|
|
73
|
+
const { isPrinting: ae, isImaging: le, generatePdf: oe, generateImage: ne } = Ze({
|
|
73
74
|
elementId: `table_${U.value}`,
|
|
74
75
|
fileName: e.value.title.text || "vue-ui-table-sparkline",
|
|
75
76
|
options: e.value.userOptions.print
|
|
76
|
-
}), Ie = _(() =>
|
|
77
|
+
}), Ie = _(() => He(e.value.customPalette)), F = p(null), L = p(!1), Ae = _(() => e.value.responsiveBreakpoint);
|
|
77
78
|
me(() => {
|
|
78
79
|
ue();
|
|
79
80
|
});
|
|
80
81
|
const R = p(e.value.colNames), I = Te(null);
|
|
81
82
|
function ue() {
|
|
82
|
-
|
|
83
|
+
Xe(x.dataset) && he({
|
|
83
84
|
componentName: "VueUiTableSparkline",
|
|
84
85
|
type: "dataset"
|
|
85
86
|
}), I.value && I.value.disconnect(), I.value = new ResizeObserver((t) => {
|
|
@@ -94,7 +95,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
94
95
|
I.value && I.value.disconnect();
|
|
95
96
|
});
|
|
96
97
|
const se = _(() => (x.dataset.forEach((t, l) => {
|
|
97
|
-
|
|
98
|
+
qe({
|
|
98
99
|
datasetObject: t,
|
|
99
100
|
requiredAttributes: ["name", "values"]
|
|
100
101
|
}).forEach((a) => {
|
|
@@ -106,11 +107,11 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
106
107
|
});
|
|
107
108
|
});
|
|
108
109
|
}), x.dataset.map((t, l) => {
|
|
109
|
-
const a = (t.values || []).map((d) => isNaN(d) ? 0 : d ?? 0), n = a.reduce((d, i) => d + i, 0), s = n / a.length, o =
|
|
110
|
+
const a = (t.values || []).map((d) => isNaN(d) ? 0 : d ?? 0), n = a.reduce((d, i) => d + i, 0), s = n / a.length, o = Je(a);
|
|
110
111
|
return {
|
|
111
112
|
...t,
|
|
112
113
|
values: t.values || [],
|
|
113
|
-
color:
|
|
114
|
+
color: Ke(t.color) || Ie.value[l] || T[l] || T[l % T.length],
|
|
114
115
|
sum: n,
|
|
115
116
|
average: s,
|
|
116
117
|
median: o,
|
|
@@ -207,8 +208,8 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
207
208
|
[o.sum],
|
|
208
209
|
[o.average],
|
|
209
210
|
[o.median]
|
|
210
|
-
]), n = [l].concat(a), s =
|
|
211
|
-
t ? t(s) :
|
|
211
|
+
]), n = [l].concat(a), s = Qe(n);
|
|
212
|
+
t ? t(s) : Ye({
|
|
212
213
|
csvContent: s,
|
|
213
214
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
214
215
|
});
|
|
@@ -454,7 +455,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
454
455
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0)
|
|
455
456
|
], 6))), 256))
|
|
456
457
|
], 4)), [
|
|
457
|
-
[u(
|
|
458
|
+
[u(et), Ne]
|
|
458
459
|
])
|
|
459
460
|
]),
|
|
460
461
|
f("tbody", null, [
|
|
@@ -659,7 +660,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
659
660
|
], 512)) : g("", !0)
|
|
660
661
|
], 42, lt));
|
|
661
662
|
}
|
|
662
|
-
},
|
|
663
|
+
}, St = /* @__PURE__ */ at(bt, [["__scopeId", "data-v-a5b69075"]]);
|
|
663
664
|
export {
|
|
664
|
-
|
|
665
|
+
St as default
|
|
665
666
|
};
|