props.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. const props = {
  2. align: {
  3. type: String,
  4. value: 'left',
  5. },
  6. borderless: {
  7. type: Boolean,
  8. value: false,
  9. },
  10. clearable: {
  11. type: Boolean,
  12. value: false,
  13. },
  14. disabled: {
  15. type: Boolean,
  16. value: false,
  17. },
  18. errorMessage: {
  19. type: String,
  20. value: '',
  21. },
  22. externalClasses: {
  23. type: Array,
  24. },
  25. format: {
  26. type: null,
  27. },
  28. label: {
  29. type: String,
  30. },
  31. maxcharacter: {
  32. type: Number,
  33. },
  34. maxlength: {
  35. type: Number,
  36. },
  37. placeholder: {
  38. type: String,
  39. value: undefined,
  40. },
  41. prefixIcon: {
  42. type: String,
  43. },
  44. readonly: {
  45. type: Boolean,
  46. value: false,
  47. },
  48. size: {
  49. type: String,
  50. value: 'small',
  51. },
  52. status: {
  53. type: String,
  54. value: 'default',
  55. },
  56. suffix: {
  57. type: String,
  58. },
  59. suffixIcon: {
  60. type: String,
  61. },
  62. tips: {
  63. type: String,
  64. },
  65. value: {
  66. type: String,
  67. optionalTypes: [Number],
  68. value: null,
  69. },
  70. defaultValue: {
  71. type: String,
  72. optionalTypes: [Number],
  73. },
  74. type: {
  75. type: String,
  76. value: 'text',
  77. },
  78. placeholderStyle: {
  79. type: String,
  80. value: '',
  81. },
  82. placeholderClass: {
  83. type: String,
  84. value: 'input-placeholder',
  85. },
  86. cursorSpacing: {
  87. type: Number,
  88. value: 0,
  89. },
  90. autoFocus: {
  91. type: Boolean,
  92. value: false,
  93. },
  94. focus: {
  95. type: Boolean,
  96. value: false,
  97. },
  98. confirmType: {
  99. type: String,
  100. value: 'done',
  101. },
  102. alwaysEmbed: {
  103. type: Boolean,
  104. value: false,
  105. },
  106. confirmHold: {
  107. type: Boolean,
  108. value: false,
  109. },
  110. cursor: {
  111. type: Number,
  112. },
  113. selectionStart: {
  114. type: Number,
  115. value: -1,
  116. },
  117. selectionEnd: {
  118. type: Number,
  119. value: -1,
  120. },
  121. adjustPosition: {
  122. type: Boolean,
  123. value: true,
  124. },
  125. holdKeyboard: {
  126. type: Boolean,
  127. value: false,
  128. },
  129. safePasswordCertPath: {
  130. type: String,
  131. value: '',
  132. },
  133. safePasswordLength: {
  134. type: Number,
  135. },
  136. safePasswordTimeStamp: {
  137. type: Number,
  138. },
  139. safePasswordNonce: {
  140. type: String,
  141. value: '',
  142. },
  143. safePasswordSalt: {
  144. type: String,
  145. value: '',
  146. },
  147. safePasswordCustomHash: {
  148. type: String,
  149. value: '',
  150. },
  151. };
  152. export default props;