props.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. const props = {
  2. block: {
  3. type: Boolean,
  4. value: false,
  5. },
  6. content: {
  7. type: String,
  8. },
  9. customDataset: {
  10. type: null,
  11. },
  12. disabled: {
  13. type: Boolean,
  14. value: false,
  15. },
  16. externalClasses: {
  17. type: Array,
  18. },
  19. ghost: {
  20. type: Boolean,
  21. value: false,
  22. },
  23. icon: {
  24. type: null,
  25. },
  26. loading: {
  27. type: Boolean,
  28. value: false,
  29. },
  30. loadingProps: {
  31. type: Object,
  32. },
  33. shape: {
  34. type: String,
  35. value: 'rectangle',
  36. },
  37. size: {
  38. type: String,
  39. value: 'medium',
  40. },
  41. theme: {
  42. type: String,
  43. value: 'default',
  44. },
  45. type: {
  46. type: String,
  47. },
  48. variant: {
  49. type: String,
  50. value: 'base',
  51. },
  52. openType: {
  53. type: String,
  54. },
  55. hoverStopPropagation: {
  56. type: Boolean,
  57. value: false,
  58. },
  59. hoverStartTime: {
  60. type: Number,
  61. value: 20,
  62. },
  63. hoverStayTime: {
  64. type: Number,
  65. value: 70,
  66. },
  67. lang: {
  68. type: String,
  69. value: 'en',
  70. },
  71. sessionFrom: {
  72. type: String,
  73. value: '',
  74. },
  75. sendMessageTitle: {
  76. type: String,
  77. value: '',
  78. },
  79. sendMessagePath: {
  80. type: String,
  81. value: '',
  82. },
  83. sendMessageImg: {
  84. type: String,
  85. value: '',
  86. },
  87. appParameter: {
  88. type: String,
  89. value: '',
  90. },
  91. showMessageCard: {
  92. type: Boolean,
  93. value: false,
  94. },
  95. };
  96. export default props;