Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

54 wiersze
1.4 KiB

  1. import { defineMixin } from '../../libs/vue'
  2. import GuideDefaultProps from './guide'
  3. import { registerComponentProps } from '../../libs/config/props.js'
  4. const defProps = registerComponentProps(GuideDefaultProps)
  5. export const props = defineMixin({
  6. props: {
  7. show: {
  8. type: Boolean,
  9. default: () => defProps.guide.show
  10. },
  11. list: {
  12. type: Array,
  13. default: () => defProps.guide.list
  14. },
  15. storageKey: {
  16. type: String,
  17. default: () => defProps.guide.storageKey
  18. },
  19. once: {
  20. type: Boolean,
  21. default: () => defProps.guide.once
  22. },
  23. showSkip: {
  24. type: Boolean,
  25. default: () => defProps.guide.showSkip
  26. },
  27. skipText: {
  28. type: String,
  29. default: () => defProps.guide.skipText
  30. },
  31. nextText: {
  32. type: String,
  33. default: () => defProps.guide.nextText
  34. },
  35. finishText: {
  36. type: String,
  37. default: () => defProps.guide.finishText
  38. },
  39. indicator: {
  40. type: Boolean,
  41. default: () => defProps.guide.indicator
  42. },
  43. bgColor: {
  44. type: String,
  45. default: () => defProps.guide.bgColor
  46. },
  47. zIndex: {
  48. type: [String, Number],
  49. default: () => defProps.guide.zIndex
  50. }
  51. }
  52. })