components.ts 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. export const asyncComponentAll = {
  2. Title: () => import('./text/Title'),
  3. BasicLine: () => import('./charts/Line/BasicLine'),
  4. BasicBar: () => import('./charts/Bar/BasicBar'),
  5. PercentBar: () => import('./charts/Bar/PercentBar'),
  6. StackBar: () => import('./charts/Bar/StackBar'),
  7. PolarBar: () => import('./charts/Bar/PolarBar'),
  8. BasicPie: () => import('./charts/Pie/BasicPie'),
  9. BasicStrip: () => import('./charts/Strip/BasicStrip'),
  10. Container: () => import('./container'),
  11. }
  12. /* 数据源 */
  13. export { DataSourceType } from './charts/chartEnum';
  14. export type { DataSource, ChartData } from './charts/types';
  15. /* 容器 */
  16. import { default as Container } from './container';
  17. /* 标题 */
  18. import { default as Title } from './text/Title';
  19. /* 自定义表单 */
  20. export type { IFormItem } from './cusForm';
  21. export { CusForm } from './cusForm';
  22. /* 基础折线图 */
  23. import { default as BasicLine } from './charts/Line/BasicLine';
  24. export {
  25. Config as BasicLineConfig,
  26. defaultPropsValue as basicLineDefaultProps,
  27. componentProps as basicLineComponentProps
  28. } from './charts/Line/BasicLine';
  29. /* 基础柱形图 */
  30. import { default as BasicBar } from './charts/Bar/BasicBar/src/BasicBar.vue';
  31. export {
  32. Config as BasicBarConfig,
  33. defaultPropsValue as basicBarDefaultProps,
  34. componentProps as basicBarProps
  35. } from './charts/Bar/BasicBar';
  36. /* 基础饼图 */
  37. import { default as BasicPie } from './charts/Pie/BasicPie/src/BasicPie.vue';
  38. export {
  39. Config as BasicPieConfig,
  40. defaultPropsValue as basicPieDefaultProps,
  41. componentProps as basicPieProps
  42. } from './charts/Pie/BasicPie';
  43. /* 基础条形图 */
  44. import { default as BasicStrip } from './charts/Strip/BasicStrip/src/BasicStrip.vue';
  45. export {
  46. Config as BasicStripConfig,
  47. defaultPropsValue as basicStripDefaultProps,
  48. componentProps as basicStripProps
  49. } from './charts/Strip/BasicStrip';
  50. /* 堆积柱形图 */
  51. import { default as StackBar } from './charts/Bar/StackBar/src/StackBar.vue';
  52. export {
  53. Config as StackBarConfig,
  54. defaultPropsValue as stackBarDefaultProps,
  55. componentProps as stackBarProps
  56. } from './charts/Bar/StackBar';
  57. /* 百分比堆积柱形图 */
  58. import { default as PercentBar } from './charts/Bar/PercentBar/src/PercentBar.vue';
  59. export {
  60. Config as PercentBarConfig,
  61. defaultPropsValue as percentBarDefaultProps,
  62. componentProps as percentBarProps
  63. } from './charts/Bar/PercentBar';
  64. /* 百分比堆积柱形图 */
  65. import { default as PolarBar } from './charts/Bar/PolarBar/src/PolarBar.vue';
  66. export {
  67. Config as PolarBarConfig,
  68. defaultPropsValue as polarBarDefaultProps,
  69. componentProps as polarBarProps
  70. } from './charts/Bar/PolarBar';
  71. export const components = {
  72. BasicLine,
  73. BasicBar,
  74. Title,
  75. BasicPie,
  76. Container,
  77. BasicStrip,
  78. StackBar,
  79. PercentBar,
  80. PolarBar
  81. }
  82. export {
  83. BasicLine,
  84. BasicBar,
  85. Title,
  86. BasicPie,
  87. Container,
  88. BasicStrip,
  89. StackBar,
  90. PercentBar,
  91. PolarBar
  92. }