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

web-interface.assets.b6fe2bb5-1366.6dfb850ddae43a24042e.js.map Maven / Gradle / Ivy

{"version":3,"file":"b6fe2bb5-1366.6dfb850ddae43a24042e.js","mappings":"+WA4BMA,EAAoBC,EAAAA,QAAAA,IAAAA,WAAH,2EAAGA,CAAH,gDAMjBC,GAAaD,EAAAA,EAAAA,SAAOE,EAAAA,MAAV,+EAAGF,CAAH,iCAKVG,EAAYH,EAAAA,QAAAA,IAAAA,WAAH,mEAAGA,CAAH,aAITI,EAAY,SAAC,GAAwB,IAAtBC,EAAsB,EAAtBA,gBACbC,EAAcC,EAAAA,GAAAA,OAAAA,eAAAA,SAAAA,cAAoDF,GACxEG,EAAAA,EAAAA,KAAaF,IAyCf,QAtC4B,WAC1B,IAEMG,EAFeC,EAAAA,YAAAA,QAAoB,2BACDC,MAAK,SAACC,EAAIC,GAAL,OAAYC,EAAAA,EAAAA,GAAeF,EAAGG,YAAaF,EAAGE,gBAC5CC,KAAI,SAACC,GAAD,MAAc,CAAEC,MAAOD,EAAQF,YAAaI,MAAOF,EAAQG,SAE9G,OACE,gBAAC,EAAAC,OAAD,CAAQC,SAAUlB,EAAWmB,cAAe,CAAElB,qBAAiBmB,KAC5D,gBAAGC,EAAH,EAAGA,aAAcC,EAAjB,EAAiBA,QAAjB,OACC,gBAACzB,EAAD,KACE,gBAACF,EAAD,KACE,gBAACI,EAAD,CAAWwB,UAAU,cACnB,gBAAC,EAAAC,MAAD,CAAOR,KAAK,kBAAkBS,UAAUC,EAAAA,EAAAA,IAAc,CAAEC,UAAU,MAC/D,oBAAGC,MAASZ,EAAZ,EAAYA,KAAMD,EAAlB,EAAkBA,MAAOc,EAAzB,EAAyBA,SAAoBC,EAA7C,EAAqCC,KAAQD,MAA7C,OACC,gCACE,gBAAC,KAAD,CAAQE,WAAW,EACXC,WAAY,CAAE,aAAc,oBAC5BJ,SAAU,SAACK,GAAD,OAAiBL,EAAS,CAAEM,OAAQ,CAAEpB,MAAOmB,EAAalB,KAAAA,MACpEoB,QAAS/B,EACTgC,YAAY,mBACZtB,MAAOA,IACf,gBAAC,KAAD,CAAkBe,MAAOA,SAXnC,IAiBE,gBAAC,KAAD,CAAQQ,QAAQ,UACRC,SAAUlB,IAAiBC,EAC3BkB,KAAK,UAFb,qBC/CZ,IAAMC,EAAiB,SAAC,GAAD,IAAGC,EAAH,EAAGA,MAAH,OACrB,gBAAC,KAAD,CAAKnB,UAAU,WACb,gBAAC,KAAD,CAAKoB,GAAI,EAAGC,SAAU,GACpB,gBAAC,KAAD,CAAaF,MAAOA,GAClB,6RAKA,gBAACG,EAAD,UAMRJ,EAAeK,aAAe,CAC5BJ,WAAOtB,GAGT,U,oECGA,QAtBiC,WAC/B,OAA2C2B,EAAAA,EAAAA,KAAnCC,EAAR,EAAQA,gBAAiBC,EAAzB,EAAyBA,cAEzB,OACE,gBAAC,KAAD,CAAeP,MAAM,iCACnB,gBAAC,KAAD,CAAYA,MAAM,gCACNQ,WACE,gBAACC,EAAA,EAAD,CAAoBF,cAAeA,EACfD,gBAAiBA,KAEjD,oGACA,+DAAsC,gBAACI,EAAA,EAAD,CAAmBC,KAAMC,EAAAA,EAAAA,MAAAA,YACNC,KAAK,kBAD9D,KAGA,gBAACC,EAAA,EAAD,OAGF,gBAAC,EAAD,CAAgBd,MAAM","sources":["webpack://graylog-web-interface/./src/components/authentication/BackendCreate/ServiceSelect.tsx","webpack://graylog-web-interface/./src/components/authentication/BackendCreate/GettingStarted.tsx","webpack://graylog-web-interface/./src/pages/AuthenticationCreatePage.tsx"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { Formik, Form, Field } from 'formik';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\nimport styled from 'styled-components';\n\nimport Routes from 'routing/Routes';\nimport { validateField } from 'util/FormsUtils';\nimport history from 'util/History';\nimport { defaultCompare } from 'views/logic/DefaultCompare';\nimport { Select, InputDescription } from 'components/common';\nimport { Button } from 'components/bootstrap';\n\nconst ElementsContainer = styled.div`\n  display: flex;\n  align-items: start;\n  width: 100%;\n`;\n\nconst StyledForm = styled(Form)`\n  max-width: 360px;\n  width: 100%;\n`;\n\nconst FormGroup = styled.div`\n  flex: 1;\n`;\n\nconst _onSubmit = ({ authServiceType }) => {\n  const createRoute = Routes.SYSTEM.AUTHENTICATION.BACKENDS.createBackend(authServiceType);\n  history.push(createRoute);\n};\n\nconst BackendCreateSelect = () => {\n  const authServices = PluginStore.exports('authentication.services');\n  const sortedAuthServices = authServices.sort((s1, s2) => defaultCompare(s1.displayName, s2.displayName));\n  const authServicesOptions = sortedAuthServices.map((service) => ({ label: service.displayName, value: service.name }));\n\n  return (\n    \n      {({ isSubmitting, isValid }) => (\n        \n          \n            \n              \n                {({ field: { name, value, onChange }, meta: { error } }) => (\n                  <>\n