vue-data-ui 3.1.17 → 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-DFX_NfRh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CrCjMg89.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-7s-tCFcQ.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-BoLH_m_Z.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-Dw6dxJk3.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-CjdnJGHq.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-tX2IXHuz.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-D1HToLlZ.js → PackageVersion-DRpg18lg.js} +3 -3
- package/dist/{PenAndPaper-BKnXOYre.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-6PexQroB.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-BJkhMBk4.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-BtO1j0i1.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-BVMfF0uu.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-DBvmoYXU.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CKzW9w0Q.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-D0wlWRL9.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-CeCjiMpr.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D5bgIg6W.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-BxqMb3sU.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-DGI4Mlad.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-8b3VZcUI.js → vue-ui-3d-bar-BZDLbeym.js} +103 -102
- package/dist/{vue-ui-accordion-BJG-ogQj.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-Cr_dhyTO.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
- package/dist/{vue-ui-annotator-ttaqcMTz.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-DXvTj07g.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
- package/dist/{vue-ui-candlestick-B5NqFTXr.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
- package/dist/{vue-ui-carousel-table-B0bpCRFh.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
- package/dist/{vue-ui-chestnut-Cby7Wcbu.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
- package/dist/{vue-ui-chord-Cxg8nwzZ.js → vue-ui-chord-DqGoensA.js} +61 -60
- package/dist/{vue-ui-circle-pack-Cc5e6dE3.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
- package/dist/{vue-ui-cursor-D6MvR7jD.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CaUM9n5b.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
- package/dist/{vue-ui-digits-DsoHRv9p.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-Dxsq1gpz.js → vue-ui-donut-CWgiy7rq.js} +39 -38
- package/dist/{vue-ui-donut-evolution-CFu9WNVV.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
- package/dist/{vue-ui-dumbbell-Cgb7ijQS.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
- package/dist/{vue-ui-flow-Ucb9PdWP.js → vue-ui-flow-C8iSww9L.js} +127 -126
- package/dist/{vue-ui-funnel-CV29tksj.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
- package/dist/{vue-ui-galaxy-CVJb9_hA.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
- package/dist/{vue-ui-gauge-ofpIH29X.js → vue-ui-gauge-MM8rPNWR.js} +149 -148
- package/dist/{vue-ui-gizmo-Ci9kN9VQ.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
- package/dist/{vue-ui-heatmap-BK_jorrw.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
- package/dist/{vue-ui-history-plot-Ce8BB4Tn.js → vue-ui-history-plot-BCfEt867.js} +105 -104
- package/dist/{vue-ui-kpi-DAHT9q6j.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-CuilTrcI.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-C6suewK-.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
- package/dist/{vue-ui-mood-radar-DPvGhgPI.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
- package/dist/{vue-ui-nested-donuts-BvPWp9Du.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
- package/dist/{vue-ui-onion-BZ0tfRV_.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-DqFj8hbo.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-Cg5e73ny.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
- package/dist/{vue-ui-quick-chart-sABlk5nb.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
- package/dist/{vue-ui-radar-DYcoGzSu.js → vue-ui-radar-BmmwGJaI.js} +90 -89
- package/dist/{vue-ui-rating-1eguB-TH.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-BeWuQDkk.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
- package/dist/{vue-ui-ridgeline-CG7FefqU.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
- package/dist/{vue-ui-rings-2eedFGuC.js → vue-ui-rings-DS-YbQVr.js} +74 -73
- package/dist/{vue-ui-scatter-CNtgNP5j.js → vue-ui-scatter-D8kUADP7.js} +121 -120
- package/dist/{vue-ui-skeleton-fqG3bKSz.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
- package/dist/{vue-ui-smiley-D4bvSF9S.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/vue-ui-spark-trend-qt8UvEPc.js +337 -0
- package/dist/{vue-ui-sparkbar-D1FXZyQE.js → vue-ui-sparkbar-DgHvA8ra.js} +86 -85
- package/dist/{vue-ui-sparkgauge-CHbbxg13.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-BxYes64D.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
- package/dist/{vue-ui-sparkline-CS3F5TFN.js → vue-ui-sparkline-BSGiRpQ9.js} +105 -104
- package/dist/{vue-ui-sparkstackbar-CUSBwkUS.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
- package/dist/{vue-ui-stackbar-CDihyp-i.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
- package/dist/{vue-ui-strip-plot-D6MFuKnN.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
- package/dist/{vue-ui-table-COT59wVb.js → vue-ui-table-DKHtmqLd.js} +9 -8
- package/dist/{vue-ui-table-heatmap--e8yw5yS.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DnSLwUNN.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
- package/dist/{vue-ui-thermometer-ByiRARW0.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
- package/dist/{vue-ui-timer-DOQVdVN2.js → vue-ui-timer-C4LZMTeg.js} +31 -31
- package/dist/{vue-ui-tiremarks-BFXeJQNZ.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
- package/dist/{vue-ui-treemap-s_O9rQUT.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
- package/dist/{vue-ui-vertical-bar-Bn-m5GKU.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
- package/dist/{vue-ui-waffle-DmxaWHSw.js → vue-ui-waffle-CP6jUrto.js} +76 -75
- package/dist/{vue-ui-wheel-zJ5U-h_D.js → vue-ui-wheel-B59kWUZd.js} +85 -84
- package/dist/{vue-ui-word-cloud-BEnkOZdv.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
- package/dist/{vue-ui-world-CkqoTL4V.js → vue-ui-world-B6S7X6sr.js} +19 -19
- package/dist/{vue-ui-xy-Uqdl2nk-.js → vue-ui-xy-BjzutuG2.js} +496 -505
- package/dist/{vue-ui-xy-canvas-cIU8Y1sD.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
- package/package.json +19 -11
- package/dist/index-Lg17rmB1.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DpwLJMsW.js +0 -13
- package/dist/vue-data-ui-lki09wwK.js +0 -325
- package/dist/vue-ui-spark-trend-GML5JJxY.js +0 -315
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, createElementBlock as v, openBlock as u, createElementVNode as n, normalizeClass as $, normalizeStyle as p, createCommentVNode as O, renderSlot as c, createBlock as D, normalizeProps as i, mergeProps as N, guardReactiveProps as m } from "vue";
|
|
2
|
-
import w from "./BaseIcon-
|
|
3
|
-
import { u as x } from "./useNestedProp-
|
|
4
|
-
import {
|
|
2
|
+
import w from "./BaseIcon-D2f9w5Z5.js";
|
|
3
|
+
import { u as x, a as B } from "./useNestedProp-DF7e2h1z.js";
|
|
4
|
+
import { c as I } from "./lib-p5pfHmOX.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -24,7 +24,7 @@ const F = ["id"], P = {
|
|
|
24
24
|
y((o) => ({
|
|
25
25
|
"95f7c2e4": C.value
|
|
26
26
|
}));
|
|
27
|
-
const { vue_ui_accordion: f } =
|
|
27
|
+
const { vue_ui_accordion: f } = x(), g = l, e = s(() => B({
|
|
28
28
|
userConfig: g.config,
|
|
29
29
|
defaultConfig: f
|
|
30
30
|
})), a = r(e.value.open), h = r(I()), t = r(null), d = r(0);
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as T, computed as g, ref as v, toRefs as ut, watch as X, shallowRef as Se, onMounted as nt, onBeforeUnmount as ze, watchEffect as rt, createElementBlock as n, openBlock as i, unref as u, normalizeStyle as oe, normalizeClass as Oe, createBlock as D, createCommentVNode as y, renderSlot as h, createVNode as se, createSlots as Ie, withCtx as c, normalizeProps as P, guardReactiveProps as M, createElementVNode as d, Fragment as L, renderList as z, toDisplayString as _, resolveDynamicComponent as vt, mergeProps as dt, createTextVNode as ie, nextTick as yt } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { t as De, 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
|
|
2
|
+
import { c as ht, t as ct, o as Fe, f as ft, q as p, X as gt, s as ue, i as Re, a as O, d as I, x as pt, y as bt, z as xt, A as mt } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as De, u as wt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as kt, a as Pe } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as _t, B as Ct } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as At } from "./usePrinter-Yeu5jOfm.js";
|
|
7
|
+
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as Lt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as $t } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
+
import St from "./img-CH7J0fYg.js";
|
|
11
|
+
import zt from "./Title-pI68ZJsq.js";
|
|
12
|
+
import { t as Ot } from "./themes-D3cUNuKw.js";
|
|
12
13
|
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
14
|
const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"], Pt = ["id"], Mt = ["stop-color"], Nt = ["stop-color"], Bt = ["id"], Et = ["stop-color"], Ut = ["stop-color"], Gt = ["x", "y", "width", "height", "fill", "rx"], Ht = ["x", "y", "width", "height", "fill", "rx"], Wt = ["x", "y", "width", "height", "fill", "rx"], Vt = ["x", "y", "width", "height", "fill", "rx"], Xt = { key: 0 }, jt = ["x", "y", "fill", "font-size", "font-weight"], Yt = ["x", "y", "fill", "font-size", "font-weight"], qt = { key: 1 }, Jt = ["x", "y", "font-size", "fill", "font-weight"], Kt = { key: 2 }, Qt = { key: 0 }, Zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = ["font-size", "fill", "text-anchor", "font-weight", "transform"], ol = ["font-size", "fill", "text-anchor", "font-weight", "transform"], sl = ["x", "y", "font-size", "fill", "font-weight"], il = ["x", "y", "width", "height", "fill", "onMouseover", "onMouseleave", "onClick"], ul = {
|
|
14
15
|
key: 4,
|
|
@@ -30,7 +31,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
33
|
setup(ne, { expose: Me }) {
|
|
33
|
-
const Ne = T(() => import("./Tooltip-
|
|
34
|
+
const Ne = T(() => import("./Tooltip-Clf2K3CF.js")), Be = T(() => import("./BaseIcon-D2f9w5Z5.js")), Ee = T(() => import("./vue-ui-accordion-D-L73-T2.js")), Ue = T(() => import("./DataTable-xISHA7Pu.js")), Ge = T(() => import("./PenAndPaper-CtDMyIvW.js")), He = T(() => import("./UserOptions-Bn3u4JQu.js")), We = T(() => import("./PackageVersion-DRpg18lg.js")), Ve = T(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_age_pyramid: Xe } = kt(), x = ne, re = g(() => !!x.dataset && x.dataset.length), w = v(ht()), j = v(!1), Y = v(""), U = v(null), ve = v(0), k = v(null), de = v(null), ye = v(null), he = v(null), ce = v(0), fe = v(0), q = v(null), N = v(null), J = v(null), e = v(Z()), { loading: ge, FINAL_DATASET: G, manualLoading: K } = _t({
|
|
34
35
|
...ut(x),
|
|
35
36
|
FINAL_CONFIG: e,
|
|
36
37
|
prepareConfig: Z,
|
|
@@ -46,7 +47,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
46
47
|
["_", 1, 89, 89],
|
|
47
48
|
["_", 0, 144, 144]
|
|
48
49
|
],
|
|
49
|
-
skeletonConfig:
|
|
50
|
+
skeletonConfig: ct({
|
|
50
51
|
defaultConfig: e.value,
|
|
51
52
|
userConfig: {
|
|
52
53
|
userOptions: { show: !1 },
|
|
@@ -79,7 +80,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
82
|
})
|
|
82
|
-
}), { userOptionsVisible: Q, setUserOptionsVisibility: pe, keepUserOptionState: be } =
|
|
83
|
+
}), { userOptionsVisible: Q, setUserOptionsVisibility: pe, keepUserOptionState: be } = Tt({ config: e.value }), { svgRef: xe } = Lt({ config: e.value.style.title });
|
|
83
84
|
function Z() {
|
|
84
85
|
const t = Pe({
|
|
85
86
|
userConfig: x.config,
|
|
@@ -87,7 +88,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
87
88
|
});
|
|
88
89
|
return t.theme ? {
|
|
89
90
|
...Pe({
|
|
90
|
-
userConfig:
|
|
91
|
+
userConfig: Ot.vue_ui_age_pyramid[t.theme] || x.config,
|
|
91
92
|
defaultConfig: t
|
|
92
93
|
})
|
|
93
94
|
} : t;
|
|
@@ -103,13 +104,13 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
103
104
|
});
|
|
104
105
|
const je = g(() => !!e.value.debug);
|
|
105
106
|
function me() {
|
|
106
|
-
if (Fe(x.dataset) && (
|
|
107
|
+
if (Fe(x.dataset) && (ft({
|
|
107
108
|
componentName: "VueUiAgePyramid",
|
|
108
109
|
type: "dataset",
|
|
109
110
|
debug: je.value
|
|
110
111
|
}), K.value = !0), Fe(x.dataset) || (K.value = e.value.loading), e.value.responsive) {
|
|
111
112
|
const t = De(() => {
|
|
112
|
-
const { width: o, height: l } =
|
|
113
|
+
const { width: o, height: l } = wt({
|
|
113
114
|
chart: k.value,
|
|
114
115
|
title: e.value.style.title.text ? de.value : null,
|
|
115
116
|
source: ye.value,
|
|
@@ -125,7 +126,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
125
126
|
ze(() => {
|
|
126
127
|
C.value && (F.value && C.value.unobserve(F.value), C.value.disconnect());
|
|
127
128
|
});
|
|
128
|
-
const { isPrinting: we, isImaging: ke, generatePdf: _e, generateImage: Ce } =
|
|
129
|
+
const { isPrinting: we, isImaging: ke, generatePdf: _e, generateImage: Ce } = At({
|
|
129
130
|
elementId: `vue-ui-age-pyramid_${w.value}`,
|
|
130
131
|
fileName: e.value.style.title.text || "vue-ui-age-pyramid",
|
|
131
132
|
options: e.value.userOptions.print
|
|
@@ -249,7 +250,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
249
250
|
config: e.value
|
|
250
251
|
};
|
|
251
252
|
const l = e.value.style.tooltip.customFormat;
|
|
252
|
-
if (
|
|
253
|
+
if (xt(l) && mt(() => l({
|
|
253
254
|
seriesIndex: t,
|
|
254
255
|
datapoint: {
|
|
255
256
|
segment: o[0],
|
|
@@ -306,8 +307,8 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
306
307
|
m[2],
|
|
307
308
|
m[3],
|
|
308
309
|
m[2] ?? 0 + m[3] ?? 0
|
|
309
|
-
]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r =
|
|
310
|
-
t ? t(r) :
|
|
310
|
+
]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r = pt(a);
|
|
311
|
+
t ? t(r) : bt({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
311
312
|
});
|
|
312
313
|
}
|
|
313
314
|
const W = g(() => {
|
|
@@ -353,7 +354,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
353
354
|
}
|
|
354
355
|
async function ot({ scale: t = 2 } = {}) {
|
|
355
356
|
if (!k.value) return;
|
|
356
|
-
const { width: o, height: l } = k.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: m } = await
|
|
357
|
+
const { width: o, height: l } = k.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: m } = await St({ domElement: k.value, base64: !0, img: !0, scale: t });
|
|
357
358
|
return {
|
|
358
359
|
imageUri: r,
|
|
359
360
|
base64: m,
|
|
@@ -364,7 +365,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
364
365
|
};
|
|
365
366
|
}
|
|
366
367
|
const st = v([]), it = v({ start: 0, end: $.value.length });
|
|
367
|
-
|
|
368
|
+
$t({
|
|
368
369
|
timeLabelsEls: q,
|
|
369
370
|
timeLabels: st,
|
|
370
371
|
slicer: it,
|
|
@@ -452,7 +453,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
452
453
|
ref: de,
|
|
453
454
|
style: "width:100%;background:transparent"
|
|
454
455
|
}, [
|
|
455
|
-
(i(), D(
|
|
456
|
+
(i(), D(zt, {
|
|
456
457
|
key: `title_${ce.value}`,
|
|
457
458
|
config: {
|
|
458
459
|
title: {
|
|
@@ -562,7 +563,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
562
563
|
(i(), n("svg", {
|
|
563
564
|
ref_key: "svgRef",
|
|
564
565
|
ref: xe,
|
|
565
|
-
xmlns: u(
|
|
566
|
+
xmlns: u(gt),
|
|
566
567
|
class: Oe({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
567
568
|
viewBox: `0 0 ${f.value.width <= 0 ? 10 : f.value.width} ${f.value.height <= 0 ? 10 : f.value.height}`,
|
|
568
569
|
style: oe(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
@@ -880,10 +881,10 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
880
881
|
key: "1"
|
|
881
882
|
} : void 0
|
|
882
883
|
]), 1040)) : y("", !0),
|
|
883
|
-
u(ge) ? (i(), D(
|
|
884
|
+
u(ge) ? (i(), D(Ct, { key: 7 })) : y("", !0)
|
|
884
885
|
], 46, Ft));
|
|
885
886
|
}
|
|
886
|
-
},
|
|
887
|
+
}, kl = /* @__PURE__ */ It(nl, [["__scopeId", "data-v-c15f9534"]]);
|
|
887
888
|
export {
|
|
888
|
-
|
|
889
|
+
kl as default
|
|
889
890
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { B as p, t as v, C as w } from "./lib-p5pfHmOX.js";
|
|
2
|
+
import { u as A } from "./useNestedProp-DF7e2h1z.js";
|
|
3
|
+
import { d as M } from "./dom-to-png-CSg_eTqL.js";
|
|
3
4
|
import { createElementBlock as d, openBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, createCommentVNode as a, normalizeClass as y, createStaticVNode as F, withDirectives as N, vModelCheckbox as g, vModelText as C, renderSlot as O, Fragment as L, renderList as G } from "vue";
|
|
4
5
|
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
6
|
const m = {
|
|
@@ -94,7 +95,7 @@ const m = {
|
|
|
94
95
|
textAlign: "start",
|
|
95
96
|
textFont: 20,
|
|
96
97
|
transparency: 100,
|
|
97
|
-
transparencyCodes:
|
|
98
|
+
transparencyCodes: w
|
|
98
99
|
};
|
|
99
100
|
},
|
|
100
101
|
watch: {
|
|
@@ -106,7 +107,7 @@ const m = {
|
|
|
106
107
|
},
|
|
107
108
|
computed: {
|
|
108
109
|
FINAL_CONFIG() {
|
|
109
|
-
const t =
|
|
110
|
+
const t = A().vue_ui_annotator;
|
|
110
111
|
if (!Object.keys(this.config || {}).length)
|
|
111
112
|
return t;
|
|
112
113
|
const i = this.treeShake({
|
|
@@ -2175,7 +2176,7 @@ function Dt(t, i, o, h, s, e) {
|
|
|
2175
2176
|
], 512)
|
|
2176
2177
|
]);
|
|
2177
2178
|
}
|
|
2178
|
-
const
|
|
2179
|
+
const Vt = /* @__PURE__ */ _(m, [["render", Dt], ["__scopeId", "data-v-633bc577"]]);
|
|
2179
2180
|
export {
|
|
2180
|
-
|
|
2181
|
+
Vt as default
|
|
2181
2182
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as W, ref as c, computed as f, onMounted as Ie, toRefs as Pe, watch as ce, onBeforeUnmount as Fe, createElementBlock as n, openBlock as r, unref as o, normalizeStyle as D, normalizeClass as ve, createBlock as x, createCommentVNode as u, createElementVNode as _, createSlots as Te, withCtx as A, renderSlot as m, normalizeProps as F, guardReactiveProps as T, createVNode as He, Fragment as V, renderList as G, toDisplayString as H, Teleport as Me } from "vue";
|
|
2
|
-
import { u as Re,
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
2
|
+
import { u as Re, a as he } from "./useNestedProp-DF7e2h1z.js";
|
|
3
|
+
import { c as ze, t as Ne, m as Ee, E as Ue, h as We, a as M, d as R, X as De, o as de, f as ge, g as Ve } from "./lib-p5pfHmOX.js";
|
|
4
|
+
import { u as Ge } from "./usePrinter-Yeu5jOfm.js";
|
|
5
|
+
import { u as je } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
+
import { u as qe } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
+
import { t as Xe } from "./themes-D3cUNuKw.js";
|
|
8
|
+
import Ye from "./Legend-_Rv594VS.js";
|
|
9
|
+
import Je from "./Title-pI68ZJsq.js";
|
|
10
|
+
import Ke from "./img-CH7J0fYg.js";
|
|
10
11
|
import { t as Qe, u as Ze } from "./useResponsive-DfdjqQps.js";
|
|
11
12
|
import { u as et, B as tt } from "./BaseScanner-BgWxam9d.js";
|
|
12
13
|
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -39,7 +40,7 @@ const lt = ["id"], st = {
|
|
|
39
40
|
}
|
|
40
41
|
},
|
|
41
42
|
setup(fe, { expose: me }) {
|
|
42
|
-
const ye = W(() => import("./PackageVersion-
|
|
43
|
+
const ye = W(() => import("./PackageVersion-DRpg18lg.js")), pe = W(() => import("./PenAndPaper-CtDMyIvW.js")), be = W(() => import("./UserOptions-Bn3u4JQu.js")), { vue_ui_bullet: ke } = Re(), O = fe, y = c(null), j = c(null), q = c(0), X = c(null), Y = c(null), we = c(0), C = c(null), B = c(null), J = c(!1), b = f({
|
|
43
44
|
get: () => i.value.hasOwnProperty("value"),
|
|
44
45
|
set: (t) => t
|
|
45
46
|
}), L = f(() => i.value.segments ? Array.isArray(i.value.segments) ? i.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|
|
@@ -77,7 +78,7 @@ segments: [
|
|
|
77
78
|
]
|
|
78
79
|
`), b.value = !1, !1)), K = f(() => !!e.value.debug);
|
|
79
80
|
function Q() {
|
|
80
|
-
if (
|
|
81
|
+
if (de(i.value) ? (ge({
|
|
81
82
|
componentName: "VueUiBullet",
|
|
82
83
|
type: "dataset",
|
|
83
84
|
debug: K.value
|
|
@@ -86,7 +87,7 @@ segments: [
|
|
|
86
87
|
datasetObject: t,
|
|
87
88
|
requiredAttributes: ["name", "from", "to"]
|
|
88
89
|
}).forEach((a) => {
|
|
89
|
-
b.value = !1,
|
|
90
|
+
b.value = !1, ge({
|
|
90
91
|
componentName: "VueUiBullet segment",
|
|
91
92
|
type: "datasetSerieAttribute",
|
|
92
93
|
property: a,
|
|
@@ -94,7 +95,7 @@ segments: [
|
|
|
94
95
|
debug: K.value
|
|
95
96
|
});
|
|
96
97
|
});
|
|
97
|
-
}) : (b.value = !1, S.value = !0),
|
|
98
|
+
}) : (b.value = !1, S.value = !0), de(i.value) || (S.value = e.value.loading), e.value.responsive) {
|
|
98
99
|
const t = Qe(() => {
|
|
99
100
|
const { width: s, height: a } = Ze({
|
|
100
101
|
chart: y.value,
|
|
@@ -115,13 +116,13 @@ segments: [
|
|
|
115
116
|
});
|
|
116
117
|
const p = c(ze());
|
|
117
118
|
function z() {
|
|
118
|
-
const t =
|
|
119
|
+
const t = he({
|
|
119
120
|
userConfig: O.config,
|
|
120
121
|
defaultConfig: ke
|
|
121
122
|
});
|
|
122
123
|
return t.theme ? {
|
|
123
|
-
...
|
|
124
|
-
userConfig:
|
|
124
|
+
...he({
|
|
125
|
+
userConfig: Xe.vue_ui_bullet[t.theme] || O.config,
|
|
125
126
|
defaultConfig: t
|
|
126
127
|
})
|
|
127
128
|
} : t;
|
|
@@ -174,7 +175,7 @@ segments: [
|
|
|
174
175
|
}
|
|
175
176
|
}
|
|
176
177
|
})
|
|
177
|
-
}), { userOptionsVisible: N, setUserOptionsVisibility: Z, keepUserOptionState: ee } =
|
|
178
|
+
}), { userOptionsVisible: N, setUserOptionsVisibility: Z, keepUserOptionState: ee } = je({ config: e.value }), { svgRef: te } = qe({ config: e.value.style.chart.title });
|
|
178
179
|
ce(() => O.config, (t) => {
|
|
179
180
|
k.value || (e.value = z()), N.value = !e.value.userOptions.showOnChartHover, Q(), q.value += 1;
|
|
180
181
|
}, { deep: !0 });
|
|
@@ -197,9 +198,9 @@ segments: [
|
|
|
197
198
|
if (!L.value) return [];
|
|
198
199
|
const t = [];
|
|
199
200
|
for (let s = 0; s < i.value.segments.length; s += 1)
|
|
200
|
-
t.push(
|
|
201
|
+
t.push(Ee(e.value.style.chart.segments.baseColor, s / i.value.segments.length));
|
|
201
202
|
return t;
|
|
202
|
-
}),
|
|
203
|
+
}), E = f(() => L.value ? {
|
|
203
204
|
min: Math.min(...i.value.segments.map((t) => t.from)),
|
|
204
205
|
max: Math.max(...i.value.segments.map((t) => t.to))
|
|
205
206
|
} : { min: 0, max: 1 }), h = c(Ce());
|
|
@@ -207,7 +208,7 @@ segments: [
|
|
|
207
208
|
t.hasOwnProperty("value") && (S.value = !1), e.value.style.chart.animation.show && !k.value ? le(t.value || 0) : h.value = t.value || 0;
|
|
208
209
|
}, { deep: !0 });
|
|
209
210
|
function Ce() {
|
|
210
|
-
return e.value.style.chart.animation.show && !k.value ?
|
|
211
|
+
return e.value.style.chart.animation.show && !k.value ? E.value.min : i.value.value || 0;
|
|
211
212
|
}
|
|
212
213
|
const ae = c(null);
|
|
213
214
|
function le(t) {
|
|
@@ -223,7 +224,7 @@ segments: [
|
|
|
223
224
|
const d = f(() => {
|
|
224
225
|
if (!L.value)
|
|
225
226
|
return [];
|
|
226
|
-
const t =
|
|
227
|
+
const t = Ue(E.value.min, E.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min), a = {
|
|
227
228
|
x: l.value.left + (i.value.target + s) / (t.max + s) * l.value.chartWidth - e.value.style.chart.target.width / 2
|
|
228
229
|
}, g = {
|
|
229
230
|
width: (h.value + s) / (t.max + s) * l.value.chartWidth
|
|
@@ -278,7 +279,7 @@ segments: [
|
|
|
278
279
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
279
280
|
paddingBottom: 6,
|
|
280
281
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
281
|
-
})), { isPrinting: re, isImaging: oe, generatePdf: ne, generateImage: ue } =
|
|
282
|
+
})), { isPrinting: re, isImaging: oe, generatePdf: ne, generateImage: ue } = Ge({
|
|
282
283
|
elementId: `bullet_${p.value}`,
|
|
283
284
|
fileName: e.value.style.chart.title.text || "vue-ui-bullet",
|
|
284
285
|
options: e.value.userOptions.print
|
|
@@ -290,7 +291,7 @@ segments: [
|
|
|
290
291
|
return d.value;
|
|
291
292
|
}
|
|
292
293
|
const P = c(!1);
|
|
293
|
-
function
|
|
294
|
+
function U() {
|
|
294
295
|
P.value = !P.value;
|
|
295
296
|
}
|
|
296
297
|
async function Be({ scale: t = 2 } = {}) {
|
|
@@ -310,7 +311,7 @@ segments: [
|
|
|
310
311
|
getImage: Be,
|
|
311
312
|
generatePdf: ne,
|
|
312
313
|
generateImage: ue,
|
|
313
|
-
toggleAnnotator:
|
|
314
|
+
toggleAnnotator: U,
|
|
314
315
|
toggleFullscreen: ie
|
|
315
316
|
}), (t, s) => (r(), n("div", {
|
|
316
317
|
ref_key: "bulletChart",
|
|
@@ -327,7 +328,7 @@ segments: [
|
|
|
327
328
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
328
329
|
color: e.value.style.chart.color,
|
|
329
330
|
active: P.value,
|
|
330
|
-
onClose:
|
|
331
|
+
onClose: U
|
|
331
332
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : u("", !0),
|
|
332
333
|
$e.value ? (r(), n("div", st, null, 512)) : u("", !0),
|
|
333
334
|
e.value.style.chart.title.text ? (r(), n("div", {
|
|
@@ -380,7 +381,7 @@ segments: [
|
|
|
380
381
|
onToggleFullscreen: ie,
|
|
381
382
|
onGeneratePdf: o(ne),
|
|
382
383
|
onGenerateImage: o(ue),
|
|
383
|
-
onToggleAnnotator:
|
|
384
|
+
onToggleAnnotator: U,
|
|
384
385
|
style: D({
|
|
385
386
|
visibility: o(ee) ? o(N) ? "visible" : "hidden" : "visible"
|
|
386
387
|
})
|
|
@@ -578,7 +579,7 @@ segments: [
|
|
|
578
579
|
o(k) ? (r(), x(tt, { key: 7 })) : u("", !0)
|
|
579
580
|
], 46, lt));
|
|
580
581
|
}
|
|
581
|
-
},
|
|
582
|
+
}, Mt = /* @__PURE__ */ at(xt, [["__scopeId", "data-v-cf97848f"]]);
|
|
582
583
|
export {
|
|
583
|
-
|
|
584
|
+
Mt as default
|
|
584
585
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { defineAsyncComponent as R, computed as g, ref as r, toRefs as Vt, watch as te, shallowRef as Ke, onMounted as Mt, onBeforeUnmount as Qe, watchEffect as Ut, nextTick as we, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as Ae, normalizeClass as T, createBlock as N, createCommentVNode as p, createElementVNode as y, createVNode as Ce, createSlots as Ze, withCtx as b, renderSlot as m, normalizeProps as B, guardReactiveProps as E, Fragment as V, renderList as M, toDisplayString as Y, resolveDynamicComponent as Wt, mergeProps as Ht, createTextVNode as et } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { t as at, 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 { u as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
2
|
+
import { c as Gt, t as Xt, D as le, o as tt, f as U, E as jt, q, d as L, X as Yt, i as ae, s as qt, F as lt, x as Jt, y as Kt, z as Qt, A as Zt } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as at, u as el } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as tl, a as ot } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as ll } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as al, B as ol } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
+
import { u as sl } from "./useTimeLabels-BGFjWgrv.js";
|
|
8
|
+
import { u as ul } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as il } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import { u as nl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
+
import rl from "./img-CH7J0fYg.js";
|
|
12
|
+
import vl from "./Title-pI68ZJsq.js";
|
|
13
|
+
import { t as dl } from "./themes-D3cUNuKw.js";
|
|
14
|
+
import { S as cl } from "./Slicer-BgpOhmb6.js";
|
|
14
15
|
import { _ as yl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
16
|
const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "width", "height"], pl = { key: 1 }, bl = ["id"], ml = ["stop-color"], xl = ["stop-color"], kl = ["stop-color"], wl = ["id"], Al = ["stop-color"], Cl = ["stop-color"], _l = ["stop-color"], zl = { key: 0 }, $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ll = ["x", "y", "font-size", "fill", "font-weight"], Il = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Rl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Fl = ["x", "y", "width", "height", "fill", "rx"], Ol = { key: 0 }, Dl = ["cx", "cy", "r", "fill"], Pl = ["cx", "cy", "r", "fill"], Nl = { key: 1 }, Bl = ["x", "y", "width", "height", "rx", "fill"], El = ["x", "y", "width", "height", "fill", "rx"], Vl = ["x", "y", "height", "width", "fill", "rx"], Ml = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Ul = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Wl = {
|
|
16
17
|
key: 4,
|
|
@@ -32,7 +33,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
setup(st, { expose: ut }) {
|
|
35
|
-
const it = R(() => import("./BaseIcon-
|
|
36
|
+
const it = R(() => import("./BaseIcon-D2f9w5Z5.js")), nt = R(() => import("./Tooltip-Clf2K3CF.js")), rt = R(() => import("./vue-ui-accordion-D-L73-T2.js")), vt = R(() => import("./DataTable-xISHA7Pu.js")), dt = R(() => import("./PenAndPaper-CtDMyIvW.js")), ct = R(() => import("./UserOptions-Bn3u4JQu.js")), yt = R(() => import("./PackageVersion-DRpg18lg.js")), ht = R(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_candlestick: ft } = tl(), h = st, oe = g(() => !!h.dataset && h.dataset.length), z = r(!1), se = r(null), A = r(Gt()), ue = r(!1), ie = r(""), ne = r(void 0), _e = r(0), $ = r(null), ze = r(null), $e = r(null), Se = r(null), Te = r(null), Le = r(null), J = r(0), Ie = r(0), Re = r(0), re = r(null), H = r(null), G = r(null), ve = r(null), e = r(ye()), { loading: S, FINAL_DATASET: C, manualLoading: de } = al({
|
|
36
37
|
...Vt(h),
|
|
37
38
|
FINAL_CONFIG: e,
|
|
38
39
|
prepareConfig: ye,
|
|
@@ -55,7 +56,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
55
56
|
[17304192e5, 890, 2330, 550, 1950, 3770],
|
|
56
57
|
[17330112e5, 1440, 3770, 890, 3200, 5100]
|
|
57
58
|
],
|
|
58
|
-
skeletonConfig:
|
|
59
|
+
skeletonConfig: Xt({
|
|
59
60
|
defaultConfig: e.value,
|
|
60
61
|
userConfig: {
|
|
61
62
|
useCssAnimation: !1,
|
|
@@ -96,7 +97,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
99
|
})
|
|
99
|
-
}), { userOptionsVisible: ce, setUserOptionsVisibility: Fe, keepUserOptionState: Oe } =
|
|
100
|
+
}), { userOptionsVisible: ce, setUserOptionsVisibility: Fe, keepUserOptionState: Oe } = ul({ config: e.value }), { svgRef: De } = il({ config: e.value.style.title });
|
|
100
101
|
function ye() {
|
|
101
102
|
const t = ot({
|
|
102
103
|
userConfig: h.config,
|
|
@@ -105,7 +106,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
105
106
|
let a = {};
|
|
106
107
|
return t.theme ? a = {
|
|
107
108
|
...ot({
|
|
108
|
-
userConfig:
|
|
109
|
+
userConfig: dl.vue_ui_candlestick[t.theme] || h.config,
|
|
109
110
|
defaultConfig: t
|
|
110
111
|
})
|
|
111
112
|
} : a = t, h.config && le(h.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = h.config.style.zoom.startIndex : a.style.zoom.startIndex = null, h.config && le(h.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = h.config.style.zoom.endIndex : a.style.zoom.endIndex = null, h.config && le(h.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = h.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, h.config && le(h.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = h.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
|
|
@@ -135,7 +136,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
135
136
|
}, 10), e.value.responsive) {
|
|
136
137
|
const a = at(() => {
|
|
137
138
|
z.value = !1;
|
|
138
|
-
const { width: l, height: o } =
|
|
139
|
+
const { width: l, height: o } = el({
|
|
139
140
|
chart: $.value,
|
|
140
141
|
title: e.value.style.title.text ? ze.value : null,
|
|
141
142
|
slicer: Se.value,
|
|
@@ -168,7 +169,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
168
169
|
Qe(() => {
|
|
169
170
|
I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect());
|
|
170
171
|
});
|
|
171
|
-
const { isPrinting: Ne, isImaging: Be, generatePdf: Ee, generateImage: Ve } =
|
|
172
|
+
const { isPrinting: Ne, isImaging: Be, generatePdf: Ee, generateImage: Ve } = ll({
|
|
172
173
|
elementId: `vue-ui-candlestick_${A.value}`,
|
|
173
174
|
fileName: e.value.style.title.text || "vue-ui-candlestick",
|
|
174
175
|
options: e.value.userOptions.print
|
|
@@ -267,7 +268,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
267
268
|
max: t,
|
|
268
269
|
min: a
|
|
269
270
|
};
|
|
270
|
-
}), _ = g(() =>
|
|
271
|
+
}), _ = g(() => jt(We.value.min, We.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
271
272
|
function K(t, a) {
|
|
272
273
|
return {
|
|
273
274
|
...t,
|
|
@@ -295,7 +296,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
295
296
|
const xt = g(() => _.value.ticks.map((t) => ({
|
|
296
297
|
y: n.value.bottom - n.value.height * mt(t),
|
|
297
298
|
value: q(t)
|
|
298
|
-
}))), kt = g(() => fe.value.map((t) => t.period)), O = g(() =>
|
|
299
|
+
}))), kt = g(() => fe.value.map((t) => t.period)), O = g(() => sl({
|
|
299
300
|
values: C.value.map((t) => t[0]),
|
|
300
301
|
maxDatapoints: C.value.length,
|
|
301
302
|
formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
@@ -322,7 +323,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
322
323
|
config: e.value
|
|
323
324
|
};
|
|
324
325
|
const l = e.value.style.tooltip.customFormat;
|
|
325
|
-
if (
|
|
326
|
+
if (Qt(l) && Zt(() => l({
|
|
326
327
|
seriesIndex: t,
|
|
327
328
|
datapoint: a,
|
|
328
329
|
series: w.value,
|
|
@@ -392,8 +393,8 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
392
393
|
f.low.value,
|
|
393
394
|
f.last.value,
|
|
394
395
|
f.volume
|
|
395
|
-
]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), x =
|
|
396
|
-
t ? t(x) :
|
|
396
|
+
]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), x = Jt(o);
|
|
397
|
+
t ? t(x) : Kt({ csvContent: x, title: e.value.style.title.text || "vue-ui-candlestick" });
|
|
397
398
|
});
|
|
398
399
|
}
|
|
399
400
|
const Q = g(() => {
|
|
@@ -464,7 +465,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
464
465
|
}
|
|
465
466
|
async function $t({ scale: t = 2 } = {}) {
|
|
466
467
|
if (!$.value) return;
|
|
467
|
-
const { width: a, height: l } = $.value.getBoundingClientRect(), o = a / l, { imageUri: x, base64: f } = await
|
|
468
|
+
const { width: a, height: l } = $.value.getBoundingClientRect(), o = a / l, { imageUri: x, base64: f } = await rl({ domElement: $.value, base64: !0, img: !0, scale: t });
|
|
468
469
|
return {
|
|
469
470
|
imageUri: x,
|
|
470
471
|
base64: f,
|
|
@@ -475,7 +476,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
475
476
|
};
|
|
476
477
|
}
|
|
477
478
|
const St = g(() => c.value.width), Tt = g(() => c.value.height);
|
|
478
|
-
|
|
479
|
+
nl({
|
|
479
480
|
timeLabelsEls: H,
|
|
480
481
|
timeLabels: O,
|
|
481
482
|
slicer: v,
|
|
@@ -567,7 +568,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
567
568
|
ref: ze,
|
|
568
569
|
style: "width:100%;background:transparent"
|
|
569
570
|
}, [
|
|
570
|
-
(s(), N(
|
|
571
|
+
(s(), N(vl, {
|
|
571
572
|
key: `title_${Re.value}`,
|
|
572
573
|
config: {
|
|
573
574
|
title: {
|
|
@@ -677,7 +678,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
677
678
|
(s(), i("svg", {
|
|
678
679
|
ref_key: "svgRef",
|
|
679
680
|
ref: De,
|
|
680
|
-
xmlns: u(
|
|
681
|
+
xmlns: u(Yt),
|
|
681
682
|
"aria-label": e.value.style.title.text || "candlestick chart",
|
|
682
683
|
class: T({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
683
684
|
viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
|
|
@@ -902,7 +903,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
902
903
|
y: n.value.top,
|
|
903
904
|
height: n.value.height <= 0 ? 1e-4 : n.value.height,
|
|
904
905
|
width: d.value <= 0 ? 1e-4 : d.value,
|
|
905
|
-
fill: ne.value === o ? u(
|
|
906
|
+
fill: ne.value === o ? u(qt)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
|
|
906
907
|
onMouseover: () => Ct(o, l),
|
|
907
908
|
onMouseleave: () => At(o, l),
|
|
908
909
|
onClick: () => wt(o, l)
|
|
@@ -1047,10 +1048,10 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
|
|
|
1047
1048
|
key: "1"
|
|
1048
1049
|
} : void 0
|
|
1049
1050
|
]), 1040)) : p("", !0),
|
|
1050
|
-
u(S) ? (s(), N(
|
|
1051
|
+
u(S) ? (s(), N(ol, { key: 8 })) : p("", !0)
|
|
1051
1052
|
], 46, hl));
|
|
1052
1053
|
}
|
|
1053
|
-
},
|
|
1054
|
+
}, na = /* @__PURE__ */ yl(Gl, [["__scopeId", "data-v-f32a2d80"]]);
|
|
1054
1055
|
export {
|
|
1055
|
-
|
|
1056
|
+
na as default
|
|
1056
1057
|
};
|