a80e79070d8188f9edb0429f4af4bc109578601120fa16075330bce00487f6503dee8bab9d9e626e8ab653d2a66e0565f37eaaa51fccb71bb92044024ec73e 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. import { useSizeProp } from '../../../../hooks/use-size/index.mjs';
  2. var defaultProps = {
  3. data: {
  4. type: Array,
  5. default: () => []
  6. },
  7. size: useSizeProp,
  8. width: [String, Number],
  9. height: [String, Number],
  10. maxHeight: [String, Number],
  11. fit: {
  12. type: Boolean,
  13. default: true
  14. },
  15. stripe: Boolean,
  16. border: Boolean,
  17. rowKey: [String, Function],
  18. showHeader: {
  19. type: Boolean,
  20. default: true
  21. },
  22. showSummary: Boolean,
  23. sumText: String,
  24. summaryMethod: Function,
  25. rowClassName: [String, Function],
  26. rowStyle: [Object, Function],
  27. cellClassName: [String, Function],
  28. cellStyle: [Object, Function],
  29. headerRowClassName: [String, Function],
  30. headerRowStyle: [Object, Function],
  31. headerCellClassName: [String, Function],
  32. headerCellStyle: [Object, Function],
  33. highlightCurrentRow: Boolean,
  34. currentRowKey: [String, Number],
  35. emptyText: String,
  36. expandRowKeys: Array,
  37. defaultExpandAll: Boolean,
  38. defaultSort: Object,
  39. tooltipEffect: String,
  40. tooltipOptions: Object,
  41. spanMethod: Function,
  42. selectOnIndeterminate: {
  43. type: Boolean,
  44. default: true
  45. },
  46. indent: {
  47. type: Number,
  48. default: 16
  49. },
  50. treeProps: {
  51. type: Object,
  52. default: () => {
  53. return {
  54. hasChildren: "hasChildren",
  55. children: "children",
  56. checkStrictly: false
  57. };
  58. }
  59. },
  60. lazy: Boolean,
  61. load: Function,
  62. style: {
  63. type: Object,
  64. default: () => ({})
  65. },
  66. className: {
  67. type: String,
  68. default: ""
  69. },
  70. tableLayout: {
  71. type: String,
  72. default: "fixed"
  73. },
  74. scrollbarAlwaysOn: Boolean,
  75. flexible: Boolean,
  76. showOverflowTooltip: [Boolean, Object],
  77. tooltipFormatter: Function,
  78. appendFilterPanelTo: String,
  79. scrollbarTabindex: {
  80. type: [Number, String],
  81. default: void 0
  82. },
  83. allowDragLastColumn: {
  84. type: Boolean,
  85. default: true
  86. },
  87. preserveExpandedContent: Boolean,
  88. nativeScrollbar: Boolean
  89. };
  90. export { defaultProps as default };
  91. //# sourceMappingURL=defaults.mjs.map