vue-data-ui 3.25.5 → 3.25.6

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