vue-data-ui 3.17.13 → 3.18.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 +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-Cj6W6Xbi.js +116 -0
- package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
- package/dist/BaseIcon-CEmt3Ifx.js +499 -0
- package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
- package/dist/ColorPicker-DS_QkH3W.js +255 -0
- package/dist/DataTable-BvDJEAma.js +150 -0
- package/dist/Legend-Gg5Q4Clb.js +114 -0
- package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
- package/dist/PackageVersion-DhDKg-ez.js +11 -0
- package/dist/PenAndPaper-DwpL8Z0l.js +461 -0
- package/dist/RecursiveCircles-DPpLel6f.js +117 -0
- package/dist/RecursiveLabels-DBMJf_to.js +56 -0
- package/dist/RecursiveLinks-D06dBL4a.js +78 -0
- package/dist/Shape-DEGOZ6GG.js +141 -0
- package/dist/Slicer-BlfyiHHD.js +1144 -0
- package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
- package/dist/SparkTooltip-c2DL7gqD.js +93 -0
- package/dist/Title-__gWq2g6.js +87 -0
- package/dist/Tooltip-B7lmdbac.js +307 -0
- package/dist/UserOptions-DMw8EZEo.js +1407 -0
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
- package/dist/canvas-lib-DTaADQOK.js +79 -0
- package/dist/components/arrow.js +2 -5
- package/dist/components/vue-ui-3d-bar.js +2 -5
- package/dist/components/vue-ui-accordion.js +2 -5
- package/dist/components/vue-ui-age-pyramid.js +2 -5
- package/dist/components/vue-ui-annotator.js +2 -5
- package/dist/components/vue-ui-bullet.js +2 -5
- package/dist/components/vue-ui-bump.js +2 -5
- package/dist/components/vue-ui-candlestick.js +2 -5
- package/dist/components/vue-ui-carousel-table.js +2 -5
- package/dist/components/vue-ui-chestnut.js +2 -5
- package/dist/components/vue-ui-chord.js +2 -5
- package/dist/components/vue-ui-circle-pack.js +2 -5
- package/dist/components/vue-ui-cursor.js +2 -5
- package/dist/components/vue-ui-dag.js +2 -5
- package/dist/components/vue-ui-dashboard.js +2 -5
- package/dist/components/vue-ui-digits.js +2 -5
- package/dist/components/vue-ui-donut-evolution.js +2 -5
- package/dist/components/vue-ui-donut.js +2 -5
- package/dist/components/vue-ui-dumbbell.js +2 -5
- package/dist/components/vue-ui-flow.js +2 -5
- package/dist/components/vue-ui-funnel.js +2 -5
- package/dist/components/vue-ui-galaxy.js +2 -5
- package/dist/components/vue-ui-gauge.js +2 -5
- package/dist/components/vue-ui-geo.js +2 -5
- package/dist/components/vue-ui-gizmo.js +2 -5
- package/dist/components/vue-ui-heatmap.js +2 -5
- package/dist/components/vue-ui-history-plot.js +2 -5
- package/dist/components/vue-ui-horizontal-bar.js +2 -5
- package/dist/components/vue-ui-icon.js +2 -5
- package/dist/components/vue-ui-kpi.js +2 -5
- package/dist/components/vue-ui-mini-loader.js +2 -5
- package/dist/components/vue-ui-molecule.js +2 -5
- package/dist/components/vue-ui-mood-radar.js +2 -5
- package/dist/components/vue-ui-nested-donuts.js +2 -5
- package/dist/components/vue-ui-onion.js +2 -5
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
- package/dist/components/vue-ui-pattern-seed.js +2 -5
- package/dist/components/vue-ui-pattern.js +2 -5
- package/dist/components/vue-ui-quadrant.js +2 -5
- package/dist/components/vue-ui-quick-chart.js +2 -5
- package/dist/components/vue-ui-radar.js +2 -5
- package/dist/components/vue-ui-rating.js +2 -5
- package/dist/components/vue-ui-relation-circle.js +2 -5
- package/dist/components/vue-ui-ridgeline.js +2 -5
- package/dist/components/vue-ui-rings.js +2 -5
- package/dist/components/vue-ui-scatter.js +2 -5
- package/dist/components/vue-ui-skeleton.js +2 -5
- package/dist/components/vue-ui-smiley.js +2 -5
- package/dist/components/vue-ui-spark-trend.js +2 -5
- package/dist/components/vue-ui-sparkbar.js +2 -5
- package/dist/components/vue-ui-sparkgauge.js +2 -5
- package/dist/components/vue-ui-sparkhistogram.js +2 -5
- package/dist/components/vue-ui-sparkline.js +2 -5
- package/dist/components/vue-ui-sparkstackbar.js +2 -5
- package/dist/components/vue-ui-stackbar.js +2 -5
- package/dist/components/vue-ui-stackline.js +2 -5
- package/dist/components/vue-ui-strip-plot.js +2 -5
- package/dist/components/vue-ui-table-heatmap.js +2 -5
- package/dist/components/vue-ui-table-sparkline.js +2 -5
- package/dist/components/vue-ui-table.js +2 -5
- package/dist/components/vue-ui-thermometer.js +2 -5
- package/dist/components/vue-ui-timer.js +2 -5
- package/dist/components/vue-ui-tiremarks.js +2 -5
- package/dist/components/vue-ui-treemap.js +2 -5
- package/dist/components/vue-ui-vertical-bar.js +2 -5
- package/dist/components/vue-ui-waffle.js +2 -5
- package/dist/components/vue-ui-wheel.js +2 -5
- package/dist/components/vue-ui-word-cloud.js +2 -5
- package/dist/components/vue-ui-world.js +2 -5
- package/dist/components/vue-ui-xy-canvas.js +2 -5
- package/dist/components/vue-ui-xy.js +2 -5
- package/dist/dom-to-png-9WSt6hXe.js +237 -0
- package/dist/exposedLib-CwWU4zv-.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-BjOr008R.js +74 -0
- package/dist/labelUtils-Cr97N8E1.js +19 -0
- package/dist/lib-BkiwukKO.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-DSXSFUnK.js +90 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/style.css +2 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +23 -0
- package/dist/types/vue-data-ui.d.ts +4775 -627
- package/dist/types/vue-ui-3d-bar.d.ts +64 -9
- package/dist/types/vue-ui-accordion.d.ts +4 -3
- package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
- package/dist/types/vue-ui-annotator.d.ts +3 -5
- package/dist/types/vue-ui-bullet.d.ts +60 -9
- package/dist/types/vue-ui-bump.d.ts +65 -9
- package/dist/types/vue-ui-candlestick.d.ts +83 -9
- package/dist/types/vue-ui-carousel-table.d.ts +36 -6
- package/dist/types/vue-ui-chestnut.d.ts +66 -9
- package/dist/types/vue-ui-chord.d.ts +78 -9
- package/dist/types/vue-ui-circle-pack.d.ts +86 -9
- package/dist/types/vue-ui-cursor.d.ts +4 -2
- package/dist/types/vue-ui-dag.d.ts +92 -9
- package/dist/types/vue-ui-dashboard.d.ts +43 -6
- package/dist/types/vue-ui-digits.d.ts +4 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
- package/dist/types/vue-ui-donut.d.ts +92 -9
- package/dist/types/vue-ui-dumbbell.d.ts +65 -9
- package/dist/types/vue-ui-flow.d.ts +79 -9
- package/dist/types/vue-ui-funnel.d.ts +55 -9
- package/dist/types/vue-ui-galaxy.d.ts +83 -9
- package/dist/types/vue-ui-gauge.d.ts +64 -9
- package/dist/types/vue-ui-geo.d.ts +71 -9
- package/dist/types/vue-ui-gizmo.d.ts +17 -6
- package/dist/types/vue-ui-heatmap.d.ts +73 -9
- package/dist/types/vue-ui-history-plot.d.ts +82 -9
- package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
- package/dist/types/vue-ui-icon.d.ts +2 -2
- package/dist/types/vue-ui-kpi.d.ts +21 -7
- package/dist/types/vue-ui-mini-loader.d.ts +5 -3
- package/dist/types/vue-ui-molecule.d.ts +86 -9
- package/dist/types/vue-ui-mood-radar.d.ts +66 -9
- package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
- package/dist/types/vue-ui-onion.d.ts +77 -9
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -2
- package/dist/types/vue-ui-quadrant.d.ts +86 -9
- package/dist/types/vue-ui-quick-chart.d.ts +79 -9
- package/dist/types/vue-ui-radar.d.ts +83 -9
- package/dist/types/vue-ui-rating.d.ts +22 -6
- package/dist/types/vue-ui-relation-circle.d.ts +66 -9
- package/dist/types/vue-ui-ridgeline.d.ts +69 -9
- package/dist/types/vue-ui-rings.d.ts +70 -9
- package/dist/types/vue-ui-scatter.d.ts +67 -9
- package/dist/types/vue-ui-skeleton.d.ts +3 -2
- package/dist/types/vue-ui-smiley.d.ts +3 -2
- package/dist/types/vue-ui-spark-trend.d.ts +14 -6
- package/dist/types/vue-ui-sparkbar.d.ts +27 -6
- package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
- package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
- package/dist/types/vue-ui-sparkline.d.ts +35 -6
- package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
- package/dist/types/vue-ui-stackbar.d.ts +85 -9
- package/dist/types/vue-ui-stackline.d.ts +81 -9
- package/dist/types/vue-ui-strip-plot.d.ts +66 -9
- package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
- package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
- package/dist/types/vue-ui-table.d.ts +10 -2
- package/dist/types/vue-ui-thermometer.d.ts +46 -9
- package/dist/types/vue-ui-timer.d.ts +31 -5
- package/dist/types/vue-ui-tiremarks.d.ts +46 -9
- package/dist/types/vue-ui-treemap.d.ts +73 -9
- package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
- package/dist/types/vue-ui-waffle.d.ts +72 -9
- package/dist/types/vue-ui-wheel.d.ts +46 -9
- package/dist/types/vue-ui-word-cloud.d.ts +73 -9
- package/dist/types/vue-ui-world.d.ts +68 -9
- package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
- package/dist/types/vue-ui-xy.d.ts +108 -10
- package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-BV0kTCnO.js +7431 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-Ck4hsrpu.js +10 -0
- package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-X0yWOynH.js +49 -0
- package/dist/useResponsive-CrAInupd.js +19 -0
- package/dist/useStableElementSize-0I1IpHPl.js +77 -0
- package/dist/useSvgExport-Dtu973wa.js +755 -0
- package/dist/useTableResponsive-DrM1xqII.js +24 -0
- package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
- package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
- package/dist/useTimeLabels-C0x7zUXP.js +272 -0
- package/dist/useUserOptionState-CjPJPTg2.js +15 -0
- package/dist/utils.js +27 -44
- package/dist/vClickOutside-CbX_bC9A.js +13 -0
- package/dist/vue-data-ui-DIh8ayZc.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
- package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
- package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
- package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
- package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
- package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
- package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
- package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
- package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
- package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
- package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
- package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
- package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
- package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
- package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
- package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
- package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
- package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
- package/dist/vue-ui-flow-OK563Z46.js +1223 -0
- package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
- package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
- package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
- package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
- package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
- package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
- package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
- package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
- package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
- package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
- package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
- package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
- package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.js +1413 -0
- package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
- package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
- package/dist/vue-ui-quadrant-DLD_ZR9M.js +1966 -0
- package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
- package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
- package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
- package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
- package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
- package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
- package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
- package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
- package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
- package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
- package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
- package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
- package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
- package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
- package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
- package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
- package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
- package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
- package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
- package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
- package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
- package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
- package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
- package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
- package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
- package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
- package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
- package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
- package/dist/vue-ui-world-CEevuFbk.js +14252 -0
- package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
- package/dist/vue-ui-xy-canvas-D2f0d45c.js +1774 -0
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
- package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
- package/dist/vue_ui_bump-frnXaXul.js +201 -0
- package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
- package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
- package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
- package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
- package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
- package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
- package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
- package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
- package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
- package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
- package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
- package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
- package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
- package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
- package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
- package/dist/vue_ui_onion-DTV9cup-.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
- package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
- package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
- package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
- package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
- package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
- package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
- package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
- package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
- package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
- package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
- package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
- package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
- package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
- package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
- package/package.json +7 -7
- package/dist/A11yDataTable-BpmuNomI.js +0 -54
- package/dist/Arrow-dSvLFssU.js +0 -101
- package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
- package/dist/BaseIcon-DX0hTWa-.js +0 -476
- package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
- package/dist/BaseScanner-C2j3TsSY.js +0 -36
- package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
- package/dist/ColorPicker-bAxGcXK0.js +0 -271
- package/dist/DataTable-cMnb68Ik.js +0 -145
- package/dist/Legend-DGN5lY60.js +0 -104
- package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
- package/dist/PackageVersion-BfrCAH6_.js +0 -10
- package/dist/PenAndPaper-CJDoB5H9.js +0 -527
- package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
- package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
- package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
- package/dist/Shape-CxJ5_Rre.js +0 -116
- package/dist/Slicer-D7UcO8sN.js +0 -1145
- package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
- package/dist/SparkTooltip-D4bM-kfz.js +0 -68
- package/dist/Title-BbKoiBk2.js +0 -88
- package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
- package/dist/UserOptions-DVduN6X7.js +0 -1474
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/dom-to-png-DGvx6i5V.js +0 -262
- package/dist/exposedLib-sJvY1pST.js +0 -22
- package/dist/geoProjections-BFq2sOBY.js +0 -162
- package/dist/img-CjTQXS0U.js +0 -57
- package/dist/labelUtils-DX9oyq3C.js +0 -26
- package/dist/lib-DMzrGQHK.js +0 -2477
- package/dist/patternUtils-BINhU4Ky.js +0 -615
- package/dist/pdf-C4H4o1Cj.js +0 -88
- package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
- package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
- package/dist/useConfig-CG4HT3wS.js +0 -7901
- package/dist/useFitSvgText-2crs6Fv5.js +0 -69
- package/dist/useNestedProp-DH0BEVVS.js +0 -13
- package/dist/useObjectBindings-Dixg-RIe.js +0 -228
- package/dist/usePanZoom-BbDhcKWf.js +0 -141
- package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
- package/dist/usePrinter-C4t8DdQ-.js +0 -51
- package/dist/useResponsive-DfdjqQps.js +0 -195
- package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
- package/dist/useSvgExport-BTG4hVPO.js +0 -870
- package/dist/useTableResponsive-BpfiEtzR.js +0 -26
- package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
- package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
- package/dist/useTimeLabels-Cv0tD9In.js +0 -307
- package/dist/useUserOptionState-B7Ej974k.js +0 -19
- package/dist/vClickOutside-C6WiFswA.js +0 -13
- package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
- package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
- package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
- package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
- package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
- package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
- package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
- package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
- package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
- package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
- package/dist/vue-ui-chord-DWyar45U.js +0 -1457
- package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
- package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
- package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
- package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
- package/dist/vue-ui-digits-CZmdir8V.js +0 -211
- package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
- package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
- package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
- package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
- package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
- package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
- package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
- package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
- package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
- package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
- package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
- package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
- package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
- package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
- package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
- package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
- package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
- package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
- package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
- package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
- package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
- package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
- package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
- package/dist/vue-ui-rating-CqPlP88P.js +0 -370
- package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
- package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
- package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
- package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
- package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
- package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
- package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
- package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
- package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
- package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
- package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
- package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
- package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
- package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
- package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
- package/dist/vue-ui-table-BX2iMku4.js +0 -1726
- package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
- package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
- package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
- package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
- package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
- package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
- package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
- package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
- package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
- package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
- package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
- package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
- package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
- package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
- package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
- package/dist/vue_ui_bump-CIht647H.js +0 -22
- package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
- package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
- package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
- package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
- package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
- package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
- package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
- package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
- package/dist/vue_ui_flow-BErINgox.js +0 -22
- package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
- package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
- package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
- package/dist/vue_ui_geo--kg4VoVX.js +0 -22
- package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
- package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
- package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
- package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
- package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
- package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
- package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
- package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
- package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
- package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
- package/dist/vue_ui_radar-DryGBOrz.js +0 -22
- package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
- package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
- package/dist/vue_ui_rings-CxOrekqA.js +0 -22
- package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
- package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
- package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
- package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
- package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
- package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
- package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
- package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
- package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
- package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
- package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
- package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
- package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
- package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
- package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
- package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
- package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
- package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
- package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
- package/dist/vue_ui_xy-esktmpg-.js +0 -22
- package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
|
@@ -1,1694 +0,0 @@
|
|
|
1
|
-
import { watchEffect as pt, nextTick as xe, useCssVars as Ul, defineAsyncComponent as be, computed as f, ref as v, shallowRef as Gl, toRefs as Wl, watch as Be, onBeforeUnmount as qt, onMounted as Kl, reactive as jt, openBlock as u, createElementBlock as i, normalizeStyle as L, normalizeClass as Me, createElementVNode as p, toDisplayString as I, createBlock as me, createCommentVNode as g, unref as n, withCtx as k, renderSlot as b, normalizeProps as N, guardReactiveProps as F, createSlots as Jt, createVNode as Ue, Fragment as O, renderList as U, withDirectives as Qt, createTextVNode as dt, vShow as Yl, resolveDynamicComponent as ql, mergeProps as jl, withKeys as Jl } from "vue";
|
|
2
|
-
import { j as yt, t as Zt, o as el, q as tl, ao as Ne, r as Ql, l as q, X as Zl, W as Ge, k as le, K as ae, aA as ea, a0 as ta, a1 as la, T as aa, U as oa } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as We, u as sa } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ua } from "./useConfig-CG4HT3wS.js";
|
|
5
|
-
import { u as na } from "./usePrinter-C4t8DdQ-.js";
|
|
6
|
-
import { u as ia, B as ra } from "./BaseScanner-C2j3TsSY.js";
|
|
7
|
-
import { u as va } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
-
import { u as ht } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
-
import { u as ll } from "./useTimeLabels-Cv0tD9In.js";
|
|
10
|
-
import { u as ca } from "./useThemeCheck-C9Ccl7U9.js";
|
|
11
|
-
import { u as da } from "./useTableResponsive-BpfiEtzR.js";
|
|
12
|
-
import { u as ya } from "./useUserOptionState-B7Ej974k.js";
|
|
13
|
-
import { u as al } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
14
|
-
import { u as ha } from "./useChartAccessibility-cp6XQtqi.js";
|
|
15
|
-
import fa from "./img-CjTQXS0U.js";
|
|
16
|
-
import pa from "./Title-BbKoiBk2.js";
|
|
17
|
-
import ga from "./vue_ui_heatmap-C9u993qE.js";
|
|
18
|
-
import ba from "./vue-ui-accordion-DFtpH_16.js";
|
|
19
|
-
import { A as ma } from "./A11yDataTable-BpmuNomI.js";
|
|
20
|
-
import { _ as xa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
21
|
-
function ft({
|
|
22
|
-
elementRef: h,
|
|
23
|
-
callback: G,
|
|
24
|
-
attr: oe,
|
|
25
|
-
earlyReturn: J = !1,
|
|
26
|
-
retryFrames: se = 12,
|
|
27
|
-
alsoAfterFontsReady: R = !0
|
|
28
|
-
}) {
|
|
29
|
-
if (J) return;
|
|
30
|
-
const W = (z) => {
|
|
31
|
-
if (!z) return;
|
|
32
|
-
let S;
|
|
33
|
-
if (typeof z.getBBox == "function")
|
|
34
|
-
try {
|
|
35
|
-
const P = z.getBBox();
|
|
36
|
-
S = oe === "width" ? P.width : P.height;
|
|
37
|
-
} catch {
|
|
38
|
-
}
|
|
39
|
-
if (typeof S != "number" || Number.isNaN(S))
|
|
40
|
-
try {
|
|
41
|
-
const P = z.getBoundingClientRect();
|
|
42
|
-
S = oe === "width" ? P.width : P.height;
|
|
43
|
-
} catch {
|
|
44
|
-
S = void 0;
|
|
45
|
-
}
|
|
46
|
-
typeof S == "number" && !Number.isNaN(S) && G(S);
|
|
47
|
-
};
|
|
48
|
-
pt(
|
|
49
|
-
(z) => {
|
|
50
|
-
const S = h.value;
|
|
51
|
-
if (!S) return;
|
|
52
|
-
let P = !1;
|
|
53
|
-
(async () => {
|
|
54
|
-
await xe();
|
|
55
|
-
for (let T = 0; T < se; T += 1) {
|
|
56
|
-
if (P) return;
|
|
57
|
-
await new Promise(
|
|
58
|
-
(K) => requestAnimationFrame(K)
|
|
59
|
-
);
|
|
60
|
-
const X = h.value;
|
|
61
|
-
if (!X) return;
|
|
62
|
-
W(X);
|
|
63
|
-
}
|
|
64
|
-
if (R && typeof document < "u" && document.fonts && document.fonts.ready) {
|
|
65
|
-
try {
|
|
66
|
-
await document.fonts.ready;
|
|
67
|
-
} catch {
|
|
68
|
-
}
|
|
69
|
-
!P && h.value && W(h.value);
|
|
70
|
-
}
|
|
71
|
-
})();
|
|
72
|
-
const ue = new MutationObserver(() => {
|
|
73
|
-
h.value && requestAnimationFrame(() => {
|
|
74
|
-
h.value && W(h.value);
|
|
75
|
-
});
|
|
76
|
-
});
|
|
77
|
-
ue.observe(S, {
|
|
78
|
-
childList: !0,
|
|
79
|
-
subtree: !0,
|
|
80
|
-
characterData: !0,
|
|
81
|
-
attributes: !0,
|
|
82
|
-
attributeFilter: ["transform", "style", "class"]
|
|
83
|
-
});
|
|
84
|
-
let A;
|
|
85
|
-
if (typeof ResizeObserver < "u") {
|
|
86
|
-
const T = S.ownerSVGElement ? S.ownerSVGElement : S;
|
|
87
|
-
A = new ResizeObserver(() => {
|
|
88
|
-
const X = h.value;
|
|
89
|
-
X && W(X);
|
|
90
|
-
}), A.observe(T);
|
|
91
|
-
}
|
|
92
|
-
z(() => {
|
|
93
|
-
P = !0, ue.disconnect(), A && A.disconnect();
|
|
94
|
-
});
|
|
95
|
-
},
|
|
96
|
-
{ flush: "post" }
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
const wa = {
|
|
100
|
-
mounted(h, G) {
|
|
101
|
-
ol(h, G.value);
|
|
102
|
-
},
|
|
103
|
-
updated(h, G) {
|
|
104
|
-
ol(h, G.value);
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
function ol(h, {
|
|
108
|
-
cellWidth: G,
|
|
109
|
-
cellHeight: oe,
|
|
110
|
-
maxFontSize: J,
|
|
111
|
-
minFontSize: se,
|
|
112
|
-
index: R,
|
|
113
|
-
reportRotation: W,
|
|
114
|
-
reportHide: z,
|
|
115
|
-
rotateAll: S,
|
|
116
|
-
hideAll: P
|
|
117
|
-
}) {
|
|
118
|
-
h.removeAttribute("transform"), h.removeAttribute("visibility");
|
|
119
|
-
let fe = !1, ue = !1;
|
|
120
|
-
h.setAttribute("font-size", J);
|
|
121
|
-
const A = h.getComputedTextLength();
|
|
122
|
-
if (A <= G)
|
|
123
|
-
W(R, !1), z(R, !1);
|
|
124
|
-
else {
|
|
125
|
-
const T = Math.floor(J * G / A);
|
|
126
|
-
T >= se ? (h.setAttribute("font-size", T), W(R, !1), z(R, !1)) : (W(R, !0), z(R, !1), fe = !0);
|
|
127
|
-
}
|
|
128
|
-
if (S && (fe = !0), fe) {
|
|
129
|
-
h.setAttribute("font-size", J);
|
|
130
|
-
const T = h.getBBox(), X = T.x + T.width / 2, K = T.y + T.height / 2;
|
|
131
|
-
h.setAttribute("transform", `rotate(-90 ${X} ${K})`);
|
|
132
|
-
const M = h.getBBox().width;
|
|
133
|
-
if (M <= oe)
|
|
134
|
-
z(R, !1);
|
|
135
|
-
else {
|
|
136
|
-
const ne = Math.floor(J * oe / M);
|
|
137
|
-
ne >= se ? (h.setAttribute("font-size", ne), z(R, !1)) : (ue = !0, z(R, !0));
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
(P || ue) && h.setAttribute("visibility", "hidden");
|
|
141
|
-
}
|
|
142
|
-
const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], La = ["x", "y", "width", "height"], Sa = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ta = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], $a = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], za = ["data-a11y-cell-id", "x", "y", "width", "height", "fill", "stroke", "stroke-width", "aria-label", "onMouseover", "onMouseout", "onClick"], _a = ["font-size", "font-weight", "fill", "x", "y"], Ia = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Oa = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ma = ["font-size", "fill", "x", "y", "font-weight"], Na = ["font-size", "fill", "x", "y", "font-weight"], Fa = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ra = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Pa = { key: 6 }, Da = ["x", "y", "width", "height", "stroke", "stroke-width"], Ha = { key: 7 }, Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Va = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Xa = { class: "vue-ui-heatmap-legend-gauge-right" }, Ba = ["data-value"], Ua = { class: "vue-ui-heatmap-gauge-indicator-value" }, Ga = {
|
|
143
|
-
key: 1,
|
|
144
|
-
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
145
|
-
"data-dom-to-png-ignore": "",
|
|
146
|
-
"aria-hidden": "true"
|
|
147
|
-
}, Wa = {
|
|
148
|
-
key: 5,
|
|
149
|
-
class: "vue-data-ui-watermark"
|
|
150
|
-
}, Ka = { class: "vue-ui-data-table" }, Ya = { key: 0 }, qa = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ja = ["data-cell"], Qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Za = {
|
|
151
|
-
__name: "vue-ui-heatmap",
|
|
152
|
-
props: {
|
|
153
|
-
config: {
|
|
154
|
-
type: Object,
|
|
155
|
-
default() {
|
|
156
|
-
return {};
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
dataset: {
|
|
160
|
-
type: Array,
|
|
161
|
-
default() {
|
|
162
|
-
return [];
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
emits: ["selectDatapoint", "copyAlt"],
|
|
167
|
-
setup(h, { expose: G, emit: oe }) {
|
|
168
|
-
Ul((t) => ({
|
|
169
|
-
v59e69720: t.tdo
|
|
170
|
-
}));
|
|
171
|
-
const J = be(() => import("./Tooltip-Cvt7Fi0Q.js")), se = be(() => import("./BaseIcon-DX0hTWa-.js")), R = be(
|
|
172
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
173
|
-
), W = be(
|
|
174
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
175
|
-
), z = be(
|
|
176
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
177
|
-
), S = be(
|
|
178
|
-
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
179
|
-
), { vue_ui_heatmap: P } = ua(), { isThemeValid: fe, warnInvalidTheme: ue } = ca(), A = h, T = oe, X = f({
|
|
180
|
-
get() {
|
|
181
|
-
return !!A.dataset && A.dataset.length;
|
|
182
|
-
},
|
|
183
|
-
set(t) {
|
|
184
|
-
return t;
|
|
185
|
-
}
|
|
186
|
-
}), K = v(yt()), M = v(null), ne = v(!1), Ke = v(""), we = v(void 0), D = v(null), gt = v(0), bt = v(null), mt = v(0), sl = v(null), ke = v(null), Ye = v(null), Fe = v(!1), Re = v(!1), xt = v(null), wt = v(null), ul = v(null), kt = v(null), nl = v(null), qe = v(null), je = v(null), il = v(null), Ct = v(null), pe = Gl(null), ie = v(null), Pe = v(null), At = v({ x: 0, y: 0 }), Je = v("pointer"), De = v(!1), e = v(et()), He = f(
|
|
187
|
-
() => e.value.userOptions.useCursorPointer
|
|
188
|
-
);
|
|
189
|
-
function rl() {
|
|
190
|
-
const t = Array(7).fill("_"), o = [], l = 14, s = t.length;
|
|
191
|
-
for (let r = 0; r < s; r += 1) {
|
|
192
|
-
const c = [];
|
|
193
|
-
for (let m = 0; m < l; m += 1)
|
|
194
|
-
c.push(r + m * 2);
|
|
195
|
-
o.push({
|
|
196
|
-
name: `${t[r]}`,
|
|
197
|
-
values: c
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
return o;
|
|
201
|
-
}
|
|
202
|
-
const vl = f(() => Zt({
|
|
203
|
-
defaultConfig: {
|
|
204
|
-
table: { show: !1 },
|
|
205
|
-
userOptions: { show: !1 },
|
|
206
|
-
style: {
|
|
207
|
-
backgroundColor: "#99999930",
|
|
208
|
-
layout: {
|
|
209
|
-
cells: {
|
|
210
|
-
colors: {
|
|
211
|
-
hot: "#999999",
|
|
212
|
-
cold: "#CACACA"
|
|
213
|
-
},
|
|
214
|
-
columnTotal: { value: { show: !1 } },
|
|
215
|
-
rowTotal: { value: { show: !1 } },
|
|
216
|
-
value: { show: !1 }
|
|
217
|
-
},
|
|
218
|
-
dataLabels: {
|
|
219
|
-
xAxis: { show: !1 },
|
|
220
|
-
yAxis: { show: !1 }
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
226
|
-
})), { loading: Ee, FINAL_DATASET: C, manualLoading: Qe } = ia({
|
|
227
|
-
...Wl(A),
|
|
228
|
-
FINAL_CONFIG: e,
|
|
229
|
-
prepareConfig: et,
|
|
230
|
-
callback: () => {
|
|
231
|
-
Promise.resolve().then(async () => {
|
|
232
|
-
await xe(), M.value && ea(M.value, { delta: 0.1, delay: 250 });
|
|
233
|
-
});
|
|
234
|
-
},
|
|
235
|
-
skeletonDataset: A.config?.skeletonDataset ?? rl(),
|
|
236
|
-
skeletonConfig: Zt({
|
|
237
|
-
defaultConfig: e.value,
|
|
238
|
-
userConfig: vl.value
|
|
239
|
-
})
|
|
240
|
-
}), { userOptionsVisible: Ze, setUserOptionsVisibility: cl, keepUserOptionState: Lt } = ya({ config: e.value }), { svgRef: re } = ha({
|
|
241
|
-
config: e.value.style.title
|
|
242
|
-
});
|
|
243
|
-
function St(t) {
|
|
244
|
-
cl(t);
|
|
245
|
-
}
|
|
246
|
-
function et() {
|
|
247
|
-
const t = ht({
|
|
248
|
-
userConfig: A.config,
|
|
249
|
-
defaultConfig: P
|
|
250
|
-
});
|
|
251
|
-
let o = {};
|
|
252
|
-
const l = t.theme;
|
|
253
|
-
if (l)
|
|
254
|
-
if (!fe.value(t))
|
|
255
|
-
ue(t), o = t;
|
|
256
|
-
else {
|
|
257
|
-
const s = ht({
|
|
258
|
-
userConfig: ga[l] || A.config,
|
|
259
|
-
defaultConfig: t
|
|
260
|
-
});
|
|
261
|
-
o = {
|
|
262
|
-
...ht({
|
|
263
|
-
userConfig: A.config,
|
|
264
|
-
defaultConfig: s
|
|
265
|
-
})
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
else
|
|
269
|
-
o = t;
|
|
270
|
-
return o;
|
|
271
|
-
}
|
|
272
|
-
Be(
|
|
273
|
-
() => A.config,
|
|
274
|
-
(t) => {
|
|
275
|
-
Ee.value || (e.value = et()), Ze.value = !e.value.userOptions.showOnChartHover, at(), mt.value += 1, H.value.showTable = e.value.table.show, H.value.showTooltip = e.value.style.tooltip.show, Ce.value = e.value.style.layout.width, Ae.value = e.value.style.layout.height;
|
|
276
|
-
},
|
|
277
|
-
{ deep: !0 }
|
|
278
|
-
), Be(
|
|
279
|
-
() => A.dataset,
|
|
280
|
-
(t) => {
|
|
281
|
-
Array.isArray(t) && t.length > 0 && (Qe.value = !1), at();
|
|
282
|
-
},
|
|
283
|
-
{ deep: !0 }
|
|
284
|
-
);
|
|
285
|
-
const { isPrinting: tt, isImaging: lt, generatePdf: Tt, generateImage: $t } = na({
|
|
286
|
-
elementId: `heatmap__${K.value}`,
|
|
287
|
-
fileName: e.value.style.title.text || "vue-ui-heatmap",
|
|
288
|
-
options: e.value.userOptions.print
|
|
289
|
-
}), dl = f(() => e.value.userOptions.show && !e.value.style.title.text), H = v({
|
|
290
|
-
showTable: e.value.table.show,
|
|
291
|
-
showTooltip: e.value.style.tooltip.show
|
|
292
|
-
});
|
|
293
|
-
Be(
|
|
294
|
-
e,
|
|
295
|
-
() => {
|
|
296
|
-
H.value = {
|
|
297
|
-
showTable: e.value.table.show,
|
|
298
|
-
showTooltip: e.value.style.tooltip.show
|
|
299
|
-
};
|
|
300
|
-
},
|
|
301
|
-
{ immediate: !0 }
|
|
302
|
-
);
|
|
303
|
-
const yl = f(() => e.value.table.responsiveBreakpoint), Q = v(null), zt = f(() => !!e.value.debug);
|
|
304
|
-
function at() {
|
|
305
|
-
if (el(A.dataset) && (tl({
|
|
306
|
-
componentName: "VueUiHeatmap",
|
|
307
|
-
type: "dataset",
|
|
308
|
-
debug: zt.value
|
|
309
|
-
}), X.value = !1, Qe.value = !0), el(A.dataset) || (Qe.value = e.value.loading), e.value.responsive) {
|
|
310
|
-
const t = We(() => {
|
|
311
|
-
const { width: o, height: l } = sa({
|
|
312
|
-
chart: M.value,
|
|
313
|
-
title: e.value.style.title.text ? xt.value : null,
|
|
314
|
-
// add legend hirizontal in legend attr
|
|
315
|
-
// add legend vertical in some other attr and modify composable to subtract width
|
|
316
|
-
source: Ct.value,
|
|
317
|
-
noTitle: wt.value
|
|
318
|
-
});
|
|
319
|
-
requestAnimationFrame(() => {
|
|
320
|
-
Ce.value = o, Ae.value = l;
|
|
321
|
-
});
|
|
322
|
-
});
|
|
323
|
-
Q.value && (pe.value && Q.value.unobserve(pe.value), Q.value.disconnect()), Q.value = new ResizeObserver(t), pe.value = M.value.parentNode, Q.value.observe(pe.value);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
qt(() => {
|
|
327
|
-
Q.value && (pe.value && Q.value.unobserve(pe.value), Q.value.disconnect());
|
|
328
|
-
}), Kl(() => {
|
|
329
|
-
at();
|
|
330
|
-
});
|
|
331
|
-
const Y = f(() => Math.max(
|
|
332
|
-
...C.value.flatMap((t) => (t.values || []).length)
|
|
333
|
-
)), Ce = v(e.value.style.layout.width), Ae = v(e.value.style.layout.height), E = f(() => ({
|
|
334
|
-
width: Math.max(10, Ce.value),
|
|
335
|
-
height: Math.max(10, Ae.value)
|
|
336
|
-
})), ge = v(0), hl = We((t) => {
|
|
337
|
-
t !== ge.value && (ge.value = t);
|
|
338
|
-
}, 100);
|
|
339
|
-
ft({
|
|
340
|
-
elementRef: qe,
|
|
341
|
-
callback: hl,
|
|
342
|
-
attr: "height"
|
|
343
|
-
});
|
|
344
|
-
const ve = v(0), fl = We((t) => {
|
|
345
|
-
t !== ve.value && (ve.value = t);
|
|
346
|
-
}, 100);
|
|
347
|
-
ft({
|
|
348
|
-
elementRef: kt,
|
|
349
|
-
callback: fl,
|
|
350
|
-
attr: "width"
|
|
351
|
-
});
|
|
352
|
-
const Le = v(0), pl = We((t) => {
|
|
353
|
-
t !== Le.value && (Le.value = t);
|
|
354
|
-
}, 100);
|
|
355
|
-
ft({
|
|
356
|
-
elementRef: je,
|
|
357
|
-
callback: pl,
|
|
358
|
-
attr: "height"
|
|
359
|
-
}), qt(() => {
|
|
360
|
-
ge.value = 0, ve.value = 0, Le.value = 0;
|
|
361
|
-
});
|
|
362
|
-
const d = f(() => Math.min(E.value.height, E.value.width) / 1e3 * e.value.style.layout.cells.spacing), a = f(() => {
|
|
363
|
-
let t = 0;
|
|
364
|
-
e.value.style.legend.show && (t = e.value.style.legend.width);
|
|
365
|
-
const o = e.value.style.layout.padding, l = e.value.style.layout.dataLabels.xAxis.fontSize / 3, s = e.value.style.layout.dataLabels.xAxis.fontSize / 2, r = E.value.height - o.top - o.bottom - ge.value - l, c = E.value.width / 60, m = {
|
|
366
|
-
x: d.value * Y.value,
|
|
367
|
-
y: d.value * ((C.value || []).length + 1)
|
|
368
|
-
}, _ = E.value.width - o.left - o.right - m.x - c * 2 - 2 - t - ve.value, y = r - c - m.y - Le.value - s - e.value.style.layout.cells.columnTotal.value.offsetY, w = {
|
|
369
|
-
width: Math.max(3, _ / Y.value),
|
|
370
|
-
height: Math.max(3, y / (C.value.length ?? 1))
|
|
371
|
-
};
|
|
372
|
-
return {
|
|
373
|
-
top: o.top + ge.value + c + l,
|
|
374
|
-
topLabelsHeight: ge.value,
|
|
375
|
-
sumCellXHeight: c,
|
|
376
|
-
height: y,
|
|
377
|
-
left: o.left + ve.value + c / 2,
|
|
378
|
-
right: o.right - t,
|
|
379
|
-
bottom: E.value.height - o.bottom - Le.value,
|
|
380
|
-
width: _,
|
|
381
|
-
cellSize: w
|
|
382
|
-
};
|
|
383
|
-
}), Z = f(() => Math.max(...C.value.flatMap((t) => t.values))), Se = f(() => Math.min(...C.value.flatMap((t) => t.values))), ce = f(() => {
|
|
384
|
-
const t = C.value.flatMap((l) => l.values);
|
|
385
|
-
return t.reduce((l, s) => l + s, 0) / t.length;
|
|
386
|
-
}), _t = v([]), It = v([]);
|
|
387
|
-
let Ot = 0;
|
|
388
|
-
pt(() => {
|
|
389
|
-
const t = ++Ot;
|
|
390
|
-
(async () => {
|
|
391
|
-
const o = e.value.style.layout.dataLabels.yAxis, l = await ll({
|
|
392
|
-
values: o.values.length ? o.values : C.value.map((s) => s.name),
|
|
393
|
-
maxDatapoints: C.value.length,
|
|
394
|
-
formatter: o.datetimeFormatter,
|
|
395
|
-
start: 0,
|
|
396
|
-
end: C.value.length
|
|
397
|
-
});
|
|
398
|
-
t === Ot && (_t.value = l);
|
|
399
|
-
})();
|
|
400
|
-
});
|
|
401
|
-
let Mt = 0;
|
|
402
|
-
pt(() => {
|
|
403
|
-
const t = ++Mt;
|
|
404
|
-
(async () => {
|
|
405
|
-
const o = e.value.style.layout.dataLabels.xAxis, l = await ll({
|
|
406
|
-
values: o.values,
|
|
407
|
-
maxDatapoints: Y.value,
|
|
408
|
-
formatter: o.datetimeFormatter,
|
|
409
|
-
start: 0,
|
|
410
|
-
end: Y.value
|
|
411
|
-
});
|
|
412
|
-
t === Mt && (It.value = l);
|
|
413
|
-
})();
|
|
414
|
-
});
|
|
415
|
-
const x = f(() => {
|
|
416
|
-
const t = _t.value.map((y) => y.text), o = It.value.map((y) => y.text), l = C.value.map(
|
|
417
|
-
(y) => y.values.reduce((w, B) => w + B, 0)
|
|
418
|
-
), s = Math.max(...l), r = Math.min(...l), c = [];
|
|
419
|
-
for (let y = 0; y < Y.value; y += 1)
|
|
420
|
-
c.push(
|
|
421
|
-
C.value.map((w) => w.values[y] || 0).reduce((w, B) => w + B, 0)
|
|
422
|
-
);
|
|
423
|
-
const m = Math.max(...c), _ = Math.min(...c);
|
|
424
|
-
return {
|
|
425
|
-
yTotals: l.map((y) => {
|
|
426
|
-
const w = isNaN(y / s) ? 0 : y / s;
|
|
427
|
-
return {
|
|
428
|
-
total: y,
|
|
429
|
-
proportion: w,
|
|
430
|
-
color: Ne(
|
|
431
|
-
e.value.style.layout.cells.colors.cold,
|
|
432
|
-
e.value.style.layout.cells.colors.hot,
|
|
433
|
-
r,
|
|
434
|
-
s,
|
|
435
|
-
y
|
|
436
|
-
)
|
|
437
|
-
};
|
|
438
|
-
}),
|
|
439
|
-
xTotals: c.map((y) => {
|
|
440
|
-
const w = isNaN(y / m) ? 0 : y / m;
|
|
441
|
-
return {
|
|
442
|
-
total: y,
|
|
443
|
-
proportion: w,
|
|
444
|
-
color: Ne(
|
|
445
|
-
e.value.style.layout.cells.colors.cold,
|
|
446
|
-
e.value.style.layout.cells.colors.hot,
|
|
447
|
-
_,
|
|
448
|
-
m,
|
|
449
|
-
y
|
|
450
|
-
)
|
|
451
|
-
};
|
|
452
|
-
}),
|
|
453
|
-
yLabels: t,
|
|
454
|
-
xLabels: o.slice(0, Y.value)
|
|
455
|
-
};
|
|
456
|
-
}), $ = f(() => (C.value.forEach((t, o) => {
|
|
457
|
-
Ql({
|
|
458
|
-
datasetObject: t,
|
|
459
|
-
requiredAttributes: ["values"]
|
|
460
|
-
}).forEach((l) => {
|
|
461
|
-
tl({
|
|
462
|
-
componentName: "VueUiHeatmap",
|
|
463
|
-
type: "datasetSerieAttribute",
|
|
464
|
-
property: "values",
|
|
465
|
-
index: o,
|
|
466
|
-
debug: zt.value
|
|
467
|
-
});
|
|
468
|
-
});
|
|
469
|
-
}), C.value.map((t, o) => ({
|
|
470
|
-
...t,
|
|
471
|
-
temperatures: (t.values || []).map((l, s) => l >= ce.value ? {
|
|
472
|
-
side: "up",
|
|
473
|
-
color: Ne(
|
|
474
|
-
e.value.style.layout.cells.colors.cold,
|
|
475
|
-
e.value.style.layout.cells.colors.hot,
|
|
476
|
-
Se.value,
|
|
477
|
-
Z.value,
|
|
478
|
-
l
|
|
479
|
-
),
|
|
480
|
-
ratio: Math.abs(
|
|
481
|
-
Math.abs(l - ce.value) / Math.abs(Z.value - ce.value)
|
|
482
|
-
) > 1 ? 1 : Math.abs(
|
|
483
|
-
Math.abs(l - ce.value) / Math.abs(
|
|
484
|
-
Z.value - ce.value
|
|
485
|
-
)
|
|
486
|
-
),
|
|
487
|
-
value: l,
|
|
488
|
-
yAxisName: x.value.yLabels[o],
|
|
489
|
-
xAxisName: x.value.xLabels[s],
|
|
490
|
-
id: `vue-data-ui-heatmap-cell-${yt()}`
|
|
491
|
-
} : {
|
|
492
|
-
side: "down",
|
|
493
|
-
ratio: Math.abs(
|
|
494
|
-
1 - Math.abs(l) / Math.abs(ce.value)
|
|
495
|
-
) > 1 ? 1 : Math.abs(
|
|
496
|
-
1 - Math.abs(l) / Math.abs(ce.value)
|
|
497
|
-
),
|
|
498
|
-
color: Ne(
|
|
499
|
-
e.value.style.layout.cells.colors.cold,
|
|
500
|
-
e.value.style.layout.cells.colors.hot,
|
|
501
|
-
Se.value,
|
|
502
|
-
Z.value,
|
|
503
|
-
l
|
|
504
|
-
),
|
|
505
|
-
value: l,
|
|
506
|
-
yAxisName: x.value.yLabels[o],
|
|
507
|
-
xAxisName: x.value.xLabels[s],
|
|
508
|
-
id: `vue-data-ui-heatmap-cell-${yt()}`
|
|
509
|
-
})
|
|
510
|
-
})))), Nt = f(() => C.value.length), Ft = jt(Array(Nt.value * Y.value || 1).fill(!1)), gl = f(() => Ft.some((t) => t));
|
|
511
|
-
function bl(t, o) {
|
|
512
|
-
Ft[t] = o;
|
|
513
|
-
}
|
|
514
|
-
const Rt = jt(Array(Nt.value * Y.value || 1).fill(!1)), ml = f(() => Rt.some((t) => t));
|
|
515
|
-
function xl(t, o) {
|
|
516
|
-
Rt[t] = o;
|
|
517
|
-
}
|
|
518
|
-
const V = v(null), Te = v(null);
|
|
519
|
-
function ot() {
|
|
520
|
-
ne.value = !1, we.value = void 0, V.value = null, D.value = null, ie.value = null, Pe.value = null;
|
|
521
|
-
}
|
|
522
|
-
function wl(t) {
|
|
523
|
-
if (!re.value || !t) return;
|
|
524
|
-
const o = re.value.querySelector(`[data-a11y-cell-id="${t}"]`);
|
|
525
|
-
if (!o) return;
|
|
526
|
-
const l = o.getBoundingClientRect();
|
|
527
|
-
At.value = {
|
|
528
|
-
x: l.left + l.width / 2,
|
|
529
|
-
y: l.top + l.height / 2
|
|
530
|
-
};
|
|
531
|
-
}
|
|
532
|
-
function Ve(t, o, l, s, r = "pointer", c = null) {
|
|
533
|
-
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), !H.value.showTooltip) return;
|
|
534
|
-
Je.value = r, ie.value = c, Pe.value = t.id, D.value = { x: l, y: s };
|
|
535
|
-
const { value: m, yAxisName: _, xAxisName: y, id: w } = t;
|
|
536
|
-
we.value = w, V.value = m, Te.value = {
|
|
537
|
-
datapoint: t,
|
|
538
|
-
seriesIndex: o,
|
|
539
|
-
series: $.value,
|
|
540
|
-
config: e.value
|
|
541
|
-
}, ne.value = !0;
|
|
542
|
-
let B = "";
|
|
543
|
-
const he = e.value.style.tooltip.customFormat;
|
|
544
|
-
aa(he) && oa(
|
|
545
|
-
() => he({
|
|
546
|
-
datapoint: t,
|
|
547
|
-
seriesIndex: o,
|
|
548
|
-
series: $.value,
|
|
549
|
-
config: e.value
|
|
550
|
-
})
|
|
551
|
-
) ? Ke.value = he({
|
|
552
|
-
datapoint: t,
|
|
553
|
-
seriesIndex: o,
|
|
554
|
-
series: $.value,
|
|
555
|
-
config: e.value
|
|
556
|
-
}) : (B += `<div>${_} ${y ? _ ? ` - ${y}` : `${y}` : ""}</div>`, B += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${Ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, Se.value, Z.value, m)}">⬤</span><span>${isNaN(m) ? "-" : le(
|
|
557
|
-
e.value.style.layout.cells.value.formatter,
|
|
558
|
-
m,
|
|
559
|
-
q({
|
|
560
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
561
|
-
v: m,
|
|
562
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
563
|
-
r: e.value.style.tooltip.roundingValue
|
|
564
|
-
}),
|
|
565
|
-
{ datapoint: t, seriesIndex: o }
|
|
566
|
-
)}</span></div>`, Ke.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${B}</div>`), r === "keyboard" && xe(() => {
|
|
567
|
-
wl(t.id);
|
|
568
|
-
});
|
|
569
|
-
}
|
|
570
|
-
function kl({ datapoint: t, seriesIndex: o }) {
|
|
571
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o }), !(Pe.value === t.id && Je.value === "keyboard") && (ne.value = !1, we.value = void 0, V.value = null, D.value = null);
|
|
572
|
-
}
|
|
573
|
-
function Cl(t) {
|
|
574
|
-
return le(
|
|
575
|
-
e.value.style.layout.cells.value.formatter,
|
|
576
|
-
x.value.yTotals[t].total,
|
|
577
|
-
q({
|
|
578
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
579
|
-
v: x.value.yTotals[t].total,
|
|
580
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
581
|
-
r: e.value.style.layout.cells.value.roundingValue
|
|
582
|
-
}),
|
|
583
|
-
{ datapoint: x.value.yTotals[t], rowIndex: t }
|
|
584
|
-
);
|
|
585
|
-
}
|
|
586
|
-
function Al(t) {
|
|
587
|
-
return le(
|
|
588
|
-
e.value.style.layout.cells.value.formatter,
|
|
589
|
-
x.value.xTotals[t].total,
|
|
590
|
-
q({
|
|
591
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
592
|
-
v: x.value.xTotals[t].total,
|
|
593
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
594
|
-
r: e.value.style.layout.cells.value.roundingValue
|
|
595
|
-
}),
|
|
596
|
-
{ datapoint: x.value.xTotals[t], colIndex: t }
|
|
597
|
-
);
|
|
598
|
-
}
|
|
599
|
-
f(() => {
|
|
600
|
-
const t = C.value.map((l) => ({
|
|
601
|
-
name: l.name
|
|
602
|
-
})), o = C.value.map((l) => l.values);
|
|
603
|
-
return { head: t, body: o };
|
|
604
|
-
});
|
|
605
|
-
function st(t = null) {
|
|
606
|
-
xe(() => {
|
|
607
|
-
const o = [
|
|
608
|
-
"",
|
|
609
|
-
...C.value.map((c, m) => c.name)
|
|
610
|
-
], l = [];
|
|
611
|
-
for (let c = 0; c < x.value.xLabels.length; c += 1) {
|
|
612
|
-
const m = [x.value.xLabels[c]];
|
|
613
|
-
for (let _ = 0; _ < C.value.length; _ += 1)
|
|
614
|
-
m.push([C.value[_].values[c]]);
|
|
615
|
-
l.push(m);
|
|
616
|
-
}
|
|
617
|
-
const s = [
|
|
618
|
-
[e.value.style.title.text],
|
|
619
|
-
[e.value.style.title.subtitle.text],
|
|
620
|
-
[[""], [""], [""]]
|
|
621
|
-
].concat([o]).concat(l), r = ta(s);
|
|
622
|
-
t ? t(r) : la({
|
|
623
|
-
csvContent: r,
|
|
624
|
-
title: e.value.style.title.text || "vue-ui-heatmap"
|
|
625
|
-
});
|
|
626
|
-
});
|
|
627
|
-
}
|
|
628
|
-
const de = v(!1);
|
|
629
|
-
function Pt(t) {
|
|
630
|
-
de.value = t, gt.value += 1;
|
|
631
|
-
}
|
|
632
|
-
function Dt() {
|
|
633
|
-
H.value.showTable = !H.value.showTable;
|
|
634
|
-
}
|
|
635
|
-
function Ht() {
|
|
636
|
-
H.value.showTooltip = !H.value.showTooltip;
|
|
637
|
-
}
|
|
638
|
-
const $e = v(!1);
|
|
639
|
-
function ut() {
|
|
640
|
-
$e.value = !$e.value;
|
|
641
|
-
}
|
|
642
|
-
function Et(t, o) {
|
|
643
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o }), T("selectDatapoint", t);
|
|
644
|
-
}
|
|
645
|
-
function Ll() {
|
|
646
|
-
return $.value;
|
|
647
|
-
}
|
|
648
|
-
async function Sl({ scale: t = 2 } = {}) {
|
|
649
|
-
if (!M.value) return;
|
|
650
|
-
const { width: o, height: l } = M.value.getBoundingClientRect(), s = o / l, { imageUri: r, base64: c } = await fa({
|
|
651
|
-
domElement: M.value,
|
|
652
|
-
base64: !0,
|
|
653
|
-
img: !0,
|
|
654
|
-
scale: t
|
|
655
|
-
});
|
|
656
|
-
return {
|
|
657
|
-
imageUri: r,
|
|
658
|
-
base64: c,
|
|
659
|
-
title: e.value.style.title.text,
|
|
660
|
-
width: o,
|
|
661
|
-
height: l,
|
|
662
|
-
aspectRatio: s
|
|
663
|
-
};
|
|
664
|
-
}
|
|
665
|
-
const Vt = f(() => ({
|
|
666
|
-
start: 0,
|
|
667
|
-
end: Y.value
|
|
668
|
-
})), Xt = f(() => x.value.xLabels);
|
|
669
|
-
al({
|
|
670
|
-
timeLabelsEls: qe,
|
|
671
|
-
timeLabels: Xt,
|
|
672
|
-
slicer: Vt,
|
|
673
|
-
configRef: e,
|
|
674
|
-
rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
|
|
675
|
-
autoRotatePath: [
|
|
676
|
-
"style",
|
|
677
|
-
"layout",
|
|
678
|
-
"dataLabels",
|
|
679
|
-
"xAxis",
|
|
680
|
-
"autoRotate",
|
|
681
|
-
"enable"
|
|
682
|
-
],
|
|
683
|
-
isAutoSize: !1,
|
|
684
|
-
targetClass: ".vue-ui-heatmap-col-name",
|
|
685
|
-
rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle,
|
|
686
|
-
width: Ce,
|
|
687
|
-
height: Ae
|
|
688
|
-
}), al({
|
|
689
|
-
timeLabelsEls: je,
|
|
690
|
-
timeLabels: Xt,
|
|
691
|
-
slicer: Vt,
|
|
692
|
-
configRef: e,
|
|
693
|
-
rotationPath: [
|
|
694
|
-
"style",
|
|
695
|
-
"layout",
|
|
696
|
-
"cells",
|
|
697
|
-
"columnTotal",
|
|
698
|
-
"value",
|
|
699
|
-
"rotation"
|
|
700
|
-
],
|
|
701
|
-
autoRotatePath: [
|
|
702
|
-
"style",
|
|
703
|
-
"layout",
|
|
704
|
-
"cells",
|
|
705
|
-
"columnTotal",
|
|
706
|
-
"value",
|
|
707
|
-
"autoRotate",
|
|
708
|
-
"enable"
|
|
709
|
-
],
|
|
710
|
-
isAutoSize: !1,
|
|
711
|
-
targetClass: ".vue-ui-heatmap-col-total",
|
|
712
|
-
rotation: e.value.style.layout.cells.columnTotal.value.autoRotate.angle,
|
|
713
|
-
width: Ce,
|
|
714
|
-
height: Ae
|
|
715
|
-
});
|
|
716
|
-
const Xe = f(() => {
|
|
717
|
-
const t = e.value.table.useDialog && !e.value.table.show, o = H.value.showTable;
|
|
718
|
-
return {
|
|
719
|
-
component: t ? S : ba,
|
|
720
|
-
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
721
|
-
props: t ? {
|
|
722
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
723
|
-
color: e.value.table.th.color,
|
|
724
|
-
headerColor: e.value.table.th.color,
|
|
725
|
-
headerBg: e.value.table.th.backgroundColor,
|
|
726
|
-
isFullscreen: de.value,
|
|
727
|
-
fullscreenParent: M.value,
|
|
728
|
-
forcedWidth: Math.min(800, window.innerWidth * 0.8),
|
|
729
|
-
isCursorPointer: He.value
|
|
730
|
-
} : {
|
|
731
|
-
hideDetails: !0,
|
|
732
|
-
config: {
|
|
733
|
-
open: o,
|
|
734
|
-
maxHeight: 1e4,
|
|
735
|
-
body: {
|
|
736
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
737
|
-
color: e.value.style.color
|
|
738
|
-
},
|
|
739
|
-
head: {
|
|
740
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
741
|
-
color: e.value.style.color
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
};
|
|
746
|
-
});
|
|
747
|
-
Be(
|
|
748
|
-
() => H.value.showTable,
|
|
749
|
-
async (t) => {
|
|
750
|
-
e.value.table.show || (t && e.value.table.useDialog && ke.value ? (await xe(), ke.value.open()) : "close" in ke.value && ke.value.close());
|
|
751
|
-
}
|
|
752
|
-
);
|
|
753
|
-
const { isResponsive: Tl } = da(
|
|
754
|
-
bt,
|
|
755
|
-
yl
|
|
756
|
-
);
|
|
757
|
-
function nt() {
|
|
758
|
-
H.value.showTable = !1, Ye.value && Ye.value.setTableIconState(!1);
|
|
759
|
-
}
|
|
760
|
-
const $l = f(() => e.value.style.backgroundColor), zl = f(() => e.value.style.title), { exportSvg: _l, getSvg: Il } = va({
|
|
761
|
-
svg: re,
|
|
762
|
-
title: zl,
|
|
763
|
-
backgroundColor: $l
|
|
764
|
-
});
|
|
765
|
-
async function Bt({ isCb: t }) {
|
|
766
|
-
Re.value = !0, await xe();
|
|
767
|
-
try {
|
|
768
|
-
if (t) {
|
|
769
|
-
const { blob: o, url: l, text: s, dataUrl: r } = await Il();
|
|
770
|
-
await Promise.resolve(
|
|
771
|
-
e.value.userOptions.callbacks.svg({
|
|
772
|
-
blob: o,
|
|
773
|
-
url: l,
|
|
774
|
-
text: s,
|
|
775
|
-
dataUrl: r
|
|
776
|
-
})
|
|
777
|
-
);
|
|
778
|
-
} else
|
|
779
|
-
await Promise.resolve(_l());
|
|
780
|
-
} finally {
|
|
781
|
-
Re.value = !1;
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
function Ol(t) {
|
|
785
|
-
if (t?.stage === "start") {
|
|
786
|
-
Fe.value = !0;
|
|
787
|
-
return;
|
|
788
|
-
}
|
|
789
|
-
if (t?.stage === "end") {
|
|
790
|
-
Fe.value = !1;
|
|
791
|
-
return;
|
|
792
|
-
}
|
|
793
|
-
$t();
|
|
794
|
-
}
|
|
795
|
-
async function Ut() {
|
|
796
|
-
if (T("copyAlt", {
|
|
797
|
-
config: e.value,
|
|
798
|
-
dataset: $.value
|
|
799
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
800
|
-
console.warn(
|
|
801
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
802
|
-
);
|
|
803
|
-
return;
|
|
804
|
-
}
|
|
805
|
-
await Promise.resolve(
|
|
806
|
-
e.value.userOptions.callbacks.altCopy({
|
|
807
|
-
config: e.value,
|
|
808
|
-
dataset: $.value
|
|
809
|
-
})
|
|
810
|
-
);
|
|
811
|
-
}
|
|
812
|
-
function Gt(t, o) {
|
|
813
|
-
const l = $.value[t];
|
|
814
|
-
if (!l) return null;
|
|
815
|
-
const s = l.temperatures[o];
|
|
816
|
-
return s ? {
|
|
817
|
-
cell: s,
|
|
818
|
-
rowIndex: t,
|
|
819
|
-
columnIndex: o
|
|
820
|
-
} : null;
|
|
821
|
-
}
|
|
822
|
-
function it(t, o) {
|
|
823
|
-
let l = 0;
|
|
824
|
-
for (let s = 0; s < t; s += 1)
|
|
825
|
-
l += $.value[s]?.temperatures?.length || 0;
|
|
826
|
-
return l + o;
|
|
827
|
-
}
|
|
828
|
-
function Ml() {
|
|
829
|
-
ie.value = null, Pe.value = null, De.value = !0;
|
|
830
|
-
}
|
|
831
|
-
function Nl() {
|
|
832
|
-
ot(), De.value = !1;
|
|
833
|
-
}
|
|
834
|
-
function Fl(t) {
|
|
835
|
-
if (!re.value || $e.value || document.activeElement !== re.value || !ye.value.length) return;
|
|
836
|
-
const o = t.key === "ArrowLeft", l = t.key === "ArrowRight", s = t.key === "ArrowUp", r = t.key === "ArrowDown", c = t.key === "Enter" || t.key === " ", m = t.key === "Escape";
|
|
837
|
-
if (!o && !l && !s && !r && !c && !m)
|
|
838
|
-
return;
|
|
839
|
-
if (t.preventDefault(), t.stopPropagation(), m) {
|
|
840
|
-
ot();
|
|
841
|
-
return;
|
|
842
|
-
}
|
|
843
|
-
if (c) {
|
|
844
|
-
if (ie.value === null) return;
|
|
845
|
-
const ee = ye.value[ie.value];
|
|
846
|
-
if (!ee) return;
|
|
847
|
-
Et(ee.cell, ee.rowIndex);
|
|
848
|
-
return;
|
|
849
|
-
}
|
|
850
|
-
let _ = ie.value === null ? null : ye.value[ie.value];
|
|
851
|
-
if (!_) {
|
|
852
|
-
const ee = we.value ? ye.value.findIndex(
|
|
853
|
-
(Ie) => Ie.cell.id === we.value
|
|
854
|
-
) : null;
|
|
855
|
-
if (ee !== null && ee >= 0 && ee < ye.value.length) {
|
|
856
|
-
const Ie = ye.value[ee];
|
|
857
|
-
if (!Ie) return;
|
|
858
|
-
let j = Ie.rowIndex, te = Ie.columnIndex;
|
|
859
|
-
l ? te += 1 : o ? te -= 1 : r ? j += 1 : s && (j -= 1);
|
|
860
|
-
const vt = Wt.value.rowCount;
|
|
861
|
-
if (vt <= 0) return;
|
|
862
|
-
j < 0 && (j = vt - 1), j >= vt && (j = 0);
|
|
863
|
-
const ct = $.value[j];
|
|
864
|
-
if (!ct || !ct.temperatures.length) return;
|
|
865
|
-
const Yt = ct.temperatures.length;
|
|
866
|
-
te < 0 && (te = Yt - 1), te >= Yt && (te = 0);
|
|
867
|
-
const Oe = Gt(j, te);
|
|
868
|
-
if (!Oe) return;
|
|
869
|
-
const Vl = it(
|
|
870
|
-
j,
|
|
871
|
-
te
|
|
872
|
-
), Xl = a.value.left + a.value.cellSize.width * Oe.columnIndex, Bl = a.value.top + a.value.cellSize.height * Oe.rowIndex;
|
|
873
|
-
Ve(
|
|
874
|
-
Oe.cell,
|
|
875
|
-
Oe.rowIndex,
|
|
876
|
-
Xl,
|
|
877
|
-
Bl,
|
|
878
|
-
"keyboard",
|
|
879
|
-
Vl
|
|
880
|
-
);
|
|
881
|
-
return;
|
|
882
|
-
}
|
|
883
|
-
const _e = ye.value[0];
|
|
884
|
-
if (!_e) return;
|
|
885
|
-
const Hl = a.value.left + a.value.cellSize.width * _e.columnIndex, El = a.value.top + a.value.cellSize.height * _e.rowIndex;
|
|
886
|
-
Ve(_e.cell, _e.rowIndex, Hl, El, "keyboard", 0);
|
|
887
|
-
return;
|
|
888
|
-
}
|
|
889
|
-
let y = _.rowIndex, w = _.columnIndex;
|
|
890
|
-
l ? w += 1 : o ? w -= 1 : r ? y += 1 : s && (y -= 1);
|
|
891
|
-
const B = Wt.value.rowCount;
|
|
892
|
-
if (B <= 0) return;
|
|
893
|
-
y < 0 && (y = B - 1), y >= B && (y = 0);
|
|
894
|
-
const he = $.value[y];
|
|
895
|
-
if (!he || !he.temperatures.length) return;
|
|
896
|
-
const Kt = he.temperatures.length;
|
|
897
|
-
w < 0 && (w = Kt - 1), w >= Kt && (w = 0);
|
|
898
|
-
const ze = Gt(y, w);
|
|
899
|
-
if (!ze) return;
|
|
900
|
-
const Rl = it(
|
|
901
|
-
y,
|
|
902
|
-
w
|
|
903
|
-
), Pl = a.value.left + a.value.cellSize.width * ze.columnIndex, Dl = a.value.top + a.value.cellSize.height * ze.rowIndex;
|
|
904
|
-
Ve(
|
|
905
|
-
ze.cell,
|
|
906
|
-
ze.rowIndex,
|
|
907
|
-
Pl,
|
|
908
|
-
Dl,
|
|
909
|
-
"keyboard",
|
|
910
|
-
Rl
|
|
911
|
-
);
|
|
912
|
-
}
|
|
913
|
-
const rt = f(() => {
|
|
914
|
-
const t = [
|
|
915
|
-
e.value.table.colNames.xAxis,
|
|
916
|
-
...C.value.map((l) => l.name)
|
|
917
|
-
], o = x.value.xLabels.map((l, s) => [
|
|
918
|
-
l,
|
|
919
|
-
...C.value.map((r) => {
|
|
920
|
-
const c = r.values?.[s];
|
|
921
|
-
return isNaN(c) ? "-" : q({
|
|
922
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
923
|
-
v: c,
|
|
924
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
925
|
-
r: e.value.table.td.roundingValue
|
|
926
|
-
});
|
|
927
|
-
})
|
|
928
|
-
]);
|
|
929
|
-
return { headers: t, rows: o };
|
|
930
|
-
}), Wt = f(() => {
|
|
931
|
-
const t = $.value.length, o = Math.max(
|
|
932
|
-
0,
|
|
933
|
-
...$.value.map((l) => l.temperatures.length)
|
|
934
|
-
);
|
|
935
|
-
return {
|
|
936
|
-
rowCount: t,
|
|
937
|
-
columnCount: o
|
|
938
|
-
};
|
|
939
|
-
}), ye = f(() => $.value.flatMap((t, o) => t.temperatures.map((l, s) => ({
|
|
940
|
-
cell: l,
|
|
941
|
-
rowIndex: o,
|
|
942
|
-
columnIndex: s
|
|
943
|
-
}))));
|
|
944
|
-
return G({
|
|
945
|
-
getData: Ll,
|
|
946
|
-
getImage: Sl,
|
|
947
|
-
generatePdf: Tt,
|
|
948
|
-
generateCsv: st,
|
|
949
|
-
generateImage: $t,
|
|
950
|
-
generateSvg: Bt,
|
|
951
|
-
toggleTable: Dt,
|
|
952
|
-
toggleTooltip: Ht,
|
|
953
|
-
toggleAnnotator: ut,
|
|
954
|
-
toggleFullscreen: Pt,
|
|
955
|
-
copyAlt: Ut
|
|
956
|
-
}), (t, o) => (u(), i("div", {
|
|
957
|
-
ref_key: "heatmapChart",
|
|
958
|
-
ref: M,
|
|
959
|
-
class: Me(`vue-data-ui-component vue-ui-heatmap ${de.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
960
|
-
style: L(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
|
|
961
|
-
id: `heatmap__${K.value}`,
|
|
962
|
-
onMouseenter: o[1] || (o[1] = () => St(!0)),
|
|
963
|
-
onMouseleave: o[2] || (o[2] = () => {
|
|
964
|
-
St(!1), De.value || ot();
|
|
965
|
-
})
|
|
966
|
-
}, [
|
|
967
|
-
p("div", {
|
|
968
|
-
id: `chart-instructions-${K.value}`,
|
|
969
|
-
class: "sr-only"
|
|
970
|
-
}, [
|
|
971
|
-
p("p", null, I(e.value.a11y.translations.keyboardNavigation), 1)
|
|
972
|
-
], 8, Ca),
|
|
973
|
-
rt.value?.rows?.length ? (u(), me(ma, {
|
|
974
|
-
key: 0,
|
|
975
|
-
uid: K.value,
|
|
976
|
-
head: rt.value.headers,
|
|
977
|
-
body: rt.value.rows,
|
|
978
|
-
notice: e.value.a11y.translations.tableAvailable,
|
|
979
|
-
caption: e.value.a11y.translations.tableCaption
|
|
980
|
-
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : g("", !0),
|
|
981
|
-
e.value.userOptions.buttons.annotator ? (u(), me(n(R), {
|
|
982
|
-
key: 1,
|
|
983
|
-
svgRef: n(re),
|
|
984
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
985
|
-
color: e.value.style.color,
|
|
986
|
-
active: $e.value,
|
|
987
|
-
isCursorPointer: He.value,
|
|
988
|
-
onClose: ut
|
|
989
|
-
}, {
|
|
990
|
-
"annotator-action-close": k(() => [
|
|
991
|
-
b(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
992
|
-
]),
|
|
993
|
-
"annotator-action-color": k(({ color: l }) => [
|
|
994
|
-
b(t.$slots, "annotator-action-color", N(F({ color: l })), void 0, !0)
|
|
995
|
-
]),
|
|
996
|
-
"annotator-action-draw": k(({ mode: l }) => [
|
|
997
|
-
b(t.$slots, "annotator-action-draw", N(F({ mode: l })), void 0, !0)
|
|
998
|
-
]),
|
|
999
|
-
"annotator-action-undo": k(({ disabled: l }) => [
|
|
1000
|
-
b(t.$slots, "annotator-action-undo", N(F({ disabled: l })), void 0, !0)
|
|
1001
|
-
]),
|
|
1002
|
-
"annotator-action-redo": k(({ disabled: l }) => [
|
|
1003
|
-
b(t.$slots, "annotator-action-redo", N(F({ disabled: l })), void 0, !0)
|
|
1004
|
-
]),
|
|
1005
|
-
"annotator-action-delete": k(({ disabled: l }) => [
|
|
1006
|
-
b(t.$slots, "annotator-action-delete", N(F({ disabled: l })), void 0, !0)
|
|
1007
|
-
]),
|
|
1008
|
-
_: 3
|
|
1009
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : g("", !0),
|
|
1010
|
-
dl.value ? (u(), i("div", {
|
|
1011
|
-
key: 2,
|
|
1012
|
-
ref_key: "noTitle",
|
|
1013
|
-
ref: wt,
|
|
1014
|
-
class: "vue-data-ui-no-title-space",
|
|
1015
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
1016
|
-
}, null, 512)) : g("", !0),
|
|
1017
|
-
e.value.style.title.text ? (u(), i("div", {
|
|
1018
|
-
key: 3,
|
|
1019
|
-
ref_key: "chartTitle",
|
|
1020
|
-
ref: xt,
|
|
1021
|
-
style: "width:100%;background:transparent"
|
|
1022
|
-
}, [
|
|
1023
|
-
(u(), me(pa, {
|
|
1024
|
-
key: `title_${mt.value}`,
|
|
1025
|
-
config: {
|
|
1026
|
-
title: {
|
|
1027
|
-
cy: "heatmap-div-title",
|
|
1028
|
-
...e.value.style.title
|
|
1029
|
-
},
|
|
1030
|
-
subtitle: {
|
|
1031
|
-
cy: "heatmap-div-subtitle",
|
|
1032
|
-
...e.value.style.title.subtitle
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
}, null, 8, ["config"]))
|
|
1036
|
-
], 512)) : g("", !0),
|
|
1037
|
-
e.value.userOptions.show && X.value && (n(Lt) || n(Ze)) ? (u(), me(n(W), {
|
|
1038
|
-
ref_key: "userOptionsRef",
|
|
1039
|
-
ref: Ye,
|
|
1040
|
-
key: `user_options_${gt.value}`,
|
|
1041
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
1042
|
-
color: e.value.style.color,
|
|
1043
|
-
isImaging: n(lt),
|
|
1044
|
-
isPrinting: n(tt),
|
|
1045
|
-
uid: K.value,
|
|
1046
|
-
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
1047
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
1048
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
1049
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
1050
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
1051
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
1052
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
1053
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
1054
|
-
isFullscreen: de.value,
|
|
1055
|
-
isTooltip: H.value.showTooltip,
|
|
1056
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
1057
|
-
chartElement: M.value,
|
|
1058
|
-
position: e.value.userOptions.position,
|
|
1059
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
1060
|
-
isAnnotation: $e.value,
|
|
1061
|
-
callbacks: e.value.userOptions.callbacks,
|
|
1062
|
-
printScale: e.value.userOptions.print.scale,
|
|
1063
|
-
tableDialog: e.value.table.useDialog,
|
|
1064
|
-
isCursorPointer: He.value,
|
|
1065
|
-
onToggleFullscreen: Pt,
|
|
1066
|
-
onGeneratePdf: n(Tt),
|
|
1067
|
-
onGenerateCsv: st,
|
|
1068
|
-
onGenerateImage: Ol,
|
|
1069
|
-
onGenerateSvg: Bt,
|
|
1070
|
-
onToggleTable: Dt,
|
|
1071
|
-
onToggleTooltip: Ht,
|
|
1072
|
-
onToggleAnnotator: ut,
|
|
1073
|
-
onCopyAlt: Ut,
|
|
1074
|
-
style: L({
|
|
1075
|
-
visibility: n(Lt) ? n(Ze) ? "visible" : "hidden" : "visible"
|
|
1076
|
-
})
|
|
1077
|
-
}, Jt({ _: 2 }, [
|
|
1078
|
-
t.$slots.menuIcon ? {
|
|
1079
|
-
name: "menuIcon",
|
|
1080
|
-
fn: k(({ isOpen: l, color: s }) => [
|
|
1081
|
-
b(t.$slots, "menuIcon", N(F({ isOpen: l, color: s })), void 0, !0)
|
|
1082
|
-
]),
|
|
1083
|
-
key: "0"
|
|
1084
|
-
} : void 0,
|
|
1085
|
-
t.$slots.optionTooltip ? {
|
|
1086
|
-
name: "optionTooltip",
|
|
1087
|
-
fn: k(() => [
|
|
1088
|
-
b(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
1089
|
-
]),
|
|
1090
|
-
key: "1"
|
|
1091
|
-
} : void 0,
|
|
1092
|
-
t.$slots.optionPdf ? {
|
|
1093
|
-
name: "optionPdf",
|
|
1094
|
-
fn: k(() => [
|
|
1095
|
-
b(t.$slots, "optionPdf", {}, void 0, !0)
|
|
1096
|
-
]),
|
|
1097
|
-
key: "2"
|
|
1098
|
-
} : void 0,
|
|
1099
|
-
t.$slots.optionCsv ? {
|
|
1100
|
-
name: "optionCsv",
|
|
1101
|
-
fn: k(() => [
|
|
1102
|
-
b(t.$slots, "optionCsv", {}, void 0, !0)
|
|
1103
|
-
]),
|
|
1104
|
-
key: "3"
|
|
1105
|
-
} : void 0,
|
|
1106
|
-
t.$slots.optionImg ? {
|
|
1107
|
-
name: "optionImg",
|
|
1108
|
-
fn: k(() => [
|
|
1109
|
-
b(t.$slots, "optionImg", {}, void 0, !0)
|
|
1110
|
-
]),
|
|
1111
|
-
key: "4"
|
|
1112
|
-
} : void 0,
|
|
1113
|
-
t.$slots.optionSvg ? {
|
|
1114
|
-
name: "optionSvg",
|
|
1115
|
-
fn: k(() => [
|
|
1116
|
-
b(t.$slots, "optionSvg", {}, void 0, !0)
|
|
1117
|
-
]),
|
|
1118
|
-
key: "5"
|
|
1119
|
-
} : void 0,
|
|
1120
|
-
t.$slots.optionTable ? {
|
|
1121
|
-
name: "optionTable",
|
|
1122
|
-
fn: k(() => [
|
|
1123
|
-
b(t.$slots, "optionTable", {}, void 0, !0)
|
|
1124
|
-
]),
|
|
1125
|
-
key: "6"
|
|
1126
|
-
} : void 0,
|
|
1127
|
-
t.$slots.optionFullscreen ? {
|
|
1128
|
-
name: "optionFullscreen",
|
|
1129
|
-
fn: k(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
1130
|
-
b(t.$slots, "optionFullscreen", N(F({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
1131
|
-
]),
|
|
1132
|
-
key: "7"
|
|
1133
|
-
} : void 0,
|
|
1134
|
-
t.$slots.optionAnnotator ? {
|
|
1135
|
-
name: "optionAnnotator",
|
|
1136
|
-
fn: k(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
1137
|
-
b(t.$slots, "optionAnnotator", N(F({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
1138
|
-
]),
|
|
1139
|
-
key: "8"
|
|
1140
|
-
} : void 0,
|
|
1141
|
-
t.$slots.optionAltCopy ? {
|
|
1142
|
-
name: "optionAltCopy",
|
|
1143
|
-
fn: k(({ altCopy: l }) => [
|
|
1144
|
-
b(t.$slots, "optionAltCopy", N(F({ altCopy: l })), void 0, !0)
|
|
1145
|
-
]),
|
|
1146
|
-
key: "9"
|
|
1147
|
-
} : void 0
|
|
1148
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : g("", !0),
|
|
1149
|
-
p("div", {
|
|
1150
|
-
class: Me({
|
|
1151
|
-
"vue-ui-heatmap-chart-wrapper": !0,
|
|
1152
|
-
"vue-ui-heatmap-chart-wrapper-legend-right": e.value.style.legend.show
|
|
1153
|
-
})
|
|
1154
|
-
}, [
|
|
1155
|
-
(u(), i("svg", {
|
|
1156
|
-
ref_key: "svgRef",
|
|
1157
|
-
ref: re,
|
|
1158
|
-
xmlns: n(Zl),
|
|
1159
|
-
"aria-describedby": `chart-instructions-${K.value}`,
|
|
1160
|
-
class: Me({
|
|
1161
|
-
"vue-data-ui-fullscreen--on": de.value,
|
|
1162
|
-
"vue-data-ui-fulscreen--off": !de.value
|
|
1163
|
-
}),
|
|
1164
|
-
viewBox: `0 0 ${E.value.width} ${E.value.height}`,
|
|
1165
|
-
width: "100%",
|
|
1166
|
-
style: L(`overflow: visible; background:transparent;color:${e.value.style.color}`),
|
|
1167
|
-
"aria-live": "polite",
|
|
1168
|
-
role: "img",
|
|
1169
|
-
preserveAspectRatio: "xMidYMid",
|
|
1170
|
-
tabindex: "0",
|
|
1171
|
-
onFocus: Ml,
|
|
1172
|
-
onBlur: Nl,
|
|
1173
|
-
onKeydown: Fl
|
|
1174
|
-
}, [
|
|
1175
|
-
Ue(n(z)),
|
|
1176
|
-
t.$slots["chart-background"] ? (u(), i("foreignObject", {
|
|
1177
|
-
key: 0,
|
|
1178
|
-
x: a.value.left,
|
|
1179
|
-
y: a.value.top,
|
|
1180
|
-
width: a.value.width,
|
|
1181
|
-
height: a.value.height,
|
|
1182
|
-
style: {
|
|
1183
|
-
pointerEvents: "none"
|
|
1184
|
-
}
|
|
1185
|
-
}, [
|
|
1186
|
-
b(t.$slots, "chart-background", {}, void 0, !0)
|
|
1187
|
-
], 8, La)) : g("", !0),
|
|
1188
|
-
e.value.style.layout.cells.columnTotal.color.show ? (u(), i("g", {
|
|
1189
|
-
key: 1,
|
|
1190
|
-
ref_key: "xAxisSumRects",
|
|
1191
|
-
ref: il
|
|
1192
|
-
}, [
|
|
1193
|
-
(u(!0), i(O, null, U(x.value.xTotals, (l, s) => (u(), i("rect", {
|
|
1194
|
-
x: a.value.left + a.value.cellSize.width * s + d.value / 2 + a.value.sumCellXHeight,
|
|
1195
|
-
y: a.value.top - a.value.sumCellXHeight + d.value * (E.value.height / E.value.width),
|
|
1196
|
-
height: a.value.sumCellXHeight,
|
|
1197
|
-
width: a.value.cellSize.width - d.value,
|
|
1198
|
-
fill: e.value.style.layout.cells.colors.underlayer,
|
|
1199
|
-
stroke: e.value.style.backgroundColor,
|
|
1200
|
-
"stroke-width": d.value
|
|
1201
|
-
}, null, 8, Sa))), 256)),
|
|
1202
|
-
(u(!0), i(O, null, U(x.value.xTotals, (l, s) => (u(), i("rect", {
|
|
1203
|
-
x: a.value.left + a.value.cellSize.width * s + d.value / 2 + a.value.sumCellXHeight,
|
|
1204
|
-
y: a.value.top - a.value.sumCellXHeight + d.value * (E.value.height / E.value.width),
|
|
1205
|
-
height: a.value.sumCellXHeight,
|
|
1206
|
-
width: a.value.cellSize.width - d.value,
|
|
1207
|
-
fill: l.color,
|
|
1208
|
-
stroke: e.value.style.backgroundColor,
|
|
1209
|
-
"stroke-width": d.value
|
|
1210
|
-
}, null, 8, Ta))), 256))
|
|
1211
|
-
], 512)) : g("", !0),
|
|
1212
|
-
p("g", {
|
|
1213
|
-
ref_key: "datapoints",
|
|
1214
|
-
ref: sl
|
|
1215
|
-
}, [
|
|
1216
|
-
(u(!0), i(O, null, U($.value, (l, s) => (u(), i(O, null, [
|
|
1217
|
-
(u(!0), i(O, null, U(l.temperatures, (r, c) => (u(), i("g", null, [
|
|
1218
|
-
p("rect", {
|
|
1219
|
-
x: a.value.left + a.value.cellSize.width * c + d.value / 2 + a.value.sumCellXHeight,
|
|
1220
|
-
y: a.value.top + a.value.cellSize.height * s + d.value / 2,
|
|
1221
|
-
width: a.value.cellSize.width - d.value,
|
|
1222
|
-
height: a.value.cellSize.height - d.value,
|
|
1223
|
-
fill: e.value.style.layout.cells.colors.underlayer,
|
|
1224
|
-
stroke: e.value.style.backgroundColor,
|
|
1225
|
-
"stroke-width": d.value
|
|
1226
|
-
}, null, 8, $a),
|
|
1227
|
-
p("rect", {
|
|
1228
|
-
"data-a11y-cell-id": r.id,
|
|
1229
|
-
x: a.value.left + a.value.cellSize.width * c + d.value / 2 + a.value.sumCellXHeight,
|
|
1230
|
-
y: a.value.top + a.value.cellSize.height * s + d.value / 2,
|
|
1231
|
-
width: a.value.cellSize.width - d.value,
|
|
1232
|
-
height: a.value.cellSize.height - d.value,
|
|
1233
|
-
fill: r.color,
|
|
1234
|
-
stroke: e.value.style.backgroundColor,
|
|
1235
|
-
"stroke-width": d.value,
|
|
1236
|
-
"aria-label": `${r.yAxisName}${r.xAxisName ? ` - ${r.xAxisName}` : ""}: ${isNaN(r.value) ? "-" : r.value}`,
|
|
1237
|
-
onMouseover: (m) => Ve(
|
|
1238
|
-
r,
|
|
1239
|
-
s,
|
|
1240
|
-
a.value.left + a.value.cellSize.width * c,
|
|
1241
|
-
a.value.top + a.value.cellSize.height * s,
|
|
1242
|
-
"pointer",
|
|
1243
|
-
it(s, c)
|
|
1244
|
-
),
|
|
1245
|
-
onMouseout: () => kl({
|
|
1246
|
-
datapoint: r,
|
|
1247
|
-
seriesIndex: s
|
|
1248
|
-
}),
|
|
1249
|
-
onClick: () => Et(r, s)
|
|
1250
|
-
}, null, 40, za),
|
|
1251
|
-
e.value.style.layout.cells.value.show ? Qt((u(), i("text", {
|
|
1252
|
-
key: 0,
|
|
1253
|
-
"text-anchor": "middle",
|
|
1254
|
-
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
1255
|
-
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
1256
|
-
fill: n(Ge)(r.color),
|
|
1257
|
-
x: a.value.left + a.value.cellSize.width * c + a.value.cellSize.width / 2 + a.value.sumCellXHeight,
|
|
1258
|
-
y: a.value.top + a.value.cellSize.height * s + a.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
|
|
1259
|
-
style: {
|
|
1260
|
-
pointerEvents: "none",
|
|
1261
|
-
userSelect: "none"
|
|
1262
|
-
}
|
|
1263
|
-
}, [
|
|
1264
|
-
dt(I(n(le)(
|
|
1265
|
-
e.value.style.layout.cells.value.formatter,
|
|
1266
|
-
r.value,
|
|
1267
|
-
n(q)({
|
|
1268
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
1269
|
-
v: r.value,
|
|
1270
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
1271
|
-
r: e.value.style.layout.cells.value.roundingValue
|
|
1272
|
-
}),
|
|
1273
|
-
{ datapoint: r }
|
|
1274
|
-
)), 1)
|
|
1275
|
-
], 8, _a)), [
|
|
1276
|
-
[n(wa), {
|
|
1277
|
-
cellWidth: a.value.cellSize.width - d.value,
|
|
1278
|
-
cellHeight: a.value.cellSize.height - d.value,
|
|
1279
|
-
maxFontSize: e.value.style.layout.cells.value.fontSize,
|
|
1280
|
-
minFontSize: 10,
|
|
1281
|
-
index: s * Y.value + c,
|
|
1282
|
-
reportHide: xl,
|
|
1283
|
-
reportRotation: bl,
|
|
1284
|
-
hideAll: ml.value,
|
|
1285
|
-
rotateAll: gl.value
|
|
1286
|
-
}]
|
|
1287
|
-
]) : g("", !0)
|
|
1288
|
-
]))), 256))
|
|
1289
|
-
], 64))), 256))
|
|
1290
|
-
], 512),
|
|
1291
|
-
e.value.style.layout.cells.rowTotal.color.show ? (u(), i("g", {
|
|
1292
|
-
key: 2,
|
|
1293
|
-
ref_key: "yAxisSumRects",
|
|
1294
|
-
ref: nl
|
|
1295
|
-
}, [
|
|
1296
|
-
(u(!0), i(O, null, U($.value, (l, s) => (u(), i(O, null, [
|
|
1297
|
-
p("rect", {
|
|
1298
|
-
x: a.value.left,
|
|
1299
|
-
y: a.value.top + a.value.cellSize.height * s,
|
|
1300
|
-
width: a.value.sumCellXHeight,
|
|
1301
|
-
height: a.value.cellSize.height - d.value,
|
|
1302
|
-
fill: e.value.style.layout.cells.colors.underlayer,
|
|
1303
|
-
stroke: e.value.style.backgroundColor,
|
|
1304
|
-
"stroke-width": d.value
|
|
1305
|
-
}, null, 8, Ia),
|
|
1306
|
-
p("rect", {
|
|
1307
|
-
x: a.value.left,
|
|
1308
|
-
y: a.value.top + a.value.cellSize.height * s + d.value / 2,
|
|
1309
|
-
width: a.value.sumCellXHeight,
|
|
1310
|
-
height: a.value.cellSize.height - d.value,
|
|
1311
|
-
fill: x.value.yTotals[s].color,
|
|
1312
|
-
stroke: e.value.style.backgroundColor,
|
|
1313
|
-
"stroke-width": d.value
|
|
1314
|
-
}, null, 8, Oa)
|
|
1315
|
-
], 64))), 256))
|
|
1316
|
-
], 512)) : g("", !0),
|
|
1317
|
-
e.value.style.layout.dataLabels.yAxis.show ? (u(), i("g", {
|
|
1318
|
-
key: 3,
|
|
1319
|
-
ref_key: "yAxisLabels",
|
|
1320
|
-
ref: kt
|
|
1321
|
-
}, [
|
|
1322
|
-
(u(!0), i(O, null, U($.value, (l, s) => (u(), i(O, null, [
|
|
1323
|
-
p("text", {
|
|
1324
|
-
class: "vue-ui-heatmap-row-name",
|
|
1325
|
-
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1326
|
-
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
1327
|
-
x: ve.value,
|
|
1328
|
-
y: a.value.top + a.value.cellSize.height * s + a.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY - (e.value.style.layout.cells.rowTotal.value.show ? e.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
|
|
1329
|
-
"text-anchor": "end",
|
|
1330
|
-
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
1331
|
-
}, I(x.value.yLabels[s]), 9, Ma),
|
|
1332
|
-
e.value.style.layout.cells.rowTotal.value.show ? (u(), i("text", {
|
|
1333
|
-
key: 0,
|
|
1334
|
-
class: "vue-ui-heatmap-row-total",
|
|
1335
|
-
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1336
|
-
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
1337
|
-
x: ve.value,
|
|
1338
|
-
y: a.value.top + a.value.cellSize.height * s + a.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
1339
|
-
"text-anchor": "end",
|
|
1340
|
-
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
1341
|
-
}, I(Cl(s)), 9, Na)) : g("", !0)
|
|
1342
|
-
], 64))), 256))
|
|
1343
|
-
], 512)) : g("", !0),
|
|
1344
|
-
e.value.style.layout.dataLabels.xAxis.show ? (u(), i("g", {
|
|
1345
|
-
key: 4,
|
|
1346
|
-
ref_key: "xAxisLabels",
|
|
1347
|
-
ref: qe
|
|
1348
|
-
}, [
|
|
1349
|
-
(u(!0), i(O, null, U(x.value.xLabels, (l, s) => (u(), i(O, null, [
|
|
1350
|
-
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && s % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (u(), i("text", {
|
|
1351
|
-
key: 0,
|
|
1352
|
-
class: "vue-ui-heatmap-col-name",
|
|
1353
|
-
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
1354
|
-
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1355
|
-
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
1356
|
-
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1357
|
-
transform: `translate(${a.value.left + a.value.cellSize.width / 2 + a.value.width / x.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + a.value.sumCellXHeight}, ${a.value.topLabelsHeight}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
1358
|
-
}, I(l), 9, Fa)) : g("", !0)
|
|
1359
|
-
], 64))), 256))
|
|
1360
|
-
], 512)) : g("", !0),
|
|
1361
|
-
e.value.style.layout.cells.columnTotal.value.show ? (u(), i("g", {
|
|
1362
|
-
key: 5,
|
|
1363
|
-
ref_key: "xAxisSums",
|
|
1364
|
-
ref: je
|
|
1365
|
-
}, [
|
|
1366
|
-
(u(!0), i(O, null, U(x.value.xLabels, (l, s) => (u(), i("text", {
|
|
1367
|
-
class: "vue-ui-heatmap-col-total",
|
|
1368
|
-
"text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
|
|
1369
|
-
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1370
|
-
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
1371
|
-
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1372
|
-
transform: `translate(${a.value.left + a.value.cellSize.width / 2 + a.value.width / x.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + a.value.sumCellXHeight}, ${a.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
|
|
1373
|
-
}, I(Al(s)), 9, Ra))), 256))
|
|
1374
|
-
], 512)) : g("", !0),
|
|
1375
|
-
D.value ? (u(), i("g", Pa, [
|
|
1376
|
-
p("rect", {
|
|
1377
|
-
style: { "pointer-events": "none" },
|
|
1378
|
-
x: D.value.x - e.value.style.layout.cells.selected.border / 2 + d.value + a.value.sumCellXHeight,
|
|
1379
|
-
y: D.value.y - e.value.style.layout.cells.selected.border / 2 + d.value,
|
|
1380
|
-
width: a.value.cellSize.width - d.value + e.value.style.layout.cells.selected.border - d.value,
|
|
1381
|
-
height: a.value.cellSize.height - d.value + e.value.style.layout.cells.selected.border - d.value,
|
|
1382
|
-
fill: "transparent",
|
|
1383
|
-
stroke: e.value.style.layout.cells.selected.color,
|
|
1384
|
-
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
1385
|
-
rx: 1
|
|
1386
|
-
}, null, 8, Da)
|
|
1387
|
-
])) : g("", !0),
|
|
1388
|
-
e.value.style.layout.crosshairs.show && D.value ? (u(), i("g", Ha, [
|
|
1389
|
-
p("line", {
|
|
1390
|
-
x1: a.value.left + a.value.sumCellXHeight,
|
|
1391
|
-
x2: D.value.x + a.value.sumCellXHeight,
|
|
1392
|
-
y1: D.value.y + (a.value.cellSize.height - d.value) / 2,
|
|
1393
|
-
y2: D.value.y + (a.value.cellSize.height - d.value) / 2,
|
|
1394
|
-
stroke: e.value.style.layout.crosshairs.stroke,
|
|
1395
|
-
"stroke-width": e.value.style.layout.crosshairs.strokeWidth,
|
|
1396
|
-
"stroke-dasharray": e.value.style.layout.crosshairs.strokeDasharray,
|
|
1397
|
-
"stroke-linecap": "round"
|
|
1398
|
-
}, null, 8, Ea),
|
|
1399
|
-
p("line", {
|
|
1400
|
-
x1: D.value.x + a.value.sumCellXHeight + (a.value.cellSize.width - d.value) / 2,
|
|
1401
|
-
x2: D.value.x + a.value.sumCellXHeight + (a.value.cellSize.width - d.value) / 2,
|
|
1402
|
-
y1: D.value.y,
|
|
1403
|
-
y2: a.value.top,
|
|
1404
|
-
stroke: e.value.style.layout.crosshairs.stroke,
|
|
1405
|
-
"stroke-width": e.value.style.layout.crosshairs.strokeWidth,
|
|
1406
|
-
"stroke-dasharray": e.value.style.layout.crosshairs.strokeDasharray,
|
|
1407
|
-
"stroke-linecap": "round"
|
|
1408
|
-
}, null, 8, Va)
|
|
1409
|
-
])) : g("", !0),
|
|
1410
|
-
b(t.$slots, "svg", {
|
|
1411
|
-
svg: {
|
|
1412
|
-
...E.value,
|
|
1413
|
-
isPrintingImg: n(tt) | n(lt) | Fe.value,
|
|
1414
|
-
isPrintingSvg: Re.value
|
|
1415
|
-
}
|
|
1416
|
-
}, void 0, !0)
|
|
1417
|
-
], 46, Aa)),
|
|
1418
|
-
e.value.style.legend.show ? (u(), i("div", {
|
|
1419
|
-
key: 0,
|
|
1420
|
-
ref_key: "legendRight",
|
|
1421
|
-
ref: ul,
|
|
1422
|
-
class: "vue-ui-heatmap-legend-right",
|
|
1423
|
-
style: L({
|
|
1424
|
-
"--legend-width": e.value.style.legend.width + "px"
|
|
1425
|
-
})
|
|
1426
|
-
}, [
|
|
1427
|
-
n(Ee) ? g("", !0) : (u(), i("div", {
|
|
1428
|
-
key: 0,
|
|
1429
|
-
class: "vue-ui-heatmap-legend-label-max",
|
|
1430
|
-
style: L({
|
|
1431
|
-
fontSize: e.value.style.legend.fontSize + "px",
|
|
1432
|
-
color: e.value.style.legend.color
|
|
1433
|
-
})
|
|
1434
|
-
}, I(n(le)(
|
|
1435
|
-
e.value.style.layout.cells.value.formatter,
|
|
1436
|
-
n(ae)(Z.value),
|
|
1437
|
-
n(q)({
|
|
1438
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
1439
|
-
v: n(ae)(Z.value),
|
|
1440
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
1441
|
-
r: e.value.style.legend.roundingValue
|
|
1442
|
-
})
|
|
1443
|
-
)), 5)),
|
|
1444
|
-
p("div", Xa, [
|
|
1445
|
-
p("div", {
|
|
1446
|
-
class: "vue-ui-heatmap-gauge",
|
|
1447
|
-
style: L({
|
|
1448
|
-
background: `linear-gradient(to bottom, ${e.value.style.layout.cells.colors.hot}, ${e.value.style.layout.cells.colors.cold})`
|
|
1449
|
-
})
|
|
1450
|
-
}, [
|
|
1451
|
-
Qt(p("div", {
|
|
1452
|
-
class: "vue-ui-heatmap-gauge-indicator",
|
|
1453
|
-
"data-value": n(le)(
|
|
1454
|
-
e.value.style.layout.cells.value.formatter,
|
|
1455
|
-
n(ae)(V.value),
|
|
1456
|
-
n(q)({
|
|
1457
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
1458
|
-
v: n(ae)(V.value),
|
|
1459
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
1460
|
-
r: e.value.style.legend.roundingValue
|
|
1461
|
-
})
|
|
1462
|
-
),
|
|
1463
|
-
style: L({
|
|
1464
|
-
position: "absolute",
|
|
1465
|
-
width: "100%",
|
|
1466
|
-
height: "2px",
|
|
1467
|
-
background: [void 0, null].includes(
|
|
1468
|
-
V.value
|
|
1469
|
-
) ? "transparent" : n(Ge)(
|
|
1470
|
-
Te.value.datapoint.color
|
|
1471
|
-
),
|
|
1472
|
-
top: `${[void 0, null].includes(V.value) ? 0 : (1 - V.value / Z.value) * 100}%`,
|
|
1473
|
-
transition: "all 0.2s ease-in-out",
|
|
1474
|
-
"--background-color": e.value.style.backgroundColor,
|
|
1475
|
-
"--gauge-arrow-color": n(Ge)(
|
|
1476
|
-
e.value.style.backgroundColor
|
|
1477
|
-
),
|
|
1478
|
-
"--gauge-arrow-text-color": n(Ge)(
|
|
1479
|
-
e.value.style.backgroundColor
|
|
1480
|
-
),
|
|
1481
|
-
"--gauge-arrow-value": V.value,
|
|
1482
|
-
"--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
|
|
1483
|
-
})
|
|
1484
|
-
}, [
|
|
1485
|
-
p("div", Ua, I(n(le)(
|
|
1486
|
-
e.value.style.layout.cells.value.formatter,
|
|
1487
|
-
n(ae)(V.value),
|
|
1488
|
-
n(q)({
|
|
1489
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
1490
|
-
v: n(ae)(V.value),
|
|
1491
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
1492
|
-
r: e.value.style.legend.roundingValue
|
|
1493
|
-
})
|
|
1494
|
-
)), 1)
|
|
1495
|
-
], 12, Ba), [
|
|
1496
|
-
[Yl, ![void 0, null].includes(V.value)]
|
|
1497
|
-
])
|
|
1498
|
-
], 4)
|
|
1499
|
-
]),
|
|
1500
|
-
n(Ee) ? g("", !0) : (u(), i("div", {
|
|
1501
|
-
key: 1,
|
|
1502
|
-
class: "vue-ui-heatmap-legend-label-min",
|
|
1503
|
-
style: L({
|
|
1504
|
-
fontSize: e.value.style.legend.fontSize + "px",
|
|
1505
|
-
color: e.value.style.legend.color
|
|
1506
|
-
})
|
|
1507
|
-
}, I(n(le)(
|
|
1508
|
-
e.value.style.layout.cells.value.formatter,
|
|
1509
|
-
n(ae)(Se.value),
|
|
1510
|
-
n(q)({
|
|
1511
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
1512
|
-
v: n(ae)(Se.value),
|
|
1513
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
1514
|
-
r: e.value.style.legend.roundingValue
|
|
1515
|
-
})
|
|
1516
|
-
)), 5))
|
|
1517
|
-
], 4)) : g("", !0),
|
|
1518
|
-
t.$slots.hint ? (u(), i("div", Ga, [
|
|
1519
|
-
b(t.$slots, "hint", N(F({
|
|
1520
|
-
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1521
|
-
isVisible: De.value
|
|
1522
|
-
})), void 0, !0)
|
|
1523
|
-
])) : g("", !0)
|
|
1524
|
-
], 2),
|
|
1525
|
-
t.$slots.watermark ? (u(), i("div", Wa, [
|
|
1526
|
-
b(t.$slots, "watermark", N(F({
|
|
1527
|
-
isPrinting: n(tt) || n(lt) || Fe.value || Re.value
|
|
1528
|
-
})), void 0, !0)
|
|
1529
|
-
])) : g("", !0),
|
|
1530
|
-
t.$slots.source ? (u(), i("div", {
|
|
1531
|
-
key: 6,
|
|
1532
|
-
ref_key: "source",
|
|
1533
|
-
ref: Ct,
|
|
1534
|
-
dir: "auto"
|
|
1535
|
-
}, [
|
|
1536
|
-
b(t.$slots, "source", {}, void 0, !0)
|
|
1537
|
-
], 512)) : g("", !0),
|
|
1538
|
-
Ue(n(J), {
|
|
1539
|
-
teleportTo: e.value.style.tooltip.teleportTo,
|
|
1540
|
-
show: H.value.showTooltip && ne.value,
|
|
1541
|
-
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
1542
|
-
color: e.value.style.tooltip.color,
|
|
1543
|
-
borderRadius: e.value.style.tooltip.borderRadius,
|
|
1544
|
-
borderColor: e.value.style.tooltip.borderColor,
|
|
1545
|
-
borderWidth: e.value.style.tooltip.borderWidth,
|
|
1546
|
-
fontSize: e.value.style.tooltip.fontSize,
|
|
1547
|
-
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
1548
|
-
position: e.value.style.tooltip.position,
|
|
1549
|
-
offsetY: e.value.style.tooltip.offsetY,
|
|
1550
|
-
parent: M.value,
|
|
1551
|
-
content: Ke.value,
|
|
1552
|
-
isFullscreen: de.value,
|
|
1553
|
-
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
1554
|
-
smooth: e.value.style.tooltip.smooth,
|
|
1555
|
-
backdropFilter: e.value.style.tooltip.backdropFilter,
|
|
1556
|
-
smoothForce: e.value.style.tooltip.smoothForce,
|
|
1557
|
-
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold,
|
|
1558
|
-
isA11yMode: Je.value === "keyboard",
|
|
1559
|
-
a11yPosition: At.value
|
|
1560
|
-
}, {
|
|
1561
|
-
"tooltip-before": k(() => [
|
|
1562
|
-
b(t.$slots, "tooltip-before", N(F({ ...Te.value })), void 0, !0)
|
|
1563
|
-
]),
|
|
1564
|
-
tooltip: k(() => [
|
|
1565
|
-
b(t.$slots, "tooltip", N(F({ ...Te.value })), void 0, !0)
|
|
1566
|
-
]),
|
|
1567
|
-
"tooltip-after": k(() => [
|
|
1568
|
-
b(t.$slots, "tooltip-after", N(F({ ...Te.value })), void 0, !0)
|
|
1569
|
-
]),
|
|
1570
|
-
_: 3
|
|
1571
|
-
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
1572
|
-
X.value && e.value.userOptions.buttons.table ? (u(), me(ql(Xe.value.component), jl({ key: 7 }, Xe.value.props, {
|
|
1573
|
-
ref_key: "tableUnit",
|
|
1574
|
-
ref: ke,
|
|
1575
|
-
onClose: nt
|
|
1576
|
-
}), Jt({
|
|
1577
|
-
content: k(() => [
|
|
1578
|
-
p("div", {
|
|
1579
|
-
ref_key: "tableContainer",
|
|
1580
|
-
ref: bt,
|
|
1581
|
-
class: "vue-ui-heatmap-table atom-data-table",
|
|
1582
|
-
style: L(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
|
|
1583
|
-
}, [
|
|
1584
|
-
p("div", {
|
|
1585
|
-
style: L(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
|
|
1586
|
-
class: Me({ "vue-ui-responsive": n(Tl) })
|
|
1587
|
-
}, [
|
|
1588
|
-
e.value.table.useDialog ? g("", !0) : (u(), i("div", {
|
|
1589
|
-
key: 0,
|
|
1590
|
-
role: "button",
|
|
1591
|
-
tabindex: "0",
|
|
1592
|
-
style: L(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
1593
|
-
onClick: nt,
|
|
1594
|
-
onKeypress: Jl(nt, ["enter"])
|
|
1595
|
-
}, [
|
|
1596
|
-
Ue(n(se), {
|
|
1597
|
-
name: "close",
|
|
1598
|
-
stroke: e.value.table.th.color,
|
|
1599
|
-
"stroke-width": 2
|
|
1600
|
-
}, null, 8, ["stroke"])
|
|
1601
|
-
], 36)),
|
|
1602
|
-
p("table", Ka, [
|
|
1603
|
-
e.value.table.useDialog ? g("", !0) : (u(), i("caption", {
|
|
1604
|
-
key: 0,
|
|
1605
|
-
style: L(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
1606
|
-
}, [
|
|
1607
|
-
dt(I(e.value.style.title.text) + " ", 1),
|
|
1608
|
-
e.value.style.title.subtitle.text ? (u(), i("span", Ya, I(e.value.style.title.subtitle.text), 1)) : g("", !0)
|
|
1609
|
-
], 4)),
|
|
1610
|
-
p("thead", null, [
|
|
1611
|
-
p("tr", {
|
|
1612
|
-
role: "row",
|
|
1613
|
-
style: L(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
1614
|
-
}, [
|
|
1615
|
-
p("th", {
|
|
1616
|
-
style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1617
|
-
}, null, 4),
|
|
1618
|
-
(u(!0), i(O, null, U(h.dataset, (l, s) => (u(), i("th", {
|
|
1619
|
-
align: "right",
|
|
1620
|
-
style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1621
|
-
}, I(l.name), 5))), 256))
|
|
1622
|
-
], 4)
|
|
1623
|
-
]),
|
|
1624
|
-
p("tbody", null, [
|
|
1625
|
-
(u(!0), i(O, null, U(x.value.xLabels, (l, s) => (u(), i("tr", {
|
|
1626
|
-
role: "row",
|
|
1627
|
-
class: Me({
|
|
1628
|
-
"vue-ui-data-table__tbody__row": !0,
|
|
1629
|
-
"vue-ui-data-table__tbody__row-even": s % 2 === 0,
|
|
1630
|
-
"vue-ui-data-table__tbody__row-odd": s % 2 !== 0
|
|
1631
|
-
}),
|
|
1632
|
-
style: L(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
1633
|
-
}, [
|
|
1634
|
-
p("td", {
|
|
1635
|
-
"data-cell": e.value.table.colNames.xAxis,
|
|
1636
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1637
|
-
style: L(`outline:${e.value.table.td.outline}`)
|
|
1638
|
-
}, [
|
|
1639
|
-
p("div", ja, I(l), 1)
|
|
1640
|
-
], 12, qa),
|
|
1641
|
-
(u(!0), i(O, null, U(h.dataset, (r, c) => (u(), i("td", {
|
|
1642
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1643
|
-
"data-cell": h.dataset[c].name,
|
|
1644
|
-
style: L(`outline:${e.value.table.td.outline}`)
|
|
1645
|
-
}, [
|
|
1646
|
-
p("div", Qa, I(isNaN(r.values[s]) ? "-" : n(q)({
|
|
1647
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
1648
|
-
v: r.values[s],
|
|
1649
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
1650
|
-
r: e.value.table.td.roundingValue
|
|
1651
|
-
})), 1)
|
|
1652
|
-
], 12, Ja))), 256))
|
|
1653
|
-
], 6))), 256))
|
|
1654
|
-
])
|
|
1655
|
-
])
|
|
1656
|
-
], 6)
|
|
1657
|
-
], 4)
|
|
1658
|
-
]),
|
|
1659
|
-
_: 2
|
|
1660
|
-
}, [
|
|
1661
|
-
e.value.table.useDialog ? {
|
|
1662
|
-
name: "title",
|
|
1663
|
-
fn: k(() => [
|
|
1664
|
-
dt(I(Xe.value.title), 1)
|
|
1665
|
-
]),
|
|
1666
|
-
key: "0"
|
|
1667
|
-
} : void 0,
|
|
1668
|
-
e.value.table.useDialog ? {
|
|
1669
|
-
name: "actions",
|
|
1670
|
-
fn: k(() => [
|
|
1671
|
-
p("button", {
|
|
1672
|
-
tabindex: "0",
|
|
1673
|
-
class: "vue-ui-user-options-button",
|
|
1674
|
-
onClick: o[0] || (o[0] = (l) => st(e.value.userOptions.callbacks.csv)),
|
|
1675
|
-
style: L({ cursor: He.value ? "pointer" : "default" })
|
|
1676
|
-
}, [
|
|
1677
|
-
Ue(n(se), {
|
|
1678
|
-
name: "fileCsv",
|
|
1679
|
-
stroke: Xe.value.props.color
|
|
1680
|
-
}, null, 8, ["stroke"])
|
|
1681
|
-
], 4)
|
|
1682
|
-
]),
|
|
1683
|
-
key: "1"
|
|
1684
|
-
} : void 0
|
|
1685
|
-
]), 1040)) : g("", !0),
|
|
1686
|
-
b(t.$slots, "skeleton", {}, () => [
|
|
1687
|
-
n(Ee) ? (u(), me(ra, { key: 0 })) : g("", !0)
|
|
1688
|
-
], !0)
|
|
1689
|
-
], 46, ka));
|
|
1690
|
-
}
|
|
1691
|
-
}, ko = /* @__PURE__ */ xa(Za, [["__scopeId", "data-v-314a9c37"]]);
|
|
1692
|
-
export {
|
|
1693
|
-
ko as default
|
|
1694
|
-
};
|