import{j as t,S as s,h as n,s as p}from"./vendor-ClLR6ncd.js";import{n as m,N as c,at as d}from"./index-OtVJl4GC.js";import{u as a}from"./model-BBaroEiB.js";import{B as f}from"./Box-Co2WcNPC.js";import{L as o}from"./Link-BLwKPJFF.js";import"./lodash-ZyeDnt0e.js";function u(e){const i=a("agtool.html#s3-files"),r=a("llmsplit.html");return e==="add-stmts"?"Use forms to enter subject, predicate, and object IRIs, as well as optional context (graph) IRIs and attributes of new triples. Attributes must be defined in the repository before being used. Attributes must be specified using JSON object syntax.":e==="delete"?"Use any combination of IRIs, wildcards, and literals into the fields of the form.":e==="import-file-browser"?"Click select or drag-n-drop an RDF file or gzipped, bzipped files. Advanced options allow tuning file import process.":e==="import-text-browser"?t.jsxs(t.Fragment,{children:["Import a natural language text file as triples after splitting the text up. Import a text file to transform it into RDF. Advanced options allow tuning the import process. See"," ",t.jsx(o,{target:"_blank",href:r,children:"The LLM Split"})," ","document."]}):e==="import-file-server"?"Select an RDF file or gzipped, bzipped files located on the server. Advanced options allow tuning file import process.":e==="import-text"?"Input triple data directly into a text editor widget and import it":e==="import-url"?t.jsxs(t.Fragment,{children:["Import RDF file via an URL. In particular, Amazon S3 URIs are supported. If importing from Amazon S3, please make sure"," ",t.jsx(o,{target:"_blank",href:i,children:"S3 access is set up on the server"}),"."]}):e==="import-csv"?t.jsx(t.Fragment,{children:"Import CSV file as triples."}):e==="import-databricks"?t.jsxs(t.Fragment,{children:["Import an existing CSV data from Databricks, results of SQL statement execution or full SQL table."," "]}):""}function x({children:e}){return t.jsx(n,{fontWeight:"normal",variant:"subtitle2",children:e})}function h({action:e}){return t.jsx(x,{children:u(e)})}function D(){const{value:e}=m();return t.jsxs(s,{textAlign:"left",spacing:2,children:[t.jsx(n,{variant:"h4",children:"Choose action"}),t.jsx(s,{component:"ul",spacing:e?1:2,children:c(d).map(({label:i,value:r,disabled:l})=>t.jsxs(f,{component:"li",children:[l?t.jsx(n,{sx:{color:"text.disabled",textDecoration:"underline"},children:i}):t.jsx(o,{component:p,to:r,children:i}),t.jsx(h,{action:r})]},r))})]})}export{D as default};
