{"version":3,"file":"main-table.mjs","sources":["../../../../../../../packages/components/table-v2/src/renderers/main-table.tsx"],"sourcesContent":["import Table from '../table-grid'\n\nimport type { FunctionalComponent, Ref } from 'vue'\nimport type { TableV2GridProps } from '../grid'\nimport type { TableGridInstance } from '../table-grid'\n\nexport type MainTableRendererProps = TableV2GridProps & {\n  mainTableRef: Ref<TableGridInstance | undefined>\n}\n\nconst MainTable: FunctionalComponent<MainTableRendererProps> = (\n  props: MainTableRendererProps,\n  { slots }\n) => {\n  const { mainTableRef, ...rest } = props\n  return (\n    <Table ref={mainTableRef} {...rest}>\n      {slots}\n    </Table>\n  )\n}\n\nexport default MainTable\n"],"names":["_isSlot","s","Object","prototype","toString","call","_isVNode","MainTable","props","slots","mainTableRef","rest","_createVNode","Table","_mergeProps","default"],"mappings":";;;AAAiC,SAAAA,QAAAC,CAAAA,EAAA;AAAA,EAAA,OAAA,OAAAA,CAAAA,KAAA,UAAA,IAAAC,MAAAA,CAAAC,SAAAA,CAAAC,QAAAA,CAAAC,IAAAA,CAAAJ,CAAA,CAAA,KAAA,iBAAA,IAAA,CAAAK,OAAAA,CAAAL,CAAA,CAAA;AAAA;AAUjC,MAAMM,SAAAA,GAAyDA,CAC7DC,KAAAA,EACA;AAAA,EAAEC;AAAM,CAAA,KACL;AACH,EAAA,MAAM;AAAA,IAAEC,YAAAA;AAAAA,IAAc,GAAGC;AAAAA,GAAK,GAAIH,KAAAA;AAClC,EAAA,OAAAI,WAAAA,CAAAC,WAAAC,UAAAA,CAAA;AAAA,IAAA,KAAA,EACcJ;AAAAA,KAAkBC,IAAI,CAAA,EAAAX,OAAAA,CAC/BS,KAAK,IAALA,KAAAA,GAAK;AAAA,IAAAM,OAAAA,EAAAA,MAAA,CAALN,KAAK;AAAA,GAAA,CAAA;AAGZ;;;;"}