define(['exports', 'preact/jsx-runtime', 'preact/compat', './UNSAFE_TableView/themes/TableViewStyles.css', './CollectionInteractionContext-0b4ed98b', './useCollectionInteractionContext-f345e8f7', './classNames-08d99695', './dimensions-fda85d6b', './mergeInterpolations-9ede4cf7', './Table-f1101855'], (function(e,o,n,t,r,i,l,s,a,c){"use strict";const d=a.mergeInterpolations([...Object.values(s.dimensionInterpolations)]),u=n.forwardRef((({"aria-label":e,"aria-labelledby":n,getAccessibleRowHeaders:r,children:s,columns:a,columnOrder:u,columnWidths:C,contextMenuConfig:b,viewportConfig:m,layout:g="contents",data:h,getRowKey:w,hasMore:R=!1,onLoadMore:S,currentCellOverride:f,onPersistCurrentCell:v,currentRowVariant:y,gridlines:p={horizontal:"visible",vertical:"hidden"},selectionMode:x={row:"none",column:"none"},selected:I,onSelectionChange:z,onRowAction:O,sortCriterion:M=[],onSortCriterionChange:V,horizontalScrollPositionOverride:P,verticalScrollPositionOverride:A,columnResizingIndicator:T,onColumnResizing:j,onColumnResize:N,noDataRenderer:D,testId:H,...K},L)=>{const W="embedded"===i.useCollectionInteractionContext(),E=null!=y?y:W?"highlight":"none",{...F}=d(K),U=null!=m?.scroller(),_=[t.tableViewStyles.base];_.push(U?t.tableViewStyles.externalScroller:t.tableViewStyles.internalScroller);const k=l.classNames(_);return o.jsx("div",{class:k,style:F,children:o.jsx(c.Table,{"aria-label":e,"aria-labelledby":n,getAccessibleRowHeaders:r,children:s,columns:a,columnOrder:u,columnWidths:C,contextMenuConfig:b,viewportConfig:m,layout:g,data:h,getRowKey:w,hasMore:R,onLoadMore:S,currentCellOverride:f,onPersistCurrentCell:v,currentRowVariant:E,gridlines:p,selectionMode:x,selected:I,onSelectionChange:z,onRowAction:O,horizontalScrollPositionOverride:P,verticalScrollPositionOverride:A,sortCriterion:M,onSortCriterionChange:V,columnResizingIndicator:T,onColumnResizing:j,onColumnResize:N,noDataRenderer:D,testId:H,ref:L})})}));e.TableView=u}));
//# sourceMappingURL=TableView-c72953df.js.map
