// Handlers
import { genCrudHandler } from '~/handlers/_handler'

// Services
import { create, update, remove } from '~/services/procedure-src.service'

export const {
  recId,
  recAction,
  recItem,
  isReadonly,
  isProcessing,
  isFormEntryDialogOpen,
  isRecordConfirmationOpen,
  onResetState,
  handleActionSave,
  handleActionEdit,
  handleActionRemove,
  handleCancelForm,
} = genCrudHandler({
  create,
  update,
  remove,
})
