{"version":3,"file":"OrgSettingsScreen.mjs","sources":["../../../../../../../../web/src/adminPortal/settings/OrgSettingsScreen.tsx"],"sourcesContent":["import React from 'react';\n\nimport { extractErrorMessage } from '../../utils/extractErrorMessage';\nimport { Alert } from '../components/Alert';\nimport { FlexBox } from '../components/FlexBox';\nimport { PageLoadingIndicator } from '../components/PageLoadingIndicator';\nimport { Typography } from '../components/Typography';\nimport { useOrgInfo } from '../utils/useOrgInfo';\nimport { OrgSettingsAuthenticationSettingsSection } from './OrgSettingsAuthenticationSettingsSection';\nimport { OrgSettingsDetailsSection } from './OrgSettingsDetailsSection';\nimport { OrgSettingsRoleAssignmentsSection } from './OrgSettingsRoleAssignmentsSection';\nimport { OrgSettingsUserOnboardingSection } from './OrgSettingsUserOnboardingSection';\n\nexport const OrgSettingsScreen = () => {\n  const { isLoading, error, data: orgInfo } = useOrgInfo();\n  if (isLoading) {\n    return <PageLoadingIndicator />;\n  }\n  if (error) {\n    return <Alert>{extractErrorMessage(error)}</Alert>;\n  }\n\n  return (\n    <FlexBox flexDirection=\"column\" gap={3}>\n      <Typography variant=\"h1\">Authentication &amp; Access Settings</Typography>\n      {orgInfo && (\n        <>\n          <OrgSettingsDetailsSection orgInfo={orgInfo} />\n          <OrgSettingsAuthenticationSettingsSection orgInfo={orgInfo} />\n          <OrgSettingsUserOnboardingSection orgInfo={orgInfo} />\n          <OrgSettingsRoleAssignmentsSection orgInfo={orgInfo} />\n        </>\n      )}\n    </FlexBox>\n  );\n};\n"],"names":["OrgSettingsScreen","isLoading","error","data","orgInfo","useOrgInfo","React","PageLoadingIndicator","Alert","extractErrorMessage","FlexBox","flexDirection","gap","Typography","variant","OrgSettingsDetailsSection","OrgSettingsAuthenticationSettingsSection","OrgSettingsUserOnboardingSection","OrgSettingsRoleAssignmentsSection"],"mappings":";;;;;;;;;;;;MAaaA,iBAAAA,GAAoB,IAAA;IAC/B,MAAM,EAAEC,SAAS,EAAEC,KAAK,EAAEC,IAAAA,EAAMC,OAAO,EAAE,GAAGC,UAAAA,EAAAA;AAC5C,IAAA,IAAIJ,SAAAA,EAAW;AACb,QAAA,qBAAOK,EAAA,CAAA,aAAA,CAACC,oBAAAA,EAAAA,IAAAA,CAAAA;AACV,IAAA;AACA,IAAA,IAAIL,KAAAA,EAAO;QACT,qBAAOI,EAAA,CAAA,aAAA,CAACE,aAAOC,mBAAAA,CAAoBP,KAAAA,CAAAA,CAAAA;AACrC,IAAA;AAEA,IAAA,qBACEI,EAAA,CAAA,aAAA,CAACI,OAAAA,EAAAA;QAAQC,aAAAA,EAAc,QAAA;QAASC,GAAAA,EAAK;qBACnCN,EAAA,CAAA,aAAA,CAACO,UAAAA,EAAAA;QAAWC,OAAAA,EAAQ;OAAK,kCAAA,CAAA,EACxBV,OAAAA,kBACCE,kDACEA,EAAA,CAAA,aAAA,CAACS,yBAAAA,EAAAA;QAA0BX,OAAAA,EAASA;sBACpCE,EAAA,CAAA,aAAA,CAACU,wCAAAA,EAAAA;QAAyCZ,OAAAA,EAASA;sBACnDE,EAAA,CAAA,aAAA,CAACW,gCAAAA,EAAAA;QAAiCb,OAAAA,EAASA;sBAC3CE,EAAA,CAAA,aAAA,CAACY,iCAAAA,EAAAA;QAAkCd,OAAAA,EAASA;;AAKtD;;;;"}