{"version":3,"sources":["features/layout/LoadingContainer.js","store/index.js","index.js","store/services/api.js","features/history/index.js","features/analytics/index.js","features/assets/users.svg","constants.js","features/i18n/Context.js","features/form-components/ErrorMessages.js","App.js","features/assets/logo-text.png","store/customers.js","store/services/restify.js","store/services/customers.js","features/security/PrivateRoute.js","features/security/AuthorizedRoute.js","features/layout/Layout.js","features/security/RequiresRole.js","features/layout/AppHeader.js","features/dashboard/DocumentationSearchForm.js","features/layout/Page.js","store/services/favorites.js","features/form-components/FormContainer.js","store/services/epicor.js","store/services/documents.js","store/services/reports.js","features/dashboard/SerialNumberDetail.js","features/modal/ModalWrapper.js","features/dashboard/Favorites.js","store/services/audit.js","features/dashboard/SearchHistory.js","features/components/SerialTable.js","features/components/OrderTable.js","features/components/PartsTable.js","features/dashboard/SearchResults.js","features/dashboard/Routes.js","features/customers/CustomerForm.js","features/customers/AllCustomersTable.js","features/customers/NewCustomerForm.js","features/customers/IndexScreen.js","features/components/date.js","features/audits/AllAuditsTable.js","features/audits/IndexScreen.js","store/services/blacklist.js","store/services/users.js","features/blacklists/BlacklistForm.js","features/blacklists/AllBlacklistsTable.js","store/services/blacklistDomain.js","features/components/confirm-delete-button.js","features/blacklists/AllBlacklistedDomainTable.js","features/blacklists/BlacklistDomainForm.js","features/blacklists/NewBlacklistDomainScreen.js","features/blacklists/NewBlacklistScreen.js","features/blacklists/IndexScreen.js","store/services/whitelist.js","features/whitelists/WhitelistForm.js","features/whitelists/AllWhitelistsTable.js","features/whitelists/NewWhitelistScreen.js","store/services/whitelistDomain.js","features/whitelists/AllWhitelistedDomainTable.js","features/whitelists/WhitelistDomainForm.js","features/whitelists/NewWhitelistDomainScreen.js","features/whitelists/IndexScreen.js","features/customers/OrderHistory.js","store/services/settings.js","features/settings/List.js","features/settings/Edit.js","features/settings/Routes.js","store/services/userAccess.js","features/users/UserForm.js","features/users/AllUsersTable.js","features/users/CustomerAssociationPopup.js","features/users/RequestsTable.js","features/users/NewUserScreen.js","features/users/IndexScreen.js","features/layout/MainRoutes.js","features/layout/AppFooter.js","features/account/Layout.js","features/account/LogIn.js","features/account/SignUp.js","features/account/CompleteRegistration.js","features/account/ForgotPassword.js","features/account/ResetPassword.js","features/account/ChangePassword.js","features/account/Routes.js","features/assets/search.svg","store/identity.js","styles.js"],"names":["DimmableWrapper","styled","props","react__WEBPACK_IMPORTED_MODULE_1___default","a","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_4__","Dimmable","target","LoadingContainer","_ref","children","loading","hideContentWhenLoading","transparent","_ref$message","message","className","Object","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__","assign","dimmed","cx","active","inverted","semantic_ui_react__WEBPACK_IMPORTED_MODULE_5__","rootReducer","identity","customers","actionwareReducer","router","routerReducer","historyMiddleware","routerMiddleware","history","composeEnhancers","window","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","store","createStore","combineReducers","getIdentityState","applyMiddleware","thunk","setup","analytics","trackHistory","rootEl","document","getElementById","render","react_default","es","react_router_redux_es","App","config","baseURL","process","timeout","paramsSerializer","params","qs","stringify","allowDots","instance","axios","create","helper","_tokenPromise","_tokenState","get","_get","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default","mark","_callee","url","data","wrap","_context","prev","next","sent","abrupt","stop","_x","_x2","apply","this","arguments","post","_post","_callee2","payload","_ref2","_context2","_x3","_x4","put","_put","_callee3","_len","rest","_key","_ref3","_args3","_context3","length","Array","concat","_x5","patch","_patch","_callee4","_len2","_key2","_ref4","_args4","_context4","_x6","delete","_delete2","_callee5","_len3","_key3","_ref5","_args5","_context5","_x7","authenticate","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__","_","Date","_handleNewToken","refreshToken","_this","Promise","_ref6","_callee6","resolve","reject","result","_context6","JSON","parse","localStorage","getItem","t0","finish","_x8","_x9","getSavedToken","_handleNewToken2","_callee7","_ref7","header","_context7","_setApiHeader","authToken","defaults","headers","common","setItem","_x10","_isTokenExpired","isAfter","authTokenExpiration","anonymousPaths","tryGetPersistedAuth","persistedAuthState","camelcaseKeys","jwtDecode","error","interceptors","request","use","_ref8","_callee8","originalRequest","isAnonymousPath","_context8","some","matcher","test","call","logout","_x11","err","response","_ref9","_callee9","status","_context9","console","setTimeout","errors","propertyName","errorMessage","hasErrors","_x12","history__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","createBrowserHistory","basename","_history_index__WEBPACK_IMPORTED_MODULE_0__","react_ga__WEBPACK_IMPORTED_MODULE_1__","page","pathname","ReactGA","set","pageview","identify","userId","Sentry","configureScope","scope","setUser","id","reset","location","listen","action","init","dsn","initialize","_unused","module","exports","p","COMPANY_NAME","ROLES","SEARCH_ONLY","CUSTOMER_USER","CUSTOMER_ADMIN","MM_ADMIN","SYSTEM_ADMIN","SEARCH_KEYS","SERIAL_NUMBER","PART_NUMBER","PO_NUMBER","SEARCH_HEADERS","SEARCH_KEY_HEADERS","_SEARCH_KEY_HEADERS","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","RoleList","keys","map","x","I18nContext","React","createContext","i18nDictionary","en-US","BLANK","login.header","login.form.emailAddress","login.form.password","login.form.button.login","login.form.button.forgotPassword","login.form.button.signUp","signup.header","signup.form.emailAddress","signup.form.firstName","signup.form.lastName","signup.form.company","signup.form.title","signup.form.phoneNumber","signup.form.button.signup","signup.form.button.returnToLogin","signup.form.button.checkEmail","signup.form.button.getAssistance","resetPassword.form.header","resetPassword.form.newPassword","resetPassword.form.confirmPassword","resetPassword.form.button.submit","resetPassword.form.link.returnToLogin","resetPassword.form.link.success","forgotPassword.form.header","forgotPassword.form.emailAddress","forgotPassword.form.button.submit","forgotPassword.form.link.returnToLogin","forgotPassword.form.checkEmail","completeRegistration.form.header","completeRegistration.form.password","completeRegistration.form.confirmPassword","completeRegistration.form.button.submit","footer.supportLink","footer.button.reportIssue","navigation.report-issue","navigation.logout","dashboard.favorites","dashboard.history","dashboard.tab-title.purchase-orders","count","dashboard.tab-title.part-numbers","dashboard.tab-title.serial-numbers","fr","getBrowserLanguage","defaultLanguage","undefined","navigator","language","Component","FormattedMessage","_PureComponent","_class","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__","key","value","_this$props","locale","_this$props$values","values","accessor","isFunction","PureComponent","react__WEBPACK_IMPORTED_MODULE_5___default","Consumer","d","__webpack_exports__","ErrorMessages","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","semantic_ui_react__WEBPACK_IMPORTED_MODULE_1__","_ref$error","negative","state","authCheck","user","api","onLoginSuccess","setState","react__WEBPACK_IMPORTED_MODULE_7___default","_features_i18n_Context__WEBPACK_IMPORTED_MODULE_18__","Provider","react_router_dom__WEBPACK_IMPORTED_MODULE_8__","react_router_dom__WEBPACK_IMPORTED_MODULE_9__","path","component","AccountRoutes","_features_security_PrivateRoute__WEBPACK_IMPORTED_MODULE_16__","MainRoutes","react_router_dom__WEBPACK_IMPORTED_MODULE_10__","to","_features_layout_LoadingContainer__WEBPACK_IMPORTED_MODULE_19__","hot","withRouter","fetch","pageSize","searchTerm","orderByEpicor","customersApi","sortByEpicor","reducer","createReducer","on","_api__WEBPACK_IMPORTED_MODULE_0__","restify","basePath","fetchById","customer","update","approveDomain","denyDomain","export","remove","fetchByEmail","email","_restify__WEBPACK_IMPORTED_MODULE_0__","connect","canRoute","react_router_dom__WEBPACK_IMPORTED_MODULE_2__","react_router_dom__WEBPACK_IMPORTED_MODULE_3__","from","_state$identity$user","userRole","role","_ref$roles","roles","objectWithoutProperties","indexOf","toastr","info","Route","Redirect","flex","css","column","row","scollY","layout","type","floating","box","align","fill","scroll","padded","fixed","Layout","Box","Flex","Fill","Fixed","RequiresRole","propTypes","types","array","string","isRequired","MenuWrapper","styles","AppHeader","_renderUserMenu","Menu","position","Item","firstName","lastName","Dropdown","item","trigger","Icon","name","style","color","colors","greenPrimary","as","Link","onClick","Divider","Modal","centered","size","Content","Header","textAlign","fontWeight","borderBottom","display","href","isManage","pointing","secondary","src","logo","alt","Responsive","Fragment","minWidth","security_RequiresRole","NavLink","WithActions","withActions","Connected","FormWrapper","Form","options","text","DocumentationSearchForm","searchKey","search","substr","_handleChange","e","_handleSave","query","alert","push","searchHeader","onSubmit","Field","Input","placeholder","Select","compact","onChange","Button","maxWidth","Page","PageHeaderWrapper","headerBackground","textLabel","PageSecondaryHeaderWrapper","lighten","WrapperComponent","fluid","Container","Page_WrapperComponent","Secondary","HeaderActions","FillTitle","HeaderWithActions","title","dist_index_esm","@media (max-width: 849px)","flexWrap","flexDirection",".header-title, .header-actions","justifyContent","marginTop","@media (max-width: 570px)",".ui.form .inline.fields > label","width","node","Basic","dashboard_DocumentationSearchForm","service","favorite","unfavorite","center","Dimmer","FormContainer","Loader","displayName","searchByPurchaseOrderNumber","purchaseOrderNumber","orderNumber","searchBySerialNumber","serialNumber","searchByPartNumber","partNumber","encodeURIComponent","fetchSerial","sysRowID","fetchSerialsByPartNum","_fetchSerialsByPartNum","asyncToGenerator","regenerator_default","partNum","uniqBy","fetchOrders","fetchOrderPartSerials","orderNum","fetchPartsByOrderSysRowID","_fetchPartsByOrderSysRowID","orderDetails","partsUrl","parts","objectSpread","Error","enumerate","createReportToken","createAllReportTokens","sysRowId","createUploadedJobDocUrl","_createUploadedJobDocUrl","jobDocId","createRepairCertUrl","_createRepairCertUrl","jobId","createConformanceReportUrl","_createConformanceReportUrl","createPartListReportUrl","_createPartListReportUrl","createCurrentRevisionPartListReportUrl","_createCurrentRevisionPartListReportUrl","createOtherRevisionsPartListReportUrl","_createOtherRevisionsPartListReportUrl","Styles","documentTypeTitle","default","TestChart","DataBook","InspectionReport","VendorCOC","CalculationSummary","CustomerPrint","MaterialCert","MakeBreak","DiagramPage","MaintenanceManual","AssemblyAndDisassembly","DocumentLink","_ref$loading","disabled","SerialNumberDetail","_Component","_getPrototypeOf2","classCallCheck","args","possibleConstructorReturn","getPrototypeOf","detail","documents","downloading","loadingConformanceReport","loadingPartsList","loadingCurrentRevisionPartsList","loadingOtherRevisionsPartsList","_getFileTypeName","fileType","_downloadDocuments","files","fileName","baseUrl","token","link","documentsService","setAttribute","body","appendChild","click","_downloadAllDocuments","tokens","tokenUrl","join","_openConformanceReport","reportUrl","reportsService","_openPartListReport","_openCurrentRevisionPartListReport","_openOtherRevisionsPartListReport","_openCanisterGuardDoc","canisterGuardLink","open","focus","_openLicensesDoc","licensesLink","_toggleFavorite","_this$state$detail","hasFavorite","_this$state$detail$fa","favoriteId","favoritesService","success","serialNum","_loadData","inherits","createClass","prevProps","_loadData2","_callee10","jobNum","splitSourceJobNum","gadwgCode","machiningWorkOrderNums","materialNums","maintenanceManual","assemblyAndDisassembly","_context10","epicorApi","_this2","Repairs","_props","loadingDetail","layout_Layout","Table","striped","basic","unstackable","marginBottom","Row","HeaderCell","repairInfo","Cell","canBeRepaired","levelOfService","moment","dateClosed","format","certificateUrl","rel","ndeUrl","ndeRecheckUrl","testChartUrl","colSpan","Parts","_props2","currentPartListRevision","revisionNum","replace","quantity","partDescription","PartKits","_props3","Body","partKits","GeneralInfo","_props4","loadingDocuments","Grid","stackable","columns","Column","testDate","icon","currentRevision","otherRevisions","filter","documentType","_ref11","fileId","extension","SerialNumberDetail_DocumentLink","_ref12","primary","allDocuments","downloadDocuments","_addDocument","docIdentifier","_addIdIfExists","forEach","doc","close","_this$state","panes","menuItem","layout_Page","Tab","ModalWrapper","yellowLight","Favorites","pageInfo","pageCount","totalCount","_loadPage","pageParams","_args","_unfavorite","_mutate","mutationFn","produce","_showDetail","openPortal","_renderDetailModal","closePortal","renderprops","right","SerialNumberDetail_SerialNumberDetail","_renderRow","Popup","content","form_components_FormContainer","PortalWithState","closeOnEsc","portal","react","collapsing","Group","Image","searchImage","verticalAlign","SearchHistory","selectedResult","_fetchResults","pageNumber","auditService","_openPortal","_closePortal","audit","height","epicorId","identifier","createdDate","_this$state$pageInfo","SearchHistory_Styles","debounce","Pagination","defaultActivePage","onPageChange","paginationInfo","activePage","ellipsisItem","firstItem","lastItem","prevItem","nextItem","totalPages","SerialTable","draftFn","cb","serialNumbers","slice","searchResult","Math","ceil","StyledRoot","OrderTable","ordersWithParts","partsWithSerials","_fetchPartsByOrder","order","draft","partOptions","part","revNum","revistionNumber","_selectPartNumber","orderWithParts","_orderWithParts$resul","selected","partKey","isLargeScreen","_orderWithParts$resul2","partWithSerials","partSerialOptions","poNum","orderDate","selectOnNavigation","selection","noResultsMessage","onOpen","padding","orders","_ref10","PartsTable","_fetchSerialsByPart","idx","selectable","searchKeyMap","_searchKeyMap","defineProperty","SearchResults","searchLimitExceeded","_getQueryParams","_handleSearch","queryParams","searchAction","prevState","_rowRenderFnMap","renderFn","components_OrderTable","components_PartsTable","components_SerialTable","Subheader","onClose","IndexScreen","exact","Switch","CustomerForm","handleTextChanged","_ref$autoFocus","autoFocus","control","label","AllCustomersTable","_loadCustomers","withLifecycles","_deleteCustomer","customerApi","_handleTextChanged","event","warning","_save","saving","_this$state$error","customers_CustomerForm","floated","_this$state2","AllCustomersTable_Styles","Message","cursor","AllCustomersTableWithActions","isBusy","NewCustomerForm","DateFormat","memo","date","_ref$format","utc","TimeFormat","_ref2$format","local","AuditsTable","_loadAudits","showLoading","auditApi","fullName","emailAddress","users","AllAuditsTable_Styles","usersImage","PageWrapper","security_AuthorizedRoute","AllAuditsTable","blacklist","unblacklist","BlacklistForm","isReadOnly","isBeingEdited","widths","AllBlacklistsTable","orderByName","_deleteBlacklist","Blacklist","usersApi","isBlacklisted","_loadBlacklists","Label","backgroundColor","marginLeft","blacklists_BlacklistForm","blacklists","AllBlacklistsTable_Styles","blacklistDomain","unblacklistDomain","ConfirmButton","onConfirm","_ref$loadingText","loadingText","_ref$confirmText","confirmText","_ref$confirmPosition","confirmPosition","faIconName","_ref$infoPopup","infoPopup","_ref$infoText","infoText","warningColor","_useState","useState","_useState2","slicedToArray","setOpen","AllBlacklistedDomainTable","_deleteBlacklistDomain","BlacklistDomain","_loadBlacklistDomains","confirm_delete_button","domainName","blacklistDomains","AllBlacklistedDomainTable_Styles","BlacklistDomainForm","NewBlacklistDomainScreen","userError","hasUserId","_loadBlacklistedDomains","blacklists_BlacklistDomainForm","paddingRight","NewBlacklistScreen","_blacklist","company","customerName","errorLength","errorMessages","IndexScreen_PageWrapper","whitelist","unwhitelist","WhitelistForm","AllWhitelistsTable","_deleteWhitelist","Whitelist","isWhitelisted","_loadWhitelists","whitelists_WhitelistForm","whitelists","AllWhitelistsTable_Styles","NewWhitelistScreen","_whitelist","whitelistDomain","unwhitelistDomain","AllWhitelistedDomainTable","_deleteWhitelistDomain","WhitelistDomain","_loadWhitelistDomains","whitelistDomains","AllWhitelistedDomainTable_Styles","WhitelistDomainForm","NewWhitelistDomainScreen","_loadWhitelistedDomains","whitelists_WhitelistDomainForm","whitelists_IndexScreen_PageWrapper","OrderHistory","epicorService","List","settings","_loadSettings","settingsApi","setting","substring","EditSettingsScreen","_renderForm","rows","TextArea","match","settingId","Routes","Edit","fetchPending","approvePending","denyPending","UserForm","customerOptions","shouldRenderCompanyInput","includes","shouldRenderCustomerSelector","userIsSearchOnly","roleOptions","phoneNumber","PhoneInput","inputStyle","paddingLeft","country","preferredCountries","disableAreaCodes","customerId","AllUsersTable","_deleteUser","_loadUsers","_output","then","URL","createObjectURL","Blob","shouldClearCustomer","verificationDate","lastLogin","lastSearchDate","lastPdfDownload","users_UserForm","parseInt","AllUsersTable_Styles","marginRight","CustomerAssociationPopup","selectedCustomerId","_associate","usersAccessApi","onUpdated","userIsDomainRestricted","unshift","RequestsTable","loadingButton","sortByCompany","_denyPendingUser","_approveUser","requestedAccess","CustomerAssociationPopup_CustomerAssociationPopup","isDomainRestricted","positive","RequestsTable_Styles","NewUserScreen","userApi","requestCount","_loadRequestsCount","users_IndexScreen_PageWrapper","circular","users_RequestsTable","MainLayout","modalContent","setModalContent","useEffect","cookie","find","__html","layout_AppHeader","DashboardRoutes","BlacklistRoutes","WhitelistRoutes","CustomerRoutes","AuditRoutes","UserRoutes","SettingRoutes","dangerouslySetInnerHTML","Footer","AppFooter","getFullYear","Wrapper","Segment","LogIn","password","_mutateState","_handleInputChanged","clearError","login","_this$props$location$","attached","Context","catch","horizontal","layout_AppFooter","LogInWithActions","getError","SignUp","associationRequested","_handleCheckChanged","checked","_signup","_this$state$user","Checkbox","CompleteRegistration","confirmPassword","_completeRegistration","_resetPassword","newPassword","ChangePassword","currentPassword","_changePassword","ResetPassword","ForgotPassword","initialState","getInitialState","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","D_a_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","credentials","onSuccess","removeItem","emotion__WEBPACK_IMPORTED_MODULE_0__","polished__WEBPACK_IMPORTED_MODULE_1__","black","yellowDark","errorText","contentBackground","goldPrimary","greenSecondary","injectGlobal","textInputs","darken"],"mappings":"0JAKMA,EAAkBC,YAAO,SAAAC,GAAK,OAAIC,EAAAC,EAAAC,cAACC,EAAA,EAAOC,SAAaL,IAAxC,CAAAM,OAAA,YAAGP,CAAH,gHA+BNQ,IAnBU,SAAAC,GAQnB,IAPJC,EAOID,EAPJC,SACAC,EAMIF,EANJE,QACAC,EAKIH,EALJG,uBACAC,EAIIJ,EAJJI,YAIIC,EAAAL,EAHJM,eAGI,IAAAD,EAHM,aAGNA,EAFJE,EAEIP,EAFJO,UACGf,EACCgB,OAAAC,EAAA,EAAAD,CAAAR,EAAA,qFACJ,OACEP,EAAAC,EAAAC,cAACL,EAADkB,OAAAE,OAAA,CAAiBC,OAAQT,GAAaV,EAAtC,CAA6Ce,UAAWK,aAAGL,EAAW,CAACJ,yBAAwBC,kBAC5FF,GAAWC,EAAyB,KAAOF,EAC5CR,EAAAC,EAAAC,cAACC,EAAA,EAAD,CAAQiB,OAAQX,EAASY,UAAQ,GAC/BrB,EAAAC,EAAAC,cAACoB,EAAA,EAAD,KAAST,oKCrBXU,EAAc,CAClBC,aACAC,cACAC,sCACAC,OAAQC,KAGJC,EAAoBC,YAAiBC,KACrCC,EAAmBC,OAAOC,sCAAwCC,IAElEC,EAAQC,YACZC,YAAgBf,GAChB,CACEC,SAAUe,eAEZP,EAAiBQ,YAAgBX,EAAmBY,OAGtDC,gBAAM,CAACN,UAEQA,0BCbfO,IAAUC,eAEV,IAAMC,EAASC,SAASC,eAAe,QACvCC,iBACEC,EAAAhD,EAAAC,cAACgD,EAAA,EAAD,CAAUd,MAAOA,GACfa,EAAAhD,EAAAC,cAACiD,EAAA,EAAD,CAAiBpB,QAASA,KACxBkB,EAAAhD,EAAAC,cAACkD,EAAA,EAAD,QAGJP,yPCfWQ,EAAS,CACpBC,QAASC,WACTC,QAAS,EACTC,iBAAkB,SAASC,GACzB,OAAOC,IAAGC,UAAUF,EAAQ,CAACG,WAAW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mB,YAAa,UACbvqB,aAAc,UACdwqB,eAAgB,YAIlBC,uBAAY,mSA+BFC,cA/BE,qLAgDO3qB,EAAOyD,UAhDd,yFA0DSE,YAAQ,GAAK3D,EAAOyD,WA1D7B,6CA+DOzD,EAAOyD,UA/Dd,qCAmEcmnB,YAAO,GAAK,WAnE1B,UAoEOA,YAAO,GAAK5qB,EAAOyD,WApE1B,wEA6EkBzD,EAAOqqB,WA7EzB,iEAmFoBrqB,EAAO8R,YAnF3B,qVAyHYnO,YACZ,GACA3D,EAAOoqB,OA3HP,qEA6HYzmB,YACZ,GACA3D,EAAOoqB,OA/HP,gEAiIYzmB,YAAQ,GAAK3D,EAAOoqB,OAjIhC,wDAmIOzmB,YAAQ,GAAK3D,EAAOyD,WAnI3B,kEA4IKzD,EAAOyD,UA5IZ","file":"static/js/main.9bc4ab9c.chunk.js","sourcesContent":["import React from 'react';\r\nimport {cx} from 'emotion';\r\nimport styled from 'react-emotion';\r\nimport {Dimmer, Loader} from 'semantic-ui-react';\r\n\r\nconst DimmableWrapper = styled(props => )`\r\n &.transparent {\r\n .ui.inverted.dimmer {\r\n background-color: transparent;\r\n }\r\n }\r\n\r\n &.hideContentWhenLoading {\r\n min-height: 200px;\r\n }\r\n`;\r\n\r\nconst LoadingContainer = ({\r\n children,\r\n loading,\r\n hideContentWhenLoading,\r\n transparent,\r\n message = 'Loading...',\r\n className,\r\n ...props\r\n}) => {\r\n return (\r\n \r\n {loading && hideContentWhenLoading ? null : children}\r\n \r\n {message}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default LoadingContainer;\r\n","import {combineReducers, createStore, applyMiddleware, compose} from 'redux';\r\nimport {routerReducer, routerMiddleware} from 'react-router-redux';\r\nimport thunk from 'redux-thunk';\r\nimport {setup, actionwareReducer} from 'actionware';\r\n\r\nimport history from '../features/history/index';\r\nimport identity, {getInitialState as getIdentityState} from './identity';\r\nimport customers from './customers';\r\n\r\nconst rootReducer = {\r\n identity,\r\n customers,\r\n actionwareReducer,\r\n router: routerReducer,\r\n};\r\n\r\nconst historyMiddleware = routerMiddleware(history);\r\nconst composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;\r\n\r\nconst store = createStore(\r\n combineReducers(rootReducer),\r\n {\r\n identity: getIdentityState(),\r\n },\r\n composeEnhancers(applyMiddleware(historyMiddleware, thunk))\r\n);\r\n\r\nsetup({store});\r\n\r\nexport default store;\r\n","// polyfills for browser\r\nimport 'react-app-polyfill/ie11';\r\nimport 'react-app-polyfill/stable';\r\n// =====================\r\nimport 'styles.js';\r\n\r\nimport React from 'react';\r\nimport {render} from 'react-dom';\r\nimport {Provider} from 'react-redux';\r\nimport {ConnectedRouter} from 'react-router-redux';\r\n\r\nimport store from './store/index';\r\nimport analytics from './features/analytics/index';\r\nimport history from './features/history/index';\r\nimport App from './App';\r\n\r\nanalytics.trackHistory();\r\n\r\nconst rootEl = document.getElementById('root');\r\nrender(\r\n \r\n \r\n \r\n \r\n ,\r\n rootEl\r\n);\r\n","import axios from 'axios';\r\nimport qs from 'qs';\r\nimport isAfter from 'date-fns/is_after';\r\nimport {call} from 'actionware';\r\nimport jwtDecode from 'jwt-decode';\r\nimport camelcaseKeys from 'camelcase-keys';\r\nimport {get} from 'lodash';\r\n\r\nimport {logout} from '../identity';\r\n\r\nexport const config = {\r\n baseURL: process.env.REACT_APP_API_URL || '',\r\n timeout: 0,\r\n paramsSerializer: function(params) {\r\n return qs.stringify(params, {allowDots: true});\r\n },\r\n};\r\n\r\nexport const instance = axios.create(config);\r\n// mock(instance, config);\r\n\r\nconst helper = {\r\n _tokenPromise: null,\r\n _tokenState: null,\r\n async get(url, params) {\r\n const {data} = await instance.get(url, {params});\r\n return data;\r\n },\r\n async post(url, payload) {\r\n const {data} = await instance.post(url, payload);\r\n return data;\r\n },\r\n async put(url, ...rest) {\r\n const {data} = await instance.put(url, ...rest);\r\n return data;\r\n },\r\n async patch(url, ...rest) {\r\n const {data} = await instance.patch(url, ...rest);\r\n return data;\r\n },\r\n async delete(url, ...rest) {\r\n const {data} = await instance.delete(url, ...rest);\r\n return data;\r\n },\r\n authenticate(params) {\r\n const url = `authentication?${qs.stringify({...params, _: +new Date()})}`;\r\n return this._handleNewToken(url);\r\n },\r\n refreshToken() {\r\n if (this._tokenPromise) {\r\n return this._tokenPromise;\r\n }\r\n this._tokenPromise = new Promise(async (resolve, reject) => {\r\n if (!this._tokenState) {\r\n this._tokenState = JSON.parse(localStorage.getItem('authState'));\r\n }\r\n\r\n if (!this._tokenState) {\r\n reject('No Refresh Token');\r\n } else {\r\n const params = {\r\n refreshToken: this._tokenState.refreshToken,\r\n };\r\n const url = `authentication/refresh?${qs.stringify(params)}`;\r\n try {\r\n const result = await this._handleNewToken(url);\r\n resolve(result);\r\n } catch (error) {\r\n reject(error);\r\n } finally {\r\n this._tokenPromise = null;\r\n }\r\n }\r\n });\r\n return this._tokenPromise;\r\n },\r\n getSavedToken() {\r\n this._tokenState = JSON.parse(localStorage.getItem('authState'));\r\n return this._tokenState;\r\n },\r\n async _handleNewToken(url) {\r\n const {data} = await instance.post(url);\r\n this._tokenState = data.result;\r\n this._setApiHeader();\r\n const header = `Bearer ${this._tokenState.authToken}`;\r\n instance.defaults.headers.common['Authorization'] = header;\r\n localStorage.setItem('authState', JSON.stringify(data.result));\r\n return this._tokenState;\r\n },\r\n _setApiHeader() {\r\n if (this._tokenState) {\r\n const header = `Bearer ${this._tokenState.authToken}`;\r\n instance.defaults.headers.common['Authorization'] = header;\r\n }\r\n },\r\n _isTokenExpired() {\r\n return (\r\n !this._tokenState ||\r\n isAfter(new Date(), this._tokenState.authTokenExpiration)\r\n );\r\n },\r\n};\r\n\r\nexport const GLOBAL_ERROR_KEY = '__GLOBAL_ERROR__';\r\n\r\nconst anonymousPaths = [/authentication/gi, /accounts/gi];\r\ninstance.interceptors.request.use(\r\n async config => {\r\n let originalRequest = config;\r\n\r\n const isAnonymousPath = anonymousPaths.some(matcher =>\r\n matcher.test(config.url)\r\n );\r\n const tokenIsExpired = helper._isTokenExpired();\r\n\r\n if (tokenIsExpired && !isAnonymousPath) {\r\n try {\r\n await helper.refreshToken();\r\n const header = `Bearer ${helper._tokenState.authToken}`;\r\n originalRequest.headers.common['Authorization'] = header;\r\n return originalRequest;\r\n } catch (error) {\r\n helper._tokenState = null;\r\n call(logout);\r\n return Promise.reject(error);\r\n }\r\n }\r\n return config;\r\n },\r\n err => {\r\n return Promise.reject(err);\r\n }\r\n);\r\n\r\ninstance.interceptors.response.use(\r\n response => response,\r\n async error => {\r\n const status = get(error, 'response.status', null);\r\n if ((status && status === 403) || status === 500) {\r\n console.error(error);\r\n }\r\n if (status && status === 401) {\r\n // TODO: Look at this\r\n setTimeout(() => {\r\n call(logout);\r\n }, 0);\r\n }\r\n return Promise.reject(\r\n get(error, 'response.data', {\r\n errors: [\r\n {propertyName: '', errorMessage: error.message || 'Unknown Error'},\r\n ],\r\n hasErrors: true,\r\n result: null,\r\n })\r\n );\r\n }\r\n);\r\n\r\nhelper._tokenState = JSON.parse(localStorage.getItem('authState')) || {};\r\nhelper._setApiHeader();\r\n\r\nexport function tryGetPersistedAuth() {\r\n const persistedAuthState =\r\n JSON.parse(localStorage.getItem('authState')) || {};\r\n try {\r\n return persistedAuthState.authToken\r\n ? camelcaseKeys(jwtDecode(persistedAuthState.authToken))\r\n : null;\r\n } catch (error) {\r\n return null;\r\n }\r\n}\r\n\r\nexport default helper;\r\n","import {createBrowserHistory} from 'history';\r\n\r\nconst history = createBrowserHistory({\r\n basename: '/app',\r\n});\r\n\r\nexport default history;\r\n","import history from '../history/index';\r\nimport ReactGA from 'react-ga';\r\n\r\nconst analytics = {\r\n page: pathname => {\r\n ReactGA.set({page: pathname});\r\n ReactGA.pageview(pathname);\r\n },\r\n identify: userId => {\r\n try {\r\n ReactGA.set({userId});\r\n window.Sentry.configureScope(function(scope) {\r\n scope.setUser({id: userId});\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n },\r\n reset: (...args) => {\r\n // TODO: reset user IDs for GA/Sentry\r\n },\r\n trackHistory() {\r\n analytics.page(window.location.pathname);\r\n history.listen((location, action) => {\r\n analytics.page(location.pathname);\r\n });\r\n },\r\n};\r\n\r\nif (process.env.NODE_ENV === 'production') {\r\n try\r\n {\r\n window.Sentry.init({\r\n dsn: 'https://c2120e5598f540bcb0fa6d676a791de8@sentry.io/1674719',\r\n });\r\n\r\n const trackingId = 'UA-35815154-2';\r\n ReactGA.initialize(trackingId);\r\n }\r\n catch{}\r\n} else {\r\n Object.keys(analytics).forEach(key => {\r\n analytics[key] = (...args) => {\r\n console.info(key, ...args);\r\n };\r\n });\r\n}\r\n\r\nexport default analytics;\r\n","module.exports = __webpack_public_path__ + \"static/media/users.053591a2.svg\";","export const APP_NAME = ' Client Portal';\r\nexport const COMPANY_NAME = 'M&M International';\r\n\r\nexport const ROLES = {\r\n SEARCH_ONLY: 'Search Only',\r\n CUSTOMER_USER: 'Customer User',\r\n CUSTOMER_ADMIN: 'Customer Admin',\r\n MM_ADMIN: 'M&M Admin',\r\n SYSTEM_ADMIN: 'System Admin',\r\n};\r\n\r\nexport const SEARCH_KEYS = {\r\n SERIAL_NUMBER: 'serial-number',\r\n PART_NUMBER: 'part-number',\r\n PO_NUMBER: 'po-number',\r\n};\r\n\r\nexport const SEARCH_HEADERS = {\r\n SERIAL_NUMBER: 'Serial Number',\r\n PART_NUMBER: 'Part Number',\r\n PO_NUMBER: 'P.O. Number',\r\n};\r\n\r\nexport const SEARCH_KEY_HEADERS = {\r\n [SEARCH_KEYS.SERIAL_NUMBER]: 'Serial Number',\r\n [SEARCH_KEYS.PART_NUMBER]: 'Part Number',\r\n [SEARCH_KEYS.PO_NUMBER]: 'P.O. Number',\r\n};\r\n\r\nexport const RoleList = Object.keys(ROLES).map(x => ROLES[x]);\r\n","import React, { PureComponent } from 'react';\r\nimport isFunction from 'lodash/isFunction';\r\n\r\nconst I18nContext = React.createContext();\r\n\r\nexport const i18nDictionary = {\r\n 'en-US': {\r\n BLANK: '',\r\n 'login.header': 'Welcome to M&M Client Portal',\r\n 'login.form.emailAddress': 'Email Address',\r\n 'login.form.password': 'Password',\r\n 'login.form.button.login': 'Log In',\r\n 'login.form.button.forgotPassword': 'Forgot Password?',\r\n 'login.form.button.signUp': 'Sign Up',\r\n 'signup.header': 'Sign Up for M&M Client Portal',\r\n 'signup.form.emailAddress': 'Email Address',\r\n 'signup.form.firstName': 'First Name',\r\n 'signup.form.lastName': 'Last Name',\r\n 'signup.form.company': 'Company',\r\n 'signup.form.title': 'Title',\r\n 'signup.form.phoneNumber': 'Phone Number',\r\n 'signup.form.button.signup': 'Sign Up',\r\n 'signup.form.button.returnToLogin': 'Return to Log In',\r\n 'signup.form.button.checkEmail':\r\n 'Check your email to complete registration.',\r\n 'signup.form.button.getAssistance':\r\n 'Contact M&M for support to continue your registration.',\r\n 'resetPassword.form.header': 'Reset Password',\r\n 'resetPassword.form.newPassword': 'New Password',\r\n 'resetPassword.form.confirmPassword': 'Confirm Password',\r\n 'resetPassword.form.button.submit': 'Submit',\r\n 'resetPassword.form.link.returnToLogin': 'Return to Log In',\r\n 'resetPassword.form.link.success': 'Your password has been reset.',\r\n 'forgotPassword.form.header': 'Forgot Password',\r\n 'forgotPassword.form.emailAddress': 'Email Address',\r\n 'forgotPassword.form.button.submit': 'Submit',\r\n 'forgotPassword.form.link.returnToLogin': 'Return to Log In',\r\n 'forgotPassword.form.checkEmail':\r\n 'Check your email to reset your password.',\r\n 'completeRegistration.form.header': 'Complete Registration',\r\n 'completeRegistration.form.password': 'Password',\r\n 'completeRegistration.form.confirmPassword': 'Confirm Password',\r\n 'completeRegistration.form.button.submit': 'Submit',\r\n 'footer.supportLink': 'Call 1-800-551-8900 for support',\r\n 'footer.button.reportIssue': 'Report Issue',\r\n 'navigation.report-issue': 'Help',\r\n 'navigation.logout': 'Log Out',\r\n 'dashboard.favorites': 'Favorites',\r\n 'dashboard.history': 'History',\r\n 'dashboard.tab-title.purchase-orders': ({ count }) =>\r\n `Purchase Orders (${count})`,\r\n 'dashboard.tab-title.part-numbers': ({ count }) => `Part Numbers (${count})`,\r\n 'dashboard.tab-title.serial-numbers': ({ count }) =>\r\n `Serial Numbers (${count})`,\r\n },\r\n fr: {\r\n 'navigation.report-issue': 'Report Issue',\r\n 'navigation.logout': 'Log Out',\r\n 'dashboard.favorites': 'Le´ Favorites',\r\n 'dashboard.history': 'Le´ History',\r\n 'dashboard.tab-title.purchase-orders': ({ count }) =>\r\n `Purchase Orders (${count})`,\r\n 'dashboard.tab-title.part-numbers': ({ count }) => `Part Numbers (${count})`,\r\n 'dashboard.tab-title.serial-numbers': ({ count }) =>\r\n `Serial Numbers (${count})`,\r\n },\r\n};\r\n\r\nexport const getBrowserLanguage = (defaultLanguage = 'en-US') =>\r\n i18nDictionary[navigator.language] ||\r\n i18nDictionary[defaultLanguage] ||\r\n i18nDictionary['en-US'];\r\n\r\nexport function withLocale(Component) {\r\n return function LocaleAwareComponent(props) {\r\n return (\r\n \r\n {locale => }\r\n \r\n );\r\n };\r\n}\r\n\r\nexport const FormattedMessage = withLocale(\r\n class extends PureComponent {\r\n render() {\r\n const { locale, id, values = {} } = this.props;\r\n const accessor = locale[id];\r\n return isFunction(accessor) ? accessor(values) : accessor;\r\n }\r\n }\r\n);\r\n\r\nexport default I18nContext;\r\n","import React from 'react';\r\nimport {Message} from 'semantic-ui-react';\r\n\r\nexport const ErrorMessages = ({error = {}}) => {\r\n const hasErrors = error && !!(error.errors || []).length;\r\n return (\r\n hasErrors && (\r\n \r\n {(error.errors || []).map(x => (\r\n

{x.errorMessage}

\r\n ))}\r\n
\r\n )\r\n );\r\n};\r\n","import React, {Component} from 'react';\r\nimport {Route, Redirect, Switch} from 'react-router-dom';\r\nimport {withRouter} from 'react-router';\r\nimport {hot} from 'react-hot-loader';\r\n\r\nimport api, {tryGetPersistedAuth} from './store/services/api';\r\nimport {onLoginSuccess} from './store/identity';\r\nimport MainRoutes from './features/layout/MainRoutes';\r\nimport PrivateRoute from './features/security/PrivateRoute';\r\nimport AccountRoutes from './features/account/Routes';\r\nimport I18nContext, {getBrowserLanguage} from './features/i18n/Context';\r\nimport LoadingContainer from './features/layout/LoadingContainer';\r\n\r\nclass App extends Component {\r\n state = {\r\n locale: getBrowserLanguage(),\r\n authCheck: false,\r\n };\r\n\r\n async componentDidMount() {\r\n try {\r\n const user = tryGetPersistedAuth();\r\n if (user) {\r\n await api.get('users/me');\r\n onLoginSuccess({payload: user});\r\n }\r\n } catch (error) {\r\n } finally {\r\n this.setState({authCheck: true});\r\n }\r\n }\r\n\r\n render() {\r\n if (!this.state.authCheck) {\r\n return (\r\n \r\n );\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default hot(module)(withRouter(App));\r\n","module.exports = __webpack_public_path__ + \"static/media/logo-text.72278767.png\";","import {createReducer} from 'actionware';\r\nimport customersApi from './services/customers';\r\n\r\n// state tree\r\nconst initialState = {\r\n data: [],\r\n};\r\n\r\n// actions/action creators\r\nexport const fetch = (page, pageSize = 0, searchTerm, orderByEpicor) =>\r\n customersApi.fetch({\r\n page: page,\r\n pageSize: pageSize,\r\n searchTerm: searchTerm,\r\n sortByEpicor: orderByEpicor,\r\n });\r\n\r\n// reducer\r\nconst reducer = createReducer(initialState).on(fetch, (state, response) => {\r\n return {\r\n ...state,\r\n data: response.result.data,\r\n };\r\n});\r\n\r\nexport default reducer;\r\n","import api from './api';\r\n\r\nconst restify = basePath => ({\r\n fetch: params => {\r\n return api.get(basePath, params);\r\n },\r\n fetchById: id => {\r\n return api.get(`${basePath}/${id}`);\r\n },\r\n create: customer => {\r\n return api.post(basePath, customer);\r\n },\r\n update: customer => {\r\n return api.put(`${basePath}/${customer.id}`, customer);\r\n },\r\n approveDomain: customer => {\r\n return api.put(`${basePath}/approve-domain/${customer.id}`, customer);\r\n },\r\n denyDomain: userId => {\r\n return api.patch(`${basePath}/deny-domain`, userId);\r\n },\r\n export: () => {\r\n return api.get(`${basePath}` + '/export');\r\n },\r\n remove: customer => {\r\n return api.delete(`${basePath}/${customer.id}`);\r\n },\r\n fetchByEmail: email => {\r\n return api.get(`${basePath}` + '/email/' + `${email}`);\r\n },\r\n});\r\n\r\nexport default restify;\r\n","import restify from './restify';\r\nexport default restify('customers');\r\n","import React, {createElement} from 'react';\r\nimport {Redirect, Route} from 'react-router-dom';\r\nimport {connect} from 'react-redux';\r\nimport types from 'prop-types';\r\n\r\nexport const PrivateRoute = ({component, render, user, ...rest}) => {\r\n const canRoute = !!user;\r\n\r\n return (\r\n \r\n canRoute ? (\r\n component ? (\r\n createElement(component, props)\r\n ) : (\r\n render(props)\r\n )\r\n ) : (\r\n \r\n )\r\n }\r\n />\r\n );\r\n};\r\n\r\nPrivateRoute.propTypes = {\r\n user: types.object,\r\n};\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n user: state.identity.user,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps)(PrivateRoute);\r\n","import React, {createElement} from 'react';\r\nimport {Redirect, Route} from 'react-router-dom';\r\nimport {connect} from 'react-redux';\r\nimport types from 'prop-types';\r\n\r\nimport toastr from 'toastr';\r\n\r\nexport const AuthorizedRoute = ({\r\n component,\r\n render,\r\n userRole,\r\n roles = [],\r\n ...rest\r\n}) => {\r\n const canRoute = roles.indexOf(userRole) !== -1;\r\n\r\n if (!canRoute) {\r\n toastr.info('You are not authorized to visit the requested page');\r\n }\r\n\r\n return (\r\n \r\n canRoute ? (\r\n component ? (\r\n createElement(component, props)\r\n ) : (\r\n render(props)\r\n )\r\n ) : (\r\n \r\n )\r\n }\r\n />\r\n );\r\n};\r\n\r\nAuthorizedRoute.propTypes = {\r\n userRole: types.string,\r\n};\r\n\r\nconst mapStateToProps = state => {\r\n const {user = {}} = state.identity;\r\n return {\r\n userRole: user.role,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps)(AuthorizedRoute);\r\n","import {css} from 'emotion';\r\nimport styled from 'react-emotion';\r\n\r\n// common styled components\r\nexport const flex = css`\r\n display: flex;\r\n`;\r\nexport const column = css`\r\n flex-direction: column;\r\n`;\r\nexport const row = css`\r\n flex-direction: row;\r\n`;\r\n\r\nexport const scollY = css`\r\n overflow-y: auto;\r\n -webkit-overflow-scrolling: touch;\r\n`;\r\n\r\nexport const layout = props => css`\r\n ${flex};\r\n flex: 1;\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n ${props.type === 'row' ? row : column};\r\n`;\r\n\r\nexport const floating = css`\r\n box-shadow: 0 4px 2px -3px grey;\r\n z-index: 1;\r\n`;\r\n\r\nexport const box = props => css`\r\n display: flex;\r\n align-items: ${props.align || 'center'};\r\n ${props.column ? column : row};\r\n`;\r\n\r\nexport const fill = props => css`\r\n flex: 1;\r\n position: relative;\r\n ${props.scroll\r\n ? scollY\r\n : css`\r\n overflow-y: hidden;\r\n `};\r\n ${props.padded &&\r\n css`\r\n padding: 15px;\r\n `};\r\n`;\r\n\r\nexport const fixed = props => css`\r\n position: relative;\r\n ${props.padded &&\r\n css`\r\n padding: 15px;\r\n `};\r\n ${props.floating && floating};\r\n`;\r\n\r\nconst Layout = styled.div`\r\n ${layout};\r\n`;\r\nLayout.Box = styled.div`\r\n ${box};\r\n`;\r\nLayout.Flex = styled.div`\r\n ${flex};\r\n`;\r\nLayout.Fill = styled.div`\r\n ${fill};\r\n`;\r\nLayout.Fixed = styled.div`\r\n ${fixed};\r\n`;\r\n\r\nexport default Layout;\r\n","import {connect} from 'react-redux';\r\nimport types from 'prop-types';\r\n\r\nexport {ROLES} from '../../constants';\r\n\r\nexport const RequiresRole = ({userRole, roles = [], children}) => {\r\n if (roles.indexOf(userRole) === -1) {\r\n return null;\r\n }\r\n\r\n return children || null;\r\n};\r\n\r\nRequiresRole.propTypes = {\r\n roles: types.array,\r\n userRole: types.string.isRequired,\r\n};\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n userRole: state.identity.user.role,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps)(RequiresRole);\r\n","import React, {Component} from 'react';\r\nimport {withRouter} from 'react-router';\r\nimport {Link, NavLink} from 'react-router-dom';\r\nimport {\r\n Dropdown,\r\n Menu,\r\n Icon,\r\n Responsive,\r\n Modal,\r\n Header,\r\n} from 'semantic-ui-react';\r\nimport {connect} from 'react-redux';\r\nimport styled from 'react-emotion';\r\nimport {cx} from 'emotion';\r\nimport {withActions} from 'actionware';\r\n\r\nimport logo from '../assets/logo-text.png';\r\nimport {logout} from '../../store/identity';\r\nimport * as styles from './Layout';\r\nimport RequiresRole, {ROLES} from '../security/RequiresRole';\r\nimport {colors} from '../../styles';\r\n\r\nconst MenuWrapper = styled.div`\r\n ${styles.fixed};\r\n z-index: 1;\r\n background: #fff;\r\n padding: 20px 45px;\r\n border-bottom: solid 1px #e6e6e3;\r\n\r\n .ui.menu .item > img:not(.ui) {\r\n width: 7em;\r\n }\r\n\r\n .ui.menu {\r\n font-size: 0.9rem;\r\n\r\n .item {\r\n text-transform: uppercase;\r\n\r\n & > i.icon {\r\n }\r\n }\r\n }\r\n\r\n .ui.secondary.pointing.menu {\r\n border-bottom: 2px solid #fff;\r\n display: flex;\r\n align-items: center;\r\n\r\n .item {\r\n align-self: center;\r\n\r\n &.active.dropdown {\r\n border-color: #dfae38;\r\n }\r\n }\r\n }\r\n\r\n .menu-divider {\r\n display: flex;\r\n width: 1px;\r\n margin: 10px 1px 10px 0;\r\n border-right: solid 1px rgba(0, 0, 0, 0.2);\r\n }\r\n`;\r\n\r\nclass AppHeader extends Component {\r\n _renderUserMenu = () => {\r\n const {user} = this.props;\r\n return (\r\n \r\n {`Hi, ${user.firstName} ${user.lastName} `}\r\n }\r\n >\r\n \r\n \r\n Change Password\r\n \r\n Logout\r\n \r\n Support}\r\n centered={false}\r\n size=\"tiny\"\r\n >\r\n \r\n \r\n Support for the M&M Int’l Product Documentation Portal\r\n \r\n

\r\n If you encounter a problem when using our Product\r\n Documentation Portal, have any questions about your\r\n documentation, or would like to request access to search by\r\n your company’s P.O. or part numbers, please contact us at{' '}\r\n \r\n portalsupport@mmvalve.com\r\n \r\n .\r\n

\r\n
\r\n \r\n
\r\n \r\n
\r\n );\r\n };\r\n\r\n render() {\r\n const isManage = this.props.location.pathname.indexOf('/manage') === 0;\r\n return (\r\n \r\n \r\n \r\n \"M&M\r\n \r\n \r\n \r\n \r\n Order History\r\n \r\n \r\n Manage Users\r\n \r\n \r\n \r\n Manage}\r\n className={cx({active: isManage})}\r\n >\r\n \r\n \r\n Blacklists\r\n \r\n \r\n Whitelists\r\n \r\n \r\n Customers\r\n \r\n \r\n Users\r\n \r\n \r\n Searches\r\n \r\n \r\n \r\n Settings\r\n \r\n \r\n \r\n \r\n \r\n \r\n Product Documentation\r\n \r\n \r\n {this._renderUserMenu()}\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({identity}) => ({\r\n user: identity.user,\r\n});\r\n\r\nconst WithActions = withActions({logout})(AppHeader);\r\nconst Connected = connect(mapStateToProps)(WithActions);\r\nexport default withRouter(Connected);\r\n","import React, {Component} from 'react';\r\nimport styled from 'react-emotion';\r\nimport qs from 'qs';\r\nimport {Input, Form, Select, Button, Responsive} from 'semantic-ui-react';\r\nimport {withRouter} from 'react-router';\r\n\r\nimport RequiresRole, {ROLES} from '../security/RequiresRole';\r\nimport {SEARCH_KEYS, SEARCH_HEADERS, SEARCH_KEY_HEADERS} from '../../constants';\r\n\r\nconst FormWrapper = styled(Form)`\r\n &.ui.form {\r\n margin-bottom: 0;\r\n @media (max-width: 850px) {\r\n flex-direction: column-reverse;\r\n display: flex;\r\n }\r\n\r\n .inline.fields {\r\n margin-bottom: 0;\r\n\r\n .field {\r\n display: flex;\r\n }\r\n }\r\n\r\n .field {\r\n .ui.button {\r\n background: #dfae38;\r\n color: #fff;\r\n border-radius: 30px !important;\r\n margin-top: 10px;\r\n }\r\n .ui.input.search {\r\n padding: 3px;\r\n background: #fff;\r\n border: solid 1px rgba(0, 0, 0, 0.2);\r\n border-radius: 30px;\r\n\r\n input {\r\n border: none;\r\n border-radius: 30px;\r\n }\r\n\r\n .ui.selection.dropdown {\r\n border: none;\r\n box-shadow: none;\r\n }\r\n\r\n .visible.menu {\r\n border: none;\r\n }\r\n\r\n .ui.button {\r\n margin-left: 10px;\r\n margin-top: 0;\r\n }\r\n }\r\n }\r\n\r\n label,\r\n .inline.fields > label {\r\n font-size: 0.8rem;\r\n text-transform: uppercase;\r\n color: #888;\r\n\r\n @media (max-width: 400px) {\r\n font-size: 0.7rem;\r\n }\r\n }\r\n\r\n .ui.input.search {\r\n .ui.dropdown {\r\n display: inline-flex;\r\n font-size: 13px;\r\n border-top-left-radius: 15px;\r\n border-bottom-left-radius: 15px !important;\r\n padding-top: 0px;\r\n padding-bottom: 0px;\r\n align-items: center;\r\n margin-top: 4px;\r\n }\r\n }\r\n\r\n .ui.action.input:not([class*='left action']) > input {\r\n margin-right: 2px;\r\n border-top-right-radius: 15px !important;\r\n border-bottom-right-radius: 15px !important;\r\n }\r\n }\r\n\r\n .search-type-selector .text {\r\n position: relative;\r\n top: -2px;\r\n }\r\n`;\r\n\r\nconst options = [\r\n {text: SEARCH_HEADERS.SERIAL_NUMBER, value: SEARCH_KEYS.SERIAL_NUMBER},\r\n {text: SEARCH_HEADERS.PART_NUMBER, value: SEARCH_KEYS.PART_NUMBER},\r\n {text: SEARCH_HEADERS.PO_NUMBER, value: SEARCH_KEYS.PO_NUMBER},\r\n];\r\n\r\nclass DocumentationSearchForm extends Component {\r\n state = {\r\n searchKey:\r\n qs.parse(this.props.location.search.substr(1)).key || 'serial-number',\r\n };\r\n\r\n _handleChange = (e, {value}) => {\r\n this.setState({searchKey: value});\r\n };\r\n\r\n _handleSave = e => {\r\n const params = {\r\n query: e.target.search.value,\r\n key: this.state.searchKey,\r\n };\r\n\r\n if (e.target.search.value.length < 3) {\r\n alert('Search term must be at least 3 characters');\r\n } else {\r\n this.props.history.push(\r\n `/product-documentation/search?${qs.stringify(params)}`\r\n );\r\n e.target.reset();\r\n }\r\n };\r\n\r\n render() {\r\n const searchHeader = SEARCH_KEY_HEADERS[this.state.searchKey] || '';\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default withRouter(DocumentationSearchForm);\r\n","import React from 'react';\r\nimport types from 'prop-types';\r\nimport styled from 'react-emotion';\r\nimport {Container, Header} from 'semantic-ui-react';\r\nimport DocumentationSearchForm from '../dashboard/DocumentationSearchForm';\r\n\r\nimport Layout, * as styles from './Layout';\r\nimport {colors} from '../../styles';\r\nimport {lighten} from 'polished';\r\n\r\nconst Page = Layout;\r\n\r\nconst PageHeaderWrapper = styled.div`\r\n padding: 35px 45px 10px;\r\n margin-right: -45px;\r\n margin-left: -45px;\r\n margin-top: -15px;\r\n min-height: 100px;\r\n background-color: ${colors.headerBackground};\r\n\r\n @media (max-width: 650px) {\r\n padding: 25px 15px 10px;\r\n margin-right: -15px;\r\n margin-left: -15px;\r\n }\r\n\r\n .ui.header {\r\n color: ${colors.textLabel};\r\n }\r\n`;\r\n\r\nconst PageSecondaryHeaderWrapper = styled.div`\r\n padding: 0 45px;\r\n margin: 0 -45px 10px;\r\n height: 44px;\r\n background-color: ${colors.headerBackground};\r\n\r\n @media (max-width: 650px) {\r\n margin: 0 -15px 10px;\r\n }\r\n\r\n .ui.secondary.pointing.menu {\r\n height: 44px;\r\n border-bottom: 2px solid ${colors.headerBackground};\r\n\r\n font-size: 0.9rem;\r\n\r\n .item {\r\n text-transform: uppercase;\r\n font-weight: bold;\r\n color: ${lighten(0.1, colors.textLabel)};\r\n\r\n &.active {\r\n color: #444;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst WrapperComponent = ({fluid, children}) => {\r\n return {children};\r\n};\r\n\r\nPage.Header = ({children, fluid, className, ...rest}) => (\r\n \r\n \r\n
\r\n {children}\r\n
\r\n
\r\n
\r\n);\r\n\r\nPage.Secondary = ({children, fluid, className, ...rest}) => (\r\n \r\n {children}\r\n \r\n);\r\n\r\nPage.HeaderActions = styled.div`\r\n ${styles.box};\r\n\r\n .ui.input > input {\r\n font-size: 1.1rem;\r\n }\r\n\r\n .ui.header & {\r\n .button.icon:only-child {\r\n display: block;\r\n padding: 0.78571429em;\r\n margin-right: 0em !important;\r\n }\r\n }\r\n`;\r\n\r\nPage.FillTitle = styled(Page.Fill)`\r\n align-items: flex-start;\r\n display: flex;\r\n`;\r\n\r\nPage.HeaderWithActions = ({title, children, className}) => (\r\n label': {\r\n display: 'block',\r\n width: '100%',\r\n },\r\n },\r\n }}\r\n >\r\n {title}\r\n \r\n {children}\r\n \r\n \r\n);\r\n\r\nPage.HeaderWithActions.propTypes = {\r\n title: types.node.isRequired,\r\n children: types.node.isRequired,\r\n};\r\n\r\nPage.Content = styled.div`\r\n flex: 1;\r\n position: relative;\r\n overflow-y: auto;\r\n padding: 15px;\r\n`;\r\n\r\nPage.Basic = ({title, secondary, children, fluid, className}) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {secondary}\r\n {children}\r\n \r\n \r\n);\r\n\r\nPage.Basic.propTypes = {\r\n title: types.node,\r\n children: types.node.isRequired,\r\n};\r\n\r\nexport default Page;\r\n","import api from './api';\r\n\r\nconst service = {\r\n fetch: params => api.get('favorites', params),\r\n favorite: params => api.post('favorites', params),\r\n unfavorite: id => api.delete(`favorites/${id}`),\r\n};\r\n\r\nexport default service;\r\n","import React from 'react';\r\nimport {Dimmer, Loader} from 'semantic-ui-react';\r\nimport {css} from 'emotion';\r\nimport styled from 'react-emotion';\r\nimport types from 'prop-types';\r\nimport {colors} from '../../styles';\r\n\r\nconst DimmableWrapper = styled(({center, ...rest}) => (\r\n \r\n))`\r\n padding: 0 0 20px;\r\n background: #fff;\r\n margin-bottom: 10px;\r\n min-height: 100px;\r\n margin-top: 50px;\r\n\r\n h1.ui.header {\r\n margin-bottom: 40px;\r\n font-size: 1.3rem;\r\n font-weight: normal;\r\n\r\n .sub.header {\r\n font-size: 0.9rem;\r\n color: ${colors.textLabel};\r\n }\r\n }\r\n\r\n h2.ui.header {\r\n font-weight: normal;\r\n }\r\n\r\n ${props =>\r\n props.center &&\r\n css`\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n `};\r\n`;\r\n\r\nconst FormContainer = ({children, loading, ...props}) => {\r\n return (\r\n \r\n {children}\r\n \r\n Loading...\r\n \r\n \r\n );\r\n};\r\n\r\nFormContainer.propTypes = {\r\n children: types.node.isRequired,\r\n /** Show a loading indicator */\r\n loading: types.bool,\r\n /** Center the component vertically and horizontally using flexbox */\r\n center: types.bool,\r\n};\r\n\r\nFormContainer.displayName = 'FormContainer';\r\n\r\nexport default FormContainer;\r\n","import {uniqBy} from 'lodash';\r\nimport api from './api';\r\n\r\n/**\r\n * PurchaseOrders\r\n * GET /api/v1/purchase-orders\r\n * GET /api/v1/purchase-orders/{purchaseOrderId}\r\n *\r\n * SerialNumbers\r\n * GET /api/v1/serials/{sysRowID}\r\n * GET /api/v1/orders/{sysRowID}/serials\r\n *\r\n * PartNumbers\r\n * GET /api/v1/part-numbers/{partNumberId}\r\n * GET /api/v1/serial-numbers/{serialNumberId}/part-numbers\r\n */\r\n\r\nconst service = {\r\n searchByPurchaseOrderNumber: purchaseOrderNumber =>\r\n api.get(`search/by-order-number`, {\"orderNumber\": purchaseOrderNumber}),\r\n searchBySerialNumber: serialNumber =>\r\n api.get(`search/by-serial-number`, {\"serialNumber\": serialNumber}),\r\n searchByPartNumber: partNumber =>\r\n api.get(`search/by-part-number`, {\"partNumber\": encodeURIComponent(partNumber)}),\r\n fetchSerial: sysRowID => api.get(`serials/${sysRowID}`),\r\n fetchSerialsByPartNum: async partNum => {\r\n api.get(`parts/${encodeURIComponent(partNum)}/audit`);\r\n const {result} = await api.get(\r\n `parts/${encodeURIComponent(partNum)}/serials`\r\n );\r\n return uniqBy(result, 'sysRowID');\r\n },\r\n fetchOrders: () => api.get(`orders/`),\r\n fetchOrderPartSerials: (orderNum, partNum) =>\r\n api.get(`order/${orderNum}/parts/${encodeURIComponent(partNum)}/serials`),\r\n fetchPartsByOrderSysRowID: async sysRowID => {\r\n try {\r\n const {result: orderDetails} = await api.get(`orders/${sysRowID}`);\r\n const partsUrl = `orders/${orderDetails.orderNum}/parts`;\r\n const {result: parts} = await api.get(partsUrl);\r\n return {\r\n ...orderDetails,\r\n parts,\r\n };\r\n } catch (error) {\r\n throw new Error('Unable to fetch order details');\r\n }\r\n },\r\n};\r\n\r\nexport default service;\r\n","import api, {config} from './api';\r\n\r\nconst service = {\r\n enumerate: params => api.get('documents', params),\r\n createReportToken: payload => api.post('documents/download', payload),\r\n createAllReportTokens: (sysRowId, payload) =>\r\n api.post(`documents/download-all/${sysRowId}`, payload),\r\n createUploadedJobDocUrl: async jobDocId => {\r\n const response = await api.get(\r\n `documents/uploaded-job-doc/generate/${jobDocId}`\r\n );\r\n if (response.hasErrors) {\r\n return undefined;\r\n }\r\n\r\n return `${config.baseURL}documents/uploaded-job-doc/${response.result}`;\r\n },\r\n createRepairCertUrl: async jobId => {\r\n const response = await api.get(`documents/repair-cert/generate/${jobId}`);\r\n if (response.hasErrors) {\r\n return undefined;\r\n }\r\n\r\n return `${config.baseURL}documents/repair-cert/${response.result}`;\r\n },\r\n};\r\n\r\nexport default service;\r\n","import api, {config} from './api';\r\n\r\nconst service = {\r\n createConformanceReportUrl: async sysRowId => {\r\n const response = await api.get(`report/coc/generate/${sysRowId}`);\r\n if (response.hasErrors) {\r\n return undefined;\r\n }\r\n\r\n return `${config.baseURL}report/coc/${response.result}`;\r\n },\r\n createPartListReportUrl: async sysRowId => {\r\n const response = await api.get(`report/part-list/generate/${sysRowId}`);\r\n if (response.hasErrors) {\r\n return undefined;\r\n }\r\n\r\n return `${config.baseURL}report/part-list/${response.result}`;\r\n },\r\n createCurrentRevisionPartListReportUrl: async sysRowId => {\r\n const response = await api.get(`report/part-list-current-revision/generate/${sysRowId}`);\r\n if (response.hasErrors) {\r\n return undefined;\r\n }\r\n\r\n return `${config.baseURL}report/part-list-current-revision/${response.result}`;\r\n },\r\n createOtherRevisionsPartListReportUrl: async sysRowId => {\r\n const response = await api.get(`report/part-list-other-revisions/generate/${sysRowId}`);\r\n if (response.hasErrors) {\r\n return undefined;\r\n }\r\n\r\n return `${config.baseURL}report/part-list-other-revisions/${response.result}`;\r\n },\r\n};\r\n\r\nexport default service;\r\n","import React, {Component} from 'react';\r\nimport {Grid, Header, Button, Icon, Table, Tab} from 'semantic-ui-react';\r\nimport toastr from 'toastr';\r\nimport styled, {css} from 'react-emotion';\r\nimport moment from 'moment';\r\n\r\nimport RequiresRole, {ROLES} from '../security/RequiresRole';\r\nimport epicorApi from '../../store/services/epicor';\r\nimport documentsService from '../../store/services/documents';\r\nimport reportsService from '../../store/services/reports';\r\nimport favoritesService from '../../store/services/favorites';\r\nimport Layout from '../layout/Layout';\r\nimport LoadingContainer from '../layout/LoadingContainer';\r\nimport Page from '../layout/Page';\r\nimport {some} from 'lodash';\r\n\r\nconst Styles = styled.div`\r\n .ui.button.download-button {\r\n background: #e3af25;\r\n color: #fff;\r\n display: flex;\r\n align-items: center;\r\n text-align: left;\r\n margin-bottom: 10px;\r\n min-height: 45px;\r\n border-radius: 0;\r\n\r\n > i.icon {\r\n margin-right: 15px !important;\r\n }\r\n }\r\n`;\r\n\r\nexport const documentTypeTitle = {\r\n default: 'Document',\r\n TestChart: 'Test Chart',\r\n DataBook: 'Complete Data Book',\r\n InspectionReport: 'Inspection Report',\r\n VendorCOC: 'Connection COC', // Changed from 'Vendor COC' to 'Connection COC' per Kelley's request.\r\n CalculationSummary: 'Calculation Summary',\r\n CustomerPrint: 'Customer Print',\r\n MaterialCert: 'Material Certification',\r\n MakeBreak: 'Make Breaks',\r\n DiagramPage: 'General Assembly Drawing',\r\n MaintenanceManual: 'Maintenance Manual',\r\n AssemblyAndDisassembly: 'Assembly & Disassembly',\r\n};\r\n\r\nconst DocumentLink = ({id, title, type, loading = false, onClick}) => (\r\n \r\n
\r\n \r\n \r\n {documentTypeTitle[type] || documentTypeTitle['default']}\r\n \r\n
\r\n
\r\n \r\n);\r\n\r\nexport class SerialNumberDetail extends Component {\r\n state = {\r\n detail: undefined,\r\n documents: undefined,\r\n downloading: false,\r\n loadingConformanceReport: false,\r\n loadingPartsList: false,\r\n loadingCurrentRevisionPartsList: false,\r\n loadingOtherRevisionsPartsList: false,\r\n };\r\n\r\n componentDidMount() {\r\n this._loadData(this.props.sysRowId);\r\n }\r\n\r\n componentDidUpdate(prevProps) {\r\n if (prevProps.sysRowId !== this.props.sysRowId) {\r\n this._loadData(this.props.sysRowId);\r\n }\r\n }\r\n\r\n async _loadData() {\r\n try {\r\n const {sysRowId} = this.props;\r\n this.setState({detail: undefined, documents: undefined});\r\n const detail = (await epicorApi.fetchSerial(this.props.sysRowId)).result;\r\n if (this.props.sysRowId === sysRowId) {\r\n this.setState({detail});\r\n const {\r\n serialNumber,\r\n partNum,\r\n jobNum,\r\n splitSourceJobNum,\r\n gadwgCode,\r\n machiningWorkOrderNums,\r\n materialNums,\r\n maintenanceManual,\r\n assemblyAndDisassembly,\r\n } = detail;\r\n const documents = (\r\n await documentsService.enumerate({\r\n serialNumber,\r\n partNum,\r\n jobNum,\r\n splitSourceJobNum,\r\n gadwgCode,\r\n machiningWorkOrderNums,\r\n materialNums,\r\n maintenanceManual,\r\n assemblyAndDisassembly,\r\n })\r\n ).result;\r\n\r\n if (this.props.sysRowId === sysRowId) {\r\n this.setState({documents});\r\n }\r\n }\r\n } catch (error) {\r\n this.setState({error});\r\n }\r\n }\r\n\r\n _getFileTypeName = fileType => {\r\n if (fileType === 'VendorCOC') return 'ConnectionCOC';\r\n\r\n return fileType;\r\n };\r\n\r\n _downloadDocuments = async (files, fileName) => {\r\n if (this.state.downloading) return;\r\n\r\n const baseUrl = process.env.REACT_APP_API_URL || '';\r\n\r\n try {\r\n const token = (\r\n await documentsService.createReportToken({\r\n documents: files,\r\n })\r\n ).result;\r\n if (token) {\r\n var url = `${baseUrl}documents/download/${token}?fileName=${fileName}`;\r\n const link = document.createElement('a');\r\n link.href = url;\r\n link.setAttribute('download', fileName);\r\n document.body.appendChild(link);\r\n link.click();\r\n }\r\n this.setState({downloading: false});\r\n } catch (error) {\r\n this.setState({error, downloading: false});\r\n }\r\n };\r\n\r\n _downloadAllDocuments = async (sysRowId, files, fileName) => {\r\n if (this.state.downloading) return;\r\n\r\n const baseUrl = process.env.REACT_APP_API_URL || '';\r\n\r\n try {\r\n this.setState({downloading: true});\r\n const tokens = (\r\n await documentsService.createAllReportTokens(sysRowId, {\r\n documents: files,\r\n })\r\n ).result;\r\n if (tokens) {\r\n const tokenUrl = tokens.join('&reportTokens=');\r\n const url = `${baseUrl}documents/download-all/?reportTokens=${tokenUrl}&fileName=${fileName}`;\r\n\r\n const link = document.createElement('a');\r\n link.href = url;\r\n link.setAttribute('download', fileName);\r\n document.body.appendChild(link);\r\n link.click();\r\n }\r\n setTimeout(() => {\r\n this.setState({downloading: false});\r\n }, 12000);\r\n } catch (error) {\r\n this.setState({error, downloading: false});\r\n }\r\n };\r\n\r\n _openConformanceReport = async () => {\r\n const {sysRowID} = this.state.detail;\r\n\r\n try {\r\n this.setState({loadingConformanceReport: true});\r\n\r\n const reportUrl = await reportsService.createConformanceReportUrl(\r\n sysRowID\r\n );\r\n\r\n if (!reportUrl) {\r\n throw reportUrl;\r\n }\r\n\r\n const link = document.createElement('a');\r\n link.href = reportUrl;\r\n link.setAttribute('download', `mmvalve_certificate_${sysRowID}.pdf`);\r\n document.body.appendChild(link);\r\n link.click();\r\n setTimeout(() => {\r\n this.setState({loadingConformanceReport: false});\r\n }, 3000);\r\n } catch (error) {\r\n toastr.error('Unable to retrieve report');\r\n\r\n this.setState({loadingConformanceReport: false});\r\n }\r\n };\r\n\r\n _openPartListReport = async () => {\r\n const {sysRowID} = this.state.detail;\r\n\r\n try {\r\n this.setState({loadingPartsList: true});\r\n const reportUrl = await reportsService.createPartListReportUrl(sysRowID);\r\n\r\n if (!reportUrl) {\r\n throw reportUrl;\r\n }\r\n\r\n const link = document.createElement('a');\r\n link.href = reportUrl;\r\n link.setAttribute('download', `mmvalve_partlist_${sysRowID}.pdf`);\r\n document.body.appendChild(link);\r\n link.click();\r\n setTimeout(() => {\r\n this.setState({loadingPartsList: false});\r\n }, 3000);\r\n } catch (error) {\r\n toastr.error('Unable to retrieve report');\r\n this.setState({loadingPartsList: false});\r\n }\r\n };\r\n\r\n _openCurrentRevisionPartListReport = async () => {\r\n const {sysRowID} = this.state.detail;\r\n\r\n try {\r\n this.setState({loadingCurrentRevisionPartsList: true});\r\n const reportUrl = await reportsService.createCurrentRevisionPartListReportUrl(\r\n sysRowID\r\n );\r\n\r\n if (!reportUrl) {\r\n throw reportUrl;\r\n }\r\n\r\n const link = document.createElement('a');\r\n link.href = reportUrl;\r\n link.setAttribute(\r\n 'download',\r\n `mmvalve_currentrevision_partlist_${sysRowID}.pdf`\r\n );\r\n document.body.appendChild(link);\r\n link.click();\r\n setTimeout(() => {\r\n this.setState({loadingCurrentRevisionPartsList: false});\r\n }, 3000);\r\n } catch (error) {\r\n toastr.error('Unable to retrieve report');\r\n this.setState({loadingCurrentRevisionPartsList: false});\r\n }\r\n };\r\n\r\n _openOtherRevisionsPartListReport = async () => {\r\n const {sysRowID} = this.state.detail;\r\n\r\n try {\r\n this.setState({loadingOtherRevisionsPartsList: true});\r\n const reportUrl = await reportsService.createOtherRevisionsPartListReportUrl(\r\n sysRowID\r\n );\r\n\r\n if (!reportUrl) {\r\n throw reportUrl;\r\n }\r\n\r\n const link = document.createElement('a');\r\n link.href = reportUrl;\r\n link.setAttribute(\r\n 'download',\r\n `mmvalve_otherrevisions_partlist_${sysRowID}.pdf`\r\n );\r\n document.body.appendChild(link);\r\n link.click();\r\n setTimeout(() => {\r\n this.setState({loadingOtherRevisionsPartsList: false});\r\n }, 3000);\r\n } catch (error) {\r\n toastr.error('Unable to retrieve report');\r\n this.setState({loadingOtherRevisionsPartsList: false});\r\n }\r\n };\r\n\r\n _openCanisterGuardDoc = async () => {\r\n const {canisterGuardLink} = this.state.detail;\r\n\r\n try {\r\n window.open(canisterGuardLink, '_blank').focus();\r\n } catch (error) {\r\n toastr.error('Unable to retrieve report');\r\n }\r\n };\r\n\r\n _openLicensesDoc = async () => {\r\n const {licensesLink} = this.state.detail;\r\n\r\n try {\r\n window.open(licensesLink, '_blank').focus();\r\n } catch (error) {\r\n toastr.error('Unable to retrieve report');\r\n }\r\n };\r\n\r\n _toggleFavorite = async () => {\r\n const {\r\n hasFavorite,\r\n favoriteId = 1,\r\n serialNumber,\r\n sysRowID,\r\n } = this.state.detail;\r\n try {\r\n if (hasFavorite) {\r\n await favoritesService.unfavorite(favoriteId);\r\n toastr.success('Favorite Removed');\r\n } else {\r\n await favoritesService.favorite({\r\n serialNum: serialNumber,\r\n sysRowId: sysRowID,\r\n });\r\n toastr.success('Favorite Added');\r\n }\r\n this._loadData();\r\n } catch (error) {\r\n toastr.error('Unable to favorite');\r\n }\r\n };\r\n\r\n render() {\r\n const Repairs = props => {\r\n const {detail, loadingDetail} = {...props};\r\n\r\n return (\r\n \r\n
\r\n
Repair Information:
\r\n
\r\n \r\n \r\n \r\n \r\n Job ID\r\n \r\n \r\n Can be Repaired\r\n \r\n \r\n Level of Service\r\n \r\n \r\n Closed\r\n \r\n \r\n Certificate\r\n \r\n NDE\r\n \r\n NDE Recheck\r\n \r\n \r\n Test Chart\r\n \r\n \r\n \r\n \r\n {detail.repairInfo &&\r\n some(detail.repairInfo) &&\r\n !loadingDetail &&\r\n detail.repairInfo.map(x => (\r\n \r\n {x.jobId}\r\n \r\n {x.canBeRepaired ? 'Yes' : 'No'}\r\n \r\n {x.levelOfService}\r\n \r\n {moment(x.dateClosed).format('L')}\r\n \r\n \r\n {x.certificateUrl ? \r\n Open\r\n : \"N/A\"}\r\n \r\n \r\n {x.ndeUrl ? \r\n Open\r\n : \"N/A\"}\r\n \r\n \r\n {x.ndeRecheckUrl ? \r\n Open\r\n : \"N/A\"}\r\n \r\n \r\n {x.testChartUrl ? \r\n Open\r\n : \"N/A\"}\r\n \r\n \r\n ))}\r\n {!loadingDetail && !some(detail.repairInfo) && (\r\n \r\n \r\n No Repair Information\r\n \r\n \r\n )}\r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n };\r\n\r\n const Parts = props => {\r\n const {detail, loadingDetail} = {...props};\r\n\r\n return (\r\n \r\n {detail.currentPartListRevision &&\r\n detail.currentPartListRevision.revisionNum && (\r\n
\r\n The below parts list (REV{' '}\r\n {detail.currentPartListRevision.revisionNum.replace('W', '')})\r\n is current and should be referenced for any replacement parts\r\n requests.\r\n
\r\n )}\r\n
\r\n
Parts:
\r\n
\r\n \r\n \r\n \r\n Qty\r\n \r\n Part Number\r\n \r\n Part Description\r\n \r\n \r\n \r\n {detail.currentPartListRevision &&\r\n !!detail.currentPartListRevision.parts.length &&\r\n !loadingDetail &&\r\n detail.currentPartListRevision.parts.map(x => (\r\n \r\n {x.quantity}\r\n {x.partNum}\r\n {x.partDescription}\r\n \r\n ))}\r\n {(!detail.currentPartListRevision ||\r\n !detail.currentPartListRevision.parts ||\r\n !detail.currentPartListRevision.parts.length) &&\r\n !loadingDetail && (\r\n \r\n \r\n No Parts\r\n \r\n \r\n )}\r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n };\r\n\r\n const PartKits = props => {\r\n const {detail, loadingDetail} = {...props};\r\n return (\r\n \r\n
\r\n
Part Kits:
\r\n
\r\n \r\n \r\n \r\n \r\n Part Number\r\n \r\n Part Description\r\n \r\n \r\n \r\n {!!detail.partKits.length &&\r\n !loadingDetail &&\r\n detail.partKits.map(x => (\r\n \r\n {x.partNum}\r\n {x.partDescription}\r\n \r\n ))}\r\n\r\n {!detail.partKits.length && !loadingDetail && (\r\n \r\n \r\n No Part Kits\r\n \r\n \r\n )}\r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n };\r\n\r\n const GeneralInfo = props => {\r\n const {\r\n loadingDetail,\r\n loadingDocuments,\r\n detail,\r\n documents,\r\n error,\r\n downloading,\r\n loadingPartsList,\r\n loadingCurrentRevisionPartsList,\r\n loadingOtherRevisionsPartsList,\r\n loadingConformanceReport,\r\n } = {...props};\r\n\r\n return (\r\n \r\n \r\n {!loadingDetail &&\r\n (error ? (\r\n

\r\n An error occurred while looking up details for this serial\r\n number. For help, please contact us at{' '}\r\n \r\n portalsupport@mmvalve.com\r\n \r\n .\r\n

\r\n ) : (\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n {detail.orderNum && (\r\n \r\n \r\n
Order #:
\r\n
\r\n {detail.orderNum > 0\r\n ? detail.orderNum\r\n : 'N/A'}\r\n
\r\n \r\n
\r\n )}\r\n\r\n
Part #:
\r\n
{detail.partNum}
\r\n\r\n
Rev #:
\r\n
\r\n {detail.revisionNum} (Original Manufactured)\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Production Date:
\r\n
\r\n {detail.testDate\r\n ? moment(detail.testDate).format('L')\r\n : 'N/A'}\r\n
\r\n\r\n
Assembly WO #:
\r\n
{detail.jobNum || 'N/A'}
\r\n\r\n
Machining WO #:
\r\n
\r\n {detail.machiningWorkOrderNums.length\r\n ? detail.machiningWorkOrderNums.join(', ')\r\n : detail.splitSourceJobNum\r\n ? detail.splitSourceJobNum\r\n : detail.jobNum\r\n ? detail.jobNum\r\n : 'N/A'}\r\n
\r\n\r\n
Material Lot #:
\r\n
\r\n {detail.materialNums.length\r\n ? detail.materialNums.join(', ')\r\n : 'N/A'}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Description:
\r\n
{detail.partDescription}
\r\n
\r\n
\r\n \r\n {detail.testDate && (\r\n this._openConformanceReport()}\r\n >\r\n \r\n CERTIFICATE\r\n \r\n )}\r\n {detail.licensesLink && (\r\n this._openLicensesDoc()}\r\n >\r\n \r\n API/ISO/Q1 LICENSE\r\n \r\n )}\r\n {detail.canisterGuardLink && (\r\n this._openCanisterGuardDoc()}\r\n >\r\n \r\n CANISTER GUARD®\r\n \r\n )}\r\n this._openPartListReport()}\r\n >\r\n \r\n PARTS LIST - ORIGINAL MANUFACTURED\r\n \r\n {!!detail.currentRevision &&\r\n !!detail.currentRevision.parts.length && (\r\n \r\n this._openCurrentRevisionPartListReport()\r\n }\r\n >\r\n \r\n PARTS LIST - CURRENT REVISION\r\n \r\n )}\r\n {!!detail.otherRevisions &&\r\n !!detail.otherRevisions.length && (\r\n \r\n this._openOtherRevisionsPartListReport()\r\n }\r\n >\r\n \r\n PARTS LIST - OTHER REVISIONS\r\n \r\n )}\r\n
\r\n
\r\n
\r\n
ADDITIONAL RESOURCES:
\r\n {!!documents &&\r\n documents.filter(\r\n x =>\r\n (x.documentType === 'MaintenanceManual') |\r\n (x.documentType === 'AssemblyAndDisassembly')\r\n ).length === 0 && (\r\n No Additional Resources Available\r\n )}\r\n
\r\n {!!documents &&\r\n documents\r\n .filter(\r\n x =>\r\n (x.documentType === 'MaintenanceManual') |\r\n (x.documentType ===\r\n 'AssemblyAndDisassembly')\r\n )\r\n .map(\r\n ({\r\n fileId,\r\n title,\r\n documentType,\r\n extension,\r\n }) => (\r\n \r\n this._downloadDocuments(\r\n [fileId],\r\n `mmvalve_${detail.serialNumber}_${documentType}.pdf`\r\n )\r\n }\r\n />\r\n )\r\n )}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n {!!documents &&\r\n documents\r\n .filter(\r\n x =>\r\n x.documentType !== 'MaintenanceManual' &&\r\n x.documentType !== 'AssemblyAndDisassembly'\r\n )\r\n .map(({fileId, title, documentType, extension}) => (\r\n \r\n this._downloadDocuments(\r\n [fileId],\r\n `mmvalve_${\r\n detail.serialNumber\r\n }_${this._getFileTypeName(documentType)}.pdf`\r\n )\r\n }\r\n />\r\n ))}\r\n
\r\n {!!documents && !!documents.length && (\r\n {\r\n var allDocuments = [];\r\n var downloadDocuments = documents.filter(\r\n x =>\r\n x.documentType !== 'DataBook' &&\r\n x.documentType !== 'MaintenanceManual' &&\r\n x.documentType !== 'AssemblyAndDisassembly'\r\n );\r\n\r\n function _addDocument(\r\n docIdentifier,\r\n condition = true\r\n ) {\r\n if (!!condition) {\r\n allDocuments.push(docIdentifier);\r\n }\r\n }\r\n\r\n function _addIdIfExists(documentType) {\r\n downloadDocuments\r\n .filter(x => x.documentType === documentType)\r\n .forEach(doc => {\r\n if (doc !== undefined) {\r\n allDocuments.push(doc.fileId);\r\n }\r\n });\r\n }\r\n\r\n _addDocument('BookCover');\r\n _addDocument(\r\n 'CanisterGuard',\r\n detail.canisterGuardLink\r\n );\r\n _addIdIfExists('DiagramPage');\r\n _addDocument('PartsList');\r\n _addDocument('Certificate', detail.testDate);\r\n _addIdIfExists('TestChart');\r\n _addIdIfExists('InspectionReport');\r\n _addIdIfExists('MaterialCert');\r\n _addDocument('License');\r\n _addIdIfExists('MakeBreak');\r\n _addIdIfExists('VendorCOC');\r\n _addIdIfExists('CalculationSummary');\r\n _addIdIfExists('CustomerPrint');\r\n\r\n this._downloadAllDocuments(\r\n detail.sysRowID,\r\n allDocuments,\r\n `mmvalve_${detail.serialNumber}_AllDocuments.pdf`\r\n );\r\n }}\r\n >\r\n \r\n  DOWNLOAD ALL DOCUMENTATION\r\n \r\n )}\r\n
\r\n \r\n ))}\r\n \r\n
\r\n );\r\n };\r\n\r\n const {close} = this.props;\r\n const {detail, documents, error} = this.state;\r\n\r\n const loadingDetail = !detail && !error;\r\n const loadingDocuments = !documents && !error;\r\n\r\n const panes = [\r\n {\r\n menuItem: 'General Info',\r\n render: () => (\r\n \r\n ),\r\n },\r\n {\r\n menuItem: 'Parts',\r\n render: () => ,\r\n },\r\n {\r\n menuItem: 'Part Kits',\r\n render: () => (\r\n \r\n ),\r\n },\r\n ];\r\n\r\n if (\r\n detail &&\r\n detail.repairInfo &&\r\n !some(panes, x => x.menuItem === 'Repairs')\r\n ) {\r\n panes.push({\r\n menuItem: 'Repairs',\r\n render: () => ,\r\n });\r\n }\r\n\r\n return (\r\n \r\n
\r\n \r\n {!error && !loadingDetail && (\r\n \r\n )}\r\n
\r\n\r\n {detail && }\r\n
\r\n );\r\n }\r\n}\r\n","import styled from 'react-emotion';\r\nimport {colors} from '../../styles';\r\n\r\nexport const ModalWrapper = styled.div`\r\n position: absolute;\r\n width: 90%;\r\n max-width: 750px;\r\n top: 100px;\r\n right: 0;\r\n bottom: 0;\r\n left: auto;\r\n background: #fff;\r\n box-shadow: -11px -3px 19px 0px rgba(0, 0, 0, 0.1);\r\n border-left: solid 1px rgba(0, 0, 0, 0.2);\r\n z-index: 1000;\r\n\r\n @media (max-width: 850px) {\r\n max-width: 100%;\r\n width: 100%;\r\n\r\n .page-header > div {\r\n flex-wrap: initial;\r\n flex-direction: initial;\r\n }\r\n }\r\n\r\n .page-header {\r\n padding: 16px;\r\n background: ${colors.greenPrimary};\r\n margin-bottom: 0;\r\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);\r\n color: #fff !important;\r\n\r\n .button.icon {\r\n color: #fff;\r\n padding: 0 !important;\r\n font-size: 24px;\r\n background-color: transparent;\r\n }\r\n }\r\n\r\n dl {\r\n color: #8e8776;\r\n\r\n > dt {\r\n font-weight: bold;\r\n text-transform: uppercase;\r\n\r\n a {\r\n color: ${colors.textLabel};\r\n i {\r\n color: ${colors.yellowLight};\r\n }\r\n }\r\n }\r\n\r\n > dd {\r\n margin: 0 0 10px 0;\r\n font-size: 12px;\r\n }\r\n }\r\n`;\r\n","import produce from 'immer';\r\nimport React, {Component, Fragment} from 'react';\r\nimport {PortalWithState} from 'react-portal';\r\nimport {Spring} from 'react-spring/renderprops';\r\nimport {Button, Header, Icon, Popup, Table, Item} from 'semantic-ui-react';\r\nimport toastr from 'toastr';\r\n\r\nimport searchImage from '../assets/search.svg';\r\nimport favoritesService from '../../store/services/favorites';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport {SerialNumberDetail} from './SerialNumberDetail';\r\nimport {ModalWrapper} from '../modal/ModalWrapper';\r\n\r\nclass Favorites extends Component {\r\n state = {\r\n detail: {},\r\n pageInfo: {\r\n data: [],\r\n pageCount: 0,\r\n totalCount: 0,\r\n },\r\n };\r\n\r\n componentDidMount() {\r\n this._loadPage();\r\n }\r\n\r\n _loadPage = async (pageParams = {page: 0, pageSize: 25}) => {\r\n try {\r\n this.setState({loading: true});\r\n const {result} = await favoritesService.fetch(pageParams);\r\n this.setState({pageInfo: result});\r\n } catch (error) {\r\n } finally {\r\n this.setState({loading: false});\r\n }\r\n };\r\n\r\n _unfavorite = async favorite => {\r\n try {\r\n await favoritesService.unfavorite(favorite.id);\r\n this._loadPage();\r\n toastr.success('Favorite removed.');\r\n } catch (error) {}\r\n };\r\n\r\n _mutate = mutationFn => {\r\n this.setState(produce(mutationFn));\r\n };\r\n\r\n _showDetail = (openPortal, favorite) => {\r\n openPortal();\r\n this._mutate(state => {\r\n state.detail = favorite;\r\n });\r\n };\r\n\r\n _renderDetailModal = ({closePortal}) => (\r\n \r\n {styles => (\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n\r\n _renderRow = (favorite, openPortal) => (\r\n \r\n \r\n this._showDetail(openPortal, favorite)}\r\n >\r\n \r\n \r\n }\r\n content=\"VIEW\"\r\n />\r\n this._unfavorite(favorite)}\r\n >\r\n \r\n \r\n }\r\n content=\"REMOVE FROM FAVORITES\"\r\n />\r\n \r\n {favorite.serialNum}\r\n \r\n );\r\n\r\n render() {\r\n const {loading, pageInfo} = this.state;\r\n return (\r\n \r\n
Saved Items ({pageInfo.totalCount})
\r\n {!!pageInfo.data.length && (\r\n \r\n {({openPortal, closePortal, portal}) => (\r\n \r\n \r\n \r\n \r\n \r\n Serial Number\r\n \r\n \r\n\r\n \r\n {pageInfo.data.map(favorite =>\r\n this._renderRow(favorite, openPortal)\r\n )}\r\n \r\n
\r\n {portal(this._renderDetailModal({closePortal}))}\r\n
\r\n )}\r\n
\r\n )}\r\n {pageInfo.data.length === 0 && (\r\n \r\n \r\n \r\n \r\n No favorites.\r\n
\r\n \r\n You can favorite serial numbers from search results for\r\n quicker access.\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Favorites;\r\n","import api from './api';\r\n\r\nconst service = {\r\n fetch: params => api.get('audits', params),\r\n};\r\n\r\nexport default service;\r\n","import React, {Component} from 'react';\r\nimport {\r\n Item,\r\n Header,\r\n Table,\r\n Icon,\r\n Popup,\r\n Button,\r\n Pagination,\r\n Input,\r\n} from 'semantic-ui-react';\r\nimport {format} from 'date-fns';\r\nimport {Spring} from 'react-spring/renderprops';\r\nimport {PortalWithState} from 'react-portal';\r\nimport {debounce} from 'lodash';\r\nimport styled from 'react-emotion';\r\n\r\nimport searchImage from '../assets/search.svg';\r\nimport auditService from '../../store/services/audit';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport {ModalWrapper} from '../modal/ModalWrapper';\r\nimport {SerialNumberDetail} from './SerialNumberDetail';\r\n\r\nconst Styles = styled.div`\r\n .tableHeader {\r\n background-color: '#f00';\r\n display: flex;\r\n flex-grow: 1;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n\r\n .ui.header {\r\n margin-bottom: 0;\r\n }\r\n }\r\n`;\r\n\r\nclass SearchHistory extends Component {\r\n state = {\r\n selectedResult: undefined,\r\n pageInfo: undefined,\r\n loading: false,\r\n };\r\n\r\n async componentDidMount() {\r\n await this._fetchResults(0);\r\n }\r\n\r\n _fetchResults = async (pageNumber, searchTerm) => {\r\n this.setState({loading: true});\r\n try {\r\n const {result} = await auditService.fetch({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: searchTerm,\r\n });\r\n this.setState({pageInfo: result});\r\n } catch (error) {\r\n this.setState({error});\r\n } finally {\r\n this.setState({loading: false});\r\n }\r\n };\r\n\r\n _showDetail = selectedResult => {\r\n this._openPortal();\r\n this.setState({selectedResult});\r\n };\r\n\r\n _renderDetailModal = () => {\r\n const {selectedResult} = this.state;\r\n\r\n return (\r\n \r\n {styles => (\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n };\r\n\r\n _renderRow = audit => (\r\n \r\n \r\n {!!audit.epicorId && (\r\n this._showDetail(audit.epicorId)}\r\n >\r\n \r\n \r\n }\r\n content=\"VIEW\"\r\n />\r\n )}\r\n \r\n {audit.type}\r\n {audit.identifier}\r\n \r\n {format(new Date(audit.createdDate), 'YYYY-MM-DD')}\r\n \r\n \r\n );\r\n\r\n render() {\r\n const {loading, pageInfo = {data: []}, searchTerm} = this.state;\r\n return (\r\n \r\n \r\n
\r\n
History
\r\n {\r\n this._fetchResults(0, searchTerm.value);\r\n this.setState({searchTerm: searchTerm.value});\r\n }, 400)}\r\n />\r\n
\r\n
\r\n {!!pageInfo.data.length && (\r\n \r\n {({openPortal, closePortal, portal}) => {\r\n this._closePortal = closePortal;\r\n this._openPortal = openPortal;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n Type\r\n Identifier\r\n Date\r\n \r\n \r\n\r\n \r\n {pageInfo.data.map(audit => this._renderRow(audit))}\r\n \r\n
\r\n {\r\n await this._fetchResults(\r\n paginationInfo.activePage - 1,\r\n searchTerm\r\n );\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={pageInfo.pageCount}\r\n />\r\n {portal(this._renderDetailModal())}\r\n
\r\n );\r\n }}\r\n
\r\n )}\r\n {pageInfo.data.length === 0 && (\r\n \r\n \r\n \r\n \r\n No history.\r\n
\r\n \r\n Search for product documentation by serial number to build\r\n you search history.\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default SearchHistory;\r\n","import React, {Component} from 'react';\r\nimport {Table, Button, Pagination, Icon} from 'semantic-ui-react';\r\nimport produce from 'immer';\r\nimport {PortalWithState} from 'react-portal';\r\nimport {Spring} from 'react-spring/renderprops';\r\n\r\nimport RequiresRole, {ROLES} from '../security/RequiresRole';\r\nimport {ModalWrapper} from '../modal/ModalWrapper';\r\nimport {SerialNumberDetail} from '../dashboard/SerialNumberDetail';\r\n\r\nclass SerialTable extends Component {\r\n state = {\r\n selectedResult: undefined,\r\n pageInfo: undefined,\r\n loading: false,\r\n activePage: 1,\r\n };\r\n\r\n _mutate = (draftFn, cb) => {\r\n this.setState(produce(draftFn), cb);\r\n };\r\n\r\n _showDetail = selectedResult => {\r\n this._openPortal();\r\n this.setState({selectedResult});\r\n };\r\n\r\n _renderDetailModal = () => {\r\n const {selectedResult} = this.state;\r\n\r\n return (\r\n \r\n {styles => (\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n };\r\n\r\n _renderRow = result => {\r\n return (\r\n \r\n \r\n this._showDetail(result.sysRowID)}\r\n >\r\n {result.serialNumber}\r\n \r\n \r\n \r\n {result.partNum}\r\n \r\n \r\n );\r\n };\r\n\r\n render() {\r\n const {serialNumbers} = this.props;\r\n const {activePage} = this.state;\r\n const pageSize = 20;\r\n\r\n return (\r\n \r\n {({openPortal, closePortal, portal}) => {\r\n this._closePortal = closePortal;\r\n this._openPortal = openPortal;\r\n return (\r\n \r\n \r\n \r\n \r\n Serial Number\r\n \r\n Part Number\r\n \r\n \r\n \r\n\r\n \r\n {serialNumbers\r\n .slice((activePage - 1) * pageSize, activePage * pageSize)\r\n .map(searchResult => this._renderRow(searchResult))}\r\n \r\n
\r\n {portal(this._renderDetailModal())}\r\n {\r\n this.setState({activePage: paginationInfo.activePage});\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={Math.ceil(serialNumbers.length / pageSize)}\r\n />\r\n
\r\n );\r\n }}\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default SerialTable;\r\n","import React, {Component} from 'react';\r\nimport {\r\n Dropdown,\r\n Table,\r\n Icon,\r\n Button,\r\n Responsive,\r\n Pagination,\r\n} from 'semantic-ui-react';\r\nimport produce from 'immer';\r\nimport {PortalWithState} from 'react-portal';\r\nimport {Spring} from 'react-spring/renderprops';\r\nimport {format} from 'date-fns';\r\nimport styled from 'react-emotion';\r\n\r\nimport epicorApi from '../../store/services/epicor';\r\nimport {ModalWrapper} from '../modal/ModalWrapper';\r\nimport {SerialNumberDetail} from '../dashboard/SerialNumberDetail';\r\n\r\nconst StyledRoot = styled.div`\r\n .result-property {\r\n display: flex;\r\n align-items: center;\r\n min-height: 3.3rem;\r\n }\r\n\r\n .result-property-label {\r\n width: 10rem;\r\n align-items: center;\r\n display: flex;\r\n\r\n label {\r\n font-weight: bold;\r\n color: #9a8e7f;\r\n }\r\n\r\n @media (max-width: 481px) {\r\n width: 5rem;\r\n min-width: 5rem;\r\n font-size: 0.8rem;\r\n }\r\n }\r\n\r\n .result-property-value {\r\n border-left: solid 2px #babbb3;\r\n min-height: 3.3rem;\r\n display: flex;\r\n align-items: center;\r\n padding-left: 10px;\r\n }\r\n`;\r\n\r\nclass OrderTable extends Component {\r\n state = {\r\n selectedResult: undefined,\r\n ordersWithParts: {},\r\n partsWithSerials: {},\r\n pageInfo: undefined,\r\n loading: false,\r\n activePage: 1,\r\n };\r\n\r\n _mutate = (draftFn, cb) => {\r\n this.setState(produce(draftFn), cb);\r\n };\r\n\r\n _showDetail = selectedResult => {\r\n this._openPortal();\r\n this.setState({selectedResult});\r\n };\r\n\r\n _renderDetailModal = () => {\r\n const {selectedResult} = this.state;\r\n\r\n return (\r\n \r\n {styles => (\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n };\r\n\r\n _fetchPartsByOrder = async order => {\r\n if (!this.state.ordersWithParts[order.sysRowID]) {\r\n this._mutate(draft => {\r\n draft.ordersWithParts[order.sysRowID] = {\r\n loading: true,\r\n };\r\n });\r\n\r\n const result = await epicorApi.fetchPartsByOrderSysRowID(order.sysRowID);\r\n this._mutate(draft => {\r\n draft.ordersWithParts[order.sysRowID].loading = false;\r\n draft.ordersWithParts[order.sysRowID].result = {\r\n ...result,\r\n partOptions: result.parts.map(part => {\r\n const revNum = part.revistionNumber\r\n ? ` ${part.revistionNumber}`\r\n : '';\r\n return {\r\n key: part.partNum,\r\n value: part.partNum,\r\n text: `${part.partNum}${revNum}`,\r\n };\r\n }),\r\n };\r\n });\r\n }\r\n };\r\n\r\n _selectPartNumber = ({orderWithParts, sysRowID, value}) => {\r\n const {result: selected = {}} = orderWithParts;\r\n const partKey = `${selected.orderNum}|${value}`;\r\n this._mutate(\r\n draft => {\r\n draft.ordersWithParts[sysRowID].selected = value;\r\n },\r\n async () => {\r\n this._mutate(draft => {\r\n draft.partsWithSerials[partKey] = {\r\n loading: true,\r\n };\r\n });\r\n const {result} = await epicorApi.fetchOrderPartSerials(\r\n selected.orderNum,\r\n value\r\n );\r\n\r\n this._mutate(draft => {\r\n draft.partsWithSerials[partKey].loading = false;\r\n draft.partsWithSerials[partKey].result = result;\r\n });\r\n }\r\n );\r\n };\r\n\r\n _renderRow = (result, isLargeScreen) => {\r\n const orderWithParts = this.state.ordersWithParts[result.sysRowID] || {};\r\n const {result: selected = {}} = orderWithParts;\r\n const partKey = `${selected.orderNum}|${orderWithParts.selected}`;\r\n const partWithSerials = this.state.partsWithSerials[partKey] || {};\r\n\r\n const partOptions = orderWithParts.result\r\n ? orderWithParts.result.partOptions\r\n : [];\r\n\r\n const partSerialOptions = (partWithSerials.result || []).map(x => ({\r\n value: x.sysRowID,\r\n text: x.serialNumber,\r\n }));\r\n\r\n return (\r\n \r\n {isLargeScreen ? (\r\n \r\n {result.poNum}\r\n \r\n {format(new Date(result.orderDate), 'YYYY-MM-DD')}\r\n \r\n \r\n {\r\n this._fetchPartsByOrder(result);\r\n }}\r\n onChange={(_, {value}) =>\r\n this._selectPartNumber({\r\n orderWithParts,\r\n sysRowID: result.sysRowID,\r\n value,\r\n })\r\n }\r\n value={orderWithParts.selected}\r\n />\r\n \r\n \r\n {\r\n this._mutate(draft => {\r\n draft.partsWithSerials[partKey].selected = value;\r\n });\r\n }}\r\n value={partWithSerials.selected}\r\n />\r\n {\r\n this._showDetail(partWithSerials.selected);\r\n }}\r\n style={{\r\n position: 'relative',\r\n }}\r\n >\r\n GO\r\n \r\n \r\n \r\n ) : (\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n {result.poNum}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {format(new Date(result.orderDate), 'YYYY-MM-DD')}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {\r\n this._fetchPartsByOrder(result);\r\n }}\r\n onChange={(_, {value}) =>\r\n this._selectPartNumber({\r\n orderWithParts,\r\n sysRowID: result.sysRowID,\r\n value,\r\n })\r\n }\r\n value={orderWithParts.selected}\r\n />\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {\r\n this._mutate(draft => {\r\n draft.partsWithSerials[partKey].selected = value;\r\n });\r\n }}\r\n value={partWithSerials.selected}\r\n />\r\n {\r\n this._showDetail(partWithSerials.selected);\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n )}\r\n
\r\n );\r\n };\r\n\r\n render() {\r\n const {orders} = this.props;\r\n const {activePage} = this.state;\r\n const pageSize = 20;\r\n\r\n return (\r\n \r\n {({openPortal, closePortal, portal}) => {\r\n this._closePortal = closePortal;\r\n this._openPortal = openPortal;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n P.O. Number\r\n \r\n Date\r\n Part Number\r\n Serial Number\r\n \r\n \r\n\r\n \r\n {orders\r\n .slice((activePage - 1) * pageSize, activePage * pageSize)\r\n .map(order => this._renderRow(order, true))}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {orders\r\n .slice((activePage - 1) * pageSize, activePage * pageSize)\r\n .map(order => this._renderRow(order))}\r\n \r\n
\r\n
\r\n {portal(this._renderDetailModal())}\r\n {\r\n this.setState({activePage: paginationInfo.activePage});\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={Math.ceil(orders.length / pageSize)}\r\n />\r\n
\r\n );\r\n }}\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default OrderTable;\r\n","import React, {Component} from 'react';\r\nimport {Table, Dropdown, Button, Pagination, Icon} from 'semantic-ui-react';\r\nimport produce from 'immer';\r\nimport {PortalWithState} from 'react-portal';\r\nimport {Spring} from 'react-spring/renderprops';\r\n\r\nimport epicorApi from '../../store/services/epicor';\r\nimport {ModalWrapper} from '../modal/ModalWrapper';\r\nimport {SerialNumberDetail} from '../dashboard/SerialNumberDetail';\r\n\r\nclass PartsTable extends Component {\r\n state = {\r\n selectedResult: undefined,\r\n partsWithSerials: {},\r\n pageInfo: undefined,\r\n loading: false,\r\n activePage: 1,\r\n };\r\n\r\n _mutate = (draftFn, cb) => {\r\n this.setState(produce(draftFn), cb);\r\n };\r\n\r\n _fetchSerialsByPart = async partNum => {\r\n this._mutate(draft => {\r\n draft.partsWithSerials[partNum] = {\r\n loading: true,\r\n };\r\n });\r\n const result = await epicorApi.fetchSerialsByPartNum(partNum);\r\n\r\n this._mutate(draft => {\r\n draft.partsWithSerials[partNum].loading = false;\r\n draft.partsWithSerials[partNum].result = result;\r\n });\r\n };\r\n\r\n _showDetail = selectedResult => {\r\n this._openPortal();\r\n this.setState({selectedResult});\r\n };\r\n\r\n _renderDetailModal = () => {\r\n const {selectedResult} = this.state;\r\n\r\n return (\r\n \r\n {styles => (\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n };\r\n\r\n _renderRow = (part, idx) => {\r\n const partWithSerials = this.state.partsWithSerials[part.partNum] || {};\r\n\r\n const partSerialOptions = (partWithSerials.result || []).map(x => ({\r\n value: x.sysRowID,\r\n text: x.serialNumber,\r\n }));\r\n\r\n return (\r\n \r\n {part.partNum}\r\n \r\n {\r\n this._fetchSerialsByPart(part.partNum);\r\n }}\r\n options={partSerialOptions}\r\n onChange={(_, {value}) => {\r\n this._mutate(draft => {\r\n draft.partsWithSerials[part.partNum].selected = value;\r\n });\r\n }}\r\n value={partWithSerials.selected}\r\n />\r\n {\r\n this._showDetail(partWithSerials.selected);\r\n }}\r\n style={{\r\n position: 'relative',\r\n }}\r\n >\r\n GO\r\n \r\n \r\n \r\n );\r\n };\r\n\r\n render() {\r\n const {parts} = this.props;\r\n const {activePage} = this.state;\r\n const pageSize = 20;\r\n\r\n return (\r\n \r\n {({openPortal, closePortal, portal}) => {\r\n this._closePortal = closePortal;\r\n this._openPortal = openPortal;\r\n return (\r\n \r\n \r\n \r\n \r\n Part Number\r\n Serial Number\r\n \r\n \r\n\r\n \r\n {parts\r\n .slice((activePage - 1) * pageSize, activePage * pageSize)\r\n .map((part, idx) => this._renderRow(part, idx))}\r\n \r\n
\r\n {portal(this._renderDetailModal())}\r\n {\r\n this.setState({activePage: paginationInfo.activePage});\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={Math.ceil(parts.length / pageSize)}\r\n />\r\n
\r\n );\r\n }}\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default PartsTable;\r\n","import React, {Component} from 'react';\r\nimport qs from 'qs';\r\nimport {Header, Item, Modal} from 'semantic-ui-react';\r\nimport produce from 'immer';\r\nimport {Redirect} from 'react-router-dom';\r\n\r\nimport {SEARCH_KEYS, SEARCH_KEY_HEADERS} from '../../constants';\r\nimport searchImage from '../assets/search.svg';\r\nimport epicorApi from '../../store/services/epicor';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport SerialTable from '../components/SerialTable';\r\nimport OrderTable from '../components/OrderTable';\r\nimport PartsTable from '../components/PartsTable';\r\n\r\nconst searchKeyMap = {\r\n [SEARCH_KEYS.SERIAL_NUMBER]: epicorApi.searchBySerialNumber,\r\n [SEARCH_KEYS.PART_NUMBER]: epicorApi.searchByPartNumber,\r\n [SEARCH_KEYS.PO_NUMBER]: epicorApi.searchByPurchaseOrderNumber,\r\n};\r\n\r\nclass SearchResults extends Component {\r\n state = {\r\n loading: false,\r\n searchLimitExceeded: false,\r\n result: undefined,\r\n error: undefined,\r\n };\r\n\r\n _mutate = (draftFn, cb) => {\r\n this.setState(produce(draftFn), cb);\r\n };\r\n\r\n componentDidMount() {\r\n this._handleSearch();\r\n }\r\n\r\n componentDidUpdate(prevProps, prevState) {\r\n if (prevProps.location.search !== this.props.location.search) {\r\n this._handleSearch();\r\n }\r\n }\r\n\r\n _getQueryParams = () => qs.parse(this.props.location.search.substr(1));\r\n\r\n _handleSearch = async () => {\r\n const queryParams = this._getQueryParams();\r\n const {key, query} = queryParams;\r\n const searchAction = searchKeyMap[key];\r\n\r\n try {\r\n this.setState({loading: true});\r\n const {result} = await searchAction(query);\r\n this.setState({result});\r\n } catch (error) {\r\n if (\r\n error.errors &&\r\n error.errors[0].errorMessage === '[SEARCH_LIMIT_EXCEEDED]'\r\n ) {\r\n this.setState({searchLimitExceeded: true});\r\n } else {\r\n alert(error.errors ? error.errors[0].errorMessage : 'Error Searching');\r\n }\r\n this.setState({error, result: []});\r\n } finally {\r\n this.setState({loading: false});\r\n }\r\n };\r\n\r\n render() {\r\n const {loading, result, searchLimitExceeded} = this.state;\r\n const queryParams = this._getQueryParams();\r\n\r\n if (!queryParams.query || !queryParams.key) {\r\n return ;\r\n }\r\n\r\n const rowRenderFnMap = {\r\n [SEARCH_KEYS.PO_NUMBER]: () => ,\r\n [SEARCH_KEYS.PART_NUMBER]: () => ,\r\n [SEARCH_KEYS.SERIAL_NUMBER]: () => ,\r\n };\r\n\r\n const renderFn = rowRenderFnMap[queryParams.key];\r\n\r\n return (\r\n \r\n {result && (\r\n
\r\n {SEARCH_KEY_HEADERS[queryParams.key]} Search Results (\r\n {result.length})\r\n \r\n Search Term: {queryParams.query}\r\n \r\n
\r\n )}\r\n {!!result && result.length === 0 && (\r\n \r\n \r\n \r\n \r\n No Results Found \r\n
\r\n Try refining your search\r\n
\r\n
\r\n
\r\n
\r\n )}\r\n\r\n {result && result.length > 0 && renderFn()}\r\n this.setState({searchLimitExceeded: false})}\r\n centered={false}\r\n size=\"tiny\"\r\n >\r\n \r\n \r\n Search Limit Exceeded\r\n \r\n

\r\n Sorry, you have exceeded your daily search limit. Please try again\r\n tomorrow to continue searching. If you believe you have received\r\n this message in error, please contact us at{' '}\r\n \r\n portalsupport@mmvalve.com\r\n \r\n .\r\n

\r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default SearchResults;\r\n","import React, {Component} from 'react';\r\nimport {Menu} from 'semantic-ui-react';\r\nimport {NavLink, Route, Redirect, Switch} from 'react-router-dom';\r\n\r\nimport Page from '../layout/Page';\r\nimport Favorites from './Favorites';\r\nimport SearchHistory from './SearchHistory';\r\nimport SearchResults from './SearchResults';\r\n\r\nclass IndexScreen extends Component {\r\n state = {};\r\n\r\n render() {\r\n return (\r\n \r\n \r\n Favorites\r\n \r\n \r\n View History\r\n \r\n \r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default IndexScreen;\r\n","import React, {Fragment} from 'react';\r\nimport {Form, Input} from 'semantic-ui-react';\r\n\r\nconst CustomerForm = ({customer, handleTextChanged, autoFocus = false}) => {\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default CustomerForm;\r\n","import React, {Component, Fragment} from 'react';\r\nimport {PortalWithState} from 'react-portal';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {\r\n Button,\r\n Message,\r\n Table,\r\n Icon,\r\n Pagination,\r\n Header,\r\n Form,\r\n Popup,\r\n Input,\r\n} from 'semantic-ui-react';\r\nimport toastr from 'toastr';\r\nimport {connect} from 'react-redux';\r\nimport {isBusy, withActions} from 'actionware';\r\nimport styled from 'react-emotion';\r\nimport {debounce} from 'lodash';\r\n\r\nimport {fetch} from '../../store/customers';\r\nimport customerApi from '../../store/services/customers';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport {Spring} from 'react-spring/renderprops';\r\nimport {ModalWrapper} from '../modal/ModalWrapper';\r\nimport Layout from '../layout/Layout';\r\nimport Page from '../layout/Page';\r\nimport LoadingContainer from '../layout/LoadingContainer';\r\nimport CustomerForm from './CustomerForm';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\n\r\nconst Styles = styled.div`\r\n .tableHeader {\r\n background-color: '#f00';\r\n display: flex;\r\n flex-grow: 1;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n\r\n .ui.header {\r\n margin-bottom: 0;\r\n }\r\n }\r\n`;\r\n\r\nclass AllCustomersTable extends Component {\r\n state = {\r\n customer: undefined,\r\n searchTerm: '',\r\n orderByEpicor: false,\r\n activePage: 1,\r\n pageInfo: {},\r\n };\r\n\r\n componentDidMount() {\r\n this._loadCustomers(0, '', false);\r\n }\r\n\r\n _loadCustomers = (pageNumber, searchTerm, orderByEpicor) => {\r\n withLifecycles(\r\n () => this.props.fetch(pageNumber, 20, searchTerm, orderByEpicor),\r\n ({loading, data, error}) => {\r\n this.setState({activePage: pageNumber + 1});\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n _deleteCustomer = customer => {\r\n withLifecycles(\r\n () => customerApi.remove(customer),\r\n ({loading, data, error}) => {\r\n this._mutate(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n toastr.success('Customer Deleted');\r\n draft.loading = true;\r\n setTimeout(this._loadCustomers);\r\n }\r\n\r\n if (error && error.errors) {\r\n toastr.error('Unable to delete customer');\r\n }\r\n });\r\n }\r\n );\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n this._mutate(draft => {\r\n draft.customer[name] = value;\r\n });\r\n };\r\n\r\n _deleteCustomer = async customer => {\r\n try {\r\n await customerApi.remove(customer);\r\n toastr.info('Customer removed');\r\n this._loadCustomers(0, this.state.searchTerm, this.state.orderByEpicor);\r\n\r\n this._closePortal();\r\n } catch (error) {\r\n toastr.warning('Error removing customer');\r\n }\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(\r\n () => customerApi.update(this.state.customer),\r\n ({loading, data, error}) => {\r\n this.setState(\r\n produce(draft => {\r\n draft.saving = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this._loadCustomers(\r\n 0,\r\n this.state.searchTerm,\r\n this.state.orderByEpicor\r\n );\r\n toastr.success('Customer Updated');\r\n this._closePortal();\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _showDetail = customer => {\r\n this._openPortal();\r\n this.setState({customer});\r\n };\r\n\r\n render() {\r\n const {customers} = this.props;\r\n const {searchTerm, activePage, pageInfo} = this.state;\r\n return (\r\n \r\n \r\n
\r\n
Customers
\r\n {\r\n this.setState({searchTerm: searchTerm.value});\r\n this._loadCustomers(\r\n 0,\r\n this.state.searchTerm,\r\n this.state.orderByEpicor\r\n );\r\n }, 400)}\r\n />\r\n
\r\n
\r\n {pageInfo.pageCount === 0 && No Customers}\r\n {pageInfo.pageCount > 0 && (\r\n \r\n {({openPortal, closePortal, portal}) => {\r\n this._closePortal = closePortal;\r\n this._openPortal = openPortal;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n\r\n {\r\n this.setState({orderByEpicor: false}, () =>\r\n this._loadCustomers(\r\n 0,\r\n searchTerm,\r\n this.state.orderByEpicor\r\n )\r\n );\r\n }}\r\n >\r\n Name {!this.state.orderByEpicor && '▼'}\r\n \r\n \r\n this.setState({orderByEpicor: true}, () => {\r\n this._loadCustomers(\r\n 0,\r\n searchTerm,\r\n this.state.orderByEpicor\r\n );\r\n })\r\n }\r\n >\r\n Epicor Customer Number{' '}\r\n {this.state.orderByEpicor && '▼'}\r\n \r\n \r\n \r\n\r\n \r\n {customers.map(customer => this._renderRow(customer))}\r\n \r\n
\r\n {\r\n await this._loadCustomers(\r\n paginationInfo.activePage - 1,\r\n this.state.searchTerm\r\n );\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={pageInfo.pageCount}\r\n />\r\n {portal(this._renderDetailModal())}\r\n
\r\n );\r\n }}\r\n
\r\n )}\r\n
\r\n );\r\n }\r\n\r\n _renderRow = customer => (\r\n \r\n \r\n \r\n \r\n {customer.name}\r\n {customer.epicorId}\r\n \r\n );\r\n\r\n _renderDetailModal = () => {\r\n const {customer, error = {}} = this.state;\r\n return (\r\n \r\n {styles => (\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n content={\r\n this._deleteCustomer(customer)}\r\n />\r\n }\r\n on=\"click\"\r\n position=\"left center\"\r\n />\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n );\r\n };\r\n}\r\n\r\nconst mapStateToProps = ({customers}) => ({\r\n customers: customers.data,\r\n loading: isBusy(fetch),\r\n});\r\n\r\nconst AllCustomersTableWithActions = withActions({fetch})(AllCustomersTable);\r\nexport default connect(mapStateToProps)(AllCustomersTableWithActions);\r\n","import React, {Component} from 'react';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Form} from 'semantic-ui-react';\r\nimport {Link} from 'react-router-dom';\r\nimport toastr from 'toastr';\r\nimport {withActions} from 'actionware';\r\n\r\nimport customerApi from '../../store/services/customers';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport {fetch} from '../../store/customers';\r\nimport CustomerForm from './CustomerForm';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\n\r\nclass NewCustomerForm extends Component {\r\n state = {\r\n loading: false,\r\n customer: {\r\n epicorId: '',\r\n name: '',\r\n },\r\n error: {},\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n this._mutate(draft => {\r\n draft.customer[name] = value;\r\n });\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(\r\n () => customerApi.create(this.state.customer),\r\n ({loading, data, error}) => {\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this.props.fetch();\r\n this.props.history.push('/manage/customers');\r\n toastr.success('Customer Created');\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n render() {\r\n const {error, loading, customer} = this.state;\r\n return (\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default withActions({fetch})(NewCustomerForm);\r\n","import React, {Component} from 'react';\r\nimport {Menu} from 'semantic-ui-react';\r\nimport {NavLink, Route, Redirect, Switch} from 'react-router-dom';\r\n\r\nimport Page from '../layout/Page';\r\nimport AllCustomersTable from './AllCustomersTable';\r\nimport NewCustomerForm from './NewCustomerForm';\r\n\r\nclass IndexScreen extends Component {\r\n state = {};\r\n\r\n render() {\r\n return (\r\n \r\n \r\n All Customers\r\n \r\n \r\n Add New Customer\r\n \r\n \r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default IndexScreen;\r\n","import React from 'react';\r\nimport moment from 'moment';\r\n\r\nexport const DateFormat = React.memo(({date, format = 'MM/DD/YY'}) => (\r\n <>\r\n {moment(date)\r\n .utc()\r\n .format(format)}\r\n \r\n));\r\n\r\nexport const TimeFormat = React.memo(({date, format = 'MM/DD/YY h:mm A'}) => (\r\n <>\r\n {moment(date)\r\n .utc()\r\n .local()\r\n .format(format)}\r\n \r\n));\r\n","import React, {Component} from 'react';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Table, Icon, Item, Header, Input, Pagination} from 'semantic-ui-react';\r\nimport {debounce} from 'lodash';\r\n\r\nimport {TimeFormat} from '.././components/date';\r\nimport auditApi from '../../store/services/audit';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport usersImage from '../assets/users.svg';\r\nimport styled from 'react-emotion';\r\n\r\nconst Styles = styled.div`\r\n .tableHeader {\r\n background-color: '#f00';\r\n display: flex;\r\n flex-grow: 1;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n\r\n .ui.header {\r\n margin-bottom: 0;\r\n }\r\n }\r\n`;\r\n\r\nclass AuditsTable extends Component {\r\n state = {\r\n loading: false,\r\n pageInfo: {},\r\n searchTerm: '',\r\n };\r\n\r\n async componentDidMount() {\r\n this._loadAudits();\r\n }\r\n\r\n _loadAudits = (pageNumber, searchTerm, showLoading = true) => {\r\n withLifecycles(\r\n () =>\r\n auditApi.fetch({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: searchTerm,\r\n }),\r\n ({loading, data, error}) => {\r\n this.setState(\r\n produce(draft => {\r\n if (showLoading) {\r\n draft.loading = loading;\r\n }\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n render() {\r\n const {pageInfo} = this.state;\r\n const users = pageInfo.data || [];\r\n return (\r\n \r\n \r\n
\r\n
Search History
\r\n {\r\n this._loadAudits(0, searchTerm.value, true);\r\n this.setState({searchTerm: searchTerm.value});\r\n }, 400)}\r\n />\r\n
\r\n
\r\n {pageInfo.pageCount === 0 && (\r\n \r\n \r\n \r\n \r\n No Search History\r\n
\r\n \r\n New searches will appear here when users start searching.\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n {pageInfo.pageCount > 0 && (\r\n \r\n \r\n \r\n \r\n \r\n Searched by\r\n Account Email\r\n Type\r\n Content\r\n Date\r\n \r\n \r\n\r\n {users.map(this._renderRow)}\r\n
\r\n\r\n {\r\n await this._loadAudits(\r\n paginationInfo.activePage - 1,\r\n this.state.searchTerm\r\n );\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={pageInfo.pageCount}\r\n />\r\n
\r\n )}\r\n
\r\n );\r\n }\r\n\r\n _renderRow = audit => (\r\n \r\n \r\n {audit.fullName}\r\n {audit.emailAddress}\r\n {audit.type}\r\n \r\n {audit.identifier}\r\n {audit.type === 'Serial' && audit.partNumber\r\n ? ` (Part #${audit.partNumber})`\r\n : ''}\r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default AuditsTable;\r\n","import React, {Component} from 'react';\r\nimport {Menu} from 'semantic-ui-react';\r\nimport {NavLink, Redirect, Switch} from 'react-router-dom';\r\nimport styled from 'react-emotion';\r\nimport {connect} from 'react-redux';\r\n\r\nimport Page from '../layout/Page';\r\nimport AllAuditsTable from './AllAuditsTable';\r\nimport {ROLES} from '../security/RequiresRole';\r\nimport AuthorizedRoute from '../security/AuthorizedRoute';\r\n\r\nconst PageWrapper = styled(Page.Basic)`\r\n .ui.menu .item {\r\n height: 42px;\r\n\r\n > .label.request-badge {\r\n background: #dfae38;\r\n }\r\n }\r\n`;\r\n\r\nclass IndexScreen extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n All Searches\r\n \r\n \r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({identity}) => {\r\n return {\r\n user: identity.user,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps)(IndexScreen);\r\n","import api from './api';\r\n\r\nconst service = {\r\n fetch: params => api.get('blacklists', params),\r\n fetchById: id => api.get(`blacklists/${id}`),\r\n blacklist: params => api.post('blacklists', params),\r\n unblacklist: id => api.delete(`blacklists/${id}`),\r\n update: blacklist => api.put(`blacklists/${blacklist.id}`, blacklist),\r\n};\r\n\r\nexport default service;\r\n","import restify from './restify';\r\n\r\nconst service = {\r\n ...restify('users'),\r\n};\r\n\r\nexport default service;\r\n","import React, {Fragment} from 'react';\r\nimport {Form, Input} from 'semantic-ui-react';\r\n\r\nconst BlacklistForm = ({\r\n blacklist,\r\n handleTextChanged,\r\n isReadOnly,\r\n isBeingEdited,\r\n}) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default BlacklistForm;\r\n","import withLifecycles from 'async-lifecycles';\r\nimport produce from 'immer';\r\nimport React, {Component, Fragment} from 'react';\r\nimport {PortalWithState} from 'react-portal';\r\nimport {Spring} from 'react-spring/renderprops';\r\nimport Blacklist from '../../store/services/blacklist';\r\nimport {\r\n Button,\r\n Header,\r\n Icon,\r\n Table,\r\n Popup,\r\n Label,\r\n Input,\r\n Pagination,\r\n Item,\r\n} from 'semantic-ui-react';\r\nimport {Form} from 'semantic-ui-react';\r\nimport toastr from 'toastr';\r\nimport {connect} from 'react-redux';\r\nimport {debounce} from 'lodash';\r\n\r\nimport searchImage from '../assets/search.svg';\r\nimport usersApi from '../../store/services/users';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport Layout from '../layout/Layout';\r\nimport LoadingContainer from '../layout/LoadingContainer';\r\nimport Page from '../layout/Page';\r\nimport {ModalWrapper} from '../modal/ModalWrapper';\r\nimport BlacklistForm from './BlacklistForm';\r\nimport RequiresRole, {ROLES} from '../security/RequiresRole';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\nimport styled from 'react-emotion';\r\n\r\nconst Styles = styled.div`\r\n .tableHeader {\r\n background-color: '#f00';\r\n display: flex;\r\n flex-grow: 1;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n\r\n .ui.header {\r\n margin-bottom: 0;\r\n }\r\n }\r\n`;\r\n\r\nclass AllBlacklistsTable extends Component {\r\n state = {\r\n loading: false,\r\n pageInfo: {},\r\n blacklist: undefined,\r\n orderByName: false,\r\n activePage: 1,\r\n searchTerm: '',\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n componentDidMount() {\r\n this._loadBlacklists(0, '');\r\n }\r\n\r\n _deleteBlacklist = async blacklist => {\r\n try {\r\n await Blacklist.unblacklist(blacklist.id);\r\n if (blacklist.userId) {\r\n let user = await usersApi.fetchById(blacklist.userId);\r\n user.result.isBlacklisted = false;\r\n await usersApi.update(user.result);\r\n }\r\n toastr.info('Blacklist removed');\r\n this._loadBlacklists(0, '');\r\n this.setState({searchTerm: ''});\r\n this._closePortal();\r\n } catch (error) {\r\n toastr.warning('Error removing blacklist');\r\n }\r\n };\r\n\r\n _loadBlacklists = (pageNumber, searchTerm) => {\r\n withLifecycles(\r\n () =>\r\n Blacklist.fetch({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: searchTerm,\r\n orderByName: this.state.orderByName,\r\n }),\r\n ({loading, data, error}) => {\r\n this.setState({activePage: pageNumber + 1});\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(\r\n () => Blacklist.update(this.state.blacklist),\r\n ({loading, data, error}) => {\r\n this.setState(\r\n produce(draft => {\r\n draft.saving = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this.props.history.push('/manage/blacklists');\r\n toastr.success('Blacklist Updated');\r\n this._loadBlacklists(0, '');\r\n this.setState({searchTerm: ''});\r\n this._closePortal();\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _showDetail = blacklist => {\r\n this._openPortal();\r\n this.setState({blacklist, error: {}});\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n this._mutate(draft => {\r\n draft.blacklist[name] = value;\r\n });\r\n };\r\n\r\n render() {\r\n const {pageInfo, activePage} = this.state;\r\n const blacklists = pageInfo.data || [];\r\n return (\r\n \r\n \r\n
\r\n
Blacklists
\r\n
\r\n {\r\n this._loadBlacklists(0, searchTerm.value);\r\n this.setState({searchTerm: searchTerm.value});\r\n }, 400)}\r\n />\r\n
\r\n
\r\n
\r\n {pageInfo.pageCount > 0 && (\r\n \r\n {({openPortal, closePortal, portal}) => {\r\n this._closePortal = closePortal;\r\n this._openPortal = openPortal;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n\r\n Customer\r\n First Name\r\n Last Name\r\n Email Address\r\n \r\n \r\n\r\n \r\n {blacklists.map(blacklists =>\r\n this._renderRow(blacklists)\r\n )}\r\n \r\n
\r\n {\r\n await this._loadBlacklists(\r\n paginationInfo.activePage - 1,\r\n this.state.searchTerm\r\n );\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={pageInfo.pageCount}\r\n />\r\n {portal(this._renderDetailModal())}\r\n
\r\n );\r\n }}\r\n
\r\n )}\r\n {blacklists.length === 0 && (\r\n \r\n \r\n \r\n \r\n No Blacklists.\r\n
\r\n \r\n No blacklists match your search results. Please clear or\r\n refine your search.\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n );\r\n }\r\n\r\n _renderRow = blacklist => (\r\n \r\n \r\n this._showDetail(blacklist)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n {blacklist.customer && (\r\n
\r\n {blacklist.customer}\r\n \r\n Customer\r\n \r\n
\r\n )}\r\n
\r\n
\r\n {blacklist.firstName}\r\n {blacklist.lastName}\r\n {blacklist.emailAddress}\r\n
\r\n );\r\n\r\n _renderDetailModal = () => {\r\n const {blacklist, error = {}} = this.state;\r\n\r\n return (\r\n \r\n {styles => (\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n {blacklist.userId === null && (\r\n \r\n )}\r\n {blacklist.userId === null && (\r\n \r\n )}\r\n {blacklist.userId !== null && (\r\n \r\n )}\r\n\r\n \r\n\r\n \r\n\r\n \r\n Remove from Blacklist\r\n \r\n }\r\n content={\r\n this._deleteBlacklist(blacklist)}\r\n />\r\n }\r\n on=\"click\"\r\n position=\"left center\"\r\n />\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n );\r\n };\r\n}\r\n\r\nconst mapStateToProps = ({customers, identity}) => ({\r\n customers: customers.data,\r\n role: identity.user.role,\r\n});\r\n\r\nexport default connect(mapStateToProps)(AllBlacklistsTable);\r\n","import api from './api';\r\n\r\nconst service = {\r\n fetch: params => api.get('blacklist-domains', params),\r\n fetchById: id => api.get(`blacklist-domains/${id}`),\r\n blacklistDomain: params => api.post('blacklist-domains', params),\r\n unblacklistDomain: id => api.delete(`blacklist-domains/${id}`),\r\n update: blacklistDomain =>\r\n api.put(`blacklist-domains/${blacklistDomain.id}`, blacklistDomain),\r\n};\r\n\r\nexport default service;\r\n","import React, {useState} from 'react';\r\nimport {Popup, Icon, Button} from 'semantic-ui-react';\r\n\r\nconst ConfirmButton = ({\r\n onConfirm,\r\n loading,\r\n text,\r\n loadingText = 'Loading...',\r\n confirmText = 'Are you sure?',\r\n confirmPosition = 'bottom left',\r\n icon,\r\n faIconName,\r\n infoPopup = false,\r\n infoText = 'This is the default information text.',\r\n warningColor,\r\n ...props\r\n}) => {\r\n const [open, setOpen] = useState(false);\r\n const toggleOpen = () => {\r\n setOpen(!open);\r\n };\r\n const onClose = () => {\r\n setOpen(false);\r\n };\r\n const onConfirmClick = () => {\r\n onConfirm();\r\n onClose();\r\n };\r\n return (\r\n \r\n {icon && }\r\n {icon && ' '}\r\n {loading ? loadingText : text}\r\n \r\n }\r\n position=\"top center\"\r\n content={infoText}\r\n disabled={!infoPopup}\r\n basic\r\n >\r\n }\r\n content={\r\n \r\n {confirmText}\r\n \r\n }\r\n position={confirmPosition}\r\n on=\"click\"\r\n />\r\n );\r\n};\r\n\r\nexport default ConfirmButton;\r\n","import withLifecycles from 'async-lifecycles';\r\nimport produce from 'immer';\r\nimport React, {Component, Fragment} from 'react';\r\nimport {PortalWithState} from 'react-portal';\r\nimport BlacklistDomain from '../../store/services/blacklistDomain';\r\nimport {Header, Icon, Table, Input, Pagination, Item} from 'semantic-ui-react';\r\nimport toastr from 'toastr';\r\nimport {connect} from 'react-redux';\r\nimport {debounce} from 'lodash';\r\n\r\nimport searchImage from '../assets/search.svg';\r\nimport ConfirmButton from '../components/confirm-delete-button';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport styled from 'react-emotion';\r\n\r\nconst Styles = styled.div`\r\n .tableHeader {\r\n background-color: '#f00';\r\n display: flex;\r\n flex-grow: 1;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n\r\n .ui.header {\r\n margin-bottom: 0;\r\n }\r\n }\r\n`;\r\n\r\nclass AllBlacklistedDomainTable extends Component {\r\n state = {\r\n loading: false,\r\n pageInfo: {},\r\n blacklistDomain: undefined,\r\n orderByName: false,\r\n activePage: 1,\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n componentDidMount() {\r\n this._loadBlacklistDomains(0, '');\r\n }\r\n\r\n _deleteBlacklistDomain = async blacklistDomain => {\r\n try {\r\n await BlacklistDomain.unblacklistDomain(blacklistDomain.id);\r\n toastr.info('Domain Blacklist lifted');\r\n this._loadBlacklistDomains(0, '');\r\n this.setState({searchTerm: ''});\r\n this._closePortal();\r\n } catch (error) {\r\n toastr.warning('Error removing blacklisted domain');\r\n }\r\n };\r\n\r\n _loadBlacklistDomains = (pageNumber, searchTerm) => {\r\n withLifecycles(\r\n () =>\r\n BlacklistDomain.fetch({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: searchTerm,\r\n orderByName: this.state.orderByName,\r\n }),\r\n ({loading, data}) => {\r\n this.setState({activePage: pageNumber + 1});\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _showDetail = blacklistDomain => {\r\n this._openPortal();\r\n this.setState({blacklistDomain, error: {}});\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n this._mutate(draft => {\r\n draft.blacklistDomain[name] = value;\r\n });\r\n };\r\n\r\n render() {\r\n const {pageInfo, activePage} = this.state;\r\n const blacklistDomains = pageInfo.data || [];\r\n return (\r\n \r\n \r\n
\r\n
Blacklist Domains
\r\n
\r\n {\r\n this._loadBlacklistDomains(0, searchTerm.value);\r\n this.setState({searchTerm: searchTerm.value});\r\n }, 400)}\r\n />\r\n
\r\n
\r\n
\r\n {pageInfo.pageCount > 0 && (\r\n \r\n {({openPortal, closePortal}) => {\r\n this._closePortal = closePortal;\r\n this._openPortal = openPortal;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n\r\n Domain\r\n \r\n \r\n\r\n \r\n {blacklistDomains.map(blacklistDomains =>\r\n this._renderRow(blacklistDomains)\r\n )}\r\n \r\n
\r\n {\r\n await this._loadBlacklistDomains(\r\n paginationInfo.activePage - 1,\r\n this.state.searchTerm\r\n );\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={pageInfo.pageCount}\r\n />\r\n
\r\n );\r\n }}\r\n
\r\n )}\r\n {blacklistDomains.length === 0 && (\r\n \r\n \r\n \r\n \r\n No Blacklisted Domains.\r\n
\r\n \r\n No blacklist domains match your search results. Please clear\r\n or refine your search.\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n );\r\n }\r\n\r\n _renderRow = blacklistDomain => (\r\n \r\n \r\n this._deleteBlacklistDomain(blacklistDomain)}\r\n faIconName={'trash'}\r\n warningColor=\"#DB2828\"\r\n />\r\n \r\n {blacklistDomain.domainName}\r\n \r\n );\r\n}\r\n\r\nconst mapStateToProps = ({customers, identity}) => ({\r\n customers: customers.data,\r\n role: identity.user.role,\r\n});\r\n\r\nexport default connect(mapStateToProps)(AllBlacklistedDomainTable);\r\n","import React, {Fragment} from 'react';\r\nimport {Form, Input} from 'semantic-ui-react';\r\n\r\nconst BlacklistDomainForm = ({\r\n blacklistDomain,\r\n handleTextChanged,\r\n isReadOnly,\r\n isBeingEdited,\r\n}) => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default BlacklistDomainForm;\r\n","import React, {Component} from 'react';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Form, Icon} from 'semantic-ui-react';\r\nimport {Link} from 'react-router-dom';\r\nimport toastr from 'toastr';\r\n\r\nimport {connect} from 'react-redux';\r\nimport BlacklistDomain from '../../store/services/blacklistDomain';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\nimport BlacklistDomainForm from './BlacklistDomainForm';\r\n\r\nclass NewBlacklistDomainScreen extends Component {\r\n state = {\r\n loading: false,\r\n blacklistDomain: {\r\n domainName: '',\r\n },\r\n error: {},\r\n userError: false,\r\n hasUserId: false,\r\n user: {},\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n this._mutate(draft => {\r\n draft.blacklistDomain[name] = value;\r\n });\r\n };\r\n\r\n _loadBlacklistedDomains = (pageNumber, searchTerm) => {\r\n withLifecycles(\r\n () =>\r\n BlacklistDomain.fetch({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: searchTerm,\r\n orderByName: false,\r\n }),\r\n ({loading, data}) => {\r\n this.setState({activePage: pageNumber + 1});\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(\r\n () => BlacklistDomain.blacklistDomain(this.state.blacklistDomain),\r\n ({loading, data, error}) => {\r\n this._mutate(draft => {\r\n draft.loading = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this._loadBlacklistedDomains(0, '');\r\n toastr.success('Blacklisted Domain Created');\r\n this.props.history.push('/manage/blacklists/domains');\r\n }\r\n });\r\n }\r\n );\r\n };\r\n\r\n render() {\r\n const {error, loading, blacklistDomain} = this.state;\r\n\r\n return (\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({customers, identity}) => ({\r\n customers: customers.data,\r\n role: identity.user.role,\r\n});\r\n\r\nexport default connect(mapStateToProps)(NewBlacklistDomainScreen);\r\n","import React, { Component } from 'react';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport { Button, Form, Icon } from 'semantic-ui-react';\r\nimport { Link } from 'react-router-dom';\r\nimport toastr from 'toastr';\r\n\r\nimport usersApi from '../../store/services/users';\r\nimport { connect } from 'react-redux';\r\nimport Blacklist from '../../store/services/blacklist';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport { ErrorMessages } from '../form-components/ErrorMessages';\r\nimport BlacklistForm from './BlacklistForm';\r\n\r\nclass NewBlacklistScreen extends Component {\r\n state = {\r\n loading: false,\r\n blacklist: {\r\n userId: undefined,\r\n firstName: '',\r\n lastName: '',\r\n emailAddress: '',\r\n customer: '',\r\n },\r\n error: {},\r\n userError: false,\r\n hasUserId: false,\r\n user: {},\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n _handleTextChanged = (event, { name, value }) => {\r\n this._mutate(draft => {\r\n draft.blacklist[name] = value;\r\n });\r\n };\r\n\r\n _blacklist = async emailAddress => {\r\n let user = await usersApi.fetchByEmail(emailAddress);\r\n\r\n withLifecycles(\r\n () =>\r\n Blacklist.blacklist({\r\n ...user.result,\r\n userId: user.result.id,\r\n customer: user.result.company || user.result.customerName,\r\n }),\r\n ({ loading, data, error }) => {\r\n this.setState(\r\n produce(draft => {\r\n draft.saving = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this._loadBlacklists(0, '');\r\n this.props.history.push('/manage/blacklists');\r\n toastr.success('User Blacklisted');\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _loadBlacklists = (pageNumber, searchTerm) => {\r\n withLifecycles(\r\n () =>\r\n Blacklist.fetch({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: searchTerm,\r\n orderByName: false,\r\n }),\r\n ({ loading, data }) => {\r\n this.setState({ activePage: pageNumber + 1 });\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(\r\n () => Blacklist.blacklist(this.state.blacklist),\r\n ({ loading, data, error }) => {\r\n this._mutate(draft => {\r\n draft.loading = loading;\r\n draft.error = error;\r\n this.userError = false;\r\n let errorLength = (draft.error.errors || []).length;\r\n let errorMessages = (draft.error.errors || []).map(\r\n x => x.errorMessage\r\n );\r\n\r\n if (data && !data.hasErrors) {\r\n this._loadBlacklists(0, '');\r\n toastr.success('Blacklist Created');\r\n this.props.history.push('/manage/blacklists');\r\n } else if (\r\n errorLength === 1 &&\r\n errorMessages[0] ===\r\n 'A user with this email address already exists.'\r\n ) {\r\n this.userError = true;\r\n }\r\n });\r\n }\r\n );\r\n };\r\n\r\n render() {\r\n const { error, loading, blacklist } = this.state;\r\n\r\n return (\r\n \r\n
\r\n \r\n \r\n \r\n {this.userError === true && (\r\n this._blacklist(blacklist.emailAddress)}\r\n >\r\n Blacklist this user\r\n \r\n )}\r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({ customers, identity }) => ({\r\n customers: customers.data,\r\n role: identity.user.role,\r\n});\r\n\r\nexport default connect(mapStateToProps)(NewBlacklistScreen);\r\n","import React, {Component} from 'react';\r\nimport {Menu} from 'semantic-ui-react';\r\nimport {NavLink, Switch} from 'react-router-dom';\r\nimport styled from 'react-emotion';\r\nimport {connect} from 'react-redux';\r\n\r\nimport Page from '../layout/Page';\r\nimport AllBlacklistsTable from '../blacklists/AllBlacklistsTable';\r\nimport RequiresRole, {ROLES} from '../security/RequiresRole';\r\nimport AuthorizedRoute from '../security/AuthorizedRoute';\r\nimport AllBlacklistedDomainTable from './AllBlacklistedDomainTable';\r\nimport NewBlacklistDomainScreen from './NewBlacklistDomainScreen';\r\nimport NewBlacklistScreen from './NewBlacklistScreen';\r\n\r\nconst PageWrapper = styled(Page.Basic)`\r\n .ui.menu .item {\r\n height: 42px;\r\n\r\n > .label.request-badge {\r\n background: #dfae38;\r\n }\r\n }\r\n`;\r\n\r\nclass IndexScreen extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n \r\n Blacklisted Users\r\n \r\n \r\n Blacklist a User\r\n \r\n \r\n Blacklisted Domains\r\n \r\n \r\n Blacklist New Domain\r\n \r\n \r\n \r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({identity}) => {\r\n return {\r\n user: identity.user,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps)(IndexScreen);\r\n","import api from './api';\r\n\r\nconst service = {\r\n fetch: params => api.get('whitelists', params),\r\n fetchById: id => api.get(`whitelists/${id}`),\r\n whitelist: params => api.post('whitelists', params),\r\n unwhitelist: id => api.delete(`whitelists/${id}`),\r\n update: whitelist => api.put(`whitelists/${whitelist.id}`, whitelist),\r\n};\r\n\r\nexport default service;\r\n","import React, {Fragment} from 'react';\r\nimport {Form, Input} from 'semantic-ui-react';\r\n\r\nconst WhitelistForm = ({\r\n whitelist,\r\n handleTextChanged,\r\n isReadOnly,\r\n isBeingEdited,\r\n}) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default WhitelistForm;\r\n","import withLifecycles from 'async-lifecycles';\r\nimport styled from 'react-emotion';\r\nimport React, {Component, Fragment} from 'react';\r\nimport produce from 'immer';\r\nimport usersApi from '../../store/services/users';\r\nimport toastr from 'toastr';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport {Button, Form, Header, Icon, Input, Item, Label, Pagination, Popup, Table} from 'semantic-ui-react';\r\nimport {debounce} from 'lodash';\r\nimport {PortalWithState} from 'react-portal';\r\nimport searchImage from '../assets/search.svg';\r\nimport {Spring} from 'react-spring/renderprops';\r\nimport {ModalWrapper} from '../modal/ModalWrapper';\r\nimport Layout from '../layout/Layout';\r\nimport Page from '../layout/Page';\r\nimport LoadingContainer from '../layout/LoadingContainer';\r\nimport RequiresRole, {ROLES} from '../security/RequiresRole';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\nimport {connect} from 'react-redux';\r\nimport Whitelist from '../../store/services/whitelist';\r\nimport WhitelistForm from './WhitelistForm';\r\n\r\nconst Styles = styled.div`\r\n .tableHeader {\r\n background-color: '#f00';\r\n display: flex;\r\n flex-grow: 1;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n\r\n .ui.header {\r\n margin-bottom: 0;\r\n }\r\n }\r\n`;\r\n\r\nclass AllWhitelistsTable extends Component {\r\n state = {\r\n loading: false, pageInfo: {}, whitelist: undefined, orderByName: false, activePage: 1, searchTerm: '',\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n componentDidMount() {\r\n this._loadWhitelists(0, '');\r\n }\r\n\r\n _deleteWhitelist = async whitelist => {\r\n try {\r\n await Whitelist.unwhitelist(whitelist.id);\r\n if (whitelist.userId) {\r\n let user = await usersApi.fetchById(whitelist.userId);\r\n user.result.isWhitelisted = false;\r\n await usersApi.update(user.result);\r\n }\r\n toastr.info('Whitelist removed');\r\n this._loadWhitelists(0, '');\r\n this.setState({searchTerm: ''});\r\n this._closePortal();\r\n } catch (error) {\r\n toastr.warning('Error removing whitelist');\r\n }\r\n };\r\n\r\n _loadWhitelists = (pageNumber, searchTerm) => {\r\n withLifecycles(() => Whitelist.fetch({\r\n request: {\r\n page: pageNumber, pageSize: 20,\r\n }, searchTerm: searchTerm, orderByName: this.state.orderByName,\r\n }), ({loading, data, error}) => {\r\n this.setState({activePage: pageNumber + 1});\r\n this.setState(produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n }));\r\n });\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(() => Whitelist.update(this.state.whitelist), ({loading, data, error}) => {\r\n this.setState(produce(draft => {\r\n draft.saving = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this.props.history.push('/manage/whitelists');\r\n toastr.success('Whitelist Updated');\r\n this._loadWhitelists(0, '');\r\n this.setState({searchTerm: ''});\r\n this._closePortal();\r\n }\r\n }));\r\n });\r\n };\r\n\r\n _showDetail = whitelist => {\r\n this._openPortal();\r\n this.setState({whitelist, error: {}});\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n this._mutate(draft => {\r\n draft.whitelist[name] = value;\r\n });\r\n };\r\n\r\n render() {\r\n const {pageInfo, activePage} = this.state;\r\n const whitelists = pageInfo.data || [];\r\n return (\r\n \r\n
\r\n
Whitelists
\r\n
\r\n {\r\n this._loadWhitelists(0, searchTerm.value);\r\n this.setState({searchTerm: searchTerm.value});\r\n }, 400)}\r\n />\r\n
\r\n
\r\n
\r\n {pageInfo.pageCount > 0 && (\r\n {({openPortal, closePortal, portal}) => {\r\n this._closePortal = closePortal;\r\n this._openPortal = openPortal;\r\n return (\r\n \r\n \r\n \r\n \r\n\r\n Customer\r\n First Name\r\n Last Name\r\n Email Address\r\n \r\n \r\n\r\n \r\n {whitelists.map(whitelists => this._renderRow(whitelists))}\r\n \r\n
\r\n {\r\n await this._loadWhitelists(paginationInfo.activePage - 1, this.state.searchTerm);\r\n }}\r\n ellipsisItem={{\r\n content: , icon: true,\r\n }}\r\n firstItem={{\r\n content: , icon: true,\r\n }}\r\n lastItem={{\r\n content: , icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: , icon: true,\r\n }}\r\n totalPages={pageInfo.pageCount}\r\n />\r\n {portal(this._renderDetailModal())}\r\n
);\r\n }}\r\n
)}\r\n {whitelists.length === 0 && (\r\n \r\n \r\n \r\n No Whitelists.\r\n
\r\n \r\n No whitelists match your search results. Please clear or\r\n refine your search.\r\n \r\n
\r\n
\r\n
\r\n
)}\r\n
);\r\n }\r\n\r\n _renderRow = whitelist => (\r\n \r\n this._showDetail(whitelist)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n {whitelist.customer && (
\r\n {whitelist.customer}\r\n \r\n Customer\r\n \r\n
)}\r\n
\r\n
\r\n {whitelist.firstName}\r\n {whitelist.lastName}\r\n {whitelist.emailAddress}\r\n
);\r\n\r\n _renderDetailModal = () => {\r\n const {whitelist, error = {}} = this.state;\r\n\r\n return (\r\n {styles => (\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n {whitelist.userId === null && ()}\r\n {whitelist.userId === null && ()}\r\n {whitelist.userId !== null && ()}\r\n\r\n \r\n\r\n \r\n\r\n \r\n Remove from Whitelist\r\n }\r\n content={ this._deleteWhitelist(whitelist)}\r\n />}\r\n on=\"click\"\r\n position=\"left center\"\r\n />\r\n \r\n
\r\n
\r\n
\r\n
)}\r\n
);\r\n };\r\n}\r\n\r\nconst mapStateToProps = ({customers, identity}) => ({\r\n customers: customers.data, role: identity.user.role,\r\n});\r\n\r\nexport default connect(mapStateToProps)(AllWhitelistsTable);\r\n","import React, {Component} from 'react';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Form, Icon} from 'semantic-ui-react';\r\nimport {Link} from 'react-router-dom';\r\nimport toastr from 'toastr';\r\n\r\nimport usersApi from '../../store/services/users';\r\nimport {connect} from 'react-redux';\r\nimport Whitelist from '../../store/services/whitelist';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\nimport WhitelistForm from './WhitelistForm';\r\n\r\nclass NewWhitelistScreen extends Component {\r\n state = {\r\n loading: false,\r\n whitelist: {\r\n userId: undefined,\r\n firstName: '',\r\n lastName: '',\r\n emailAddress: '',\r\n customer: '',\r\n },\r\n error: {},\r\n userError: false,\r\n hasUserId: false,\r\n user: {},\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n this._mutate(draft => {\r\n draft.whitelist[name] = value;\r\n });\r\n };\r\n\r\n _whitelist = async emailAddress => {\r\n let user = await usersApi.fetchByEmail(emailAddress);\r\n\r\n withLifecycles(\r\n () =>\r\n Whitelist.whitelist({\r\n ...user.result,\r\n userId: user.result.id,\r\n customer: user.result.company || user.result.customerName,\r\n }),\r\n ({loading, data, error}) => {\r\n this.setState(\r\n produce(draft => {\r\n draft.saving = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this._loadWhitelists(0, '');\r\n this.props.history.push('/manage/whitelists');\r\n toastr.success('User Whitelisted');\r\n }\r\n }),\r\n );\r\n },\r\n );\r\n };\r\n\r\n _loadWhitelists = (pageNumber, searchTerm) => {\r\n withLifecycles(\r\n () =>\r\n Whitelist.fetch({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: searchTerm,\r\n orderByName: false,\r\n }),\r\n ({loading, data}) => {\r\n this.setState({activePage: pageNumber + 1});\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n }),\r\n );\r\n },\r\n );\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(\r\n () => Whitelist.whitelist(this.state.whitelist),\r\n ({loading, data, error}) => {\r\n this._mutate(draft => {\r\n draft.loading = loading;\r\n draft.error = error;\r\n this.userError = false;\r\n let errorLength = (draft.error.errors || []).length;\r\n let errorMessages = (draft.error.errors || []).map(\r\n x => x.errorMessage,\r\n );\r\n\r\n if (data && !data.hasErrors) {\r\n this._loadWhitelists(0, '');\r\n toastr.success('Whitelist Created');\r\n this.props.history.push('/manage/whitelists');\r\n } else if (\r\n errorLength === 1 &&\r\n errorMessages[0] ===\r\n 'A user with this email address already exists.'\r\n ) {\r\n this.userError = true;\r\n }\r\n });\r\n },\r\n );\r\n };\r\n\r\n render() {\r\n const {error, loading, whitelist} = this.state;\r\n\r\n return (\r\n \r\n
\r\n \r\n \r\n \r\n {this.userError === true && (\r\n this._whitelist(whitelist.emailAddress)}\r\n >\r\n Whitelist this user\r\n \r\n )}\r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({customers, identity}) => ({\r\n customers: customers.data,\r\n role: identity.user.role,\r\n});\r\n\r\nexport default connect(mapStateToProps)(NewWhitelistScreen);\r\n","import api from './api';\r\n\r\nconst service = {\r\n fetch: params => api.get('whitelist-domains', params),\r\n fetchById: id => api.get(`whitelist-domains/${id}`),\r\n whitelistDomain: params => api.post('whitelist-domains', params),\r\n unwhitelistDomain: id => api.delete(`whitelist-domains/${id}`),\r\n update: whitelistDomain =>\r\n api.put(`whitelist-domains/${whitelistDomain.id}`, whitelistDomain),\r\n};\r\n\r\nexport default service;\r\n","import withLifecycles from 'async-lifecycles';\r\nimport produce from 'immer';\r\nimport React, {Component, Fragment} from 'react';\r\nimport {PortalWithState} from 'react-portal';\r\nimport WhitelistDomain from '../../store/services/whitelistDomain';\r\nimport {Header, Icon, Input, Item, Pagination, Table} from 'semantic-ui-react';\r\nimport toastr from 'toastr';\r\nimport {connect} from 'react-redux';\r\nimport {debounce} from 'lodash';\r\n\r\nimport searchImage from '../assets/search.svg';\r\nimport ConfirmButton from '../components/confirm-delete-button';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport styled from 'react-emotion';\r\n\r\nconst Styles = styled.div`\r\n .tableHeader {\r\n background-color: '#f00';\r\n display: flex;\r\n flex-grow: 1;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n\r\n .ui.header {\r\n margin-bottom: 0;\r\n }\r\n }\r\n`;\r\n\r\nclass AllWhitelistedDomainTable extends Component {\r\n state = {\r\n loading: false,\r\n pageInfo: {},\r\n whitelistDomain: undefined,\r\n orderByName: false,\r\n activePage: 1,\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n componentDidMount() {\r\n this._loadWhitelistDomains(0, '');\r\n }\r\n\r\n _deleteWhitelistDomain = async whitelistDomain => {\r\n try {\r\n await WhitelistDomain.unwhitelistDomain(whitelistDomain.id);\r\n toastr.info('Domain Whitelist lifted');\r\n this._loadWhitelistDomains(0, '');\r\n this.setState({searchTerm: ''});\r\n this._closePortal();\r\n } catch (error) {\r\n toastr.warning('Error removing whitelisted domain');\r\n }\r\n };\r\n\r\n _loadWhitelistDomains = (pageNumber, searchTerm) => {\r\n withLifecycles(\r\n () =>\r\n WhitelistDomain.fetch({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: searchTerm,\r\n orderByName: this.state.orderByName,\r\n }),\r\n ({loading, data}) => {\r\n this.setState({activePage: pageNumber + 1});\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n }),\r\n );\r\n },\r\n );\r\n };\r\n\r\n _showDetail = whitelistDomain => {\r\n this._openPortal();\r\n this.setState({whitelistDomain, error: {}});\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n this._mutate(draft => {\r\n draft.whitelistDomain[name] = value;\r\n });\r\n };\r\n\r\n render() {\r\n const {pageInfo, activePage} = this.state;\r\n const whitelistDomains = pageInfo.data || [];\r\n return (\r\n \r\n \r\n
\r\n
Whitelist Domains
\r\n
\r\n {\r\n this._loadWhitelistDomains(0, searchTerm.value);\r\n this.setState({searchTerm: searchTerm.value});\r\n }, 400)}\r\n />\r\n
\r\n
\r\n
\r\n {pageInfo.pageCount > 0 && (\r\n \r\n {({openPortal, closePortal}) => {\r\n this._closePortal = closePortal;\r\n this._openPortal = openPortal;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n\r\n Domain\r\n \r\n \r\n\r\n \r\n {whitelistDomains.map(whitelistDomains =>\r\n this._renderRow(whitelistDomains),\r\n )}\r\n \r\n
\r\n {\r\n await this._loadWhitelistDomains(\r\n paginationInfo.activePage - 1,\r\n this.state.searchTerm,\r\n );\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={pageInfo.pageCount}\r\n />\r\n
\r\n );\r\n }}\r\n
\r\n )}\r\n {whitelistDomains.length === 0 && (\r\n \r\n \r\n \r\n \r\n No Whitelisted Domains.\r\n
\r\n \r\n No whitelist domains match your search results. Please clear\r\n or refine your search.\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n );\r\n }\r\n\r\n _renderRow = whitelistDomain => (\r\n \r\n \r\n this._deleteWhitelistDomain(whitelistDomain)}\r\n faIconName={'trash'}\r\n warningColor=\"#DB2828\"\r\n />\r\n \r\n {whitelistDomain.domainName}\r\n \r\n );\r\n}\r\n\r\nconst mapStateToProps = ({customers, identity}) => ({\r\n customers: customers.data,\r\n role: identity.user.role,\r\n});\r\n\r\nexport default connect(mapStateToProps)(AllWhitelistedDomainTable);\r\n","import React, {Fragment} from 'react';\r\nimport {Form, Input} from 'semantic-ui-react';\r\n\r\nconst WhitelistDomainForm = ({\r\n whitelistDomain,\r\n handleTextChanged,\r\n isReadOnly,\r\n isBeingEdited,\r\n}) => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default WhitelistDomainForm;\r\n","import React, {Component} from 'react';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Form, Icon} from 'semantic-ui-react';\r\nimport {Link} from 'react-router-dom';\r\nimport toastr from 'toastr';\r\n\r\nimport {connect} from 'react-redux';\r\nimport WhitelistDomain from '../../store/services/whitelistDomain';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\nimport WhitelistDomainForm from './WhitelistDomainForm';\r\n\r\nclass NewWhitelistDomainScreen extends Component {\r\n state = {\r\n loading: false,\r\n whitelistDomain: {\r\n domainName: '',\r\n },\r\n error: {},\r\n userError: false,\r\n hasUserId: false,\r\n user: {},\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n this._mutate(draft => {\r\n draft.whitelistDomain[name] = value;\r\n });\r\n };\r\n\r\n _loadWhitelistedDomains = (pageNumber, searchTerm) => {\r\n withLifecycles(\r\n () =>\r\n WhitelistDomain.fetch({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: searchTerm,\r\n orderByName: false,\r\n }),\r\n ({loading, data}) => {\r\n this.setState({activePage: pageNumber + 1});\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n }),\r\n );\r\n },\r\n );\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(\r\n () => WhitelistDomain.whitelistDomain(this.state.whitelistDomain),\r\n ({loading, data, error}) => {\r\n this._mutate(draft => {\r\n draft.loading = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this._loadWhitelistedDomains(0, '');\r\n toastr.success('Whitelisted Domain Created');\r\n this.props.history.push('/manage/whitelists/domains');\r\n }\r\n });\r\n },\r\n );\r\n };\r\n\r\n render() {\r\n const {error, loading, whitelistDomain} = this.state;\r\n\r\n return (\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({customers, identity}) => ({\r\n customers: customers.data,\r\n role: identity.user.role,\r\n});\r\n\r\nexport default connect(mapStateToProps)(NewWhitelistDomainScreen);\r\n","import styled from 'react-emotion';\r\nimport Page from '../layout/Page';\r\nimport React, {Component} from 'react';\r\nimport {Menu} from 'semantic-ui-react';\r\nimport {ROLES} from '../../constants';\r\nimport {NavLink, Switch} from 'react-router-dom';\r\nimport {connect} from 'react-redux';\r\nimport RequiresRole from '../security/RequiresRole';\r\nimport AuthorizedRoute from '../security/AuthorizedRoute';\r\nimport AllWhitelistsTable from '../whitelists/AllWhitelistsTable';\r\nimport NewWhitelistScreen from './NewWhitelistScreen';\r\nimport AllWhitelistedDomainTable from './AllWhitelistedDomainTable';\r\nimport NewWhitelistDomainScreen from './NewWhitelistDomainScreen';\r\n\r\nconst PageWrapper = styled(Page.Basic)`\r\n .ui.menu .item {\r\n height: 42px;\r\n\r\n > .label.request-badge {\r\n background: #dfae38;\r\n }\r\n }\r\n`;\r\n\r\n\r\nclass IndexScreen extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n \r\n Whitelisted Users\r\n \r\n \r\n Whitelist a User\r\n \r\n \r\n Whitelisted Domains\r\n \r\n \r\n Whitelist New Domain\r\n \r\n \r\n \r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({identity}) => {\r\n return {\r\n user: identity.user,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps)(IndexScreen);\r\n","import React, {Component} from 'react';\r\n\r\nimport epicorService from '../../store/services/epicor';\r\nimport Page from '../layout/Page';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport OrderTable from '../components/OrderTable';\r\nimport {Item} from 'semantic-ui-react';\r\n\r\nclass OrderHistory extends Component {\r\n state = {\r\n orders: [],\r\n };\r\n\r\n async componentDidMount() {\r\n try {\r\n this.setState({loading: true});\r\n const {result} = await epicorService.fetchOrders();\r\n this.setState({orders: result || []});\r\n } catch (error) {\r\n this.setState({error});\r\n } finally {\r\n this.setState({loading: false});\r\n }\r\n }\r\n\r\n render() {\r\n const {loading, orders} = this.state;\r\n\r\n return (\r\n \r\n \r\n {!!orders.length && }\r\n {!!orders && orders.length === 0 && (\r\n \r\n \r\n \r\n No Results Found \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default OrderHistory;\r\n","import restify from './restify';\r\n\r\nconst service = {\r\n ...restify('settings'),\r\n};\r\n\r\nexport default service;\r\n","import React, {Component} from 'react';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Message, Table, Icon} from 'semantic-ui-react';\r\nimport {Link} from 'react-router-dom';\r\n\r\nimport settingsApi from '../../store/services/settings';\r\nimport Page from '../layout/Page';\r\nimport FormContainer from '../form-components/FormContainer';\r\n\r\nclass List extends Component {\r\n state = {\r\n loading: false,\r\n settings: {},\r\n };\r\n\r\n componentDidMount() {\r\n this._loadSettings();\r\n }\r\n\r\n _loadSettings = () => {\r\n withLifecycles(\r\n () => settingsApi.fetch(),\r\n ({loading, data, error}) => {\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.settings = data.result || [];\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n render() {\r\n const {settings} = this.state;\r\n\r\n return (\r\n \r\n \r\n {settings.length === 0 && No Settings}\r\n {settings.length > 0 && (\r\n \r\n \r\n \r\n \r\n Name\r\n Value\r\n \r\n \r\n\r\n {settings.map(this._renderRow)}\r\n
\r\n )}\r\n
\r\n
\r\n );\r\n }\r\n\r\n _renderRow = setting => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {setting.key}\r\n \r\n {setting.value.length > 100\r\n ? `${setting.value.substring(0, 100)}...`\r\n : setting.value}\r\n \r\n \r\n );\r\n };\r\n}\r\n\r\nexport default List;\r\n","import React, {Component} from 'react';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, TextArea, Form, Input, Message} from 'semantic-ui-react';\r\nimport {Link} from 'react-router-dom';\r\nimport toastr from 'toastr';\r\n\r\nimport settingsApi from '../../store/services/settings';\r\nimport Page from '../layout/Page';\r\nimport FormContainer from '../form-components/FormContainer';\r\n\r\nclass EditSettingsScreen extends Component {\r\n state = {\r\n loading: true,\r\n setting: null,\r\n error: {},\r\n };\r\n\r\n async componentDidMount() {\r\n withLifecycles(\r\n () => settingsApi.fetchById(this.props.match.params.settingId),\r\n ({loading, data, error}) => {\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.setting = data.result;\r\n }\r\n })\r\n );\r\n }\r\n );\r\n }\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n this._mutate(draft => {\r\n draft.setting[name] = value;\r\n });\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(\r\n () => settingsApi.update(this.state.setting),\r\n ({loading, data, error}) => {\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n draft.error = error;\r\n if (data && !data.hasErrors) {\r\n this.props.history.push('/manage/settings');\r\n toastr.success('Setting Updated');\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n render() {\r\n const {loading, setting} = this.state;\r\n return (\r\n }>\r\n \r\n {setting ? this._renderForm() : ''}\r\n \r\n \r\n );\r\n }\r\n\r\n _renderForm = () => {\r\n const {error, setting} = this.state;\r\n return (\r\n
\r\n \r\n \r\n {error.errors && (\r\n \r\n {error.errors.map(x => (\r\n

{x.errorMessage}

\r\n ))}\r\n
\r\n )}\r\n \r\n \r\n \r\n );\r\n };\r\n}\r\n\r\nexport default EditSettingsScreen;\r\n","import React from 'react';\r\nimport {Route, Redirect, Switch} from 'react-router-dom';\r\n\r\nimport List from './List';\r\nimport Edit from './Edit';\r\n\r\nconst Routes = () => (\r\n \r\n \r\n \r\n \r\n \r\n);\r\nexport default Routes;\r\n","import restify from './restify';\r\nimport api from './api';\r\n\r\nconst service = {\r\n ...restify('user-access'),\r\n fetchPending: params => api.get('user-access/users/pending', params),\r\n approvePending: params => api.patch('user-access/approve', params),\r\n denyPending: params => api.patch('user-access/deny', params),\r\n};\r\n\r\nexport default service;\r\n","import React, {Fragment} from 'react';\r\nimport {Dropdown, Form, Input} from 'semantic-ui-react';\r\nimport includes from 'lodash/includes';\r\nimport PhoneInput from 'react-phone-input-2';\r\nimport 'react-phone-input-2/lib/style.css';\r\n\r\nimport {ROLES, RoleList} from '../../constants';\r\n\r\nconst UserForm = ({customerOptions, user, role, handleTextChanged}) => {\r\n const shouldRenderCompanyInput = includes([ROLES.SEARCH_ONLY], user.role);\r\n const shouldRenderCustomerSelector =\r\n (role === ROLES.SYSTEM_ADMIN || role === ROLES.MM_ADMIN) &&\r\n includes([ROLES.CUSTOMER_ADMIN, ROLES.CUSTOMER_USER], user.role);\r\n const userIsSearchOnly = includes([ROLES.SEARCH_ONLY], user.role);\r\n const roleOptions = RoleList.filter(x => {\r\n if (role === ROLES.SYSTEM_ADMIN) return true;\r\n else if (role === ROLES.MM_ADMIN && x !== ROLES.SYSTEM_ADMIN) return true;\r\n else return x !== ROLES.MM_ADMIN && x !== ROLES.SYSTEM_ADMIN;\r\n }).map(x => ({text: x, value: x}));\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n handleTextChanged(null, {name: 'phoneNumber', value: value})\r\n }\r\n label=\"Phone Number\"\r\n control={PhoneInput}\r\n inputStyle={{paddingLeft: 50, height: 40}}\r\n country={'us'}\r\n preferredCountries={['us']}\r\n disableAreaCodes\r\n />\r\n \r\n\r\n \r\n\r\n \r\n {shouldRenderCustomerSelector && (\r\n \r\n )}\r\n\r\n {shouldRenderCompanyInput && userIsSearchOnly && (\r\n \r\n )}\r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default UserForm;\r\n","import withLifecycles from 'async-lifecycles';\r\nimport produce from 'immer';\r\nimport React, { Component, Fragment } from 'react';\r\nimport { PortalWithState } from 'react-portal';\r\nimport { Spring } from 'react-spring/renderprops';\r\nimport {\r\n Button,\r\n Header,\r\n Icon,\r\n Table,\r\n Popup,\r\n Label,\r\n Input,\r\n Pagination,\r\n Item,\r\n} from 'semantic-ui-react';\r\nimport { Form } from 'semantic-ui-react';\r\nimport toastr from 'toastr';\r\nimport { connect } from 'react-redux';\r\nimport { includes, debounce } from 'lodash';\r\n\r\nimport { DateFormat, TimeFormat } from '.././components/date';\r\nimport Blacklist from '../../store/services/blacklist';\r\nimport searchImage from '../assets/search.svg';\r\nimport usersApi from '../../store/services/users';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport Layout from '../layout/Layout';\r\nimport LoadingContainer from '../layout/LoadingContainer';\r\nimport Page from '../layout/Page';\r\nimport { ModalWrapper } from '../modal/ModalWrapper';\r\nimport UserForm from './UserForm';\r\nimport RequiresRole, { ROLES } from '../security/RequiresRole';\r\nimport { ErrorMessages } from '../form-components/ErrorMessages';\r\nimport styled from 'react-emotion';\r\n\r\nconst Styles = styled.div`\r\n .tableHeader {\r\n background-color: '#f00';\r\n display: flex;\r\n flex-grow: 1;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n\r\n .ui.header {\r\n margin-bottom: 0;\r\n }\r\n }\r\n`;\r\n\r\nclass AllUsersTable extends Component {\r\n state = {\r\n loading: false,\r\n pageInfo: {},\r\n user: undefined,\r\n orderByName: false,\r\n activePage: 1,\r\n searchTerm: '',\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n componentDidMount() {\r\n this._loadUsers(0, '');\r\n }\r\n\r\n _deleteUser = async user => {\r\n try {\r\n await usersApi.remove(user);\r\n toastr.info('User removed');\r\n this._loadUsers(0, '');\r\n this.setState({ searchTerm: '' });\r\n this._closePortal();\r\n } catch (error) {\r\n toastr.warning('Error removing user');\r\n }\r\n };\r\n\r\n _blacklist = user => {\r\n user.isBlacklisted = true;\r\n this.setState({ user: user });\r\n\r\n withLifecycles(\r\n () => usersApi.update(this.state.user),\r\n ({ data, error }) => {\r\n this.setState(\r\n produce(draft => {\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this.props.history.push('/manage/users');\r\n toastr.success('User Blacklisted');\r\n this._loadUsers(0, '');\r\n this.setState({ searchTerm: '' });\r\n this._closePortal();\r\n\r\n Blacklist.blacklist({\r\n ...user,\r\n userId: user.id,\r\n customer: user.customerName || user.company,\r\n });\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _output = () => {\r\n try {\r\n usersApi.export().then(response => {\r\n const url = window.URL.createObjectURL(new Blob([response]));\r\n const link = document.createElement('a');\r\n link.href = url;\r\n link.setAttribute('download', 'users.csv');\r\n document.body.appendChild(link);\r\n link.click();\r\n\r\n toastr.info('CSV Downloaded');\r\n\r\n this._loadUsers(0, '');\r\n this.setState({ searchTerm: '' });\r\n this._closePortal();\r\n });\r\n } catch (error) {\r\n toastr.warning('Error downloading CSV');\r\n }\r\n };\r\n\r\n _handleTextChanged = (event, { name, value }) => {\r\n const shouldClearCustomer = !includes(\r\n [ROLES.CUSTOMER_ADMIN, ROLES.CUSTOMER_USER],\r\n value\r\n );\r\n\r\n this._mutate(draft => {\r\n draft.user[name] = value;\r\n\r\n if (name === 'role' && shouldClearCustomer) {\r\n draft.user.customerId = undefined;\r\n }\r\n });\r\n };\r\n\r\n _loadUsers = (pageNumber, searchTerm) => {\r\n withLifecycles(\r\n () =>\r\n usersApi.fetch({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: searchTerm,\r\n orderByName: this.state.orderByName,\r\n }),\r\n ({ loading, data, error }) => {\r\n this.setState({ activePage: pageNumber + 1 });\r\n this.setState(\r\n produce(draft => {\r\n draft.loading = loading;\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(\r\n () => usersApi.update(this.state.user),\r\n ({ loading, data, error }) => {\r\n this.setState(\r\n produce(draft => {\r\n draft.saving = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this.props.history.push('/manage/users');\r\n toastr.success('User Updated');\r\n this._loadUsers(0, '');\r\n this.setState({ searchTerm: '' });\r\n this._closePortal();\r\n }\r\n })\r\n );\r\n }\r\n );\r\n };\r\n\r\n _showDetail = user => {\r\n this._openPortal();\r\n this.setState({ user, error: {} });\r\n };\r\n\r\n render() {\r\n const { pageInfo, searchTerm, orderByName, activePage } = this.state;\r\n const users = pageInfo.data || [];\r\n return (\r\n \r\n \r\n
\r\n
Users
\r\n
\r\n \r\n \r\n \r\n Export\r\n \r\n \r\n {\r\n this._loadUsers(0, searchTerm.value);\r\n this.setState({ searchTerm: searchTerm.value });\r\n }, 400)}\r\n />\r\n
\r\n
\r\n
\r\n {pageInfo.pageCount > 0 && (\r\n \r\n {({ openPortal, closePortal, portal }) => {\r\n this._closePortal = closePortal;\r\n this._openPortal = openPortal;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.setState({ orderByName: false }, () =>\r\n this._loadUsers(0, searchTerm)\r\n );\r\n }}\r\n >\r\n Customer {!orderByName && '▼'}\r\n \r\n \r\n \r\n this.setState({ orderByName: true }, () => {\r\n this._loadUsers(0, searchTerm);\r\n })\r\n }\r\n >\r\n Full Name {orderByName && '▼'}\r\n \r\n Title\r\n Email Address\r\n Phone Number\r\n Access\r\n Registration Date\r\n Verification Date\r\n Last Login\r\n Last Search\r\n Last PDF Download\r\n \r\n \r\n\r\n \r\n {users.map(user => this._renderRow(user))}\r\n \r\n
\r\n {\r\n await this._loadUsers(\r\n paginationInfo.activePage - 1,\r\n this.state.searchTerm\r\n );\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{ content: , icon: true }}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={pageInfo.pageCount}\r\n />\r\n {portal(this._renderDetailModal())}\r\n
\r\n );\r\n }}\r\n
\r\n )}\r\n {users.length === 0 && (\r\n \r\n \r\n \r\n \r\n No Users.\r\n
\r\n \r\n No users match your search results. Please clear or refine\r\n your search.\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n );\r\n }\r\n\r\n _renderRow = user => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {(user.customerName && (\r\n
\r\n {user.customerName}\r\n \r\n Customer\r\n \r\n
\r\n )) ||\r\n (user.company && (\r\n
\r\n {user.company}\r\n \r\n From User\r\n \r\n
\r\n )) ||\r\n 'N/A'}\r\n
\r\n
\r\n {user.fullName}\r\n {user.title}\r\n {user.emailAddress}\r\n {user.phoneNumber}\r\n {user.role}\r\n \r\n \r\n \r\n \r\n {user.verificationDate ? (\r\n \r\n ) : (\r\n '--'\r\n )}\r\n \r\n \r\n {user.lastLogin ? (\r\n \r\n ) : (\r\n '--'\r\n )}\r\n \r\n \r\n {user.lastSearchDate ? (\r\n \r\n ) : (\r\n '--'\r\n )}\r\n \r\n \r\n {user.lastPdfDownload ? (\r\n \r\n ) : (\r\n '--'\r\n )}\r\n \r\n
\r\n );\r\n\r\n _renderDetailModal = () => {\r\n const { user, error = {} } = this.state;\r\n const customerOptions = this.props.customers.map(x => ({\r\n text: x.name,\r\n value: x.id,\r\n }));\r\n return (\r\n \r\n {styles => (\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n {user && user.id !== parseInt(this.props.user.id, 10) && (\r\n \r\n \r\n \r\n }\r\n content={\r\n this._deleteUser(user)}\r\n />\r\n }\r\n on=\"click\"\r\n position=\"left center\"\r\n />\r\n )}\r\n\r\n {user && user.id !== parseInt(this.props.user.id, 10) && (\r\n \r\n \r\n Blacklist\r\n \r\n }\r\n content={\r\n this._blacklist(user)}\r\n />\r\n }\r\n on=\"click\"\r\n position=\"left center\"\r\n />\r\n )}\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n );\r\n };\r\n}\r\n\r\nconst mapStateToProps = ({ customers, identity }) => ({\r\n customers: customers.data,\r\n user: identity.user,\r\n});\r\n\r\nexport default connect(mapStateToProps)(AllUsersTable);\r\n","import React, {Component} from 'react';\r\nimport {Dropdown, Form, Button} from 'semantic-ui-react';\r\nimport toastr from 'toastr';\r\n\r\nimport usersAccessApi from '../../store/services/userAccess';\r\nimport {fetch} from '../../store/customers';\r\n\r\nexport default class CustomerAssociationPopup extends Component {\r\n state = {\r\n selectedCustomerId: null,\r\n loading: false,\r\n customers: [],\r\n };\r\n componentDidMount() {\r\n this._loadCustomers();\r\n }\r\n\r\n _loadCustomers = async () => {\r\n const customers = await fetch(0, 0);\r\n this.setState({customers: customers.result.data});\r\n };\r\n _associate = async () => {\r\n this.setState({loading: true});\r\n try {\r\n var data = await usersAccessApi.approvePending({\r\n userId: this.props.userId,\r\n customerId: this.state.selectedCustomerId,\r\n });\r\n if (data && !data.hasErrors) {\r\n toastr.success(\r\n this.state.selectedCustomerId === 0\r\n ? 'Search Only Access Granted'\r\n : 'User Associated'\r\n );\r\n }\r\n this.props.onUpdated();\r\n } catch (error) {\r\n toastr.error('Unable to associate user');\r\n } finally {\r\n this.setState({loading: false});\r\n }\r\n };\r\n render() {\r\n const customerOptions = this.state.customers.map(x => ({\r\n text: x.name,\r\n value: x.id,\r\n }));\r\n if (this.props.userIsDomainRestricted) {\r\n customerOptions.unshift({text: 'Search Only', value: 0});\r\n }\r\n return (\r\n
\r\n this.setState({selectedCustomerId: value})}\r\n selection\r\n search\r\n style={{marginTop: 10}}\r\n />\r\n \r\n Submit\r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, {Component} from 'react';\r\nimport toastr from 'toastr';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Header, Icon, Input, Item, Pagination, Popup, Table} from 'semantic-ui-react';\r\n\r\nimport {debounce} from 'lodash';\r\nimport usersAccessApi from '../../store/services/userAccess';\r\nimport RequiresRole, {ROLES} from '../security/RequiresRole';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport usersImage from '../assets/users.svg';\r\nimport CustomerAssociationPopup from './CustomerAssociationPopup';\r\nimport styled from 'react-emotion';\r\nimport {DateFormat} from '../components/date';\r\n\r\nconst Styles = styled.div`\r\n .tableHeader {\r\n background-color: '#f00';\r\n display: flex;\r\n flex-grow: 1;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n\r\n .ui.header {\r\n margin-bottom: 0;\r\n }\r\n }\r\n`;\r\n\r\nclass RequestsTable extends Component {\r\n state = {\r\n loadingButton: false,\r\n loading: false,\r\n pageInfo: {},\r\n searchTerm: '',\r\n sortByCompany: false,\r\n };\r\n\r\n componentDidMount() {\r\n this._loadUsers();\r\n }\r\n\r\n _denyPendingUser = async user => {\r\n this.setState({loadingButton: true});\r\n\r\n var data = await usersAccessApi.denyPending({\r\n userId: user.id,\r\n });\r\n\r\n if (data && !data.hasErrors) {\r\n toastr.success('User Rejected');\r\n } else {\r\n toastr.error('Unable to Reject User');\r\n }\r\n this._loadUsers(false);\r\n this.setState({searchTerm: ''});\r\n this.props.onUpdated();\r\n this.setState({loadingButton: false});\r\n };\r\n\r\n _approveUser = async user => {\r\n this.setState({loadingButton: true});\r\n\r\n var data = await usersAccessApi.approvePending({\r\n userId: user.id,\r\n customerId: user.customerId,\r\n });\r\n\r\n if (data && !data.hasErrors) {\r\n toastr.success('User Approved');\r\n } else {\r\n toastr.error('Unable to Approve User');\r\n }\r\n\r\n this.setState({searchTerm: ''});\r\n this._loadUsers(0, false);\r\n this.props.onUpdated();\r\n this.setState({loadingButton: false});\r\n };\r\n\r\n _loadUsers = (pageNumber = 0, showLoading = true) => {\r\n withLifecycles(\r\n () =>\r\n usersAccessApi.fetchPending({\r\n request: {\r\n page: pageNumber,\r\n pageSize: 20,\r\n },\r\n searchTerm: this.state.searchTerm,\r\n sortByCompany: this.state.sortByCompany,\r\n }),\r\n ({loading, data, error}) => {\r\n this.setState(\r\n produce(draft => {\r\n if (showLoading) {\r\n draft.loading = loading;\r\n }\r\n\r\n if (data && !data.hasErrors) {\r\n draft.pageInfo = data.result;\r\n }\r\n }),\r\n );\r\n },\r\n );\r\n };\r\n\r\n render() {\r\n const {pageInfo} = this.state;\r\n const users = pageInfo.data || [];\r\n return (\r\n \r\n \r\n
\r\n
Requests
\r\n {\r\n this.setState({searchTerm: searchTerm.value}, () =>\r\n this._loadUsers(),\r\n );\r\n }, 400)}\r\n />\r\n
\r\n
\r\n {pageInfo.pageCount === 0 && (\r\n \r\n \r\n \r\n \r\n No Pending Requests\r\n
\r\n \r\n New requests will appear here when a user requests to be\r\n associated to a customer.\r\n \r\n
\r\n
\r\n
\r\n
\r\n )}\r\n {pageInfo.pageCount > 0 && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.setState({sortByCompany: false}, () =>\r\n this._loadUsers(0, false),\r\n );\r\n }}\r\n >\r\n Full Name {!this.state.sortByCompany && '▼'}\r\n \r\n \r\n \r\n this.setState({sortByCompany: true}, () => {\r\n this._loadUsers(0, false);\r\n })\r\n }\r\n >\r\n Company {this.state.sortByCompany && '▼'}\r\n \r\n Title\r\n Email Address\r\n Phone Number\r\n Access\r\n Requested Access\r\n Request Date\r\n \r\n \r\n\r\n {users.map(this._renderRow)}\r\n
\r\n\r\n {\r\n await this._loadUsers(paginationInfo.activePage - 1);\r\n }}\r\n ellipsisItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n firstItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n lastItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n prevItem={{content: , icon: true}}\r\n nextItem={{\r\n content: ,\r\n icon: true,\r\n }}\r\n totalPages={pageInfo.pageCount}\r\n />\r\n
\r\n )}\r\n
\r\n );\r\n }\r\n\r\n _renderRow = user => (\r\n \r\n \r\n \r\n \r\n \r\n }\r\n header={\r\n user.requestedAccess === 'Customer User'\r\n ? 'Associate Company'\r\n : 'Approve Access'\r\n }\r\n content={\r\n user.requestedAccess === 'Customer User' ? (\r\n {\r\n this._loadUsers(0, false);\r\n this.setState({searchTerm: ''});\r\n this.props.onUpdated();\r\n }}\r\n />\r\n ) : (\r\n {\r\n this._approveUser(user);\r\n }}\r\n loading={this.state.loadingButton}\r\n fluid\r\n style={{marginTop: 10}}\r\n >\r\n Approve?\r\n \r\n )\r\n }\r\n on=\"click\"\r\n />\r\n \r\n \r\n \r\n }\r\n header={\r\n !user.isDomainRestricted ||\r\n (user.isDomainRestricted &&\r\n user.requestedAccess === 'Customer User')\r\n ? 'Reject Associate Request'\r\n : 'Reject Blacklist Bypass'\r\n }\r\n content={\r\n !user.isDomainRestricted ||\r\n (user.isDomainRestricted &&\r\n user.requestedAccess === 'Customer User') ? (\r\n this._denyPendingUser(user)}\r\n loading={this.state.loadingButton}\r\n fluid\r\n style={{marginTop: 10}}\r\n >\r\n Are you sure?\r\n \r\n ) : (\r\n {\r\n this._denyPendingUser(user);\r\n }}\r\n loading={this.state.loadingButton}\r\n fluid\r\n style={{marginTop: 10}}\r\n >\r\n Are you sure?\r\n \r\n )\r\n }\r\n on=\"click\"\r\n />\r\n \r\n {user.fullName}\r\n {user.company}\r\n {user.title}\r\n \r\n {user.emailAddress}{' '}\r\n {user.isDomainRestricted ? '(Blacklisted Domain)' : null}\r\n \r\n {user.phoneNumber}\r\n {user.role}\r\n {user.requestedAccess}\r\n \r\n \r\n );\r\n}\r\n\r\nexport default RequestsTable;\r\n","import React, {Component} from 'react';\r\nimport produce from 'immer';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Form} from 'semantic-ui-react';\r\nimport {Link} from 'react-router-dom';\r\nimport toastr from 'toastr';\r\nimport {connect} from 'react-redux';\r\nimport includes from 'lodash/includes';\r\n\r\nimport {ROLES} from '../../constants';\r\nimport userApi from '../../store/services/users';\r\nimport FormContainer from '../form-components/FormContainer';\r\nimport UserForm from './UserForm';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\n\r\nclass NewUserScreen extends Component {\r\n state = {\r\n loading: false,\r\n user: {\r\n customerId: undefined,\r\n firstName: '',\r\n lastName: '',\r\n emailAddress: '',\r\n role: '',\r\n company: '',\r\n title: '',\r\n phoneNumber: '',\r\n },\r\n error: {},\r\n };\r\n\r\n _mutate = cb => {\r\n this.setState(produce(cb));\r\n };\r\n\r\n _handleTextChanged = (event, {name, value}) => {\r\n const shouldClearCustomer = !includes(\r\n [ROLES.CUSTOMER_ADMIN, ROLES.CUSTOMER_USER],\r\n value\r\n );\r\n\r\n this._mutate(draft => {\r\n draft.user[name] = value;\r\n\r\n if (name === 'role' && shouldClearCustomer) {\r\n draft.user.customerId = undefined;\r\n }\r\n });\r\n };\r\n\r\n _save = () => {\r\n withLifecycles(\r\n () => userApi.create(this.state.user),\r\n ({loading, data, error}) => {\r\n this._mutate(draft => {\r\n draft.loading = loading;\r\n draft.error = error;\r\n\r\n if (data && !data.hasErrors) {\r\n this.props.history.push('/manage/users');\r\n toastr.success('User Created');\r\n }\r\n });\r\n }\r\n );\r\n };\r\n\r\n render() {\r\n const {error, loading, user} = this.state;\r\n const customerOptions = this.props.customers.map(x => ({\r\n text: x.name,\r\n value: x.id,\r\n }));\r\n\r\n return (\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({customers, identity}) => ({\r\n customers: customers.data,\r\n role: identity.user.role,\r\n});\r\n\r\nexport default connect(mapStateToProps)(NewUserScreen);\r\n","import React, { Component } from 'react';\r\nimport { Menu, Label } from 'semantic-ui-react';\r\nimport { NavLink, Redirect, Switch } from 'react-router-dom';\r\nimport styled from 'react-emotion';\r\nimport { connect } from 'react-redux';\r\n\r\nimport usersAccessApi from '../../store/services/userAccess';\r\nimport Page from '../layout/Page';\r\nimport AllUsersTable from './AllUsersTable';\r\nimport RequestsTable from './RequestsTable';\r\nimport NewUserScreen from './NewUserScreen';\r\nimport RequiresRole, { ROLES } from '../security/RequiresRole';\r\nimport AuthorizedRoute from '../security/AuthorizedRoute';\r\nimport NewBlacklistScreen from '../blacklists/NewBlacklistScreen';\r\n\r\nconst PageWrapper = styled(Page.Basic)`\r\n .ui.menu .item {\r\n height: 42px;\r\n\r\n > .label.request-badge {\r\n background: #dfae38;\r\n }\r\n }\r\n`;\r\n\r\nclass IndexScreen extends Component {\r\n state = {\r\n requestCount: undefined,\r\n };\r\n\r\n componentDidMount() {\r\n this._loadRequestsCount();\r\n }\r\n\r\n _loadRequestsCount = async () => {\r\n if (this.props.user.role === ROLES.SYSTEM_ADMIN) {\r\n const {\r\n result: { totalCount },\r\n } = await usersAccessApi.fetchPending();\r\n\r\n this.setState({ requestCount: totalCount });\r\n }\r\n };\r\n\r\n render() {\r\n const { requestCount } = this.state;\r\n return (\r\n \r\n \r\n All Users\r\n \r\n \r\n \r\n Requests\r\n {!!requestCount && (\r\n \r\n )}\r\n \r\n \r\n \r\n Add New User\r\n \r\n \r\n Blacklist a User\r\n \r\n \r\n Whitelist a User\r\n \r\n \r\n }\r\n >\r\n \r\n \r\n (\r\n \r\n )}\r\n roles={[ROLES.SYSTEM_ADMIN]}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({ identity }) => {\r\n return {\r\n user: identity.user,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps)(IndexScreen);\r\n","import React, {useEffect, useState} from 'react';\r\nimport {Route, Redirect, Switch} from 'react-router-dom';\r\nimport cookie from 'js-cookie';\r\nimport {find} from 'lodash';\r\n\r\nimport {ROLES} from '../../constants';\r\nimport AuthorizedRoute from '../security/AuthorizedRoute';\r\nimport AppHeader from './AppHeader';\r\nimport Layout from './Layout';\r\nimport DashboardRoutes from '../dashboard/Routes';\r\nimport CustomerRoutes from '../customers/IndexScreen';\r\nimport AuditRoutes from '../audits/IndexScreen';\r\nimport BlacklistRoutes from '../blacklists/IndexScreen';\r\nimport WhitelistRoutes from '../whitelists/IndexScreen';\r\nimport OrderHistory from '../customers/OrderHistory';\r\nimport SettingRoutes from '../settings/Routes';\r\nimport UserRoutes from '../users/IndexScreen';\r\nimport {Modal, Header, Button} from 'semantic-ui-react';\r\nimport settings from '../../store/services/settings';\r\n\r\nconst MainLayout = ({children}) => {\r\n const [modalContent, setModalContent] = useState(false);\r\n useEffect(() => {\r\n (async () => {\r\n if (!cookie.get('modal-show')) {\r\n const {result} = await settings.fetch();\r\n const content = find(result, {key: 'Modal Content'});\r\n cookie.set('modal-show', 'true');\r\n setModalContent({__html: content.value.replace(/\\n/gi, '
')});\r\n }\r\n })();\r\n }, []);\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n setModalContent(false)}\r\n centered={false}\r\n size=\"tiny\"\r\n >\r\n \r\n \r\n Welcome to the M&M Int’l Product Documentation Portal!\r\n \r\n

\r\n setModalContent(false)}\r\n >\r\n Continue\r\n \r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default MainLayout;\r\n","import React from 'react';\r\nimport styled from 'react-emotion';\r\n\r\nimport {COMPANY_NAME} from '../../constants';\r\n\r\nconst Footer = styled.footer`\r\n text-align: center;\r\n padding-top: 20px;\r\n padding-bottom: 0px;\r\n color: #8a8a8a;\r\n\r\n .support {\r\n margin-bottom: 10px;\r\n }\r\n\r\n a {\r\n color: #8a8a8a;\r\n text-decoration: underline;\r\n }\r\n`;\r\n\r\nconst AppFooter = () => (\r\n
\r\n

{`© ${COMPANY_NAME} ${new Date().getFullYear()}.`}

\r\n
\r\n);\r\n\r\nexport default AppFooter;\r\n","import styled from 'react-emotion';\r\nimport {Segment} from 'semantic-ui-react';\r\n\r\nexport const Wrapper = styled.div`\r\n min-width: 350px;\r\n max-width: 400px;\r\n margin: 100px auto 0;\r\n padding: 0 10px;\r\n\r\n .ui.header > img {\r\n width: 135px;\r\n height: 120px;\r\n margin: 0 0 20px !important;\r\n }\r\n`;\r\nexport const BoxShadow = styled.div`\r\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);\r\n`;\r\nexport const FormWrapper = styled(Segment)`\r\n &.ui.attached.segment {\r\n padding-top: 20px;\r\n margin-bottom: 20px;\r\n }\r\n`;\r\n","import React, {Component} from 'react';\r\nimport {connect} from 'react-redux';\r\nimport {Link, Redirect} from 'react-router-dom';\r\nimport {Button, Divider, Form, Header} from 'semantic-ui-react';\r\nimport {clearError, getError, isBusy, withActions} from 'actionware';\r\nimport produce from 'immer';\r\n\r\nimport {FormattedMessage} from '../i18n/Context';\r\nimport {login} from '../../store/identity';\r\nimport AppFooter from '../layout/AppFooter';\r\nimport {FormWrapper, Wrapper} from './Layout';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\n\r\nexport class LogIn extends Component {\r\n state = {\r\n emailAddress: '',\r\n password: '',\r\n };\r\n\r\n componentDidMount() {\r\n clearError(login);\r\n }\r\n\r\n _mutateState = mutationFn => {\r\n this.setState(produce(mutationFn));\r\n };\r\n _handleInputChanged = (event, {name, value}) => {\r\n this._mutateState(state => {\r\n state[name] = value;\r\n });\r\n };\r\n\r\n render() {\r\n const {\r\n loading,\r\n error,\r\n user,\r\n location: {state = {}},\r\n login,\r\n } = this.props;\r\n const {emailAddress, password} = this.state;\r\n const pathname =\r\n state.from && state.from.pathname ? state.from.pathname : '/';\r\n\r\n return (\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n {\r\n login({emailAddress, password}).catch(() => {\r\n });\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n\r\n Or\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n {user && }\r\n
\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = ({identity, router}) => {\r\n return {\r\n user: identity.user,\r\n state: router.location.state,\r\n login: login,\r\n loading: isBusy(login),\r\n error: getError(login),\r\n };\r\n};\r\n\r\nconst LogInWithActions = withActions({login})(LogIn);\r\nexport default connect(mapStateToProps)(LogInWithActions);\r\n","import React, {Component} from 'react';\r\nimport {Link} from 'react-router-dom';\r\nimport {Button, Form, Header, Message} from 'semantic-ui-react';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport produce from 'immer';\r\nimport PhoneInput from 'react-phone-input-2';\r\nimport 'react-phone-input-2/lib/style.css';\r\n\r\nimport {FormattedMessage} from '../i18n/Context';\r\nimport AppFooter from '../layout/AppFooter';\r\nimport {FormWrapper, Wrapper} from './Layout';\r\nimport api from '../../store/services/api';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\n\r\nexport class SignUp extends Component {\r\n state = {\r\n user: {\r\n emailAddress: '',\r\n firstName: '',\r\n lastName: '',\r\n company: '',\r\n title: '',\r\n phoneNumber: '',\r\n associationRequested: false,\r\n },\r\n error: {},\r\n };\r\n _mutateState = mutationFn => {\r\n this.setState(produce(mutationFn));\r\n };\r\n _handleInputChanged = (event, {name, value}) => {\r\n this._mutateState(state => {\r\n state.user[name] = value;\r\n });\r\n };\r\n _handleCheckChanged = (event, {name, checked}) => {\r\n this._mutateState(state => {\r\n state.user[name] = checked;\r\n });\r\n };\r\n _signup = () => {\r\n withLifecycles(\r\n () => {\r\n return api.post('/users/sign-up', this.state.user);\r\n },\r\n ({loading, data, error}) => {\r\n this.setState({loading, data, error});\r\n },\r\n );\r\n };\r\n\r\n render() {\r\n const {\r\n data,\r\n loading,\r\n error,\r\n user: {\r\n emailAddress,\r\n firstName,\r\n lastName,\r\n company,\r\n associationRequested,\r\n title,\r\n phoneNumber,\r\n },\r\n } = this.state;\r\n\r\n return (\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n {data && data.result && !data.hasErrors && !data.result.isDomainRestricted && (\r\n \r\n \r\n \r\n )}\r\n {data && data.result && !data.hasErrors && data.result.isDomainRestricted && (\r\n \r\n \r\n \r\n )}\r\n {(!data || data.hasErrors) && (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n this._handleInputChanged(null, {\r\n name: 'phoneNumber',\r\n value: value,\r\n })\r\n }\r\n control={PhoneInput}\r\n inputStyle={{paddingLeft: 50, height: 40}}\r\n preferredCountries={['us']}\r\n country={'us'}\r\n disableAreaCodes\r\n >\r\n \r\n \r\n \r\n
\r\n \r\n\r\n \r\n
\r\n \r\n )}\r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default SignUp;\r\n","import React from 'react';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Form, Header} from 'semantic-ui-react';\r\nimport produce from 'immer';\r\n\r\nimport {FormWrapper, Wrapper} from './Layout';\r\nimport {FormattedMessage} from '../i18n/Context';\r\nimport api from '../../store/services/api';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\n\r\nclass CompleteRegistration extends React.Component {\r\n state = {\r\n loading: false,\r\n error: {},\r\n password: '',\r\n confirmPassword: '',\r\n };\r\n _mutateState = mutationFn => {\r\n this.setState(produce(mutationFn));\r\n };\r\n _handleInputChanged = (event, {name, value}) => {\r\n this._mutateState(state => {\r\n state[name] = value;\r\n });\r\n };\r\n\r\n _completeRegistration = () => {\r\n withLifecycles(\r\n () => {\r\n const {token} = this.props.match.params;\r\n const {password, confirmPassword} = this.state;\r\n return api.patch(`/accounts/registration/complete/${token}`, {\r\n password,\r\n confirmPassword,\r\n });\r\n },\r\n ({loading, data, error}) => {\r\n this.setState({loading, data, error});\r\n if (data && !data.hasErrors) {\r\n this.props.history.replace('/account/login');\r\n }\r\n },\r\n );\r\n };\r\n\r\n render() {\r\n const {loading, error, password, confirmPassword} = this.state;\r\n return (\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default CompleteRegistration;\r\n","import React from 'react';\r\nimport {Link} from 'react-router-dom';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Form, Header, Message} from 'semantic-ui-react';\r\nimport produce from 'immer';\r\n\r\nimport {FormWrapper, Wrapper} from './Layout';\r\nimport {FormattedMessage} from '../i18n/Context';\r\nimport api from '../../store/services/api';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\n\r\nclass CompleteRegistration extends React.Component {\r\n state = {\r\n loading: false,\r\n error: {},\r\n emailAddress: '',\r\n };\r\n _mutateState = mutationFn => {\r\n this.setState(produce(mutationFn));\r\n };\r\n _handleInputChanged = (event, {name, value}) => {\r\n this._mutateState(state => {\r\n state[name] = value;\r\n });\r\n };\r\n _resetPassword = () => {\r\n withLifecycles(\r\n () => {\r\n return api.patch(\r\n `/accounts/forgot-password/initiate/${this.state.emailAddress}`,\r\n );\r\n },\r\n ({loading, data, error}) => {\r\n this.setState({loading, data, error});\r\n },\r\n );\r\n };\r\n\r\n render() {\r\n const {loading, emailAddress, data, error} = this.state;\r\n return (\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n {data &&\r\n !data.hasErrors && (\r\n \r\n \r\n \r\n )}\r\n {(!data || data.hasErrors) && (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n )}\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default CompleteRegistration;\r\n","import React, {Fragment} from 'react';\r\nimport {Link} from 'react-router-dom';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Form, Header, Message} from 'semantic-ui-react';\r\nimport produce from 'immer';\r\n\r\nimport {FormWrapper, Wrapper} from './Layout';\r\nimport {FormattedMessage} from '../i18n/Context';\r\nimport api from '../../store/services/api';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\n\r\nclass CompleteRegistration extends React.Component {\r\n state = {\r\n loading: false,\r\n error: {},\r\n newPassword: '',\r\n confirmPassword: '',\r\n };\r\n _mutateState = mutationFn => {\r\n this.setState(produce(mutationFn));\r\n };\r\n _handleInputChanged = (event, {name, value}) => {\r\n this._mutateState(state => {\r\n state[name] = value;\r\n });\r\n };\r\n _resetPassword = () => {\r\n const {token} = this.props.match.params;\r\n const {newPassword, confirmPassword} = this.state;\r\n withLifecycles(\r\n () => {\r\n return api.patch(`/accounts/forgot-password/complete/${token}`, {\r\n newPassword,\r\n confirmPassword,\r\n });\r\n },\r\n ({loading, data, error}) => {\r\n this.setState({loading, data, error});\r\n },\r\n );\r\n };\r\n\r\n render() {\r\n const {loading, newPassword, confirmPassword, data, error} = this.state;\r\n return (\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n {data &&\r\n !data.hasErrors && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {(!data || data.hasErrors) && (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n )}\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default CompleteRegistration;\r\n","import React, {Fragment} from 'react';\r\nimport {Link} from 'react-router-dom';\r\nimport withLifecycles from 'async-lifecycles';\r\nimport {Button, Form, Header, Message} from 'semantic-ui-react';\r\nimport produce from 'immer';\r\n\r\nimport {FormWrapper, Wrapper} from './Layout';\r\nimport api from '../../store/services/api';\r\nimport {ErrorMessages} from '../form-components/ErrorMessages';\r\n\r\nclass ChangePassword extends React.Component {\r\n state = {\r\n loading: false,\r\n error: {},\r\n currentPassword: '',\r\n newPassword: '',\r\n confirmPassword: '',\r\n };\r\n _mutateState = mutationFn => {\r\n this.setState(produce(mutationFn));\r\n };\r\n _handleInputChanged = (event, {name, value}) => {\r\n this._mutateState(state => {\r\n state[name] = value;\r\n });\r\n };\r\n _changePassword = () => {\r\n const {currentPassword, newPassword, confirmPassword} = this.state;\r\n withLifecycles(\r\n () => {\r\n return api.patch(`/accounts/change-password`, {\r\n currentPassword,\r\n newPassword,\r\n confirmPassword,\r\n });\r\n },\r\n ({loading, data, error}) => {\r\n this.setState({loading, data, error});\r\n },\r\n );\r\n };\r\n\r\n render() {\r\n const {\r\n loading,\r\n currentPassword,\r\n newPassword,\r\n confirmPassword,\r\n data,\r\n error,\r\n } = this.state;\r\n return (\r\n \r\n
\r\n \r\n
\r\n \r\n
Change Password
\r\n {data &&\r\n !data.hasErrors && (\r\n \r\n Your password has been changed.\r\n \r\n \r\n )}\r\n {(!data || data.hasErrors) && (\r\n
\r\n \r\n Current Password\r\n \r\n \r\n \r\n New Password\r\n \r\n \r\n \r\n Confirm Password\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n )}\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default ChangePassword;\r\n","import React from 'react';\r\nimport {Route, Redirect, Switch} from 'react-router-dom';\r\n\r\nimport LogIn from './LogIn';\r\nimport SignUp from './SignUp';\r\nimport CompleteRegistration from './CompleteRegistration';\r\nimport ForgotPassword from './ForgotPassword';\r\nimport ResetPassword from './ResetPassword';\r\nimport ChangePassword from './ChangePassword';\r\n\r\n/**\r\n * TODO: Routes\r\n * - Signup\r\n * - Registration Complete {token}\r\n * - Registration Resend {emailAddress}\r\n * - Login\r\n * - Change Password\r\n * - Forgot Password Initiate {emailAddress}\r\n * - Forgot Password Complete {token} [SILENT]\r\n */\r\n\r\nconst Routes = ({match}) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\nexport default Routes;\r\n","module.exports = __webpack_public_path__ + \"static/media/search.cb492ed6.svg\";","import {createReducer, call, onSuccess} from 'actionware';\r\nimport jwtDecode from 'jwt-decode';\r\nimport camelcaseKeys from 'camelcase-keys';\r\n\r\nimport {ROLES} from '../constants';\r\nimport api, {tryGetPersistedAuth} from './services/api';\r\nimport analytics from '../features/analytics/index';\r\nimport {fetch} from './customers';\r\n\r\n// state tree\r\nconst initialState = {\r\n user: null,\r\n};\r\n\r\nexport const getInitialState = () => {\r\n return {\r\n ...initialState,\r\n user: tryGetPersistedAuth(),\r\n };\r\n};\r\n\r\n// actions/action creators\r\nexport const login = async credentials => {\r\n try {\r\n const result = await api.authenticate(credentials);\r\n\r\n return camelcaseKeys(jwtDecode(result.authToken));\r\n } catch (error) {\r\n return Promise.reject(error);\r\n }\r\n};\r\n\r\nexport const refreshIdentity = async () => await api.get('users/me');\r\n\r\nexport const logout = () => {};\r\n\r\n// reducer\r\nconst reducer = createReducer(initialState)\r\n .on(login, (state, user) => ({\r\n ...state,\r\n user,\r\n }))\r\n .on(logout, state => ({\r\n ...state,\r\n user: null,\r\n }));\r\n\r\n// side-effects\r\nexport const onLoginSuccess = ({payload: user}) => {\r\n analytics.identify(user.id);\r\n\r\n if (user.role === ROLES.SYSTEM_ADMIN) {\r\n call(fetch);\r\n }\r\n};\r\n\r\nexport const onLogoutSuccess = ({payload: user}) => {\r\n analytics.reset();\r\n localStorage.removeItem('authState');\r\n};\r\n\r\nonSuccess(login, onLoginSuccess);\r\nonSuccess(logout, onLogoutSuccess);\r\n\r\nexport default reducer;\r\n","import {injectGlobal} from 'emotion';\r\nimport {lighten, textInputs, darken} from 'polished';\r\n\r\nimport 'typeface-roboto';\r\nimport 'semantic-ui-css/semantic.css';\r\nimport 'toastr/build/toastr.min.css';\r\n\r\nexport const colors = {\r\n black: '#1B1C1D',\r\n yellowDark: '#E2AF37',\r\n yellowLight: lighten(0.1, '#E2AF37'),\r\n errorText: '#9F3A38',\r\n contentBackground: '#FFF',\r\n headerBackground: '#F6F6F6',\r\n textLabel: '#8E8776',\r\n goldPrimary: '#9fa273',\r\n greenPrimary: '#37817a',\r\n greenSecondary: '#2e4040',\r\n};\r\n\r\n/* eslint-disable indent */\r\ninjectGlobal`\r\n html, body {\r\n background: #fbfbfb;\r\n }\r\n\r\n body {\r\n margin: 0;\r\n padding: 0;\r\n font-family: 'Roboto', sans-serif;\r\n\r\n .ui.menu .ui.dropdown .menu > .item {\r\n color: #8E8776 !important;\r\n\r\n &:hover {\r\n color: #8E8776 !important;\r\n }\r\n }\r\n\r\n *:not(.icon) {\r\n font-family: 'Roboto', sans-serif !important;\r\n }\r\n\r\n .muted {\r\n color: #bbb;\r\n }\r\n\r\n .ui {\r\n\r\n &.form {\r\n margin-bottom: 15px;\r\n\r\n ${textInputs()} {\r\n border-width: 2px;\r\n }\r\n\r\n .dropdown,\r\n .selection.dropdown {\r\n border-width: 2px;\r\n\r\n .menu {\r\n border-width: 2px;\r\n margin: 0px -2px;\r\n min-width: calc(100% + 4px);\r\n width: calc(100% + 4px);\r\n }\r\n }\r\n\r\n .field > label {\r\n color: ${colors.textLabel};\r\n }\r\n }\r\n\r\n .stacked-buttons .button{\r\n margin-bottom: 10px;\r\n }\r\n\r\n &.secondary.pointing.menu {\r\n .item {\r\n color: ${lighten(0.1, colors.textLabel)};\r\n }\r\n\r\n .active.item {\r\n border-color: #DFAE38;\r\n color: ${colors.textLabel};\r\n }\r\n\r\n .active.item:hover {\r\n border-color: ${darken(0.1, '#DFAE38')};\r\n color: ${darken(0.1, colors.textLabel)};\r\n }\r\n }\r\n\r\n &.buttons .button,\r\n &.button {\r\n\r\n &.primary,\r\n &.primary & {\r\n background-color: ${colors.yellowDark};\r\n\r\n .button:hover,\r\n .button:focus,\r\n &:hover,\r\n &:focus {\r\n background-color: ${colors.yellowLight};\r\n }\r\n }\r\n\r\n &.clear,\r\n &.clear & {\r\n background-color: #FFF;\r\n\r\n .button:hover,\r\n .button:focus,\r\n &:hover,\r\n &:focus {\r\n background-color: #e8e8e8;\r\n }\r\n }\r\n\r\n &.link {\r\n background: transparent;\r\n text-decoration: underline;\r\n }\r\n }\r\n\r\n &.table {\r\n color: #8E8776;\r\n\r\n &.table tr th {\r\n border-left: none;\r\n }\r\n\r\n &.table tr td {\r\n border-top: none;\r\n }\r\n\r\n &.celled tr th {\r\n border-left: 1px solid rgba(222, 222, 222, 0.43);\r\n }\r\n\r\n thead th {\r\n background: ${lighten(\r\n 0.2,\r\n colors.black\r\n )} -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));\r\n background: ${lighten(\r\n 0.2,\r\n colors.black\r\n )} -o-linear-gradient(transparent, rgba(0, 0, 0, 0.05));\r\n background: ${lighten(0.2, colors.black)}\r\n linear-gradient(transparent, rgba(0, 0, 0, 0.05));\r\n color: ${lighten(0.1, colors.textLabel)};\r\n }\r\n\r\n td:first-child {\r\n padding-left: 10px !important;\r\n }\r\n }\r\n\r\n &.header {\r\n color: ${colors.textLabel};\r\n\r\n small {\r\n font-size: 50%;\r\n }\r\n }\r\n\r\n &.container {\r\n @media only screen and (max-width: 767px) {\r\n width: auto !important;\r\n margin-left: 0.25em !important;\r\n margin-right: 0.25em !important;\r\n }\r\n }\r\n\r\n .modal > .actions {\r\n text-align: left;\r\n }\r\n }\r\n\r\n #toast-container > div {\r\n opacity: 1;\r\n }\r\n\r\n .page-fill {\r\n padding: 15px 45px;\r\n background: #FFF;\r\n\r\n @media (max-width: 767px) {\r\n padding: 15px 15px;\r\n }\r\n }\r\n\r\n .ui.selection.dropdown {\r\n min-width: 10em;\r\n }\r\n\r\n .ui.selection.dropdown,\r\n .ui.button.clear.action {\r\n border-radius: 0;\r\n border: 2px solid rgba(34, 36, 38, 0.15);\r\n }\r\n\r\n .ui.button.clear.action {\r\n background-color: #9fa074;\r\n top: 1px;\r\n }\r\n }\r\n`;\r\n/* eslint-enable indent */\r\n"],"sourceRoot":""}