import{j as c}from"./assertThisInitialized-ClXgY4BW.js";import{P as p,i as d}from"./inputDecorators-Mc1L5s5f.js";import"./index-BP8_t0zE.js";import"./index-BCKAMao3.js";import"./utils-CkyKHvS2.js";import"./defaultI18nProvider-C_r1y4tu.js";import"./dataProvider-BSMCbdJg.js";import"./useResourceDefinitionContext-mEDLreK0.js";import"./Create-DhH8wTBS.js";import"./Title-Db_cbkJo.js";import"./Button-C3j8Wgdd.js";import"./createSvgIcon-BeVLBbd8.js";import"./createSvgIcon-C1LdFc73.js";import"./PreferencesEditorContext-oPOmBo-a.js";import"./TextField-z9WrHgJg.js";import"./useFormControl-D0zEVldg.js";import"./Modal-CloRq8hE.js";import"./colorManipulator-DXmmM2jC.js";import"./useRecordContext-CmNI-aHo.js";import"./warning-3oRADCZr.js";import"./Card-Cv9uZOGS.js";import"./checkMinimumRequiredProps-BCJG0Ked.js";import"./pick-BQz50zYv.js";import"./hasIn-BUTlUeuZ.js";import"./_isIterateeCall-D0xvKagp.js";import"./identity-B2iMGpmP.js";import"./useCreate-CQ5Hl1r5.js";import"./useMutation-DBpLFNEy.js";import"./useLogout-DAYYFX4P.js";import"./useDataProvider-BTi1EEZL.js";import"./useAuthenticated-CxLvTTH7.js";import"./useAuthState-Chcbfem2.js";import"./useQuery-DJhJ3Hj4.js";import"./useResourceContext-BI9mATY-.js";import"./DateInput-Cata5nxE.js";import"./DeleteButton-BNKEwqMZ.js";import"./Confirm-BXDL5GEC.js";import"./Typography-E7d16C50.js";import"./useRemoveFromStore-DvPdj666.js";import"./useRedirect-BE8GZC2N.js";import"./undoableEventEmitter-DTIdLI-s.js";import"./SimpleForm-DxY-i_Qk.js";import"./Clear-2k3OxyE6.js";import"./FormGroupsProvider-B1X-6k0S.js";import"./getFieldLabelTranslationArgs-DwcCC9dO.js";import"./CircularProgress-CoZCnRya.js";import"./Toolbar-C8uTbHq-.js";import"./Stack-BmeOikgJ.js";import"./CardContent-C5u1opi3.js";import"./merge-2TaxnYbe.js";import"./_copyObject-Dr_k0OJK.js";import"./isArrayLikeObject-WBq23Ido.js";import"./OptionalRecordContextProvider-ChL7EZ8k.js";import"./ResourceContextProvider-_t2ysSg2.js";import"./ReferenceInput-DMhWsfVF.js";import"./SwitchBase-GsdOADyY.js";import"./_baseUniq-BtunyI9N.js";import"./debounce-0x2xWYwC.js";import"./Chip-4IhPI0f3.js";import"./useGetList-Dit6Yzrj.js";import"./hooks-kyAPvxe4.js";import"./usePaginationState-CSxOqUBu.js";import"./useGetRecordRepresentation-DwGaoA_n.js";import"./useReference-jPRH6tHJ.js";import"./NumberInput-D5bldgKh.js";import"./SelectInput-vp6FLJto.js";import"./MenuItem-CP3dxiK8.js";import"./listItemTextClasses-C7xWMLDP.js";const Vr={title:"Inputs/PasswordInput",component:p,parameters:{},decorators:[...d],args:{source:"password",initiallyVisible:!1},argTypes:{initiallyVisible:{control:"boolean"}}},r={render:({source:u,...t})=>c.jsx(p,{source:"password",...t})},o={render:({source:u,...t})=>c.jsx(p,{source:"password",...t})};var i,m,s;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`{
  render: ({
    source,
    ...props
  }) => {
    return <PasswordInput source={"password"} {...props} />;
  }
}`,...(s=(m=r.parameters)==null?void 0:m.docs)==null?void 0:s.source}}};var e,a,n;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`{
  render: ({
    source,
    ...props
  }) => {
    return <PasswordInput source={"password"} {...props} />;
  }
}`,...(n=(a=o.parameters)==null?void 0:a.docs)==null?void 0:n.source}}};const _r=["Default","DisableAutocomplete"];export{r as Default,o as DisableAutocomplete,_r as __namedExportsOrder,Vr as default};
