import{j as e}from"./assertThisInitialized-ClXgY4BW.js";import{a as s}from"./ideExtension-Duoj5XVI.js";import{f as a}from"./fieldDecorators-DYb0TeBY.js";import{T as i}from"./TextField-n0Myx-gm.js";import"./index-BP8_t0zE.js";import"./utils-CkyKHvS2.js";import"./defaultI18nProvider-C_r1y4tu.js";import"./index-BCKAMao3.js";import"./dataProvider-BSMCbdJg.js";import"./useResourceDefinitionContext-mEDLreK0.js";import"./Typography-E7d16C50.js";import"./ReferenceArrayField-ctaku4-6.js";import"./Box-UI_bZnlM.js";import"./hooks-kyAPvxe4.js";import"./index-qEiLzbkV.js";import"./Stack-BmeOikgJ.js";import"./Chip-4IhPI0f3.js";import"./useQuery-DJhJ3Hj4.js";import"./useLogout-DAYYFX4P.js";import"./Button-C3j8Wgdd.js";import"./SwitchBase-GsdOADyY.js";import"./pick-BQz50zYv.js";import"./hasIn-BUTlUeuZ.js";import"./_isIterateeCall-D0xvKagp.js";import"./identity-B2iMGpmP.js";import"./_baseUniq-BtunyI9N.js";import"./isArrayLikeObject-WBq23Ido.js";import"./useFormControl-D0zEVldg.js";import"./useDataProvider-BTi1EEZL.js";import"./useGetList-Dit6Yzrj.js";import"./usePaginationState-CSxOqUBu.js";import"./useRemoveFromStore-DvPdj666.js";import"./useResourceContext-BI9mATY-.js";import"./createSvgIcon-C1LdFc73.js";import"./useRecordContext-CmNI-aHo.js";import"./useGetRecordRepresentation-DwGaoA_n.js";import"./useAuthenticated-CxLvTTH7.js";import"./useAuthState-Chcbfem2.js";import"./colorManipulator-DXmmM2jC.js";import"./ListNoResults-BHi6V5m8.js";import"./debounce-0x2xWYwC.js";import"./CardContent-C5u1opi3.js";import"./ResourceContextProvider-_t2ysSg2.js";import"./ListBase-CEqRUlEo.js";import"./Datagrid-BK2vyqjN.js";import"./getFieldLabelTranslationArgs-DwcCC9dO.js";import"./ExpandMore-Bu7ZqolT.js";import"./createSvgIcon-BeVLBbd8.js";import"./TopToolbar-BqW7kXvQ.js";import"./Toolbar-C8uTbHq-.js";import"./Confirm-BXDL5GEC.js";import"./Modal-CloRq8hE.js";import"./useMutation-DBpLFNEy.js";import"./undoableEventEmitter-DTIdLI-s.js";import"./useRefresh-BVYjI9Ho.js";import"./ReferenceField-BimPKO3B.js";import"./Clear-2k3OxyE6.js";import"./useReference-jPRH6tHJ.js";import"./DateField-Csy-M8g5.js";const xr={title:"Fields/TextField",component:i,parameters:{layout:"centered"},decorators:[...a],args:{source:"city"}},r={render:({source:c,...p})=>e.jsx(i,{source:s("city"),...p})};var t,o,m;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{
  render: ({
    source,
    ...props
  }) => {
    return <TextField source={attributeName("city")} {...props} />;
  }
}`,...(m=(o=r.parameters)==null?void 0:o.docs)==null?void 0:m.source}}};const yr=["Default"];export{r as Default,yr as __namedExportsOrder,xr as default};
