@ac-design/design-system 1.0.3 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/README.md +27 -18
  2. package/dist/lib/charts/ChartFrame.js +5 -0
  3. package/dist/lib/charts/ChartFrame.vue.d.ts +71 -0
  4. package/dist/lib/charts/ChartFrame.vue_vue_type_script_setup_true_lang.js +173 -0
  5. package/dist/lib/charts/cartesian.d.ts +324 -0
  6. package/dist/lib/charts/cartesian.js +137 -0
  7. package/dist/lib/charts/echarts.d.ts +86 -0
  8. package/dist/lib/charts/echarts.js +173 -0
  9. package/dist/lib/charts/graph.d.ts +77 -0
  10. package/dist/lib/charts/graph.js +155 -0
  11. package/dist/lib/charts/index.d.ts +11 -0
  12. package/dist/lib/charts/index.js +7 -0
  13. package/dist/lib/charts/shared.d.ts +53 -0
  14. package/dist/lib/charts/shared.js +96 -0
  15. package/dist/lib/charts/xy.d.ts +69 -0
  16. package/dist/lib/charts/xy.js +73 -0
  17. package/dist/lib/compat.css +2770 -1061
  18. package/dist/lib/components/AcAccordion.vue_vue_type_script_setup_true_lang.js +2 -2
  19. package/dist/lib/components/AcAccordionItem.vue.d.ts +1 -1
  20. package/dist/lib/components/AcAccordionItem.vue_vue_type_script_setup_true_lang.js +5 -5
  21. package/dist/lib/components/AcAlert.vue.d.ts +10 -1
  22. package/dist/lib/components/AcAlert.vue_vue_type_script_setup_true_lang.js +139 -45
  23. package/dist/lib/components/AcAppSwitcher.vue_vue_type_script_setup_true_lang.js +19 -19
  24. package/dist/lib/components/AcAreaChart.js +5 -0
  25. package/dist/lib/components/AcAreaChart.vue.d.ts +47 -0
  26. package/dist/lib/components/AcAreaChart.vue_vue_type_script_setup_true_lang.js +205 -0
  27. package/dist/lib/components/AcAvatar.vue.d.ts +7 -4
  28. package/dist/lib/components/AcAvatar.vue_vue_type_script_setup_true_lang.js +66 -61
  29. package/dist/lib/components/AcBadge.vue.d.ts +20 -7
  30. package/dist/lib/components/AcBadge.vue_vue_type_script_setup_true_lang.js +67 -44
  31. package/dist/lib/components/AcBanner.vue.d.ts +1 -1
  32. package/dist/lib/components/AcBanner.vue_vue_type_script_setup_true_lang.js +30 -30
  33. package/dist/lib/components/AcBarChart.js +5 -0
  34. package/dist/lib/components/AcBarChart.vue.d.ts +46 -0
  35. package/dist/lib/components/AcBarChart.vue_vue_type_script_setup_true_lang.js +213 -0
  36. package/dist/lib/components/AcBreadcrumb.vue.d.ts +4 -1
  37. package/dist/lib/components/AcBreadcrumb.vue_vue_type_script_setup_true_lang.js +36 -34
  38. package/dist/lib/components/AcBulkActionBar.js +5 -0
  39. package/dist/lib/components/AcBulkActionBar.vue.d.ts +45 -0
  40. package/dist/lib/components/AcBulkActionBar.vue_vue_type_script_setup_true_lang.js +84 -0
  41. package/dist/lib/components/AcButton.vue.d.ts +13 -7
  42. package/dist/lib/components/AcButton.vue_vue_type_script_setup_true_lang.js +93 -47
  43. package/dist/lib/components/AcButtons.vue_vue_type_script_setup_true_lang.js +1 -1
  44. package/dist/lib/components/AcCard.vue.d.ts +42 -3
  45. package/dist/lib/components/AcCard.vue_vue_type_script_setup_true_lang.js +175 -14
  46. package/dist/lib/components/AcCellValue.vue.d.ts +6 -3
  47. package/dist/lib/components/AcCellValue.vue_vue_type_script_setup_true_lang.js +219 -178
  48. package/dist/lib/components/AcCheckBox.vue.d.ts +17 -3
  49. package/dist/lib/components/AcCheckBox.vue_vue_type_script_setup_true_lang.js +113 -30
  50. package/dist/lib/components/AcCheckList.js +5 -0
  51. package/dist/lib/components/AcCheckList.vue.d.ts +45 -0
  52. package/dist/lib/components/AcCheckList.vue_vue_type_script_setup_true_lang.js +64 -0
  53. package/dist/lib/components/AcCheckRadio.vue.d.ts +30 -5
  54. package/dist/lib/components/AcCheckRadio.vue_vue_type_script_setup_true_lang.js +102 -26
  55. package/dist/lib/components/AcCircularProgress.js +5 -0
  56. package/dist/lib/components/AcCircularProgress.vue.d.ts +44 -0
  57. package/dist/lib/components/AcCircularProgress.vue_vue_type_script_setup_true_lang.js +114 -0
  58. package/dist/lib/components/AcClusterSwitcher.vue_vue_type_script_setup_true_lang.js +142 -167
  59. package/dist/lib/components/AcCodeEditor.vue_vue_type_script_setup_true_lang.js +9 -9
  60. package/dist/lib/components/AcColorInput.js +5 -0
  61. package/dist/lib/components/AcColorInput.vue.d.ts +57 -0
  62. package/dist/lib/components/AcColorInput.vue_vue_type_script_setup_true_lang.js +217 -0
  63. package/dist/lib/components/AcCommandBlock.js +5 -0
  64. package/dist/lib/components/AcCommandBlock.vue.d.ts +34 -0
  65. package/dist/lib/components/AcCommandBlock.vue_vue_type_script_setup_true_lang.js +88 -0
  66. package/dist/lib/components/AcConfirmModal.js +5 -0
  67. package/dist/lib/components/AcConfirmModal.vue.d.ts +56 -0
  68. package/dist/lib/components/AcConfirmModal.vue_vue_type_script_setup_true_lang.js +96 -0
  69. package/dist/lib/components/AcContentHeader.vue.d.ts +1 -1
  70. package/dist/lib/components/AcContentHeader.vue_vue_type_script_setup_true_lang.js +5 -4
  71. package/dist/lib/components/AcContentLayout.vue_vue_type_script_setup_true_lang.js +2 -2
  72. package/dist/lib/components/AcCopyButton.js +5 -0
  73. package/dist/lib/components/AcCopyButton.vue.d.ts +43 -0
  74. package/dist/lib/components/AcCopyButton.vue_vue_type_script_setup_true_lang.js +92 -0
  75. package/dist/lib/components/AcCostSummary.js +5 -0
  76. package/dist/lib/components/AcCostSummary.vue.d.ts +102 -0
  77. package/dist/lib/components/AcCostSummary.vue_vue_type_script_setup_true_lang.js +179 -0
  78. package/dist/lib/components/AcDatePicker.vue.d.ts +8 -8
  79. package/dist/lib/components/AcDatePicker.vue_vue_type_script_setup_true_lang.js +634 -417
  80. package/dist/lib/components/AcDeleteModal.vue.d.ts +4 -4
  81. package/dist/lib/components/AcDeleteModal.vue_vue_type_script_setup_true_lang.js +57 -60
  82. package/dist/lib/components/AcDonutChart.js +5 -0
  83. package/dist/lib/components/AcDonutChart.vue.d.ts +83 -0
  84. package/dist/lib/components/AcDonutChart.vue_vue_type_script_setup_true_lang.js +237 -0
  85. package/dist/lib/components/AcDropdown.vue.d.ts +5 -2
  86. package/dist/lib/components/AcDropdown.vue_vue_type_script_setup_true_lang.js +91 -78
  87. package/dist/lib/components/AcDropdownDivider.vue_vue_type_script_setup_true_lang.js +11 -10
  88. package/dist/lib/components/AcDropdownItem.vue.d.ts +2 -2
  89. package/dist/lib/components/AcDropdownItem.vue_vue_type_script_setup_true_lang.js +18 -18
  90. package/dist/lib/components/AcEmptyState.vue.d.ts +4 -1
  91. package/dist/lib/components/AcEmptyState.vue_vue_type_script_setup_true_lang.js +50 -39
  92. package/dist/lib/components/AcErrorState.js +5 -0
  93. package/dist/lib/components/AcErrorState.vue.d.ts +46 -0
  94. package/dist/lib/components/AcErrorState.vue_vue_type_script_setup_true_lang.js +66 -0
  95. package/dist/lib/components/AcFeatureCard.vue.d.ts +6 -0
  96. package/dist/lib/components/AcFeatureCard.vue_vue_type_script_setup_true_lang.js +139 -116
  97. package/dist/lib/components/AcFileEditor.vue_vue_type_script_setup_true_lang.js +16 -16
  98. package/dist/lib/components/AcFileUpload.vue.d.ts +2 -2
  99. package/dist/lib/components/AcFileUpload.vue_vue_type_script_setup_true_lang.js +55 -53
  100. package/dist/lib/components/AcFontScale.vue_vue_type_script_setup_true_lang.js +2 -2
  101. package/dist/lib/components/AcFooter.js +5 -0
  102. package/dist/lib/components/AcFooter.vue.d.ts +37 -0
  103. package/dist/lib/components/AcFooter.vue_vue_type_script_setup_true_lang.js +107 -0
  104. package/dist/lib/components/AcForm.vue.d.ts +3 -0
  105. package/dist/lib/components/AcForm.vue_vue_type_script_setup_true_lang.js +4 -2
  106. package/dist/lib/components/AcFormArray.vue.d.ts +2 -2
  107. package/dist/lib/components/AcFormArray.vue_vue_type_script_setup_true_lang.js +149 -147
  108. package/dist/lib/components/AcFormFooter.vue.d.ts +3 -3
  109. package/dist/lib/components/AcFormFooter.vue_vue_type_script_setup_true_lang.js +2 -2
  110. package/dist/lib/components/AcFormSection.vue.d.ts +8 -1
  111. package/dist/lib/components/AcFormSection.vue_vue_type_script_setup_true_lang.js +31 -21
  112. package/dist/lib/components/AcGraphChart.js +5 -0
  113. package/dist/lib/components/AcGraphChart.vue.d.ts +124 -0
  114. package/dist/lib/components/AcGraphChart.vue_vue_type_script_setup_true_lang.js +578 -0
  115. package/dist/lib/components/AcHeader.vue.d.ts +20 -5
  116. package/dist/lib/components/AcHeader.vue_vue_type_script_setup_true_lang.js +82 -28
  117. package/dist/lib/components/AcInfoTable.vue.d.ts +1 -1
  118. package/dist/lib/components/AcInfoTable.vue_vue_type_script_setup_true_lang.js +17 -13
  119. package/dist/lib/components/AcInput.vue.d.ts +4 -4
  120. package/dist/lib/components/AcInput.vue_vue_type_script_setup_true_lang.js +99 -91
  121. package/dist/lib/components/AcKbd.vue_vue_type_script_setup_true_lang.js +1 -1
  122. package/dist/lib/components/AcKeyValueInput.js +5 -0
  123. package/dist/lib/components/AcKeyValueInput.vue.d.ts +114 -0
  124. package/dist/lib/components/AcKeyValueInput.vue_vue_type_script_setup_true_lang.js +336 -0
  125. package/dist/lib/components/AcLineChart.js +5 -0
  126. package/dist/lib/components/AcLineChart.vue.d.ts +44 -0
  127. package/dist/lib/components/AcLineChart.vue_vue_type_script_setup_true_lang.js +175 -0
  128. package/dist/lib/components/AcLoader.js +5 -0
  129. package/dist/lib/components/AcLoader.vue.d.ts +15 -0
  130. package/dist/lib/components/AcLoader.vue_vue_type_script_setup_true_lang.js +66 -0
  131. package/dist/lib/components/AcLocaleSwitcher.js +5 -0
  132. package/dist/lib/components/AcLocaleSwitcher.vue.d.ts +48 -0
  133. package/dist/lib/components/AcLocaleSwitcher.vue_vue_type_script_setup_true_lang.js +111 -0
  134. package/dist/lib/components/AcMapChart.js +5 -0
  135. package/dist/lib/components/AcMapChart.vue.d.ts +136 -0
  136. package/dist/lib/components/AcMapChart.vue_vue_type_script_setup_true_lang.js +518 -0
  137. package/dist/lib/components/AcModal.vue.d.ts +6 -3
  138. package/dist/lib/components/AcModal.vue_vue_type_script_setup_true_lang.js +88 -64
  139. package/dist/lib/components/AcNavbar.vue.d.ts +8 -5
  140. package/dist/lib/components/AcNavbar.vue_vue_type_script_setup_true_lang.js +29 -21
  141. package/dist/lib/components/AcNavbarItem.vue.d.ts +2 -2
  142. package/dist/lib/components/AcNavbarItem.vue_vue_type_script_setup_true_lang.js +23 -24
  143. package/dist/lib/components/AcNotificationMenu.vue.d.ts +3 -3
  144. package/dist/lib/components/AcNotificationMenu.vue_vue_type_script_setup_true_lang.js +139 -174
  145. package/dist/lib/components/AcNumberInput.js +5 -0
  146. package/dist/lib/components/AcNumberInput.vue.d.ts +79 -0
  147. package/dist/lib/components/AcNumberInput.vue_vue_type_script_setup_true_lang.js +241 -0
  148. package/dist/lib/components/AcPage.vue.d.ts +2 -2
  149. package/dist/lib/components/AcPage.vue_vue_type_script_setup_true_lang.js +2 -2
  150. package/dist/lib/components/AcPagination.vue.d.ts +22 -5
  151. package/dist/lib/components/AcPagination.vue_vue_type_script_setup_true_lang.js +87 -56
  152. package/dist/lib/components/AcPreloader.vue.d.ts +3 -3
  153. package/dist/lib/components/AcPreloader.vue_vue_type_script_setup_true_lang.js +15 -16
  154. package/dist/lib/components/AcProductHero.js +5 -0
  155. package/dist/lib/components/AcProductHero.vue.d.ts +56 -0
  156. package/dist/lib/components/AcProductHero.vue_vue_type_script_setup_true_lang.js +95 -0
  157. package/dist/lib/components/AcProgress.vue.d.ts +19 -4
  158. package/dist/lib/components/AcProgress.vue_vue_type_script_setup_true_lang.js +85 -31
  159. package/dist/lib/components/AcResourceCard.vue.d.ts +3 -3
  160. package/dist/lib/components/AcResourceCard.vue_vue_type_script_setup_true_lang.js +17 -17
  161. package/dist/lib/components/AcSearchBar.vue.d.ts +1 -1
  162. package/dist/lib/components/AcSearchBar.vue_vue_type_script_setup_true_lang.js +14 -9
  163. package/dist/lib/components/AcSectionContent.vue.d.ts +2 -2
  164. package/dist/lib/components/AcSectionContent.vue_vue_type_script_setup_true_lang.js +8 -8
  165. package/dist/lib/components/AcSegmentedControl.vue.d.ts +1 -1
  166. package/dist/lib/components/AcSegmentedControl.vue_vue_type_script_setup_true_lang.js +4 -4
  167. package/dist/lib/components/AcSelect.vue.d.ts +6 -6
  168. package/dist/lib/components/AcSelect.vue_vue_type_script_setup_true_lang.js +246 -254
  169. package/dist/lib/components/AcSettingsRow.js +5 -0
  170. package/dist/lib/components/AcSettingsRow.vue.d.ts +29 -0
  171. package/dist/lib/components/AcSettingsRow.vue_vue_type_script_setup_true_lang.js +37 -0
  172. package/dist/lib/components/AcSidePanel.vue_vue_type_script_setup_true_lang.js +32 -32
  173. package/dist/lib/components/AcSideTabs.vue.d.ts +2 -2
  174. package/dist/lib/components/AcSideTabs.vue_vue_type_script_setup_true_lang.js +37 -37
  175. package/dist/lib/components/AcSidebar.vue.d.ts +6 -3
  176. package/dist/lib/components/AcSidebar.vue_vue_type_script_setup_true_lang.js +67 -57
  177. package/dist/lib/components/AcSidebarItem.vue.d.ts +1 -1
  178. package/dist/lib/components/AcSidebarItem.vue_vue_type_script_setup_true_lang.js +46 -45
  179. package/dist/lib/components/AcSidebarSection.vue.d.ts +2 -2
  180. package/dist/lib/components/AcSidebarSection.vue_vue_type_script_setup_true_lang.js +23 -18
  181. package/dist/lib/components/AcSkeleton.vue_vue_type_script_setup_true_lang.js +8 -8
  182. package/dist/lib/components/AcSlider.vue.d.ts +1 -1
  183. package/dist/lib/components/AcSlider.vue_vue_type_script_setup_true_lang.js +174 -172
  184. package/dist/lib/components/AcStatCard.vue.d.ts +3 -3
  185. package/dist/lib/components/AcStatCard.vue_vue_type_script_setup_true_lang.js +90 -85
  186. package/dist/lib/components/AcStatusBar.vue.d.ts +1 -1
  187. package/dist/lib/components/AcStatusBar.vue_vue_type_script_setup_true_lang.js +6 -6
  188. package/dist/lib/components/AcSteps.vue_vue_type_script_setup_true_lang.js +28 -28
  189. package/dist/lib/components/AcSwitch.vue.d.ts +3 -0
  190. package/dist/lib/components/AcSwitch.vue_vue_type_script_setup_true_lang.js +31 -19
  191. package/dist/lib/components/AcSwitchCard.js +5 -0
  192. package/dist/lib/components/AcSwitchCard.vue.d.ts +59 -0
  193. package/dist/lib/components/AcSwitchCard.vue_vue_type_script_setup_true_lang.js +121 -0
  194. package/dist/lib/components/AcTable.vue_vue_type_script_setup_true_lang.js +97 -97
  195. package/dist/lib/components/AcTabs.vue.d.ts +9 -2
  196. package/dist/lib/components/AcTabs.vue_vue_type_script_setup_true_lang.js +43 -28
  197. package/dist/lib/components/AcTag.vue.d.ts +2 -2
  198. package/dist/lib/components/AcTag.vue_vue_type_script_setup_true_lang.js +22 -22
  199. package/dist/lib/components/AcTagInput.js +5 -0
  200. package/dist/lib/components/AcTagInput.vue.d.ts +74 -0
  201. package/dist/lib/components/AcTagInput.vue_vue_type_script_setup_true_lang.js +289 -0
  202. package/dist/lib/components/AcTextarea.vue.d.ts +4 -4
  203. package/dist/lib/components/AcTextarea.vue_vue_type_script_setup_true_lang.js +85 -63
  204. package/dist/lib/components/AcThemeMode.vue.d.ts +3 -3
  205. package/dist/lib/components/AcThemeMode.vue_vue_type_script_setup_true_lang.js +56 -24
  206. package/dist/lib/components/AcTimePicker.js +5 -0
  207. package/dist/lib/components/AcTimePicker.vue.d.ts +65 -0
  208. package/dist/lib/components/AcTimePicker.vue_vue_type_script_setup_true_lang.js +455 -0
  209. package/dist/lib/components/AcToaster.vue.d.ts +6 -3
  210. package/dist/lib/components/AcToaster.vue_vue_type_script_setup_true_lang.js +115 -82
  211. package/dist/lib/components/AcTooltip.vue.d.ts +34 -14
  212. package/dist/lib/components/AcTooltip.vue_vue_type_script_setup_true_lang.js +203 -79
  213. package/dist/lib/components/AcUsageCard.vue_vue_type_script_setup_true_lang.js +27 -27
  214. package/dist/lib/components/AcUserMenu.vue.d.ts +23 -1
  215. package/dist/lib/components/AcUserMenu.vue_vue_type_script_setup_true_lang.js +166 -115
  216. package/dist/lib/components/index.d.ts +21 -2
  217. package/dist/lib/components/status.d.ts +28 -0
  218. package/dist/lib/components/status.js +125 -0
  219. package/dist/lib/composables/copyText.d.ts +2 -1
  220. package/dist/lib/composables/copyText.js +2 -2
  221. package/dist/lib/composables/useApiPagination.d.ts +55 -0
  222. package/dist/lib/composables/useApiPagination.js +58 -0
  223. package/dist/lib/composables/useBulkSelection.d.ts +44 -0
  224. package/dist/lib/composables/useBulkSelection.js +41 -0
  225. package/dist/lib/composables/useFormValidation.d.ts +65 -0
  226. package/dist/lib/composables/useFormValidation.js +148 -0
  227. package/dist/lib/composables/useTablePagination.d.ts +49 -0
  228. package/dist/lib/composables/useTablePagination.js +41 -0
  229. package/dist/lib/composables/useToast.d.ts +17 -1
  230. package/dist/lib/composables/useToast.js +10 -2
  231. package/dist/lib/editor/theme.js +65 -62
  232. package/dist/lib/index.d.ts +21 -3
  233. package/dist/lib/index.js +99 -75
  234. package/dist/lib/theme.css +377 -273
  235. package/package.json +20 -4
@@ -0,0 +1,137 @@
1
+ import { axisStyle as e, loadOnce as t, nearestIndex as n } from "./echarts.js";
2
+ import "./xy.js";
3
+ //#region src/lib/charts/cartesian.ts
4
+ function r(e) {
5
+ return e.zoom ? t("dataZoom", () => import("echarts/lib/component/dataZoom")) : void 0;
6
+ }
7
+ function i(e, t) {
8
+ return e.animation !== !1 && !t.reducedMotion && e.data.length <= 2e3;
9
+ }
10
+ function a(t, n, r, a) {
11
+ let o = e(t), s = r.byPosition.value, c = r.xKind.value, l = {
12
+ ...o,
13
+ type: s ? "category" : c === "time" ? "time" : "value",
14
+ data: s ? n.data.map((e, t) => r.xTickFormat(t)) : void 0,
15
+ boundaryGap: s ? a.boundaryGap : !1,
16
+ min: s ? void 0 : "dataMin",
17
+ max: s ? void 0 : "dataMax",
18
+ axisLabel: {
19
+ ...o.axisLabel,
20
+ formatter: s ? void 0 : (e) => r.xTickFormat(e)
21
+ },
22
+ splitLine: { show: !1 },
23
+ axisPointer: {
24
+ show: n.tooltip !== !1,
25
+ type: a.pointer,
26
+ snap: !0,
27
+ triggerTooltip: !1,
28
+ lineStyle: {
29
+ color: t.borderDark,
30
+ type: "dashed"
31
+ },
32
+ shadowStyle: { color: t.alpha(t.sunken, .6) },
33
+ label: { show: !1 },
34
+ z: 1
35
+ },
36
+ name: n.xLabel || void 0,
37
+ nameLocation: "middle",
38
+ nameGap: a.horizontal ? 36 : 28
39
+ }, [u, d] = n.yDomain ?? [void 0, void 0], f = n.data.some((e) => r.visibleKeys.value.some((t) => Number(e[t]) < 0)), p = u ?? (f ? void 0 : 0), m = d, h = {
40
+ ...o,
41
+ type: "value",
42
+ min: p,
43
+ max: m,
44
+ splitNumber: r.yTicks.value,
45
+ axisLine: { show: !1 },
46
+ axisLabel: {
47
+ ...o.axisLabel,
48
+ formatter: (e) => r.formatY(e)
49
+ },
50
+ splitLine: {
51
+ ...o.splitLine,
52
+ show: n.gridLines !== !1
53
+ },
54
+ name: n.yLabel || void 0,
55
+ nameLocation: "middle",
56
+ nameGap: a.horizontal ? 28 : 44
57
+ }, g = a.horizontal ? { yAxisIndex: 0 } : { xAxisIndex: 0 };
58
+ return {
59
+ animation: i(n, t),
60
+ animationDuration: 300,
61
+ textStyle: {
62
+ fontFamily: t.font,
63
+ color: t.body
64
+ },
65
+ grid: {
66
+ left: n.yLabel && !a.horizontal ? 24 : 4,
67
+ right: 12,
68
+ top: 10,
69
+ bottom: (n.zoom ? 40 : 4) + (n.xLabel ? 22 : 0),
70
+ outerBoundsMode: "same",
71
+ outerBoundsContain: "all"
72
+ },
73
+ xAxis: a.horizontal ? h : l,
74
+ yAxis: a.horizontal ? {
75
+ ...l,
76
+ inverse: !0
77
+ } : h,
78
+ ...n.zoom && { dataZoom: [{
79
+ type: "inside",
80
+ ...g,
81
+ filterMode: "none",
82
+ zoomOnMouseWheel: "ctrl",
83
+ moveOnMouseWheel: !1,
84
+ moveOnMouseMove: !0
85
+ }, {
86
+ type: "slider",
87
+ ...g,
88
+ filterMode: "none",
89
+ height: 20,
90
+ bottom: n.xLabel ? 26 : 6,
91
+ left: 48,
92
+ right: 48,
93
+ borderColor: t.border,
94
+ borderRadius: 6,
95
+ backgroundColor: t.alpha(t.sunken, .5),
96
+ fillerColor: t.alpha(t.primary, .12),
97
+ dataBackground: {
98
+ lineStyle: {
99
+ color: t.borderDark,
100
+ width: 1
101
+ },
102
+ areaStyle: { color: t.alpha(t.borderDark, .25) }
103
+ },
104
+ selectedDataBackground: {
105
+ lineStyle: {
106
+ color: t.primary,
107
+ width: 1
108
+ },
109
+ areaStyle: { color: t.alpha(t.primary, .15) }
110
+ },
111
+ handleStyle: {
112
+ color: t.surface,
113
+ borderColor: t.borderDark
114
+ },
115
+ moveHandleStyle: { color: t.borderDark },
116
+ emphasis: {
117
+ handleStyle: { borderColor: t.primary },
118
+ moveHandleStyle: { color: t.primary }
119
+ },
120
+ textStyle: {
121
+ color: t.muted,
122
+ fontSize: 11,
123
+ fontFamily: t.font
124
+ },
125
+ labelFormatter: (e) => r.xTickFormat(e),
126
+ brushSelect: !1
127
+ }] }
128
+ };
129
+ }
130
+ function o(e, t, r, i = !1) {
131
+ let a = e.convertFromPixel({ gridIndex: 0 }, t)?.[+!!i];
132
+ if (a === void 0 || !Number.isFinite(a)) return null;
133
+ let o = r.xNumbers.value.length;
134
+ return o ? r.byPosition.value ? Math.min(o - 1, Math.max(0, Math.round(a))) : n(r.xNumbers.value, a) : null;
135
+ }
136
+ //#endregion
137
+ export { i as animationFor, a as cartesianOption, o as locateRow, r as prepareZoom };
@@ -0,0 +1,86 @@
1
+ import type { ECharts, EChartsCoreOption } from "echarts/core";
2
+ import type { Ref } from "vue";
3
+ /** `canvas` (default) stays fast with tens of thousands of points; `svg` is crisper when printed or zoomed and lighter for a few dozen. */
4
+ export type ChartRenderer = "canvas" | "svg";
5
+ /** Our tokens resolved to plain colours, because ECharts can't read CSS variables. */
6
+ export interface ChartTheme {
7
+ /** Any CSS colour, including `var(--color-chart-1)`, as `rgba(r, g, b, a)`. */
8
+ color: (css: string) => string;
9
+ /** The colour at an opacity, e.g. `alpha(color, 0.3)` for an area fill. */
10
+ alpha: (css: string, opacity: number) => string;
11
+ heading: string;
12
+ body: string;
13
+ muted: string;
14
+ border: string;
15
+ borderDark: string;
16
+ surface: string;
17
+ sunken: string;
18
+ primary: string;
19
+ font: string;
20
+ reducedMotion: boolean;
21
+ }
22
+ /** Reads the tokens through a hidden probe inside the chart, so a `.dark` subtree or a re-hued brand resolves correctly. */
23
+ export declare function readChartTheme(scope: HTMLElement): ChartTheme;
24
+ /** Axis, grid and text styles every cartesian chart shares, in cloud-ui's look: muted 11px labels, dashed grid lines. */
25
+ export declare function axisStyle(t: ChartTheme): {
26
+ axisLine: {
27
+ lineStyle: {
28
+ color: string;
29
+ };
30
+ };
31
+ axisTick: {
32
+ show: boolean;
33
+ };
34
+ axisLabel: {
35
+ color: string;
36
+ fontSize: number;
37
+ fontFamily: string;
38
+ hideOverlap: boolean;
39
+ };
40
+ splitLine: {
41
+ lineStyle: {
42
+ color: string;
43
+ type: "dashed";
44
+ };
45
+ };
46
+ nameTextStyle: {
47
+ color: string;
48
+ fontSize: number;
49
+ fontFamily: string;
50
+ };
51
+ };
52
+ export declare function loadOnce(key: string, load: () => Promise<unknown>): Promise<unknown>;
53
+ interface UseEChartOptions {
54
+ /** The element ECharts draws into. It may appear later (after loading), and is re-initialised when it changes. */
55
+ host: Ref<HTMLElement | undefined>;
56
+ /** Builds the option from the theme. Read reactive props inside: the chart re-renders when they change. */
57
+ option: (theme: ChartTheme) => EChartsCoreOption;
58
+ renderer: () => ChartRenderer;
59
+ /** Loads extra ECharts modules before the first render, e.g. the zoom component. */
60
+ prepare?: () => Promise<unknown> | void;
61
+ /** Attaches event handlers once the instance exists. */
62
+ setup?: (chart: ECharts) => void;
63
+ }
64
+ export declare function useEChart(options: UseEChartOptions): {
65
+ chart: import("vue").ShallowRef<ECharts | undefined, ECharts | undefined>;
66
+ theme: import("vue").ShallowRef<ChartTheme | undefined, ChartTheme | undefined>;
67
+ };
68
+ /** Index of the value in a sorted list closest to `v` (binary search, so it stays fast on large series). */
69
+ export declare function nearestIndex(values: number[], v: number): number;
70
+ /**
71
+ * Feeds pointer moves over the plot into ChartFrame's tooltip: `locate` turns a pixel into a row index.
72
+ * ECharts' own tooltip box is turned off (`showContent: false`); its axis pointer still draws the guide line.
73
+ */
74
+ export declare function bindAxisHover(chart: ECharts, locate: (point: [number, number]) => number | null, onMove: (index: number, clientX: number, clientY: number) => void, onLeave: () => void): void;
75
+ /** The hovered item of a series (a donut segment, map point or graph node), with the pointer position for ChartFrame's tooltip. */
76
+ export interface ItemHover {
77
+ seriesIndex: number;
78
+ dataIndex: number;
79
+ dataType?: string;
80
+ data: unknown;
81
+ clientX: number;
82
+ clientY: number;
83
+ }
84
+ /** Feeds item hovers (donut, map, graph) into ChartFrame's tooltip. Turn ECharts' own tooltip box off for these series. */
85
+ export declare function bindItemHover(chart: ECharts, onMove: (hover: ItemHover) => void, onLeave: () => void): void;
86
+ export {};
@@ -0,0 +1,173 @@
1
+ import { onBeforeUnmount as e, shallowRef as t, watch as n } from "vue";
2
+ import { init as r, use as i } from "echarts/core";
3
+ import { CanvasRenderer as a } from "echarts/renderers";
4
+ //#region src/lib/charts/echarts.ts
5
+ i([a]);
6
+ function o(e) {
7
+ let t = /^#([0-9a-f]{6})$/i.exec(e);
8
+ if (t) {
9
+ let e = parseInt(t[1], 16);
10
+ return [
11
+ e >> 16 & 255,
12
+ e >> 8 & 255,
13
+ e & 255,
14
+ 1
15
+ ];
16
+ }
17
+ let n = e.match(/[\d.]+/g)?.map(Number) ?? [
18
+ 0,
19
+ 0,
20
+ 0,
21
+ 1
22
+ ];
23
+ return [
24
+ n[0] ?? 0,
25
+ n[1] ?? 0,
26
+ n[2] ?? 0,
27
+ n[3] ?? 1
28
+ ];
29
+ }
30
+ function s(e) {
31
+ let t = e.querySelector(":scope > [data-chart-probe]");
32
+ t || (t = document.createElement("span"), t.dataset.chartProbe = "", t.style.display = "none", e.appendChild(t));
33
+ let n = document.createElement("canvas").getContext("2d"), r = /* @__PURE__ */ new Map(), i = t;
34
+ function a(e) {
35
+ let t = r.get(e);
36
+ if (!t) {
37
+ i.style.color = "", i.style.color = e;
38
+ let a = getComputedStyle(i).color;
39
+ n && (n.fillStyle = "#000", n.fillStyle = a, a = String(n.fillStyle)), t = o(a), r.set(e, t);
40
+ }
41
+ return t;
42
+ }
43
+ let s = (e, t) => {
44
+ let [n, r, i, o] = a(e);
45
+ return `rgba(${n}, ${r}, ${i}, ${+(o * t).toFixed(3)})`;
46
+ }, c = (e) => s(e, 1);
47
+ return {
48
+ color: c,
49
+ alpha: s,
50
+ heading: c("var(--color-heading)"),
51
+ body: c("var(--color-body)"),
52
+ muted: c("var(--color-muted)"),
53
+ border: c("var(--color-border)"),
54
+ borderDark: c("var(--color-border-dark)"),
55
+ surface: c("var(--color-surface)"),
56
+ sunken: c("var(--color-surface-sunken)"),
57
+ primary: c("var(--color-primary)"),
58
+ font: getComputedStyle(e).fontFamily || "Roboto, sans-serif",
59
+ reducedMotion: typeof window < "u" && !!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches
60
+ };
61
+ }
62
+ function c(e) {
63
+ return {
64
+ axisLine: { lineStyle: { color: e.border } },
65
+ axisTick: { show: !1 },
66
+ axisLabel: {
67
+ color: e.muted,
68
+ fontSize: 11,
69
+ fontFamily: e.font,
70
+ hideOverlap: !0
71
+ },
72
+ splitLine: { lineStyle: {
73
+ color: e.border,
74
+ type: "dashed"
75
+ } },
76
+ nameTextStyle: {
77
+ color: e.muted,
78
+ fontSize: 11,
79
+ fontFamily: e.font
80
+ }
81
+ };
82
+ }
83
+ var l = /* @__PURE__ */ new Map();
84
+ function u(e, t) {
85
+ return l.has(e) || l.set(e, t()), l.get(e);
86
+ }
87
+ function d(a) {
88
+ let o = t(), c = t(), l, d, f, p = 0;
89
+ function m() {
90
+ let e = a.host.value;
91
+ e?.parentElement && (c.value = s(e.parentElement));
92
+ }
93
+ function h() {
94
+ l?.disconnect(), o.value?.dispose(), o.value = void 0;
95
+ }
96
+ async function g(e) {
97
+ let t = ++p;
98
+ if (h(), !e) return;
99
+ let n = a.renderer();
100
+ if (await Promise.all([n === "svg" ? u("svg", () => import("echarts/renderers").then((e) => i([e.SVGRenderer]))) : void 0, a.prepare?.()]), t !== p || a.host.value !== e) return;
101
+ m();
102
+ let s = r(e, void 0, { renderer: n });
103
+ o.value = s, a.setup?.(s), _(), typeof ResizeObserver < "u" && (l = new ResizeObserver(() => s.resize()), l.observe(e));
104
+ }
105
+ function _() {
106
+ let e = o.value;
107
+ if (!e || !c.value) return;
108
+ let t = a.option(c.value), n = e.getOption()?.dataZoom;
109
+ t.dataZoom && n?.length && (t.dataZoom = t.dataZoom.map((e, t) => ({
110
+ ...e,
111
+ start: n[t]?.start ?? e.start,
112
+ end: n[t]?.end ?? e.end
113
+ }))), e.setOption(t, {
114
+ notMerge: !0,
115
+ lazyUpdate: !0
116
+ });
117
+ }
118
+ return n(a.host, (e) => void g(e), {
119
+ immediate: !0,
120
+ flush: "post"
121
+ }), n(a.renderer, () => void g(a.host.value)), n(() => c.value ? a.option(c.value) : null, _), typeof window < "u" && (d = new MutationObserver(() => {
122
+ m(), _();
123
+ }), d.observe(document.documentElement, {
124
+ attributes: !0,
125
+ attributeFilter: [
126
+ "class",
127
+ "style",
128
+ "data-theme"
129
+ ]
130
+ }), d.observe(document.body, {
131
+ attributes: !0,
132
+ attributeFilter: ["class"]
133
+ }), f = window.matchMedia?.("(prefers-color-scheme: dark)"), f?.addEventListener("change", m)), e(() => {
134
+ p++, d?.disconnect(), f?.removeEventListener("change", m), h();
135
+ }), {
136
+ chart: o,
137
+ theme: c
138
+ };
139
+ }
140
+ function f(e, t) {
141
+ let n = 0, r = e.length - 1;
142
+ if (r < 0) return -1;
143
+ for (; n < r;) {
144
+ let i = n + r >> 1;
145
+ e[i] < t ? n = i + 1 : r = i;
146
+ }
147
+ return n > 0 && Math.abs(e[n - 1] - t) <= Math.abs(e[n] - t) ? n - 1 : n;
148
+ }
149
+ function p(e, t, n, r) {
150
+ let i = e.getZr();
151
+ i.on("mousemove", (i) => {
152
+ let a = [i.offsetX, i.offsetY];
153
+ if (!e.containPixel({ gridIndex: 0 }, a)) return r();
154
+ let o = t(a);
155
+ if (o === null || o < 0 || !i.event) return r();
156
+ n(o, i.event.clientX, i.event.clientY);
157
+ }), i.on("globalout", r);
158
+ }
159
+ function m(e, t, n) {
160
+ e.on("mousemove", (e) => {
161
+ let n = e, r = n.event?.event;
162
+ r && n.dataIndex !== void 0 && t({
163
+ seriesIndex: n.seriesIndex ?? 0,
164
+ dataIndex: n.dataIndex,
165
+ dataType: n.dataType,
166
+ data: n.data,
167
+ clientX: r.clientX,
168
+ clientY: r.clientY
169
+ });
170
+ }), e.on("mouseout", n), e.getZr().on("globalout", n);
171
+ }
172
+ //#endregion
173
+ export { c as axisStyle, p as bindAxisHover, m as bindItemHover, u as loadOnce, f as nearestIndex, s as readChartTheme, d as useEChart };
@@ -0,0 +1,77 @@
1
+ import type { Component } from "vue";
2
+ /** Node diameter in px at 100% zoom. */
3
+ export declare const NODE_SIZE = 40;
4
+ /** Gap between a node and its label. */
5
+ export declare const LABEL_GAP = 6;
6
+ export declare const NAME_LINE = 16;
7
+ export declare const KIND_LINE = 14;
8
+ export declare const GROUP_PAD = 10;
9
+ /** Room above a group's nodes for its name. */
10
+ export declare const GROUP_TITLE = 20;
11
+ export interface LayoutNode {
12
+ id: string;
13
+ label: string;
14
+ kind: string;
15
+ group?: string;
16
+ badge: boolean;
17
+ }
18
+ export interface LayoutLink {
19
+ source: string;
20
+ target: string;
21
+ label: string;
22
+ }
23
+ export interface GroupBox {
24
+ name: string;
25
+ /** Top-left corner and size, in layout px. */
26
+ x: number;
27
+ y: number;
28
+ width: number;
29
+ height: number;
30
+ }
31
+ export interface Bounds {
32
+ minX: number;
33
+ minY: number;
34
+ maxX: number;
35
+ maxY: number;
36
+ }
37
+ export interface GraphLayout {
38
+ /** Node centres in layout px (100% zoom). */
39
+ positions: Map<string, [number, number]>;
40
+ groups: GroupBox[];
41
+ /** Bounds of the node centres: what ECharts fits into the view. */
42
+ centers: Bounds;
43
+ /** Half the label width per node and detail, in screen px: labels keep their size at any zoom. */
44
+ labelHalf: Map<string, Record<LabelDetail, number>>;
45
+ }
46
+ /** How much text a node shows: name and kind, the name only, or only the problem badge. Set by the screen scale. */
47
+ export type LabelDetail = "full" | "name" | "badge";
48
+ /** The detail that still reads at a screen scale: everything from 60%, names from 40%. */
49
+ export declare const LABEL_DETAILS: LabelDetail[];
50
+ export declare function labelDetail(scale: number): LabelDetail;
51
+ export declare function truncate(text: string, max: number): string;
52
+ export declare function nodeName(label: string): string;
53
+ export declare function nodeKind(kind: string): string;
54
+ /** Layered layout: ranks follow the links, and nodes of a group are kept together as a dagre cluster. */
55
+ export declare function layoutGraph(nodes: LayoutNode[], links: LayoutLink[], direction: "LR" | "TB"): GraphLayout;
56
+ /**
57
+ * How far the drawing reaches past the node centres' box, in screen px at `scale`.
58
+ * Nodes and group boxes scale; labels don't, so the answer isn't linear in `scale`.
59
+ */
60
+ export declare function overhang(layout: GraphLayout, scale: number, detail: LabelDetail): {
61
+ left: number;
62
+ top: number;
63
+ right: number;
64
+ bottom: number;
65
+ };
66
+ export interface NodeImageOptions {
67
+ icon: Component | string;
68
+ /** Resolved colours (ECharts and SVG images can't read CSS variables). */
69
+ iconColor: string;
70
+ fill: string;
71
+ ring: string;
72
+ ringWidth: number;
73
+ shape: "circle" | "square";
74
+ font: string;
75
+ }
76
+ /** One node as an `image://` symbol: fill, ring and icon in a 40×40 view box, rasterised large enough to stay sharp at 150% on a 2× screen. */
77
+ export declare function nodeImage(o: NodeImageOptions): string;
@@ -0,0 +1,155 @@
1
+ import { h as e, render as t } from "vue";
2
+ import n from "@dagrejs/dagre";
3
+ var r = 20, i = 22, a = 24, o = 18, s = "\0group:", c = [
4
+ "full",
5
+ "name",
6
+ "badge"
7
+ ];
8
+ function l(e) {
9
+ return e >= .6 ? "full" : e >= .4 ? "name" : "badge";
10
+ }
11
+ var u = {
12
+ full: 36,
13
+ name: 22,
14
+ badge: 22
15
+ };
16
+ function d(e, t) {
17
+ return e.length > t ? `${e.slice(0, t - 1)}…` : e;
18
+ }
19
+ function f(e) {
20
+ return d(e, i);
21
+ }
22
+ function p(e) {
23
+ return d(e, a);
24
+ }
25
+ function m(e) {
26
+ let t = e.badge ? o : 0, n = f(e.label).length * 6.8 + t, r = p(e.kind).length * 6.2;
27
+ return {
28
+ full: Math.max(n, r) + 8,
29
+ name: n + 8,
30
+ badge: t
31
+ };
32
+ }
33
+ function h(e, t, r) {
34
+ let i = new n.graphlib.Graph({
35
+ compound: !0,
36
+ multigraph: !0
37
+ });
38
+ i.setGraph(r === "TB" ? {
39
+ rankdir: "TB",
40
+ nodesep: 28,
41
+ ranksep: 44,
42
+ edgesep: 52
43
+ } : {
44
+ rankdir: "LR",
45
+ nodesep: 20,
46
+ ranksep: 72,
47
+ edgesep: 52
48
+ }), i.setDefaultEdgeLabel(() => ({}));
49
+ let a = /* @__PURE__ */ new Map();
50
+ for (let t of e) {
51
+ let e = m(t);
52
+ a.set(t.id, {
53
+ full: e.full / 2,
54
+ name: e.name / 2,
55
+ badge: e.badge / 2
56
+ });
57
+ let n = Math.max(40, e.full);
58
+ if (i.setNode(t.id, {
59
+ width: n,
60
+ height: 76
61
+ }), t.group) {
62
+ let e = s + t.group;
63
+ i.hasNode(e) || i.setNode(e, {
64
+ width: 0,
65
+ height: 0
66
+ }), i.setParent(t.id, e);
67
+ }
68
+ }
69
+ t.forEach((e, t) => {
70
+ let n = e.label ? {
71
+ width: e.label.length * 6.4 + 16,
72
+ height: 18,
73
+ labelpos: "c"
74
+ } : {};
75
+ i.setEdge(e.source, e.target, n, String(t));
76
+ }), n.layout(i);
77
+ let o = /* @__PURE__ */ new Map(), c = {
78
+ minX: Infinity,
79
+ minY: Infinity,
80
+ maxX: -Infinity,
81
+ maxY: -Infinity
82
+ };
83
+ for (let t of e) {
84
+ let e = i.node(t.id), n = e.x ?? 0, r = (e.y ?? 0) - 38 + 20;
85
+ o.set(t.id, [n, r]), _(c, n, r, n, r);
86
+ }
87
+ let l = [];
88
+ for (let e of i.nodes()) {
89
+ if (!e.startsWith(s)) continue;
90
+ let t = i.node(e), n = (t.x ?? 0) - t.width / 2 - 10, r = (t.y ?? 0) - t.height / 2 - 10 - 20, a = {
91
+ name: e.slice(7),
92
+ x: n,
93
+ y: r,
94
+ width: t.width + 20,
95
+ height: t.height + 20 + 20
96
+ };
97
+ l.push(a);
98
+ }
99
+ return e.length || Object.assign(c, {
100
+ minX: 0,
101
+ minY: 0,
102
+ maxX: 0,
103
+ maxY: 0
104
+ }), {
105
+ positions: o,
106
+ groups: l,
107
+ centers: c,
108
+ labelHalf: a
109
+ };
110
+ }
111
+ function g(e, t, n) {
112
+ let { centers: r } = e, i = {
113
+ left: 0,
114
+ top: 0,
115
+ right: 0,
116
+ bottom: 0
117
+ }, a = u[n];
118
+ for (let [o, [s, c]] of e.positions) {
119
+ let l = e.labelHalf.get(o)?.[n] ?? 0, u = Math.max(20 * t, l);
120
+ i.left = Math.max(i.left, u - (s - r.minX) * t), i.right = Math.max(i.right, u - (r.maxX - s) * t), i.top = Math.max(i.top, 20 * t - (c - r.minY) * t);
121
+ let d = n === "badge" && !l ? 0 : a;
122
+ i.bottom = Math.max(i.bottom, 20 * t + d - (r.maxY - c) * t);
123
+ }
124
+ for (let n of e.groups) i.left = Math.max(i.left, (r.minX - n.x) * t), i.right = Math.max(i.right, (n.x + n.width - r.maxX) * t), i.top = Math.max(i.top, (r.minY - n.y) * t), i.bottom = Math.max(i.bottom, (n.y + n.height - r.maxY) * t);
125
+ return i;
126
+ }
127
+ function _(e, t, n, r, i) {
128
+ e.minX = Math.min(e.minX, t), e.minY = Math.min(e.minY, n), e.maxX = Math.max(e.maxX, r), e.maxY = Math.max(e.maxY, i);
129
+ }
130
+ var v = /* @__PURE__ */ new WeakMap();
131
+ function y(n) {
132
+ let i = v.get(n);
133
+ if (i !== void 0) return i;
134
+ if (i = "", typeof document < "u") {
135
+ let a = document.createElement("div");
136
+ t(e(n, {
137
+ size: r,
138
+ width: r,
139
+ height: r
140
+ }), a);
141
+ let o = a.querySelector("svg");
142
+ o && (o.removeAttribute("class"), o.setAttribute("x", "10"), o.setAttribute("y", "10"), o.setAttribute("width", String(r)), o.setAttribute("height", String(r)), i = new XMLSerializer().serializeToString(o)), t(null, a);
143
+ }
144
+ return v.set(n, i), i;
145
+ }
146
+ function b(e) {
147
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
148
+ }
149
+ var x = 160;
150
+ function S(e) {
151
+ let t = e.ringWidth / 2, n = 40 - e.ringWidth, r = `<svg xmlns="http://www.w3.org/2000/svg" width="${x}" height="${x}" viewBox="0 0 40 40">${e.shape === "square" ? `<rect x="${t}" y="${t}" width="${n}" height="${n}" rx="10" fill="${e.fill}" stroke="${e.ring}" stroke-width="${e.ringWidth}"/>` : `<circle cx="20" cy="20" r="${n / 2}" fill="${e.fill}" stroke="${e.ring}" stroke-width="${e.ringWidth}"/>`}${typeof e.icon == "string" ? `<text x="20" y="20" text-anchor="middle" dominant-baseline="central" font-size="11" font-weight="600" font-family="${b(e.font)}" fill="${e.iconColor}">${b(e.icon.slice(0, 3))}</text>` : `<g color="${e.iconColor}">${y(e.icon)}</g>`}</svg>`;
152
+ return `image://data:image/svg+xml;charset=utf-8,${encodeURIComponent(r)}`;
153
+ }
154
+ //#endregion
155
+ export { c as LABEL_DETAILS, l as labelDetail, h as layoutGraph, S as nodeImage, p as nodeKind, f as nodeName, g as overhang, d as truncate };
@@ -0,0 +1,11 @@
1
+ export { default as AcLineChart } from "../components/AcLineChart.vue";
2
+ export { default as AcAreaChart } from "../components/AcAreaChart.vue";
3
+ export { default as AcBarChart } from "../components/AcBarChart.vue";
4
+ export { default as AcDonutChart } from "../components/AcDonutChart.vue";
5
+ export { default as AcGraphChart } from "../components/AcGraphChart.vue";
6
+ export { default as AcMapChart } from "../components/AcMapChart.vue";
7
+ export type { ChartAccessor, ChartCategory, ChartColor, ChartCurve, ChartDatum, ChartLegendPosition, ChartTooltipItem, } from "./shared";
8
+ export type { ChartTooltipSlotProps } from "./ChartFrame.vue";
9
+ export type { XYChartProps } from "./xy";
10
+ export type { MapChartTooltipSlotProps, MapGeoJson, MapPoint, MapPointStatus } from "../components/AcMapChart.vue";
11
+ export type { GraphLink, GraphNode, GraphStatus, GraphTooltipSlotProps } from "../components/AcGraphChart.vue";
@@ -0,0 +1,7 @@
1
+ import e from "../components/AcLineChart.js";
2
+ import t from "../components/AcAreaChart.js";
3
+ import n from "../components/AcBarChart.js";
4
+ import r from "../components/AcDonutChart.js";
5
+ import i from "../components/AcGraphChart.js";
6
+ import a from "../components/AcMapChart.js";
7
+ export { t as AcAreaChart, n as AcBarChart, r as AcDonutChart, i as AcGraphChart, e as AcLineChart, a as AcMapChart };