vue-data-ui 3.20.2 → 3.20.3
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-f0MuYk3R.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-C3m9eNp0.js +0 -274
- package/dist/vue-data-ui.js +0 -76
- package/dist/vue-ui-3d-bar-Bfcitq55.js +0 -1757
- package/dist/vue-ui-accordion-Dw4MHKVB.js +0 -81
- package/dist/vue-ui-age-pyramid-Dgzd45Ol.js +0 -1238
- package/dist/vue-ui-annotator-DLPUAKlm.js +0 -2899
- package/dist/vue-ui-bullet-DAeyHSHC.js +0 -710
- package/dist/vue-ui-bump-DsiXfIFL.js +0 -1249
- package/dist/vue-ui-candlestick-BadEBUcF.js +0 -1826
- package/dist/vue-ui-carousel-table-_LCF7RFm.js +0 -455
- package/dist/vue-ui-chestnut-BTuAvc7L.js +0 -2010
- package/dist/vue-ui-chord-CAyRIJlh.js +0 -1391
- package/dist/vue-ui-circle-pack-BWzwg8Qb.js +0 -1608
- package/dist/vue-ui-cursor-C6t7nAT4.js +0 -283
- package/dist/vue-ui-dag-8Puv77-a.js +0 -2909
- package/dist/vue-ui-dashboard-CXDvRu27.js +0 -513
- package/dist/vue-ui-digits-BlHqILF0.js +0 -209
- package/dist/vue-ui-donut-CclzduCs.js +0 -2410
- package/dist/vue-ui-donut-evolution-DEfY2Zvy.js +0 -1510
- package/dist/vue-ui-dumbbell-BG5C4Hdg.js +0 -1530
- package/dist/vue-ui-flow-B73dHBrL.js +0 -1235
- package/dist/vue-ui-funnel-Bn3c5lWX.js +0 -777
- package/dist/vue-ui-galaxy-eBY55Fue.js +0 -1077
- package/dist/vue-ui-gauge-s8pl305B.js +0 -920
- package/dist/vue-ui-geo-Ca2ZPVhH.js +0 -1516
- package/dist/vue-ui-gizmo-CBNDeAzT.js +0 -225
- package/dist/vue-ui-heatmap-V79kNqUi.js +0 -1568
- package/dist/vue-ui-history-plot-jiJh8oaM.js +0 -1554
- package/dist/vue-ui-horizontal-bar-60b88qqU.js +0 -1681
- package/dist/vue-ui-kpi-DnfazUeY.js +0 -96
- package/dist/vue-ui-mini-loader-CyqBt2g4.js +0 -125
- package/dist/vue-ui-molecule-BeIVS2yp.js +0 -925
- package/dist/vue-ui-mood-radar-DHY1ry9I.js +0 -1148
- package/dist/vue-ui-nested-donuts-GNR6O-Z_.js +0 -1487
- package/dist/vue-ui-onion-DghkeKRu.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-DqfRRSnD.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-BBucQ_8r.js +0 -1978
- package/dist/vue-ui-quick-chart-DxxGq-5d.js +0 -2469
- package/dist/vue-ui-radar-B0gW_Iur.js +0 -1229
- package/dist/vue-ui-rating-BG4lf1z8.js +0 -343
- package/dist/vue-ui-relation-circle-C-fNOxJM.js +0 -924
- package/dist/vue-ui-ridgeline-CzDR20s3.js +0 -1622
- package/dist/vue-ui-rings-DNRdTVqV.js +0 -1246
- package/dist/vue-ui-scatter-CRgFebuE.js +0 -2413
- package/dist/vue-ui-skeleton-iNzRGgRn.js +0 -2556
- package/dist/vue-ui-smiley-G89TxRU-.js +0 -356
- package/dist/vue-ui-spark-trend-CPgTOFNY.js +0 -438
- package/dist/vue-ui-sparkbar-B4C_YxU-.js +0 -393
- package/dist/vue-ui-sparkgauge-DDkSKiba.js +0 -255
- package/dist/vue-ui-sparkhistogram-qtb6-Th8.js +0 -560
- package/dist/vue-ui-sparkline-TTSEEs7R.js +0 -1507
- package/dist/vue-ui-sparkstackbar-DXEnV79Y.js +0 -662
- package/dist/vue-ui-stackbar-CwFVpEgH.js +0 -2270
- package/dist/vue-ui-stackline-Bph0kD43.js +0 -2398
- package/dist/vue-ui-strip-plot-D2_WSwTF.js +0 -1340
- package/dist/vue-ui-table-BzmQMHxi.js +0 -1338
- package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +0 -344
- package/dist/vue-ui-table-sparkline-CXNxbqIw.js +0 -707
- package/dist/vue-ui-thermometer-Cqw2_Jpi.js +0 -763
- package/dist/vue-ui-timer-BHP_5wgz.js +0 -439
- package/dist/vue-ui-tiremarks-D8wFTxXl.js +0 -552
- package/dist/vue-ui-treemap-DbSebes7.js +0 -1587
- package/dist/vue-ui-waffle-CAIBpbY0.js +0 -1362
- package/dist/vue-ui-wheel-B5Cyopnp.js +0 -885
- package/dist/vue-ui-word-cloud-BaGDKrKL.js +0 -1656
- package/dist/vue-ui-world-DLcVBwLg.js +0 -14264
- package/dist/vue-ui-xy-CyP5FAo8.js +0 -4578
- package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +0 -1787
- 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,1238 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Bt as t, Ct as n, G as r, H as i, J as a, Lt as o, Mt as s, Nt as ee, S as te, X as ne, i as c, nt as re, pt as ie, t as ae, v as l } from "./lib-DUeYQsS0.js";
|
|
3
|
-
import { t as oe } from "./useConfig-DAyQk86L.js";
|
|
4
|
-
import { t as se } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
-
import { n as ce, t as le } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
-
import { t as ue } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as de } from "./useNestedProp-CNcoy38D.js";
|
|
8
|
-
import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as pe } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
-
import { t as me } from "./img-1cKsci8e.js";
|
|
11
|
-
import { n as he } from "./Title-NWp4qB4K.js";
|
|
12
|
-
import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
-
import { c as _e } from "./canvas-lib-BOP_HS11.js";
|
|
14
|
-
import { t as ve } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as ye } from "./A11yDataTable-BCbtxMU6.js";
|
|
16
|
-
import { t as be } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
|
-
import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as Se } from "./vue_ui_age_pyramid-BY6c-oX_.js";
|
|
19
|
-
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ce, createTextVNode as we, createVNode as Te, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Ee, nextTick as De, normalizeClass as Oe, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as ke, onMounted as Ae, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as je, shallowRef as Me, toDisplayString as w, toRefs as Ne, unref as T, watch as Pe, watchEffect as Fe, withCtx as E } from "vue";
|
|
20
|
-
//#region src/components/vue-ui-age-pyramid.vue
|
|
21
|
-
var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze = { style: { position: "relative" } }, Be = [
|
|
22
|
-
"xmlns",
|
|
23
|
-
"viewBox",
|
|
24
|
-
"aria-describedby"
|
|
25
|
-
], Ve = [
|
|
26
|
-
"x",
|
|
27
|
-
"y",
|
|
28
|
-
"width",
|
|
29
|
-
"height"
|
|
30
|
-
], He = ["id"], Ue = ["stop-color"], We = ["stop-color"], Ge = ["id"], Ke = ["stop-color"], qe = ["stop-color"], Je = [
|
|
31
|
-
"x",
|
|
32
|
-
"y",
|
|
33
|
-
"width",
|
|
34
|
-
"height",
|
|
35
|
-
"fill",
|
|
36
|
-
"rx"
|
|
37
|
-
], Ye = [
|
|
38
|
-
"x",
|
|
39
|
-
"y",
|
|
40
|
-
"width",
|
|
41
|
-
"height",
|
|
42
|
-
"fill",
|
|
43
|
-
"rx"
|
|
44
|
-
], Xe = [
|
|
45
|
-
"x",
|
|
46
|
-
"y",
|
|
47
|
-
"width",
|
|
48
|
-
"height",
|
|
49
|
-
"fill",
|
|
50
|
-
"rx"
|
|
51
|
-
], Ze = [
|
|
52
|
-
"x",
|
|
53
|
-
"y",
|
|
54
|
-
"width",
|
|
55
|
-
"height",
|
|
56
|
-
"fill",
|
|
57
|
-
"rx"
|
|
58
|
-
], Qe = { key: 0 }, $e = [
|
|
59
|
-
"x",
|
|
60
|
-
"y",
|
|
61
|
-
"fill",
|
|
62
|
-
"font-size",
|
|
63
|
-
"font-weight"
|
|
64
|
-
], et = [
|
|
65
|
-
"x",
|
|
66
|
-
"y",
|
|
67
|
-
"fill",
|
|
68
|
-
"font-size",
|
|
69
|
-
"font-weight"
|
|
70
|
-
], tt = { key: 1 }, nt = [
|
|
71
|
-
"x",
|
|
72
|
-
"y",
|
|
73
|
-
"font-size",
|
|
74
|
-
"fill",
|
|
75
|
-
"font-weight"
|
|
76
|
-
], rt = { key: 2 }, it = { key: 0 }, at = [
|
|
77
|
-
"x1",
|
|
78
|
-
"x2",
|
|
79
|
-
"y1",
|
|
80
|
-
"y2",
|
|
81
|
-
"stroke",
|
|
82
|
-
"stroke-width"
|
|
83
|
-
], ot = [
|
|
84
|
-
"x1",
|
|
85
|
-
"x2",
|
|
86
|
-
"y1",
|
|
87
|
-
"y2",
|
|
88
|
-
"stroke",
|
|
89
|
-
"stroke-width"
|
|
90
|
-
], st = [
|
|
91
|
-
"x1",
|
|
92
|
-
"x2",
|
|
93
|
-
"y1",
|
|
94
|
-
"y2",
|
|
95
|
-
"stroke",
|
|
96
|
-
"stroke-width"
|
|
97
|
-
], ct = [
|
|
98
|
-
"x1",
|
|
99
|
-
"x2",
|
|
100
|
-
"y1",
|
|
101
|
-
"y2",
|
|
102
|
-
"stroke",
|
|
103
|
-
"stroke-width"
|
|
104
|
-
], lt = [
|
|
105
|
-
"font-size",
|
|
106
|
-
"fill",
|
|
107
|
-
"text-anchor",
|
|
108
|
-
"font-weight",
|
|
109
|
-
"transform"
|
|
110
|
-
], ut = [
|
|
111
|
-
"font-size",
|
|
112
|
-
"fill",
|
|
113
|
-
"text-anchor",
|
|
114
|
-
"font-weight",
|
|
115
|
-
"transform"
|
|
116
|
-
], dt = [
|
|
117
|
-
"x",
|
|
118
|
-
"y",
|
|
119
|
-
"font-size",
|
|
120
|
-
"fill",
|
|
121
|
-
"font-weight"
|
|
122
|
-
], ft = [
|
|
123
|
-
"x",
|
|
124
|
-
"y",
|
|
125
|
-
"width",
|
|
126
|
-
"height",
|
|
127
|
-
"fill",
|
|
128
|
-
"onMouseover",
|
|
129
|
-
"onMouseleave",
|
|
130
|
-
"onClick"
|
|
131
|
-
], pt = {
|
|
132
|
-
key: 0,
|
|
133
|
-
style: {
|
|
134
|
-
position: "absolute",
|
|
135
|
-
top: "100%",
|
|
136
|
-
left: "0",
|
|
137
|
-
width: "100%"
|
|
138
|
-
},
|
|
139
|
-
"data-dom-to-png-ignore": "",
|
|
140
|
-
"aria-hidden": "true"
|
|
141
|
-
}, mt = {
|
|
142
|
-
key: 5,
|
|
143
|
-
class: "vue-data-ui-watermark"
|
|
144
|
-
}, ht = /* @__PURE__ */ ge({
|
|
145
|
-
__name: "vue-ui-age-pyramid",
|
|
146
|
-
props: {
|
|
147
|
-
config: {
|
|
148
|
-
type: Object,
|
|
149
|
-
default() {
|
|
150
|
-
return {};
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
dataset: {
|
|
154
|
-
type: Array,
|
|
155
|
-
default() {
|
|
156
|
-
return [];
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
emits: ["copyAlt"],
|
|
161
|
-
setup(e, { expose: ge, emit: Ie }) {
|
|
162
|
-
let ht = g(() => import("./Tooltip-BENq327o.js")), gt = g(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), _t = g(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), vt = g(() => import("./DataTable-B--IN22e.js")), yt = g(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), bt = g(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), xt = g(() => import("./PackageVersion-f0MuYk3R.js").then((e) => e.t)), St = g(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_age_pyramid: Ct } = oe(), { isThemeValid: wt, warnInvalidTheme: Tt } = fe(), D = e, Et = Ie, Dt = d(() => !!D.dataset && D.dataset.length), O = x(i()), k = x(!1), Ot = x(""), A = x(null), kt = x(0), j = x(null), At = x(null), jt = x(null), Mt = x(null), Nt = x(0), Pt = x(0), Ft = x(null), M = x(null), It = x(null), N = x(!1), P = x(!1), F = x(null), Lt = x({
|
|
163
|
-
x: 0,
|
|
164
|
-
y: 0
|
|
165
|
-
}), I = x("pointer"), Rt = x(!1), L = x(Gt()), R = d(() => L.value.userOptions.useCursorPointer), zt = d(() => t({
|
|
166
|
-
defaultConfig: {
|
|
167
|
-
userOptions: { show: !1 },
|
|
168
|
-
table: { show: !1 },
|
|
169
|
-
translations: {
|
|
170
|
-
male: "",
|
|
171
|
-
female: ""
|
|
172
|
-
},
|
|
173
|
-
style: {
|
|
174
|
-
backgroundColor: "#99999930",
|
|
175
|
-
layout: {
|
|
176
|
-
bars: {
|
|
177
|
-
left: { color: "#CACACA" },
|
|
178
|
-
right: { color: "#999999" }
|
|
179
|
-
},
|
|
180
|
-
dataLabels: {
|
|
181
|
-
xAxis: {
|
|
182
|
-
fontSize: 0,
|
|
183
|
-
scale: 1e3,
|
|
184
|
-
translation: ""
|
|
185
|
-
},
|
|
186
|
-
yAxis: { show: !1 }
|
|
187
|
-
},
|
|
188
|
-
grid: { stroke: "#6A6A6A" }
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
userConfig: L.value.skeletonConfig ?? {}
|
|
193
|
-
})), { loading: Bt, FINAL_DATASET: z, manualLoading: Vt } = ce({
|
|
194
|
-
...Ne(D),
|
|
195
|
-
FINAL_CONFIG: L,
|
|
196
|
-
prepareConfig: Gt,
|
|
197
|
-
skeletonDataset: D.config?.skeletonDataset ?? [
|
|
198
|
-
[
|
|
199
|
-
"_",
|
|
200
|
-
9,
|
|
201
|
-
2,
|
|
202
|
-
2
|
|
203
|
-
],
|
|
204
|
-
[
|
|
205
|
-
"_",
|
|
206
|
-
8,
|
|
207
|
-
3,
|
|
208
|
-
3
|
|
209
|
-
],
|
|
210
|
-
[
|
|
211
|
-
"_",
|
|
212
|
-
7,
|
|
213
|
-
5,
|
|
214
|
-
5
|
|
215
|
-
],
|
|
216
|
-
[
|
|
217
|
-
"_",
|
|
218
|
-
6,
|
|
219
|
-
8,
|
|
220
|
-
8
|
|
221
|
-
],
|
|
222
|
-
[
|
|
223
|
-
"_",
|
|
224
|
-
5,
|
|
225
|
-
13,
|
|
226
|
-
13
|
|
227
|
-
],
|
|
228
|
-
[
|
|
229
|
-
"_",
|
|
230
|
-
4,
|
|
231
|
-
21,
|
|
232
|
-
21
|
|
233
|
-
],
|
|
234
|
-
[
|
|
235
|
-
"_",
|
|
236
|
-
3,
|
|
237
|
-
34,
|
|
238
|
-
34
|
|
239
|
-
],
|
|
240
|
-
[
|
|
241
|
-
"_",
|
|
242
|
-
2,
|
|
243
|
-
55,
|
|
244
|
-
55
|
|
245
|
-
],
|
|
246
|
-
[
|
|
247
|
-
"_",
|
|
248
|
-
1,
|
|
249
|
-
89,
|
|
250
|
-
89
|
|
251
|
-
],
|
|
252
|
-
[
|
|
253
|
-
"_",
|
|
254
|
-
0,
|
|
255
|
-
144,
|
|
256
|
-
144
|
|
257
|
-
]
|
|
258
|
-
],
|
|
259
|
-
skeletonConfig: t({
|
|
260
|
-
defaultConfig: L.value,
|
|
261
|
-
userConfig: zt.value
|
|
262
|
-
})
|
|
263
|
-
}), { userOptionsVisible: Ht, setUserOptionsVisibility: Ut, keepUserOptionState: Wt } = be({ config: L.value }), { svgRef: B } = xe({ config: L.value.style.title });
|
|
264
|
-
function Gt() {
|
|
265
|
-
let e = de({
|
|
266
|
-
userConfig: D.config,
|
|
267
|
-
defaultConfig: Ct
|
|
268
|
-
}), t = e.theme;
|
|
269
|
-
if (!t) return e;
|
|
270
|
-
if (!wt.value(e)) return Tt(e), e;
|
|
271
|
-
let n = de({
|
|
272
|
-
userConfig: Se[t] || D.config,
|
|
273
|
-
defaultConfig: e
|
|
274
|
-
});
|
|
275
|
-
return de({
|
|
276
|
-
userConfig: D.config,
|
|
277
|
-
defaultConfig: n
|
|
278
|
-
});
|
|
279
|
-
}
|
|
280
|
-
Pe(() => D.config, (e) => {
|
|
281
|
-
Bt.value || (L.value = Gt()), Ht.value = !L.value.userOptions.showOnChartHover, qt(), Nt.value += 1, Pt.value += 1, U.value.showTable = L.value.table.show, U.value.showTooltip = L.value.style.tooltip.show;
|
|
282
|
-
}, { deep: !0 }), Pe(() => D.dataset, (e) => {
|
|
283
|
-
Array.isArray(e) && e.length > 0 && (Vt.value = !1);
|
|
284
|
-
}, { deep: !0 });
|
|
285
|
-
let V = Me(null), H = Me(null);
|
|
286
|
-
Ae(() => {
|
|
287
|
-
qt();
|
|
288
|
-
});
|
|
289
|
-
let Kt = d(() => !!L.value.debug);
|
|
290
|
-
function qt() {
|
|
291
|
-
if (n(D.dataset) && (ne({
|
|
292
|
-
componentName: "VueUiAgePyramid",
|
|
293
|
-
type: "dataset",
|
|
294
|
-
debug: Kt.value
|
|
295
|
-
}), Vt.value = !0), n(D.dataset) || (Vt.value = L.value.loading), L.value.responsive) {
|
|
296
|
-
let e = _e(() => {
|
|
297
|
-
let { width: e, height: t } = ve({
|
|
298
|
-
chart: j.value,
|
|
299
|
-
title: L.value.style.title.text ? At.value : null,
|
|
300
|
-
source: jt.value,
|
|
301
|
-
noTitle: Mt.value
|
|
302
|
-
});
|
|
303
|
-
requestAnimationFrame(() => {
|
|
304
|
-
W.value.width = e, W.value.height = t;
|
|
305
|
-
});
|
|
306
|
-
});
|
|
307
|
-
V.value && (H.value && V.value.unobserve(H.value), V.value.disconnect()), V.value = new ResizeObserver(e), H.value = j.value.parentNode, V.value.observe(H.value);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
ke(() => {
|
|
311
|
-
V.value && (H.value && V.value.unobserve(H.value), V.value.disconnect());
|
|
312
|
-
});
|
|
313
|
-
let { isPrinting: Jt, isImaging: Yt, generatePdf: Xt, generateImage: Zt } = se({
|
|
314
|
-
elementId: `vue-ui-age-pyramid_${O.value}`,
|
|
315
|
-
fileName: L.value.style.title.text || "vue-ui-age-pyramid",
|
|
316
|
-
options: L.value.userOptions.print
|
|
317
|
-
}), Qt = d(() => L.value.userOptions.show && !L.value.style.title.text), U = x({
|
|
318
|
-
showTable: L.value.table.show,
|
|
319
|
-
showTooltip: L.value.style.tooltip.show
|
|
320
|
-
});
|
|
321
|
-
Pe(L, () => {
|
|
322
|
-
U.value = {
|
|
323
|
-
showTable: L.value.table.show,
|
|
324
|
-
showTooltip: L.value.style.tooltip.show
|
|
325
|
-
};
|
|
326
|
-
}, { immediate: !0 });
|
|
327
|
-
let W = x({
|
|
328
|
-
height: L.value.style.height,
|
|
329
|
-
width: L.value.style.width
|
|
330
|
-
}), $t = d(() => W.value.width), en = d(() => W.value.height), tn = x(0), nn = _e((e) => {
|
|
331
|
-
tn.value = e;
|
|
332
|
-
}, 100);
|
|
333
|
-
Fe((e) => {
|
|
334
|
-
let t = Ft.value;
|
|
335
|
-
if (!t) return;
|
|
336
|
-
let n = new ResizeObserver((e) => {
|
|
337
|
-
nn(e[0].contentRect.height);
|
|
338
|
-
});
|
|
339
|
-
n.observe(t), e(() => n.disconnect());
|
|
340
|
-
}), ke(() => {
|
|
341
|
-
tn.value = 0;
|
|
342
|
-
});
|
|
343
|
-
let G = d(() => {
|
|
344
|
-
let e = W.value.width - L.value.style.layout.padding.right - L.value.style.layout.padding.left, t = L.value.style.layout.padding.left, n = W.value.width - L.value.style.layout.padding.right;
|
|
345
|
-
return {
|
|
346
|
-
top: L.value.style.layout.padding.top + L.value.style.layout.dataLabels.sideTitles.fontSize + L.value.style.layout.dataLabels.sideTitles.offsetY + 12,
|
|
347
|
-
left: t,
|
|
348
|
-
right: n,
|
|
349
|
-
bottom: W.value.height - L.value.style.layout.padding.bottom - tn.value,
|
|
350
|
-
width: e,
|
|
351
|
-
height: W.value.height - L.value.style.layout.padding.top - L.value.style.layout.padding.bottom - tn.value - L.value.style.layout.dataLabels.sideTitles.fontSize - L.value.style.layout.dataLabels.sideTitles.offsetY - 12,
|
|
352
|
-
centerX: L.value.style.layout.padding.left + e / 2,
|
|
353
|
-
leftChart: {
|
|
354
|
-
width: e / 2 - L.value.style.layout.centerSlit.width,
|
|
355
|
-
right: t + e / 2 - L.value.style.layout.centerSlit.width
|
|
356
|
-
},
|
|
357
|
-
rightChart: {
|
|
358
|
-
width: e / 2 - L.value.style.layout.centerSlit.width,
|
|
359
|
-
left: t + e / 2 + L.value.style.layout.centerSlit.width
|
|
360
|
-
}
|
|
361
|
-
};
|
|
362
|
-
}), rn = d(() => z.value.map((e) => L.value.style.layout.dataLabels.yAxis.display === "age" ? e[1] : e[0])), K = d(() => {
|
|
363
|
-
let e = an(q.value / 5), t = [], n = [];
|
|
364
|
-
for (let r = 0; r <= 5; r += 1) {
|
|
365
|
-
let i = e * r, a = e * (r - 5);
|
|
366
|
-
t.push({
|
|
367
|
-
value: i,
|
|
368
|
-
x: G.value.left + G.value.width / 2 + L.value.style.layout.centerSlit.width + i / q.value * G.value.leftChart.width
|
|
369
|
-
}), n.push({
|
|
370
|
-
value: Math.abs(a),
|
|
371
|
-
x: G.value.left + G.value.width / 2 + a / q.value * G.value.leftChart.width - L.value.style.layout.centerSlit.width
|
|
372
|
-
});
|
|
373
|
-
}
|
|
374
|
-
return {
|
|
375
|
-
right: t,
|
|
376
|
-
left: n
|
|
377
|
-
};
|
|
378
|
-
});
|
|
379
|
-
function an(e) {
|
|
380
|
-
if (e === 0) return 0;
|
|
381
|
-
let t = 10 ** Math.floor(Math.log10(Math.abs(e))), n;
|
|
382
|
-
return n = Math.round(e / t) * t, n;
|
|
383
|
-
}
|
|
384
|
-
let q = d(() => Math.max(...z.value.flatMap((e) => e.slice(-2).map((e) => l(e))))), J = d(() => z.value.length), on = d(() => z.value.map((e) => ({
|
|
385
|
-
segment: e[0],
|
|
386
|
-
age: e[1],
|
|
387
|
-
left: {
|
|
388
|
-
value: e[2],
|
|
389
|
-
proportionToMax: e[2] / q.value
|
|
390
|
-
},
|
|
391
|
-
right: {
|
|
392
|
-
value: e[3],
|
|
393
|
-
proportionToMax: e[3] / q.value
|
|
394
|
-
}
|
|
395
|
-
}))), Y = d(() => on.value.map((e, t) => {
|
|
396
|
-
let n = G.value.top + G.value.height / J.value * t, r = G.value.height / J.value - L.value.style.layout.bars.gap;
|
|
397
|
-
return {
|
|
398
|
-
segment: e.segment,
|
|
399
|
-
age: e.age,
|
|
400
|
-
left: {
|
|
401
|
-
...e.left,
|
|
402
|
-
y: n,
|
|
403
|
-
color: L.value.style.layout.bars.left.color,
|
|
404
|
-
x: G.value.leftChart.right - e.left.proportionToMax * G.value.leftChart.width,
|
|
405
|
-
width: l(e.left.proportionToMax * G.value.leftChart.width),
|
|
406
|
-
height: r
|
|
407
|
-
},
|
|
408
|
-
right: {
|
|
409
|
-
...e.right,
|
|
410
|
-
y: n,
|
|
411
|
-
color: L.value.style.layout.bars.right.color,
|
|
412
|
-
x: G.value.rightChart.left,
|
|
413
|
-
width: l(e.right.proportionToMax * G.value.rightChart.width),
|
|
414
|
-
height: r
|
|
415
|
-
}
|
|
416
|
-
};
|
|
417
|
-
})), sn = x(null);
|
|
418
|
-
function cn(e) {
|
|
419
|
-
let [t, n, r, i] = e;
|
|
420
|
-
return {
|
|
421
|
-
segment: t,
|
|
422
|
-
index: n,
|
|
423
|
-
left: r,
|
|
424
|
-
right: i
|
|
425
|
-
};
|
|
426
|
-
}
|
|
427
|
-
function ln(e, t) {
|
|
428
|
-
L.value.events.datapointClick && L.value.events.datapointClick({
|
|
429
|
-
datapoint: cn(t),
|
|
430
|
-
seriesIndex: e
|
|
431
|
-
});
|
|
432
|
-
}
|
|
433
|
-
function un(e, t) {
|
|
434
|
-
L.value.events.datapointLeave && L.value.events.datapointLeave({
|
|
435
|
-
datapoint: cn(t),
|
|
436
|
-
seriesIndex: e
|
|
437
|
-
}), !(I.value === "keyboard" && F.value === e) && (A.value = null, k.value = !1);
|
|
438
|
-
}
|
|
439
|
-
function dn(e) {
|
|
440
|
-
if (!B.value) return;
|
|
441
|
-
let t = Y.value[e];
|
|
442
|
-
if (!t) return;
|
|
443
|
-
let n = o(G.value.left + G.value.width / 2, t.left.y + t.left.height / 2, B.value);
|
|
444
|
-
n && (Lt.value = n);
|
|
445
|
-
}
|
|
446
|
-
function fn(e, t, n = "pointer") {
|
|
447
|
-
L.value.events.datapointEnter && L.value.events.datapointEnter({
|
|
448
|
-
datapoint: cn(t),
|
|
449
|
-
seriesIndex: e
|
|
450
|
-
}), A.value = e, F.value = e, I.value = n, sn.value = {
|
|
451
|
-
datapoint: t,
|
|
452
|
-
seriesIndex: e,
|
|
453
|
-
series: Y.value,
|
|
454
|
-
config: L.value
|
|
455
|
-
};
|
|
456
|
-
let i = L.value.style.tooltip.customFormat;
|
|
457
|
-
if (ie(i) && re(() => i({
|
|
458
|
-
seriesIndex: e,
|
|
459
|
-
datapoint: {
|
|
460
|
-
segment: t[0],
|
|
461
|
-
index: t[1],
|
|
462
|
-
left: t[2],
|
|
463
|
-
right: t[3]
|
|
464
|
-
},
|
|
465
|
-
series: Y.value,
|
|
466
|
-
config: L.value
|
|
467
|
-
}))) Ot.value = i({
|
|
468
|
-
seriesIndex: e,
|
|
469
|
-
datapoint: {
|
|
470
|
-
segment: t[0],
|
|
471
|
-
index: t[1],
|
|
472
|
-
left: t[2],
|
|
473
|
-
right: t[3]
|
|
474
|
-
},
|
|
475
|
-
series: Y.value,
|
|
476
|
-
config: L.value
|
|
477
|
-
});
|
|
478
|
-
else {
|
|
479
|
-
let n = "", i = Y.value[e];
|
|
480
|
-
n += `<div><b>${i.segment}</b></div>`, n += `<div>${L.value.translations.age}: ${c(L.value.style.layout.dataLabels.yAxis.formatter, l(i.age), r({ v: l(i.age) }), {
|
|
481
|
-
datapoint: t,
|
|
482
|
-
seriesIndex: e
|
|
483
|
-
})}</div>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${L.value.style.tooltip.borderColor}">`, n += "<div style=\"display:flex; flex-direction:row;gap:12px\">", n += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${L.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${L.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${O.value})` : L.value.style.layout.bars.left.color}"/></svg><div>${L.value.translations.female}</div><div><b>${c(L.value.style.layout.dataLabels.xAxis.formatter, l(i.left.value), r({ v: l(i.left.value) }), {
|
|
484
|
-
datapoint: t,
|
|
485
|
-
seriesIndex: e
|
|
486
|
-
})}</b></div></div>`, n += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${L.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${L.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${O.value})` : L.value.style.layout.bars.right.color}"/></svg><div>${L.value.translations.male}</div><div><b>${c(L.value.style.layout.dataLabels.xAxis.formatter, l(i.right.value), r({ v: l(i.right.value) }), {
|
|
487
|
-
datapoint: t,
|
|
488
|
-
seriesIndex: e
|
|
489
|
-
})}</b></div></div>`, n += "</div>", n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${L.value.style.tooltip.borderColor}"><div>${L.value.translations.total}</div><div><b>${c(L.value.style.layout.dataLabels.xAxis.formatter, l(i.right.value) + l(i.left.value), r({ v: l(i.right.value) + l(i.left.value) }), {
|
|
490
|
-
datapoint: t,
|
|
491
|
-
seriesIndex: e
|
|
492
|
-
})}</b></div></div>`, n += "</div>", Ot.value = `<div>${n}</div>`;
|
|
493
|
-
}
|
|
494
|
-
k.value = !0, n === "keyboard" && De(() => {
|
|
495
|
-
dn(e);
|
|
496
|
-
});
|
|
497
|
-
}
|
|
498
|
-
function pn(e = null) {
|
|
499
|
-
De(() => {
|
|
500
|
-
let t = [
|
|
501
|
-
L.value.translations.year,
|
|
502
|
-
L.value.translations.age,
|
|
503
|
-
L.value.translations.female,
|
|
504
|
-
L.value.translations.male,
|
|
505
|
-
L.value.translations.total
|
|
506
|
-
], n = D.dataset.map((e) => [
|
|
507
|
-
e[0],
|
|
508
|
-
e[1],
|
|
509
|
-
e[2],
|
|
510
|
-
e[3],
|
|
511
|
-
e[2] ?? 0 + e[3] ?? 0
|
|
512
|
-
]), r = te([
|
|
513
|
-
[L.value.style.title.text],
|
|
514
|
-
[L.value.style.title.subtitle.text],
|
|
515
|
-
[
|
|
516
|
-
[""],
|
|
517
|
-
[""],
|
|
518
|
-
[""]
|
|
519
|
-
],
|
|
520
|
-
t
|
|
521
|
-
].concat(n));
|
|
522
|
-
e ? e(r) : a({
|
|
523
|
-
csvContent: r,
|
|
524
|
-
title: L.value.style.title.text || "vue-ui-heatmap"
|
|
525
|
-
});
|
|
526
|
-
});
|
|
527
|
-
}
|
|
528
|
-
let X = d(() => {
|
|
529
|
-
let e = [
|
|
530
|
-
L.value.translations.year,
|
|
531
|
-
L.value.translations.age,
|
|
532
|
-
L.value.translations.female,
|
|
533
|
-
L.value.translations.male,
|
|
534
|
-
L.value.translations.total
|
|
535
|
-
];
|
|
536
|
-
return {
|
|
537
|
-
head: e,
|
|
538
|
-
body: D.dataset.map((e) => [
|
|
539
|
-
e[0],
|
|
540
|
-
e[1],
|
|
541
|
-
e[2] == null ? "" : e[2].toLocaleString(),
|
|
542
|
-
e[3] == null ? "" : e[3].toLocaleString(),
|
|
543
|
-
(e[2] ?? 0 + e[3] ?? 0).toLocaleString()
|
|
544
|
-
]),
|
|
545
|
-
config: {
|
|
546
|
-
th: {
|
|
547
|
-
backgroundColor: L.value.table.th.backgroundColor,
|
|
548
|
-
color: L.value.table.th.color,
|
|
549
|
-
outline: L.value.table.th.outline
|
|
550
|
-
},
|
|
551
|
-
td: {
|
|
552
|
-
backgroundColor: L.value.table.td.backgroundColor,
|
|
553
|
-
color: L.value.table.td.color,
|
|
554
|
-
outline: L.value.table.td.outline
|
|
555
|
-
},
|
|
556
|
-
breakpoint: L.value.table.responsiveBreakpoint
|
|
557
|
-
},
|
|
558
|
-
colNames: e
|
|
559
|
-
};
|
|
560
|
-
}), Z = x(!1);
|
|
561
|
-
function mn(e) {
|
|
562
|
-
Z.value = e, kt.value += 1;
|
|
563
|
-
}
|
|
564
|
-
function hn() {
|
|
565
|
-
U.value.showTable = !U.value.showTable;
|
|
566
|
-
}
|
|
567
|
-
function gn() {
|
|
568
|
-
U.value.showTooltip = !U.value.showTooltip;
|
|
569
|
-
}
|
|
570
|
-
let Q = x(!1);
|
|
571
|
-
function _n() {
|
|
572
|
-
Q.value = !Q.value;
|
|
573
|
-
}
|
|
574
|
-
async function vn({ scale: e = 2 } = {}) {
|
|
575
|
-
if (!j.value) return;
|
|
576
|
-
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
|
|
577
|
-
domElement: j.value,
|
|
578
|
-
base64: !0,
|
|
579
|
-
img: !0,
|
|
580
|
-
scale: e
|
|
581
|
-
});
|
|
582
|
-
return {
|
|
583
|
-
imageUri: i,
|
|
584
|
-
base64: a,
|
|
585
|
-
title: L.value.style.title.text,
|
|
586
|
-
width: t,
|
|
587
|
-
height: n,
|
|
588
|
-
aspectRatio: r
|
|
589
|
-
};
|
|
590
|
-
}
|
|
591
|
-
pe({
|
|
592
|
-
timeLabelsEls: Ft,
|
|
593
|
-
timeLabels: x([]),
|
|
594
|
-
slicer: x({
|
|
595
|
-
start: 0,
|
|
596
|
-
end: Y.value.length
|
|
597
|
-
}),
|
|
598
|
-
configRef: L,
|
|
599
|
-
rotationPath: [
|
|
600
|
-
"style",
|
|
601
|
-
"layout",
|
|
602
|
-
"dataLabels",
|
|
603
|
-
"xAxis",
|
|
604
|
-
"rotation"
|
|
605
|
-
],
|
|
606
|
-
autoRotatePath: [
|
|
607
|
-
"style",
|
|
608
|
-
"layout",
|
|
609
|
-
"dataLabels",
|
|
610
|
-
"xAxis",
|
|
611
|
-
"autoRotate",
|
|
612
|
-
"enable"
|
|
613
|
-
],
|
|
614
|
-
isAutoSize: !1,
|
|
615
|
-
width: $t,
|
|
616
|
-
height: en,
|
|
617
|
-
targetClass: ".vue-ui-age-pyramid-x-axis-label",
|
|
618
|
-
rotation: L.value.style.layout.dataLabels.xAxis.autoRotate.angle
|
|
619
|
-
});
|
|
620
|
-
let $ = d(() => {
|
|
621
|
-
let e = L.value.table.useDialog && !L.value.table.show, t = U.value.showTable;
|
|
622
|
-
return {
|
|
623
|
-
component: e ? St : _t,
|
|
624
|
-
title: `${L.value.style.title.text}${L.value.style.title.subtitle.text ? `: ${L.value.style.title.subtitle.text}` : ""}`,
|
|
625
|
-
props: e ? {
|
|
626
|
-
backgroundColor: L.value.table.th.backgroundColor,
|
|
627
|
-
color: L.value.table.th.color,
|
|
628
|
-
headerColor: L.value.table.th.color,
|
|
629
|
-
headerBg: L.value.table.th.backgroundColor,
|
|
630
|
-
isFullscreen: Z.value,
|
|
631
|
-
fullscreenParent: j.value,
|
|
632
|
-
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
633
|
-
isCursorPointer: R.value
|
|
634
|
-
} : {
|
|
635
|
-
hideDetails: !0,
|
|
636
|
-
config: {
|
|
637
|
-
open: t,
|
|
638
|
-
maxHeight: 1e4,
|
|
639
|
-
body: {
|
|
640
|
-
backgroundColor: L.value.style.backgroundColor,
|
|
641
|
-
color: L.value.style.color
|
|
642
|
-
},
|
|
643
|
-
head: {
|
|
644
|
-
backgroundColor: L.value.style.backgroundColor,
|
|
645
|
-
color: L.value.style.color
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
};
|
|
650
|
-
});
|
|
651
|
-
Pe(() => U.value.showTable, (e) => {
|
|
652
|
-
L.value.table.show || (e && L.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
653
|
-
});
|
|
654
|
-
function yn() {
|
|
655
|
-
U.value.showTable = !1, It.value && It.value.setTableIconState(!1);
|
|
656
|
-
}
|
|
657
|
-
let bn = d(() => L.value.style.backgroundColor), { exportSvg: xn, getSvg: Sn } = ue({
|
|
658
|
-
svg: B,
|
|
659
|
-
title: d(() => L.value.style.title),
|
|
660
|
-
backgroundColor: bn
|
|
661
|
-
});
|
|
662
|
-
async function Cn({ isCb: e }) {
|
|
663
|
-
P.value = !0, await De();
|
|
664
|
-
try {
|
|
665
|
-
if (e) {
|
|
666
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await Sn();
|
|
667
|
-
await Promise.resolve(L.value.userOptions.callbacks.svg({
|
|
668
|
-
blob: e,
|
|
669
|
-
url: t,
|
|
670
|
-
text: n,
|
|
671
|
-
dataUrl: r
|
|
672
|
-
}));
|
|
673
|
-
} else await Promise.resolve(xn());
|
|
674
|
-
} finally {
|
|
675
|
-
P.value = !1;
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
function wn(e) {
|
|
679
|
-
if (e?.stage === "start") {
|
|
680
|
-
N.value = !0;
|
|
681
|
-
return;
|
|
682
|
-
}
|
|
683
|
-
if (e?.stage === "end") {
|
|
684
|
-
N.value = !1;
|
|
685
|
-
return;
|
|
686
|
-
}
|
|
687
|
-
Zt();
|
|
688
|
-
}
|
|
689
|
-
async function Tn() {
|
|
690
|
-
if (Et("copyAlt", {
|
|
691
|
-
config: L.value,
|
|
692
|
-
dataset: Y.value
|
|
693
|
-
}), !L.value.userOptions.callbacks.altCopy) {
|
|
694
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
695
|
-
return;
|
|
696
|
-
}
|
|
697
|
-
await Promise.resolve(L.value.userOptions.callbacks.altCopy({
|
|
698
|
-
config: L.value,
|
|
699
|
-
dataset: Y.value
|
|
700
|
-
}));
|
|
701
|
-
}
|
|
702
|
-
function En() {
|
|
703
|
-
Rt.value = !0;
|
|
704
|
-
}
|
|
705
|
-
function Dn() {
|
|
706
|
-
A.value = null, F.value = null, I.value = "pointer", k.value = !1, Rt.value = !1;
|
|
707
|
-
}
|
|
708
|
-
function On(e) {
|
|
709
|
-
if (!B.value || Q.value || document.activeElement !== B.value || !Y.value.length) return;
|
|
710
|
-
let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
711
|
-
if (!t && !n && !r && !i) return;
|
|
712
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
713
|
-
A.value = null, F.value = null, I.value = "pointer", k.value = !1;
|
|
714
|
-
return;
|
|
715
|
-
}
|
|
716
|
-
if (r) {
|
|
717
|
-
if (F.value === null) return;
|
|
718
|
-
let e = D.dataset[F.value];
|
|
719
|
-
if (!e) return;
|
|
720
|
-
ln(F.value, e);
|
|
721
|
-
return;
|
|
722
|
-
}
|
|
723
|
-
let a = F.value, o = A.value, s = a !== null && a >= 0 && a < Y.value.length, ee = o !== null && o >= 0 && o < Y.value.length;
|
|
724
|
-
s ? t ? a = a - 1 < 0 ? Y.value.length - 1 : a - 1 : n && (a = a + 1 > Y.value.length - 1 ? 0 : a + 1) : ee ? (a = n ? o + 1 : o - 1, a >= Y.value.length && (a = 0), a < 0 && (a = Y.value.length - 1)) : a = n ? 0 : Y.value.length - 1;
|
|
725
|
-
let te = D.dataset[a];
|
|
726
|
-
te && fn(a, te, "keyboard");
|
|
727
|
-
}
|
|
728
|
-
return ge({
|
|
729
|
-
getImage: vn,
|
|
730
|
-
generatePdf: Xt,
|
|
731
|
-
generateCsv: pn,
|
|
732
|
-
generateImage: Zt,
|
|
733
|
-
generateSvg: Cn,
|
|
734
|
-
toggleTable: hn,
|
|
735
|
-
toggleTooltip: gn,
|
|
736
|
-
toggleAnnotator: _n,
|
|
737
|
-
toggleFullscreen: mn,
|
|
738
|
-
copyAlt: Tn
|
|
739
|
-
}), (t, n) => (b(), m("div", {
|
|
740
|
-
class: Oe(`vue-data-ui-component vue-ui-age-pyramid ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
741
|
-
ref_key: "agePyramid",
|
|
742
|
-
ref: j,
|
|
743
|
-
id: `vue-ui-age-pyramid_${O.value}`,
|
|
744
|
-
style: y(`font-family:${L.value.style.fontFamily};width:100%; text-align:center;background:${L.value.style.backgroundColor};${L.value.responsive ? "height:100%" : ""}`),
|
|
745
|
-
onMouseenter: n[1] ||= () => T(Ut)(!0),
|
|
746
|
-
onMouseleave: n[2] ||= () => T(Ut)(!1)
|
|
747
|
-
}, [
|
|
748
|
-
h("div", {
|
|
749
|
-
id: `chart-instructions-${O.value}`,
|
|
750
|
-
class: "sr-only"
|
|
751
|
-
}, [h("p", null, w(L.value.a11y.translations.keyboardNavigation), 1)], 8, Re),
|
|
752
|
-
X.value?.body?.length ? (b(), f(ye, {
|
|
753
|
-
key: 0,
|
|
754
|
-
uid: O.value,
|
|
755
|
-
head: X.value.head,
|
|
756
|
-
body: X.value.body,
|
|
757
|
-
notice: L.value.a11y.translations.tableAvailable,
|
|
758
|
-
caption: L.value.a11y.translations.tableCaption
|
|
759
|
-
}, null, 8, [
|
|
760
|
-
"uid",
|
|
761
|
-
"head",
|
|
762
|
-
"body",
|
|
763
|
-
"notice",
|
|
764
|
-
"caption"
|
|
765
|
-
])) : p("", !0),
|
|
766
|
-
L.value.userOptions.buttons.annotator ? (b(), f(T(yt), {
|
|
767
|
-
key: 1,
|
|
768
|
-
svgRef: T(B),
|
|
769
|
-
backgroundColor: L.value.style.backgroundColor,
|
|
770
|
-
color: L.value.style.color,
|
|
771
|
-
active: Q.value,
|
|
772
|
-
isCursorPointer: R.value,
|
|
773
|
-
onClose: _n
|
|
774
|
-
}, {
|
|
775
|
-
"annotator-action-close": E(() => [C(t.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
776
|
-
"annotator-action-color": E(({ color: e }) => [C(t.$slots, "annotator-action-color", v(_({ color: e })), void 0, !0)]),
|
|
777
|
-
"annotator-action-draw": E(({ mode: e }) => [C(t.$slots, "annotator-action-draw", v(_({ mode: e })), void 0, !0)]),
|
|
778
|
-
"annotator-action-undo": E(({ disabled: e }) => [C(t.$slots, "annotator-action-undo", v(_({ disabled: e })), void 0, !0)]),
|
|
779
|
-
"annotator-action-redo": E(({ disabled: e }) => [C(t.$slots, "annotator-action-redo", v(_({ disabled: e })), void 0, !0)]),
|
|
780
|
-
"annotator-action-delete": E(({ disabled: e }) => [C(t.$slots, "annotator-action-delete", v(_({ disabled: e })), void 0, !0)]),
|
|
781
|
-
_: 3
|
|
782
|
-
}, 8, [
|
|
783
|
-
"svgRef",
|
|
784
|
-
"backgroundColor",
|
|
785
|
-
"color",
|
|
786
|
-
"active",
|
|
787
|
-
"isCursorPointer"
|
|
788
|
-
])) : p("", !0),
|
|
789
|
-
Qt.value ? (b(), m("div", {
|
|
790
|
-
key: 2,
|
|
791
|
-
ref_key: "noTitle",
|
|
792
|
-
ref: Mt,
|
|
793
|
-
class: "vue-data-ui-no-title-space",
|
|
794
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
795
|
-
}, null, 512)) : p("", !0),
|
|
796
|
-
L.value.style.title.text ? (b(), m("div", {
|
|
797
|
-
key: 3,
|
|
798
|
-
ref_key: "chartTitle",
|
|
799
|
-
ref: At,
|
|
800
|
-
style: "width:100%;background:transparent"
|
|
801
|
-
}, [(b(), f(he, {
|
|
802
|
-
key: `title_${Nt.value}`,
|
|
803
|
-
config: {
|
|
804
|
-
title: {
|
|
805
|
-
cy: "pyramid-div-title",
|
|
806
|
-
...L.value.style.title
|
|
807
|
-
},
|
|
808
|
-
subtitle: {
|
|
809
|
-
cy: "pyramid-div-subtitle",
|
|
810
|
-
...L.value.style.title.subtitle
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
814
|
-
L.value.userOptions.show && Dt.value && (T(Wt) || T(Ht)) ? (b(), f(T(bt), {
|
|
815
|
-
ref_key: "userOptionsRef",
|
|
816
|
-
ref: It,
|
|
817
|
-
key: `user_options_${kt.value}`,
|
|
818
|
-
backgroundColor: L.value.style.backgroundColor,
|
|
819
|
-
color: L.value.style.color,
|
|
820
|
-
isImaging: T(Yt),
|
|
821
|
-
isPrinting: T(Jt),
|
|
822
|
-
uid: O.value,
|
|
823
|
-
hasTooltip: L.value.userOptions.buttons.tooltip && L.value.style.tooltip.show,
|
|
824
|
-
hasPdf: L.value.userOptions.buttons.pdf,
|
|
825
|
-
hasXls: L.value.userOptions.buttons.csv,
|
|
826
|
-
hasImg: L.value.userOptions.buttons.img,
|
|
827
|
-
hasSvg: L.value.userOptions.buttons.svg,
|
|
828
|
-
hasTable: L.value.userOptions.buttons.table,
|
|
829
|
-
hasFullscreen: L.value.userOptions.buttons.fullscreen,
|
|
830
|
-
hasAltCopy: L.value.userOptions.buttons.altCopy,
|
|
831
|
-
isFullscreen: Z.value,
|
|
832
|
-
isTooltip: U.value.showTooltip,
|
|
833
|
-
titles: { ...L.value.userOptions.buttonTitles },
|
|
834
|
-
chartElement: j.value,
|
|
835
|
-
position: L.value.userOptions.position,
|
|
836
|
-
hasAnnotator: L.value.userOptions.buttons.annotator,
|
|
837
|
-
isAnnotation: Q.value,
|
|
838
|
-
callbacks: L.value.userOptions.callbacks,
|
|
839
|
-
printScale: L.value.userOptions.print.scale,
|
|
840
|
-
tableDialog: L.value.table.useDialog,
|
|
841
|
-
isCursorPointer: R.value,
|
|
842
|
-
onToggleFullscreen: mn,
|
|
843
|
-
onGeneratePdf: T(Xt),
|
|
844
|
-
onGenerateCsv: pn,
|
|
845
|
-
onGenerateImage: wn,
|
|
846
|
-
onGenerateSvg: Cn,
|
|
847
|
-
onToggleTable: hn,
|
|
848
|
-
onToggleTooltip: gn,
|
|
849
|
-
onToggleAnnotator: _n,
|
|
850
|
-
onCopyAlt: Tn,
|
|
851
|
-
style: y({ visibility: T(Wt) ? T(Ht) ? "visible" : "hidden" : "visible" })
|
|
852
|
-
}, Ce({ _: 2 }, [
|
|
853
|
-
t.$slots.menuIcon ? {
|
|
854
|
-
name: "menuIcon",
|
|
855
|
-
fn: E(({ isOpen: e, color: n }) => [C(t.$slots, "menuIcon", v(_({
|
|
856
|
-
isOpen: e,
|
|
857
|
-
color: n
|
|
858
|
-
})), void 0, !0)]),
|
|
859
|
-
key: "0"
|
|
860
|
-
} : void 0,
|
|
861
|
-
t.$slots.optionTooltip ? {
|
|
862
|
-
name: "optionTooltip",
|
|
863
|
-
fn: E(() => [C(t.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
864
|
-
key: "1"
|
|
865
|
-
} : void 0,
|
|
866
|
-
t.$slots.optionPdf ? {
|
|
867
|
-
name: "optionPdf",
|
|
868
|
-
fn: E(() => [C(t.$slots, "optionPdf", {}, void 0, !0)]),
|
|
869
|
-
key: "2"
|
|
870
|
-
} : void 0,
|
|
871
|
-
t.$slots.optionCsv ? {
|
|
872
|
-
name: "optionCsv",
|
|
873
|
-
fn: E(() => [C(t.$slots, "optionCsv", {}, void 0, !0)]),
|
|
874
|
-
key: "3"
|
|
875
|
-
} : void 0,
|
|
876
|
-
t.$slots.optionImg ? {
|
|
877
|
-
name: "optionImg",
|
|
878
|
-
fn: E(() => [C(t.$slots, "optionImg", {}, void 0, !0)]),
|
|
879
|
-
key: "4"
|
|
880
|
-
} : void 0,
|
|
881
|
-
t.$slots.optionSvg ? {
|
|
882
|
-
name: "optionSvg",
|
|
883
|
-
fn: E(() => [C(t.$slots, "optionSvg", {}, void 0, !0)]),
|
|
884
|
-
key: "5"
|
|
885
|
-
} : void 0,
|
|
886
|
-
t.$slots.optionTable ? {
|
|
887
|
-
name: "optionTable",
|
|
888
|
-
fn: E(() => [C(t.$slots, "optionTable", {}, void 0, !0)]),
|
|
889
|
-
key: "6"
|
|
890
|
-
} : void 0,
|
|
891
|
-
t.$slots.optionFullscreen ? {
|
|
892
|
-
name: "optionFullscreen",
|
|
893
|
-
fn: E(({ toggleFullscreen: e, isFullscreen: n }) => [C(t.$slots, "optionFullscreen", v(_({
|
|
894
|
-
toggleFullscreen: e,
|
|
895
|
-
isFullscreen: n
|
|
896
|
-
})), void 0, !0)]),
|
|
897
|
-
key: "7"
|
|
898
|
-
} : void 0,
|
|
899
|
-
t.$slots.optionAnnotator ? {
|
|
900
|
-
name: "optionAnnotator",
|
|
901
|
-
fn: E(({ toggleAnnotator: e, isAnnotator: n }) => [C(t.$slots, "optionAnnotator", v(_({
|
|
902
|
-
toggleAnnotator: e,
|
|
903
|
-
isAnnotator: n
|
|
904
|
-
})), void 0, !0)]),
|
|
905
|
-
key: "8"
|
|
906
|
-
} : void 0,
|
|
907
|
-
t.$slots.optionAltCopy ? {
|
|
908
|
-
name: "optionAltCopy",
|
|
909
|
-
fn: E(({ altCopy: e }) => [C(t.$slots, "optionAltCopy", v(_({ altCopy: e })), void 0, !0)]),
|
|
910
|
-
key: "9"
|
|
911
|
-
} : void 0,
|
|
912
|
-
t.$slots["custom-menu-before"] ? {
|
|
913
|
-
name: "custom-menu-before",
|
|
914
|
-
fn: E(() => [C(t.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
915
|
-
key: "10"
|
|
916
|
-
} : void 0,
|
|
917
|
-
t.$slots["custom-menu-after"] ? {
|
|
918
|
-
name: "custom-menu-after",
|
|
919
|
-
fn: E(() => [C(t.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
920
|
-
key: "11"
|
|
921
|
-
} : void 0
|
|
922
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : p("", !0),
|
|
923
|
-
h("div", ze, [(b(), m("svg", {
|
|
924
|
-
ref_key: "svgRef",
|
|
925
|
-
ref: B,
|
|
926
|
-
xmlns: T(ae),
|
|
927
|
-
class: Oe({
|
|
928
|
-
"vue-data-ui-fullscreen--on": Z.value,
|
|
929
|
-
"vue-data-ui-fulscreen--off": !Z.value
|
|
930
|
-
}),
|
|
931
|
-
viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${W.value.height <= 0 ? 10 : W.value.height}`,
|
|
932
|
-
style: y(`max-width:100%;overflow:visible;background:transparent;color:${L.value.style.color}`),
|
|
933
|
-
tabindex: "0",
|
|
934
|
-
"aria-describedby": `chart-instructions-${O.value}`,
|
|
935
|
-
onFocus: En,
|
|
936
|
-
onBlur: Dn,
|
|
937
|
-
onKeydown: On
|
|
938
|
-
}, [
|
|
939
|
-
Te(T(xt)),
|
|
940
|
-
t.$slots["chart-background"] ? (b(), m("foreignObject", {
|
|
941
|
-
key: 0,
|
|
942
|
-
x: G.value.left,
|
|
943
|
-
y: G.value.top,
|
|
944
|
-
width: Math.max(.1, G.value.width),
|
|
945
|
-
height: Math.max(.1, G.value.height),
|
|
946
|
-
style: { pointerEvents: "none" }
|
|
947
|
-
}, [C(t.$slots, "chart-background", {}, void 0, !0)], 8, Ve)) : p("", !0),
|
|
948
|
-
h("defs", null, [h("linearGradient", {
|
|
949
|
-
id: `age_pyramid_left_${O.value}`,
|
|
950
|
-
x1: "0%",
|
|
951
|
-
y1: "0%",
|
|
952
|
-
x2: "100%",
|
|
953
|
-
y2: "0%"
|
|
954
|
-
}, [h("stop", {
|
|
955
|
-
offset: "0%",
|
|
956
|
-
"stop-color": L.value.style.layout.bars.left.color
|
|
957
|
-
}, null, 8, Ue), h("stop", {
|
|
958
|
-
offset: "100%",
|
|
959
|
-
"stop-color": T(s)(T(ee)(L.value.style.layout.bars.left.color, L.value.style.layout.bars.gradient.shiftHue), 100 - L.value.style.layout.bars.gradient.intensity)
|
|
960
|
-
}, null, 8, We)], 8, He), h("linearGradient", {
|
|
961
|
-
id: `age_pyramid_right_${O.value}`,
|
|
962
|
-
x1: "0%",
|
|
963
|
-
y1: "0%",
|
|
964
|
-
x2: "100%",
|
|
965
|
-
y2: "0%"
|
|
966
|
-
}, [h("stop", {
|
|
967
|
-
offset: "0%",
|
|
968
|
-
"stop-color": T(s)(T(ee)(L.value.style.layout.bars.right.color, L.value.style.layout.bars.gradient.shiftHue), 100 - L.value.style.layout.bars.gradient.intensity)
|
|
969
|
-
}, null, 8, Ke), h("stop", {
|
|
970
|
-
offset: "100%",
|
|
971
|
-
"stop-color": L.value.style.layout.bars.right.color
|
|
972
|
-
}, null, 8, qe)], 8, Ge)]),
|
|
973
|
-
(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("g", null, [
|
|
974
|
-
h("rect", {
|
|
975
|
-
x: e.left.x,
|
|
976
|
-
y: e.left.y,
|
|
977
|
-
width: T(l)(e.left.width <= 0 ? 1e-4 : e.left.width),
|
|
978
|
-
height: e.left.height <= 0 ? 1e-4 : e.left.height,
|
|
979
|
-
fill: L.value.style.layout.bars.gradient.underlayer,
|
|
980
|
-
rx: L.value.style.layout.bars.borderRadius
|
|
981
|
-
}, null, 8, Je),
|
|
982
|
-
h("rect", {
|
|
983
|
-
x: e.left.x,
|
|
984
|
-
y: e.left.y,
|
|
985
|
-
width: e.left.width <= 0 ? 1e-4 : e.left.width,
|
|
986
|
-
height: e.left.height <= 0 ? 1e-4 : e.left.height,
|
|
987
|
-
fill: L.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${O.value})` : e.left.color,
|
|
988
|
-
rx: L.value.style.layout.bars.borderRadius
|
|
989
|
-
}, null, 8, Ye),
|
|
990
|
-
h("rect", {
|
|
991
|
-
x: e.right.x,
|
|
992
|
-
y: e.right.y,
|
|
993
|
-
width: e.right.width <= 0 ? 1e-4 : e.right.width,
|
|
994
|
-
height: e.right.height <= 0 ? 1e-4 : e.right.height,
|
|
995
|
-
fill: L.value.style.layout.bars.gradient.underlayer,
|
|
996
|
-
rx: L.value.style.layout.bars.borderRadius
|
|
997
|
-
}, null, 8, Xe),
|
|
998
|
-
h("rect", {
|
|
999
|
-
x: e.right.x,
|
|
1000
|
-
y: e.right.y,
|
|
1001
|
-
width: e.right.width <= 0 ? 1e-4 : e.right.width,
|
|
1002
|
-
height: e.right.height <= 0 ? 1e-4 : e.right.height,
|
|
1003
|
-
fill: L.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${O.value})` : e.right.color,
|
|
1004
|
-
rx: L.value.style.layout.bars.borderRadius
|
|
1005
|
-
}, null, 8, Ze)
|
|
1006
|
-
]))), 256)),
|
|
1007
|
-
h("g", null, [
|
|
1008
|
-
L.value.style.layout.dataLabels.sideTitles.show ? (b(), m("g", Qe, [h("text", {
|
|
1009
|
-
x: G.value.left,
|
|
1010
|
-
y: L.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
1011
|
-
fill: L.value.style.layout.dataLabels.sideTitles.useSideColor ? L.value.style.layout.bars.left.color : L.value.style.layout.dataLabels.sideTitles.color,
|
|
1012
|
-
"font-size": L.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
1013
|
-
"text-anchor": "start",
|
|
1014
|
-
"font-weight": L.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
1015
|
-
}, w(L.value.translations.female), 9, $e), h("text", {
|
|
1016
|
-
x: G.value.right,
|
|
1017
|
-
y: L.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
1018
|
-
fill: L.value.style.layout.dataLabels.sideTitles.useSideColor ? L.value.style.layout.bars.right.color : L.value.style.layout.dataLabels.sideTitles.color,
|
|
1019
|
-
"font-size": L.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
1020
|
-
"text-anchor": "end",
|
|
1021
|
-
"font-weight": L.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
1022
|
-
}, w(L.value.translations.male), 9, et)])) : p("", !0),
|
|
1023
|
-
L.value.style.layout.dataLabels.yAxis.show ? (b(), m("g", tt, [(b(!0), m(u, null, S(rn.value, (e, t) => (b(), m(u, null, [t % L.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (b(), m("text", {
|
|
1024
|
-
key: 0,
|
|
1025
|
-
x: G.value.centerX,
|
|
1026
|
-
y: G.value.top + G.value.height / J.value * t + L.value.style.layout.dataLabels.yAxis.fontSize / 3,
|
|
1027
|
-
"text-anchor": "middle",
|
|
1028
|
-
"font-size": L.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1029
|
-
fill: L.value.style.layout.dataLabels.yAxis.color,
|
|
1030
|
-
"font-weight": L.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
1031
|
-
}, w(T(c)(L.value.style.layout.dataLabels.yAxis.formatter, e, T(r)({ v: e }), {
|
|
1032
|
-
datapoint: e,
|
|
1033
|
-
seriesIndex: t
|
|
1034
|
-
})), 9, nt)) : p("", !0)], 64))), 256))])) : p("", !0),
|
|
1035
|
-
L.value.style.layout.dataLabels.xAxis.show ? (b(), m("g", rt, [
|
|
1036
|
-
L.value.style.layout.grid.show ? (b(), m("g", it, [h("line", {
|
|
1037
|
-
x1: K.value.right[0].x,
|
|
1038
|
-
x2: K.value.right.at(-1).x,
|
|
1039
|
-
y1: G.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
1040
|
-
y2: G.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
1041
|
-
stroke: L.value.style.layout.grid.stroke,
|
|
1042
|
-
"stroke-width": L.value.style.layout.grid.strokeWidth,
|
|
1043
|
-
"stroke-linecap": "round"
|
|
1044
|
-
}, null, 8, at), h("line", {
|
|
1045
|
-
x1: K.value.left[0].x,
|
|
1046
|
-
x2: K.value.left.at(-1).x,
|
|
1047
|
-
y1: G.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
1048
|
-
y2: G.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
1049
|
-
stroke: L.value.style.layout.grid.stroke,
|
|
1050
|
-
"stroke-width": L.value.style.layout.grid.strokeWidth,
|
|
1051
|
-
"stroke-linecap": "round"
|
|
1052
|
-
}, null, 8, ot)])) : p("", !0),
|
|
1053
|
-
(b(!0), m(u, null, S(K.value.right, (e, t) => (b(), m("g", null, [L.value.style.layout.grid.show ? (b(), m("line", {
|
|
1054
|
-
key: 0,
|
|
1055
|
-
x1: e.x,
|
|
1056
|
-
x2: e.x,
|
|
1057
|
-
y1: G.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
1058
|
-
y2: G.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2 + 4,
|
|
1059
|
-
stroke: L.value.style.layout.grid.stroke,
|
|
1060
|
-
"stroke-width": L.value.style.layout.grid.strokeWidth,
|
|
1061
|
-
"stroke-linecap": "round"
|
|
1062
|
-
}, null, 8, st)) : p("", !0)]))), 256)),
|
|
1063
|
-
(b(!0), m(u, null, S(K.value.left, (e, t) => (b(), m("g", null, [L.value.style.layout.grid.show ? (b(), m("line", {
|
|
1064
|
-
key: 0,
|
|
1065
|
-
x1: e.x,
|
|
1066
|
-
x2: e.x,
|
|
1067
|
-
y1: G.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
1068
|
-
y2: G.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2 + 4,
|
|
1069
|
-
stroke: L.value.style.layout.grid.stroke,
|
|
1070
|
-
"stroke-width": L.value.style.layout.grid.strokeWidth,
|
|
1071
|
-
"stroke-linecap": "round"
|
|
1072
|
-
}, null, 8, ct)) : p("", !0)]))), 256)),
|
|
1073
|
-
h("g", {
|
|
1074
|
-
ref_key: "xAxisLabels",
|
|
1075
|
-
ref: Ft
|
|
1076
|
-
}, [(b(!0), m(u, null, S(K.value.right, (e, t) => (b(), m("text", {
|
|
1077
|
-
class: "vue-ui-age-pyramid-x-axis-label",
|
|
1078
|
-
"font-size": L.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1079
|
-
fill: L.value.style.layout.dataLabels.xAxis.color,
|
|
1080
|
-
"text-anchor": L.value.style.layout.dataLabels.xAxis.rotation > 0 ? "start" : L.value.style.layout.dataLabels.xAxis.rotation < 0 ? "end" : "middle",
|
|
1081
|
-
"font-weight": L.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1082
|
-
transform: `translate(${e.x}, ${G.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${L.value.style.layout.dataLabels.xAxis.rotation})`
|
|
1083
|
-
}, w(T(c)(L.value.style.layout.dataLabels.xAxis.formatter, e.value / L.value.style.layout.dataLabels.xAxis.scale, T(r)({ v: e.value / L.value.style.layout.dataLabels.xAxis.scale }), {
|
|
1084
|
-
datapoint: e,
|
|
1085
|
-
seriesIndex: t
|
|
1086
|
-
})), 9, lt))), 256)), (b(!0), m(u, null, S(K.value.left, (e, t) => (b(), m("text", {
|
|
1087
|
-
class: "vue-ui-age-pyramid-x-axis-label",
|
|
1088
|
-
"font-size": L.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1089
|
-
fill: L.value.style.layout.dataLabels.xAxis.color,
|
|
1090
|
-
"text-anchor": L.value.style.layout.dataLabels.xAxis.rotation > 0 ? "start" : L.value.style.layout.dataLabels.xAxis.rotation < 0 ? "end" : "middle",
|
|
1091
|
-
"font-weight": L.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1092
|
-
transform: `translate(${e.x}, ${G.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${L.value.style.layout.dataLabels.xAxis.rotation})`
|
|
1093
|
-
}, w(T(c)(L.value.style.layout.dataLabels.xAxis.formatter, e.value / L.value.style.layout.dataLabels.xAxis.scale, T(r)({ v: e.value / L.value.style.layout.dataLabels.xAxis.scale }), {
|
|
1094
|
-
datapoint: e,
|
|
1095
|
-
seriesIndex: t
|
|
1096
|
-
})), 9, ut))), 256))], 512),
|
|
1097
|
-
h("text", {
|
|
1098
|
-
x: G.value.right,
|
|
1099
|
-
y: W.value.height,
|
|
1100
|
-
"text-anchor": "end",
|
|
1101
|
-
"font-size": L.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1102
|
-
fill: L.value.style.layout.dataLabels.xAxis.color,
|
|
1103
|
-
"font-weight": L.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
|
|
1104
|
-
}, w(L.value.style.layout.dataLabels.xAxis.translation), 9, dt)
|
|
1105
|
-
])) : p("", !0)
|
|
1106
|
-
]),
|
|
1107
|
-
(b(!0), m(u, null, S(e.dataset, (e, t) => (b(), m("g", null, [h("rect", {
|
|
1108
|
-
x: G.value.left,
|
|
1109
|
-
y: G.value.top + G.value.height / J.value * t - L.value.style.layout.bars.gap / 2,
|
|
1110
|
-
width: G.value.width <= 0 ? 1e-4 : G.value.width,
|
|
1111
|
-
height: G.value.height / J.value <= 0 ? 1e-4 : G.value.height / J.value,
|
|
1112
|
-
fill: A.value !== null && A.value === t ? T(s)(L.value.style.highlighter.color, L.value.style.highlighter.opacity) : "transparent",
|
|
1113
|
-
onMouseover: (n) => fn(t, e, "pointer"),
|
|
1114
|
-
onMouseleave: (n) => un(t, e),
|
|
1115
|
-
onClick: (n) => ln(t, e)
|
|
1116
|
-
}, null, 40, ft)]))), 256)),
|
|
1117
|
-
C(t.$slots, "svg", { svg: {
|
|
1118
|
-
...W.value,
|
|
1119
|
-
drawingArea: G.value,
|
|
1120
|
-
isPrintingImg: T(Jt) || T(Yt) || N.value,
|
|
1121
|
-
isPrintingSvg: P.value
|
|
1122
|
-
} }, void 0, !0)
|
|
1123
|
-
], 46, Be)), t.$slots.hint ? (b(), m("div", pt, [C(t.$slots, "hint", v(_({
|
|
1124
|
-
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1125
|
-
isVisible: Rt.value
|
|
1126
|
-
})), void 0, !0)])) : p("", !0)]),
|
|
1127
|
-
t.$slots.watermark ? (b(), m("div", mt, [C(t.$slots, "watermark", v(_({ isPrinting: T(Jt) || T(Yt) || N.value || P.value })), void 0, !0)])) : p("", !0),
|
|
1128
|
-
C(t.$slots, "legend", { legend: Y.value }, void 0, !0),
|
|
1129
|
-
t.$slots.source ? (b(), m("div", {
|
|
1130
|
-
key: 6,
|
|
1131
|
-
ref_key: "source",
|
|
1132
|
-
ref: jt,
|
|
1133
|
-
dir: "auto"
|
|
1134
|
-
}, [C(t.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1135
|
-
Te(T(ht), {
|
|
1136
|
-
teleportTo: L.value.style.tooltip.teleportTo,
|
|
1137
|
-
show: U.value.showTooltip && k.value,
|
|
1138
|
-
backgroundColor: L.value.style.tooltip.backgroundColor,
|
|
1139
|
-
color: L.value.style.tooltip.color,
|
|
1140
|
-
borderRadius: L.value.style.tooltip.borderRadius,
|
|
1141
|
-
borderColor: L.value.style.tooltip.borderColor,
|
|
1142
|
-
borderWidth: L.value.style.tooltip.borderWidth,
|
|
1143
|
-
fontSize: L.value.style.tooltip.fontSize,
|
|
1144
|
-
backgroundOpacity: L.value.style.tooltip.backgroundOpacity,
|
|
1145
|
-
position: L.value.style.tooltip.position,
|
|
1146
|
-
offsetX: L.value.style.tooltip.offsetX,
|
|
1147
|
-
offsetY: L.value.style.tooltip.offsetY,
|
|
1148
|
-
parent: j.value,
|
|
1149
|
-
content: Ot.value,
|
|
1150
|
-
isFullscreen: Z.value,
|
|
1151
|
-
isCustom: L.value.style.tooltip.customFormat && typeof L.value.style.tooltip.customFormat == "function",
|
|
1152
|
-
smooth: L.value.style.tooltip.smooth,
|
|
1153
|
-
backdropFilter: L.value.style.tooltip.backdropFilter,
|
|
1154
|
-
smoothForce: L.value.style.tooltip.smoothForce,
|
|
1155
|
-
smoothSnapThreshold: L.value.style.tooltip.smoothSnapThreshold,
|
|
1156
|
-
isA11yMode: I.value === "keyboard",
|
|
1157
|
-
a11yPosition: Lt.value
|
|
1158
|
-
}, {
|
|
1159
|
-
"tooltip-before": E(() => [C(t.$slots, "tooltip-before", v(_({ ...sn.value })), void 0, !0)]),
|
|
1160
|
-
tooltip: E(() => [C(t.$slots, "tooltip", v(_({ ...sn.value })), void 0, !0)]),
|
|
1161
|
-
"tooltip-after": E(() => [C(t.$slots, "tooltip-after", v(_({ ...sn.value })), void 0, !0)]),
|
|
1162
|
-
_: 3
|
|
1163
|
-
}, 8, [
|
|
1164
|
-
"teleportTo",
|
|
1165
|
-
"show",
|
|
1166
|
-
"backgroundColor",
|
|
1167
|
-
"color",
|
|
1168
|
-
"borderRadius",
|
|
1169
|
-
"borderColor",
|
|
1170
|
-
"borderWidth",
|
|
1171
|
-
"fontSize",
|
|
1172
|
-
"backgroundOpacity",
|
|
1173
|
-
"position",
|
|
1174
|
-
"offsetX",
|
|
1175
|
-
"offsetY",
|
|
1176
|
-
"parent",
|
|
1177
|
-
"content",
|
|
1178
|
-
"isFullscreen",
|
|
1179
|
-
"isCustom",
|
|
1180
|
-
"smooth",
|
|
1181
|
-
"backdropFilter",
|
|
1182
|
-
"smoothForce",
|
|
1183
|
-
"smoothSnapThreshold",
|
|
1184
|
-
"isA11yMode",
|
|
1185
|
-
"a11yPosition"
|
|
1186
|
-
]),
|
|
1187
|
-
Dt.value && L.value.userOptions.buttons.table ? (b(), f(je($.value.component), Ee({ key: 7 }, $.value.props, {
|
|
1188
|
-
ref_key: "tableUnit",
|
|
1189
|
-
ref: M,
|
|
1190
|
-
onClose: yn
|
|
1191
|
-
}), Ce({
|
|
1192
|
-
content: E(() => [(b(), f(T(vt), {
|
|
1193
|
-
key: `table_${Pt.value}`,
|
|
1194
|
-
colNames: X.value.colNames,
|
|
1195
|
-
head: X.value.head,
|
|
1196
|
-
body: X.value.body,
|
|
1197
|
-
config: X.value.config,
|
|
1198
|
-
title: L.value.table.useDialog ? "" : $.value.title,
|
|
1199
|
-
withCloseButton: !L.value.table.useDialog,
|
|
1200
|
-
isCursorPointer: R.value,
|
|
1201
|
-
onClose: yn
|
|
1202
|
-
}, {
|
|
1203
|
-
th: E(({ th: e }) => [we(w(e), 1)]),
|
|
1204
|
-
td: E(({ td: e }) => [we(w(e), 1)]),
|
|
1205
|
-
_: 1
|
|
1206
|
-
}, 8, [
|
|
1207
|
-
"colNames",
|
|
1208
|
-
"head",
|
|
1209
|
-
"body",
|
|
1210
|
-
"config",
|
|
1211
|
-
"title",
|
|
1212
|
-
"withCloseButton",
|
|
1213
|
-
"isCursorPointer"
|
|
1214
|
-
]))]),
|
|
1215
|
-
_: 2
|
|
1216
|
-
}, [L.value.table.useDialog ? {
|
|
1217
|
-
name: "title",
|
|
1218
|
-
fn: E(() => [we(w($.value.title), 1)]),
|
|
1219
|
-
key: "0"
|
|
1220
|
-
} : void 0, L.value.table.useDialog ? {
|
|
1221
|
-
name: "actions",
|
|
1222
|
-
fn: E(() => [h("button", {
|
|
1223
|
-
tabindex: "0",
|
|
1224
|
-
class: "vue-ui-user-options-button",
|
|
1225
|
-
onClick: n[0] ||= (e) => pn(L.value.userOptions.callbacks.csv),
|
|
1226
|
-
style: y({ cursor: R.value ? "pointer" : "default" })
|
|
1227
|
-
}, [Te(T(gt), {
|
|
1228
|
-
name: "fileCsv",
|
|
1229
|
-
stroke: $.value.props.color
|
|
1230
|
-
}, null, 8, ["stroke"])], 4)]),
|
|
1231
|
-
key: "1"
|
|
1232
|
-
} : void 0]), 1040)) : p("", !0),
|
|
1233
|
-
C(t.$slots, "skeleton", {}, () => [T(Bt) ? (b(), f(le, { key: 0 })) : p("", !0)], !0)
|
|
1234
|
-
], 46, Le));
|
|
1235
|
-
}
|
|
1236
|
-
}, [["__scopeId", "data-v-6401e590"]]);
|
|
1237
|
-
//#endregion
|
|
1238
|
-
export { Ie as n, ht as t };
|