@primeui/vue-chart 0.0.1-alpha.1 → 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/LICENSE.md +35 -0
  2. package/README.md +64 -0
  3. package/dist/CartesianRenderer.rich.spec.d.ts +1 -0
  4. package/dist/Chart.features.spec.d.ts +1 -0
  5. package/dist/Chart.interactions.spec.d.ts +1 -0
  6. package/dist/Chart.pointEvents.spec.d.ts +1 -0
  7. package/dist/Chart.vue.d.ts +5 -1
  8. package/dist/ChartCanvas.mjs +15 -14
  9. package/dist/ChartCanvas.pipeline.spec.d.ts +1 -0
  10. package/dist/ChartCanvas.vue.d.ts +8 -4
  11. package/dist/ChartGroup.sync.spec.d.ts +1 -0
  12. package/dist/ChartLegend.spec.d.ts +1 -0
  13. package/dist/ChartSvg.containers.spec.d.ts +1 -0
  14. package/dist/ChartSvg.declarative.spec.d.ts +1 -0
  15. package/dist/ChartSvg.export-menu.spec.d.ts +1 -0
  16. package/dist/ChartSvg.hover.spec.d.ts +1 -0
  17. package/dist/ChartSvg.mjs +15 -14
  18. package/dist/ChartSvg.renderers.spec.d.ts +1 -0
  19. package/dist/ChartSvg.vue.d.ts +8 -4
  20. package/dist/ColorLegendRenderer.branches.spec.d.ts +1 -0
  21. package/dist/ColorLegendRenderer.spec.d.ts +1 -0
  22. package/dist/LegendRenderer.spec.d.ts +1 -0
  23. package/dist/NavigatorRenderer.spec.d.ts +1 -0
  24. package/dist/RadialHeatmap.rich.spec.d.ts +1 -0
  25. package/dist/TooltipRenderer.spec.d.ts +1 -0
  26. package/dist/{chunk-6S4JMPKC.mjs → chunks/chunk-2NZ3PUWW.mjs} +2 -2
  27. package/dist/{chunk-RRHYGSK6.mjs → chunks/chunk-2TOEQNJ6.mjs} +2 -2
  28. package/dist/{chunk-GX2MK6VT.mjs → chunks/chunk-36DHPBYP.mjs} +25 -23
  29. package/dist/{chunk-RSTIA3KM.mjs → chunks/chunk-3DINEX6C.mjs} +2 -1
  30. package/dist/{chunk-PJVOZSPF.mjs → chunks/chunk-3JA5JAHF.mjs} +2 -2
  31. package/dist/{chunk-KOWFD2AE.mjs → chunks/chunk-3PJULFR5.mjs} +22 -21
  32. package/dist/chunks/chunk-3X27K5XC.mjs +236 -0
  33. package/dist/chunks/chunk-3XOLEGDL.mjs +182 -0
  34. package/dist/{chunk-372K2BMN.mjs → chunks/chunk-4EU72IBK.mjs} +71 -23
  35. package/dist/{chunk-PSSXPTLQ.mjs → chunks/chunk-4SLSYRNY.mjs} +6 -6
  36. package/dist/{chunk-4NJ2PSHV.mjs → chunks/chunk-5ZLVNQ2L.mjs} +7 -4
  37. package/dist/{chunk-O6L3PNFC.mjs → chunks/chunk-6Z4MZIJI.mjs} +2 -2
  38. package/dist/chunks/chunk-7EZEZMGG.mjs +22 -0
  39. package/dist/chunks/chunk-ADAGGXFG.mjs +166 -0
  40. package/dist/{chunk-YRKAI2R2.mjs → chunks/chunk-AKMQHU5T.mjs} +15 -14
  41. package/dist/{chunk-ZRCOVQQM.mjs → chunks/chunk-BSROML7P.mjs} +2 -2
  42. package/dist/{chunk-WYV2MHP6.mjs → chunks/chunk-CGFPDWB4.mjs} +1 -1
  43. package/dist/{chunk-4CRHCZV3.mjs → chunks/chunk-CMJXLIEY.mjs} +125 -9
  44. package/dist/{chunk-42J32DPD.mjs → chunks/chunk-CRIB3I3L.mjs} +1 -1
  45. package/dist/{chunk-WKSQR6L5.mjs → chunks/chunk-CW2KYVYO.mjs} +31 -8
  46. package/dist/{chunk-644ROAHU.mjs → chunks/chunk-DDRSIMLE.mjs} +33 -12
  47. package/dist/{chunk-32XIRBZ7.mjs → chunks/chunk-DXKAPWMO.mjs} +2 -2
  48. package/dist/{chunk-44BAFHPK.mjs → chunks/chunk-EWDMF46D.mjs} +10 -5
  49. package/dist/{chunk-E2U4W5FW.mjs → chunks/chunk-F7EK5D6J.mjs} +11 -11
  50. package/dist/{chunk-ZHFL3RYO.mjs → chunks/chunk-GE2Y2FHS.mjs} +6 -6
  51. package/dist/{chunk-AAX7FOW3.mjs → chunks/chunk-GIDIMIWE.mjs} +11 -11
  52. package/dist/{chunk-NLXOJSKK.mjs → chunks/chunk-GLFXRR7N.mjs} +29 -5
  53. package/dist/{chunk-W5M3BR6N.mjs → chunks/chunk-GV3CY6CQ.mjs} +1 -1
  54. package/dist/{chunk-CDXF6ZTL.mjs → chunks/chunk-HH5FUUXX.mjs} +1 -1
  55. package/dist/{chunk-RQURY2H3.mjs → chunks/chunk-HHZFGQN2.mjs} +2 -2
  56. package/dist/{chunk-2D3PWFR2.mjs → chunks/chunk-HVLFOABV.mjs} +4 -4
  57. package/dist/chunks/chunk-I2BWSDNR.mjs +832 -0
  58. package/dist/{chunk-MDA22SIZ.mjs → chunks/chunk-IFZSHQDZ.mjs} +2 -2
  59. package/dist/chunks/chunk-IRGQNA5W.mjs +289 -0
  60. package/dist/chunks/chunk-JBWL3G7O.mjs +86 -0
  61. package/dist/{chunk-56NMBNNX.mjs → chunks/chunk-JPKNWLLP.mjs} +3 -3
  62. package/dist/{chunk-XBDNMPF7.mjs → chunks/chunk-JVH4MDKX.mjs} +2 -2
  63. package/dist/chunks/chunk-KNNYJD4D.mjs +14 -0
  64. package/dist/{chunk-AUI5R4DA.mjs → chunks/chunk-L73MEG22.mjs} +2 -2
  65. package/dist/{chunk-K326BBF7.mjs → chunks/chunk-L74BEYTD.mjs} +38 -17
  66. package/dist/{chunk-DYVFVVTO.mjs → chunks/chunk-LJZCE7LQ.mjs} +102 -6
  67. package/dist/{chunk-YGHWUR7K.mjs → chunks/chunk-LP2YESP6.mjs} +1 -1
  68. package/dist/{chunk-WA735Y26.mjs → chunks/chunk-MGUGO3RV.mjs} +1 -1
  69. package/dist/{chunk-DOOXGOOB.mjs → chunks/chunk-OJHEN5FG.mjs} +96 -5
  70. package/dist/{chunk-ZNINPVG7.mjs → chunks/chunk-ON2FAZTD.mjs} +1 -1
  71. package/dist/{chunk-DLUFOM5K.mjs → chunks/chunk-PCBF6FSQ.mjs} +11 -11
  72. package/dist/{chunk-72KINEJ6.mjs → chunks/chunk-PR6MTWPJ.mjs} +10 -5
  73. package/dist/{chunk-FQTWLAVA.mjs → chunks/chunk-QJCMFAHB.mjs} +1 -1
  74. package/dist/{chunk-62NGBLQ7.mjs → chunks/chunk-QONZ3SCZ.mjs} +1 -1
  75. package/dist/{chunk-HANSF33Z.mjs → chunks/chunk-QOWKMWNO.mjs} +1 -1
  76. package/dist/{chunk-GA4VV5V4.mjs → chunks/chunk-R4AZOPXC.mjs} +1 -1
  77. package/dist/{chunk-5DWO3G33.mjs → chunks/chunk-SGLTVJUA.mjs} +35 -21
  78. package/dist/{chunk-5FTUGKPC.mjs → chunks/chunk-TRGN3ZMM.mjs} +5 -5
  79. package/dist/{chunk-RSAZ7V5Z.mjs → chunks/chunk-TZ23VBFU.mjs} +2 -2
  80. package/dist/{chunk-4UVPCLJ7.mjs → chunks/chunk-U6X3GVJ3.mjs} +1 -1
  81. package/dist/{chunk-J2P5JBHC.mjs → chunks/chunk-UOMQNZMT.mjs} +1 -1
  82. package/dist/{chunk-4THCGGER.mjs → chunks/chunk-UOZFNTVQ.mjs} +2 -2
  83. package/dist/{chunk-TIV2FI4S.mjs → chunks/chunk-WVNDZNMV.mjs} +2 -2
  84. package/dist/{chunk-GFC24374.mjs → chunks/chunk-X4NWFK7L.mjs} +5 -5
  85. package/dist/{chunk-FFBK7Q3W.mjs → chunks/chunk-YI3GLQYF.mjs} +67 -4
  86. package/dist/{chunk-HTZVV6VV.mjs → chunks/chunk-YZQS2YBK.mjs} +8 -6
  87. package/dist/{chunk-PQV55JYI.mjs → chunks/chunk-ZLD5VNMP.mjs} +2 -2
  88. package/dist/components/charts/ChartBar.mjs +13 -13
  89. package/dist/components/charts/ChartCandlestick.mjs +11 -11
  90. package/dist/components/charts/ChartHeatmap.mjs +11 -11
  91. package/dist/components/charts/ChartLine.mjs +12 -11
  92. package/dist/components/charts/ChartPie.mjs +12 -11
  93. package/dist/components/charts/ChartPolar.mjs +13 -11
  94. package/dist/components/charts/ChartRadar.mjs +13 -11
  95. package/dist/components/charts/ChartScatter.mjs +12 -11
  96. package/dist/components/charts/ChartTreemap.mjs +10 -10
  97. package/dist/components/containers/ChartDecimation.mjs +6 -6
  98. package/dist/components/containers/ChartGroup.mjs +4 -4
  99. package/dist/components/containers/ChartOverlap.mjs +5 -5
  100. package/dist/components/containers/ChartRange.mjs +6 -6
  101. package/dist/components/containers/ChartStacked.mjs +6 -6
  102. package/dist/components/containers/ChartWaterfall.mjs +5 -5
  103. package/dist/components/customizations/ChartAccessibility.mjs +9 -9
  104. package/dist/components/customizations/ChartAnnotation.mjs +5 -5
  105. package/dist/components/customizations/ChartAxisCategory.mjs +3 -3
  106. package/dist/components/customizations/ChartAxisGroup.mjs +3 -3
  107. package/dist/components/customizations/ChartBreadcrumb.mjs +6 -6
  108. package/dist/components/customizations/ChartCaption.mjs +9 -9
  109. package/dist/components/customizations/ChartColorLegend.mjs +9 -9
  110. package/dist/components/customizations/ChartDataLabels.mjs +9 -9
  111. package/dist/components/customizations/ChartExportMenu.mjs +9 -9
  112. package/dist/components/customizations/ChartHover.mjs +9 -9
  113. package/dist/components/customizations/ChartLegend.mjs +9 -9
  114. package/dist/components/customizations/ChartNavigator.mjs +10 -10
  115. package/dist/components/customizations/ChartReferenceBand.mjs +5 -5
  116. package/dist/components/customizations/ChartReferenceLine.mjs +5 -5
  117. package/dist/components/customizations/ChartResponsive.mjs +9 -9
  118. package/dist/components/customizations/ChartTitle.mjs +9 -9
  119. package/dist/components/customizations/ChartTooltip.mjs +9 -9
  120. package/dist/components/customizations/ChartXAxis.mjs +10 -10
  121. package/dist/components/customizations/ChartYAxis.mjs +10 -10
  122. package/dist/components/customizations/ChartZoom.mjs +9 -9
  123. package/dist/components/items/ChartItem.mjs +3 -3
  124. package/dist/components/items/ChartTreemapGroup.mjs +5 -5
  125. package/dist/components/renderers/CartesianRenderer.mjs +9 -9
  126. package/dist/components/renderers/CartesianRenderer.vue.d.ts +2 -0
  127. package/dist/components/renderers/ColorLegendRenderer.mjs +2 -2
  128. package/dist/components/renderers/LegendRenderer.mjs +3 -3
  129. package/dist/components/renderers/NavigatorRenderer.mjs +5 -5
  130. package/dist/components/renderers/RadialRenderer.mjs +9 -9
  131. package/dist/components/renderers/RadialRenderer.vue.d.ts +1 -1
  132. package/dist/components/renderers/RectRenderer.mjs +9 -9
  133. package/dist/components/renderers/RectRenderer.vue.d.ts +1 -1
  134. package/dist/components/renderers/TooltipRenderer.mjs +4 -4
  135. package/dist/components/renderers/layers/BarLayerCanvas.mjs +10 -10
  136. package/dist/components/renderers/layers/BarLayerSvg.mjs +10 -10
  137. package/dist/components/renderers/layers/CandlestickLayer.mjs +9 -9
  138. package/dist/components/renderers/layers/HeatmapLayer.mjs +9 -9
  139. package/dist/components/renderers/layers/LineLayer.mjs +10 -9
  140. package/dist/components/renderers/layers/PieLayer.mjs +7 -9
  141. package/dist/components/renderers/layers/PolarLayer.mjs +8 -9
  142. package/dist/components/renderers/layers/RadarLayer.mjs +8 -9
  143. package/dist/components/renderers/layers/ScatterLayer.mjs +10 -9
  144. package/dist/composables/index.d.ts +0 -8
  145. package/dist/composables/useAnimationProps.d.ts +2 -5
  146. package/dist/composables/useChartSync.spec.d.ts +1 -0
  147. package/dist/composables/useChartSyncCoordinator.spec.d.ts +1 -0
  148. package/dist/composables/useHeatmapRenderer.spec.d.ts +1 -0
  149. package/dist/composables/usePolarRenderer.spec.d.ts +1 -0
  150. package/dist/composables/useResponsiveConfig.d.ts +1 -1
  151. package/dist/composables/useResponsiveDimensions.spec.d.ts +1 -0
  152. package/dist/composables/useTreemapRenderer.spec.d.ts +1 -0
  153. package/dist/context/ChartContext.d.ts +1 -1
  154. package/dist/index.d.ts +2 -1
  155. package/dist/index.mjs +69 -66
  156. package/dist/namespace.mjs +69 -112
  157. package/dist/release-date.d.ts +1 -1
  158. package/dist/types/animation.types.d.ts +2 -0
  159. package/dist/types/bar.types.d.ts +2 -1
  160. package/dist/types/candlestick.types.d.ts +0 -1
  161. package/dist/types/heatmap.types.d.ts +0 -1
  162. package/dist/types/index.d.ts +1 -1
  163. package/dist/types/item.types.d.ts +0 -1
  164. package/dist/types/line.types.d.ts +4 -1
  165. package/dist/types/scatter.types.d.ts +3 -2
  166. package/dist/useChartContext.spec.d.ts +1 -0
  167. package/package.json +9 -14
  168. package/LICENSE +0 -23
  169. package/dist/chunk-54DLUFIA.mjs +0 -96
  170. package/dist/chunk-CQHNYT2V.mjs +0 -1692
  171. package/dist/chunk-JKK3D33U.mjs +0 -64
  172. package/dist/chunk-UO27BCRL.mjs +0 -86
  173. package/dist/chunk-VWABO23U.mjs +0 -143
  174. /package/dist/{chunk-FZ3PZ66C.mjs → chunks/chunk-4Q3QUNX6.mjs} +0 -0
  175. /package/dist/{chunk-5SRBQVU5.mjs → chunks/chunk-EHSDNH7K.mjs} +0 -0
  176. /package/dist/{chunk-LD57I4SY.mjs → chunks/chunk-H4HLHGUW.mjs} +0 -0
  177. /package/dist/{chunk-TEOO4OLV.mjs → chunks/chunk-L6N5IYAJ.mjs} +0 -0
  178. /package/dist/{chunk-E4ROAOPT.mjs → chunks/chunk-S4YR4YK7.mjs} +0 -0
  179. /package/dist/{chunk-7P6ASYW6.mjs → chunks/chunk-VIHIR2BE.mjs} +0 -0
  180. /package/dist/{chunk-J43KLCZF.mjs → chunks/chunk-ZH4A4L6W.mjs} +0 -0
@@ -1,7 +1,99 @@
1
- import { useCartesianFrame, useScatterRenderer, useCartesianFrameRegistration } from './chunk-CQHNYT2V.mjs';
2
- import { useChartMethods, useChartState, useChartHover } from './chunk-HANSF33Z.mjs';
3
- import { defineComponent, computed, unref, openBlock, createElementBlock, createCommentVNode } from 'vue';
1
+ import { useControllerLifecycle } from './chunk-KNNYJD4D.mjs';
2
+ import { useCartesianFrame, useCartesianFrameRegistration } from './chunk-I2BWSDNR.mjs';
3
+ import { useChartMethods, useChartState, useChartHover } from './chunk-QOWKMWNO.mjs';
4
+ import { defineComponent, computed, unref, openBlock, createElementBlock, createCommentVNode, ref, watch } from 'vue';
5
+ import { createScatterRendererCanvas } from '@primeui/chart-core/series/scatter/controller-canvas';
6
+ import { createScatterRendererSvg } from '@primeui/chart-core/series/scatter/controller-svg';
4
7
 
8
+ function useScatterRenderer(options) {
9
+ const {
10
+ chartArea,
11
+ renderer,
12
+ canvasEl,
13
+ datasets,
14
+ datasetVisibility,
15
+ hover,
16
+ hoverConfig,
17
+ chartId,
18
+ width,
19
+ height,
20
+ valueXScales,
21
+ categoryScale,
22
+ valueScales,
23
+ firstCategoryAxisId,
24
+ firstValueAxisId,
25
+ scatterStackBasesMap,
26
+ compositor,
27
+ decimationConfig,
28
+ zoomState,
29
+ orientation,
30
+ labelConfig,
31
+ features,
32
+ dir,
33
+ theme
34
+ } = options;
35
+ const groupRef = ref(null);
36
+ const markerOverlaysRef = ref([]);
37
+ const controller = renderer === "canvas" ? createScatterRendererCanvas() : createScatterRendererSvg();
38
+ watch(
39
+ [datasets, datasetVisibility, chartArea, valueXScales, valueScales, firstCategoryAxisId, firstValueAxisId, scatterStackBasesMap, hoverConfig, width, height, groupRef, features, dir, theme],
40
+ () => {
41
+ controller.update({
42
+ datasets: datasets.value,
43
+ datasetVisibility: datasetVisibility.value,
44
+ chartArea: chartArea.value,
45
+ chartId,
46
+ width: width.value,
47
+ height: height.value,
48
+ renderer,
49
+ valueXScales: valueXScales.value,
50
+ categoryScale: categoryScale?.value,
51
+ valueScales: valueScales.value,
52
+ firstCategoryAxisId: firstCategoryAxisId.value,
53
+ firstValueAxisId: firstValueAxisId.value,
54
+ scatterStackBasesMap: scatterStackBasesMap.value,
55
+ hover: hover.value,
56
+ hoverConfig: hoverConfig.value,
57
+ compositor,
58
+ canvasEl: canvasEl.value,
59
+ svgGroup: groupRef.value,
60
+ decimationConfig: decimationConfig?.value,
61
+ zoomState: zoomState?.value,
62
+ orientation: orientation?.value,
63
+ labelConfig: labelConfig?.value,
64
+ dir: dir.value,
65
+ features: features.value,
66
+ theme: theme.value
67
+ });
68
+ markerOverlaysRef.value = controller.markerOverlays;
69
+ },
70
+ { immediate: true, flush: "post" }
71
+ );
72
+ watch(hover, () => {
73
+ controller.applyHover(hover.value);
74
+ });
75
+ const { applyPropertyAnimations, renderFrameCycle } = useControllerLifecycle(controller);
76
+ function hitTest(x, y) {
77
+ return controller.hitTest(x, y);
78
+ }
79
+ return {
80
+ groupRef,
81
+ hitTest,
82
+ boostActive: computed(() => controller.boostActive),
83
+ markerOverlays: markerOverlaysRef,
84
+ applyPropertyAnimations,
85
+ renderFrameCycle,
86
+ syncWithAnimatedScale: (categoryScale2, valueScales2, valueXScales2) => {
87
+ controller.syncWithAnimatedScale(categoryScale2, valueScales2, valueXScales2);
88
+ markerOverlaysRef.value = controller.markerOverlays;
89
+ },
90
+ get scatterLayouts() {
91
+ return controller.layouts;
92
+ }
93
+ };
94
+ }
95
+
96
+ // src/components/renderers/layers/ScatterLayer.vue
5
97
  var _hoisted_1 = ["clip-path"];
6
98
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
99
  __name: "ScatterLayer",
@@ -23,9 +115,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
23
115
  chartId: methods.chartId,
24
116
  width: frame.width,
25
117
  height: frame.height,
26
- scatterXScales: computed(() => frame.layoutData.value?.scatterXScales),
118
+ valueXScales: computed(() => frame.layoutData.value?.valueXScales),
119
+ categoryScale: computed(() => frame.layoutData.value?.sharedCategoryScale),
27
120
  valueScales: computed(() => frame.layoutData.value?.valueScales),
28
- firstCategoryAxisId: computed(() => frame.layoutData.value?.scatterXScales?.keys().next().value ?? "default"),
121
+ firstCategoryAxisId: computed(() => frame.layoutData.value?.valueXScales?.keys().next().value ?? "default"),
29
122
  firstValueAxisId: computed(() => frame.layoutData.value?.valueScales?.keys().next().value ?? "default"),
30
123
  scatterStackBasesMap: computed(() => frame.layoutData.value?.scatterStackBasesMap),
31
124
  compositor: frame.compositor,
@@ -54,6 +147,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
54
147
  value: scHit.yValue,
55
148
  xValue: scHit.xValue,
56
149
  yValue: scHit.yValue,
150
+ independentIsCategory: scHit.independentIsCategory,
151
+ xAxisTitle: scHit.xAxisTitle,
152
+ yAxisTitle: scHit.yAxisTitle,
57
153
  ...scHit.bubbleValue != null ? { bubbleValue: scHit.bubbleValue } : {},
58
154
  color: scHit.color,
59
155
  snapX: scHit.x,
@@ -81,7 +177,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
81
177
  }
82
178
  });
83
179
  return (_ctx, _cache) => {
84
- return unref(methods).renderer === "svg" && unref(scatter).hasScatterData.value ? (openBlock(), createElementBlock("g", {
180
+ return unref(methods).renderer === "svg" ? (openBlock(), createElementBlock("g", {
85
181
  key: 0,
86
182
  ref: (el) => {
87
183
  unref(scatter).groupRef.value = el;
@@ -1,4 +1,4 @@
1
- import { useCustomizationRegistration } from './chunk-PQV55JYI.mjs';
1
+ import { useCustomizationRegistration } from './chunk-ZLD5VNMP.mjs';
2
2
  import { defineComponent, computed } from 'vue';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { AXIS_GROUP_DEPTH_KEY, AXIS_GROUP_COLLECTOR_KEY, AXIS_GROUP_REGISTRY_KEY } from './chunk-5SRBQVU5.mjs';
1
+ import { AXIS_GROUP_DEPTH_KEY, AXIS_GROUP_COLLECTOR_KEY, AXIS_GROUP_REGISTRY_KEY } from './chunk-EHSDNH7K.mjs';
2
2
  import { defineComponent, inject, provide, ref, watch, onMounted, onUnmounted, renderSlot } from 'vue';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,8 +1,99 @@
1
- import { useRadarRenderer, useRadialFrameRegistration } from './chunk-CQHNYT2V.mjs';
2
- import { useChartMethods, useChartState, useChartHover } from './chunk-HANSF33Z.mjs';
3
- import { defineComponent, computed, toRef, unref, openBlock, createElementBlock, Fragment, createElementVNode, renderList, createBlock, resolveDynamicComponent, createCommentVNode } from 'vue';
4
- import { buildMarkerRenderItems, DEFAULT_HOVER_DIM_OPACITY } from '@primeui/chart-core';
1
+ import { useControllerLifecycle } from './chunk-KNNYJD4D.mjs';
2
+ import { normalizeDataLabelConfig } from './chunk-ZH4A4L6W.mjs';
3
+ import { useRadialFrameRegistration } from './chunk-7EZEZMGG.mjs';
4
+ import { useChartMethods, useChartState, useChartHover } from './chunk-QOWKMWNO.mjs';
5
+ import { defineComponent, computed, toRef, unref, openBlock, createElementBlock, Fragment, createElementVNode, renderList, createBlock, resolveDynamicComponent, createCommentVNode, ref, watch } from 'vue';
6
+ import { buildMarkerRenderItems, safeRenderProp, DEFAULT_HOVER_DIM_OPACITY } from '@primeui/chart-core';
7
+ import { createRadarRendererCanvas } from '@primeui/chart-core/series/radar/controller-canvas';
8
+ import { createRadarRendererSvg } from '@primeui/chart-core/series/radar/controller-svg';
5
9
 
10
+ function useRadarRenderer(options) {
11
+ const { chartArea, renderer, datasets, features, hover, datasetVisibility, globalFont, adaptiveDataLabelFontSize, chartId, width, height, sharedContext, requestRedraw, dir, xAxes, yAxes, theme } = options;
12
+ const groupRef = ref(null);
13
+ const layoutRef = ref(null);
14
+ const markerData = ref(null);
15
+ const controller = renderer === "canvas" ? createRadarRendererCanvas() : createRadarRendererSvg();
16
+ controller.onMarkerDataChange = (data) => {
17
+ markerData.value = data;
18
+ };
19
+ controller.onFrame = () => {
20
+ layoutRef.value = controller.layout;
21
+ };
22
+ const active = computed(() => controller.hasData);
23
+ function getLabelConfig() {
24
+ const dlProps = features.value.get("dataLabels")?.props;
25
+ return normalizeDataLabelConfig(dlProps, adaptiveDataLabelFontSize?.value, void 0, globalFont);
26
+ }
27
+ watch(
28
+ [datasets, chartArea, datasetVisibility, features, groupRef, xAxes, yAxes, dir, theme],
29
+ () => {
30
+ const area = chartArea.value;
31
+ if (!area) {
32
+ layoutRef.value = null;
33
+ return;
34
+ }
35
+ const hc = features.value.get("hover")?.props;
36
+ controller.update({
37
+ datasets: datasets.value,
38
+ datasetVisibility: datasetVisibility.value,
39
+ chartArea: area,
40
+ width: width.value,
41
+ height: height.value,
42
+ renderer,
43
+ features: features.value,
44
+ hover: hover.value,
45
+ hoverConfig: hc,
46
+ globalFont,
47
+ adaptiveDataLabelFontSize: adaptiveDataLabelFontSize?.value,
48
+ chartId,
49
+ sharedContext: sharedContext?.value,
50
+ svgGroup: groupRef.value,
51
+ requestRedraw,
52
+ labelConfig: getLabelConfig(),
53
+ dir: dir.value,
54
+ xAxes: xAxes?.value,
55
+ yAxes: yAxes?.value,
56
+ theme: theme.value
57
+ });
58
+ layoutRef.value = controller.layout;
59
+ },
60
+ { immediate: true, flush: "post" }
61
+ );
62
+ watch([hover, () => features.value.get("hover")?.props], () => {
63
+ controller.applyHover(hover.value);
64
+ });
65
+ const { applyPropertyAnimations, renderFrameCycle } = useControllerLifecycle(controller);
66
+ function hitTest(x, y) {
67
+ const hit = controller.hitTest(x, y);
68
+ if (!hit) return null;
69
+ return { datasetId: hit.datasetId, index: hit.index, label: hit.label, value: hit.value, color: hit.color };
70
+ }
71
+ function findAllNearest(x, y) {
72
+ const result = controller.findAllNearest(x, y);
73
+ if (!result) return null;
74
+ const { primary, allSeries } = result;
75
+ return {
76
+ primary: { datasetId: primary.datasetId, index: primary.index, label: primary.label, value: primary.value, color: primary.color },
77
+ allSeries
78
+ };
79
+ }
80
+ function renderCanvasContent(ctx, _canvas) {
81
+ controller.renderCanvasContent(ctx);
82
+ }
83
+ return {
84
+ groupRef,
85
+ hitTest,
86
+ findAllNearest,
87
+ active,
88
+ markerData,
89
+ layout: layoutRef,
90
+ renderCanvasContent,
91
+ applyPropertyAnimations,
92
+ renderFrameCycle
93
+ };
94
+ }
95
+
96
+ // src/components/renderers/layers/RadarLayer.vue
6
97
  var _hoisted_1 = { class: "radar-markers" };
7
98
  var _hoisted_2 = ["transform", "opacity"];
8
99
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -113,7 +204,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
113
204
  key: item.key,
114
205
  transform: `translate(${item.x}, ${item.y})`,
115
206
  opacity: item.opacity !== 1 ? item.opacity : void 0
116
- }, [(openBlock(), createBlock(resolveDynamicComponent(() => item.renderMarker(item.context))))], 8, _hoisted_2);
207
+ }, [(openBlock(), createBlock(resolveDynamicComponent(() => unref(safeRenderProp)(() => item.renderMarker(item.context), "marker"))))], 8, _hoisted_2);
117
208
  }), 128))])], 64)) : createCommentVNode("", true);
118
209
  };
119
210
  }
@@ -1,4 +1,4 @@
1
- import { useChartMethods } from './chunk-HANSF33Z.mjs';
1
+ import { useChartMethods } from './chunk-QOWKMWNO.mjs';
2
2
  import { defineComponent, onMounted, watch, onUnmounted } from 'vue';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,9 +1,9 @@
1
- import { HeatmapLayer_default } from './chunk-54DLUFIA.mjs';
2
- import { CartesianRenderer_default } from './chunk-HTZVV6VV.mjs';
3
- import { registerFamilyRenderer, registerChartLayer, useDatasetAnimationRegistration, useDatasetRegistration, useItemCollector } from './chunk-CQHNYT2V.mjs';
4
- import { useRendererHint, useChartMethods } from './chunk-HANSF33Z.mjs';
1
+ import { HeatmapLayer_default } from './chunk-3X27K5XC.mjs';
2
+ import { CartesianRenderer_default } from './chunk-YZQS2YBK.mjs';
3
+ import { registerFamilyRenderer, registerChartLayer, useDatasetAnimationRegistration, useDatasetRegistration, useItemCollector } from './chunk-I2BWSDNR.mjs';
4
+ import { useRendererHint, useChartMethods } from './chunk-QOWKMWNO.mjs';
5
5
  import { defineComponent, useSlots, computed, onMounted, watch, onUnmounted, renderSlot, createCommentVNode } from 'vue';
6
- import { heatmapRenderer } from '@primeui/chart-core';
6
+ import { heatmapRenderer } from '@primeui/chart-core/series/heatmap';
7
7
 
8
8
  var heatmapIdCounter = 0;
9
9
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -13,8 +13,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  data: {},
14
14
  valueField: {},
15
15
  name: {},
16
- columnField: {},
17
- rowField: {},
16
+ categoryXField: {},
17
+ categoryYField: {},
18
18
  color: {},
19
19
  colorScale: {},
20
20
  colorRange: {},
@@ -105,8 +105,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
105
105
  const datasetProps = computed(() => ({
106
106
  id: autoId,
107
107
  data: props.data,
108
- columnField: props.columnField,
109
- rowField: props.rowField,
108
+ categoryXField: props.categoryXField,
109
+ categoryYField: props.categoryYField,
110
110
  valueField: props.valueField,
111
111
  name: props.name,
112
112
  color: props.color,
@@ -146,8 +146,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
146
146
  return {
147
147
  id: autoId,
148
148
  data: items,
149
- columnField: (ctx) => ctx.datum.column ?? "",
150
- rowField: (ctx) => ctx.datum.row ?? "",
149
+ categoryXField: (ctx) => ctx.datum.categoryX ?? "",
150
+ categoryYField: (ctx) => ctx.datum.categoryY ?? "",
151
151
  valueField: (ctx) => ctx.datum.value,
152
152
  name: props.name,
153
153
  color: props.color,
@@ -1,4 +1,4 @@
1
- import { Chart_default } from './chunk-372K2BMN.mjs';
1
+ import { Chart_default } from './chunk-4EU72IBK.mjs';
2
2
  import { defineComponent, ref, openBlock, createBlock, mergeProps, withCtx, renderSlot } from 'vue';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -26,10 +26,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  type: [Object, Boolean],
27
27
  default: void 0
28
28
  },
29
- animations: {},
30
- transitions: {}
29
+ animations: {}
31
30
  },
32
- emits: ["resize"],
31
+ emits: [
32
+ "resize",
33
+ "point-click",
34
+ "point-hover"
35
+ ],
33
36
  setup(__props, { expose: __expose }) {
34
37
  const chartRef = ref(null);
35
38
  __expose({ redraw: () => chartRef.value?.redraw() });
@@ -39,7 +42,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
39
42
  ref: chartRef
40
43
  }, _ctx.$props, {
41
44
  renderer: "canvas",
42
- onResize: _cache[0] || (_cache[0] = (w, h) => _ctx.$emit("resize", w, h))
45
+ onResize: _cache[0] || (_cache[0] = (w, h) => _ctx.$emit("resize", w, h)),
46
+ onPointClick: _cache[1] || (_cache[1] = (e) => _ctx.$emit("point-click", e)),
47
+ onPointHover: _cache[2] || (_cache[2] = (e) => _ctx.$emit("point-hover", e))
43
48
  }), {
44
49
  default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
45
50
  _: 3
@@ -1,4 +1,4 @@
1
- import { AXIS_GROUP_COLLECTOR_KEY } from './chunk-5SRBQVU5.mjs';
1
+ import { AXIS_GROUP_COLLECTOR_KEY } from './chunk-EHSDNH7K.mjs';
2
2
  import { defineComponent, inject, onMounted, onUnmounted } from 'vue';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { useCustomizationRegistration } from './chunk-PQV55JYI.mjs';
1
+ import { useCustomizationRegistration } from './chunk-ZLD5VNMP.mjs';
2
2
  import { defineComponent, computed } from 'vue';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { CHART_METHODS_KEY, CHART_STATE_KEY, CHART_HOVER_KEY, RENDERER_HINT_KEY, CHART_REFRESH_NONCE_KEY, CHART_CORE_INSTANCE_KEY } from './chunk-FZ3PZ66C.mjs';
1
+ import { CHART_METHODS_KEY, CHART_STATE_KEY, CHART_HOVER_KEY, RENDERER_HINT_KEY, CHART_REFRESH_NONCE_KEY, CHART_CORE_INSTANCE_KEY } from './chunk-4Q3QUNX6.mjs';
2
2
  import { createChart, defaultLightTheme } from '@primeui/chart-core';
3
3
  import { inject, shallowRef, ref, computed, watch, provide } from 'vue';
4
4
 
@@ -1,4 +1,4 @@
1
- import { useChartMethods } from './chunk-HANSF33Z.mjs';
1
+ import { useChartMethods } from './chunk-QOWKMWNO.mjs';
2
2
  import { defineComponent, onMounted, onUnmounted, renderSlot } from 'vue';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,9 +1,10 @@
1
- import { CartesianRenderer_default } from './chunk-HTZVV6VV.mjs';
2
- import { ScatterLayer_default } from './chunk-DYVFVVTO.mjs';
3
- import { registerFamilyRenderer, registerChartLayer, useDatasetAnimationRegistration, useDatasetRegistration, useItemCollector } from './chunk-CQHNYT2V.mjs';
4
- import { useRendererHint, useChartMethods } from './chunk-HANSF33Z.mjs';
1
+ import { CartesianRenderer_default } from './chunk-YZQS2YBK.mjs';
2
+ import { ScatterLayer_default } from './chunk-LJZCE7LQ.mjs';
3
+ import { registerFamilyRenderer, registerChartLayer, useDatasetAnimationRegistration, useDatasetRegistration, useItemCollector } from './chunk-I2BWSDNR.mjs';
4
+ import { useRendererHint, useChartMethods } from './chunk-QOWKMWNO.mjs';
5
5
  import { defineComponent, useSlots, computed, onMounted, watch, onUnmounted, renderSlot, createCommentVNode } from 'vue';
6
- import { scatterRenderer, resolveAccessor } from '@primeui/chart-core';
6
+ import { resolveAccessor } from '@primeui/chart-core/utils';
7
+ import { scatterRenderer } from '@primeui/chart-core/series/scatter';
7
8
 
8
9
  var scatterIdCounter = 0;
9
10
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -11,38 +12,38 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
11
12
  props: {
12
13
  id: {},
13
14
  data: {},
14
- categoryField: { type: [
15
+ name: {},
16
+ color: { type: [
15
17
  String,
16
18
  Function,
17
19
  Array
18
20
  ] },
19
- valueField: { type: [
21
+ xAxisId: {},
22
+ yAxisId: {},
23
+ order: {},
24
+ stackId: {},
25
+ categoryXField: { type: [
20
26
  String,
21
27
  Function,
22
- Number,
23
- null,
24
28
  Array
25
29
  ] },
26
- name: {},
27
- color: { type: [
30
+ categoryYField: { type: [
28
31
  String,
29
32
  Function,
30
33
  Array
31
34
  ] },
32
- xAxisId: {},
33
- yAxisId: {},
34
- order: {},
35
- stackId: {},
36
- xField: { type: [
35
+ valueXField: { type: [
37
36
  String,
38
37
  Function,
39
38
  Number,
39
+ null,
40
40
  Array
41
41
  ] },
42
- yField: { type: [
42
+ valueYField: { type: [
43
43
  String,
44
44
  Function,
45
45
  Number,
46
+ null,
46
47
  Array
47
48
  ] },
48
49
  sizeField: { type: [
@@ -159,8 +160,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
159
160
  const datasetProps = computed(() => ({
160
161
  id: autoId,
161
162
  data: props.data,
162
- xField: props.xField,
163
- yField: props.yField,
163
+ categoryXField: props.categoryXField,
164
+ categoryYField: props.categoryYField,
165
+ valueXField: props.valueXField,
166
+ valueYField: props.valueYField,
164
167
  sizeField: props.sizeField,
165
168
  color: props.color,
166
169
  name: props.name,
@@ -197,11 +200,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
197
200
  if (hasChildren.value) {
198
201
  let buildSynthesizedProps2 = function() {
199
202
  const items = getItems();
203
+ const categorical = items.some((it) => it.categoryX != null || it.categoryY != null);
204
+ const horizontal = items.some((it) => it.categoryY != null);
205
+ const axisBinding = categorical ? horizontal ? {
206
+ categoryYField: (ctx) => ctx.datum.categoryY ?? "",
207
+ valueXField: (ctx) => ctx.datum.valueX ?? 0
208
+ } : {
209
+ categoryXField: (ctx) => ctx.datum.categoryX ?? "",
210
+ valueYField: (ctx) => ctx.datum.valueY ?? 0
211
+ } : {
212
+ valueXField: (ctx) => ctx.datum.valueX ?? 0,
213
+ valueYField: (ctx) => ctx.datum.valueY ?? 0
214
+ };
200
215
  return {
201
216
  id: autoId,
202
217
  data: items,
203
- xField: (ctx) => ctx.datum.x ?? 0,
204
- yField: (ctx) => ctx.datum.y ?? 0,
218
+ ...axisBinding,
205
219
  color: ((ctx) => ctx.datum.color ?? resolveAccessor(props.color, ctx)),
206
220
  name: props.name,
207
221
  markerSize: props.markerSize,
@@ -1,6 +1,6 @@
1
- import { LEGEND_ITEM_BASE_STYLE, LEGEND_SWATCH_STYLE } from './chunk-J43KLCZF.mjs';
2
- import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeStyle, Fragment, renderList, createBlock, resolveDynamicComponent, createCommentVNode, createElementVNode, toDisplayString, nextTick } from 'vue';
3
- import { computeLegendStyle, gradientToCssBackground } from '@primeui/chart-core';
1
+ import { LEGEND_ITEM_BASE_STYLE, LEGEND_SWATCH_STYLE } from './chunk-ZH4A4L6W.mjs';
2
+ import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeStyle, Fragment, renderList, createBlock, resolveDynamicComponent, unref, createCommentVNode, createElementVNode, toDisplayString, nextTick } from 'vue';
3
+ import { computeLegendStyle, safeRenderProp, gradientToCssBackground } from '@primeui/chart-core';
4
4
 
5
5
  var _hoisted_1 = ["dir"];
6
6
  var _hoisted_2 = {
@@ -128,7 +128,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
128
128
  class: "chart-legend",
129
129
  dir: __props.dir ?? "ltr"
130
130
  }, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.legendItems, (item, idx) => {
131
- return openBlock(), createElementBlock(Fragment, { key: itemKey(item, idx) }, [__props.legendConfig.render ? (openBlock(), createElementBlock("div", _hoisted_2, [(openBlock(), createBlock(resolveDynamicComponent(() => __props.legendConfig.render({
131
+ return openBlock(), createElementBlock(Fragment, { key: itemKey(item, idx) }, [__props.legendConfig.render ? (openBlock(), createElementBlock("div", _hoisted_2, [(openBlock(), createBlock(resolveDynamicComponent(() => unref(safeRenderProp)(() => __props.legendConfig.render({
132
132
  type: item.type,
133
133
  datasetId: item.datasetId,
134
134
  index: item.index,
@@ -143,7 +143,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
143
143
  onClick: () => handleClick(item),
144
144
  onMouseEnter: () => handleHover(item),
145
145
  onMouseLeave: () => handleHover(null)
146
- }))))])) : (openBlock(), createElementBlock("button", {
146
+ }), "legend"))))])) : (openBlock(), createElementBlock("button", {
147
147
  key: 1,
148
148
  type: "button",
149
149
  role: __props.legendConfig.interactive ? "switch" : void 0,
@@ -1,5 +1,5 @@
1
- import { DECIMATION_CONTEXT_KEY } from './chunk-TEOO4OLV.mjs';
2
- import { useChartMethods } from './chunk-HANSF33Z.mjs';
1
+ import { DECIMATION_CONTEXT_KEY } from './chunk-L6N5IYAJ.mjs';
2
+ import { useChartMethods } from './chunk-QOWKMWNO.mjs';
3
3
  import { defineComponent, watch, onBeforeUnmount, computed, provide, renderSlot } from 'vue';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { useChartMethods } from './chunk-HANSF33Z.mjs';
1
+ import { useChartMethods } from './chunk-QOWKMWNO.mjs';
2
2
  import { defineComponent, computed, onMounted, watch, onUnmounted } from 'vue';
3
3
 
4
4
  var referenceBandIdCounter = 0;
@@ -1,4 +1,4 @@
1
- import { useCustomizationRegistration } from './chunk-PQV55JYI.mjs';
1
+ import { useCustomizationRegistration } from './chunk-ZLD5VNMP.mjs';
2
2
  import { defineComponent, computed } from 'vue';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
- import { useCustomizationRegistration } from './chunk-PQV55JYI.mjs';
2
- import { CHART_METHODS_KEY, CHART_GROUP_TEXT_KEY } from './chunk-FZ3PZ66C.mjs';
1
+ import { useCustomizationRegistration } from './chunk-ZLD5VNMP.mjs';
2
+ import { CHART_METHODS_KEY, CHART_GROUP_TEXT_KEY } from './chunk-4Q3QUNX6.mjs';
3
3
  import { defineComponent, inject, computed, onMounted, watch, onUnmounted } from 'vue';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
- import { STACKED_CONTEXT_KEY } from './chunk-TEOO4OLV.mjs';
2
- import { useChartMethods } from './chunk-HANSF33Z.mjs';
1
+ import { STACKED_CONTEXT_KEY } from './chunk-L6N5IYAJ.mjs';
2
+ import { useChartMethods } from './chunk-QOWKMWNO.mjs';
3
3
  import { defineComponent, onMounted, reactive, watch, onUnmounted, provide, renderSlot } from 'vue';
4
4
 
5
5
  var stackIdCounter = 0;
@@ -1,7 +1,7 @@
1
- import { useCustomizationRegistration } from './chunk-PQV55JYI.mjs';
2
- import { useChartMethods, useChartState } from './chunk-HANSF33Z.mjs';
1
+ import { useCustomizationRegistration } from './chunk-ZLD5VNMP.mjs';
2
+ import { useChartMethods, useChartState } from './chunk-QOWKMWNO.mjs';
3
3
  import { defineComponent, computed, ref, onMounted, nextTick, onBeforeUnmount, openBlock, createBlock, Teleport, createElementVNode, withModifiers, normalizeStyle, normalizeClass, resolveDynamicComponent, createElementBlock, unref, Fragment, renderList, toDisplayString, createCommentVNode } from 'vue';
4
- import { resolveExportMenuProps, filterExportMenuItems, EXPORT_MENU_CONSTANTS, resolveExportMenuPlacement, estimateExportMenuHeight, HAMBURGER_ICON_PATH, isExportMenuSeparator, createChartExporter, getExportAction, buildChartDataTable, dataTableToCsv, EXPORT_MENU_LABELS } from '@primeui/chart-core';
4
+ import { resolveExportMenuProps, filterExportMenuItems, EXPORT_MENU_CONSTANTS, resolveExportMenuPlacement, estimateExportMenuHeight, HAMBURGER_ICON_PATH, isExportMenuSeparator, safeRenderProp, createChartExporter, getExportAction, buildChartDataTable, dataTableToCsv, EXPORT_MENU_LABELS } from '@primeui/chart-core';
5
5
 
6
6
  var _hoisted_1 = ["aria-expanded"];
7
7
  var _hoisted_2 = {
@@ -210,12 +210,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
210
210
  background: "var(--p-chart-export-menu-separator-color, #dee2e6)",
211
211
  margin: "4px 8px"
212
212
  })
213
- }, null, 4)) : __props.render ? (openBlock(), createBlock(resolveDynamicComponent(() => __props.render({
213
+ }, null, 4)) : __props.render ? (openBlock(), createBlock(resolveDynamicComponent(() => unref(safeRenderProp)(() => __props.render({
214
214
  item,
215
215
  label: getItemLabel(item),
216
216
  onClick: () => handleExport(item),
217
217
  isHovered: hoveredItem.value === item
218
- })), { key: 1 })) : (openBlock(), createElementBlock("button", {
218
+ }), "export menu item")), { key: 1 })) : (openBlock(), createElementBlock("button", {
219
219
  key: 2,
220
220
  type: "button",
221
221
  role: "menuitem",