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Dialog/GuestAccountDialog.js","components/Tabs/SettingsTab/Help/HelpDialog/HelpDialog.js","hoc/Formik/FormikField.js","hoc/Typography/BodyText.js","../node_modules/@mui/icons-material/Visibility.js","../node_modules/@mui/icons-material/VisibilityOff.js","../node_modules/@mui/material/InputAdornment/inputAdornmentClasses.js","../node_modules/@mui/material/InputAdornment/InputAdornment.js"],"sourcesContent":["import React from 'react'\r\nimport { connect } from 'react-redux'\r\n\r\n//Formik\r\nimport { Formik, Form } from 'formik'\r\nimport FormikField from '../../hoc/Formik/FormikField'\r\n\r\n//MUI\r\nimport Button from '@mui/material/Button'\r\nimport CircularProgress from '@mui/material/CircularProgress'\r\nimport Paper from '@mui/material/Paper'\r\nimport Typography from '@mui/material/Typography'\r\nimport InputAdornment from '@mui/material/InputAdornment'\r\nimport IconButton from '@mui/material/IconButton'\r\nimport { createAccount } from '../../redux/reducers/accountsReducer'\r\nimport { LOGIN_MODE, setLoginFormFields } from '../../redux/reducers/loginReducer'\r\nimport { Account } from '../../classes/Account'\r\nimport { pathPush, pathGoBack, pathReplace } from '../../redux/reducers/pathReducer'\r\nimport HelpDialog from '../Tabs/SettingsTab/Help/HelpDialog/HelpDialog'\r\nimport DialogButton from '../../hoc/Buttons/DialogButton'\r\nimport Alert from '@mui/material/Alert'\r\nimport BodyText from '../../hoc/Typography/BodyText'\r\nimport GuestAccountDialog from '../Tabs/SettingsTab/Accounts/GuestAccount/GuestAccountDialog/GuestAccountDialog'\r\nimport './Login.css'\r\nimport Visibility from '@mui/icons-material/Visibility'\r\nimport VisibilityOff from '@mui/icons-material/VisibilityOff'\r\n\r\nconst AccountFormDialog = (props) => {\r\n\tconst { createAccount, mode } = props\r\n\tvar update = null //eslint-disable-line\r\n\t// const [devAccount, setDevAccount] = React.useState(false)\r\n\tconst [waitingForLogin, setWaitingForLogin] = React.useState(false)\r\n\tconst [savedValues, setSavedValues] = React.useState(new Account())\r\n\tconst [hasSubmitted, setHasSubmitted] = React.useState(false)\r\n\r\n\t//Add http(s)\r\n\tconst attemptToFixURL = (hostName) => {\r\n\t\t// const doneCallback = (data) => {\r\n\t\t// update(\"hostName\", data)\r\n\t\t// }\r\n\r\n\t\t// const failCallback = (data) => {\r\n\t\t// update(\"hostName\", data)\r\n\t\t// }\r\n\r\n\t\t// if (hostName.length > 0) {\r\n\t\t// fixHttp(hostName, doneCallback, failCallback)\r\n\t\t// }\r\n\r\n\t\tif (hostName === '') {\r\n\t\t\treturn\r\n\t\t}\r\n\r\n\t\t// if(isIP(hostName)){\r\n\t\t// return\r\n\t\t// }\r\n\r\n\t\t// if(hostName.includes('https://')){\r\n\t\t// update(\"hostName\", hostName.replace(\"https://\", \"\"))\r\n\t\t// }\r\n\r\n\t\t// if(hostName.includes('http://')){\r\n\t\t// update(\"hostName\", hostName.replace(\"http://\", \"\"))\r\n\t\t// }\r\n\t}\r\n\r\n\t//Demo, DemoOwner, DemoClerk, UniformPay test accounts\r\n\t// const attemptFillDevLogin = (accountName) => {\r\n\t// if (!devAccount) {\r\n\t// if (accountName.toLowerCase() === \"demoowner\") {\r\n\t// update('hostName', 'https://shop.theuniformsolution.com')\r\n\t// update('userName', 'Owner')\r\n\t// update('password', 'Master')\r\n\t// update('key', 'TEST1')\r\n\t// setDevAccount(true)\r\n\t// }\r\n\r\n\t// if (accountName.toLowerCase() === \"democlerk\") {\r\n\t// update('hostName', 'https://shop.theuniformsolution.com')\r\n\t// update('userName', 'Clerk')\r\n\t// update('password', 'OK')\r\n\t// update('key', 'TEST2')\r\n\t// setDevAccount(true)\r\n\t// }\r\n\r\n\t// if (accountName.toLowerCase() === \"uniformpay\") {\r\n\t// update('hostName', 'https://uniformpay.theuniformsolution.com')\r\n\t// update('userName', 'Owner')\r\n\t// update('password', 'Master')\r\n\t// update('key', 'TEST3')\r\n\t// setDevAccount(true)\r\n\t// }\r\n\r\n\t// if (accountName.toLowerCase() === \"demo\") {\r\n\t// update('hostName', 'https://ddsTestCloudStore.ddns.net')\r\n\t// update('userName', 'TU1')\r\n\t// update('password', '4321')\r\n\t// update('key', 'TEST4')\r\n\t// setDevAccount(true)\r\n\t// }\r\n\t// return\r\n\t// }\r\n\t// }\r\n\r\n\t// VALIDATION FUNCTIONS\r\n\tconst validateAccountName = (accountName) => {\r\n\t\t//Empty account name\r\n\t\tif (!accountName) {\r\n\t\t\treturn 'Please enter a Store Name.'\r\n\t\t}\r\n\r\n\t\t//Check for invalid characters\r\n\t\t//eslint-disable-next-line\r\n\t\tif (accountName.search(/[\\/?]/) > 0) {\r\n\t\t\treturn 'Your account name cannot contain any of the following characters \"/,?\".'\r\n\t\t}\r\n\t}\r\n\tconst validateHostName = (hostName) => {\r\n\t\t//Empty host name\r\n\t\tif (!hostName) {\r\n\t\t\treturn 'Please enter a WebStore URL.'\r\n\t\t}\r\n\r\n\t\t// if(isIP(hostName)){\r\n\t\t// return 'The WebStore URL cannot be an IP address.'\r\n\t\t// }\r\n\t}\r\n\r\n\tconst validateUserName = (userName) => {\r\n\t\t//Empty user name\r\n\t\tif (!userName) {\r\n\t\t\treturn 'Please enter a Username.'\r\n\t\t}\r\n\t}\r\n\r\n\tconst validatePassword = (password) => {\r\n\t\t//Empty password\r\n\t\tif (!password) {\r\n\t\t\treturn 'Please enter a Password.'\r\n\t\t}\r\n\t}\r\n\r\n\tconst validate = (values) => {\r\n\t\t//Check for errors.\r\n\t\tlet errors = {}\r\n\r\n\t\tif (validateAccountName(values.accountName)) {\r\n\t\t\terrors.accountName = validateAccountName(values.accountName)\r\n\t\t}\r\n\r\n\t\tif (validateHostName(values.hostName)) {\r\n\t\t\terrors.hostName = validateHostName(values.hostName)\r\n\t\t}\r\n\r\n\t\tif (validateUserName(values.userName)) {\r\n\t\t\terrors.userName = validateUserName(values.userName)\r\n\t\t}\r\n\r\n\t\tif (validatePassword(values.password)) {\r\n\t\t\terrors.password = validatePassword(values.password)\r\n\t\t}\r\n\t\treturn errors\r\n\t}\r\n\r\n\tfunction handleSubmit(values) {\r\n\t\tsetHasSubmitted(true)\r\n\t\tconst savedFormValues = { ...values }\r\n\t\tconst newAccount = { ...values }\r\n\t\tcreateAccount(newAccount)\r\n\t\tsetSavedValues(savedFormValues)\r\n\t}\r\n\r\n\tReact.useEffect(() => {\r\n\t\t//There is a pending account, we are waiting for the login to complete.\r\n\t\tif (props.accounts.length > 0) {\r\n\t\t\tif (props.accounts[0].isPending === true) {\r\n\t\t\t\tsetWaitingForLogin(true)\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\t//We are waiting for login, but it failed.\r\n\t\t\tif (waitingForLogin === true && mode === LOGIN_MODE.disconnected) {\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tsetWaitingForLogin(false)\r\n\t\t\t\t}, 2000)\r\n\t\t\t}\r\n\t\t}\r\n\t}, [mode])\r\n\r\n\tconst [guestAccountDialogOpen, setGuestAccountDialogOpen] = React.useState(false)\r\n\tconst handleGuestAccountClick = () => setGuestAccountDialogOpen(true)\r\n\tconst handleGuestAccountClose = () => setGuestAccountDialogOpen(false)\r\n\r\n\tconst [showHelp, setShowHelp] = React.useState(false)\r\n\tconst handleHelpClick = () => setShowHelp(true)\r\n\tconst handleHelpClose = () => setShowHelp(false)\r\n\r\n\tconst DDSImage = () => \r\n\r\n\tconst ErrorMessage = () => {\r\n\t\treturn (\r\n\t\t\t