vue-data-ui 3.20.0 → 3.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +120 -120
- package/dist/A11yDataTable-BCbtxMU6.js +0 -45
- package/dist/Arrow-D6j6ocXm.js +0 -116
- package/dist/BaseDraggableDialog-4hDW-Rj2.js +0 -272
- package/dist/BaseIcon-DfLoHNUj.js +0 -502
- package/dist/BaseLegendToggle-C_Db-y7s.js +0 -56
- package/dist/BaseScanner-Dr2a1Msy.js +0 -27
- package/dist/BaseZoomControls-CG7hI_1P.js +0 -111
- package/dist/ColorPicker-Bjwxnvfh.js +0 -255
- package/dist/DataTable-B--IN22e.js +0 -150
- package/dist/Legend-Cz2uQ5gs.js +0 -114
- package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +0 -577
- package/dist/PackageVersion-xcyrdRmY.js +0 -11
- package/dist/PenAndPaper-DqrClVfb.js +0 -461
- package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
- package/dist/RecursiveLabels-D9rfID6q.js +0 -56
- package/dist/RecursiveLinks-BygcpDiT.js +0 -78
- package/dist/Shape-BPCJfphn.js +0 -141
- package/dist/Slicer-SHBj0VaV.js +0 -1144
- package/dist/SlicerPreview-DdihbUSJ.js +0 -1668
- package/dist/SparkTooltip-CfE6yCad.js +0 -93
- package/dist/Title-NWp4qB4K.js +0 -87
- package/dist/Tooltip-BENq327o.js +0 -312
- package/dist/UserOptions-C1NgoGu6.js +0 -1411
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/canvas-lib-BOP_HS11.js +0 -79
- package/dist/components/arrow.js +0 -2
- package/dist/components/vue-ui-3d-bar.js +0 -2
- package/dist/components/vue-ui-accordion.js +0 -2
- package/dist/components/vue-ui-age-pyramid.js +0 -2
- package/dist/components/vue-ui-annotator.js +0 -2
- package/dist/components/vue-ui-bullet.js +0 -2
- package/dist/components/vue-ui-bump.js +0 -2
- package/dist/components/vue-ui-candlestick.js +0 -2
- package/dist/components/vue-ui-carousel-table.js +0 -2
- package/dist/components/vue-ui-chestnut.js +0 -2
- package/dist/components/vue-ui-chord.js +0 -2
- package/dist/components/vue-ui-circle-pack.js +0 -2
- package/dist/components/vue-ui-cursor.js +0 -2
- package/dist/components/vue-ui-dag.js +0 -2
- package/dist/components/vue-ui-dashboard.js +0 -2
- package/dist/components/vue-ui-digits.js +0 -2
- package/dist/components/vue-ui-donut-evolution.js +0 -2
- package/dist/components/vue-ui-donut.js +0 -2
- package/dist/components/vue-ui-dumbbell.js +0 -2
- package/dist/components/vue-ui-flow.js +0 -2
- package/dist/components/vue-ui-funnel.js +0 -2
- package/dist/components/vue-ui-galaxy.js +0 -2
- package/dist/components/vue-ui-gauge.js +0 -2
- package/dist/components/vue-ui-geo.js +0 -2
- package/dist/components/vue-ui-gizmo.js +0 -2
- package/dist/components/vue-ui-heatmap.js +0 -2
- package/dist/components/vue-ui-history-plot.js +0 -2
- package/dist/components/vue-ui-horizontal-bar.js +0 -2
- package/dist/components/vue-ui-icon.js +0 -2
- package/dist/components/vue-ui-kpi.js +0 -2
- package/dist/components/vue-ui-mini-loader.js +0 -2
- package/dist/components/vue-ui-molecule.js +0 -2
- package/dist/components/vue-ui-mood-radar.js +0 -2
- package/dist/components/vue-ui-nested-donuts.js +0 -2
- package/dist/components/vue-ui-onion.js +0 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +0 -2
- package/dist/components/vue-ui-pattern-seed.js +0 -2
- package/dist/components/vue-ui-pattern.js +0 -2
- package/dist/components/vue-ui-quadrant.js +0 -2
- package/dist/components/vue-ui-quick-chart.js +0 -2
- package/dist/components/vue-ui-radar.js +0 -2
- package/dist/components/vue-ui-rating.js +0 -2
- package/dist/components/vue-ui-relation-circle.js +0 -2
- package/dist/components/vue-ui-ridgeline.js +0 -2
- package/dist/components/vue-ui-rings.js +0 -2
- package/dist/components/vue-ui-scatter.js +0 -2
- package/dist/components/vue-ui-skeleton.js +0 -2
- package/dist/components/vue-ui-smiley.js +0 -2
- package/dist/components/vue-ui-spark-trend.js +0 -2
- package/dist/components/vue-ui-sparkbar.js +0 -2
- package/dist/components/vue-ui-sparkgauge.js +0 -2
- package/dist/components/vue-ui-sparkhistogram.js +0 -2
- package/dist/components/vue-ui-sparkline.js +0 -2
- package/dist/components/vue-ui-sparkstackbar.js +0 -2
- package/dist/components/vue-ui-stackbar.js +0 -2
- package/dist/components/vue-ui-stackline.js +0 -2
- package/dist/components/vue-ui-strip-plot.js +0 -2
- package/dist/components/vue-ui-table-heatmap.js +0 -2
- package/dist/components/vue-ui-table-sparkline.js +0 -2
- package/dist/components/vue-ui-table.js +0 -2
- package/dist/components/vue-ui-thermometer.js +0 -2
- package/dist/components/vue-ui-timer.js +0 -2
- package/dist/components/vue-ui-tiremarks.js +0 -2
- package/dist/components/vue-ui-treemap.js +0 -2
- package/dist/components/vue-ui-vertical-bar.js +0 -2
- package/dist/components/vue-ui-waffle.js +0 -2
- package/dist/components/vue-ui-wheel.js +0 -2
- package/dist/components/vue-ui-word-cloud.js +0 -2
- package/dist/components/vue-ui-world.js +0 -2
- package/dist/components/vue-ui-xy-canvas.js +0 -2
- package/dist/components/vue-ui-xy.js +0 -2
- package/dist/dom-to-png-BYtB4BF3.js +0 -237
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/geoProjections-Czak6Jn1.js +0 -145
- package/dist/img-1cKsci8e.js +0 -74
- package/dist/labelUtils-CUctkYoA.js +0 -19
- package/dist/lib-DUeYQsS0.js +0 -1882
- package/dist/llms.txt +0 -232
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-D0eZ99cP.js +0 -90
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- package/dist/style.css +0 -2
- package/dist/types/arrow.d.ts +0 -4
- package/dist/types/utils.d.ts +0 -551
- package/dist/types/vue-data-ui.d.ts +0 -17190
- package/dist/types/vue-ui-3d-bar.d.ts +0 -93
- package/dist/types/vue-ui-accordion.d.ts +0 -11
- package/dist/types/vue-ui-age-pyramid.d.ts +0 -108
- package/dist/types/vue-ui-annotator.d.ts +0 -34
- package/dist/types/vue-ui-bullet.d.ts +0 -85
- package/dist/types/vue-ui-bump.d.ts +0 -92
- package/dist/types/vue-ui-candlestick.d.ts +0 -106
- package/dist/types/vue-ui-carousel-table.d.ts +0 -59
- package/dist/types/vue-ui-chestnut.d.ts +0 -98
- package/dist/types/vue-ui-chord.d.ts +0 -110
- package/dist/types/vue-ui-circle-pack.d.ts +0 -126
- package/dist/types/vue-ui-cursor.d.ts +0 -9
- package/dist/types/vue-ui-dag.d.ts +0 -125
- package/dist/types/vue-ui-dashboard.d.ts +0 -68
- package/dist/types/vue-ui-digits.d.ts +0 -12
- package/dist/types/vue-ui-donut-evolution.d.ts +0 -96
- package/dist/types/vue-ui-donut.d.ts +0 -123
- package/dist/types/vue-ui-dumbbell.d.ts +0 -94
- package/dist/types/vue-ui-flow.d.ts +0 -106
- package/dist/types/vue-ui-funnel.d.ts +0 -79
- package/dist/types/vue-ui-galaxy.d.ts +0 -114
- package/dist/types/vue-ui-gauge.d.ts +0 -89
- package/dist/types/vue-ui-geo.d.ts +0 -94
- package/dist/types/vue-ui-gizmo.d.ts +0 -22
- package/dist/types/vue-ui-heatmap.d.ts +0 -101
- package/dist/types/vue-ui-history-plot.d.ts +0 -114
- package/dist/types/vue-ui-horizontal-bar.d.ts +0 -116
- package/dist/types/vue-ui-icon.d.ts +0 -15
- package/dist/types/vue-ui-kpi.d.ts +0 -25
- package/dist/types/vue-ui-mini-loader.d.ts +0 -15
- package/dist/types/vue-ui-molecule.d.ts +0 -112
- package/dist/types/vue-ui-mood-radar.d.ts +0 -92
- package/dist/types/vue-ui-nested-donuts.d.ts +0 -111
- package/dist/types/vue-ui-onion.d.ts +0 -106
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -125
- package/dist/types/vue-ui-pattern-seed.d.ts +0 -14
- package/dist/types/vue-ui-pattern.d.ts +0 -15
- package/dist/types/vue-ui-quadrant.d.ts +0 -125
- package/dist/types/vue-ui-quick-chart.d.ts +0 -108
- package/dist/types/vue-ui-radar.d.ts +0 -116
- package/dist/types/vue-ui-rating.d.ts +0 -42
- package/dist/types/vue-ui-relation-circle.d.ts +0 -92
- package/dist/types/vue-ui-ridgeline.d.ts +0 -106
- package/dist/types/vue-ui-rings.d.ts +0 -98
- package/dist/types/vue-ui-scatter.d.ts +0 -97
- package/dist/types/vue-ui-skeleton.d.ts +0 -11
- package/dist/types/vue-ui-smiley.d.ts +0 -28
- package/dist/types/vue-ui-spark-trend.d.ts +0 -19
- package/dist/types/vue-ui-sparkbar.d.ts +0 -49
- package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
- package/dist/types/vue-ui-sparkhistogram.d.ts +0 -46
- package/dist/types/vue-ui-sparkline.d.ts +0 -59
- package/dist/types/vue-ui-sparkstackbar.d.ts +0 -60
- package/dist/types/vue-ui-stackbar.d.ts +0 -118
- package/dist/types/vue-ui-stackline.d.ts +0 -114
- package/dist/types/vue-ui-strip-plot.d.ts +0 -96
- package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
- package/dist/types/vue-ui-table-sparkline.d.ts +0 -53
- package/dist/types/vue-ui-table.d.ts +0 -38
- package/dist/types/vue-ui-thermometer.d.ts +0 -70
- package/dist/types/vue-ui-timer.d.ts +0 -49
- package/dist/types/vue-ui-tiremarks.d.ts +0 -70
- package/dist/types/vue-ui-treemap.d.ts +0 -104
- package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
- package/dist/types/vue-ui-waffle.d.ts +0 -101
- package/dist/types/vue-ui-wheel.d.ts +0 -70
- package/dist/types/vue-ui-word-cloud.d.ts +0 -97
- package/dist/types/vue-ui-world.d.ts +0 -98
- package/dist/types/vue-ui-xy-canvas.d.ts +0 -101
- package/dist/types/vue-ui-xy.d.ts +0 -146
- package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +0 -50
- package/dist/useChartAccessibility-DYqac8yF.js +0 -12
- package/dist/useConfig-DAyQk86L.js +0 -7479
- package/dist/useFitSvgText-CT3nmlaS.js +0 -63
- package/dist/useNestedProp-CNcoy38D.js +0 -10
- package/dist/useObjectBindings-BI7hP-BC.js +0 -189
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-C1Gqt_Sp.js +0 -49
- package/dist/useResponsive-BfnK0KxU.js +0 -19
- package/dist/useStableElementSize-C7KADDKj.js +0 -77
- package/dist/useSvgExport-SVIsDot8.js +0 -755
- package/dist/useTableResponsive-B24Uwt2E.js +0 -24
- package/dist/useThemeCheck-C43Tcqmk.js +0 -24
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
- package/dist/useTimeLabels-BmBRv27Y.js +0 -272
- package/dist/useUserOptionState-DK-_1ddE.js +0 -15
- package/dist/utils.js +0 -28
- package/dist/vClickOutside-DUrZWttG.js +0 -13
- package/dist/vue-data-ui-qpQv-4uP.js +0 -274
- package/dist/vue-data-ui.js +0 -76
- package/dist/vue-ui-3d-bar-C8cputoI.js +0 -1757
- package/dist/vue-ui-accordion-Dw4MHKVB.js +0 -81
- package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +0 -1238
- package/dist/vue-ui-annotator-DLPUAKlm.js +0 -2899
- package/dist/vue-ui-bullet-DLxmtMJ9.js +0 -710
- package/dist/vue-ui-bump-DVaqtZbd.js +0 -1249
- package/dist/vue-ui-candlestick-CkApimw1.js +0 -1826
- package/dist/vue-ui-carousel-table-CbfIBWl3.js +0 -455
- package/dist/vue-ui-chestnut-CQT4nCFL.js +0 -2010
- package/dist/vue-ui-chord-8IjSrg6f.js +0 -1391
- package/dist/vue-ui-circle-pack-B1CpTtpw.js +0 -1608
- package/dist/vue-ui-cursor-NaTj5i2-.js +0 -283
- package/dist/vue-ui-dag-DH4ocx0S.js +0 -2909
- package/dist/vue-ui-dashboard-Ckff1yim.js +0 -513
- package/dist/vue-ui-digits-DwLlJqbW.js +0 -209
- package/dist/vue-ui-donut-DQdIdwRU.js +0 -2410
- package/dist/vue-ui-donut-evolution-MfM5kK6w.js +0 -1510
- package/dist/vue-ui-dumbbell-B2T4vlK-.js +0 -1530
- package/dist/vue-ui-flow-CJh6f72m.js +0 -1235
- package/dist/vue-ui-funnel-C9gfXNCr.js +0 -777
- package/dist/vue-ui-galaxy-pBR_FESJ.js +0 -1077
- package/dist/vue-ui-gauge-CAemxCGl.js +0 -920
- package/dist/vue-ui-geo-BDQqaukJ.js +0 -1516
- package/dist/vue-ui-gizmo-B1ppjqPj.js +0 -225
- package/dist/vue-ui-heatmap-BiC9xp8L.js +0 -1568
- package/dist/vue-ui-history-plot-iAPjlOja.js +0 -1554
- package/dist/vue-ui-horizontal-bar-CcgClgLg.js +0 -1681
- package/dist/vue-ui-kpi-CJ5oyYLS.js +0 -96
- package/dist/vue-ui-mini-loader-CyqBt2g4.js +0 -125
- package/dist/vue-ui-molecule-Cg9ZHa6b.js +0 -925
- package/dist/vue-ui-mood-radar-N8osOTFR.js +0 -1148
- package/dist/vue-ui-nested-donuts-CwH3wKgX.js +0 -1487
- package/dist/vue-ui-onion-C56gFjO6.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-C-jj819p.js +0 -1416
- package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
- package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
- package/dist/vue-ui-quadrant-DYc9xZY3.js +0 -1978
- package/dist/vue-ui-quick-chart-BG7kK_-q.js +0 -2469
- package/dist/vue-ui-radar-CgKog9Xw.js +0 -1229
- package/dist/vue-ui-rating-BG4lf1z8.js +0 -343
- package/dist/vue-ui-relation-circle-D-rUk-0P.js +0 -924
- package/dist/vue-ui-ridgeline-DPrlVJTW.js +0 -1622
- package/dist/vue-ui-rings-CIvvHHsF.js +0 -1246
- package/dist/vue-ui-scatter-CeBQJbGx.js +0 -2413
- package/dist/vue-ui-skeleton-BKoa_G6d.js +0 -2556
- package/dist/vue-ui-smiley-G89TxRU-.js +0 -356
- package/dist/vue-ui-spark-trend-DGOrPr9I.js +0 -438
- package/dist/vue-ui-sparkbar-BVumo-YD.js +0 -393
- package/dist/vue-ui-sparkgauge-BoCwdQcu.js +0 -255
- package/dist/vue-ui-sparkhistogram-4qXY1LXW.js +0 -560
- package/dist/vue-ui-sparkline-C0kzXrwI.js +0 -1507
- package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +0 -662
- package/dist/vue-ui-stackbar-Dnq4l5xs.js +0 -2270
- package/dist/vue-ui-stackline-CaNOHQYl.js +0 -2398
- package/dist/vue-ui-strip-plot-D2CcJw_5.js +0 -1340
- package/dist/vue-ui-table-NBQrkVnO.js +0 -1338
- package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +0 -344
- package/dist/vue-ui-table-sparkline-BZDkOEEl.js +0 -707
- package/dist/vue-ui-thermometer-BXyHOQ7T.js +0 -763
- package/dist/vue-ui-timer-CcLK1wbi.js +0 -439
- package/dist/vue-ui-tiremarks-B6txvBg-.js +0 -552
- package/dist/vue-ui-treemap-O3SBpD3K.js +0 -1587
- package/dist/vue-ui-waffle-DN5zG3b0.js +0 -1362
- package/dist/vue-ui-wheel-CxnJGXkX.js +0 -885
- package/dist/vue-ui-word-cloud-CM5yPCXb.js +0 -1656
- package/dist/vue-ui-world-DCPgXKxh.js +0 -14264
- package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +0 -1787
- package/dist/vue-ui-xy-lfMIx0wK.js +0 -4578
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
- package/dist/vue_ui_age_pyramid-BY6c-oX_.js +0 -301
- package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
- package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
- package/dist/vue_ui_candlestick-J8jmJvxP.js +0 -374
- package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
- package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
- package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
- package/dist/vue_ui_donut-BDGqG07h.js +0 -358
- package/dist/vue_ui_donut_evolution-D1yAAIHr.js +0 -717
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
- package/dist/vue_ui_flow-BewZjjKG.js +0 -238
- package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
- package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
- package/dist/vue_ui_geo-B8TODs-G.js +0 -248
- package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
- package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
- package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
- package/dist/vue_ui_onion-1FTFFS46.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
- package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
- package/dist/vue_ui_quick_chart-mZBdml3Z.js +0 -139
- package/dist/vue_ui_radar-jafTED5j.js +0 -306
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
- package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
- package/dist/vue_ui_scatter-I0POnicu.js +0 -479
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
- package/dist/vue_ui_sparkline-auZhap6Y.js +0 -151
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
- package/dist/vue_ui_stackbar-COOrQQdK.js +0 -412
- package/dist/vue_ui_stackline-DQqKPA9z.js +0 -460
- package/dist/vue_ui_strip_plot-CtJe8_gq.js +0 -301
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
- package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
- package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
- package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
- package/dist/vue_ui_waffle-DIARFc7g.js +0 -292
- package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
- package/dist/vue_ui_xy-BLUkWEAm.js +0 -482
- package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +0 -408
|
@@ -1,1246 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { At as t, B as n, Bt as r, Ct as i, Et as a, G as o, H as ee, J as te, Mt as ne, Nt as re, Rt as ie, S as ae, X as oe, i as se, nt as ce, ot as le, pt as ue, t as de, v as fe, x as pe, y as me } from "./lib-DUeYQsS0.js";
|
|
3
|
-
import { t as he } from "./useConfig-DAyQk86L.js";
|
|
4
|
-
import { t as ge } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
-
import { n as _e, t as ve } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
-
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as be } from "./useNestedProp-CNcoy38D.js";
|
|
8
|
-
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as Se } from "./img-1cKsci8e.js";
|
|
10
|
-
import { n as Ce } from "./Title-NWp4qB4K.js";
|
|
11
|
-
import { t as we } from "./Shape-BPCJfphn.js";
|
|
12
|
-
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
-
import { c as Ee } from "./canvas-lib-BOP_HS11.js";
|
|
14
|
-
import { t as De } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as Oe } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
16
|
-
import { t as ke } from "./A11yDataTable-BCbtxMU6.js";
|
|
17
|
-
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
-
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as Me } from "./labelUtils-CUctkYoA.js";
|
|
20
|
-
import { t as Ne } from "./Legend-Cz2uQ5gs.js";
|
|
21
|
-
import { t as Pe } from "./vue_ui_rings-BVgD2aMn.js";
|
|
22
|
-
import { Fragment as Fe, Teleport as Ie, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as f, guardReactiveProps as p, mergeProps as Be, nextTick as Ve, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as He, onMounted as Ue, openBlock as _, ref as v, renderList as We, renderSlot as y, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as qe, toRefs as Je, unref as b, useSlots as Ye, watch as Xe, withCtx as x } from "vue";
|
|
23
|
-
//#region src/components/vue-ui-rings.vue
|
|
24
|
-
var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et = ["id"], tt = { style: { position: "relative" } }, nt = [
|
|
25
|
-
"xmlns",
|
|
26
|
-
"viewBox",
|
|
27
|
-
"aria-describedby"
|
|
28
|
-
], rt = ["width", "height"], it = ["id"], at = ["stop-color"], ot = ["stop-color"], st = { key: 1 }, ct = [
|
|
29
|
-
"stroke",
|
|
30
|
-
"cx",
|
|
31
|
-
"cy",
|
|
32
|
-
"r",
|
|
33
|
-
"fill"
|
|
34
|
-
], lt = [
|
|
35
|
-
"stroke",
|
|
36
|
-
"stroke-width",
|
|
37
|
-
"cx",
|
|
38
|
-
"cy",
|
|
39
|
-
"r",
|
|
40
|
-
"fill"
|
|
41
|
-
], ut = [
|
|
42
|
-
"stroke",
|
|
43
|
-
"stroke-width",
|
|
44
|
-
"cx",
|
|
45
|
-
"cy",
|
|
46
|
-
"r",
|
|
47
|
-
"fill"
|
|
48
|
-
], dt = [
|
|
49
|
-
"cx",
|
|
50
|
-
"cy",
|
|
51
|
-
"r",
|
|
52
|
-
"onMouseenter",
|
|
53
|
-
"onMouseleave",
|
|
54
|
-
"onClick"
|
|
55
|
-
], ft = [
|
|
56
|
-
"x",
|
|
57
|
-
"y",
|
|
58
|
-
"width",
|
|
59
|
-
"height",
|
|
60
|
-
"fill",
|
|
61
|
-
"rx"
|
|
62
|
-
], pt = [
|
|
63
|
-
"cx",
|
|
64
|
-
"cy",
|
|
65
|
-
"r",
|
|
66
|
-
"fill",
|
|
67
|
-
"stroke"
|
|
68
|
-
], mt = [
|
|
69
|
-
"x",
|
|
70
|
-
"y",
|
|
71
|
-
"text-anchor",
|
|
72
|
-
"font-size",
|
|
73
|
-
"fill",
|
|
74
|
-
"font-weight",
|
|
75
|
-
"onMouseenter",
|
|
76
|
-
"onMouseleave",
|
|
77
|
-
"onClick",
|
|
78
|
-
"innerHTML"
|
|
79
|
-
], ht = {
|
|
80
|
-
key: 0,
|
|
81
|
-
style: {
|
|
82
|
-
position: "absolute",
|
|
83
|
-
top: "100%",
|
|
84
|
-
left: "0",
|
|
85
|
-
width: "100%"
|
|
86
|
-
},
|
|
87
|
-
"data-dom-to-png-ignore": "",
|
|
88
|
-
"aria-hidden": "true"
|
|
89
|
-
}, gt = {
|
|
90
|
-
key: 5,
|
|
91
|
-
class: "vue-data-ui-watermark"
|
|
92
|
-
}, _t = ["id"], vt = ["onClick"], yt = ["innerHTML"], bt = /* @__PURE__ */ Te({
|
|
93
|
-
__name: "vue-ui-rings",
|
|
94
|
-
props: {
|
|
95
|
-
config: {
|
|
96
|
-
type: Object,
|
|
97
|
-
default() {
|
|
98
|
-
return {};
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
dataset: {
|
|
102
|
-
type: Array,
|
|
103
|
-
default() {
|
|
104
|
-
return [];
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
emits: ["selectLegend", "copyAlt"],
|
|
109
|
-
setup(e, { expose: Te, emit: Ze }) {
|
|
110
|
-
let bt = f(() => import("./Tooltip-BENq327o.js")), xt = f(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), St = f(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), Ct = f(() => import("./DataTable-B--IN22e.js")), wt = f(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Tt = f(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Et = f(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Dt = f(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_rings: Ot } = he(), { isThemeValid: kt, warnInvalidTheme: At } = xe(), jt = Ye(), S = e, C = v(!1), Mt = s(() => !!S.dataset && S.dataset.length), w = v(ee()), T = v(!1), Nt = v(""), E = v(null), Pt = v(0), D = v(null), Ft = v(null), It = v(null), Lt = v(null), Rt = v(null), zt = v(0), Bt = v(0), Vt = v(0), Ht = v(!1), Ut = v(!1), O = v(null), Wt = v(null), Gt = v(!1), Kt = v(!1), k = v(null), qt = v({
|
|
111
|
-
x: 0,
|
|
112
|
-
y: 0
|
|
113
|
-
}), A = v("pointer"), Jt = v(!1), j = v(tn()), M = s(() => j.value.userOptions.useCursorPointer), Yt = s(() => r({
|
|
114
|
-
defaultConfig: {
|
|
115
|
-
userOptions: { show: !1 },
|
|
116
|
-
table: { show: !1 },
|
|
117
|
-
style: { chart: {
|
|
118
|
-
backgroundColor: "#99999930",
|
|
119
|
-
layout: {
|
|
120
|
-
rings: {
|
|
121
|
-
stroke: "#6A6A6A",
|
|
122
|
-
gradient: { underlayerColor: "#FFFFFF" }
|
|
123
|
-
},
|
|
124
|
-
labels: { dataLabels: { show: !1 } }
|
|
125
|
-
},
|
|
126
|
-
legend: { backgroundColor: "transparent" }
|
|
127
|
-
} }
|
|
128
|
-
},
|
|
129
|
-
userConfig: j.value.skeletonConfig ?? {}
|
|
130
|
-
})), { loading: N, FINAL_DATASET: Xt, manualLoading: Zt } = _e({
|
|
131
|
-
...Je(S),
|
|
132
|
-
FINAL_CONFIG: j,
|
|
133
|
-
prepareConfig: tn,
|
|
134
|
-
skeletonDataset: S.config?.skeletonDataset ?? [
|
|
135
|
-
{
|
|
136
|
-
name: "_",
|
|
137
|
-
values: [13],
|
|
138
|
-
color: "#808080"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
name: "_",
|
|
142
|
-
values: [8],
|
|
143
|
-
color: "#969696"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
name: "_",
|
|
147
|
-
values: [5],
|
|
148
|
-
color: "#ADADAD"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
name: "_",
|
|
152
|
-
values: [3],
|
|
153
|
-
color: "#C4C4C4"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
name: "_",
|
|
157
|
-
values: [2],
|
|
158
|
-
color: "#DBDBDB"
|
|
159
|
-
}
|
|
160
|
-
],
|
|
161
|
-
skeletonConfig: r({
|
|
162
|
-
defaultConfig: j.value,
|
|
163
|
-
userConfig: Yt.value
|
|
164
|
-
})
|
|
165
|
-
}), { userOptionsVisible: Qt, setUserOptionsVisibility: $t, keepUserOptionState: en } = Ae({ config: j.value }), { svgRef: P } = je({ config: j.value.style.chart.title });
|
|
166
|
-
function tn() {
|
|
167
|
-
let e = be({
|
|
168
|
-
userConfig: S.config,
|
|
169
|
-
defaultConfig: Ot
|
|
170
|
-
}), t = e.theme;
|
|
171
|
-
if (!t) return e;
|
|
172
|
-
if (!kt.value(e)) return At(e), e;
|
|
173
|
-
let n = be({
|
|
174
|
-
userConfig: Pe[t] || S.config,
|
|
175
|
-
defaultConfig: e
|
|
176
|
-
});
|
|
177
|
-
return {
|
|
178
|
-
...be({
|
|
179
|
-
userConfig: S.config,
|
|
180
|
-
defaultConfig: n
|
|
181
|
-
}),
|
|
182
|
-
customPalette: e.customPalette.length ? e.customPalette : ie[e.theme] || a
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
Xe(() => S.config, (e) => {
|
|
186
|
-
N.value || (j.value = tn()), Qt.value = !j.value.userOptions.showOnChartHover, an(), zt.value += 1, Bt.value += 1, Vt.value += 1, R.value.showTable = j.value.table.show, R.value.showTooltip = j.value.style.chart.tooltip.show, R.value.showLabels = j.value.style.chart.layout.labels.dataLabels.show, z.value.width = j.value.style.chart.size, z.value.height = j.value.style.chart.size;
|
|
187
|
-
}, { deep: !0 });
|
|
188
|
-
let nn = s(() => {
|
|
189
|
-
let { markers: e } = j.value.style.chart.layout.labels.dataLabels, t = K.value / 2, n = R.value.showLabels ? e.position === "left" ? t : -t : 0, r = R.value.showLabels ? z.value.width / 2 - t : 0, i = e.position === "left" ? r : -r;
|
|
190
|
-
return {
|
|
191
|
-
x: j.value.responsive ? i : n / j.value.style.chart.size * z.value.width,
|
|
192
|
-
y: 0 / j.value.style.chart.size * z.value.height
|
|
193
|
-
};
|
|
194
|
-
}), F = s(() => ({
|
|
195
|
-
x: z.value.width / 2 + nn.value.x,
|
|
196
|
-
y: z.value.height / 2 + nn.value.y
|
|
197
|
-
}));
|
|
198
|
-
Xe(() => S.dataset, (e) => {
|
|
199
|
-
Array.isArray(e) && e.length > 0 && (Zt.value = !1);
|
|
200
|
-
}, { deep: !0 });
|
|
201
|
-
let I = Ke(null), L = Ke(null);
|
|
202
|
-
Ue(() => {
|
|
203
|
-
Ut.value = !0, an();
|
|
204
|
-
});
|
|
205
|
-
let rn = s(() => !!j.value.debug);
|
|
206
|
-
function an() {
|
|
207
|
-
if (i(S.dataset) ? (oe({
|
|
208
|
-
componentName: "VueUiRings",
|
|
209
|
-
type: "dataset",
|
|
210
|
-
debug: rn.value
|
|
211
|
-
}), Zt.value = !0) : S.dataset.forEach((e, t) => {
|
|
212
|
-
e.values.length || (oe({
|
|
213
|
-
componentName: "VueUiRings",
|
|
214
|
-
type: "dataset",
|
|
215
|
-
debug: rn.value
|
|
216
|
-
}), Zt.value = !0), le({
|
|
217
|
-
datasetObject: e,
|
|
218
|
-
requiredAttributes: ["name", "values"]
|
|
219
|
-
}).forEach((e) => {
|
|
220
|
-
oe({
|
|
221
|
-
componentName: "VueUiRings",
|
|
222
|
-
type: "datasetSerieAttribute",
|
|
223
|
-
property: e,
|
|
224
|
-
index: t,
|
|
225
|
-
debug: rn.value
|
|
226
|
-
});
|
|
227
|
-
});
|
|
228
|
-
}), i(S.dataset) || (Zt.value = j.value.loading), j.value.responsive) {
|
|
229
|
-
let e = Ee(() => {
|
|
230
|
-
Ht.value = !0;
|
|
231
|
-
let { width: e, height: t } = De({
|
|
232
|
-
chart: D.value,
|
|
233
|
-
title: j.value.style.chart.title.text ? Ft.value : null,
|
|
234
|
-
legend: j.value.style.chart.legend.show ? It.value : null,
|
|
235
|
-
source: Lt.value,
|
|
236
|
-
noTitle: Rt.value
|
|
237
|
-
});
|
|
238
|
-
requestAnimationFrame(() => {
|
|
239
|
-
z.value.width = e, z.value.height = t - 12, Ht.value = !1;
|
|
240
|
-
});
|
|
241
|
-
});
|
|
242
|
-
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(e), L.value = D.value.parentNode, I.value.observe(L.value);
|
|
243
|
-
}
|
|
244
|
-
setTimeout(() => {
|
|
245
|
-
C.value = !0;
|
|
246
|
-
}, 600);
|
|
247
|
-
}
|
|
248
|
-
He(() => {
|
|
249
|
-
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
|
|
250
|
-
});
|
|
251
|
-
let { isPrinting: on, isImaging: sn, generatePdf: cn, generateImage: ln } = ge({
|
|
252
|
-
elementId: `rings_${w.value}`,
|
|
253
|
-
fileName: j.value.style.chart.title.text || "vue-ui-rings",
|
|
254
|
-
options: j.value.userOptions.print
|
|
255
|
-
}), un = s(() => j.value.userOptions.show && !j.value.style.chart.title.text), dn = s(() => pe(j.value.customPalette)), R = v({
|
|
256
|
-
showTable: j.value.table.show,
|
|
257
|
-
showTooltip: j.value.style.chart.tooltip.show,
|
|
258
|
-
showLabels: j.value.style.chart.layout.labels.dataLabels.show
|
|
259
|
-
});
|
|
260
|
-
Xe(j, () => {
|
|
261
|
-
R.value = {
|
|
262
|
-
showTable: j.value.table.show,
|
|
263
|
-
showTooltip: j.value.style.chart.tooltip.show,
|
|
264
|
-
showLabels: j.value.style.chart.layout.labels.dataLabels.show
|
|
265
|
-
};
|
|
266
|
-
}, { immediate: !0 });
|
|
267
|
-
let z = v({
|
|
268
|
-
height: j.value.style.chart.size,
|
|
269
|
-
width: j.value.style.chart.size
|
|
270
|
-
}), fn = s(() => Math.min(z.value.height, z.value.width)), pn = Ze, B = v([]);
|
|
271
|
-
function mn() {
|
|
272
|
-
B.value.length ? B.value = [] : U.value.forEach((e) => {
|
|
273
|
-
B.value.push(e.uid);
|
|
274
|
-
}), hn();
|
|
275
|
-
}
|
|
276
|
-
function hn() {
|
|
277
|
-
pn("selectLegend", G.value.map((e) => ({
|
|
278
|
-
name: e.name,
|
|
279
|
-
color: e.color,
|
|
280
|
-
value: e.value
|
|
281
|
-
})));
|
|
282
|
-
}
|
|
283
|
-
function V(e) {
|
|
284
|
-
if (B.value.includes(e)) B.value = B.value.filter((t) => t !== e);
|
|
285
|
-
else {
|
|
286
|
-
if (B.value.length === H.value.length - 1) return;
|
|
287
|
-
B.value.push(e);
|
|
288
|
-
}
|
|
289
|
-
hn();
|
|
290
|
-
}
|
|
291
|
-
function gn(e) {
|
|
292
|
-
return H.value.length ? H.value.find((t) => t.name === e) || (j.value.debug && console.warn(`VueUiRings - Series name not found "${e}"`), null) : (j.value.debug && console.warn("VueUiRings - There are no series to show."), null);
|
|
293
|
-
}
|
|
294
|
-
function _n(e) {
|
|
295
|
-
let t = gn(e);
|
|
296
|
-
t !== null && B.value.includes(t.uid) && V(t.uid);
|
|
297
|
-
}
|
|
298
|
-
function vn(e) {
|
|
299
|
-
let t = gn(e);
|
|
300
|
-
t !== null && (B.value.includes(t.uid) || V(t.uid));
|
|
301
|
-
}
|
|
302
|
-
let yn = s(() => Math.max(...H.value.filter((e) => !B.value.includes(e.uid)).map(({ value: e }) => e)));
|
|
303
|
-
function bn(e) {
|
|
304
|
-
return e / yn.value;
|
|
305
|
-
}
|
|
306
|
-
let H = s(() => Xt.value.map(({ values: e, name: n, color: r = null }, i) => {
|
|
307
|
-
let o = t(e).reduce((e, t) => e + t, 0);
|
|
308
|
-
return {
|
|
309
|
-
name: n,
|
|
310
|
-
color: r || me(r) || dn.value[i] || a[i] || a[i % a.length],
|
|
311
|
-
value: o,
|
|
312
|
-
proportion: o / Xt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
|
|
313
|
-
uid: ee(),
|
|
314
|
-
absoluteIndex: i
|
|
315
|
-
};
|
|
316
|
-
})), U = s(() => H.value.map((e, t) => {
|
|
317
|
-
let n = se(j.value.style.chart.layout.labels.dataLabels.formatter, e.value, o({
|
|
318
|
-
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
319
|
-
v: e.value,
|
|
320
|
-
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
321
|
-
r: j.value.style.chart.legend.roundingValue
|
|
322
|
-
}), {
|
|
323
|
-
datapoint: e,
|
|
324
|
-
index: t
|
|
325
|
-
}), r = isNaN(e.value / W.value) ? "-" : o({
|
|
326
|
-
v: e.value / W.value * 100,
|
|
327
|
-
s: "%",
|
|
328
|
-
r: j.value.style.chart.legend.roundingPercentage
|
|
329
|
-
}), i = Tn({
|
|
330
|
-
showVal: j.value.style.chart.legend.showValue,
|
|
331
|
-
showPercentage: j.value.style.chart.legend.showPercentage,
|
|
332
|
-
val: n,
|
|
333
|
-
percentage: B.value.includes(e.uid) ? "-%" : r
|
|
334
|
-
});
|
|
335
|
-
return {
|
|
336
|
-
...e,
|
|
337
|
-
shape: "circle",
|
|
338
|
-
opacity: B.value.includes(e.uid) ? .5 : 1,
|
|
339
|
-
segregate: () => V(e.uid),
|
|
340
|
-
isSegregated: B.value.includes(e.uid),
|
|
341
|
-
display: `${e.name}${j.value.style.chart.legend.showPercentage || j.value.style.chart.legend.showValue ? ": " : ""}${i}`
|
|
342
|
-
};
|
|
343
|
-
}).toSorted((e, t) => t.value - e.value)), xn = s(() => ({
|
|
344
|
-
cy: "rings-div-legend",
|
|
345
|
-
backgroundColor: j.value.style.chart.legend.backgroundColor,
|
|
346
|
-
color: j.value.style.chart.legend.color,
|
|
347
|
-
fontSize: j.value.style.chart.legend.fontSize,
|
|
348
|
-
paddingBottom: 12,
|
|
349
|
-
fontWeight: j.value.style.chart.legend.bold ? "bold" : ""
|
|
350
|
-
})), W = s(() => H.value.filter((e) => !B.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), G = s(() => H.value.filter((e) => !B.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: i }, o) => ({
|
|
351
|
-
absoluteIndex: i,
|
|
352
|
-
uid: r,
|
|
353
|
-
name: e,
|
|
354
|
-
color: n || me(n) || dn.value[o] || a[o] || a[o % a.length],
|
|
355
|
-
value: t,
|
|
356
|
-
proportion: bn(t),
|
|
357
|
-
percentage: t / W.value * 100,
|
|
358
|
-
strokeWidth: j.value.style.chart.layout.rings.strokeWidth * bn(t)
|
|
359
|
-
})).toSorted((e, t) => t.value - e.value));
|
|
360
|
-
function Sn() {
|
|
361
|
-
return G.value.map(({ name: e, color: t, value: n, absoluteValues: r, percentage: i }) => ({
|
|
362
|
-
name: e,
|
|
363
|
-
color: t,
|
|
364
|
-
value: n,
|
|
365
|
-
absoluteValues: r,
|
|
366
|
-
percentage: i
|
|
367
|
-
}));
|
|
368
|
-
}
|
|
369
|
-
let K = s(() => fn.value - j.value.style.chart.layout.rings.strokeWidth * 2);
|
|
370
|
-
function Cn(e, t) {
|
|
371
|
-
j.value.events.datapointClick && j.value.events.datapointClick({
|
|
372
|
-
datapoint: e,
|
|
373
|
-
seriesIndex: t
|
|
374
|
-
});
|
|
375
|
-
}
|
|
376
|
-
function wn(e, t) {
|
|
377
|
-
E.value = null, T.value = !1, k.value = null, A.value = "pointer", j.value.events.datapointLeave && j.value.events.datapointLeave({
|
|
378
|
-
datapoint: e,
|
|
379
|
-
seriesIndex: t
|
|
380
|
-
});
|
|
381
|
-
}
|
|
382
|
-
function Tn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
|
|
383
|
-
let i = j.value.style.chart.layout.labels.dataLabels;
|
|
384
|
-
return Me({
|
|
385
|
-
config: i,
|
|
386
|
-
val: e,
|
|
387
|
-
percentage: t,
|
|
388
|
-
showVal: n,
|
|
389
|
-
showPercentage: r
|
|
390
|
-
});
|
|
391
|
-
}
|
|
392
|
-
function En(e) {
|
|
393
|
-
let t = j.value.style.chart.layout.labels.dataLabels, n = se(t.formatter, e.value, o({
|
|
394
|
-
p: t.prefix,
|
|
395
|
-
v: e.value,
|
|
396
|
-
s: t.suffix,
|
|
397
|
-
r: t.roundingValue
|
|
398
|
-
})), r = o({
|
|
399
|
-
v: e.percentage,
|
|
400
|
-
s: "%",
|
|
401
|
-
r: t.roundingPercentage
|
|
402
|
-
});
|
|
403
|
-
return `${e.name}\n${Tn({
|
|
404
|
-
val: n,
|
|
405
|
-
percentage: r,
|
|
406
|
-
showVal: t.showValue,
|
|
407
|
-
showPercentage: t.showPercentage
|
|
408
|
-
})}`;
|
|
409
|
-
}
|
|
410
|
-
function q(e) {
|
|
411
|
-
return fe(K.value * e.proportion / 2 * .9 <= 0 ? 1e-4 : K.value * e.proportion / 2 * .9);
|
|
412
|
-
}
|
|
413
|
-
function J(e, t) {
|
|
414
|
-
return t === 0 ? F.value.y : F.value.y + K.value * G.value[0].proportion / 2 - K.value * e.proportion / 2 - 2 * (t + 1);
|
|
415
|
-
}
|
|
416
|
-
function Y(e, t) {
|
|
417
|
-
let n = j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -(K.value / 2) : K.value / 2;
|
|
418
|
-
return {
|
|
419
|
-
x: F.value.x + n,
|
|
420
|
-
y: J(e, t) - q(e)
|
|
421
|
-
};
|
|
422
|
-
}
|
|
423
|
-
let Dn = v(null);
|
|
424
|
-
function On(e, t, n = "pointer") {
|
|
425
|
-
if (j.value.events.datapointEnter && j.value.events.datapointEnter({
|
|
426
|
-
datapoint: e,
|
|
427
|
-
seriesIndex: t
|
|
428
|
-
}), B.value.length === S.dataset.length) return;
|
|
429
|
-
Dn.value = {
|
|
430
|
-
datapoint: e,
|
|
431
|
-
seriesIndex: t,
|
|
432
|
-
series: G.value,
|
|
433
|
-
config: j.value
|
|
434
|
-
}, E.value = t, k.value = t, A.value = n;
|
|
435
|
-
let r = G.value[t], i = j.value.style.chart.tooltip.customFormat;
|
|
436
|
-
if (ue(i) && ce(() => i({
|
|
437
|
-
seriesIndex: t,
|
|
438
|
-
datapoint: e,
|
|
439
|
-
series: G.value,
|
|
440
|
-
config: j.value
|
|
441
|
-
}))) Nt.value = i({
|
|
442
|
-
seriesIndex: t,
|
|
443
|
-
datapoint: e,
|
|
444
|
-
series: G.value,
|
|
445
|
-
config: j.value
|
|
446
|
-
});
|
|
447
|
-
else {
|
|
448
|
-
let n = "";
|
|
449
|
-
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${j.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${r.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${r.color}" />${jt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${w.value}_${e.absoluteIndex})" />` : ""}</svg>`, n += `<b>${Tn({
|
|
450
|
-
showVal: j.value.style.chart.tooltip.showValue,
|
|
451
|
-
showPercentage: j.value.style.chart.tooltip.showPercentage,
|
|
452
|
-
val: `<span>${se(j.value.style.chart.layout.labels.dataLabels.formatter, r.value, o({
|
|
453
|
-
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
454
|
-
v: r.value,
|
|
455
|
-
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
456
|
-
r: j.value.style.chart.tooltip.roundingValue
|
|
457
|
-
}), {
|
|
458
|
-
datapoint: e,
|
|
459
|
-
seriesIndex: t
|
|
460
|
-
})}</span>`,
|
|
461
|
-
percentage: o({
|
|
462
|
-
v: r.value / W.value * 100,
|
|
463
|
-
s: "%",
|
|
464
|
-
r: j.value.style.chart.tooltip.roundingPercentage
|
|
465
|
-
})
|
|
466
|
-
})}</b></div>`, Nt.value = n;
|
|
467
|
-
}
|
|
468
|
-
T.value = !0;
|
|
469
|
-
}
|
|
470
|
-
let X = s(() => ({
|
|
471
|
-
head: G.value.map((e) => ({
|
|
472
|
-
name: e.name,
|
|
473
|
-
color: e.color
|
|
474
|
-
})),
|
|
475
|
-
body: G.value.map((e) => e.value)
|
|
476
|
-
})), Z = s(() => {
|
|
477
|
-
let e = [
|
|
478
|
-
" <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>",
|
|
479
|
-
o({
|
|
480
|
-
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
481
|
-
v: W.value,
|
|
482
|
-
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
483
|
-
r: j.value.table.td.roundingValue
|
|
484
|
-
}),
|
|
485
|
-
"100%"
|
|
486
|
-
], t = X.value.head.map((e, t) => [
|
|
487
|
-
{
|
|
488
|
-
color: e.color,
|
|
489
|
-
name: e.name
|
|
490
|
-
},
|
|
491
|
-
o({
|
|
492
|
-
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
493
|
-
v: X.value.body[t],
|
|
494
|
-
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
495
|
-
r: j.value.table.td.roundingValue
|
|
496
|
-
}),
|
|
497
|
-
isNaN(X.value.body[t] / W.value) ? "-" : (X.value.body[t] / W.value * 100).toFixed(j.value.table.td.roundingPercentage) + "%"
|
|
498
|
-
]);
|
|
499
|
-
return {
|
|
500
|
-
head: e,
|
|
501
|
-
body: t,
|
|
502
|
-
a11yBody: t.map((e) => e.map((e, t) => t === 0 ? e.name : e)),
|
|
503
|
-
config: {
|
|
504
|
-
th: {
|
|
505
|
-
backgroundColor: j.value.table.th.backgroundColor,
|
|
506
|
-
color: j.value.table.th.color,
|
|
507
|
-
outline: j.value.table.th.outline
|
|
508
|
-
},
|
|
509
|
-
td: {
|
|
510
|
-
backgroundColor: j.value.table.td.backgroundColor,
|
|
511
|
-
color: j.value.table.td.color,
|
|
512
|
-
outline: j.value.table.td.outline
|
|
513
|
-
},
|
|
514
|
-
breakpoint: j.value.table.responsiveBreakpoint
|
|
515
|
-
},
|
|
516
|
-
colNames: [
|
|
517
|
-
j.value.table.columnNames.series,
|
|
518
|
-
j.value.table.columnNames.value,
|
|
519
|
-
j.value.table.columnNames.percentage
|
|
520
|
-
]
|
|
521
|
-
};
|
|
522
|
-
});
|
|
523
|
-
function kn(e = null) {
|
|
524
|
-
Ve(() => {
|
|
525
|
-
let t = X.value.head.map((e, t) => [
|
|
526
|
-
[e.name],
|
|
527
|
-
[X.value.body[t]],
|
|
528
|
-
[isNaN(X.value.body[t] / W.value) ? "-" : X.value.body[t] / W.value * 100]
|
|
529
|
-
]), n = ae([
|
|
530
|
-
[j.value.style.chart.title.text],
|
|
531
|
-
[j.value.style.chart.title.subtitle.text],
|
|
532
|
-
[
|
|
533
|
-
[""],
|
|
534
|
-
["val"],
|
|
535
|
-
["%"]
|
|
536
|
-
]
|
|
537
|
-
].concat(t));
|
|
538
|
-
e ? e(n) : te({
|
|
539
|
-
csvContent: n,
|
|
540
|
-
title: j.value.style.chart.title.text || "vue-ui-rings"
|
|
541
|
-
});
|
|
542
|
-
});
|
|
543
|
-
}
|
|
544
|
-
let Q = v(!1);
|
|
545
|
-
function An(e) {
|
|
546
|
-
Q.value = e, Pt.value += 1;
|
|
547
|
-
}
|
|
548
|
-
function jn() {
|
|
549
|
-
R.value.showTable = !R.value.showTable;
|
|
550
|
-
}
|
|
551
|
-
function Mn() {
|
|
552
|
-
R.value.showTooltip = !R.value.showTooltip;
|
|
553
|
-
}
|
|
554
|
-
function Nn() {
|
|
555
|
-
R.value.showLabels = !R.value.showLabels;
|
|
556
|
-
}
|
|
557
|
-
let $ = v(!1);
|
|
558
|
-
function Pn() {
|
|
559
|
-
$.value = !$.value;
|
|
560
|
-
}
|
|
561
|
-
async function Fn({ scale: e = 2 } = {}) {
|
|
562
|
-
if (!D.value) return;
|
|
563
|
-
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
|
|
564
|
-
domElement: D.value,
|
|
565
|
-
base64: !0,
|
|
566
|
-
img: !0,
|
|
567
|
-
scale: e
|
|
568
|
-
});
|
|
569
|
-
return {
|
|
570
|
-
imageUri: i,
|
|
571
|
-
base64: a,
|
|
572
|
-
title: j.value.style.chart.title.text,
|
|
573
|
-
width: t,
|
|
574
|
-
height: n,
|
|
575
|
-
aspectRatio: r
|
|
576
|
-
};
|
|
577
|
-
}
|
|
578
|
-
let In = s(() => {
|
|
579
|
-
let e = j.value.table.useDialog && !j.value.table.show, t = R.value.showTable;
|
|
580
|
-
return {
|
|
581
|
-
component: e ? Dt : St,
|
|
582
|
-
title: `${j.value.style.chart.title.text}${j.value.style.chart.title.subtitle.text ? `: ${j.value.style.chart.title.subtitle.text}` : ""}`,
|
|
583
|
-
props: e ? {
|
|
584
|
-
backgroundColor: j.value.table.th.backgroundColor,
|
|
585
|
-
color: j.value.table.th.color,
|
|
586
|
-
headerColor: j.value.table.th.color,
|
|
587
|
-
headerBg: j.value.table.th.backgroundColor,
|
|
588
|
-
isFullscreen: Q.value,
|
|
589
|
-
fullscreenParent: D.value,
|
|
590
|
-
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
591
|
-
isCursorPointer: M.value
|
|
592
|
-
} : {
|
|
593
|
-
hideDetails: !0,
|
|
594
|
-
config: {
|
|
595
|
-
open: t,
|
|
596
|
-
maxHeight: 1e4,
|
|
597
|
-
body: {
|
|
598
|
-
backgroundColor: j.value.style.chart.backgroundColor,
|
|
599
|
-
color: j.value.style.chart.color
|
|
600
|
-
},
|
|
601
|
-
head: {
|
|
602
|
-
backgroundColor: j.value.style.chart.backgroundColor,
|
|
603
|
-
color: j.value.style.chart.color
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
};
|
|
608
|
-
});
|
|
609
|
-
Xe(() => R.value.showTable, (e) => {
|
|
610
|
-
j.value.table.show || (e && j.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
|
|
611
|
-
});
|
|
612
|
-
function Ln() {
|
|
613
|
-
R.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
|
|
614
|
-
}
|
|
615
|
-
let Rn = s(() => U.value.map((e) => ({
|
|
616
|
-
...e,
|
|
617
|
-
name: e.display
|
|
618
|
-
}))), zn = s(() => j.value.style.chart.backgroundColor), Bn = s(() => j.value.style.chart.legend), { exportSvg: Vn, getSvg: Hn } = ye({
|
|
619
|
-
svg: P,
|
|
620
|
-
title: s(() => j.value.style.chart.title),
|
|
621
|
-
legend: Bn,
|
|
622
|
-
legendItems: Rn,
|
|
623
|
-
backgroundColor: zn
|
|
624
|
-
});
|
|
625
|
-
async function Un({ isCb: e }) {
|
|
626
|
-
Kt.value = !0, await Ve();
|
|
627
|
-
try {
|
|
628
|
-
if (e) {
|
|
629
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await Hn();
|
|
630
|
-
await Promise.resolve(j.value.userOptions.callbacks.svg({
|
|
631
|
-
blob: e,
|
|
632
|
-
url: t,
|
|
633
|
-
text: n,
|
|
634
|
-
dataUrl: r
|
|
635
|
-
}));
|
|
636
|
-
} else await Promise.resolve(Vn());
|
|
637
|
-
} finally {
|
|
638
|
-
Kt.value = !1;
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
function Wn(e) {
|
|
642
|
-
if (e?.stage === "start") {
|
|
643
|
-
Gt.value = !0;
|
|
644
|
-
return;
|
|
645
|
-
}
|
|
646
|
-
if (e?.stage === "end") {
|
|
647
|
-
Gt.value = !1;
|
|
648
|
-
return;
|
|
649
|
-
}
|
|
650
|
-
ln();
|
|
651
|
-
}
|
|
652
|
-
async function Gn() {
|
|
653
|
-
if (pn("copyAlt", {
|
|
654
|
-
config: j.value,
|
|
655
|
-
dataset: G.value
|
|
656
|
-
}), !j.value.userOptions.callbacks.altCopy) {
|
|
657
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
658
|
-
return;
|
|
659
|
-
}
|
|
660
|
-
await Promise.resolve(j.value.userOptions.callbacks.altCopy({
|
|
661
|
-
config: j.value,
|
|
662
|
-
dataset: G.value
|
|
663
|
-
}));
|
|
664
|
-
}
|
|
665
|
-
function Kn() {
|
|
666
|
-
k.value = null, Jt.value = !0;
|
|
667
|
-
}
|
|
668
|
-
function qn() {
|
|
669
|
-
k.value = null, A.value = "pointer", T.value = !1, E.value = null, Jt.value = !1;
|
|
670
|
-
}
|
|
671
|
-
function Jn(e) {
|
|
672
|
-
if (!P.value || $.value || document.activeElement !== P.value || !G.value.length || B.value.length === S.dataset.length) return;
|
|
673
|
-
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
674
|
-
if (!t && !n && !r && !i) return;
|
|
675
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
676
|
-
k.value = null, A.value = "pointer", T.value = !1, E.value = null;
|
|
677
|
-
return;
|
|
678
|
-
}
|
|
679
|
-
if (r) {
|
|
680
|
-
if (k.value === null) return;
|
|
681
|
-
let e = G.value[k.value];
|
|
682
|
-
if (!e) return;
|
|
683
|
-
Cn(e, k.value);
|
|
684
|
-
return;
|
|
685
|
-
}
|
|
686
|
-
let a = k.value;
|
|
687
|
-
a === null || a < 0 || a >= G.value.length ? a = n ? 0 : G.value.length - 1 : n ? (a += 1, a >= G.value.length && (a = 0)) : t && (--a, a < 0 && (a = G.value.length - 1));
|
|
688
|
-
let o = G.value[a];
|
|
689
|
-
o && (Yn(a), On(o, a, "keyboard"));
|
|
690
|
-
}
|
|
691
|
-
function Yn(e) {
|
|
692
|
-
if (!Number.isFinite(e) || !P.value) return;
|
|
693
|
-
let t = G.value[e];
|
|
694
|
-
if (!t) return;
|
|
695
|
-
let n = Y(t, e), r = P.value.getBoundingClientRect();
|
|
696
|
-
qt.value = {
|
|
697
|
-
x: r.left + n.x / z.value.width * r.width,
|
|
698
|
-
y: r.top + n.y / z.value.height * r.height
|
|
699
|
-
};
|
|
700
|
-
}
|
|
701
|
-
let Xn = s(() => ({
|
|
702
|
-
headers: Z.value?.colNames ?? [],
|
|
703
|
-
rows: Z.value?.a11yBody ?? []
|
|
704
|
-
}));
|
|
705
|
-
return Te({
|
|
706
|
-
getData: Sn,
|
|
707
|
-
getImage: Fn,
|
|
708
|
-
generatePdf: cn,
|
|
709
|
-
generateCsv: kn,
|
|
710
|
-
generateImage: ln,
|
|
711
|
-
generateSvg: Un,
|
|
712
|
-
hideSeries: vn,
|
|
713
|
-
showSeries: _n,
|
|
714
|
-
toggleTable: jn,
|
|
715
|
-
toggleTooltip: Mn,
|
|
716
|
-
toggleAnnotator: Pn,
|
|
717
|
-
toggleFullscreen: An,
|
|
718
|
-
toggleLabels: Nn,
|
|
719
|
-
copyAlt: Gn
|
|
720
|
-
}), (e, t) => (_(), u("div", {
|
|
721
|
-
ref_key: "ringsChart",
|
|
722
|
-
ref: D,
|
|
723
|
-
class: m(`vue-data-ui-component vue-ui-rings ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
724
|
-
style: g(`font-family:${j.value.style.fontFamily};text-align:center;width:100%;background:${j.value.style.chart.backgroundColor};${j.value.responsive ? "height: 100%" : ""}`),
|
|
725
|
-
id: `rings_${w.value}`,
|
|
726
|
-
onMouseleave: t[2] ||= (e) => {
|
|
727
|
-
E.value = null, T.value = !1, b($t)(!1);
|
|
728
|
-
},
|
|
729
|
-
onMouseenter: t[3] ||= () => b($t)(!0)
|
|
730
|
-
}, [
|
|
731
|
-
d("div", {
|
|
732
|
-
id: `chart-instructions-${w.value}`,
|
|
733
|
-
class: "sr-only"
|
|
734
|
-
}, [d("p", null, qe(j.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
|
|
735
|
-
Xn.value?.rows?.length ? (_(), c(ke, {
|
|
736
|
-
key: 0,
|
|
737
|
-
uid: w.value,
|
|
738
|
-
head: Xn.value.headers,
|
|
739
|
-
body: Xn.value.rows,
|
|
740
|
-
notice: j.value.a11y.translations.tableAvailable,
|
|
741
|
-
caption: j.value.a11y.translations.tableCaption
|
|
742
|
-
}, null, 8, [
|
|
743
|
-
"uid",
|
|
744
|
-
"head",
|
|
745
|
-
"body",
|
|
746
|
-
"notice",
|
|
747
|
-
"caption"
|
|
748
|
-
])) : l("", !0),
|
|
749
|
-
j.value.userOptions.buttons.annotator ? (_(), c(b(wt), {
|
|
750
|
-
key: 1,
|
|
751
|
-
svgRef: b(P),
|
|
752
|
-
backgroundColor: j.value.style.chart.backgroundColor,
|
|
753
|
-
color: j.value.style.chart.color,
|
|
754
|
-
active: $.value,
|
|
755
|
-
isCursorPointer: M.value,
|
|
756
|
-
onClose: Pn
|
|
757
|
-
}, {
|
|
758
|
-
"annotator-action-close": x(() => [y(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
759
|
-
"annotator-action-color": x(({ color: t }) => [y(e.$slots, "annotator-action-color", h(p({ color: t })), void 0, !0)]),
|
|
760
|
-
"annotator-action-draw": x(({ mode: t }) => [y(e.$slots, "annotator-action-draw", h(p({ mode: t })), void 0, !0)]),
|
|
761
|
-
"annotator-action-undo": x(({ disabled: t }) => [y(e.$slots, "annotator-action-undo", h(p({ disabled: t })), void 0, !0)]),
|
|
762
|
-
"annotator-action-redo": x(({ disabled: t }) => [y(e.$slots, "annotator-action-redo", h(p({ disabled: t })), void 0, !0)]),
|
|
763
|
-
"annotator-action-delete": x(({ disabled: t }) => [y(e.$slots, "annotator-action-delete", h(p({ disabled: t })), void 0, !0)]),
|
|
764
|
-
_: 3
|
|
765
|
-
}, 8, [
|
|
766
|
-
"svgRef",
|
|
767
|
-
"backgroundColor",
|
|
768
|
-
"color",
|
|
769
|
-
"active",
|
|
770
|
-
"isCursorPointer"
|
|
771
|
-
])) : l("", !0),
|
|
772
|
-
un.value ? (_(), u("div", {
|
|
773
|
-
key: 2,
|
|
774
|
-
ref_key: "noTitle",
|
|
775
|
-
ref: Rt,
|
|
776
|
-
class: "vue-data-ui-no-title-space",
|
|
777
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
778
|
-
}, null, 512)) : l("", !0),
|
|
779
|
-
j.value.style.chart.title.text ? (_(), u("div", {
|
|
780
|
-
key: 3,
|
|
781
|
-
ref_key: "chartTitle",
|
|
782
|
-
ref: Ft,
|
|
783
|
-
style: "width:100%;background:transparent"
|
|
784
|
-
}, [(_(), c(Ce, {
|
|
785
|
-
key: `title_${zt.value}`,
|
|
786
|
-
config: {
|
|
787
|
-
title: {
|
|
788
|
-
cy: "rings-div-title",
|
|
789
|
-
...j.value.style.chart.title
|
|
790
|
-
},
|
|
791
|
-
subtitle: {
|
|
792
|
-
cy: "rings-div-subtitle",
|
|
793
|
-
...j.value.style.chart.title.subtitle
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
}, null, 8, ["config"]))], 512)) : l("", !0),
|
|
797
|
-
d("div", { id: `legend-top-${w.value}` }, null, 8, et),
|
|
798
|
-
j.value.userOptions.show && Mt.value && (b(en) || b(Qt)) ? (_(), c(b(Tt), {
|
|
799
|
-
ref_key: "userOptionsRef",
|
|
800
|
-
ref: Wt,
|
|
801
|
-
key: `user_options_${Pt.value}`,
|
|
802
|
-
backgroundColor: j.value.style.chart.backgroundColor,
|
|
803
|
-
color: j.value.style.chart.color,
|
|
804
|
-
isPrinting: b(on),
|
|
805
|
-
isImaging: b(sn),
|
|
806
|
-
uid: w.value,
|
|
807
|
-
hasTooltip: j.value.userOptions.buttons.tooltip && j.value.style.chart.tooltip.show,
|
|
808
|
-
hasPdf: j.value.userOptions.buttons.pdf,
|
|
809
|
-
hasXls: j.value.userOptions.buttons.csv,
|
|
810
|
-
hasImg: j.value.userOptions.buttons.img,
|
|
811
|
-
hasSvg: j.value.userOptions.buttons.svg,
|
|
812
|
-
hasTable: j.value.userOptions.buttons.table,
|
|
813
|
-
hasFullscreen: j.value.userOptions.buttons.fullscreen,
|
|
814
|
-
hasAltCopy: j.value.userOptions.buttons.altCopy,
|
|
815
|
-
hasLabel: j.value.userOptions.buttons.labels,
|
|
816
|
-
isTooltip: R.value.showTooltip,
|
|
817
|
-
isFullscreen: Q.value,
|
|
818
|
-
titles: { ...j.value.userOptions.buttonTitles },
|
|
819
|
-
chartElement: D.value,
|
|
820
|
-
position: j.value.userOptions.position,
|
|
821
|
-
hasAnnotator: j.value.userOptions.buttons.annotator,
|
|
822
|
-
isAnnotation: $.value,
|
|
823
|
-
callbacks: j.value.userOptions.callbacks,
|
|
824
|
-
printScale: j.value.userOptions.print.scale,
|
|
825
|
-
tableDialog: j.value.table.useDialog,
|
|
826
|
-
isCursorPointer: M.value,
|
|
827
|
-
onToggleFullscreen: An,
|
|
828
|
-
onGeneratePdf: b(cn),
|
|
829
|
-
onGenerateCsv: kn,
|
|
830
|
-
onGenerateImage: Wn,
|
|
831
|
-
onGenerateSvg: Un,
|
|
832
|
-
onToggleTable: jn,
|
|
833
|
-
onToggleTooltip: Mn,
|
|
834
|
-
onToggleAnnotator: Pn,
|
|
835
|
-
onToggleLabels: Nn,
|
|
836
|
-
onCopyAlt: Gn,
|
|
837
|
-
style: g({ visibility: b(en) ? b(Qt) ? "visible" : "hidden" : "visible" })
|
|
838
|
-
}, Le({ _: 2 }, [
|
|
839
|
-
e.$slots.menuIcon ? {
|
|
840
|
-
name: "menuIcon",
|
|
841
|
-
fn: x(({ isOpen: t, color: n }) => [y(e.$slots, "menuIcon", h(p({
|
|
842
|
-
isOpen: t,
|
|
843
|
-
color: n
|
|
844
|
-
})), void 0, !0)]),
|
|
845
|
-
key: "0"
|
|
846
|
-
} : void 0,
|
|
847
|
-
e.$slots.optionTooltip ? {
|
|
848
|
-
name: "optionTooltip",
|
|
849
|
-
fn: x(() => [y(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
850
|
-
key: "1"
|
|
851
|
-
} : void 0,
|
|
852
|
-
e.$slots.optionPdf ? {
|
|
853
|
-
name: "optionPdf",
|
|
854
|
-
fn: x(() => [y(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
855
|
-
key: "2"
|
|
856
|
-
} : void 0,
|
|
857
|
-
e.$slots.optionCsv ? {
|
|
858
|
-
name: "optionCsv",
|
|
859
|
-
fn: x(() => [y(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
860
|
-
key: "3"
|
|
861
|
-
} : void 0,
|
|
862
|
-
e.$slots.optionImg ? {
|
|
863
|
-
name: "optionImg",
|
|
864
|
-
fn: x(() => [y(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
865
|
-
key: "4"
|
|
866
|
-
} : void 0,
|
|
867
|
-
e.$slots.optionSvg ? {
|
|
868
|
-
name: "optionSvg",
|
|
869
|
-
fn: x(() => [y(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
870
|
-
key: "5"
|
|
871
|
-
} : void 0,
|
|
872
|
-
e.$slots.optionTable ? {
|
|
873
|
-
name: "optionTable",
|
|
874
|
-
fn: x(() => [y(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
875
|
-
key: "6"
|
|
876
|
-
} : void 0,
|
|
877
|
-
e.$slots.optionLabels ? {
|
|
878
|
-
name: "optionLabels",
|
|
879
|
-
fn: x(() => [y(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
880
|
-
key: "7"
|
|
881
|
-
} : void 0,
|
|
882
|
-
e.$slots.optionFullscreen ? {
|
|
883
|
-
name: "optionFullscreen",
|
|
884
|
-
fn: x(({ toggleFullscreen: t, isFullscreen: n }) => [y(e.$slots, "optionFullscreen", h(p({
|
|
885
|
-
toggleFullscreen: t,
|
|
886
|
-
isFullscreen: n
|
|
887
|
-
})), void 0, !0)]),
|
|
888
|
-
key: "8"
|
|
889
|
-
} : void 0,
|
|
890
|
-
e.$slots.optionAnnotator ? {
|
|
891
|
-
name: "optionAnnotator",
|
|
892
|
-
fn: x(({ toggleAnnotator: t, isAnnotator: n }) => [y(e.$slots, "optionAnnotator", h(p({
|
|
893
|
-
toggleAnnotator: t,
|
|
894
|
-
isAnnotator: n
|
|
895
|
-
})), void 0, !0)]),
|
|
896
|
-
key: "9"
|
|
897
|
-
} : void 0,
|
|
898
|
-
e.$slots.optionAltCopy ? {
|
|
899
|
-
name: "optionAltCopy",
|
|
900
|
-
fn: x(({ altCopy: t }) => [y(e.$slots, "optionAltCopy", h(p({ altCopy: t })), void 0, !0)]),
|
|
901
|
-
key: "10"
|
|
902
|
-
} : void 0,
|
|
903
|
-
e.$slots["custom-menu-before"] ? {
|
|
904
|
-
name: "custom-menu-before",
|
|
905
|
-
fn: x(() => [y(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
906
|
-
key: "11"
|
|
907
|
-
} : void 0,
|
|
908
|
-
e.$slots["custom-menu-after"] ? {
|
|
909
|
-
name: "custom-menu-after",
|
|
910
|
-
fn: x(() => [y(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
911
|
-
key: "12"
|
|
912
|
-
} : void 0
|
|
913
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.hasLabel.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : l("", !0),
|
|
914
|
-
d("div", tt, [(_(), u("svg", {
|
|
915
|
-
ref_key: "svgRef",
|
|
916
|
-
ref: P,
|
|
917
|
-
xmlns: b(de),
|
|
918
|
-
class: m({
|
|
919
|
-
"vue-data-ui-fullscreen--on": Q.value,
|
|
920
|
-
"vue-data-ui-fulscreen--off": !Q.value,
|
|
921
|
-
resizing: Ht.value || b(N)
|
|
922
|
-
}),
|
|
923
|
-
viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
|
|
924
|
-
style: g(`max-width:100%;overflow:hidden;background:transparent;color:${j.value.style.chart.color}`),
|
|
925
|
-
"aria-describedby": `chart-instructions-${w.value}`,
|
|
926
|
-
tabindex: "0",
|
|
927
|
-
onFocus: Kn,
|
|
928
|
-
onBlur: qn,
|
|
929
|
-
onKeydown: Jn
|
|
930
|
-
}, [
|
|
931
|
-
ze(b(Et)),
|
|
932
|
-
e.$slots["chart-background"] ? (_(), u("foreignObject", {
|
|
933
|
-
key: 0,
|
|
934
|
-
x: 0,
|
|
935
|
-
y: 0,
|
|
936
|
-
width: z.value.width <= 0 ? 10 : z.value.width,
|
|
937
|
-
height: z.value.height <= 0 ? 10 : z.value.height,
|
|
938
|
-
style: { pointerEvents: "none" }
|
|
939
|
-
}, [y(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : l("", !0),
|
|
940
|
-
d("defs", null, [(_(!0), u(Fe, null, We(G.value, (e, t) => (_(), u("radialGradient", {
|
|
941
|
-
cx: "50%",
|
|
942
|
-
cy: "30%",
|
|
943
|
-
r: "50%",
|
|
944
|
-
fx: "50%",
|
|
945
|
-
fy: "50%",
|
|
946
|
-
id: `gradient_${w.value}_${t}`
|
|
947
|
-
}, [d("stop", {
|
|
948
|
-
offset: "0%",
|
|
949
|
-
"stop-color": b(ne)(b(re)(e.color, .05), 100 - j.value.style.chart.layout.rings.gradient.intensity)
|
|
950
|
-
}, null, 8, at), d("stop", {
|
|
951
|
-
offset: "100%",
|
|
952
|
-
"stop-color": e.color
|
|
953
|
-
}, null, 8, ot)], 8, it))), 256))]),
|
|
954
|
-
e.$slots.pattern ? (_(), u("g", st, [(_(!0), u(Fe, null, We(G.value, (t) => (_(), u("defs", null, [y(e.$slots, "pattern", Be({ ref_for: !0 }, {
|
|
955
|
-
seriesIndex: t.absoluteIndex,
|
|
956
|
-
patternId: `pattern_${w.value}_${t.absoluteIndex}`
|
|
957
|
-
}), void 0, !0)]))), 256))])) : l("", !0),
|
|
958
|
-
(_(!0), u(Fe, null, We(G.value, (t, r) => (_(), u("g", null, [
|
|
959
|
-
d("circle", {
|
|
960
|
-
class: m({
|
|
961
|
-
"vue-ui-rings-item": C.value && j.value.useCssAnimation,
|
|
962
|
-
"vue-rings-item-onload": !C.value && j.value.useCssAnimation && !b(N),
|
|
963
|
-
"vue-ui-rings-opacity": E.value !== null && E.value !== r
|
|
964
|
-
}),
|
|
965
|
-
style: g(`animation-delay:${r * 100}ms`),
|
|
966
|
-
stroke: j.value.style.chart.layout.rings.stroke,
|
|
967
|
-
cx: F.value.x,
|
|
968
|
-
cy: J(t, r),
|
|
969
|
-
r: q(t),
|
|
970
|
-
fill: j.value.style.chart.layout.rings.gradient.underlayerColor
|
|
971
|
-
}, null, 14, ct),
|
|
972
|
-
d("circle", {
|
|
973
|
-
class: m({
|
|
974
|
-
"vue-ui-rings-item": C.value && j.value.useCssAnimation,
|
|
975
|
-
"vue-rings-item-onload": !C.value && j.value.useCssAnimation && !b(N),
|
|
976
|
-
"vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
|
|
977
|
-
"vue-ui-rings-blur": E.value !== null && E.value !== r
|
|
978
|
-
}),
|
|
979
|
-
style: g(`animation-delay:${r * 100}ms`),
|
|
980
|
-
stroke: j.value.style.chart.layout.rings.stroke,
|
|
981
|
-
"stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
|
|
982
|
-
cx: F.value.x,
|
|
983
|
-
cy: J(t, r),
|
|
984
|
-
r: q(t),
|
|
985
|
-
fill: j.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${w.value}_${r})` : t.color
|
|
986
|
-
}, null, 14, lt),
|
|
987
|
-
e.$slots.pattern ? (_(), u("circle", {
|
|
988
|
-
key: 0,
|
|
989
|
-
class: m({
|
|
990
|
-
"vue-ui-rings-item": C.value && j.value.useCssAnimation,
|
|
991
|
-
"vue-rings-item-onload": !C.value && j.value.useCssAnimation && !b(N),
|
|
992
|
-
"vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
|
|
993
|
-
"vue-ui-rings-blur": E.value !== null && E.value !== r
|
|
994
|
-
}),
|
|
995
|
-
style: g(`animation-delay:${r * 100}ms`),
|
|
996
|
-
stroke: j.value.style.chart.layout.rings.stroke,
|
|
997
|
-
"stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
|
|
998
|
-
cx: F.value.x,
|
|
999
|
-
cy: J(t, r),
|
|
1000
|
-
r: q(t),
|
|
1001
|
-
fill: `url(#pattern_${w.value}_${t.absoluteIndex})`
|
|
1002
|
-
}, null, 14, ut)) : l("", !0),
|
|
1003
|
-
d("circle", {
|
|
1004
|
-
stroke: "none",
|
|
1005
|
-
cx: F.value.x,
|
|
1006
|
-
cy: J(t, r),
|
|
1007
|
-
r: q(t),
|
|
1008
|
-
fill: "transparent",
|
|
1009
|
-
onMouseenter: (e) => On(t, r, "pointer"),
|
|
1010
|
-
onMouseleave: (e) => wn(t, r),
|
|
1011
|
-
onClick: (e) => Cn(t, r)
|
|
1012
|
-
}, null, 40, dt),
|
|
1013
|
-
R.value.showLabels ? (_(), u(Fe, { key: 1 }, [
|
|
1014
|
-
d("rect", {
|
|
1015
|
-
x: j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? Y(t, r).x : F.value.x,
|
|
1016
|
-
y: Y(t, r).y - j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth / 2,
|
|
1017
|
-
width: Math.abs(F.value.x - Y(t, r).x),
|
|
1018
|
-
height: j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
|
|
1019
|
-
fill: j.value.style.chart.layout.labels.dataLabels.markers.stroke,
|
|
1020
|
-
rx: j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
|
|
1021
|
-
class: m({
|
|
1022
|
-
"vue-ui-rings-item": C.value && j.value.useCssAnimation,
|
|
1023
|
-
"vue-rings-item-onload": !C.value && j.value.useCssAnimation && !b(N),
|
|
1024
|
-
"vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
|
|
1025
|
-
"vue-ui-rings-blur": E.value !== null && E.value !== r
|
|
1026
|
-
})
|
|
1027
|
-
}, null, 10, ft),
|
|
1028
|
-
d("circle", {
|
|
1029
|
-
cx: Y(t, r).x,
|
|
1030
|
-
cy: Y(t, r).y,
|
|
1031
|
-
r: j.value.style.chart.layout.labels.dataLabels.markers.radius,
|
|
1032
|
-
fill: t.color,
|
|
1033
|
-
stroke: j.value.style.chart.backgroundColor,
|
|
1034
|
-
class: m({
|
|
1035
|
-
"vue-ui-rings-item": C.value && j.value.useCssAnimation,
|
|
1036
|
-
"vue-rings-item-onload": !C.value && j.value.useCssAnimation && !b(N),
|
|
1037
|
-
"vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
|
|
1038
|
-
"vue-ui-rings-blur": E.value !== null && E.value !== r
|
|
1039
|
-
})
|
|
1040
|
-
}, null, 10, pt),
|
|
1041
|
-
d("text", {
|
|
1042
|
-
x: Y(t, r).x + (j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -j.value.style.chart.layout.labels.dataLabels.offsetX : j.value.style.chart.layout.labels.dataLabels.offsetX),
|
|
1043
|
-
y: Y(t, r).y + j.value.style.chart.layout.labels.dataLabels.fontSize / 3,
|
|
1044
|
-
"text-anchor": j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? "end" : "start",
|
|
1045
|
-
"font-size": j.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1046
|
-
fill: j.value.style.chart.layout.labels.dataLabels.color,
|
|
1047
|
-
"font-weight": j.value.style.chart.layout.labels.dataLabels.bold ? "bold" : "normal",
|
|
1048
|
-
class: m({
|
|
1049
|
-
"vue-ui-rings-item": C.value && j.value.useCssAnimation,
|
|
1050
|
-
"vue-rings-item-onload": !C.value && j.value.useCssAnimation && !b(N),
|
|
1051
|
-
"vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
|
|
1052
|
-
"vue-ui-rings-blur": E.value !== null && E.value !== r
|
|
1053
|
-
}),
|
|
1054
|
-
onMouseenter: (e) => On(t, r, "pointer"),
|
|
1055
|
-
onMouseleave: (e) => wn(t, r),
|
|
1056
|
-
onClick: (e) => Cn(t, r),
|
|
1057
|
-
innerHTML: b(n)({
|
|
1058
|
-
content: En(t),
|
|
1059
|
-
fontSize: j.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1060
|
-
fill: j.value.style.chart.layout.labels.dataLabels.color,
|
|
1061
|
-
x: Y(t, r).x + (j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -j.value.style.chart.layout.labels.dataLabels.offsetX - 6 - j.value.style.chart.layout.labels.dataLabels.markers.radius : j.value.style.chart.layout.labels.dataLabels.offsetX + 6 + j.value.style.chart.layout.labels.dataLabels.markers.radius),
|
|
1062
|
-
y: Y(t, r).y + j.value.style.chart.layout.labels.dataLabels.fontSize / 3,
|
|
1063
|
-
translateY: !0
|
|
1064
|
-
})
|
|
1065
|
-
}, null, 42, mt)
|
|
1066
|
-
], 64)) : l("", !0)
|
|
1067
|
-
]))), 256)),
|
|
1068
|
-
y(e.$slots, "svg", { svg: {
|
|
1069
|
-
...z.value,
|
|
1070
|
-
isPrintingImg: b(on) || b(sn) || Gt.value,
|
|
1071
|
-
isPrintingSvg: Kt.value
|
|
1072
|
-
} }, void 0, !0)
|
|
1073
|
-
], 46, nt)), e.$slots.hint ? (_(), u("div", ht, [y(e.$slots, "hint", h(p({
|
|
1074
|
-
hint: j.value.a11y.translations.keyboardNavigation,
|
|
1075
|
-
isVisible: Jt.value
|
|
1076
|
-
})), void 0, !0)])) : l("", !0)]),
|
|
1077
|
-
e.$slots.watermark ? (_(), u("div", gt, [y(e.$slots, "watermark", h(p({ isPrinting: b(on) || b(sn) || Gt.value || Kt.value })), void 0, !0)])) : l("", !0),
|
|
1078
|
-
d("div", { id: `legend-bottom-${w.value}` }, null, 8, _t),
|
|
1079
|
-
Ut.value && (j.value.style.chart.legend.show || e.$slots.legend) ? (_(), c(Ie, {
|
|
1080
|
-
key: 6,
|
|
1081
|
-
to: j.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
|
|
1082
|
-
}, [d("div", {
|
|
1083
|
-
ref_key: "chartLegend",
|
|
1084
|
-
ref: It
|
|
1085
|
-
}, [y(e.$slots, "legend", { legend: U.value }, () => [j.value.style.chart.legend.show ? (_(), c(Ne, {
|
|
1086
|
-
key: `legend_${Vt.value}`,
|
|
1087
|
-
legendSet: U.value,
|
|
1088
|
-
config: xn.value,
|
|
1089
|
-
isCursorPointer: M.value,
|
|
1090
|
-
onClickMarker: t[0] ||= ({ legend: e }) => V(e.uid)
|
|
1091
|
-
}, Le({
|
|
1092
|
-
item: x(({ legend: e, index: t }) => [b(N) ? l("", !0) : (_(), u("div", {
|
|
1093
|
-
key: 0,
|
|
1094
|
-
onClick: (t) => V(e.uid),
|
|
1095
|
-
style: g(`opacity:${B.value.includes(e.uid) ? .5 : 1}`)
|
|
1096
|
-
}, qe(e.display), 13, vt))]),
|
|
1097
|
-
legendToggle: x(() => [U.value.length > 2 && j.value.style.chart.legend.selectAllToggle.show && !b(N) ? (_(), c(Oe, {
|
|
1098
|
-
key: 0,
|
|
1099
|
-
backgroundColor: j.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1100
|
-
color: j.value.style.chart.legend.selectAllToggle.color,
|
|
1101
|
-
fontSize: j.value.style.chart.legend.fontSize,
|
|
1102
|
-
checked: B.value.length > 0,
|
|
1103
|
-
isCursorPointer: M.value,
|
|
1104
|
-
onToggle: mn
|
|
1105
|
-
}, null, 8, [
|
|
1106
|
-
"backgroundColor",
|
|
1107
|
-
"color",
|
|
1108
|
-
"fontSize",
|
|
1109
|
-
"checked",
|
|
1110
|
-
"isCursorPointer"
|
|
1111
|
-
])) : l("", !0)]),
|
|
1112
|
-
_: 2
|
|
1113
|
-
}, [e.$slots.pattern ? {
|
|
1114
|
-
name: "legend-pattern",
|
|
1115
|
-
fn: x(({ legend: e, index: t }) => [ze(we, {
|
|
1116
|
-
shape: e.shape,
|
|
1117
|
-
radius: 30,
|
|
1118
|
-
stroke: "none",
|
|
1119
|
-
plot: {
|
|
1120
|
-
x: 30,
|
|
1121
|
-
y: 30
|
|
1122
|
-
},
|
|
1123
|
-
fill: `url(#pattern_${w.value}_${t})`
|
|
1124
|
-
}, null, 8, ["shape", "fill"])]),
|
|
1125
|
-
key: "0"
|
|
1126
|
-
} : void 0]), 1032, [
|
|
1127
|
-
"legendSet",
|
|
1128
|
-
"config",
|
|
1129
|
-
"isCursorPointer"
|
|
1130
|
-
])) : l("", !0)], !0)], 512)], 8, ["to"])) : l("", !0),
|
|
1131
|
-
e.$slots.source ? (_(), u("div", {
|
|
1132
|
-
key: 7,
|
|
1133
|
-
ref_key: "source",
|
|
1134
|
-
ref: Lt,
|
|
1135
|
-
dir: "auto"
|
|
1136
|
-
}, [y(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0),
|
|
1137
|
-
ze(b(bt), {
|
|
1138
|
-
teleportTo: j.value.style.chart.tooltip.teleportTo,
|
|
1139
|
-
show: R.value.showTooltip && T.value && B.value.length < S.dataset.length,
|
|
1140
|
-
backgroundColor: j.value.style.chart.tooltip.backgroundColor,
|
|
1141
|
-
color: j.value.style.chart.tooltip.color,
|
|
1142
|
-
borderRadius: j.value.style.chart.tooltip.borderRadius,
|
|
1143
|
-
borderColor: j.value.style.chart.tooltip.borderColor,
|
|
1144
|
-
borderWidth: j.value.style.chart.tooltip.borderWidth,
|
|
1145
|
-
fontSize: j.value.style.chart.tooltip.fontSize,
|
|
1146
|
-
backgroundOpacity: j.value.style.chart.tooltip.backgroundOpacity,
|
|
1147
|
-
position: j.value.style.chart.tooltip.position,
|
|
1148
|
-
offsetX: j.value.style.chart.tooltip.offsetX,
|
|
1149
|
-
offsetY: j.value.style.chart.tooltip.offsetY,
|
|
1150
|
-
parent: D.value,
|
|
1151
|
-
content: Nt.value,
|
|
1152
|
-
isFullscreen: Q.value,
|
|
1153
|
-
isCustom: j.value.style.chart.tooltip.customFormat && typeof j.value.style.chart.tooltip.customFormat == "function",
|
|
1154
|
-
smooth: j.value.style.chart.tooltip.smooth,
|
|
1155
|
-
backdropFilter: j.value.style.chart.tooltip.backdropFilter,
|
|
1156
|
-
smoothForce: j.value.style.chart.tooltip.smoothForce,
|
|
1157
|
-
smoothSnapThreshold: j.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1158
|
-
isA11yMode: A.value === "keyboard",
|
|
1159
|
-
a11yPosition: qt.value
|
|
1160
|
-
}, {
|
|
1161
|
-
"tooltip-before": x(() => [y(e.$slots, "tooltip-before", h(p({ ...Dn.value })), void 0, !0)]),
|
|
1162
|
-
tooltip: x(() => [y(e.$slots, "tooltip", h(p({ ...Dn.value })), void 0, !0)]),
|
|
1163
|
-
"tooltip-after": x(() => [y(e.$slots, "tooltip-after", h(p({ ...Dn.value })), void 0, !0)]),
|
|
1164
|
-
_: 3
|
|
1165
|
-
}, 8, [
|
|
1166
|
-
"teleportTo",
|
|
1167
|
-
"show",
|
|
1168
|
-
"backgroundColor",
|
|
1169
|
-
"color",
|
|
1170
|
-
"borderRadius",
|
|
1171
|
-
"borderColor",
|
|
1172
|
-
"borderWidth",
|
|
1173
|
-
"fontSize",
|
|
1174
|
-
"backgroundOpacity",
|
|
1175
|
-
"position",
|
|
1176
|
-
"offsetX",
|
|
1177
|
-
"offsetY",
|
|
1178
|
-
"parent",
|
|
1179
|
-
"content",
|
|
1180
|
-
"isFullscreen",
|
|
1181
|
-
"isCustom",
|
|
1182
|
-
"smooth",
|
|
1183
|
-
"backdropFilter",
|
|
1184
|
-
"smoothForce",
|
|
1185
|
-
"smoothSnapThreshold",
|
|
1186
|
-
"isA11yMode",
|
|
1187
|
-
"a11yPosition"
|
|
1188
|
-
]),
|
|
1189
|
-
Mt.value && j.value.userOptions.buttons.table ? (_(), c(Ge(In.value.component), Be({ key: 8 }, In.value.props, {
|
|
1190
|
-
ref_key: "tableUnit",
|
|
1191
|
-
ref: O,
|
|
1192
|
-
onClose: Ln
|
|
1193
|
-
}), Le({
|
|
1194
|
-
content: x(() => [(_(), c(b(Ct), {
|
|
1195
|
-
key: `table_${Bt.value}`,
|
|
1196
|
-
colNames: Z.value.colNames,
|
|
1197
|
-
head: Z.value.head,
|
|
1198
|
-
body: Z.value.body,
|
|
1199
|
-
config: Z.value.config,
|
|
1200
|
-
title: j.value.table.useDialog ? "" : In.value.title,
|
|
1201
|
-
withCloseButton: !j.value.table.useDialog,
|
|
1202
|
-
isCursorPointer: M.value,
|
|
1203
|
-
onClose: Ln
|
|
1204
|
-
}, {
|
|
1205
|
-
th: x(({ th: e }) => [d("div", {
|
|
1206
|
-
innerHTML: e,
|
|
1207
|
-
style: {
|
|
1208
|
-
display: "flex",
|
|
1209
|
-
"align-items": "center"
|
|
1210
|
-
}
|
|
1211
|
-
}, null, 8, yt)]),
|
|
1212
|
-
td: x(({ td: e }) => [Re(qe(e.name || e), 1)]),
|
|
1213
|
-
_: 1
|
|
1214
|
-
}, 8, [
|
|
1215
|
-
"colNames",
|
|
1216
|
-
"head",
|
|
1217
|
-
"body",
|
|
1218
|
-
"config",
|
|
1219
|
-
"title",
|
|
1220
|
-
"withCloseButton",
|
|
1221
|
-
"isCursorPointer"
|
|
1222
|
-
]))]),
|
|
1223
|
-
_: 2
|
|
1224
|
-
}, [j.value.table.useDialog ? {
|
|
1225
|
-
name: "title",
|
|
1226
|
-
fn: x(() => [Re(qe(In.value.title), 1)]),
|
|
1227
|
-
key: "0"
|
|
1228
|
-
} : void 0, j.value.table.useDialog ? {
|
|
1229
|
-
name: "actions",
|
|
1230
|
-
fn: x(() => [d("button", {
|
|
1231
|
-
tabindex: "0",
|
|
1232
|
-
class: "vue-ui-user-options-button",
|
|
1233
|
-
onClick: t[1] ||= (e) => kn(j.value.userOptions.callbacks.csv),
|
|
1234
|
-
style: g({ cursor: M.value ? "pointer" : "default" })
|
|
1235
|
-
}, [ze(b(xt), {
|
|
1236
|
-
name: "fileCsv",
|
|
1237
|
-
stroke: In.value.props.color
|
|
1238
|
-
}, null, 8, ["stroke"])], 4)]),
|
|
1239
|
-
key: "1"
|
|
1240
|
-
} : void 0]), 1040)) : l("", !0),
|
|
1241
|
-
y(e.$slots, "skeleton", {}, () => [b(N) ? (_(), c(ve, { key: 0 })) : l("", !0)], !0)
|
|
1242
|
-
], 46, Qe));
|
|
1243
|
-
}
|
|
1244
|
-
}, [["__scopeId", "data-v-ab14a465"]]);
|
|
1245
|
-
//#endregion
|
|
1246
|
-
export { Ze as n, bt as t };
|