vue-data-ui 3.19.9 → 3.20.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/package.json +120 -120
- package/dist/A11yDataTable-q2-8fSlJ.js +0 -45
- package/dist/Arrow-Cj6W6Xbi.js +0 -116
- package/dist/BaseDraggableDialog-DUUu2E2Q.js +0 -272
- package/dist/BaseIcon-DM1x8hQF.js +0 -502
- package/dist/BaseLegendToggle-CJTwLGXL.js +0 -56
- package/dist/BaseScanner-C7dmAref.js +0 -27
- package/dist/BaseZoomControls-BkajQ8q9.js +0 -111
- package/dist/ColorPicker-DTQeqKUV.js +0 -255
- package/dist/DataTable-DmE8Oo4i.js +0 -150
- package/dist/Legend-Gg5Q4Clb.js +0 -114
- package/dist/NonSvgPenAndPaper-tvWXeCsd.js +0 -577
- package/dist/PackageVersion-Dl9W5zJD.js +0 -11
- package/dist/PenAndPaper-DNgm6y3l.js +0 -461
- package/dist/RecursiveCircles-DPpLel6f.js +0 -117
- package/dist/RecursiveLabels-DBMJf_to.js +0 -56
- package/dist/RecursiveLinks-D06dBL4a.js +0 -78
- package/dist/Shape-DEGOZ6GG.js +0 -141
- package/dist/Slicer-CPWGgGSp.js +0 -1144
- package/dist/SlicerPreview-BU3ZeHjR.js +0 -1555
- package/dist/SparkTooltip-c2DL7gqD.js +0 -93
- package/dist/Title-__gWq2g6.js +0 -87
- package/dist/Tooltip-CuWEYGr3.js +0 -312
- package/dist/UserOptions-D7zR0tnR.js +0 -1411
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +0 -8
- package/dist/canvas-lib-DTaADQOK.js +0 -79
- package/dist/components/arrow.js +0 -2
- package/dist/components/vue-ui-3d-bar.js +0 -2
- package/dist/components/vue-ui-accordion.js +0 -2
- package/dist/components/vue-ui-age-pyramid.js +0 -2
- package/dist/components/vue-ui-annotator.js +0 -2
- package/dist/components/vue-ui-bullet.js +0 -2
- package/dist/components/vue-ui-bump.js +0 -2
- package/dist/components/vue-ui-candlestick.js +0 -2
- package/dist/components/vue-ui-carousel-table.js +0 -2
- package/dist/components/vue-ui-chestnut.js +0 -2
- package/dist/components/vue-ui-chord.js +0 -2
- package/dist/components/vue-ui-circle-pack.js +0 -2
- package/dist/components/vue-ui-cursor.js +0 -2
- package/dist/components/vue-ui-dag.js +0 -2
- package/dist/components/vue-ui-dashboard.js +0 -2
- package/dist/components/vue-ui-digits.js +0 -2
- package/dist/components/vue-ui-donut-evolution.js +0 -2
- package/dist/components/vue-ui-donut.js +0 -2
- package/dist/components/vue-ui-dumbbell.js +0 -2
- package/dist/components/vue-ui-flow.js +0 -2
- package/dist/components/vue-ui-funnel.js +0 -2
- package/dist/components/vue-ui-galaxy.js +0 -2
- package/dist/components/vue-ui-gauge.js +0 -2
- package/dist/components/vue-ui-geo.js +0 -2
- package/dist/components/vue-ui-gizmo.js +0 -2
- package/dist/components/vue-ui-heatmap.js +0 -2
- package/dist/components/vue-ui-history-plot.js +0 -2
- package/dist/components/vue-ui-horizontal-bar.js +0 -2
- package/dist/components/vue-ui-icon.js +0 -2
- package/dist/components/vue-ui-kpi.js +0 -2
- package/dist/components/vue-ui-mini-loader.js +0 -2
- package/dist/components/vue-ui-molecule.js +0 -2
- package/dist/components/vue-ui-mood-radar.js +0 -2
- package/dist/components/vue-ui-nested-donuts.js +0 -2
- package/dist/components/vue-ui-onion.js +0 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +0 -2
- package/dist/components/vue-ui-pattern-seed.js +0 -2
- package/dist/components/vue-ui-pattern.js +0 -2
- package/dist/components/vue-ui-quadrant.js +0 -2
- package/dist/components/vue-ui-quick-chart.js +0 -2
- package/dist/components/vue-ui-radar.js +0 -2
- package/dist/components/vue-ui-rating.js +0 -2
- package/dist/components/vue-ui-relation-circle.js +0 -2
- package/dist/components/vue-ui-ridgeline.js +0 -2
- package/dist/components/vue-ui-rings.js +0 -2
- package/dist/components/vue-ui-scatter.js +0 -2
- package/dist/components/vue-ui-skeleton.js +0 -2
- package/dist/components/vue-ui-smiley.js +0 -2
- package/dist/components/vue-ui-spark-trend.js +0 -2
- package/dist/components/vue-ui-sparkbar.js +0 -2
- package/dist/components/vue-ui-sparkgauge.js +0 -2
- package/dist/components/vue-ui-sparkhistogram.js +0 -2
- package/dist/components/vue-ui-sparkline.js +0 -2
- package/dist/components/vue-ui-sparkstackbar.js +0 -2
- package/dist/components/vue-ui-stackbar.js +0 -2
- package/dist/components/vue-ui-stackline.js +0 -2
- package/dist/components/vue-ui-strip-plot.js +0 -2
- package/dist/components/vue-ui-table-heatmap.js +0 -2
- package/dist/components/vue-ui-table-sparkline.js +0 -2
- package/dist/components/vue-ui-table.js +0 -2
- package/dist/components/vue-ui-thermometer.js +0 -2
- package/dist/components/vue-ui-timer.js +0 -2
- package/dist/components/vue-ui-tiremarks.js +0 -2
- package/dist/components/vue-ui-treemap.js +0 -2
- package/dist/components/vue-ui-vertical-bar.js +0 -2
- package/dist/components/vue-ui-waffle.js +0 -2
- package/dist/components/vue-ui-wheel.js +0 -2
- package/dist/components/vue-ui-word-cloud.js +0 -2
- package/dist/components/vue-ui-world.js +0 -2
- package/dist/components/vue-ui-xy-canvas.js +0 -2
- package/dist/components/vue-ui-xy.js +0 -2
- package/dist/dom-to-png-9WSt6hXe.js +0 -237
- package/dist/exposedLib-CwWU4zv-.js +0 -19
- package/dist/geoProjections-CQIkC70z.js +0 -146
- package/dist/img-BjOr008R.js +0 -74
- package/dist/labelUtils-Cr97N8E1.js +0 -19
- package/dist/lib-BkiwukKO.js +0 -1879
- package/dist/llms.txt +0 -232
- package/dist/patternUtils-B7BWu5bV.js +0 -258
- package/dist/pdf-DSXSFUnK.js +0 -90
- package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
- package/dist/style.css +0 -2
- package/dist/types/arrow.d.ts +0 -4
- package/dist/types/utils.d.ts +0 -551
- package/dist/types/vue-data-ui.d.ts +0 -15826
- package/dist/types/vue-ui-3d-bar.d.ts +0 -78
- package/dist/types/vue-ui-accordion.d.ts +0 -11
- package/dist/types/vue-ui-age-pyramid.d.ts +0 -95
- package/dist/types/vue-ui-annotator.d.ts +0 -12
- package/dist/types/vue-ui-bullet.d.ts +0 -72
- package/dist/types/vue-ui-bump.d.ts +0 -77
- package/dist/types/vue-ui-candlestick.d.ts +0 -93
- package/dist/types/vue-ui-carousel-table.d.ts +0 -46
- package/dist/types/vue-ui-chestnut.d.ts +0 -79
- package/dist/types/vue-ui-chord.d.ts +0 -91
- package/dist/types/vue-ui-circle-pack.d.ts +0 -111
- package/dist/types/vue-ui-cursor.d.ts +0 -9
- package/dist/types/vue-ui-dag.d.ts +0 -106
- package/dist/types/vue-ui-dashboard.d.ts +0 -53
- package/dist/types/vue-ui-digits.d.ts +0 -12
- package/dist/types/vue-ui-donut-evolution.d.ts +0 -81
- package/dist/types/vue-ui-donut.d.ts +0 -106
- package/dist/types/vue-ui-dumbbell.d.ts +0 -79
- package/dist/types/vue-ui-flow.d.ts +0 -93
- package/dist/types/vue-ui-funnel.d.ts +0 -66
- package/dist/types/vue-ui-galaxy.d.ts +0 -97
- package/dist/types/vue-ui-gauge.d.ts +0 -76
- package/dist/types/vue-ui-geo.d.ts +0 -81
- package/dist/types/vue-ui-gizmo.d.ts +0 -22
- package/dist/types/vue-ui-heatmap.d.ts +0 -86
- package/dist/types/vue-ui-history-plot.d.ts +0 -97
- package/dist/types/vue-ui-horizontal-bar.d.ts +0 -99
- package/dist/types/vue-ui-icon.d.ts +0 -15
- package/dist/types/vue-ui-kpi.d.ts +0 -25
- package/dist/types/vue-ui-mini-loader.d.ts +0 -15
- package/dist/types/vue-ui-molecule.d.ts +0 -97
- package/dist/types/vue-ui-mood-radar.d.ts +0 -79
- package/dist/types/vue-ui-nested-donuts.d.ts +0 -94
- package/dist/types/vue-ui-onion.d.ts +0 -91
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -108
- package/dist/types/vue-ui-pattern-seed.d.ts +0 -14
- package/dist/types/vue-ui-pattern.d.ts +0 -15
- package/dist/types/vue-ui-quadrant.d.ts +0 -102
- package/dist/types/vue-ui-quick-chart.d.ts +0 -89
- package/dist/types/vue-ui-radar.d.ts +0 -101
- package/dist/types/vue-ui-rating.d.ts +0 -31
- package/dist/types/vue-ui-relation-circle.d.ts +0 -79
- package/dist/types/vue-ui-ridgeline.d.ts +0 -85
- package/dist/types/vue-ui-rings.d.ts +0 -83
- package/dist/types/vue-ui-scatter.d.ts +0 -82
- package/dist/types/vue-ui-skeleton.d.ts +0 -11
- package/dist/types/vue-ui-smiley.d.ts +0 -12
- package/dist/types/vue-ui-spark-trend.d.ts +0 -19
- package/dist/types/vue-ui-sparkbar.d.ts +0 -36
- package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
- package/dist/types/vue-ui-sparkhistogram.d.ts +0 -33
- package/dist/types/vue-ui-sparkline.d.ts +0 -44
- package/dist/types/vue-ui-sparkstackbar.d.ts +0 -45
- package/dist/types/vue-ui-stackbar.d.ts +0 -97
- package/dist/types/vue-ui-stackline.d.ts +0 -93
- package/dist/types/vue-ui-strip-plot.d.ts +0 -81
- package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
- package/dist/types/vue-ui-table-sparkline.d.ts +0 -40
- package/dist/types/vue-ui-table.d.ts +0 -25
- package/dist/types/vue-ui-thermometer.d.ts +0 -57
- package/dist/types/vue-ui-timer.d.ts +0 -36
- package/dist/types/vue-ui-tiremarks.d.ts +0 -57
- package/dist/types/vue-ui-treemap.d.ts +0 -87
- package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
- package/dist/types/vue-ui-waffle.d.ts +0 -86
- package/dist/types/vue-ui-wheel.d.ts +0 -57
- package/dist/types/vue-ui-word-cloud.d.ts +0 -84
- package/dist/types/vue-ui-world.d.ts +0 -81
- package/dist/types/vue-ui-xy-canvas.d.ts +0 -84
- package/dist/types/vue-ui-xy.d.ts +0 -125
- package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +0 -50
- package/dist/useChartAccessibility-Do37qcw2.js +0 -12
- package/dist/useConfig-ByaaSKhz.js +0 -7471
- package/dist/useFitSvgText-C-MEdAfe.js +0 -63
- package/dist/useNestedProp-Ck4hsrpu.js +0 -10
- package/dist/useObjectBindings-BR1sGimd.js +0 -189
- package/dist/usePanZoom-B-4M_gmY.js +0 -157
- package/dist/usePrefersMotion-BywLbIko.js +0 -15
- package/dist/usePrinter-X0yWOynH.js +0 -49
- package/dist/useResponsive-CrAInupd.js +0 -19
- package/dist/useStableElementSize-0I1IpHPl.js +0 -77
- package/dist/useSvgExport-Dtu973wa.js +0 -755
- package/dist/useTableResponsive-DrM1xqII.js +0 -24
- package/dist/useThemeCheck-rFK9Zlb_.js +0 -24
- package/dist/useTimeLabelCollider-Dm55Emzg.js +0 -57
- package/dist/useTimeLabels-C0x7zUXP.js +0 -272
- package/dist/useUserOptionState-CjPJPTg2.js +0 -15
- package/dist/utils.js +0 -28
- package/dist/vClickOutside-CbX_bC9A.js +0 -13
- package/dist/vue-data-ui-nsosW-n5.js +0 -274
- package/dist/vue-data-ui.js +0 -76
- package/dist/vue-ui-3d-bar-CTvvvgBE.js +0 -1757
- package/dist/vue-ui-accordion-BX9WL-QF.js +0 -81
- package/dist/vue-ui-age-pyramid-ckZtLlmH.js +0 -1238
- package/dist/vue-ui-annotator-Be3VpH8Z.js +0 -2899
- package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
- package/dist/vue-ui-bump-LQuPTOlm.js +0 -1249
- package/dist/vue-ui-candlestick-BeO06tlH.js +0 -1826
- package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
- package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
- package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
- package/dist/vue-ui-circle-pack-DyTYvEg3.js +0 -1608
- package/dist/vue-ui-cursor-C5_wkWul.js +0 -283
- package/dist/vue-ui-dag-mH0baWM3.js +0 -2909
- package/dist/vue-ui-dashboard-F7pEuJDh.js +0 -513
- package/dist/vue-ui-digits-BYBtwXy_.js +0 -209
- package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
- package/dist/vue-ui-donut-evolution-C46h0gLy.js +0 -1510
- package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
- package/dist/vue-ui-flow-BYYyk5KL.js +0 -1235
- package/dist/vue-ui-funnel-BfY509t-.js +0 -777
- package/dist/vue-ui-galaxy-D061gTYS.js +0 -1077
- package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
- package/dist/vue-ui-geo-BwOMFUVr.js +0 -1516
- package/dist/vue-ui-gizmo-CQsP8Nd3.js +0 -225
- package/dist/vue-ui-heatmap-DOsulVoP.js +0 -1568
- package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
- package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
- package/dist/vue-ui-kpi-CE-JFZ1o.js +0 -96
- package/dist/vue-ui-mini-loader-DDJUya9e.js +0 -125
- package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
- package/dist/vue-ui-mood-radar-B29gVcTN.js +0 -1148
- package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
- package/dist/vue-ui-onion-MN-PjNJq.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-C9zU7MP5.js +0 -1421
- package/dist/vue-ui-pattern-Bj-IPFr2.js +0 -154
- package/dist/vue-ui-pattern-seed-abRweCDE.js +0 -61
- package/dist/vue-ui-quadrant-h-QFG9O4.js +0 -1978
- package/dist/vue-ui-quick-chart-PAVz4c9z.js +0 -2469
- package/dist/vue-ui-radar-D2pVd53z.js +0 -1229
- package/dist/vue-ui-rating-D_QR_A3V.js +0 -343
- package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
- package/dist/vue-ui-ridgeline-DamvqiyJ.js +0 -1622
- package/dist/vue-ui-rings-DkHS5dwd.js +0 -1246
- package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
- package/dist/vue-ui-skeleton-zhkS1cmh.js +0 -2556
- package/dist/vue-ui-smiley-rFdGxZK6.js +0 -356
- package/dist/vue-ui-spark-trend-fQ10-UvM.js +0 -438
- package/dist/vue-ui-sparkbar-D5toou8V.js +0 -393
- package/dist/vue-ui-sparkgauge-DRZcIPYf.js +0 -255
- package/dist/vue-ui-sparkhistogram-YizEqFdN.js +0 -560
- package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
- package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
- package/dist/vue-ui-stackbar-BFLCEsRk.js +0 -2267
- package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
- package/dist/vue-ui-strip-plot-ByaDLFSL.js +0 -1340
- package/dist/vue-ui-table-DuA_CfGn.js +0 -1338
- package/dist/vue-ui-table-heatmap-BFKyJTr1.js +0 -344
- package/dist/vue-ui-table-sparkline-Dfei_QrJ.js +0 -707
- package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
- package/dist/vue-ui-timer-9LNNDl4q.js +0 -439
- package/dist/vue-ui-tiremarks-kF0Baqia.js +0 -552
- package/dist/vue-ui-treemap-BexKMBhz.js +0 -1587
- package/dist/vue-ui-waffle-Dq50j_uw.js +0 -1362
- package/dist/vue-ui-wheel-BETHlWsO.js +0 -885
- package/dist/vue-ui-word-cloud-D1AQtzmT.js +0 -1656
- package/dist/vue-ui-world-CcgbuSp_.js +0 -14264
- package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
- package/dist/vue-ui-xy-canvas-4ABYnasj.js +0 -1786
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +0 -185
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +0 -301
- package/dist/vue_ui_bullet-CE5sFT7u.js +0 -186
- package/dist/vue_ui_bump-frnXaXul.js +0 -201
- package/dist/vue_ui_candlestick-sY6UtOop.js +0 -374
- package/dist/vue_ui_chestnut-BiUZFv40.js +0 -305
- package/dist/vue_ui_chord-DpyR_b9A.js +0 -275
- package/dist/vue_ui_circle_pack-FjH0ZQeb.js +0 -172
- package/dist/vue_ui_dag-Ci_MOnvd.js +0 -258
- package/dist/vue_ui_donut-Cx2_BGcQ.js +0 -358
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +0 -717
- package/dist/vue_ui_dumbbell-CClzAZTN.js +0 -304
- package/dist/vue_ui_flow-CCHO1Lo9.js +0 -238
- package/dist/vue_ui_funnel-h8q2mRpC.js +0 -234
- package/dist/vue_ui_galaxy-70vtkEBw.js +0 -265
- package/dist/vue_ui_gauge-C17CgfzN.js +0 -178
- package/dist/vue_ui_geo-C0UbQ0Lc.js +0 -248
- package/dist/vue_ui_heatmap-BqPP3J4M.js +0 -319
- package/dist/vue_ui_history_plot-C5nytDHh.js +0 -413
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +0 -341
- package/dist/vue_ui_molecule-Dka4JBOp.js +0 -231
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +0 -281
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +0 -273
- package/dist/vue_ui_onion-DTV9cup-.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +0 -278
- package/dist/vue_ui_quadrant-3kjYvxpj.js +0 -428
- package/dist/vue_ui_quick_chart--VaYQuM4.js +0 -139
- package/dist/vue_ui_radar-Dxx9GJmj.js +0 -306
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +0 -98
- package/dist/vue_ui_ridgeline-CAtYca4b.js +0 -767
- package/dist/vue_ui_rings-DXC1VeX5.js +0 -320
- package/dist/vue_ui_scatter-D2S2j0ap.js +0 -479
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +0 -82
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +0 -64
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +0 -90
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +0 -123
- package/dist/vue_ui_sparkline-wgk7yO7E.js +0 -151
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +0 -175
- package/dist/vue_ui_stackbar-BW_C3MXw.js +0 -412
- package/dist/vue_ui_stackline-DXxzibUd.js +0 -460
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +0 -301
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +0 -80
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +0 -124
- package/dist/vue_ui_thermometer-CuN7Gpez.js +0 -123
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +0 -122
- package/dist/vue_ui_treemap-BQp06q-g.js +0 -328
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +0 -247
- package/dist/vue_ui_waffle-C_Ev4l7B.js +0 -292
- package/dist/vue_ui_wheel-DdkTPXJU.js +0 -133
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +0 -254
- package/dist/vue_ui_xy-BYPqfYyx.js +0 -482
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +0 -408
|
@@ -1,1148 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { D as t, G as n, H as r, J as i, Mt as a, S as ee, St as te, X as ne, i as re, jt as o, t as ie, xt as ae, zt as oe } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as se } from "./useConfig-ByaaSKhz.js";
|
|
4
|
-
import { t as ce } from "./usePrinter-X0yWOynH.js";
|
|
5
|
-
import { n as le, t as ue } from "./BaseScanner-C7dmAref.js";
|
|
6
|
-
import { t as de } from "./useSvgExport-Dtu973wa.js";
|
|
7
|
-
import { t as fe } from "./useNestedProp-Ck4hsrpu.js";
|
|
8
|
-
import { t as pe } from "./useThemeCheck-rFK9Zlb_.js";
|
|
9
|
-
import { t as me } from "./img-BjOr008R.js";
|
|
10
|
-
import { n as he } from "./Title-__gWq2g6.js";
|
|
11
|
-
import { t as ge } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
12
|
-
import { c as _e } from "./canvas-lib-DTaADQOK.js";
|
|
13
|
-
import { t as ve } from "./useResponsive-CrAInupd.js";
|
|
14
|
-
import { t as ye } from "./A11yDataTable-q2-8fSlJ.js";
|
|
15
|
-
import { t as be } from "./useUserOptionState-CjPJPTg2.js";
|
|
16
|
-
import { t as xe } from "./useChartAccessibility-Do37qcw2.js";
|
|
17
|
-
import { t as Se } from "./Legend-Gg5Q4Clb.js";
|
|
18
|
-
import { t as Ce } from "./vue_ui_mood_radar-Dg4ijm53.js";
|
|
19
|
-
import { Fragment as we, Teleport as Te, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as Ee, createTextVNode as De, createVNode as f, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as h, normalizeStyle as g, onMounted as je, openBlock as _, ref as v, renderList as Me, renderSlot as y, resolveDynamicComponent as Ne, toDisplayString as b, toRefs as Pe, unref as x, watch as Fe, withCtx as S } from "vue";
|
|
20
|
-
//#region src/components/vue-ui-mood-radar.vue
|
|
21
|
-
var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze = ["id"], Be = { style: { position: "relative" } }, Ve = [
|
|
22
|
-
"xmlns",
|
|
23
|
-
"aria-describedby",
|
|
24
|
-
"viewBox"
|
|
25
|
-
], He = ["width", "height"], Ue = ["id"], We = ["stop-color"], Ge = ["stop-color"], Ke = [
|
|
26
|
-
"x1",
|
|
27
|
-
"y1",
|
|
28
|
-
"x2",
|
|
29
|
-
"y2",
|
|
30
|
-
"stroke",
|
|
31
|
-
"stroke-width"
|
|
32
|
-
], qe = [
|
|
33
|
-
"d",
|
|
34
|
-
"stroke",
|
|
35
|
-
"stroke-width"
|
|
36
|
-
], Je = ["transform"], Ye = ["stroke"], Xe = ["aria-label", "fill"], Ze = ["transform"], Qe = ["stroke"], $e = ["aria-label", "fill"], et = ["transform"], tt = ["stroke"], nt = ["aria-label", "fill"], rt = ["transform"], it = ["stroke"], at = ["aria-label", "fill"], ot = ["transform"], st = ["stroke"], ct = ["aria-label", "fill"], lt = [
|
|
37
|
-
"d",
|
|
38
|
-
"stroke",
|
|
39
|
-
"stroke-width",
|
|
40
|
-
"fill"
|
|
41
|
-
], ut = [
|
|
42
|
-
"x1",
|
|
43
|
-
"y1",
|
|
44
|
-
"x2",
|
|
45
|
-
"y2",
|
|
46
|
-
"stroke"
|
|
47
|
-
], dt = [
|
|
48
|
-
"cx",
|
|
49
|
-
"cy",
|
|
50
|
-
"fill",
|
|
51
|
-
"stroke"
|
|
52
|
-
], ft = [
|
|
53
|
-
"cx",
|
|
54
|
-
"cy",
|
|
55
|
-
"fill",
|
|
56
|
-
"stroke"
|
|
57
|
-
], pt = [
|
|
58
|
-
"x",
|
|
59
|
-
"y",
|
|
60
|
-
"fill",
|
|
61
|
-
"font-weight"
|
|
62
|
-
], mt = [
|
|
63
|
-
"x",
|
|
64
|
-
"y",
|
|
65
|
-
"fill"
|
|
66
|
-
], ht = {
|
|
67
|
-
key: 0,
|
|
68
|
-
style: {
|
|
69
|
-
position: "absolute",
|
|
70
|
-
top: "100%",
|
|
71
|
-
left: "0",
|
|
72
|
-
width: "100%"
|
|
73
|
-
},
|
|
74
|
-
"data-dom-to-png-ignore": "",
|
|
75
|
-
"aria-hidden": "true"
|
|
76
|
-
}, gt = {
|
|
77
|
-
key: 5,
|
|
78
|
-
class: "vue-data-ui-watermark"
|
|
79
|
-
}, _t = ["id"], vt = ["onClick", "onKeydown"], yt = ["innerHTML"], C = /* @__PURE__ */ ge({
|
|
80
|
-
__name: "vue-ui-mood-radar",
|
|
81
|
-
props: {
|
|
82
|
-
config: {
|
|
83
|
-
type: Object,
|
|
84
|
-
default() {
|
|
85
|
-
return {};
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
dataset: {
|
|
89
|
-
type: Object,
|
|
90
|
-
default() {
|
|
91
|
-
return {};
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
emits: ["copyAlt"],
|
|
96
|
-
setup(e, { expose: ge, emit: Ie }) {
|
|
97
|
-
let C = p(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), bt = p(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), xt = p(() => import("./DataTable-DmE8Oo4i.js")), St = p(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Ct = p(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), wt = p(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), Tt = p(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_mood_radar: Et } = se(), { isThemeValid: Dt, warnInvalidTheme: Ot } = pe(), w = e, kt = Ie, T = v(r()), E = v(null), D = v(null), At = v(null), jt = v(0), Mt = v(0), Nt = v(0), Pt = v(null), Ft = v(null), O = v(null), k = v(null), It = v(null), Lt = v(!1), A = v(null), Rt = v(null), j = v(!1), M = v(!1), N = v(null), zt = v(!1), Bt = s(() => !!w.dataset && Object.keys(w.dataset).length), P = v(Jt()), F = s(() => P.value.userOptions.useCursorPointer), Vt = s(() => oe({
|
|
98
|
-
defaultConfig: {
|
|
99
|
-
userOptions: { show: !1 },
|
|
100
|
-
table: { show: !1 },
|
|
101
|
-
style: { chart: {
|
|
102
|
-
backgroundColor: "#99999930",
|
|
103
|
-
layout: {
|
|
104
|
-
grid: { stroke: "#6A6A6A" },
|
|
105
|
-
outerPolygon: { stroke: "#6A6A6A" },
|
|
106
|
-
dataPolygon: {
|
|
107
|
-
color: "#6A6A6A",
|
|
108
|
-
opacity: 30,
|
|
109
|
-
stroke: "#6A6A6A"
|
|
110
|
-
},
|
|
111
|
-
smileys: { colors: {
|
|
112
|
-
1: "#DBDBDB",
|
|
113
|
-
2: "#C4C4C4",
|
|
114
|
-
3: "#ADADAD",
|
|
115
|
-
4: "#969696",
|
|
116
|
-
5: "#808080"
|
|
117
|
-
} },
|
|
118
|
-
dataLabel: { color: "transparent" }
|
|
119
|
-
},
|
|
120
|
-
legend: { backgroundColor: "transparent" }
|
|
121
|
-
} }
|
|
122
|
-
},
|
|
123
|
-
userConfig: P.value.skeletonConfig ?? {}
|
|
124
|
-
})), { loading: Ht, FINAL_DATASET: I } = le({
|
|
125
|
-
...Pe(w),
|
|
126
|
-
FINAL_CONFIG: P,
|
|
127
|
-
prepareConfig: Jt,
|
|
128
|
-
callback: () => {
|
|
129
|
-
Promise.resolve().then(async () => {
|
|
130
|
-
await ke(), R.value.showTable = P.value.table.show;
|
|
131
|
-
});
|
|
132
|
-
},
|
|
133
|
-
skeletonDataset: w.config?.skeletonDataset ?? {
|
|
134
|
-
1: 1,
|
|
135
|
-
2: 1,
|
|
136
|
-
3: 1,
|
|
137
|
-
4: 1,
|
|
138
|
-
5: 1
|
|
139
|
-
},
|
|
140
|
-
skeletonConfig: oe({
|
|
141
|
-
defaultConfig: P.value,
|
|
142
|
-
userConfig: Vt.value
|
|
143
|
-
})
|
|
144
|
-
});
|
|
145
|
-
je(() => {
|
|
146
|
-
Lt.value = !0, Wt();
|
|
147
|
-
});
|
|
148
|
-
let Ut = s(() => P.value.debug);
|
|
149
|
-
function Wt() {
|
|
150
|
-
if (te(w.dataset) && ne({
|
|
151
|
-
componentName: "VueUiMoodRadar",
|
|
152
|
-
type: "dataset",
|
|
153
|
-
debug: Ut.value
|
|
154
|
-
}), P.value.responsive) {
|
|
155
|
-
let e = _e(() => {
|
|
156
|
-
let { width: e, height: t } = ve({
|
|
157
|
-
chart: E.value,
|
|
158
|
-
title: P.value.style.chart.title.text ? Pt.value : null,
|
|
159
|
-
legend: P.value.style.chart.legend.show ? Ft.value : null,
|
|
160
|
-
noTitle: At.value,
|
|
161
|
-
source: It.value
|
|
162
|
-
});
|
|
163
|
-
requestAnimationFrame(() => {
|
|
164
|
-
z.value.width = e, z.value.height = t - 12;
|
|
165
|
-
});
|
|
166
|
-
});
|
|
167
|
-
O.value && (k.value && O.value.unobserve(k.value), O.value.disconnect()), O.value = new ResizeObserver(e), k.value = E.value.parentNode, O.value.observe(k.value);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
let { userOptionsVisible: Gt, setUserOptionsVisibility: Kt, keepUserOptionState: qt } = be({ config: P.value }), { svgRef: L } = xe({ config: P.value.style.chart.title });
|
|
171
|
-
function Jt() {
|
|
172
|
-
let e = fe({
|
|
173
|
-
userConfig: w.config,
|
|
174
|
-
defaultConfig: Et
|
|
175
|
-
}), t = e.theme;
|
|
176
|
-
if (!t) return e;
|
|
177
|
-
if (!Dt.value(e)) return Ot(e), e;
|
|
178
|
-
let n = fe({
|
|
179
|
-
userConfig: Ce[t] || w.config,
|
|
180
|
-
defaultConfig: e
|
|
181
|
-
});
|
|
182
|
-
return fe({
|
|
183
|
-
userConfig: w.config,
|
|
184
|
-
defaultConfig: n
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
Fe(() => w.config, (e) => {
|
|
188
|
-
P.value = Jt(), Gt.value = !P.value.userOptions.showOnChartHover, Wt(), jt.value += 1, Mt.value += 1, Nt.value += 1, R.value.showTable = P.value.table.show;
|
|
189
|
-
}, { deep: !0 });
|
|
190
|
-
let { isPrinting: Yt, isImaging: Xt, generatePdf: Zt, generateImage: Qt } = ce({
|
|
191
|
-
elementId: T.value,
|
|
192
|
-
fileName: P.value.style.chart.title.text || "vue-ui-mood-radar",
|
|
193
|
-
options: P.value.userOptions.print
|
|
194
|
-
}), $t = s(() => P.value.userOptions.show && !P.value.style.chart.title.text), R = v({ showTable: P.value.table.show }), z = v({
|
|
195
|
-
height: 256,
|
|
196
|
-
width: 256
|
|
197
|
-
}), en = {
|
|
198
|
-
5: {
|
|
199
|
-
x: 128,
|
|
200
|
-
y: 35
|
|
201
|
-
},
|
|
202
|
-
4: {
|
|
203
|
-
x: 218,
|
|
204
|
-
y: 98.5
|
|
205
|
-
},
|
|
206
|
-
3: {
|
|
207
|
-
x: 185,
|
|
208
|
-
y: 204
|
|
209
|
-
},
|
|
210
|
-
2: {
|
|
211
|
-
x: 70,
|
|
212
|
-
y: 204
|
|
213
|
-
},
|
|
214
|
-
1: {
|
|
215
|
-
x: 38.5,
|
|
216
|
-
y: 98.5
|
|
217
|
-
}
|
|
218
|
-
}, tn = s(() => {
|
|
219
|
-
let e = {};
|
|
220
|
-
return sn.value.forEach((t) => {
|
|
221
|
-
e[t.key] = {
|
|
222
|
-
x: t.x,
|
|
223
|
-
y: t.y
|
|
224
|
-
};
|
|
225
|
-
}), e;
|
|
226
|
-
});
|
|
227
|
-
function B(e) {
|
|
228
|
-
let t = en[e], n = tn.value[e] || t;
|
|
229
|
-
return `translate(${n.x - t.x}, ${n.y - t.y})`;
|
|
230
|
-
}
|
|
231
|
-
let nn = s(() => t({
|
|
232
|
-
plot: {
|
|
233
|
-
x: z.value.width / 2,
|
|
234
|
-
y: z.value.height / 2
|
|
235
|
-
},
|
|
236
|
-
radius: Math.min(z.value.height, z.value.width) * .35,
|
|
237
|
-
sides: 5,
|
|
238
|
-
rotation: 11
|
|
239
|
-
}));
|
|
240
|
-
function rn({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i, key: a, value: ee }) {
|
|
241
|
-
return {
|
|
242
|
-
x: e + (n - e) * i,
|
|
243
|
-
y: t + (r - t) * i,
|
|
244
|
-
key: a,
|
|
245
|
-
value: ee
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
let an = s(() => Math.max(...Object.values(I.value).map((e) => isNaN(e) ? 0 : e))), V = s(() => Object.values(I.value).reduce((e, t) => (isNaN(e) ? 0 : e) + (isNaN(t) ? 0 : t), 0)), H = s(() => Object.keys(I.value).map((e, t) => {
|
|
249
|
-
let n = typeof I.value[e] != "number" || isNaN(I.value[e]) ? 0 : I.value[e];
|
|
250
|
-
return {
|
|
251
|
-
index: t,
|
|
252
|
-
key: e,
|
|
253
|
-
value: n,
|
|
254
|
-
proportion: n / V.value,
|
|
255
|
-
color: P.value.style.chart.layout.smileys.colors[e]
|
|
256
|
-
};
|
|
257
|
-
}).map((e) => ({
|
|
258
|
-
...e,
|
|
259
|
-
onSelect: () => U(e.key)
|
|
260
|
-
})).sort((e, t) => t.key - e.key)), on = s(() => H.value.map((e, t) => ({
|
|
261
|
-
...e,
|
|
262
|
-
display: `${re(P.value.style.chart.layout.dataLabel.formatter, e.value, n({
|
|
263
|
-
p: P.value.style.chart.layout.dataLabel.prefix,
|
|
264
|
-
v: e.value,
|
|
265
|
-
s: P.value.style.chart.layout.dataLabel.suffix,
|
|
266
|
-
r: P.value.style.chart.layout.dataLabel.roundingValue
|
|
267
|
-
}))}${Ht.value ? "" : ` (${n({
|
|
268
|
-
v: e.proportion * 100,
|
|
269
|
-
s: "%",
|
|
270
|
-
r: P.value.style.chart.legend.roundingPercentage
|
|
271
|
-
})})`}`
|
|
272
|
-
}))), sn = s(() => ([
|
|
273
|
-
"1",
|
|
274
|
-
"2",
|
|
275
|
-
"3",
|
|
276
|
-
"4",
|
|
277
|
-
"5"
|
|
278
|
-
].forEach((e) => {
|
|
279
|
-
[null, void 0].includes(I.value[e]) && ne({
|
|
280
|
-
componentName: "VueUiMoodRadar",
|
|
281
|
-
type: "datasetAttribute",
|
|
282
|
-
property: e
|
|
283
|
-
});
|
|
284
|
-
}), nn.value.coordinates.map((e, t) => {
|
|
285
|
-
let n = rn({
|
|
286
|
-
centerX: z.value.width / 2,
|
|
287
|
-
centerY: z.value.height / 2,
|
|
288
|
-
apexX: e.x,
|
|
289
|
-
apexY: e.y,
|
|
290
|
-
proportion: H.value[t].value / an.value,
|
|
291
|
-
key: H.value[t].key,
|
|
292
|
-
value: H.value[t].value
|
|
293
|
-
});
|
|
294
|
-
return {
|
|
295
|
-
...e,
|
|
296
|
-
plots: n,
|
|
297
|
-
key: H.value[t].key
|
|
298
|
-
};
|
|
299
|
-
}))), cn = s(() => ({
|
|
300
|
-
cy: "mood-radar-legend",
|
|
301
|
-
backgroundColor: P.value.style.chart.legend.backgroundColor,
|
|
302
|
-
color: P.value.style.chart.legend.color,
|
|
303
|
-
fontSize: P.value.style.chart.legend.fontSize,
|
|
304
|
-
paddingBottom: 12,
|
|
305
|
-
fontWeight: P.value.style.chart.legend.bold ? "bold" : ""
|
|
306
|
-
}));
|
|
307
|
-
function U(e) {
|
|
308
|
-
e === D.value ? D.value = null : (D.value = e, K(e));
|
|
309
|
-
}
|
|
310
|
-
function W(e) {
|
|
311
|
-
D.value = e;
|
|
312
|
-
let t = H.value.find((t) => t.key === e);
|
|
313
|
-
P.value.events.datapointEnter && P.value.events.datapointEnter({
|
|
314
|
-
datapoint: t,
|
|
315
|
-
seriesIndex: t.index
|
|
316
|
-
});
|
|
317
|
-
}
|
|
318
|
-
function G(e) {
|
|
319
|
-
D.value = null;
|
|
320
|
-
let t = H.value.find((t) => t.key === e);
|
|
321
|
-
P.value.events.datapointLeave && P.value.events.datapointLeave({
|
|
322
|
-
datapoint: t,
|
|
323
|
-
seriesIndex: t.index
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
function K(e) {
|
|
327
|
-
let t = H.value.find((t) => t.key === e);
|
|
328
|
-
P.value.events.datapointClick && P.value.events.datapointClick({
|
|
329
|
-
datapoint: t,
|
|
330
|
-
seriesIndex: t.index
|
|
331
|
-
});
|
|
332
|
-
}
|
|
333
|
-
let q = s(() => ({
|
|
334
|
-
head: H.value.map((e) => ({
|
|
335
|
-
name: e.key,
|
|
336
|
-
color: e.color
|
|
337
|
-
})),
|
|
338
|
-
body: H.value.map((e) => isNaN(e.value) ? 0 : e.value)
|
|
339
|
-
}));
|
|
340
|
-
function ln(e = null) {
|
|
341
|
-
ke(() => {
|
|
342
|
-
let t = q.value.head.map((e, t) => [
|
|
343
|
-
[e.name],
|
|
344
|
-
[q.value.body[t]],
|
|
345
|
-
[isNaN(q.value.body[t] / V.value) ? "-" : q.value.body[t] / V.value * 100]
|
|
346
|
-
]), n = ee([
|
|
347
|
-
[P.value.style.chart.title.text],
|
|
348
|
-
[P.value.style.chart.title.subtitle.text],
|
|
349
|
-
[
|
|
350
|
-
[""],
|
|
351
|
-
["val"],
|
|
352
|
-
["%"]
|
|
353
|
-
]
|
|
354
|
-
].concat(t));
|
|
355
|
-
e ? e(n) : i({
|
|
356
|
-
csvContent: n,
|
|
357
|
-
title: P.value.style.chart.title.text || "vue-ui-mood-radar"
|
|
358
|
-
});
|
|
359
|
-
});
|
|
360
|
-
}
|
|
361
|
-
let J = s(() => ({
|
|
362
|
-
head: [
|
|
363
|
-
" <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>",
|
|
364
|
-
Number(V.value.toFixed(P.value.table.td.roundingValue)).toLocaleString(),
|
|
365
|
-
"100%"
|
|
366
|
-
],
|
|
367
|
-
body: q.value.head.map((e, t) => [
|
|
368
|
-
{
|
|
369
|
-
color: e.color,
|
|
370
|
-
name: e.name
|
|
371
|
-
},
|
|
372
|
-
q.value.body[t].toFixed(P.value.table.td.roundingValue),
|
|
373
|
-
isNaN(q.value.body[t] / V.value) ? "-" : (q.value.body[t] / V.value * 100).toFixed(P.value.table.td.roundingPercentage) + "%"
|
|
374
|
-
]),
|
|
375
|
-
config: {
|
|
376
|
-
th: {
|
|
377
|
-
backgroundColor: P.value.table.th.backgroundColor,
|
|
378
|
-
color: P.value.table.th.color,
|
|
379
|
-
outline: P.value.table.th.outline
|
|
380
|
-
},
|
|
381
|
-
td: {
|
|
382
|
-
backgroundColor: P.value.table.td.backgroundColor,
|
|
383
|
-
color: P.value.table.td.color,
|
|
384
|
-
outline: P.value.table.td.outline
|
|
385
|
-
},
|
|
386
|
-
breakpoint: P.value.table.responsiveBreakpoint
|
|
387
|
-
},
|
|
388
|
-
colNames: [
|
|
389
|
-
P.value.table.columnNames.series,
|
|
390
|
-
P.value.table.columnNames.value,
|
|
391
|
-
P.value.table.columnNames.percentage
|
|
392
|
-
]
|
|
393
|
-
}));
|
|
394
|
-
function un() {
|
|
395
|
-
return H.value;
|
|
396
|
-
}
|
|
397
|
-
function dn() {
|
|
398
|
-
R.value.showTable = !R.value.showTable;
|
|
399
|
-
}
|
|
400
|
-
let Y = v(!1);
|
|
401
|
-
function fn(e) {
|
|
402
|
-
Y.value = e;
|
|
403
|
-
}
|
|
404
|
-
let X = v(!1);
|
|
405
|
-
function pn() {
|
|
406
|
-
X.value = !X.value;
|
|
407
|
-
}
|
|
408
|
-
async function mn({ scale: e = 2 } = {}) {
|
|
409
|
-
if (!E.value) return;
|
|
410
|
-
let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
|
|
411
|
-
domElement: E.value,
|
|
412
|
-
base64: !0,
|
|
413
|
-
img: !0,
|
|
414
|
-
scale: e
|
|
415
|
-
});
|
|
416
|
-
return {
|
|
417
|
-
imageUri: i,
|
|
418
|
-
base64: a,
|
|
419
|
-
title: P.value.style.chart.title.text,
|
|
420
|
-
width: t,
|
|
421
|
-
height: n,
|
|
422
|
-
aspectRatio: r
|
|
423
|
-
};
|
|
424
|
-
}
|
|
425
|
-
let Z = s(() => {
|
|
426
|
-
let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
|
|
427
|
-
return {
|
|
428
|
-
component: e ? Tt : bt,
|
|
429
|
-
title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
|
|
430
|
-
props: e ? {
|
|
431
|
-
backgroundColor: P.value.table.th.backgroundColor,
|
|
432
|
-
color: P.value.table.th.color,
|
|
433
|
-
headerColor: P.value.table.th.color,
|
|
434
|
-
headerBg: P.value.table.th.backgroundColor,
|
|
435
|
-
isFullscreen: Y.value,
|
|
436
|
-
fullscreenParent: E.value,
|
|
437
|
-
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
438
|
-
isCursorPointer: F.value
|
|
439
|
-
} : {
|
|
440
|
-
hideDetails: !0,
|
|
441
|
-
config: {
|
|
442
|
-
open: t,
|
|
443
|
-
maxHeight: 1e4,
|
|
444
|
-
body: {
|
|
445
|
-
backgroundColor: P.value.style.chart.backgroundColor,
|
|
446
|
-
color: P.value.style.chart.color
|
|
447
|
-
},
|
|
448
|
-
head: {
|
|
449
|
-
backgroundColor: P.value.style.chart.backgroundColor,
|
|
450
|
-
color: P.value.style.chart.color
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
};
|
|
455
|
-
});
|
|
456
|
-
Fe(() => R.value.showTable, (e) => {
|
|
457
|
-
P.value.table.show || (e && P.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
|
|
458
|
-
});
|
|
459
|
-
function hn() {
|
|
460
|
-
R.value.showTable = !1, Rt.value && Rt.value.setTableIconState(!1);
|
|
461
|
-
}
|
|
462
|
-
let gn = s(() => on.value.map((e) => ({
|
|
463
|
-
...e,
|
|
464
|
-
name: e.display,
|
|
465
|
-
shape: "circle"
|
|
466
|
-
}))), _n = s(() => P.value.style.chart.backgroundColor), vn = s(() => P.value.style.chart.legend), { exportSvg: yn, getSvg: bn } = de({
|
|
467
|
-
svg: L,
|
|
468
|
-
title: s(() => P.value.style.chart.title),
|
|
469
|
-
legend: vn,
|
|
470
|
-
legendItems: gn,
|
|
471
|
-
backgroundColor: _n
|
|
472
|
-
});
|
|
473
|
-
async function xn({ isCb: e }) {
|
|
474
|
-
M.value = !0, await ke();
|
|
475
|
-
try {
|
|
476
|
-
if (e) {
|
|
477
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await bn();
|
|
478
|
-
await Promise.resolve(P.value.userOptions.callbacks.svg({
|
|
479
|
-
blob: e,
|
|
480
|
-
url: t,
|
|
481
|
-
text: n,
|
|
482
|
-
dataUrl: r
|
|
483
|
-
}));
|
|
484
|
-
} else await Promise.resolve(yn());
|
|
485
|
-
} finally {
|
|
486
|
-
M.value = !1;
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
function Sn(e) {
|
|
490
|
-
if (e?.stage === "start") {
|
|
491
|
-
j.value = !0;
|
|
492
|
-
return;
|
|
493
|
-
}
|
|
494
|
-
if (e?.stage === "end") {
|
|
495
|
-
j.value = !1;
|
|
496
|
-
return;
|
|
497
|
-
}
|
|
498
|
-
Qt();
|
|
499
|
-
}
|
|
500
|
-
async function Cn() {
|
|
501
|
-
if (kt("copyAlt", {
|
|
502
|
-
config: P.value,
|
|
503
|
-
dataset: H.value
|
|
504
|
-
}), !P.value.userOptions.callbacks.altCopy) {
|
|
505
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
506
|
-
return;
|
|
507
|
-
}
|
|
508
|
-
await Promise.resolve(P.value.userOptions.callbacks.altCopy({
|
|
509
|
-
config: P.value,
|
|
510
|
-
dataset: H.value
|
|
511
|
-
}));
|
|
512
|
-
}
|
|
513
|
-
let Q = s(() => H.value.map((e) => String(e.key)));
|
|
514
|
-
function wn() {
|
|
515
|
-
Kt(!0);
|
|
516
|
-
}
|
|
517
|
-
function Tn() {
|
|
518
|
-
Kt(!1);
|
|
519
|
-
}
|
|
520
|
-
function En(e) {
|
|
521
|
-
return H.value.find((t) => String(t.key) === String(e));
|
|
522
|
-
}
|
|
523
|
-
function Dn(e, t, r) {
|
|
524
|
-
return re(P.value.style.chart.layout.dataLabel.formatter, e, n({
|
|
525
|
-
p: P.value.style.chart.layout.dataLabel.prefix,
|
|
526
|
-
v: e,
|
|
527
|
-
s: P.value.style.chart.layout.dataLabel.suffix,
|
|
528
|
-
r: P.value.style.chart.layout.dataLabel.roundingValue
|
|
529
|
-
}), {
|
|
530
|
-
datapoint: r,
|
|
531
|
-
seriesIndex: t
|
|
532
|
-
});
|
|
533
|
-
}
|
|
534
|
-
function On(e) {
|
|
535
|
-
return n({
|
|
536
|
-
v: V.value ? e / V.value * 100 : 0,
|
|
537
|
-
s: "%",
|
|
538
|
-
r: P.value.style.chart.layout.dataLabel.roundingPercentage
|
|
539
|
-
});
|
|
540
|
-
}
|
|
541
|
-
function $(e) {
|
|
542
|
-
let t = En(e);
|
|
543
|
-
return t ? `${e}, ${Dn(t.value, t.index, t)}, ${On(t.value)}` : `${e}`;
|
|
544
|
-
}
|
|
545
|
-
function kn(e) {
|
|
546
|
-
let t = Q.value[e];
|
|
547
|
-
t && (N.value = e, D.value = t);
|
|
548
|
-
}
|
|
549
|
-
function An() {
|
|
550
|
-
zt.value = !0;
|
|
551
|
-
}
|
|
552
|
-
function jn() {
|
|
553
|
-
N.value = null, D.value = null, zt.value = !1;
|
|
554
|
-
}
|
|
555
|
-
function Mn(e) {
|
|
556
|
-
if (!L.value || !Q.value.length || X.value || document.activeElement !== L.value) return;
|
|
557
|
-
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
558
|
-
if (!t && !n && !r && !i) return;
|
|
559
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
560
|
-
N.value = null, D.value = null;
|
|
561
|
-
return;
|
|
562
|
-
}
|
|
563
|
-
if (r) {
|
|
564
|
-
if (N.value === null) return;
|
|
565
|
-
let e = Q.value[N.value];
|
|
566
|
-
if (!e) return;
|
|
567
|
-
U(e);
|
|
568
|
-
return;
|
|
569
|
-
}
|
|
570
|
-
let a = N.value;
|
|
571
|
-
a === null || a < 0 || a >= Q.value.length ? a = n ? 0 : Q.value.length - 1 : n ? (a += 1, a >= Q.value.length && (a = 0)) : t && (--a, a < 0 && (a = Q.value.length - 1)), kn(a);
|
|
572
|
-
}
|
|
573
|
-
function Nn(e, t) {
|
|
574
|
-
let n = e.key === "Enter" || e.key === " ", r = e.key === "Escape";
|
|
575
|
-
if (!(!n && !r)) {
|
|
576
|
-
if (e.preventDefault(), e.stopPropagation(), r) {
|
|
577
|
-
N.value = null, D.value = null;
|
|
578
|
-
return;
|
|
579
|
-
}
|
|
580
|
-
U(String(t));
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
let Pn = s(() => ({
|
|
584
|
-
headers: J.value?.colNames ?? [],
|
|
585
|
-
rows: H.value.map((e) => [
|
|
586
|
-
String(e.key),
|
|
587
|
-
Dn(e.value, e.index, e),
|
|
588
|
-
On(e.value)
|
|
589
|
-
])
|
|
590
|
-
}));
|
|
591
|
-
return ge({
|
|
592
|
-
getData: un,
|
|
593
|
-
getImage: mn,
|
|
594
|
-
generatePdf: Zt,
|
|
595
|
-
generateCsv: ln,
|
|
596
|
-
generateImage: Qt,
|
|
597
|
-
generateSvg: xn,
|
|
598
|
-
toggleTable: dn,
|
|
599
|
-
toggleAnnotator: pn,
|
|
600
|
-
toggleFullscreen: fn,
|
|
601
|
-
copyAlt: Cn
|
|
602
|
-
}), (e, t) => (_(), u("div", {
|
|
603
|
-
class: Ae(`vue-data-ui-component vue-ui-mood-radar ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
604
|
-
ref_key: "moodRadarChart",
|
|
605
|
-
ref: E,
|
|
606
|
-
id: `${T.value}`,
|
|
607
|
-
style: g(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
|
|
608
|
-
onMouseenter: wn,
|
|
609
|
-
onMouseleave: Tn
|
|
610
|
-
}, [
|
|
611
|
-
d("div", {
|
|
612
|
-
id: `chart-instructions-${T.value}`,
|
|
613
|
-
class: "sr-only"
|
|
614
|
-
}, [d("p", null, b(P.value.a11y.translations.keyboardNavigation), 1)], 8, Re),
|
|
615
|
-
Pn.value?.rows?.length ? (_(), c(ye, {
|
|
616
|
-
key: 0,
|
|
617
|
-
uid: T.value,
|
|
618
|
-
head: Pn.value.headers,
|
|
619
|
-
body: Pn.value.rows,
|
|
620
|
-
notice: P.value.a11y.translations.tableAvailable,
|
|
621
|
-
caption: P.value.a11y.translations.tableCaption
|
|
622
|
-
}, null, 8, [
|
|
623
|
-
"uid",
|
|
624
|
-
"head",
|
|
625
|
-
"body",
|
|
626
|
-
"notice",
|
|
627
|
-
"caption"
|
|
628
|
-
])) : l("", !0),
|
|
629
|
-
P.value.userOptions.buttons.annotator ? (_(), c(x(St), {
|
|
630
|
-
key: 1,
|
|
631
|
-
svgRef: x(L),
|
|
632
|
-
backgroundColor: P.value.style.chart.backgroundColor,
|
|
633
|
-
color: P.value.style.chart.color,
|
|
634
|
-
active: X.value,
|
|
635
|
-
isCursorPointer: F.value,
|
|
636
|
-
onClose: pn
|
|
637
|
-
}, {
|
|
638
|
-
"annotator-action-close": S(() => [y(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
639
|
-
"annotator-action-color": S(({ color: t }) => [y(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
|
|
640
|
-
"annotator-action-draw": S(({ mode: t }) => [y(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
|
|
641
|
-
"annotator-action-undo": S(({ disabled: t }) => [y(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
|
|
642
|
-
"annotator-action-redo": S(({ disabled: t }) => [y(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
|
|
643
|
-
"annotator-action-delete": S(({ disabled: t }) => [y(e.$slots, "annotator-action-delete", h(m({ disabled: t })), void 0, !0)]),
|
|
644
|
-
_: 3
|
|
645
|
-
}, 8, [
|
|
646
|
-
"svgRef",
|
|
647
|
-
"backgroundColor",
|
|
648
|
-
"color",
|
|
649
|
-
"active",
|
|
650
|
-
"isCursorPointer"
|
|
651
|
-
])) : l("", !0),
|
|
652
|
-
$t.value ? (_(), u("div", {
|
|
653
|
-
key: 2,
|
|
654
|
-
ref_key: "noTitle",
|
|
655
|
-
ref: At,
|
|
656
|
-
class: "vue-data-ui-no-title-space",
|
|
657
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
658
|
-
}, null, 512)) : l("", !0),
|
|
659
|
-
P.value.style.chart.title.text ? (_(), u("div", {
|
|
660
|
-
key: 3,
|
|
661
|
-
ref_key: "chartTitle",
|
|
662
|
-
ref: Pt,
|
|
663
|
-
style: "width:100%;background:transparent"
|
|
664
|
-
}, [f(he, { config: {
|
|
665
|
-
title: {
|
|
666
|
-
cy: "mood-radar-title",
|
|
667
|
-
...P.value.style.chart.title
|
|
668
|
-
},
|
|
669
|
-
subtitle: {
|
|
670
|
-
cy: "mood-radar-subtitle",
|
|
671
|
-
...P.value.style.chart.title.subtitle
|
|
672
|
-
}
|
|
673
|
-
} }, null, 8, ["config"])], 512)) : l("", !0),
|
|
674
|
-
d("div", { id: `legend-top-${T.value}` }, null, 8, ze),
|
|
675
|
-
P.value.userOptions.show && Bt.value && (x(qt) || x(Gt)) ? (_(), c(x(Ct), {
|
|
676
|
-
key: 4,
|
|
677
|
-
ref_key: "userOptionsRef",
|
|
678
|
-
ref: Rt,
|
|
679
|
-
backgroundColor: P.value.style.chart.backgroundColor,
|
|
680
|
-
color: P.value.style.chart.color,
|
|
681
|
-
isPrinting: x(Yt),
|
|
682
|
-
isImaging: x(Xt),
|
|
683
|
-
uid: T.value,
|
|
684
|
-
hasPdf: P.value.userOptions.buttons.pdf,
|
|
685
|
-
hasXls: P.value.userOptions.buttons.csv,
|
|
686
|
-
hasImg: P.value.userOptions.buttons.img,
|
|
687
|
-
hasSvg: P.value.userOptions.buttons.svg,
|
|
688
|
-
hasTable: P.value.userOptions.buttons.table,
|
|
689
|
-
hasFullscreen: P.value.userOptions.buttons.fullscreen,
|
|
690
|
-
hasAltCopy: P.value.userOptions.buttons.altCopy,
|
|
691
|
-
isFullscreen: Y.value,
|
|
692
|
-
titles: { ...P.value.userOptions.buttonTitles },
|
|
693
|
-
chartElement: E.value,
|
|
694
|
-
position: P.value.userOptions.position,
|
|
695
|
-
hasAnnotator: P.value.userOptions.buttons.annotator,
|
|
696
|
-
isAnnotation: X.value,
|
|
697
|
-
callbacks: P.value.userOptions.callbacks,
|
|
698
|
-
printScale: P.value.userOptions.print.scale,
|
|
699
|
-
tableDialog: P.value.table.useDialog,
|
|
700
|
-
isCursorPointer: F.value,
|
|
701
|
-
onToggleFullscreen: fn,
|
|
702
|
-
onGeneratePdf: x(Zt),
|
|
703
|
-
onGenerateCsv: ln,
|
|
704
|
-
onGenerateImage: Sn,
|
|
705
|
-
onGenerateSvg: xn,
|
|
706
|
-
onToggleTable: dn,
|
|
707
|
-
onToggleAnnotator: pn,
|
|
708
|
-
onCopyAlt: Cn,
|
|
709
|
-
style: g({ visibility: x(qt) ? x(Gt) ? "visible" : "hidden" : "visible" })
|
|
710
|
-
}, Ee({ _: 2 }, [
|
|
711
|
-
e.$slots.menuIcon ? {
|
|
712
|
-
name: "menuIcon",
|
|
713
|
-
fn: S(({ isOpen: t, color: n }) => [y(e.$slots, "menuIcon", h(m({
|
|
714
|
-
isOpen: t,
|
|
715
|
-
color: n
|
|
716
|
-
})), void 0, !0)]),
|
|
717
|
-
key: "0"
|
|
718
|
-
} : void 0,
|
|
719
|
-
e.$slots.optionPdf ? {
|
|
720
|
-
name: "optionPdf",
|
|
721
|
-
fn: S(() => [y(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
722
|
-
key: "1"
|
|
723
|
-
} : void 0,
|
|
724
|
-
e.$slots.optionCsv ? {
|
|
725
|
-
name: "optionCsv",
|
|
726
|
-
fn: S(() => [y(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
727
|
-
key: "2"
|
|
728
|
-
} : void 0,
|
|
729
|
-
e.$slots.optionImg ? {
|
|
730
|
-
name: "optionImg",
|
|
731
|
-
fn: S(() => [y(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
732
|
-
key: "3"
|
|
733
|
-
} : void 0,
|
|
734
|
-
e.$slots.optionSvg ? {
|
|
735
|
-
name: "optionSvg",
|
|
736
|
-
fn: S(() => [y(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
737
|
-
key: "4"
|
|
738
|
-
} : void 0,
|
|
739
|
-
e.$slots.optionTable ? {
|
|
740
|
-
name: "optionTable",
|
|
741
|
-
fn: S(() => [y(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
742
|
-
key: "5"
|
|
743
|
-
} : void 0,
|
|
744
|
-
e.$slots.optionFullscreen ? {
|
|
745
|
-
name: "optionFullscreen",
|
|
746
|
-
fn: S(({ toggleFullscreen: t, isFullscreen: n }) => [y(e.$slots, "optionFullscreen", h(m({
|
|
747
|
-
toggleFullscreen: t,
|
|
748
|
-
isFullscreen: n
|
|
749
|
-
})), void 0, !0)]),
|
|
750
|
-
key: "6"
|
|
751
|
-
} : void 0,
|
|
752
|
-
e.$slots.optionAnnotator ? {
|
|
753
|
-
name: "optionAnnotator",
|
|
754
|
-
fn: S(({ toggleAnnotator: t, isAnnotator: n }) => [y(e.$slots, "optionAnnotator", h(m({
|
|
755
|
-
toggleAnnotator: t,
|
|
756
|
-
isAnnotator: n
|
|
757
|
-
})), void 0, !0)]),
|
|
758
|
-
key: "7"
|
|
759
|
-
} : void 0,
|
|
760
|
-
e.$slots.optionAltCopy ? {
|
|
761
|
-
name: "optionAltCopy",
|
|
762
|
-
fn: S(({ altCopy: t }) => [y(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
|
|
763
|
-
key: "8"
|
|
764
|
-
} : void 0,
|
|
765
|
-
e.$slots["custom-menu-before"] ? {
|
|
766
|
-
name: "custom-menu-before",
|
|
767
|
-
fn: S(() => [y(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
768
|
-
key: "9"
|
|
769
|
-
} : void 0,
|
|
770
|
-
e.$slots["custom-menu-after"] ? {
|
|
771
|
-
name: "custom-menu-after",
|
|
772
|
-
fn: S(() => [y(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
773
|
-
key: "10"
|
|
774
|
-
} : void 0
|
|
775
|
-
]), 1032, [
|
|
776
|
-
"backgroundColor",
|
|
777
|
-
"color",
|
|
778
|
-
"isPrinting",
|
|
779
|
-
"isImaging",
|
|
780
|
-
"uid",
|
|
781
|
-
"hasPdf",
|
|
782
|
-
"hasXls",
|
|
783
|
-
"hasImg",
|
|
784
|
-
"hasSvg",
|
|
785
|
-
"hasTable",
|
|
786
|
-
"hasFullscreen",
|
|
787
|
-
"hasAltCopy",
|
|
788
|
-
"isFullscreen",
|
|
789
|
-
"titles",
|
|
790
|
-
"chartElement",
|
|
791
|
-
"position",
|
|
792
|
-
"hasAnnotator",
|
|
793
|
-
"isAnnotation",
|
|
794
|
-
"callbacks",
|
|
795
|
-
"printScale",
|
|
796
|
-
"tableDialog",
|
|
797
|
-
"isCursorPointer",
|
|
798
|
-
"onGeneratePdf",
|
|
799
|
-
"style"
|
|
800
|
-
])) : l("", !0),
|
|
801
|
-
d("div", Be, [(_(), u("svg", {
|
|
802
|
-
ref_key: "svgRef",
|
|
803
|
-
ref: L,
|
|
804
|
-
xmlns: x(ie),
|
|
805
|
-
"aria-describedby": `chart-instructions-${T.value}`,
|
|
806
|
-
viewBox: `0 0 ${z.value.width} ${z.value.height}`,
|
|
807
|
-
class: Ae({
|
|
808
|
-
"vue-data-ui-fullscreen--on": Y.value,
|
|
809
|
-
"vue-data-ui-fulscreen--off": !Y.value
|
|
810
|
-
}),
|
|
811
|
-
style: g(`overflow:visible;background:transparent;color:${P.value.style.chart.color}`),
|
|
812
|
-
tabindex: "0",
|
|
813
|
-
onFocus: An,
|
|
814
|
-
onBlur: jn,
|
|
815
|
-
onKeydown: Mn
|
|
816
|
-
}, [
|
|
817
|
-
f(x(wt)),
|
|
818
|
-
e.$slots["chart-background"] ? (_(), u("foreignObject", {
|
|
819
|
-
key: 0,
|
|
820
|
-
x: 0,
|
|
821
|
-
y: 0,
|
|
822
|
-
width: z.value.width,
|
|
823
|
-
height: z.value.height,
|
|
824
|
-
style: { pointerEvents: "none" }
|
|
825
|
-
}, [y(e.$slots, "chart-background", {}, void 0, !0)], 8, He)) : l("", !0),
|
|
826
|
-
d("defs", null, [d("radialGradient", {
|
|
827
|
-
cx: "50%",
|
|
828
|
-
cy: "50%",
|
|
829
|
-
r: "50%",
|
|
830
|
-
fx: "50%",
|
|
831
|
-
fy: "50%",
|
|
832
|
-
id: `mood_radar_gradient_${T.value}`
|
|
833
|
-
}, [d("stop", {
|
|
834
|
-
offset: "0%",
|
|
835
|
-
"stop-color": x(o)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity)
|
|
836
|
-
}, null, 8, We), d("stop", {
|
|
837
|
-
offset: "100%",
|
|
838
|
-
"stop-color": x(o)(x(a)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.gradient.intensity / 100), P.value.style.chart.layout.dataPolygon.opacity)
|
|
839
|
-
}, null, 8, Ge)], 8, Ue)]),
|
|
840
|
-
(_(!0), u(we, null, Me(nn.value.coordinates, (e) => (_(), u("line", {
|
|
841
|
-
x1: z.value.width / 2,
|
|
842
|
-
y1: z.value.height / 2,
|
|
843
|
-
x2: e.x,
|
|
844
|
-
y2: e.y,
|
|
845
|
-
stroke: P.value.style.chart.layout.grid.stroke,
|
|
846
|
-
"stroke-width": P.value.style.chart.layout.grid.strokeWidth
|
|
847
|
-
}, null, 8, Ke))), 256)),
|
|
848
|
-
d("path", {
|
|
849
|
-
d: nn.value.path,
|
|
850
|
-
fill: "none",
|
|
851
|
-
stroke: P.value.style.chart.layout.outerPolygon.stroke,
|
|
852
|
-
"stroke-width": P.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
853
|
-
"stroke-linejoin": "round",
|
|
854
|
-
"stroke-linecap": "round"
|
|
855
|
-
}, null, 8, qe),
|
|
856
|
-
d("g", { transform: B("5") }, [d("path", {
|
|
857
|
-
fill: "none",
|
|
858
|
-
stroke: P.value.style.chart.layout.smileys.colors[5],
|
|
859
|
-
"stroke-width": "1",
|
|
860
|
-
"stroke-linecap": "round",
|
|
861
|
-
d: "M119 25A1 1 0 00137 25 1 1 0 00119 25M123 26C124 33 132 33 133 26L123 26M123 22A1 1 0 00126 22 1 1 0 00123 22M130 22A1 1 0 00133 22 1 1 0 00130 22"
|
|
862
|
-
}, null, 8, Ye), d("circle", {
|
|
863
|
-
role: "button",
|
|
864
|
-
class: "vue-ui-mood-radar-trap",
|
|
865
|
-
cx: "128",
|
|
866
|
-
cy: "25",
|
|
867
|
-
r: "20",
|
|
868
|
-
"aria-label": $("5"),
|
|
869
|
-
fill: D.value === "5" ? x(o)(P.value.style.chart.layout.smileys.colors[5], 20) : "transparent",
|
|
870
|
-
onMouseenter: t[0] ||= (e) => W("5"),
|
|
871
|
-
onMouseleave: t[1] ||= (e) => G("5"),
|
|
872
|
-
onClick: t[2] ||= (e) => K("5")
|
|
873
|
-
}, null, 40, Xe)], 8, Je),
|
|
874
|
-
d("g", { transform: B("4") }, [d("path", {
|
|
875
|
-
fill: "none",
|
|
876
|
-
stroke: P.value.style.chart.layout.smileys.colors[4],
|
|
877
|
-
"stroke-width": "1",
|
|
878
|
-
"stroke-linecap": "round",
|
|
879
|
-
d: "M218 95A1 1 0 00236 95 1 1 0 00218 95M222 97C225 99 229 99 232 97M222 92A1 1 0 00225 92 1 1 0 00222 92M229 92A1 1 0 00232 92 1 1 0 00229 92"
|
|
880
|
-
}, null, 8, Qe), d("circle", {
|
|
881
|
-
class: "vue-ui-mood-radar-trap",
|
|
882
|
-
cx: "227",
|
|
883
|
-
cy: "95.5",
|
|
884
|
-
r: "20",
|
|
885
|
-
"aria-label": $("4"),
|
|
886
|
-
fill: D.value === "4" ? x(o)(P.value.style.chart.layout.smileys.colors[4], 20) : "transparent",
|
|
887
|
-
onMouseenter: t[3] ||= (e) => W("4"),
|
|
888
|
-
onMouseleave: t[4] ||= (e) => G("4"),
|
|
889
|
-
onClick: t[5] ||= (e) => K("4")
|
|
890
|
-
}, null, 40, $e)], 8, Ze),
|
|
891
|
-
d("g", { transform: B("3") }, [d("path", {
|
|
892
|
-
fill: "none",
|
|
893
|
-
stroke: P.value.style.chart.layout.smileys.colors[3],
|
|
894
|
-
"stroke-width": "1",
|
|
895
|
-
"stroke-linecap": "round",
|
|
896
|
-
d: "M181 213A1 1 0 00199 213 1 1 0 00181 213M185 210A1 1 0 00188 210 1 1 0 00185 210M192 210A1 1 0 00195 210 1 1 0 00192 210M185 215 195 215"
|
|
897
|
-
}, null, 8, tt), d("circle", {
|
|
898
|
-
class: "vue-ui-mood-radar-trap",
|
|
899
|
-
cx: "190",
|
|
900
|
-
cy: "213.5",
|
|
901
|
-
r: "20",
|
|
902
|
-
"aria-label": $("3"),
|
|
903
|
-
fill: D.value === "3" ? x(o)(P.value.style.chart.layout.smileys.colors[3], 20) : "transparent",
|
|
904
|
-
onMouseenter: t[6] ||= (e) => W("3"),
|
|
905
|
-
onMouseleave: t[7] ||= (e) => G("3"),
|
|
906
|
-
onClick: t[8] ||= (e) => K("3")
|
|
907
|
-
}, null, 40, nt)], 8, et),
|
|
908
|
-
d("g", { transform: B("2") }, [d("path", {
|
|
909
|
-
fill: "none",
|
|
910
|
-
stroke: P.value.style.chart.layout.smileys.colors[2],
|
|
911
|
-
"stroke-width": "1",
|
|
912
|
-
"stroke-linecap": "round",
|
|
913
|
-
d: "M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"
|
|
914
|
-
}, null, 8, it), d("circle", {
|
|
915
|
-
class: "vue-ui-mood-radar-trap",
|
|
916
|
-
cx: "65",
|
|
917
|
-
cy: "213.5",
|
|
918
|
-
r: "20",
|
|
919
|
-
"aria-label": $("2"),
|
|
920
|
-
fill: D.value === "2" ? x(o)(P.value.style.chart.layout.smileys.colors[2], 20) : "transparent",
|
|
921
|
-
onMouseenter: t[9] ||= (e) => W("2"),
|
|
922
|
-
onMouseleave: t[10] ||= (e) => G("2"),
|
|
923
|
-
onClick: t[11] ||= (e) => K("2")
|
|
924
|
-
}, null, 40, at)], 8, rt),
|
|
925
|
-
d("g", { transform: B("1") }, [d("path", {
|
|
926
|
-
fill: "none",
|
|
927
|
-
stroke: P.value.style.chart.layout.smileys.colors[1],
|
|
928
|
-
"stroke-width": "1",
|
|
929
|
-
"stroke-linecap": "round",
|
|
930
|
-
d: "M20 96A1 1 0 0038 96 1 1 0 0020 96M24 100C25 95 33 95 34 100L24 100M24 93A1 1 0 0027 93 1 1 0 0024 93M31 93A1 1 0 0034 93 1 1 0 0031 93"
|
|
931
|
-
}, null, 8, st), d("circle", {
|
|
932
|
-
class: "vue-ui-mood-radar-trap",
|
|
933
|
-
cx: "29",
|
|
934
|
-
cy: "95.5",
|
|
935
|
-
r: "20",
|
|
936
|
-
"aria-label": $("1"),
|
|
937
|
-
fill: D.value === "1" ? x(o)(P.value.style.chart.layout.smileys.colors[1], 20) : "transparent",
|
|
938
|
-
onMouseenter: t[12] ||= (e) => W("1"),
|
|
939
|
-
onMouseleave: t[13] ||= (e) => G("1"),
|
|
940
|
-
onClick: t[14] ||= (e) => K("1")
|
|
941
|
-
}, null, 40, ct)], 8, ot),
|
|
942
|
-
d("path", {
|
|
943
|
-
d: x(ae)(sn.value.map((e) => e.plots)),
|
|
944
|
-
stroke: P.value.style.chart.layout.dataPolygon.stroke,
|
|
945
|
-
"stroke-width": P.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
946
|
-
"stroke-linecap": "round",
|
|
947
|
-
"stroke-linejoin": "round",
|
|
948
|
-
fill: P.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${T.value})` : x(o)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity)
|
|
949
|
-
}, null, 8, lt),
|
|
950
|
-
(_(!0), u(we, null, Me(sn.value.map((e) => e.plots), (e, t) => (_(), u("g", {
|
|
951
|
-
class: "vue-ui-mood-radar-trap",
|
|
952
|
-
style: g(`opacity:${D.value == e.key ? "1" : "0"}`)
|
|
953
|
-
}, [
|
|
954
|
-
d("line", {
|
|
955
|
-
x1: e.x,
|
|
956
|
-
y1: e.y,
|
|
957
|
-
x2: z.value.width / 2,
|
|
958
|
-
y2: z.value.height / 2,
|
|
959
|
-
stroke: P.value.style.chart.layout.smileys.colors[e.key]
|
|
960
|
-
}, null, 8, ut),
|
|
961
|
-
d("circle", {
|
|
962
|
-
cx: e.x,
|
|
963
|
-
cy: e.y,
|
|
964
|
-
fill: P.value.style.chart.layout.smileys.colors[e.key],
|
|
965
|
-
r: "3",
|
|
966
|
-
stroke: P.value.style.chart.backgroundColor,
|
|
967
|
-
"stroke-width": .5
|
|
968
|
-
}, null, 8, dt),
|
|
969
|
-
d("circle", {
|
|
970
|
-
cx: z.value.width / 2,
|
|
971
|
-
cy: z.value.height / 2,
|
|
972
|
-
fill: P.value.style.chart.layout.smileys.colors[e.key],
|
|
973
|
-
r: "3",
|
|
974
|
-
stroke: P.value.style.chart.backgroundColor,
|
|
975
|
-
"stroke-width": .5
|
|
976
|
-
}, null, 8, ft),
|
|
977
|
-
d("text", {
|
|
978
|
-
x: z.value.width / 2,
|
|
979
|
-
y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.13 : z.value.height / 2 * .9375,
|
|
980
|
-
fill: P.value.style.chart.layout.dataLabel.color,
|
|
981
|
-
"font-size": "12",
|
|
982
|
-
"text-anchor": "middle",
|
|
983
|
-
"font-weight": P.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
|
|
984
|
-
}, b(x(re)(P.value.style.chart.layout.dataLabel.formatter, e.value, x(n)({
|
|
985
|
-
p: P.value.style.chart.layout.dataLabel.prefix,
|
|
986
|
-
v: e.value,
|
|
987
|
-
s: P.value.style.chart.layout.dataLabel.suffix,
|
|
988
|
-
r: P.value.style.chart.layout.dataLabel.roundingValue
|
|
989
|
-
}), {
|
|
990
|
-
datapoint: e,
|
|
991
|
-
seriesIndex: t
|
|
992
|
-
})), 9, pt),
|
|
993
|
-
d("text", {
|
|
994
|
-
x: z.value.width / 2,
|
|
995
|
-
y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.273 : z.value.height / 2 * .7968,
|
|
996
|
-
fill: P.value.style.chart.layout.dataLabel.color,
|
|
997
|
-
"font-size": "12",
|
|
998
|
-
"text-anchor": "middle"
|
|
999
|
-
}, " (" + b(x(n)({
|
|
1000
|
-
v: e.value / V.value * 100,
|
|
1001
|
-
s: "%",
|
|
1002
|
-
r: P.value.style.chart.layout.dataLabel.roundingPercentage
|
|
1003
|
-
})) + ") ", 9, mt)
|
|
1004
|
-
], 4))), 256)),
|
|
1005
|
-
y(e.$slots, "svg", { svg: {
|
|
1006
|
-
...z.value,
|
|
1007
|
-
isPrintingImg: x(Yt) || x(Xt) || j.value,
|
|
1008
|
-
isPrintingSvg: M.value
|
|
1009
|
-
} }, void 0, !0)
|
|
1010
|
-
], 46, Ve)), e.$slots.hint ? (_(), u("div", ht, [y(e.$slots, "hint", h(m({
|
|
1011
|
-
hint: P.value.a11y.translations.keyboardNavigation,
|
|
1012
|
-
isVisible: zt.value
|
|
1013
|
-
})), void 0, !0)])) : l("", !0)]),
|
|
1014
|
-
e.$slots.watermark ? (_(), u("div", gt, [y(e.$slots, "watermark", h(m({ isPrinting: x(Yt) || x(Xt) || j.value || M.value })), void 0, !0)])) : l("", !0),
|
|
1015
|
-
d("div", { id: `legend-bottom-${T.value}` }, null, 8, _t),
|
|
1016
|
-
Lt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (_(), c(Te, {
|
|
1017
|
-
key: 6,
|
|
1018
|
-
to: P.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
|
|
1019
|
-
}, [d("div", {
|
|
1020
|
-
ref_key: "chartLegend",
|
|
1021
|
-
ref: Ft
|
|
1022
|
-
}, [y(e.$slots, "legend", { legend: H.value }, () => [P.value.style.chart.legend.show ? (_(), c(Se, {
|
|
1023
|
-
legendSet: on.value,
|
|
1024
|
-
config: cn.value,
|
|
1025
|
-
key: `legend_${Nt.value}`,
|
|
1026
|
-
isCursorPointer: F.value,
|
|
1027
|
-
style: {
|
|
1028
|
-
display: "flex",
|
|
1029
|
-
"row-gap": "6px"
|
|
1030
|
-
},
|
|
1031
|
-
onFocusMarker: t[15] ||= ({ legend: e }) => U(e.key)
|
|
1032
|
-
}, {
|
|
1033
|
-
item: S(({ legend: e, index: t }) => [d("div", {
|
|
1034
|
-
role: "button",
|
|
1035
|
-
onClick: () => U(e.key),
|
|
1036
|
-
style: {
|
|
1037
|
-
display: "flex",
|
|
1038
|
-
"flex-direction": "row",
|
|
1039
|
-
gap: "3px",
|
|
1040
|
-
"align-items": "center",
|
|
1041
|
-
margin: "3px 0"
|
|
1042
|
-
},
|
|
1043
|
-
onKeydown: (t) => Nn(t, String(e.key))
|
|
1044
|
-
}, [
|
|
1045
|
-
e.key == 1 ? (_(), c(x(C), {
|
|
1046
|
-
key: 0,
|
|
1047
|
-
strokeWidth: 1,
|
|
1048
|
-
name: "moodSad",
|
|
1049
|
-
stroke: P.value.style.chart.layout.smileys.colors[e.key]
|
|
1050
|
-
}, null, 8, ["stroke"])) : l("", !0),
|
|
1051
|
-
e.key == 2 ? (_(), c(x(C), {
|
|
1052
|
-
key: 1,
|
|
1053
|
-
strokeWidth: 1,
|
|
1054
|
-
name: "moodFlat",
|
|
1055
|
-
stroke: P.value.style.chart.layout.smileys.colors[e.key]
|
|
1056
|
-
}, null, 8, ["stroke"])) : l("", !0),
|
|
1057
|
-
e.key == 3 ? (_(), c(x(C), {
|
|
1058
|
-
key: 2,
|
|
1059
|
-
strokeWidth: 1,
|
|
1060
|
-
name: "moodNeutral",
|
|
1061
|
-
stroke: P.value.style.chart.layout.smileys.colors[e.key]
|
|
1062
|
-
}, null, 8, ["stroke"])) : l("", !0),
|
|
1063
|
-
e.key == 4 ? (_(), c(x(C), {
|
|
1064
|
-
key: 3,
|
|
1065
|
-
strokeWidth: 1,
|
|
1066
|
-
name: "smiley",
|
|
1067
|
-
stroke: P.value.style.chart.layout.smileys.colors[e.key]
|
|
1068
|
-
}, null, 8, ["stroke"])) : l("", !0),
|
|
1069
|
-
e.key == 5 ? (_(), c(x(C), {
|
|
1070
|
-
key: 4,
|
|
1071
|
-
strokeWidth: 1,
|
|
1072
|
-
name: "moodHappy",
|
|
1073
|
-
stroke: P.value.style.chart.layout.smileys.colors[e.key]
|
|
1074
|
-
}, null, 8, ["stroke"])) : l("", !0),
|
|
1075
|
-
x(Ht) ? l("", !0) : (_(), u("span", {
|
|
1076
|
-
key: 5,
|
|
1077
|
-
style: g({ fontWeight: P.value.style.chart.legend.bold ? "bold" : "normal" })
|
|
1078
|
-
}, b(e.display), 5))
|
|
1079
|
-
], 40, vt)]),
|
|
1080
|
-
_: 1
|
|
1081
|
-
}, 8, [
|
|
1082
|
-
"legendSet",
|
|
1083
|
-
"config",
|
|
1084
|
-
"isCursorPointer"
|
|
1085
|
-
])) : l("", !0)], !0)], 512)], 8, ["to"])) : l("", !0),
|
|
1086
|
-
e.$slots.source ? (_(), u("div", {
|
|
1087
|
-
key: 7,
|
|
1088
|
-
ref_key: "source",
|
|
1089
|
-
ref: It,
|
|
1090
|
-
dir: "auto"
|
|
1091
|
-
}, [y(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0),
|
|
1092
|
-
Bt.value && P.value.userOptions.buttons.table ? (_(), c(Ne(Z.value.component), Oe({ key: 8 }, Z.value.props, {
|
|
1093
|
-
ref_key: "tableUnit",
|
|
1094
|
-
ref: A,
|
|
1095
|
-
onClose: hn
|
|
1096
|
-
}), Ee({
|
|
1097
|
-
content: S(() => [f(x(xt), {
|
|
1098
|
-
colNames: J.value.colNames,
|
|
1099
|
-
head: J.value.head,
|
|
1100
|
-
body: J.value.body,
|
|
1101
|
-
config: J.value.config,
|
|
1102
|
-
title: P.value.table.useDialog ? "" : Z.value.title,
|
|
1103
|
-
withCloseButton: !P.value.table.useDialog,
|
|
1104
|
-
isCursorPointer: F.value,
|
|
1105
|
-
onClose: hn
|
|
1106
|
-
}, {
|
|
1107
|
-
th: S(({ th: e }) => [d("div", {
|
|
1108
|
-
innerHTML: e,
|
|
1109
|
-
style: {
|
|
1110
|
-
display: "flex",
|
|
1111
|
-
"align-items": "center"
|
|
1112
|
-
}
|
|
1113
|
-
}, null, 8, yt)]),
|
|
1114
|
-
td: S(({ td: e }) => [De(b(e.name || e), 1)]),
|
|
1115
|
-
_: 1
|
|
1116
|
-
}, 8, [
|
|
1117
|
-
"colNames",
|
|
1118
|
-
"head",
|
|
1119
|
-
"body",
|
|
1120
|
-
"config",
|
|
1121
|
-
"title",
|
|
1122
|
-
"withCloseButton",
|
|
1123
|
-
"isCursorPointer"
|
|
1124
|
-
])]),
|
|
1125
|
-
_: 2
|
|
1126
|
-
}, [P.value.table.useDialog ? {
|
|
1127
|
-
name: "title",
|
|
1128
|
-
fn: S(() => [De(b(Z.value.title), 1)]),
|
|
1129
|
-
key: "0"
|
|
1130
|
-
} : void 0, P.value.table.useDialog ? {
|
|
1131
|
-
name: "actions",
|
|
1132
|
-
fn: S(() => [d("button", {
|
|
1133
|
-
tabindex: "0",
|
|
1134
|
-
class: "vue-ui-user-options-button",
|
|
1135
|
-
onClick: t[16] ||= (e) => ln(P.value.userOptions.callbacks.csv),
|
|
1136
|
-
style: g({ cursor: F.value ? "pointer" : "default" })
|
|
1137
|
-
}, [f(x(C), {
|
|
1138
|
-
name: "fileCsv",
|
|
1139
|
-
stroke: Z.value.props.color
|
|
1140
|
-
}, null, 8, ["stroke"])], 4)]),
|
|
1141
|
-
key: "1"
|
|
1142
|
-
} : void 0]), 1040)) : l("", !0),
|
|
1143
|
-
y(e.$slots, "skeleton", {}, () => [x(Ht) ? (_(), c(ue, { key: 0 })) : l("", !0)], !0)
|
|
1144
|
-
], 46, Le));
|
|
1145
|
-
}
|
|
1146
|
-
}, [["__scopeId", "data-v-45f7b76e"]]);
|
|
1147
|
-
//#endregion
|
|
1148
|
-
export { Ie as n, C as t };
|