{"version":3,"file":"table-page.mjs","sources":["../../../../../../packages/components/table-page/src/table-page.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport type {\n  ColumnProps,\n  Config,\n  IHttpRequestParams,\n  PaginationProp,\n} from './types'\n\nexport const tablePageProps = buildProps({\n  httpRequest: {\n    type: Function as PropType<(params: IHttpRequestParams) => void>,\n  },\n  columns: {\n    type: Array as PropType<ColumnProps[]>,\n    default: () => [],\n  },\n  pagination: {\n    type: Object as PropType<PaginationProp>,\n    default: () => ({}),\n  },\n  config: {\n    type: Object as PropType<Config>,\n    default: () => ({}),\n  },\n  firstInvoke: {\n    type: Boolean,\n    default: true,\n  },\n  boundaryValue: {\n    type: Number,\n    default: 680,\n  },\n  showPagination: {\n    type: Boolean,\n    default: true,\n  },\n} as const)\nexport type TablePageProps = ExtractPropTypes<typeof tablePageProps>\n\nexport const tablePageEmits = {}\nexport type TablePageEmits = typeof tablePageEmits\n"],"names":[],"mappings":";;AASO,MAAM,iBAAiB,UAAW,CAAA;AAAA,EACvC,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,QAAA;AAAA,GACR;AAAA,EACA,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,KAAA;AAAA,IACN,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA,EACA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,OAAA,EAAS,OAAO,EAAC,CAAA;AAAA,GACnB;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,MAAA;AAAA,IACN,OAAA,EAAS,OAAO,EAAC,CAAA;AAAA,GACnB;AAAA,EACA,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA,EACA,aAAe,EAAA;AAAA,IACb,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,GAAA;AAAA,GACX;AAAA,EACA,cAAgB,EAAA;AAAA,IACd,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AACF,CAAU,EAAA;AAGH,MAAM,iBAAiB;;;;"}