vue-data-ui 3.22.0 → 3.22.1
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-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
- package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
- package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
- package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
- package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
- package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
- package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
- package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
- package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-_Dwp4NUr.js} +1 -1
- package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
- package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
- package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
- package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
- package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
- package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
- package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
- package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.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-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
- package/dist/exposedLib-CffbQxjN.js +19 -0
- package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
- package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
- package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
- package/dist/{package-0oRlvBuX.js → package-CfgH43C9.js} +1 -1
- package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
- package/dist/{render-common-DSiH7qj-.js → render-common-B_81qHQA.js} +2 -2
- 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 +3 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
- package/dist/{useConfig-Br1uzq_L.js → useConfig-C10cdg45.js} +2 -0
- package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
- package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-DSBOFB88.js} +1 -1
- package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DyFtIu5x.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-BONLasZK.js +1757 -0
- package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Ck_u5Nro.js} +4 -4
- package/dist/vue-ui-age-pyramid-CESMhEwG.js +1238 -0
- package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-DvpCTv7j.js} +60 -60
- package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-qdXPXPxt.js} +23 -23
- package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-LMO0-JMK.js} +400 -400
- package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-ByWgbxR_.js} +50 -50
- package/dist/vue-ui-carousel-table-Clv65OZW.js +455 -0
- package/dist/vue-ui-chestnut-Dbxtt0EO.js +2010 -0
- package/dist/vue-ui-chord-DsCYzzLp.js +1391 -0
- package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DUn2l2nz.js} +44 -44
- package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-CElckzVJ.js} +61 -61
- package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag-B7a6P_58.js} +18 -18
- package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-CuYXrIHK.js} +70 -70
- package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-CiRRs9Yh.js} +4 -4
- package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-PedJo3bO.js} +474 -474
- package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-_EtEQwAW.js} +160 -160
- package/dist/vue-ui-donut-evolution-C9mV62bb.js +1510 -0
- package/dist/vue-ui-dumbbell-byV_cZ7p.js +1530 -0
- package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-DOLqQ6P4.js} +43 -43
- package/dist/vue-ui-funnel-CInvdUuT.js +777 -0
- package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-DOeb6bP3.js} +301 -301
- package/dist/vue-ui-gauge-m2OemLTk.js +920 -0
- package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-CGw4_HqU.js} +22 -22
- package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-CavNggei.js} +4 -4
- package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-BgBgDRa_.js} +95 -95
- package/dist/vue-ui-history-plot-jc1aVr7r.js +1554 -0
- package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-BkV41pJi.js} +264 -264
- package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DZAJA0gO.js} +4 -4
- package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-C29a9zHr.js} +3 -3
- package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-E7a7X-Tz.js} +181 -181
- package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-ww9uHX-0.js} +29 -29
- package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-BNvpHhXK.js} +211 -211
- package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-Cis7D9N3.js} +34 -34
- package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-BnVXfomm.js} +40 -40
- package/dist/vue-ui-quadrant-DQ8rrBHV.js +1978 -0
- package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-B1xUyqD7.js} +358 -358
- package/dist/vue-ui-radar-D0y4BN8E.js +1281 -0
- package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-DKurps0a.js} +34 -34
- package/dist/vue-ui-relation-circle-aanEwlBG.js +924 -0
- package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-DS_llqb5.js} +219 -219
- package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-CILfFp-q.js} +36 -36
- package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-CQqdNOLR.js} +75 -75
- package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DpjFm7_n.js} +42 -42
- package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-BKQMu9Dw.js} +17 -17
- package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-xsg-hyHs.js} +92 -92
- package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-BwpOy0xT.js} +78 -78
- package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-DgTkRohs.js} +38 -38
- package/dist/vue-ui-sparkhistogram-D72VDOlh.js +560 -0
- package/dist/vue-ui-sparkline-WG-oYip8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BqAeq4Lb.js} +162 -162
- package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-CVIF37k7.js} +67 -67
- package/dist/vue-ui-stackline-DX1AYpur.js +2398 -0
- package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot--fR31p0x.js} +49 -49
- package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-DSE4d-Dx.js} +87 -87
- package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-DKE7y65s.js} +17 -17
- package/dist/vue-ui-table-sparkline-KOk0iH56.js +712 -0
- package/dist/vue-ui-thermometer-FQvSBV4T.js +763 -0
- package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-BsSpuP2_.js} +6 -6
- package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-f85yEqZh.js} +19 -19
- package/dist/vue-ui-treemap-DdSJEMp-.js +1587 -0
- package/dist/vue-ui-waffle-BHsayx6v.js +1362 -0
- package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-DerItN6D.js} +51 -51
- package/dist/{vue-ui-word-cloud-BqsUdsCY.js → vue-ui-word-cloud-DV-qLV17.js} +27 -27
- package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-DhH-_2IC.js} +445 -445
- package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CuAsNLLv.js} +162 -162
- package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DMoj6Y3F.js} +537 -534
- package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CrzY1ni9.js} +65 -65
- package/package.json +2 -2
- package/dist/exposedLib-BJbE_A8E.js +0 -19
- package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
- package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
- package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
- package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
- package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
- package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
- package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
- package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
- package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
- package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
- package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
- package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
- package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
- package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
- package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
- package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
- package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
- package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
- package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
- package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Ct as t,
|
|
3
|
-
import { t as f } from "./useConfig-
|
|
4
|
-
import { t as p } from "./usePrinter-
|
|
2
|
+
import { Ct as t, Et as n, G as r, H as i, It as a, Ut as o, X as s, i as c, t as l, v as u, wt as d } from "./lib-CXicicWN.js";
|
|
3
|
+
import { t as f } from "./useConfig-C10cdg45.js";
|
|
4
|
+
import { t as p } from "./usePrinter-Dng0UK-G.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-APyFoLCQ.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-BCAOkqfM.js";
|
|
10
|
+
import { n as b } from "./Title-CVYf1f8m.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-DJIIG6dv.js").then((e) => e.t)), ze = ce(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), Be = ce(() => import("./PackageVersion-_Dwp4NUr.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(i()), 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(() => o({
|
|
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: o({
|
|
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 (n(z.dataset) && s({
|
|
198
198
|
componentName: "VueUiWheel",
|
|
199
199
|
type: "dataset",
|
|
200
200
|
debug: mt.value
|
|
@@ -238,10 +238,10 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
238
238
|
let n = e.replace("#", ""), r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16), o = 1 - Math.min(1, Math.max(0, H.value.style.chart.layout.wheel.ticks.shadeColorRatio3d)) * t, s = Math.max(0, Math.min(255, Math.round(r * o))), c = Math.max(0, Math.min(255, Math.round(i * o))), l = Math.max(0, Math.min(255, Math.round(a * o)));
|
|
239
239
|
return `#${s.toString(16).padStart(2, "0")}${c.toString(16).padStart(2, "0")}${l.toString(16).padStart(2, "0")}`;
|
|
240
240
|
}
|
|
241
|
-
function yt({ cx: e, cy: t, radius:
|
|
242
|
-
let p = s * Math.PI / 180, m =
|
|
243
|
-
for (let
|
|
244
|
-
let
|
|
241
|
+
function yt({ cx: e, cy: t, radius: n, innerRatio: r = .8, count: i = 120, startDeg: o = 0, axDeg: s = 50, f: c = 520, baseStroke: l = 5, activeColor: u, inactiveColor: d, getActive: f }) {
|
|
242
|
+
let p = s * Math.PI / 180, m = n, h = n * r, g = [];
|
|
243
|
+
for (let n = 0; n < i; n += 1) {
|
|
244
|
+
let r = (n / i * 360 + o) * Math.PI / 180, s = e + m * Math.cos(r), _ = t + m * Math.sin(r), v = e + h * Math.cos(r), y = t + h * Math.sin(r), b = [
|
|
245
245
|
s - e,
|
|
246
246
|
_ - t,
|
|
247
247
|
0
|
|
@@ -257,9 +257,9 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
257
257
|
ne,
|
|
258
258
|
re,
|
|
259
259
|
ie
|
|
260
|
-
], c), oe = e + C, se = t + w, ce = e + E, O = t + D, le = (Math.max(S, ie) - -m * Math.sin(p)) / (2 * m * Math.sin(p) || 1), k = f ? f(
|
|
260
|
+
], c), oe = e + C, se = t + w, ce = e + E, O = t + D, le = (Math.max(S, ie) - -m * Math.sin(p)) / (2 * m * Math.sin(p) || 1), k = f ? f(n) : !0, A = H.value.style.chart.layout.wheel.ticks.gradient.show ? a(u, n * Q.value / Z.value * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : u, j = vt(k ? A : d, le), ue = Math.max(1.25, l * T * (Math.min(W.value.width, W.value.height) / 360));
|
|
261
261
|
g.push({
|
|
262
|
-
i:
|
|
262
|
+
i: n,
|
|
263
263
|
x1: oe,
|
|
264
264
|
y1: se,
|
|
265
265
|
x2: ce,
|
|
@@ -273,7 +273,7 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
273
273
|
}
|
|
274
274
|
let bt = w(() => {
|
|
275
275
|
if (!H.value.layout === "3d") return null;
|
|
276
|
-
let e = Z.value, t = H.value.style.chart.layout.wheel.ticks.gradient.show ?
|
|
276
|
+
let e = Z.value, t = H.value.style.chart.layout.wheel.ticks.gradient.show ? a(H.value.style.chart.layout.wheel.ticks.activeColor, 0) : H.value.style.chart.layout.wheel.ticks.activeColor, n = H.value.style.chart.layout.wheel.ticks.inactiveColor, r = H.value.style.chart.layout.wheel.ticks.strokeWidth;
|
|
277
277
|
return yt({
|
|
278
278
|
cx: K.value.centerX,
|
|
279
279
|
cy: K.value.centerY,
|
|
@@ -283,9 +283,9 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
283
283
|
startDeg: -90,
|
|
284
284
|
axDeg: H.value.style.chart.layout.wheel.tiltAngle3d,
|
|
285
285
|
f: Math.min(W.value.width, W.value.height) * 1.45,
|
|
286
|
-
baseStroke:
|
|
286
|
+
baseStroke: r,
|
|
287
287
|
activeColor: t,
|
|
288
|
-
inactiveColor:
|
|
288
|
+
inactiveColor: n,
|
|
289
289
|
getActive: (e) => q.value > e * Q.value
|
|
290
290
|
});
|
|
291
291
|
});
|
|
@@ -371,14 +371,14 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
371
371
|
s: d
|
|
372
372
|
};
|
|
373
373
|
}
|
|
374
|
-
function Tt({ cx: e, cy: t, radius:
|
|
375
|
-
let p = s * Math.PI / 180, m =
|
|
376
|
-
for (let
|
|
377
|
-
let
|
|
374
|
+
function Tt({ cx: e, cy: t, radius: n, innerRatio: r = .8, count: i = 120, startDeg: o = -87, axDeg: s = 45, f: c = 600, activeColor: l, inactiveColor: u, getActive: d, Y: f = 0 }) {
|
|
375
|
+
let p = s * Math.PI / 180, m = n, h = n * r, g = 2 * Math.PI / i, _ = [];
|
|
376
|
+
for (let n = 0; n < i; n += 1) {
|
|
377
|
+
let r = o * Math.PI / 180 + g * n, s = r + g * Math.min(1, H.value.style.chart.layout.wheel.ticks.spacingRatio3d), v = wt({
|
|
378
378
|
cx: e,
|
|
379
379
|
cy: t + f,
|
|
380
380
|
r: m,
|
|
381
|
-
aRad:
|
|
381
|
+
aRad: r,
|
|
382
382
|
ax: p,
|
|
383
383
|
f: c
|
|
384
384
|
}), y = wt({
|
|
@@ -399,15 +399,15 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
399
399
|
cx: e,
|
|
400
400
|
cy: t + f,
|
|
401
401
|
r: h,
|
|
402
|
-
aRad:
|
|
402
|
+
aRad: r,
|
|
403
403
|
ax: p,
|
|
404
404
|
f: c
|
|
405
|
-
}), ee = (v.z + y.z + x.z + b.z) / 4, te = vt(!d || d(
|
|
405
|
+
}), ee = (v.z + y.z + x.z + b.z) / 4, te = vt(!d || d(n) ? H.value.style.chart.layout.wheel.ticks.gradient.show ? a(H.value.style.chart.layout.wheel.ticks.activeColor, 100 / i * n / 100 * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : l : u, (() => {
|
|
406
406
|
let e = m * Math.sin(p) || 1;
|
|
407
407
|
return (ee - -e) / (2 * e);
|
|
408
408
|
})()), S = `M ${v.x} ${v.y} L ${y.x} ${y.y} L ${b.x} ${b.y} L ${x.x} ${x.y} Z`;
|
|
409
409
|
_.push({
|
|
410
|
-
i:
|
|
410
|
+
i: n,
|
|
411
411
|
d: S,
|
|
412
412
|
fill: te,
|
|
413
413
|
z: ee
|
|
@@ -443,17 +443,17 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
443
443
|
let Z = w(() => (H.value.debug && H.value.style.chart.layout.wheel.ticks.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), H.value.debug && H.value.style.chart.layout.wheel.ticks.quantity > 200 && console.warn("VueUiWheel - The max number of ticks is 200"), Math.max(12, Math.min(H.value.style.chart.layout.wheel.ticks.quantity, 200)))), Q = w(() => 100 / Z.value), Ot = w(() => {
|
|
444
444
|
let e = [];
|
|
445
445
|
for (let t = 0; t < Z.value; t += 1) {
|
|
446
|
-
let
|
|
446
|
+
let n = q.value > t * Q.value ? H.value.style.chart.layout.wheel.ticks.activeColor : H.value.style.chart.layout.wheel.ticks.inactiveColor, { x: r, y: i } = pt(W.value.size / Z.value * t), { x: o, y: s } = pt(W.value.size / Z.value * t, H.value.style.chart.layout.wheel.ticks.sizeRatio);
|
|
447
447
|
e.push({
|
|
448
|
-
x1:
|
|
449
|
-
y1:
|
|
448
|
+
x1: r,
|
|
449
|
+
y1: i,
|
|
450
450
|
x2: o,
|
|
451
451
|
y2: s,
|
|
452
|
-
color: H.value.style.chart.layout.wheel.ticks.gradient.show ? n
|
|
452
|
+
color: H.value.style.chart.layout.wheel.ticks.gradient.show ? a(n, t * Q.value / Z.value * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : n
|
|
453
453
|
});
|
|
454
454
|
}
|
|
455
455
|
return e;
|
|
456
|
-
}), kt = w(() =>
|
|
456
|
+
}), kt = w(() => d({ 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(() =>
|
|
532
|
-
v:
|
|
531
|
+
let Wt = w(() => `${B.value}-title`), Gt = w(() => `${B.value}-desc`), Kt = w(() => c(H.value.style.chart.layout.percentage.formatter, u(q.value), r({
|
|
532
|
+
v: u(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, n) => (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: n[0] ||= () => I(it)(!0),
|
|
554
|
+
onMouseleave: n[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(l),
|
|
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 || [], (n) => (M(), D("line", {
|
|
757
|
+
key: n.i,
|
|
758
|
+
x1: n.x1,
|
|
759
|
+
y1: n.y1 - e,
|
|
760
|
+
x2: n.x2,
|
|
761
|
+
y2: n.y2 - e,
|
|
762
|
+
stroke: I(t)(n.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) && n.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) || [], (n) => (M(), D("path", {
|
|
792
|
+
key: n.i,
|
|
793
|
+
d: n.d,
|
|
794
|
+
fill: I(t)(n.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) && n.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,
|
|
@@ -853,7 +853,7 @@ var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
|
|
|
853
853
|
x: K.value.centerX + H.value.style.chart.layout.percentage.offsetX,
|
|
854
854
|
y: K.value.centerY + G.value / 3 + H.value.style.chart.layout.percentage.offsetY,
|
|
855
855
|
"font-size": G.value,
|
|
856
|
-
fill: H.value.style.chart.layout.wheel.ticks.gradient.show ? I(
|
|
856
|
+
fill: H.value.style.chart.layout.wheel.ticks.gradient.show ? I(a)(H.value.style.chart.layout.wheel.ticks.activeColor, q.value / 100 * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : H.value.style.chart.layout.wheel.ticks.activeColor,
|
|
857
857
|
"text-anchor": "middle",
|
|
858
858
|
"font-weight": H.value.style.chart.layout.percentage.bold ? "bold" : "normal",
|
|
859
859
|
style: { "font-variant-numeric": "tabluar-nums" },
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as h } from "./useConfig-
|
|
4
|
-
import { t as g } from "./usePrinter-
|
|
2
|
+
import { Et as t, G as n, H as r, J as i, S as a, U as o, Ut as s, Vt as c, X as l, ct as u, gt as d, kt as f, t as p, v as m } from "./lib-CXicicWN.js";
|
|
3
|
+
import { t as h } from "./useConfig-C10cdg45.js";
|
|
4
|
+
import { t as g } from "./usePrinter-Dng0UK-G.js";
|
|
5
5
|
import { n as _, t as v } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ee } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as y } from "./useNestedProp-
|
|
7
|
+
import { t as y } from "./useNestedProp-APyFoLCQ.js";
|
|
8
8
|
import { t as b } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as te } from "./img-
|
|
10
|
-
import { n as ne } from "./Title-
|
|
9
|
+
import { t as te } from "./img-BCAOkqfM.js";
|
|
10
|
+
import { n as ne } from "./Title-CVYf1f8m.js";
|
|
11
11
|
import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { r as ie } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ae } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -16,7 +16,7 @@ import { t as S } from "./useUserOptionState-DK-_1ddE.js";
|
|
|
16
16
|
import { t as oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
17
|
import { t as se } from "./usePanZoom-CYU3B4T3.js";
|
|
18
18
|
import { t as ce } from "./vue_ui_word_cloud-C-qIMNLu.js";
|
|
19
|
-
import { t as le } from "./BaseZoomControls-
|
|
19
|
+
import { t as le } from "./BaseZoomControls-BjjT6vtB.js";
|
|
20
20
|
import { Fragment as ue, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as de, createTextVNode as fe, createVNode as pe, defineAsyncComponent as O, guardReactiveProps as k, mergeProps as me, nextTick as he, normalizeClass as ge, normalizeProps as A, normalizeStyle as _e, onBeforeUnmount as ve, onMounted as ye, openBlock as j, ref as M, renderList as be, renderSlot as N, resolveDynamicComponent as xe, shallowRef as Se, toDisplayString as Ce, toRefs as we, unref as P, watch as Te, withCtx as F } from "vue";
|
|
21
21
|
//#region src/wordcloud.js
|
|
22
22
|
function Ee({ word: e, fontSize: t, pad: n, canvas: r, ctx: i, svg: a }) {
|
|
@@ -579,7 +579,7 @@ var Ze = /* @__PURE__ */ e({ default: () => B }), Qe = [
|
|
|
579
579
|
},
|
|
580
580
|
emits: ["copyAlt"],
|
|
581
581
|
setup(e, { expose: re, emit: Ee }) {
|
|
582
|
-
let De = O(() => import("./Tooltip-
|
|
582
|
+
let De = O(() => import("./Tooltip-BmGCBJuU.js")), Oe = O(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), ke = O(() => import("./vue-ui-accordion-Ck_u5Nro.js").then((e) => e.n)), Ae = O(() => import("./DataTable-DJZgdnIn.js")), je = O(() => import("./PenAndPaper-DJIIG6dv.js").then((e) => e.t)), Me = O(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), Ne = O(() => import("./PackageVersion-_Dwp4NUr.js").then((e) => e.t)), Pe = O(() => import("./BaseDraggableDialog-a9xCKjW-.js").then((e) => e.n)), { vue_ui_word_cloud: Fe } = h(), { isThemeValid: Ie, warnInvalidTheme: Le } = b(), I = e, Re = Ee, ze = C({
|
|
583
583
|
get() {
|
|
584
584
|
return !!I.dataset && I.dataset.length;
|
|
585
585
|
},
|
|
@@ -589,7 +589,7 @@ var Ze = /* @__PURE__ */ e({ default: () => B }), Qe = [
|
|
|
589
589
|
}), L = M(r()), Be = M(0), R = M(null), Ve = M(null), He = M(null), Ue = M(0), We = M(0), Ge = M(!1), z = M(null), Ke = M(null), qe = M(!1), Je = M(!1), Ye = M(null), Ze = M(!1), B = M(!1), V = M(null), dt = M({
|
|
590
590
|
x: 0,
|
|
591
591
|
y: 0
|
|
592
|
-
}), ft = M("pointer"), pt = M(!1), H = M(Ct()), U = C(() => H.value.userOptions.useCursorPointer), mt = C(() =>
|
|
592
|
+
}), ft = M("pointer"), pt = M(!1), H = M(Ct()), U = C(() => H.value.userOptions.useCursorPointer), mt = C(() => s({
|
|
593
593
|
defaultConfig: {
|
|
594
594
|
userOptions: { show: !1 },
|
|
595
595
|
table: { show: !1 },
|
|
@@ -810,13 +810,13 @@ var Ze = /* @__PURE__ */ e({ default: () => B }), Qe = [
|
|
|
810
810
|
value: 1
|
|
811
811
|
}
|
|
812
812
|
],
|
|
813
|
-
skeletonConfig:
|
|
813
|
+
skeletonConfig: s({
|
|
814
814
|
defaultConfig: H.value,
|
|
815
815
|
userConfig: mt.value
|
|
816
816
|
})
|
|
817
817
|
}), vt = M(yt());
|
|
818
818
|
function yt() {
|
|
819
|
-
return typeof gt.value == "string" ?
|
|
819
|
+
return typeof gt.value == "string" ? o(gt.value) : gt.value.map((e, t) => ({
|
|
820
820
|
...e,
|
|
821
821
|
value: m(e.value)
|
|
822
822
|
}));
|
|
@@ -826,19 +826,19 @@ var Ze = /* @__PURE__ */ e({ default: () => B }), Qe = [
|
|
|
826
826
|
let e = y({
|
|
827
827
|
userConfig: I.config,
|
|
828
828
|
defaultConfig: Fe
|
|
829
|
-
}),
|
|
830
|
-
if (!
|
|
829
|
+
}), t = e.theme;
|
|
830
|
+
if (!t) return e;
|
|
831
831
|
if (!Ie.value(e)) return Le(e), e;
|
|
832
|
-
let
|
|
833
|
-
userConfig: ce[
|
|
832
|
+
let n = y({
|
|
833
|
+
userConfig: ce[t] || I.config,
|
|
834
834
|
defaultConfig: e
|
|
835
|
-
}),
|
|
835
|
+
}), r = y({
|
|
836
836
|
userConfig: I.config,
|
|
837
|
-
defaultConfig:
|
|
837
|
+
defaultConfig: n
|
|
838
838
|
});
|
|
839
839
|
return {
|
|
840
|
-
...
|
|
841
|
-
customPalette:
|
|
840
|
+
...r,
|
|
841
|
+
customPalette: r.customPalette.length ? r.customPalette : c[t] || f
|
|
842
842
|
};
|
|
843
843
|
}
|
|
844
844
|
let wt = M({
|
|
@@ -887,16 +887,16 @@ var Ze = /* @__PURE__ */ e({ default: () => B }), Qe = [
|
|
|
887
887
|
ye(jt);
|
|
888
888
|
let At = C(() => !!H.value.debug);
|
|
889
889
|
function jt() {
|
|
890
|
-
|
|
890
|
+
t(I.dataset) ? l({
|
|
891
891
|
componentName: "VueUiWordCloud",
|
|
892
892
|
type: "dataset",
|
|
893
893
|
debug: At.value
|
|
894
894
|
}) : vt.value.forEach((e, t) => {
|
|
895
|
-
|
|
895
|
+
u({
|
|
896
896
|
datasetObject: e,
|
|
897
897
|
requiredAttributes: ["name", "value"]
|
|
898
898
|
}).forEach((e) => {
|
|
899
|
-
ze.value = !1,
|
|
899
|
+
ze.value = !1, l({
|
|
900
900
|
componentName: "VueUiWordCloud",
|
|
901
901
|
type: "datasetSerieAttribute",
|
|
902
902
|
property: e,
|
|
@@ -904,7 +904,7 @@ var Ze = /* @__PURE__ */ e({ default: () => B }), Qe = [
|
|
|
904
904
|
debug: At.value
|
|
905
905
|
});
|
|
906
906
|
});
|
|
907
|
-
}),
|
|
907
|
+
}), t(I.dataset) || (_t.value = H.value.loading), H.value.responsive && (K.value && (q.value && K.value.unobserve(q.value), K.value.disconnect()), K.value = new ResizeObserver(kt), q.value = R.value.parentNode, K.value.observe(q.value)), Tt();
|
|
908
908
|
}
|
|
909
909
|
ve(() => {
|
|
910
910
|
K.value && (q.value && K.value.unobserve(q.value), K.value.disconnect());
|
|
@@ -940,7 +940,7 @@ var Ze = /* @__PURE__ */ e({ default: () => B }), Qe = [
|
|
|
940
940
|
fontSize: i,
|
|
941
941
|
width: a.width,
|
|
942
942
|
height: a.height,
|
|
943
|
-
color: H.value.style.chart.words.usePalette ? H.value.customPalette[r] || H.value.customPalette[r % H.value.customPalette.length] ||
|
|
943
|
+
color: H.value.style.chart.words.usePalette ? H.value.customPalette[r] || H.value.customPalette[r % H.value.customPalette.length] || f[r] || f[r % f.length] : H.value.style.chart.words.color
|
|
944
944
|
};
|
|
945
945
|
});
|
|
946
946
|
Y.value.length = 0, Lt.clear(), Xe({
|
|
@@ -972,12 +972,12 @@ var Ze = /* @__PURE__ */ e({ default: () => B }), Qe = [
|
|
|
972
972
|
}));
|
|
973
973
|
function Bt(e = null) {
|
|
974
974
|
he(() => {
|
|
975
|
-
let t = zt.value.head.map((e, t) => [[e.name], [zt.value.body[t]]]), n =
|
|
975
|
+
let t = zt.value.head.map((e, t) => [[e.name], [zt.value.body[t]]]), n = a([
|
|
976
976
|
[H.value.style.chart.title.text],
|
|
977
977
|
[H.value.style.chart.title.subtitle.text],
|
|
978
978
|
[[""], [H.value.table.columnNames.value]]
|
|
979
979
|
].concat(t));
|
|
980
|
-
e ? e(n) :
|
|
980
|
+
e ? e(n) : i({
|
|
981
981
|
csvContent: n,
|
|
982
982
|
title: H.value.style.chart.title.text || "vue-ui-word-cloud"
|
|
983
983
|
});
|
|
@@ -1173,7 +1173,7 @@ var Ze = /* @__PURE__ */ e({ default: () => B }), Qe = [
|
|
|
1173
1173
|
seriesIndex: t
|
|
1174
1174
|
};
|
|
1175
1175
|
let r = H.value.style.chart.tooltip.customFormat;
|
|
1176
|
-
if (dn.value = !1,
|
|
1176
|
+
if (dn.value = !1, d(r)) try {
|
|
1177
1177
|
let t = r({
|
|
1178
1178
|
datapoint: e,
|
|
1179
1179
|
config: H.value
|