import{j as e}from"./index-B1H8BCL7.js";import{z as t,A as r,B as a,C as o}from"./stockApi-D1nxeMJU.js";import{M as i}from"./MasterCrudPage-CDZ3AmII.js";import"./Add-DvXlrcIU.js";import"./EditOutlined-DJ1zS7Rv.js";import"./DeleteOutline-DENqzAfR.js";import"./Search-B5Qac1u3.js";import"./snackbarUtils-DGP0fyXd.js";import"./DialogBox-CKrZZv0I.js";import"./Close-CR51dqFW.js";import"./Stack-BIAbaqpj.js";import"./useThemeProps-DL_l3A7P.js";import"./InputAdornment-BMBVR6Ec.js";import"./TableContainer-CXAjhAg6.js";import"./TableRow-BfKE_xn9.js";import"./TableCell-D8CotAsC.js";import"./Grid-CTEl0Elf.js";const s=[{key:"name",header:"Name"},{key:"parentCategoryId",header:"Parent #",width:100,align:"right"},{key:"description",header:"Description"}],m=[{key:"name",label:"Name",required:!0},{key:"parentCategoryId",label:"Parent Category ID",type:"number",helperText:"Optional. Empty = top-level."},{key:"description",label:"Description",fullWidth:!0,multiline:!0,minRows:2}],p={name:"",parentCategoryId:null,description:"",active:!0},L=()=>e.jsx(i,{title:"Item Categories",subtitle:"Hierarchical. Reagent / Consumable / Sample-Collection-Material / Control / Calibrator / Resale / Asset come pre-seeded.",hooks:{useList:o,useCreate:a,useUpdate:r,useDeactivate:t},columns:s,formFields:m,defaultRow:p,searchKeys:["name"]});export{L as default};
