vue-data-ui 3.22.3 → 3.22.4
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-Ct8T_Lyp.js → Arrow-CgzmXCW_.js} +1 -1
- package/dist/{BaseDraggableDialog-DLuXvUbs.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
- package/dist/{BaseIcon-CX_ChMz-.js → BaseIcon-xBuW2jjI.js} +1 -1
- package/dist/{BaseLegendToggle-qL0O9ooF.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
- package/dist/{BaseZoomControls-BI5sLb6d.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
- package/dist/{ColorPicker-CwyWzPx_.js → ColorPicker-Usv7badH.js} +2 -2
- package/dist/{DataTable-KEMekOVu.js → DataTable-PidUPOit.js} +2 -2
- package/dist/Legend-DXOzbXb-.js +156 -0
- package/dist/{NonSvgPenAndPaper-CeNJtWON.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
- package/dist/{PackageVersion-D-_GVhxY.js → PackageVersion-Cm-3hwIF.js} +1 -1
- package/dist/{PenAndPaper-DkZYRnrW.js → PenAndPaper-ISUbDKXq.js} +11 -11
- package/dist/{Shape-S-7v8SAE.js → Shape-BnF9aMPX.js} +3 -3
- package/dist/Slicer-hEvKOLw3.js +1145 -0
- package/dist/{SlicerPreview-Co-V9YBf.js → SlicerPreview-BDI-aCXE.js} +36 -35
- package/dist/{SparkTooltip-D2BBjZKc.js → SparkTooltip-DaWSTzfA.js} +1 -1
- package/dist/{Title-Cxgd_JyY.js → Title-DDEEO-Nr.js} +1 -1
- package/dist/{Tooltip-BqdN_ZBE.js → Tooltip-BhKov422.js} +1 -1
- package/dist/{UserOptions-WIxTs7Xf.js → UserOptions-BxT1XHzN.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-DsEPQbU1.js → dom-to-png-ZOysoMwu.js} +1 -1
- package/dist/exposedLib-C2U48XK7.js +19 -0
- package/dist/img-B29J8tV5.js +129 -0
- package/dist/{labelUtils-WDjGa7EP.js → labelUtils-BFcL_t-A.js} +1 -1
- package/dist/{lib-NmjQazSn.js → lib-CuwHGt1j.js} +142 -123
- package/dist/{package-KQdsc0if.js → package-CRlwXCDr.js} +1 -1
- package/dist/{pdf-BVocBz-Y.js → pdf-ymYt9Lee.js} +1 -1
- package/dist/{render-common-BUbY65H0.js → render-common-D6ny-Fwu.js} +22 -22
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +59 -2
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DBv7sw1h.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
- package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
- package/dist/{useNestedProp-C9viY7oU.js → useNestedProp-BjkuFaz1.js} +1 -1
- package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
- package/dist/{usePrinter-DRYgV-XS.js → usePrinter-C0wAS8yc.js} +3 -3
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-CDgunUso.js → vue-data-ui-DTWqd0R2.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
- package/dist/{vue-ui-accordion-vYLqcJJd.js → vue-ui-accordion-B64IJyPU.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CCAcpoA2.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
- package/dist/{vue-ui-annotator-CmjcPCRy.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
- package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
- package/dist/{vue-ui-bump-UWs3Fols.js → vue-ui-bump-BD0Uq3As.js} +259 -259
- package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
- package/dist/{vue-ui-carousel-table-DiPXX1eV.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
- package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
- package/dist/{vue-ui-chord-MB6BktFk.js → vue-ui-chord-BZhXsZXp.js} +53 -53
- package/dist/{vue-ui-circle-pack-D4n5rKtA.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
- package/dist/{vue-ui-cursor-Cu_HGeoy.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
- package/dist/{vue-ui-dag-DQlbTBPB.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
- package/dist/{vue-ui-dashboard-BD-M8q8G.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
- package/dist/{vue-ui-digits-C21SWRDQ.js → vue-ui-digits-07IxTlNO.js} +4 -4
- package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
- package/dist/{vue-ui-donut-Djiw7Rz1.js → vue-ui-donut-C5oRCxAO.js} +193 -193
- package/dist/{vue-ui-donut-evolution-BkI06V1N.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
- package/dist/{vue-ui-dumbbell-Yn79Apx7.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
- package/dist/{vue-ui-flow-DfWx60DS.js → vue-ui-flow-R_dLE1WS.js} +72 -72
- package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
- package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
- package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
- package/dist/{vue-ui-geo-DdB-gJBh.js → vue-ui-geo-DVT9XEC3.js} +18 -18
- package/dist/{vue-ui-gizmo-AMWvrL1N.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
- package/dist/{vue-ui-heatmap-8cmpKIN5.js → vue-ui-heatmap-BCFId15K.js} +293 -293
- package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
- package/dist/{vue-ui-horizontal-bar-D32lWjQJ.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
- package/dist/{vue-ui-kpi-B3FdCV-T.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
- package/dist/{vue-ui-mini-loader-Bk-5TDbT.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
- package/dist/{vue-ui-molecule-B4fNC1Bk.js → vue-ui-molecule-2pfoR63d.js} +213 -213
- package/dist/{vue-ui-mood-radar-_mw9D1wg.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
- package/dist/{vue-ui-nested-donuts-DPhDz07R.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
- package/dist/{vue-ui-onion-Cob0y2FO.js → vue-ui-onion-CzXx3Rme.js} +293 -293
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
- package/dist/{vue-ui-quadrant-D6wv44Hs.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
- package/dist/{vue-ui-quick-chart-EeT-lzAq.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
- package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
- package/dist/{vue-ui-rating-DlMTyra_.js → vue-ui-rating-CRziryE2.js} +22 -22
- package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
- package/dist/{vue-ui-ridgeline-VO2-zPGd.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
- package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
- package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
- package/dist/{vue-ui-skeleton-ImkpUdwJ.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
- package/dist/{vue-ui-smiley-Ct3ijoOw.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
- package/dist/{vue-ui-spark-trend-_b2gVafQ.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
- package/dist/{vue-ui-sparkbar-CRH8b1fM.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
- package/dist/{vue-ui-sparkgauge-Z_lgEp7i.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
- package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
- package/dist/{vue-ui-sparkline-B-QS62r4.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
- package/dist/{vue-ui-sparkstackbar-DICmDZrB.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
- package/dist/{vue-ui-stackbar-BRqqDp3a.js → vue-ui-stackbar-Dqs7_g8D.js} +147 -147
- package/dist/{vue-ui-stackline-DVY_4Fmh.js → vue-ui-stackline-IRjugedp.js} +417 -417
- package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
- package/dist/{vue-ui-table-ByFPF5fJ.js → vue-ui-table-Bqi9XNvY.js} +64 -64
- package/dist/{vue-ui-table-heatmap-DfLfYJiR.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
- package/dist/{vue-ui-table-sparkline-Gi1MQO-E.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
- package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
- package/dist/{vue-ui-timer-CrIq3NmZ.js → vue-ui-timer-9CDcd-gP.js} +6 -6
- package/dist/{vue-ui-tiremarks-BB3VV4tK.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
- package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
- package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
- package/dist/{vue-ui-wheel-DZq3C6wh.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
- package/dist/{vue-ui-word-cloud-BNK1nfDn.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
- package/dist/{vue-ui-world-D3F772fb.js → vue-ui-world-vrGT5g1H.js} +127 -127
- package/dist/{vue-ui-xy-f56XjeNS.js → vue-ui-xy-Cb7u46JN.js} +410 -410
- package/dist/{vue-ui-xy-DOnq4Na2.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
- package/dist/{vue-ui-xy-canvas-OajdJbzS.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
- package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
- package/package.json +1 -1
- package/dist/Legend--t7Mbp9Z.js +0 -115
- package/dist/Slicer-CpBaahpI.js +0 -1144
- package/dist/exposedLib-BkRxoSB9.js +0 -19
- package/dist/img-CyjhDDaM.js +0 -74
- package/dist/vue-ui-3d-bar-BrSoUZQ_.js +0 -1757
- package/dist/vue-ui-bullet-BYrQAbvp.js +0 -710
- package/dist/vue-ui-candlestick-CJw3R21J.js +0 -1826
- package/dist/vue-ui-chestnut-DJkyr3uK.js +0 -2010
- package/dist/vue-ui-donut-BPOS4Aoe.js +0 -2410
- package/dist/vue-ui-funnel-hsmCJgE5.js +0 -777
- package/dist/vue-ui-galaxy-BC-D8ZZ6.js +0 -1077
- package/dist/vue-ui-gauge-CnDTR46T.js +0 -920
- package/dist/vue-ui-history-plot-ZcraxoDy.js +0 -1554
- package/dist/vue-ui-parallel-coordinate-plot-BPyfEQEf.js +0 -1416
- package/dist/vue-ui-radar-DNid-gVu.js +0 -1281
- package/dist/vue-ui-relation-circle-DALWYwuI.js +0 -924
- package/dist/vue-ui-rings-CGU8bnut.js +0 -1246
- package/dist/vue-ui-scatter-CDy2LLD_.js +0 -2413
- package/dist/vue-ui-sparkhistogram-DzukoeRA.js +0 -560
- package/dist/vue-ui-strip-plot-DUv9SsML.js +0 -1340
- package/dist/vue-ui-thermometer-MfzmVt9N.js +0 -763
- package/dist/vue-ui-treemap-CeE1TT6j.js +0 -1587
- package/dist/vue-ui-waffle-KDOR3fMN.js +0 -1362
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as f } from "./useConfig-
|
|
4
|
-
import { t as p } from "./usePrinter-
|
|
2
|
+
import { Et as t, Gt as n, Ot as r, Q as i, Rt as a, Tt as o, W as s, i as c, q as l, t as u, v as d } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as f } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as p } from "./usePrinter-C0wAS8yc.js";
|
|
5
5
|
import { n as m, t as h } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as g } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as _ } from "./useNestedProp-
|
|
7
|
+
import { t as _ } from "./useNestedProp-BjkuFaz1.js";
|
|
8
8
|
import { t as v } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as y } from "./img-
|
|
10
|
-
import { n as b } from "./Title-
|
|
9
|
+
import { t as y } from "./img-B29J8tV5.js";
|
|
10
|
+
import { n as b } from "./Title-DDEEO-Nr.js";
|
|
11
11
|
import { t as x } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as ee } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as te } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -119,7 +119,7 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
119
119
|
c5f7f2ee: It.value,
|
|
120
120
|
c5f82dc8: Lt.value
|
|
121
121
|
}));
|
|
122
|
-
let Re = ce(() => import("./PenAndPaper-
|
|
122
|
+
let Re = ce(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), ze = ce(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), Be = ce(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), { vue_ui_wheel: Ve } = f(), { isThemeValid: He, warnInvalidTheme: Ue } = v(), R = re(), z = e, We = _e, Ge = w(() => !!z.dataset && Object.keys(z.dataset).length), B = N(s()), Ke = N(null), qe = N(0), V = N(null), Je = N(null), Ye = N(null), Xe = N(null), Ze = N(0), Qe = N(!1), $e = N(!1), H = N(st()), et = w(() => H.value.userOptions.useCursorPointer), tt = w(() => n({
|
|
123
123
|
defaultConfig: {
|
|
124
124
|
userOptions: { show: !1 },
|
|
125
125
|
style: { chart: {
|
|
@@ -140,7 +140,7 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
140
140
|
FINAL_CONFIG: H,
|
|
141
141
|
prepareConfig: st,
|
|
142
142
|
skeletonDataset: z.config?.skeletonDataset ?? { percentage: 50 },
|
|
143
|
-
skeletonConfig:
|
|
143
|
+
skeletonConfig: n({
|
|
144
144
|
defaultConfig: H.value,
|
|
145
145
|
userConfig: tt.value
|
|
146
146
|
})
|
|
@@ -194,7 +194,7 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
194
194
|
});
|
|
195
195
|
let mt = w(() => !!H.value.debug);
|
|
196
196
|
function ht() {
|
|
197
|
-
if (
|
|
197
|
+
if (r(z.dataset) && i({
|
|
198
198
|
componentName: "VueUiWheel",
|
|
199
199
|
type: "dataset",
|
|
200
200
|
debug: mt.value
|
|
@@ -453,7 +453,7 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
453
453
|
});
|
|
454
454
|
}
|
|
455
455
|
return e;
|
|
456
|
-
}), kt = w(() =>
|
|
456
|
+
}), kt = w(() => t({ series: Ot.value.map((e) => ({
|
|
457
457
|
name: "",
|
|
458
458
|
value: 1,
|
|
459
459
|
color: e.color
|
|
@@ -528,8 +528,8 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
528
528
|
dataset: U.value
|
|
529
529
|
}));
|
|
530
530
|
}
|
|
531
|
-
let Wt = w(() => `${B.value}-title`), Gt = w(() => `${B.value}-desc`), Kt = w(() => c(H.value.style.chart.layout.percentage.formatter,
|
|
532
|
-
v:
|
|
531
|
+
let Wt = w(() => `${B.value}-title`), Gt = w(() => `${B.value}-desc`), Kt = w(() => c(H.value.style.chart.layout.percentage.formatter, d(q.value), l({
|
|
532
|
+
v: d(q.value),
|
|
533
533
|
s: "%",
|
|
534
534
|
r: H.value.style.chart.layout.percentage.rounding
|
|
535
535
|
}))), qt = w(() => H.value.style.chart.title.text || ""), Jt = w(() => nt.value ? "..." : `${Kt.value}`);
|
|
@@ -541,7 +541,7 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
541
541
|
toggleAnnotator: Nt,
|
|
542
542
|
toggleFullscreen: jt,
|
|
543
543
|
copyAlt: Ut
|
|
544
|
-
}), (e,
|
|
544
|
+
}), (e, t) => (M(), D("div", {
|
|
545
545
|
class: k(["vue-ui-wheel", {
|
|
546
546
|
"vue-data-ui-component": !0,
|
|
547
547
|
"vue-ui-wheel-3d-wrap": H.value.layout === "3d"
|
|
@@ -550,8 +550,8 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
550
550
|
ref: V,
|
|
551
551
|
id: B.value,
|
|
552
552
|
style: j(`font-family:${H.value.style.fontFamily};width:100%; text-align:center;background:${H.value.style.chart.backgroundColor};${H.value.responsive ? "height:100%" : ""}`),
|
|
553
|
-
onMouseenter:
|
|
554
|
-
onMouseleave:
|
|
553
|
+
onMouseenter: t[0] ||= () => I(it)(!0),
|
|
554
|
+
onMouseleave: t[1] ||= () => I(it)(!1)
|
|
555
555
|
}, [
|
|
556
556
|
H.value.userOptions.buttons.annotator ? (M(), T(I(Re), {
|
|
557
557
|
key: 0,
|
|
@@ -713,7 +713,7 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
713
713
|
(M(), D("svg", {
|
|
714
714
|
ref_key: "svgRef",
|
|
715
715
|
ref: ot,
|
|
716
|
-
xmlns: I(
|
|
716
|
+
xmlns: I(u),
|
|
717
717
|
class: k({
|
|
718
718
|
"vue-data-ui-fullscreen--on": At.value,
|
|
719
719
|
"vue-data-ui-fulscreen--off": !At.value,
|
|
@@ -753,18 +753,18 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
753
753
|
"stroke-width": H.value.style.chart.layout.innerCircle.strokeWidth,
|
|
754
754
|
fill: "none"
|
|
755
755
|
}, null, 8, we)) : E("", !0),
|
|
756
|
-
H.value.layout === "3d" ? (M(), D(C, { key: 3 }, [H.value.style.chart.layout.wheel.ticks.type === "classic" ? (M(), D("g", Te, [(M(!0), D(C, null, P($.value, (e) => (M(), D("g", null, [(M(!0), D(C, null, P(bt.value || [], (
|
|
757
|
-
key:
|
|
758
|
-
x1:
|
|
759
|
-
y1:
|
|
760
|
-
x2:
|
|
761
|
-
y2:
|
|
762
|
-
stroke: I(
|
|
756
|
+
H.value.layout === "3d" ? (M(), D(C, { key: 3 }, [H.value.style.chart.layout.wheel.ticks.type === "classic" ? (M(), D("g", Te, [(M(!0), D(C, null, P($.value, (e) => (M(), D("g", null, [(M(!0), D(C, null, P(bt.value || [], (t) => (M(), D("line", {
|
|
757
|
+
key: t.i,
|
|
758
|
+
x1: t.x1,
|
|
759
|
+
y1: t.y1 - e,
|
|
760
|
+
x2: t.x2,
|
|
761
|
+
y2: t.y2 - e,
|
|
762
|
+
stroke: I(o)(t.color, .25 * e / 5),
|
|
763
763
|
"stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
|
|
764
764
|
"stroke-linecap": H.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
|
|
765
765
|
class: k({
|
|
766
766
|
"vue-ui-wheel-tick": !0,
|
|
767
|
-
"vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) &&
|
|
767
|
+
"vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && t.i * Q.value <= q.value
|
|
768
768
|
})
|
|
769
769
|
}, null, 10, Ee))), 128))]))), 256)), (M(!0), D(C, null, P(bt.value || [], (e) => (M(), D("line", {
|
|
770
770
|
key: e.i,
|
|
@@ -788,17 +788,17 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
788
788
|
"stroke-linecap": "round",
|
|
789
789
|
"stroke-linejoin": "round",
|
|
790
790
|
class: "vue-ui-wheel-tick"
|
|
791
|
-
}, null, 8, ke))), 128)), (M(!0), D(C, null, P(Et.value(-e) || [], (
|
|
792
|
-
key:
|
|
793
|
-
d:
|
|
794
|
-
fill: I(
|
|
791
|
+
}, null, 8, ke))), 128)), (M(!0), D(C, null, P(Et.value(-e) || [], (t) => (M(), D("path", {
|
|
792
|
+
key: t.i,
|
|
793
|
+
d: t.d,
|
|
794
|
+
fill: I(o)(t.fill, .5 * e / $.value),
|
|
795
795
|
stroke: H.value.style.chart.layout.wheel.ticks.stroke,
|
|
796
796
|
"stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth,
|
|
797
797
|
"stroke-linecap": "round",
|
|
798
798
|
"stroke-linejoin": "round",
|
|
799
799
|
class: k({
|
|
800
800
|
"vue-ui-wheel-tick": !0,
|
|
801
|
-
"vue-ui-tick-animated-3d": H.value.style.chart.animation.use && !I(R) &&
|
|
801
|
+
"vue-ui-tick-animated-3d": H.value.style.chart.animation.use && !I(R) && t.i * Q.value <= q.value
|
|
802
802
|
})
|
|
803
803
|
}, null, 10, Ae))), 128))]))), 256)), ae("g", null, [(M(!0), D(C, null, P(Et.value(-$.value) || [], (e) => (M(), D("path", {
|
|
804
804
|
key: e.i,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as g } from "./useConfig-
|
|
4
|
-
import { t as _ } from "./usePrinter-
|
|
2
|
+
import { G as t, Gt as n, Ot as r, Q as i, Ut as a, W as o, X as s, b as c, jt as l, q as u, t as d, ut as f, v as p, vt as m, w as h } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as g } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as _ } from "./usePrinter-C0wAS8yc.js";
|
|
5
5
|
import { n as v, t as y } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ee } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as te } from "./useNestedProp-
|
|
7
|
+
import { t as te } from "./useNestedProp-BjkuFaz1.js";
|
|
8
8
|
import { t as b } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as x } from "./img-
|
|
10
|
-
import { n as S } from "./Title-
|
|
9
|
+
import { t as x } from "./img-B29J8tV5.js";
|
|
10
|
+
import { n as S } from "./Title-DDEEO-Nr.js";
|
|
11
11
|
import { t as C } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { r as w } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as T } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -16,7 +16,7 @@ import { t as E } from "./useUserOptionState-DK-_1ddE.js";
|
|
|
16
16
|
import { t as re } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
17
|
import { t as D } from "./usePanZoom-CYU3B4T3.js";
|
|
18
18
|
import { t as ie } from "./vue_ui_word_cloud-C-qIMNLu.js";
|
|
19
|
-
import { t as ae } from "./BaseZoomControls-
|
|
19
|
+
import { t as ae } from "./BaseZoomControls-Cg9o2J-q.js";
|
|
20
20
|
import { Fragment as oe, computed as O, createBlock as k, createCommentVNode as A, createElementBlock as j, createElementVNode as M, createSlots as se, createTextVNode as ce, createVNode as le, defineAsyncComponent as N, guardReactiveProps as P, mergeProps as ue, nextTick as de, normalizeClass as fe, normalizeProps as F, normalizeStyle as pe, onBeforeUnmount as me, onMounted as he, openBlock as I, ref as L, renderList as ge, renderSlot as R, resolveDynamicComponent as _e, shallowRef as ve, toDisplayString as ye, toRefs as be, unref as z, watch as xe, withCtx as B } from "vue";
|
|
21
21
|
//#region src/wordcloud.js
|
|
22
22
|
var Se = {
|
|
@@ -645,17 +645,17 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
645
645
|
},
|
|
646
646
|
emits: ["copyAlt"],
|
|
647
647
|
setup(e, { expose: C, emit: Se }) {
|
|
648
|
-
let Ce = N(() => import("./Tooltip-
|
|
648
|
+
let Ce = N(() => import("./Tooltip-BhKov422.js")), we = N(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), Te = N(() => import("./vue-ui-accordion-B64IJyPU.js").then((e) => e.n)), Ee = N(() => import("./DataTable-PidUPOit.js")), De = N(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), Oe = N(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), ke = N(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), Ae = N(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), { vue_ui_word_cloud: je } = g(), { isThemeValid: Me, warnInvalidTheme: Ne } = b(), V = e, Pe = Se, Fe = O({
|
|
649
649
|
get() {
|
|
650
650
|
return !!V.dataset && V.dataset.length;
|
|
651
651
|
},
|
|
652
652
|
set(e) {
|
|
653
653
|
return e;
|
|
654
654
|
}
|
|
655
|
-
}), H = L(
|
|
655
|
+
}), H = L(o()), Ie = L(0), U = L(null), Le = L(null), Re = L(null), ze = L(0), Be = L(0), Ve = L(!1), He = L(null), Ue = L(null), We = L(!1), Ge = L(!1), Ke = L(null), Je = L(!1), ct = L(!1), W = L(null), lt = L({
|
|
656
656
|
x: 0,
|
|
657
657
|
y: 0
|
|
658
|
-
}), ut = L("pointer"), dt = L(!1), G = L(xt()), K = O(() => G.value.userOptions.useCursorPointer), ft = O(() =>
|
|
658
|
+
}), ut = L("pointer"), dt = L(!1), G = L(xt()), K = O(() => G.value.userOptions.useCursorPointer), ft = O(() => n({
|
|
659
659
|
defaultConfig: {
|
|
660
660
|
userOptions: { show: !1 },
|
|
661
661
|
table: { show: !1 },
|
|
@@ -876,15 +876,15 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
876
876
|
value: 1
|
|
877
877
|
}
|
|
878
878
|
],
|
|
879
|
-
skeletonConfig:
|
|
879
|
+
skeletonConfig: n({
|
|
880
880
|
defaultConfig: G.value,
|
|
881
881
|
userConfig: ft.value
|
|
882
882
|
})
|
|
883
883
|
}), gt = L(_t());
|
|
884
884
|
function _t() {
|
|
885
|
-
return typeof mt.value == "string" ?
|
|
885
|
+
return typeof mt.value == "string" ? t(mt.value) : mt.value.map((e, t) => ({
|
|
886
886
|
...e,
|
|
887
|
-
value:
|
|
887
|
+
value: p(e.value)
|
|
888
888
|
}));
|
|
889
889
|
}
|
|
890
890
|
let { userOptionsVisible: vt, setUserOptionsVisibility: yt, keepUserOptionState: bt } = E({ config: G.value }), { svgRef: q } = re({ config: G.value.style.chart.title });
|
|
@@ -904,7 +904,7 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
904
904
|
});
|
|
905
905
|
return {
|
|
906
906
|
...r,
|
|
907
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
907
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || l
|
|
908
908
|
};
|
|
909
909
|
}
|
|
910
910
|
let St = L({
|
|
@@ -953,16 +953,16 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
953
953
|
he(At);
|
|
954
954
|
let kt = O(() => !!G.value.debug);
|
|
955
955
|
function At() {
|
|
956
|
-
|
|
956
|
+
r(V.dataset) ? i({
|
|
957
957
|
componentName: "VueUiWordCloud",
|
|
958
958
|
type: "dataset",
|
|
959
959
|
debug: kt.value
|
|
960
960
|
}) : gt.value.forEach((e, t) => {
|
|
961
|
-
|
|
961
|
+
f({
|
|
962
962
|
datasetObject: e,
|
|
963
963
|
requiredAttributes: ["name", "value"]
|
|
964
964
|
}).forEach((e) => {
|
|
965
|
-
Fe.value = !1,
|
|
965
|
+
Fe.value = !1, i({
|
|
966
966
|
componentName: "VueUiWordCloud",
|
|
967
967
|
type: "datasetSerieAttribute",
|
|
968
968
|
property: e,
|
|
@@ -970,7 +970,7 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
970
970
|
debug: kt.value
|
|
971
971
|
});
|
|
972
972
|
});
|
|
973
|
-
}),
|
|
973
|
+
}), r(V.dataset) || (ht.value = G.value.loading), G.value.responsive && (Y.value && (Ot.value && Y.value.unobserve(Ot.value), Y.value.disconnect()), Y.value = new ResizeObserver(Dt), Ot.value = U.value.parentNode, Y.value.observe(Ot.value)), Ct();
|
|
974
974
|
}
|
|
975
975
|
me(() => {
|
|
976
976
|
Y.value && (Ot.value && Y.value.unobserve(Ot.value), Y.value.disconnect());
|
|
@@ -1006,7 +1006,7 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
1006
1006
|
fontSize: i,
|
|
1007
1007
|
width: a.width,
|
|
1008
1008
|
height: a.height,
|
|
1009
|
-
color: e.color ?
|
|
1009
|
+
color: e.color ? c(e.color) : G.value.style.chart.words.usePalette ? G.value.customPalette[r] || G.value.customPalette[r % G.value.customPalette.length] || l[r] || l[r % l.length] : G.value.style.chart.words.color
|
|
1010
1010
|
};
|
|
1011
1011
|
});
|
|
1012
1012
|
Z.value.length = 0, It.clear(), qe({
|
|
@@ -1039,12 +1039,12 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
1039
1039
|
}));
|
|
1040
1040
|
function zt(e = null) {
|
|
1041
1041
|
de(() => {
|
|
1042
|
-
let t = Rt.value.head.map((e, t) => [[e.name], [Rt.value.body[t]]]), n =
|
|
1042
|
+
let t = Rt.value.head.map((e, t) => [[e.name], [Rt.value.body[t]]]), n = h([
|
|
1043
1043
|
[G.value.style.chart.title.text],
|
|
1044
1044
|
[G.value.style.chart.title.subtitle.text],
|
|
1045
1045
|
[[""], [G.value.table.columnNames.value]]
|
|
1046
1046
|
].concat(t));
|
|
1047
|
-
e ? e(n) :
|
|
1047
|
+
e ? e(n) : s({
|
|
1048
1048
|
csvContent: n,
|
|
1049
1049
|
title: G.value.style.chart.title.text || "vue-ui-word-cloud"
|
|
1050
1050
|
});
|
|
@@ -1052,7 +1052,7 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
1052
1052
|
}
|
|
1053
1053
|
let Bt = O(() => {
|
|
1054
1054
|
let e = [G.value.table.columnNames.series, G.value.table.columnNames.value], t = Rt.value.head.map((e, t) => {
|
|
1055
|
-
let
|
|
1055
|
+
let n = u({
|
|
1056
1056
|
p: G.value.table.td.prefix,
|
|
1057
1057
|
v: Rt.value.body[t],
|
|
1058
1058
|
s: G.value.table.td.suffix,
|
|
@@ -1061,8 +1061,8 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
1061
1061
|
return [{
|
|
1062
1062
|
color: e.color,
|
|
1063
1063
|
name: e.name
|
|
1064
|
-
},
|
|
1065
|
-
}),
|
|
1064
|
+
}, n];
|
|
1065
|
+
}), n = t.map((e) => e.map((e, t) => t === 0 ? e.name : e)), r = {
|
|
1066
1066
|
th: {
|
|
1067
1067
|
backgroundColor: G.value.table.th.backgroundColor,
|
|
1068
1068
|
color: G.value.table.th.color,
|
|
@@ -1079,8 +1079,8 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
1079
1079
|
colNames: [G.value.table.columnNames.series, G.value.table.columnNames.value],
|
|
1080
1080
|
head: e,
|
|
1081
1081
|
body: t,
|
|
1082
|
-
a11yBody:
|
|
1083
|
-
config:
|
|
1082
|
+
a11yBody: n,
|
|
1083
|
+
config: r
|
|
1084
1084
|
};
|
|
1085
1085
|
}), Q = L(!1);
|
|
1086
1086
|
function Vt(e) {
|
|
@@ -1240,7 +1240,7 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
1240
1240
|
seriesIndex: t
|
|
1241
1241
|
};
|
|
1242
1242
|
let r = G.value.style.chart.tooltip.customFormat;
|
|
1243
|
-
if (fn.value = !1,
|
|
1243
|
+
if (fn.value = !1, m(r)) try {
|
|
1244
1244
|
let t = r({
|
|
1245
1245
|
datapoint: e,
|
|
1246
1246
|
config: G.value
|
|
@@ -1521,7 +1521,7 @@ var Je = /* @__PURE__ */ e({ default: () => ct }), Ye = [
|
|
|
1521
1521
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
1522
1522
|
}),
|
|
1523
1523
|
"aria-describedby": `chart-instructions-${H.value}`,
|
|
1524
|
-
xmlns: z(
|
|
1524
|
+
xmlns: z(d),
|
|
1525
1525
|
viewBox: `${z(Yt).x} ${z(Yt).y} ${z(Yt).width} ${z(Yt).height}`,
|
|
1526
1526
|
style: "overflow:hidden;background:transparent;display:block",
|
|
1527
1527
|
tabindex: "0",
|