1import{d,a as o,j as e}from"./index-4ce00ee7.js";import{g as i}from"./index-7de85521.js";import{t as s}from"./index-51f3a61d.js";import{F as c}from"./FoodbevItemForm-2270d093.js";import"./index-e629a575.js";import"./GolfClubHooks-443ca383.js";const v=i` 2 mutation CreateFoodbevItemMutation($input: CreateFoodbevItemInput!) { 3 createFoodbevItem(input: $input) { 4 id 5 } 6 } 7`,p=()=>{const[r,{loading:a,error:m}]=d.useMutation(v,{onCompleted:()=>{s.toast.success("FoodbevItem created"),o.navigate(o.routes.foodbevItems())},onError:t=>{s.toast.error(t.message)}}),n=t=>{r({variables:{input:t}})};return e.jsxs("div",{className:"rw-segment",children:[e.jsx("header",{className:"rw-segment-header",children:e.jsx("h2",{className:"rw-heading rw-heading-secondary",children:"New FoodbevItem"})}),e.jsx("div",{className:"rw-segment-main",children:e.jsx(c,{onSave:n,loading:a,error:m})})]})},x=()=>e.jsx(p,{});export{x as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.