import{R as n}from"./root-type.enum-Cp1EXS66.js";import{b as u,j as o,H as m,_ as c}from"./index-09tpYl64.js";const S=({value:a,onChange:r,rootTypeIdFilter:e})=>{const s=u(t=>t.common.lookupTables?.rootStates),l=Object.values(s??{});return o(m,{select:!0,variant:"outlined",fullWidth:!0,label:`${e==n.LADLE?"Ladle":"Tundish"} State`,value:a,onChange:r,children:l.filter(t=>t.rootTypeId===e).map(t=>o(c,{value:t.rootStateId,children:t.rootStateName},`rootStates/${t.rootStateId}`))})};export{S as R};
//# sourceMappingURL=RootStateSelector-CHtBN9n6.js.map
