49e82b5b265766fb5515b48758a1063d7a39f1ed.svn-base 934 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import i18n from '@/i18n'
  2. const steps = [
  3. {
  4. element: '#dataPanel',
  5. popover: {
  6. title: i18n.t('guide.dataPanel'),
  7. description: i18n.t('guide.dataPanelDesc'),
  8. position: 'right'
  9. }
  10. },
  11. {
  12. element: '#formPanel',
  13. popover: {
  14. title: i18n.t('guide.formPanel'),
  15. description: i18n.t('guide.formPanelDesc'),
  16. position: 'bottom'
  17. }
  18. },
  19. {
  20. element: '#dimensionInput',
  21. popover: {
  22. title: i18n.t('guide.dimensionInput'),
  23. description: i18n.t('guide.dimensionInputDesc'),
  24. position: 'top'
  25. }
  26. },
  27. {
  28. element: '#fieldInput',
  29. popover: {
  30. title: i18n.t('guide.fieldInput'),
  31. description: i18n.t('guide.fieldInputDesc'),
  32. position: 'bottom'
  33. }
  34. },
  35. {
  36. element: '#vizPanel',
  37. popover: {
  38. title: i18n.t('guide.vizPanel'),
  39. description: i18n.t('guide.vizPanelDesc'),
  40. position: 'top'
  41. }
  42. }
  43. ]
  44. export default steps