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,25 +1,25 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { c as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { Fragment as
|
|
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, Mt as ee, Nt as te, Rt as ne, S as re, X as ie, i as s, n as ae, nt as oe, ot as se, pt as ce, r as le, t as ue, x as de, y as fe } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { t as pe } from "./useConfig-DAyQk86L.js";
|
|
4
|
+
import { t as me } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
+
import { n as he, t as ge } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
+
import { t as _e } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as ve } from "./useNestedProp-CNcoy38D.js";
|
|
8
|
+
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as be } from "./img-1cKsci8e.js";
|
|
10
|
+
import { n as xe } from "./Title-NWp4qB4K.js";
|
|
11
|
+
import { t as Se } from "./Shape-BPCJfphn.js";
|
|
12
|
+
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { c as we } from "./canvas-lib-BOP_HS11.js";
|
|
14
|
+
import { t as Te } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
+
import { t as Ee } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
16
|
+
import { t as De } from "./A11yDataTable-BCbtxMU6.js";
|
|
17
|
+
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as Ae } from "./labelUtils-CUctkYoA.js";
|
|
20
|
+
import { t as je } from "./Legend-Cz2uQ5gs.js";
|
|
21
|
+
import { t as Me } from "./vue_ui_waffle-DIARFc7g.js";
|
|
22
|
+
import { Fragment as c, Teleport as Ne, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Le, nextTick as Re, normalizeClass as ze, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Be, onMounted as Ve, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as S, toRefs as We, unref as C, useSlots as Ge, watch as w, withCtx as T } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-waffle.vue
|
|
24
24
|
var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
|
|
25
25
|
"xmlns",
|
|
@@ -85,7 +85,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
85
85
|
}, ft = {
|
|
86
86
|
key: 5,
|
|
87
87
|
class: "vue-data-ui-watermark"
|
|
88
|
-
}, pt = ["id"], mt = ["onClick"], ht = ["innerHTML"], gt = /* @__PURE__ */
|
|
88
|
+
}, pt = ["id"], mt = ["onClick"], ht = ["innerHTML"], gt = /* @__PURE__ */ Ce({
|
|
89
89
|
__name: "vue-ui-waffle",
|
|
90
90
|
props: {
|
|
91
91
|
config: {
|
|
@@ -102,18 +102,18 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
emits: ["selectLegend", "copyAlt"],
|
|
105
|
-
setup(e, { expose:
|
|
106
|
-
let gt =
|
|
105
|
+
setup(e, { expose: Ce, emit: Ke }) {
|
|
106
|
+
let gt = m(() => import("./Tooltip-BENq327o.js")), _t = m(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), vt = m(() => import("./DataTable-B--IN22e.js")), yt = m(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), bt = m(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), xt = m(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), St = m(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Ct = m(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_waffle: wt } = pe(), { isThemeValid: Tt, warnInvalidTheme: Et } = ye(), E = e, Dt = Ge(), Ot = l({
|
|
107
107
|
get() {
|
|
108
108
|
return !!E.dataset && E.dataset.length;
|
|
109
109
|
},
|
|
110
110
|
set(e) {
|
|
111
111
|
return e;
|
|
112
112
|
}
|
|
113
|
-
}), D =
|
|
113
|
+
}), D = y(a()), O = y(!1), kt = y(""), k = y(null), At = y(0), A = y(null), jt = y(null), Mt = y(null), Nt = y(null), Pt = y(null), Ft = y(0), It = y(0), Lt = y(0), Rt = y(!1), zt = y(null), Bt = y(null), Vt = y(!1), Ht = y(!1), j = y(null), Ut = y({
|
|
114
114
|
x: 0,
|
|
115
115
|
y: 0
|
|
116
|
-
}),
|
|
116
|
+
}), Wt = y("pointer"), Gt = y(!1), M = y($t()), N = l(() => M.value.userOptions.useCursorPointer), Kt = l(() => t({
|
|
117
117
|
defaultConfig: {
|
|
118
118
|
useCustomCells: !1,
|
|
119
119
|
userOptions: { show: !1 },
|
|
@@ -132,8 +132,8 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
132
132
|
} }
|
|
133
133
|
},
|
|
134
134
|
userConfig: M.value.skeletonConfig ?? {}
|
|
135
|
-
})), { loading: qt, FINAL_DATASET: Jt, manualLoading: Yt } =
|
|
136
|
-
...
|
|
135
|
+
})), { loading: qt, FINAL_DATASET: Jt, manualLoading: Yt } = he({
|
|
136
|
+
...We(E),
|
|
137
137
|
FINAL_CONFIG: M,
|
|
138
138
|
prepareConfig: $t,
|
|
139
139
|
callback: () => {
|
|
@@ -158,45 +158,45 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
158
158
|
color: "#CACACA"
|
|
159
159
|
}
|
|
160
160
|
],
|
|
161
|
-
skeletonConfig:
|
|
161
|
+
skeletonConfig: t({
|
|
162
162
|
defaultConfig: M.value,
|
|
163
163
|
userConfig: Kt.value
|
|
164
164
|
})
|
|
165
|
-
}), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } =
|
|
165
|
+
}), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = Oe({ config: M.value }), { svgRef: P } = ke({ config: M.value.style.chart.title });
|
|
166
166
|
function $t() {
|
|
167
|
-
let e =
|
|
167
|
+
let e = ve({
|
|
168
168
|
userConfig: E.config,
|
|
169
169
|
defaultConfig: wt
|
|
170
170
|
}), t = e.theme;
|
|
171
171
|
if (!t) return e;
|
|
172
172
|
if (!Tt.value(e)) return Et(e), e;
|
|
173
|
-
let n =
|
|
174
|
-
userConfig:
|
|
173
|
+
let n = ve({
|
|
174
|
+
userConfig: Me[t] || E.config,
|
|
175
175
|
defaultConfig: e
|
|
176
|
-
}),
|
|
176
|
+
}), i = ve({
|
|
177
177
|
userConfig: E.config,
|
|
178
178
|
defaultConfig: n
|
|
179
179
|
});
|
|
180
180
|
return {
|
|
181
|
-
...
|
|
182
|
-
customPalette:
|
|
181
|
+
...i,
|
|
182
|
+
customPalette: i.customPalette.length ? i.customPalette : ne[t] || r
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
|
-
|
|
186
|
-
qt.value || (M.value = $t()), Xt.value = !M.value.userOptions.showOnChartHover, tn(),
|
|
185
|
+
w(() => E.config, (e) => {
|
|
186
|
+
qt.value || (M.value = $t()), Xt.value = !M.value.userOptions.showOnChartHover, tn(), Ft.value += 1, It.value += 1, Lt.value += 1, L.value.showTable = M.value.table.show, L.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
187
187
|
}, { deep: !0 });
|
|
188
|
-
let F =
|
|
188
|
+
let F = Ue(null), I = Ue(null), en = l(() => !!M.value.debug);
|
|
189
189
|
function tn() {
|
|
190
|
-
if (
|
|
190
|
+
if (n(E.dataset) ? (ie({
|
|
191
191
|
componentName: "VueUiWaffle",
|
|
192
192
|
type: "dataset",
|
|
193
193
|
debug: en.value
|
|
194
194
|
}), Ot.value = !1, Yt.value = !0) : E.dataset.forEach((e, t) => {
|
|
195
|
-
|
|
195
|
+
se({
|
|
196
196
|
datasetObject: e,
|
|
197
197
|
requiredAttributes: ["name", "values"]
|
|
198
198
|
}).forEach((e) => {
|
|
199
|
-
|
|
199
|
+
ie({
|
|
200
200
|
componentName: "VueUiWaffle",
|
|
201
201
|
type: "datasetSerieAttribute",
|
|
202
202
|
property: e,
|
|
@@ -204,50 +204,50 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
204
204
|
debug: en.value
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
|
-
}),
|
|
208
|
-
let e =
|
|
209
|
-
let { width: e, height: t } =
|
|
210
|
-
chart:
|
|
211
|
-
title: M.value.style.chart.title.text ?
|
|
212
|
-
legend: M.value.style.chart.legend.show ?
|
|
213
|
-
source:
|
|
214
|
-
noTitle:
|
|
207
|
+
}), n(E.dataset) || (Yt.value = M.value.loading), M.value.responsive) {
|
|
208
|
+
let e = we(() => {
|
|
209
|
+
let { width: e, height: t } = Te({
|
|
210
|
+
chart: A.value,
|
|
211
|
+
title: M.value.style.chart.title.text ? jt.value : null,
|
|
212
|
+
legend: M.value.style.chart.legend.show ? Mt.value : null,
|
|
213
|
+
source: Nt.value,
|
|
214
|
+
noTitle: Pt.value
|
|
215
215
|
});
|
|
216
216
|
requestAnimationFrame(() => {
|
|
217
217
|
R.value.width = e, R.value.height = t, z.value.width = e, z.value.height = t;
|
|
218
218
|
});
|
|
219
219
|
});
|
|
220
|
-
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value =
|
|
220
|
+
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = A.value.parentNode, F.value.observe(I.value);
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
}),
|
|
223
|
+
Ve(() => {
|
|
224
|
+
Rt.value = !0, tn();
|
|
225
|
+
}), Be(() => {
|
|
226
226
|
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect());
|
|
227
227
|
});
|
|
228
|
-
let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } =
|
|
228
|
+
let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } = me({
|
|
229
229
|
elementId: `vue-ui-waffle_${D.value}`,
|
|
230
230
|
fileName: M.value.style.chart.title.text || "vue-ui-waffle",
|
|
231
231
|
options: M.value.userOptions.print
|
|
232
|
-
}), sn =
|
|
232
|
+
}), sn = l(() => M.value.userOptions.show && !M.value.style.chart.title.text), cn = l(() => de(M.value.customPalette)), L = y({
|
|
233
233
|
showTable: M.value.table.show,
|
|
234
234
|
showTooltip: M.value.style.chart.tooltip.show
|
|
235
235
|
});
|
|
236
|
-
|
|
236
|
+
w(M, () => {
|
|
237
237
|
L.value = {
|
|
238
238
|
showTable: M.value.table.show,
|
|
239
239
|
showTooltip: M.value.style.chart.tooltip.show
|
|
240
240
|
};
|
|
241
241
|
}, { immediate: !0 });
|
|
242
|
-
let R =
|
|
242
|
+
let R = y({
|
|
243
243
|
height: 512,
|
|
244
244
|
width: 512
|
|
245
|
-
}), z =
|
|
245
|
+
}), z = y({
|
|
246
246
|
top: 0,
|
|
247
247
|
left: 0,
|
|
248
248
|
height: 512,
|
|
249
249
|
width: 512
|
|
250
|
-
}), B =
|
|
250
|
+
}), B = l(() => (z.value.width - M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.spaceBetween) / M.value.style.chart.layout.grid.size), V = l(() => (z.value.height - M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.spaceBetween) / M.value.style.chart.layout.grid.size), ln = l(() => Math.max(1e-4, z.value.width / M.value.style.chart.layout.grid.size)), un = l(() => Math.max(1e-4, z.value.height / M.value.style.chart.layout.grid.size));
|
|
251
251
|
function dn(e) {
|
|
252
252
|
let t = M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.size, n = e.reduce((e, t) => e + t, 0), r = e.map((e) => e / n * t), i = r.map(Math.floor), a = r.map((e) => e % 1), o = t - i.reduce((e, t) => e + t, 0);
|
|
253
253
|
for (; o > 0;) {
|
|
@@ -256,23 +256,23 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
256
256
|
}
|
|
257
257
|
return i;
|
|
258
258
|
}
|
|
259
|
-
let fn =
|
|
259
|
+
let fn = y(!1);
|
|
260
260
|
function pn() {
|
|
261
261
|
return fn.value = Jt.value.flatMap((e) => e.values.reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0) === 0, Jt.value.map((e, t) => ({
|
|
262
262
|
...e,
|
|
263
|
-
color:
|
|
263
|
+
color: fe(e.color) || cn.value[t] || r[t] || r[t % r.length],
|
|
264
264
|
uid: `serie_${t}`,
|
|
265
265
|
absoluteIndex: t
|
|
266
266
|
}));
|
|
267
267
|
}
|
|
268
|
-
let mn =
|
|
269
|
-
|
|
268
|
+
let mn = l(() => pn()), H = y(mn.value);
|
|
269
|
+
w(() => E.dataset, (e) => {
|
|
270
270
|
Array.isArray(e) && e.length > 0 && (Yt.value = !1);
|
|
271
|
-
}, { immediate: !0 }),
|
|
271
|
+
}, { immediate: !0 }), w(() => E.dataset, (e) => {
|
|
272
272
|
H.value = pn();
|
|
273
273
|
}, { deep: !0 });
|
|
274
|
-
let hn =
|
|
275
|
-
[null, void 0].includes(e.values) &&
|
|
274
|
+
let hn = l(() => dn(H.value.filter((e, t) => !K.value.includes(e.uid)).map((e, t) => fn.value ? 1 : (e.values || []).reduce((e, t) => e + t, 0)))), gn = l(() => dn(H.value.map((e, t) => fn.value ? 1 : (e.values || []).reduce((e, t) => e + t)))), U = l(() => (Jt.value.forEach((e, t) => {
|
|
275
|
+
[null, void 0].includes(e.values) && ie({
|
|
276
276
|
componentName: "VueUiWaffle",
|
|
277
277
|
type: "datasetSerieAttribute",
|
|
278
278
|
property: "values (number[])",
|
|
@@ -286,7 +286,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
286
286
|
value: (e.values || []).reduce((e, t) => e + t, 0),
|
|
287
287
|
absoluteValues: e.values || [],
|
|
288
288
|
proportion: hn.value[t]
|
|
289
|
-
})))), _n =
|
|
289
|
+
})))), _n = l(() => H.value.map((e, t) => ({
|
|
290
290
|
absoluteIndex: e.absoluteIndex,
|
|
291
291
|
uid: e.uid,
|
|
292
292
|
name: e.name,
|
|
@@ -303,7 +303,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
303
303
|
proportion: e.proportion
|
|
304
304
|
}));
|
|
305
305
|
}
|
|
306
|
-
let yn =
|
|
306
|
+
let yn = l(() => {
|
|
307
307
|
let e = 0;
|
|
308
308
|
return U.value.map((t, n) => {
|
|
309
309
|
let r = e, i = r + t.proportion, a = [];
|
|
@@ -314,7 +314,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
314
314
|
rects: a
|
|
315
315
|
};
|
|
316
316
|
});
|
|
317
|
-
}), W =
|
|
317
|
+
}), W = l(() => yn.value.flatMap((e, t) => e.rects.map((n, r) => ({
|
|
318
318
|
isFirst: r === 0,
|
|
319
319
|
isLongEnough: n.length > 2,
|
|
320
320
|
name: e.name,
|
|
@@ -327,7 +327,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
327
327
|
}))).map((e, t) => ({
|
|
328
328
|
...e,
|
|
329
329
|
isAbsoluteFirst: t % M.value.style.chart.layout.grid.size === 0
|
|
330
|
-
}))), G =
|
|
330
|
+
}))), G = l(() => {
|
|
331
331
|
let e = [];
|
|
332
332
|
for (let t = 0; t < M.value.style.chart.layout.grid.size; t += 1) for (let n = 0; n < M.value.style.chart.layout.grid.size; n += 1) e.push({
|
|
333
333
|
isStartOfLine: n === 0,
|
|
@@ -336,7 +336,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
336
336
|
y: (M.value.style.chart.layout.grid.vertical ? n : t) * (V.value + M.value.style.chart.layout.grid.spaceBetween) + z.value.top
|
|
337
337
|
});
|
|
338
338
|
return e;
|
|
339
|
-
}), K =
|
|
339
|
+
}), K = y([]), bn = y(!1), xn = y(Object.create(null)), Sn = y(Object.create(null)), Cn = y(0);
|
|
340
340
|
function wn(e, t) {
|
|
341
341
|
H.value = H.value.map((n) => n.uid === e ? {
|
|
342
342
|
...n,
|
|
@@ -437,7 +437,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
437
437
|
t !== null && (K.value.includes(t.uid) || q(t.uid));
|
|
438
438
|
}
|
|
439
439
|
function Mn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
|
|
440
|
-
return
|
|
440
|
+
return Ae({
|
|
441
441
|
config: i,
|
|
442
442
|
val: e,
|
|
443
443
|
percentage: t,
|
|
@@ -445,28 +445,28 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
445
445
|
showPercentage: r
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
-
let J =
|
|
449
|
-
let n = (e.values || []).reduce((e, t) => e + t, 0),
|
|
448
|
+
let J = l(() => H.value.map((e, t) => {
|
|
449
|
+
let n = (e.values || []).reduce((e, t) => e + t, 0), i = n / H.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
|
|
450
450
|
return {
|
|
451
451
|
name: e.name,
|
|
452
|
-
color: e.color || cn[t] ||
|
|
452
|
+
color: e.color || cn[t] || r[t] || r[t % r.length],
|
|
453
453
|
value: n,
|
|
454
|
-
proportion:
|
|
454
|
+
proportion: i,
|
|
455
455
|
uid: e.uid,
|
|
456
456
|
shape: "square"
|
|
457
457
|
};
|
|
458
|
-
}).map((e,
|
|
459
|
-
let
|
|
460
|
-
val:
|
|
458
|
+
}).map((e, t) => {
|
|
459
|
+
let n = Mn({
|
|
460
|
+
val: s(M.value.style.chart.layout.labels.dataLabels.formatter, e.value, i({
|
|
461
461
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
462
462
|
v: e.value,
|
|
463
463
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
464
464
|
r: M.value.style.chart.legend.roundingValue
|
|
465
465
|
}), {
|
|
466
466
|
datapoint: e,
|
|
467
|
-
index:
|
|
467
|
+
index: t
|
|
468
468
|
}),
|
|
469
|
-
percentage: isNaN(e.value / Y.value) ? "-" :
|
|
469
|
+
percentage: isNaN(e.value / Y.value) ? "-" : i({
|
|
470
470
|
v: e.value / Y.value * 100,
|
|
471
471
|
s: "%",
|
|
472
472
|
r: M.value.style.chart.legend.roundingPercentage
|
|
@@ -480,16 +480,16 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
480
480
|
opacity: K.value.includes(e.uid) ? .5 : 1,
|
|
481
481
|
segregate: () => q(e.uid),
|
|
482
482
|
isSegregated: K.value.includes(e.uid),
|
|
483
|
-
display: `${e.name}${M.value.style.chart.legend.showPercentage || M.value.style.chart.legend.showValue ? ": " : ""}${
|
|
483
|
+
display: `${e.name}${M.value.style.chart.legend.showPercentage || M.value.style.chart.legend.showValue ? ": " : ""}${n}`
|
|
484
484
|
};
|
|
485
|
-
})), Nn =
|
|
485
|
+
})), Nn = l(() => ({
|
|
486
486
|
cy: "waffle-div-legend",
|
|
487
487
|
backgroundColor: M.value.style.chart.legend.backgroundColor,
|
|
488
488
|
color: M.value.style.chart.legend.color,
|
|
489
489
|
fontSize: M.value.style.chart.legend.fontSize,
|
|
490
490
|
paddingBottom: 12,
|
|
491
491
|
fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
|
|
492
|
-
})), Y =
|
|
492
|
+
})), Y = l(() => U.value.map((e) => e.value).reduce((e, t) => e + t, 0)), Pn = y(null), Fn = y(null), X = l(() => {
|
|
493
493
|
let e = /* @__PURE__ */ new Map();
|
|
494
494
|
return W.value.forEach((t, n) => {
|
|
495
495
|
e.has(t.serieIndex) ? e.get(t.serieIndex).rectIndexes.push(n) : e.set(t.serieIndex, {
|
|
@@ -523,58 +523,58 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
523
523
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
524
524
|
datapoint: t,
|
|
525
525
|
seriesIndex: t.serieIndex
|
|
526
|
-
}), Fn.value = null,
|
|
526
|
+
}), Fn.value = null, O.value = !1, k.value = null, j.value = null, Wt.value = "pointer";
|
|
527
527
|
}
|
|
528
|
-
function Bn(e,
|
|
528
|
+
function Bn(e, t = "pointer") {
|
|
529
529
|
if (K.value.length === E.dataset.length) return;
|
|
530
|
-
let
|
|
531
|
-
if (!
|
|
532
|
-
|
|
533
|
-
datapoint:
|
|
534
|
-
seriesIndex:
|
|
530
|
+
let n = W.value[e];
|
|
531
|
+
if (!n) return;
|
|
532
|
+
Wt.value = t, j.value = n.serieIndex, Pn.value = {
|
|
533
|
+
datapoint: n,
|
|
534
|
+
seriesIndex: n.absoluteIndex,
|
|
535
535
|
series: H.value,
|
|
536
536
|
config: M.value
|
|
537
|
-
}, M.value.events.datapointEnter && Fn.value !==
|
|
538
|
-
datapoint:
|
|
539
|
-
seriesIndex:
|
|
540
|
-
}), Fn.value =
|
|
541
|
-
let
|
|
542
|
-
if (
|
|
543
|
-
seriesIndex:
|
|
544
|
-
datapoint:
|
|
537
|
+
}, M.value.events.datapointEnter && Fn.value !== n.serieIndex && M.value.events.datapointEnter({
|
|
538
|
+
datapoint: n,
|
|
539
|
+
seriesIndex: n.serieIndex
|
|
540
|
+
}), Fn.value = n.serieIndex, O.value = !0, k.value = n.serieIndex;
|
|
541
|
+
let r = M.value.style.chart.tooltip.customFormat;
|
|
542
|
+
if (ce(r) && oe(() => r({
|
|
543
|
+
seriesIndex: n.absoluteIndex,
|
|
544
|
+
datapoint: n,
|
|
545
545
|
series: H.value,
|
|
546
546
|
config: M.value
|
|
547
|
-
})))
|
|
548
|
-
seriesIndex:
|
|
549
|
-
datapoint:
|
|
547
|
+
}))) kt.value = r({
|
|
548
|
+
seriesIndex: n.absoluteIndex,
|
|
549
|
+
datapoint: n,
|
|
550
550
|
series: H.value,
|
|
551
551
|
config: M.value
|
|
552
552
|
});
|
|
553
553
|
else {
|
|
554
554
|
let e = "";
|
|
555
|
-
e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${
|
|
555
|
+
e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${n.name}</div>`, e += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${n.color}" />${Dt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${D.value}_${n.absoluteIndex})"/>` : ""}</svg>`, e += `<b>${Mn({
|
|
556
556
|
config: M.value.style.chart.tooltip,
|
|
557
557
|
showVal: M.value.style.chart.tooltip.showValue,
|
|
558
558
|
showPercentage: M.value.style.chart.tooltip.showPercentage,
|
|
559
|
-
val: `<span>${
|
|
559
|
+
val: `<span>${s(M.value.style.chart.layout.labels.dataLabels.formatter, n.value, i({
|
|
560
560
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
561
|
-
v:
|
|
561
|
+
v: n.value,
|
|
562
562
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
563
563
|
r: M.value.style.chart.tooltip.roundingValue
|
|
564
564
|
}), {
|
|
565
|
-
datapoint:
|
|
566
|
-
seriesIndex:
|
|
565
|
+
datapoint: n,
|
|
566
|
+
seriesIndex: n.absoluteIndex,
|
|
567
567
|
series: H.value
|
|
568
568
|
})}</span>`,
|
|
569
|
-
percentage: `<span>${
|
|
570
|
-
v: fn.value ? 1 / Jt.value.length * 100 :
|
|
569
|
+
percentage: `<span>${i({
|
|
570
|
+
v: fn.value ? 1 / Jt.value.length * 100 : n.value / Y.value * 100,
|
|
571
571
|
s: "%",
|
|
572
572
|
r: M.value.style.chart.tooltip.roundingPercentage
|
|
573
573
|
})}</span>`
|
|
574
|
-
})}</b></div>`,
|
|
574
|
+
})}</b></div>`, kt.value = e;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
let Vn = Ke, Z =
|
|
577
|
+
let Vn = Ke, Z = l(() => ({
|
|
578
578
|
head: U.value.map((e) => ({
|
|
579
579
|
name: e.name,
|
|
580
580
|
color: e.color
|
|
@@ -582,43 +582,43 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
582
582
|
body: U.value.map((e) => e.value)
|
|
583
583
|
}));
|
|
584
584
|
function Hn(e) {
|
|
585
|
-
return M.value.useBlurOnHover && ![null, void 0].includes(
|
|
585
|
+
return M.value.useBlurOnHover && ![null, void 0].includes(k.value) && k.value !== e ? `url(#blur_${D.value})` : "";
|
|
586
586
|
}
|
|
587
587
|
function Un(e, t) {
|
|
588
588
|
return M.value.style.chart.layout.labels.captions.show ? W.value.length && !bn.value && !M.value.style.chart.layout.grid.vertical && (W.value[e].isFirst && t.position < M.value.style.chart.layout.grid.size - 2 || W.value[e].isAbsoluteFirst && e % M.value.style.chart.layout.grid.size === 0 && W.value[e].absoluteStartIndex) : !1;
|
|
589
589
|
}
|
|
590
|
-
function Wn(e,
|
|
591
|
-
let
|
|
590
|
+
function Wn(e, t = null) {
|
|
591
|
+
let n = s(M.value.style.chart.layout.labels.dataLabels.formatter, W.value[e].value, i({
|
|
592
592
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
593
593
|
v: W.value[e].value,
|
|
594
594
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
595
595
|
r: M.value.style.chart.layout.labels.captions.roundingValue
|
|
596
596
|
}), {
|
|
597
597
|
datapoint: W.value[e],
|
|
598
|
-
position:
|
|
599
|
-
}),
|
|
598
|
+
position: t
|
|
599
|
+
}), r = i({
|
|
600
600
|
v: W.value[e].proportion,
|
|
601
601
|
s: "%",
|
|
602
602
|
r: M.value.style.chart.layout.labels.captions.roundingPercentage
|
|
603
|
-
}), a = (M.value.style.chart.layout.labels.captions.serieNameAbbreviation ?
|
|
603
|
+
}), a = (M.value.style.chart.layout.labels.captions.serieNameAbbreviation ? ae({
|
|
604
604
|
source: W.value[e].name,
|
|
605
605
|
length: M.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize
|
|
606
606
|
}) : W.value[e].name) + (M.value.style.chart.layout.labels.captions.showPercentage || M.value.style.chart.layout.labels.captions.showValue ? ":" : "");
|
|
607
607
|
return `${M.value.style.chart.layout.labels.captions.showSerieName ? a : ""} ${Mn({
|
|
608
|
-
val:
|
|
609
|
-
percentage:
|
|
608
|
+
val: n,
|
|
609
|
+
percentage: r,
|
|
610
610
|
showVal: M.value.style.chart.layout.labels.captions.showValue,
|
|
611
611
|
showPercentage: M.value.style.chart.layout.labels.captions.showPercentage,
|
|
612
612
|
config: M.value.style.chart.layout.labels.dataLabels
|
|
613
613
|
})}`;
|
|
614
614
|
}
|
|
615
615
|
function Gn(e = null) {
|
|
616
|
-
|
|
616
|
+
Re(() => {
|
|
617
617
|
let t = Z.value.head.map((e, t) => [
|
|
618
618
|
[e.name],
|
|
619
619
|
[Z.value.body[t]],
|
|
620
620
|
[isNaN(Z.value.body[t] / Y.value) ? "-" : Z.value.body[t] / Y.value * 100]
|
|
621
|
-
]), n =
|
|
621
|
+
]), n = re([
|
|
622
622
|
[M.value.style.chart.title.text],
|
|
623
623
|
[M.value.style.chart.title.subtitle.text],
|
|
624
624
|
[
|
|
@@ -627,16 +627,16 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
627
627
|
["%"]
|
|
628
628
|
]
|
|
629
629
|
].concat(t));
|
|
630
|
-
e ? e(n) :
|
|
630
|
+
e ? e(n) : o({
|
|
631
631
|
csvContent: n,
|
|
632
632
|
title: M.value.style.chart.title.text || "vue-ui-waffle"
|
|
633
633
|
});
|
|
634
634
|
});
|
|
635
635
|
}
|
|
636
|
-
let Q =
|
|
636
|
+
let Q = l(() => ({
|
|
637
637
|
head: [
|
|
638
638
|
" <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>",
|
|
639
|
-
|
|
639
|
+
s(M.value.style.chart.layout.labels.dataLabels.formatter, Y.value, i({
|
|
640
640
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
641
641
|
v: Y.value,
|
|
642
642
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -644,19 +644,19 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
644
644
|
})),
|
|
645
645
|
"100%"
|
|
646
646
|
],
|
|
647
|
-
body: Z.value.head.map((e,
|
|
647
|
+
body: Z.value.head.map((e, t) => [
|
|
648
648
|
{
|
|
649
649
|
color: e.color,
|
|
650
650
|
name: e.name
|
|
651
651
|
},
|
|
652
|
-
|
|
652
|
+
s(M.value.style.chart.layout.labels.dataLabels.formatter, Z.value.body[t], i({
|
|
653
653
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
654
|
-
v: Z.value.body[
|
|
654
|
+
v: Z.value.body[t],
|
|
655
655
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
656
656
|
r: M.value.table.td.roundingValue
|
|
657
657
|
})),
|
|
658
|
-
isNaN(Z.value.body[
|
|
659
|
-
v: Z.value.body[
|
|
658
|
+
isNaN(Z.value.body[t] / Y.value) ? "-" : i({
|
|
659
|
+
v: Z.value.body[t] / Y.value * 100,
|
|
660
660
|
s: "%",
|
|
661
661
|
r: M.value.table.td.roundingPercentage
|
|
662
662
|
})
|
|
@@ -680,9 +680,9 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
680
680
|
M.value.table.columnNames.value,
|
|
681
681
|
M.value.table.columnNames.percentage
|
|
682
682
|
]
|
|
683
|
-
})), $ =
|
|
683
|
+
})), $ = y(!1);
|
|
684
684
|
function Kn(e) {
|
|
685
|
-
$.value = e,
|
|
685
|
+
$.value = e, At.value += 1;
|
|
686
686
|
}
|
|
687
687
|
function qn() {
|
|
688
688
|
L.value.showTable = !L.value.showTable;
|
|
@@ -690,14 +690,14 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
690
690
|
function Jn() {
|
|
691
691
|
L.value.showTooltip = !L.value.showTooltip;
|
|
692
692
|
}
|
|
693
|
-
let Yn =
|
|
693
|
+
let Yn = y(!1);
|
|
694
694
|
function Xn() {
|
|
695
695
|
Yn.value = !Yn.value;
|
|
696
696
|
}
|
|
697
697
|
async function Zn({ scale: e = 2 } = {}) {
|
|
698
|
-
if (!
|
|
699
|
-
let { width: t, height: n } =
|
|
700
|
-
domElement:
|
|
698
|
+
if (!A.value) return;
|
|
699
|
+
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
|
|
700
|
+
domElement: A.value,
|
|
701
701
|
base64: !0,
|
|
702
702
|
img: !0,
|
|
703
703
|
scale: e
|
|
@@ -711,7 +711,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
711
711
|
aspectRatio: r
|
|
712
712
|
};
|
|
713
713
|
}
|
|
714
|
-
let Qn =
|
|
714
|
+
let Qn = l(() => {
|
|
715
715
|
let e = M.value.table.useDialog && !M.value.table.show, t = L.value.showTable;
|
|
716
716
|
return {
|
|
717
717
|
component: e ? Ct : yt,
|
|
@@ -722,7 +722,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
722
722
|
headerColor: M.value.table.th.color,
|
|
723
723
|
headerBg: M.value.table.th.backgroundColor,
|
|
724
724
|
isFullscreen: $.value,
|
|
725
|
-
fullscreenParent:
|
|
725
|
+
fullscreenParent: A.value,
|
|
726
726
|
forcedWidth: Math.min(500, window.innerWidth * .8),
|
|
727
727
|
isCursorPointer: N.value
|
|
728
728
|
} : {
|
|
@@ -742,24 +742,24 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
742
742
|
}
|
|
743
743
|
};
|
|
744
744
|
});
|
|
745
|
-
|
|
746
|
-
M.value.table.show || (e && M.value.table.useDialog &&
|
|
745
|
+
w(() => L.value.showTable, (e) => {
|
|
746
|
+
M.value.table.show || (e && M.value.table.useDialog && zt.value ? zt.value.open() : "close" in zt.value && zt.value.close());
|
|
747
747
|
});
|
|
748
748
|
function $n() {
|
|
749
|
-
L.value.showTable = !1,
|
|
749
|
+
L.value.showTable = !1, Bt.value && Bt.value.setTableIconState(!1);
|
|
750
750
|
}
|
|
751
|
-
let er =
|
|
751
|
+
let er = l(() => J.value.map((e) => ({
|
|
752
752
|
...e,
|
|
753
753
|
name: e.display
|
|
754
|
-
}))), tr =
|
|
754
|
+
}))), tr = l(() => M.value.style.chart.backgroundColor), nr = l(() => M.value.style.chart.legend), { exportSvg: rr, getSvg: ir } = _e({
|
|
755
755
|
svg: P,
|
|
756
|
-
title:
|
|
756
|
+
title: l(() => M.value.style.chart.title),
|
|
757
757
|
legend: nr,
|
|
758
758
|
legendItems: er,
|
|
759
759
|
backgroundColor: tr
|
|
760
760
|
});
|
|
761
761
|
async function ar({ isCb: e }) {
|
|
762
|
-
|
|
762
|
+
Ht.value = !0, await Re();
|
|
763
763
|
try {
|
|
764
764
|
if (e) {
|
|
765
765
|
let { blob: e, url: t, text: n, dataUrl: r } = await ir();
|
|
@@ -771,16 +771,16 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
771
771
|
}));
|
|
772
772
|
} else await Promise.resolve(rr());
|
|
773
773
|
} finally {
|
|
774
|
-
|
|
774
|
+
Ht.value = !1;
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
777
|
function or(e) {
|
|
778
778
|
if (e?.stage === "start") {
|
|
779
|
-
|
|
779
|
+
Vt.value = !0;
|
|
780
780
|
return;
|
|
781
781
|
}
|
|
782
782
|
if (e?.stage === "end") {
|
|
783
|
-
|
|
783
|
+
Vt.value = !1;
|
|
784
784
|
return;
|
|
785
785
|
}
|
|
786
786
|
on();
|
|
@@ -799,27 +799,27 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
799
799
|
}));
|
|
800
800
|
}
|
|
801
801
|
function cr() {
|
|
802
|
-
|
|
802
|
+
j.value = null, Gt.value = !0;
|
|
803
803
|
}
|
|
804
804
|
function lr() {
|
|
805
|
-
|
|
805
|
+
j.value = null, Wt.value = "pointer", O.value = !1, k.value = null, Fn.value = null, Gt.value = !1;
|
|
806
806
|
}
|
|
807
807
|
function ur(e) {
|
|
808
808
|
if (!P.value || Yn.value || document.activeElement !== P.value || !X.value.length || K.value.length === E.dataset.length) return;
|
|
809
809
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
810
810
|
if (!t && !n && !r && !i) return;
|
|
811
811
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
812
|
-
|
|
812
|
+
j.value = null, Wt.value = "pointer", O.value = !1, k.value = null, Fn.value = null;
|
|
813
813
|
return;
|
|
814
814
|
}
|
|
815
815
|
if (r) {
|
|
816
|
-
if (
|
|
817
|
-
let e = Ln(
|
|
816
|
+
if (j.value === null) return;
|
|
817
|
+
let e = Ln(j.value);
|
|
818
818
|
if (e === null) return;
|
|
819
819
|
Rn(e);
|
|
820
820
|
return;
|
|
821
821
|
}
|
|
822
|
-
let a = X.value.findIndex((e) => e.serieIndex ===
|
|
822
|
+
let a = X.value.findIndex((e) => e.serieIndex === j.value), o = null;
|
|
823
823
|
if (o = a === -1 ? n ? X.value[0] : X.value[X.value.length - 1] : n ? X.value[(a + 1) % X.value.length] : X.value[(a - 1 + X.value.length) % X.value.length], !o) return;
|
|
824
824
|
let ee = Ln(o.serieIndex);
|
|
825
825
|
ee !== null && (dr(o.serieIndex), Bn(ee, "keyboard"));
|
|
@@ -836,17 +836,17 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
836
836
|
} : null;
|
|
837
837
|
}).filter(Boolean);
|
|
838
838
|
if (!n.length) return;
|
|
839
|
-
let r = Math.min(...n.map((e) => e.x)), i = Math.max(...n.map((e) => e.x)), a = Math.min(...n.map((e) => e.y)), o = Math.max(...n.map((e) => e.y)), ee = (r + i) / 2,
|
|
840
|
-
|
|
841
|
-
x:
|
|
842
|
-
y:
|
|
839
|
+
let r = Math.min(...n.map((e) => e.x)), i = Math.max(...n.map((e) => e.x)), a = Math.min(...n.map((e) => e.y)), o = Math.max(...n.map((e) => e.y)), ee = (r + i) / 2, te = (a + o) / 2, ne = P.value.getBoundingClientRect();
|
|
840
|
+
Ut.value = {
|
|
841
|
+
x: ne.left + ee / R.value.width * ne.width,
|
|
842
|
+
y: ne.top + te / R.value.height * ne.height
|
|
843
843
|
};
|
|
844
844
|
}
|
|
845
|
-
let fr =
|
|
845
|
+
let fr = l(() => ({
|
|
846
846
|
headers: Q.value?.colNames ?? [],
|
|
847
847
|
rows: Q.value?.body ?? []
|
|
848
848
|
}));
|
|
849
|
-
return
|
|
849
|
+
return Ce({
|
|
850
850
|
getData: vn,
|
|
851
851
|
getImage: Zn,
|
|
852
852
|
generatePdf: an,
|
|
@@ -860,20 +860,20 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
860
860
|
toggleAnnotator: Xn,
|
|
861
861
|
toggleFullscreen: Kn,
|
|
862
862
|
copyAlt: sr
|
|
863
|
-
}), (e, t) => (
|
|
864
|
-
class:
|
|
863
|
+
}), (e, t) => (v(), f("div", {
|
|
864
|
+
class: ze(`vue-data-ui-component vue-ui-waffle ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
865
865
|
ref_key: "waffleChart",
|
|
866
|
-
ref:
|
|
866
|
+
ref: A,
|
|
867
867
|
id: `vue-ui-waffle_${D.value}`,
|
|
868
|
-
style:
|
|
869
|
-
onMouseenter: t[2] ||= () =>
|
|
870
|
-
onMouseleave: t[3] ||= () =>
|
|
868
|
+
style: _(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
|
|
869
|
+
onMouseenter: t[2] ||= () => C(Zt)(!0),
|
|
870
|
+
onMouseleave: t[3] ||= () => C(Zt)(!1)
|
|
871
871
|
}, [
|
|
872
|
-
|
|
872
|
+
p("div", {
|
|
873
873
|
id: `chart-instructions-${D.value}`,
|
|
874
874
|
class: "sr-only"
|
|
875
|
-
}, [
|
|
876
|
-
fr.value?.rows?.length ? (
|
|
875
|
+
}, [p("p", null, S(M.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
|
|
876
|
+
fr.value?.rows?.length ? (v(), u(De, {
|
|
877
877
|
key: 0,
|
|
878
878
|
uid: D.value,
|
|
879
879
|
head: fr.value.headers,
|
|
@@ -886,22 +886,22 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
886
886
|
"body",
|
|
887
887
|
"notice",
|
|
888
888
|
"caption"
|
|
889
|
-
])) :
|
|
890
|
-
M.value.userOptions.buttons.annotator ? (
|
|
889
|
+
])) : d("", !0),
|
|
890
|
+
M.value.userOptions.buttons.annotator ? (v(), u(C(xt), {
|
|
891
891
|
key: 1,
|
|
892
|
-
svgRef:
|
|
892
|
+
svgRef: C(P),
|
|
893
893
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
894
894
|
color: M.value.style.chart.color,
|
|
895
895
|
active: Yn.value,
|
|
896
896
|
isCursorPointer: N.value,
|
|
897
897
|
onClose: Xn
|
|
898
898
|
}, {
|
|
899
|
-
"annotator-action-close": T(() => [
|
|
900
|
-
"annotator-action-color": T(({ color: t }) => [
|
|
901
|
-
"annotator-action-draw": T(({ mode: t }) => [
|
|
902
|
-
"annotator-action-undo": T(({ disabled: t }) => [
|
|
903
|
-
"annotator-action-redo": T(({ disabled: t }) => [
|
|
904
|
-
"annotator-action-delete": T(({ disabled: t }) => [
|
|
899
|
+
"annotator-action-close": T(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
900
|
+
"annotator-action-color": T(({ color: t }) => [x(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
|
|
901
|
+
"annotator-action-draw": T(({ mode: t }) => [x(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
|
|
902
|
+
"annotator-action-undo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
|
|
903
|
+
"annotator-action-redo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
|
|
904
|
+
"annotator-action-delete": T(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
|
|
905
905
|
_: 3
|
|
906
906
|
}, 8, [
|
|
907
907
|
"svgRef",
|
|
@@ -909,21 +909,21 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
909
909
|
"color",
|
|
910
910
|
"active",
|
|
911
911
|
"isCursorPointer"
|
|
912
|
-
])) :
|
|
913
|
-
sn.value ? (
|
|
912
|
+
])) : d("", !0),
|
|
913
|
+
sn.value ? (v(), f("div", {
|
|
914
914
|
key: 2,
|
|
915
915
|
ref_key: "noTitle",
|
|
916
|
-
ref:
|
|
916
|
+
ref: Pt,
|
|
917
917
|
class: "vue-data-ui-no-title-space",
|
|
918
918
|
style: "height:36px; width: 100%;background:transparent"
|
|
919
|
-
}, null, 512)) :
|
|
920
|
-
M.value.style.chart.title.text ? (
|
|
919
|
+
}, null, 512)) : d("", !0),
|
|
920
|
+
M.value.style.chart.title.text ? (v(), f("div", {
|
|
921
921
|
key: 3,
|
|
922
922
|
ref_key: "chartTitle",
|
|
923
|
-
ref:
|
|
923
|
+
ref: jt,
|
|
924
924
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
925
|
-
}, [(
|
|
926
|
-
key: `title_${
|
|
925
|
+
}, [(v(), u(xe, {
|
|
926
|
+
key: `title_${Ft.value}`,
|
|
927
927
|
config: {
|
|
928
928
|
title: {
|
|
929
929
|
cy: "waffle-title",
|
|
@@ -934,16 +934,16 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
934
934
|
...M.value.style.chart.title.subtitle
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
|
-
}, null, 8, ["config"]))], 512)) :
|
|
938
|
-
|
|
939
|
-
M.value.userOptions.show && Ot.value && (
|
|
937
|
+
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
938
|
+
p("div", { id: `legend-top-${D.value}` }, null, 8, Ye),
|
|
939
|
+
M.value.userOptions.show && Ot.value && (C(Qt) || C(Xt)) ? (v(), u(C(bt), {
|
|
940
940
|
ref_key: "userOptionsRef",
|
|
941
|
-
ref:
|
|
942
|
-
key: `user_options_${
|
|
941
|
+
ref: Bt,
|
|
942
|
+
key: `user_options_${At.value}`,
|
|
943
943
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
944
944
|
color: M.value.style.chart.color,
|
|
945
|
-
isPrinting:
|
|
946
|
-
isImaging:
|
|
945
|
+
isPrinting: C(nn),
|
|
946
|
+
isImaging: C(rn),
|
|
947
947
|
uid: D.value,
|
|
948
948
|
hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
|
|
949
949
|
hasPdf: M.value.userOptions.buttons.pdf,
|
|
@@ -956,7 +956,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
956
956
|
isFullscreen: $.value,
|
|
957
957
|
isTooltip: L.value.showTooltip,
|
|
958
958
|
titles: { ...M.value.userOptions.buttonTitles },
|
|
959
|
-
chartElement:
|
|
959
|
+
chartElement: A.value,
|
|
960
960
|
position: M.value.userOptions.position,
|
|
961
961
|
hasAnnotator: M.value.userOptions.buttons.annotator,
|
|
962
962
|
isAnnotation: Yn.value,
|
|
@@ -965,7 +965,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
965
965
|
tableDialog: M.value.table.useDialog,
|
|
966
966
|
isCursorPointer: N.value,
|
|
967
967
|
onToggleFullscreen: Kn,
|
|
968
|
-
onGeneratePdf:
|
|
968
|
+
onGeneratePdf: C(an),
|
|
969
969
|
onGenerateCsv: Gn,
|
|
970
970
|
onGenerateImage: or,
|
|
971
971
|
onGenerateSvg: ar,
|
|
@@ -973,11 +973,11 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
973
973
|
onToggleTooltip: Jn,
|
|
974
974
|
onToggleAnnotator: Xn,
|
|
975
975
|
onCopyAlt: sr,
|
|
976
|
-
style:
|
|
977
|
-
},
|
|
976
|
+
style: _({ visibility: C(Qt) ? C(Xt) ? "visible" : "hidden" : "visible" })
|
|
977
|
+
}, Pe({ _: 2 }, [
|
|
978
978
|
e.$slots.menuIcon ? {
|
|
979
979
|
name: "menuIcon",
|
|
980
|
-
fn: T(({ isOpen: t, color: n }) => [
|
|
980
|
+
fn: T(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", g(h({
|
|
981
981
|
isOpen: t,
|
|
982
982
|
color: n
|
|
983
983
|
})), void 0, !0)]),
|
|
@@ -985,37 +985,37 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
985
985
|
} : void 0,
|
|
986
986
|
e.$slots.optionTooltip ? {
|
|
987
987
|
name: "optionTooltip",
|
|
988
|
-
fn: T(() => [
|
|
988
|
+
fn: T(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
989
989
|
key: "1"
|
|
990
990
|
} : void 0,
|
|
991
991
|
e.$slots.optionPdf ? {
|
|
992
992
|
name: "optionPdf",
|
|
993
|
-
fn: T(() => [
|
|
993
|
+
fn: T(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
994
994
|
key: "2"
|
|
995
995
|
} : void 0,
|
|
996
996
|
e.$slots.optionCsv ? {
|
|
997
997
|
name: "optionCsv",
|
|
998
|
-
fn: T(() => [
|
|
998
|
+
fn: T(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
999
999
|
key: "3"
|
|
1000
1000
|
} : void 0,
|
|
1001
1001
|
e.$slots.optionImg ? {
|
|
1002
1002
|
name: "optionImg",
|
|
1003
|
-
fn: T(() => [
|
|
1003
|
+
fn: T(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1004
1004
|
key: "4"
|
|
1005
1005
|
} : void 0,
|
|
1006
1006
|
e.$slots.optionSvg ? {
|
|
1007
1007
|
name: "optionSvg",
|
|
1008
|
-
fn: T(() => [
|
|
1008
|
+
fn: T(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1009
1009
|
key: "5"
|
|
1010
1010
|
} : void 0,
|
|
1011
1011
|
e.$slots.optionTable ? {
|
|
1012
1012
|
name: "optionTable",
|
|
1013
|
-
fn: T(() => [
|
|
1013
|
+
fn: T(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1014
1014
|
key: "6"
|
|
1015
1015
|
} : void 0,
|
|
1016
1016
|
e.$slots.optionFullscreen ? {
|
|
1017
1017
|
name: "optionFullscreen",
|
|
1018
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
1018
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", g(h({
|
|
1019
1019
|
toggleFullscreen: t,
|
|
1020
1020
|
isFullscreen: n
|
|
1021
1021
|
})), void 0, !0)]),
|
|
@@ -1023,7 +1023,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1023
1023
|
} : void 0,
|
|
1024
1024
|
e.$slots.optionAnnotator ? {
|
|
1025
1025
|
name: "optionAnnotator",
|
|
1026
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
1026
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", g(h({
|
|
1027
1027
|
toggleAnnotator: t,
|
|
1028
1028
|
isAnnotator: n
|
|
1029
1029
|
})), void 0, !0)]),
|
|
@@ -1031,71 +1031,71 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1031
1031
|
} : void 0,
|
|
1032
1032
|
e.$slots.optionAltCopy ? {
|
|
1033
1033
|
name: "optionAltCopy",
|
|
1034
|
-
fn: T(({ altCopy: t }) => [
|
|
1034
|
+
fn: T(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
|
|
1035
1035
|
key: "9"
|
|
1036
1036
|
} : void 0,
|
|
1037
1037
|
e.$slots["custom-menu-before"] ? {
|
|
1038
1038
|
name: "custom-menu-before",
|
|
1039
|
-
fn: T(() => [
|
|
1039
|
+
fn: T(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1040
1040
|
key: "10"
|
|
1041
1041
|
} : void 0,
|
|
1042
1042
|
e.$slots["custom-menu-after"] ? {
|
|
1043
1043
|
name: "custom-menu-after",
|
|
1044
|
-
fn: T(() => [
|
|
1044
|
+
fn: T(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1045
1045
|
key: "11"
|
|
1046
1046
|
} : void 0
|
|
1047
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
1048
|
-
|
|
1047
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : d("", !0),
|
|
1048
|
+
p("div", Xe, [(v(), f("svg", {
|
|
1049
1049
|
ref_key: "svgRef",
|
|
1050
1050
|
ref: P,
|
|
1051
|
-
xmlns:
|
|
1051
|
+
xmlns: C(ue),
|
|
1052
1052
|
"aria-describedby": `chart-instructions-${D.value}`,
|
|
1053
|
-
class:
|
|
1053
|
+
class: ze({
|
|
1054
1054
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1055
1055
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1056
1056
|
}),
|
|
1057
1057
|
tabindex: "0",
|
|
1058
1058
|
viewBox: `0 0 ${R.value.width <= 0 ? 10 : R.value.width} ${R.value.height <= 0 ? 10 : R.value.height}`,
|
|
1059
|
-
style:
|
|
1059
|
+
style: _(`max-width:100%;overflow:visible;background:transparent;color:${M.value.style.chart.color}`),
|
|
1060
1060
|
onFocus: cr,
|
|
1061
1061
|
onBlur: lr,
|
|
1062
1062
|
onKeydown: ur
|
|
1063
1063
|
}, [
|
|
1064
|
-
|
|
1065
|
-
|
|
1064
|
+
Ie(C(St)),
|
|
1065
|
+
p("defs", null, [(v(!0), f(c, null, b(W.value, (e, t) => (v(), f("radialGradient", {
|
|
1066
1066
|
cx: "50%",
|
|
1067
1067
|
cy: "50%",
|
|
1068
1068
|
r: "50%",
|
|
1069
1069
|
fx: "50%",
|
|
1070
1070
|
fy: "50%",
|
|
1071
1071
|
id: `gradient_${D.value}_${t}`
|
|
1072
|
-
}, [
|
|
1072
|
+
}, [p("stop", {
|
|
1073
1073
|
offset: "0%",
|
|
1074
|
-
"stop-color":
|
|
1075
|
-
}, null, 8, $e),
|
|
1074
|
+
"stop-color": C(ee)(C(te)(e.color, .05), 100 - M.value.style.chart.layout.rect.gradientIntensity)
|
|
1075
|
+
}, null, 8, $e), p("stop", {
|
|
1076
1076
|
offset: "100%",
|
|
1077
1077
|
"stop-color": e.color
|
|
1078
1078
|
}, null, 8, et)], 8, Qe))), 256))]),
|
|
1079
|
-
|
|
1079
|
+
p("defs", null, [p("filter", {
|
|
1080
1080
|
id: `blur_${D.value}`,
|
|
1081
1081
|
x: "-50%",
|
|
1082
1082
|
y: "-50%",
|
|
1083
1083
|
width: "200%",
|
|
1084
1084
|
height: "200%"
|
|
1085
|
-
}, [...t[4] ||= [
|
|
1085
|
+
}, [...t[4] ||= [p("feGaussianBlur", {
|
|
1086
1086
|
in: "SourceGraphic",
|
|
1087
1087
|
stdDeviation: 2
|
|
1088
|
-
}, null, -1),
|
|
1088
|
+
}, null, -1), p("feColorMatrix", {
|
|
1089
1089
|
type: "saturate",
|
|
1090
1090
|
values: "0"
|
|
1091
1091
|
}, null, -1)]], 8, tt)]),
|
|
1092
|
-
M.value.useCustomCells && W.value.length && e.$slots.cell ? (
|
|
1092
|
+
M.value.useCustomCells && W.value.length && e.$slots.cell ? (v(!0), f(c, { key: 0 }, b(G.value, (t, n) => (v(), f("foreignObject", {
|
|
1093
1093
|
x: t.x,
|
|
1094
1094
|
y: t.y,
|
|
1095
1095
|
height: V.value <= 0 ? 1e-4 : V.value,
|
|
1096
1096
|
width: B.value <= 0 ? 1e-4 : B.value,
|
|
1097
1097
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
1098
|
-
}, [
|
|
1098
|
+
}, [x(e.$slots, "cell", Le({ ref_for: !0 }, {
|
|
1099
1099
|
cell: {
|
|
1100
1100
|
...t,
|
|
1101
1101
|
color: W.value[n].color,
|
|
@@ -1103,9 +1103,9 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1103
1103
|
width: Math.max(0, B.value),
|
|
1104
1104
|
...W.value[n]
|
|
1105
1105
|
},
|
|
1106
|
-
isSelected: [null, void 0].includes(
|
|
1107
|
-
}), void 0, !0)], 8, nt))), 256)) :
|
|
1108
|
-
!W.value.length && !M.value.useCustomCells ? (
|
|
1106
|
+
isSelected: [null, void 0].includes(k.value) ? !0 : W.value[n].serieIndex === k.value
|
|
1107
|
+
}), void 0, !0)], 8, nt))), 256)) : d("", !0),
|
|
1108
|
+
!W.value.length && !M.value.useCustomCells ? (v(), f("rect", {
|
|
1109
1109
|
key: 1,
|
|
1110
1110
|
x: 12,
|
|
1111
1111
|
y: 12,
|
|
@@ -1114,12 +1114,12 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1114
1114
|
rx: 3,
|
|
1115
1115
|
fill: "none",
|
|
1116
1116
|
stroke: "black"
|
|
1117
|
-
}, null, 8, rt)) : W.value.length && !M.value.useCustomCells ? (
|
|
1118
|
-
e.$slots.pattern ? (
|
|
1117
|
+
}, null, 8, rt)) : W.value.length && !M.value.useCustomCells ? (v(), f(c, { key: 2 }, [
|
|
1118
|
+
e.$slots.pattern ? (v(), f("g", it, [(v(!0), f(c, null, b(mn.value, (t) => (v(), f("defs", null, [x(e.$slots, "pattern", Le({ ref_for: !0 }, {
|
|
1119
1119
|
seriesIndex: t.absoluteIndex,
|
|
1120
1120
|
patternId: `pattern_${D.value}_${t.absoluteIndex}`
|
|
1121
|
-
}), void 0, !0)]))), 256))])) :
|
|
1122
|
-
(
|
|
1121
|
+
}), void 0, !0)]))), 256))])) : d("", !0),
|
|
1122
|
+
(v(!0), f(c, null, b(G.value, (e, t) => (v(), f("rect", {
|
|
1123
1123
|
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1124
1124
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1125
1125
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -1130,7 +1130,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1130
1130
|
"stroke-width": M.value.style.chart.layout.rect.strokeWidth,
|
|
1131
1131
|
filter: Hn(W.value[t].serieIndex)
|
|
1132
1132
|
}, null, 8, at))), 256)),
|
|
1133
|
-
(
|
|
1133
|
+
(v(!0), f(c, null, b(G.value, (e, t) => (v(), f("rect", {
|
|
1134
1134
|
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1135
1135
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1136
1136
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -1141,7 +1141,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1141
1141
|
"stroke-width": M.value.style.chart.layout.rect.strokeWidth,
|
|
1142
1142
|
filter: Hn(W.value[t].serieIndex)
|
|
1143
1143
|
}, null, 8, ot))), 256)),
|
|
1144
|
-
e.$slots.pattern ? (
|
|
1144
|
+
e.$slots.pattern ? (v(), f("g", st, [(v(!0), f(c, null, b(G.value, (e, t) => (v(), f("rect", {
|
|
1145
1145
|
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1146
1146
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1147
1147
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -1150,9 +1150,9 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1150
1150
|
fill: `url(#pattern_${D.value}_${W.value[t].absoluteIndex})`,
|
|
1151
1151
|
stroke: "none",
|
|
1152
1152
|
filter: Hn(W.value[t].serieIndex)
|
|
1153
|
-
}, null, 8, ct))), 256))])) :
|
|
1154
|
-
], 64)) :
|
|
1155
|
-
e.$slots.cellSvg ? (
|
|
1153
|
+
}, null, 8, ct))), 256))])) : d("", !0)
|
|
1154
|
+
], 64)) : d("", !0),
|
|
1155
|
+
e.$slots.cellSvg ? (v(!0), f(c, { key: 3 }, b(G.value, (t, n) => (v(), f("g", null, [x(e.$slots, "cellSvg", Le({ ref_for: !0 }, {
|
|
1156
1156
|
cell: {
|
|
1157
1157
|
...t,
|
|
1158
1158
|
color: W.value[n].color,
|
|
@@ -1160,18 +1160,18 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1160
1160
|
width: Math.max(0, B.value),
|
|
1161
1161
|
...W.value[n]
|
|
1162
1162
|
},
|
|
1163
|
-
isSelected: [null, void 0].includes(
|
|
1164
|
-
}), void 0, !0)]))), 256)) :
|
|
1165
|
-
(
|
|
1163
|
+
isSelected: [null, void 0].includes(k.value) ? !0 : W.value[n].serieIndex === k.value
|
|
1164
|
+
}), void 0, !0)]))), 256)) : d("", !0),
|
|
1165
|
+
(v(!0), f(c, null, b(G.value, (e, t) => (v(), f(c, null, [Un(t, e) ? (v(), f("text", {
|
|
1166
1166
|
key: `datalabel_${t}`,
|
|
1167
|
-
textContent:
|
|
1167
|
+
textContent: S(Wn(t, e)),
|
|
1168
1168
|
x: e.x + M.value.style.chart.layout.labels.captions.offsetX + M.value.style.chart.layout.grid.spaceBetween / 2 + 6,
|
|
1169
1169
|
y: e.y + M.value.style.chart.layout.labels.captions.offsetY + M.value.style.chart.layout.grid.spaceBetween / 2 + un.value / 2 + M.value.style.chart.layout.labels.captions.fontSize / 3,
|
|
1170
1170
|
"font-size": M.value.style.chart.layout.labels.captions.fontSize,
|
|
1171
|
-
fill:
|
|
1171
|
+
fill: C(le)(W.value[t].color),
|
|
1172
1172
|
filter: Hn(W.value[t].serieIndex)
|
|
1173
|
-
}, null, 8, lt)) :
|
|
1174
|
-
(
|
|
1173
|
+
}, null, 8, lt)) : d("", !0)], 64))), 256)),
|
|
1174
|
+
(v(!0), f(c, null, b(G.value, (e, t) => (v(), f("rect", {
|
|
1175
1175
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1176
1176
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1177
1177
|
height: un.value,
|
|
@@ -1182,35 +1182,35 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1182
1182
|
onMouseleave: (e) => zn(t),
|
|
1183
1183
|
onClick: (e) => Rn(t)
|
|
1184
1184
|
}, null, 40, ut))), 256)),
|
|
1185
|
-
|
|
1185
|
+
x(e.$slots, "svg", { svg: {
|
|
1186
1186
|
...R.value,
|
|
1187
|
-
isPrintingImg:
|
|
1188
|
-
isPrintingSvg:
|
|
1187
|
+
isPrintingImg: C(nn) || C(rn) || Vt.value,
|
|
1188
|
+
isPrintingSvg: Ht.value
|
|
1189
1189
|
} }, void 0, !0)
|
|
1190
|
-
], 46, Ze)), e.$slots.hint ? (
|
|
1190
|
+
], 46, Ze)), e.$slots.hint ? (v(), f("div", dt, [x(e.$slots, "hint", g(h({
|
|
1191
1191
|
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1192
1192
|
isVisible: Gt.value
|
|
1193
|
-
})), void 0, !0)])) :
|
|
1194
|
-
e.$slots.watermark ? (
|
|
1195
|
-
|
|
1196
|
-
|
|
1193
|
+
})), void 0, !0)])) : d("", !0)]),
|
|
1194
|
+
e.$slots.watermark ? (v(), f("div", ft, [x(e.$slots, "watermark", g(h({ isPrinting: C(nn) || C(rn) || Vt.value || Ht.value })), void 0, !0)])) : d("", !0),
|
|
1195
|
+
p("div", { id: `legend-bottom-${D.value}` }, null, 8, pt),
|
|
1196
|
+
Rt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (v(), u(Ne, {
|
|
1197
1197
|
key: 6,
|
|
1198
1198
|
to: M.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
|
|
1199
|
-
}, [
|
|
1199
|
+
}, [p("div", {
|
|
1200
1200
|
ref_key: "chartLegend",
|
|
1201
|
-
ref:
|
|
1202
|
-
}, [
|
|
1203
|
-
key: `legend_${
|
|
1201
|
+
ref: Mt
|
|
1202
|
+
}, [x(e.$slots, "legend", { legend: J.value }, () => [M.value.style.chart.legend.show ? (v(), u(je, {
|
|
1203
|
+
key: `legend_${Lt.value}`,
|
|
1204
1204
|
legendSet: J.value,
|
|
1205
1205
|
config: Nn.value,
|
|
1206
1206
|
isCursorPointer: N.value,
|
|
1207
1207
|
onClickMarker: t[0] ||= ({ legend: e }) => q(e.uid)
|
|
1208
|
-
},
|
|
1209
|
-
item: T(({ legend: e }) => [
|
|
1208
|
+
}, Pe({
|
|
1209
|
+
item: T(({ legend: e }) => [p("div", {
|
|
1210
1210
|
onClick: (t) => e.segregate(),
|
|
1211
|
-
style:
|
|
1212
|
-
},
|
|
1213
|
-
legendToggle: T(() => [J.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !
|
|
1211
|
+
style: _(`opacity:${K.value.includes(e.uid) ? .5 : 1}`)
|
|
1212
|
+
}, S(e.display), 13, mt)]),
|
|
1213
|
+
legendToggle: T(() => [J.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !C(qt) ? (v(), u(Ee, {
|
|
1214
1214
|
key: 0,
|
|
1215
1215
|
backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1216
1216
|
color: M.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1224,11 +1224,11 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1224
1224
|
"fontSize",
|
|
1225
1225
|
"checked",
|
|
1226
1226
|
"isCursorPointer"
|
|
1227
|
-
])) :
|
|
1227
|
+
])) : d("", !0)]),
|
|
1228
1228
|
_: 2
|
|
1229
1229
|
}, [e.$slots.pattern ? {
|
|
1230
1230
|
name: "legend-pattern",
|
|
1231
|
-
fn: T(({ legend: e, index: t }) => [
|
|
1231
|
+
fn: T(({ legend: e, index: t }) => [Ie(Se, {
|
|
1232
1232
|
shape: e.shape,
|
|
1233
1233
|
radius: 30,
|
|
1234
1234
|
stroke: "none",
|
|
@@ -1243,16 +1243,16 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1243
1243
|
"legendSet",
|
|
1244
1244
|
"config",
|
|
1245
1245
|
"isCursorPointer"
|
|
1246
|
-
])) :
|
|
1247
|
-
e.$slots.source ? (
|
|
1246
|
+
])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
|
|
1247
|
+
e.$slots.source ? (v(), f("div", {
|
|
1248
1248
|
key: 7,
|
|
1249
1249
|
ref_key: "source",
|
|
1250
|
-
ref:
|
|
1250
|
+
ref: Nt,
|
|
1251
1251
|
dir: "auto"
|
|
1252
|
-
}, [
|
|
1253
|
-
|
|
1252
|
+
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
1253
|
+
Ie(C(gt), {
|
|
1254
1254
|
teleportTo: M.value.style.chart.tooltip.teleportTo,
|
|
1255
|
-
show: L.value.showTooltip &&
|
|
1255
|
+
show: L.value.showTooltip && O.value && K.value.length < E.dataset.length,
|
|
1256
1256
|
backgroundColor: M.value.style.chart.tooltip.backgroundColor,
|
|
1257
1257
|
color: M.value.style.chart.tooltip.color,
|
|
1258
1258
|
borderRadius: M.value.style.chart.tooltip.borderRadius,
|
|
@@ -1262,8 +1262,8 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1262
1262
|
position: M.value.style.chart.tooltip.position,
|
|
1263
1263
|
offsetX: M.value.style.chart.tooltip.offsetX,
|
|
1264
1264
|
offsetY: M.value.style.chart.tooltip.offsetY,
|
|
1265
|
-
parent:
|
|
1266
|
-
content:
|
|
1265
|
+
parent: A.value,
|
|
1266
|
+
content: kt.value,
|
|
1267
1267
|
isCustom: M.value.style.chart.tooltip.customFormat && typeof M.value.style.chart.tooltip.customFormat == "function",
|
|
1268
1268
|
fontSize: M.value.style.chart.tooltip.fontSize,
|
|
1269
1269
|
isFullscreen: $.value,
|
|
@@ -1271,12 +1271,12 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1271
1271
|
backdropFilter: M.value.style.chart.tooltip.backdropFilter,
|
|
1272
1272
|
smoothForce: M.value.style.chart.tooltip.smoothForce,
|
|
1273
1273
|
smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1274
|
-
isA11yMode:
|
|
1275
|
-
a11yPosition:
|
|
1274
|
+
isA11yMode: Wt.value === "keyboard",
|
|
1275
|
+
a11yPosition: Ut.value
|
|
1276
1276
|
}, {
|
|
1277
|
-
"tooltip-before": T(() => [
|
|
1278
|
-
tooltip: T(() => [
|
|
1279
|
-
"tooltip-after": T(() => [
|
|
1277
|
+
"tooltip-before": T(() => [x(e.$slots, "tooltip-before", g(h({ ...Pn.value })), void 0, !0)]),
|
|
1278
|
+
tooltip: T(() => [x(e.$slots, "tooltip", g(h({ ...Pn.value })), void 0, !0)]),
|
|
1279
|
+
"tooltip-after": T(() => [x(e.$slots, "tooltip-after", g(h({ ...Pn.value })), void 0, !0)]),
|
|
1280
1280
|
_: 3
|
|
1281
1281
|
}, 8, [
|
|
1282
1282
|
"teleportTo",
|
|
@@ -1302,13 +1302,13 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1302
1302
|
"isA11yMode",
|
|
1303
1303
|
"a11yPosition"
|
|
1304
1304
|
]),
|
|
1305
|
-
Ot.value && M.value.userOptions.buttons.table ? (
|
|
1305
|
+
Ot.value && M.value.userOptions.buttons.table ? (v(), u(He(Qn.value.component), Le({ key: 8 }, Qn.value.props, {
|
|
1306
1306
|
ref_key: "tableUnit",
|
|
1307
|
-
ref:
|
|
1307
|
+
ref: zt,
|
|
1308
1308
|
onClose: $n
|
|
1309
|
-
}),
|
|
1310
|
-
content: T(() => [(
|
|
1311
|
-
key: `table_${
|
|
1309
|
+
}), Pe({
|
|
1310
|
+
content: T(() => [(v(), u(C(vt), {
|
|
1311
|
+
key: `table_${It.value}`,
|
|
1312
1312
|
colNames: Q.value.colNames,
|
|
1313
1313
|
head: Q.value.head,
|
|
1314
1314
|
body: Q.value.body,
|
|
@@ -1318,14 +1318,14 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1318
1318
|
isCursorPointer: N.value,
|
|
1319
1319
|
onClose: $n
|
|
1320
1320
|
}, {
|
|
1321
|
-
th: T(({ th: e }) => [
|
|
1321
|
+
th: T(({ th: e }) => [p("div", {
|
|
1322
1322
|
innerHTML: e,
|
|
1323
1323
|
style: {
|
|
1324
1324
|
display: "flex",
|
|
1325
1325
|
"align-items": "center"
|
|
1326
1326
|
}
|
|
1327
1327
|
}, null, 8, ht)]),
|
|
1328
|
-
td: T(({ td: e }) => [
|
|
1328
|
+
td: T(({ td: e }) => [Fe(S(e.name || e), 1)]),
|
|
1329
1329
|
_: 1
|
|
1330
1330
|
}, 8, [
|
|
1331
1331
|
"colNames",
|
|
@@ -1339,22 +1339,22 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1339
1339
|
_: 2
|
|
1340
1340
|
}, [M.value.table.useDialog ? {
|
|
1341
1341
|
name: "title",
|
|
1342
|
-
fn: T(() => [
|
|
1342
|
+
fn: T(() => [Fe(S(Qn.value.title), 1)]),
|
|
1343
1343
|
key: "0"
|
|
1344
1344
|
} : void 0, M.value.table.useDialog ? {
|
|
1345
1345
|
name: "actions",
|
|
1346
|
-
fn: T(() => [
|
|
1346
|
+
fn: T(() => [p("button", {
|
|
1347
1347
|
tabindex: "0",
|
|
1348
1348
|
class: "vue-ui-user-options-button",
|
|
1349
1349
|
onClick: t[1] ||= (e) => Gn(M.value.userOptions.callbacks.csv),
|
|
1350
|
-
style:
|
|
1351
|
-
}, [
|
|
1350
|
+
style: _({ cursor: N.value ? "pointer" : "default" })
|
|
1351
|
+
}, [Ie(C(_t), {
|
|
1352
1352
|
name: "fileCsv",
|
|
1353
1353
|
stroke: Qn.value.props.color
|
|
1354
1354
|
}, null, 8, ["stroke"])], 4)]),
|
|
1355
1355
|
key: "1"
|
|
1356
|
-
} : void 0]), 1040)) :
|
|
1357
|
-
|
|
1356
|
+
} : void 0]), 1040)) : d("", !0),
|
|
1357
|
+
x(e.$slots, "skeleton", {}, () => [C(qt) ? (v(), u(ge, { key: 0 })) : d("", !0)], !0)
|
|
1358
1358
|
], 46, qe));
|
|
1359
1359
|
}
|
|
1360
1360
|
}, [["__scopeId", "data-v-d885b96a"]]);
|