import '@operato/process/ox-property-editor-process-selector.js'
import '@operato/property-editor/ox-property-editor-mass-fraction.js'

import { OxProcessModeller } from '@operato/process'
import { OxPropertyEditor } from '@operato/property-editor'
import { ProcessGroups } from '@sted/equipment'

import { etc } from './groups/etc'

export default function bootstrap() {
  OxPropertyEditor.register({
    'process-selector': 'ox-property-editor-process-selector',
    'mass-fraction': 'ox-property-editor-mass-fraction'
  })

  ProcessGroups.map(group => OxProcessModeller.registerGroup(group))
  OxProcessModeller.registerGroup(etc)
}
