vue-data-ui 3.23.14 → 3.24.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/README.md +14 -13
- package/dist/{Arrow-DrF4NNJO.js → Arrow-CJuuMivt.js} +1 -1
- package/dist/{BaseDraggableDialog-Dr_Q6Yt5.js → BaseDraggableDialog-9RMU4zIz.js} +2 -2
- package/dist/{BaseIcon-BbElSC8_.js → BaseIcon-U0y1Y7dC.js} +1 -1
- package/dist/{BaseLegendToggle-CtEdLr4R.js → BaseLegendToggle-B_wibe7d.js} +1 -1
- package/dist/{BaseZoomControls-Cvq4UmNG.js → BaseZoomControls-DXDTBATh.js} +2 -2
- package/dist/{ColorPicker-ChOgAmCi.js → ColorPicker-Diee0Pe9.js} +2 -2
- package/dist/{DataTable-CmyEubtT.js → DataTable-1Lsn9w61.js} +2 -2
- package/dist/{HillActions-3HneGJhS.js → HillActions-DntqVj-0.js} +1 -1
- package/dist/{Legend-BJtY2RA9.js → Legend-Cg1jtWxv.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DmxzHJtV.js → NonSvgPenAndPaper-aCu8CNkj.js} +4 -4
- package/dist/{PackageVersion-D_ULhZan.js → PackageVersion-DtE5p3O7.js} +1 -1
- package/dist/{PenAndPaper-CIa1F5Jq.js → PenAndPaper-ktbpEc-t.js} +4 -4
- package/dist/{Shape-BAL5bQmA.js → Shape-BV_BCG2F.js} +1 -1
- package/dist/{SlicerPreview-BGtbrAz9.js → SlicerPreview-CsFT236o.js} +2 -2
- package/dist/{SparkTooltip-Bou05CV_.js → SparkTooltip-BqzJa3h2.js} +1 -1
- package/dist/{Title-CaVA8EIw.js → Title-C5ytqOnj.js} +1 -1
- package/dist/{Tooltip-CVxJe3UW.js → Tooltip-CTgk02J6.js} +1 -1
- package/dist/{UserOptions-WH7-49V0.js → UserOptions-DJt-e5q0.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 +2 -0
- 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-COvyU2SG.js → dom-to-png-K9hvrmBm.js} +1 -1
- package/dist/{exposedLib-DrUEXSyf.js → exposedLib-CNHCqGuG.js} +1 -1
- package/dist/{img-Bkzj3lDD.js → img-DRq3Equ5.js} +1 -1
- package/dist/{labelUtils-iX76cA2-.js → labelUtils-CSh956Gz.js} +1 -1
- package/dist/{lib-Dqr_-I6Y.js → lib-DfMn_3jf.js} +6 -5
- package/dist/{package-CZsqzWIV.js → package-Bat6pcGG.js} +1 -1
- package/dist/{pdf-Bk_9lTdQ.js → pdf-CglSdC4O.js} +1 -1
- package/dist/{render-common-BIlL8QxZ.js → render-common-CSapi1Tq.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 +155 -3
- package/dist/types/vue-ui-label.d.ts +50 -0
- package/dist/{useChartExport-DNiwdPmb.js → useChartExport-iwOqiIWX.js} +9 -8
- package/dist/{useConfig-DwdGsXTx.js → useConfig-DcMi9POF.js} +85 -11
- package/dist/{useNestedProp-CulPqtou.js → useNestedProp-CLEe1P5W.js} +1 -1
- package/dist/{useObjectBindings-BKkmFRiI.js → useObjectBindings-C1q6rUju.js} +3 -2
- package/dist/{usePrinter-CEiH1b6R.js → usePrinter-Daqyj6c7.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-Cud9FUgc.js → vue-data-ui-C0fmRYow.js} +78 -76
- package/dist/vue-data-ui.js +76 -75
- package/dist/{vue-ui-3d-bar-DHVSMPn3.js → vue-ui-3d-bar-ChPC71Co.js} +8 -8
- package/dist/{vue-ui-accordion-C6L7glHU.js → vue-ui-accordion-JvX3LRnx.js} +4 -4
- package/dist/{vue-ui-age-pyramid-DWEVRxFJ.js → vue-ui-age-pyramid-BYbPULSz.js} +8 -8
- package/dist/{vue-ui-annotator-BwIu0JUV.js → vue-ui-annotator-CP_yXH6-.js} +7 -7
- package/dist/{vue-ui-bullet-zp5a502n.js → vue-ui-bullet-q_4VhquE.js} +9 -9
- package/dist/{vue-ui-bump-BPgVmi6f.js → vue-ui-bump-BDzA8rut.js} +24 -23
- package/dist/{vue-ui-candlestick-Bgby7chP.js → vue-ui-candlestick-37VcRMeY.js} +22 -21
- package/dist/{vue-ui-carousel-table-CFmOi8yt.js → vue-ui-carousel-table-DqSCFkVD.js} +5 -5
- package/dist/{vue-ui-chestnut-DDeAaWQu.js → vue-ui-chestnut-BKNzHCli.js} +7 -7
- package/dist/{vue-ui-chord-i15aljUN.js → vue-ui-chord-CaqZO79L.js} +10 -10
- package/dist/{vue-ui-circle-pack-Bxnh1ayh.js → vue-ui-circle-pack-DuagAe7S.js} +8 -8
- package/dist/{vue-ui-cursor-BcwcG6m6.js → vue-ui-cursor-UznztJgM.js} +4 -4
- package/dist/{vue-ui-dag-BHIBv8gS.js → vue-ui-dag-DayEAerz.js} +9 -9
- package/dist/{vue-ui-dashboard-DR0oNZQY.js → vue-ui-dashboard-PVDbL2as.js} +70 -70
- package/dist/{vue-ui-digits-DzdL2IUe.js → vue-ui-digits-ANtccD2D.js} +4 -4
- package/dist/{vue-ui-donut-BtYYw4sA.js → vue-ui-donut-B2SN01C2.js} +12 -12
- package/dist/{vue-ui-donut-BAOzjBOl.js → vue-ui-donut-BmIwx_4X.js} +3 -3
- package/dist/{vue-ui-donut-evolution-DqvCyZTm.js → vue-ui-donut-evolution-DmOcFGM2.js} +27 -26
- package/dist/{vue-ui-dumbbell-DCxv0rQl.js → vue-ui-dumbbell-BTYjJwdn.js} +9 -9
- package/dist/{vue-ui-flow-fIr0gKWv.js → vue-ui-flow-Brgb7h1u.js} +25 -24
- package/dist/{vue-ui-funnel-CgG4woIj.js → vue-ui-funnel-Bakw8upJ.js} +8 -8
- package/dist/{vue-ui-galaxy-BjO5BIJl.js → vue-ui-galaxy-CHXQeZWX.js} +11 -11
- package/dist/{vue-ui-gauge-Bjjicr4p.js → vue-ui-gauge-CyNuXMfH.js} +8 -8
- package/dist/{vue-ui-geo-CEzwDQ_V.js → vue-ui-geo-CD0mHBGl.js} +9 -9
- package/dist/{vue-ui-gizmo-BJw77tPf.js → vue-ui-gizmo-BPIlDZzj.js} +4 -4
- package/dist/{vue-ui-heatmap-Cc29HCj1.js → vue-ui-heatmap-DRBR2Nat.js} +22 -21
- package/dist/{vue-ui-hill-EfMGu5ri.js → vue-ui-hill-CpPVpCqp.js} +8 -8
- package/dist/{vue-ui-history-plot-BTpJ59Lx.js → vue-ui-history-plot-Dbgh6ZMG.js} +26 -25
- package/dist/{vue-ui-horizontal-bar-DBOOwgrm.js → vue-ui-horizontal-bar-CcbktPgh.js} +28 -27
- package/dist/{vue-ui-kpi-CDbkhzwo.js → vue-ui-kpi-CCW0CCsE.js} +4 -4
- package/dist/vue-ui-label-C5KLiynU.js +1455 -0
- package/dist/{vue-ui-mini-loader-BVSIAFYi.js → vue-ui-mini-loader-Cciw-UGb.js} +3 -3
- package/dist/{vue-ui-molecule-BqJZMPiV.js → vue-ui-molecule-CAcS9ieT.js} +7 -7
- package/dist/{vue-ui-mood-radar-DGGN0Cmw.js → vue-ui-mood-radar-CH3rh85o.js} +9 -9
- package/dist/{vue-ui-nested-donuts-Ca_Zd5J7.js → vue-ui-nested-donuts-DszZU11H.js} +27 -26
- package/dist/{vue-ui-onion-BVD4bvt5.js → vue-ui-onion-DB5c36QB.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-DcopyBZF.js → vue-ui-parallel-coordinate-plot-X6D_5Mj4.js} +11 -11
- package/dist/{vue-ui-quadrant-DMEfD67Y.js → vue-ui-quadrant-C8Y-yWaA.js} +59 -57
- package/dist/{vue-ui-quick-chart-C3ci7l0p.js → vue-ui-quick-chart-CCVKDf4q.js} +25 -24
- package/dist/{vue-ui-radar-lk-I-dTc.js → vue-ui-radar-1xUvbkGR.js} +10 -10
- package/dist/{vue-ui-rating-dBCk6ECe.js → vue-ui-rating-C7HEmcRF.js} +3 -3
- package/dist/{vue-ui-relation-circle-CVO4khKR.js → vue-ui-relation-circle-Be3arMpy.js} +8 -8
- package/dist/{vue-ui-ridgeline-m-nLgYLV.js → vue-ui-ridgeline-hr0s0GV0.js} +11 -11
- package/dist/{vue-ui-rings-C_F5EeXv.js → vue-ui-rings-DaXIzfV_.js} +14 -14
- package/dist/{vue-ui-scatter-X7coP9SA.js → vue-ui-scatter-QNsbsTU3.js} +13 -13
- package/dist/{vue-ui-skeleton-cjQBOPy-.js → vue-ui-skeleton-1fsWFan-.js} +4 -4
- package/dist/{vue-ui-smiley-D1pW2Fdy.js → vue-ui-smiley-CN4OtE_a.js} +3 -3
- package/dist/{vue-ui-spark-trend-DCqxm1ML.js → vue-ui-spark-trend-CeuwSIJP.js} +4 -4
- package/dist/vue-ui-sparkbar-BykHIrxz.js +401 -0
- package/dist/{vue-ui-sparkgauge-CljM575j.js → vue-ui-sparkgauge-irYUg_Rc.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DorI7KeS.js → vue-ui-sparkhistogram-DzNLp6Cm.js} +5 -5
- package/dist/{vue-ui-sparkline-BY4VBHMA.js → vue-ui-sparkline-BJuiIvej.js} +27 -24
- package/dist/vue-ui-sparkstackbar-CocakHUY.js +738 -0
- package/dist/{vue-ui-stackbar-DnLwabox.js → vue-ui-stackbar-DHAf4jiH.js} +28 -27
- package/dist/{vue-ui-stackline-JW2LqP8f.js → vue-ui-stackline-DhI6OUVZ.js} +28 -27
- package/dist/{vue-ui-strip-plot-BfDQngrE.js → vue-ui-strip-plot-DxbyNG63.js} +9 -9
- package/dist/{vue-ui-table-Dxgu_hYy.js → vue-ui-table-BjXS95bg.js} +6 -6
- package/dist/{vue-ui-table-heatmap-CglQqfWH.js → vue-ui-table-heatmap-CQGZCO11.js} +6 -6
- package/dist/{vue-ui-table-sparkline-B9Ib-eba.js → vue-ui-table-sparkline-uZFaAqdt.js} +5 -5
- package/dist/{vue-ui-thermometer-H4aDS80w.js → vue-ui-thermometer-9U-zKD__.js} +8 -8
- package/dist/{vue-ui-timer-BQD_HJ4q.js → vue-ui-timer-Bm3CbIuS.js} +6 -6
- package/dist/{vue-ui-tiremarks-0NSM6oqA.js → vue-ui-tiremarks-CdRfwM99.js} +8 -8
- package/dist/{vue-ui-treemap-De2ZtVgy.js → vue-ui-treemap-5i3XHRb4.js} +11 -11
- package/dist/{vue-ui-waffle-Btd2dkHT.js → vue-ui-waffle-nSiwg2fY.js} +12 -12
- package/dist/{vue-ui-wheel-BeUgGDbi.js → vue-ui-wheel-dpWC3-wh.js} +8 -8
- package/dist/{vue-ui-word-cloud-Ba-dlAjt.js → vue-ui-word-cloud-BVU-x59g.js} +9 -9
- package/dist/{vue-ui-world-C94_A952.js → vue-ui-world-CwI1vCHG.js} +9 -9
- package/dist/{vue-ui-xy-DvFl3Jdp.js → vue-ui-xy-BKb9YmVU.js} +249 -240
- package/dist/{vue-ui-xy-Dyb14cfx.js → vue-ui-xy-DqSbxddV.js} +3 -3
- package/dist/{vue-ui-xy-canvas-8JpYZTA8.js → vue-ui-xy-canvas-Bs_O-0UT.js} +28 -27
- package/dist/vue_ui_label-B0QoxQrJ.js +115 -0
- package/package.json +4 -4
- package/dist/vue-ui-sparkbar-BygKCOYg.js +0 -400
- package/dist/vue-ui-sparkstackbar-DDCWSqti.js +0 -688
|
@@ -78,7 +78,8 @@ declare module 'vue-data-ui' {
|
|
|
78
78
|
| VueUiStacklineDatasetItem[]
|
|
79
79
|
| VueUiDagDataset
|
|
80
80
|
| VueUiGeoDatasetItem[]
|
|
81
|
-
| VueUiBumpDatasetItem[]
|
|
81
|
+
| VueUiBumpDatasetItem[]
|
|
82
|
+
| VueUiLabelDataset;
|
|
82
83
|
|
|
83
84
|
export type VueDataUiAnyConfig =
|
|
84
85
|
| VueUiHillConfig
|
|
@@ -145,7 +146,8 @@ declare module 'vue-data-ui' {
|
|
|
145
146
|
| VueUiStacklineConfig
|
|
146
147
|
| VueUiDagConfig
|
|
147
148
|
| VueUiGeoConfig
|
|
148
|
-
| VueUiBumpConfig
|
|
149
|
+
| VueUiBumpConfig
|
|
150
|
+
| VueUiLabelConfig;
|
|
149
151
|
|
|
150
152
|
export type VueDataUiProps = {
|
|
151
153
|
loader?: VueDataUiLoader | null;
|
|
@@ -3493,6 +3495,7 @@ declare module 'vue-data-ui' {
|
|
|
3493
3495
|
animationFrames?: number;
|
|
3494
3496
|
};
|
|
3495
3497
|
bar?: {
|
|
3498
|
+
borderRadius?: number | null;
|
|
3496
3499
|
gradient?: {
|
|
3497
3500
|
show?: boolean;
|
|
3498
3501
|
intensity?: number;
|
|
@@ -4280,6 +4283,7 @@ declare module 'vue-data-ui' {
|
|
|
4280
4283
|
opacity?: number;
|
|
4281
4284
|
};
|
|
4282
4285
|
bar?: {
|
|
4286
|
+
borderRadius?: number | null;
|
|
4283
4287
|
gradient?: {
|
|
4284
4288
|
show?: boolean;
|
|
4285
4289
|
intensity?: number;
|
|
@@ -17194,6 +17198,152 @@ declare module 'vue-data-ui' {
|
|
|
17194
17198
|
};
|
|
17195
17199
|
};
|
|
17196
17200
|
|
|
17201
|
+
export type VueUiLabelConfig = {
|
|
17202
|
+
theme?: Theme;
|
|
17203
|
+
a11y?: {
|
|
17204
|
+
translations?: {
|
|
17205
|
+
keyboardNavigation?: string;
|
|
17206
|
+
};
|
|
17207
|
+
};
|
|
17208
|
+
title?: {
|
|
17209
|
+
text?: string;
|
|
17210
|
+
color?: string;
|
|
17211
|
+
fontSize?: number;
|
|
17212
|
+
lineHeight?: number;
|
|
17213
|
+
bold?: boolean;
|
|
17214
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
17215
|
+
gap?: number;
|
|
17216
|
+
marker?: {
|
|
17217
|
+
color?: string | null;
|
|
17218
|
+
shape?: Shape;
|
|
17219
|
+
beforeText?: boolean;
|
|
17220
|
+
size?: number;
|
|
17221
|
+
offsetY?: number;
|
|
17222
|
+
};
|
|
17223
|
+
};
|
|
17224
|
+
content?: {
|
|
17225
|
+
text?: string;
|
|
17226
|
+
color?: string;
|
|
17227
|
+
fontSize?: number;
|
|
17228
|
+
lineHeight?: number;
|
|
17229
|
+
bold?: boolean;
|
|
17230
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
17231
|
+
};
|
|
17232
|
+
position?: 'auto' | 'top' | 'right' | 'bottom' | 'left';
|
|
17233
|
+
link?: {
|
|
17234
|
+
show?: boolean;
|
|
17235
|
+
stroke?: string;
|
|
17236
|
+
strokeWidth?: number;
|
|
17237
|
+
strokeDasharray?: string | number;
|
|
17238
|
+
length?: number;
|
|
17239
|
+
targetPlot: {
|
|
17240
|
+
show?: boolean;
|
|
17241
|
+
radius?: number;
|
|
17242
|
+
stroke?: string;
|
|
17243
|
+
strokeWidth?: number;
|
|
17244
|
+
};
|
|
17245
|
+
};
|
|
17246
|
+
box?: {
|
|
17247
|
+
show?: boolean;
|
|
17248
|
+
backgroundColor?: string;
|
|
17249
|
+
borderColor?: string;
|
|
17250
|
+
borderWidth?: number;
|
|
17251
|
+
borderRadius?: number;
|
|
17252
|
+
padding?: ChartPadding;
|
|
17253
|
+
maxWidth?: number;
|
|
17254
|
+
};
|
|
17255
|
+
drag?: {
|
|
17256
|
+
enable?: boolean;
|
|
17257
|
+
handlePosition?: 'top' | 'right' | 'bottom' | 'left';
|
|
17258
|
+
handleWidth?: number;
|
|
17259
|
+
showSeparator?: boolean;
|
|
17260
|
+
iconColor?: string;
|
|
17261
|
+
iconOpacity?: number;
|
|
17262
|
+
iconSize?: number;
|
|
17263
|
+
};
|
|
17264
|
+
overflow?: boolean;
|
|
17265
|
+
overlap?: boolean;
|
|
17266
|
+
collisionGap?: number;
|
|
17267
|
+
};
|
|
17268
|
+
|
|
17269
|
+
export type VueUiLabelDataset = {
|
|
17270
|
+
[key: string]: any;
|
|
17271
|
+
id?: number | string;
|
|
17272
|
+
x: number;
|
|
17273
|
+
y: number;
|
|
17274
|
+
position?: {
|
|
17275
|
+
x: number | null;
|
|
17276
|
+
y: number | null;
|
|
17277
|
+
};
|
|
17278
|
+
};
|
|
17279
|
+
|
|
17280
|
+
export type VueUiLabelProps = {
|
|
17281
|
+
config?: VueUiLabelConfig;
|
|
17282
|
+
dataset: VueUiLabelDataset;
|
|
17283
|
+
};
|
|
17284
|
+
|
|
17285
|
+
export type VueUiLabelEmitDragStart = {
|
|
17286
|
+
dataset: VueUiLabelDataset;
|
|
17287
|
+
offset: { x: number; y: number };
|
|
17288
|
+
rect: {
|
|
17289
|
+
x: number;
|
|
17290
|
+
y: number;
|
|
17291
|
+
height: number;
|
|
17292
|
+
width: number;
|
|
17293
|
+
};
|
|
17294
|
+
};
|
|
17295
|
+
export type VueUiLabelEmitDrag = VueUiLabelEmitDragStart;
|
|
17296
|
+
export type VueUiLabelEmitDragEnd = VueUiLabelDataset;
|
|
17297
|
+
|
|
17298
|
+
export type VueUiLabelEmits = {
|
|
17299
|
+
dragStart: (payload: VueUiLabelEmitDragStart) => void;
|
|
17300
|
+
drag: (payload: VueUiLabelEmitDrag) => void;
|
|
17301
|
+
dragEnd: (payload: VueUiLabelEmitDragEnd) => void;
|
|
17302
|
+
mouseenter: (payload: VueUiLabelDataset) => void;
|
|
17303
|
+
mouseleave: (payload: VueUiLabelDataset) => void;
|
|
17304
|
+
click: (payload: VueUiLabelDataset) => void;
|
|
17305
|
+
focus: (payload: VueUiLabelDataset) => void;
|
|
17306
|
+
blur: (payload: VueUiLabelDataset) => void;
|
|
17307
|
+
};
|
|
17308
|
+
|
|
17309
|
+
const VueUiLabelBase: DefineComponent<
|
|
17310
|
+
VueUiLabelProps,
|
|
17311
|
+
{},
|
|
17312
|
+
{},
|
|
17313
|
+
{},
|
|
17314
|
+
{},
|
|
17315
|
+
{},
|
|
17316
|
+
{},
|
|
17317
|
+
VueUiLabelEmits
|
|
17318
|
+
>;
|
|
17319
|
+
|
|
17320
|
+
export type VueUiLabelSlotProps = {
|
|
17321
|
+
box: {
|
|
17322
|
+
height: number;
|
|
17323
|
+
width: number;
|
|
17324
|
+
rx: number;
|
|
17325
|
+
x: number;
|
|
17326
|
+
y: number;
|
|
17327
|
+
};
|
|
17328
|
+
config: VueUiLabelConfig;
|
|
17329
|
+
dataset: VueUiLabelDataset;
|
|
17330
|
+
};
|
|
17331
|
+
|
|
17332
|
+
export type VueUiLabelExpose = {
|
|
17333
|
+
reorder(): void;
|
|
17334
|
+
};
|
|
17335
|
+
|
|
17336
|
+
export const VueUiLabel: typeof VueUiLabelBase & {
|
|
17337
|
+
new (): VueUiLabelExpose & {
|
|
17338
|
+
$slots: {
|
|
17339
|
+
after: (props: VueUiLabelSlotProps) => VNodeChild;
|
|
17340
|
+
before: (props: VueUiLabelSlotProps) => VNodeChild;
|
|
17341
|
+
title: (props: VueUiLabelSlotProps) => VNodeChild;
|
|
17342
|
+
content: (props: VueUiLabelSlotProps) => VNodeChild;
|
|
17343
|
+
};
|
|
17344
|
+
};
|
|
17345
|
+
};
|
|
17346
|
+
|
|
17197
17347
|
export type VueDataUiConfig =
|
|
17198
17348
|
| VueUiHillConfig
|
|
17199
17349
|
| VueUi3dBarConfig
|
|
@@ -17261,7 +17411,8 @@ declare module 'vue-data-ui' {
|
|
|
17261
17411
|
| VueUiStacklineConfig
|
|
17262
17412
|
| VueUiDagConfig
|
|
17263
17413
|
| VueUiGeoConfig
|
|
17264
|
-
| VueUiBumpConfig
|
|
17414
|
+
| VueUiBumpConfig
|
|
17415
|
+
| VueUiLabelConfig;
|
|
17265
17416
|
|
|
17266
17417
|
export type VueDataUiConfigKey =
|
|
17267
17418
|
| 'vue_ui_hill'
|
|
@@ -17276,6 +17427,7 @@ declare module 'vue-data-ui' {
|
|
|
17276
17427
|
| 'vue_ui_donut_evolution'
|
|
17277
17428
|
| 'vue_ui_gauge'
|
|
17278
17429
|
| 'vue_ui_heatmap'
|
|
17430
|
+
| 'vue_ui_label'
|
|
17279
17431
|
| 'vue_ui_mini_loader'
|
|
17280
17432
|
| 'vue_ui_molecule'
|
|
17281
17433
|
| 'vue_ui_mood_radar'
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { DefineComponent, VNodeChild } from 'vue';
|
|
2
|
+
|
|
3
|
+
import type {
|
|
4
|
+
VueUiLabelConfig,
|
|
5
|
+
VueUiLabelDataset,
|
|
6
|
+
VueUiLabelProps,
|
|
7
|
+
VueUiLabelEmitDragStart,
|
|
8
|
+
VueUiLabelEmitDrag,
|
|
9
|
+
VueUiLabelEmitDragEnd,
|
|
10
|
+
VueUiLabelEmits,
|
|
11
|
+
VueUiLabelSlotProps,
|
|
12
|
+
VueUiLabelExpose,
|
|
13
|
+
} from 'vue-data-ui';
|
|
14
|
+
|
|
15
|
+
export type {
|
|
16
|
+
VueUiLabelConfig,
|
|
17
|
+
VueUiLabelDataset,
|
|
18
|
+
VueUiLabelProps,
|
|
19
|
+
VueUiLabelEmitDragStart,
|
|
20
|
+
VueUiLabelEmitDrag,
|
|
21
|
+
VueUiLabelEmitDragEnd,
|
|
22
|
+
VueUiLabelEmits,
|
|
23
|
+
VueUiLabelSlotProps,
|
|
24
|
+
VueUiLabelExpose,
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
declare const VueUiLabelBase: DefineComponent<
|
|
28
|
+
VueUiLabelProps,
|
|
29
|
+
{},
|
|
30
|
+
{},
|
|
31
|
+
{},
|
|
32
|
+
{},
|
|
33
|
+
{},
|
|
34
|
+
{},
|
|
35
|
+
VueUiLabelEmits
|
|
36
|
+
>;
|
|
37
|
+
|
|
38
|
+
export const VueUiLabel: typeof VueUiLabelBase & {
|
|
39
|
+
new (): VueUiLabelExpose & {
|
|
40
|
+
$slots: {
|
|
41
|
+
after: (props: VueUiLabelSlotProps) => VNodeChild;
|
|
42
|
+
before: (props: VueUiLabelSlotProps) => VNodeChild;
|
|
43
|
+
title: (props: VueUiLabelSlotProps) => VNodeChild;
|
|
44
|
+
content: (props: VueUiLabelSlotProps) => VNodeChild;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export default VueUiLabel;
|
|
50
|
+
export { VueUiLabel };
|
|
@@ -632,15 +632,16 @@ async function g(e, { mode: t = "raster" } = {}) {
|
|
|
632
632
|
let t = e.style, n = e.text.split(/(\s+)/).filter((e) => e.length > 0), r = (e, n) => {
|
|
633
633
|
if (!e) return;
|
|
634
634
|
let r = Math.max(1, T), i = M(e, t) + (n ? N(t) : 0);
|
|
635
|
-
if (F.length === 0)
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
635
|
+
if (F.length === 0) {
|
|
636
|
+
if (i <= r) R(e, t, !1);
|
|
637
|
+
else {
|
|
638
|
+
let n = e;
|
|
639
|
+
for (; n;) {
|
|
640
|
+
let e = z(n, t, r);
|
|
641
|
+
R(e, t, !1), n = n.slice(e.length), n && L();
|
|
642
|
+
}
|
|
641
643
|
}
|
|
642
|
-
}
|
|
643
|
-
else if (I + i <= r) R(e, t, n);
|
|
644
|
+
} else if (I + i <= r) R(e, t, n);
|
|
644
645
|
else if (L(), M(e, t) <= r) R(e, t, !1);
|
|
645
646
|
else {
|
|
646
647
|
let n = e;
|
|
@@ -3274,11 +3274,14 @@ function e(e = {}) {
|
|
|
3274
3274
|
backgroundColor: g,
|
|
3275
3275
|
opacity: 100
|
|
3276
3276
|
},
|
|
3277
|
-
bar: {
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3277
|
+
bar: {
|
|
3278
|
+
borderRadius: null,
|
|
3279
|
+
gradient: {
|
|
3280
|
+
show: !0,
|
|
3281
|
+
intensity: 40,
|
|
3282
|
+
underlayerColor: o
|
|
3283
|
+
}
|
|
3284
|
+
},
|
|
3282
3285
|
labels: {
|
|
3283
3286
|
fontSize: y._16,
|
|
3284
3287
|
name: {
|
|
@@ -3338,11 +3341,14 @@ function e(e = {}) {
|
|
|
3338
3341
|
show: !0,
|
|
3339
3342
|
animationFrames: 60
|
|
3340
3343
|
},
|
|
3341
|
-
bar: {
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3344
|
+
bar: {
|
|
3345
|
+
borderRadius: null,
|
|
3346
|
+
gradient: {
|
|
3347
|
+
show: !0,
|
|
3348
|
+
intensity: 40,
|
|
3349
|
+
underlayerColor: o
|
|
3350
|
+
}
|
|
3351
|
+
},
|
|
3346
3352
|
legend: {
|
|
3347
3353
|
show: !0,
|
|
3348
3354
|
textAlign: S.LEFT,
|
|
@@ -7848,7 +7854,75 @@ function e(e = {}) {
|
|
|
7848
7854
|
vue_ui_skeleton: ze,
|
|
7849
7855
|
vue_ui_table: Be,
|
|
7850
7856
|
vue_ui_digits: Ve,
|
|
7851
|
-
vue_ui_hill: z
|
|
7857
|
+
vue_ui_hill: z,
|
|
7858
|
+
vue_ui_label: {
|
|
7859
|
+
theme: "",
|
|
7860
|
+
a11y: { translations: { keyboardNavigation: "Use the arrow keys to move this label. Hold Shift while pressing an arrow key to move it by a larger step." } },
|
|
7861
|
+
title: {
|
|
7862
|
+
text: "",
|
|
7863
|
+
color: m,
|
|
7864
|
+
fontSize: 14,
|
|
7865
|
+
lineHeight: 14,
|
|
7866
|
+
bold: !1,
|
|
7867
|
+
textAlign: "left",
|
|
7868
|
+
gap: 6,
|
|
7869
|
+
marker: {
|
|
7870
|
+
color: null,
|
|
7871
|
+
shape: "circle",
|
|
7872
|
+
beforeText: !0,
|
|
7873
|
+
size: 14,
|
|
7874
|
+
offsetY: 0
|
|
7875
|
+
}
|
|
7876
|
+
},
|
|
7877
|
+
content: {
|
|
7878
|
+
text: "",
|
|
7879
|
+
color: m,
|
|
7880
|
+
fontSize: 12,
|
|
7881
|
+
lineHeight: 12,
|
|
7882
|
+
bold: !1,
|
|
7883
|
+
textAlign: "left"
|
|
7884
|
+
},
|
|
7885
|
+
position: "auto",
|
|
7886
|
+
link: {
|
|
7887
|
+
show: !0,
|
|
7888
|
+
stroke: m,
|
|
7889
|
+
strokeWidth: 1,
|
|
7890
|
+
strokeDasharray: "0",
|
|
7891
|
+
length: 20,
|
|
7892
|
+
targetPlot: {
|
|
7893
|
+
show: !0,
|
|
7894
|
+
radius: 2,
|
|
7895
|
+
stroke: p,
|
|
7896
|
+
strokeWidth: 1
|
|
7897
|
+
}
|
|
7898
|
+
},
|
|
7899
|
+
box: {
|
|
7900
|
+
show: !0,
|
|
7901
|
+
backgroundColor: p,
|
|
7902
|
+
borderColor: m,
|
|
7903
|
+
borderWidth: 1,
|
|
7904
|
+
borderRadius: 3,
|
|
7905
|
+
padding: M([
|
|
7906
|
+
8,
|
|
7907
|
+
8,
|
|
7908
|
+
8,
|
|
7909
|
+
8
|
|
7910
|
+
]),
|
|
7911
|
+
maxWidth: 200
|
|
7912
|
+
},
|
|
7913
|
+
drag: {
|
|
7914
|
+
enable: !0,
|
|
7915
|
+
handlePosition: "left",
|
|
7916
|
+
handleWidth: 18,
|
|
7917
|
+
showSeparator: !1,
|
|
7918
|
+
iconColor: m,
|
|
7919
|
+
iconOpacity: .6,
|
|
7920
|
+
iconSize: 16
|
|
7921
|
+
},
|
|
7922
|
+
overflow: !1,
|
|
7923
|
+
overlap: !1,
|
|
7924
|
+
collisionGap: 0
|
|
7925
|
+
}
|
|
7852
7926
|
};
|
|
7853
7927
|
}
|
|
7854
7928
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./useConfig-
|
|
1
|
+
import { t as e } from "./useConfig-DcMi9POF.js";
|
|
2
2
|
import { computed as t, isRef as n, markRaw as r, watchEffect as i } from "vue";
|
|
3
3
|
//#region src/getVueDataUiConfig.js
|
|
4
|
-
var a = /* @__PURE__ */ "vue_ui_3d_bar.vue_ui_accordion.vue_ui_age_pyramid.vue_ui_annotator.vue_ui_bullet.vue_ui_bump.vue_ui_candlestick.vue_ui_carousel_table.vue_ui_chestnut.vue_ui_chord.vue_ui_circle_pack.vue_ui_cursor.vue_ui_dag.vue_ui_dashboard.vue_ui_digits.vue_ui_donut.vue_ui_donut_evolution.vue_ui_dumbbell.vue_ui_flow.vue_ui_funnel.vue_ui_galaxy.vue_ui_gauge.vue_ui_geo.vue_ui_gizmo.vue_ui_heatmap.vue_ui_hill.vue_ui_history_plot.vue_ui_horizontal_bar.vue_ui_kpi.vue_ui_mini_loader.vue_ui_molecule.vue_ui_mood_radar.vue_ui_nested_donuts.vue_ui_onion.vue_ui_parallel_coordinate_plot.vue_ui_quadrant.vue_ui_quick_chart.vue_ui_radar.vue_ui_rating.vue_ui_relation_circle.vue_ui_ridgeline.vue_ui_rings.vue_ui_scatter.vue_ui_skeleton.vue_ui_smiley.vue_ui_spark_trend.vue_ui_sparkbar.vue_ui_sparkgauge.vue_ui_sparkhistogram.vue_ui_sparkline.vue_ui_sparkstackbar.vue_ui_stackbar.vue_ui_stackline.vue_ui_strip_plot.vue_ui_table.vue_ui_table_heatmap.vue_ui_table_sparkline.vue_ui_thermometer.vue_ui_timer.vue_ui_tiremarks.vue_ui_treemap.vue_ui_vertical_bar.vue_ui_waffle.vue_ui_wheel.vue_ui_word_cloud.vue_ui_world.vue_ui_xy.vue_ui_xy_canvas".split(".");
|
|
4
|
+
var a = /* @__PURE__ */ "vue_ui_3d_bar.vue_ui_accordion.vue_ui_age_pyramid.vue_ui_annotator.vue_ui_bullet.vue_ui_bump.vue_ui_candlestick.vue_ui_carousel_table.vue_ui_chestnut.vue_ui_chord.vue_ui_circle_pack.vue_ui_cursor.vue_ui_dag.vue_ui_dashboard.vue_ui_digits.vue_ui_donut.vue_ui_donut_evolution.vue_ui_dumbbell.vue_ui_flow.vue_ui_funnel.vue_ui_galaxy.vue_ui_gauge.vue_ui_geo.vue_ui_gizmo.vue_ui_heatmap.vue_ui_hill.vue_ui_history_plot.vue_ui_horizontal_bar.vue_ui_kpi.vue_ui_label.vue_ui_mini_loader.vue_ui_molecule.vue_ui_mood_radar.vue_ui_nested_donuts.vue_ui_onion.vue_ui_parallel_coordinate_plot.vue_ui_quadrant.vue_ui_quick_chart.vue_ui_radar.vue_ui_rating.vue_ui_relation_circle.vue_ui_ridgeline.vue_ui_rings.vue_ui_scatter.vue_ui_skeleton.vue_ui_smiley.vue_ui_spark_trend.vue_ui_sparkbar.vue_ui_sparkgauge.vue_ui_sparkhistogram.vue_ui_sparkline.vue_ui_sparkstackbar.vue_ui_stackbar.vue_ui_stackline.vue_ui_strip_plot.vue_ui_table.vue_ui_table_heatmap.vue_ui_table_sparkline.vue_ui_thermometer.vue_ui_timer.vue_ui_tiremarks.vue_ui_treemap.vue_ui_vertical_bar.vue_ui_waffle.vue_ui_wheel.vue_ui_word_cloud.vue_ui_world.vue_ui_xy.vue_ui_xy_canvas".split(".");
|
|
5
5
|
function o(t, n = {}) {
|
|
6
6
|
return a.includes(t) ? e(n)[t] : (console.error(`VueDataUi - getVueDataUiConfig : ${t} is not a valid component name for this utility.\nUse snake case names, for example 'vue_ui_xy', 'vue_ui_donut', etc.`), {});
|
|
7
7
|
}
|
|
@@ -29,6 +29,7 @@ var s = Object.fromEntries(Object.entries(/* @__PURE__ */ Object.assign({
|
|
|
29
29
|
"./themes/vue_ui_hill.json": () => import("./vue_ui_hill-dnltu0L-.js").then((e) => e.n).then((e) => e.default),
|
|
30
30
|
"./themes/vue_ui_history_plot.json": () => import("./vue_ui_history_plot-CuN63VEc.js").then((e) => e.n).then((e) => e.default),
|
|
31
31
|
"./themes/vue_ui_horizontal_bar.json": () => import("./vue_ui_horizontal_bar-C4J4QzXf.js").then((e) => e.n).then((e) => e.default),
|
|
32
|
+
"./themes/vue_ui_label.json": () => import("./vue_ui_label-B0QoxQrJ.js").then((e) => e.n).then((e) => e.default),
|
|
32
33
|
"./themes/vue_ui_molecule.json": () => import("./vue_ui_molecule-CO9L59SF.js").then((e) => e.n).then((e) => e.default),
|
|
33
34
|
"./themes/vue_ui_mood_radar.json": () => import("./vue_ui_mood_radar-BA6LAKhk.js").then((e) => e.n).then((e) => e.default),
|
|
34
35
|
"./themes/vue_ui_nested_donuts.json": () => import("./vue_ui_nested_donuts-B8csIoVO.js").then((e) => e.n).then((e) => e.default),
|
|
@@ -5,7 +5,7 @@ function t({ elementId: t, fileName: n, canPrint: r = !0, options: i }) {
|
|
|
5
5
|
async function c() {
|
|
6
6
|
!r || a.value || (a.value = !0, clearTimeout(s.value), s.value = setTimeout(async () => {
|
|
7
7
|
if (r) try {
|
|
8
|
-
let { default: e } = await import("./pdf-
|
|
8
|
+
let { default: e } = await import("./pdf-CglSdC4O.js");
|
|
9
9
|
await e({
|
|
10
10
|
domElement: document.getElementById(t),
|
|
11
11
|
fileName: n,
|
|
@@ -24,7 +24,7 @@ function t({ elementId: t, fileName: n, canPrint: r = !0, options: i }) {
|
|
|
24
24
|
async function l() {
|
|
25
25
|
!r || o.value || (o.value = !0, clearTimeout(s.value), s.value = setTimeout(async () => {
|
|
26
26
|
if (r) try {
|
|
27
|
-
let { default: e } = await import("./img-
|
|
27
|
+
let { default: e } = await import("./img-DRq3Equ5.js").then((e) => e.n);
|
|
28
28
|
await e({
|
|
29
29
|
domElement: document.getElementById(t),
|
|
30
30
|
fileName: n,
|
package/dist/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as e, J as t, P as n, V as r, W as i, ct as a, dt as o, ht as s, n as c, r as l, ut as u } from "./lib-
|
|
2
|
-
import { a as d, i as f, n as p, o as m, r as h, t as g } from "./exposedLib-
|
|
1
|
+
import { E as e, J as t, P as n, V as r, W as i, ct as a, dt as o, ht as s, n as c, r as l, ut as u } from "./lib-DfMn_3jf.js";
|
|
2
|
+
import { a as d, i as f, n as p, o as m, r as h, t as g } from "./exposedLib-CNHCqGuG.js";
|
|
3
3
|
import { t as _ } from "./patternUtils-CS7hn6at.js";
|
|
4
|
-
import { i as v, n as y, r as b, t as x } from "./useObjectBindings-
|
|
4
|
+
import { i as v, n as y, r as b, t as x } from "./useObjectBindings-C1q6rUju.js";
|
|
5
5
|
//#region src/entries/utils.js
|
|
6
6
|
var S = {
|
|
7
7
|
applyDataCorrection: y,
|