{"version":3,"file":"header.mjs","names":[],"sources":["../../../../../../packages/components/table-v2/src/header.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { columns } from './common'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\n\nconst requiredNumberType = {\n  type: Number,\n  required: true,\n} as const\n\nexport const tableV2HeaderProps = buildProps({\n  class: String,\n  columns,\n  fixedHeaderData: {\n    type: definePropType<any[]>(Array),\n  },\n  headerData: {\n    type: definePropType<any[]>(Array),\n    required: true,\n  },\n  headerHeight: {\n    type: definePropType<number | number[]>([Number, Array]),\n    default: 50,\n  },\n  rowWidth: requiredNumberType,\n  rowHeight: {\n    type: Number,\n    default: 50,\n  },\n  height: requiredNumberType,\n  width: requiredNumberType,\n} as const)\n\nexport type TableV2HeaderProps = ExtractPropTypes<typeof tableV2HeaderProps>\nexport type TableV2HeaderPropsPublic = ExtractPublicPropTypes<\n  typeof tableV2HeaderProps\n>\n"],"mappings":";;;AAKA,MAAM,qBAAqB;CACzB,MAAM;CACN,UAAU;AACZ;AAEA,MAAa,qBAAqB,WAAW;CAC3C,OAAO;CACP;CACA,iBAAiB,EACf,MAAM,eAAsB,KAAK,EACnC;CACA,YAAY;EACV,MAAM,eAAsB,KAAK;EACjC,UAAU;CACZ;CACA,cAAc;EACZ,MAAM,eAAkC,CAAC,QAAQ,KAAK,CAAC;EACvD,SAAS;CACX;CACA,UAAU;CACV,WAAW;EACT,MAAM;EACN,SAAS;CACX;CACA,QAAQ;CACR,OAAO;AACT,CAAU"}