import{u as a,j as i}from"./vendor-ClLR6ncd.js";import{L as d}from"./index-OtVJl4GC.js";import{E as n}from"./Messages-BRmQDxrZ.js";import{C as u}from"./ui-BZI4C38o.js";import{e as x,j as f,k as l}from"./model-B4khDLMB.js";import"./lodash-ZyeDnt0e.js";import"./Delete-BD9BsoWc.js";import"./Edit-Bg-98YAB.js";import"./index-BpKmttxq.js";import"./model-mC-LLJuv.js";import"./model-BneMh0-t.js";import"./model-DgFcCvKB.js";import"./model-C9Idzwgo.js";import"./model-DAvH-x8m.js";import"./ui-DG_5mJZa.js";import"./SmallStandardSelect-7k6-Wr8Q.js";import"./MenuItem-CCerWMyq.js";import"./dividerClasses-DvO85-mA.js";import"./Visibility-DBeRDmOx.js";import"./InputAdornment-CFoDSQyQ.js";import"./CodeEditor-8Y6Lt-05.js";import"./ui-BOPU8Yl4.js";import"./index-CQ79H_Lz.js";import"./OptionallyDenseCodeMirror-S3gxMpRM.js";import"./useDirtyStateInput-CLFyv7KP.js";import"./PlayArrow-C5BebwRO.js";import"./Stop-D8ZTRatE.js";import"./useNamespaces-B-2wwTCG.js";import"./ui-DKzyPIqx.js";import"./WithMeasure-BDk9QPMF.js";import"./model-Dfrorm_S.js";import"./highlightSearch-BTHB3jgf.js";import"./TableRow-CGDSOtFZ.js";import"./TableSortLabel-BJFq2axQ.js";import"./Box-Co2WcNPC.js";import"./TypographyWithTooltip-BFAG3Va9.js";import"./Link-BLwKPJFF.js";import"./Autocomplete-Cjt7Q9VV.js";import"./Chip-DoCs8Smb.js";import"./model-DboSfqIs.js";import"./DirtySearchInput-D-NMdA6o.js";import"./InfiniteStackFlexWrap-AXya9Nnx.js";import"./TableRows-Bybtbu7U.js";import"./ui-BT12DGgR.js";import"./NlVdbs-CYqee6Mv.js";import"./Add-CLrXAvOx.js";import"./CreateDialogContext-Buan56-U.js";import"./index-DY-IkI-n.js";import"./DialogContent-DR8Wx7Lo.js";import"./DialogTitle-i0lt2jWQ.js";import"./ui-DEn7LX9m.js";import"./WarningMessage-4TK5GdCH.js";import"./Warning-DsmyDRzF.js";import"./index-PJ52zw2m.js";import"./Card-DCyqxUVE.js";import"./CardContent-B36bxiGw.js";import"./Divider-DZzUGEvZ.js";import"./CardActions-DbEyUhB8.js";import"./model-CvVGVe3F.js";import"./model-Cx9iH8L7.js";function hr(){const{vdbId:t}=a(),r=x(t),{query:o,totalRows:m,queryExamples:p,searchProps:e,sortProps:s}=f(t);return r.isLoading?i.jsx(d,{}):r.isError||o.isError?i.jsx(n,{error:r.error}):i.jsx(u,{id:t,totalRows:m,useMutation:l,endReached:o.fetchNextPage,isFetchingNextPage:o.isFetchingNextPage,queryExamplesLoading:o.isLoading,queryExamples:p,examplesSearchProps:e,sortProps:s,...r.data})}export{hr as default};
