{"version":3,"file":"table.mjs","sources":["../../../../../../../packages/components/pro-table/src/config/table.ts"],"sourcesContent":["import { buildProps, definePropType, mutable } from '@ll-plus/utils'\r\n\r\nimport { PaginationProProps } from '@ll-plus/components/pagination-pro'\r\nimport { TableHeaderSearchProps } from '@ll-plus/components/table'\r\nimport type { ExtractPropTypes } from 'vue'\r\nimport type ProTable from '../table.vue'\r\nimport { ProMainTableProps } from './index'\r\n\r\n// tableProps\r\nexport const proTableProps = buildProps({\r\n  /**\r\n   * @description table的loading\r\n   */\r\n  loading: {\r\n    type: Boolean,\r\n    default: false,\r\n  },\r\n  /**\r\n   * @description 头部props\r\n   */\r\n  headerSearchProps: {\r\n    type: definePropType<TableHeaderSearchProps>(Object),\r\n    default: () => mutable({} as const),\r\n  },\r\n  /**\r\n   * @description main-table的props\r\n   */\r\n  tableProps: {\r\n    type: definePropType<ProMainTableProps>(Object),\r\n    default: () => mutable({} as const),\r\n  },\r\n  /**\r\n   * @description 分页的props\r\n   */\r\n  paginationProps: {\r\n    type: definePropType<PaginationProProps>({}),\r\n    default: () => mutable({} as const),\r\n  },\r\n} as const)\r\n// props\r\nexport type ProTableProps = ExtractPropTypes<typeof proTableProps>\r\n\r\n// instance\r\nexport type ProTableInstance = InstanceType<typeof ProTable>\r\n"],"names":[],"mappings":";;;;;AASO,MAAM,gBAAgB,UAAA,CAAW;AAAA;AAAA;AAAA;AAAA,EAItC,OAAA,EAAS;AAAA,IACP,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,iBAAA,EAAmB;AAAA,IACjB,IAAA,EAAM,eAAuC,MAAM,CAAA;AAAA,IACnD,OAAA,EAAS,MAAM,OAAA,CAAQ,EAAW;AAAA,GACpC;AAAA;AAAA;AAAA;AAAA,EAIA,UAAA,EAAY;AAAA,IACV,IAAA,EAAM,eAAkC,MAAM,CAAA;AAAA,IAC9C,OAAA,EAAS,MAAM,OAAA,CAAQ,EAAW;AAAA,GACpC;AAAA;AAAA;AAAA;AAAA,EAIA,eAAA,EAAiB;AAAA,IACf,IAAA,EAAM,cAAA,CAAmC,EAAE,CAAA;AAAA,IAC3C,OAAA,EAAS,MAAM,OAAA,CAAQ,EAAW;AAAA;AAEtC,CAAU;;;;"}