You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

58 lines
1.3 KiB

  1. import { defineMixin } from '../../libs/vue'
  2. import ParseDefaultProps from './parse'
  3. import { registerComponentProps } from '../../libs/config/props.js'
  4. const defProps = registerComponentProps(ParseDefaultProps)
  5. export const props = defineMixin({
  6. props: {
  7. containerStyle: {
  8. type: String,
  9. default: null
  10. },
  11. content: String,
  12. copyLink: {
  13. type: Boolean,
  14. default: () => defProps.parse.copyLink
  15. },
  16. domain: String,
  17. errorImg: {
  18. type: String,
  19. default: () => defProps.parse.errorImg
  20. },
  21. lazyLoad: {
  22. type: Boolean,
  23. default: () => defProps.parse.lazyLoad
  24. },
  25. loadingImg: {
  26. type: String,
  27. default: () => defProps.parse.loadingImg
  28. },
  29. pauseVideo: {
  30. type: Boolean,
  31. default: () => defProps.parse.pauseVideo
  32. },
  33. previewImg: {
  34. type: Boolean,
  35. default: () => defProps.parse.previewImg
  36. },
  37. scrollTable: Boolean,
  38. selectable: Boolean,
  39. setTitle: {
  40. type: Boolean,
  41. default: () => defProps.parse.setTitle
  42. },
  43. showImgMenu: {
  44. type: Boolean,
  45. default: () => defProps.parse.showImgMenu
  46. },
  47. tagStyle: {
  48. type: Object,
  49. default: () => {}
  50. },
  51. useAnchor: {
  52. type: Boolean,
  53. default: null
  54. }
  55. }
  56. })