{"version":3,"file":"defaults.mjs","sources":["../../../../../../../packages/components/table/src/table-body/defaults.ts"],"sourcesContent":["// @ts-nocheck\r\nimport type { PropType } from 'vue'\r\nimport type { Store } from '../store'\r\nimport type {\r\n  ColumnCls,\r\n  ColumnStyle,\r\n  DefaultRow,\r\n  Table,\r\n} from '../table/defaults'\r\nimport type { TableOverflowTooltipOptions } from '../util'\r\n\r\ninterface TableBodyProps<T> {\r\n  store: Store<T>\r\n  stripe?: boolean\r\n  context: Table<T>\r\n  rowClassName: ColumnCls<T>\r\n  rowStyle: ColumnStyle<T>\r\n  fixed: string\r\n  highlight: boolean\r\n  tooltipEffect?: string\r\n  tooltipOptions?: TableOverflowTooltipOptions\r\n  checkOnClickNode?: boolean\r\n}\r\n\r\nconst defaultProps = {\r\n  store: {\r\n    required: true,\r\n    type: Object as PropType<TableBodyProps<DefaultRow>['store']>,\r\n  },\r\n  stripe: Boolean,\r\n  tooltipEffect: String,\r\n  tooltipOptions: {\r\n    type: Object as PropType<TableBodyProps<DefaultRow>['tooltipOptions']>,\r\n  },\r\n  context: {\r\n    default: () => ({}),\r\n    type: Object as PropType<TableBodyProps<DefaultRow>['context']>,\r\n  },\r\n  rowClassName: [String, Function] as PropType<\r\n    TableBodyProps<DefaultRow>['rowClassName']\r\n  >,\r\n  rowStyle: [Object, Function] as PropType<\r\n    TableBodyProps<DefaultRow>['rowStyle']\r\n  >,\r\n  fixed: {\r\n    type: String,\r\n    default: '',\r\n  },\r\n  highlight: Boolean,\r\n  checkOnClickNode: {\r\n    type: Boolean,\r\n    default: false\r\n  }\r\n}\r\n\r\nexport { TableBodyProps }\r\nexport default defaultProps\r\n"],"names":[],"mappings":"AAAK,MAAC,YAAY,GAAG;AACrB,EAAE,KAAK,EAAE;AACT,IAAI,QAAQ,EAAE,IAAI;AAClB,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,aAAa,EAAE,MAAM;AACvB,EAAE,cAAc,EAAE;AAClB,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,OAAO,EAAE,OAAO,EAAE,CAAC;AACvB,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,YAAY,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;AAClC,EAAE,QAAQ,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;AAC9B,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH;;;;"}