vue-data-ui 3.25.11 → 3.25.13
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-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, $t as n, Rt as r, S as i, Vt as a, X as ee, at as o, b as s, i as te, qt as ne, t as re, tn as ie, vt as ae, w as oe } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as le } from "./useConfig-
|
|
5
|
-
import { t as ue } from "./usePrinter-
|
|
4
|
+
import { t as le } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as ue } from "./usePrinter-BBBooAGP.js";
|
|
6
6
|
import { n as de, t as fe } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as c } from "./useNestedProp-
|
|
7
|
+
import { t as c } from "./useNestedProp-Bux0f4iY.js";
|
|
8
8
|
import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as me } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as he } from "./img-
|
|
11
|
-
import { n as ge } from "./Title-
|
|
10
|
+
import { t as he } from "./img-W50sC9SC.js";
|
|
11
|
+
import { n as ge } from "./Title-DeqmC-vN.js";
|
|
12
12
|
import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as be } from "./DefGrad-DVBqDjhO.js";
|
|
@@ -144,7 +144,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
144
144
|
v7e86e312: jt.value,
|
|
145
145
|
v7e395524: At.value
|
|
146
146
|
}));
|
|
147
|
-
let T = h(() => import("./PackageVersion-
|
|
147
|
+
let T = h(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), at = h(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), ot = h(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), { vue_ui_thermometer: st } = le(), { isThemeValid: ct, warnInvalidTheme: lt } = pe(), ut = Ce(), E = e, dt = Pe, D = b(ee()), O = b(null), ft = b(0), pt = b(0), mt = b(null), ht = b(null), k = b(null), A = b(null), gt = u(() => !!E.dataset && Object.keys(E.dataset).length);
|
|
148
148
|
ke(() => {
|
|
149
149
|
xt();
|
|
150
150
|
});
|
|
@@ -155,7 +155,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
155
155
|
component: "VueUiThermometer",
|
|
156
156
|
rules: [ce.noHint]
|
|
157
157
|
});
|
|
158
|
-
let _t = b(P.value.thermometer.width), F = b(P.value.height), I = b(P.value.width), vt = u(() => j.value.userOptions.useCursorPointer), yt = u(() =>
|
|
158
|
+
let _t = b(P.value.thermometer.width), F = b(P.value.height), I = b(P.value.width), vt = u(() => j.value.userOptions.useCursorPointer), yt = u(() => ie({
|
|
159
159
|
defaultConfig: {
|
|
160
160
|
userOptions: { show: !1 },
|
|
161
161
|
style: { chart: {
|
|
@@ -179,17 +179,17 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
179
179
|
to: "#CACACA"
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
|
-
skeletonConfig:
|
|
182
|
+
skeletonConfig: ie({
|
|
183
183
|
defaultConfig: j.value,
|
|
184
184
|
userConfig: yt.value
|
|
185
185
|
})
|
|
186
186
|
}), bt = u(() => j.value.debug);
|
|
187
187
|
function xt() {
|
|
188
|
-
if (
|
|
188
|
+
if (r(E.dataset) ? o({
|
|
189
189
|
componentName: "VueUiThermometer",
|
|
190
190
|
type: "dataset",
|
|
191
191
|
debug: bt.value
|
|
192
|
-
}) :
|
|
192
|
+
}) : ae({
|
|
193
193
|
datasetObject: E.dataset,
|
|
194
194
|
requiredAttributes: [
|
|
195
195
|
"value",
|
|
@@ -197,7 +197,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
197
197
|
"to"
|
|
198
198
|
]
|
|
199
199
|
}).forEach((e) => {
|
|
200
|
-
|
|
200
|
+
o({
|
|
201
201
|
componentName: "VueUiThermometer",
|
|
202
202
|
type: "datasetAttribute",
|
|
203
203
|
property: e,
|
|
@@ -223,11 +223,11 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
223
223
|
let e = c({
|
|
224
224
|
userConfig: E.config,
|
|
225
225
|
defaultConfig: st
|
|
226
|
-
}),
|
|
227
|
-
if (!
|
|
226
|
+
}), t = e.theme;
|
|
227
|
+
if (!t) return e;
|
|
228
228
|
if (!ct.value(e)) return lt(e), e;
|
|
229
229
|
let r = c({
|
|
230
|
-
userConfig: Te[
|
|
230
|
+
userConfig: Te[t] || E.config,
|
|
231
231
|
defaultConfig: e
|
|
232
232
|
}), i = c({
|
|
233
233
|
userConfig: E.config,
|
|
@@ -235,7 +235,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
235
235
|
});
|
|
236
236
|
return {
|
|
237
237
|
...i,
|
|
238
|
-
customPalette: i.customPalette.length ? i.customPalette :
|
|
238
|
+
customPalette: i.customPalette.length ? i.customPalette : n[t] || a
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
241
|
Ne(() => E.config, (e) => {
|
|
@@ -285,10 +285,10 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
285
285
|
return n = s(R.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(R.value.from)) + s(R.value.value)) / n) * J.value.thermoHeight;
|
|
286
286
|
}), At = u(() => `${Y.value}px`), jt = u(() => `${J.value.thermoHeight}px`), Mt = u(() => ut.value ? "0ms" : `${P.value.animation.speedMs}ms`), Nt = u(() => {
|
|
287
287
|
if (R.value.colors) {
|
|
288
|
-
if (!R.value.colors.from) return K(W.value[0] ||
|
|
289
|
-
if (!R.value.colors.to) return K(
|
|
290
|
-
} else return K(W.value[1] ||
|
|
291
|
-
return K(
|
|
288
|
+
if (!R.value.colors.from) return K(W.value[0] || a[0], i(R.value.colors.to), G.value || 10);
|
|
289
|
+
if (!R.value.colors.to) return K(i(R.value.colors.from), W.value[1] || a[1], G.value || 10);
|
|
290
|
+
} else return K(W.value[1] || a[1], W.value[0] || a[0], G.value || 10);
|
|
291
|
+
return K(i(R.value.colors.from), i(R.value.colors.to), G.value || 10);
|
|
292
292
|
}), Pt = u(() => {
|
|
293
293
|
let e = [], t = 0, n = J.value.thermoHeight;
|
|
294
294
|
for (let r = 0; r < n - 1; r += n / G.value) e.push({
|
|
@@ -357,7 +357,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
357
357
|
dataset: R.value
|
|
358
358
|
}));
|
|
359
359
|
}
|
|
360
|
-
let Kt = u(() => `${D.value}-title`), qt = u(() => `${D.value}-desc`), $ = u(() =>
|
|
360
|
+
let Kt = u(() => `${D.value}-title`), qt = u(() => `${D.value}-desc`), $ = u(() => te(P.value.label.formatter, R.value.value, t({
|
|
361
361
|
p: P.value.label.prefix,
|
|
362
362
|
v: R.value.value,
|
|
363
363
|
s: P.value.label.suffix,
|
|
@@ -541,7 +541,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
541
541
|
(y(), p("svg", {
|
|
542
542
|
ref_key: "svgRef",
|
|
543
543
|
ref: B,
|
|
544
|
-
xmlns: C(
|
|
544
|
+
xmlns: C(re),
|
|
545
545
|
class: _({
|
|
546
546
|
"vue-data-ui-fullscreen--on": X.value,
|
|
547
547
|
"vue-data-ui-fulscreen--off": !X.value
|
|
@@ -589,7 +589,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
589
589
|
],
|
|
590
590
|
[
|
|
591
591
|
"50%",
|
|
592
|
-
C(
|
|
592
|
+
C(ne)(e.color, 100 - N.value.gradient.intensity),
|
|
593
593
|
1
|
|
594
594
|
],
|
|
595
595
|
[
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { X as t, en as n, t as r } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as i, t as a } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as o } from "./useConfig-
|
|
5
|
-
import { t as s } from "./useNestedProp-
|
|
6
|
-
import { n as c } from "./Title-
|
|
4
|
+
import { t as o } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as s } from "./useNestedProp-Bux0f4iY.js";
|
|
6
|
+
import { n as c } from "./Title-DeqmC-vN.js";
|
|
7
7
|
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
8
|
import { l as ee, t as te } from "./useResponsive-ZtArZtUf.js";
|
|
9
|
-
import { t as u } from "./BaseIcon-
|
|
9
|
+
import { t as u } from "./BaseIcon-Dlz7gfx0.js";
|
|
10
10
|
import { t as ne } from "./DefGrad-DVBqDjhO.js";
|
|
11
11
|
import { t as re } from "./useChartAccessibility-DYqac8yF.js";
|
|
12
12
|
import { computed as d, createBlock as ie, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineAsyncComponent as ae, guardReactiveProps as g, mergeProps as oe, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as se, onMounted as ce, openBlock as y, ref as b, renderSlot as x, shallowRef as le, toDisplayString as ue, unref as S, watch as de } from "vue";
|
|
@@ -103,33 +103,33 @@ var fe = class {
|
|
|
103
103
|
"lap"
|
|
104
104
|
],
|
|
105
105
|
setup(e, { expose: l, emit: C }) {
|
|
106
|
-
let w = ae(() => import("./PackageVersion-
|
|
106
|
+
let w = ae(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), { vue_ui_timer: ke } = o(), T = e, E = C, D = b(null), O = b(null), k = b(null), A = le(null), j = le(null), M = b(t()), N = b(0);
|
|
107
107
|
ce(() => {
|
|
108
108
|
P();
|
|
109
109
|
});
|
|
110
110
|
function P() {
|
|
111
111
|
if (F.value.responsive) {
|
|
112
112
|
let e = ee(() => {
|
|
113
|
-
let { width: e, height:
|
|
113
|
+
let { width: e, height: t } = te({
|
|
114
114
|
chart: D.value,
|
|
115
115
|
title: F.value.style.title.text ? O.value : null,
|
|
116
116
|
legend: k.value
|
|
117
117
|
});
|
|
118
118
|
requestAnimationFrame(() => {
|
|
119
|
-
B.value.width = e, B.value.height =
|
|
120
|
-
relator: Math.min(e,
|
|
119
|
+
B.value.width = e, B.value.height = t, F.value.responsiveProportionalSizing ? (B.value.tracker.core = n({
|
|
120
|
+
relator: Math.min(e, t),
|
|
121
121
|
adjuster: F.value.style.width,
|
|
122
122
|
source: 6 * L.value.radiusRatio,
|
|
123
123
|
threshold: 1,
|
|
124
124
|
fallback: 1
|
|
125
|
-
}), B.value.tracker.aura =
|
|
126
|
-
relator: Math.min(e,
|
|
125
|
+
}), B.value.tracker.aura = n({
|
|
126
|
+
relator: Math.min(e, t),
|
|
127
127
|
adjuster: F.value.style.width,
|
|
128
128
|
source: 12 * L.value.aura.radiusRatio,
|
|
129
129
|
threshold: 1,
|
|
130
130
|
fallback: 1
|
|
131
|
-
}), B.value.label =
|
|
132
|
-
relator: Math.min(e,
|
|
131
|
+
}), B.value.label = n({
|
|
132
|
+
relator: Math.min(e, t),
|
|
133
133
|
adjuster: F.value.style.width,
|
|
134
134
|
source: I.value.label.fontSize,
|
|
135
135
|
threshold: 10,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, Jt as n, Rt as r, X as i, at as a, b as o, i as s, t as c, tn as l } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as ee, t as te } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ne } from "./useConfig-
|
|
5
|
-
import { t as re } from "./usePrinter-
|
|
4
|
+
import { t as ne } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as re } from "./usePrinter-BBBooAGP.js";
|
|
6
6
|
import { n as ie, t as ae } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as u } from "./useNestedProp-
|
|
7
|
+
import { t as u } from "./useNestedProp-Bux0f4iY.js";
|
|
8
8
|
import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as se } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as ce } from "./img-
|
|
11
|
-
import { n as le } from "./Title-
|
|
10
|
+
import { t as ce } from "./img-W50sC9SC.js";
|
|
11
|
+
import { n as le } from "./Title-DeqmC-vN.js";
|
|
12
12
|
import { t as ue } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as de, t as fe } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
15
|
import { t as me } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
16
|
import { t as he } from "./usePrefersMotion-BC-CsqR1.js";
|
|
17
17
|
import { t as ge } from "./vue_ui_tiremarks-CdEPieWV.js";
|
|
18
|
-
import { Fragment as _e, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as ve, createSlots as ye, createVNode as be, defineAsyncComponent as
|
|
18
|
+
import { Fragment as _e, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as ve, createSlots as ye, createVNode as be, defineAsyncComponent as xe, guardReactiveProps as h, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as Se, openBlock as y, ref as b, renderList as Ce, renderSlot as x, toDisplayString as S, toRefs as we, unref as C, watch as Te, withCtx as w } from "vue";
|
|
19
19
|
//#region src/components/vue-ui-tiremarks.vue
|
|
20
20
|
var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
21
21
|
"xmlns",
|
|
@@ -65,14 +65,14 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
65
65
|
},
|
|
66
66
|
emits: ["copyAlt"],
|
|
67
67
|
setup(e, { expose: ue, emit: Ee }) {
|
|
68
|
-
let T =
|
|
68
|
+
let T = xe(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), Be = xe(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), Ve = xe(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), { vue_ui_tiremarks: He } = ne(), { isThemeValid: Ue, warnInvalidTheme: We } = oe(), E = he(), D = e, Ge = Ee, Ke = d(() => !!D.dataset && Object.keys(D.dataset).length), O = b(i()), k = b(null), qe = b(null), Je = b(null), Ye = b(null), Xe = b(0), Ze = b(0), A = b(null), j = b(null), M = b(B()), N = d(() => M.value.userOptions), P = d(() => M.value.style.chart.layout), F = d(() => M.value.style.chart);
|
|
69
69
|
ee({
|
|
70
70
|
config: () => M.value,
|
|
71
71
|
dataset: () => D.dataset,
|
|
72
72
|
component: "VueUiTiremarks",
|
|
73
73
|
rules: [te.noHint]
|
|
74
74
|
});
|
|
75
|
-
let Qe = d(() => M.value.userOptions.useCursorPointer), $e = d(() =>
|
|
75
|
+
let Qe = d(() => M.value.userOptions.useCursorPointer), $e = d(() => l({
|
|
76
76
|
defaultConfig: {
|
|
77
77
|
userOptions: { show: !1 },
|
|
78
78
|
style: { chart: {
|
|
@@ -91,7 +91,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
91
91
|
FINAL_CONFIG: M,
|
|
92
92
|
prepareConfig: B,
|
|
93
93
|
skeletonDataset: D.config?.skeletonDataset ?? { percentage: 50 },
|
|
94
|
-
skeletonConfig:
|
|
94
|
+
skeletonConfig: l({
|
|
95
95
|
defaultConfig: M.value,
|
|
96
96
|
userConfig: $e.value
|
|
97
97
|
})
|
|
@@ -119,7 +119,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
119
119
|
elementId: O.value,
|
|
120
120
|
fileName: F.value.title.text || "vue-ui-tiremarks",
|
|
121
121
|
options: M.value.userOptions.print
|
|
122
|
-
}), it = d(() => M.value.userOptions.show && !F.value.title.text), U = b(F.value.animation.use && !E.value ? 0 :
|
|
122
|
+
}), it = d(() => M.value.userOptions.show && !F.value.title.text), U = b(F.value.animation.use && !E.value ? 0 : o(L.value.percentage));
|
|
123
123
|
Te(() => L.value, (e) => {
|
|
124
124
|
F.value.animation.use && !E.value ? at(e.percentage) : U.value = e.percentage || 0;
|
|
125
125
|
}, { deep: !0 }), Se(() => {
|
|
@@ -134,7 +134,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
134
134
|
}
|
|
135
135
|
let ot = d(() => M.value.debug);
|
|
136
136
|
function st() {
|
|
137
|
-
if (
|
|
137
|
+
if (r(D.dataset) && a({
|
|
138
138
|
componentName: "VueUiTiremarks",
|
|
139
139
|
type: "dataset",
|
|
140
140
|
debug: ot.value
|
|
@@ -273,7 +273,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
273
273
|
dataset: L.value
|
|
274
274
|
}));
|
|
275
275
|
}
|
|
276
|
-
let bt = d(() => `${O.value}-title`), xt = d(() => `${O.value}-desc`), St = d(() =>
|
|
276
|
+
let bt = d(() => `${O.value}-title`), xt = d(() => `${O.value}-desc`), St = d(() => s(F.value.percentage.formatter, U.value, t({
|
|
277
277
|
v: U.value,
|
|
278
278
|
s: "%",
|
|
279
279
|
r: F.value.percentage.rounding
|
|
@@ -289,8 +289,8 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
289
289
|
}), (e, t) => (y(), m("div", {
|
|
290
290
|
ref_key: "tiremarksChart",
|
|
291
291
|
ref: k,
|
|
292
|
-
class:
|
|
293
|
-
style:
|
|
292
|
+
class: g(`vue-data-ui-component vue-ui-tiremarks ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
293
|
+
style: v(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${F.value.backgroundColor}`),
|
|
294
294
|
id: O.value,
|
|
295
295
|
onMouseenter: t[0] ||= () => C(et)(!0),
|
|
296
296
|
onMouseleave: t[1] ||= () => C(et)(!1)
|
|
@@ -306,11 +306,11 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
306
306
|
onClose: dt
|
|
307
307
|
}, {
|
|
308
308
|
"annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
309
|
-
"annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color",
|
|
310
|
-
"annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw",
|
|
311
|
-
"annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo",
|
|
312
|
-
"annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo",
|
|
313
|
-
"annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete",
|
|
309
|
+
"annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
|
|
310
|
+
"annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
|
|
311
|
+
"annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
|
|
312
|
+
"annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
|
|
313
|
+
"annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
|
|
314
314
|
_: 3
|
|
315
315
|
}, 8, [
|
|
316
316
|
"svgRef",
|
|
@@ -374,11 +374,11 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
374
374
|
onGenerateSvg: C(_t),
|
|
375
375
|
onToggleAnnotator: dt,
|
|
376
376
|
onCopyAlt: yt,
|
|
377
|
-
style:
|
|
377
|
+
style: v({ visibility: C(tt) ? C(R) ? "visible" : "hidden" : "visible" })
|
|
378
378
|
}, ye({ _: 2 }, [
|
|
379
379
|
e.$slots.menuIcon ? {
|
|
380
380
|
name: "menuIcon",
|
|
381
|
-
fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon",
|
|
381
|
+
fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
|
|
382
382
|
isOpen: t,
|
|
383
383
|
color: n
|
|
384
384
|
})), void 0, !0)]),
|
|
@@ -401,7 +401,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
401
401
|
} : void 0,
|
|
402
402
|
e.$slots.optionFullscreen ? {
|
|
403
403
|
name: "optionFullscreen",
|
|
404
|
-
fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen",
|
|
404
|
+
fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
|
|
405
405
|
toggleFullscreen: t,
|
|
406
406
|
isFullscreen: n
|
|
407
407
|
})), void 0, !0)]),
|
|
@@ -409,7 +409,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
409
409
|
} : void 0,
|
|
410
410
|
e.$slots.optionAnnotator ? {
|
|
411
411
|
name: "optionAnnotator",
|
|
412
|
-
fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator",
|
|
412
|
+
fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
|
|
413
413
|
toggleAnnotator: t,
|
|
414
414
|
isAnnotator: n
|
|
415
415
|
})), void 0, !0)]),
|
|
@@ -417,7 +417,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
417
417
|
} : void 0,
|
|
418
418
|
e.$slots.optionAltCopy ? {
|
|
419
419
|
name: "optionAltCopy",
|
|
420
|
-
fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy",
|
|
420
|
+
fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
|
|
421
421
|
key: "6"
|
|
422
422
|
} : void 0,
|
|
423
423
|
e.$slots["custom-menu-before"] ? {
|
|
@@ -458,13 +458,13 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
458
458
|
(y(), m("svg", {
|
|
459
459
|
ref_key: "svgRef",
|
|
460
460
|
ref: z,
|
|
461
|
-
xmlns: C(
|
|
462
|
-
class:
|
|
461
|
+
xmlns: C(c),
|
|
462
|
+
class: g({
|
|
463
463
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
464
464
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
465
465
|
}),
|
|
466
466
|
viewBox: `0 0 ${q.value} ${J.value}`,
|
|
467
|
-
style:
|
|
467
|
+
style: v(`max-width:100%; overflow: visible; background:transparent;color:${F.value.color}`),
|
|
468
468
|
role: "img",
|
|
469
469
|
"aria-labelledby": bt.value,
|
|
470
470
|
"aria-describedby": xt.value
|
|
@@ -486,7 +486,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
486
486
|
stroke: U.value >= t ? e.color : P.value.inactiveColor,
|
|
487
487
|
"stroke-linecap": "round",
|
|
488
488
|
fill: "none",
|
|
489
|
-
class:
|
|
489
|
+
class: g({ "vue-ui-tick-animated": F.value.animation.use && !C(E) && t <= U.value })
|
|
490
490
|
}, null, 10, Ne))), 256))])) : (y(), m("g", Pe, [(y(!0), m(_e, null, Ce(lt.value, (e, t) => (y(), m("line", {
|
|
491
491
|
x1: e.x1,
|
|
492
492
|
y1: e.y1,
|
|
@@ -525,7 +525,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
|
|
|
525
525
|
isPrintingSvg: C(gt)
|
|
526
526
|
} }, void 0, !0)
|
|
527
527
|
], 14, Oe)),
|
|
528
|
-
e.$slots.watermark ? (y(), m("div", ze, [x(e.$slots, "watermark",
|
|
528
|
+
e.$slots.watermark ? (y(), m("div", ze, [x(e.$slots, "watermark", _(h({ isPrinting: C(V) || C(H) || C(ht) || C(gt) })), void 0, !0)])) : p("", !0),
|
|
529
529
|
e.$slots.source ? (y(), m("div", {
|
|
530
530
|
key: 5,
|
|
531
531
|
ref_key: "source",
|