import{r as s}from"./index-BP8_t0zE.js";import{T as c}from"./Typography-E7d16C50.js";import{u as i}from"./Button-C3j8Wgdd.js";import{g as f}from"./assertThisInitialized-ClXgY4BW.js";import{u as m}from"./useRecordContext-CmNI-aHo.js";var d=function(e){var t=e.defaultValue,l=e.source,r=m(e);return f(r,l,t)},p=function(e){var t,l=s.memo(e);return l.displayName=(t=e.displayName)===null||t===void 0?void 0:t.replace("Impl",""),l},y=function(e,t){var l={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(l[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(l[r[n]]=e[r[n]]);return l},v=function(e){e.cellClassName,e.className,e.emptyText,e.fullWidth,e.headerClassName,e.label,e.linkType,e.link,e.locale,e.record,e.refetch,e.resource,e.sortable,e.sortBy,e.sortByOrder,e.source,e.textAlign,e.translateChoice;var t=y(e,["cellClassName","className","emptyText","fullWidth","headerClassName","label","linkType","link","locale","record","refetch","resource","sortable","sortBy","sortByOrder","source","textAlign","translateChoice"]);return t},o=function(){return o=Object.assign||function(e){for(var t,l=1,r=arguments.length;l<r;l++){t=arguments[l];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(this,arguments)},O=function(e,t){var l={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(l[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(l[r[n]]=e[r[n]]);return l},u=function(e){var t=e.className,l=e.emptyText,r=O(e,["className","emptyText"]),n=i(),a=d(e);return s.createElement(c,o({component:"span",variant:"body2",className:t},v(r)),a!=null&&typeof a!="string"?a.toString():a||(l?n(l,{_:l}):null))};u.displayName="TextFieldImpl";var N=p(u);export{N as T,p as g,v as s,d as u};
