//import f from './exp.js';
//console.log(f)
D.declare('view.page.Export', function(){

  return <div cls="export-panel">
    <div cls="title-gradient">
      <div cls="export-sub-menu">
        <div cls={_=>_("export-sub-menu", 'olo')}>
          <view.cmp.Menu title='Тэги' id='tags' key='exportData'/>
          <view.cmp.Menu title='Связи' id='connections' key='exportData'/>
        </div>

        <div cls="export-sub-menu">
          {view.cmp.Menu( { title: 'CSV', id: 'csv', key: 'exportFormat' } )}
          {view.cmp.Menu( { title: 'JSON', id: 'json', key: 'exportFormat' } )}
          {view.cmp.Menu( { title: 'YAML', id: 'yaml', key: 'exportFormat' } )}
          {view.cmp.Menu( { title: 'SQL', id: 'sql', key: 'exportFormat' } )}
        </div>
      </div>
    </div>
    {exportLogic( <textarea cls='export-data'/>)}
    <div cls="export-comment">Connetction type{'<Enum>'}: 0 — продукт, 1 — компонент`</div>
    <button onclick={e => console.log( e )}>btn1</button>
  </div>
});


