text: 
  export{DataSources}
  import{List}from'./list/list.min.js'
  import{Form}from'./form/form.min.js'
  import{Details}from'./details/details.min.js'
  class DataSources{static mr_api='/api/machine-registry/machines';static pr_api='/api/pipeline-registry/pipelines';constructor(ctr){this.list=new List(ctr);this.form=new Form(ctr);this.details=new Details(ctr);}
  draw(sp,{ds}){if(!sp&&!ds){return this.list.draw();}
  if(sp&&ds&&sp.has('action')&&sp.get('action')==='details'){return this.details.draw(ds);}
  if(sp&&!ds&&sp.has('action')&&sp.get('action')==='new'){return this.form.draw();}
  if(sp&&ds&&sp.has('action')&&sp.get('action')==='edit'){return this.form.drawEdit(ds);}}}