import{gT as l,gV as c,j as e,Q as a,aH as C,z as n,bq as h,aI as f,gW as F}from"./index-ea7817a2.js";import{F as r}from"./utils-aedc41ca.js";import{K as t}from"./useFeatureFilters-c103b717.js";const O={"name (A -> Z)":["name",l.string,c.asc],"name (Z -> A)":["name",l.string,c.desc]},K=({search:x,onSearchChange:m,typeFilters:p,onTypeFiltersChange:d,types:u,onToggleKey:i,keyFilter:s,storageConnectorType:g,enableStorageConnectorFilter:j,setStorageConnectorType:o,sortKey:v,setSortKey:w})=>e.jsx(a,{width:"100%",flexDirection:"column",alignItems:"center",children:e.jsxs(a,{width:"100%",sx:{gap:"20px"},children:[e.jsxs(a,{sx:{gap:"8px"},children:[e.jsx(C,{variant:"white",value:x,icon:n.glass,placeholder:"Find feature",onChange:m}),e.jsx(h,{maxWidth:"180px",width:"max-content",variant:"white",isMulti:!0,value:p,options:u,placeholder:"type",onChange:d,noDataMessage:"type all"})]}),e.jsxs(a,{sx:{gap:"8px"},children:[e.jsx(r,{white:!0,icon:n.primary,checked:s===t.primary,onChange:i(t.primary),children:"Primary Keys Only"}),e.jsx(r,{white:!0,icon:n.partition,checked:s===t.partition,onChange:i(t.partition),children:"Partition Keys Only"}),e.jsx(r,{white:!0,icon:n.time,checked:s===t.eventTime,onChange:i(t.eventTime),children:"Event Time Only"})]}),j&&o?e.jsx(a,{ml:"20px",alignItems:"center",children:e.jsx(f,{value:g||null,options:Object.values(F),onChange:y=>o(y),flexDirection:"row",mr:"10px"})}):null,e.jsx(h,{width:"max-content",variant:"white",value:[v],ml:"auto",options:Object.keys(O),placeholder:"sort by",onChange:w})]})});export{K as F,O as s};
