{"version":3,"file":"defaults.mjs","sources":["../../../../../../src/components/ivue-table/table-body/defaults.ts"],"sourcesContent":["import type { PropType } from 'vue';\r\nimport type { Store } from '../store';\r\nimport type { ColumnCls, rowStyle, Table } from '../table/defaults';\r\n\r\ninterface TableBodyProps {\r\n  store: Store;\r\n  stripe?: boolean;\r\n  context?: Table;\r\n  rowClassName?: ColumnCls;\r\n  rowStyle?: rowStyle;\r\n  fixed?: string | any;\r\n  highlight?: boolean;\r\n  tooltipTheme?: 'dark' | 'light';\r\n}\r\n\r\nexport default {\r\n  /**\r\n   * store\r\n   *\r\n   * @type {Object}\r\n   */\r\n  store: {\r\n    required: true,\r\n    type: Object as PropType<TableBodyProps['store']>,\r\n  },\r\n  /**\r\n   * 是否为斑马纹 table\r\n   *\r\n   * @type {Boolean}\r\n   */\r\n  stripe: {\r\n    type: Boolean,\r\n    default: false,\r\n  },\r\n  /**\r\n   * 行的 className 的回调方法，也可以使用字符串为所有行设置一个固定的 className。\r\n   *\r\n   * @type {String | Function}\r\n   */\r\n  rowClassName: {\r\n    type: [String, Function] as PropType<TableBodyProps['rowClassName']>,\r\n  },\r\n  /**\r\n   * 行的 style 的回调方法，也可以使用一个固定的 Object 为所有行设置一样的 Style。。\r\n   *\r\n   * @type {String | Function}\r\n   */\r\n  rowStyle: {\r\n    type: [Object, Function] as PropType<TableBodyProps['rowStyle']>,\r\n  },\r\n  /**\r\n   * tooltip主题\r\n   *\r\n   * @type {String}\r\n   */\r\n  tooltipTheme: {\r\n    type: String as PropType<TableBodyProps['tooltipTheme']>,\r\n  },\r\n};\r\n\r\nexport { TableBodyProps };\r\n"],"names":[],"mappings":"AAeA,mBAAe;AAAA,EAMb,KAAO,EAAA;AAAA,IACL,QAAU,EAAA,IAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,GACR;AAAA,EAMA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA,EAMA,YAAc,EAAA;AAAA,IACZ,IAAA,EAAM,CAAC,MAAA,EAAQ,QAAQ,CAAA;AAAA,GACzB;AAAA,EAMA,QAAU,EAAA;AAAA,IACR,IAAA,EAAM,CAAC,MAAA,EAAQ,QAAQ,CAAA;AAAA,GACzB;AAAA,EAMA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,MAAA;AAAA,GACR;AACF,CAAA;;;;"}