{"version":3,"sources":["img/calendar-icon.png","img/x-icon.png","context/form-context.js","services/api.js","services/notifications-service.js","context/form-provider.js","components/AppContainer/AppContainer.js","components/Card/Card.js","components/FindByNotificationId/FindByNotificationId.js","services/manufacturers-service.js","components/FindByManufacturer/FindByManufacturer.js","screens/FindRecord/FindRecord.js","components/SideBar/SideBar.js","components/BreadCrumb/BreadCrumb.js","components/RightContent/RightContent.js","services/testers-service.js","services/test-form-service.js","components/SearchInput/SearchInput.js","components/W1DatePicker/W1DatePicker.js","components/AssemblyTypeFields/AssemblyTypeFields.js","components/ModalDialog/ModalDialog.js","components/Input.js","components/RecordForm/RecordForm.js","helpers/util.js","screens/ReportForm/ReportForm.js","screens/OpenBackflowNotifications/OpenBackflowNotifications.js","App.js","index.js"],"names":["module","exports","React","createContext","notification","NotificationNo","NotificationDate","CustomerName","Telephone","City","DueDate","Street","NotificationCheckDigit","AssemblyType","Size","Manufacturer","SerialNo","ModelNo","FirelineFlushRequired","FirelineFlushReqDscrpt","Location","HazardCode","HazardCodeDscrpt","redirectToForm","findByNotificationId","findByManufacturer","getManufacturers","isRECAPTCHAVerified","reCAPTCHAToken","lastSearchFrom","axios","require","defaults","baseURL","headers","common","Accept","apiService","notificationsService","id","get","manufacturer","assemblyType","model","serial","includes","replace","encodeURIComponent","FormProvider","state","JSON","parse","localStorage","getItem","manufacturers","alert","bind","updateState","newState","this","setState","values","actions","notificationId","getNotification","then","response","data","d","__metadata","redirectToHome","setItem","stringify","catch","err","error","setFieldError","message","value","finally","setSubmitting","getByManufacturer","results","length","children","props","Provider","Component","AppContainer","className","Card","validationSchema","Yup","shape","required","redirectToPDFForm","window","open","FindByNotificationId","onSubmit","formContext","useContext","FormContext","initialValues","errors","touched","isSubmitting","name","type","email","component","notificationIdError","size","render","sitekey","onloadCallback","document","getElementById","style","display","verifyCallback","token","expiredCallback","verticalAlign","disabled","role","onClick","href","target","manufacturersService","FindByManufacturer","models","assemblyTypes","filteredModels","getModels","getAssemblyTypes","getAll","filter","m","Name","map","label","Type","substring","setFieldValue","modelDisabled","serialNumberDisabled","manufacturer_assemblyType_models","htmlFor","options","placeholder","inputProps","onChange","event","newValue","autoComplete","suggestions","onSuggestionsFetchRequested","toLowerCase","startsWith","onSuggestionsClearRequested","getSuggestionValue","suggestion","renderSuggestion","onSuggestionSelected","method","preventDefault","manufacturersError","context","contextType","FindRecord","Consumer","push","to","defaultIndex","onSelect","index","SideBar","backStyle","float","cursor","backgroundColor","border","BreadCrumb","currentLink","RightContent","testersService","testFormService","url","utf8Str","unescape","dataStr","btoa","payload","removingData","TestType","SearchInput","onBlur","refVal","innerRef","defaultProps","W1DatePicker","dateFormat","renderInput","key","e","select","AssemblyTypeFields","assemblyTypeDscrpt","Fragment","fields","renderFields","ModalDialog","isOpen","onCloseClick","dialog","ErrorMessage","form","getIn","classnames","Checkbox","wrapperclassname","inputClassNames","wrapperClassNames","field","checked","RecordForm","redoSearchClick","okClick","focusTextInput","IsIncorrectInformation","textInput","createRef","current","focus","date","format","setErrors","status","handleBlur","submitForm","handleReset","findTesterByCertificationId","Error","tester","CertificateNo","CertificateExpDate","split","TelephoneNo1","Company","TelephoneNo2","Fax","Email","errorMessage","TesterCertificationNo","TesterFirstName","TesterLastName","TesterCompanyName","TesterCompanyPhone","phonestring","tmp","parsePhoneNumberFromString","formatNational","formatPhone","TesterCertificationExpDate","moment","AssemblyTypeDscrpt","FirelineFlushingTime","FirelineFlushAck","TestComments","formSubmissionError","Object","keys","withFormik","validateOnChange","validateOnBlur","mapPropsToValues","TestDate","undefined","Form","FormVersion","ServiceAddress","ServiceCity","CustomerPhone","AssemblyLocation","Hazard","MainManufacturer","MainModelNo","MainSerialNo","MainSize","BypassNotificationNo","BypassNotificationCheckDigit","BypassManufacturer","BypassModelNo","BypassSerialNo","BypassSize","MainCheckValve1Psid","MainCheckValve2Psid","MainReliefValvePsid","BypassCheckValve1Psid","BypassCheckValve2Psid","BypassReliefValvePsid","VBAirInletPsid","VBChkVlvPsid","AirGapSupplySize","AirGap","FirelineFlushDate","FirelineFlushingName","TesterPhone","TesterCompanyFax","TesterEmail","when","is","oneOf","handleSubmit","setStatus","Date","toISOString","join","result","innererror","errordetails","code","enableReinitialize","ReportForm","obj","constructor","LicenseManager","setLicenseKey","OpenBackflowNotifications","useEffect","title","gridRef","useRef","myCellCallback","params","column","colId","useState","suppressSizeToFit","width","headerName","cellClass","valueFormatter","columnDefs","getNotifications","a","api","setRowData","onBtExport","useCallback","exportDataAsExcel","prependContent","height","cells","styleId","mergeAcross","processCellCallback","sheetName","marginLeft","marginRight","color","fontSize","fontWeight","marginBottom","domLayout","excelStyles","font","bold","alignment","vertical","horizontal","wrapText","dataType","numberFormat","borders","borderBottom","lineStyle","weight","borderLeft","borderRight","borderTop","interior","pattern","ref","defaultColDef","sortable","wrapHeaderText","autoHeaderHeight","onFirstDataRendered","sizeColumnsToFit","App","loadReCaptcha","exact","path","ReactDOM"],"mappings":"mSAAAA,EAAOC,QAAU,0qB,wCCAjBD,EAAOC,QAAU,84C,8PCEFC,MAAMC,cAAc,CACjCC,aAAc,CACZC,eAAgB,GAChBC,iBAAkB,GAClBC,aAAc,GACdC,UAAW,GACXC,KAAM,GACNC,QAAS,GACTC,OAAQ,GACRC,uBAAwB,GACxBC,aAAc,GACdC,KAAM,GACNC,aAAc,GACdC,SAAU,GACVC,QAAS,GACTC,sBAAuB,GACvBC,uBAAwB,GACxBC,SAAU,GACVC,WAAY,GACZC,iBAAkB,IAEpBC,gBAAgB,EAChBC,qBAAsB,aACtBC,mBAAoB,aACpBC,iBAAkB,aAClBC,qBAAqB,EACrBC,eAAgB,GAChBC,eAAgB,IC7BZC,EAAQC,EAAQ,KAUtBD,EAAME,SAASC,QAHE,mCAIjBH,EAAME,SAASE,QAAQC,OAAOC,OAAS,mBAEhC,IAAMC,EAAaP,ECgBbQ,EAAuB,I,wGAxBhBC,GAEZ,OAAOF,EAAWG,IAAX,+BAAuCD,EAAvC,S,yCAIP,OAAOF,EAAWG,IAAX,2B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AAD,KACI,kBAAC,IAAD,KACI,kBAAC,IAAD,CAAOC,OAAK,EAACC,KAAK,IAAI5R,UAAW4D,IACjC,kBAAC,IAAD,CAAOgO,KAAK,UAAU5R,UAAWsN,KACjC,kBAAC,IAAD,CAAOsE,KAAK,iBAAiB5R,UAAW2N,S,cCjB5DkE,IAAS1R,OAAO,kBAAC,GAAD,MAASG,SAASC,eAAe,W","file":"static/js/main.cb548d4e.chunk.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAADmwAAA5sBPN8HMQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFnSURBVGiB7ZlBTsMwEEW/rZ4CWiF6HcQ9ygKJbZJ14jVCgoMgOE43JRzD7oIkMqGBsRqrw3TeqrXjib//jC3FBkTKsrwJITwBuO6atgDunXPv1Bg541vqi0IIL9FLAGAN4Jk6Pnd8shAAKwBwzhnnnOnarhLGZ42fIoQ1i/5HVVW33vtHfLf3T4qiCLPPihZ/a619qOv6FYgc8d6Pc5Q7a+/9UEOLqOMS+MrRQ6OmVmbq+VRS43fPL/v/8mqEwAeA5WjldjPO5aj4ZEeMMRsAbdTUAthQx+eOT3akaZo3RDk5N8fGF1MjYoT8SK3cB1wu5Doy1wGXm3HmiHFEhXCDfCCeajej1uz5OdJzaIV6t3L0URHjiArhhhghycX+WxHm6KNyvo7o9psZFcINMUJ0++WGbr/cUCHcECNEt19ukB3h/ilVjCMqhBtxjXwCuPhnFz3D5engiLV2fKvKndZae3fqSShT7AF+oLYfbUAw5wAAAABJRU5ErkJggg==\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAADmwAAA5sBPN8HMQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ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r+ysjhTEReTpLkwDm3P65f7UtjFEWHwP3y82BPrFhrPw858HHJsuwm8Ar9X8Qyf3vvD+v6NJ7ZlVLPi8gd732nreXUFK31OeAz+qCz1tpvZn6YMeZFrfX5UIObNkqpDa31C0+q/iKLLLJIO/kX66A8zDYva2QAAAAASUVORK5CYII=\"","import React from 'react';\r\n\r\nexport default React.createContext({\r\n notification: {\r\n NotificationNo: '',\r\n NotificationDate: '',\r\n CustomerName: '',\r\n Telephone: '',\r\n City: '',\r\n DueDate: '',\r\n Street: '',\r\n NotificationCheckDigit: '',\r\n AssemblyType: '',\r\n Size: '',\r\n Manufacturer: '',\r\n SerialNo: '',\r\n ModelNo: '',\r\n FirelineFlushRequired: '',\r\n FirelineFlushReqDscrpt: '',\r\n Location: '',\r\n HazardCode: '',\r\n HazardCodeDscrpt: '',\r\n },\r\n redirectToForm: false,\r\n findByNotificationId: () => {},\r\n findByManufacturer: () => {},\r\n getManufacturers: () => { },\r\n isRECAPTCHAVerified: false,\r\n reCAPTCHAToken: '',\r\n lastSearchFrom: 0\r\n});\r\n","const axios = require('axios');\r\n\r\n//const BASE_URL = 'https://w1formmanagerfunctapp.azurewebsites.net/api/WaterOne_OpenSet_HTTPTrigger_URL?code=p9znvcugGcb3ubVfsRwe8kjiUbTA0RRjg5v9p3eURiqX804XHabe1w==&url=';\r\n//const BASE_URL = 'https://localhost:44312/W1API';\r\n//const BASE_URL = 'https://w1formmanagerdev.azurewebsites.net/w1api';\r\n//const BASE_URL = 'https://formsdev.waterone.org/w1api';\r\n//const BASE_URL = 'https://formmanagerprod.azurewebsites.net/w1api';\r\nconst BASE_URL = 'https://forms.waterone.org/w1api';\r\n\r\n// axios defaults\r\naxios.defaults.baseURL = BASE_URL;\r\naxios.defaults.headers.common.Accept = 'application/json';\r\n\r\nexport const apiService = axios;\r\n// export const apiService = new ApiService();\r\n","/* eslint-disable class-methods-use-this */\r\nimport { apiService } from './api';\r\n//import rowData from '../screens/OpenBackflowNotifications/DEV_Notification_List_JSON.json'; //mock json file of data\r\n\r\nclass NotificationsService {\r\n getNotification(id) {\r\n //console.log('id', id);\r\n return apiService.get(`TestNotificationSet('${id}')`);\r\n }\r\n\r\n getNotifications() {\r\n return apiService.get(`TestNotificationSet()`);\r\n //return rowData.d.results; //json file mock\r\n }\r\n\r\n getByManufacturer(manufacturer, assemblyType, model, serial) {\r\n manufacturer = manufacturer.includes('/') ? manufacturer.replace('/', '%252F') : manufacturer;\r\n assemblyType = encodeURIComponent(assemblyType);\r\n model = model.includes('/') ? model.replace('/', '%252F') : model;\r\n serial = encodeURIComponent(serial);\r\n\r\n return apiService.get(`TestNotificationSet%3f$filter=Manufacturer eq ~${manufacturer}~ and AssemblyType eq ~${assemblyType}~ and ModelNo eq ~${model}~ and SerialNo eq ~${serial}~`);\r\n }\r\n\r\n //getByManufacturer(manufacturer, assemblyType, model, serial) {\r\n // return apiService.get(`TestNotificationSet`);\r\n //}\r\n}\r\n\r\nexport const notificationsService = new NotificationsService();\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport FormContext from './form-context';\r\n\r\nimport { notificationsService } from '../services/notifications-service';\r\n\r\nclass FormProvider extends React.Component {\r\n constructor() {\r\n super();\r\n\r\n this.state = {\r\n notification: JSON.parse(localStorage.getItem('notification')) || {},\r\n manufacturers: {},\r\n alert: null,\r\n isRECAPTCHAVerified: false,\r\n reCAPTCHAToken: '',\r\n lastSearchFrom: 0\r\n };\r\n\r\n this.findByNotificationId = this.findByNotificationId.bind(this);\r\n this.findByManufacturer = this.findByManufacturer.bind(this);\r\n this.updateState = this.updateState.bind(this);\r\n }\r\n\r\n updateState(newState) {\r\n this.setState({\r\n ...newState,\r\n });\r\n }\r\n\r\n findByNotificationId(values, actions) {\r\n const id = values.notificationId || '';\r\n\r\n notificationsService.getNotification(id)\r\n .then((response) => {\r\n //console.log(response.data);\r\n\r\n const { __metadata, ...notification } = JSON.parse(response.data).d;\r\n\r\n this.setState({\r\n notification,\r\n redirectToForm: true,\r\n redirectToHome: false,\r\n });\r\n\r\n localStorage.setItem('notification', JSON.stringify(notification));\r\n })\r\n .catch((err) => {\r\n const { error } = JSON.parse(err.response.data);\r\n actions.setFieldError('notificationIdError', error.message.value);\r\n })\r\n .finally(() => {\r\n actions.setSubmitting(false);\r\n this.updateState({ isRECAPTCHAVerified: true });\r\n });\r\n }\r\n\r\n findByManufacturer(values, actions) {\r\n const { manufacturer, assemblyType, model, serial } = values;\r\n\r\n notificationsService.getByManufacturer(manufacturer, assemblyType, model, serial)\r\n .then((response) => {\r\n //console.log(response);\r\n const { results } = JSON.parse(response.data).d;\r\n\r\n //console.log(results);\r\n\r\n if (results.length === 1) {\r\n const { __metadata, ...notification } = results[0]; // filterout __metadata.\r\n this.setState({\r\n notification,\r\n redirectToForm: true,\r\n redirectToHome: false,\r\n });\r\n\r\n localStorage.setItem('notification', JSON.stringify(notification));\r\n }\r\n else\r\n actions.setFieldError('manufacturersError', 'More than one notification matches what you\\'ve entered. Please use a notification number to enter test results.');\r\n })\r\n .catch((err) => {\r\n const { error } = JSON.parse(err.response.data);\r\n actions.setFieldError('manufacturersError', error.message.value);\r\n })\r\n .finally(() => {\r\n actions.setSubmitting(false);\r\n this.updateState({ isRECAPTCHAVerified: true });\r\n });\r\n }\r\n\r\n render() {\r\n const { children } = this.props;\r\n const { state } = this;\r\n\r\n return (\r\n
Please verify the information on the left is accurate. If not, please click the \"Incorrect Information\" button.
\r\n \r\n \r\n \r\n{context.notification.NotificationNo}
\r\n{context.notification.CustomerName}
\r\n{context.notification.Street}
\r\n{context.notification.City}
\r\n{formatPhone(context.notification.Telephone)}
\r\n{context.notification.SerialNo}
\r\n{context.notification.AssemblyTypeDscrpt}
\r\n{context.notification.Manufacturer}
\r\n{context.notification.ModelNo}
\r\n{context.notification.Size}
\r\n{` ${context.notification.HazardCodeDscrpt}`}
\r\n{context.notification.Location}
\r\n