All Downloads are FREE. Search and download functionalities are using the official Maven repository.

theme.keycloak.v2.admin.resources.assets.PasswordInput-3397c9bf.js.map Maven / Gradle / Ivy

There is a newer version: 25.0.1
Show newest version
{"version":3,"file":"PasswordInput-3397c9bf.js","sources":["../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-icons/dist/esm/icons/eye-slash-icon.js","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-icons/dist/esm/icons/eye-icon.js","../../src/components/password-input/PasswordInput.tsx"],"sourcesContent":["import { createIcon } from '../createIcon';\n\nexport const EyeSlashIconConfig = {\n  name: 'EyeSlashIcon',\n  height: 512,\n  width: 640,\n  svgPath: 'M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z',\n  yOffset: 0,\n  xOffset: 0,\n};\n\nexport const EyeSlashIcon = createIcon(EyeSlashIconConfig);\n\nexport default EyeSlashIcon;","import { createIcon } from '../createIcon';\n\nexport const EyeIconConfig = {\n  name: 'EyeIcon',\n  height: 512,\n  width: 576,\n  svgPath: 'M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z',\n  yOffset: 0,\n  xOffset: 0,\n};\n\nexport const EyeIcon = createIcon(EyeIconConfig);\n\nexport default EyeIcon;","import { forwardRef, MutableRefObject, Ref, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { Button, InputGroup } from \"@patternfly/react-core\";\nimport { EyeIcon, EyeSlashIcon } from \"@patternfly/react-icons\";\n\nimport {\n  KeycloakTextInput,\n  KeycloakTextInputProps,\n} from \"../keycloak-text-input/KeycloakTextInput\";\n\ntype PasswordInputProps = KeycloakTextInputProps & {\n  hasReveal?: boolean;\n};\n\nconst PasswordInputBase = ({\n  hasReveal = true,\n  innerRef,\n  ...rest\n}: PasswordInputProps) => {\n  const { t } = useTranslation(\"common-help\");\n  const [hidePassword, setHidePassword] = useState(true);\n  return (\n    \n      \n      {hasReveal && (\n         setHidePassword(!hidePassword)}\n        >\n          {hidePassword ?  : }\n        \n      )}\n    \n  );\n};\n\nexport const PasswordInput = forwardRef(\n  (props: PasswordInputProps, ref: Ref) => (\n    } />\n  )\n);\nPasswordInput.displayName = \"PasswordInput\";\n"],"names":["EyeSlashIconConfig","EyeSlashIcon","createIcon","EyeIconConfig","EyeIcon","PasswordInputBase","hasReveal","innerRef","rest","t","useTranslation","hidePassword","setHidePassword","useState","InputGroup","jsx","KeycloakTextInput","Button","PasswordInput","forwardRef","props","ref"],"mappings":"+HAEO,MAAMA,EAAqB,CAChC,KAAM,eACN,OAAQ,IACR,MAAO,IACP,QAAS,kuBACT,QAAS,EACT,QAAS,CACX,EAEaC,EAAeC,EAAWF,CAAkB,ECT5CG,EAAgB,CAC3B,KAAM,UACN,OAAQ,IACR,MAAO,IACP,QAAS,6UACT,QAAS,EACT,QAAS,CACX,EAEaC,EAAUF,EAAWC,CAAa,ECGzCE,EAAoB,CAAC,CACzB,UAAAC,EAAY,GACZ,SAAAC,EACA,GAAGC,CACL,IAA0B,CACxB,KAAM,CAAE,EAAAC,CAAA,EAAMC,EAAe,aAAa,EACpC,CAACC,EAAcC,CAAe,EAAIC,WAAS,EAAI,EACrD,cACGC,EACC,CAAA,SAAA,CAAAC,EAAA,IAACC,EAAA,CACE,GAAGR,EACJ,KAAMG,EAAe,WAAa,OAClC,IAAKJ,CAAA,CACP,EACCD,GACCS,EAAA,IAACE,EAAA,CACC,QAAQ,UACR,aAAYR,EAAE,cAAc,EAC5B,QAAS,IAAMG,EAAgB,CAACD,CAAY,EAE3C,SAAeA,EAAAI,EAAAA,IAACX,EAAQ,CAAA,CAAA,QAAMH,EAAa,EAAA,CAAA,CAC9C,CAEJ,CAAA,CAAA,CAEJ,EAEaiB,EAAgBC,EAAA,WAC3B,CAACC,EAA2BC,IAC1BN,MAACV,GAAmB,GAAGe,EAAO,SAAUC,EAA8B,CAE1E,EACAH,EAAc,YAAc","x_google_ignoreList":[0,1]}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy