{"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,CAAA,EAAA;AAAA,EAAA,OAAA,OAAAA,CAAA,KAAA,UAAA,IAAAC,MAAA,CAAAC,SAAA,CAAAC,QAAA,CAAAC,IAAA,CAAAJ,CAAA,CAAAK,KAAAA,iBAAAA,IAAAA,CAAAA,OAAA,CAAAL,CAAA,CAAA,CAAA;AAAA,CAAA;AAUjC,MAAMM,SAAsD,GAAGA,CAC7DC,KAA6B,EAC7B;AAAEC,EAAAA,KAAAA;AAAM,CAAC,KACN;EACH,MAAM;IAAEC,YAAY;IAAE,GAAGC,IAAAA;AAAK,GAAC,GAAGH,KAAK,CAAA;AACvC,EAAA,OAAAI,WAAA,CAAAC,SAAA,EAAAC,UAAA,CAAA;IAAA,KACcJ,EAAAA,YAAAA;AAAY,GAAA,EAAMC,IAAI,CAAAX,EAAAA,OAAA,CAC/BS,KAAK,IAALA,KAAK,GAAA;IAAAM,OAAA,EAAAA,MAAA,CAALN,KAAK,CAAA;AAAA,GAAA,CAAA,CAAA;AAGZ;;;;"}