vue-data-ui 3.19.9 → 3.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{A11yDataTable-q2-8fSlJ.js → A11yDataTable-BCbtxMU6.js} +1 -1
- package/dist/{Arrow-Cj6W6Xbi.js → Arrow-D6j6ocXm.js} +1 -1
- package/dist/{BaseDraggableDialog-DUUu2E2Q.js → BaseDraggableDialog-4hDW-Rj2.js} +4 -4
- package/dist/{BaseIcon-DM1x8hQF.js → BaseIcon-DfLoHNUj.js} +3 -3
- package/dist/{BaseLegendToggle-CJTwLGXL.js → BaseLegendToggle-C_Db-y7s.js} +2 -2
- package/dist/{BaseScanner-C7dmAref.js → BaseScanner-Dr2a1Msy.js} +1 -1
- package/dist/{BaseZoomControls-BkajQ8q9.js → BaseZoomControls-CG7hI_1P.js} +3 -3
- package/dist/{ColorPicker-DTQeqKUV.js → ColorPicker-Bjwxnvfh.js} +4 -4
- package/dist/{DataTable-DmE8Oo4i.js → DataTable-B--IN22e.js} +3 -3
- package/dist/{Legend-Gg5Q4Clb.js → Legend-Cz2uQ5gs.js} +4 -4
- package/dist/{NonSvgPenAndPaper-tvWXeCsd.js → NonSvgPenAndPaper-gLNJ1Lmr.js} +28 -28
- package/dist/{PackageVersion-Dl9W5zJD.js → PackageVersion-xcyrdRmY.js} +2 -2
- package/dist/{PenAndPaper-DNgm6y3l.js → PenAndPaper-DqrClVfb.js} +11 -11
- package/dist/{Shape-DEGOZ6GG.js → Shape-BPCJfphn.js} +1 -1
- package/dist/{Slicer-CPWGgGSp.js → Slicer-SHBj0VaV.js} +19 -19
- package/dist/{SlicerPreview-BU3ZeHjR.js → SlicerPreview-DdihbUSJ.js} +474 -361
- package/dist/{SparkTooltip-c2DL7gqD.js → SparkTooltip-CfE6yCad.js} +7 -7
- package/dist/{Title-__gWq2g6.js → Title-NWp4qB4K.js} +2 -2
- package/dist/{Tooltip-CuWEYGr3.js → Tooltip-BENq327o.js} +1 -1
- package/dist/{UserOptions-D7zR0tnR.js → UserOptions-C1NgoGu6.js} +5 -5
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-pattern-seed.js +1 -1
- package/dist/components/vue-ui-pattern.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-9WSt6hXe.js → dom-to-png-BYtB4BF3.js} +1 -1
- package/dist/exposedLib-CI8ji8G-.js +19 -0
- package/dist/{geoProjections-CQIkC70z.js → geoProjections-Czak6Jn1.js} +3 -4
- package/dist/{img-BjOr008R.js → img-1cKsci8e.js} +2 -2
- package/dist/{labelUtils-Cr97N8E1.js → labelUtils-CUctkYoA.js} +1 -1
- package/dist/{lib-BkiwukKO.js → lib-DUeYQsS0.js} +4 -1
- package/dist/{pdf-DSXSFUnK.js → pdf-D0eZ99cP.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1557 -193
- package/dist/types/vue-ui-3d-bar.d.ts +16 -1
- package/dist/types/vue-ui-age-pyramid.d.ts +14 -1
- package/dist/types/vue-ui-annotator.d.ts +28 -6
- package/dist/types/vue-ui-bullet.d.ts +14 -1
- package/dist/types/vue-ui-bump.d.ts +16 -1
- package/dist/types/vue-ui-candlestick.d.ts +16 -3
- package/dist/types/vue-ui-carousel-table.d.ts +14 -1
- package/dist/types/vue-ui-chestnut.d.ts +20 -1
- package/dist/types/vue-ui-chord.d.ts +20 -1
- package/dist/types/vue-ui-circle-pack.d.ts +16 -1
- package/dist/types/vue-ui-dag.d.ts +20 -1
- package/dist/types/vue-ui-dashboard.d.ts +16 -1
- package/dist/types/vue-ui-donut-evolution.d.ts +16 -1
- package/dist/types/vue-ui-donut.d.ts +18 -1
- package/dist/types/vue-ui-dumbbell.d.ts +16 -1
- package/dist/types/vue-ui-flow.d.ts +14 -1
- package/dist/types/vue-ui-funnel.d.ts +14 -1
- package/dist/types/vue-ui-galaxy.d.ts +18 -1
- package/dist/types/vue-ui-gauge.d.ts +14 -1
- package/dist/types/vue-ui-geo.d.ts +14 -1
- package/dist/types/vue-ui-heatmap.d.ts +16 -1
- package/dist/types/vue-ui-history-plot.d.ts +18 -1
- package/dist/types/vue-ui-horizontal-bar.d.ts +18 -1
- package/dist/types/vue-ui-molecule.d.ts +16 -1
- package/dist/types/vue-ui-mood-radar.d.ts +14 -1
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -1
- package/dist/types/vue-ui-onion.d.ts +16 -1
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +18 -1
- package/dist/types/vue-ui-quadrant.d.ts +24 -1
- package/dist/types/vue-ui-quick-chart.d.ts +20 -1
- package/dist/types/vue-ui-radar.d.ts +16 -1
- package/dist/types/vue-ui-rating.d.ts +12 -1
- package/dist/types/vue-ui-relation-circle.d.ts +14 -1
- package/dist/types/vue-ui-ridgeline.d.ts +22 -1
- package/dist/types/vue-ui-rings.d.ts +16 -1
- package/dist/types/vue-ui-scatter.d.ts +16 -1
- package/dist/types/vue-ui-smiley.d.ts +22 -6
- package/dist/types/vue-ui-sparkbar.d.ts +14 -1
- package/dist/types/vue-ui-sparkhistogram.d.ts +14 -1
- package/dist/types/vue-ui-sparkline.d.ts +16 -1
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -1
- package/dist/types/vue-ui-stackbar.d.ts +22 -1
- package/dist/types/vue-ui-stackline.d.ts +22 -1
- package/dist/types/vue-ui-strip-plot.d.ts +16 -1
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -1
- package/dist/types/vue-ui-table.d.ts +17 -4
- package/dist/types/vue-ui-thermometer.d.ts +14 -1
- package/dist/types/vue-ui-timer.d.ts +14 -1
- package/dist/types/vue-ui-tiremarks.d.ts +14 -1
- package/dist/types/vue-ui-treemap.d.ts +18 -1
- package/dist/types/vue-ui-waffle.d.ts +16 -1
- package/dist/types/vue-ui-wheel.d.ts +14 -1
- package/dist/types/vue-ui-word-cloud.d.ts +14 -1
- package/dist/types/vue-ui-world.d.ts +18 -1
- package/dist/types/vue-ui-xy-canvas.d.ts +18 -1
- package/dist/types/vue-ui-xy.d.ts +22 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-dp-3Gg97.js → useAutoSizeLabelsInsideViewbox-BIVntRZp.js} +1 -1
- package/dist/{useConfig-ByaaSKhz.js → useConfig-DAyQk86L.js} +9 -1
- package/dist/{useNestedProp-Ck4hsrpu.js → useNestedProp-CNcoy38D.js} +2 -2
- package/dist/{useObjectBindings-BR1sGimd.js → useObjectBindings-BI7hP-BC.js} +53 -53
- package/dist/{usePrinter-X0yWOynH.js → usePrinter-C1Gqt_Sp.js} +2 -2
- package/dist/utils.js +4 -4
- package/dist/{vue-data-ui-nsosW-n5.js → vue-data-ui-qpQv-4uP.js} +69 -69
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CTvvvgBE.js → vue-ui-3d-bar-C8cputoI.js} +312 -312
- package/dist/{vue-ui-accordion-BX9WL-QF.js → vue-ui-accordion-Dw4MHKVB.js} +6 -6
- package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +1238 -0
- package/dist/{vue-ui-annotator-Be3VpH8Z.js → vue-ui-annotator-DLPUAKlm.js} +66 -66
- package/dist/vue-ui-bullet-DLxmtMJ9.js +710 -0
- package/dist/{vue-ui-bump-LQuPTOlm.js → vue-ui-bump-DVaqtZbd.js} +260 -260
- package/dist/{vue-ui-candlestick-BeO06tlH.js → vue-ui-candlestick-CkApimw1.js} +81 -81
- package/dist/vue-ui-carousel-table-CbfIBWl3.js +455 -0
- package/dist/vue-ui-chestnut-CQT4nCFL.js +2010 -0
- package/dist/vue-ui-chord-8IjSrg6f.js +1391 -0
- package/dist/{vue-ui-circle-pack-DyTYvEg3.js → vue-ui-circle-pack-B1CpTtpw.js} +51 -51
- package/dist/{vue-ui-cursor-C5_wkWul.js → vue-ui-cursor-NaTj5i2-.js} +6 -6
- package/dist/{vue-ui-dag-mH0baWM3.js → vue-ui-dag-DH4ocx0S.js} +46 -46
- package/dist/{vue-ui-dashboard-F7pEuJDh.js → vue-ui-dashboard-Ckff1yim.js} +73 -73
- package/dist/{vue-ui-digits-BYBtwXy_.js → vue-ui-digits-DwLlJqbW.js} +6 -6
- package/dist/vue-ui-donut-DQdIdwRU.js +2410 -0
- package/dist/{vue-ui-donut-evolution-C46h0gLy.js → vue-ui-donut-evolution-MfM5kK6w.js} +417 -417
- package/dist/vue-ui-dumbbell-B2T4vlK-.js +1530 -0
- package/dist/{vue-ui-flow-BYYyk5KL.js → vue-ui-flow-CJh6f72m.js} +107 -107
- package/dist/vue-ui-funnel-C9gfXNCr.js +777 -0
- package/dist/{vue-ui-galaxy-D061gTYS.js → vue-ui-galaxy-pBR_FESJ.js} +302 -302
- package/dist/vue-ui-gauge-CAemxCGl.js +920 -0
- package/dist/{vue-ui-geo-BwOMFUVr.js → vue-ui-geo-BDQqaukJ.js} +35 -35
- package/dist/{vue-ui-gizmo-CQsP8Nd3.js → vue-ui-gizmo-B1ppjqPj.js} +63 -63
- package/dist/{vue-ui-heatmap-DOsulVoP.js → vue-ui-heatmap-BiC9xp8L.js} +259 -259
- package/dist/vue-ui-history-plot-iAPjlOja.js +1554 -0
- package/dist/vue-ui-horizontal-bar-CcgClgLg.js +1681 -0
- package/dist/{vue-ui-kpi-CE-JFZ1o.js → vue-ui-kpi-CJ5oyYLS.js} +6 -6
- package/dist/{vue-ui-mini-loader-DDJUya9e.js → vue-ui-mini-loader-CyqBt2g4.js} +5 -5
- package/dist/vue-ui-molecule-Cg9ZHa6b.js +925 -0
- package/dist/{vue-ui-mood-radar-B29gVcTN.js → vue-ui-mood-radar-N8osOTFR.js} +36 -36
- package/dist/vue-ui-nested-donuts-CwH3wKgX.js +1487 -0
- package/dist/{vue-ui-onion-MN-PjNJq.js → vue-ui-onion-C56gFjO6.js} +294 -294
- package/dist/{vue-ui-parallel-coordinate-plot-C9zU7MP5.js → vue-ui-parallel-coordinate-plot-C-jj819p.js} +123 -128
- package/dist/{vue-ui-pattern-seed-abRweCDE.js → vue-ui-pattern-seed-BB1honLm.js} +1 -1
- package/dist/{vue-ui-quadrant-h-QFG9O4.js → vue-ui-quadrant-DYc9xZY3.js} +443 -443
- package/dist/{vue-ui-quick-chart-PAVz4c9z.js → vue-ui-quick-chart-BG7kK_-q.js} +193 -193
- package/dist/{vue-ui-radar-D2pVd53z.js → vue-ui-radar-CgKog9Xw.js} +77 -77
- package/dist/{vue-ui-rating-D_QR_A3V.js → vue-ui-rating-BG4lf1z8.js} +41 -41
- package/dist/vue-ui-relation-circle-D-rUk-0P.js +924 -0
- package/dist/{vue-ui-ridgeline-DamvqiyJ.js → vue-ui-ridgeline-DPrlVJTW.js} +376 -376
- package/dist/{vue-ui-rings-DkHS5dwd.js → vue-ui-rings-CIvvHHsF.js} +107 -107
- package/dist/vue-ui-scatter-CeBQJbGx.js +2413 -0
- package/dist/{vue-ui-skeleton-zhkS1cmh.js → vue-ui-skeleton-BKoa_G6d.js} +44 -44
- package/dist/{vue-ui-smiley-rFdGxZK6.js → vue-ui-smiley-G89TxRU-.js} +14 -14
- package/dist/{vue-ui-spark-trend-fQ10-UvM.js → vue-ui-spark-trend-DGOrPr9I.js} +121 -121
- package/dist/{vue-ui-sparkbar-D5toou8V.js → vue-ui-sparkbar-BVumo-YD.js} +107 -107
- package/dist/{vue-ui-sparkgauge-DRZcIPYf.js → vue-ui-sparkgauge-BoCwdQcu.js} +56 -56
- package/dist/{vue-ui-sparkhistogram-YizEqFdN.js → vue-ui-sparkhistogram-4qXY1LXW.js} +112 -112
- package/dist/vue-ui-sparkline-C0kzXrwI.js +1507 -0
- package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +662 -0
- package/dist/{vue-ui-stackbar-BFLCEsRk.js → vue-ui-stackbar-Dnq4l5xs.js} +296 -293
- package/dist/vue-ui-stackline-CaNOHQYl.js +2398 -0
- package/dist/{vue-ui-strip-plot-ByaDLFSL.js → vue-ui-strip-plot-D2CcJw_5.js} +79 -79
- package/dist/{vue-ui-table-DuA_CfGn.js → vue-ui-table-NBQrkVnO.js} +84 -84
- package/dist/{vue-ui-table-heatmap-BFKyJTr1.js → vue-ui-table-heatmap-CCGjbSzQ.js} +22 -22
- package/dist/{vue-ui-table-sparkline-Dfei_QrJ.js → vue-ui-table-sparkline-BZDkOEEl.js} +125 -125
- package/dist/vue-ui-thermometer-BXyHOQ7T.js +763 -0
- package/dist/{vue-ui-timer-9LNNDl4q.js → vue-ui-timer-CcLK1wbi.js} +29 -29
- package/dist/{vue-ui-tiremarks-kF0Baqia.js → vue-ui-tiremarks-B6txvBg-.js} +25 -25
- package/dist/{vue-ui-treemap-BexKMBhz.js → vue-ui-treemap-O3SBpD3K.js} +416 -416
- package/dist/{vue-ui-waffle-Dq50j_uw.js → vue-ui-waffle-DN5zG3b0.js} +289 -289
- package/dist/{vue-ui-wheel-BETHlWsO.js → vue-ui-wheel-CxnJGXkX.js} +134 -134
- package/dist/{vue-ui-word-cloud-D1AQtzmT.js → vue-ui-word-cloud-CM5yPCXb.js} +54 -54
- package/dist/{vue-ui-world-CcgbuSp_.js → vue-ui-world-DCPgXKxh.js} +447 -447
- package/dist/{vue-ui-xy-canvas-4ABYnasj.js → vue-ui-xy-canvas-BUPnRZ3C.js} +89 -88
- package/dist/vue-ui-xy-lfMIx0wK.js +4578 -0
- package/dist/{vue_ui_3d_bar-CXKqO5Ej.js → vue_ui_3d_bar-C4R7o-yX.js} +1 -1
- package/dist/{vue_ui_age_pyramid-BON8QI6X.js → vue_ui_age_pyramid-BY6c-oX_.js} +1 -1
- package/dist/{vue_ui_bullet-CE5sFT7u.js → vue_ui_bullet-ClzdLoOv.js} +1 -1
- package/dist/{vue_ui_bump-frnXaXul.js → vue_ui_bump-Vl-zYAtG.js} +1 -1
- package/dist/{vue_ui_candlestick-sY6UtOop.js → vue_ui_candlestick-J8jmJvxP.js} +1 -1
- package/dist/{vue_ui_chestnut-BiUZFv40.js → vue_ui_chestnut-D2oUhad6.js} +1 -1
- package/dist/{vue_ui_chord-DpyR_b9A.js → vue_ui_chord-DPfS1Umc.js} +1 -1
- package/dist/{vue_ui_circle_pack-FjH0ZQeb.js → vue_ui_circle_pack-DZC_rdfn.js} +1 -1
- package/dist/{vue_ui_dag-Ci_MOnvd.js → vue_ui_dag-TsJ_azQq.js} +1 -1
- package/dist/{vue_ui_donut-Cx2_BGcQ.js → vue_ui_donut-BDGqG07h.js} +1 -1
- package/dist/{vue_ui_donut_evolution-CAJefrHs.js → vue_ui_donut_evolution-D1yAAIHr.js} +1 -1
- package/dist/{vue_ui_dumbbell-CClzAZTN.js → vue_ui_dumbbell-Bfe_jFyi.js} +1 -1
- package/dist/{vue_ui_flow-CCHO1Lo9.js → vue_ui_flow-BewZjjKG.js} +1 -1
- package/dist/{vue_ui_funnel-h8q2mRpC.js → vue_ui_funnel-_Og4EEkO.js} +1 -1
- package/dist/{vue_ui_galaxy-70vtkEBw.js → vue_ui_galaxy-Ig0cc1_h.js} +1 -1
- package/dist/{vue_ui_gauge-C17CgfzN.js → vue_ui_gauge-Cf1RZc9q.js} +1 -1
- package/dist/{vue_ui_geo-C0UbQ0Lc.js → vue_ui_geo-B8TODs-G.js} +1 -1
- package/dist/{vue_ui_heatmap-BqPP3J4M.js → vue_ui_heatmap-B2BBBSWG.js} +1 -1
- package/dist/{vue_ui_history_plot-C5nytDHh.js → vue_ui_history_plot-CuN63VEc.js} +1 -1
- package/dist/{vue_ui_horizontal_bar-Bqxorkc_.js → vue_ui_horizontal_bar-C4J4QzXf.js} +1 -1
- package/dist/{vue_ui_molecule-Dka4JBOp.js → vue_ui_molecule-CO9L59SF.js} +1 -1
- package/dist/{vue_ui_mood_radar-Dg4ijm53.js → vue_ui_mood_radar-BA6LAKhk.js} +1 -1
- package/dist/{vue_ui_nested_donuts-BY9cOoHF.js → vue_ui_nested_donuts-B8csIoVO.js} +1 -1
- package/dist/{vue_ui_onion-DTV9cup-.js → vue_ui_onion-1FTFFS46.js} +1 -1
- package/dist/{vue_ui_parallel_coordinate_plot-CNWrDh96.js → vue_ui_parallel_coordinate_plot-CBiOBira.js} +1 -1
- package/dist/{vue_ui_quadrant-3kjYvxpj.js → vue_ui_quadrant-CDSTKTJz.js} +1 -1
- package/dist/{vue_ui_quick_chart--VaYQuM4.js → vue_ui_quick_chart-mZBdml3Z.js} +1 -1
- package/dist/{vue_ui_radar-Dxx9GJmj.js → vue_ui_radar-jafTED5j.js} +1 -1
- package/dist/{vue_ui_relation_circle-Cr0I2SoU.js → vue_ui_relation_circle-D0p4mXmv.js} +1 -1
- package/dist/{vue_ui_ridgeline-CAtYca4b.js → vue_ui_ridgeline-VM8_mx4J.js} +1 -1
- package/dist/{vue_ui_rings-DXC1VeX5.js → vue_ui_rings-BVgD2aMn.js} +1 -1
- package/dist/{vue_ui_scatter-D2S2j0ap.js → vue_ui_scatter-I0POnicu.js} +1 -1
- package/dist/{vue_ui_spark_trend-BHMQ6_1p.js → vue_ui_spark_trend-DxVmpkmC.js} +1 -1
- package/dist/{vue_ui_sparkbar-BR6hbuDE.js → vue_ui_sparkbar-z6qO--Kf.js} +1 -1
- package/dist/{vue_ui_sparkgauge-xfPRHnMv.js → vue_ui_sparkgauge-BX1MS3bA.js} +1 -1
- package/dist/{vue_ui_sparkhistogram-CJRENZ1C.js → vue_ui_sparkhistogram-BRgvKUH6.js} +1 -1
- package/dist/{vue_ui_sparkline-wgk7yO7E.js → vue_ui_sparkline-auZhap6Y.js} +1 -1
- package/dist/{vue_ui_sparkstackbar-C5qZMmAl.js → vue_ui_sparkstackbar-BOjuQnZd.js} +1 -1
- package/dist/{vue_ui_stackbar-BW_C3MXw.js → vue_ui_stackbar-COOrQQdK.js} +1 -1
- package/dist/{vue_ui_stackline-DXxzibUd.js → vue_ui_stackline-DQqKPA9z.js} +1 -1
- package/dist/{vue_ui_strip_plot-8ZelqC5b.js → vue_ui_strip_plot-CtJe8_gq.js} +1 -1
- package/dist/{vue_ui_table_heatmap-BGUjA0WA.js → vue_ui_table_heatmap-w8vx5k6f.js} +1 -1
- package/dist/{vue_ui_table_sparkline-i0Q-N_we.js → vue_ui_table_sparkline-DAbkUrNz.js} +1 -1
- package/dist/{vue_ui_thermometer-CuN7Gpez.js → vue_ui_thermometer-DxgqWKlE.js} +1 -1
- package/dist/{vue_ui_tiremarks-A6UHC0c3.js → vue_ui_tiremarks-CdEPieWV.js} +1 -1
- package/dist/{vue_ui_treemap-BQp06q-g.js → vue_ui_treemap-DoEtkRN6.js} +1 -1
- package/dist/{vue_ui_waffle-C_Ev4l7B.js → vue_ui_waffle-DIARFc7g.js} +1 -1
- package/dist/{vue_ui_wheel-DdkTPXJU.js → vue_ui_wheel-DZ_nR--t.js} +1 -1
- package/dist/{vue_ui_word_cloud-B1PbsYPc.js → vue_ui_word_cloud-C-qIMNLu.js} +1 -1
- package/dist/{vue_ui_xy-BYPqfYyx.js → vue_ui_xy-BLUkWEAm.js} +1 -1
- package/dist/{vue_ui_xy_canvas-CMHGNrLf.js → vue_ui_xy_canvas-Cb6dg3eK.js} +1 -1
- package/package.json +6 -6
- package/dist/exposedLib-CwWU4zv-.js +0 -19
- package/dist/vue-ui-age-pyramid-ckZtLlmH.js +0 -1238
- package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
- package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
- package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
- package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
- package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
- package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
- package/dist/vue-ui-funnel-BfY509t-.js +0 -777
- package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
- package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
- package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
- package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
- package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
- package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
- package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
- package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
- package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
- package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
- package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
- package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
- /package/dist/{RecursiveCircles-DPpLel6f.js → RecursiveCircles-D6aDPmoe.js} +0 -0
- /package/dist/{RecursiveLabels-DBMJf_to.js → RecursiveLabels-D9rfID6q.js} +0 -0
- /package/dist/{RecursiveLinks-D06dBL4a.js → RecursiveLinks-BygcpDiT.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
- /package/dist/{canvas-lib-DTaADQOK.js → canvas-lib-BOP_HS11.js} +0 -0
- /package/dist/{patternUtils-B7BWu5bV.js → patternUtils-CS7hn6at.js} +0 -0
- /package/dist/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
- /package/dist/{useChartAccessibility-Do37qcw2.js → useChartAccessibility-DYqac8yF.js} +0 -0
- /package/dist/{useFitSvgText-C-MEdAfe.js → useFitSvgText-CT3nmlaS.js} +0 -0
- /package/dist/{usePanZoom-B-4M_gmY.js → usePanZoom-CYU3B4T3.js} +0 -0
- /package/dist/{usePrefersMotion-BywLbIko.js → usePrefersMotion-BC-CsqR1.js} +0 -0
- /package/dist/{useResponsive-CrAInupd.js → useResponsive-BfnK0KxU.js} +0 -0
- /package/dist/{useStableElementSize-0I1IpHPl.js → useStableElementSize-C7KADDKj.js} +0 -0
- /package/dist/{useSvgExport-Dtu973wa.js → useSvgExport-SVIsDot8.js} +0 -0
- /package/dist/{useTableResponsive-DrM1xqII.js → useTableResponsive-B24Uwt2E.js} +0 -0
- /package/dist/{useThemeCheck-rFK9Zlb_.js → useThemeCheck-C43Tcqmk.js} +0 -0
- /package/dist/{useTimeLabelCollider-Dm55Emzg.js → useTimeLabelCollider-AEcY4Ioe.js} +0 -0
- /package/dist/{useTimeLabels-C0x7zUXP.js → useTimeLabels-BmBRv27Y.js} +0 -0
- /package/dist/{useUserOptionState-CjPJPTg2.js → useUserOptionState-DK-_1ddE.js} +0 -0
- /package/dist/{vClickOutside-CbX_bC9A.js → vClickOutside-DUrZWttG.js} +0 -0
- /package/dist/{vue-ui-pattern-Bj-IPFr2.js → vue-ui-pattern-DKozfnVn.js} +0 -0
- /package/dist/{vue_ui_vertical_bar-CJSD1FZS.js → vue_ui_vertical_bar-CP-MKz1j.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import { t as oe } from "./useConfig-
|
|
4
|
-
import { t as se } from "./usePrinter-
|
|
5
|
-
import { n as ce, t as le } from "./BaseScanner-
|
|
6
|
-
import { t as ue } from "./useSvgExport-
|
|
7
|
-
import { t as de } from "./useNestedProp-
|
|
8
|
-
import { t as fe } from "./useThemeCheck-
|
|
9
|
-
import { t as pe } from "./img-
|
|
10
|
-
import { n as me } from "./Title-
|
|
11
|
-
import { t as he } from "./_plugin-vue_export-helper-
|
|
12
|
-
import { c as ge } from "./canvas-lib-
|
|
13
|
-
import { t as _e } from "./useResponsive-
|
|
14
|
-
import { t as ve } from "./BaseIcon-
|
|
15
|
-
import { t as ye } from "./BaseLegendToggle-
|
|
16
|
-
import { t as be } from "./A11yDataTable-
|
|
17
|
-
import { t as xe } from "./useUserOptionState-
|
|
18
|
-
import { t as Se } from "./useChartAccessibility-
|
|
19
|
-
import { t as Ce } from "./Legend-
|
|
20
|
-
import { t as we } from "./vue_ui_treemap-
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { Bt as t, Ct as n, Et as r, G as i, H as a, J as o, K as s, Rt as c, S as l, X as u, Z as d, bt as f, i as ee, nt as te, pt as ne, r as re, t as ie, x as ae, y as p } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { t as oe } from "./useConfig-DAyQk86L.js";
|
|
4
|
+
import { t as se } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
+
import { n as ce, t as le } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
+
import { t as ue } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as de } from "./useNestedProp-CNcoy38D.js";
|
|
8
|
+
import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as pe } from "./img-1cKsci8e.js";
|
|
10
|
+
import { n as me } from "./Title-NWp4qB4K.js";
|
|
11
|
+
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { c as ge } from "./canvas-lib-BOP_HS11.js";
|
|
13
|
+
import { t as _e } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
+
import { t as ve } from "./BaseIcon-DfLoHNUj.js";
|
|
15
|
+
import { t as ye } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
16
|
+
import { t as be } from "./A11yDataTable-BCbtxMU6.js";
|
|
17
|
+
import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as Ce } from "./Legend-Cz2uQ5gs.js";
|
|
20
|
+
import { t as we } from "./vue_ui_treemap-DoEtkRN6.js";
|
|
21
21
|
import { Fragment as Te, Teleport as Ee, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as De, createTextVNode as Oe, createVNode as ke, defineAsyncComponent as y, guardReactiveProps as b, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Ne, onMounted as Pe, openBlock as C, ref as w, renderList as Fe, renderSlot as T, resolveDynamicComponent as Ie, shallowRef as E, toDisplayString as Le, toRefs as Re, unref as D, useSlots as ze, watch as Be, withCtx as O, withKeys as Ve, withModifiers as He } from "vue";
|
|
22
22
|
//#region src/treemap.js
|
|
23
23
|
function Ue(e, t) {
|
|
@@ -159,28 +159,28 @@ function k(e, t) {
|
|
|
159
159
|
}
|
|
160
160
|
//#endregion
|
|
161
161
|
//#region src/components/vue-ui-treemap.vue
|
|
162
|
-
var
|
|
162
|
+
var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it = ["id"], at = [
|
|
163
163
|
"tabindex",
|
|
164
164
|
"onClick",
|
|
165
165
|
"onKeydown",
|
|
166
166
|
"data-last-crumb",
|
|
167
167
|
"onMouseenter",
|
|
168
168
|
"onFocus"
|
|
169
|
-
],
|
|
169
|
+
], ot = { class: "vue-ui-treemap-crumb-unit" }, st = { class: "vue-ui-treemap-crumb-unit-label" }, ct = {
|
|
170
170
|
key: 0,
|
|
171
171
|
style: {
|
|
172
172
|
width: "24px",
|
|
173
173
|
display: "flex",
|
|
174
174
|
"align-items": "center"
|
|
175
175
|
}
|
|
176
|
-
},
|
|
176
|
+
}, lt = {
|
|
177
177
|
key: 0,
|
|
178
178
|
class: "vue-ui-treemap-crumb-unit-arrow"
|
|
179
|
-
},
|
|
179
|
+
}, ut = { style: { position: "relative" } }, dt = [
|
|
180
180
|
"xmlns",
|
|
181
181
|
"aria-describedby",
|
|
182
182
|
"viewBox"
|
|
183
|
-
],
|
|
183
|
+
], ft = { key: 0 }, pt = ["id"], mt = ["stop-color"], ht = ["stop-color"], gt = [
|
|
184
184
|
"x",
|
|
185
185
|
"y",
|
|
186
186
|
"height",
|
|
@@ -192,18 +192,18 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
192
192
|
"onClick",
|
|
193
193
|
"onMouseenter",
|
|
194
194
|
"onMouseleave"
|
|
195
|
-
],
|
|
195
|
+
], _t = ["innerHTML"], vt = [
|
|
196
196
|
"x",
|
|
197
197
|
"y",
|
|
198
198
|
"height",
|
|
199
199
|
"width"
|
|
200
|
-
],
|
|
200
|
+
], yt = {
|
|
201
201
|
style: {
|
|
202
202
|
width: "100%",
|
|
203
203
|
height: "100%"
|
|
204
204
|
},
|
|
205
205
|
class: "vue-ui-treemap-cell"
|
|
206
|
-
},
|
|
206
|
+
}, bt = {
|
|
207
207
|
key: 0,
|
|
208
208
|
style: {
|
|
209
209
|
position: "absolute",
|
|
@@ -213,10 +213,10 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
213
213
|
},
|
|
214
214
|
"data-dom-to-png-ignore": "",
|
|
215
215
|
"aria-hidden": "true"
|
|
216
|
-
},
|
|
216
|
+
}, xt = {
|
|
217
217
|
key: 6,
|
|
218
218
|
class: "vue-data-ui-watermark"
|
|
219
|
-
},
|
|
219
|
+
}, St = ["id"], Ct = ["onClick"], wt = ["innerHTML"], Tt = /* @__PURE__ */ he({
|
|
220
220
|
__name: "vue-ui-treemap",
|
|
221
221
|
props: {
|
|
222
222
|
config: {
|
|
@@ -238,14 +238,14 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
238
238
|
"copyAlt"
|
|
239
239
|
],
|
|
240
240
|
setup(e, { expose: he, emit: Ue }) {
|
|
241
|
-
let We = y(() => import("./DataTable-
|
|
241
|
+
let We = y(() => import("./DataTable-B--IN22e.js")), Ge = y(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Ke = y(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), Je = y(() => import("./Tooltip-BENq327o.js")), Ye = y(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Xe = y(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Ze = y(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_treemap: Qe } = oe(), { isThemeValid: $e, warnInvalidTheme: et } = fe(), k = e, tt = Ue, Tt = ze();
|
|
242
242
|
Pe(() => {
|
|
243
|
-
|
|
243
|
+
Tt["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
244
244
|
});
|
|
245
|
-
let
|
|
245
|
+
let Et = m(() => !!k.dataset && k.dataset.length), Dt = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = w(a()), Ot = w(!1), kt = w(""), j = w(!1), At = w(0), M = w([]), N = E(null), jt = E(null), Mt = E(null), Nt = E(null), Pt = E(null), Ft = w(0), It = w(0), Lt = w(0), P = w([]), Rt = w(null), zt = w(!1), Bt = w(null), Vt = w(null), Ht = w(null), Ut = w(/* @__PURE__ */ new Map()), Wt = w(!1), Gt = w(!1), F = w(null), Kt = w({
|
|
246
246
|
x: 0,
|
|
247
247
|
y: 0
|
|
248
|
-
}),
|
|
248
|
+
}), qt = w("pointer"), Jt = w(!1), I = w(tn()), L = m(() => I.value.userOptions.useCursorPointer), Yt = m(() => t({
|
|
249
249
|
defaultConfig: {
|
|
250
250
|
userOptions: { show: !1 },
|
|
251
251
|
style: { chart: {
|
|
@@ -257,11 +257,11 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
257
257
|
legend: { backgroundColor: "transparent" }
|
|
258
258
|
} }
|
|
259
259
|
},
|
|
260
|
-
userConfig:
|
|
261
|
-
})), { loading:
|
|
260
|
+
userConfig: I.value.skeletonConfig ?? {}
|
|
261
|
+
})), { loading: R, FINAL_DATASET: Xt, manualLoading: Zt } = ce({
|
|
262
262
|
...Re(k),
|
|
263
|
-
FINAL_CONFIG:
|
|
264
|
-
prepareConfig:
|
|
263
|
+
FINAL_CONFIG: I,
|
|
264
|
+
prepareConfig: tn,
|
|
265
265
|
skeletonDataset: k.config?.skeletonDataset ?? [{
|
|
266
266
|
name: "_",
|
|
267
267
|
value: 53,
|
|
@@ -297,12 +297,12 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
297
297
|
}
|
|
298
298
|
]
|
|
299
299
|
}],
|
|
300
|
-
skeletonConfig:
|
|
301
|
-
defaultConfig:
|
|
302
|
-
userConfig:
|
|
300
|
+
skeletonConfig: t({
|
|
301
|
+
defaultConfig: I.value,
|
|
302
|
+
userConfig: Yt.value
|
|
303
303
|
})
|
|
304
|
-
}), { userOptionsVisible:
|
|
305
|
-
function
|
|
304
|
+
}), { userOptionsVisible: Qt, setUserOptionsVisibility: $t, keepUserOptionState: en } = xe({ config: I.value }), { svgRef: z } = Se({ config: I.value.style.chart.title });
|
|
305
|
+
function tn() {
|
|
306
306
|
let e = de({
|
|
307
307
|
userConfig: k.config,
|
|
308
308
|
defaultConfig: Qe
|
|
@@ -312,47 +312,47 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
312
312
|
let n = de({
|
|
313
313
|
userConfig: we[t] || k.config,
|
|
314
314
|
defaultConfig: e
|
|
315
|
-
}),
|
|
315
|
+
}), i = de({
|
|
316
316
|
userConfig: k.config,
|
|
317
317
|
defaultConfig: n
|
|
318
318
|
});
|
|
319
319
|
return {
|
|
320
|
-
...
|
|
321
|
-
customPalette:
|
|
320
|
+
...i,
|
|
321
|
+
customPalette: i.customPalette.length ? i.customPalette : c[t] || r
|
|
322
322
|
};
|
|
323
323
|
}
|
|
324
324
|
Be(() => k.config, (e) => {
|
|
325
|
-
|
|
325
|
+
R.value || (I.value = tn()), Qt.value = !I.value.userOptions.showOnChartHover, Ft.value += 1, It.value += 1, Lt.value += 1, B.value.showTable = I.value.table.show, B.value.showTooltip = I.value.style.chart.tooltip.show;
|
|
326
326
|
}, { deep: !0 });
|
|
327
|
-
let { isPrinting:
|
|
328
|
-
elementId: `treemap_${
|
|
329
|
-
fileName:
|
|
330
|
-
options:
|
|
331
|
-
}),
|
|
332
|
-
showTable:
|
|
333
|
-
showTooltip:
|
|
327
|
+
let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } = se({
|
|
328
|
+
elementId: `treemap_${A.value}`,
|
|
329
|
+
fileName: I.value.style.chart.title.text || "vue-ui-treemap",
|
|
330
|
+
options: I.value.userOptions.print
|
|
331
|
+
}), sn = m(() => I.value.userOptions.show && !I.value.style.chart.title.text), cn = m(() => ae(I.value.customPalette)), B = w({
|
|
332
|
+
showTable: I.value.table.show,
|
|
333
|
+
showTooltip: I.value.style.chart.tooltip.show
|
|
334
334
|
});
|
|
335
|
-
Be(
|
|
336
|
-
|
|
337
|
-
showTable:
|
|
338
|
-
showTooltip:
|
|
335
|
+
Be(I, () => {
|
|
336
|
+
B.value = {
|
|
337
|
+
showTable: I.value.table.show,
|
|
338
|
+
showTooltip: I.value.style.chart.tooltip.show
|
|
339
339
|
};
|
|
340
340
|
}, { immediate: !0 });
|
|
341
|
-
let
|
|
342
|
-
height:
|
|
343
|
-
width:
|
|
341
|
+
let V = w({
|
|
342
|
+
height: I.value.style.chart.height,
|
|
343
|
+
width: I.value.style.chart.width
|
|
344
344
|
});
|
|
345
345
|
function ln(e) {
|
|
346
|
-
let t =
|
|
346
|
+
let t = N.value, n = V.value.height;
|
|
347
347
|
return !t || !n ? e : e * (n / t.getBoundingClientRect().height);
|
|
348
348
|
}
|
|
349
349
|
function un() {
|
|
350
|
-
if (!
|
|
351
|
-
let e =
|
|
350
|
+
if (!Rt.value || Z.value.length <= 1) return 0;
|
|
351
|
+
let e = Rt.value, t = getComputedStyle(e);
|
|
352
352
|
return ln(e.offsetHeight + parseFloat(t.marginTop || "0") + parseFloat(t.marginBottom || "0") + parseFloat(t.paddingTop || "0") + parseFloat(t.paddingBottom || "0"));
|
|
353
353
|
}
|
|
354
354
|
let H = m(() => {
|
|
355
|
-
let e =
|
|
355
|
+
let e = I.value.style.chart.padding, t = V.value.width, n = V.value.height, r = un(), i = e.left, a = t - e.right, o = e.top, s = n - e.bottom - r;
|
|
356
356
|
return {
|
|
357
357
|
left: i,
|
|
358
358
|
top: o,
|
|
@@ -364,26 +364,26 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
364
364
|
vbHeight: n - r,
|
|
365
365
|
offsetY: r
|
|
366
366
|
};
|
|
367
|
-
}), U = w(
|
|
368
|
-
Be([U, () =>
|
|
369
|
-
|
|
370
|
-
}, { deep: !0 }), Be(() =>
|
|
371
|
-
|
|
372
|
-
}, { deep: !0 }), Be([() =>
|
|
373
|
-
|
|
367
|
+
}), U = w(s(Xt.value)), W = w(U.value), dn = E(/* @__PURE__ */ new Map());
|
|
368
|
+
Be([U, () => I.value], () => {
|
|
369
|
+
Ht.value = null, Ut.value = /* @__PURE__ */ new Map();
|
|
370
|
+
}, { deep: !0 }), Be(() => M.value, () => {
|
|
371
|
+
Ht.value = null, Ut.value = /* @__PURE__ */ new Map(), hn(), Lt.value += 1, It.value += 1;
|
|
372
|
+
}, { deep: !0 }), Be([() => V.value.width, () => V.value.height], () => {
|
|
373
|
+
Ut.value = /* @__PURE__ */ new Map();
|
|
374
374
|
});
|
|
375
375
|
function fn(e) {
|
|
376
376
|
Array.isArray(e) && e.forEach((e, t) => {
|
|
377
|
-
e.id ||=
|
|
378
|
-
let
|
|
379
|
-
|
|
377
|
+
e.id ||= a(), e.sourceColor === void 0 && (e.sourceColor = p(e.color) || null);
|
|
378
|
+
let n = e.sourceColor || dn.value.get(e.id) || cn.value[t] || r[t] || r[t % r.length];
|
|
379
|
+
n = p(n), dn.value.set(e.id, n), e.color = n, pn(e, n);
|
|
380
380
|
});
|
|
381
381
|
}
|
|
382
382
|
function pn(e, t) {
|
|
383
|
-
Array.isArray(e.children) && e.children.forEach((
|
|
384
|
-
|
|
385
|
-
let
|
|
386
|
-
|
|
383
|
+
Array.isArray(e.children) && e.children.forEach((n) => {
|
|
384
|
+
n.id ||= a(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = p(n.color) || null);
|
|
385
|
+
let r = n.sourceColor || t;
|
|
386
|
+
n.color = r, pn(n, r);
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
function mn(e) {
|
|
@@ -392,25 +392,25 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
392
392
|
return t?.id ?? null;
|
|
393
393
|
}
|
|
394
394
|
function hn() {
|
|
395
|
-
let e = U.value.filter((e) => !
|
|
396
|
-
if (!
|
|
395
|
+
let e = U.value.filter((e) => !M.value.includes(e.id));
|
|
396
|
+
if (!P.value.length) {
|
|
397
397
|
W.value = e;
|
|
398
398
|
return;
|
|
399
399
|
}
|
|
400
|
-
let t =
|
|
400
|
+
let t = P.value[P.value.length - 1], n = X(t);
|
|
401
401
|
if (!n) {
|
|
402
|
-
|
|
402
|
+
P.value = [], W.value = e;
|
|
403
403
|
return;
|
|
404
404
|
}
|
|
405
405
|
let r = mn(n.id);
|
|
406
|
-
if (r &&
|
|
407
|
-
|
|
406
|
+
if (r && M.value.includes(r)) {
|
|
407
|
+
P.value = [], W.value = e;
|
|
408
408
|
return;
|
|
409
409
|
}
|
|
410
410
|
W.value = [n];
|
|
411
411
|
}
|
|
412
|
-
Be(() =>
|
|
413
|
-
U.value =
|
|
412
|
+
Be(() => Xt.value, () => {
|
|
413
|
+
U.value = s(Xt.value), fn(U.value), hn(), Lt.value += 1, It.value += 1;
|
|
414
414
|
}, {
|
|
415
415
|
deep: !0,
|
|
416
416
|
immediate: !0,
|
|
@@ -418,28 +418,28 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
418
418
|
});
|
|
419
419
|
let G = E(null), gn = E(null);
|
|
420
420
|
Pe(() => {
|
|
421
|
-
|
|
421
|
+
zt.value = !0, vn();
|
|
422
422
|
});
|
|
423
|
-
let _n = m(() =>
|
|
423
|
+
let _n = m(() => I.value.debug);
|
|
424
424
|
function vn() {
|
|
425
|
-
if (
|
|
425
|
+
if (n(k.dataset) && u({
|
|
426
426
|
componentName: "VueUiTreemap",
|
|
427
427
|
type: "dataset",
|
|
428
428
|
debug: _n.value
|
|
429
|
-
}), fn(U.value),
|
|
429
|
+
}), fn(U.value), n(k.dataset) || (Zt.value = I.value.loading), I.value.responsive) {
|
|
430
430
|
let e = ge(() => {
|
|
431
431
|
let { width: e, height: t } = _e({
|
|
432
|
-
chart:
|
|
433
|
-
title:
|
|
434
|
-
legend:
|
|
435
|
-
source:
|
|
436
|
-
noTitle:
|
|
432
|
+
chart: N.value,
|
|
433
|
+
title: I.value.style.chart.title.text ? jt.value : null,
|
|
434
|
+
legend: I.value.style.chart.legend.show ? Mt.value : null,
|
|
435
|
+
source: Nt.value,
|
|
436
|
+
noTitle: Pt.value
|
|
437
437
|
});
|
|
438
438
|
requestAnimationFrame(() => {
|
|
439
|
-
|
|
439
|
+
V.value.width = e, V.value.height = t - 12;
|
|
440
440
|
});
|
|
441
441
|
});
|
|
442
|
-
G.value && (gn.value && G.value.unobserve(gn.value), G.value.disconnect()), G.value = new ResizeObserver(e), gn.value =
|
|
442
|
+
G.value && (gn.value && G.value.unobserve(gn.value), G.value.disconnect()), G.value = new ResizeObserver(e), gn.value = N.value.parentNode, G.value.observe(gn.value);
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
445
|
Ne(() => {
|
|
@@ -447,11 +447,11 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
447
447
|
});
|
|
448
448
|
let yn = m(() => W.value.map((e, t) => ({
|
|
449
449
|
...e,
|
|
450
|
-
color: p(e.color) ||
|
|
451
|
-
})).filter((e) => !
|
|
450
|
+
color: p(e.color) || cn.value[t] || r[t] || r[t % r.length]
|
|
451
|
+
})).filter((e) => !M.value.includes(e.id))), bn = m(() => U.value.filter((e) => !M.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0)), xn = m({
|
|
452
452
|
get() {
|
|
453
453
|
let e = [...yn.value];
|
|
454
|
-
return
|
|
454
|
+
return I.value.style.chart.layout.sorted && (e = [...yn.value].sort((e, t) => t.value - e.value)), e.map((e) => ({ ...e }));
|
|
455
455
|
},
|
|
456
456
|
set(e) {
|
|
457
457
|
return e;
|
|
@@ -461,8 +461,8 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
461
461
|
return e.value / t;
|
|
462
462
|
}
|
|
463
463
|
function Cn(e, t, n) {
|
|
464
|
-
let r =
|
|
465
|
-
return
|
|
464
|
+
let r = I.value.style.chart.layout.rects.colorRatio - Sn(t, n);
|
|
465
|
+
return f(e, r < 0 ? 0 : r);
|
|
466
466
|
}
|
|
467
467
|
function wn(e) {
|
|
468
468
|
return Array.isArray(e.children) && e.children.length > 0;
|
|
@@ -475,16 +475,16 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
475
475
|
return (Number(t.value) || 0) - i;
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
|
-
function En(e, t, n,
|
|
479
|
-
return Tn(e).map((e,
|
|
480
|
-
let
|
|
478
|
+
function En(e, t, n, i, a) {
|
|
479
|
+
return Tn(e).map((e, o) => {
|
|
480
|
+
let s = e.sourceColor || p(e.color) || p(t) || cn.value[o] || r[o] || r[o % r.length], c = e.sourceColor ? e.sourceColor : Cn(s, e, i), l = Sn(e, i), u = a ?? e.parentId ?? e.id, d = Array.isArray(e.children) && e.children.length && e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) || 1;
|
|
481
481
|
return {
|
|
482
482
|
...e,
|
|
483
|
-
color:
|
|
483
|
+
color: c,
|
|
484
484
|
proportion: l,
|
|
485
485
|
parentName: n,
|
|
486
486
|
rootId: u,
|
|
487
|
-
children: Array.isArray(e.children) && e.children.length ? En(e.children,
|
|
487
|
+
children: Array.isArray(e.children) && e.children.length ? En(e.children, s, e.name, d, u) : void 0
|
|
488
488
|
};
|
|
489
489
|
});
|
|
490
490
|
}
|
|
@@ -526,17 +526,17 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
526
526
|
}
|
|
527
527
|
let An = m(() => {
|
|
528
528
|
let e = W.value.length ? W.value : xn.value, t = e.map((e) => Number(e.value) || 0).reduce((e, t) => e + t, 0) || 1;
|
|
529
|
-
return kn(e.map((e,
|
|
530
|
-
let i = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children:
|
|
529
|
+
return kn(e.map((e, n) => {
|
|
530
|
+
let i = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: o, ...s } = e, c = e.sourceColor || p(e.color) || dn.value.get(e.id) || cn.value[n] || r[n] || r[n % r.length], l = e.sourceColor ? e.sourceColor : Cn(c, e, t);
|
|
531
531
|
return {
|
|
532
|
-
...
|
|
533
|
-
id: e.id ||
|
|
532
|
+
...s,
|
|
533
|
+
id: e.id || a(),
|
|
534
534
|
parentId: e.parentId ?? null,
|
|
535
535
|
name: e.name,
|
|
536
536
|
value: e.value,
|
|
537
537
|
color: l,
|
|
538
538
|
proportion: (Number(e.value) || 0) / t,
|
|
539
|
-
children: Array.isArray(e.children) && e.children.length ? En(e.children,
|
|
539
|
+
children: Array.isArray(e.children) && e.children.length ? En(e.children, c, e.name, i || 1) : void 0
|
|
540
540
|
};
|
|
541
541
|
}), {
|
|
542
542
|
x0: H.value.left,
|
|
@@ -552,13 +552,13 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
552
552
|
return t - e <= 0 ? 1e-4 : t - e;
|
|
553
553
|
}
|
|
554
554
|
function jn(e) {
|
|
555
|
-
let t =
|
|
555
|
+
let t = I.value.style.chart.layout.labels, n = t.fontSize, r = t.minFontSize, i = t.fontSize * 2, a = .6, o = e.proportion;
|
|
556
556
|
typeof o == "number" && isFinite(o) || (o = Math.max(1e-6, J(e) * q(e)) / Math.max(1e-6, H.value.width * H.value.height));
|
|
557
|
-
let s = Math.min(1, Math.max(0, o)) ** .5, c =
|
|
558
|
-
return
|
|
557
|
+
let s = a + (1 - a) * Math.min(1, Math.max(0, o)) ** .5, c = .9 ** Math.max(0, Number(e.depth) || 0), l = n * s * c, u = Math.max(1e-4, Math.min(J(e), q(e)));
|
|
558
|
+
return l = Math.min(l, u * .9), l = Math.min(l, i), l = Math.max(r, l), l;
|
|
559
559
|
}
|
|
560
560
|
function Mn(e) {
|
|
561
|
-
|
|
561
|
+
j.value = e, At.value += 1;
|
|
562
562
|
}
|
|
563
563
|
let Y = m(() => ({
|
|
564
564
|
startX: 0,
|
|
@@ -585,18 +585,18 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
585
585
|
}
|
|
586
586
|
return t;
|
|
587
587
|
}
|
|
588
|
-
let Pn = m(() =>
|
|
588
|
+
let Pn = m(() => P.value.length > 0);
|
|
589
589
|
function Fn() {
|
|
590
|
-
W.value = U.value.slice(),
|
|
590
|
+
W.value = U.value.slice(), P.value = [], tt("selectDatapoint", void 0);
|
|
591
591
|
}
|
|
592
592
|
function In() {
|
|
593
|
-
return
|
|
593
|
+
return P.value[P.value.length - 1] ?? null;
|
|
594
594
|
}
|
|
595
595
|
function Ln(e, t, n) {
|
|
596
|
-
|
|
596
|
+
P.value = [...Nn(e.id), e.id], W.value = [e], I.value.events.datapointClick && I.value.events.datapointClick({
|
|
597
597
|
datapoint: t ?? e,
|
|
598
598
|
seriesIndex: n
|
|
599
|
-
}),
|
|
599
|
+
}), tt("selectDatapoint", t ?? e);
|
|
600
600
|
}
|
|
601
601
|
function Rn(e, t) {
|
|
602
602
|
let n = In();
|
|
@@ -606,7 +606,7 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
606
606
|
}
|
|
607
607
|
let r = X(n);
|
|
608
608
|
if (!r?.parentId) {
|
|
609
|
-
|
|
609
|
+
I.value.events.datapointClick && I.value.events.datapointClick({
|
|
610
610
|
datapoint: e,
|
|
611
611
|
seriesIndex: t
|
|
612
612
|
}), Fn();
|
|
@@ -617,10 +617,10 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
617
617
|
Fn();
|
|
618
618
|
return;
|
|
619
619
|
}
|
|
620
|
-
|
|
620
|
+
P.value = [...Nn(i.id), i.id], W.value = [i], I.value.events.datapointClick && I.value.events.datapointClick({
|
|
621
621
|
datapoint: e,
|
|
622
622
|
seriesIndex: t
|
|
623
|
-
}),
|
|
623
|
+
}), tt("selectDatapoint", e);
|
|
624
624
|
}
|
|
625
625
|
function zn(e, t) {
|
|
626
626
|
if (!e) {
|
|
@@ -644,8 +644,8 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
644
644
|
id: null,
|
|
645
645
|
label: "All"
|
|
646
646
|
}];
|
|
647
|
-
if (
|
|
648
|
-
let t = X(
|
|
647
|
+
if (P.value.length > 0) {
|
|
648
|
+
let t = X(P.value[P.value.length - 1]), n = [];
|
|
649
649
|
for (; t;) n.unshift(t), t = t.parentId ? X(t.parentId) : null;
|
|
650
650
|
for (let t of n) e.push({
|
|
651
651
|
id: t.id,
|
|
@@ -656,93 +656,93 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
656
656
|
return e;
|
|
657
657
|
}), Q = E(null), Vn = m(() => U.value.map((e, t) => ({
|
|
658
658
|
...e,
|
|
659
|
-
color: p(e.color) ||
|
|
659
|
+
color: p(e.color) || cn.value[t] || r[t] || r[t % r.length],
|
|
660
660
|
shape: "square"
|
|
661
|
-
})).sort((e, t) => t.value - e.value).map((e,
|
|
662
|
-
let
|
|
661
|
+
})).sort((e, t) => t.value - e.value).map((e, t) => {
|
|
662
|
+
let n = e.value / U.value.map((e) => e.value).reduce((e, t) => e + t, 0);
|
|
663
663
|
return {
|
|
664
664
|
...e,
|
|
665
|
-
proportion:
|
|
666
|
-
isSegregated:
|
|
665
|
+
proportion: n,
|
|
666
|
+
isSegregated: M.value.includes(e.id),
|
|
667
667
|
segregate: () => Gn(e),
|
|
668
|
-
opacity:
|
|
669
|
-
display: `${e.name}${
|
|
670
|
-
p:
|
|
668
|
+
opacity: M.value.includes(e.id) ? .5 : 1,
|
|
669
|
+
display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ? ee(I.value.style.chart.layout.labels.formatter, e.value, i({
|
|
670
|
+
p: I.value.style.chart.layout.labels.prefix,
|
|
671
671
|
v: e.value,
|
|
672
|
-
s:
|
|
673
|
-
r:
|
|
674
|
-
}), { datapoint: e }) : ""}${
|
|
672
|
+
s: I.value.style.chart.layout.labels.suffix,
|
|
673
|
+
r: I.value.style.chart.legend.roundingValue
|
|
674
|
+
}), { datapoint: e }) : ""}${I.value.style.chart.legend.showPercentage ? M.value.includes(e.id) ? `${I.value.style.chart.legend.showValue ? " (" : ""}- %${I.value.style.chart.legend.showValue ? ")" : ""}` : `${I.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / bn.value) ? "-" : (e.value / bn.value * 100).toFixed(I.value.style.chart.legend.roundingPercentage)}%${I.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
|
|
675
675
|
};
|
|
676
676
|
})), Hn = m(() => ({
|
|
677
677
|
cy: "treemap-div-legend",
|
|
678
|
-
backgroundColor:
|
|
679
|
-
color:
|
|
680
|
-
fontSize:
|
|
678
|
+
backgroundColor: I.value.style.chart.legend.backgroundColor,
|
|
679
|
+
color: I.value.style.chart.legend.color,
|
|
680
|
+
fontSize: I.value.style.chart.legend.fontSize,
|
|
681
681
|
paddingBottom: 12,
|
|
682
|
-
fontWeight:
|
|
683
|
-
})), Un = m(() =>
|
|
682
|
+
fontWeight: I.value.style.chart.legend.bold ? "bold" : ""
|
|
683
|
+
})), Un = m(() => M.value.length === Vn.value.length);
|
|
684
684
|
function Wn() {
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
}),
|
|
685
|
+
M.value.length ? M.value = [] : Vn.value.forEach((e) => {
|
|
686
|
+
M.value.push(e.id);
|
|
687
|
+
}), tt("selectLegend", U.value.filter((e) => !M.value.includes(e.id)));
|
|
688
688
|
}
|
|
689
689
|
function Gn(e) {
|
|
690
|
-
Q.value = null,
|
|
690
|
+
Q.value = null, M.value.includes(e.id) ? M.value = M.value.filter((t) => t !== e.id) : M.value.length < k.dataset.length - 1 && M.value.push(e.id), tt("selectLegend", U.value.filter((e) => !M.value.includes(e.id)));
|
|
691
691
|
}
|
|
692
692
|
function Kn(e) {
|
|
693
|
-
return U.value.length ? U.value.find((t) => t.name === e) || (
|
|
693
|
+
return U.value.length ? U.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiTreemap - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiTreemap - There are no series to show."), null);
|
|
694
694
|
}
|
|
695
695
|
function qn(e) {
|
|
696
696
|
let t = Kn(e);
|
|
697
|
-
t !== null &&
|
|
697
|
+
t !== null && M.value.includes(t.id) && Gn({ id: t.id });
|
|
698
698
|
}
|
|
699
699
|
function Jn(e) {
|
|
700
700
|
let t = Kn(e);
|
|
701
|
-
t !== null && (
|
|
701
|
+
t !== null && (M.value.includes(t.id) || Gn({ id: t.id }));
|
|
702
702
|
}
|
|
703
703
|
function Yn({ datapoint: e, seriesIndex: t }) {
|
|
704
|
-
Q.value = null,
|
|
704
|
+
Q.value = null, Ot.value = !1, F.value = null, qt.value = "pointer", I.value.events.datapointLeave && I.value.events.datapointLeave({
|
|
705
705
|
datapoint: e,
|
|
706
706
|
seriesIndex: t
|
|
707
707
|
});
|
|
708
708
|
}
|
|
709
709
|
let Xn = w(null);
|
|
710
|
-
function Zn({ datapoint: e, seriesIndex:
|
|
710
|
+
function Zn({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
|
|
711
711
|
if (Un.value) return;
|
|
712
|
-
|
|
712
|
+
I.value.events.datapointEnter && I.value.events.datapointEnter({
|
|
713
713
|
datapoint: e,
|
|
714
|
-
seriesIndex:
|
|
715
|
-
}),
|
|
714
|
+
seriesIndex: t
|
|
715
|
+
}), F.value = t, qt.value = n, Q.value = e, Xn.value = {
|
|
716
716
|
datapoint: e,
|
|
717
|
-
seriesIndex:
|
|
718
|
-
config:
|
|
717
|
+
seriesIndex: t,
|
|
718
|
+
config: I.value,
|
|
719
719
|
series: yn.value
|
|
720
720
|
};
|
|
721
|
-
let
|
|
722
|
-
if (
|
|
723
|
-
seriesIndex:
|
|
721
|
+
let r = I.value.style.chart.tooltip.customFormat;
|
|
722
|
+
if (ne(r) && te(() => r({
|
|
723
|
+
seriesIndex: t,
|
|
724
724
|
datapoint: e,
|
|
725
725
|
series: yn.value,
|
|
726
|
-
config:
|
|
727
|
-
})))
|
|
728
|
-
seriesIndex:
|
|
726
|
+
config: I.value
|
|
727
|
+
}))) kt.value = r({
|
|
728
|
+
seriesIndex: t,
|
|
729
729
|
datapoint: e,
|
|
730
730
|
series: yn.value,
|
|
731
|
-
config:
|
|
731
|
+
config: I.value
|
|
732
732
|
});
|
|
733
733
|
else {
|
|
734
|
-
let
|
|
735
|
-
|
|
736
|
-
p:
|
|
734
|
+
let n = "";
|
|
735
|
+
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${ee(I.value.style.chart.layout.labels.formatter, e.value, i({
|
|
736
|
+
p: I.value.style.chart.layout.labels.prefix,
|
|
737
737
|
v: e.value,
|
|
738
|
-
s:
|
|
739
|
-
r:
|
|
738
|
+
s: I.value.style.chart.layout.labels.suffix,
|
|
739
|
+
r: I.value.style.chart.tooltip.roundingValue
|
|
740
740
|
}), {
|
|
741
741
|
datapoint: e,
|
|
742
|
-
seriesIndex:
|
|
743
|
-
})}</b>`,
|
|
742
|
+
seriesIndex: t
|
|
743
|
+
})}</b>`, kt.value = `<div>${n}</div>`;
|
|
744
744
|
}
|
|
745
|
-
|
|
745
|
+
Ot.value = !0;
|
|
746
746
|
}
|
|
747
747
|
let $ = m(() => ({
|
|
748
748
|
head: K.value.map((e) => ({
|
|
@@ -757,32 +757,32 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
757
757
|
[e.name],
|
|
758
758
|
[$.value.body[t]],
|
|
759
759
|
[isNaN($.value.body[t] / bn.value) ? "-" : $.value.body[t] / bn.value * 100]
|
|
760
|
-
]), n =
|
|
761
|
-
[
|
|
762
|
-
[
|
|
760
|
+
]), n = l([
|
|
761
|
+
[I.value.style.chart.title.text],
|
|
762
|
+
[I.value.style.chart.title.subtitle.text],
|
|
763
763
|
[
|
|
764
764
|
[""],
|
|
765
765
|
["val"],
|
|
766
766
|
["%"]
|
|
767
767
|
]
|
|
768
768
|
].concat(t));
|
|
769
|
-
e ? e(n) :
|
|
769
|
+
e ? e(n) : o({
|
|
770
770
|
csvContent: n,
|
|
771
|
-
title:
|
|
771
|
+
title: I.value.style.chart.title.text || "vue-ui-treemap"
|
|
772
772
|
});
|
|
773
773
|
});
|
|
774
774
|
}
|
|
775
775
|
let $n = m(() => {
|
|
776
776
|
let e = [
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
],
|
|
781
|
-
let
|
|
782
|
-
p:
|
|
783
|
-
v: $.value.body[
|
|
784
|
-
s:
|
|
785
|
-
r:
|
|
777
|
+
I.value.table.columnNames.series,
|
|
778
|
+
I.value.table.columnNames.value,
|
|
779
|
+
I.value.table.columnNames.percentage
|
|
780
|
+
], t = $.value.head.map((e, t) => {
|
|
781
|
+
let n = ee(I.value.style.chart.layout.labels.formatter, $.value.body[t], i({
|
|
782
|
+
p: I.value.style.chart.layout.labels.prefix,
|
|
783
|
+
v: $.value.body[t],
|
|
784
|
+
s: I.value.style.chart.layout.labels.suffix,
|
|
785
|
+
r: I.value.table.td.roundingValue
|
|
786
786
|
}));
|
|
787
787
|
return [
|
|
788
788
|
{
|
|
@@ -790,41 +790,41 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
790
790
|
name: e.name,
|
|
791
791
|
shape: "square"
|
|
792
792
|
},
|
|
793
|
-
|
|
794
|
-
isNaN($.value.body[
|
|
795
|
-
v: $.value.body[
|
|
793
|
+
n,
|
|
794
|
+
isNaN($.value.body[t] / bn.value) ? "-" : i({
|
|
795
|
+
v: $.value.body[t] / bn.value * 100,
|
|
796
796
|
s: "%",
|
|
797
|
-
r:
|
|
797
|
+
r: I.value.table.td.roundingPercentage
|
|
798
798
|
})
|
|
799
799
|
];
|
|
800
|
-
}),
|
|
800
|
+
}), n = {
|
|
801
801
|
th: {
|
|
802
|
-
backgroundColor:
|
|
803
|
-
color:
|
|
804
|
-
outline:
|
|
802
|
+
backgroundColor: I.value.table.th.backgroundColor,
|
|
803
|
+
color: I.value.table.th.color,
|
|
804
|
+
outline: I.value.table.th.outline
|
|
805
805
|
},
|
|
806
806
|
td: {
|
|
807
|
-
backgroundColor:
|
|
808
|
-
color:
|
|
809
|
-
outline:
|
|
807
|
+
backgroundColor: I.value.table.td.backgroundColor,
|
|
808
|
+
color: I.value.table.td.color,
|
|
809
|
+
outline: I.value.table.td.outline
|
|
810
810
|
},
|
|
811
|
-
breakpoint:
|
|
811
|
+
breakpoint: I.value.table.responsiveBreakpoint
|
|
812
812
|
};
|
|
813
813
|
return {
|
|
814
|
-
colNames: [
|
|
814
|
+
colNames: [I.value.table.columnNames.series, I.value.table.columnNames.value],
|
|
815
815
|
head: e,
|
|
816
|
-
body:
|
|
817
|
-
config:
|
|
816
|
+
body: t,
|
|
817
|
+
config: n
|
|
818
818
|
};
|
|
819
819
|
});
|
|
820
820
|
function er() {
|
|
821
821
|
return K.value;
|
|
822
822
|
}
|
|
823
823
|
function tr() {
|
|
824
|
-
|
|
824
|
+
B.value.showTable = !B.value.showTable;
|
|
825
825
|
}
|
|
826
826
|
function nr() {
|
|
827
|
-
|
|
827
|
+
B.value.showTooltip = !B.value.showTooltip;
|
|
828
828
|
}
|
|
829
829
|
let rr = w(!1);
|
|
830
830
|
function ir() {
|
|
@@ -838,9 +838,9 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
838
838
|
ar.value = null;
|
|
839
839
|
}
|
|
840
840
|
async function cr({ scale: e = 2 } = {}) {
|
|
841
|
-
if (!
|
|
842
|
-
let { width: t, height: n } =
|
|
843
|
-
domElement:
|
|
841
|
+
if (!N.value) return;
|
|
842
|
+
let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
|
|
843
|
+
domElement: N.value,
|
|
844
844
|
base64: !0,
|
|
845
845
|
img: !0,
|
|
846
846
|
scale: e
|
|
@@ -848,65 +848,65 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
848
848
|
return {
|
|
849
849
|
imageUri: i,
|
|
850
850
|
base64: a,
|
|
851
|
-
title:
|
|
851
|
+
title: I.value.style.chart.title.text,
|
|
852
852
|
width: t,
|
|
853
853
|
height: n,
|
|
854
854
|
aspectRatio: r
|
|
855
855
|
};
|
|
856
856
|
}
|
|
857
857
|
let lr = m(() => {
|
|
858
|
-
let e =
|
|
858
|
+
let e = I.value.table.useDialog && !I.value.table.show, t = B.value.showTable;
|
|
859
859
|
return {
|
|
860
860
|
component: e ? Ze : Ke,
|
|
861
|
-
title: `${
|
|
861
|
+
title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
|
|
862
862
|
props: e ? {
|
|
863
|
-
backgroundColor:
|
|
864
|
-
color:
|
|
865
|
-
headerColor:
|
|
866
|
-
headerBg:
|
|
867
|
-
isFullscreen:
|
|
868
|
-
fullscreenParent:
|
|
863
|
+
backgroundColor: I.value.table.th.backgroundColor,
|
|
864
|
+
color: I.value.table.th.color,
|
|
865
|
+
headerColor: I.value.table.th.color,
|
|
866
|
+
headerBg: I.value.table.th.backgroundColor,
|
|
867
|
+
isFullscreen: j.value,
|
|
868
|
+
fullscreenParent: N.value,
|
|
869
869
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
870
|
-
isCursorPointer:
|
|
870
|
+
isCursorPointer: L.value
|
|
871
871
|
} : {
|
|
872
872
|
hideDetails: !0,
|
|
873
873
|
config: {
|
|
874
874
|
open: t,
|
|
875
875
|
maxHeight: 1e4,
|
|
876
876
|
body: {
|
|
877
|
-
backgroundColor:
|
|
878
|
-
color:
|
|
877
|
+
backgroundColor: I.value.style.chart.backgroundColor,
|
|
878
|
+
color: I.value.style.chart.color
|
|
879
879
|
},
|
|
880
880
|
head: {
|
|
881
|
-
backgroundColor:
|
|
882
|
-
color:
|
|
881
|
+
backgroundColor: I.value.style.chart.backgroundColor,
|
|
882
|
+
color: I.value.style.chart.color
|
|
883
883
|
}
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
886
|
};
|
|
887
887
|
});
|
|
888
|
-
Be(() =>
|
|
889
|
-
|
|
888
|
+
Be(() => B.value.showTable, (e) => {
|
|
889
|
+
I.value.table.show || (e && I.value.table.useDialog && Bt.value ? Bt.value.open() : "close" in Bt.value && Bt.value.close());
|
|
890
890
|
});
|
|
891
891
|
function ur() {
|
|
892
|
-
|
|
892
|
+
B.value.showTable = !1, Vt.value && Vt.value.setTableIconState(!1);
|
|
893
893
|
}
|
|
894
894
|
let dr = m(() => Vn.value.map((e) => ({
|
|
895
895
|
...e,
|
|
896
896
|
name: e.display
|
|
897
|
-
}))), fr = m(() =>
|
|
898
|
-
svg:
|
|
899
|
-
title: m(() =>
|
|
897
|
+
}))), fr = m(() => I.value.style.chart.backgroundColor), pr = m(() => I.value.style.chart.legend), { exportSvg: mr, getSvg: hr } = ue({
|
|
898
|
+
svg: z,
|
|
899
|
+
title: m(() => I.value.style.chart.title),
|
|
900
900
|
legend: pr,
|
|
901
901
|
legendItems: dr,
|
|
902
902
|
backgroundColor: fr
|
|
903
903
|
});
|
|
904
904
|
async function gr({ isCb: e }) {
|
|
905
|
-
|
|
905
|
+
Gt.value = !0, await je();
|
|
906
906
|
try {
|
|
907
907
|
if (e) {
|
|
908
908
|
let { blob: e, url: t, text: n, dataUrl: r } = await hr();
|
|
909
|
-
await Promise.resolve(
|
|
909
|
+
await Promise.resolve(I.value.userOptions.callbacks.svg({
|
|
910
910
|
blob: e,
|
|
911
911
|
url: t,
|
|
912
912
|
text: n,
|
|
@@ -914,19 +914,19 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
914
914
|
}));
|
|
915
915
|
} else await Promise.resolve(mr());
|
|
916
916
|
} finally {
|
|
917
|
-
|
|
917
|
+
Gt.value = !1;
|
|
918
918
|
}
|
|
919
919
|
}
|
|
920
920
|
function _r(e) {
|
|
921
921
|
if (e?.stage === "start") {
|
|
922
|
-
|
|
922
|
+
Wt.value = !0;
|
|
923
923
|
return;
|
|
924
924
|
}
|
|
925
925
|
if (e?.stage === "end") {
|
|
926
|
-
|
|
926
|
+
Wt.value = !1;
|
|
927
927
|
return;
|
|
928
928
|
}
|
|
929
|
-
|
|
929
|
+
on();
|
|
930
930
|
}
|
|
931
931
|
function vr(e) {
|
|
932
932
|
let t = jn(e);
|
|
@@ -948,37 +948,37 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
948
948
|
};
|
|
949
949
|
}
|
|
950
950
|
function br(e) {
|
|
951
|
-
return
|
|
951
|
+
return re(e.color ?? I.value.style.chart.backgroundColor);
|
|
952
952
|
}
|
|
953
|
-
function xr(e,
|
|
954
|
-
let { fontSize:
|
|
953
|
+
function xr(e, t) {
|
|
954
|
+
let { fontSize: n, lineHeight: r } = vr(e), a = Dr(e), o = Or(e);
|
|
955
955
|
if (a <= 0 || o <= 0) return [];
|
|
956
|
-
let s = Math.max(Math.floor(o / Math.max(
|
|
957
|
-
p:
|
|
956
|
+
let s = Math.max(Math.floor(o / Math.max(r, 1)), 1), c = ee(I.value.style.chart.layout.labels.formatter, e.value, i({
|
|
957
|
+
p: I.value.style.chart.layout.labels.prefix,
|
|
958
958
|
v: e.value,
|
|
959
|
-
s:
|
|
960
|
-
r:
|
|
959
|
+
s: I.value.style.chart.layout.labels.suffix,
|
|
960
|
+
r: I.value.style.chart.tooltip.roundingValue
|
|
961
961
|
}), {
|
|
962
962
|
datapoint: e,
|
|
963
|
-
seriesIndex:
|
|
964
|
-
}), l = Math.ceil(
|
|
965
|
-
if (
|
|
963
|
+
seriesIndex: t
|
|
964
|
+
}), l = Math.ceil(n * .2), u = Math.ceil(n * 1.4), d = Math.max(a - u - l, 0);
|
|
965
|
+
if (d <= 0) return [];
|
|
966
966
|
if (Array.isArray(e.children) && e.children.length) {
|
|
967
|
-
let t = Er(`${e.name} (${c})`,
|
|
967
|
+
let t = Er(`${e.name} (${c})`, d, n, 500);
|
|
968
968
|
return t ? [t] : [];
|
|
969
969
|
}
|
|
970
|
-
let
|
|
971
|
-
if (te &&
|
|
972
|
-
let e = Er(c,
|
|
973
|
-
e &&
|
|
970
|
+
let f = [], te = Er(`${e.name}`, d, n, 500);
|
|
971
|
+
if (te && f.push(te), s >= 2) {
|
|
972
|
+
let e = Er(c, d, n, 400);
|
|
973
|
+
e && f.push(e);
|
|
974
974
|
}
|
|
975
|
-
return
|
|
975
|
+
return f.slice(0, s);
|
|
976
976
|
}
|
|
977
977
|
function Sr({ rect: e, seriesIndex: t, isTitle: n }) {
|
|
978
|
-
if (!e || !
|
|
978
|
+
if (!e || !I.value.style.chart.layout.labels.showDefaultLabels || !On(e)) return "";
|
|
979
979
|
let { fontSize: r } = vr(e), i = br(e), a = xr(e, t), o = yr(e);
|
|
980
980
|
if (!a.length || o.width <= 0 || o.height <= 0) return "";
|
|
981
|
-
let s = `treemap_clip_${
|
|
981
|
+
let s = `treemap_clip_${A.value}_${e.id}_${e.depth}_${t}`;
|
|
982
982
|
return `
|
|
983
983
|
<g>
|
|
984
984
|
<defs>
|
|
@@ -1000,12 +1000,12 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1000
1000
|
y="${n}"
|
|
1001
1001
|
fill="${i}"
|
|
1002
1002
|
font-size="${r}"
|
|
1003
|
-
font-family="${
|
|
1003
|
+
font-family="${I.value.style.fontFamily}"
|
|
1004
1004
|
font-weight="${t === 0 ? 500 : 400}"
|
|
1005
1005
|
text-anchor="start"
|
|
1006
1006
|
dominant-baseline="text-before-edge"
|
|
1007
1007
|
>
|
|
1008
|
-
${
|
|
1008
|
+
${d(e)}
|
|
1009
1009
|
</text>
|
|
1010
1010
|
`;
|
|
1011
1011
|
}).join("")}
|
|
@@ -1019,7 +1019,7 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1019
1019
|
}
|
|
1020
1020
|
function Tr(e, t, n = 400) {
|
|
1021
1021
|
let r = wr();
|
|
1022
|
-
return r ? (r.font = `${n} ${t}px ${
|
|
1022
|
+
return r ? (r.font = `${n} ${t}px ${I.value.style.fontFamily}`, r.measureText(String(e)).width) : e.length * t * .6;
|
|
1023
1023
|
}
|
|
1024
1024
|
function Er(e, t, n, r = 400) {
|
|
1025
1025
|
let i = String(e ?? "");
|
|
@@ -1040,44 +1040,44 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1040
1040
|
return yr(e).height;
|
|
1041
1041
|
}
|
|
1042
1042
|
function kr(e) {
|
|
1043
|
-
let t =
|
|
1043
|
+
let t = I.value.style.chart.layout.rects.borderRadius, n = J(e), r = q(e);
|
|
1044
1044
|
return Math.min(t, Math.min(n, r) / 6);
|
|
1045
1045
|
}
|
|
1046
1046
|
async function Ar() {
|
|
1047
|
-
if (
|
|
1048
|
-
config:
|
|
1047
|
+
if (tt("copyAlt", {
|
|
1048
|
+
config: I.value,
|
|
1049
1049
|
dataset: K.value
|
|
1050
|
-
}), !
|
|
1050
|
+
}), !I.value.userOptions.callbacks.altCopy) {
|
|
1051
1051
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1052
1052
|
return;
|
|
1053
1053
|
}
|
|
1054
|
-
await Promise.resolve(
|
|
1055
|
-
config:
|
|
1054
|
+
await Promise.resolve(I.value.userOptions.callbacks.altCopy({
|
|
1055
|
+
config: I.value,
|
|
1056
1056
|
dataset: K.value
|
|
1057
1057
|
}));
|
|
1058
1058
|
}
|
|
1059
1059
|
function jr() {
|
|
1060
|
-
|
|
1060
|
+
F.value = null, Jt.value = !0;
|
|
1061
1061
|
}
|
|
1062
1062
|
function Mr() {
|
|
1063
|
-
|
|
1063
|
+
F.value = null, qt.value = "pointer", Ot.value = !1, Q.value = null, Jt.value = !1;
|
|
1064
1064
|
}
|
|
1065
1065
|
function Nr(e) {
|
|
1066
|
-
if (!
|
|
1066
|
+
if (!z.value || rr.value || document.activeElement !== z.value || !K.value.length || Un.value) return;
|
|
1067
1067
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1068
1068
|
if (!t && !n && !r && !i) return;
|
|
1069
1069
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
1070
|
-
|
|
1070
|
+
F.value = null, qt.value = "pointer", Ot.value = !1, Q.value = null;
|
|
1071
1071
|
return;
|
|
1072
1072
|
}
|
|
1073
1073
|
if (r) {
|
|
1074
|
-
if (
|
|
1075
|
-
let e = K.value[
|
|
1074
|
+
if (F.value === null) return;
|
|
1075
|
+
let e = K.value[F.value];
|
|
1076
1076
|
if (!e) return;
|
|
1077
|
-
zn(e,
|
|
1077
|
+
zn(e, F.value);
|
|
1078
1078
|
return;
|
|
1079
1079
|
}
|
|
1080
|
-
let a =
|
|
1080
|
+
let a = F.value, o = Q.value ? K.value.findIndex((e) => e.id === Q.value.id) : null, s = a !== null && a >= 0 && a < K.value.length, c = o !== null && o >= 0 && o < K.value.length;
|
|
1081
1081
|
s ? n ? (a += 1, a >= K.value.length && (a = 0)) : t && (--a, a < 0 && (a = K.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= K.value.length && (a = 0), a < 0 && (a = K.value.length - 1)) : a = n ? 0 : K.value.length - 1;
|
|
1082
1082
|
let l = K.value[a];
|
|
1083
1083
|
l && (Pr(a), Zn({
|
|
@@ -1087,11 +1087,11 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1087
1087
|
}));
|
|
1088
1088
|
}
|
|
1089
1089
|
function Pr(e) {
|
|
1090
|
-
if (!Number.isFinite(e) || !
|
|
1090
|
+
if (!Number.isFinite(e) || !z.value) return;
|
|
1091
1091
|
let t = K.value[e];
|
|
1092
1092
|
if (!t) return;
|
|
1093
|
-
let n = t.x0 + J(t) / 2, r = t.y0 + q(t) / 2, i =
|
|
1094
|
-
|
|
1093
|
+
let n = t.x0 + J(t) / 2, r = t.y0 + q(t) / 2, i = z.value.getBoundingClientRect();
|
|
1094
|
+
Kt.value = {
|
|
1095
1095
|
x: i.left + (n - Y.value.startX) / Y.value.width * i.width,
|
|
1096
1096
|
y: i.top + (r - Y.value.startY) / Y.value.height * i.height
|
|
1097
1097
|
};
|
|
@@ -1104,9 +1104,9 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1104
1104
|
getData: er,
|
|
1105
1105
|
getImage: cr,
|
|
1106
1106
|
generateCsv: Qn,
|
|
1107
|
-
generateImage:
|
|
1107
|
+
generateImage: on,
|
|
1108
1108
|
generateSvg: gr,
|
|
1109
|
-
generatePdf:
|
|
1109
|
+
generatePdf: an,
|
|
1110
1110
|
hideSeries: Jn,
|
|
1111
1111
|
showSeries: qn,
|
|
1112
1112
|
toggleTable: tr,
|
|
@@ -1116,24 +1116,24 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1116
1116
|
copyAlt: Ar
|
|
1117
1117
|
}), (e, t) => (C(), _("div", {
|
|
1118
1118
|
ref_key: "treemapChart",
|
|
1119
|
-
ref:
|
|
1120
|
-
class: Me(`vue-data-ui-component vue-ui-treemap ${
|
|
1121
|
-
style: S(`font-family:${
|
|
1122
|
-
id: `treemap_${
|
|
1123
|
-
onMouseenter: t[2] ||= () => D(
|
|
1124
|
-
onMouseleave: t[3] ||= () => D(
|
|
1119
|
+
ref: N,
|
|
1120
|
+
class: Me(`vue-data-ui-component vue-ui-treemap ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1121
|
+
style: S(`font-family:${I.value.style.fontFamily};width:100%; ${I.value.responsive ? "height: 100%;" : ""} text-align:center;background:${I.value.style.chart.backgroundColor}`),
|
|
1122
|
+
id: `treemap_${A.value}`,
|
|
1123
|
+
onMouseenter: t[2] ||= () => D($t)(!0),
|
|
1124
|
+
onMouseleave: t[3] ||= () => D($t)(!1)
|
|
1125
1125
|
}, [
|
|
1126
1126
|
v("div", {
|
|
1127
|
-
id: `chart-instructions-${
|
|
1127
|
+
id: `chart-instructions-${A.value}`,
|
|
1128
1128
|
class: "sr-only"
|
|
1129
|
-
}, [v("p", null, Le(
|
|
1129
|
+
}, [v("p", null, Le(I.value.a11y.translations.keyboardNavigation), 1)], 8, rt),
|
|
1130
1130
|
Fr.value?.rows?.length ? (C(), h(be, {
|
|
1131
1131
|
key: 0,
|
|
1132
|
-
uid:
|
|
1132
|
+
uid: A.value,
|
|
1133
1133
|
head: Fr.value.headers,
|
|
1134
1134
|
body: Fr.value.rows,
|
|
1135
|
-
notice:
|
|
1136
|
-
caption:
|
|
1135
|
+
notice: I.value.a11y.translations.tableAvailable,
|
|
1136
|
+
caption: I.value.a11y.translations.tableCaption
|
|
1137
1137
|
}, null, 8, [
|
|
1138
1138
|
"uid",
|
|
1139
1139
|
"head",
|
|
@@ -1141,13 +1141,13 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1141
1141
|
"notice",
|
|
1142
1142
|
"caption"
|
|
1143
1143
|
])) : g("", !0),
|
|
1144
|
-
|
|
1144
|
+
I.value.userOptions.buttons.annotator ? (C(), h(D(Ge), {
|
|
1145
1145
|
key: 1,
|
|
1146
|
-
svgRef: D(
|
|
1147
|
-
backgroundColor:
|
|
1148
|
-
color:
|
|
1146
|
+
svgRef: D(z),
|
|
1147
|
+
backgroundColor: I.value.style.chart.backgroundColor,
|
|
1148
|
+
color: I.value.style.chart.color,
|
|
1149
1149
|
active: rr.value,
|
|
1150
|
-
isCursorPointer:
|
|
1150
|
+
isCursorPointer: L.value,
|
|
1151
1151
|
onClose: ir
|
|
1152
1152
|
}, {
|
|
1153
1153
|
"annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -1164,62 +1164,62 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1164
1164
|
"active",
|
|
1165
1165
|
"isCursorPointer"
|
|
1166
1166
|
])) : g("", !0),
|
|
1167
|
-
|
|
1167
|
+
sn.value ? (C(), _("div", {
|
|
1168
1168
|
key: 2,
|
|
1169
1169
|
ref_key: "noTitle",
|
|
1170
|
-
ref:
|
|
1170
|
+
ref: Pt,
|
|
1171
1171
|
class: "vue-data-ui-no-title-space",
|
|
1172
1172
|
style: "height:36px; width: 100%;background:transparent"
|
|
1173
1173
|
}, null, 512)) : g("", !0),
|
|
1174
|
-
|
|
1174
|
+
I.value.style.chart.title.text ? (C(), _("div", {
|
|
1175
1175
|
key: 3,
|
|
1176
1176
|
ref_key: "chartTitle",
|
|
1177
|
-
ref:
|
|
1178
|
-
style: S(`width:100%;background:${
|
|
1177
|
+
ref: jt,
|
|
1178
|
+
style: S(`width:100%;background:${I.value.style.chart.backgroundColor};padding-bottom:6px`)
|
|
1179
1179
|
}, [(C(), h(me, {
|
|
1180
|
-
key: `title_${
|
|
1180
|
+
key: `title_${Ft.value}`,
|
|
1181
1181
|
config: {
|
|
1182
1182
|
title: {
|
|
1183
1183
|
cy: "treemap-div-title",
|
|
1184
|
-
...
|
|
1184
|
+
...I.value.style.chart.title
|
|
1185
1185
|
},
|
|
1186
1186
|
subtitle: {
|
|
1187
1187
|
cy: "treemap-div-subtitle",
|
|
1188
|
-
...
|
|
1188
|
+
...I.value.style.chart.title.subtitle
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
1191
|
}, null, 8, ["config"]))], 4)) : g("", !0),
|
|
1192
|
-
v("div", { id: `legend-top-${
|
|
1193
|
-
|
|
1192
|
+
v("div", { id: `legend-top-${A.value}` }, null, 8, it),
|
|
1193
|
+
I.value.userOptions.show && Et.value && (D(en) || D(Qt)) ? (C(), h(D(Ye), {
|
|
1194
1194
|
ref_key: "userOptionsRef",
|
|
1195
|
-
ref:
|
|
1196
|
-
key: `user_option_${
|
|
1197
|
-
backgroundColor:
|
|
1198
|
-
color:
|
|
1199
|
-
isPrinting: D(
|
|
1200
|
-
isImaging: D(
|
|
1201
|
-
uid:
|
|
1202
|
-
hasTooltip:
|
|
1203
|
-
hasPdf:
|
|
1204
|
-
hasXls:
|
|
1205
|
-
hasImg:
|
|
1206
|
-
hasSvg:
|
|
1207
|
-
hasTable:
|
|
1208
|
-
hasFullscreen:
|
|
1209
|
-
hasAltCopy:
|
|
1210
|
-
isFullscreen:
|
|
1211
|
-
isTooltip:
|
|
1212
|
-
titles: { ...
|
|
1213
|
-
chartElement:
|
|
1214
|
-
position:
|
|
1215
|
-
hasAnnotator:
|
|
1195
|
+
ref: Vt,
|
|
1196
|
+
key: `user_option_${At.value}`,
|
|
1197
|
+
backgroundColor: I.value.style.chart.backgroundColor,
|
|
1198
|
+
color: I.value.style.chart.color,
|
|
1199
|
+
isPrinting: D(nn),
|
|
1200
|
+
isImaging: D(rn),
|
|
1201
|
+
uid: A.value,
|
|
1202
|
+
hasTooltip: I.value.userOptions.buttons.tooltip && I.value.style.chart.tooltip.show,
|
|
1203
|
+
hasPdf: I.value.userOptions.buttons.pdf,
|
|
1204
|
+
hasXls: I.value.userOptions.buttons.csv,
|
|
1205
|
+
hasImg: I.value.userOptions.buttons.img,
|
|
1206
|
+
hasSvg: I.value.userOptions.buttons.svg,
|
|
1207
|
+
hasTable: I.value.userOptions.buttons.table,
|
|
1208
|
+
hasFullscreen: I.value.userOptions.buttons.fullscreen,
|
|
1209
|
+
hasAltCopy: I.value.userOptions.buttons.altCopy,
|
|
1210
|
+
isFullscreen: j.value,
|
|
1211
|
+
isTooltip: B.value.showTooltip,
|
|
1212
|
+
titles: { ...I.value.userOptions.buttonTitles },
|
|
1213
|
+
chartElement: N.value,
|
|
1214
|
+
position: I.value.userOptions.position,
|
|
1215
|
+
hasAnnotator: I.value.userOptions.buttons.annotator,
|
|
1216
1216
|
isAnnotation: rr.value,
|
|
1217
|
-
callbacks:
|
|
1218
|
-
printScale:
|
|
1219
|
-
tableDialog:
|
|
1220
|
-
isCursorPointer:
|
|
1217
|
+
callbacks: I.value.userOptions.callbacks,
|
|
1218
|
+
printScale: I.value.userOptions.print.scale,
|
|
1219
|
+
tableDialog: I.value.table.useDialog,
|
|
1220
|
+
isCursorPointer: L.value,
|
|
1221
1221
|
onToggleFullscreen: Mn,
|
|
1222
|
-
onGeneratePdf: D(
|
|
1222
|
+
onGeneratePdf: D(an),
|
|
1223
1223
|
onGenerateCsv: Qn,
|
|
1224
1224
|
onGenerateImage: _r,
|
|
1225
1225
|
onGenerateSvg: gr,
|
|
@@ -1227,7 +1227,7 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1227
1227
|
onToggleTooltip: nr,
|
|
1228
1228
|
onToggleAnnotator: ir,
|
|
1229
1229
|
onCopyAlt: Ar,
|
|
1230
|
-
style: S({ visibility: D(
|
|
1230
|
+
style: S({ visibility: D(en) ? D(Qt) ? "visible" : "hidden" : "visible" })
|
|
1231
1231
|
}, De({ _: 2 }, [
|
|
1232
1232
|
e.$slots.menuIcon ? {
|
|
1233
1233
|
name: "menuIcon",
|
|
@@ -1304,7 +1304,7 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1304
1304
|
class: "vue-ui-treemap-breadcrumbs",
|
|
1305
1305
|
"data-dom-to-png-ignore": "",
|
|
1306
1306
|
ref_key: "breadcrumbsNav",
|
|
1307
|
-
ref:
|
|
1307
|
+
ref: Rt
|
|
1308
1308
|
}, [(C(!0), _(Te, null, Fe(Z.value, (n, r) => (C(), _("span", {
|
|
1309
1309
|
role: "button",
|
|
1310
1310
|
tabindex: r < Z.value.length - 1 ? 0 : void 0,
|
|
@@ -1314,61 +1314,61 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1314
1314
|
class: "vue-ui-treemap-crumb",
|
|
1315
1315
|
"data-last-crumb": r === Z.value.length - 1,
|
|
1316
1316
|
style: S({
|
|
1317
|
-
color:
|
|
1318
|
-
cursor:
|
|
1317
|
+
color: I.value.style.chart.color,
|
|
1318
|
+
cursor: L.value ? "pointer" : "default"
|
|
1319
1319
|
}),
|
|
1320
1320
|
onMouseenter: (e) => or(r),
|
|
1321
1321
|
onMouseleave: sr,
|
|
1322
1322
|
onFocus: (e) => or(r),
|
|
1323
1323
|
onBlur: sr
|
|
1324
|
-
}, [v("span",
|
|
1324
|
+
}, [v("span", ot, [v("span", st, [T(e.$slots, "breadcrumb-label", Ae({ ref_for: !0 }, {
|
|
1325
1325
|
crumb: n,
|
|
1326
1326
|
isRoot: r === 0,
|
|
1327
1327
|
isFocus: ar.value === r
|
|
1328
|
-
}), () => [r === 0 ? (C(), _("div",
|
|
1328
|
+
}), () => [r === 0 ? (C(), _("div", ct, [ke(ve, {
|
|
1329
1329
|
name: ar.value === 0 ? "homeFilled" : "home",
|
|
1330
|
-
stroke:
|
|
1331
|
-
}, null, 8, ["name", "stroke"])])) : (C(), _(Te, { key: 1 }, [Oe(Le(n.label), 1)], 64))], !0)]), r < Z.value.length - 1 ? (C(), _("span",
|
|
1332
|
-
v("div",
|
|
1330
|
+
stroke: I.value.style.chart.color
|
|
1331
|
+
}, null, 8, ["name", "stroke"])])) : (C(), _(Te, { key: 1 }, [Oe(Le(n.label), 1)], 64))], !0)]), r < Z.value.length - 1 ? (C(), _("span", lt, [T(e.$slots, "breadcrumb-arrow", {}, () => [t[4] ||= Oe(" › ", -1)], !0)])) : g("", !0)])], 44, at))), 128))], 512)) : g("", !0),
|
|
1332
|
+
v("div", ut, [(C(), _("svg", {
|
|
1333
1333
|
ref_key: "svgRef",
|
|
1334
|
-
ref:
|
|
1335
|
-
xmlns: D(
|
|
1336
|
-
"aria-describedby": `chart-instructions-${
|
|
1334
|
+
ref: z,
|
|
1335
|
+
xmlns: D(ie),
|
|
1336
|
+
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1337
1337
|
class: Me({
|
|
1338
|
-
"vue-data-ui-fullscreen--on":
|
|
1339
|
-
"vue-data-ui-fulscreen--off": !
|
|
1338
|
+
"vue-data-ui-fullscreen--on": j.value,
|
|
1339
|
+
"vue-data-ui-fulscreen--off": !j.value,
|
|
1340
1340
|
"vue-data-ui-zoom-plus": !Pn.value,
|
|
1341
1341
|
"vue-data-ui-zoom-minus": Pn.value,
|
|
1342
|
-
loading: D(
|
|
1342
|
+
loading: D(R)
|
|
1343
1343
|
}),
|
|
1344
1344
|
viewBox: `${Y.value.startX} ${Y.value.startY} ${Y.value.width <= 0 ? 10 : Y.value.width} ${Y.value.height <= 0 ? 10 : Y.value.height}`,
|
|
1345
|
-
style: S(`max-width:100%; overflow: hidden; background:transparent;color:${
|
|
1345
|
+
style: S(`max-width:100%; overflow: hidden; background:transparent;color:${I.value.style.chart.color}`),
|
|
1346
1346
|
tabindex: "0",
|
|
1347
1347
|
onFocus: jr,
|
|
1348
1348
|
onBlur: Mr,
|
|
1349
1349
|
onKeydown: Nr
|
|
1350
1350
|
}, [
|
|
1351
1351
|
ke(D(Xe)),
|
|
1352
|
-
(C(!0), _(Te, null, Fe(K.value, (e, t) => (C(), _("g", { key: `tgrad_${e.id}` }, [
|
|
1352
|
+
(C(!0), _(Te, null, Fe(K.value, (e, t) => (C(), _("g", { key: `tgrad_${e.id}` }, [I.value.style.chart.layout.rects.gradient.show ? (C(), _("defs", ft, [v("radialGradient", {
|
|
1353
1353
|
id: `tgrad_${e.id}`,
|
|
1354
1354
|
gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
|
|
1355
1355
|
}, [v("stop", {
|
|
1356
1356
|
offset: "18%",
|
|
1357
1357
|
"stop-color": e.color
|
|
1358
|
-
}, null, 8,
|
|
1358
|
+
}, null, 8, mt), v("stop", {
|
|
1359
1359
|
offset: "100%",
|
|
1360
|
-
"stop-color": D(
|
|
1361
|
-
}, null, 8,
|
|
1360
|
+
"stop-color": D(f)(e.color, I.value.style.chart.layout.rects.gradient.intensity / 100)
|
|
1361
|
+
}, null, 8, ht)], 8, pt)])) : g("", !0)]))), 128)),
|
|
1362
1362
|
v("g", null, [
|
|
1363
1363
|
(C(!0), _(Te, null, Fe(K.value, (e, t) => (C(), _("g", { key: `rect_${e.id}_${e.depth}` }, [v("rect", {
|
|
1364
1364
|
x: e.x0,
|
|
1365
1365
|
y: e.y0,
|
|
1366
1366
|
height: q(e),
|
|
1367
1367
|
width: J(e),
|
|
1368
|
-
fill:
|
|
1368
|
+
fill: Dt.value ? e.color ?? I.value.style.chart.backgroundColor : I.value.style.chart.layout.rects.gradient.show ? Un.value ? I.value.style.chart.backgroundColor : `url(#tgrad_${e.id})` : e.color ?? I.value.style.chart.backgroundColor,
|
|
1369
1369
|
rx: kr(e),
|
|
1370
|
-
stroke: Q.value && Q.value.id === e.id ?
|
|
1371
|
-
"stroke-width": Q.value && Q.value.id === e.id ?
|
|
1370
|
+
stroke: Q.value && Q.value.id === e.id ? I.value.style.chart.layout.rects.selected.stroke : I.value.style.chart.layout.rects.stroke,
|
|
1371
|
+
"stroke-width": Q.value && Q.value.id === e.id ? I.value.style.chart.layout.rects.selected.strokeWidth : I.value.style.chart.layout.rects.strokeWidth,
|
|
1372
1372
|
onClick: He((n) => zn(e, t), ["stop"]),
|
|
1373
1373
|
onMouseenter: () => Zn({
|
|
1374
1374
|
datapoint: e,
|
|
@@ -1379,10 +1379,10 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1379
1379
|
datapoint: e,
|
|
1380
1380
|
seriesIndex: t
|
|
1381
1381
|
}),
|
|
1382
|
-
style: S(`opacity:${Q.value ? Q.value.id === e.id ? 1 :
|
|
1382
|
+
style: S(`opacity:${Q.value ? Q.value.id === e.id ? 1 : I.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
|
|
1383
1383
|
class: Me(["vue-ui-treemap-rect", Bn(e) ? "vue-data-ui-zoom-minus" : "vue-data-ui-zoom-plus"])
|
|
1384
|
-
}, null, 46,
|
|
1385
|
-
(C(!0), _(Te, null, Fe(K.value, (t, n) => (C(), _("g", { key: `label_${t.id}_${t.depth}` }, [!e.$slots.rect && !D(
|
|
1384
|
+
}, null, 46, gt)]))), 128)),
|
|
1385
|
+
(C(!0), _(Te, null, Fe(K.value, (t, n) => (C(), _("g", { key: `label_${t.id}_${t.depth}` }, [!e.$slots.rect && !D(R) && I.value.style.chart.layout.labels.showDefaultLabels && !Un.value && t.showLabel ? (C(), _("g", {
|
|
1386
1386
|
key: 0,
|
|
1387
1387
|
style: { "pointer-events": "none" },
|
|
1388
1388
|
innerHTML: Sr({
|
|
@@ -1390,7 +1390,7 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1390
1390
|
seriesIndex: n,
|
|
1391
1391
|
isTitle: !!(t.children && t.children.length)
|
|
1392
1392
|
})
|
|
1393
|
-
}, null, 8,
|
|
1393
|
+
}, null, 8, _t)) : g("", !0)]))), 128)),
|
|
1394
1394
|
(C(!0), _(Te, null, Fe(K.value, (t, n) => (C(), _("g", { key: `slot_${t.id}_${t.depth}` }, [(C(), _("foreignObject", {
|
|
1395
1395
|
x: t.x0,
|
|
1396
1396
|
y: t.y0,
|
|
@@ -1398,7 +1398,7 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1398
1398
|
width: J(t),
|
|
1399
1399
|
class: "vue-ui-treemap-cell-foreignObject",
|
|
1400
1400
|
style: { "pointer-events": "none" }
|
|
1401
|
-
}, [v("div",
|
|
1401
|
+
}, [v("div", yt, [D(R) ? g("", !0) : T(e.$slots, "rect", Ae({
|
|
1402
1402
|
key: 0,
|
|
1403
1403
|
ref_for: !0
|
|
1404
1404
|
}, {
|
|
@@ -1408,52 +1408,52 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1408
1408
|
width: J(t),
|
|
1409
1409
|
isSelected: Q.value ? Q.value.id === t.id : !0
|
|
1410
1410
|
},
|
|
1411
|
-
shouldShow: t.proportion >
|
|
1411
|
+
shouldShow: t.proportion > I.value.style.chart.layout.labels.hideUnderProportion || Pn.value,
|
|
1412
1412
|
fontSize: jn(t),
|
|
1413
1413
|
isZoom: Pn.value,
|
|
1414
|
-
textColor: D(
|
|
1415
|
-
}), void 0, !0)])], 8,
|
|
1414
|
+
textColor: D(re)(t.color)
|
|
1415
|
+
}), void 0, !0)])], 8, vt))]))), 128))
|
|
1416
1416
|
]),
|
|
1417
1417
|
T(e.$slots, "svg", x(b({
|
|
1418
1418
|
svg: H.value,
|
|
1419
1419
|
isZoom: Pn.value,
|
|
1420
1420
|
rect: Q.value,
|
|
1421
|
-
config:
|
|
1422
|
-
isPrintingImg: D(
|
|
1423
|
-
isPrintingSvg:
|
|
1421
|
+
config: I.value,
|
|
1422
|
+
isPrintingImg: D(nn) || D(rn) || Wt.value,
|
|
1423
|
+
isPrintingSvg: Gt.value
|
|
1424
1424
|
})), void 0, !0)
|
|
1425
|
-
], 46,
|
|
1426
|
-
hint:
|
|
1427
|
-
isVisible:
|
|
1425
|
+
], 46, dt)), e.$slots.hint ? (C(), _("div", bt, [T(e.$slots, "hint", x(b({
|
|
1426
|
+
hint: I.value.a11y.translations.keyboardNavigation,
|
|
1427
|
+
isVisible: Jt.value
|
|
1428
1428
|
})), void 0, !0)])) : g("", !0)]),
|
|
1429
|
-
e.$slots.watermark ? (C(), _("div",
|
|
1430
|
-
v("div", { id: `legend-bottom-${
|
|
1431
|
-
|
|
1429
|
+
e.$slots.watermark ? (C(), _("div", xt, [T(e.$slots, "watermark", x(b({ isPrinting: D(nn) || D(rn) || Wt.value || Gt.value })), void 0, !0)])) : g("", !0),
|
|
1430
|
+
v("div", { id: `legend-bottom-${A.value}` }, null, 8, St),
|
|
1431
|
+
zt.value && (I.value.style.chart.legend.show || e.$slots.legend) ? (C(), h(Ee, {
|
|
1432
1432
|
key: 7,
|
|
1433
|
-
to:
|
|
1433
|
+
to: I.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
1434
1434
|
}, [v("div", {
|
|
1435
1435
|
ref_key: "chartLegend",
|
|
1436
|
-
ref:
|
|
1437
|
-
}, [T(e.$slots, "legend", { legend: Vn.value }, () => [
|
|
1438
|
-
key: `legend_${
|
|
1436
|
+
ref: Mt
|
|
1437
|
+
}, [T(e.$slots, "legend", { legend: Vn.value }, () => [I.value.style.chart.legend.show ? (C(), h(Ce, {
|
|
1438
|
+
key: `legend_${Lt.value}`,
|
|
1439
1439
|
legendSet: Vn.value,
|
|
1440
1440
|
config: Hn.value,
|
|
1441
|
-
id: `treemap_legend_${
|
|
1442
|
-
isCursorPointer:
|
|
1441
|
+
id: `treemap_legend_${A.value}`,
|
|
1442
|
+
isCursorPointer: L.value,
|
|
1443
1443
|
onClickMarker: t[0] ||= ({ legend: e }) => Gn(e)
|
|
1444
1444
|
}, {
|
|
1445
|
-
item: O(({ legend: e, index: t }) => [D(
|
|
1445
|
+
item: O(({ legend: e, index: t }) => [D(R) ? g("", !0) : (C(), _("div", {
|
|
1446
1446
|
key: 0,
|
|
1447
1447
|
onClick: (t) => Gn(e),
|
|
1448
|
-
style: S(`opacity:${
|
|
1449
|
-
}, Le(e.display), 13,
|
|
1450
|
-
legendToggle: O(() => [Vn.value.length > 2 &&
|
|
1448
|
+
style: S(`opacity:${M.value.includes(e.id) ? .5 : 1}`)
|
|
1449
|
+
}, Le(e.display), 13, Ct))]),
|
|
1450
|
+
legendToggle: O(() => [Vn.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !D(R) ? (C(), h(ye, {
|
|
1451
1451
|
key: 0,
|
|
1452
|
-
backgroundColor:
|
|
1453
|
-
color:
|
|
1454
|
-
fontSize:
|
|
1455
|
-
checked:
|
|
1456
|
-
isCursorPointer:
|
|
1452
|
+
backgroundColor: I.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1453
|
+
color: I.value.style.chart.legend.selectAllToggle.color,
|
|
1454
|
+
fontSize: I.value.style.chart.legend.fontSize,
|
|
1455
|
+
checked: M.value.length > 0,
|
|
1456
|
+
isCursorPointer: L.value,
|
|
1457
1457
|
onToggle: Wn
|
|
1458
1458
|
}, null, 8, [
|
|
1459
1459
|
"backgroundColor",
|
|
@@ -1472,32 +1472,32 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1472
1472
|
e.$slots.source ? (C(), _("div", {
|
|
1473
1473
|
key: 8,
|
|
1474
1474
|
ref_key: "source",
|
|
1475
|
-
ref:
|
|
1475
|
+
ref: Nt,
|
|
1476
1476
|
dir: "auto"
|
|
1477
1477
|
}, [T(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
|
|
1478
1478
|
ke(D(Je), {
|
|
1479
|
-
teleportTo:
|
|
1480
|
-
show:
|
|
1481
|
-
backgroundColor:
|
|
1482
|
-
color:
|
|
1483
|
-
fontSize:
|
|
1484
|
-
borderRadius:
|
|
1485
|
-
borderColor:
|
|
1486
|
-
borderWidth:
|
|
1487
|
-
backgroundOpacity:
|
|
1488
|
-
position:
|
|
1489
|
-
offsetX:
|
|
1490
|
-
offsetY:
|
|
1491
|
-
parent:
|
|
1492
|
-
content:
|
|
1493
|
-
isFullscreen:
|
|
1494
|
-
isCustom: D(
|
|
1495
|
-
smooth:
|
|
1496
|
-
backdropFilter:
|
|
1497
|
-
smoothForce:
|
|
1498
|
-
smoothSnapThreshold:
|
|
1499
|
-
isA11yMode:
|
|
1500
|
-
a11yPosition:
|
|
1479
|
+
teleportTo: I.value.style.chart.tooltip.teleportTo,
|
|
1480
|
+
show: B.value.showTooltip && Ot.value,
|
|
1481
|
+
backgroundColor: I.value.style.chart.tooltip.backgroundColor,
|
|
1482
|
+
color: I.value.style.chart.tooltip.color,
|
|
1483
|
+
fontSize: I.value.style.chart.tooltip.fontSize,
|
|
1484
|
+
borderRadius: I.value.style.chart.tooltip.borderRadius,
|
|
1485
|
+
borderColor: I.value.style.chart.tooltip.borderColor,
|
|
1486
|
+
borderWidth: I.value.style.chart.tooltip.borderWidth,
|
|
1487
|
+
backgroundOpacity: I.value.style.chart.tooltip.backgroundOpacity,
|
|
1488
|
+
position: I.value.style.chart.tooltip.position,
|
|
1489
|
+
offsetX: I.value.style.chart.tooltip.offsetX,
|
|
1490
|
+
offsetY: I.value.style.chart.tooltip.offsetY,
|
|
1491
|
+
parent: N.value,
|
|
1492
|
+
content: kt.value,
|
|
1493
|
+
isFullscreen: j.value,
|
|
1494
|
+
isCustom: D(ne)(I.value.style.chart.tooltip.customFormat),
|
|
1495
|
+
smooth: I.value.style.chart.tooltip.smooth,
|
|
1496
|
+
backdropFilter: I.value.style.chart.tooltip.backdropFilter,
|
|
1497
|
+
smoothForce: I.value.style.chart.tooltip.smoothForce,
|
|
1498
|
+
smoothSnapThreshold: I.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1499
|
+
isA11yMode: qt.value === "keyboard",
|
|
1500
|
+
a11yPosition: Kt.value
|
|
1501
1501
|
}, {
|
|
1502
1502
|
"tooltip-before": O(() => [T(e.$slots, "tooltip-before", x(b({ ...Xn.value })), void 0, !0)]),
|
|
1503
1503
|
tooltip: O(() => [T(e.$slots, "tooltip", x(b({ ...Xn.value })), void 0, !0)]),
|
|
@@ -1527,20 +1527,20 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1527
1527
|
"isA11yMode",
|
|
1528
1528
|
"a11yPosition"
|
|
1529
1529
|
]),
|
|
1530
|
-
|
|
1530
|
+
Et.value && I.value.userOptions.buttons.table ? (C(), h(Ie(lr.value.component), Ae({ key: 9 }, lr.value.props, {
|
|
1531
1531
|
ref_key: "tableUnit",
|
|
1532
|
-
ref:
|
|
1532
|
+
ref: Bt,
|
|
1533
1533
|
onClose: ur
|
|
1534
1534
|
}), De({
|
|
1535
1535
|
content: O(() => [(C(), h(D(We), {
|
|
1536
|
-
key: `table_${
|
|
1536
|
+
key: `table_${It.value}`,
|
|
1537
1537
|
colNames: $n.value.colNames,
|
|
1538
1538
|
head: $n.value.head,
|
|
1539
1539
|
body: $n.value.body,
|
|
1540
1540
|
config: $n.value.config,
|
|
1541
|
-
title:
|
|
1542
|
-
withCloseButton: !
|
|
1543
|
-
isCursorPointer:
|
|
1541
|
+
title: I.value.table.useDialog ? "" : lr.value.title,
|
|
1542
|
+
withCloseButton: !I.value.table.useDialog,
|
|
1543
|
+
isCursorPointer: L.value,
|
|
1544
1544
|
onClose: ur
|
|
1545
1545
|
}, {
|
|
1546
1546
|
th: O(({ th: e }) => [v("div", {
|
|
@@ -1549,7 +1549,7 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1549
1549
|
display: "flex",
|
|
1550
1550
|
"align-items": "center"
|
|
1551
1551
|
}
|
|
1552
|
-
}, null, 8,
|
|
1552
|
+
}, null, 8, wt)]),
|
|
1553
1553
|
td: O(({ td: e }) => [Oe(Le(e.name || e), 1)]),
|
|
1554
1554
|
_: 1
|
|
1555
1555
|
}, 8, [
|
|
@@ -1562,26 +1562,26 @@ var A = /* @__PURE__ */ e({ default: () => wt }), tt = ["id"], nt = ["id"], rt =
|
|
|
1562
1562
|
"isCursorPointer"
|
|
1563
1563
|
]))]),
|
|
1564
1564
|
_: 2
|
|
1565
|
-
}, [
|
|
1565
|
+
}, [I.value.table.useDialog ? {
|
|
1566
1566
|
name: "title",
|
|
1567
1567
|
fn: O(() => [Oe(Le(lr.value.title), 1)]),
|
|
1568
1568
|
key: "0"
|
|
1569
|
-
} : void 0,
|
|
1569
|
+
} : void 0, I.value.table.useDialog ? {
|
|
1570
1570
|
name: "actions",
|
|
1571
1571
|
fn: O(() => [v("button", {
|
|
1572
1572
|
tabindex: "0",
|
|
1573
1573
|
class: "vue-ui-user-options-button",
|
|
1574
|
-
onClick: t[1] ||= (e) => Qn(
|
|
1575
|
-
style: S({ cursor:
|
|
1574
|
+
onClick: t[1] ||= (e) => Qn(I.value.userOptions.callbacks.csv),
|
|
1575
|
+
style: S({ cursor: L.value ? "pointer" : "default" })
|
|
1576
1576
|
}, [ke(ve, {
|
|
1577
1577
|
name: "fileCsv",
|
|
1578
1578
|
stroke: lr.value.props.color
|
|
1579
1579
|
}, null, 8, ["stroke"])], 4)]),
|
|
1580
1580
|
key: "1"
|
|
1581
1581
|
} : void 0]), 1040)) : g("", !0),
|
|
1582
|
-
T(e.$slots, "skeleton", {}, () => [D(
|
|
1583
|
-
], 46,
|
|
1582
|
+
T(e.$slots, "skeleton", {}, () => [D(R) ? (C(), h(le, { key: 0 })) : g("", !0)], !0)
|
|
1583
|
+
], 46, nt));
|
|
1584
1584
|
}
|
|
1585
1585
|
}, [["__scopeId", "data-v-d3d40b0c"]]);
|
|
1586
1586
|
//#endregion
|
|
1587
|
-
export {
|
|
1587
|
+
export { tt as n, Tt as t };
|