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,62 +1,63 @@
|
|
|
1
|
-
import { useCssVars as Gt, defineAsyncComponent as Q, computed as g, ref as c, shallowRef as Wt, toRefs as jt, watch as we, onBeforeUnmount as vt, onMounted as qt, watchEffect as
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
1
|
+
import { useCssVars as Gt, defineAsyncComponent as Q, computed as g, ref as c, shallowRef as Wt, toRefs as jt, watch as we, onBeforeUnmount as vt, onMounted as qt, watchEffect as Xe, reactive as ct, nextTick as dt, createElementBlock as n, openBlock as u, normalizeStyle as w, normalizeClass as ce, createBlock as de, createCommentVNode as y, createElementVNode as f, createVNode as ke, unref as i, createSlots as ht, withCtx as S, renderSlot as C, normalizeProps as Z, guardReactiveProps as ee, Fragment as L, renderList as F, withDirectives as yt, createTextVNode as Pe, toDisplayString as T, vShow as Kt, resolveDynamicComponent as Jt, mergeProps as Qt, withKeys as Zt } from "vue";
|
|
2
|
+
import { c as Ie, t as el, D as tl, o as ft, f as pt, a2 as he, g as ll, X as al, G as Ae, a as B, d as H, q as E, x as ol, y as sl, z as ul, A as il } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as Le, u as nl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as rl, a as gt } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as vl } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as cl, B as dl } from "./BaseScanner-BgWxam9d.js";
|
|
7
7
|
import { u as bt } from "./useTimeLabels-BGFjWgrv.js";
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
8
|
+
import { u as hl } from "./useTableResponsive-Cbx-ACcP.js";
|
|
9
|
+
import { u as yl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as mt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
11
|
+
import { u as fl } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
|
+
import pl from "./img-CH7J0fYg.js";
|
|
13
|
+
import gl from "./Title-pI68ZJsq.js";
|
|
14
|
+
import { t as bl } from "./themes-D3cUNuKw.js";
|
|
15
|
+
import ml from "./vue-ui-accordion-D-L73-T2.js";
|
|
15
16
|
import { _ as xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
17
|
const wl = {
|
|
17
|
-
mounted(b,
|
|
18
|
-
xt(b,
|
|
18
|
+
mounted(b, X) {
|
|
19
|
+
xt(b, X.value);
|
|
19
20
|
},
|
|
20
|
-
updated(b,
|
|
21
|
-
xt(b,
|
|
21
|
+
updated(b, X) {
|
|
22
|
+
xt(b, X.value);
|
|
22
23
|
}
|
|
23
24
|
};
|
|
24
25
|
function xt(b, {
|
|
25
|
-
cellWidth:
|
|
26
|
+
cellWidth: X,
|
|
26
27
|
cellHeight: ye,
|
|
27
28
|
maxFontSize: W,
|
|
28
29
|
minFontSize: te,
|
|
29
30
|
index: $,
|
|
30
31
|
reportRotation: le,
|
|
31
|
-
reportHide:
|
|
32
|
-
rotateAll:
|
|
32
|
+
reportHide: P,
|
|
33
|
+
rotateAll: Ce,
|
|
33
34
|
hideAll: Te
|
|
34
35
|
}) {
|
|
35
36
|
b.removeAttribute("transform"), b.removeAttribute("visibility");
|
|
36
37
|
let k = !1, fe = !1;
|
|
37
38
|
b.setAttribute("font-size", W);
|
|
38
39
|
const j = b.getComputedTextLength();
|
|
39
|
-
if (j <=
|
|
40
|
-
le($, !1),
|
|
40
|
+
if (j <= X)
|
|
41
|
+
le($, !1), P($, !1);
|
|
41
42
|
else {
|
|
42
|
-
const M = Math.floor(W *
|
|
43
|
-
M >= te ? (b.setAttribute("font-size", M), le($, !1),
|
|
43
|
+
const M = Math.floor(W * X / j);
|
|
44
|
+
M >= te ? (b.setAttribute("font-size", M), le($, !1), P($, !1)) : (le($, !0), P($, !1), k = !0);
|
|
44
45
|
}
|
|
45
|
-
if (
|
|
46
|
+
if (Ce && (k = !0), k) {
|
|
46
47
|
b.setAttribute("font-size", W);
|
|
47
48
|
const M = b.getBBox(), O = M.x + M.width / 2, ae = M.y + M.height / 2;
|
|
48
49
|
b.setAttribute("transform", `rotate(-90 ${O} ${ae})`);
|
|
49
50
|
const q = b.getBBox().width;
|
|
50
51
|
if (q <= ye)
|
|
51
|
-
|
|
52
|
+
P($, !1);
|
|
52
53
|
else {
|
|
53
54
|
const oe = Math.floor(W * ye / q);
|
|
54
|
-
oe >= te ? (b.setAttribute("font-size", oe),
|
|
55
|
+
oe >= te ? (b.setAttribute("font-size", oe), P($, !1)) : (fe = !0, P($, !0));
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
(Te || fe) && b.setAttribute("visibility", "hidden");
|
|
58
59
|
}
|
|
59
|
-
const kl = ["id"], Al = ["xmlns", "viewBox"],
|
|
60
|
+
const kl = ["id"], Al = ["xmlns", "viewBox"], Ll = ["x", "y", "width", "height"], Cl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Tl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], _l = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Sl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], zl = ["font-size", "font-weight", "fill", "x", "y"], $l = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ml = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ol = ["font-size", "fill", "x", "y", "font-weight"], Rl = ["font-size", "fill", "x", "y", "font-weight"], Fl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Dl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Nl = { key: 6 }, Hl = ["x", "y", "width", "height", "stroke", "stroke-width"], Xl = { class: "vue-ui-heatmap-legend-gauge-right" }, Pl = ["data-value"], Il = { class: "vue-ui-heatmap-gauge-indicator-value" }, Vl = {
|
|
60
61
|
key: 4,
|
|
61
62
|
class: "vue-data-ui-watermark"
|
|
62
63
|
}, Bl = { class: "vue-ui-data-table" }, El = { key: 0 }, Ul = ["data-cell"], Yl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Gl = ["data-cell"], Wl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, jl = {
|
|
@@ -76,19 +77,19 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
76
77
|
}
|
|
77
78
|
},
|
|
78
79
|
emits: ["selectDatapoint"],
|
|
79
|
-
setup(b, { expose:
|
|
80
|
+
setup(b, { expose: X, emit: ye }) {
|
|
80
81
|
Gt((t) => ({
|
|
81
82
|
"12b5e388": t.tdo
|
|
82
83
|
}));
|
|
83
|
-
const W = Q(() => import("./Tooltip-
|
|
84
|
+
const W = Q(() => import("./Tooltip-Clf2K3CF.js")), te = Q(() => import("./BaseIcon-D2f9w5Z5.js")), $ = Q(() => import("./PenAndPaper-CtDMyIvW.js")), le = Q(() => import("./UserOptions-Bn3u4JQu.js")), P = Q(() => import("./PackageVersion-DRpg18lg.js")), Ce = Q(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_heatmap: Te } = rl(), k = b, fe = ye, j = g({
|
|
84
85
|
get() {
|
|
85
86
|
return !!k.dataset && k.dataset.length;
|
|
86
87
|
},
|
|
87
88
|
set(t) {
|
|
88
89
|
return t;
|
|
89
90
|
}
|
|
90
|
-
}), M = c(Ie()), O = c(null), ae = c(!1), q = c(""), oe = c(void 0), se = c(null), Ve = c(0), Be = c(null), Ee = c(0), wt = c(null), ue = c(null), _e = c(null), Ue = c(null), Ye = c(null), kt = c(null), Ge = c(null), At = c(null), Se = c(null), ze = c(null),
|
|
91
|
-
function
|
|
91
|
+
}), M = c(Ie()), O = c(null), ae = c(!1), q = c(""), oe = c(void 0), se = c(null), Ve = c(0), Be = c(null), Ee = c(0), wt = c(null), ue = c(null), _e = c(null), Ue = c(null), Ye = c(null), kt = c(null), Ge = c(null), At = c(null), Se = c(null), ze = c(null), Lt = c(null), We = c(null), K = Wt(null), e = c(Oe());
|
|
92
|
+
function Ct() {
|
|
92
93
|
const t = Array(7).fill("_"), o = [], a = 14, s = t.length;
|
|
93
94
|
for (let d = 0; d < s; d += 1) {
|
|
94
95
|
const v = [];
|
|
@@ -101,12 +102,12 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
101
102
|
}
|
|
102
103
|
return o;
|
|
103
104
|
}
|
|
104
|
-
const { loading: pe, FINAL_DATASET: m, manualLoading: $e } =
|
|
105
|
+
const { loading: pe, FINAL_DATASET: m, manualLoading: $e } = cl({
|
|
105
106
|
...jt(k),
|
|
106
107
|
FINAL_CONFIG: e,
|
|
107
108
|
prepareConfig: Oe,
|
|
108
|
-
skeletonDataset:
|
|
109
|
-
skeletonConfig:
|
|
109
|
+
skeletonDataset: Ct(),
|
|
110
|
+
skeletonConfig: el({
|
|
110
111
|
defaultConfig: e.value,
|
|
111
112
|
userConfig: {
|
|
112
113
|
table: { show: !1 },
|
|
@@ -131,7 +132,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
134
|
})
|
|
134
|
-
}), { userOptionsVisible: Me, setUserOptionsVisibility: Tt, keepUserOptionState: je } =
|
|
135
|
+
}), { userOptionsVisible: Me, setUserOptionsVisibility: Tt, keepUserOptionState: je } = yl({ config: e.value }), { svgRef: qe } = fl({ config: e.value.style.title });
|
|
135
136
|
function Ke(t) {
|
|
136
137
|
Tt(t);
|
|
137
138
|
}
|
|
@@ -143,17 +144,17 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
143
144
|
let o = {};
|
|
144
145
|
return t.theme ? o = {
|
|
145
146
|
...gt({
|
|
146
|
-
userConfig:
|
|
147
|
+
userConfig: bl.vue_ui_heatmap[t.theme] || k.config,
|
|
147
148
|
defaultConfig: t
|
|
148
149
|
})
|
|
149
|
-
} : o = t, k.config &&
|
|
150
|
+
} : o = t, k.config && tl(k.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? o.style.layout.dataLabels.xAxis.showOnlyAtModulo = k.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : o.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, o;
|
|
150
151
|
}
|
|
151
152
|
we(() => k.config, (t) => {
|
|
152
153
|
pe.value || (e.value = Oe()), Me.value = !e.value.userOptions.showOnChartHover, Re(), Ee.value += 1, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.tooltip.show, ie.value = e.value.style.layout.width, ne.value = e.value.style.layout.height;
|
|
153
154
|
}, { deep: !0 }), we(() => k.dataset, (t) => {
|
|
154
155
|
Array.isArray(t) && t.length > 0 && ($e.value = !1), Re();
|
|
155
156
|
}, { deep: !0 });
|
|
156
|
-
const { isPrinting: Je, isImaging: Qe, generatePdf: Ze, generateImage: et } =
|
|
157
|
+
const { isPrinting: Je, isImaging: Qe, generatePdf: Ze, generateImage: et } = vl({
|
|
157
158
|
elementId: `heatmap__${M.value}`,
|
|
158
159
|
fileName: e.value.style.title.text || "vue-ui-heatmap",
|
|
159
160
|
options: e.value.userOptions.print
|
|
@@ -174,8 +175,8 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
174
175
|
type: "dataset",
|
|
175
176
|
debug: tt.value
|
|
176
177
|
}), j.value = !1, $e.value = !0), ft(k.dataset) || ($e.value = e.value.loading), e.value.responsive) {
|
|
177
|
-
const t =
|
|
178
|
-
const { width: o, height: a } =
|
|
178
|
+
const t = Le(() => {
|
|
179
|
+
const { width: o, height: a } = nl({
|
|
179
180
|
chart: O.value,
|
|
180
181
|
title: e.value.style.title.text ? Ue.value : null,
|
|
181
182
|
// add legend hirizontal in legend attr
|
|
@@ -198,10 +199,10 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
198
199
|
const D = g(() => Math.max(...m.value.flatMap((t) => (t.values || []).length))), ie = c(e.value.style.layout.width), ne = c(e.value.style.layout.height), _ = g(() => ({
|
|
199
200
|
width: Math.max(10, ie.value),
|
|
200
201
|
height: Math.max(10, ne.value)
|
|
201
|
-
})), re = c(0), zt =
|
|
202
|
+
})), re = c(0), zt = Le((t) => {
|
|
202
203
|
re.value = t;
|
|
203
204
|
}, 100);
|
|
204
|
-
|
|
205
|
+
Xe((t) => {
|
|
205
206
|
const o = Se.value;
|
|
206
207
|
if (!o) return;
|
|
207
208
|
const a = new ResizeObserver((s) => {
|
|
@@ -209,10 +210,10 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
209
210
|
});
|
|
210
211
|
a.observe(o), t(() => a.disconnect());
|
|
211
212
|
});
|
|
212
|
-
const J = c(0), $t =
|
|
213
|
+
const J = c(0), $t = Le((t) => {
|
|
213
214
|
J.value = t;
|
|
214
215
|
}, 100);
|
|
215
|
-
|
|
216
|
+
Xe((t) => {
|
|
216
217
|
const o = Ge.value;
|
|
217
218
|
if (!o) return;
|
|
218
219
|
const a = new ResizeObserver((s) => {
|
|
@@ -220,10 +221,10 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
220
221
|
});
|
|
221
222
|
a.observe(o), t(() => a.disconnect());
|
|
222
223
|
});
|
|
223
|
-
const ge = c(0), Mt =
|
|
224
|
+
const ge = c(0), Mt = Le((t) => {
|
|
224
225
|
ge.value = t;
|
|
225
226
|
}, 100);
|
|
226
|
-
|
|
227
|
+
Xe((t) => {
|
|
227
228
|
const o = ze.value;
|
|
228
229
|
if (!o) return;
|
|
229
230
|
const a = new ResizeObserver((s) => {
|
|
@@ -295,7 +296,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
295
296
|
xLabels: o.slice(0, D.value)
|
|
296
297
|
};
|
|
297
298
|
}), Y = g(() => (m.value.forEach((t, o) => {
|
|
298
|
-
|
|
299
|
+
ll({
|
|
299
300
|
datasetObject: t,
|
|
300
301
|
requiredAttributes: ["values"]
|
|
301
302
|
}).forEach((a) => {
|
|
@@ -335,7 +336,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
335
336
|
ot[t] = o;
|
|
336
337
|
}
|
|
337
338
|
const R = c(null), be = c(null);
|
|
338
|
-
function
|
|
339
|
+
function Xt(t, o, a, s) {
|
|
339
340
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), se.value = { x: a, y: s };
|
|
340
341
|
const { value: d, yAxisName: v, xAxisName: x, id: N } = t;
|
|
341
342
|
oe.value = N, R.value = d, be.value = {
|
|
@@ -346,7 +347,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
346
347
|
}, ae.value = !0;
|
|
347
348
|
let h = "";
|
|
348
349
|
const A = e.value.style.tooltip.customFormat;
|
|
349
|
-
|
|
350
|
+
ul(A) && il(() => A({
|
|
350
351
|
datapoint: t,
|
|
351
352
|
seriesIndex: o,
|
|
352
353
|
series: Y.value,
|
|
@@ -368,7 +369,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
368
369
|
{ datapoint: t, seriesIndex: o }
|
|
369
370
|
)}</span></div>`, q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
|
|
370
371
|
}
|
|
371
|
-
function
|
|
372
|
+
function Pt({ datapoint: t, seriesIndex: o }) {
|
|
372
373
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o }), ae.value = !1, oe.value = void 0, R.value = null, se.value = null;
|
|
373
374
|
}
|
|
374
375
|
function It(t) {
|
|
@@ -412,8 +413,8 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
412
413
|
x.push([m.value[N].values[v]]);
|
|
413
414
|
a.push(x);
|
|
414
415
|
}
|
|
415
|
-
const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(a), d =
|
|
416
|
-
t ? t(d) :
|
|
416
|
+
const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(a), d = ol(s);
|
|
417
|
+
t ? t(d) : sl({ csvContent: d, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
417
418
|
});
|
|
418
419
|
}
|
|
419
420
|
const G = c(!1);
|
|
@@ -438,7 +439,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
438
439
|
}
|
|
439
440
|
async function Ut({ scale: t = 2 } = {}) {
|
|
440
441
|
if (!O.value) return;
|
|
441
|
-
const { width: o, height: a } = O.value.getBoundingClientRect(), s = o / a, { imageUri: d, base64: v } = await
|
|
442
|
+
const { width: o, height: a } = O.value.getBoundingClientRect(), s = o / a, { imageUri: d, base64: v } = await pl({ domElement: O.value, base64: !0, img: !0, scale: t });
|
|
442
443
|
return {
|
|
443
444
|
imageUri: d,
|
|
444
445
|
base64: v,
|
|
@@ -480,7 +481,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
480
481
|
const xe = g(() => {
|
|
481
482
|
const t = e.value.table.useDialog && !e.value.table.show, o = z.value.showTable;
|
|
482
483
|
return {
|
|
483
|
-
component: t ?
|
|
484
|
+
component: t ? Ce : ml,
|
|
484
485
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
485
486
|
props: t ? {
|
|
486
487
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -510,11 +511,11 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
510
511
|
we(() => z.value.showTable, async (t) => {
|
|
511
512
|
e.value.table.show || (t && e.value.table.useDialog && ue.value ? (await dt(), ue.value.open()) : "close" in ue.value && ue.value.close());
|
|
512
513
|
});
|
|
513
|
-
const { isResponsive: Yt } =
|
|
514
|
+
const { isResponsive: Yt } = hl(Be, St);
|
|
514
515
|
function Ne() {
|
|
515
516
|
z.value.showTable = !1, _e.value && _e.value.setTableIconState(!1);
|
|
516
517
|
}
|
|
517
|
-
return
|
|
518
|
+
return X({
|
|
518
519
|
getData: Et,
|
|
519
520
|
getImage: Ut,
|
|
520
521
|
generatePdf: Ze,
|
|
@@ -554,7 +555,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
554
555
|
ref: Ue,
|
|
555
556
|
style: "width:100%;background:transparent"
|
|
556
557
|
}, [
|
|
557
|
-
(u(), de(
|
|
558
|
+
(u(), de(gl, {
|
|
558
559
|
key: `title_${Ee.value}`,
|
|
559
560
|
config: {
|
|
560
561
|
title: {
|
|
@@ -607,56 +608,56 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
607
608
|
t.$slots.menuIcon ? {
|
|
608
609
|
name: "menuIcon",
|
|
609
610
|
fn: S(({ isOpen: a, color: s }) => [
|
|
610
|
-
|
|
611
|
+
C(t.$slots, "menuIcon", Z(ee({ isOpen: a, color: s })), void 0, !0)
|
|
611
612
|
]),
|
|
612
613
|
key: "0"
|
|
613
614
|
} : void 0,
|
|
614
615
|
t.$slots.optionTooltip ? {
|
|
615
616
|
name: "optionTooltip",
|
|
616
617
|
fn: S(() => [
|
|
617
|
-
|
|
618
|
+
C(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
618
619
|
]),
|
|
619
620
|
key: "1"
|
|
620
621
|
} : void 0,
|
|
621
622
|
t.$slots.optionPdf ? {
|
|
622
623
|
name: "optionPdf",
|
|
623
624
|
fn: S(() => [
|
|
624
|
-
|
|
625
|
+
C(t.$slots, "optionPdf", {}, void 0, !0)
|
|
625
626
|
]),
|
|
626
627
|
key: "2"
|
|
627
628
|
} : void 0,
|
|
628
629
|
t.$slots.optionCsv ? {
|
|
629
630
|
name: "optionCsv",
|
|
630
631
|
fn: S(() => [
|
|
631
|
-
|
|
632
|
+
C(t.$slots, "optionCsv", {}, void 0, !0)
|
|
632
633
|
]),
|
|
633
634
|
key: "3"
|
|
634
635
|
} : void 0,
|
|
635
636
|
t.$slots.optionImg ? {
|
|
636
637
|
name: "optionImg",
|
|
637
638
|
fn: S(() => [
|
|
638
|
-
|
|
639
|
+
C(t.$slots, "optionImg", {}, void 0, !0)
|
|
639
640
|
]),
|
|
640
641
|
key: "4"
|
|
641
642
|
} : void 0,
|
|
642
643
|
t.$slots.optionTable ? {
|
|
643
644
|
name: "optionTable",
|
|
644
645
|
fn: S(() => [
|
|
645
|
-
|
|
646
|
+
C(t.$slots, "optionTable", {}, void 0, !0)
|
|
646
647
|
]),
|
|
647
648
|
key: "5"
|
|
648
649
|
} : void 0,
|
|
649
650
|
t.$slots.optionFullscreen ? {
|
|
650
651
|
name: "optionFullscreen",
|
|
651
652
|
fn: S(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
652
|
-
|
|
653
|
+
C(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
653
654
|
]),
|
|
654
655
|
key: "6"
|
|
655
656
|
} : void 0,
|
|
656
657
|
t.$slots.optionAnnotator ? {
|
|
657
658
|
name: "optionAnnotator",
|
|
658
659
|
fn: S(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
659
|
-
|
|
660
|
+
C(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
660
661
|
]),
|
|
661
662
|
key: "7"
|
|
662
663
|
} : void 0
|
|
@@ -670,7 +671,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
670
671
|
(u(), n("svg", {
|
|
671
672
|
ref_key: "svgRef",
|
|
672
673
|
ref: qe,
|
|
673
|
-
xmlns: i(
|
|
674
|
+
xmlns: i(al),
|
|
674
675
|
class: ce({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
|
|
675
676
|
viewBox: `0 0 ${_.value.width} ${_.value.height}`,
|
|
676
677
|
width: "100%",
|
|
@@ -679,7 +680,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
679
680
|
role: "img",
|
|
680
681
|
preserveAspectRatio: "xMidYMid"
|
|
681
682
|
}, [
|
|
682
|
-
ke(i(
|
|
683
|
+
ke(i(P)),
|
|
683
684
|
t.$slots["chart-background"] ? (u(), n("foreignObject", {
|
|
684
685
|
key: 0,
|
|
685
686
|
x: l.value.left,
|
|
@@ -690,14 +691,14 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
690
691
|
pointerEvents: "none"
|
|
691
692
|
}
|
|
692
693
|
}, [
|
|
693
|
-
|
|
694
|
-
], 8,
|
|
694
|
+
C(t.$slots, "chart-background", {}, void 0, !0)
|
|
695
|
+
], 8, Ll)) : y("", !0),
|
|
695
696
|
e.value.style.layout.cells.columnTotal.color.show ? (u(), n("g", {
|
|
696
697
|
key: 1,
|
|
697
698
|
ref_key: "xAxisSumRects",
|
|
698
|
-
ref:
|
|
699
|
+
ref: Lt
|
|
699
700
|
}, [
|
|
700
|
-
(u(!0), n(
|
|
701
|
+
(u(!0), n(L, null, F(p.value.xTotals, (a, s) => (u(), n("rect", {
|
|
701
702
|
x: l.value.left + l.value.cellSize.width * s + r.value / 2 + l.value.sumCellXHeight,
|
|
702
703
|
y: l.value.top - l.value.sumCellXHeight + r.value * (_.value.height / _.value.width),
|
|
703
704
|
height: l.value.sumCellXHeight,
|
|
@@ -705,8 +706,8 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
705
706
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
706
707
|
stroke: e.value.style.backgroundColor,
|
|
707
708
|
"stroke-width": r.value
|
|
708
|
-
}, null, 8,
|
|
709
|
-
(u(!0), n(
|
|
709
|
+
}, null, 8, Cl))), 256)),
|
|
710
|
+
(u(!0), n(L, null, F(p.value.xTotals, (a, s) => (u(), n("rect", {
|
|
710
711
|
x: l.value.left + l.value.cellSize.width * s + r.value / 2 + l.value.sumCellXHeight,
|
|
711
712
|
y: l.value.top - l.value.sumCellXHeight + r.value * (_.value.height / _.value.width),
|
|
712
713
|
height: l.value.sumCellXHeight,
|
|
@@ -720,8 +721,8 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
720
721
|
ref_key: "datapoints",
|
|
721
722
|
ref: wt
|
|
722
723
|
}, [
|
|
723
|
-
(u(!0), n(
|
|
724
|
-
(u(!0), n(
|
|
724
|
+
(u(!0), n(L, null, F(Y.value, (a, s) => (u(), n(L, null, [
|
|
725
|
+
(u(!0), n(L, null, F(a.temperatures, (d, v) => (u(), n("g", null, [
|
|
725
726
|
f("rect", {
|
|
726
727
|
x: l.value.left + l.value.cellSize.width * v + r.value / 2 + l.value.sumCellXHeight,
|
|
727
728
|
y: l.value.top + l.value.cellSize.height * s + r.value / 2,
|
|
@@ -739,8 +740,8 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
739
740
|
fill: d.color,
|
|
740
741
|
stroke: e.value.style.backgroundColor,
|
|
741
742
|
"stroke-width": r.value,
|
|
742
|
-
onMouseover: (x) =>
|
|
743
|
-
onMouseout: () =>
|
|
743
|
+
onMouseover: (x) => Xt(d, s, l.value.left + l.value.cellSize.width * v, l.value.top + l.value.cellSize.height * s),
|
|
744
|
+
onMouseout: () => Pt({ datapoint: d, seriesIndex: s }),
|
|
744
745
|
onClick: () => Bt(d, s)
|
|
745
746
|
}, null, 40, Sl),
|
|
746
747
|
e.value.style.layout.cells.value.show ? yt((u(), n("text", {
|
|
@@ -753,7 +754,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
753
754
|
y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
|
|
754
755
|
style: { pointerEvents: "none", userSelect: "none" }
|
|
755
756
|
}, [
|
|
756
|
-
|
|
757
|
+
Pe(T(i(B)(
|
|
757
758
|
e.value.style.layout.cells.value.formatter,
|
|
758
759
|
d.value,
|
|
759
760
|
i(H)({
|
|
@@ -785,7 +786,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
785
786
|
ref_key: "yAxisSumRects",
|
|
786
787
|
ref: At
|
|
787
788
|
}, [
|
|
788
|
-
(u(!0), n(
|
|
789
|
+
(u(!0), n(L, null, F(Y.value, (a, s) => (u(), n(L, null, [
|
|
789
790
|
f("rect", {
|
|
790
791
|
x: l.value.left,
|
|
791
792
|
y: l.value.top + l.value.cellSize.height * s,
|
|
@@ -811,7 +812,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
811
812
|
ref_key: "yAxisLabels",
|
|
812
813
|
ref: Ge
|
|
813
814
|
}, [
|
|
814
|
-
(u(!0), n(
|
|
815
|
+
(u(!0), n(L, null, F(Y.value, (a, s) => (u(), n(L, null, [
|
|
815
816
|
f("text", {
|
|
816
817
|
class: "vue-ui-heatmap-row-name",
|
|
817
818
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
@@ -838,7 +839,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
838
839
|
ref_key: "xAxisLabels",
|
|
839
840
|
ref: Se
|
|
840
841
|
}, [
|
|
841
|
-
(u(!0), n(
|
|
842
|
+
(u(!0), n(L, null, F(p.value.xLabels, (a, s) => (u(), n(L, null, [
|
|
842
843
|
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && s % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (u(), n("text", {
|
|
843
844
|
key: 0,
|
|
844
845
|
class: "vue-ui-heatmap-col-name",
|
|
@@ -855,7 +856,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
855
856
|
ref_key: "xAxisSums",
|
|
856
857
|
ref: ze
|
|
857
858
|
}, [
|
|
858
|
-
(u(!0), n(
|
|
859
|
+
(u(!0), n(L, null, F(p.value.xLabels, (a, s) => (u(), n("text", {
|
|
859
860
|
class: "vue-ui-heatmap-col-total",
|
|
860
861
|
"text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
|
|
861
862
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
@@ -877,7 +878,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
877
878
|
rx: 1
|
|
878
879
|
}, null, 8, Hl)
|
|
879
880
|
])) : y("", !0),
|
|
880
|
-
|
|
881
|
+
C(t.$slots, "svg", { svg: _.value }, void 0, !0)
|
|
881
882
|
], 14, Al)),
|
|
882
883
|
e.value.style.legend.show ? (u(), n("div", {
|
|
883
884
|
key: 0,
|
|
@@ -905,7 +906,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
905
906
|
r: e.value.style.legend.roundingValue
|
|
906
907
|
})
|
|
907
908
|
)), 5)),
|
|
908
|
-
f("div",
|
|
909
|
+
f("div", Xl, [
|
|
909
910
|
f("div", {
|
|
910
911
|
class: "vue-ui-heatmap-gauge",
|
|
911
912
|
style: w({
|
|
@@ -948,7 +949,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
948
949
|
r: e.value.style.legend.roundingValue
|
|
949
950
|
})
|
|
950
951
|
)), 1)
|
|
951
|
-
], 12,
|
|
952
|
+
], 12, Pl), [
|
|
952
953
|
[Kt, ![void 0, null].includes(R.value)]
|
|
953
954
|
])
|
|
954
955
|
], 4)
|
|
@@ -973,7 +974,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
973
974
|
], 4)) : y("", !0)
|
|
974
975
|
], 2),
|
|
975
976
|
t.$slots.watermark ? (u(), n("div", Vl, [
|
|
976
|
-
|
|
977
|
+
C(t.$slots, "watermark", Z(ee({ isPrinting: i(Je) || i(Qe) })), void 0, !0)
|
|
977
978
|
])) : y("", !0),
|
|
978
979
|
t.$slots.source ? (u(), n("div", {
|
|
979
980
|
key: 5,
|
|
@@ -981,7 +982,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
981
982
|
ref: We,
|
|
982
983
|
dir: "auto"
|
|
983
984
|
}, [
|
|
984
|
-
|
|
985
|
+
C(t.$slots, "source", {}, void 0, !0)
|
|
985
986
|
], 512)) : y("", !0),
|
|
986
987
|
ke(i(W), {
|
|
987
988
|
show: z.value.showTooltip && ae.value,
|
|
@@ -1004,10 +1005,10 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
1004
1005
|
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
1005
1006
|
}, {
|
|
1006
1007
|
"tooltip-before": S(() => [
|
|
1007
|
-
|
|
1008
|
+
C(t.$slots, "tooltip-before", Z(ee({ ...be.value })), void 0, !0)
|
|
1008
1009
|
]),
|
|
1009
1010
|
"tooltip-after": S(() => [
|
|
1010
|
-
|
|
1011
|
+
C(t.$slots, "tooltip-after", Z(ee({ ...be.value })), void 0, !0)
|
|
1011
1012
|
]),
|
|
1012
1013
|
_: 3
|
|
1013
1014
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -1046,7 +1047,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
1046
1047
|
key: 0,
|
|
1047
1048
|
style: w(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
1048
1049
|
}, [
|
|
1049
|
-
|
|
1050
|
+
Pe(T(e.value.style.title.text) + " ", 1),
|
|
1050
1051
|
e.value.style.title.subtitle.text ? (u(), n("span", El, T(e.value.style.title.subtitle.text), 1)) : y("", !0)
|
|
1051
1052
|
], 4)),
|
|
1052
1053
|
f("thead", null, [
|
|
@@ -1057,14 +1058,14 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
1057
1058
|
f("th", {
|
|
1058
1059
|
style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1059
1060
|
}, null, 4),
|
|
1060
|
-
(u(!0), n(
|
|
1061
|
+
(u(!0), n(L, null, F(b.dataset, (a, s) => (u(), n("th", {
|
|
1061
1062
|
align: "right",
|
|
1062
1063
|
style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1063
1064
|
}, T(a.name), 5))), 256))
|
|
1064
1065
|
], 4)
|
|
1065
1066
|
]),
|
|
1066
1067
|
f("tbody", null, [
|
|
1067
|
-
(u(!0), n(
|
|
1068
|
+
(u(!0), n(L, null, F(p.value.xLabels, (a, s) => (u(), n("tr", {
|
|
1068
1069
|
role: "row",
|
|
1069
1070
|
class: ce({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
|
|
1070
1071
|
style: w(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
@@ -1076,7 +1077,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
1076
1077
|
}, [
|
|
1077
1078
|
f("div", Yl, T(a), 1)
|
|
1078
1079
|
], 12, Ul),
|
|
1079
|
-
(u(!0), n(
|
|
1080
|
+
(u(!0), n(L, null, F(b.dataset, (d, v) => (u(), n("td", {
|
|
1080
1081
|
class: "vue-ui-data-table__tbody__td",
|
|
1081
1082
|
"data-cell": b.dataset[v].name,
|
|
1082
1083
|
style: w(`outline:${e.value.table.td.outline}`)
|
|
@@ -1094,7 +1095,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
1094
1095
|
e.value.table.useDialog ? {
|
|
1095
1096
|
name: "title",
|
|
1096
1097
|
fn: S(() => [
|
|
1097
|
-
|
|
1098
|
+
Pe(T(xe.value.title), 1)
|
|
1098
1099
|
]),
|
|
1099
1100
|
key: "0"
|
|
1100
1101
|
} : void 0,
|
|
@@ -1115,10 +1116,10 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
1115
1116
|
key: "1"
|
|
1116
1117
|
} : void 0
|
|
1117
1118
|
]), 1040)) : y("", !0),
|
|
1118
|
-
i(pe) ? (u(), de(
|
|
1119
|
+
i(pe) ? (u(), de(dl, { key: 7 })) : y("", !0)
|
|
1119
1120
|
], 46, kl));
|
|
1120
1121
|
}
|
|
1121
|
-
},
|
|
1122
|
+
}, ca = /* @__PURE__ */ xl(jl, [["__scopeId", "data-v-b8c90b2a"]]);
|
|
1122
1123
|
export {
|
|
1123
|
-
|
|
1124
|
+
ca as default
|
|
1124
1125
|
};
|