{"version":3,"sources":["compositions/RepairProperty/style.module.css","api/ApiError.ts","models/shared/RaisedBy.ts","utils/formatting/index.ts","models/Customer/Address.ts","models/Repair/Repair.ts","compositions/UploadMedia/styles.module.scss","ducks/redux/actions/userChoices.tsx","storybook/Button/index.tsx","compositions/DashBoard/index.module.css","utils/translation/helper.tsx","models/Customer/Notes.ts","models/Customer/NotesTypes.ts","models/Customer/CustomerName.ts","models/shared/Address/CustomerAddresses.ts","models/Customer/Person.ts","models/Customer/CustomerResponse.ts","models/Customer/index.ts","utils/translation/i18n.js","assets/img/peabody-logo-teal.png","assets/img/close.png","ducks/redux/actions/getAddress.tsx","models/Repair/Contractor.ts","ducks/redux/actions/FinancialReferral.tsx","storybook/Header/index.tsx","storybook/Footer/index.tsx","assets/img/peabody-logo-white.png","storybook/Message/index.tsx","storybook/Header/HeaderJourney.tsx","compositions/RepairJourneyErrorPage/index.tsx","Button/Button.tsx","models/Repair/CreateRepair.ts","compositions/WorkOrderErrorPage/index.tsx","compositions/AutoLogout/index.tsx","models/Repair/RepairChannel.ts","compositions/DashBoard/index.tsx","compositions/RepairProperty/StartPage.tsx","ducks/redux/actions/historicRepair.tsx","compositions/RepairProperty/index.tsx","ducks/redux/actions/dashboardReducer.actions.tsx","assets/img/Home.png","assets/img/mobileChevronleft.png","compositions/Modal/BackModal.tsx","compositions/ReapirAsset/index.tsx","assets/img/Building.png","assets/img/divided-block.png","assets/img/estate.png","models/Repair/RepairPriority.ts","compositions/RepairReason/index2.tsx","compositions/Modal/ExitModalAndSave.tsx","compositions/RepairReason/index.tsx","compositions/RepairLocation/index.tsx","compositions/SupplementaryQuestion/index.tsx","utils/Helper/HelperUtil.tsx","compositions/VandalismQuestion/index.tsx","models/Accounts/BalanceType.ts","compositions/contexts/FeatureFlags.tsx","compositions/RepairAdditionalDetails/index.tsx","compositions/VulnerabilityQuestion/index.tsx","compositions/CovidQuestion/index.tsx","storybook/TextInputField/TextInputField.tsx","storybook/PageHeader/PageHeader.tsx","storybook/Dropdown/index.tsx","compositions/CustomerDetails/index.tsx","compositions/ConfirmationPage/index.tsx","compositions/DuplicateRepair/index.tsx","compositions/RepairEmergency/index.tsx","models/Repair/SortableFields.ts","assets/img/filtericon.png","theme.ts","storybook/Search/components.tsx","storybook/Search/Section/index.tsx","storybook/Search/index.tsx","compositions/HistoricRepairs/components.ts","models/Repair/RepairSelectOptions.ts","storybook/LoadingSpinner/components.ts","storybook/LoadingSpinner/index.tsx","compositions/HistoricRepairs/index.tsx","models/Repair/Statuses.ts","compositions/Modal/CancelModelRepair.tsx","assets/img/Chevronleft.png","compositions/ViewMedia/images/gif.svg","compositions/ViewMedia/images/png.svg","compositions/ViewMedia/images/jpeg.svg","compositions/ViewMedia/images/mov.svg","compositions/ViewMedia/images/mpeg.png","compositions/ViewMedia/images/pdf.svg","compositions/UploadMedia/StaticIconName.ts","compositions/ViewMedia/images/mp4.svg","compositions/MediaList/index.tsx","compositions/Modal/ReScheduleModelRepair.tsx","storybook/Header/ListingDetailHeader.tsx","compositions/RepairHistoryDetails/index.tsx","api/appointmentApi/index.ts","utils/Analytics/index.tsx","compositions/Calender/index.tsx","compositions/GenericError/index.tsx","assets/img/reduce-bill.png","assets/image/catalyst.jpg","models/Customer/CustomerIdentifierModel.ts","models/Case/CaseOwnerMatrix.ts","models/Accounts/AccountDetails.ts","compositions/MyMessages/MyMessagesCard/MyMessageCardRow.tsx","compositions/MyMessages/MyMessagesCard/index.tsx","compositions/Cases/CaseCard/index.tsx","assets/icons/tooltip.png","compositions/HighRise/index.tsx","compositions/SuccessMessage/index.tsx","compositions/Customer360View/index.tsx","models/Accounts/AccountType.ts","compositions/TransactionDetails/components.ts","models/Accounts/TransactionType.ts","compositions/TransactionDetails/index.tsx","compositions/RequestStatement/index.tsx","models/MonthYearName/MonthYearName.ts","compositions/ViewStatementDetails/index.tsx","assets/img/download-icon.png","compositions/ViewStatement/index.tsx","models/Case/Case.ts","compositions/ViewAccount/index.tsx","compositions/ManageProfile/index.tsx","compositions/EditProfile/index.tsx","compositions/PaymentDetails/index.tsx","compositions/AllPayGateway/index.tsx","compositions/AllPayGatewayConformation/index.tsx","compositions/Cases/SelectTenancy/index.tsx","compositions/Cases/CaseType/index.tsx","compositions/Cases/QuestionType/index.tsx","compositions/MyMessages/MyMessagesHistory/MyMessage.tsx","compositions/MyMessages/MyMessagesHistory/index.tsx","compositions/MyMessages/MessageDetails/index.tsx","compositions/Cases/ContactDetails/index.tsx","models/Case/CaseDrool.ts","compositions/Cases/QuestionType/Question.tsx","compositions/Cases/CaseReview/index.tsx","models/Case/CaseSortableFields.ts","compositions/Cases/CaseSearch/components.ts","models/Case/CaseStatusOptions.ts","models/Case/CaseSearch.ts","compositions/Cases/CaseSearch/index.tsx","compositions/Cases/QuestionType/RadioTypeQuestion.tsx","compositions/Cases/QuestionType/TextTypeQuestion.tsx","compositions/Cases/QuestionType/DropdownTypeQuestion.tsx","compositions/UploadMedia/UploadMediaRow.tsx","assets/img/cancel.png","compositions/UploadMedia/index.tsx","compositions/UploadMedia/mediaConfigure.ts","compositions/ViewMedia/index.tsx","compositions/Cases/CaseDetails/index.tsx","compositions/FinancialEnquiry/EnquiryConsent/index.tsx","compositions/FinancialEnquiry/EnquiryReason/index.tsx","compositions/FinancialEnquiry/AdditionalEnquiryDetails/index.tsx","compositions/FinancialEnquiry/EnquiryReview/index.tsx","compositions/FinancialEnquiry/EnquiryConfirmation/index.tsx","compositions/CustomerApiErrorPage/index.tsx","App.tsx","reportWebVitals.ts","ducks/redux/reducers/addressReducer.tsx","ducks/redux/reducers/dashboardReducer.tsx","ducks/redux/reducers/userChoices.tsx","ducks/redux/reducers/historicRepairReducer.tsx","ducks/redux/reducers/caseCreationReducer.tsx","ducks/redux/reducers/FinancialReferral.tsx","ducks/redux/reducers/combinedReducers.tsx","ducks/redux/configureStore.tsx","index.tsx","models/WorksOrders/WorksOrderRequest.ts","models/Property/Eligibility.ts","assets/img/Clear.png","models/Property/AdminUnits.ts","models/Customer/Premises.ts","compositions/Modal/ExitModal.tsx","compositions/Modal/index.tsx","ducks/redux/actionTypes.tsx","appInsights/TelemetryService.ts","models/Repairs/index.ts","compositions/RequestStatement/style.module.css","compositions/UploadMedia/spinner.module.scss","api/index.ts"],"names":["module","exports","ApiError","_Error","_inherits","_super","_createSuper","params","messages","_ApiError$genericMess","_this","_classCallCheck","_len","arguments","length","rest","Array","_key","call","apply","concat","status","Error","captureStackTrace","_assertThisInitialized","_channel","localStorage","getItem","_customerId","_corelationId","_sessionId","title","genericMessages","unknown","message","trackerror","trackException","_wrapNativeSuper","RaisedBy","name","addresses","person","address","this","givenName","surname","digitalAddresses","formatDate","date","split","reverse","join","formatDateToSlash","isWithinSixMonths","today","Date","moment","diff","formatDateWithMonthInLetters","dateToFormat","format","formatDateWithFullMonthInLetters","formatDateWithFullMonthWeekInLetters","isNullOrUndefined","obj","result","undefined","addressToString","addressLine1","addressLine2","addressLine3","postcode","addressLine4","addressLine5","formattedAddress","town","reduce","addr","line","input","field","formatDateTime","formatDateTimeSlash","capitalizeName","map","word","charAt","toUpperCase","slice","toLowerCase","detectMobile","isMobile","RegExp","test","navigator","userAgent","maxTouchPoints","Address","id","postalAddressType","RepairStatusText","RepairReporterId","RepairStatusField","AssetRegion","CurrentStep","value","key","displayName","legacyKeys","Documents","documentIdentifiers","CompletedStep","step","ReportContactDetails","contactNumber","organisation","reporterToBeContacted","CurrentRepair","worksOrder","premisesInfo","_worksOrder$identifie2","_worksOrder$identifie3","_worksOrder$job","_worksOrder$statuses3","_worksOrder$statuses4","_worksOrder$statuses5","_worksOrder$statuses7","_worksOrder$identifie4","_worksOrder$identifie5","_ref","_worksOrder$asset$add","_worksOrder$asset","_worksOrder$asset$add2","_premisesInfo$premise","_ref2","_worksOrder$asset$typ","_worksOrder$asset2","_worksOrder$asset2$ty","_premisesInfo$premise2","_ref3","_worksOrder$asset$typ2","_worksOrder$asset3","_worksOrder$asset3$ty","_premisesInfo$premise3","_worksOrder$asset4","_worksOrder$asset4$ty","_worksOrder$identifie6","_worksOrder$job2","_worksOrder$job3","_worksOrder$job3$loca","_worksOrder$job4","_worksOrder$job4$loca","_worksOrder$job5","_worksOrder$statuses9","_worksOrder$statuses10","_worksOrder$statuses11","_worksOrder$statuses12","_worksOrder$statuses13","_worksOrder$statuses14","_worksOrder$asset5","_worksOrder$statuses15","_worksOrder$customer4","_worksOrder$customer5","_worksOrder$customer8","_worksOrder$customer9","_worksOrder$job6","_worksOrder$job7","_worksOrder$job8","_worksOrder$identifie7","_worksOrder$customer10","_worksOrder$customer11","_worksOrder$job9","_worksOrder$job10","_worksOrder$statuses16","_worksOrder$identifie8","_worksOrder$reporter","_worksOrder$reporter$","_worksOrder$reporter2","_worksOrder$reporter3","_worksOrder$customer12","_worksOrder$customer13","_worksOrder$identifie9","_worksOrder$identifie10","_worksOrder$customer14","_worksOrder$customer15","_worksOrder$customer16","_worksOrder$reporter4","_worksOrder$reporter5","_worksOrder$reporter6","_worksOrder$reporter7","_worksOrder$reporter8","_worksOrder$reporter9","_worksOrder$reporter10","_worksOrder$reporter11","_worksOrder$reporter12","_worksOrder$reporter13","_worksOrder$reporter14","_worksOrder$reporter15","_worksOrder$reporter16","_worksOrder$reporter17","_worksOrder$reporter18","_worksOrder$reporter19","_worksOrder$reporter20","_worksOrder$customer17","_worksOrder$customer18","_worksOrder$customer19","_worksOrder$customer20","_worksOrder$customer21","_worksOrder$customer22","_worksOrder$customer23","_worksOrder$customer24","_worksOrder$customer25","_worksOrder$identifie11","_worksOrder$job11","_worksOrder$customer26","_worksOrder$customer27","_worksOrder$customer28","_worksOrder$identifie12","_worksOrder$identifie13","_worksOrder$statuses17","_worksOrder$eligibili","_worksOrder$identifie14","_worksOrder$identifie15","_worksOrder$identifie16","_worksOrder$statuses6","_worksOrder$statuses8","originalWorkOrderIdentifier","originalWorkOrderJobId","originalWorkOrderSorCode","isDraft","isSupplementary","isVandalism","isCovidSelfIsolated","premisesId","area","premisesType","premisesTypeId","premisesAddress","contractor","contractorName","contractorPhoneNumber","contractorBuilderName","contractorBuilderPhone","trade","repairLocation","repairLocationId","isEmergency","isSubmitted","isOutOfHours","priority","raisedDate","appointmentStartDate","lastAppointmentCreatedDate","appointmentEndDate","appointmentDates","completedDate","description","repairReason","additionalInformation","jobNo","documents","repairAddress","chargeCustomer","repairCause","repairCauseId","riskToHumanLife","crimeReferenceNumber","reportedById","reportedBy","notifyAll","staffContactEmails","currentStep","completedStep","reportingMethodId","reportingMethod","eTag","reporterContactDetails","customerName","CustomerName","premisesUniqueReference","sorCode","raisedBy","staffContactDigitalAddresses","worksOrderIdentifier","customerIdentifier","isRecall","eligibilityOutcomes","isEMA","isCatalyst","isInDefect","isPotentialDuplicate","isVulnerable","VulnerableResponseText","assetIdentifier","channel","getStaffContactEmailsFromDigitalAddress","digitalAddressEmails","retrievePriority","statuses","calculateCompletedAndCurrentStep","_worksOrder$statuses","_worksOrder$statuses2","_worksOrder$identifie","_worksOrder$customer","_worksOrder$customer$","_worksOrder$customer2","_worksOrder$customer3","identifiers","jobNumber","reporter","customer","calculateCurrentStep","calculateCompletedStep","job","asset","postalAddresses","premises","type","assetTypeId","assetTypeName","contractorSiteIdentifier","location","locationId","_worksOrder$customer6","_worksOrder$customer7","calculatedPriority","vulnerability","vulnerableResponseText","appointments","createdDate","cause","causeId","isRiskToHumanLife","reporterRelationship","notification","telecomsAddresses","number","canBeScheduled","repair","Unappointed","canBeRecalled","Completed","Closed","clearAllState","payload","CLEAR_ALL_STATE","catalystEditProfileToggleValue","IS_EDIT_PROFILE_TOGGLE","catalystWorkOrderToggleValue","IS_WORKORDER_TOGGLE","validateCatalystCustomer","IS_CATALYST_CUSTOMER","validateCaseCatalystToggle","IS_CASE_CATALYST_TOGGLE","validateCatalystDisabledArea","IS_CATALYST_REPAIR_DISABLED_AREA","userChosenPropertyId","USERCHOSEN_PROPERTY_ID","userChosenPropertyType","USERCHOSEN_PROPERTY_TYPE","userChosenPropertyAddress","USERCHOSEN_PROPERTY_ADDRESS","userChosenRepairLocation","USERCHOSEN_REPAIR_LOCATION","userChosenHighLevelDescription","USERCHOSEN_HIGH_LEVEL_DESCRIPTION","userChosenSupplementaryQuestions","USERCHOSEN_SUPPLEMENTARY_QUESTIONS","userChosenEmergencyQuestion","USERCHOSEN_EMERGENCY_QUESTION","userChosenDuplicateQuestion","USERCHOSEN_DUPLICATE_QUESTION","userChosenAdditionalDescription","USERCHOSEN_ADDITIONAL_DESCRIPTION","userChosenAdditionalDescriptionCOUNT","USERCHOSEN_ADDITIONAL_DESCRIPTION_COUNT","userChosenVandalismQuestion","USERCHOSEN_VANDALISM_QUESTION","userChosenVandalismAdditionalInformation","USERCHOSEN_VANDALISM_ADDITIONAL_INFORMATION","userChosenCovidQuestion","USERCHOSEN_COVID_QUESTION","userChosenVulnerabilityQuestion","USERCHOSEN_VULNERABILITY_QUESTION","userChosenVulnerabilityAdditionalInformation","USERCHOSEN_VULNERABILITY_ADDITIONAL_INFORMATION","userChosenReporterId","USERCHOSEN_REPORTER_ID","userChosenContactDetails","USERCHOSEN_CONTACT_DETAILS","userChosenContactName","USERCHOSEN_CONTACT_NAME","userChosenContactPhone","USERCHOSEN_CONTACT_PHONE","userChosenRelationDetails","USERCHOSEN_RELATION_DETAILS","userChosenUPRN","USERCHOSEN_UPRN","userChosenSOR","USERCHOSEN_SOR","userChosenSTATUS","USERCHOSEN_STATUS","userChosenEligibilityErrorCode","USERCHOSEN_ELIGIBILITY_ERRORCODE","userChosenRepairLocationId","USERCHOSEN_REPAIR_LOCATION_ID","loginTime","LOGIN_TIME","initialLoginTime","INITIAL_LOGIN_TIME","loginStatus","LOGIN_STATUS","updatePrevConfirmedState","UPDATE_PREV_CONFIRMED_STATE","isEditState","Is_Edit_State","userChosenBalanceType","USERCHOSEN_BANLANCE_TYPE","userChosenAccountNumber","USERCHOSEN_ACCOUNT_NUMBER","userChosenAccountType","USERCHOSEN_ACCOUNT_Type","userChosenBalance","USERCHOSEN_BALANCE","userChosenOtherBalance","USERCHOSEN_Other_BALANCE","userProfileETag","USER_PROFILE_ETAG","userProfileData","USER_PROFILE_DATA","AllpayConformationMessage","Allpay_Conformation_Message","resumeDraftRepair","RESUME_DRAFT_REPAIR","userRepairWorkOrder","USER_REPAIR_WORKORDER","userResumeData","USER_RESUME_DATA","userResumeDraftDataCache","USER_RESUME_DRAFT_DATA_CACHE","userChosenIsReporter","USERCHOSEN_ISREPORTER","userChosenIsError","USERCHOSEN_ISERROR","userChosenResumeRepair","USERCHOSEN_RESUME_REPAIR","loadDuplicateRepairPage","LOAD_DUPLICATE_REPAIR_PAGE","userCreatedNewRepair","USER_CREATED_NEW_REPAIR","viewStatementData","VIEW_STATEMENT_DATA","userChosenAccountIdentifier","USERCHOSEN_ACCOUNT_Identifier","userChosenUploadedMedia","USERCHOSEN_UPLOADED_MEDIA","getAllAssetIdentifiers","ASSET_IDENTIFIERS","storeMediaFilesId","UPLOADED_MEDIA_ITEMS","deleteMediaItem","DELETE_MEDIA_ITEM","clearMediaFiles","CLEAR_MEDIA_FILES","isMediaResume","MEDIA_RESUME","userChosenDeletedMedia","USERCHOSEN_DELETE_MEDIA","selectedWorkorderForMedia","SELECTED_HISTORY_MEDIA","fromMediaUpload","FROM_MEDIA_PAGE","hasMediaAttached","HAS_MEDIA_ATTACHED","assetRegion","ASSET_REGION","boroughName","BOROUGH_NAME","selectedTabValue","TAB_SELECTED_VALUE","showMenuTabs","SHOW_MENU_TAB","showFooter","SHOW_FOOTER","singleTenancy","SINGLE_TENANCY","setNavHeaderText","NAV_HEADER_TEXT","getBlockIdentifier","BLOCK_IDENTIFIER","setUserSelectedMessageDetails","USER_SELECTED_MESSAGE_DETAILS","setUserSelectedMessageSubject","USER_SELECTED_MESSAGE_SUBJECT","setUserSelectedMessageDate","USER_SELECTED_MESSAGE_DATE","setUserSelectedMessageSender","USER_SELECTED_MESSAGE_SENDER","setUserSelectedMessageNotificationType","USER_SELECTED_MESSAGE_NOTIFICATION_TYPE","setUserSelectedMessageDocumentIdentifier","USER_SELECTED_MESSAGE_DOCUMENT_IDENTIFIER","setUserSelectedMessageStatus","USER_SELECTED_MESSAGE_STATUS","userNavigatedFrom","NAVIGATED_FROM","isOnHoldRepair","IS_ON_HOLD_REPAIR","demobilizedContractorSites","DEMOBILIZED_CONTRACTOR_SITES","selectedTenancyGroup","USER_SELECTED_TENANCY_GROUP","isMyPbRepairsMaintainence","IS_MYPB_REPAIRS_MAINTENANCE_VALUE","repairPriorityValue","REPAIR_PRIORITY","userGetRepairData","USER_GET_REPAIR_DATA","setWorkOrderApiFailureMessage","data","IS_WO_ALERT_MESSAGE","checkEnhancedRepairEligibilityMyPeabody","CHECK_ENHANCED_REPAIR_ELIGIBILITY_MYPEABODY","requestCustomStatement","customerID","requestData","otherData","dispatch","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","api","then","response","setYellowAlertMessage","setPurpleAlertMessage","setTimeout","setFromDate","setToDate","setRadioValue","setOtherEmailVal","setShowOtherEmail","setIsOpen","catch","e","stop","fetchChosenStatement","_callee2","documentPDFTitle","documentResponse","file","fileURL","newWindow","_context2","setIsLoading","MonthYear","documentID","sent","abrupt","Blob","URL","createObjectURL","window","open","document","Button","props","_jsx","disabled","className","onClick","children","isUndefinedNullOrEmpty","hasScriptTag","_value$toString","hasTag","html","createElement","innerHTML","toString","Boolean","getElementsByTagName","_value$toString2","_value$toString3","_value$toString4","_value$toString5","_value$toString6","_value$toString6$toLo","_value$toString7","_value$toString7$toLo","_value$toString8","_value$toString8$toLo","_value$toString9","_value$toString9$toLo","_value$toString10","_value$toString10$toL","_value$toString11","_value$toString11$toL","_value$toString12","_value$toString12$toL","includes","NotesType","NotesTypeText","args","_args$title","_args$givenName","_args$surname","_createClass","renderWithoutNullValues","fields","filter","x","CustomerAddresses","Person","dateOfBirth","gender","languages","CustomerResponse","preferences","assistanceRequirements","tenanciesSummaries","_links","Customer","email","homePhone","workPhone","mobilePhone","resources","en","i18n","use","initReactI18next","init","lng","keySeparator","interpolation","escapeValue","CatalistTriageContractorType","saveCustomerTenacies","customertenancies","SAVE_TENANCIES","saveAssociatedAssests","associatedAssets","SAVE_ASSOCIATED_ASSETS","selectedTenacyType","SAVE_SELECTED_TENANCICY","workOrderRepairObject","workOrderRepair","WORK_ORDER_REPAIR","saveCustomerDetails","customerDetails","CUSTOMER_DETAILS","saveCustomerphoneNumber","SAVE_CUSTOMERS_PHONE_NUMBERS","getCustomerId","custmerID","SAVE_CUSTOMERID","getContractorName","contractorname","SAVE_CONTRACTOR_NAME","getMaintResp","maintresp","SAVE_MAINTRESP","getRepairResp","repairresp","SAVE_REPRESP","getHeatingHotWaterCase","heatinghotwatercase","SAVE_HEATINGCASE","getDeterminedContractorDetails","SAVE_DETERMINED_CONTRCACTOR_DETAILS","getReferenceNumber","referenceno","SAVE_REFERENCE_NUMBER","getPrefferenceNumber","preferenceno","SAVE_PREFERENCE_NUMBER","savePreviousPage","previousPage","PREVIOUS_PAGE","saveSupplimentaryCodes","supplimentaryCodes","SAVE_SUPPLIMENTARY_CODES","FinancialReferralReasonRes","referralReason","REFERRAl_REASON","clearReferralInformation","CLEAR_REFERRAL_INFO","comingFromReferralPage","COMING_FROM_REFERRAL","storeReferralAdditionalDetails","REFERRAL_ADDITIONAL_DETAILS","saveReasonResponse","REASON_RESPONSE","comingFromCaseJourneySuccess","IS_CASE_JOURNEY","comingFromRepairJourneySuccess","IS_REPAIR_JOURNEY","setTriageRepair","IS_TRIAGE_REPAIR","saveSelectedSlotDate","SELECTED_SLOT","siteId","process","Header","useDispatch","t","useTranslation","history","useHistory","_useState","useState","_useState2","_slicedToArray","setIsVisiableSignIn","_useState3","_useState4","setIsVisiableSignOut","_useState5","_useState6","showMenu","setShowMenu","_useState7","_useState8","checkboxMenu","setCheckboxMenu","loggedInStatus","useSelector","state","_state$userChoicesRed","userChoicesReducer","demobilizedContractorSitesCheck","_state$userChoicesRed2","isMyPBMaintenance","_state$userChoicesRed3","checkEnhancedEligibility","_state$userChoicesRed4","selectedTab","_state$userChoicesRed5","showTabs","_state$userChoicesRed6","_state$userChoicesRed7","isCatalystCustomer","appCaseCardconfigValue","_state$addresses","caseCardtoggleValue","appCaseCardCatalystconfigValue","_state$userChoicesRed8","isCaseCatalystToggle","hotjarScriptCall","hotJarSiteIdParam","hotjarVersionParam","parseInt","Hotjar","getDemobilizedContractorSites","t0","console","error","getCheckEnhancedRepairEligibilityMyPeabody","_ref4","_callee3","_response$value","flagValue","_context3","getIsMyPbRepairsMaintenance","_ref5","_callee4","_response$value2","isMyPBMaintenanceValue","_context4","useEffect","RedirectToCustomer360View","setMenu","push","RedirectToViewBalance","RedirectToViewRepairsHistory","RedirectToViewMessageHistory","RedirectToViewYourDetails","RedirectToLogOut","RedirectToCSSLoginPage","RedirectToRequest","clearCaseStoreData","CLEAR_CASE_STATE","CASE_SELECTED_ANSWERS","clear","_Fragment","_jsxs","src","peabody","alt","checked","htmlFor","xmlns","width","height","viewBox","fill","d","closemenu","onKeyDown","Footer","rel","Message","messageId","HeaderJourney","peabodyWebsite","RepairJourneyErrorPage","returnToHome","openMobiledialer","role","RepairPriority","ContractorRepairPriority","WorkOrderErrorPage","EmergencySelection","workOrderObject","determinedcontractordetails","_state$addresses2","_state$dashboardReduc","_state$dashboardReduc2","_state$dashboardReduc3","dashboardReducer","formState","selectedRepairReasonObject","refreshButtonHandler","_contractorDetail$con","contractorDetail","contractorSiteOnHoldCase","_contractorDetail$sta","_contractorDetail$sta2","_contractorDetail$sta3","contractorSites","CONTRACTORSITE_ON_HOLD","Emergency","SelectedEmergencyTypeYes","isIntegrated","isBuilder","STATUS","AutoLogout","secondsRemaining","setSecondsRemaining","setStatus","idleTimerRef","useRef","_React$useState","React","_React$useState2","modalIsOpen","_React$useState3","_React$useState4","showSignoutMessageState","setShowSignoutMessageState","_React$useState5","_React$useState6","showSignoutMessage","setShowSignoutMessage","secondsToDisplay","minutesToDisplay","loggedinStatus","callback","delay","savedCallback","current","tick","setInterval","clearInterval","RedirectLoginPage","useInterval","onContinue","onShowSignoutMessage","Modal","isOpen","Clear","twoDigits","IdleTimer","ref","timeout","onIdle","setAppElement","RepairChannel","num","String","padStart","Dashboard","customerid","useLocation","refershToken","accessTokenExpirationTime","refreshTokenExpirationTime","scrollTo","trackEvent","pathname","classes","contentDiv","StartPage","ClearReduxStore","RedirectToIDAMLoginPage","href","startPageBackground","startPageContent","innerContainer","pgDetails","textButton","textLinks","searchForRepairs","REPAIRS_SEARCH_SUCCESS","repairHistoryData","REPAIR_HISTORY_DATA","repairHistoryCurrentPage","REPAIR_HISTORY_CURRENT_PAGE","repairHistoryCurrentResultsPerPage","REPAIR_HISTORY_CURRENT_RESULTS_PER_PAGE","repairDefaultAssocitaedAsset","REPAIR_DEFAULT_ASSOCIATED_ASSET","repairSearchTerm","REPAIR_SEARCH_TERM","defaultSearchRepairStatus","DEFAULT_SEARCH_REPAIR_STATUS","defaultSearchArea","DEFAULT_SEARCH_AREA","defaultSearchSortByOrder","DEFAULT_SEARCH_SORT_BY_ORDER","RepairProperty","EditState","isLoading","AllAsset","SetAllAssetData","isError","setError","buttondisable","setsetButtonDisable","radiovalue","customerResponse","_useState9","_useState10","activeTenacyPremisesIds","setActiveTenacyPremisesIds","residentialProperies","nonResidentialProperies","tenancyResponse","premisesid","tenancygroup","startdate","Promise","all","results","_results$","tenancySummries","activeTenanciesSummaries","resAddAssestsArray","promisesResidential","promisesNonResidential","parsedData","resData","chosenAdd","defaultData","_selectedtData$","_selectedtData$2","selectedtData","ts","_ts$tenancySummary$st","tenancySummary","find","s","premisesIds","itemTenancy","itemActiveTrenancy","tenancyIdentifier","tenancyId","_itemActiveTrenancy$t","premiseid","startdateValue","tenancyStartDate","groupTenancy","tenancyGroup","itemdata","responseResidential","eData","_objectSpread","residential","_x2","responseNonResidential","_x3","_toConsumableArray","flat","sort","a","b","dateA","parse","eachData","callSelection","_x","log","updateSelection","premiseId","arr","associtaedAssets","forEach","element","resultF","Loader","color","RadioGroup","FormControlLabel","control","Radio","onChange","v","target","label","style","display","ExitModal","exit","updateDashboardForm","UPDATE_FORM","fetchRepairReasons","FETCH_REPAIR_REASONS","fetchRepairReasonsSelect","FETCH_REPAIR_REASONS_SELECT","userTypedRepairReasons","USER_TYPED_REPAIR_REASONS","resumeRepairReasonPriorityUpdatedToEmergency","RESUME_REPAIR_REASON_PRIORITY_UPDATED_T0_EMERGENCY","eligibilityResponseObject","ELIGIBILITY_RESPONSE","BackModal","back","btn_msg","setIsMobView","innerWidth","mobileChevronleft","cssClasses","RepairAsset","AssetTypeMappingEnum","_tenanciesData$","_tenanciesData$$tenan","BlockMap","Property","Block","Estate","tenanciesId","assetType","isPremisesElegible","setAddresses","eligible","setEligible","errorCode","setErrorCode","setButtonDisable","addressesData","customerassociatedassets","errorCodeSupplementary","seterrorCodeSupplementary","eligibleSuppCodes","seteligibleSuppCodes","tenanciesData","_state$addresses3","selectedAssetType","_state$addresses4","selectedTenancy","getAssetIcon","icon","houseIcon","_useState11","_useState12","assetTypeValue","setAssetTypeValue","SetErrorDetails","_responseTenancies","defaultSelectedTenancies","assettypeKey","_defaultSelectedTenan","responseTenancies","customerTenaciesResponse","SAVE_CUSTOMER_TENANCIES","item","uprn","checkPrimiseEligilibility","responsePremisesEligibility","_responsePremisesElig","_responsePremisesElig2","_responsePremisesElig3","suppErrorCodes","suppErrCodes","_errorCode","_responsePremisesElig4","JSON","isEligible","exists","isEligibilityRepair","SAVE_IS_ELEGIBILITY_REPAIR","GetTenancyGroup","_responseTenancyGroup","_responseTenancyGroup2","responseTenancyGroup","_assetType","_x4","assetId","setItem","_className","fieldsArray","_item$addresses","_item$addresses$posta","i","supErrorCode","sessionStorage","removeItem","RepairLocationPriorityPayload","repairType","getSorCode","selectedReason","_selectedReason$sors","_selectedReason$sors$","sors","heatingAttributeFromResponsibilities","responsibilities","elementsToCheck","resp","valueLowerCase","RepairReason","suggestionList","userInput","setUserInput","inputValue","setInputValue","_React$useState7","_React$useState8","isOrbisBlockMsg","setIsOrbisBlockMsg","_React$useState9","_React$useState10","isSelectedValue","setSelectedValue","_React$useState11","_React$useState12","repairReasonEvent","setRepairReasonEvent","suggestions","fetchedRepairReasonsData","setData","maintsResp","repairResp","additionalRepairInfo","isRepairEligible","isCustomerView","isInDefects","heatingRepairContext","fetchedRepairReasonsSelection","fetchedRepairReasonsSelect","selectedproperty","_state$dashboardReduc4","_state$dashboardReduc5","tracks","selectedPropertyId","_state$dashboardReduc6","_state$dashboardReduc7","_state$dashboardReduc8","userChosenHighLevelDescriptionBackButton","selTenancyGroup","RepairLocationId","action","repairReasonChangeAction","getMandatoryData","getPremisesData","eligibilityResponse","_eligibilityResponse$","_eligibilityResponse$2","_eligibilityResponse$3","_eligibilityResponse$4","_eligibilityResponse$5","_eligibilityResponse$6","_selectedReason$2","_selectedReason$2$add","_selectedReason$4","_selectedReason$4$sor","_selectedReason$3","_selectedReason$3$add","maintenanceResponsibilities","reason","SELECTED_REPAIR_REASON_OBJECT","_selectedReason$","additionalData","_item$tenancyTypes","tenancyTypes","some","tt","promises","rep","_maintenanceResponsib","_maintenanceResponsib2","_maintenanceResponsib3","_maintenanceResponsib4","_maintenanceResponsib5","_maintenanceResponsib6","_maintenanceResponsib7","_maintenanceResponsib8","propertyAttribute","PremisesType","dividedBlockAttribute","DividedBlock","blockAttribute","estateAttribute","EstateArea","sorDeterminationResponse","context","err","resolve","_selectedReason$5","advancedPayload","repairContext","checkRepairEligibility","setButtonDisabled","sor","_selectedReason$6","_selectedReason$6$add","EligibilityErrorCode","SSR037","E23","E3","E4","E8","E21","E22","E24","E25","SSR005","SSR069","E2","t1","suggestionClickHandler","event","newInputValue","eventType","locatioAlert","placeholder","errorCodeArray","errorCodeValue","items","index","Autocomplete","newValue","raisedFormattedDate","repairPriorityReq","CustomerSelfService","_yield$api$postRepair","repairPriority","t2","onInputChange","freeSolo","disableClearable","filterOptions","options","size","renderInput","InputProps","inputProps","ExitModalAndSave","saveDraftAndExit","closeAfterSaving","disableSaveLeaveBtn","setDisableSaveLeaveBtn","userChosenSORValue","clearUserStates","_getWorkOrderResult$e","getWorkOrderResult","urlRepairLoc","cancelButton","querySelector","click","triggerCancelButton","_selectedRepairReason","_selectedRepairReason2","_customerDetails$addr","_customerDetails$addr2","_customerDetails$addr3","_customerDetails$addr4","_customerDetails$addr5","_customerDetails$addr6","_selectedRepairReason3","_selectedRepairReason4","_customerDetails$pers","_customerDetails$pers2","_customerDetails$pers3","_customerDetails$pers4","_customerDetails$pers5","_customerDetails$pers6","RepairReportingMethods","RepairCauseId","selectedreportingMethod","setRepairLocation","isDisabled","chosenHL","setChosenHL","setLocatioAlert","_useState13","_useState14","alertMstArray","SaveandExitFlag","fetchedRepairReasons","userChosenRepairLocationIdValue","_state$dashboardReduc9","_state$dashboardReduc10","resumeDraftRepairVal","_state$dashboardReduc11","_state$dashboardReduc12","_premisesTypeId","PremisesTypeId","_address","woRequestParameters","WorksOrderRequest","createWorkOrderParameter","CreateWorkOrder","apiResponse","workorderLocation","updateWODirectToNextPage","finish","UpdateWorkOrder","deleteWorkOrderResponse","_selectedRepairReason13","_selectedRepairReason14","_selectedRepairReason15","_selectedRepairReason16","_worksOrderRequest2","_woRequestParameters","trim","_selectedRepairReason5","_selectedRepairReason6","_customerDetails$addr7","_customerDetails$addr8","_customerDetails$addr9","_customerDetails$addr10","_customerDetails$addr11","_customerDetails$addr12","_selectedRepairReason7","_selectedRepairReason8","_customerDetails$pers7","_customerDetails$pers8","_customerDetails$pers9","_customerDetails$pers10","_customerDetails$pers11","_customerDetails$pers12","_selectedRepairReason9","_selectedRepairReason10","_selectedRepairReason11","_selectedRepairReason12","_worksOrderRequest","updateWorkOrderParameter","premiseType","responsedata","extractedReasons","selected","_address$addresses","_address$addresses$po","addressValue","RepairReason2","_selectedRepairReason17","_selectedRepairReason18","RepairLocation","setdisabled","userChosenRepairLocationIdBackButton","referenceDataresponsed","namespacenames","keyValuePairs","_referenceDatarespons","_referenceDatarespons2","_referenceDatarespons3","namespaces","namespace","keyValues","arrayObject","Object","entries","localeCompare","eachLocation","Container","selectedvalues","SupplementaryQuestion","radioValue","HLRepair","setHLRepair","subQuestion","setSubQuestion","errorMessage","setErrorMessage","setCloseAfterSaving","userChosenSupplementaryQuestionsVal","userChosenEmergencyQuestionVal","priorityCodeValue","userResumeDataVal","resumeHLRepair","resumeHLSubQuestion","replace","emergencyState","defaultValue","supplementaryQuestions","Helper","fieldName","minLength","min","maxLength","max","regex","ValidationRegex","NumericOnly","AlphabetWithSpecialChars","All_Special_Chars_Allowed","LengthValidation","CrimeReferenceNumber","Minimum","Maximum","BalanceType","VandalismQuestion","crimeRefValue","setCrimeRefValue","userChosenVandalismQuestionBackButton","userChosenVandalismAdditionalInformationBackButton","validateForm","minLengthError","validateMinLength","maxLengthError","validateMaxLength","invalidCharError","validateInvalidCharacters","validationError","submitForm","selectedValue","isFormSaved","vandalismQuestion","isFormValid","FeatureFlags","createContext","FeatureFlagsProvider","featureMedia","setFeatureMedia","getMediaFlag","Provider","RepairAdditionalDetails","useContext","maxLengthLimit","characterCount","setCharacterCount","count","setCount","setValue","userChosenAdditionalDescriptionBackButton","userChosenAdditionalDescriptionBackButtonCOUNT","selectedRepairReason","vandalismConfigValue","vandalismtoggleValue","helpTextValue","TextField","helperText","preventDefault","substr","multiline","countValue","VulnerabilityQs","textvalue","setTextValue","blockRepairJourney","setBlockRepairJourney","blockLoading","setEnhanceRepairEligibilityLoading","userChosenVulnerabilityQuestionBackButton","userChosenVulnerabilityAdditionalInformationBackButton","workOrderfromState","enhanceEligibilityResp","textArea","severity","vulnerabilityQuestion","trimEnd","CovidQuestion","setIsError","isError2","setIsError2","setIsDisabled","userChosenCovidQuestionBackButton","covidConfigValue","covidtoggleValue","covidQuestion","TextFieldInput","dataTestId","ariaLabel","PageHeader","Dropdown","selectedOption","handleChange","option","CustomerDetails","_customerPhone$","contactDetailsOptions","customerPhone","customerPhoneNumber","inputState","setInputState","errorArray","errorArrayState","seterrorArrayState","numberInput","setNumberInput","radioText","_useState15","_useState16","isinputdisabled","setIsInputDisabled","userChosenContactDetailsBackButton","userChosenContactNameBackButton","userChosenContactPhoneBackButton","userChosenRelationSelect","_customerPhone$2","_customerPhone$3","phoneEmpty","phoneInvalid","nameError","radioUpdatedValue","reporterFullName","contactPersonName","errorfieldsArray","TextInputField","re","inputChangeHandler","ConfirmationDetails","AssetType","savedResponses","userChosenVandalismQuestionVal","userChosenCovidQuestionVal","borough","setDisabled","BlockMsg","setBlockMsg","setBlockLoading","contractorPriorityCodeValue","setContractorPriorityCodeValue","_state$historicRepair","historicRepairReducer","callPostRepairApi","savedAnswerKeys","curr","mainData","_defineProperty","enhancedApiResponse","userMaintResp","userRepairResp","userVandalismChoice","userChosenHighLevelDescriptionVal","isTriageCase","isCatalystDefectTriageCase","isVandalismEligible","isContractorEMA","workOrderUpdate","_determinedcontractor2","_determinedcontractor3","siteIdentifier","siteCode","_determinedcontractor4","_determinedcontractor5","_determinedcontractor6","_determinedcontractor7","jobWillNotBeCreated","appointmentWillNotBeCreated","noOfHitsValue","noOfTimeoutValue","workOrderId","interval","CATALYST_TRIAGE_TIER2","CATALYST_TRIAGE_EMA","Number","showWorkorderErrorPage","_ref7","_callee5","_context5","_callee6","contractorId","region","maintenanceResponsibility","repaiResponsiblity","repairId","descriptionValue","repairTime","priorityCode","isVandalismActive","determinedContractor","_determinedContractor","contractorPriorityPayload","sorcode","_contractorDetail$con2","_contractorDetail$con3","_contractorDetail$con4","_contractorDetail$con5","_contractorDetail$con6","_contractorDetail$con7","_context6","getHours","CATALYST_TRIAGE_DEFECT","contractorIdentifier","SAVE_CONTRCACTOR_PAYLOAD","isWorkingHours","contacts","_e$","_e$2","_e$3","_e$4","_e$5","_e$6","_e$7","_e$8","reduxKey","urlPath","_item$","_item$2","_item$3","_item$4","_item$5","_item$6","questions","translation","reduxKeyQs","reduxKeys","reduxKeyselect","_item$7","url","_determinedcontractor","isCatalystTriageTier2Ema","DuplicateRepair","_duplicateRepairResul","require","isResumeLoading","setIsResumeLoading","isResumeDraftRepair","setIsResumeDraftRepair","disableContinueforEnhancedEligiblityCheck","setDisableContinueforEnhancedEligiblityCheck","userChosenPropertyIdValue","userDuplicateQuestion","appConfigValue","toggleValue","_useState17","_useState18","duplicateRepairResult","setDuplicateRepairResult","userChosenResumeRepairValue","userCreatedNewRepairValue","propertiesIds","duplicateRepairStatuses","sorValue","queryParams","duplicateRepair","CatalystTier2Triage","CatalystEMATriage","CatalystDefectTriage","isDuplicateCheck","worksOrders","wo","_wo$asset","_wo$asset$type","_wo$asset2","_wo$asset2$type","_wo$statuses","searchDupeWOResultFilteredOutSelf","searchWorkOrder","_searchWorkOrder$iden","totalCount","goBack","errMessage","includeSpace","handleRadioChange","_event$target","_event$target$value","duplicateBlock","callPageHandler","workOrderResponse","resumeRepairHandler","draftRepair","_customerResponse$add","_assetrResponse","_assetrResponse$addre","assetrResponse","_draftRepair$reporter","_draftRepair$reporter2","_draftRepair$reporter3","_customerResponse$add2","_customerResponse$add3","_customerResponse$add4","_assetrResponse2","_assetrResponse2$addr","_selectedReason$5$add","resumeData","_resumeData","resumeDraftDataCache","_draftRepair$reporter4","_draftRepair$reporter5","_draftRepair$reporter6","_draftRepair$reporter7","_draftRepair$reporter8","_draftRepair$reporter9","_draftRepair$reporter10","_draftRepair$reporter11","_draftRepair$reporter12","_draftRepair$reporter13","_name","_customerResponse$add5","_customerResponse$add6","_customerResponse$add7","_customerResponse$add8","resumeSelectedProperty","resumePriority","emergencyQuestion","setStatusValue","_item$statuses","isRaisedAsTriage","ReactBootstrap","borderless","TableBody","TableRow","TableCell","valueOf","_item$job$description","_item$asset","_item$asset$type","_item$asset2","_item$asset2$type","_item$statuses2","_item$job$description2","_item$job$description3","_item$job$description4","_item$job$description5","isTriage","isSubmittedTriage","bordered","ERGO","ColleagueSelfService","marginTop","RepairEmergency","userChosenEmergencyQuestionBackButton","NextAvailable","userRadioOptionIsEmergency","isEmergencyPriorityUpdatedBySelection","sortableFields","sortableKey","FONT_SIZE","colors","primaryColor","secondaryColor","primaryText","secondaryText","tertiaryText","headerText","errorText","primaryWarning","light","main","dark","successAlert","disabledButton","SearchInput","createTheme","typography","fontFamily","h1","fontSize","h2","lineHeight","padding","margin","h3","body1","subtitle1","palette","primary","secondary","text","warning","success","overrides","MuiInputBase","MuiOutlinedInput","MuiInputLabel","root","MuiChip","MuiButton","outlined","boxShadow","contained","MuiStepper","marginBottom","MuiBreadcrumbs","separator","marginLeft","marginRight","MuiTabs","flexContainer","paddingTop","paddingBottom","MuiTab","textTransform","MuiExpansionPanel","border","borderBottom","expanded","MuiExpansionPanelSummary","backgroundColor","minHeight","content","MuiExpansionPanelDetails","alignItems","MuiDialog","paperWidthSm","maxWidth","withStyles","notchedOutline","borderColor","OutlinedInput","SearchIcon","cursor","MuiSearchIcon","CloseIcon","IconButton","MuiCloseIcon","CloseWrapper","styled","div","_templateObject","_taggedTemplateLiteral","SearchSection","currentValue","resetSearch","handleSearchClick","InputAdornment","position","Search","_ref$defaultValue","onClear","onSubmit","localValue","setLocalValue","prevDefaultValue","keyCode","endAdornment","labelWidth","WebPagination","MobilePagination","_templateObject2","SearchComp","_templateObject3","Paginationbox","_templateObject4","Pagination","TablePagination","RepairSelectOptions","LoadingSpinner","HistoricRepairs","show","setShow","handleClose","handleShow","defaultSortOrder","setdefaultSortOrder","defaultRepairStatus","setdefaultRepairStatus","defaultassocitaedAsset","setdefaultassocitaedAsset","associtaedAsset","setassocitaedAsset","searchTerm","setsearchTerm","messageAlert","setMessageAlert","selectedArea","setselectedArea","Area","setArea","_useState19","_useState20","settotalCount","_useState21","_useState22","currentPage","setcurrentPage","_useState23","_useState24","resultsPerPage","setresultsPerPage","_useState25","_useState26","skip","setskip","_useState27","_useState28","_useState29","_useState30","CustResponse","setCustomerResponse","arrayArea","_useState31","_useState32","premisesListArea","setpremisesListArea","_useState33","_useState34","associtaedAssetList","setassocitaedAssetsList","PropertyId","staticSortableFields","f","repairStatusSelectOptions","repairHistoryDataValue","repairHistoryCurrentPageValue","_state$historicRepair2","repairHistoryResultsPerPageValue","_state$historicRepair3","repairDefaultAssocitaedAssetValue","_state$historicRepair4","repairSearchTermValue","_state$historicRepair5","defaultSearchRepairStatusValue","_state$historicRepair6","defaultSearchAreaValue","_state$historicRepair7","defaultSearchSortByOrderValue","_state$historicRepair8","_useState35","_useState36","repairs","setRepairList","_useState37","_useState38","contractorsList","setContractorsList","_useState39","_useState40","raiseRepairButtonDisable","setRaiseRepairButtonDisable","contractorResponse","activeTenanciesPremisesIds","GET_CONTACTOR_DATA","associtaedAssetsList","premisesList","premisesEntry","areaOptions","page","resPerPage","_repairSearchTermValue","_defaultSearchRepairStatusValue","_defaultSearchAreaValue","_defaultSearchSortByOrderValue","_activeTenanciesSumma","worksOrdersRepair","_data","ResumeRepairWO","assetid","addressdata","associtaedAssetsTypeEntry","AssocitaedAssetsType","RelatedPremisesType","Default","repairHistoryOperation","fetchGetRepairsData","Appointed","PendingApproval","OnHold","Cancelled","InProgress","InDiagnosis","ReportedToEMA","orderBy","raisedSince","RepairsResponse","models","repairHistoryHandler","historyData","CreateHistoryData","_e$description","RepairHistoryRaisedDate","RepairHistoryArea","RepairHistoryDescription","RepairHistoryAppointmentDate","appointmentDate","RepairHistoryPriority","RepairHistoryContractor","RepairHistoryworkOrderID","RepairHistorystatus","RepairHistoryrepairReference","RepairHistoryarea","RepairHistoryfullDescription","RepairHistoryContractorsList","RepairHistorysiteIdentifier","siteIndentifire","RepairHistoryassocitaedAsset","repairHistoryAppointmentStartDate","repairHistoryAppointmentEndDate","repairHistoryWorkOrderID","handleSubmit","handleResetSubmit","handleChangeSortOrder","handleChangeAssocitae","handleChangeRepairStatus","handleChangeArea","handleReset","handleFilterSubmit","handleChangePage","RepairStatusFieldCatalyst","AssetList","TenancySummaryEntry","propertyRepairs","_document$getElementB","isMobileView","parentHTMLBody","el","_ts$tenancySummary$st2","st","getElementById","offsetParent","backButtonHandler","callRaiseRepair","openDialer","filtericon","scope","_el$description","Assignedcontractor","colSpan","Offcanvas","placement","onHide","Body","rowsPerPage","rowsPerPageOptions","onPageChange","onRowsPerPageChange","resultsPerPageUpdated","overflowY","overflow","flexDirection","InfiniteScroll","dataLength","hasMore","loader","scrollableTarget","_el$description2","Statuses","Status","isCommunal","UpdateRepair","Asset","CancelModelRepair","cancelRepairButtonDisable","setCancelRepairButtonDisable","modelOpen","modelClose","reload","imgData","gifImg","pngImg","jpegImg","movImg","pdfImg","mpegImg","MediaList","mediaFile","setMediaFile","isOverlay","setIsOverlay","getWorkOrderId","setWorkOrderId","base64Data","setBase64Data","contentType","setContentType","isProccessing","setIsProccessing","selectedId","setSelectedId","videoRef","inAppContent","isMpegSupportedBrowser","setMpegSupportedBrowser","detectedDeviceBrowser","useDeviceSelectors","_i","_Object$entries","_Object$entries$_i","fetchMediaData","wOid","displayViewMediaDetails","mediaId","data1","selectedMedia","byteCharacters","byteNumbers","byteArray","blob","blobUrl","media","atob","charCodeAt","Uint8Array","closeOverLay","_videoRef$current","pause","displayErrorMessage","useCallback","_data$metadata","_data$metadata2","metadata","res","matchData","Math","floor","random","fileName","overlayContainer","overlayContent","spinner","controls","autoPlay","download","ReScheduleModelRepair","setIsReScheduleModalShow","ListingDetailHeader","RepairHistoryDetails","contractorSiteIdentifer","repairHistoryDetails","setRepairHistoryDetails","mostRecentStatus","setMostRecentStatus","mostRecentStatusClass","setMostRecentStatusClass","mostRecentStatusMobileClass","setmostRecentStatusMobileClass","isAppointmentAvailable","setIsAppointmentAvailable","isCancelButton","setIsCancelButton","isRescheduleButton","setIsRescheduleButton","isRescheduleShow","setIsRescheduleShow","seterrorMessage","errorCodeReschedule","setErrorCodeReschedule","contractorContactNumber","setContractorContactNumber","rescheduleMessage","setRescheduleMessage","setDraftRepair","contractorSitesIdentifierValue","setContractorSitesIdentifierValue","isMedia","setIsMedia","communalToggle","mediaOwner","setMediaOwner","isActive","setIsActive","isReScheduleModal","setAppointmentStartDate","setAppointmentEndDate","_useState41","_useState42","isSelectAppointmentChosen","setIsSelectAppointmentChosen","_useState43","_useState44","woHadDemobilizedContractorSite","setWOHadDemobilizedContractorSite","_useState45","_useState46","contractorDetails","setContractorDetails","isComesFromMediaPage","isFromMediaPage","userRepairWorkOrderValue","contractorphone","eligibilityResponseObjectFromState","getContractorInfoUsingConsite","_repairHistoryData$Re","filteredContractorMatch","_contractor$contracto","demobilizedContractorList","selectAppointmentHandler","setupRepaiHistoryDetails","_workOrderResponse$do","_workOrderResponse$do2","_customerId2","_contractorDetails$co","_contractorDetails$co2","_contractorDetails$co3","_contractorDetails$co4","_contractorDetails$co5","_contractorDetails$st","_contractorDetails","repairDivIdQuery","repairDiv","_customerId3","_workOrderResponse$co","reschedule","setCancelMessages","scrollIntoView","contractorData","_contractorData$conta","_contractorData$conta2","_contractorData$conta3","_contractorData$conta4","_message","wid","_assetrResponse3","_assetrResponse3$addr","_userRepairWorkOrderV","_selectedReason$8","_eligibilityResponseO","repairReasonResponsedata","supplementaryCodes","isSupplementaryCode","sorCodeUpdated","priorityDeterminationResponse","priorityValue","repairReasonPriorityIsUpdated","_assetrResponse$maint","_assetrResponse$maint2","_assetrResponse$maint3","_assetrResponse$maint4","_assetrResponse2$main","_assetrResponse2$main2","_assetrResponse4","_assetrResponse4$addr","_selectedReason$7","_selectedReason$7$add","_customerResponse$add9","_customerResponse$add10","DampAndMould","SELECTED_REPAIR_REASON_PRIORITY_DETERMINATION","eachWorkOrder","_x5","rescheduleAppointmentHandler","operation","repairHistoryContractor","repairHistoryContractorSitesIdentifier","allItems","repairHistory","_filteredItems$","_filteredItems$2","_filteredItems$3","_filteredItems$4","_filteredItems$5","eachItem","_allItemsObj$eachItem","_allItemsObj$eachItem2","emergencyStatus","repairHistoryPriority","appointmentStartDatetime","APCREATE01_Comment_Formatted","appointmentEndDatetime","allItemsObj","statusTitle","comments","APCREATE01","APCREATE10","AUPDATE01","AUPDATE02","AUPDATE03","AUPDATE05","AUPDATE06","AUPDATE07","NOACCESS","ENGOS01","ENGOS03","NOACC01","ENGOS05","ENGOS06","ENGOS07","itemObject","identifier","createDateTime","subType","filteredItems","repairStatus","Chevronleft","eachRepairUpdate","createBrowserHistory","apimBaseUrl","request","method","basePath","path","opt","headers","Authorization","Origin","OperationGroupKey","operationKey","body","stringify","fetch","eTagInHeader","json","assign","origin","ok","statusText","statusCode","get","post","patch","postAppointment","workorderid","getAvailabilityForAppointment","referenceNumber","isExternalWorkorderRequired","ga4_tracking_id","_process$env$REACT_AP","REACT_APP_GA4_TRACKING_ID","googleAnalyticsTracking","uid","ReactGA","initialize","trackingId","gaOptions","userId","set","send","hitType","AppointmentScheduler","track","setTrack","selectedSlot","setSelectedSlot","availabilities","schedules","setSchedules","isRescheduleAppointment","setIsRescheduleAppointment","existingRescheduleMessage","setExistingRescheduleMessage","isRescheduleApiDown","setErrorForRescheduleApiDown","popup","setPopup","availabilityData","contractorAvailabilityResponse","isPreferenceAppointment","referenceNumberCode","_state$addresses5","_state$addresses6","phone","userGetRepairDataValue","GetAppointmentAvailability","calendarSelect","setCalendarSelect","objects","markSelectedSlot","calBackground","dateIndex","scheduleIndex","changeRange","slots","nextTrack","_React$useState13","_React$useState14","isNextLoading","setIsNextLoading","msgError","callReturnToRepairPageHandler","getNotesCreationPayload","noteTypeId","AddNote","createdNotesPayload","_jobNumber$split","_jobNumber$split2","serialNumber","sequenceNumber","noOftimeOutForAppointment","_repairHistoryData$re","_workOrderRepair","isFlowCompleted","getAvalResponse","timerId","uuid","dataIsPreference","isPreferences","_data$find","_data$find2","appointmentStartTime","appointmentEndTime","availabilityDetails","start","end","appointmentDay","availabilityTypeLabel","SAVE_AVAILABILITY_RESPONSE","clearTimeout","tConv24","time24","H","h","createAppointmentonFinalStep","rescheduleAppointmentParam","createAppointmentParams","_result","reasonCode","remarks","isPreferred","appointmentFromDate","appointmentToDate","externalCreateDateTime","availabilityType","isInsideSla","insideSla","contractorSiteCode","appointmentId","diaryCode","externalReferenceId","dateInfo","day","getDate","month","Intl","DateTimeFormat","year","getFullYear","formattedDate","_ref4$availabilityDet","capacity","j","tableActive","onKeyPress","GenericError","userIsError","CustomerIdentifierModel","customerId","CaseOwnerMatrix","AccountDetails","LiveBalance","LiveBalanceType","AccountType","AccountNumber","Payref","DisplayNumber","transactDeatils","lastTransactionBalance","lastTransactionDate","TransactDeatils","transactiondate","TransactionBalanceType","MyMessageCardRow","_props$eachMsgData","_props$eachMsgData$me","_props$eachMsgData$me2","_props$eachMsgData$me3","_props$eachMsgData2","_props$eachMsgData3","_props$eachMsgData4","_props$eachMsgData5","_props$eachMsgData6","_props$eachMsgData7","_props$eachMsgData8","_props$eachMsgData9","CommunicationCategoryType","isCasesMsgNotification","setisCasesMsgNotification","eachMsgData","sender","personName","titleVal","givenNameVal","surnameVal","messageSender","communicationCategoryType","CaseCreation","callMyMessageHistory","_props$eachMsgData$me4","MyMessagesCard","_allMyMessages$commun","_allMyMessages$commun2","_allMyMessages$commun3","allassetIndentifiers","allassetIdentifiers","allMyMessages","setAllMyMessages","yellowAlertMessage","formatedToday","toISOString","twoYearsAgoFromNow","setFullYear","formatedTwoYearsAgo","sessionId","corelationId","alertMessage","setAlertMessage","fromDate","toDate","searchText","limit","associatedAssetList","communications","eachMsg","msgArrayNum","lazy","CaseCard","Active","Resolved","caseSearchData","setCaseSearchData","assetBlockPropertyIds","getSearchApi","assetIDsAll","casequeryParams","caseSearchResponse","sortedData","cases","_props$defaultAssocia","assetIDsRemTxt","defaultAssociatedAsset","caseTypeDescription","caseReferenceNumber","COMING_FROM_CASE","HighRise","_BSRData$documents","_FRAData$documents","_highRiseRes$principl","_highRiseRes$principl2","_highRiseRes$principl3","_RESData$documents","_BSRData$documents2","_BSRData$documents$2","_FRAData$documents2","_FRAData$documents$2","_highRiseRes$principl4","_highRiseRes$principl5","_highRiseRes$principl6","_RESData$documents2","_RESData$documents$2","_highRiseRes$principl7","_highRiseRes$principl8","_highRiseRes$principl9","_highRiseRes$principl10","_highRiseRes$principl11","_highRiseRes$principl12","_highRiseRes$principl13","_highRiseRes$principl14","_highRiseRes$principl15","_highRiseRes$principl16","_highRiseRes$principl17","_highRiseRes$principl18","_highRiseRes$principl19","_highRiseRes$principl20","_highRiseRes$principl21","_highRiseRes$accounta","_highRiseRes$accounta2","_highRiseRes$accounta3","_highRiseRes$accounta4","_highRiseRes$accounta5","_highRiseRes$accounta6","_highRiseRes$accounta7","_highRiseRes$accounta8","_highRiseRes$accounta9","_highRiseRes$accounta10","_highRiseRes$accounta11","_highRiseRes$accounta12","_highRiseRes$accounta13","_highRiseRes$accounta14","_highRiseRes$accounta15","_highRiseRes$building","_highRiseRes$building2","_highRiseRes$building3","_highRiseRes$building4","_highRiseRes$building5","_highRiseRes$building6","_highRiseRes$building7","_highRiseRes$building8","_highRiseRes$building9","_highRiseRes$building10","_highRiseRes$building11","_highRiseRes$building12","_highRiseRes$building13","_highRiseRes$building14","_highRiseRes$building15","_highRiseRes$responsi","_highRiseRes$responsi2","_highRiseRes$responsi3","_highRiseRes$responsi4","_highRiseRes$responsi5","_highRiseRes$responsi6","_highRiseRes$responsi7","_highRiseRes$responsi8","_highRiseRes$responsi9","_highRiseRes$responsi10","_highRiseRes$responsi11","_highRiseRes$responsi12","_highRiseRes$responsi13","_highRiseRes$responsi14","_highRiseRes$responsi15","blockIdentifier","FRAData","FRADocuments","BSRData","BSRDocuments","RESData","RESDocuments","highRiseRes","setHighRiseRes","setWidth","openPAP","setOpenPAP","openBSM","setOpenBSM","openAP","setOpenAP","openRP","setOpenRP","isHighRise","setIsHighRise","docToggle","setDocToggle","apiFailureError","setApiFailureError","disablelink","setdisablelink","handleWindowSizeChange","addEventListener","removeEventListener","getFRAAssociateData","FRA_DOCUMENTS","getBSRAssociateData","BSR_DOCUMENTS","getRESAssociateData","RES_DOCUMENTS","getAssociate","_response$associates","associates","interestedParties","getAssetByBlockId","_response$statuses","getDocumentToggleValue","_ref6","toUpper","str","_word$","handlePAPTooltipOpen","handleAPTooltipOpen","handleRPTooltipOpen","handleBSMTooltipOpen","formatAddress","formattedText","handleDocument","_callee7","docId","_FRAData$documents$","_BSRData$documents$","_RESData$documents$","newArr","binary","len","buffer","view","_context7","ArrayBuffer","principleAccountablePerson","o","accountablePerson","Tooltip","componentsProps","tooltip","sx","bgcolor","onClose","onMouseOver","onFocus","onMouseLeave","emailAddresses","buildingSafetyManager","responsiblePerson","UserNavigatedStreams","SuccessMessage","AssigneeName","CaseOwnerName","OwnerTeamTitle","slotDate","_state$financialRefer","financialReferralReducer","selectedDateSlot","isComingFromCaseJourney","_state$financialRefer2","isCaseJourneyMessage","isComingFromRepairJourney","_state$financialRefer3","isRepairJourneyMessage","isTriageRepairMsg","_state$financialRefer4","isTriageRepair","assigneeDetails","setAssigneeDetails","triageMessageValue","setTriageMessageValue","isDefectTriageRepair","setIsDefectTriageRepair","isTier2TriageRepair","setIsTier2TriageRepair","isEmaTriageRepair","setIsEmaTriageRepair","emergencyRepairMsg","setEmergencyRepairMsg","normalAppointment","setNormalAppointment","emergencyOOH","setEmergencyOOH","caseOwnerName","_state$caseCreationRe","caseCreationReducer","isWorkOrderFailureAlertMessage","isWoAlertMessage","_state$caseCreationRe2","caseCreationDescription","_userChosenDuplicateQuestion","_userChosenVulnerabilityQuestion","emergencyRepair","_state$addresses$cont","mappedOwnerName","Map","messageTriage","fetchCaseAssetAssociates","Nmdetails","_response$associates2","_response$associates3","_response$associates4","_response$associates5","_response$associates6","_response$associates7","_response$associates8","_response$associates9","NmFirstName","NmSecondName","_Nmdetails","_response$associates10","_response$associates11","_response$associates12","_response$associates13","_response$associates14","_response$associates15","_response$associates16","_response$associates17","incomesOfficerFirstName","incomesOfficerSecondName","incomesOfficerDetails","NM","neighbourhoodManager","NeighbourhoodManagerTeam","NeighbourhoodManager","incomesOfficer","IncomesOfficer","teamDetails","Title","setTriageMessages","textAlign","Link","to","toDateString","AccountTypeList","TenancyType","TenancyTypeRen","TenancyTypeFD5","Customer360View","TenancyTypeMappingEnum","isAccount","setIsAccount","isVisible","setIsVisible","balanceCss","setBalanceCss","isArrear","setIsArrear","financialReferralToggle","setFinancialReferralToggle","RepairBlockMap","setDefaultAssociatedAsset","isCustInfo","setIsCustInfo","customerIdValue","blockAssetId","custResponse","setCustResponse","customerContact","setCustomerContact","accountDetails","setAccountDetails","setAssociatedAssetsList","showMyMessages","setShowMyMessages","catalystCustomer","setCatalystCustomer","catalystCaseCardToggle","setCatalystCaseCardToggle","catalystWorkOrderToggle","setCatalystWorkOrderToggle","catalystRepairDisabledAreas","setCatalystRepairDisabledAreas","isUserRegistered","setIsUserRegistered","isRepairsCardError","setIsRepairsCardError","assetIdentifiersAll","setassetIdentifiersAll","userNavigatedStream","navigatedFromStream","assetProperty","setAssetProperty","queryStringSearch","search","getFinancialReferralToggleValue","getCaseCardRequiredToggle","getWorkOrderRequiredToggle","repairList","newAssociatedAssets","customerIdentifierModel","CaseFinalConfirmation","scrollHeight","paramError","paramResetPassword","_paramError","authCode","responseData","clearReduxStore","URLSearchParams","getCustomer360DetailsBind","v4","responseResults","utcLogintime","timer","checkforLandlordValues","isCatalystRegistrationAreas","appConfigLandlordValues","appCatalystRepairDisabledAreasValues","appCatalystRegistrationAreasValues","appconfigLandlordValues","associatesdata","_associatesdata","_associatesdata$assoc","_associatesdata$assoc2","_associatesdata$assoc3","_associatesdata2","_associatesdata2$asso","_associatesdata2$asso2","_associatesdata2$asso3","currentLandlord","previousLandLord","isCatalystDisabledArea","landLord","_callee9","_customerResponse","_customerResponse2","_customerResponse2$ad","_customerResponse3","_customerResponse3$ad","_customerResponse4","_customerResponse4$ad","_customerResponse5","_customerResponse5$ad","_customerResponse6","_customerResponse7","_customerResponse8","_tenancySummaryList$","_tenancySummaryList$$","_tenancySummaryList$4","_tenancySummaryList$5","_tenancySummaryList$6","_tenancySummaryList$7","_tenancySummaryList$10","_tenancySummaryList$11","customerContactParamsEntry","tenancySummaryList","tenancyType","_tenancySummaryList$2","_tenancySummaryList$3","accountid","myMessagesResponse","isCaseCardRequired","responseValue","covidResponseToggle","getvandalismToggleConfig","vandalismToggleValue","_tenancySummaryList$8","_tenancySummaryList$9","newList","queryParamsFirst","worksOrdersRepairFirst","queryParamsSecond","worksOrdersRepairSecond","_context9","telecomsAddressType","digitalAddressType","tenancySummaryEntry","unshift","AGENCY","COM1","HMBY2010","OFFICE","USENOCCU","paymentReference","getAccountDetails","SAVE_ASSET_ID","_ref8","_associatedAssetsList","_ref9","_callee8","_context8","addressData","associatedAssetsList","associatedAssetsTypeEntry","APP_CONFIG_CASE_CARD_VALUE","APP_CONFIG_VALUE","APP_CONFIG_COVID_VALUE","APP_CONFIG_VANDALISM_VALUE","_callee10","accountBalance","_getTransactionList$","_getTransactionList$2","_getTransactionList$3","_getTransactionList$4","_getTransactionList$5","_getTransactionList$6","_getTransactionList$7","_getTransactionList$8","_getTransactionList$9","_accountDetails","transactDetails","transactions","getTransactionList","firstBalance","paymentCode","transactionDate","secondBalance","secondPaymentCode","secondTransactionDate","thirdBalance","thirdPaymentCode","thirdTransactionDate","transactDeatils1","transactDeatils2","_context10","balance","Livebalanced","liveBalanced","abs","toFixed","amount","net","dates","_callee11","_activeTenanciesSumma2","_TenancySummaryEntry$","queryParamssecond","_context11","CASE_SELECTED_TENANCY","callViewAccountHandler","_ref12","_callee12","_context12","_ref13","_callee13","_context13","removeCasesAndRepairData","parseFloat","toLocaleString","maximumFractionDigits","minimumFractionDigits","catalystlogo","logo","TransactionType","TransactionDetails","accountType","accountnumber","balancetype","resultsPerPageforMobile","setTransactionList","isApiFail","setApiFailMessage","isNoResultsSearch","setNoresultSearchMsg","defaultfromdate","subtract","defaulttodate","invalidDate","setDateErrorMessage","fromdateValue","setDateFrom","todateValue","setDateTo","isvisible","setVisibility","setDateClass","isErrorVisible","setErrorVisibility","setfilter","transactionTypeOptions","defaulttransactiontype","setdefaulttransactiontype","handleChangeTransactionType","_getWindowSize","getWindowSize","getDataFromDates","datefrom","dateto","transactiontype","mmntFrom","datefromValue","mmntTo","datetoValue","sortedTransactions","transactionDetails","pendingTransactions","nonPendingTransactions","elementPending","elementNonPending","_x6","onScroll","tx","_tx$runningBalance6","_tx$runningBalance7","_tx$runningBalance8","_tx$runningBalance9","_tx$runningBalance10","gross","onBlur","todayDate","applyFromDateFilter","applyFromToFilter","_tx$runningBalance","_tx$runningBalance2","_tx$runningBalance3","_tx$runningBalance4","_tx$runningBalance5","RequestStatement","formatedDate","otherEmailVal","showOtherEmail","_React$useState15","_React$useState16","purpleAlertMessage","isNaN","getTime","dateIsValid","emailRegrex","validateEmail","typedValue","splitedEmail","indexOf","isValid","closeModal","alertMessageContainer","accountDatesContainer","dateCSS","customerAddress","otherEmail","alertMessageMainContainer","_props$customerName","_props$customerName2","_props$customerName3","customerEmail","statementRequestData","MonthYearName","ViewStatementDetails","_monthYear$","swtichOffAlert","payRef","monthYear","isDisplay","setIsDisplay","monthNumber","turnOffAlert","_monthYear$2","_monthYear_array$","_monthYear_array$2","monthYearName","monthYear_array","chosenMonth","chosenYear","statementsResponse","yearMonthFrom","yearMonthTo","documentsForAccount","doc","metaKey","allDocs","ViewStatement","_viewRequestStatement","_viewRequestStatement2","_viewRequestStatement3","_viewRequestStatement4","_viewRequestStatement5","_viewRequestStatement6","_viewRequestStatement7","_viewRequestStatement8","_viewRequestStatement9","_viewRequestStatement10","_viewRequestStatement11","_viewRequestStatement12","allMonths","setmonthYear","isRequestCustomStatement","setIsRequestCustomStatement","availableStatements","setAvailableStatements","viewRequestStatementData","currentDate","getMonth","getUTCDate","getMonthsAndYears","startLimit","endLimit","filteredMonthYearNameList","monthYearNameList","output","_loop","prevdate","thisMonthYear","getCustomerResponse","CaseReporterId","getAccountType","AccountTypeValue","REN","GARAGE","STORELIC","LEASE100","LEASECTH","LEASEHB5","LEASESEC","LEASESHR","FREEHOLD","LICGAR","FD5","INTERMED","MJW","GRD","DEP","HOM","ViewAccount","defaultAccount","setdefaultAccount","selectedAccount","setSelectedAccount","setpayref","multipleAccunt","setMultipleAccount","accountResponse","setaccountCustomerResponse","accountdetails","setaccountdetails","setTenancySummary","isViewStatement","setIsViewStatement","accountCustomerResponse","_propety$","_associtaedAssetsList","_associtaedAssetsList2","_tenancySummaryEntry$","getAccountList","propety","callPageHandlerPayment","_x7","_x8","_x9","_x10","_x11","_sortedAccountList$","accountDetailsList","_accountBalance$last","_accountBalance$last$","_accountBalance$last$2","_accountBalance$last2","_accountBalance$last3","_accountBalance$last4","_accountBalance$last5","substring","accountBalanceValue","sortedAccountList","getAccountAllDetails","tabIndex","_property$","property","chnagedAccountDetails","account","ManageProfile","_userProfileData$cust","_userProfileData$cust2","_userProfileData$cust3","_userProfileData$cust4","_userProfileData$cust5","_userProfileData$cust6","_userProfileData$cust7","_userProfileData$cust8","_userProfileData$cust9","_userProfileData$cust10","_userProfileData$cust11","_userProfileData$cust12","_userProfileData$cust13","getCatalystProfileToggle","editButtonHandler","redirectToIDAMResetPassword","redirectTo360View","EditProfile","eMail","setEMail","mobileNo","setMobileNo","homePhoneNo","setHomePhoneNo","businessPhone","setBusinessPhone","updateStatusMsg","setUpdateStatusMsg","disabledSaveButton","setSaveButtonDisabled","updatedEmail","setUpdatedEmail","updatedMobile","setUpdatedMobile","updatedHome","setUpdatedHome","updatedBusiness","setUpdatedBusiness","catalystProfileToggle","isEditProfileToggle","isProfileUpdated","setIsProfileUpdated","phoneNoRegrex","numValidator","uniqueErrors","from","Set","splice","inputBlurHandler","errorcode","sendEmailNotification","minutes","hour","dd","mm","yyyy","profileDate","editedTime","emailNotification","getMinutes","deviceId","dialingCode","countryCode","communicationTemplateIdentifier","communicationType","submitButtonHandler","_uniqueErrors","_uniqueErrors2","_uniqueErrors3","allData","emailAddress","cancelButtonHandler","elementsObj","divId","inputId","disabledStatus","eachElem","PaymentDetails","setradioValue","seterrorcode","otherRadio","setotherRadio","paymentValue","setpaymentValue","buttondisabled","liveBalanceValue","setliveBalance","PaymentValue","Paymentvalue","liveBalance","Payment","Allpayforminput","Value","hiddenField","AllPayGateway","OtherBalance","liveBalancevalue","onCompleteEvent","form","appendChild","submit","removeChild","resultCode","scrolling","AllPayGatewayConformation","allPayMessage","conformationMessage","SelectTenency","getTenancyGroup","setTenancyGroup","residentialProperties","nonResidentialProperties","_selectedtData$3","itemActiveTenancy","_itemActiveTenancy$te","tenancy","CASE_PROPERTY_TENANCY_GROUP","CASE_EDIT","CaseType","suggesstionArray","caseTypeData","caseDescriptionArray","actualRefData","warningAlert","setWarningAlert","keywordPosArr","mappingData","setMappingData","showStaticAlert","setShowStaticAlert","getDescriptionArr","defaultSelection","getDescriptionData","caseDescriptionDataInfo","caseTenancyGroup","getAPIMasterData","_responseData$","_responseData$$namesp","tenancyGroups","isVisibleForSelfServe","keywords","CASE_CREATION_MASTER_DATA","CASE_DESCRIPTION_DATA_INFO","fetchData","setFetchData","clearCaseDataFromRedux","Suspense","fallback","textDecoration","CASE_CREATION_DESCRIPTION","CASE_CREATION_QUESTIONS","CASE_COUNTER","MatcherVal","c","_data$keywords","_keywords$match","match","keyword","_step","_iterator","_createForOfIteratorHelper","n","done","matchValue","uniqueMatcher","stopPropagation","rows","CaseTypeQuestion","_location$state","editCounter","getAllData","caseCreationMasterData","counter","descData","_data$additionalCaseC","CASE_CREATION_ADDITINALINFO","additionalInfo","CASE_CREATION_ID","CASE_SUBTYPE","CASE_ASSET_TYPE","CASE_SUBTYPE_CATEGORY","subTypeCategory","additionalCaseCreationFields","CASE_ADDITIONAL_CASE_FIELD","loadQuestionScreen","questionData","_questionData$count","isEnabled","MyMessage","messageRead","setMessageRead","viewedMessages","setViewedMessages","recievers","recieverTitle","recieverGivenName","recieverSurname","recieverGivenNameVal","recieverSurnameVal","viewedMessagesArray","checkCasesMsgNotification","callFrom360","updateUNREADMessage","scrollToCard","messagesEndRef","_messagesEndRef$curre","_document","_messagesEndRef$curre2","_messagesEndRef$curre3","_messagesEndRef$curre4","_window","innerHeight","offsetTop","top","behavior","communicationID","reduceUnreadMessagesCount","messageDetailsClickHandler","messagedetails","messageSubject","messageDate","messageNotificationType","messageDocumentIdentifier","_props$eachMsgData$me5","_props$eachMsgData$me6","MyMessagesHistory","_activeProperty$","_activeProperty$$tena","formatedTenancyStartDate","setSearchTerm","setSearchText","setTotalCount","filterMessageStatus","setFilterMessageStatus","setSearchedMessages","sortMessages","setSortMessages","setMessages","setAllMessagesCount","unreadMessagesCount","setUnreadMessagesCount","assetID","setAssetID","activeTenancies","setActiveTenancies","alertError","setAlertErrorMessage","_useState47","_useState48","myMessageData","activeProperty","_el$tenancySummary","activeTenancyStartDate","_selectedAddress$","_selectedAddress$2","selectedAddress","eachAdd","fetchMyMessageData","resetButtonHandler","pageContents","_e$value","_e$value2","typedText","encodedTypedText","encodeURI","searchStr","filterOption","MessageDetails","userSelectedMessageDetails","messageDetails","userSelectedMessageSubject","userSelectedMessageDate","userSelectedMessageSender","userSelectedMessageNotificationType","userSelectedMessageStatus","messageStatus","fetchStatement","CaseData","caseTypeId","assignee","assigneeType","contactDetails","CaseStatusField","ContactDetails","isEdit","isCaseEdit","selectedAnswers","caseCreationAdditionalInfo","_state$caseCreationRe3","caseSelectedAnswers","referral","isComingFromReferral","caseFlag","isComingFromCase","_customerPhone$4","textvalidate","_customerPhone$5","numberValidate","CaseDrool","caseSubType","caseSubTypeCategory","caseCategory","COVID_CASE_QUESTION","REFERENCE_CASE_QUESTION_4","CaseReview","_addresses$","_caseCategoryAddition","AssetTypeId","userTenancyCount","AssetTypeName","showError","setShowError","redAlert","setRedAlert","isSingleTenancy","setIsSingleTenancy","landlordName","assigneeName","setAssigneeName","setAssigneeType","caseAssetType","caseCreationId","rowNumber","CASE_ASSET_IDENTIFIER","selectedPropertyAddress","userChosenRelationId","caseCategoryAdditionalFields","caseAdditionalFields","userTenancy","_data$tenancySummary","_data$tenancySummary2","selectedQuestions","AnsValueArr","caseSelectedQuestions","q","_q$options","storeIndex","_","valueFrom","callCaseDroolAPIS","droolRequest","_response$value$comM","_response$value2$com","_response$value3","_response$value3$com","owningTeam","owningTeamCategory","fetchGetCaseAssetAssociateData","_response$associates$","_response$associates$2","CASE_ELIGIBILITY_RESPONSE","Single","getAssetDetails","assetTypeID","_addresses$2","missingBlockID","onContinueHandler","_getAssetDetails","_getAssetDetails2","assetName","caseRequest","phoneNumber","relationId","relation","ans","_selectedQuestions$in","_selectedQuestions$in2","_selectedQuestions$in3","_selectedQuestions$in4","questionId","responseId","responseText","CASE_IDENTIFIER","caseIdentifier","CASE_OWNER","CaseStatusOptions","Links","self","Self","Next","previous","Previous","CaseSearch","_caseListData$cases","_caseListData$cases2","_caseListData$cases3","ownerName","defaultCaseStatus","setdefaultCaseStatus","setIsMoreThanThousand","hasMoreCases","setHasMoreCases","arrayCases","caseDescriptionTxt","setCaseDescriptionTxt","setIsActiveDescription","activeCase","setActiveCase","propertyId","totalRecords","casestatusSelectOptions","caseListData","_useState49","_useState50","isCaseSearchError","setIsCaseSearchError","casesResponse","fetchCasesData","caseDetailsHandler","filteredArray","details","viewCaseDetail","CreateCasesHistoryData","_e$assignee","caseRefNo","caseStatus","caseOwner","dateCreated","requsetType","caseDetailsData","_caseList$cases","caseList","totalCases","_args3","displayCaseList","_el$assignee","_el$assignee2","displayCaseListMobView","caseDescription","caseDescriptionDetails","caseDesItems","getCaseDescriptionDetails","RadioTypeQuestion","_questionInfoData$cou","_questionInfoData$cou5","_questionInfoData$cou6","_questionInfoData$cou7","_questionInfoData$cou8","_questionInfoData$cou9","_questionInfoData$cou10","_questionInfoData$cou14","_questionInfoData$cou15","_questionInfoData$cou17","_questionInfoData$cou18","_questionInfoData$cou19","reportVandalism","referenceCase","tenancyAgreement","householdMemberOrSublettingCase","leasehold","_questionInfoData$cou2","_questionInfoData$cou3","_questionInfoData$cou4","blockingIsVisible","setBlockingIsVisible","blockingAlert","setBlockingAlert","blockingArray","vandalism","setVandalism","reference","setReference","tenancyAgree","setTenancyAgree","sublettingCase","setSublettingCase","leaseholdOwnership","setLeaseholdOwnership","fetchAnswer","fetchQuestion","questionArray","setQuestionArray","ansArray","setAnsArray","questionInfoData","_state$caseCreationRe4","_state$caseCreationRe5","blocking","assignedSelectedAnswersValue","_questionInfoData$ind","_questionInfoData$ind2","_questionInfoData$cou11","_questionInfoData$cou12","newQArr","dependsOn","_questionInfoData$cou13","TextTypeQuestion","textValue","_state$caseCreationRe6","alertMessageCode","code","txtInput","DropdownQuestion","householdMemberOrSubletting","rentCard","DependsOnAttributes","optionKeyValue","setOptionKeyValue","sublettingSelection","setSublettingSelection","rent","setRent","listOpt","_blockingArray$","_blockingArray$$depen","_option$dependsOnAttr","_option$dependsOnAttr2","dependsOnAttributes","dependsOnAttr","UploadMediaRow","_props$type","mediaType","mediaFileName","deleteMediaFile","UploadMedia","mediaFiles","setMediaFiles","disableUploadButton","setDisableUploadButton","fileTooLarge","setFileTooLarge","wrongFileType","setWrongFileType","dragActive","setDragActive","imageFileExtension","setImageFileExtensions","setFileType","existingmediaLength","setExistingmediaLength","inputRef","userChosenUploadedMediaValue","isResume","isMediaResumed","mediaIds","mediaItems","resumeWorkOrderMedia","imageExtensionCheck","allowedConfigExtensions","allowFileType","replaceAll","_yield$api$getMediaDa","fileType","currentMediaFiles","encodeImageFileAsURL","reader","FileReader","imgExt","onloadend","processMediaFile","readAsDataURL","maxSizeMB","useWebWorker","Compress","compressedBlob","uploadMediaArray","image","validExt","mediaParam","DocumentType","Media","Metadata","documentIdentifier","updatedMedia","handleDrag","onButtonClick","styles","onDragEnter","files","onDragLeave","onDragOver","onDrop","dataTransfer","bgColour","ViewMedia","CaseDetails","_caseListData$caseDet","caseDescriptionItem","descriptionTxt","questionTxt","ansTxt","EnquiryConsent","RadioOption1","financialReferralData","referralFor","setReferralFor","financialReferral","REFERRAL_FOR","EnquiryReason","referralReasons","setReferralReasons","ReferralReason","reasonChecked","setReasonChecked","isLoader","setIsLoader","arrData","referralReasonResponse","fetchReferralReason","_Object$values","values","displayOnMyPeabody","Box","FormControl","m","variant","FormGroup","ceil","_data$ReferralReason","Checkbox","_data$ReferralReason2","AdditionalEnquiryDetails","specials","referralDetails","reasonData","setMessage","countCharacter","setCountCharacter","cols","spellCheck","EnquiryReview","_data$ReferralReason$","contactType","setContactType","editableData","referralDetail","shareContactType","contactNo","contactName","contactRelation","contactInfo","ansValue","bodyData","onEditHandle","striped","REFERRAL_ACCOUNT_BALANCE","saveReferralAccountBalance","EnquiryConfirmation","CustomerApiErrorPage","setUpAppInsights","App","workOrderToggle","isWorkOrderToggle","accessRepairFunctionality","financialRoutes","Switch","Route","render","DropdownTypeQuestion","SelectTenancy","VulnerabilityQuestion","routes","exact","component","Redirect","BrowserRouter","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","addressReducer","QUERY_POSTCODE","SAVE_CUSTOMER_ID","SAVE_DEFAULT_ADDRESS","defaultaddresss","SAVE_ASSET_ADDRESS","assetAddress","getContractorPayload","SESSION_TIME_OUT_MESSAGE","showSessionTimeOutMessage","initialState","repairPropertyTrack","selectedRepairReasonPriorityDetermination","CHANGE_REPAIR_PROPERTY_TRACK","previousConfirmedState","routeHistory","banlancetype","accountidentifier","mediaAttached","isSelectedHistoryMedia","navHeaderText","userChoices","_ret","REFRESH_TOKEN","ACCESS_TOKEN_EXPIRE_TIME","REFRESS_TOKEN_EXPIRE_TIME","UPDATE_ROUTE_HISTORY","USERCHOSEN_ERROR_CODE","USERCHOSEN_ISELIGIBLE","CASES_USERCHOSEN_PROPERTY_ID","casesUserChosenPropertyId","ENERGY_ADVICE_MAX_COUNT","energyAdviceMaxCount","UPDATE_USER_CHOICES_WITH_NEW_CHANGE","presentUrlIndex","findIndex","newChanges","MY_MESSAGE_DATA","repairID","GET_REPAIR_ID","isFetching","caseSelectedTenancyAddress","caseQuestionAnswerDetails","caseOwningTeam","caseAssetIdentifier","CASE_CATEGORY","CASE_OWNING_TEAM","CASE_QUESTION_ANSWERS_DETAILS","caseEligibilityResponseData","FinancialInclusionTeam","ReferralOtherDetails","referralAccountBalance","isAlertMessage","rootReducer","combineReducers","REFERRAL_INCLUSION_TEAM","REFERRAL_OTHER_DETAILS","persistConfig","storage","persistedReducer","persistReducer","composeEnhancers","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","_configureStore","store","createStore","applyMiddleware","thunkMiddleware","persistorstore","persistStore","configureStore","ReactDOM","StrictMode","PersistGate","persistor","currentRepair","_currentRepair$raised","_currentRepair$raised2","_currentRepair$raised3","_currentRepair$report","_currentRepair$report2","_currentRepair$report3","_currentRepair$report4","_currentRepair$report5","_currentRepair$custom","_currentRepair$custom2","_currentRepair$custom3","_currentRepair$custom4","_currentRepair$custom5","_currentRepair$custom6","_currentRepair$custom7","_currentRepair$custom8","_currentRepair$custom9","_currentRepair$custom10","_currentRepair$custom11","_currentRepair$custom12","fullAddress","buildDigitalAddresses","_workOrderRepair$repo","_workOrderRepair$repo2","_woRequestParameters$","_woRequestParameters$2","_workOrderRepair$repo3","_workOrderRepair$repo4","_workOrderRepair$isSu","_workOrderRepair$repo5","ReferenceDataPremisesTypeId","referral_msg","appInsights","reactPlugin","ReactPlugin","browserHistory","basename","config","instrumentationKey","maxBatchInterval","disableFetchTracking","enableUnhandledPromiseRejectionTracking","extensions","extensionConfig","debug","ApplicationInsights","loadAppInsights","eventName","properties","channel_identifier","customer_identifier","correlation_identifier","session_identifier","flush","workOrder","convertWorksOrdersToRepairs","_worksOrder$contracto","_appointments$","totalRepairs","apimKey","REACT_APP_TRANSACTIONAPI_BASE_URL","agent_identifier","content_type","if_match","cache_control","assetapiApiUrl","referenceApiUrl","customerApiUrl","commonV2ApiUrl","tenanciesApiUrl","premisesEligibilityApiUrl","worksordersApiUrl","referenceDataV2ApiUrl","contractorV2ApiUrl","workOrderRepairPriorityV2ApiUrl","premisesApiUrl","tokenApiUrl","allPayGatewayApiUrl","accountsApiUrl","caseAssetApiUrl","transactionApiUrl","historyItemsApiUrl","contractorApiUrl","appconfigApiUrl","droolAPIUrl","mediaApiUrl","cancelRepairApiUrl","clearSessionUrl","enhancedRepairEligibilityApiURL","getNotesBaseApiUrl","responseType","axios","locationHeader","errors","put","deleteRequest","getAsBlob","getCustomer","getAssociatedAssets","getAssetsByid","getTenancies","getAccountByCustomers","getReferenceData","GetAppConfigToggleValue","appConfigResponse","postPremisesEligibility","getTenanciesGroup","getAccount","getTransactionsSearch","Limit","Skip","DateFrom","DateTo","getRepairEligibility","repairResponsibility","searchRepairReasons","searchRepairReasonsV2","createWorkOrderRepair","updateWorkOrderRepair","repaireWorkOrderUpdate","getDeterminedContractor","postRepairPriority","repairPriorityPayload","getWorksOrdersApi","_ref6$limit","_ref6$searchText","_ref6$orderBy","_ref6$raisedSince","_ref6$sor","_ref6$location","_ref6$priority","_ref6$status","_ref6$description","_ref6$isDuplicateChec","propertiesQueryParams","limitQueryParam","skipQueryParam","getWorkOrdersForResumeRepair","_ref7$searchText","_ref7$orderBy","_ref7$raisedSince","_ref7$sor","_ref7$location","_ref7$priority","_ref7$status","_ref7$description","getRepairs","getSorDetermination","_ref10","postEnhancedRepairEligibility","enhancedRepairPayload","currentRepairFromWorksOrder","_ref11","getRepair","worksOrderResponse","getWorkOrder","GetCustomerId","requestState","getRepairHistories","_ref14","workOrderID","repairHistoriesResponse","_x12","deleteWorkOrder","_ref15","_x13","_x14","putEditProfile","profileData","allPayTaken","_ref16","paymentreference","allPayGatewayResponse","_x15","getContractors","getCancelRepairEligibility","lastAppointmentDate","userIdentifier","raisedByIdentifier","getRescheduleEligibility","isContractorIntegrated","clearSession","getQuestionnaireMasterData","getDocumentsByCustomer","getDocumentByIdentifier","postRequestCustomStatement","getCommunicationMessages","patchCommunicationMessages","createCaseData","updateWorkOrderRepairMedia","getMediaData","getViewMediaDetail","postMediaFile","mediaData","deleteMediaFiles","getAssetByCaseid","getCaseAssetAssociate","caseDroolAPI","getCasesList","_ref17","_ref17$searchText","_ref17$orderBy","_ref17$limit","_ref17$status","_ref17$defaultassocit","_ref17$customerId","postRequestCatalystCustomerEmail","GetHighRiseProperty","getDocumentByBlockId","getBuildingSafetyDoc","getFinancialReferralReasonData","submitFinancialInclusion","payref","postNoteForWorkorder","workOrderSerialNumber","workOrderSequenceNumber","notesPayload"],"mappings":"w6+CAC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static/js/main.1c645d9c.chunk.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"radioinput\":\"style_radioinput__pmkDk\",\"startPageBackground\":\"style_startPageBackground__2622i\",\"startPageContent\":\"style_startPageContent__12Ote\",\"innerContainer\":\"style_innerContainer__371tR\",\"pgDetails\":\"style_pgDetails__2CRa0\",\"textLinks\":\"style_textLinks__1NJbi\",\"textButton\":\"style_textButton__ciksW\"};","import { trackException } from \"../appInsights/TelemetryService\"\n\ninterface ApiErrorParams {\n status: number\n title?: string\n}\n\nexport class ApiError extends Error {\n private static genericMessages: Record = {\n 400: 'Bad Request',\n 401: 'Unauthorised',\n 403: 'Forbidden',\n 404: 'Not Found',\n 409: 'Conflict',\n 500: 'Server Error',\n unknown: 'Unknown Error',\n }\n\n public status: number\n public messages: any\n\n constructor(params: ApiErrorParams, messages?: any, ...rest: any) {\n super(...rest)\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, ApiError)\n }\n\n this.status = params.status\n this.messages = messages || {}\n const _channel = localStorage.getItem('channel') || \"\"\n\n const _customerId = localStorage.getItem('customerId') || \"\"\n \n const _corelationId = localStorage.getItem('corelationId') || \"\"\n\n const _sessionId = localStorage.getItem('sessionId') || \"\"\n\n // TODO improve this\n const title = ApiError.genericMessages[params.status] ?? ApiError.genericMessages.unknown\n\n this.message = `${this.status} ${title}`\n let trackerror=new Error();\n trackerror.message=this.message;\n trackException(trackerror,_channel,_customerId,_corelationId,_sessionId)\n }\n}\n","import { NameDetails } from '../Customer/CustomerName'\nimport DigitalAddress from './Address/DigitalAddress'\nimport { Person } from './Person'\n\ntype addressField = {\n digitalAddresses: DigitalAddress[]\n}\n\nexport class RaisedBy {\n public person: Person\n public address: addressField\n constructor(name?: NameDetails, addresses?: DigitalAddress[]) {\n this.person = {\n name: {\n title: name?.title || '',\n givenName: name?.givenName || '',\n surname: name?.surname || '',\n },\n }\n this.address = {\n digitalAddresses: addresses || [],\n }\n }\n}\n","import moment from 'moment'\n\nimport { Address, PostalAddress } from '../../models/Customer'\n\n// Dates received in the format 1952-03-15T00:00:00Z\nexport const formatDate = (date: string | null): string => {\n if (!date) return 'None'\n return date\n .split('T')[0]\n .split('-')\n .reverse()\n .join('-')\n}\n\n// Dates received in the format 1952-03-15T00:00:00Z\nexport const formatDateToSlash = (date: string | null): string => {\n if (!date) return 'None'\n return date\n .split('T')[0]\n .split('-')\n .reverse()\n .join('/')\n}\n\nexport const isWithinSixMonths = (date: string): boolean => {\n const today = new Date()\n return moment(new Date(today)).diff(new Date(date), 'months', true) < 6\n}\n\nexport const formatDateWithMonthInLetters = (dateToFormat: string| null): string => {\n if (!dateToFormat) return '-'\n const date = moment(dateToFormat).format('DD MMM YYYY')\n return `${date}`\n}\nexport const formatDateWithFullMonthInLetters = (dateToFormat: string| null): string => {\n if (!dateToFormat) return 'None'\n const date = moment(dateToFormat).format('DD MMMM YYYY')\n return `${date}`\n}\n\nexport const formatDateWithFullMonthWeekInLetters = (dateToFormat: string| null): string => {\n if (!dateToFormat) return 'None'\n const date = moment(dateToFormat).format('dddd DD MMMM YYYY')\n return `${date}`\n}\n\nexport const isNullOrUndefined = (obj : any): boolean => {\n let result = false;\n if ( obj === undefined || obj === null || obj === '' || obj === \"\") { \n result = true; \n } \n return result; \n}\n\n// Dates received in the format 1952-03-15T00:00:00Z\nexport const formatDateWithTime = (date: string, date2?: string): string => {\n if (!date && !date2) {\n return '-'\n }\n \n /*\n // TODO: Once we have tests, see if we can refactor into the following\n const time1 = moment.utc(moment(date)).format('DD-MM-YYYY, h.mma')\n const time2 = moment.utc(moment(date2)).format('-h.mma')\n return time2 ? `${time1}${time2}` : time1\n */\n\n const mmnt = moment(date)\n\n const d = mmnt.format('DD-MM-YYYY')\n const h = mmnt.hour()\n const m = mmnt.minute()\n\n let hour = h\n const minute = doubleDigit(m)\n let periodOfDay = 'am'\n\n if (hour >= 12) {\n hour = hour - 12\n periodOfDay = 'pm'\n }\n\n let formattedNewDate: string = ''\n if (!date2) {\n formattedNewDate = `${d}, ${hour}.${minute}${periodOfDay}`\n } else {\n let h2 = moment(date2).hour()\n const m2 = moment(date2).minute()\n let periodOfDay2 = 'am'\n if (h2 >= 12) {\n h2 = h2 - 12\n periodOfDay2 = 'pm'\n }\n formattedNewDate = `${d}, ${hour}.${minute}${periodOfDay}-${h2}.${m2}${periodOfDay2}`\n }\n\n return formattedNewDate\n}\n\nexport const doubleDigit = (value: number): number | string => {\n const newValue = value >= 10 ? value : `0${value}`\n return newValue\n}\n\nexport function addressToString(address: Address | PostalAddress | null): string {\n if (!address) return ''\n const { addressLine1, addressLine2, addressLine3, postcode } = address\n\n const addressLine4 = (address as Address).addressLine4 || ''\n const addressLine5 = (address as Address).addressLine5 || ''\n const formattedAddress = (address as Address).formattedAddress || ''\n const town = (address as PostalAddress).town || ''\n\n if (formattedAddress) return formattedAddress\n\n const allLines = [\n addressLine1,\n addressLine2,\n addressLine3,\n addressLine4,\n addressLine5,\n town,\n postcode,\n ]\n\n const addField = (input: string, field: string | null) => {\n if (!field) return input\n if (!input) return field\n return `${input}, ${field}`\n }\n\n return (\n formattedAddress ||\n allLines.reduce((addr: string, line) => {\n return addField(addr, line)\n }, '')\n )\n}\n\nexport function csvToMultiline(s: string): string {\n if (!s || typeof s !== 'string') return s\n\n return s\n .split(',')\n .map(str => str.trim())\n .join('\\n')\n}\n\nexport const stringToHTML = (s: string) => s.split(',')\n\nexport function valueOrPlaceholder(val: string | null) {\n const EMPTY_PLACEHOLDER = '-'\n return val || EMPTY_PLACEHOLDER\n}\n\nexport const priorityType = (text: any) => {\n if (text === undefined || text === null) return ''\n\n const priority = text?.includes('(') ? text?.slice(0, text.indexOf('(')) : text\n return priority\n}\n\nexport const bracketMessage = (text: any) => {\n if (text === undefined || text === null) return ''\n\n const messageInBracket = text?.includes('(')\n ? text?.slice(text.indexOf('('), text.indexOf(')') + 1)\n : ''\n return messageInBracket\n}\n\nexport const textPreview = (text: string) => {\n const textLimit = 30\n const previewText = text.length > textLimit ? `${text.substring(0, textLimit)}...` : text\n\n return previewText\n}\n\nexport const formatDateWithFromCalendar = (date: string): string => {\n if (!date) {\n return '-'\n }\n\n // TODO - Adding one day as calendar's date is not working well with moment.js\n const calendarDate = moment(date).format('DD-MM-YYYY')\n\n return calendarDate\n}\n\nexport const dateToHour = (date: string): string => date.split('T')[1]?.split(':')[0]\n\n\nexport const formatDateTime = (dateToFormat: string| null): string => {\n if (!dateToFormat) return 'None'\n const date = moment(dateToFormat).format('YYYY-MM-DD')\n return `${date}`\n}\n\nexport const formatDateTimeSlash = (dateToFormat: string| null): string => {\n if (!dateToFormat) return 'None'\n const date = moment(dateToFormat).format('DD/MMM/YYYY')\n return `${date}`\n}\n\nexport function capitalizeName(name: string | undefined | null): string {\n if (!name) {\n return '';\n }\n\n return name\n .split(' ')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase())\n .join(' ');\n}\n\nexport function detectMobile() {\n let isMobile = RegExp(/Android|webOS|iPhone|iPod|iPad|BlackBerry|Windows Phone/i)\n .test(navigator.userAgent);\n if (!isMobile) {\n const isMac = RegExp(/Macintosh/i).test(navigator.userAgent);\n if (isMac && navigator.maxTouchPoints && navigator.maxTouchPoints > 2) {\n isMobile = true;\n }\n }\n return isMobile;\n}","export default class Address {\n public id?: string = ''\n public addressLine1: string = ''\n public addressLine2: string | null = null\n public addressLine3: string | null = null\n public addressLine4: string | null = null\n public addressLine5: string | null = null\n public formattedAddress?: string = ''\n public postcode: string = ''\n public postalAddressType: string = ''\n}\n","//import { recallRepairsAndGasRecallButtonEnabled } from '../../api/featureToggle'\n//import { NoteProps } from '../../storybook/Notes'\nimport { Identifiers } from \"./../WorksOrders/Identifier\";\nimport { isWithinSixMonths } from '../../utils/formatting'\nimport { Address, CustomerName } from '../Customer'\nimport { EligibilityOutcome, PremisesDetails } from '../Property'\nimport DigitalAddress from '../shared/Address/DigitalAddress'\nimport { RaisedBy } from '../shared/RaisedBy'\nimport { Statuses } from '../shared/Statuses'\nimport { WorksOrder } from '../WorksOrders'\n//import { Contact, ContractorV2 } from './ContractorV2'\nimport { CreatedRepair, RepairContact, RepairDetails } from './CreateRepair'\nclass CurrentStep {\n public value: number = 0\n public key: string = ''\n public displayName: string = ''\n public legacyKeys: any[] = []\n}\n\nexport class Documents {\n public documentIdentifiers: string[] = [];\n}\n\nexport class CompletedStep {\n public value: number = 0\n public key: string = ''\n public displayName: string = ''\n public legacyKeys: any[] = []\n constructor(step?: number) {\n this.value = step || 0\n }\n}\n\nexport class ReportContactDetails {\n public name: CustomerName | null | undefined = null\n public contactNumber: string | null = null\n public organisation: string | null = null\n public reporterToBeContacted: boolean = false\n}\n\nexport class CurrentRepair {\n public static canBeScheduled = (\n repair: Pick\n ): boolean => {\n const { status, priority, isRecall } = repair\n // if toggle is on, do not display appointment button for recalls\n //const displayAppointmentButtonForRecalledRepairs =\n // recallRepairsAndGasRecallButtonEnabled() && isRecall ? false : true\n\n return (\n status === RepairStatusText.Unappointed &&\n priority === 'Next Available' \n //&& displayAppointmentButtonForRecalledRepairs\n )\n }\n public static canBeRecalled = (\n repair: Pick\n ): boolean => {\n const GAS_SOR_CODES = ['PROGAS', 'COMGAS', 'PROGASLEAK', 'COMHIU', 'COMPLANT']\n\n // default true for non gas scenarios\n let displayRecallFeatureToggleCheck: boolean = true\n //if (GAS_SOR_CODES.includes(repair.sorCode)) {\n // check featureTogggle state to display for gas scenarios\n // displayRecallFeatureToggleCheck = recallRepairsAndGasRecallButtonEnabled()\n // }\n return (\n (repair.status === RepairStatusText.Completed || repair.status === RepairStatusText.Closed) &&\n repair.priority === 'Next Available' &&\n isWithinSixMonths(repair.completedDate) &&\n !repair.isRecall &&\n displayRecallFeatureToggleCheck\n )\n }\n\n public id: string\n public originalWorkOrderIdentifier?: string | undefined\n public originalWorkOrderJobId?: string | undefined\n public originalWorkOrderSorCode?: string | undefined\n public isDraft: boolean\n public isSupplementary?: boolean | null\n public isVandalism?: boolean | null\n public isCovidSelfIsolated?: boolean | null\n public premisesId: string\n public area: string = ''\n public premisesType: string = ''\n public premisesTypeId :string = ''\n public premisesAddress: Address | null = null\n public contractor: string = ''\n public contractorName?: string\n public contractorPhoneNumber?: string = ''\n public contractorBuilderName?: string = ''\n public contractorBuilderPhone?: string = ''\n public trade: string = ''\n public repairLocation: string = ''\n public repairLocationId: string = ''\n public isEmergency: boolean = false\n public isSubmitted: boolean = false\n public isOutOfHours: boolean = false\n public priority: string = ''\n public status: string = ''\n public raisedDate: string = ''\n public appointmentStartDate: any\n public lastAppointmentCreatedDate : any\n public appointmentEndDate: any\n public appointmentDates: object = {}\n public completedDate: any\n public description: string = ''\n public repairReason: string = ''\n public additionalInformation: string = ''\n public jobNo: string = ''\n public documents: Documents = new Documents();\n public repairAddress : string = ''\n public chargeCustomer: any\n public repairCause?: string = ''\n public repairCauseId?: number = 0\n public riskToHumanLife?: boolean = undefined\n public crimeReferenceNumber: string | null = null\n public reportedById?: number\n public reportedBy: string = ''\n public notifyAll: boolean\n public staffContactEmails: string[] = []\n public currentStep: CurrentStep = new CurrentStep()\n public completedStep: CompletedStep = new CompletedStep()\n public reportingMethodId: number = 1\n public reportingMethod?: string = ''\n public eTag: string = 'eTag'\n public reporterToBeContacted: boolean = true\n public reporterContactDetails: ReportContactDetails | null = new ReportContactDetails()\n //public notes: NoteProps[] = []\n public customerName: CustomerName | null = new CustomerName()\n public premisesUniqueReference: string = ''\n public sorCode: string = ''\n public raisedBy: RaisedBy = new RaisedBy()\n public staffContactDigitalAddresses: DigitalAddress[] = []\n public worksOrderIdentifier: string = ''\n public customerIdentifier: string = '' \n public isRecall?: boolean\n public eligibilityOutcomes: EligibilityOutcome[] = []\n //public contractorContacts : ContractorV2 = new ContractorV2()\n public isEMA: boolean = false\n public isCatalyst: boolean = false\n public isInDefect: boolean | false\n \n public isPotentialDuplicate: boolean = false\n\n public isVulnerable?: boolean | null\n public VulnerableResponseText: any\n public assetIdentifier: string \n public channel: string = ''\n \n constructor(worksOrder?: WorksOrder, premisesInfo?: PremisesDetails) {\n this.id = worksOrder?.identifiers?.worksOrderIdentifier || ''\n this.originalWorkOrderIdentifier =\n worksOrder?.identifiers?.originalWorkOrderIdentifier || undefined\n this.originalWorkOrderSorCode = worksOrder?.job?.sorCode || undefined\n this.isDraft = worksOrder?.statuses?.isDraft || false\n this.isSupplementary = worksOrder?.statuses?.isSupplementary || null\n if(worksOrder?.statuses?.isVandalism===false)\n {\n this.isVandalism=false;\n }\n else\n {\n this.isVandalism = worksOrder?.statuses?.isVandalism || null\n } \n if(worksOrder?.statuses?.isCovidSelfIsolated===false)\n {\n this.isCovidSelfIsolated=false;\n }\n else\n {\n this.isCovidSelfIsolated = worksOrder?.statuses?.isCovidSelfIsolated || null\n } \n this.premisesId = worksOrder?.identifiers?.asset?.assetIdentifier || ''\n this.premisesAddress = worksOrder?.asset?.addresses?.postalAddresses ?? premisesInfo?.premises?.address ?? null\n this.premisesTypeId = worksOrder?.asset?.type?.assetTypeId ?? premisesInfo?.premises?.premisesTypeId ?? ''\n this.premisesType = worksOrder?.asset?.type?.assetTypeName ?? premisesInfo?.premises?.premisesType ?? ''\n this.area= worksOrder?.asset?.type?.assetTypeName|| ''\n this.contractor = worksOrder?.identifiers?.contractorSiteIdentifier || ''\n this.trade = worksOrder?.job?.trade || ''\n this.repairLocation = worksOrder?.job?.location?.location || ''\n this.repairLocationId = worksOrder?.job?.location?.locationId || ''\n this.repairReason = worksOrder?.job?.repairReason || ''\n this.isEmergency = worksOrder?.statuses?.isEmergency || false\n this.isSubmitted = worksOrder?.statuses?.isSubmitted || false\n this.isOutOfHours = worksOrder?.statuses?.isOutOfHours || false\n const calculatedPriority = this.retrievePriority(worksOrder?.statuses)\n this.priority = calculatedPriority || ''\n this.status = worksOrder?.statuses?.status || ''\n this.raisedDate = worksOrder?.raisedDate || ''\n this.isEMA = worksOrder?.statuses?.isEMA || false\n this.isCatalyst = worksOrder?.statuses?.isCatalyst || false\n this.isInDefect = worksOrder?.asset?.isInDefect || false\n this.isPotentialDuplicate = worksOrder?.statuses?.isPotentialDuplicate || false\n if(worksOrder?.customer?.vulnerability?.isVulnerable===false)\n {\n this.isVulnerable=false;\n }\n else\n {\n this.isVulnerable = worksOrder?.customer?.vulnerability?.isVulnerable || null\n } \n //this.isVulnerable = worksOrder?.customer?.Vulnerability?.IsVulnerable || false\n this.VulnerableResponseText = worksOrder?.customer?.vulnerability?.vulnerableResponseText || null\n\n const appointmentStartDate =\n worksOrder?.appointments && worksOrder.appointments.length > 0\n ? worksOrder.appointments[0].appointmentStartDate\n : undefined\n this.appointmentStartDate = appointmentStartDate\n\n const appointmentEndDate =\n worksOrder?.appointments && worksOrder.appointments.length > 0\n ? worksOrder.appointments[0].appointmentEndDate\n : undefined\n this.appointmentEndDate = appointmentEndDate\n\n this.appointmentDates = this.appointmentDates = {\n appointmentStartDate,\n appointmentEndDate,\n }\n this.lastAppointmentCreatedDate = worksOrder?.appointments && worksOrder.appointments.length > 0\n ? worksOrder.appointments[0].createdDate\n : undefined \n\n this.completedDate = worksOrder?.completedDate\n this.description = worksOrder?.job?.description || ''\n this.repairReason = worksOrder?.job?.repairReason || ''\n this.additionalInformation = worksOrder?.job?.additionalInformation || ''\n this.jobNo = worksOrder?.identifiers?.jobNumber || ''\n this.chargeCustomer = worksOrder?.customer?.person?.chargeCustomer || false\n this.repairCause = worksOrder?.job?.cause ? worksOrder.job.cause.cause : ''\n this.repairCauseId = worksOrder?.job?.cause ? worksOrder?.job.cause.causeId : undefined\n this.riskToHumanLife = worksOrder?.statuses?.isRiskToHumanLife || undefined\n this.crimeReferenceNumber = worksOrder?.identifiers?.crimeReferenceNumber || ''\n this.reportedById = worksOrder?.reporter?.reporterRelationship?.reportedById || undefined\n this.reportedBy = worksOrder?.reporter?.reporterRelationship?.reportedBy || ''\n this.notifyAll = worksOrder?.customer?.notification?.notifyAll || false\n this.documents.documentIdentifiers =\n worksOrder?.identifiers?.documents?.documentIdentifiers || [];\n this.staffContactEmails = this.getStaffContactEmailsFromDigitalAddress(\n worksOrder?.customer?.notification?.address?.digitalAddresses || []\n )\n this.currentStep = worksOrder ? this.calculateCurrentStep(worksOrder) : new CurrentStep()\n this.completedStep = worksOrder ? this.calculateCompletedStep(worksOrder) : new CompletedStep()\n this.reportingMethodId = worksOrder?.reporter?.reportingMethod?.reportingMethodId || 1\n this.reportingMethod = worksOrder?.reporter?.reportingMethod?.reportingMethod || ''\n this.eTag = worksOrder?.eTag || ''\n this.channel = worksOrder?.channel || ''\n this.reporterToBeContacted =\n worksOrder?.reporter?.reporterToBeContacted === true ? true : false\n this.reporterContactDetails = worksOrder?.reporter?.reporterToBeContacted\n ? {\n name: new CustomerName({\n title: null,\n givenName: `${worksOrder?.reporter?.person?.name?.givenName || ''} ${worksOrder?.reporter?.person\n ?.name?.surname}`,\n surname: null,\n }),\n contactNumber: worksOrder?.reporter?.addresses?.telecomsAddresses?.[0].number || '',\n organisation: worksOrder?.reporter?.organisation || '',\n reporterToBeContacted: worksOrder?.reporter?.reporterToBeContacted,\n }\n : null\n\n //this.notes = []\n this.customerName = new CustomerName({\n title: worksOrder?.customer?.person?.name?.title || '',\n givenName: worksOrder?.customer?.person?.name?.givenName || '',\n surname: worksOrder?.customer?.person?.name?.surname || '',\n })\n this.premisesUniqueReference = worksOrder?.identifiers?.asset.premisesUniqueReference || ''\n this.sorCode = worksOrder?.job?.sorCode || ''\n this.raisedBy = worksOrder?.raisedBy || new RaisedBy()\n this.staffContactDigitalAddresses =\n worksOrder?.customer?.notification?.address?.digitalAddresses || []\n this.worksOrderIdentifier = worksOrder?.identifiers?.worksOrderIdentifier || ''\n this.customerIdentifier= worksOrder?.identifiers?.customerIdentifier || ''\n this.isRecall = worksOrder?.statuses?.isRecall || undefined\n this.eligibilityOutcomes = worksOrder?.eligibilityOutcomes ?? []\n this.assetIdentifier = worksOrder?.identifiers?.asset.assetIdentifier || ''\n this.documents.documentIdentifiers =\n worksOrder?.identifiers?.documents?.documentIdentifiers || [];\n}\n\n\n public getStaffContactEmailsFromDigitalAddress = (digitalAddressEmails: DigitalAddress[]) => {\n const staffContactEmails: string[] = digitalAddressEmails.map(address => {\n return address.address || ''\n })\n return staffContactEmails\n }\n\n public retrievePriority = (statuses?: Statuses | null) => {\n if (statuses) {\n const { isEmergency, isOutOfHours, isRecall } = statuses\n // if (isRecall && recallRepairsAndGasRecallButtonEnabled()) {\n // return 'Next Available (Recall)'\n // }\n if (!isEmergency) {\n return 'Next Available'\n }\n if (isEmergency && !isOutOfHours) {\n return 'Emergency'\n }\n if (isEmergency && isOutOfHours) {\n return 'Emergency (Out of hours)'\n }\n }\n return ''\n }\n\n public calculateCompletedAndCurrentStep = (\n worksOrder: WorksOrder\n ): { currentStep: CurrentStep; completedStep: CompletedStep } => {\n if (\n worksOrder.statuses?.status !== 'Unappointed' &&\n worksOrder.statuses?.status !== 'In Diagnosis'\n ) {\n return {\n completedStep: { value: 5, key: '', displayName: '', legacyKeys: [] },\n currentStep: { value: 5, key: '', displayName: '', legacyKeys: [] },\n }\n }\n if (worksOrder.identifiers?.jobNumber) {\n return {\n completedStep: { value: 4, key: '', displayName: '', legacyKeys: [] },\n currentStep: { value: 5, key: '', displayName: '', legacyKeys: [] },\n }\n }\n if (worksOrder?.reporter && worksOrder.reporter.reportingMethod.reportingMethodId !== null) {\n return {\n completedStep: { value: 3, key: '', displayName: '', legacyKeys: [] },\n currentStep: { value: 4, key: '', displayName: '', legacyKeys: [] },\n }\n }\n if (\n worksOrder.customer?.person?.chargeCustomer !== null &&\n worksOrder.customer?.person?.chargeCustomer !== undefined\n ) {\n return {\n completedStep: { value: 2, key: '', displayName: '', legacyKeys: [] },\n currentStep: { value: 3, key: '', displayName: '', legacyKeys: [] },\n }\n }\n return {\n completedStep: { value: 1, key: '', displayName: '', legacyKeys: [] },\n currentStep: { value: 2, key: '', displayName: '', legacyKeys: [] },\n }\n }\n\n public calculateCurrentStep = (worksOrder: WorksOrder) => {\n const steps = this.calculateCompletedAndCurrentStep(worksOrder)\n return steps.currentStep\n }\n\n public calculateCompletedStep = (worksOrder: WorksOrder) => {\n const steps = this.calculateCompletedAndCurrentStep(worksOrder)\n return steps.completedStep\n }\n}\n\nexport type OriginalRepair = {\n identifier?: string\n jobId?: string\n sorCode?: string\n}\n\nexport type RepairEndPoint = {\n id: string\n premisesId: string\n} & T\n\nexport type RepairNote = {\n text: string\n noteTypeId: number\n noteType: string\n}\n\nexport type RepairNotePayload = {\n text: string\n noteTypeId: number\n}\n\nexport type RepairHistory = {\n type?: string\n identifier?: string\n statusTitle?: string\n comments?: string\n createdBy?: string\n createDateTime?: string\n}\n\nexport enum RepairStatusText {\n Unappointed = 'Unappointed',\n Appointed = 'Appointed',\n InProgress = 'In progress',\n InDiagnosis = 'In Diagnosis',\n Completed = 'Completed',\n Closed = 'Closed',\n Cancelled = 'Cancelled', \n ReportedToEMA = 'Reported to EMA',\n}\n\nexport enum RepairReporterId {\n Customer = 1,\n \"Friend or Family\" = 2,\n MemberOfStaff = 3,\n SupportWorker = 4,\n Other = 5,\n}\n\nexport enum RepairStatusField {\n Unknown=\"Unknown\",\n InDiagnosis = 'In Diagnosis',\n Unappointed = 'Unappointed',\n Appointed = 'Appointed',\n InProgress = 'In Progress',\n Completed = 'Completed',\n Cancelled = 'Cancelled', \n OnHold=\"On Hold\",\n PendingApproval = 'Pending Approval',\n ReportedToEMA = 'Reported to EMA',\n Assignedcontractor='Assigned to contractor',\n CatalystTier2Triage= 'Catalyst Tier 2 Triage',\n CatalystEMATriage= 'Catalyst Managing Agent Triage', \n CatalystDefectTriage= 'Catalyst Defect Triage', \n RepairStatusFieldCatalyst= 'Passed to Peabody'\n}\nexport enum AssetRegion {\n hub =\"HUB\",\n hub1 = 'HUB1-REP',\n hub2 = 'HUB2-REP',\n hub3 = 'HUB3-REP',\n hub4 = 'HUB4-REP',\n}\n\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"mediaHeader\":\"styles_mediaHeader__2RXql\",\"mediaHeaderName\":\"styles_mediaHeaderName__1GOhq\",\"mediaRowContainer\":\"styles_mediaRowContainer__16xj0\",\"progressBar\":\"styles_progressBar__2tPEG\",\"mediaName\":\"styles_mediaName__2YctU\",\"deleteButtonContainer\":\"styles_deleteButtonContainer__hrGfJ\",\"deleteButton\":\"styles_deleteButton__1dLKF\",\"form-file-upload\":\"styles_form-file-upload__2FmmM\",\"label-file-upload\":\"styles_label-file-upload__3GQBe\",\"label-file-upload-drag-active\":\"styles_label-file-upload-drag-active__ih-pT\",\"upload-button\":\"styles_upload-button__3hsqD\",\"drag-file-element\":\"styles_drag-file-element__17Ze8\",\"disabled\":\"styles_disabled__2j0Fd\",\"deleteBtn\":\"styles_deleteBtn__3XOPW\",\"hideMobViewText\":\"styles_hideMobViewText__MBa3P\",\"test\":\"styles_test__3Zj_M\",\"strongHeader\":\"styles_strongHeader__10SMX\",\"sizeStyle\":\"styles_sizeStyle__2jG2y\",\"mediaSize\":\"styles_mediaSize__328HH\",\"mediaSizeDevice\":\"styles_mediaSizeDevice__1gf7p\",\"mediaAction\":\"styles_mediaAction__2oDHr\",\"thumbnail\":\"styles_thumbnail__3qGfW\",\"imgName\":\"styles_imgName__3u6dM\",\"thumbnailImgName\":\"styles_thumbnailImgName__1yfkl\",\"tableHeaderSize\":\"styles_tableHeaderSize__1RfkU\",\"tableRowColor\":\"styles_tableRowColor__3mmOD\",\"uploadMediaNo\":\"styles_uploadMediaNo__15hzJ\"};","import * as api from '../../../api/index'\nimport {\n REPAIR_PRIORITY,\n USERCHOSEN_PROPERTY_ID,\n USERCHOSEN_REPORTER_ID,\n USERCHOSEN_PROPERTY_TYPE,\n USERCHOSEN_PROPERTY_ADDRESS,\n USERCHOSEN_REPAIR_LOCATION,\n USERCHOSEN_HIGH_LEVEL_DESCRIPTION,\n USERCHOSEN_SUPPLEMENTARY_QUESTIONS,\n USERCHOSEN_EMERGENCY_QUESTION,\n USERCHOSEN_DUPLICATE_QUESTION,\n USERCHOSEN_ADDITIONAL_DESCRIPTION,\n USERCHOSEN_ADDITIONAL_DESCRIPTION_COUNT,\n USERCHOSEN_VANDALISM_QUESTION,\n USERCHOSEN_COVID_QUESTION,\n USERCHOSEN_VULNERABILITY_QUESTION,\n USERCHOSEN_VULNERABILITY_ADDITIONAL_INFORMATION,\n USERCHOSEN_CONTACT_DETAILS,\n USERCHOSEN_UPRN,\n USERCHOSEN_SOR,\n USERCHOSEN_STATUS,\n USERCHOSEN_VANDALISM_ADDITIONAL_INFORMATION,\n USERCHOSEN_CONTACT_NAME,\n USERCHOSEN_CONTACT_PHONE,\n USERCHOSEN_RELATION_DETAILS,\n USERCHOSEN_REPAIR_LOCATION_ID,\n LOGIN_STATUS,\n USERCHOSEN_ELIGIBILITY_ERRORCODE,\n LOGIN_TIME,\n REFRESH_TOKEN,\n REFRESS_TOKEN_EXPIRE_TIME,\n ACCESS_TOKEN_EXPIRE_TIME,\n INITIAL_LOGIN_TIME,\n UPDATE_PREV_CONFIRMED_STATE,\n UPDATE_ROUTE_HISTORY,\n UPDATE_USER_CHOICES_WITH_NEW_CHANGE,\n Is_Edit_State,\n USERCHOSEN_BANLANCE_TYPE,\n USERCHOSEN_ACCOUNT_NUMBER,\n USERCHOSEN_BALANCE,\n USERCHOSEN_ACCOUNT_Type,\n USERCHOSEN_Other_BALANCE,\n USER_PROFILE_ETAG,\n USER_PROFILE_DATA,\n Allpay_Conformation_Message,\n USERCHOSEN_ERROR_CODE,\n USERCHOSEN_ISELIGIBLE,\n RESUME_DRAFT_REPAIR,\n USER_REPAIR_WORKORDER,\n USER_RESUME_DATA,\n USER_RESUME_DRAFT_DATA_CACHE,\n USERCHOSEN_ISREPORTER,\n USERCHOSEN_ISERROR,\n VIEW_STATEMENT_DATA,\n USERCHOSEN_ACCOUNT_Identifier,\n IS_CATALYST_REPAIR_DISABLED_AREA,\n CLEAR_ALL_STATE,\n USERCHOSEN_UPLOADED_MEDIA,\n MY_MESSAGE_DATA,\n USERCHOSEN_RESUME_REPAIR,\n LOAD_DUPLICATE_REPAIR_PAGE,\n USER_CREATED_NEW_REPAIR,\n UPLOADED_MEDIA_ITEMS,\n DELETE_MEDIA_ITEM,\n CLEAR_MEDIA_FILES,\n USERCHOSEN_DELETE_MEDIA,\n HAS_MEDIA_ATTACHED,\n FROM_MEDIA_PAGE,\n SELECTED_HISTORY_MEDIA,\n MEDIA_RESUME,\n ENERGY_ADVICE_MAX_COUNT,\n CASES_USERCHOSEN_PROPERTY_ID,\n ASSET_REGION,\n ASSET_IDENTIFIERS,\n IS_CATALYST_CUSTOMER,\n IS_WORKORDER_TOGGLE,\n IS_EDIT_PROFILE_TOGGLE,\n TAB_SELECTED_VALUE,\n SHOW_MENU_TAB,\n NAV_HEADER_TEXT,\n BLOCK_IDENTIFIER,\n USER_SELECTED_MESSAGE_DETAILS,\n USER_SELECTED_MESSAGE_SUBJECT,\n USER_SELECTED_MESSAGE_DATE,\n USER_SELECTED_MESSAGE_SENDER,\n USER_SELECTED_MESSAGE_NOTIFICATION_TYPE,\n USER_SELECTED_MESSAGE_DOCUMENT_IDENTIFIER,\n SINGLE_TENANCY,\n SHOW_FOOTER,\n NAVIGATED_FROM,\n USER_SELECTED_MESSAGE_STATUS,\n IS_CASE_CATALYST_TOGGLE,\n BOROUGH_NAME,\n USER_SELECTED_TENANCY_GROUP,\n IS_ON_HOLD_REPAIR,\n DEMOBILIZED_CONTRACTOR_SITES,\n IS_MYPB_REPAIRS_MAINTENANCE_VALUE,\n USER_GET_REPAIR_DATA,\n IS_WO_ALERT_MESSAGE,\n CHECK_ENHANCED_REPAIR_ELIGIBILITY_MYPEABODY,\n} from \"../actionTypes\";\n\nexport const clearAllState = (payload:any)=> ({\n type: CLEAR_ALL_STATE,\n payload,\n})\n\nexport const catalystEditProfileToggleValue = (payload: any) => ({\n type: IS_EDIT_PROFILE_TOGGLE,\n payload,\n});\n\nexport const catalystWorkOrderToggleValue = (payload: any) => ({\n type: IS_WORKORDER_TOGGLE,\n payload,\n});\n\nexport const validateCatalystCustomer = (payload: any) => ({\n type: IS_CATALYST_CUSTOMER,\n payload,\n});\n\nexport const validateCaseCatalystToggle = (payload: any) => ({\n type: IS_CASE_CATALYST_TOGGLE,\n payload,\n});\n\nexport const validateCatalystDisabledArea = (payload: any) => ({\n type: IS_CATALYST_REPAIR_DISABLED_AREA,\n payload,\n});\n\nexport const userChosenPropertyId = (payload: any) => ({\n type: USERCHOSEN_PROPERTY_ID,\n payload,\n});\n\nexport const userChosenPropertyType = (payload: any) => ({\n type: USERCHOSEN_PROPERTY_TYPE,\n payload,\n});\n\nexport const userChosenPropertyAddress = (payload: any) => ({\n type: USERCHOSEN_PROPERTY_ADDRESS,\n payload,\n});\n\nexport const userChosenRepairLocation = (payload: any) => ({\n type: USERCHOSEN_REPAIR_LOCATION,\n payload,\n});\n\nexport const userChosenHighLevelDescription = (payload: any) => ({\n type: USERCHOSEN_HIGH_LEVEL_DESCRIPTION,\n payload,\n});\n\nexport const userChosenSupplementaryQuestions = (payload: any) => ({\n type: USERCHOSEN_SUPPLEMENTARY_QUESTIONS,\n payload,\n});\n\nexport const userChosenEmergencyQuestion = (payload: any) => ({\n type: USERCHOSEN_EMERGENCY_QUESTION,\n payload,\n});\n\nexport const userChosenDuplicateQuestion = (payload: any) => ({\n type: USERCHOSEN_DUPLICATE_QUESTION,\n payload,\n});\n\nexport const userChosenAdditionalDescription = (payload: any) => ({\n type: USERCHOSEN_ADDITIONAL_DESCRIPTION,\n payload,\n});\n\nexport const userChosenAdditionalDescriptionCOUNT = (payload: any) => ({\n type: USERCHOSEN_ADDITIONAL_DESCRIPTION_COUNT,\n payload,\n});\n\nexport const userChosenVandalismQuestion = (payload: any) => ({\n type: USERCHOSEN_VANDALISM_QUESTION,\n payload,\n});\nexport const userChosenVandalismAdditionalInformation = (payload: any) => ({\n type: USERCHOSEN_VANDALISM_ADDITIONAL_INFORMATION,\n payload,\n});\nexport const userChosenCovidQuestion = (payload: any) => ({\n type: USERCHOSEN_COVID_QUESTION,\n payload,\n});\n\nexport const userChosenVulnerabilityQuestion = (payload: any) => ({\n type: USERCHOSEN_VULNERABILITY_QUESTION,\n payload,\n});\n\nexport const userChosenVulnerabilityAdditionalInformation = (payload: any) => ({\n type: USERCHOSEN_VULNERABILITY_ADDITIONAL_INFORMATION,\n payload,\n});\n\nexport const userChosenReporterId = (payload: any) => ({\n type: USERCHOSEN_REPORTER_ID,\n payload,\n});\n\nexport const userChosenContactDetails = (payload: any) => ({\n type: USERCHOSEN_CONTACT_DETAILS,\n payload,\n});\n\nexport const userChosenContactName = (payload: any) => ({\n type: USERCHOSEN_CONTACT_NAME,\n payload,\n});\n\nexport const userChosenContactPhone = (payload: any) => ({\n type: USERCHOSEN_CONTACT_PHONE,\n payload,\n});\n\nexport const userChosenRelationDetails = (payload: any) => ({\n type: USERCHOSEN_RELATION_DETAILS,\n payload,\n});\n\nexport const userChosenUPRN = (payload: any) => ({\n type: USERCHOSEN_UPRN,\n payload,\n});\n\nexport const userChosenSOR = (payload: any) => ({\n type: USERCHOSEN_SOR,\n payload,\n});\n\nexport const userChosenSTATUS = (payload: any) => ({\n type: USERCHOSEN_STATUS,\n payload,\n});\n\nexport const userChosenEligibilityErrorCode = (payload: any) => ({\n type: USERCHOSEN_ELIGIBILITY_ERRORCODE,\n payload,\n});\n\nexport const userChosenRepairLocationId = (payload: any) => ({\n type: USERCHOSEN_REPAIR_LOCATION_ID,\n payload,\n});\nexport const loginTime = (payload: any) => ({\n type: LOGIN_TIME,\n payload,\n});\nexport const initialLoginTime = (payload: any) => ({\n type: INITIAL_LOGIN_TIME,\n payload,\n});\nexport const refershToken = (payload: any) => ({\n type: REFRESH_TOKEN,\n payload,\n});\nexport const loginStatus = (payload: any) => ({\n type: LOGIN_STATUS,\n payload,\n});\n\nexport const accessTokenExpirationTime = (payload: any) => ({\n type: ACCESS_TOKEN_EXPIRE_TIME,\n payload,\n});\nexport const refreshTokenExpirationTime = (payload: any) => ({\n type: REFRESS_TOKEN_EXPIRE_TIME,\n payload,\n});\n\nexport const updatePrevConfirmedState = (payload: any) => ({\n type: UPDATE_PREV_CONFIRMED_STATE,\n payload,\n});\n\nexport const isEditState = (payload: any) => ({\n type: Is_Edit_State,\n payload,\n});\n\nexport const updateRouteHistory = (payload: any) => ({\n type: UPDATE_ROUTE_HISTORY,\n payload,\n});\n\nexport const resetUserChoicesWithNewChange = (payload: any) => ({\n type: UPDATE_USER_CHOICES_WITH_NEW_CHANGE,\n payload,\n});\n\nexport const userChosenBalanceType = (payload: any) => ({\n type: USERCHOSEN_BANLANCE_TYPE,\n payload,\n});\nexport const userChosenAccountNumber = (payload: any) => ({\n type: USERCHOSEN_ACCOUNT_NUMBER,\n payload,\n});\nexport const userChosenAccountType = (payload: any) => ({\n type: USERCHOSEN_ACCOUNT_Type,\n payload,\n});\nexport const userChosenBalance = (payload: any) => ({\n type: USERCHOSEN_BALANCE,\n payload,\n});\nexport const userChosenOtherBalance = (payload: any) => ({\n type: USERCHOSEN_Other_BALANCE,\n payload,\n});\nexport const userProfileETag = (payload: any) => ({\n type: USER_PROFILE_ETAG,\n payload,\n});\nexport const userProfileData = (payload: any) => ({\n type: USER_PROFILE_DATA,\n payload,\n});\nexport const AllpayConformationMessage = (payload: any) => ({\n type: Allpay_Conformation_Message,\n payload,\n});\nexport const userChosenErrorCode = (payload: any) => ({\n type: USERCHOSEN_ERROR_CODE,\n payload,\n});\nexport const userChosenIseligible = (payload: any) => ({\n type: USERCHOSEN_ISELIGIBLE,\n payload,\n});\nexport const resumeDraftRepair = (payload: any) => ({\n type: RESUME_DRAFT_REPAIR,\n payload,\n});\nexport const userRepairWorkOrder = (payload: any) => ({\n type: USER_REPAIR_WORKORDER,\n payload,\n});\nexport const userResumeData = (payload: any) => ({\n type: USER_RESUME_DATA,\n payload,\n});\nexport const userResumeDraftDataCache = (payload: any) => ({\n type: USER_RESUME_DRAFT_DATA_CACHE,\n payload,\n});\nexport const userChosenIsReporter = (payload: any) => ({\n type: USERCHOSEN_ISREPORTER,\n payload,\n});\nexport const userChosenIsError = (payload: any) => ({\n type: USERCHOSEN_ISERROR,\n payload,\n});\n\nexport const userChosenResumeRepair = (payload: any) => ({\n type: USERCHOSEN_RESUME_REPAIR,\n payload,\n});\nexport const loadDuplicateRepairPage = (payload: any) => ({\n type: LOAD_DUPLICATE_REPAIR_PAGE,\n payload,\n});\nexport const userCreatedNewRepair = (payload: any) => ({\n type: USER_CREATED_NEW_REPAIR,\n payload,\n});\n\nexport const viewStatementData = (payload: any) => ({\n type: VIEW_STATEMENT_DATA,\n payload,\n});\nexport const userChosenAccountIdentifier = (payload: any) => ({\n type: USERCHOSEN_ACCOUNT_Identifier,\n payload,\n});\nexport const userChosenUploadedMedia = (payload: any) => ({\n type: USERCHOSEN_UPLOADED_MEDIA,\n payload,\n});\nexport const myMessageData = (payload: any) => ({\n type: MY_MESSAGE_DATA,\n payload,\n});\n\nexport const getAllAssetIdentifiers = (payload: any) => ({\n type: ASSET_IDENTIFIERS,\n payload\n});\n\nexport const storeMediaFilesId = (payload: any) => ({\n type: UPLOADED_MEDIA_ITEMS,\n payload,\n});\n\nexport const deleteMediaItem = (payload: any) => ({\n type: DELETE_MEDIA_ITEM,\n payload,\n});\n\nexport const clearMediaFiles = (payload: any) => ({\n type: CLEAR_MEDIA_FILES,\n payload,\n});\n\nexport const isMediaResume = (payload: any) => ({\n type: MEDIA_RESUME,\n payload,\n});\n\nexport const userChosenDeletedMedia = (payload: any) => ({\n type: USERCHOSEN_DELETE_MEDIA,\n payload,\n});\n\nexport const selectedWorkorderForMedia = (payload: any) => ({\n type: SELECTED_HISTORY_MEDIA,\n payload,\n});\n\nexport const fromMediaUpload = (payload: any) => ({\n type: FROM_MEDIA_PAGE,\n payload,\n});\nexport const hasMediaAttached = (payload: any) => ({\n type: HAS_MEDIA_ATTACHED,\n payload,\n});\nexport const casesUserChosenPropertyId = (payload: any) => ({\n type: CASES_USERCHOSEN_PROPERTY_ID,\n payload,\n});\nexport const assetRegion = (payload: any) => ({\n type: ASSET_REGION,\n payload,\n});\n\nexport const boroughName = (payload: any) => ({\n type: BOROUGH_NAME,\n payload,\n});\n\nexport const selectedTabValue = (payload: any) => ({\n type: TAB_SELECTED_VALUE,\n payload,\n});\n\nexport const showMenuTabs = (payload: any) => ({\n type: SHOW_MENU_TAB,\n payload,\n});\n\nexport const showFooter = (payload: any) => ({\n type: SHOW_FOOTER,\n payload\n})\n\nexport const singleTenancy = (payload: any) => ({\n type: SINGLE_TENANCY,\n payload,\n});\n\nexport const setNavHeaderText = (payload: any) => ({\n type: NAV_HEADER_TEXT,\n payload\n});\n\nexport const getBlockIdentifier = (payload:any) => ({\n type: BLOCK_IDENTIFIER,\n payload\n});\n\nexport const setUserSelectedMessageDetails = (payload:any) => ({\n type: USER_SELECTED_MESSAGE_DETAILS,\n payload\n});\n\nexport const setUserSelectedMessageSubject = (payload:any) => ({\n type: USER_SELECTED_MESSAGE_SUBJECT,\n payload\n});\n\nexport const setUserSelectedMessageDate = (payload:any) => ({\n type: USER_SELECTED_MESSAGE_DATE,\n payload\n});\n\nexport const setUserSelectedMessageSender = (payload:any) => ({\n type:USER_SELECTED_MESSAGE_SENDER,\n payload\n});\n\nexport const setUserSelectedMessageNotificationType = (payload:any) => ({\n type:USER_SELECTED_MESSAGE_NOTIFICATION_TYPE,\n payload\n});\n\nexport const setUserSelectedMessageDocumentIdentifier = (payload:any) => ({\n type: USER_SELECTED_MESSAGE_DOCUMENT_IDENTIFIER,\n payload\n});\n\nexport const setUserSelectedMessageStatus = (payload:any) => ({\n type: USER_SELECTED_MESSAGE_STATUS,\n payload\n});\n\n\nexport const userNavigatedFrom = (payload:any) => ({\n type: NAVIGATED_FROM,\n payload\n});\n\nexport const isOnHoldRepair = (payload: boolean) => ({\n type: IS_ON_HOLD_REPAIR,\n payload\n});\nexport const demobilizedContractorSites = (payload: any): any => {\n return { type: DEMOBILIZED_CONTRACTOR_SITES, payload };\n};\n\nexport const selectedTenancyGroup = (payload:any) => ({\n type: USER_SELECTED_TENANCY_GROUP,\n payload\n});\n\nexport const isMyPbRepairsMaintainence = (payload: any): any => {\n return { type: IS_MYPB_REPAIRS_MAINTENANCE_VALUE, payload };\n};\nexport const repairPriorityValue = (payload: any): any => {\n return { type: REPAIR_PRIORITY, payload };\n};\n\nexport const userGetRepairData = (payload: any) => ({\n type: USER_GET_REPAIR_DATA,\n payload,\n});\n\n\nexport const setWorkOrderApiFailureMessage = (data:boolean):any => {\n return {type:IS_WO_ALERT_MESSAGE, payload:data}\n};\n\n\nexport const checkEnhancedRepairEligibilityMyPeabody = (payload: any) => ({\n type: CHECK_ENHANCED_REPAIR_ELIGIBILITY_MYPEABODY,\n payload,\n});\n\nexport const requestCustomStatement = (customerID: string, requestData: object, eTag: string, otherData: any) => {\n return (dispatch: any) => {\n (async () => {\n await api.postRequestCustomStatement(customerID, requestData, eTag)\n .then((response) => {\n otherData.setYellowAlertMessage('');\n otherData.setPurpleAlertMessage('SSC010');\n\n setTimeout(() => {\n otherData.setFromDate('');\n otherData.setToDate('');\n otherData.setRadioValue('');\n otherData.setOtherEmailVal('');\n otherData.setShowOtherEmail(false);\n otherData.setYellowAlertMessage('');\n otherData.setPurpleAlertMessage('');\n otherData.setIsOpen(false);\n }, 5000);\n })\n .catch(e => {\n otherData.setPurpleAlertMessage('');\n otherData.setYellowAlertMessage('VS_Failure_To_Retrieve_Statement');\n setTimeout(() => {\n otherData.setYellowAlertMessage('');\n }, 4000);\n })\n })()\n }\n};\n\n\nexport const fetchChosenStatement = (data: any) => {\n return () => {\n (async () => {\n data.setYellowAlertMessage('');\n data.setIsLoading(true);\n let documentPDFTitle = `Statement ${data.MonthYear}`;\n const documentResponse = await api.getDocumentByIdentifier(data.customerID, data.documentID);\n if (!documentResponse.data) {\n data.setIsLoading(false);\n data.setYellowAlertMessage(`VS_Failure_To_Retrieve_Statement`);\n return\n } else {\n data.setYellowAlertMessage('');\n data.setIsLoading(false);\n const file = new Blob([documentResponse.data], { type: 'application/pdf' });\n const fileURL = URL.createObjectURL(file);\n const newWindow: any = window.open(fileURL, \"_blank\");\n\n if (newWindow?.document) {\n setTimeout(() => newWindow.document.title = documentPDFTitle, 1000);\n }\n }\n })()\n }\n}\n","import React from \"react\";\n\nconst Button = (props: any) => (\n \n {props.children}\n \n);\n\nexport default Button;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"contentDiv\":\"DashBoard_contentDiv__3oFPM\"};","export const isUndefinedNullOrEmpty = (value: string): boolean => {\n if (hasScriptTag(value)) {\n return true;\n }\n \n if (typeof value === 'undefined' || value === null) {\n return true;\n } else if (value === '') {\n return true;\n } else if (!value) {\n return true;\n }\n return false;\n };\n\n export const hasScriptTag = (value: string): boolean => {\n if (hasTag(value)) {\n return true;\n }\n const html = document.createElement('html');\n html.innerHTML = value?.toString()?.toLowerCase();\n return Boolean(html.getElementsByTagName('script').length);\n };\n\n const hasTag = (value: any): boolean => {\n return (\n (value && value?.toString()?.includes('<')) ||\n value?.toString()?.includes('>') ||\n value?.toString()?.includes(';') ||\n value?.toString()?.includes('<') ||\n value?.toString()?.toLowerCase()?.includes('<') ||\n value?.toString()?.toLowerCase()?.includes('<') ||\n value?.toString()?.toLowerCase()?.includes('u+00c') ||\n value?.toString()?.toLowerCase()?.includes('0x3c') ||\n value?.toString()?.toLowerCase()?.includes('0x003c') ||\n value?.toString()?.toLowerCase()?.includes('script') ||\n value?.toString()?.toLowerCase()?.includes('alert')\n );\n };","export enum NotesType {\n CCIM_NOTE = 1,\n CHASE_NOTE = 2,\n CONTRACTOR_NOTE = 3,\n OTHER_NOTE = 4,\n}\n","export enum NotesTypeText {\n CCIM_NOTE = 'CCIM',\n CHASE_NOTE = 'Chase',\n CONTRACTOR_NOTE = 'Contractor',\n OTHER_NOTE = 'Other',\n}\n","export interface NameDetails {\n title?: string | null\n givenName?: string | null\n surname?: string | null\n}\n\nexport default class CustomerName {\n public title: string | null = ''\n public givenName: string | null = ''\n public surname: string | null = ''\n\n constructor(args?: NameDetails | null) {\n if (args) {\n const { title = '', givenName = '', surname = '' } = args\n this.title = title\n this.givenName = givenName\n this.surname = surname\n }\n }\n\n public getFullName(): string {\n return this.renderWithoutNullValues([this.title, this.givenName, this.surname])\n }\n public isEmpty() {\n return !this.title && !this.givenName && !this.surname\n }\n\n public getWithoutTitle(): string {\n return this.renderWithoutNullValues([this.givenName, this.surname])\n }\n\n private renderWithoutNullValues(fields: Array): string {\n return fields.filter(x => x !== null).join(' ')\n }\n}\n","import DigitalAddress from './DigitalAddress'\nimport PostalAddress from './PostalAddress'\nimport TelecomsAddress from './TelecomsAddress'\n\nexport default class CustomerAddresses {\n public telecomsAddresses: TelecomsAddress[] = []\n public postalAddresses: PostalAddress[] = []\n public digitalAddresses: DigitalAddress[] = []\n}\n","import CustomerName from './CustomerName'\nimport Language from './Language'\n\nexport default class Person {\n public name: CustomerName = new CustomerName()\n public dateOfBirth: string | null = ''\n public gender: string | null = ''\n public languages: Language[] = []\n}\n","import { Link } from '../shared'\nimport CustomerAddresses from '../shared/Address/CustomerAddresses'\nimport AssistanceRequirement from './AssistanceRequirement'\nimport Person from './Person'\nimport Preference from './Preference'\nimport Status from './Status'\nimport TenancySummary from './TenancySummary'\n\nexport default class CustomerResponse {\n public 'customer-identifier': string = ''\n public eTag: string = ''\n public person: Person = new Person()\n public preferences: Preference[] = []\n public statuses: Status[] = []\n public assistanceRequirements: AssistanceRequirement[] = []\n public addresses: CustomerAddresses = new CustomerAddresses()\n public tenanciesSummaries: TenancySummary[] = []\n public 'external-identifier' : string = ''\n\n // tslint:disable-next-line: variable-name\n private _links: Link[] = []\n}\n","import { RelatedPremises } from '../Property'\nimport PostalAddress from '../shared/Address/PostalAddress'\nimport Address from './Address'\nimport AssistanceRequirement from './AssistanceRequirement'\nimport CustomerName from './CustomerName'\nimport CustomerResponse from './CustomerResponse'\nimport { CustomerForProperty } from './CustomersForProperty'\nimport { CustomerContactErrors, CustomerErrors } from './Errors'\nimport { NotesType } from './Notes'\nimport { NotesTypeText } from './NotesTypes'\nimport Preference from './Preference'\nimport { FullPremises, PremisesDetails, PremisesType } from './Premises'\nimport TenancySummary from './TenancySummary'\n\nexport default class Customer {\n public id: string = ''\n public eTag: string = ''\n public givenName: string = ''\n public surname: string = ''\n public dateOfBirth: string = ''\n public email: string = ''\n public homePhone: string = ''\n public workPhone: string = ''\n public mobilePhone: string = ''\n}\n\nexport type CustomerContactParams = {\n MobilePhone: string\n WorkPhone: string\n HomePhone: string\n EmailAddress: string\n}\n\nexport type CustomersForPropertyResponse = CustomerForProperty[]\n\nexport {\n Address,\n AssistanceRequirement,\n CustomerContactErrors,\n CustomerErrors,\n CustomerForProperty,\n CustomerName,\n CustomerResponse,\n RelatedPremises,\n FullPremises,\n PostalAddress,\n Preference,\n PremisesDetails,\n PremisesType,\n NotesType,\n NotesTypeText,\n TenancySummary,\n}\n","import i18n from 'i18next'\nimport { initReactI18next } from 'react-i18next'\nimport en from './en.json'\n\nconst resources = {\n en,\n}\n\ni18n.use(initReactI18next).init({\n resources,\n lng: 'en',\n keySeparator: '.',\n interpolation: {\n escapeValue: false,\n },\n})\n\nexport default i18n\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARAAAABBCAMAAAAucQvBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAqUExURQAAAACjrQCjrQCkrgCgrACirQChrQCjrQCirACjrQCjrQCjrQCttwCosi6wuaQAAAALdFJOUwDLm+gHShZ+LrJmRmdwKgAACSdJREFUeNrtW4l22zgMDO8T//+7SxI8wEOyk7rbJjVf+9JapiQOcQwGzMfHezw9lH1jQIcVTL9RGEOzGLn8c+bpf499aq++NlG6GEL0fwwQE4X5DdvhRXRfnJnwCCDsnwMkGejr8YCv3lWLDEh4ONsbOpTSrwMkQFQvxsMGCF8ExBQ80vx7E5Ep0JABQXD1MkDCV637/qbPAiLToAstgEzT6RfW79UBEIOzr3p3YC8GxH0GECUE46bavIK2QoEfWGUcE8w+AKRgKLz8SwHhnwIkWXz6I7itM+vykgtI5UR2iCiuAIEyGoiviIZ/ASABcDWB62QudXUxkTPlQgRqLpcWAhW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1R8QMaqrBsbrYv/l3HpDDDIT9Dh0aj+cu8AHzL0+WTw5CzAAAAAElFTkSuQmCC\"","import {\n QUERY_POSTCODE,\n SAVE_TENANCIES,\n SAVE_ASSOCIATED_ASSETS,\n SAVE_CUSTOMER_TENANCIES,\n SAVE_SELECTED_TENANCICY,\n SAVE_CUSTOMER_ID,\n APP_CONFIG_VALUE,\n SAVE_ASSET_ADDRESS,\n SAVE_IS_ELEGIBILITY_REPAIR,\n SAVE_DEFAULT_ADDRESS,\n WORK_ORDER_REPAIR,\n CUSTOMER_DETAILS,\n SAVE_CUSTOMERS_PHONE_NUMBERS,\n SAVE_CUSTOMERID,\n SAVE_CONTRACTOR_NAME,\n SAVE_MAINTRESP,\n SAVE_REPRESP,\n SAVE_HEATINGCASE,\n SAVE_DETERMINED_CONTRCACTOR_DETAILS,\n SAVE_CONTRCACTOR_PAYLOAD,\n SAVE_AVAILABILITY_RESPONSE,\n SESSION_TIME_OUT_MESSAGE,\n SAVE_REFERENCE_NUMBER,\n SAVE_PREFERENCE_NUMBER,\n APP_CONFIG_COVID_VALUE,\n APP_CONFIG_VANDALISM_VALUE,\n APP_CONFIG_CASE_CARD_VALUE,\n SAVE_ASSET_ID,\n PREVIOUS_PAGE,\n SAVE_SUPPLIMENTARY_CODES\n} from \"../actionTypes\";\n\nexport default function getAddress(address: any): any {\n return { type: QUERY_POSTCODE, address };\n}\n\nexport const saveCustomerTenacies = (customertenancies: any): any => {\n return { type: SAVE_TENANCIES, payload: customertenancies };\n};\n\nexport const saveAssociatedAssests = (associatedAssets: any): any => {\n return { type: SAVE_ASSOCIATED_ASSETS, payload: associatedAssets };\n};\n\nexport const saveAssestAddresses = (assetAddress: any): any => {\n return { type: SAVE_ASSET_ADDRESS, payload: assetAddress };\n};\n\nexport const saveCustomerTenaciesResponse = (\n customerTenaciesResponse: any\n): any => {\n return { type: SAVE_CUSTOMER_TENANCIES, payload: customerTenaciesResponse };\n};\n\nexport const saveAvailabilityResponse = (\n contractorAvailabilityResponse: any\n): any => {\n return { type: SAVE_AVAILABILITY_RESPONSE, payload: contractorAvailabilityResponse };\n};\n\nexport const selectedTenacyType = (selectedTenacyType: any): any => {\n return { type: SAVE_SELECTED_TENANCICY, payload: selectedTenacyType };\n};\n\nexport const saveCustomerId = (customerid: any): any => {\n return { type: SAVE_CUSTOMER_ID, payload: customerid };\n};\n\nexport const appConfigToggle = (toggleValue: any): any => {\n return { type: APP_CONFIG_VALUE, payload: toggleValue };\n};\n\nexport const appConfigCovidToggle = (covidtoggleValue: any): any => {\n return { type: APP_CONFIG_COVID_VALUE, payload: covidtoggleValue };\n};\nexport const appConfigVandalismToggle = (vandalismtoggleValue: any): any => {\n return { type: APP_CONFIG_VANDALISM_VALUE, payload: vandalismtoggleValue };\n};\n\nexport const appConfigCaseCardToggle = (caseCardtoggleValue: any): any => {\n return {type: APP_CONFIG_CASE_CARD_VALUE, payload: caseCardtoggleValue};\n}\n\nexport const saveIsEligibilityRepair = (isEligibilityRepair: any): any => {\n return { type: SAVE_IS_ELEGIBILITY_REPAIR, payload: isEligibilityRepair };\n};\n\nexport const saveDefaultAddress = (defaultaddresss: any): any => {\n return { type: SAVE_DEFAULT_ADDRESS, payload: defaultaddresss };\n};\nexport const workOrderRepairObject = (workOrderRepair: any): any => {\n return { type: WORK_ORDER_REPAIR, payload: workOrderRepair };\n};\n\nexport const saveCustomerDetails = (customerDetails: any): any => {\n return { type: CUSTOMER_DETAILS, payload: customerDetails };\n};\nexport const saveCustomerphoneNumber = (payload: any): any => {\n return { type: SAVE_CUSTOMERS_PHONE_NUMBERS, payload };\n};\n\nexport const getCustomerId = (custmerID: any): any => {\n return { type: SAVE_CUSTOMERID, payload: custmerID };\n};\n\nexport const getContractorName = (contractorname: any): any => {\n return { type: SAVE_CONTRACTOR_NAME, payload: contractorname };\n};\n\nexport const getMaintResp = (maintresp: any): any => {\n return { type: SAVE_MAINTRESP, payload: maintresp };\n};\nexport const getRepairResp = (repairresp: any): any => {\n return { type: SAVE_REPRESP, payload: repairresp };\n};\n\nexport const getHeatingHotWaterCase = (heatinghotwatercase: any): any => {\n return { type: SAVE_HEATINGCASE, payload: heatinghotwatercase };\n};\n\nexport const getDeterminedContractorDetails = (payload: any) => {\n return { type: SAVE_DETERMINED_CONTRCACTOR_DETAILS, payload };\n};\n\nexport const getContractorPayload = (payload: any) => {\n return { type: SAVE_CONTRCACTOR_PAYLOAD, payload };\n};\n\nexport const showSessionTimeOutMessage = (payload: any) => {\n return { type: SESSION_TIME_OUT_MESSAGE, payload };\n};\nexport const getReferenceNumber = (referenceno: any): any => {\n return { type: SAVE_REFERENCE_NUMBER, payload: referenceno };\n};\nexport const getPrefferenceNumber = (preferenceno: any): any => {\n return { type: SAVE_PREFERENCE_NUMBER, payload: preferenceno };\n};\nexport const saveAssetId = (assetid: any): any => {\n return { type: SAVE_ASSET_ID, payload: assetid };\n};\nexport const savePreviousPage = (previousPage: string): any => {\n return { type: PREVIOUS_PAGE, payload: previousPage };\n};\n\nexport const saveSupplimentaryCodes = (supplimentaryCodes: any): any => {\n return { type: SAVE_SUPPLIMENTARY_CODES, payload: supplimentaryCodes };\n};","// TODO move shared types from Customer to shared\nimport Status from '../Customer/Status'\nimport TelecomsAddress from '../shared/Address/TelecomsAddress'\n\nexport class Contractor {\n public id: string = ''\n public name: string = ''\n public statuses: Status[] = []\n public identifiers: {\n sitesIdentifiers: string[]\n parentIdentifier?: string\n } = {\n sitesIdentifiers: [],\n parentIdentifier: '',\n }\n public addresses: {\n telecomsAddresses: TelecomsAddress[]\n } = {\n telecomsAddresses: [],\n }\n}\nexport class ContractorPriority {\n public repairPriority: string = ''\n}\nexport enum CatalistTriageContractorType {\n CATALYST_TRIAGE_DEFECT = 'CATALYST_TRIAGE_DEFECT',\n CATALYST_TRIAGE_TIER2 = 'CATALYST_TRIAGE_TIER2',\n CATALYST_TRIAGE_EMA = 'CATALYST_TRIAGE_EMA',\n CONTRACTORSITE_ON_HOLD = 'CONTRACTORSITE_ON_HOLD'\n}\n","import {COMING_FROM_CASE, REFERRAL_ACCOUNT_BALANCE, CLEAR_REFERRAL_INFO, COMING_FROM_REFERRAL, REFERRAL_ADDITIONAL_DETAILS, REFERRAL_FOR, REFERRAL_INCLUSION_TEAM, REFERRAL_OTHER_DETAILS, REFERRAl_REASON, REASON_RESPONSE, IS_CASE_JOURNEY, IS_REPAIR_JOURNEY, SELECTED_SLOT, IS_TRIAGE_REPAIR } from \"../actionTypes\";\n\nexport const financialReferralFor = (financialReferral: string): any => {\n return { type: REFERRAL_FOR, payload: financialReferral };\n};\n\nexport const FinancialReferralReasonRes = (referralReason:any[]): any => {\n return {type:REFERRAl_REASON, payload:referralReason}\n}\n\nexport const FinancialInclusionTeam = (inclusionTeam:boolean):any => {\n return {type:REFERRAL_INCLUSION_TEAM, payload:inclusionTeam}\n}\n\n\nexport const FinancialOtherDetails = (otherDetails:string):any => {\n return {type:REFERRAL_OTHER_DETAILS, payload:otherDetails}\n}\n\nexport const clearReferralInformation = (data:any):any => {\n return {type: CLEAR_REFERRAL_INFO, payload:data}\n}\n\nexport const comingFromReferralPage = (data:boolean):any => {\n return {type: COMING_FROM_REFERRAL, payload:data}\n}\n\nexport const storeReferralAdditionalDetails = (data:any):any => {\n return {type:REFERRAL_ADDITIONAL_DETAILS, payload:data}\n}\n\nexport const saveReferralAccountBalance = (data:string):any => {\n return {type:REFERRAL_ACCOUNT_BALANCE, payload:data}\n} \n\nexport const saveReasonResponse = (data:any): any => {\n return {type:REASON_RESPONSE, payload:data}\n}\n\nexport const comingFromCasePage = (data:boolean):any => {\n return {type:COMING_FROM_CASE, payload:data}\n}\n\nexport const comingFromCaseJourneySuccess = (data:boolean):any => {\n return {type:IS_CASE_JOURNEY, payload:data}\n}\n\nexport const comingFromRepairJourneySuccess = (data:boolean):any => {\n return {type:IS_REPAIR_JOURNEY, payload:data}\n}\n\nexport const setTriageRepair = (data:boolean):any => {\n return {type:IS_TRIAGE_REPAIR, payload:data}\n}\n\nexport const saveSelectedSlotDate = (payload:any):any => {\n return {type:SELECTED_SLOT, payload}\n}\n\n\n","import React, { useEffect, useState } from \"react\";\nimport \"./index.scss\";\nimport peabody from \"../../assets/img/peabody-logo-teal.png\";\nimport closemenu from \"../../assets/img/close.png\";\nimport { useHistory } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Hotjar from '@hotjar/browser'\nimport { loginStatus, loginTime, selectedTabValue, selectedTenancyGroup, userChosenAdditionalDescription, userChosenContactDetails, userChosenContactName, userChosenContactPhone, userChosenCovidQuestion, userChosenDuplicateQuestion, userChosenEligibilityErrorCode, userChosenHighLevelDescription, userChosenPropertyAddress, userChosenPropertyId, userChosenPropertyType, userChosenRelationDetails, userChosenRepairLocation, userChosenSOR, userChosenSTATUS, userChosenSupplementaryQuestions, userChosenUPRN, userChosenVandalismAdditionalInformation, userChosenVandalismQuestion, userChosenVulnerabilityAdditionalInformation, userChosenVulnerabilityQuestion, userProfileData, demobilizedContractorSites, isMyPbRepairsMaintainence, repairPriorityValue,checkEnhancedRepairEligibilityMyPeabody , userGetRepairData, setWorkOrderApiFailureMessage} from \"../../ducks/redux/actions/userChoices\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport { getCustomerId, saveCustomerDetails, savePreviousPage,saveSupplimentaryCodes,getContractorName } from \"../../ducks/redux/actions/getAddress\";\nimport { useTranslation } from \"react-i18next\";\nimport * as api from \"../../api\";\nimport HomeModal from \"../../compositions/Modal/HomeModal\";\nimport { comingFromRepairJourneySuccess } from \"../../ducks/redux/actions/FinancialReferral\";\nimport {\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n} from \"../../ducks/redux/actionTypes\";\n\ntype HeaderProps = {\n name: string;\n};\nconst b2cLoginUrl: string = process.env.REACT_APP_CSS_B2C_LOGIN_URL || \"\";\nconst siteId = process.env.REACT_APP_SITE_ID;\nconst hotjarVersion = process.env.REACT_APP_HOTJAR_VERSION;\n\n\nconst Header: React.FC = ({ name }) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const history = useHistory();\n const [isVisiableSignIn, setIsVisiableSignIn] = useState(\"block\");\n const [isVisiableSignOut, setIsVisiableSignOut] = useState(\"none\");\n \n \n const [showMenu, setShowMenu] = useState(true);\n \n const [checkboxMenu, setCheckboxMenu] = useState(false)\n \n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n \n const demobilizedContractorSitesCheck = useSelector(\n (state: any) => state?.userChoicesReducer?.demobilizedContractorSites\n );\n \n const isMyPBMaintenance = useSelector(\n (state: any) => state?.userChoicesReducer?.isMyPbRepairsMaintainence\n );\n const checkEnhancedEligibility = useSelector(\n (state: any) => state?.userChoicesReducer?.checkEnhancedRepairEligibilityMyPeabody\n );\n const selectedTab = useSelector(\n (state: any) => state?.userChoicesReducer?.selectedTabValue\n );\n \n const showTabs = useSelector(\n (state: any) => state?.userChoicesReducer?.showMenuTabs\n );\n \n const isCatalyst = useSelector(\n (state: any) => state.userChoicesReducer?.isCatalystCustomer\n );\n const appCaseCardconfigValue = useSelector(\n (state: any) => state?.addresses?.caseCardtoggleValue\n )\n \n const appCaseCardCatalystconfigValue = useSelector(\n (state: any) => state?.userChoicesReducer?.isCaseCatalystToggle\n )\n \n const hotjarScriptCall = async () => {\n const appConfigHotjarToggleValue = await api.GetAppConfigToggleValue(\n \"IsHotjarEnabledSS\"\n );\n if (appConfigHotjarToggleValue.value === \"true\") {\n if (siteId != undefined && hotjarVersion != undefined) {\n const hotJarSiteIdParam = parseInt(siteId);\n const hotjarVersionParam = parseInt(hotjarVersion);\n Hotjar.init(hotJarSiteIdParam, hotjarVersionParam);\n }\n }\n }\n \n const getDemobilizedContractorSites = async () => {\n \n if (isUndefinedNullOrEmpty(demobilizedContractorSitesCheck) || demobilizedContractorSitesCheck.length == 0) {\n try {\n const response = await api.GetAppConfigToggleValue(\n \"demobilizedContractorSites\"\n );\n dispatch(demobilizedContractorSites(response.value.split(\",\")))\n }\n catch (error) {\n console.error(\"Failed to fetch demobilized contractor sites:\", error);\n }\n }\n }\n \n \n const getCheckEnhancedRepairEligibilityMyPeabody = async () => {\n if (\n isUndefinedNullOrEmpty(checkEnhancedEligibility) ||\n checkEnhancedEligibility.length === 0\n ) {\n try {\n const response = await api.GetAppConfigToggleValue(\n \"checkEnhancedRepairEligibilityMyPeabody\"\n );\n const flagValue = response?.value?.toLowerCase() === \"true\";\n dispatch(checkEnhancedRepairEligibilityMyPeabody(flagValue));\n } catch (error) {\n console.error(\n \"Failed to fetch checkEnhancedRepairEligibilityMyPeabody flag\",\n error\n );\n }\n }\n };\n \n const getIsMyPbRepairsMaintenance = async () => {\n if (isUndefinedNullOrEmpty(isMyPBMaintenance) || isMyPBMaintenance.length === 0)\n try {\n const response = await api.GetAppConfigToggleValue(\"isMyPbRepairsMaintainence\");\n \n const isMyPBMaintenanceValue = response?.value?.toLowerCase() === 'true';\n dispatch(isMyPbRepairsMaintainence(isMyPBMaintenanceValue))\n }\n catch (error) {\n console.error(\"Failed to fetch isMyPbRepairsMaintainence:\", error);\n }\n }\n \n \n useEffect(() => {\n if (isUndefinedNullOrEmpty(loggedInStatus)) {\n setIsVisiableSignIn(\"block\");\n setIsVisiableSignOut(\"none\");\n } else {\n \n setIsVisiableSignIn(\"none\");\n setIsVisiableSignOut(\"block\");\n hotjarScriptCall();\n getDemobilizedContractorSites();\n getIsMyPbRepairsMaintenance();\n getCheckEnhancedRepairEligibilityMyPeabody();\n }\n }, [loggedInStatus, showTabs]);\n \n \n \n const RedirectToIDAMLoginPage = () => {\n window.location.href = b2cLoginUrl;\n };\n \n const RedirectToCustomer360View = () => {\n setMenu();\n history.push(\"/customer360View\");\n dispatch(selectedTabValue(\"home\"))\n }\n \n const RedirectToViewBalance = () => {\n setMenu();\n history.push(\"/viewaccount\");\n dispatch(selectedTabValue(\"viewaccount\"))\n \n }\n \n const RedirectToViewRepairsHistory = () => {\n setMenu();\n history.push(\"/historicRepairs\");\n dispatch(selectedTabValue(\"historicRepairs\"))\n \n \n }\n \n const RedirectToViewMessageHistory = () => {\n setMenu();\n history.push(\"/mymessageshistory\");\n dispatch(selectedTabValue(\"mymessageshistory\"))\n \n }\n \n const RedirectToViewYourDetails = () => {\n setMenu();\n history.push(\"/manageprofile\");\n dispatch(selectedTabValue(\"manageprofile\"))\n }\n \n const RedirectToLogOut = () => {\n setMenu();\n RedirectToCSSLoginPage();\n dispatch(selectedTabValue(\"logout\"))\n }\n \n const RedirectToRequest = () => {\n setMenu();\n history.push(\"/casesearch\");\n dispatch(selectedTabValue(\"requests\"));\n }\n \n const setMenu = () => {\n setCheckboxMenu(!checkboxMenu)\n setShowMenu(!showMenu)\n }\n \n const clearCaseStoreData = () => {\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_SELECTED_ANSWERS });\n };\n const HomeModalHandler = () => {\n clearCaseStoreData();\n history.push(\"/customer360View\");\n };\n const peabodyWebsite = () => {\n window.open(\"https://www.peabody.org.uk/\",\n \"\", \"width=auto, height=auto\");\n }\n const RedirectToCSSLoginPage = () => {\n dispatch(loginTime(\"\"));\n dispatch(loginStatus(false));\n dispatch(loginStatus(\"\"));\n dispatch(getCustomerId(\"\"));\n clearCaseStoreData();\n const apiResponseDeleteSessionID = api.clearSession();\n localStorage.clear();\n dispatch(\n userProfileData(\"\")\n );\n dispatch(userChosenPropertyId(\"\"));\n dispatch(userChosenPropertyType(\"\"));\n dispatch(userChosenPropertyAddress(\"\"));\n dispatch(userChosenRepairLocation(\"\"));\n dispatch(userChosenHighLevelDescription(\"\"));\n dispatch(userChosenSupplementaryQuestions(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenUPRN(\"\"));\n dispatch(userChosenSOR(\"\"));\n dispatch(userChosenSTATUS(\"\"));\n dispatch(userChosenEligibilityErrorCode(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(selectedTenancyGroup(''));\n dispatch(demobilizedContractorSites([]));\n dispatch(isMyPbRepairsMaintainence(\"\"));\n dispatch(repairPriorityValue(\"\"));\n dispatch(saveSupplimentaryCodes(\"\"));\n dispatch(comingFromRepairJourneySuccess(false))\n dispatch(getContractorName(\"\"))\n dispatch(userGetRepairData(\"\"));\n dispatch(comingFromRepairJourneySuccess(false));\n dispatch(savePreviousPage(''));\n dispatch(saveCustomerDetails(''));\n dispatch(setWorkOrderApiFailureMessage(false));\n history.push(\"/startpage\");\n };\n return (\n <>\n {showTabs && (\n
\n \n \n
\n )}\n \n );\n};\nexport default Header;","import \"./index.scss\";\nimport React, { useEffect } from \"react\";\nimport accessibility from \"../../assets/img/peabody-logo-white.png\";\n\nimport { useTranslation } from \"react-i18next\";\nimport { useSelector } from \"react-redux\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\ntype FooterProps = {\n name: string;\n};\n\nconst Footer: React.FC = ({ name }) => {\n const { t } = useTranslation();\n\n const showFooter = useSelector(\n (state: any) => state?.userChoicesReducer?.showFooter\n);\n\nuseEffect(() => { \n}, [showFooter]);\n\n const termsLink = () => {\n window.open(\"https://www.peabody.org.uk/terms-conditions\",\n \"\", \"width=auto, height=auto\");\n }\n\n const AccessibilityLink = () => {\n window.open(\"https://www.peabody.org.uk/accessibility-translations\",\n \"\", \"width=auto, height=auto\");\n }\n const privacyLink = () => {\n window.open(\"https://www.peabody.org.uk/terms-conditions/privacy\",\n \"\", \"width=auto, height=auto\");\n }\n const cookiesLink = () => {\n window.open(\"https://www.peabody.org.uk/terms-conditions/cookies\",\n \"\", \"width=auto, height=auto\");\n }\n return (\n <>\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Zc1XYwfLlaVdXBgNNxuysEC3PD2fmZ43kvlTzX2ceT53KmPkONrj9Xw46uthvwug18N/PpsHtOBX9TNhNmq6qPkPejA7aEodAWfJZytrmA4Uo8c9zaI6+S0N6vaWrvr6p2IOfRqQpt/Wuamc+58iuKOa4OL6T4d06G1IBD+W69eEklUCrg/yVWNWC88v86PFTH62sgmlGPk7RC1Z4PSnej36iQKvw2VfUB6C+V5mO8CQGRrXacQA05cZ09FUs15/ch4+/0mEsraTp2V1UbyxyhsYiRIV0+hPPR6wI+I9peppKpSaFDYz4zqCWFRhnb/EIls51ehwIKrhLyX55rQdDtB+qqqgo1OUJjZQaTFON9E8m74A9k1KhOCI2ulHLeHYpfcKVbpywsLJIAhP+b6seFiqApnqESqD+TW00PMpuOP3dKM1aUa6zAsLBIFMdrBEYZzZ5EClblVuPDIBnnZtf/kSr7in3HFhaJAX6hczS/z1f6auWRkF/NDzWGUhCS7y77ji0sEoVfmBXO9tVJNVLdQgMOp8topuyw79jCIjHAsdpXYz0gt2Zykg3l18DDbbTv18IicSBsPkDzO5K5PkmyoVw71hYWdR4I5SJl3Lv9oJRaRqJFuK3QsLCo+0AS2Jma35HP8VbSjVmhYWFR94Fcp/ae3+AzRJh1Z9KNWaFhYVG3gUzaIZrfkQr/VDYatELDwqJuAyUWdN9mTfJTpVZoWFjsJsAGP1Rz85ZXWEbTJCuwQsPCou4CGsZQze/YlDYjW43m23G3sKiTQNWxw/m3s38LdU6xtR/FirL2rePq2uVqYWGR/IKPsgLI0Ui5LAdsBHU+BWqFhoWFRc3D+jQsLCys0LCwsLBCw8LCwgoNCwuLuoj/CjAARyj6xCti81YAAAAASUVORK5CYII=\"","import React from \"react\";\nimport \"./Message.scss\";\n\nconst Message = (props: any) => (\n
\n
\n {props.children}\n
\n
\n);\n\nexport default Message;\n","import React, { useEffect, useState } from \"react\";\nimport \"./index.scss\";\nimport peabody from \"../../assets/img/peabody-logo-teal.png\";\nimport { useHistory } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Hotjar from '@hotjar/browser'\nimport { loginStatus, loginTime, selectedTabValue, userChosenAdditionalDescription, userChosenContactDetails, userChosenContactName, userChosenContactPhone, userChosenCovidQuestion, userChosenDuplicateQuestion, userChosenEligibilityErrorCode, userChosenHighLevelDescription, userChosenPropertyAddress, userChosenPropertyId, userChosenPropertyType, userChosenRelationDetails, userChosenRepairLocation, userChosenSOR, userChosenSTATUS, userChosenSupplementaryQuestions, userChosenUPRN, userChosenVandalismAdditionalInformation, userChosenVandalismQuestion, userChosenVulnerabilityAdditionalInformation, userChosenVulnerabilityQuestion, userProfileData } from \"../../ducks/redux/actions/userChoices\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport { getCustomerId } from \"../../ducks/redux/actions/getAddress\";\nimport { useTranslation } from \"react-i18next\";\nimport * as api from \"../../api\";\nimport HomeModal from \"../../compositions/Modal/HomeModal\";\nimport {\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n} from \"../../ducks/redux/actionTypes\";\n\n\nconst b2cLoginUrl: string = process.env.REACT_APP_CSS_B2C_LOGIN_URL || \"\";\nconst siteId = process.env.REACT_APP_SITE_ID;\nconst hotjarVersion = process.env.REACT_APP_HOTJAR_VERSION;\n\n\nconst HeaderJourney = ( props:any ) => {\n \n \n const peabodyWebsite = () => {\n window.open(\n \"https://www.peabody.org.uk/\",\n \"_blank\",\n \"noopener\"\n );\n }\n \n return ( \n
\n
\n
\n \n \"Peabody\n \n
\n
\n
\n\n );\n};\nexport default HeaderJourney;","import Message from '../../storybook/Message';\nimport { useTranslation } from 'react-i18next';\nimport HeaderJourney from '../../storybook/Header/HeaderJourney';\nimport { detectMobile } from '../../utils/formatting';\n\nconst RepairJourneyErrorPage: React.FC = (props) => {\n const { t } = useTranslation();\n const returnToHome = () => {\n props.history.push('/customer360View');\n };\n const openMobiledialer = () => {\n window.open('tel:' + t('phone_no'));\n };\n const isMobile = detectMobile();\n return (\n <>\n \n
\n {isMobile ? (\n \n {t('repair_Journey_Error_Message1')}\n

\n {t('repair_Journey_Error_Message2')}\n {\n \n {t('phone_no')}\n \n }\n

\n

\n {\n \n {t('Return_to_Home')}\n \n }\n
\n ) : (\n \n {t('repair_Journey_Error_Message1')}\n

\n {t('repair_Journey_Error_Message2')}\n \n {t('phone_no')}\n \n

\n

\n {\n \n {t('Return_to_Home')}\n \n }\n
\n )}\n
\n \n )\n}\nexport default RepairJourneyErrorPage;","import React from \"react\";\nimport \"./Button.css\";\n\nconst Button = (props: any) => (\n \n \n {props.children}\n \n \n);\n\nexport default Button;\n","export class RepairDetails {\n public premisesAddress?: any = {\n addressLine1: '',\n addressLine2: '',\n addressLine3: '',\n addressLine4: '',\n addressLine5: '',\n postcode: '',\n }\n public customerName?: any = {\n title: '',\n givenName: '',\n surname: '',\n }\n public repairLocationId: string = ''\n public description: string = ''\n public isEmergency: boolean = false\n public isSubmitted: boolean = false\n public premisesTypeId: string = ''\n public additionalInformation: string = ''\n public premisesUniqueReference: string = ''\n public sorCode?: string\n public completedStep?: number\n public assetIdentifier: string = ''\n \n}\n\nexport class CreatedRepair {\n public chargeCustomer?: boolean = false\n public repairCauseId?: number = 0\n public riskToHumanLife?: boolean = false\n public crimeReferenceNumber?: string | null = null \n public completedStep?: number\n}\n\nexport class RepairContact {\n public id: string = ''\n public reportedById?: string\n public notifyAll?: boolean\n public reporterContactDetails?: {\n name: null\n contactNumber: null\n organisation: null\n reporterToBeContacted: true\n }\n public staffContactEmails?: string[]\n public reportingMethodId?: string\n}\n\nexport enum RepairReporterId {\n Customer = 1,\n FriendOrfamily = 2,\n MemberOfStaff = 3,\n SupportWorker = 4,\n Other = 5,\n}\n\nexport enum RepairPriority {\n NextAvailable = \"Next Available\",\n Emergency = \"Emergency\",\n EmergencyOOH = \"Emergency (Out of hours)\" \n}\n\nexport enum ContractorRepairPriority {\n Emergency = 'EME',\n NextAvailable = 'NA',\n DampAndMould = 'DM'\n}","import React from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Button from \"../../Button/Button\";\nimport \"../../assets/css/custom.scss\"\nimport \"./index.css\";\nimport HeaderJourney from '../../storybook/Header/HeaderJourney';\nimport { isNullOrUndefined, detectMobile } from \"../../utils/formatting\";\nimport * as api from \"../../api\";\nimport \"../GenericError/index.css\";\nimport { CatalistTriageContractorType } from \"../../models/Repair/Contractor\";\nimport { RepairPriority } from \"../../models/Repair/CreateRepair\";\nimport { userChosenPropertyType, userGetRepairData, setWorkOrderApiFailureMessage } from \"../../ducks/redux/actions/userChoices\";\n\n\nconst WorkOrderErrorPage: React.FC = (props) => {\n const { t } = useTranslation();\n const dispatch = useDispatch();\n\n enum EmergencySelection {\n \"SelectedEmergencyTypeYes\" = \"Yes, I can provide access\",\n \"SelectedEmergencyTypeNo\" = \"No, I can provide access\",\n }\n\n const workOrderObject = useSelector(\n (state: any) => state?.addresses?.workOrderRepair\n );\n\n const determinedcontractordetails = useSelector(\n (state: any) => state.addresses?.determinedcontractordetails\n );\n\n const priority = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject[0]\n ?.priority\n );\n\n const userChosenEmergencyQuestion = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenEmergencyQuestion\n );\n\n const selectedproperty = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n\n const isMobile = detectMobile();\n\n const openMobiledialer = () => {\n window.open('tel:' + t('phone_no'));\n };\n\n const returnToHomeButtonHandler = () => {\n dispatch(setWorkOrderApiFailureMessage(true));\n props.history.push(\"/customer360View\")\n };\n\n const refreshButtonHandler = async () => {\n let jobNumber = \"\";\n const contractorDetail = determinedcontractordetails?.[0];\n const contractorSiteOnHoldCase = contractorDetail?.contractorSites?.[0] === CatalistTriageContractorType.CONTRACTORSITE_ON_HOLD\n if (!isNullOrUndefined(workOrderObject.id)) {\n const repair = (await api.getRepair(workOrderObject.id));\n dispatch(userGetRepairData(repair));\n jobNumber = repair?.jobNo;\n if (jobNumber) {\n const appointmentWillNotBeCreated = contractorSiteOnHoldCase ||\n priority === RepairPriority.Emergency ||\n userChosenEmergencyQuestion === EmergencySelection.SelectedEmergencyTypeYes ||\n contractorDetail?.statuses?.isEMA ||\n !contractorDetail?.statuses?.isIntegrated ||\n contractorDetail?.statuses?.isBuilder;\n if (appointmentWillNotBeCreated) {\n dispatch(userChosenPropertyType(repair.area));\n dispatch(userGetRepairData(\"\"));\n dispatch(setWorkOrderApiFailureMessage(false));\n props.history.push(\"/customer360View\");\n } else {\n dispatch(userChosenPropertyType(repair.area));\n props.history.push(\"/appointmentscheduler\");\n }\n }\n }\n else {\n props.history.push(\"/workOrderErrorPage\");\n }\n };\n\n return (\n <>\n \n
\n {isMobile ? (\n
\n

\n {t(\"work_Order_Error_Message\")}\n { {t('phone_no')} }\n

\n
\n ) :\n (\n
\n

\n {t(\"work_Order_Error_Message\")}\n {\n \n {t('phone_no')}\n \n }\n

\n
\n )}\n
\n \n {t(\"refresh_Page\")}\n \n \n {t(\"Return_to_Home\")}\n \n
\n
\n \n )\n}\nexport default WorkOrderErrorPage;","import React, { useState, useEffect, useRef } from 'react'\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useHistory, } from \"react-router-dom\";\nimport { clearAllState, loginStatus, loginTime } from '../../ducks/redux/actions/userChoices';\nimport { getCustomerId, showSessionTimeOutMessage } from '../../ducks/redux/actions/getAddress';\nimport IdleTimer from \"react-idle-timer\"\nimport { useTranslation } from \"react-i18next\";\nimport Button from \"../../storybook/Button\";\nimport Modal from 'react-modal';\nimport { isUndefinedNullOrEmpty } from '../../utils/translation/helper';\nimport Clear from \"../../assets/img/Clear.png\";\nimport \"./index.scss\";\n\nconst STATUS = {\n STARTED: 'Started',\n STOPPED: 'Stopped',\n}\n\nconst INITIAL_COUNT = 300\nif (process.env.NODE_ENV !== 'test') Modal.setAppElement(\"#root\")\nexport default function AutoLogout() {\n const dispatch = useDispatch();\n const history = useHistory();\n const { t } = useTranslation();\n\n const [secondsRemaining, setSecondsRemaining] = useState(INITIAL_COUNT);\n const [status, setStatus] = useState(STATUS.STOPPED);\n const idleTimerRef = useRef(null);\n const [modalIsOpen, setIsOpen] = React.useState(false);\n const [showSignoutMessageState, setShowSignoutMessageState] = React.useState(false);\n const [showSignoutMessage, setShowSignoutMessage] = React.useState(false);\n const secondsToDisplay = secondsRemaining % 60\n const minutesRemaining = (secondsRemaining - secondsToDisplay) / 60\n const minutesToDisplay = minutesRemaining % 60\n\n const loggedinStatus = useSelector(\n (state: any) =>\n state?.userChoicesReducer?.loginStatus\n );\n\n useInterval(\n () => {\n if (secondsRemaining > 0) {\n setSecondsRemaining(secondsRemaining - 1)\n } else {\n setStatus(STATUS.STOPPED)\n }\n },\n status === STATUS.STARTED ? 1000 : 0,\n setIsOpen,\n setShowSignoutMessage,\n showSignoutMessageState,\n setShowSignoutMessageState\n )\n\n useEffect(() => {\n if (isUndefinedNullOrEmpty(loggedinStatus)) {\n setIsOpen(false);\n setStatus(STATUS.STOPPED);\n }\n else {\n setStatus(STATUS.STARTED);\n }\n })\n\n const onIdle = () => {\n setSecondsRemaining(INITIAL_COUNT);\n if (secondsRemaining != 0) {\n setTimeout(() => {\n setStatus(STATUS.STOPPED);\n setShowSignoutMessageState(true);\n }, 300 * 1000);\n setIsOpen(true);\n setShowSignoutMessageState(true);\n }\n }\n\n const onContinue = () => {\n setIsOpen(false)\n setShowSignoutMessage(false);\n setShowSignoutMessageState(false);\n }\n\n const onShowSignoutMessage = () => {\n setShowSignoutMessage(false);\n setShowSignoutMessageState(false);\n }\n\n const onRedirectLoginPage = () => {\n dispatch(loginTime(''));\n dispatch(loginStatus(false));\n dispatch(getCustomerId(''));\n dispatch(clearAllState({}));\n setIsOpen(false);\n setShowSignoutMessage(false);\n setShowSignoutMessageState(false);\n history.push(\"/startpage\")\n };\n\n return (\n <>\n\n
\n
\"Cancel\"
\n

\n {t(\"AutoLogoutMessage\")}\n

\n

{t(\"AutoLogoutText\")}

\n

\n {twoDigits(minutesToDisplay)}:\n {twoDigits(secondsToDisplay)}\n {t(\"EMID024\")}\n

\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\"Cancel\"
\n

\n {t(\"EMID025\")}\n

\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n idleTimerRef} timeout={1500 * 1000} onIdle={onIdle}>\n \n\n )\n}\n\nfunction useInterval(callback: any, delay: number, setIsOpen: any, setShowSignoutMessage: any, showSignoutMessageState: boolean, setShowSignoutMessageState: any) {\n const dispatch = useDispatch();\n const history = useHistory();\n const savedCallback = useRef()\n\n // Remember the latest callback.\n useEffect(() => {\n savedCallback.current = callback\n }, [callback])\n\n // Set up the interval.\n useEffect(() => {\n function tick() {\n savedCallback.current()\n }\n if (delay != 0) {\n let id = setInterval(tick, delay)\n return () => clearInterval(id)\n }\n\n if (delay === 0) {\n RedirectLoginPage();\n }\n }, [delay])\n\n const RedirectLoginPage = () => {\n setIsOpen(false);\n if (showSignoutMessageState) {\n dispatch(loginTime(''));\n dispatch(loginStatus(false));\n dispatch(getCustomerId(''));\n setShowSignoutMessage(true);\n setShowSignoutMessageState(false);\n history.push(\"/startpage\")\n }\n };\n}\n\nconst twoDigits = (num: number) => String(num).padStart(2, '0')","export enum RepairChannel {\n CustomerSelfService = \"CustomerSelfService\",\n ERGO = \"ERGO\",\n Northgate = \"Northgate\",\n ColleagueSelfService = \"ColleagueSelfService\"\n}","import React, { useEffect, useRef, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport AutoLogout from \"../AutoLogout\";\nimport classes from \"./index.module.css\";\nimport { isUndefinedNullOrEmpty } from '../../utils/translation/helper';\nimport { getCustomerId } from \"../../ducks/redux/actions/getAddress\";\nimport {\n\tuserChosenPropertyId,\n\tuserChosenPropertyType,\n\tuserChosenPropertyAddress,\n\tuserChosenRepairLocationId,\n\tuserChosenRepairLocation,\n\tuserChosenHighLevelDescription,\n\tuserChosenSupplementaryQuestions,\n\tuserChosenDuplicateQuestion,\n\tuserChosenAdditionalDescription,\n\tuserChosenVandalismQuestion,\n\tuserChosenVandalismAdditionalInformation,\n\tuserChosenCovidQuestion,\n\tuserChosenVulnerabilityQuestion,\n\tuserChosenVulnerabilityAdditionalInformation,\n\tuserChosenContactDetails,\n\tuserChosenUPRN,\n\tuserChosenSOR,\n\tuserChosenSTATUS,\n\tuserChosenEligibilityErrorCode,\n\tuserChosenContactPhone,\n\tuserChosenContactName,\n\tuserChosenRelationDetails\n} from \"../../ducks/redux/actions/userChoices\";\nimport { trackEvent } from \"../../appInsights/TelemetryService\";\n\ntype PropertyDetailsFields = {\n};\n\n\nconst Dashboard: React.FC = (props) => {\n\tconst customerID = useSelector((state: any) => state.addresses?.customerid);\n\tconst history = useHistory();\n\tconst [isVisiableSignIn, setIsVisiableSignIn] = useState(\"block\");\n\tconst { t } = useTranslation();\n\tconst dispatch = useDispatch();\n\tconst location = useLocation();\n\n\tconst grant_type = process.env.REACT_APP_GRANT_TYPE || \"\"\n\tconst loggedinStatus = useSelector(\n\t\t(state: any) =>\n\t\t\tstate?.userChoicesReducer?.loginStatus\n\t);\n\tconst loggedInTime = useSelector(\n\t\t(state: any) =>\n\t\t\tstate?.userChoicesReducer?.loginTime\n\t);\n\n\tconst initialLoggedInTime = useSelector(\n\t\t(state: any) =>\n\t\t\tstate?.userChoicesReducer?.initialLoginTime\n\t);\n\n\tconst refershedToken = useSelector(\n\t\t(state: any) =>\n\t\t\tstate?.userChoicesReducer?.refershToken\n\t);\n\n\tconst accessTokenExpireTime = useSelector(\n\t\t(state: any) =>\n\t\t\tstate?.userChoicesReducer?.accessTokenExpirationTime\n\t);\n\n\tconst refreshTokenExpireTime = useSelector(\n\t\t(state: any) =>\n\t\t\tstate?.userChoicesReducer?.refreshTokenExpirationTime\n\t);\n\n\tuseEffect(() => {\n\t\twindow.scrollTo(0, 0);\n\t});\n\n\tuseEffect(() => {\n\t\t(async function () {\n\t\t\ttry {\n\t\t\t\tconst _channel = process.env.REACT_APP_X_CHANNEL_IDENTIFIER;\n\t\t\t\tconst _customerId = localStorage.getItem('customerId') || \"\";\n\t\t\t\tconst _corelationId = localStorage.getItem('corelationId') || \"\";\n\t\t\t\ttrackEvent(window.location.pathname, _channel, _customerId, _corelationId);\n\t\t\t} catch (e) {\n\t\t\t\tconsole.error(e);\n\t\t\t}\n\t\t})();\n\t}, [location]);\n\n\tuseEffect(() => {\n\t\tif (isUndefinedNullOrEmpty(loggedinStatus)) {\n\t\t\tsetIsVisiableSignIn(\"none\");\n\t\t} else {\n\t\t\tsetIsVisiableSignIn(\"block\");\n\t\t}\n\t}, [loggedinStatus]);\n\n\treturn (\n\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{props.children}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\n\t);\n};\n\nexport default Dashboard;\n","import React, { useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { useTranslation } from \"react-i18next\";\nimport classes from \"./style.module.css\";\nimport { RouteComponentProps } from 'react-router-dom';\nimport {\n userChosenPropertyId,\n userChosenPropertyType,\n userChosenPropertyAddress,\n userChosenRepairLocationId,\n userChosenRepairLocation,\n userChosenHighLevelDescription,\n userChosenSupplementaryQuestions,\n userChosenEmergencyQuestion,\n userChosenDuplicateQuestion,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenCovidQuestion,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenContactDetails,\n userChosenUPRN,\n userChosenSOR,\n userChosenSTATUS,\n userChosenEligibilityErrorCode,\n loginStatus,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n selectedTenancyGroup\n} from \"../../ducks/redux/actions/userChoices\";\nimport { selectedTenacyType } from \"../../ducks/redux/actions/getAddress\";\n\nconst b2cLoginUrl: string = process.env.REACT_APP_CSS_B2C_LOGIN_URL || \"\";\nconst b2cRegistrationUrl: string = process.env.REACT_APP_CSS_B2C_REGISTRATION_URL || \"\";\n\ninterface StartPageProps extends RouteComponentProps {\n}\n\nconst StartPage: React.FC = (props) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n\n useEffect(() => {\n ClearReduxStore()\n RedirectToIDAMLoginPage()\n }, []);\n\n const ClearReduxStore = () => {\n dispatch(loginStatus(false));\n dispatch(userChosenPropertyId(\"\"));\n dispatch(userChosenPropertyType(\"\"));\n dispatch(userChosenPropertyAddress(\"\"));\n dispatch(userChosenRepairLocationId(0));\n dispatch(userChosenRepairLocation(\"\"));\n dispatch(userChosenHighLevelDescription(\"\"));\n dispatch(userChosenSupplementaryQuestions(\"\"));\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenUPRN(\"\"));\n dispatch(userChosenSOR(\"\"));\n dispatch(userChosenSTATUS(\"\"));\n dispatch(userChosenEligibilityErrorCode(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(selectedTenacyType(\"\"));\n dispatch(selectedTenancyGroup(''))\n window.localStorage.clear();\n }\n\n const RedirectToIDAMLoginPage = () => {\n window.location.href = b2cLoginUrl;\n };\n const RedirectToIDAMRegistrationPage = () => {\n window.location.href = b2cRegistrationUrl;\n };\n\n return (\n
\n
\n
\n

{t(\"CR001\")}

\n

{t(\"CR002a\")}

\n
\n

{t(\"CP127\")}

\n
\n \n \n
\n
{t(\"CR004\")}
\n
{t(\"CR005\")}
\n
\n \n
\n
\n
\n );\n};\n\nexport default StartPage;\n","\nimport {\n GET_REPAIR_ID,\n REPAIRS_SEARCH_SUCCESS,\n REPAIR_HISTORY_DATA,\n GET_CONTACTOR_DATA,\n REPAIR_HISTORY_CURRENT_PAGE,\n REPAIR_HISTORY_CURRENT_RESULTS_PER_PAGE,\n REPAIR_DEFAULT_ASSOCIATED_ASSET,\n REPAIR_SEARCH_TERM ,\n DEFAULT_SEARCH_REPAIR_STATUS,\n DEFAULT_SEARCH_AREA ,\n DEFAULT_SEARCH_SORT_BY_ORDER,\n FRA_DOCUMENTS,\n BSR_DOCUMENTS,\n RES_DOCUMENTS\n\n} from \"../actionTypes\";\n\nexport const searchForRepairs = (payload: any) => ({\n type: REPAIRS_SEARCH_SUCCESS,\n payload\n});\nexport const getRepairID = (payload: any) => ({\n type: GET_REPAIR_ID,\n payload\n});\n\nexport const repairHistoryData = (payload: any) => ({\n type: REPAIR_HISTORY_DATA,\n payload\n});\n\nexport const getContractorsData = (payload: any) => ({\n type: GET_CONTACTOR_DATA,\n payload\n});\nexport const repairHistoryCurrentPage = (payload: any) => ({\n type: REPAIR_HISTORY_CURRENT_PAGE,\n payload\n});\nexport const repairHistoryCurrentResultsPerPage = (payload: any) => ({\n type: REPAIR_HISTORY_CURRENT_RESULTS_PER_PAGE,\n payload\n});\nexport const repairDefaultAssocitaedAsset = (payload: any) => ({\n type: REPAIR_DEFAULT_ASSOCIATED_ASSET,\n payload\n});\n\nexport const repairSearchTerm = (payload: any) => ({\n type: REPAIR_SEARCH_TERM,\n payload\n});\nexport const defaultSearchRepairStatus = (payload: any) => ({\n type: DEFAULT_SEARCH_REPAIR_STATUS,\n payload\n});\nexport const defaultSearchArea = (payload: any) => ({\n type: DEFAULT_SEARCH_AREA,\n payload\n});\nexport const defaultSearchSortByOrder = (payload: any) => ({\n type: DEFAULT_SEARCH_SORT_BY_ORDER,\n payload\n});\nexport const storeFRADocuments = (payload:any) => ({\n type: FRA_DOCUMENTS,\n payload\n})\n \nexport const storeBSRDocuments = (payload:any) => ({\n type: BSR_DOCUMENTS,\n payload\n})\n\nexport const storeRESDocuments = (payload:any) => ({\n type: RES_DOCUMENTS,\n payload\n})\n\n","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { \n RadioGroup,\n FormControlLabel,\n Radio,\n} from \"@material-ui/core\";\nimport * as api from \"../../api\";\nimport {\n saveAssociatedAssests,\n saveCustomerTenacies, \n saveCustomerDetails,\n saveCustomerphoneNumber,\n getCustomerId, \n selectedTenacyType,\n} from \"../../ducks/redux/actions/getAddress\";\n\nimport Loader from \"react-loader-spinner\";\nimport {\n resetUserChoicesWithNewChange,\n updateRouteHistory,\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n isEditState,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenDuplicateQuestion,\n userChosenEmergencyQuestion,\n userChosenRepairLocationId,\n userChosenHighLevelDescription,\n loadDuplicateRepairPage,\n userCreatedNewRepair,\n singleTenancy,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport Button from \"../../storybook/Button\";\n\nimport ExitModal from \"../Modal/ExitModal\";\nimport BackModal from \"../Modal/BackModal\";\nimport {\n userChosenPropertyAddress, \n} from \"../../ducks/redux/actions/userChoices\";\n\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport { defaultSearchArea, defaultSearchRepairStatus, defaultSearchSortByOrder, repairSearchTerm } from \"../../ducks/redux/actions/historicRepair\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\n\nimport Message from \"../../storybook/Message\";\nimport { CustomerResponse } from \"../../models/Customer\";\ninterface RepairPropertyProps extends RouteComponentProps { }\n\nconst RepairProperty: React.FC = (props) => {\n const dispatch = useDispatch();\n\n //To track radio button selection for RepairProperty--Start here---\n const presentTrackSelection = useSelector(\n // (state: any) => state.dashboardReducer.formState.tracks[0]?.selected\n (state: any) => state.dashboardReducer.formState.customerID\n );\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n const userChosenPropertyId = useSelector(\n (state: any) => state.userChoicesReducer?.userChosenPropertyId\n );\n //-----------Ends here-----------//\n const id = \"btn_continue\";\n const { t } = useTranslation();\n const [isLoading, setIsLoading] = useState(true);\n\n const array: any[] = [];\n const [AllAsset, SetAllAssetData] = useState(array);\n \n const [isError, setError] = useState(\"none\");\n const [buttondisable, setsetButtonDisable] = useState(false); \n\n const radiovalue = useSelector(\n (state: any) => state.userChoicesReducer.userChosenPropertyAddress\n );\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const customerResponse: CustomerResponse = useSelector(\n (state: any) => state.addresses.saveCustomerDetails\n );\n \n const [activeTenacyPremisesIds, setActiveTenacyPremisesIds] = useState(\n []\n );\n useEffect(() => {\n (async function () {\n try {\n setIsLoading(true)\n ClearReduxStore();\n let residentialProperies: {\n premisesid: string;\n tenancygroup: string;\n startdate: string | null;\n }[] = [{ premisesid: \"\", tenancygroup: \"\", startdate: \"\" }];\n\n let nonResidentialProperies: {\n premisesid: string;\n tenancygroup: string;\n startdate: string | null;\n }[] = [{ premisesid: \"\", tenancygroup: \"\", startdate: \"\" }];\n // set work order to null for create new work order\n const tenancyResponse = api.getTenancies(customerID);\n Promise.all([customerResponse, tenancyResponse]).then(\n async (results) => {\n dispatch(\n saveCustomerphoneNumber(results[0].addresses.telecomsAddresses)\n );\n dispatch(getCustomerId(customerID));\n const tenancySummries = results[0].tenanciesSummaries;\n\n const activeTenanciesSummaries = tenancySummries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find(\n (s) => s.type === \"isTenancyActive\"\n )?.value === true\n );\n const activeTenanciesPremisesIds = activeTenanciesSummaries.map(\n (ts) => ts.tenancySummary.premisesIds\n );\n dispatch(saveCustomerTenacies(activeTenanciesSummaries));\n\n dispatch(saveCustomerDetails(results[0]));\n\n if (results[1]?.length > 0) {\n results[1].map((itemTenancy) => {\n activeTenanciesSummaries.map((itemActiveTrenancy) => {\n if (\n itemTenancy.tenancyIdentifier ==\n itemActiveTrenancy.tenancySummary.tenancyId\n ) {\n const premiseid =\n itemActiveTrenancy?.tenancySummary?.premisesIds[0];\n\n const startdateValue =\n itemActiveTrenancy?.tenancySummary.tenancyStartDate;\n\n const groupTenancy = itemTenancy.tenancyGroup;\n\n if (\n itemTenancy.tenancyGroup == \"Non-residential\" ||\n itemTenancy.tenancyGroup == \"Commercial\"\n ) {\n nonResidentialProperies.push({\n premisesid: premiseid,\n tenancygroup: groupTenancy,\n startdate: startdateValue,\n });\n } else {\n residentialProperies.push({\n premisesid: premiseid,\n tenancygroup: groupTenancy,\n startdate: startdateValue,\n });\n }\n }\n });\n });\n }\n const resAddAssestsArray: any = [];\n const promisesResidential = residentialProperies.map(\n async (itemdata) => {\n if (itemdata.premisesid !== \"\") {\n const responseResidential: any =\n await api.getAssociatedAssets(itemdata.premisesid).catch(e => {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n });\n resAddAssestsArray.push(responseResidential);\n\n return (\n responseResidential\n .filter((data: any) => {\n // push data in AddAssetArray\n //resAddAssestsArray.push(data);\n return data.id === itemdata.premisesid;\n })\n // @ts-ignore\n .map((eData: any) => {\n return {\n ...itemdata,\n residential: true,\n formattedAddress:\n eData.addresses.postalAddresses[0].formattedAddress,\n };\n })\n );\n }\n }\n );\n const promisesNonResidential = nonResidentialProperies.map(\n async (itemdata) => {\n if (itemdata.premisesid !== \"\") {\n const responseNonResidential: any =\n await api.getAssociatedAssets(itemdata.premisesid).catch(e => {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n });\n resAddAssestsArray.push(responseNonResidential);\n // push data in AddAssetArray\n return (\n responseNonResidential\n .filter((data: any) => {\n // resAddAssestsArray.push(data);\n return data.id === itemdata.premisesid;\n })\n // @ts-ignore\n .map((eData: any) => {\n return {\n ...itemdata,\n residential: false,\n formattedAddress:\n eData.addresses.postalAddresses[0].formattedAddress,\n };\n })\n );\n }\n }\n );\n\n SetAllAssetData(resAddAssestsArray);\n\n const parsedData = await Promise.all([\n ...promisesResidential,\n ...promisesNonResidential,\n ]);\n\n const resData = parsedData\n .filter((e: any) => (e && e[0] ? true : false))\n .flat()\n .sort(function (a: any, b: any) {\n const dateA: any = Date.parse(a.startdate);\n const dateB: any = Date.parse(b.startdate);\n return dateB - dateA;\n });\n\n setActiveTenacyPremisesIds(resData);\n \n\n const residentialBool = resData.filter((e: any) => {\n return e.residential;\n });\n\n if (activeTenacyPremisesIds?.length === 1) {\n dispatch(saveAssociatedAssests(results));\n }\n\n const chosenAdd = resData.filter((eachData: any) => {\n return eachData.premisesid === userChosenPropertyId\n })\n\n const defaultData = chosenAdd[0];\n\n if (!isUndefinedNullOrEmpty(radiovalue)) {\n const selectedtData = resData.filter((data: any) => {\n return data.formattedAddress === radiovalue;\n });\n callSelection(\n selectedtData[0]?.formattedAddress,\n selectedtData[0]?.premisesid,\n resAddAssestsArray\n );\n } else {\n callSelection(\n defaultData?.formattedAddress,\n defaultData?.premisesid,\n resAddAssestsArray\n );\n }\n //redirect to next page if single tenancy\n if (resData.length === 1) {\n dispatch(singleTenancy(true))\n setIsLoading(false)\n props.history.push(\"/repairasset\");\n }\n else {\n dispatch(singleTenancy(false))\n setIsLoading(false)\n }\n }\n );\n setError(\"none\");\n setsetButtonDisable(false);\n\n } catch (e) {\n console.log(\"catch\", e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n })();\n }, []);\n\n \n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const callPageHandler = () => {\n props.history.push(\"/repairasset\");\n };\n\n const updateSelection = (\n value: string,\n premiseId: any,\n arr: any = AllAsset\n ) => {\n if (EditState === true) {\n dispatch(userChosenRepairLocationId(0));\n dispatch(userChosenHighLevelDescription(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(isEditState(false));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n dispatch(loadDuplicateRepairPage(false));\n dispatch(userCreatedNewRepair(null));\n }\n let associtaedAssets: any[] = [];\n arr.forEach((element: any) => {\n const resultF = element.filter((data: any) => data.id === premiseId);\n if (resultF !== null && resultF.length > 0) {\n associtaedAssets.push(element);\n\n dispatch(saveAssociatedAssests(associtaedAssets));\n }\n });\n dispatch(userChosenPropertyAddress(value));\n };\n const callSelection = (\n value: string,\n premiseId: any,\n arr: any = AllAsset\n ) => {\n let associtaedAssets: any[] = [];\n arr.forEach((element: any) => {\n const resultF = element.filter((data: any) => data.id === premiseId);\n if (resultF !== null && resultF.length > 0) {\n associtaedAssets.push(element);\n\n dispatch(saveAssociatedAssests(associtaedAssets));\n }\n });\n dispatch(userChosenPropertyAddress(value));\n };\n const ClearReduxStore = () => {\n dispatch(selectedTenacyType(\"\"));\n dispatch(repairSearchTerm(\"\"));\n dispatch(defaultSearchRepairStatus(\"\"));\n dispatch(defaultSearchArea(\"\"));\n dispatch(defaultSearchSortByOrder(\"\"));\n }\n return (\n <>\n \n
\n
\n \n {t(\"repair_property_label\")}\n \n {isLoading ? (\n \n ) : (\n \n \n {activeTenacyPremisesIds\n .filter((e: any) => {\n return e.residential;\n })\n .map((e: any) => {\n return (\n \n ): void => {\n updateSelection(v.target.value, e.premisesid);\n }} />}\n label={e.formattedAddress} />\n );\n })}\n {activeTenacyPremisesIds\n .filter((e: any) => {\n return !e.residential;\n })\n .map((e: any) => {\n return (\n \n ): void => {\n updateSelection(v.target.value, e.premisesid);\n }} />}\n label={e.formattedAddress} />\n );\n })}\n \n
\n )}\n
\n \n \n {t(\"SSR001\")}\n \n \n
\n
\n
\n \n \n
\n
\n \n {t(\"continuen_button\")}\n \n
\n
\n
\n \n \n );\n};\n\nexport default RepairProperty;\n","import { CHANGE_REPAIR_PROPERTY_TRACK, UPDATE_FORM, FETCH_REPAIR_REASONS, USER_TYPED_REPAIR_REASONS, FETCH_REPAIR_REASONS_SELECT, SELECTED_REPAIR_REASON_OBJECT,ELIGIBILITY_RESPONSE,RESUME_REPAIR_REASON_PRIORITY_UPDATED_T0_EMERGENCY,SELECTED_REPAIR_REASON_PRIORITY_DETERMINATION} from \"../actionTypes\";\n\nexport const updateDashboardForm = (payload: any) => ({\n type: UPDATE_FORM,\n payload,\n});\n\nexport const changeComponentTrack = (payload: any) => ({\n type: CHANGE_REPAIR_PROPERTY_TRACK,\n payload,\n});\n\n\nexport const fetchRepairReasons = (payload: any) => ({\n type: FETCH_REPAIR_REASONS,\n payload,\n});\n\nexport const fetchRepairReasonsSelect = (payload: any) => ({\n type: FETCH_REPAIR_REASONS_SELECT,\n payload,\n});\n\n\nexport const userTypedRepairReasons = (payload: any) => ({\n type: USER_TYPED_REPAIR_REASONS,\n payload,\n});\n\n/* export const userChosenRepairReason = (payload: any) => ({\n type: USER_CHOSEN_REPAIR_REASON,\n payload,\n}); */\n\nexport const selectedRepairReasonObject = (payload: any) => ({\n type: SELECTED_REPAIR_REASON_OBJECT,\n payload,\n});\nexport const selectedRepairReasonPriorityDetermination = (payload: any) => ({\n type: SELECTED_REPAIR_REASON_PRIORITY_DETERMINATION,\n payload,\n});\nexport const resumeRepairReasonPriorityUpdatedToEmergency = (payload: any) => ({\n type: RESUME_REPAIR_REASON_PRIORITY_UPDATED_T0_EMERGENCY,\n payload,\n});\n\nexport const eligibilityResponseObject = (payload: any) => ({\n type: ELIGIBILITY_RESPONSE,\n payload,\n});\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHfSURBVHgB7VRNTsJQEP5efxISXHADewS8Ad5AFv6tlMSfuJKewHoCcGUCJLAjgoncADwB3sAeoYkSUWif894rpQiBsjCGxNm0fTPzffO+mSmw6cYSR9brGfjpEjjzYLzfolDwkqQlI7hvWtD1LkVbYZaLkb+Lq2N3VepqgtrjCXhQprfMD48HDhsXBw2KqYNzS54GwTMuD51JkLEUvNomSYJirJ6eIuJZ+WSoU8w2geai2+nMjUMsJhCSGPpTCBRiB3c4O1Jk1QeHDm6UgzvLdDAWgOcUeCSJB8YLBN5BpXUNxjI433dQabpgegnz0i0hqLZvZEVTe8HYzyM19FBrkc44Jb/oCzX9zcYw1ZtpvrBgllBdTozgeEtIkpt6SBL9wyGQzByIylSTlEp58EcO8V5HPo4OfN8WU6bRtbMYpfsxcJrvwJZ6j9InJFd/DlyBWNL39XmKs4OizJmS78GkoqiXjGTpRuCiqgB5mAOXbiTkKiKRsTL1xZ7bF5KYRYdCb3NQkJKoJmexjk0kE6ZT8zXKp29NbqM52KGFyYfg/bXBhQnJTFkoJFa46Zo8mP5XLKwYu5UkRihP+Bsx1kimuY9vaWzillhyAuCWGtmQb2rTX5Mkafhl+yf4e4LNt2/tubM+2Z99kgAAAABJRU5ErkJggg==\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAXBAMAAAAW8RmuAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAACFQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbdFIwQAAAAt0Uk5TADC/EO//z3CAf2AH+6flAAAAMUlEQVR4nGNgwAuEDOBMRtdkOFskNBwhHNqAEI6gXBjInoBkUSQD1SSisPoF2Y8QAAC21BD7kBJxHgAAAABJRU5ErkJggg==\"","import React, { useEffect, useState } from \"react\";\nimport Modal from \"./index\";\nimport Button from \"../../storybook/Button\";\nimport Clear from \"../../assets/img/Clear.png\";\nimport { ModalProps } from \"react-bootstrap\";\nimport { useTranslation } from \"react-i18next\";\nimport mobileChevronleft from \"../../assets/img/mobileChevronleft.png\";\n\nconst BackModal: React.FC = ({ back, btn_msg }) => {\n const { t } = useTranslation();\n const [isOpen, setIsOpen] = React.useState(false);\n const [isMobView, setIsMobView] = useState(false);\n\n\n useEffect(() => {\n if (window.innerWidth <= 414) {\n setIsMobView(true);\n }\n }, [])\n\n // flex-row for desktop view and flex-row for mobile view\n\n const webViewModal = () => {\n return (\n \n
\n
\"Cancel\" setIsOpen(false)} onKeyDown={() => setIsOpen(false)} />
\n \n {t(\"SSR043\")}\n \n \n
\n
\n
\n setIsOpen(false)}\n >\n {t(btn_msg || \"return_repair_button\")}\n \n
\n
\n \n
\n
\n
\n\n\n
\n \n
\n );\n }\n\n const mobViewModal = () => {\n return (\n \n
\n
\"Cancel\" setIsOpen(false)} onKeyDown={() => setIsOpen(false)} />
\n \n {t(\"SSR043\")}\n \n \n
\n
\n
\n setIsOpen(false)}\n >\n {t(btn_msg || \"return_repair_button\")}\n \n
\n
\n \n
\n
\n
\n
\n \n\n
\n );\n }\n\n return (\n <>\n setIsOpen(true)} onKeyDown={() => setIsOpen(true)} alt=\"Back\" />\n setIsOpen(true)} onKeyDown={() => setIsOpen(true)}>Back\n \n {isMobView ?\n\n mobViewModal()\n :\n webViewModal()\n }\n \n );\n};\n\nexport default BackModal;\n","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport AssetDetails from \"../../models/Customer/AssetDetails\";\nimport { Container } from \"@material-ui/core\";\nimport * as api from \"../../api\";\nimport \"../../compositions/ReapirAsset/index.scss\";\nimport {\n saveCustomerTenaciesResponse,\n selectedTenacyType,\n saveIsEligibilityRepair,\n saveSupplimentaryCodes \n} from \"../../ducks/redux/actions/getAddress\";\nimport {\n userChosenPropertyType,\n userChosenUPRN,\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n isEditState,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenDuplicateQuestion,\n userChosenEmergencyQuestion,\n userChosenRepairLocationId,\n userChosenHighLevelDescription,\n selectedTenancyGroup,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\nimport { fetchRepairReasons, fetchRepairReasonsSelect, updateDashboardForm, userTypedRepairReasons } from \"../../ducks/redux/actions/dashboardReducer.actions\";\nimport houseIcon from \"../../assets/img/Home.png\";\nimport blockIcon from \"../../assets/img/Building.png\";\nimport estateIcon from \"../../assets/img/estate.png\";\nimport dividedBlockIcon from \"../../assets/img/divided-block.png\";\nimport Loader from \"react-loader-spinner\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport Button from \"../../storybook/Button\";\nimport BackModal from \"../Modal/BackModal\";\nimport ExitModal from \"../Modal/ExitModal\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\nimport Message from \"../../storybook/Message\";\ninterface RepairAssetProps extends RouteComponentProps {\n /* cId: any, \n setErrorCheck: any */\n}\n\nconst RepairAsset: React.FC = (props) => {\n enum AssetTypeMappingEnum {\n Social = \"Property\",\n \"Peabody Property\" = \"Property\",\n \"Non-residential\" = \"Property\",\n Commercial = \"Property\",\n \"Market\" = \"Property\",\n Leasehold = \"Block\",\n Freehold = \"Block\",\n }\n const BlockMap = {\n Property: \"My Property\",\n \"Divided Block\": \"My Divided Block\",\n Block: \"My Block\",\n Estate: \"My Estate\",\n \"Estate Area\": \"My Estate\",\n };\n const [isLoading, setIsLoading] = useState(true);\n let tenanciesId = \"\";\n let assetType = \"\";\n let premisesId = \"\";\n let isPremisesElegible = true;\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const [addresses, setAddresses] = useState();\n const [eligible, setEligible] = React.useState(\"none\");\n const [errorCode, setErrorCode] = useState(\"\");\n const [buttondisable, setButtonDisable] = useState(false);\n const assets = (state: any) => state?.addresses?.customerassociatedassets;\n const addressesData = useSelector(assets);\n let suppCodes: string[] = [];\n const [errorCodeSupplementary, seterrorCodeSupplementary] = useState(suppCodes);\n const [eligibleSuppCodes, seteligibleSuppCodes] = React.useState(\"none\");\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n const tenancies = (state: any) => state?.addresses?.customertenancies;\n const tenanciesData = useSelector(tenancies);\n if (tenanciesData != null) {\n tenanciesId = tenanciesData[0]?.tenancySummary?.tenancyId;\n }\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const selectedAssetType = useSelector(\n (state: any) => state.addresses?.selectedTenancy\n );\n const selectedstate = useSelector(\n (state: any) => state\n );\n\n const singleTenancy = useSelector(\n (state: any) => state?.userChoicesReducer?.singleTenancy\n );\n const { i18n } = useTranslation();\n const getAssetIcon = (assetType: any) => {\n var icon = houseIcon;\n if (assetType == \"Property\") icon = houseIcon;\n if (assetType == \"Block\") icon = blockIcon;\n if (assetType == \"Divided Block\") icon = dividedBlockIcon;\n if (assetType.includes(\"Estate\")) icon = estateIcon;\n return icon;\n };\n //To track div selection for RepairProperty--Start here---\n const [assetTypeValue, setAssetTypeValue] = useState(\"\");\n //-----------Ends here-----------//\n\n const SetErrorDetails = () => {\n setIsLoading(false);\n setErrorCode(\"SSR001\");\n setEligible(\"block\");\n setButtonDisable(true);\n };\n\n useEffect(() => {\n let responseTenancies;\n if (customerID === null || customerID === undefined || customerID === \"\") {\n props.history.push(\"/startpage\");\n return;\n }\n (async function () {\n try {\n if (addressesData.length > 0) {\n setAddresses(addressesData);\n } \n const responseTenancies = await api.getTenancies(customerID);\n dispatch(saveCustomerTenaciesResponse(responseTenancies));\n if (responseTenancies) {\n setIsLoading(false);\n } else {\n SetErrorDetails();\n }\n var defaultSelectedTenancies = responseTenancies.filter(\n (ts: { tenancyIdentifier: string }) =>\n ts.tenancyIdentifier === tenanciesId\n );\n let assettypeKey: string = \"\";\n if (defaultSelectedTenancies) {\n assettypeKey = defaultSelectedTenancies[0]?.tenancyGroup;\n assetType =\n AssetTypeMappingEnum[\n assettypeKey as keyof typeof AssetTypeMappingEnum\n ];\n }\n if (!isUndefinedNullOrEmpty(selectedAssetType)) {\n assetType = selectedAssetType;\n }\n addressesData?.forEach((element: any) => {\n if (element.length > 0) {\n element.forEach((item: any) => {\n if (item.assetType === assetType) {\n premisesId = item.id;\n if (!assetTypeValue) {\n callSelection(assetType, item.id, item.uprn);\n }\n }\n });\n }\n });\n checkPrimiseEligilibility(premisesId, assettypeKey);\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n })();\n }, []);\n\n const backButtonHandler = () => {\n sessionStorage.removeItem(\"presentTrackSelectionRepairAsset\");\n if (tenanciesData.length > 1) {\n props.history.push(\"/repairproperty\");\n } else {\n props.history.push(\"/customer360View\");\n }\n };\n\n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n const userChoices = useSelector((state: any) => state.userChoicesReducer);\n const callPageHandler = () => {\n dispatch(userTypedRepairReasons(''));\n dispatch(fetchRepairReasons([]));\n dispatch(fetchRepairReasonsSelect([]));\n props.history.push(\"/repairlocation\");\n };\n\n const checkPrimiseEligilibility = async (\n premisesId: any,\n tenancyGroup: any\n ) => {\n try {\n const responsePremisesEligibility = await api.postPremisesEligibility(\n premisesId,\n tenancyGroup\n );\n if (responsePremisesEligibility?.length > 0) {\n setIsLoading(false);\n setButtonDisable(false);\n isPremisesElegible = Boolean(\n JSON.parse(responsePremisesEligibility[0]?.isEligible)\n );\n const supplimentaryCodes = responsePremisesEligibility[0]?.supplimentaryCodes; \n if (supplimentaryCodes) {\n dispatch(saveSupplimentaryCodes(supplimentaryCodes));\n const suppErrorCodes = supplimentaryCodes.split(\",\")\n let suppErrCodes: string[] = [];\n suppErrorCodes.forEach((element: string) => {\n const checkErrorCode = i18n?.exists(element)\n if (checkErrorCode) {\n suppErrCodes.push(element)\n }\n });\n seteligibleSuppCodes(\"block\")\n seterrorCodeSupplementary(suppErrCodes)\n }\n else {\n seteligibleSuppCodes(\"none\")\n seterrorCodeSupplementary([])\n }\n\n const errorCode = responsePremisesEligibility[0]?.errorCode;\n if (errorCode === \"E4\" || errorCode === \"E5\" || errorCode === \"E24\") {\n setErrorCode(errorCode);\n setEligible(\"block\");\n setButtonDisable(true);\n } else {\n setErrorCode(responsePremisesEligibility[0]?.errorCode);\n if (!isPremisesElegible) {\n setEligible(\"block\");\n setButtonDisable(true);\n } else {\n setEligible(\"none\");\n setButtonDisable(false);\n }\n }\n dispatch(saveIsEligibilityRepair(isPremisesElegible));\n } else {\n SetErrorDetails();\n }\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n };\n\n const GetTenancyGroup = async (customerID: any, premisesId: any) => {\n try {\n const responseTenancyGroup = await api.getTenanciesGroup(\n customerID,\n premisesId\n );\n let assetType =\n responseTenancyGroup.length > 0\n ? responseTenancyGroup[0]?.tenancyGroup\n : \"\";\n dispatch(selectedTenancyGroup(responseTenancyGroup[0]?.tenancyGroup))\n setIsLoading(true);\n checkPrimiseEligilibility(premisesId, assetType);\n }\n catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n };\n };\n\n const updateSelection = (\n assetType: string,\n assetId: string,\n uprn: string\n ) => {\n if (EditState === true) {\n dispatch(userChosenRepairLocationId(0));\n dispatch(userChosenHighLevelDescription(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(isEditState(false));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n }\n setAssetTypeValue(assetType);\n setButtonDisable(true);\n dispatch(selectedTenacyType(assetType));\n dispatch(userChosenPropertyType(assetType));\n if (assetId && customerID) {\n GetTenancyGroup(customerID, assetId);\n }\n localStorage.setItem(\"userChosenPropertyType\", assetType);\n dispatch(userChosenUPRN(uprn));\n dispatch(\n updateDashboardForm({\n assetType,\n assetId,\n customerID,\n })\n );\n };\n const callSelection = (\n assetType: string,\n assetId: string,\n uprn: string\n ) => {\n setAssetTypeValue(assetType);\n setButtonDisable(true);\n dispatch(selectedTenacyType(assetType));\n dispatch(userChosenPropertyType(assetType));\n if (assetId && customerID) {\n GetTenancyGroup(customerID, assetId);\n }\n localStorage.setItem(\"userChosenPropertyType\", assetType);\n dispatch(userChosenUPRN(uprn));\n dispatch(\n updateDashboardForm({\n assetType,\n assetId,\n customerID,\n })\n );\n };\n\n let _className = \"col-sm-12 col-md-12 col-lg-3 property-card column\";\n let fieldsArray: any[] = [];\n addresses?.forEach((element: any) => {\n element.forEach((item: any) => {\n if (item.assetType != \"Scheme\") {\n _className =\n item.assetType == assetTypeValue\n ? \"col-sm-12 col-md-12 col-lg-3 property-card active-property column\"\n : \"col-sm-12 col-md-12 col-lg-3 property-card column\";\n fieldsArray.push(\n {\n updateSelection(item.assetType, item.id, item.uprn);\n }}\n >\n \n
\n \n \n \n
\n {/* @ts-ignore */}\n {BlockMap[item.assetType]}\n
\n
\n \n \n {item.addresses?.postalAddresses[0]?.formattedAddress\n .split(\",\")\n .map((step: any, i: number) => (\n <>\n {i === 0 ? (\n
{step}
\n ) : (\n

{step}

\n )}\n {\"\\n \"}\n \n ))}\n

\n \n \n \n );\n }\n });\n });\n\n return (\n <>\n \n
\n\n
\n \n {t(\"repair_report_label\")}\n \n {isLoading ? (\n \n ) : (\n\n <>\n \n {t(errorCode)}\n \n
\n\n
\n {errorCodeSupplementary.map((supErrorCode) => (\n {t(supErrorCode)}\n ))}\n
\n\n )}\n
\n {fieldsArray}\n
\n\n
\n\n \n \n\n
\n
\n
\n {!singleTenancy && (\n \n )}\n \n
\n
\n \n {t(\"continuen_button\")}{\" \"}\n \n
\n
\n
\n \n \n );\n};\nexport default RepairAsset;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEzSURBVHgB7VXLTQMxFJxnKIASXEJKMBVwA+W0QYJwpASgAsRxw4FcN1ygAtgOQgVQwjaQfby1vWYtORHhkyhKRlrLb/wZz5vDEroYTQYgPOA3YJxieDxuS4V/xjyBCpgduo9vLMNcBo7wZDmq7wLH+EhdtJ+8nkTgrP9q56OJllqeQu+By4uB1ECtptKOdh+WcfBnoKhaYci7DDpv7aKbQWuZcCBj81XCVQs47c9FGaRb5DJwvYcycjqTDN6kJ/7gXiaDsVnwrPTcrReNMD+D8/7Yu2rqzGfguLwwLgOUGIZ9V95ZhF0GW5BB2gHLS+4fX+ycWEvdwAQO3HNruBQu85z+voDtJRsv1orqxCW9rw3LOIgxRc3PyRWljoKbHwuQCFycXCfX8kJL2AsF1vZP3hyBTzQ+qn/vQ08XAAAAAElFTkSuQmCC\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAMAAAAPkIrYAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK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OjNt+417jEJMbRefbj2+A/iD2TyyALWXPypAAAAAElFTkSuQmCC\"","export class RepairPriorityPayload {\n public contractorIdentifier?: string = ''\n public isEmergency?: boolean = false\n public isRecall?: boolean = false\n public repairType?: string = ''\n public isEMA?: string = ''\n public description?: string = ''\n public isVulnerable?: boolean = false\n public raisedDate?: string = ''\n public channel?: string = ''\n}\nexport class RepairLocationPriorityPayload {\n public isEmergency?: boolean = false\n public isRecall?: boolean = false\n public repairType?: string = ''\n public isEMA?: string = \"\"\n public description?: string = ''\n public isVulnerable?: boolean = false\n public raisedDate?: string = ''\n public channel?: string = ''\n}\nexport class RepairPriorityResposne {\n public isWorkingHours: boolean = false\n public isHoliday: boolean = false\n public repairPriority: string = ''\n}\n","import React, { useState, useEffect } from \"react\";\nimport TextField from \"@mui/material/TextField\";\nimport Autocomplete, { createFilterOptions } from \"@mui/material/Autocomplete\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n userTypedRepairReasons,\n selectedRepairReasonObject,\n eligibilityResponseObject,\n} from \"../../ducks/redux/actions/dashboardReducer.actions\";\nimport {\n userChosenPropertyId,\n userChosenHighLevelDescription,\n userChosenUPRN,\n userChosenSOR,\n userChosenSTATUS,\n userChosenEligibilityErrorCode,\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n isEditState,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenDuplicateQuestion,\n userChosenEmergencyQuestion,\n repairPriorityValue,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\nimport { PremisesType } from \"../../models/Customer\";\nimport * as api from \"../../api\";\nimport { useTranslation } from \"react-i18next\";\nimport {\n EligibilityErrorCode,\n MaintenanceResponsibility\n} from \"../../models/Property\";\nimport Loader from \"react-loader-spinner\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport {\n getHeatingHotWaterCase,\n getMaintResp,\n getRepairResp,\n} from \"../../ducks/redux/actions/getAddress\";\nimport Message from \"../../storybook/Message\";\nimport { isNullOrUndefined } from \"../../utils/formatting\";\nimport { RepairChannel } from \"../../models/Repair/RepairChannel\";\nimport { RepairLocationPriorityPayload } from \"../../models/Repair/RepairPriority\";\nimport moment from \"moment\";\nexport interface RepairReasonProps extends RouteComponentProps {\n suggestions: string[];\n setButtonDisabled: (a: boolean) => void;\n locatioAlert: string[];\n getMandatoryData: (args: any) => void;\n}\nconst RepairReason: React.FC = (props) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n \n let suggestionList;\n const [eligible, setEligible] = React.useState(\"none\");\n const [errorCode, setErrorCode] = React.useState(\"\");\n const [isLoading, setIsLoading] = React.useState(false);\n const [userInput, setUserInput] = useState();\n const [inputValue, setInputValue] = useState(\"\");\n const [isOrbisBlockMsg, setIsOrbisBlockMsg] = React.useState(false);\n const [isSelectedValue, setSelectedValue] = React.useState(false);\n const [repairReasonEvent, setRepairReasonEvent] = React.useState(null);\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n\n const [fetchedRepairReasonsData, setData] = useState(props.suggestions);\n\n //Check Repair Eligibility\n let premisesType = \"\";\n let maintsResp = \"FMFULL\";\n\n let repairResp = \"\";\n let additionalRepairInfo = false; //!!asset?.description //??\n let isRepairEligible = true;\n let isCustomerView = false; // to do discuss\n let uprn = \"\"; // asset store - filter\n let sorCode: string | null = \"\";\n let isInDefects = false; //got\n let heatingRepairContext: string | null = \"\";\n\n\n //fetch typed object\n const fetchedRepairReasonsSelection = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.fetchedRepairReasonsSelect\n );\n const addressesData = useSelector(\n (state: any) => state?.addresses?.customerassociatedassets\n );\n const checkEnhancedEligibility = useSelector(\n (state: any) => state.userChoicesReducer?.checkEnhancedRepairEligibilityMyPeabody\n );\n const selectedproperty = useSelector(\n (state: any) => state?.dashboardReducer?.formState?.tracks[0]?.assetType\n );\n\n const selectedPropertyId = useSelector(\n (state: any) => state?.dashboardReducer?.formState?.tracks[0]?.assetId\n );\n\n const userChosenHighLevelDescriptionBackButton = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenHighLevelDescription\n );\n\n const selTenancyGroup = useSelector(\n (state: any) => state?.userChoicesReducer?.selectedTenancyGroup\n );\n\n const RepairLocationId = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenRepairLocationId\n );\n\n //selector for fetching supplimentaryCodes\n const supplimentaryCodes = useSelector(\n (state: any) => state.userChoicesReducer?.supplimentaryCodes\n );\n\n useEffect(() => {\n\n if (props.history.action === \"POP\" || userChosenHighLevelDescriptionBackButton) {\n setInputValue(userChosenHighLevelDescriptionBackButton); \n repairReasonChangeAction(\"pageInit\", userChosenHighLevelDescriptionBackButton); \n }\n\n }, []);\n\n\n useEffect(() => {\n props.getMandatoryData(inputValue);\n }, [inputValue]);\n\n const getPremisesData = async (value: string) => {\n try {\n setIsLoading(true);\n const selectedReason = fetchedRepairReasonsSelection.filter(\n (reason: any) => reason.description === value\n );\n dispatch(selectedRepairReasonObject(selectedReason));\n //call api and set params values\n const eligibilityResponse = await api.getAssetsByid(selectedPropertyId);\n dispatch(userChosenPropertyId(eligibilityResponse.id));\n if (eligibilityResponse && selectedReason?.length > 0) {\n // setIsLoading(false)\n dispatch(eligibilityResponseObject(eligibilityResponse));\n premisesType = eligibilityResponse?.assetType;\n\n maintsResp =\n eligibilityResponse?.maintenanceResponsibilities?.find(\n (resp: any) => resp.type === \"MAINTSRESP\"\n )?.value ?? \"\";\n repairResp =\n eligibilityResponse?.maintenanceResponsibilities?.find(\n (resp: any) => resp.type === selectedReason[0]?.element\n )?.value ?? \"\";\n\n if (selectedReason[0]?.additionalData?.length > 0) {\n additionalRepairInfo =\n selectedReason[0]?.additionalData[0]?.description != \"\"\n ? true\n : false;\n }\n else {\n additionalRepairInfo = false\n }\n //start logic to get isEligibleRepair\n const asset = selectedReason[0].additionalData.find(\n (item: any) =>\n item.assetType === selectedproperty &&\n item.tenancyTypes?.some(\n (tt: any) =>\n tt.toLowerCase() ===\n selTenancyGroup.toLowerCase()\n )\n );\n\n isRepairEligible = asset?.isEligible;\n // end\n isCustomerView = true; // as discussed true for customer search\n uprn = eligibilityResponse.uprn;\n //added check for SupplementaryCode \n sorCode = selectedReason[0]?.sors[0]?.sorCode;\n const status =\n eligibilityResponse.statuses &&\n eligibilityResponse.statuses.isInDefects;\n isInDefects = status;\n dispatch(userChosenSOR(sorCode));\n dispatch(userChosenSTATUS(\"Unappointed,Appointed,In Progress\"));\n\n dispatch(getMaintResp(maintsResp));\n dispatch(getRepairResp(repairResp));\n\n // Implementation for Heating or hot water repair US\n let maintenanceResponsibilities: MaintenanceResponsibility[] = [];\n if (value === \"Heating or hot water repair\" || sorCode === \"COMHIU\") {\n try {\n // get maintenanceResponsibilities for all assets\n addressesData.forEach((element: any) => {\n const promises = element.map((item: any) => {\n return api.getAssetsByid(item.id);\n });\n Promise.all(promises).then((results) => {\n results.forEach((item: any) => {\n const responsibilities = heatingAttributeFromResponsibilities(\n item.maintenanceResponsibilities\n );\n const rep = {\n type: item.assetType,\n value: responsibilities,\n };\n maintenanceResponsibilities.push(rep);\n });\n\n if (\n maintenanceResponsibilities &&\n maintenanceResponsibilities.length > 0\n ) {\n const propertyAttribute =\n maintenanceResponsibilities.filter((item) => {\n return item.type === PremisesType.Property\n ? item.value\n : \"\";\n })[0]?.value ?? \"\";\n const dividedBlockAttribute =\n maintenanceResponsibilities.filter((item) => {\n return item.type === PremisesType.DividedBlock\n ? item.value\n : \"\";\n })[0]?.value ?? \"\";\n const blockAttribute =\n maintenanceResponsibilities.filter((item) => {\n return item.type === PremisesType.Block ? item.value : \"\";\n })[0]?.value ?? \"\";\n const estateAttribute =\n maintenanceResponsibilities.filter((item) => {\n return item.type === PremisesType.EstateArea;\n })[0]?.value ?? \"\";\n\n // call sor determination api\n const sorDeterminationResponse = api.getSorDetermination({\n propertyAttribute,\n dividedBlockAttribute,\n blockAttribute,\n estateAttribute,\n context: eligibilityResponse.assetType as PremisesType,\n }).catch(err => {\n console.error(err);\n props.history.push('/repairJourneyErrorPage');\n });\n Promise.resolve(sorDeterminationResponse).then(async (results) => {\n if (results) {\n if (sorCode === \"COMHIU\" && results?.repairContext !== \"N/A\") {\n heatingRepairContext = results.repairContext;\n dispatch(userChosenSOR(sorCode));\n setEligible(\"none\");\n checkRepairEligibility(selectedReason);\n }\n else if (results?.errorCode) {\n if (results.errorCode === \"E32\") {\n setErrorCode(\"SSR047\");\n setEligible(\"block\");\n if (isSelectedValue) { props.setButtonDisabled(false) }\n dispatch(userChosenSOR(\"\"));\n setIsLoading(false);\n dispatch(getHeatingHotWaterCase(results.errorCode));\n } else {\n setErrorCode(\"SSR049\");\n setEligible(\"block\");\n props.setButtonDisabled(true);\n setIsLoading(false);\n dispatch(userChosenSOR(results.sor));\n }\n } else {\n sorCode = results.sor;\n dispatch(userChosenSOR(results?.sor));\n setEligible(\"none\");\n checkRepairEligibility(selectedReason);\n }\n \n dispatch(userChosenSOR(results?.sor));\n\n if (checkEnhancedEligibility) {\n try {\n // call Enhanced Repair Eligibility api\n const advancedPayload = {\n isEmergency:\n selectedReason[0]?.priority === \"Emergency\",\n sor: results.sor || undefined,\n channel: \"CustomerSelfService\",\n };\n const response =\n await api.postEnhancedRepairEligibility(\n advancedPayload\n );\n if (\n response?.isEligible === false &&\n response?.errorCode === \"E35\"\n ) {\n setIsOrbisBlockMsg(true);\n setErrorCode(\"\");\n }\n\n \n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push(\"/repairJourneyErrorPage\");\n }\n }\n } \n });\n }\n });\n });\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n } else {\n //call eligibility api\n checkRepairEligibility(selectedReason);\n }\n }\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n };\n\n const checkRepairEligibility = async (selectedReason: any) => {\n try {\n //call api and set errorMessage \n const eligibilityResponse = await api.getRepairEligibility(\n premisesType,\n maintsResp,\n repairResp,\n additionalRepairInfo,\n isRepairEligible,\n isCustomerView,\n sorCode,\n uprn,\n isInDefects,\n heatingRepairContext\n );\n dispatch(userChosenEligibilityErrorCode(eligibilityResponse));\n if (eligibilityResponse != null && eligibilityResponse.length > 0) {\n setIsLoading(false);\n if (isSelectedValue) { props.setButtonDisabled(false) }\n const isEligible = eligibilityResponse[0].isEligible;\n const error = isEligible\n ? eligibilityResponse[0].errorCode != EligibilityErrorCode.SSR037\n ? eligibilityResponse[0].errorCode != EligibilityErrorCode.E23\n ? \"\"\n : eligibilityResponse[0].errorCode\n : eligibilityResponse[0].errorCode\n : eligibilityResponse[0].errorCode;\n switch (error) { \n case EligibilityErrorCode.E3:\n setErrorCode(error);\n props.setButtonDisabled(true);\n setEligible(\"none\");\n break;\n case EligibilityErrorCode.E4:\n case EligibilityErrorCode.E8:\n case EligibilityErrorCode.SSR037:\n case EligibilityErrorCode.E21:\n case EligibilityErrorCode.E22:\n case EligibilityErrorCode.E23:\n case EligibilityErrorCode.E24:\n case EligibilityErrorCode.E25:\n case EligibilityErrorCode.SSR005:\n case EligibilityErrorCode.SSR069:\n setErrorCode(error);\n props.setButtonDisabled(true);\n setEligible(\"block\");\n break;\n default:\n if (isSelectedValue) { props.setButtonDisabled(false) }\n break;\n }\n\n if (!isRepairEligible) {\n setEligible(\"block\");\n } else {\n setEligible(\"none\");\n if (isSelectedValue) { props.setButtonDisabled(false) }\n }\n\n if (!isEligible) {\n if (\n error == EligibilityErrorCode.E2 &&\n selectedReason[0]?.additionalData[0]?.description != \"\"\n ) {\n setEligible(\"none\");\n if (isSelectedValue) { props.setButtonDisabled(false) }\n } else {\n setEligible(\"block\");\n props.setButtonDisabled(true);\n if (error == EligibilityErrorCode.E2)\n setErrorCode(EligibilityErrorCode.E2);\n }\n } else {\n if (\n eligibilityResponse[0].errorCode === EligibilityErrorCode.SSR037 ||\n eligibilityResponse[0].errorCode === EligibilityErrorCode.E23\n ) {\n setEligible(\"block\");\n }\n if (isSelectedValue) { props.setButtonDisabled(false) }\n }\n }\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n };\n\n const inputTextChangeHandler = (event: any, newValue: any) => { \n setSelectedValue(true);\n setRepairReasonEvent(event);\n if (EditState === true) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(isEditState(false));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n }\n setUserInput(newValue);\n dispatch(userChosenHighLevelDescription(newValue));\n setIsLoading(true);\n setIsOrbisBlockMsg(false);\n setData(props.suggestions);\n const raisedFormattedDate = moment(new Date()).format(\"YYYY-MM-DDTHH:mm:ss\");\n var repairPriorityReq = new RepairLocationPriorityPayload();\n const selectedReason = fetchedRepairReasonsSelection.filter(\n (reason: any) => reason.description === newValue\n );\n if (selectedReason?.length > 0 && selectedReason[0].sors.length > 0 && selectedReason[0].sors[0].sorCode) {\n selectedReason[0].sors[0].sorCode = getSorCode(selectedReason[0], supplimentaryCodes)\n }\n repairPriorityReq = {\n isEmergency: selectedReason[0].priority === \"Emergency\" ? true : false,\n repairType: selectedReason[0].sors[0].sorCode,\n isVulnerable: false,\n isRecall: false,\n isEMA: \"N\",\n description: selectedReason[0].description,\n channel: RepairChannel.CustomerSelfService,\n raisedDate: raisedFormattedDate,\n };\n \n (async () => {\n const repairPriority = (await api.postRepairPriority(repairPriorityReq))?.repairPriority; \n dispatch(repairPriorityValue(repairPriority));\n })().catch(err => {\n console.error(err);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n });\n };\n\n\n const suggestionClickHandler = (event: any, newInputValue: any) => {\n repairReasonChangeAction(event?.type, newInputValue);\n };\n\n useEffect(() => {\n suggestionClickHandler(repairReasonEvent, userInput);\n }, [isSelectedValue, repairReasonEvent, userInput]);\n\n const repairReasonChangeAction = (eventType: any, newInputValue:any) => {\n if (EditState === true) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(isEditState(false));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n }\n \n // NOTE \n // Keyboard type: suggestionClickHandler, which is fine\n // User Select from Drop down: suggestionClickHandler => inputTextChangeHandler => suggestionClickHandler\n\n // ie. Continue will be enabled for appropriate messageing when page is initialized\n props.setButtonDisabled((!isNullOrUndefined(eventType) && eventType != \"pageInit\"));\n if(!isNullOrUndefined(eventType) && (eventType != \"click\" || isSelectedValue == true)) {\n setSelectedValue(false)\n setInputValue(newInputValue);\n if (newInputValue != \"\") {\n props.setButtonDisabled(true)\n setData(props.suggestions);\n dispatch(userTypedRepairReasons(newInputValue));\n dispatch(userChosenSOR(\"\"));\n setErrorCode(\"\");\n setEligible(\"none\");\n getPremisesData(newInputValue);\n } else {\n // ie. Continue will be enabled for appropriate messageing when HLD is blank\n props.setButtonDisabled(false)\n }\n }\n }\n \n if (\n props.locatioAlert &&\n props.locatioAlert.length > 1 &&\n !inputValue &&\n (RepairLocationId == 0 ||\n RepairLocationId === \"No option selected global-txt\")\n ) {\n suggestionList = (\n
\n \n {props.locatioAlert[0]}\n \n \n \n {props.locatioAlert[1]}\n \n
\n );\n } \n else if(isOrbisBlockMsg){\n props.setButtonDisabled(true);\n suggestionList = (\n \n {t(\"OrbisBlockMsg1\")}
\n {t('OrbisBlockMsg2')} {t('OrbisBlockNumber')} {t('OrbisBlockMsg3')}\n
\n );\n }\n else if (\n props.locatioAlert &&\n props.locatioAlert.length == 1 &&\n (!inputValue ||\n RepairLocationId == 0 ||\n RepairLocationId === \"No option selected global-txt\")\n ) {\n suggestionList = (\n \n {props.locatioAlert}\n \n );\n } else if (!fetchedRepairReasonsData.length && inputValue) {\n props.setButtonDisabled(true);\n suggestionList = (\n \n {t(\"Repair_Reason_NoMatch_Message\")}\n \n );\n } else if (errorCode == EligibilityErrorCode.SSR037 && !inputValue) {\n let errorCodeArray: string[] = [];\n errorCodeArray = t(errorCode).split(\"?\");\n let errorCodeValue = errorCodeArray[0];\n errorCodeArray = errorCodeArray.slice(1);\n let items = errorCodeArray.map((item, index) =>\n errorCode == EligibilityErrorCode.SSR037 ? (\n \n
  • {item}
  • \n
    \n ) : (\n
  • {item}
  • \n )\n );\n suggestionList = (\n \n \n \n \n {errorCodeValue}\n {errorCode == EligibilityErrorCode.SSR037 ? (\n
      {items}
    \n ) : (\n
      {items}
    \n )}\n \n );\n } else if (\n (errorCode == EligibilityErrorCode.SSR037 ||\n errorCode == EligibilityErrorCode.E21) &&\n inputValue\n ) {\n let errorCodeArray: string[] = [];\n errorCodeArray = t(errorCode).split(\"?\");\n let errorCodeValue = errorCodeArray[0];\n errorCodeArray = errorCodeArray.slice(1);\n let items = errorCodeArray.map((item, index) =>\n errorCode == EligibilityErrorCode.SSR037 && [3, 4, 5].includes(index) ? (\n \n
  • {item}
  • \n
    \n ) : index === 2 && errorCode == EligibilityErrorCode.SSR037 ? (\n
  • \n {item.split(\":\")[0]}:{item.split(\":\")[1]}\n
  • \n ) : (\n
  • {item}
  • \n )\n );\n suggestionList = (\n \n
    \n
    \n \n
    \n
    \n

    \n {errorCodeValue}\n {errorCode == EligibilityErrorCode.SSR037 ? (\n

      {items}
    \n ) : (\n
      {items}
    \n )}\n

    \n\n
    \n
    \n \n );\n } else if (errorCode == EligibilityErrorCode.E23 && !inputValue) {\n suggestionList = (\n \n \n \n \n {t(errorCode)}\n \n );\n } else if (errorCode && inputValue) {\n suggestionList = (\n \n {t(errorCode)}\n \n );\n } else if (isLoading) {\n suggestionList = (\n \n );\n } \n\n return (\n <>\n
    \n
    {t(\"Repair_Reason_Main_Header_Text\")}
    \n \n {fetchedRepairReasonsData && (\n props.suggestions}\n options={props.suggestions}\n size=\"small\"\n renderInput={params => (\n
    \n \n
    \n )}\n />\n )}\n {suggestionList}\n
    \n \n );\n};\n\nconst getSorCode = (\n selectedReason: any,\n supplimentaryCodes: string[]\n): string => {\n const isTotalLossOfWaterWithSupplementaryCodes =\n selectedReason?.description === \"Total loss of water\" &&\n supplimentaryCodes?.includes(\"FISPUMPS02\");\n\n return isTotalLossOfWaterWithSupplementaryCodes\n ? \"COMPUMP\"\n : selectedReason?.sors?.[0]?.sorCode;\n};\n\n\nexport const heatingAttributeFromResponsibilities = (\n responsibilities: MaintenanceResponsibility[]\n) => {\n if (!responsibilities) return \"\";\n\n const elementsToCheck: readonly string[] = [\n \"HEAT\",\n \"HEATGAS\",\n \"HEATOIL\",\n \"HEATELEC\",\n ];\n return responsibilities\n .filter((resp) => elementsToCheck.includes(resp.type))\n .map((resp) => resp.value)\n .filter((value) => {\n const valueLowerCase = value?.toLowerCase();\n return (\n !!value &&\n valueLowerCase !== \"null\" &&\n valueLowerCase !== \"unknown\" &&\n valueLowerCase !== \"none\"\n );\n })\n .join(\"+\");\n};\n\nexport default RepairReason;\n","import React, { useEffect, useState } from \"react\";\nimport Modal from \"./index\";\nimport Button from \"../../storybook/Button\";\nimport { ModalProps } from \"react-bootstrap\";\nimport { useTranslation } from \"react-i18next\";\nimport * as api from \"../../api\";\nimport Clear from \"../../assets/img/Clear.png\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport {\n userChosenPropertyId,\n userChosenPropertyType,\n userChosenPropertyAddress,\n userChosenRepairLocationId,\n userChosenRepairLocation,\n userChosenHighLevelDescription,\n userChosenSupplementaryQuestions,\n userChosenEmergencyQuestion,\n userChosenDuplicateQuestion,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenCovidQuestion,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenContactDetails,\n userChosenUPRN,\n userChosenSOR,\n userChosenSTATUS,\n userChosenEligibilityErrorCode,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails\n} from \"../../ducks/redux/actions/userChoices\";\n\nconst ExitModalAndSave: React.FC = ({\n exit,\n saveDraftAndExit,\n closeAfterSaving,\n}) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const [isOpen, setIsOpen] = useState(false);\n const [disableSaveLeaveBtn, setDisableSaveLeaveBtn] = useState(true);\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n const userChosenSORValue = useSelector(\n (state: any) => state.userChoicesReducer.userChosenSOR\n );\n\n const clearUserStates = async () => {\n dispatch(userChosenPropertyId(\"\"));\n dispatch(userChosenPropertyType(\"\"));\n dispatch(userChosenPropertyAddress(\"\"));\n dispatch(userChosenRepairLocationId(0));\n dispatch(userChosenRepairLocation(\"\"));\n dispatch(userChosenHighLevelDescription(\"\"));\n dispatch(userChosenSupplementaryQuestions(\"\"));\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenUPRN(\"\"));\n dispatch(userChosenSOR(\"\"));\n dispatch(userChosenSTATUS(\"\"));\n dispatch(userChosenEligibilityErrorCode(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n exit();\n setIsOpen(false);\n if (workOrderObject) {\n const getWorkOrderResult: any = await api.getRepair(workOrderObject.id);\n await api.deleteWorkOrder(\n workOrderObject.id,\n getWorkOrderResult?.eTag?.toString()\n );\n }\n };\n\n useEffect(() => {\n if (closeAfterSaving) {\n setIsOpen(false);\n }\n }, [closeAfterSaving]);\n\n useEffect(() => {\n const urlRepairLoc = window.location.pathname.slice(\n 1,\n window.location.pathname.length\n );\n setDisableSaveLeaveBtn(\n userChosenSORValue === \"\" && urlRepairLoc === \"repairlocation\"\n );\n }, [userChosenSORValue]);\n\n const triggerCancelButton = () => {\n const cancelButton = document.querySelector(\n 'img.cursor-pointer[alt=\"Cancel\"]'\n );\n if (cancelButton) {\n (cancelButton as HTMLElement).click();\n }\n };\n\n return (\n <>\n setIsOpen(true)}\n onKeyDown={() => setIsOpen(true)}\n >\n \n \"Exit\"\n \n \n {isOpen && (\n \n
    \n
    \n setIsOpen(false)}\n onKeyDown={() => setIsOpen(false)}\n />\n
    \n

    \n {t(\"SSR030ai\")}\n

    \n

    {t(\"SSR030aii\")}

    \n
    \n
    \n
    \n
    \n setIsOpen(false)}\n >\n {t(\"return_repair_button\")}\n \n
    \n
    \n \n {t(\"leave_button\")}\n \n {\n saveDraftAndExit();\n setTimeout(() => triggerCancelButton(), 0);\n }}\n className=\"primary-btn btn-padding\"\n >\n {t(\"save_and_exit_button\")}\n \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n );\n};\n\nexport default ExitModalAndSave;\n","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { \n FormControlLabel,\n Radio,\n} from \"@material-ui/core\";\nimport * as api from \"../../api\";\n\nimport Loader from \"react-loader-spinner\";\nimport { \n updateDashboardForm,\n fetchRepairReasons,\n fetchRepairReasonsSelect,\n} from \"../../ducks/redux/actions/dashboardReducer.actions\";\nimport RepairReason2 from \"./index2\";\nimport \"./index.scss\";\n\nimport { RouteComponentProps, useLocation } from \"react-router-dom\";\nimport Button from \"../../storybook/Button\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\nimport { CurrentRepair } from \"../../models/Repair/Repair\";\nimport { PremisesTypeId } from \"../../models/Customer/Premises\";\nimport { Address, CustomerName } from \"../../models/Customer\";\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport { workOrderRepairObject } from \"../../ducks/redux/actions/getAddress\";\nimport BackModal from \"../Modal/BackModal\";\nimport {\n userChosenSupplementaryQuestions,\n userChosenEmergencyQuestion,\n userChosenDuplicateQuestion,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenCovidQuestion,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n resumeDraftRepair, \n userCreatedNewRepair,\n userChosenResumeRepair,\n userChosenRepairLocationId,\n userChosenHighLevelDescription,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\nimport { RepairPriority } from \"../../models/Repair/CreateRepair\";\n\ninterface RepairReasonProps extends RouteComponentProps { }\n\nconst RepairReason: React.FC = (props) => {\n const dispatch = useDispatch();\n \n enum RepairReportingMethods {\n \"Telephone\" = 1,\n \"Email\" = 2,\n \"Social media\" = 3,\n \"Customer Self-Serve\" = 4,\n }\n const [selectedreportingMethod, setSelectedreportingMethod] = useState(\n \"Customer Self-Serve\"\n );\n const { t } = useTranslation();\n\n const [isLoading, setIsLoading] = useState(false);\n const [repairLocation, setRepairLocation] = useState(\"\");\n\n const [isDisabled, setButtonDisabled] = useState(true);\n const [chosenHL, setChosenHL] = useState(\"\");\n const [locatioAlert, setLocatioAlert] = useState([]);\n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n let alertMstArray: any[] = [];\n let SaveandExitFlag = false;\n const addresses = useSelector(\n (state: any) => state.addresses?.customerassociatedassets\n );\n\n const fetchedRepairReasons = useSelector(\n (state: any) => state.dashboardReducer.formState?.fetchedRepairReasons\n );\n\n const userTypedRepairReasons = useSelector(\n (state: any) => state.dashboardReducer.formState?.userTypedRepairReasons\n );\n\n const userChosenPropertyType = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n\n const userChosenRepairLocationIdValue = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenRepairLocationId\n );\n\n const selectedRepairReasonObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject\n );\n\n const userChosenUPRN = useSelector(\n (state: any) => state.userChoicesReducer.userChosenUPRN\n );\n\n const tenanciesData = useSelector(\n (state: any) => state.addresses.customertenancies\n );\n const customerDetails = useSelector(\n (state: any) => state.addresses.saveCustomerDetails\n );\n\n const assetId = useSelector(\n (state: any) => state?.dashboardReducer?.formState?.customerID?.assetId\n ); \n\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n \n const selectedproperty = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n const priority = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject[0]\n ?.priority\n );\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n\n const resumeDraftRepairVal = useSelector(\n (state: any) => state.userChoicesReducer.resumeDraftRepair\n );\n const userResumeDraftDataCache = useSelector(\n (state: any) => state.userChoicesReducer.userResumeDraftDataCache\n );\n\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n\n const isCatalyst = useSelector(\n (state: any) => state.userChoicesReducer?.isCatalystCustomer\n );\n\n const eligibilityResponseObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.eligibilityResponseObject\n );\n const userChosenSOR = useSelector(\n (state: any) => state.userChoicesReducer.userChosenSOR\n );\n const repairPriority = useSelector(\n (state: any) => state.userChoicesReducer?.repairPriority\n );\n \n const workOrderRepair = new CurrentRepair();\n enum RepairCauseId {\n \"General Wear and Tear\" = 1,\n \"Vandalism or Damage\" = 4,\n }\n const _premisesTypeId: any =\n PremisesTypeId[selectedproperty as keyof typeof PremisesTypeId];\n workOrderRepair.repairReason = selectedRepairReasonObject[0]?.description;\n workOrderRepair.description = selectedRepairReasonObject[0]?.description;\n\n workOrderRepair.premisesId = assetId;\n if (selectedproperty === \"Divided Block\") {\n workOrderRepair.premisesTypeId = \"5\";\n } else {\n workOrderRepair.premisesTypeId = _premisesTypeId;\n }\n workOrderRepair.customerIdentifier = customerID;\n workOrderRepair.isEmergency = priority == RepairPriority.Emergency;\n workOrderRepair.premisesUniqueReference = userChosenUPRN;\n const _address = new Address();\n _address.addressLine1 =\n customerDetails?.addresses?.postalAddresses[0]?.addressLine1;\n _address.addressLine2 =\n customerDetails?.addresses?.postalAddresses[0]?.addressLine2;\n _address.addressLine3 =\n customerDetails?.addresses?.postalAddresses[0]?.addressLine3;\n workOrderRepair.premisesAddress = _address;\n workOrderRepair.sorCode = selectedRepairReasonObject[0]?.sors[0]?.sorCode;\n workOrderRepair.customerName = new CustomerName({\n title: customerDetails?.person?.name?.title,\n givenName: customerDetails?.person?.name?.givenName,\n surname: customerDetails?.person?.name?.surname,\n });\n workOrderRepair.reportingMethodId =\n RepairReportingMethods[\n selectedreportingMethod as keyof typeof RepairReportingMethods\n ];\n workOrderRepair.reportingMethod = selectedreportingMethod;\n\n workOrderRepair.notifyAll = false;\n workOrderRepair.eTag = customerDetails?.eTag; \n workOrderRepair.eligibilityOutcomes = [];\n workOrderRepair.assetIdentifier = tenanciesData?.premisesIds;\n workOrderRepair.repairLocationId = userChosenRepairLocationIdValue;\n workOrderRepair.repairCause = \"General Wear and Tear\";\n workOrderRepair.priority = repairPriority\n workOrderRepair.repairCauseId =\n RepairCauseId[workOrderRepair.repairCause as keyof typeof RepairCauseId];\n const _worksOrderRequest = new WorksOrderRequest(workOrderRepair);\n const woRequestParameters =\n _worksOrderRequest.createWorkOrderParameter(workOrderRepair);\n\n const CreateWorkOrder = async () => {\n try { \n setIsLoading(true);\n if (!chosenHL) {\n woRequestParameters.repairReason = \"\";\n woRequestParameters.description = \"\";\n }\n if(userChosenSOR===\"N/A\"){\n woRequestParameters.sorCode = \"NA\";\n workOrderRepair.sorCode =\"NA\";\n }\n else {\n woRequestParameters.sorCode = userChosenSOR;\n workOrderRepair.sorCode =userChosenSOR;\n }\n woRequestParameters.isCatalyst = isCatalyst;\n woRequestParameters.isInDefect = eligibilityResponseObject?.statuses.isInDefects\n const apiResponse = await api.createWorkOrderRepair({\n ...woRequestParameters,\n });\n\n if (apiResponse?.location.length > 0) {\n const workorderLocation = apiResponse?.location.split(\"/\");\n workOrderRepair.id = workorderLocation[4];\n workOrderRepair.worksOrderIdentifier = workorderLocation[4];\n workOrderRepair.isCatalyst = isCatalyst;\n dispatch(workOrderRepairObject(workOrderRepair));\n dispatch(userCreatedNewRepair(workOrderRepair));\n }\n updateWODirectToNextPage();\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n }\n };\n const backButtonHandler = () => {\n if (!resumeDraftRepairVal) {\n dispatch(userChosenRepairLocationId(0));\n dispatch(userChosenHighLevelDescription(\"\"));\n }\n props.history.push(\"/repairasset\");\n };\n\n const UpdateWorkOrder = async () => {\n try {\n setIsLoading(true);\n if (workOrderObject.id.trim().length > 0 && EditState != true) {\n\n const getWorkOrderResult: any = await api.getRepair(workOrderObject.id);\n const deleteWorkOrderResponse: any = await api.deleteWorkOrder(workOrderObject.id, getWorkOrderResult.eTag.toString()); \n Promise.all([getWorkOrderResult,deleteWorkOrderResponse]).then(async (results) => {\n const workOrderRepair = new CurrentRepair();\n enum RepairCauseId {\n \"General Wear and Tear\" = 1,\n \"Vandalism or Damage\" = 4,\n }\n const _premisesTypeId: any =\n PremisesTypeId[selectedproperty as keyof typeof PremisesTypeId];\n workOrderRepair.repairReason = selectedRepairReasonObject[0]?.description;\n workOrderRepair.description = selectedRepairReasonObject[0]?.description;\n\n workOrderRepair.premisesId = assetId;\n if (selectedproperty === \"Divided Block\") {\n workOrderRepair.premisesTypeId = \"5\";\n } else {\n workOrderRepair.premisesTypeId = _premisesTypeId;\n }\n workOrderRepair.customerIdentifier = customerID;\n workOrderRepair.isEmergency = priority == RepairPriority.Emergency;\n workOrderRepair.premisesUniqueReference = userChosenUPRN;\n const _address = new Address();\n _address.addressLine1 =\n customerDetails?.addresses?.postalAddresses[0]?.addressLine1;\n _address.addressLine2 =\n customerDetails?.addresses?.postalAddresses[0]?.addressLine2;\n _address.addressLine3 =\n customerDetails?.addresses?.postalAddresses[0]?.addressLine3;\n workOrderRepair.premisesAddress = _address;\n workOrderRepair.sorCode = selectedRepairReasonObject[0]?.sors[0]?.sorCode;\n workOrderRepair.customerName = new CustomerName({\n title: customerDetails?.person?.name?.title,\n givenName: customerDetails?.person?.name?.givenName,\n surname: customerDetails?.person?.name?.surname,\n });\n workOrderRepair.reportingMethodId =\n RepairReportingMethods[\n selectedreportingMethod as keyof typeof RepairReportingMethods\n ];\n workOrderRepair.reportingMethod = selectedreportingMethod;\n workOrderRepair.priority = repairPriority\n workOrderRepair.notifyAll = false;\n workOrderRepair.eTag = customerDetails?.eTag; // Need to verify\n workOrderRepair.eligibilityOutcomes = [];\n workOrderRepair.assetIdentifier = tenanciesData?.premisesIds;\n workOrderRepair.repairLocationId = userChosenRepairLocationIdValue;\n workOrderRepair.repairCause = \"General Wear and Tear\";\n\n workOrderRepair.repairCauseId =\n RepairCauseId[workOrderRepair.repairCause as keyof typeof RepairCauseId];\n workOrderRepair.isInDefect = eligibilityResponseObject?.statuses.isInDefects;\n const _worksOrderRequest = new WorksOrderRequest(workOrderRepair);\n const woRequestParameters =\n _worksOrderRequest.createWorkOrderParameter(workOrderRepair);\n woRequestParameters.repairReason =\n selectedRepairReasonObject[0]?.description;\n woRequestParameters.description =\n selectedRepairReasonObject[0]?.description;\n\n woRequestParameters.isCatalyst = isCatalyst;\n woRequestParameters.isInDefect = eligibilityResponseObject?.statuses.isInDefects\n woRequestParameters.isEmergency = priority == RepairPriority.Emergency; \n \n const apiResponse = await api.createWorkOrderRepair({\n ...woRequestParameters,\n });\n\n if (apiResponse?.location.length > 0) {\n const workorderLocation = apiResponse?.location.split(\"/\");\n workOrderRepair.id = workorderLocation[4];\n workOrderRepair.worksOrderIdentifier = workorderLocation[4];\n dispatch(workOrderRepairObject(workOrderRepair));\n }\n workOrderRepair.repairReason = selectedRepairReasonObject[0]?.description;\n workOrderRepair.description = selectedRepairReasonObject[0]?.description;\n dispatch(workOrderRepairObject(workOrderRepair));\n dispatch(userCreatedNewRepair(workOrderRepair));\n updateWODirectToNextPage();\n });\n }\n else {\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n woRequestParameters.repairReason =\n selectedRepairReasonObject[0]?.description;\n woRequestParameters.description =\n selectedRepairReasonObject[0]?.description;\n\n await api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n\n workOrderObject.repairReason = selectedRepairReasonObject[0]?.description;\n workOrderObject.description = selectedRepairReasonObject[0]?.description;\n dispatch(workOrderRepairObject(workOrderObject));\n dispatch(userCreatedNewRepair(workOrderRepair));\n updateWODirectToNextPage();\n }\n \n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n setButtonDisabled(false);\n }\n };\n\n const updateWODirectToNextPage = () => {\n if(SaveandExitFlag){\n props.history.push(\"/customer360View\");\n }\n else{\n props.history.push(\"/supplementaryquestion\");\n }\n }\n\n useEffect(() => {\n (async function () {\n try {\n if (userTypedRepairReasons !== null && userTypedRepairReasons.length > 1) {\n const premiseType =\n userChosenPropertyType === \"Block\" ||\n userChosenPropertyType === \"Estate\" ||\n userChosenPropertyType === \"Divided Block\" ||\n userChosenPropertyType === \"Divided block\"\n ? \"Communal\"\n : userChosenPropertyType;\n const responsedata = await api.searchRepairReasons(\n userTypedRepairReasons,\n premiseType,\n isCatalyst\n );\n dispatch(fetchRepairReasonsSelect(responsedata));\n const extractedReasons: string[] = [];\n responsedata.map((eachData, key) => {\n const { description } = eachData;\n extractedReasons.push(description);\n }); \n dispatch(fetchRepairReasons(extractedReasons));\n }\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n })();\n }, [addresses, userTypedRepairReasons]);\n\n useEffect(() => {\n if (userChosenRepairLocationIdValue) {\n setRepairLocation(userChosenRepairLocationIdValue); \n }\n alertMstArray = [];\n setLocatioAlert([]);\n dispatch(userCreatedNewRepair(null));\n SaveandExitFlag = false;\n }, []);\n\n //redux data to check radio button selection\n const updateSelection = (e: any) => {\n dispatch(\n updateDashboardForm({\n selected: e.target.value,\n })\n );\n };\n //ends here\n\n let fieldsArray: any[] = [];\n addresses?.forEach((address: any) => {\n const addressValue =\n address?.addresses?.postalAddresses[0]?.formattedAddress;\n\n fieldsArray.push(\n }\n label={addressValue}\n />\n );\n });\n\n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const saveDraftAndExit = () => {\n SaveandExitFlag =true;\n workOrderObject == null ? CreateWorkOrder() : UpdateWorkOrder();\n };\n\n const getMandatoryData = (data: any) => {\n setChosenHL(data);\n };\n\n const callPageHandler = () => {\n if (resumeDraftRepairVal) {\n const { repairLocationId, repairReason } = userResumeDraftDataCache;\n if (\n userChosenRepairLocationIdValue !== repairLocationId ||\n chosenHL !== repairReason\n ) {\n dispatch(resumeDraftRepair(false));\n dispatch(userChosenSupplementaryQuestions(\"\"));\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n }\n if(repairLocationId == \"\" || repairReason == \"\")\n {\n if (workOrderObject.id.trim().length > 0) {\n workOrderObject.repairLocationId = userChosenRepairLocationIdValue;\n workOrderObject.repairReason = selectedRepairReasonObject[0]?.description;\n workOrderObject.description = selectedRepairReasonObject[0]?.description;\n }\n dispatch(userChosenResumeRepair(false));\n dispatch(workOrderRepairObject(workOrderObject));\n dispatch(userCreatedNewRepair(workOrderObject));\n props.history.push(\"/supplementaryquestion\");\n return;\n }\n }\n\n if (\n !chosenHL &&\n (userChosenRepairLocationIdValue == 0 ||\n userChosenRepairLocationIdValue === \"No option selected global-txt\")\n ) {\n alertMstArray.push(t(\"SSR051\"));\n alertMstArray.push(t(\"SSR052\"));\n setLocatioAlert(alertMstArray);\n return;\n } else if (\n userChosenRepairLocationIdValue == 0 ||\n userChosenRepairLocationIdValue === \"No option selected global-txt\"\n ) {\n alertMstArray.push(t(\"SSR051\"));\n setLocatioAlert(alertMstArray);\n return;\n } else if (!chosenHL || (!chosenHL && userChosenRepairLocationIdValue)) {\n alertMstArray.push(t(\"SSR052\"));\n setLocatioAlert(alertMstArray);\n return;\n }\n\n alertMstArray = [];\n setLocatioAlert([]);\n\n //logic to create/update workorder \n workOrderObject == null ? CreateWorkOrder() : UpdateWorkOrder(); \n \n };\n\n return (\n <>\n
    \n \n
    \n {isLoading && (\n
    \n \n
    \n )\n }\n
    \n
    \n
    \n \n \n
    \n
    \n \n {t(\"continuen_button\")}\n \n
    \n
    \n
    \n \n );\n};\n\nexport default RepairReason;\n","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { AnyIfEmpty, useDispatch, useSelector } from \"react-redux\";\n\nimport { Container } from \"@material-ui/core\";\nimport * as api from \"../../api\";\nimport { useHistory } from \"react-router-dom\";\nimport Loader from \"react-loader-spinner\";\n\nimport RepairReason from \"../../compositions/RepairReason/index\";\nimport { showFooter, userChosenRepairLocation, userChosenRepairLocationId } from \"../../ducks/redux/actions/userChoices\";\nimport { RouteComponentProps } from \"react-router-dom\";\n\nimport axios from 'axios';\nimport {\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n isEditState,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenDuplicateQuestion,\n userChosenEmergencyQuestion\n} from \"../../ducks/redux/actions/userChoices\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\n\ninterface RepairLocationProps extends RouteComponentProps { }\n\nconst RepairLocation: React.FC = (props) => {\n const dispatch = useDispatch();\n const history = useHistory();\n\n const { t } = useTranslation();\n const array: any[] = [];\n\n const [addresses, setAddresses] = useState(array);\n const [isLoading, setIsLoading] = useState(true);\n const [disabled, setdisabled] = useState(false);\n\n const [repairLocation, setRepairLocation] = useState(\"\");\n const [change, setChange] = useState(0);\n\n const userChosenPropertyType = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n const userChosenRepairLocationIdBackButton = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenRepairLocationId\n );\n\n const resumeDraftRepair = useSelector((state: any) => state.userChoicesReducer.resumeDraftRepair);\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n useEffect(() => {\n if (userChosenRepairLocationIdBackButton) {\n setRepairLocation(userChosenRepairLocationIdBackButton);\n setdisabled(true);\n }\n }, []);\n\n useEffect(() => {\n let referenceDataresponsed;\n (async function () {\n try {\n //call reference data api\n const namespacenames = userChosenPropertyType;\n\n const premiseType =\n namespacenames === \"Estate\" ? \"estate\" :\n namespacenames === \"Divided Block\" || namespacenames === \"Divided block\" ? \"divided-block\" : namespacenames;\n\n referenceDataresponsed = await api.getReferenceData(\n premiseType as string\n );\n\n\n let keyValuePairs: any = \"\";\n if (referenceDataresponsed) {\n keyValuePairs =\n referenceDataresponsed[0]?.namespaces[0]?.namespace?.keyValues;\n setAddresses(keyValuePairs);\n }\n\n setIsLoading(false);\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n })();\n }, []);\n\n\n let fieldsArray: any[] = [];\n let arrayObject = Object.entries(addresses);\n arrayObject.sort((a, b) => a[1].localeCompare(b[1]))\n arrayObject.map((eachLocation, key) => {\n\n fieldsArray.push(\n \n );\n });\n\n\n \n\n\n const handleChange = (e: any) => {\n setdisabled(true);\n if (repairLocation != e.target.value) {\n if (EditState === true) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(isEditState(false));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n }\n setRepairLocation(e.target.value);\n dispatch(userChosenRepairLocationId(e.target.value));\n const selectedvalues = addresses[e.target.value];\n dispatch(userChosenRepairLocation(selectedvalues));\n setdisabled(true);\n }\n };\n\n\n return (\n <>\n \n \n \n \n {isLoading ? (\n \n ) : (\n
    \n

    \n {t(\"repair_location_label\")}\n

    \n \n
    \n
    Location
    \n \n
    \n \n
    \n )}\n\n{}\n \n \n \n \n
    \n \n );\n};\n\nexport default RepairLocation;\n","import React, { useState, useEffect } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Loader from \"react-loader-spinner\";\nimport {\n Container,\n RadioGroup,\n FormControlLabel,\n Radio,\n} from \"@material-ui/core\";\n\nimport {\n updateRouteHistory,\n userChosenSupplementaryQuestions,\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n isEditState,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenDuplicateQuestion,\n userChosenEmergencyQuestion,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\nimport { RouteComponentProps, useHistory } from \"react-router-dom\";\nimport * as api from \"../../api\";\nimport { CurrentRepair } from \"../../models/Repair/Repair\";\nimport { PremisesTypeId } from \"../../models/Customer/Premises\";\nimport { Address, CustomerName } from \"../../models/Customer\";\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport { workOrderRepairObject } from \"../../ducks/redux/actions/getAddress\";\n\nimport Button from \"../../storybook/Button\";\nimport BackModal from \"../Modal/BackModal\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\nimport { resetUserChoicesWithNewChange } from \"../../ducks/redux/actions/userChoices\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\nimport Message from \"../../storybook/Message\";\n\ninterface SupplementaryQuestionProps extends RouteComponentProps { }\nconst SupplementaryQuestion: React.FC = (props) => {\n const dispatch = useDispatch();\n const history = useHistory();\n const { t } = useTranslation();\n const [radioValue, setRadioValue] = useState(\"\");\n const [isDisabled, setButtonDisabled] = useState(false);\n const [HLRepair, setHLRepair] = useState(\"\");\n const [subQuestion, setSubQuestion] = useState(\"\");\n const [isLoading, setIsLoading] = useState(false);\n\n const [errorMessage, setErrorMessage] = useState();\n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n\n const selectedRepairReasonObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject\n );\n\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n\n const userChosenSupplementaryQuestionsVal = useSelector(\n (state: any) => state.userChoicesReducer.userChosenSupplementaryQuestions\n );\n\n const selectedproperty = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n const assetId = useSelector(\n (state: any) => state?.dashboardReducer?.formState?.customerID?.assetId\n );\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const userChosenEmergencyQuestionVal = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenEmergencyQuestion\n );\n const userChosenRepairLocationId = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenRepairLocationId\n );\n const priority = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject[0]\n ?.priority\n );\n const userChosenUPRN = useSelector(\n (state: any) => state.userChoicesReducer.userChosenUPRN\n );\n const tenanciesData = useSelector(\n (state: any) => state.addresses.customertenancies\n );\n const customerDetails = useSelector(\n (state: any) => state.addresses.saveCustomerDetails\n );\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n\n const priorityCodeValue = useSelector(\n (state: any) => state.userChoicesReducer?.repairPriority\n );\n\n const resumeDraftRepair = useSelector((state: any) => state.userChoicesReducer.resumeDraftRepair);\n\n const resumeDraftRepairVal = useSelector((state: any) => state.userChoicesReducer.resumeDraftRepair);\n const userResumeDataVal = useSelector((state: any) => state.userChoicesReducer.userResumeData);\n const userResumeDraftDataCache = useSelector((state: any) => state.userChoicesReducer.userResumeDraftDataCache);\n\n useEffect(() => {\n if(isUndefinedNullOrEmpty(loggedInStatus))\n {\n props.history.push(\"/startpage\");\n return;\n }\n if (props.history.action === \"POP\") {\n setRadioValue(userChosenSupplementaryQuestionsVal);\n setButtonDisabled(false);\n }\n\n if (resumeDraftRepairVal) {\n if (userResumeDataVal?.resumeHLRepair) {\n setHLRepair(userResumeDataVal?.resumeHLRepair);\n setSubQuestion(userResumeDataVal?.resumeHLSubQuestion);\n userChosenSupplementaryQuestionsVal === 'Yes' ? setRadioValue('Yes') :\n userChosenSupplementaryQuestionsVal === 'No' ? setRadioValue('No') :\n setRadioValue('');\n } else {\n props.history.replace(\"/repairemergency\");\n }\n } else {\n if (\n selectedRepairReasonObject[0]?.additionalData &&\n selectedRepairReasonObject[0]?.additionalData.length &&\n selectedRepairReasonObject[0]?.additionalData[0]?.description != \"\"\n ) {\n setHLRepair(selectedRepairReasonObject[0]?.description);\n setSubQuestion(\n selectedRepairReasonObject[0]?.additionalData[0]?.description\n );\n userChosenSupplementaryQuestionsVal === 'Yes' ? setRadioValue('Yes') :\n userChosenSupplementaryQuestionsVal === 'No' ? setRadioValue('No') :\n setRadioValue('');\n } else {\n props.history.replace(\"/repairemergency\");\n }\n }\n }, []);\n\n let emergencyState = false;\n if (selectedproperty === \"Property\" && priority === \"Emergency\") {\n if (userChosenEmergencyQuestionVal === \"Yes, I can provide access\") {\n emergencyState = true;\n } else {\n emergencyState = false;\n }\n } else {\n if (priority === \"Emergency\" || priority === \"Emergency (OOH)\") {\n emergencyState = true;\n } else {\n emergencyState = false;\n }\n }\n\n const workOrderRepair = new CurrentRepair();\n\n const _premisesTypeId: any =\n PremisesTypeId[selectedproperty as keyof typeof PremisesTypeId];\n workOrderRepair.repairReason = selectedRepairReasonObject[0]?.description;\n workOrderRepair.description = selectedRepairReasonObject[0]?.description;\n\n workOrderRepair.premisesId = assetId;\n if (selectedproperty === \"Divided Block\") {\n workOrderRepair.premisesTypeId = \"5\";\n } else {\n workOrderRepair.premisesTypeId = _premisesTypeId;\n }\n\n workOrderRepair.isEmergency = emergencyState;\n workOrderRepair.premisesUniqueReference = userChosenUPRN;\n const _address = new Address();\n _address.addressLine1 =\n customerDetails?.addresses?.postalAddresses[0]?.addressLine1;\n _address.addressLine2 =\n customerDetails?.addresses?.postalAddresses[0]?.addressLine2;\n _address.addressLine3 =\n customerDetails?.addresses?.postalAddresses[0]?.addressLine3;\n workOrderRepair.premisesAddress = _address;\n selectedRepairReasonObject[0]?.sors !== undefined\n ? (workOrderRepair.sorCode =\n selectedRepairReasonObject[0]?.sors[0]?.sorCode)\n : (workOrderRepair.sorCode = \"\");\n workOrderRepair.customerName = new CustomerName({\n title: customerDetails?.person?.name.title,\n givenName: customerDetails?.person?.name.givenName,\n surname: customerDetails?.person?.name.surname,\n });\n\n workOrderRepair.notifyAll = false;\n workOrderRepair.eTag = customerDetails?.eTag; // Need to verify\n workOrderRepair.eligibilityOutcomes = [];\n workOrderRepair.assetIdentifier = tenanciesData?.premisesIds;\n workOrderRepair.repairLocationId = userChosenRepairLocationId;\n const _worksOrderRequest = new WorksOrderRequest(workOrderRepair);\n const woRequestParameters =\n _worksOrderRequest.createWorkOrderParameter(workOrderRepair);\n\n const CreateWorkOrder = async () => {\n try {\n setIsLoading(true);\n if (radioValue === \"Yes\") {\n woRequestParameters.isSupplementary = true;\n workOrderObject.isSupplementary = true;\n } else if (radioValue === \"No\") {\n woRequestParameters.isSupplementary = false;\n workOrderObject.isSupplementary = false;\n } \n const apiResponse = await api.createWorkOrderRepair({\n ...woRequestParameters,\n });\n dispatch(workOrderRepairObject(workOrderRepair));\n if (apiResponse?.location.length > 0) {\n const workorderLocation = apiResponse?.location.split(\"/\");\n workOrderRepair.id = workorderLocation[4];\n workOrderRepair.worksOrderIdentifier = workorderLocation[4];\n dispatch(workOrderRepairObject(workOrderRepair));\n }\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n }\n };\n\n const UpdateWorkOrder = async () => {\n try {\n setIsLoading(true);\n workOrderObject.priority = priorityCodeValue;\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n woRequestParameters.repairReason =\n selectedRepairReasonObject[0]?.description;\n woRequestParameters.description =\n selectedRepairReasonObject[0]?.description;\n if (radioValue === \"Yes\") {\n woRequestParameters.isSupplementary = true;\n workOrderObject.isSupplementary = true;\n } else if (radioValue === \"No\") {\n woRequestParameters.isSupplementary = false;\n workOrderObject.isSupplementary = false;\n }\n \n await api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n\n workOrderObject.repairReason = selectedRepairReasonObject[0]?.description;\n\n workOrderObject.description = selectedRepairReasonObject[0]?.description;\n dispatch(workOrderRepairObject(workOrderObject));\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n setButtonDisabled(false);\n }\n };\n\n const backButtonHandler = () => {\n props.history.push(\"/repairlocation\");\n };\n\n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const saveDraftAndExit = () => {\n if (radioValue === \"\") {\n props.history.replace(\"/customer360View\");\n }\n\n setCloseAfterSaving(true);\n workOrderObject == null ? CreateWorkOrder() : UpdateWorkOrder();\n\n props.history.replace(\"/customer360View\");\n };\n\n const callPageHandler = () => {\n if (resumeDraftRepairVal) {\n const { supplementaryQuestions } = userResumeDraftDataCache;\n if (supplementaryQuestions !== radioValue) {\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n }\n }\n\n if (radioValue === \"\") {\n setErrorMessage(\n
    \n \n {t(\"SSR053\")}\n \n
    \n );\n return;\n }\n\n if (!resumeDraftRepairVal) {\n workOrderObject == null ? CreateWorkOrder() : UpdateWorkOrder();\n }\n props.history.push(\"/repairemergency\");\n };\n\n const handleRadioChange = (event: any) => {\n setRadioValue(event.target.value);\n if (EditState === true) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n // dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(isEditState(false));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n }\n if (event.target.value === \"No\") {\n setErrorMessage(\n
    \n \n {t(\"SSR057\")}\n \n
    \n \n );\n setButtonDisabled(true);\n } else if (event.target.value === \"Yes\") {\n setErrorMessage(\"\");\n setButtonDisabled(false);\n }\n dispatch(userChosenSupplementaryQuestions(event.target.value));\n };\n\n return (\n <>\n \n \n
    \n \n { t(HLRepair)}\n \n \n {errorMessage}\n \n \n
    \n \n {isLoading ? (\n \n ) : (\n <>\n \n
    \n

    \n {subQuestion}\n

    \n \n }\n label=\"Yes\" />\n }\n label=\"No\" />\n \n \n
    \n \n \n\n
    \n
    \n
    \n \n\n \n
    \n
    \n \n {t(\"continuen_button\")}\n \n
    \n
    \n
    \n \n )}\n \n
    \n );\n};\n\nexport default SupplementaryQuestion;\n","export class Helper {\n static ValidationRegex = {\n NumericOnly: /^[+0-9]+$/, // Regex for numeric input (phone number)\n AlphabetWithSpecialChars: /^[-A-Za-z' \\b]+$/, // Regex for name input\n All_Special_Chars_Allowed: /^[A-Za-z0-9\\s|.,_@+#%'\\-()^`~=¬£€\\\\/[\\]?:;\"{}]*$/,//All Special Chars Allowed - .()%@:?@#%:\"'',./?|]{}~`-=+\n };\n\n static LengthValidation = {\n CrimeReferenceNumber: {\n Minimum: 3,\n Maximum: 20,\n },\n };\n\n static validateMinLength(\n t: (key: string, params?: Record) => string,\n value: string,\n fieldName: string,\n minLength: number\n ): string | null {\n if (value.length < minLength) {\n return t(\"minimum_length\", {\n field: fieldName,\n min: minLength,\n });\n }\n return null;\n }\n\n static validateMaxLength(\n t: (key: string, params?: Record) => string,\n value: string,\n fieldName: string,\n maxLength: number\n ): string | null {\n if (value.length > maxLength) {\n return t(\"maximum_length\", {\n field: fieldName,\n max: maxLength,\n });\n }\n return null;\n }\n\n static validateInvalidCharacters(\n t: (key: string, params?: Record) => string,\n value: string,\n fieldName: string,\n regex: RegExp\n ): string | null {\n if (!regex.test(value)) {\n return t(\"invalid_characters\", {\n field: fieldName,\n });\n }\n return null;\n }\n}\n","import { RadioGroup, FormControlLabel, Radio } from \"@material-ui/core\";\nimport React, { useState, useEffect } from \"react\";\nimport \"../../compositions/VandalismQuestion/index.scss\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { workOrderRepairObject } from \"../../ducks/redux/actions/getAddress\";\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport * as api from \"../../api\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport Button from \"../../storybook/Button\";\nimport Loader from \"react-loader-spinner\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\nimport BackModal from \"../Modal/BackModal\";\nimport {\n userChosenVandalismAdditionalInformation,\n userChosenVandalismQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n userChosenVulnerabilityAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userChosenCovidQuestion,\n isEditState,\n resumeDraftRepair,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\nimport Message from \"../../storybook/Message\";\nimport { Helper } from \"../../utils/Helper/HelperUtil\";\n\ninterface VandalismQuestionProps extends RouteComponentProps {}\nconst VandalismQuestion: React.FC = (props) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const [eligible, setEligible] = useState(\"none\");\n const [radioValue, setRadioValue] = useState(\"No\");\n const [crimeRefValue, setCrimeRefValue] = useState(\"\");\n const [isLoading, setIsLoading] = useState(false);\n const [buttondisable, setButtonDisable] = useState(false);\n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n const [error, setError] = useState(\"\");\n\n enum RepairCauseId {\n \"General Wear and Tear\" = 1,\n \"Vandalism or Damage\" = 4,\n }\n const userChosenVandalismQuestionBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenVandalismQuestion\n );\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n const userChosenVandalismAdditionalInformationBackButton = useSelector(\n (state: any) =>\n state.userChoicesReducer.userChosenVandalismAdditionalInformation\n );\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n\n const priorityCodeValue = useSelector(\n (state: any) => state.userChoicesReducer?.repairPriority\n );\n\n const resumeDraftRepairVal = useSelector(\n (state: any) => state.userChoicesReducer.resumeDraftRepair\n );\n const userResumeDraftDataCache = useSelector(\n (state: any) => state.userChoicesReducer.userResumeDraftDataCache\n );\n\n const selectedproperty = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n\n\n useEffect(() => {\n if (isUndefinedNullOrEmpty(loggedInStatus)) {\n props.history.push(\"/startpage\");\n return;\n }\n if (userChosenVandalismQuestionBackButton) {\n setRadioValue(userChosenVandalismQuestionBackButton);\n setCrimeRefValue(\n userChosenVandalismQuestionBackButton === \"No\"\n ? \"\"\n : userChosenVandalismAdditionalInformationBackButton\n );\n setEligible(\n userChosenVandalismQuestionBackButton === \"Yes\" ? \"block\" : \"none\"\n );\n }\n }, [\n props.history,\n loggedInStatus,\n props.history.action,\n userChosenVandalismQuestionBackButton,\n userChosenVandalismAdditionalInformationBackButton,\n ]);\n\n const onChange = (e: any) => {\n const { value } = e.target;\n setCrimeRefValue(value);\n dispatch(userChosenVandalismAdditionalInformation(value));\n if (EditState) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(isEditState(false));\n }\n const invalidCharError = Helper.validateInvalidCharacters(\n t,\n value,\n \"Crime reference number\",\n Helper.ValidationRegex.All_Special_Chars_Allowed\n );\n setError(invalidCharError || \"\");\n };\n\n // update work order\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n\n const validateForm = (): boolean => {\n if (radioValue === \"Yes\" && crimeRefValue && crimeRefValue.trim() !== \"\") {\n const minLengthError = Helper.validateMinLength(\n t,\n crimeRefValue,\n \"Crime reference number\",\n Helper.LengthValidation.CrimeReferenceNumber.Minimum\n );\n const maxLengthError = Helper.validateMaxLength(\n t,\n crimeRefValue,\n \"Crime reference number\",\n Helper.LengthValidation.CrimeReferenceNumber.Maximum\n );\n const invalidCharError = Helper.validateInvalidCharacters(\n t,\n crimeRefValue,\n \"Crime reference number\",\n Helper.ValidationRegex.All_Special_Chars_Allowed\n );\n \n const validationError = minLengthError || maxLengthError || invalidCharError;\n if (validationError) {\n setError(validationError);\n return false;\n }\n }\n setError(\"\");\n return true;\n };\n\n const submitForm = async (): Promise => {\n try {\n setIsLoading(true);\n setButtonDisable(true);\n workOrderObject.priority = priorityCodeValue;\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n\n if (radioValue === \"Yes\") {\n woRequestParameters.isVandalism = true;\n workOrderObject.isVandalism = true;\n woRequestParameters.crimeReferenceNumber = crimeRefValue;\n woRequestParameters.repairCause = \"Vandalism or Damage\";\n woRequestParameters.repairCauseId =\n RepairCauseId[\n woRequestParameters.repairCause as keyof typeof RepairCauseId\n ];\n } else {\n woRequestParameters.crimeReferenceNumber = \"\";\n woRequestParameters.isVandalism = false;\n workOrderObject.isVandalism = false;\n woRequestParameters.repairCause = \"General Wear and Tear\";\n woRequestParameters.repairCauseId =\n RepairCauseId[\n woRequestParameters.repairCause as keyof typeof RepairCauseId\n ];\n }\n await api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n\n dispatch(workOrderRepairObject(workOrderObject));\n return true;\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n setButtonDisable(false);\n }\n };\n const backButtonHandler = () => {\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n props.history.push(\"/repairadditionaldetails\");\n };\n\n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const saveDraftAndExit = () => {\n const isValid = validateForm();\n if (!isValid) {\n setCloseAfterSaving(true);\n return;\n }\n submitForm().then((isFormSaved) => {\n if (isFormSaved) {\n setCloseAfterSaving(true);\n props.history.replace(\"/customer360View\");\n setTimeout(() => setCloseAfterSaving(false), 0);\n }\n });\n setCloseAfterSaving(true);\n };\n\n const callPageHandler = () => {\n const isValid = validateForm();\n if (!isValid) {\n return;\n }\n if (resumeDraftRepairVal) {\n const { vandalismQuestion, crimeReferenceNumber } =\n userResumeDraftDataCache;\n if (\n vandalismQuestion !== radioValue ||\n crimeReferenceNumber !== crimeRefValue\n ) {\n dispatch(resumeDraftRepair(false));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n }\n }\n\n submitForm().then((isFormValid) => {\n if (isFormValid) {\n \n // console.log(\"Will be called after 2 seconds\");\n if (selectedproperty === \"Property\") {\n props.history.push(\"/vulnerabilityquestion\");\n }\n else {\n props.history.push(\"/customerdetails\");\n }\n }\n });\n };\n const handleRadioChange = (event: any) => {\n const selectedValue = event.target.value;\n\n if (EditState === true) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(isEditState(false));\n }\n\n setRadioValue(selectedValue);\n dispatch(userChosenVandalismQuestion(selectedValue));\n\n if (selectedValue === \"Yes\") {\n setEligible(\"block\");\n } else {\n setError(\"\");\n setEligible(\"none\");\n setCrimeRefValue(\"\");\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n }\n };\n\n return (\n <>\n \n \n
    \n
    \n

    \n {t(\"VandalismQuestion\")}\n

    \n
    \n \n }\n label=\"Yes\"\n />\n
    \n onChange(e)}\n aria-label=\"Crime reference number (optional)\"\n >\n {error && (\n \n {t(error)}\n \n )}\n
    \n }\n label=\"No\"\n placeholder=\"No\"\n />\n \n
    \n
    \n
    \n
    \n
    \n
    \n backButtonHandler()}\n />\n exitButtonHandler()}\n saveDraftAndExit={() => saveDraftAndExit()}\n closeAfterSaving={closeAfterSaving}\n />\n
    \n
    \n \n {t(\"continuen_button\")}\n \n
    \n
    \n
    \n\n \n {isLoading ? (\n \n ) : (\n <>\n
    \n \n )}\n
    \n \n \n );\n};\n\nexport default VandalismQuestion;\n","export enum BalanceType {\n Cleared = \"Cleared\",\n Unbalanced = \"Unbalanced\",\n Livebalanced = \"Livebalanced\"\n}\n","import React, { FC, ReactNode, useEffect, useState } from \"react\";\nimport * as api from \"../../api\";\n\ninterface Props {\n children?: ReactNode;\n}\n\nconst IsMediaEnabledSS: string = \"IsMediaEnabledSS\";\n\nexport const FeatureFlags = React.createContext({});\n\nexport const FeatureFlagsProvider: FC = ({ children }) => {\n const [featureMedia, setFeatureMedia] = useState(\"false\");\n\n const getMediaFlag = async () => {\n try {\n const data = await api.GetAppConfigToggleValue(IsMediaEnabledSS);\n \n setFeatureMedia(data.value);\n } catch (err) {\n // console.log(err);\n }\n };\n\n useEffect(() => {\n setTimeout(() => {\n getMediaFlag();\n }, 2000);\n }, []);\n\n return (\n \n {children}\n \n );\n};\n","import { Container } from \"@material-ui/core\";\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport TextField from \"@mui/material/TextField\";\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport * as api from \"../../api\";\nimport { workOrderRepairObject } from \"../../ducks/redux/actions/getAddress\";\n\nimport {\n userChosenAdditionalDescription,\n userChosenAdditionalDescriptionCOUNT,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n userChosenVulnerabilityAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userChosenCovidQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenVandalismQuestion,\n isEditState,\n resumeDraftRepair,\n hasMediaAttached,\n clearMediaFiles,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\nimport { RouteComponentProps, useHistory } from \"react-router-dom\";\nimport Button from \"../../storybook/Button\";\nimport Loader from \"react-loader-spinner\";\nimport BackModal from \"../Modal/BackModal\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\nimport \"./index.scss\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport {\n appConfigVandalismToggle\n} from \"../../ducks/redux/actions/getAddress\";\nimport { FeatureFlags } from \"../contexts/FeatureFlags\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\nimport Message from \"../../storybook/Message\";\n\ninterface RepairAdditionalDetailsProps extends RouteComponentProps { }\n\nconst RepairAdditionalDetails: React.FC = (\n props\n) => {\n const { t } = useTranslation();\n const { featureMedia }: any = useContext(FeatureFlags);\n\n const maxLengthLimit = \"188\";\n const minLengthLimit = \"0\";\n const format = /[$^*_\\{};<>]+/;\n const dispatch = useDispatch();\n const history = useHistory();\n const ADDITIONAL_INFO_TEXT_LIMIT = 188;\n const [characterCount, setCharacterCount] = useState(maxLengthLimit);\n const [count, setCount] = useState(\"0\");\n const [value, setValue] = useState(\"\");\n const [isError, setError] = useState(\"none\");\n const [isLoading, setIsLoading] = useState(false);\n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n const userChosenAdditionalDescriptionBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenAdditionalDescription\n );\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n\n const userChosenAdditionalDescriptionBackButtonCOUNT = useSelector(\n (state: any) =>\n state.userChoicesReducer.userChosenAdditionalDescriptionCOUNT\n );\n const userChosenDuplicateQuestion = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenDuplicateQuestion\n );\n const selectedRepairReason = useSelector(\n (state: any) => state.dashboardReducer.formState.selectedRepairReasonObject\n );\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n const eligibilityResponseObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.eligibilityResponseObject\n );\n const vandalismConfigValue = useSelector(\n (state: any) => state?.addresses?.vandalismtoggleValue\n );\n\n const priorityCodeValue = useSelector(\n (state: any) => state.userChoicesReducer?.repairPriority\n );\n\n const resumeDraftRepairVal = useSelector((state: any) => state.userChoicesReducer.resumeDraftRepair);\n const userResumeDraftDataCache = useSelector((state: any) => state.userChoicesReducer.userResumeDraftDataCache);\n\n useEffect(() => {\n if (isUndefinedNullOrEmpty(loggedInStatus)) {\n props.history.push(\"/startpage\");\n return;\n }\n if (props.history.action === \"POP\") {\n setValue(userChosenAdditionalDescriptionBackButton);\n setCount(userChosenAdditionalDescriptionBackButtonCOUNT);\n }\n if (userChosenAdditionalDescriptionBackButton) {\n setValue(userChosenAdditionalDescriptionBackButton);\n setCount(userChosenAdditionalDescriptionBackButtonCOUNT);\n }\n }, []);\n\n useEffect(() => {\n if (value !== \"\") {\n setError(\"none\");\n }\n }, [value]);\n\n const onChange = (e: any) => {\n if (EditState === true) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(isEditState(false));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(hasMediaAttached(\"No\"));\n dispatch(clearMediaFiles([]));\n }\n\n if (format.test(e.target.value)) {\n return true;\n } else {\n e.preventDefault();\n }\n\n if (e.target.value.length < maxLengthLimit + 1) {\n e.target.value.length > ADDITIONAL_INFO_TEXT_LIMIT\n ? setCount(maxLengthLimit)\n : setCount(e.target.value.length);\n } else setCount(maxLengthLimit);\n\n setCharacterCount(maxLengthLimit);\n setValue(e.target.value.substr(minLengthLimit, maxLengthLimit));\n\n dispatch(\n userChosenAdditionalDescription(\n e.target.value.substr(minLengthLimit, maxLengthLimit)\n )\n );\n dispatch(userChosenAdditionalDescriptionCOUNT(e.target.value.length));\n };\n\n const helpTextValue = count + \"/\" + characterCount;\n\n const userChosenEmergencyQuestion = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenEmergencyQuestion\n );\n\n const selectedproperty = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n const priority = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject[0]\n ?.priority\n );\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n\n let emergencyState = false;\n if (selectedproperty === \"Property\" && priority === \"Emergency\") {\n if (userChosenEmergencyQuestion === \"Yes, I can provide access\") {\n emergencyState = true;\n } else {\n emergencyState = false;\n }\n } else {\n if (priority === \"Emergency\" || priority === \"Emergency (OOH)\") {\n emergencyState = true;\n } else {\n emergencyState = false;\n }\n }\n\n const UpdateWorkOrder = async () => {\n try {\n setIsLoading(true);\n workOrderObject.priority = priorityCodeValue;\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n woRequestParameters.additionalInformation = value;\n woRequestParameters.isEmergency = emergencyState;\n await api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n workOrderObject.additionalInformation = value;\n workOrderObject.isEmergency = emergencyState;\n dispatch(workOrderRepairObject(workOrderObject));\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n }\n };\n\n const backButtonHandler = () => {\n dispatch(userChosenAdditionalDescription(\"\"));\n\n if (userChosenDuplicateQuestion != \"\") {\n props.history.push(\"/duplicaterepair\");\n }\n else if (priority == \"Emergency\") {\n props.history.push(\"/repairemergency\");\n }\n else {\n if (\n selectedRepairReason[0]?.additionalData.length > 0 &&\n selectedRepairReason[0]?.additionalData[0]?.description != \"\"\n ) {\n props.history.replace(\"/supplementaryquestion\");\n } else {\n props.history.replace(\"/repairlocation\");\n }\n }\n };\n\n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const saveDraftAndExit = () => {\n //Implement Save Draft and Exit functionalities here...\n let countValue = count.toString();\n if (countValue !== \"0\") {\n setError(\"none\");\n UpdateWorkOrder();\n } else {\n setError(\"block\");\n }\n setCloseAfterSaving(true);\n dispatch(workOrderRepairObject(null));\n props.history.push(\"/customer360View\");\n };\n\n const callPageHandler = () => {\n if (resumeDraftRepairVal) {\n const { additionalInformation } = userResumeDraftDataCache;\n if (additionalInformation !== value) {\n dispatch(resumeDraftRepair(false));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n }\n }\n let countValue = count?.toString();\n\n if (value.trim().length <= 0) {\n setError(\"block\");\n return;\n }\n if (countValue !== \"0\") {\n UpdateWorkOrder();\n setError(\"none\");\n\n if (featureMedia === \"true\") {\n setTimeout(() => {\n props.history.push(\"/uploadmedia\");\n }, 1000);\n } else {\n if (eligibilityResponseObject?.statuses.isInDefects === true && vandalismConfigValue === true) {\n\n setTimeout(() => {\n props.history.push(\"/vandalismquestion\");\n }, 1000);\n\n }\n else {\n setTimeout(() => {\n if (selectedproperty === \"Property\") {\n props.history.push(\"/vulnerabilityquestion\");\n }\n else {\n props.history.push(\"/customerdetails\");\n }\n }, 1000);\n }\n }\n } else {\n setError(\"block\");\n }\n };\n\n return (\n <>\n\n \n
    \n\n \n
    \n

    \n {t(\"Repair_Additional_Details_Label1\")}\n

    \n
    \n \n {t(\"SSR008a\")}\n \n
    \n
    \n \n {t(\"Additional_Details_Warning\")}\n \n
    \n\n
    \n
    \n onChange(e)}\n id=\"outlined-textarea\"\n value={value}\n placeholder={t(\"Repair_Additional_Details_Placeholder\")}\n error={count >= maxLengthLimit}\n multiline\n label=\"\"\n inputProps={{ \"data-hj-allow\": \"\" }} />\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n {t(\"Helpful_information_include\")}\n
      \n
    • \n {t(\"Repair_Additional_Details_LabelOne\")}\n
    • \n
    • \n {t(\"Repair_Additional_Details_LabelTwo\")}\n
    • \n
    • \n {t(\"Repair_Additional_Details_LabelThree\")}\n
    • \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n \n \n
    \n
    \n \n {t(\"continuen_button\")}{\" \"}\n \n
    \n\n
    \n
    \n \n {isLoading ? (\n \n ) : (\n <>\n
    \n \n )}\n
    \n \n \n );\n};\nexport default RepairAdditionalDetails;","import React, { useContext, useEffect, useState } from \"react\";\nimport {\n FormControlLabel,\n Radio,\n RadioGroup,\n} from \"@material-ui/core\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { updateDashboardForm } from \"../../ducks/redux/actions/dashboardReducer.actions\";\nimport {\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n isEditState,\n resumeDraftRepair,\n setNavHeaderText,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\nimport { RouteComponentProps, useHistory } from \"react-router-dom\";\nimport Loader from \"react-loader-spinner\";\nimport Button from \"../../storybook/Button\";\nimport \"../../compositions/VulnerabilityQuestion/index.scss\";\nimport BackModal from \"../Modal/BackModal\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport { workOrderRepairObject } from \"../../ducks/redux/actions/getAddress\";\nimport * as api from \"../../api\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport { FeatureFlags } from \"../contexts/FeatureFlags\";\n\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\nimport Message from \"../../storybook/Message\";\n\ninterface VulnerabilityQsProps extends RouteComponentProps { }\n\nconst VulnerabilityQs: React.FC = (props) => {\n const { t } = useTranslation();\n const { featureMedia }: any = useContext(FeatureFlags);\n const format = /[$^&*_\\{};<>/]+/;\n const dispatch = useDispatch();\n const history = useHistory();\n const [isError, setError] = React.useState(\"none\");\n const [textvalue, setTextValue] = useState(\"\");\n const [radiovalue, setRadioValue] = useState(\"No\");\n const [isLoading, setIsLoading] = useState(false);\n const [buttondisable, setButtonDisable] = useState(false);\n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n const[blockRepairJourney,setBlockRepairJourney]=useState();\n const [blockLoading,setEnhanceRepairEligibilityLoading] =useState(false);\n\n const priority = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject[0]\n ?.priority\n );\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n\n const userChosenVulnerabilityQuestionBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenVulnerabilityQuestion\n );\n const userChosenVulnerabilityAdditionalInformationBackButton = useSelector(\n (state: any) =>\n state.userChoicesReducer.userChosenVulnerabilityAdditionalInformation\n );\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n const eligibilityResponseObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.eligibilityResponseObject\n\n );\n const vandalismConfigValue = useSelector(\n (state: any) => state?.addresses?.vandalismtoggleValue\n );\n const resumeDraftRepairVal = useSelector((state: any) => state.userChoicesReducer.resumeDraftRepair);\n const userResumeDraftDataCache = useSelector((state: any) => state.userChoicesReducer.userResumeDraftDataCache);\n \n const checkEnhancedEligibility = useSelector(\n (state: any) =>\n state.userChoicesReducer.checkEnhancedRepairEligibilityMyPeabody\n );\n\n const userChosenEmergencyQuestion = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenEmergencyQuestion\n );\n\n const customerIdentifier = useSelector(\n (state: any) => state.addresses?.customerid\n );\n \n const workOrderfromState = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n const userChosenSORValue = useSelector(\n (state: any) => state.userChoicesReducer.userChosenSOR\n );\n const userChosenDuplicateQuestion = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenDuplicateQuestion\n );\n\n const priorityCodeValue = useSelector(\n (state: any) => state.userChoicesReducer?.repairPriority\n );\n \n\n useEffect(() => {\n if (isUndefinedNullOrEmpty(loggedInStatus)) {\n props.history.push(\"/startpage\");\n return;\n } \n setRadioValue(userChosenVulnerabilityQuestionBackButton);\n setTextValue(userChosenVulnerabilityAdditionalInformationBackButton);\n if(userChosenEmergencyQuestion === \"Yes, I can provide access\" || workOrderfromState?.isEmergency){\n props.history.replace(\"/covidquestion\");\n }\n }, []);\n\n useEffect(() => {\n if ((radiovalue === \"Yes\" && textvalue != \"\") || radiovalue === \"No\") {\n setError(\"none\");\n }\n dispatch(userChosenVulnerabilityQuestion(radiovalue));\n }, [textvalue, radiovalue]);\n\n useEffect(() => {\n return () => {\n dispatch(setNavHeaderText(\"Contact Details\"));\n };\n }, []);\n\n const updateSelection = async (e: React.ChangeEvent) => {\n setButtonDisable(true);\n if (EditState === true) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(isEditState(false));\n }\n setRadioValue(e.target.value);\n dispatch(\n updateDashboardForm({\n selected: e.target.value,\n textArea: textvalue,\n })\n );\n if (e.target.value === \"No\") {\n setTextValue(\"\");\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n }\n\n const advancedPayload = {\n \"isEmergency\": workOrderfromState.isEmergency,\n \"sor\": userChosenSORValue,\n \"isPotentialDuplicate\": userChosenDuplicateQuestion.split(\"&\")[2] ? true : (userChosenDuplicateQuestion === t(\"duplicateNoneofTheAbove\")) ? true : false,\n \"isVulnerable\": e.target.value===\"Yes\",\n \"channel\": \"CustomerSelfService\"\n }\n\n if (checkEnhancedEligibility) {\n try {\n setEnhanceRepairEligibilityLoading(true);\n let enhanceEligibilityResp = await api.postEnhancedRepairEligibility(\n advancedPayload\n );\n setBlockRepairJourney(!enhanceEligibilityResp?.isEligible);\n setButtonDisable(!enhanceEligibilityResp?.isEligible);\n setEnhanceRepairEligibilityLoading(false); \n }\n catch(e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n } else {\n setButtonDisable(false);\n }\n };\n\n const onChange = (e: any) => {\n if (EditState === true) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(isEditState(false));\n }\n if (format.test(e.target.value)) {\n return true;\n } else {\n e.preventDefault();\n }\n setTextValue(e.target.value);\n dispatch(userChosenVulnerabilityAdditionalInformation(e.target.value));\n dispatch(\n updateDashboardForm({\n textArea: e.target.value,\n selected: radiovalue,\n })\n );\n };\n\n const backButtonHandler = () => {\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n\n if (eligibilityResponseObject?.statuses.isInDefects === true && vandalismConfigValue === true) {\n props.history.push(\"/vandalismquestion\");\n }\n else {\n if (featureMedia === \"true\") {\n props.history.push(\"/uploadmedia\");\n } else {\n props.history.push(\"/repairadditionaldetails\");\n }\n }\n };\n\n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const saveDraftAndExit = () => {\n setError(\"none\");\n submitForm();\n setCloseAfterSaving(true);\n props.history.replace(\"/customer360View\");\n };\n\n // update work order\n enum RepairCauseId {\n \"General Wear and Tear\" = 1,\n \"Vandalism or Damage\" = 4,\n }\n const userChosenVandalismQuestion = useSelector(\n (state: any) => state.userChoicesReducer.userChosenVandalismQuestion\n );\n const userChosenVandalismAdditionalInformation = useSelector(\n (state: any) =>\n state.userChoicesReducer.userChosenVandalismAdditionalInformation\n );\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n const submitForm = async () => {\n try {\n setIsLoading(true);\n setButtonDisable(true);\n\n workOrderObject.priority = priorityCodeValue;\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n if (radiovalue == \"Yes\") {\n woRequestParameters.isVulnerable = true;\n woRequestParameters.VulnerableResponseText = textvalue.trim().length > 0 ? textvalue : null;\n } else {\n woRequestParameters.isVulnerable = false;\n woRequestParameters.VulnerableResponseText = null;\n }\n\n if (userChosenVandalismQuestion == \"Yes\") {\n woRequestParameters.crimeReferenceNumber =\n userChosenVandalismAdditionalInformation;\n woRequestParameters.repairCause = \"Vandalism or Damage\";\n woRequestParameters.repairCauseId =\n RepairCauseId[\n woRequestParameters.repairCause as keyof typeof RepairCauseId\n ];\n } else {\n woRequestParameters.crimeReferenceNumber = \"\";\n woRequestParameters.repairCause = \"General Wear and Tear\";\n woRequestParameters.repairCauseId =\n RepairCauseId[\n woRequestParameters.repairCause as keyof typeof RepairCauseId\n ];\n }\n\n const apiResponse = await api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n dispatch(workOrderRepairObject(workOrderObject));\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n setButtonDisable(false);\n }\n };\n\n const callPageHandler = () => {\n if (resumeDraftRepairVal) {\n const { vulnerabilityQuestion, vulnerableResponseText } = userResumeDraftDataCache;\n if (vulnerabilityQuestion !== radiovalue || vulnerableResponseText) {\n dispatch(resumeDraftRepair(false));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n }\n }\n\n if (textvalue != \"\" || radiovalue === \"No\" || (radiovalue == \"Yes\" && textvalue?.trimEnd() != \"\")) {\n setError(\"none\");\n submitForm();\n const timerId = setTimeout(() => {\n props.history.push(\"/covidquestion\");\n }, 1000);\n } else {\n setError(\"block\");\n }\n };\n\n return (\n <>\n \n
    \n \n

    \n {t(\"Vulnerability\")}\n

    \n
    \n \n {t(\"SSR056\")}\n \n
    \n
    \n \n \n }\n label=\"Yes\"\n placeholder=\"Yes\"\n />\n {blockLoading ? (\n \n ) :radiovalue === \"Yes\" && (\n <> \n {blockRepairJourney ?\n \n {t(\"OrbisBlockMsg1\")}
    \n {t(\"OrbisBlockMsg2\")} {t(\"OrbisBlockNumber\")} {t(\"OrbisBlockMsg3\")} \n
    :\n
    \n \n {t(\"SS039\")}\n \n onChange(e)}\n />\n
    \n } \n \n )}\n }\n label=\"No\"\n placeholder=\"No\"\n />\n \n
    \n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n {t(\"continuen_button\")}{\" \"}\n \n
    \n
    \n
    \n \n {isLoading ? (\n \n ) : (\n <>\n
    \n \n )}\n
    \n \n \n );\n};\nexport default VulnerabilityQs;","import React, { useState, useEffect } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport {\n Container,\n RadioGroup,\n FormControlLabel,\n Radio\n} from \"@material-ui/core\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport \"./style.scss\";\nimport Loader from \"react-loader-spinner\";\n\nimport { RouteComponentProps, useHistory } from \"react-router-dom\";\nimport {\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n isEditState,\n resumeDraftRepair,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\n\nimport Button from \"../../storybook/Button\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\n\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport { workOrderRepairObject } from \"../../ducks/redux/actions/getAddress\";\nimport * as api from \"../../api\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\n\ninterface CovidQuestionProps extends RouteComponentProps { }\nconst CovidQuestion: React.FC = (props) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const history = useHistory();\n const [radioValue, setRadioValue] = React.useState(\"\");\n const [isError, setIsError] = React.useState(\"none\");\n const [isError2, setIsError2] = React.useState(\"none\");\n const [isDisabled, setIsDisabled] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n \n const handleRadioChange = (event: any) => {\n if (EditState === true) {\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(isEditState(false));\n }\n setRadioValue(event.target.value);\n dispatch(userChosenCovidQuestion(event.target.value));\n };\n\n const userChosenVulnerabilityQuestion = useSelector(\n (state: any) => state.userChoicesReducer.userChosenVulnerabilityQuestion\n );\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n const userChosenVulnerabilityAdditionalInformation = useSelector(\n (state: any) =>\n state.userChoicesReducer.userChosenVulnerabilityAdditionalInformation\n );\n\n const userChosenPropertyType = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n\n const priority = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject[0]\n ?.priority\n );\n\n const userChosenCovidQuestionBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenCovidQuestion\n );\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n\nconst eligibilityResponseObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.eligibilityResponseObject\n );\n const vandalismConfigValue = useSelector(\n (state: any) => state?.addresses?.vandalismtoggleValue\n );\n const resumeDraftRepairVal = useSelector((state: any) => state.userChoicesReducer.resumeDraftRepair);\n const userResumeDraftDataCache = useSelector((state: any) => state.userChoicesReducer.userResumeDraftDataCache);\n\n const covidConfigValue = useSelector(\n (state: any) => state?.addresses?.covidtoggleValue\n );\n\n const priorityCodeValue = useSelector(\n (state: any) => state.userChoicesReducer?.repairPriority\n );\n\n useEffect(() => {\n (async () => {\n if (isUndefinedNullOrEmpty(loggedInStatus)) {\n props.history.push(\"/startpage\");\n return;\n }\n\n if (props.history.action === \"POP\") {\n setRadioValue(userChosenCovidQuestionBackButton);\n }\n if (userChosenPropertyType != \"Property\" || covidConfigValue === \"false\") {\n props.history.replace(\"/customerdetails\");\n return;\n }\n\n if (userChosenCovidQuestionBackButton) {\n setRadioValue(userChosenCovidQuestionBackButton);\n }\n })();\n }, []);\n\n useEffect(() => {\n if (radioValue) {\n setIsError(\"none\");\n }\n if (radioValue === \"Yes\" && userChosenVulnerabilityQuestion === \"No\" && priority !== \"Emergency\"\n ) {\n setIsError2(\"block\");\n setIsDisabled(true);\n } else {\n setIsError2(\"none\");\n setIsDisabled(false);\n }\n }, [radioValue, userChosenVulnerabilityQuestion]);\n\n const backButtonHandler = () => {\n dispatch(userChosenCovidQuestion(\"\"));\n if (priority != \"Emergency\") {\n props.history.replace(\"/vulnerabilityquestion\");\n } else {\n if(eligibilityResponseObject?.statuses.isInDefects === true && vandalismConfigValue === true)\n {\n props.history.replace(\"/vandalismquestion\");\n }\n else\n props.history.push(\"/repairadditionaldetails\")\n }\n };\n\n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const saveDraftAndExit = () => {\n if (radioValue === \"\") {\n props.history.replace(\"/customer360View\");\n } else {\n if (radioValue === \"Yes\") {\n props.history.replace(\"/customer360View\");\n }\n else {\n submitForm();\n setCloseAfterSaving(true);\n props.history.replace(\"/customer360View\");\n }\n\n }\n }\n\n const callPageHandler = () => {\n if (resumeDraftRepairVal) {\n const { covidQuestion } = userResumeDraftDataCache;\n if (covidQuestion !== radioValue) {\n dispatch(resumeDraftRepair(false));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n }\n }\n\n if (radioValue === \"\") {\n setIsError(\"block\");\n } else {\n submitForm();\n const timerId = setTimeout(() => {\n props.history.push(\"/customerdetails\");\n }, 1000);\n }\n };\n\n\n // update work order\n enum RepairCauseId {\n \"General Wear and Tear\" = 1,\n \"Vandalism or Damage\" = 4,\n }\n const userChosenVandalismQuestion = useSelector(\n (state: any) => state.userChoicesReducer.userChosenVandalismQuestion\n );\n const userChosenVandalismAdditionalInformation = useSelector(\n (state: any) =>\n state.userChoicesReducer.userChosenVandalismAdditionalInformation\n );\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n const submitForm = async () => {\n try {\n setIsLoading(true);\n setIsDisabled(true);\n workOrderObject.priority = priorityCodeValue;\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n\n if (radioValue === \"Yes\") {\n woRequestParameters.isCovidSelfIsolated = true;\n workOrderObject.isCovidSelfIsolated = true;\n } else if (radioValue === \"No\") {\n woRequestParameters.isCovidSelfIsolated = false;\n workOrderObject.isCovidSelfIsolated = false;\n }\n\n userChosenVulnerabilityQuestion != \"\" &&\n userChosenVulnerabilityQuestion != null &&\n userChosenVulnerabilityQuestion != \"No\"\n ? (woRequestParameters.isVulnerable = true)\n : (woRequestParameters.isVulnerable = false);\n userChosenVulnerabilityAdditionalInformation != \"\"\n ? (woRequestParameters.VulnerableResponseText =\n userChosenVulnerabilityAdditionalInformation)\n : (woRequestParameters.VulnerableResponseText = null);\n\n if (userChosenVandalismQuestion == \"Yes\") {\n woRequestParameters.crimeReferenceNumber =\n userChosenVandalismAdditionalInformation;\n woRequestParameters.repairCause = \"Vandalism or Damage\";\n woRequestParameters.repairCauseId =\n RepairCauseId[\n woRequestParameters.repairCause as keyof typeof RepairCauseId\n ];\n } else {\n woRequestParameters.crimeReferenceNumber = \"\";\n woRequestParameters.repairCause = \"General Wear and Tear\";\n woRequestParameters.repairCauseId =\n RepairCauseId[\n woRequestParameters.repairCause as keyof typeof RepairCauseId\n ];\n }\n\n const apiResponse = await api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n dispatch(workOrderRepairObject(workOrderObject));\n\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n setIsDisabled(false);\n }\n };\n\n return (\n <>\n \n {/* */}\n \n
    \n
    \n

    {t(\"CovidQuestion_label\")}

    \n
    \n\n \n \n }\n label=\"Yes\"\n />\n \n }\n label=\"No\"\n />\n \n
    \n\n
    \n
    \n
    \n \n
    \n
    \n

    {t(\"SSR012\")}

    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    {t(\"SSR048\")}

    \n
    \n
    \n
    \n \n \n \n \n {t(\"continuen_button\")}\n \n \n \n \n {isLoading ? (\n \n ) : (\n <>\n
    \n \n )}\n
    \n\n
    \n \n );\n};\n\nexport default CovidQuestion;\n","import React, { ChangeEvent } from 'react';\nimport \"./TextInputField.scss\";\n\ninterface TextFieldInputProps {\n id: string;\n dataTestId: string;\n ariaLabel: string;\n type: string;\n disabled: boolean;\n value: string;\n placeholder: string;\n onChange: (e: ChangeEvent) => void;\n style?: React.CSSProperties;\n}\n\nconst TextFieldInput: React.FC = ({\n id,\n dataTestId,\n ariaLabel,\n type,\n disabled,\n value,\n placeholder,\n onChange,\n style,\n}) => {\n return (\n \n );\n};\n\nexport default TextFieldInput;\n","import \"./PageHeader.scss\";\n\nconst PageHeader = (props: any) => (\n

    \n {props.children}\n

    \n);\n\nexport default PageHeader;","import React, { ChangeEvent } from 'react';\nimport \"../../App.scss\";\n \ninterface DropdownProps {\n options: { id: string; label: string }[]; \n selectedOption: string; \n disabled?: boolean; \n handleChange?: (event: ChangeEvent) => void;\n dataTestId?: string;\n}\n \nconst Dropdown: React.FC = ({\n options,\n selectedOption,\n disabled,\n handleChange,\n dataTestId,\n}) => {\n return (\n \n {options.map((option) => (\n \n ))}\n \n );\n};\n \nexport default Dropdown;\n ","import React, { useState, useEffect } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport \"../CustomerDetails/index.scss\";\nimport Loader from \"react-loader-spinner\";\nimport {\n userChosenPropertyId,\n userChosenPropertyAddress,\n userChosenRepairLocationId,\n userChosenRepairLocation,\n userChosenHighLevelDescription,\n userChosenSupplementaryQuestions,\n userChosenEmergencyQuestion,\n userChosenAdditionalDescription,\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenUPRN,\n userChosenSOR,\n userChosenSTATUS,\n userChosenEligibilityErrorCode,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\n\nimport {\n Container,\n FormControlLabel,\n Radio,\n RadioGroup,\n} from \"@material-ui/core\";\nimport { RouteComponentProps, useHistory } from \"react-router-dom\";\nimport Button from \"../../storybook/Button\";\nimport BackModal from \"../Modal/BackModal\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport { workOrderRepairObject } from \"../../ducks/redux/actions/getAddress\";\nimport { CustomerName } from \"../../models/Customer\";\nimport * as api from \"../../api\";\nimport {\n RepairReporterId,\n ReportContactDetails,\n} from \"../../models/Repair/Repair\";\nimport TextInputField from \"../../storybook/TextInputField/TextInputField\";\nimport PageHeader from \"../../storybook/PageHeader/PageHeader\";\nimport Dropdown from \"../../storybook/Dropdown\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\"\nimport Message from \"../../storybook/Message\";\nimport { Helper } from \"../../utils/Helper/HelperUtil\";\n\ninterface CustomerDetailsProps extends RouteComponentProps {\n /* cId: any, \n setErrorCheck: any */\n}\nconst CustomerDetails: React.FC = (props) => {\n\n enum RepairCauseId {\n \"General Wear and Tear\" = 1,\n \"Vandalism or Damage\" = 4,\n }\n\n const { t } = useTranslation();\n\n const contactDetailsOptions = [\n { id: 'custDetails-op1', label: t(\"Customer_Option\") },\n { id: 'custDetails-opt2', label: t(\"Friend_Option\") },\n { id: 'custDetails-opt3', label: t(\"Other_Option\") },\n ];\n\n const customerPhone = useSelector(\n (state: any) => state?.addresses?.customerPhoneNumber\n );\n\n const priority = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject[0]\n ?.priority\n );\n const [inputState, setInputState] = useState(t(\"Customer_Option\"));\n \n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n const dispatch = useDispatch();\n const [userInput, setUserInput] = useState(\"\");\n var errorArray: any[] = [];\n const [errorArrayState, seterrorArrayState] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n const [numberInput, setNumberInput] = useState(\"\");\n const radioText = t(\"Provide_Number\");\n const [radiovalue, setRadioValue] = useState(\n customerPhone !== null && customerPhone !== undefined && customerPhone !== \"\"\n ? customerPhone[0]?.number\n ? `${customerPhone[0].number}@0`\n : radioText\n : radioText\n );\n\n //const isinputdisabled = radiovalue != radioText;\n const [isinputdisabled, setIsInputDisabled] = useState(true);\n\n const userChosenContactDetailsBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenContactDetails\n );\n const userChosenContactNameBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenContactName\n );\n const userChosenContactPhoneBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenContactPhone\n );\n const userChosenRelationSelect = useSelector(\n (state: any) => state.userChoicesReducer.userChosenRelationDetails\n );\n const userChosenPropertyType = useSelector(\n (state: any) => state.userChoicesReducer.userChosenPropertyType\n );\n const userChosenVulnerabilityQuestion = useSelector(\n (state: any) => state.userChoicesReducer.userChosenVulnerabilityQuestion\n );\n const userChosenVulnerabilityAdditionalInformation = useSelector(\n (state: any) =>\n state.userChoicesReducer.userChosenVulnerabilityAdditionalInformation\n );\n\n const userChosenVandalismQuestion = useSelector(\n (state: any) => state.userChoicesReducer.userChosenVandalismQuestion\n );\n const userChosenVandalismAdditionalInformation = useSelector(\n (state: any) =>\n state.userChoicesReducer.userChosenVandalismAdditionalInformation\n );\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n\n const covidConfigValue = useSelector(\n (state: any) => state?.addresses?.covidtoggleValue\n );\n const eligibilityResponseObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.eligibilityResponseObject\n );\n const vandalismConfigValue = useSelector(\n (state: any) => state?.addresses?.vandalismtoggleValue\n );\n\n const priorityCodeValue = useSelector(\n (state: any) => state.userChoicesReducer?.repairPriority\n );\n const customerDetails = useSelector(\n (state: any) => state.addresses.saveCustomerDetails\n );\n\n useEffect(() => {\n window.scrollTo(0, 0);\n if (props.history.action === \"PUSH\" || props.history.action === \"POP\" || props.history.action === \"REPLACE\") {\n if (userChosenContactDetailsBackButton) {\n if (userChosenContactDetailsBackButton.includes('@')) {\n setRadioValue(userChosenContactDetailsBackButton);\n }\n else {\n setRadioValue(userChosenContactDetailsBackButton);\n\n customerPhone?.map((number: any, index: number) => {\n if (number.number === userChosenContactDetailsBackButton) {\n setRadioValue(userChosenContactDetailsBackButton + '@' + index)\n }\n })\n }\n \n } \n\n }\n if (userChosenContactDetailsBackButton == radioText) { \n setRadioValue(radioText);\n setUserInput(userChosenContactNameBackButton);\n setNumberInput(userChosenContactPhoneBackButton);\n if (userChosenRelationSelect === \"Friend or family\") {\n dispatch(userChosenRelationDetails(\"Friend or Family\"));\n } else {\n dispatch(userChosenRelationDetails(userChosenRelationSelect));\n }\n }\n else if (\n !userChosenContactDetailsBackButton &&\n !userChosenContactPhoneBackButton\n ) {\n if (customerPhone?.length > 0 && customerPhone[0]?.number !== \"\") {\n dispatch(userChosenContactDetails(`${customerPhone[0]?.number}@0`));\n dispatch(userChosenRelationDetails(\"\")); \n }}\n else { \n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n }\n if(radiovalue == radioText){\n setIsInputDisabled(false);\n }\n else{\n setIsInputDisabled(true);\n } \n }, [radiovalue, customerPhone]);\n \n const updateSelection = (e: React.ChangeEvent): void => {\n if (e.target.value !== radioText) {\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n setNumberInput(\"\");\n setUserInput(\"\");\n seterrorArrayState([]);\n errorArray = [];\n setIsInputDisabled(true);\n } else {\n dispatch(userChosenRelationDetails(\"Customer\")); \n setIsInputDisabled(false);\n }\n setRadioValue(e.target.value);\n dispatch(userChosenContactDetails(e.target.value));\n };\n\n\n const inputChangeHandler = (event: any) => {\n const re = Helper.ValidationRegex.NumericOnly;\n // if value is not blank, then test the regex\n seterrorArrayState([]);\n errorArray = [];\n if (event.target.value === \"\" || re.test(event.target.value)) {\n // @ts-ignore\n setNumberInput(event.target.value.toString().slice(0, 11));\n dispatch(userChosenContactPhone(event.target.value.toString().slice(0, 11)));\n }\n };\n\n const nameInputChangeHandler = (e: any) => {\n const re = Helper.ValidationRegex.AlphabetWithSpecialChars;\n // if value is not blank, then test the regex\n if (e.target.value === \"\" || re.test(e.target.value)) {\n setUserInput(e.target.value);\n dispatch(userChosenContactName(e.target.value));\n }\n };\n\n const submitForm = (): boolean => {\n seterrorArrayState([]);\n errorArray = [];\n\n const phoneEmpty = t(\"SSR014\");\n const phoneInvalid = t(\"SSR002\");\n const nameError = t(\"SSR058\");\n const ukCountryCode = \"0\";\n\n if (radiovalue === radioText) {\n if (!numberInput) {\n errorArray.push(phoneEmpty);\n } else if (\n numberInput.slice(0, 1) !== ukCountryCode ||\n numberInput.length < 11\n ) {\n errorArray.push(phoneInvalid);\n }\n if (!userInput || userInput.length <= 0) {\n errorArray.push(nameError);\n }\n }\n\n if (errorArray.length > 0) {\n seterrorArrayState([...errorArray]);\n return false;\n }\n\n try {\n setIsLoading(true);\n dispatch(userChosenRelationDetails(inputState));\n workOrderObject.reporterContactDetails = new ReportContactDetails();\n if (radiovalue !== radioText) {\n const radioUpdatedValue = radiovalue.split(\"@\");\n\n workOrderObject.reporterContactDetails.contactNumber = radioUpdatedValue[0];\n } else {\n workOrderObject.reporterContactDetails.contactNumber =\n numberInput.length > 0 ? numberInput : null;\n dispatch(userChosenRelationDetails(inputState));\n dispatch(userChosenContactPhone(numberInput));\n dispatch(userChosenContactName(userInput));\n dispatch(userChosenContactDetails(radioText));\n }\n\n const reporterFullName = customerDetails?.person?.name.title + \" \" + customerDetails?.person?.name.givenName + \" \" + customerDetails?.person?.name.surname;\n const contactPersonName = new CustomerName({\n title: null,\n givenName: radiovalue !== radioText ? reporterFullName.trim() : userInput?.trim(),\n surname: null,\n });\n workOrderObject.reporterContactDetails.name = \n contactPersonName;\n\n workOrderObject.reportedById =\n RepairReporterId[inputState as keyof typeof RepairReporterId];\n workOrderObject.reportedBy = inputState;\n\n // This will always be set as true in Self Serve channels, verified with ERGO, where \n // 1. IF Customer contacts, the reporterToBeContacted = true\n // 2. IF someone else contacts and agrees to be contacted,\n // THEN contact detail has to be submitted, the reporterToBeContacted = true\n // 3. IF someone else contacts and disagrees to be contacted,\n // THEN contact detail is not submitted, the reporterToBeContacted = false\n\n workOrderObject.reporterContactDetails.reporterToBeContacted = true;\n\n userChosenVulnerabilityQuestion !== \"\" &&\n userChosenVulnerabilityQuestion !== null &&\n userChosenVulnerabilityQuestion !== \"No\"\n ? (workOrderObject.isVulnerable = true)\n : (workOrderObject.isVulnerable = false);\n userChosenVulnerabilityAdditionalInformation !== \"\"\n ? (workOrderObject.VulnerableResponseText = userChosenVulnerabilityAdditionalInformation)\n : (workOrderObject.VulnerableResponseText = null);\n\n if (userChosenVandalismQuestion === \"Yes\") {\n workOrderObject.crimeReferenceNumber = userChosenVandalismAdditionalInformation;\n workOrderObject.repairCause = \"Vandalism or Damage\";\n workOrderObject.repairCauseId =\n RepairCauseId[\n workOrderObject.repairCause as keyof typeof RepairCauseId\n ];\n } else {\n workOrderObject.crimeReferenceNumber = \"\";\n workOrderObject.repairCause = \"General Wear and Tear\";\n workOrderObject.repairCauseId =\n RepairCauseId[workOrderObject.repairCause as keyof typeof RepairCauseId];\n }\n workOrderObject.priority = priorityCodeValue;\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n dispatch(workOrderRepairObject(workOrderObject));\n return true;\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n }\n };\n\n const saveDraftAndExit = () => {\n seterrorArrayState([]);\n const isValid = submitForm();\n if (isValid) {\n setCloseAfterSaving(true);\n props.history.replace(\"/customer360View\");\n }\n };\n\n const callPageHandler = () => {\n seterrorArrayState([]);\n const isValid = submitForm();\n if (isValid) {\n props.history.push(\"/confirmationdetails\");\n }\n };\n\n const backButtonHandler = () => {\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n\n if (userChosenPropertyType !== \"Property\") {\n if (priority !== \"Emergency\") {\n props.history.replace(\"/vulnerabilityquestion\");\n } else {\n if (\n eligibilityResponseObject?.statuses.isInDefects === true &&\n vandalismConfigValue === true\n ) {\n props.history.replace(\"/vandalismquestion\");\n } else {\n props.history.push(\"/uploadmedia\");\n }\n }\n } else if (covidConfigValue === \"false\") {\n if (priority !== \"Emergency\") {\n props.history.replace(\"/vulnerabilityquestion\");\n } else {\n if (\n eligibilityResponseObject?.statuses.isInDefects === true &&\n vandalismConfigValue === true\n ) {\n props.history.replace(\"/vandalismquestion\");\n } else {\n props.history.push(\"/uploadmedia\");\n }\n }\n } else {\n props.history.replace(\"/covidquestion\");\n }\n };\n\n const exitButtonHandler = () => {\n dispatch(userChosenPropertyId(\"\"));\n dispatch(userChosenPropertyAddress(\"\"));\n dispatch(userChosenRepairLocationId(0));\n dispatch(userChosenRepairLocation(\"\"));\n dispatch(userChosenHighLevelDescription(\"\"));\n dispatch(userChosenSupplementaryQuestions(\"\"));\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenUPRN(\"\"));\n dispatch(userChosenSOR(\"\"));\n dispatch(userChosenSTATUS(\"\"));\n dispatch(userChosenEligibilityErrorCode(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n props.history.push(\"/customer360View\");\n };\n\n const handleChange = (e: { target: { value: any } }) => {\n setInputState(e.target.value);\n dispatch(userChosenRelationDetails(e.target.value));\n };\n\n\n let errorfieldsArray: any[] = [];\n errorArrayState?.forEach((err: any) => {\n errorfieldsArray.push(\n \n {err}\n \n );\n });\n return (\n <>\n \n \n\n
    \n \n {t(\"Customer_Details\")}\n \n {errorfieldsArray.length > 0 && (\n \n {errorfieldsArray}\n
    \n )}\n {isLoading ? (\n \n ) : (\n <>\n \n \n {customerPhone.map((number: any, index: number) => {\n return (\n number.number && (\n \n }\n label={number.number}\n value={`${number.number}@${index}`}\n />\n )\n );\n })}\n \n }\n label={radioText}\n value={radioText}\n />{\" \"}\n \n \n\n
    \n \n
    Phone number
    \n inputChangeHandler(e)}\n >\n \n
    \n\n \n
    Name
    \n \n \n\n \n\n \n
    {t(\"Repair_Contact_Details_Selection_Query\")}
    \n \n \n\n\n \n \n \n )}\n \n \n
    \n
    \n
    \n
    \n\n \n\n \n
    \n
    \n \n Continue\n \n
    \n
    \n
    \n \n );\n};\n\nexport default CustomerDetails;\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport questions from \"../../utils/translation/en.json\";\nimport Button from \"../../storybook/Button\";\nimport savedAnswerKeys from \"./schema.json\";\nimport BackModal from \"../Modal/BackModal\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport * as api from \"../../api\";\nimport Loader from \"react-loader-spinner\";\nimport \"../../compositions/ConfirmationPage/index.scss\";\nimport moment from \"moment\";\nimport {\n userChosenPropertyId,\n userChosenPropertyType,\n userChosenPropertyAddress,\n userChosenRepairLocationId,\n userChosenRepairLocation,\n userChosenHighLevelDescription,\n userChosenSupplementaryQuestions,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenSTATUS,\n userChosenEligibilityErrorCode,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n updatePrevConfirmedState,\n isEditState,\n userChosenResumeRepair,\n loadDuplicateRepairPage,\n userCreatedNewRepair,\n clearMediaFiles,\n selectedTenancyGroup,\n isOnHoldRepair,\n showFooter,\n userGetRepairData,\n setWorkOrderApiFailureMessage\n} from \"../../ducks/redux/actions/userChoices\";\nimport {\n getContractorName,\n workOrderRepairObject,\n getDeterminedContractorDetails,\n getContractorPayload,\n} from \"../../ducks/redux/actions/getAddress\";\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport { RepairPriority } from \"../../models/Repair/CreateRepair\";\nimport { repairHistoryData } from \"../../ducks/redux/actions/historicRepair\";\nimport { CatalistTriageContractorType } from \"../../models/Repair/Contractor\";\nimport { FeatureFlags } from \"../contexts/FeatureFlags\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\nimport Message from \"../../storybook/Message\";\nimport { comingFromRepairJourneySuccess, setTriageRepair } from \"../../ducks/redux/actions/FinancialReferral\";\nimport { RepairChannel } from \"../../models/Repair/RepairChannel\";\nimport { isNullOrUndefined } from \"../../utils/formatting\";\n\nconst ConfirmationDetails: React.FC = (props) => {\n const savedResponses = useSelector((state: any) => state.userChoicesReducer);\n const { t } = useTranslation();\n\n const dispatch = useDispatch();\n const { featureMedia }: any = useContext(FeatureFlags);\n\n\n enum RepairCauseId {\n \"General Wear and Tear\" = 1,\n \"Vandalism or Damage\" = 4,\n }\n\n enum AssetType {\n \"Property\" = \"Property\",\n \"Block\" = \"Block\"\n }\n\n enum EmergencySelection {\n \"SelectedEmergencyTypeYes\" = \"Yes, I can provide access\",\n \"SelectedEmergencyTypeNo\" = \"No, I can provide access\",\n }\n\n const checkEnhancedEligibility = useSelector(\n (state: any) =>\n state.userChoicesReducer.checkEnhancedRepairEligibilityMyPeabody\n );\n\n const determinedcontractordetails = useSelector(\n (state: any) => state.addresses?.determinedcontractordetails\n );\n\n const userChosenSupplementaryQuestionsVal = useSelector(\n (state: any) => state.userChoicesReducer.userChosenSupplementaryQuestions\n );\n const userChosenVandalismQuestionVal = useSelector(\n (state: any) => state.userChoicesReducer.userChosenVandalismQuestion\n );\n\n const userChosenCovidQuestionVal = useSelector(\n (state: any) => state.userChoicesReducer.userChosenCovidQuestion\n );\n const covidConfigValue = useSelector(\n (state: any) => state?.addresses?.covidtoggleValue\n );\n\n const isCatalyst = useSelector(\n (state: any) => state.userChoicesReducer?.isCatalystCustomer\n );\n\n const eligibilityResponseObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.eligibilityResponseObject\n );\n const boroughName = useSelector(\n (state: any) => state.userChoicesReducer.borough\n );\n const [isLoading, setIsLoading] = useState(false);\n const [disabled, setDisabled] = useState(true);\n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n const [BlockMsg, setBlockMsg] = useState();\n const [blockLoading, setBlockLoading] = useState(false);\n const [contractorPriorityCodeValue, setContractorPriorityCodeValue] = useState(\"\");\n\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n\n const repairHistoryData = useSelector(\n (state: any) => state.historicRepairReducer?.repairHistoryData\n );\n const getVandalismDisplayText = (): string => {\n if (userChosenVandalismQuestionVal === \"Yes\") {\n if (userChosenVandalismAdditionalInformationBackButton?.trim()) {\n return `Yes , ${userChosenVandalismAdditionalInformationBackButton}`;\n } else {\n return \"Yes\";\n }\n } else if (userChosenVandalismQuestionVal === \"No\") {\n return \"No\";\n }\n return \"\";\n };\n\n\n useEffect(() => {\n callPostRepairApi();\n const parsedData = Object.entries(savedAnswerKeys).reduce(\n (prev: any, curr: any) => {\n let mainData: any = {};\n const combinedData = Object.entries(curr[1]);\n combinedData.forEach(([key, value]: any) => {\n if (savedResponses[value] || key === \"urlPath\") {\n mainData = {\n ...mainData,\n [curr[1][\"urlPath\"]]: {\n ...mainData[curr[1][\"urlPath\"]],\n [key]:\n key === \"urlPath\"\n ? value\n : {\n key: value,\n value: savedResponses[value],\n },\n },\n };\n }\n });\n return {\n ...prev,\n ...mainData,\n };\n },\n {}\n );\n dispatch(updatePrevConfirmedState(parsedData));\n }, []);\n\n const callPostRepairApi = async () => {\n setDisabled(true);\n const advancedPayload = {\n isEmergency: workOrderObject.isEmergency,\n sor: userChosenSOR,\n isPotentialDuplicate: userChosenDuplicateQuestion.split(\"&\")[2]\n ? true\n : userChosenDuplicateQuestion === t(\"duplicateNoneofTheAbove\")\n ? true\n : false,\n isVulnerable: workOrderObject.isEmergency\n ? false\n : userChosenVulnerabilityQuestion === \"Yes\"\n ? true\n : false,\n channel: \"CustomerSelfService\",\n };\n try {\n setBlockLoading(true);\n if (checkEnhancedEligibility) {\n const enhancedApiResponse = await api.postEnhancedRepairEligibility(\n advancedPayload\n );\n setBlockMsg(enhancedApiResponse?.isEligible);\n if (enhancedApiResponse?.isEligible === false) {\n setDisabled(true);\n } else {\n setDisabled(false);\n }\n } else {\n setDisabled(false);\n }\n setBlockLoading(false);\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n\n };\n\n\n const exitButtonHandler = () => {\n dispatch(clearMediaFiles([]));\n dispatch(userChosenPropertyId(\"\"));\n dispatch(userChosenPropertyType(\"\"));\n dispatch(userChosenPropertyAddress(\"\"));\n dispatch(userChosenRepairLocationId(0));\n dispatch(userChosenRepairLocation(\"\"));\n dispatch(userChosenHighLevelDescription(\"\"));\n dispatch(userChosenSupplementaryQuestions(\"\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n\n dispatch(userChosenSTATUS(\"\"));\n dispatch(userChosenEligibilityErrorCode(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(workOrderRepairObject(null));\n dispatch(repairHistoryData(\"\"));\n dispatch(userChosenResumeRepair(false));\n dispatch(loadDuplicateRepairPage(false));\n dispatch(userCreatedNewRepair(null));\n dispatch(selectedTenancyGroup(''))\n dispatch(userGetRepairData(\"\"));\n\n props.history.push(\"/customer360View\");\n };\n\n const saveDraftAndExit = () => {\n props.history.replace(\"/customer360View\");\n };\n const backButtonHandler = () => {\n props.history.push(\"/customerdetails\");\n };\n const callPageHandler = () => {\n setDisabled(true);\n if (\n userChosenDuplicateQuestion !== \"\" ||\n heatinghotwatercase !== undefined ||\n userChosenVulnerabilityAdditionalInformation !== \"\"\n ) {\n isTriageCase = true;\n } else {\n isTriageCase = false;\n }\n let isCatalystTriageTier2Ema = false;\n let siteIdentifier = [];\n if (determinedcontractordetails) {\n siteIdentifier = determinedcontractordetails?.contractorSites ?? determinedcontractordetails?.contractorSites[0];\n isCatalystTriageTier2Ema = ((siteIdentifier[0] === CatalistTriageContractorType.CATALYST_TRIAGE_TIER2) || (siteIdentifier[0] === CatalistTriageContractorType.CATALYST_TRIAGE_EMA));\n }\n if (isTriageCase || isCatalystDefectTriageCase || isCatalystTriageTier2Ema) {\n dispatch(userChosenPropertyId(\"\"));\n dispatch(comingFromRepairJourneySuccess(true))\n submitForm(siteIdentifier[0]);\n } else {\n dispatch(comingFromRepairJourneySuccess(true))\n submitForm(\"\");\n }\n };\n\n const redirect = (url: string) => {\n dispatch(isEditState(true));\n props.history.push(url);\n };\n\n const renderData = (item: any, index: any) => {\n return (\n <>\n
    \n
    \n
    \n\n {/* @ts-ignore */}\n {questions?.translation[item[0]] === t(\"Customer_Details\")\n ? t(\"Customer_Details_Text_Two\")\n : // @ts-ignore\n questions?.translation[item[0]]}\n\n
    \n

    \n \n {item[0] === \"VandalismQuestion\" ? (\n getVandalismDisplayText()\n ) : (\n\n <>\n {\" \"}\n {!savedResponses[item[1]?.reduxKeyQs]\n ?\n savedResponses[item[1]?.reduxKey].split(\"@\")[0]\n : \"\"\n }\n {savedResponses[item[1]?.reduxKeyQs]\n ?\n savedResponses[item[1]?.reduxKeys]\n : \"\"\n }\n {\"\\n\"}\n {savedResponses[item[1]?.reduxKeyQs]}\n

    \n {savedResponses[item[1]?.reduxKeyselect]}\n )}\n

    \n

    \n
    \n
    \n \n {\" \"}\n {\n redirect(`/${item[1]?.urlPath}`);\n }}\n >\n \n
    \n \n \n );\n };\n\n const vandalismConfigValue = useSelector(\n (state: any) => state?.addresses?.vandalismtoggleValue\n );\n const userChosenUPRN = useSelector(\n (state: any) => state.userChoicesReducer.userChosenUPRN\n );\n const userChosenSOR = useSelector(\n (state: any) => state.userChoicesReducer.userChosenSOR\n );\n\n const userMaintResp = useSelector((state: any) => state.addresses.maintresp);\n const userRepairResp = useSelector(\n (state: any) => state.addresses.repairresp\n );\n const userVandalismChoice = useSelector(\n (state: any) => state.userChoicesReducer.userChosenVandalismQuestion\n );\n\n const userChosenDuplicateQuestion = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenDuplicateQuestion\n );\n\n const selectedproperty = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n\n const userChosenHighLevelDescriptionVal = useSelector(\n (state: any) => state.userChoicesReducer.userChosenHighLevelDescription\n );\n\n const heatinghotwatercase = useSelector(\n (state: any) => state?.addresses?.heatinghotwatercase\n );\n let isTriageCase = false;\n\n const isCatalystDefectTriageCase = isCatalyst && eligibilityResponseObject?.statuses.isInDefects === true\n\n const userChosenVulnerabilityQuestion = useSelector(\n (state: any) => state.userChoicesReducer.userChosenVulnerabilityQuestion\n );\n\n const userChosenVulnerabilityAdditionalInformation = useSelector(\n (state: any) =>\n state.userChoicesReducer.userChosenVulnerabilityAdditionalInformation\n );\n\n const userChosenVandalismAdditionalInformationBackButton = useSelector(\n (state: any) =>\n state.userChoicesReducer.userChosenVandalismAdditionalInformation\n );\n const isVandalismEligible = eligibilityResponseObject?.statuses.isInDefects === true && selectedproperty !== AssetType.Property && vandalismConfigValue === true;\n let isContractorEMA = \"N\";\n\n const workOrderUpdate = async () => {\n try {\n const isEMA = determinedcontractordetails?.statuses?.isEMA;\n\n workOrderObject.isDraft = true;\n if (isEMA) {\n workOrderObject.isEMA = true;\n }\n\n const siteIdentifier = determinedcontractordetails?.contractorSites\n ? determinedcontractordetails?.contractorSites?.[0]\n : null;\n workOrderObject.contractor = siteIdentifier;\n\n userChosenSupplementaryQuestionsVal === \"Yes\"\n ? (workOrderObject.isSupplementary = true)\n : userChosenSupplementaryQuestionsVal === \"No\"\n ? (workOrderObject.isSupplementary = false)\n : (workOrderObject.isSupplementary = null);\n\n userChosenVandalismQuestionVal === \"Yes\" && isVandalismEligible ? (workOrderObject.isVandalism = true)\n : userChosenVandalismQuestionVal === \"No\" && isVandalismEligible ? (workOrderObject.isVandalism = false)\n : (workOrderObject.isVandalism = null);\n\n userChosenCovidQuestionVal === \"Yes\" && covidConfigValue\n ? (workOrderObject.isCovidSelfIsolated = true)\n : userChosenCovidQuestionVal === \"No\" && covidConfigValue\n ? (workOrderObject.isCovidSelfIsolated = false)\n : (workOrderObject.isCovidSelfIsolated = null);\n\n userChosenDuplicateQuestion === \"\"\n ? (workOrderObject.isPotentialDuplicate = false)\n : (workOrderObject.isPotentialDuplicate = true);\n userChosenVulnerabilityQuestion !== \"\" &&\n userChosenVulnerabilityQuestion !== null &&\n userChosenVulnerabilityQuestion === \"Yes\"\n ? (workOrderObject.isVulnerable = true)\n : userChosenVulnerabilityQuestion === \"No\"\n ? (workOrderObject.isVulnerable = false)\n : (workOrderObject.isVulnerable = null);\n userChosenVulnerabilityAdditionalInformation !== \"\"\n ? (workOrderObject.VulnerableResponseText =\n userChosenVulnerabilityAdditionalInformation)\n : (workOrderObject.VulnerableResponseText = null);\n\n userChosenSOR !== \"\"\n ? (workOrderObject.sorCode = userChosenSOR)\n : (workOrderObject.sorCode = \"NA\");\n\n if (userVandalismChoice === \"Yes\" && isVandalismEligible) {\n workOrderObject.crimeReferenceNumber =\n userChosenVandalismAdditionalInformationBackButton;\n workOrderObject.repairCause = \"Vandalism or Damage\";\n workOrderObject.repairCauseId =\n RepairCauseId[\n workOrderObject.repairCause as keyof typeof RepairCauseId\n ];\n } else {\n workOrderObject.crimeReferenceNumber = \"\";\n workOrderObject.repairCause = \"General Wear and Tear\";\n workOrderObject.repairCauseId =\n RepairCauseId[\n workOrderObject.repairCause as keyof typeof RepairCauseId\n ];\n }\n workOrderObject.isSubmitted = true;\n workOrderObject.priority = contractorPriorityCodeValue;\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n const apiResponse = await api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n\n dispatch(workOrderRepairObject(workOrderObject));\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n }\n };\n\n const submitForm = async (siteCode: string) => {\n const contractorSiteOnHoldCase = determinedcontractordetails?.contractorSites?.[0] === CatalistTriageContractorType.CONTRACTORSITE_ON_HOLD;\n const isTriageCase = userChosenDuplicateQuestion != \"\" ||\n heatinghotwatercase != undefined ||\n userChosenVulnerabilityAdditionalInformation != \"\"\n\n const jobWillNotBeCreated = isTriageCase ||\n isCatalystDefectTriageCase ||\n siteCode == CatalistTriageContractorType.CATALYST_TRIAGE_TIER2 ||\n siteCode == CatalistTriageContractorType.CATALYST_TRIAGE_EMA;\n\n const appointmentWillNotBeCreated = \n contractorSiteOnHoldCase ||\n workOrderObject.isEmergency ||\n determinedcontractordetails?.statuses?.isEMA ||\n !determinedcontractordetails?.statuses?.isIntegrated ||\n determinedcontractordetails?.statuses?.isBuilder;\n\n dispatch(isOnHoldRepair(contractorSiteOnHoldCase));\n\n workOrderUpdate();\n\n const noOfHits = process.env.REACT_APP_API_HITS;\n const timeoutValue = process.env.REACT_APP_API_TIMEOUT;\n const noOfHitsValue = Number(noOfHits);\n const noOfTimeoutValue = Number(timeoutValue);\n\n let i = 0,\n jobNumber = \"\",\n workOrderId = workOrderObject?.id;\n\n if (!jobWillNotBeCreated) {\n dispatch(setTriageRepair(false));\n let interval = setInterval(async () => {\n if (i < noOfHitsValue) {\n i++;\n try {\n if (isNullOrUndefined(jobNumber)) {\n const repair = await api.getRepair(workOrderId);\n dispatch(userChosenPropertyType(repair.area));\n dispatch(userGetRepairData(repair));\n jobNumber = repair?.jobNo;\n }\n\n if (!isNullOrUndefined(jobNumber)) {\n clearInterval(interval);\n dispatch(setTriageRepair(false));\n\n if (appointmentWillNotBeCreated) {\n dispatch(userGetRepairData(\"\"));\n dispatch(userChosenPropertyType(selectedproperty));\n dispatch(setWorkOrderApiFailureMessage(false));\n props.history.push(\"/customer360View\");\n } else {\n dispatch(setWorkOrderApiFailureMessage(false));\n props.history.push(\"/appointmentscheduler\");\n }\n }\n }\n catch (e) {\n console.error(e);\n showWorkorderErrorPage(interval);\n }\n }\n else {\n console.log(\"Job No not created after all the attempts\");\n showWorkorderErrorPage(interval);\n }\n }, noOfTimeoutValue);\n return () => clearInterval(interval);\n }\n else {\n dispatch(setTriageRepair(true));\n props.history.push('/customer360View')\n }\n }; \n\n const showWorkorderErrorPage = async (interval: any) => {\n clearInterval(interval);\n dispatch(showFooter(true));\n dispatch(userGetRepairData(\"\"));\n dispatch(userChosenPropertyType(\"\"));\n props.history.push(\"/workOrderErrorPage\");\n }\n\n useEffect(() => {\n (async function () {\n try { \n setDisabled(true);\n setIsLoading(true);\n\n if (\n !isNullOrUndefined(userChosenDuplicateQuestion) ||\n !isNullOrUndefined(heatinghotwatercase) ||\n !isNullOrUndefined(userChosenVulnerabilityAdditionalInformation) \n ) {\n isTriageCase = true;\n }\n else {\n isTriageCase = false;\n }\n\n if (!isTriageCase) {\n let contractorId: string = \"\";\n isContractorEMA = \"N\";\n const isRecall = false;\n\n let region = eligibilityResponseObject?.region;\n let uprn = userChosenUPRN;\n let maintenanceResponsibility: string = userMaintResp;\n let repaiResponsiblity: string = userRepairResp;\n\n const repairId = workOrderObject?.id;\n let repairCauseId;\n if (isVandalismEligible) {\n repairCauseId = userVandalismChoice === \"Yes\" ? 4 : 1;\n }\n else\n repairCauseId = 1;\n\n\n const sorCode = userChosenSOR;\n const descriptionValue = userChosenHighLevelDescriptionVal;\n const raisedDate = new Date();\n const repairTime = raisedDate.getHours().toString();\n const priorityCode = workOrderObject?.isEmergency ? \"EME\" : \"NA\";\n const raisedFormattedDate = moment(new Date()).format(\"YYYY-MM-DDTHH:mm:ss\");\n const borough = boroughName ? boroughName : \"\"\n const isVandalismActive = isVandalismEligible && userVandalismChoice === \"Yes\"\n //call contractorv2 api\n //logic to determine single contractor\n let determinedContractor: any = null;\n if (isCatalystDefectTriageCase) {\n determinedContractor = [{\n \"id\": CatalistTriageContractorType.CATALYST_TRIAGE_DEFECT,\n \"name\": \"Catalyst Defect Triage\",\n \"statuses\": {\n \"isIntegrated\": false,\n \"isBuilder\": false,\n \"isSubContractor\": false,\n \"isEMA\": false,\n \"isActive\": true\n },\n \"contractorSites\": [\n \"CATALYST_TRIAGE_DEFECT\"\n ],\n \"emaType\": \"\",\n \"contacts\": [\n {}\n ],\n \"_links\": [],\n \"parentIdentifier\": null\n }]\n }\n else {\n determinedContractor = await api.getDeterminedContractor(\n repairId,\n priorityCode,\n region,\n sorCode,\n repairTime,\n uprn,\n raisedFormattedDate,\n repairCauseId,\n maintenanceResponsibility,\n repaiResponsiblity,\n borough,\n isVandalismActive\n );\n }\n\n if (determinedContractor) {\n const contractorDetail = determinedContractor?.[0];\n dispatch(getDeterminedContractorDetails(contractorDetail));\n if (\n contractorDetail?.name !== \"\" &&\n contractorDetail?.name !== null\n ) {\n setDisabled(false);\n }\n dispatch(getContractorName(contractorDetail?.name));\n\n isContractorEMA = contractorDetail.statuses.isEMA ? \"Y\" : \"N\"\n contractorId = contractorDetail.id;\n const contractorPriorityPayload = await api.postRepairPriority({\n repairType: sorCode,\n contractorIdentifier: contractorId,\n isEmergency: workOrderObject?.isEmergency,\n isRecall: !!isRecall,\n isEMA: isContractorEMA,\n isVulnerable: userChosenVulnerabilityQuestion === \"Yes\",\n description: descriptionValue,\n raisedDate: raisedFormattedDate,\n channel: RepairChannel.CustomerSelfService\n });\n dispatch(getContractorPayload(contractorPriorityPayload));\n\n const { isWorkingHours, repairPriority } =\n contractorPriorityPayload;\n setContractorPriorityCodeValue(repairPriority);\n\n const sorcode = userChosenSOR;\n if (\n contractorDetail &&\n workOrderObject !== undefined &&\n workOrderObject !== null\n ) {\n try {\n setIsLoading(true);\n\n workOrderObject.isOutOfHours = repairPriority === \"OOH\";\n workOrderObject.priority = repairPriority;\n workOrderObject.contractorName = contractorDetail?.name;\n if (contractorDetail?.contacts?.[0].addresses?.digitalAddresses[0]?.telecomsAddresses.length > 0) {\n workOrderObject.contractorPhoneNumber =\n contractorDetail?.contacts?.[0].addresses?.digitalAddresses[0]?.telecomsAddresses[0]?.number;\n }\n if (sorcode !== \"\") workOrderObject.sorCode = sorcode;\n\n const siteIdentifier = contractorDetail?.contractorSites\n ? contractorDetail.contractorSites[0]\n : null;\n workOrderObject.contractor = siteIdentifier;\n\n userChosenSupplementaryQuestionsVal === \"Yes\"\n ? (workOrderObject.isSupplementary = true)\n : userChosenSupplementaryQuestionsVal === \"No\"\n ? (workOrderObject.isSupplementary = false)\n : (workOrderObject.isSupplementary = null);\n\n userChosenVandalismQuestionVal === \"Yes\" && isVandalismEligible ? (workOrderObject.isVandalism = true)\n : userChosenVandalismQuestionVal === \"No\" && isVandalismEligible ? (workOrderObject.isVandalism = false)\n : (workOrderObject.isVandalism = null);\n\n userChosenCovidQuestionVal === \"Yes\" && covidConfigValue\n ? (workOrderObject.isCovidSelfIsolated = true)\n : userChosenCovidQuestionVal === \"No\" && covidConfigValue\n ? (workOrderObject.isCovidSelfIsolated = false)\n : (workOrderObject.isCovidSelfIsolated = null);\n\n userChosenDuplicateQuestion === \"\"\n ? (workOrderObject.isPotentialDuplicate = false)\n : (workOrderObject.isPotentialDuplicate = true);\n userChosenVulnerabilityQuestion !== \"\" &&\n userChosenVulnerabilityQuestion !== null &&\n userChosenVulnerabilityQuestion !== \"No\"\n ? (workOrderObject.isVulnerable = true)\n : (workOrderObject.isVulnerable = false);\n userChosenVulnerabilityAdditionalInformation !== \"\"\n ? (workOrderObject.VulnerableResponseText =\n userChosenVulnerabilityAdditionalInformation)\n : (workOrderObject.VulnerableResponseText = null);\n\n userChosenSOR !== \"\"\n ? (workOrderObject.sorCode = userChosenSOR)\n : (workOrderObject.sorCode = \"NA\");\n\n if (isCatalyst) {\n workOrderObject.isCatalyst = true;\n }\n\n workOrderObject.isInDefect = eligibilityResponseObject?.statuses.isInDefects;\n\n const _worksOrderRequest = new WorksOrderRequest(\n workOrderObject\n );\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n const apiResponse = await api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n\n dispatch(workOrderRepairObject(workOrderObject));\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n }\n }\n }\n } else {\n setDisabled(false);\n }\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n }\n })();\n }, []);\n return (\n <>\n \n
    \n
    \n
    \n

    \n {t(\"Repair_Details_Head\")}\n

    \n {blockLoading ? (\n \n ) : (BlockMsg === false) ?\n \n {t(\"OrbisBlockMsg1\")}
    \n {t(\"OrbisBlockMsg2\")} {t(\"OrbisBlockNumber\")} {t(\"OrbisBlockMsg3\")}\n
    :\n \n {t(\"Repair_Details_Text1\")} {t(\"Repair_Details_Text2\")}\n \n }\n
    \n {isLoading ? (\n
    \n
    \n ) : (\n
    \n {Object.entries(savedAnswerKeys)\n .filter((e: any) => {\n if (\n e[1].reduxKey === \"mediaAttached\" &&\n featureMedia === \"false\"\n ) {\n return false;\n }\n if (workOrderObject?.isEmergency === true &&\n (e[1].reduxKey === \"userChosenVulnerabilityQuestion\" && e[1].urlPath === \"vulnerabilityquestion\")\n ) {\n return false;\n }\n if ((e[1]?.urlPath === \"vandalismquestion\" && isVandalismEligible) || e[1]?.urlPath !== \"vandalismquestion\") {\n if ((e[1]?.urlPath === \"covidquestion\" && covidConfigValue) || e[1]?.urlPath !== \"covidquestion\") {\n if (e[1]?.urlPath !== \"duplicaterepair\" || (e[1]?.urlPath === \"duplicaterepair\" && savedResponses[e[1]?.reduxKey] === \"I don't think this is a duplicate\")) {\n return savedResponses[e[1]?.reduxKey];\n }\n }\n }\n })\n .map(renderData)}\n
    \n )}\n
    \n\n
    \n
    \n
    \n \n \n
    \n
    \n \n {t(\"continuen_button\")}\n \n
    \n
    \n
    \n
    \n \n );\n};\nexport default ConfirmationDetails;","import React, { useState, useEffect } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport * as api from \"../../api\";\nimport \"./index.scss\";\nimport * as ReactBootstrap from \"react-bootstrap\";\nimport Loader from \"react-loader-spinner\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport Button from \"../../Button/Button\";\nimport {\n userChosenDuplicateQuestion,\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n isEditState,\n resumeDraftRepair,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenIsReporter,\n userChosenPropertyAddress,\n userResumeData,\n userChosenPropertyType,\n userChosenUPRN,\n userChosenRepairLocationId,\n userChosenSupplementaryQuestions,\n userChosenEmergencyQuestion,\n userChosenAdditionalDescriptionCOUNT,\n userResumeDraftDataCache,\n userChosenPropertyId,\n userChosenSOR,\n userChosenRepairLocation,\n userChosenHighLevelDescription,\n userChosenResumeRepair,\n loadDuplicateRepairPage,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\nimport BackModal from \"../Modal/BackModal\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\nimport {\n Container,\n FormControlLabel,\n Radio,\n RadioGroup,\n} from \"@material-ui/core\";\nimport { WorksOrdersResponse } from \"../../models/WorksOrders\";\nimport TableBody from \"@material-ui/core/TableBody\";\nimport TableCell from \"@material-ui/core/TableCell\";\nimport TableRow from \"@material-ui/core/TableRow\";\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport {\n saveCustomerDetails,\n saveCustomerphoneNumber,\n selectedTenacyType,\n workOrderRepairObject,\n saveSupplimentaryCodes\n} from \"../../ducks/redux/actions/getAddress\";\nimport { RepairChannel } from \"../../models/Repair/RepairChannel\";\nimport { RepairStatusField } from \"../../models/Repair/Repair\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\nimport PageHeader from \"../../storybook/PageHeader/PageHeader\";\nimport Message from \"../../storybook/Message\";\nimport { CustomerResponse } from \"../../models/Customer\";\n\ninterface DuplicateRepairProps extends RouteComponentProps {}\nconst DuplicateRepair: React.FC = (props) => {\n let moment = require(\"moment\");\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const [isLoading, setIsLoading] = React.useState(true);\n const [isResumeLoading, setIsResumeLoading] = React.useState(false);\n const [radiovalue, setRadioValue] = useState(\"\");\n const [isDisabled, setIsDisabled] = useState(true);\n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n const [error, setError] = useState(false);\n const [errorMessage, setErrorMessage] = useState(\"\");\n const [isResumeDraftRepair, setIsResumeDraftRepair] = useState(false);\n const [BlockMsg, setBlockMsg] = useState();\n const [disableContinueforEnhancedEligiblityCheck, setDisableContinueforEnhancedEligiblityCheck] = useState(false);\n\n const selectproperty = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n const userChosenEmergencyQuestionVal = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenEmergencyQuestion\n );\n const userChosenSORValue = useSelector(\n (state: any) => state.userChoicesReducer.userChosenSOR\n );\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const userChosenPropertyIdValue = useSelector(\n (state: any) => state.userChoicesReducer.userChosenPropertyId\n );\n const userDuplicateQuestion = useSelector(\n (state: any) => state.userChoicesReducer.userChosenDuplicateQuestion\n );\n const selectedRepairReason = useSelector(\n (state: any) => state.dashboardReducer.formState.selectedRepairReasonObject\n );\n const selectedproperty = useSelector(\n (state: any) => state?.dashboardReducer?.formState?.tracks[0]?.assetType\n );\n const priority = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject[0]\n ?.priority\n );\n const appConfigValue = useSelector(\n (state: any) => state?.addresses?.toggleValue\n );\n const eligibilityResponseObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.eligibilityResponseObject\n );\n const vandalismConfigValue = useSelector(\n (state: any) => state?.addresses?.vandalismtoggleValue\n );\n const covidConfigValue = useSelector(\n (state: any) => state?.addresses?.covidtoggleValue\n );\n const resumeDraftRepairVal = useSelector(\n (state: any) => state.userChoicesReducer.resumeDraftRepair\n );\n\n const priorityCodeValue = useSelector(\n (state: any) => state.userChoicesReducer?.repairPriority\n );\n\n const checkEnhancedEligibility = useSelector(\n (state: any) =>\n state.userChoicesReducer.checkEnhancedRepairEligibilityMyPeabody\n );\n\n const [duplicateRepairResult, setDuplicateRepairResult] =\n useState();\n\n const userChosenResumeRepairValue = useSelector(\n (state: any) => state.userChoicesReducer.userChosenResumeRepair\n );\n\n const userCreatedNewRepairValue = useSelector(\n (state: any) => state.userChoicesReducer.userCreatedNewRepair\n );\n const isCatalyst = useSelector(\n (state: any) => state.userChoicesReducer?.isCatalystCustomer\n );\n const orbisDuplicate = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n const customerResponse: CustomerResponse = useSelector(\n (state: any) => state.addresses.saveCustomerDetails\n );\n\n const getIsEmergency = () => {\n if(selectedproperty === \"Property\" && priority === \"Emergency\") {\n if (userChosenEmergencyQuestionVal === \"Yes, I can provide access\") {\n return true;\n }\n }\n return false;\n }\n\n useEffect(() => {\n if (userDuplicateQuestion != \"\") {\n setRadioValue(userDuplicateQuestion);\n setIsDisabled(false);\n dispatch(loadDuplicateRepairPage(true));\n }\n (async () => {\n try {\n const propertiesIds = [];\n if (userChosenPropertyIdValue)\n propertiesIds.push(userChosenPropertyIdValue);\n\n let duplicateRepairStatuses = \"Unappointed,Appointed,In Progress,In Diagnosis\"\n duplicateRepairStatuses += ',' + RepairStatusField.CatalystTier2Triage\n duplicateRepairStatuses += ',' + RepairStatusField.CatalystEMATriage\n duplicateRepairStatuses += ',' + RepairStatusField.CatalystDefectTriage\n const sorValue = userChosenSORValue == \"N/A\"? \"NA\": userChosenSORValue;\n dispatch(userChosenSOR(sorValue));\n const queryParams = {\n propertiesIds,\n sor: sorValue,\n location: \"\",\n description: \"\",\n status: duplicateRepairStatuses,\n isDuplicateCheck: true,\n };\n\n const duplicateRepair = await api.getWorksOrdersApi(queryParams);\n\n Promise.all([duplicateRepair]).then((results) => {\n results.forEach((element) => {\n if (selectedproperty === \"Block\" || selectedproperty === \"Estate\") {\n const resultF = element.worksOrders.filter(\n (wo) =>\n (wo?.asset?.type?.assetTypeName === \"Block\" ||\n wo?.asset?.type?.assetTypeName === \"Estate\") &&\n wo?.statuses?.status === \"Unappointed\"\n );\n if (resultF.length <= 0) {\n props.history.push(\"/repairadditionaldetails\");\n return;\n }\n }\n });\n results.map((items) => {\n setDuplicateRepairResult(items);\n const searchDupeWOResultFilteredOutSelf = items?.worksOrders.filter(\n (searchWorkOrder) =>\n searchWorkOrder?.identifiers?.worksOrderIdentifier !=\n workOrderObject?.id\n );\n if (\n items?.totalCount === undefined ||\n items?.totalCount <= 0 ||\n searchDupeWOResultFilteredOutSelf.length <= 0\n ) {\n if (props.history.action === \"POP\") {\n props.history.goBack();\n } else {\n props.history.push(\"/repairadditionaldetails\");\n }\n } else {\n setIsLoading(false);\n }\n });\n });\n } catch (error) {\n console.log(`Error fetching dubplicate check data ${error}`);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n })();\n }, []);\n\n const handleRadioChange = async (\n event: React.ChangeEvent\n ) => {\n setBlockMsg(\"\");\n setDisableContinueforEnhancedEligiblityCheck(false);\n if (EditState === true) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(isEditState(false));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n }\n setError(true);\n setIsDisabled(true);\n setRadioValue(event.target.value);\n dispatch(userChosenDuplicateQuestion(event.target.value)); \n\n const advancedPayload = {\n \"isEmergency\": getIsEmergency(),\n \"sor\": userChosenSORValue,\n \"isPotentialDuplicate\": event?.target?.value?.split(\"&\")[0] === t(\"duplicateNoneofTheAbove\"),\n \"channel\": \"customerSelfService\"\n }\n try {\n if(event.target.value.split(\"&\")[0] !== \"In Diagnosis\"){\n if (checkEnhancedEligibility) {\n const duplicateBlock = await api.postEnhancedRepairEligibility(\n advancedPayload\n );\n setBlockMsg(duplicateBlock?.isEligible);\n if (duplicateBlock?.isEligible === false) {\n setDisableContinueforEnhancedEligiblityCheck(true);\n setBlockMsg(\"\");\n }\n }\n }\n }\n catch(e) {\n console.log('error',e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } \n setErrorMessage(\"Duplicate_Repair_SSR044\"); \n\n setErrorMessage(\"Duplicate_Repair_SSR044\");\n if (event.target.value.split(\"&\")[2] === \"true\") {\n // ie. isSubmitted = true && (isPotentialDuplicate = true || sor = NA || isVulnerable = true)\n setIsDisabled(true);\n setErrorMessage(\"SSR075a\");\n } else if (event.target.value.split(\"&\")[0] === \"In Diagnosis\") {\n setIsResumeDraftRepair(true);\n setIsDisabled(false);\n setErrorMessage(\"SSR074\");\n } else if (\n event.target.value.split(\"&\")[0] ===\n RepairStatusField.CatalystDefectTriage\n ) {\n setIsResumeDraftRepair(false);\n setIsDisabled(true);\n setErrorMessage(\"duplicate_msg_catalyst_triage\");\n } else if (\n event.target.value.split(\"&\")[0] ===\n RepairStatusField.CatalystEMATriage ||\n event.target.value.split(\"&\")[0] === RepairStatusField.CatalystTier2Triage\n ) {\n setIsResumeDraftRepair(false);\n setIsDisabled(true);\n setErrorMessage(\"duplicate_msg_catalyst_triage_ema_tier2\");\n } else if (resumeDraftRepairVal) {\n setIsResumeDraftRepair(false);\n setIsDisabled(false);\n setErrorMessage(\"Duplicate_Repair_SSR045\");\n } else if (\n event.target.value.split(\"&\")[0] === \"I don't think this is a duplicate\"\n ) {\n dispatch(workOrderRepairObject(userCreatedNewRepairValue));\n setIsResumeDraftRepair(false);\n setIsDisabled(false);\n setErrorMessage(\"Duplicate_Repair_SSR045\");\n }\n };\n\n const GetErrorMessage = (errMessage: string, includeSpace: boolean) => { \n return (\n <>\n
    \n \n {includeSpace && \" \"}\n {t(errMessage)}\n \n
    \n \n ) \n };\n\n const backButtonHandler = () => {\n dispatch(userChosenDuplicateQuestion(\"\"));\n if (!(priority === \"Emergency\" && selectedproperty === \"Property\")) {\n if (\n selectedRepairReason[0]?.additionalData.length > 0 &&\n selectedRepairReason[0]?.additionalData[0]?.description != \"\"\n ) {\n props.history.replace(\"/supplementaryquestion\");\n } else {\n props.history.replace(\"/repairlocation\");\n }\n } else {\n props.history.push(\"/repairemergency\");\n }\n };\n\n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const saveDraftAndExit = () => {\n if (radiovalue === \"\") {\n props.history.replace(\"/customer360View\");\n } else {\n setError(false);\n //update workorder\n if (workOrderObject != null) {\n UpdateWorkOrder();\n }\n setCloseAfterSaving(true);\n props.history.replace(\"/customer360View\");\n }\n };\n\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n\n const UpdateWorkOrder = async () => {\n try {\n userDuplicateQuestion == \"\"\n ? (workOrderObject.isPotentialDuplicate = false)\n : (workOrderObject.isPotentialDuplicate = true);\n\n workOrderObject.priority = priorityCodeValue;\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n\n await api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n\n dispatch(workOrderRepairObject(workOrderObject));\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n };\n\n const callPageHandler = async () => {\n try {\n if (isResumeDraftRepair) {\n setIsResumeLoading(true);\n const workOrderId = radiovalue.split(\"&\")[1];\n if (workOrderObject != null && workOrderId !== workOrderObject.id) {\n const getWorkOrderResult: any = await api.getRepair(workOrderObject.id);\n const deleteWorkOrderResponse: any = await api.deleteWorkOrder(\n workOrderObject.id,\n getWorkOrderResult?.eTag?.toString()\n );\n }\n const workOrderResponse = await api.getWorkOrder(workOrderId);\n resumeRepairHandler(workOrderResponse);\n } else if (!radiovalue) {\n setErrorMessage(\"Duplicate_Repair_SSR055\");\n } else {\n dispatch(userChosenResumeRepair(false));\n dispatch(\n userChosenDuplicateQuestion(\"I don't think this is a duplicate\")\n );\n if (workOrderObject != null) {\n UpdateWorkOrder();\n }\n props.history.push(\"/repairadditionaldetails\");\n }\n }\n catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n };\n\n const resumeRepairHandler = async (draftRepair: any) => {\n try {\n dispatch(resumeDraftRepair(true));\n let assetrResponse = null;\n dispatch(\n saveCustomerphoneNumber(customerResponse?.addresses?.telecomsAddresses)\n );\n dispatch(saveCustomerDetails(customerResponse));\n dispatch(userChosenIsReporter(draftRepair.reporterToBeContacted));\n if (draftRepair.reporterContactDetails != null) {\n const name = draftRepair.reporterContactDetails?.name?.givenName?.replace(/\\b(null|undefined)\\b/g, \"\").trim() || \"\";\n dispatch(\n userChosenContactPhone(draftRepair.reporterContactDetails.contactNumber)\n );\n dispatch(userChosenContactName(name));\n dispatch(userChosenRelationDetails(draftRepair.reportedBy));\n dispatch(\n userChosenContactDetails(\n \"I would like to provide number for this repair.\"\n )\n );\n draftRepair.reporterContactDetails.name = null;\n } else {\n dispatch(userChosenRelationDetails(\"Customer\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(\n userChosenContactDetails(\n customerResponse?.addresses?.telecomsAddresses?.[0]?.number\n )\n );\n }\n draftRepair.isDraft = null;\n\n dispatch(workOrderRepairObject(draftRepair));\n const {\n id,\n premisesId,\n repairLocationId,\n repairLocation,\n repairReason,\n isSupplementary,\n isEmergency,\n isPotentialDuplicate,\n additionalInformation,\n isVandalism,\n repairCauseId,\n crimeReferenceNumber,\n isVulnerable,\n VulnerableResponseText,\n isCovidSelfIsolated,\n reporterContactDetails,\n premisesAddress,\n premisesUniqueReference,\n originalWorkOrderSorCode,\n area,\n } = draftRepair;\n\n if (premisesId) {\n assetrResponse = await api.getAssetsByid(premisesId);\n }\n if (\n assetrResponse?.addresses?.postalAddresses[0].formattedAddress != null\n ) {\n dispatch(\n userChosenPropertyAddress(\n assetrResponse?.addresses?.postalAddresses[0].formattedAddress\n )\n );\n }\n\n dispatch(selectedTenacyType(area));\n\n const premiseType =\n area === \"Block\" || area === \"Estate\" || area === \"Divided block\"\n ? \"Communal\"\n : area;\n const responsedata = await api.searchRepairReasons(\n repairReason,\n premiseType,\n isCatalyst\n );\n const selectedReason = responsedata.filter(\n (reason: any) => reason.description === repairReason\n );\n if (\n selectedReason[0]?.additionalData &&\n selectedReason[0]?.additionalData.length &&\n selectedReason[0]?.additionalData[0]?.description != \"\"\n ) {\n const resumeData = {\n resumeHLRepair: selectedReason[0]?.description,\n resumeHLSubQuestion: selectedReason[0]?.additionalData[0]?.description,\n resumeSelectedProperty: area,\n resumePriority: \"\", //props.Priority,\n };\n dispatch(userResumeData(resumeData));\n } else {\n const resumeData = {\n resumeHLRepair: \"\",\n resumeHLSubQuestion: \"\",\n resumeSelectedProperty: area,\n resumePriority: \"\", //props.Priority,\n };\n dispatch(userResumeData(resumeData));\n }\n dispatch(userChosenPropertyId(premisesId));\n dispatch(userChosenPropertyType(area));\n //dispatch(userChosenPropertyAddress(repairReason));\n dispatch(userChosenUPRN(premisesUniqueReference));\n dispatch(userChosenSOR(originalWorkOrderSorCode));\n repairLocation &&\n dispatch(userChosenRepairLocation(repairLocation)) &&\n dispatch(userChosenRepairLocationId(repairLocationId));\n repairReason && dispatch(userChosenHighLevelDescription(repairReason));\n isSupplementary === true\n ? dispatch(userChosenSupplementaryQuestions(\"Yes\"))\n : isSupplementary === false\n ? dispatch(userChosenSupplementaryQuestions(\"No\"))\n : dispatch(userChosenSupplementaryQuestions(\"\"));\n isEmergency &&\n dispatch(userChosenEmergencyQuestion(t(\"Repair_Emergency_Radio1_Text\")));\n additionalInformation &&\n dispatch(userChosenAdditionalDescription(t(additionalInformation))) &&\n dispatch(\n userChosenAdditionalDescriptionCOUNT(additionalInformation.length)\n );\n isVandalism\n ? dispatch(userChosenVandalismQuestion(\"Yes\")) &&\n dispatch(userChosenVandalismAdditionalInformation(crimeReferenceNumber))\n : dispatch(userChosenVandalismQuestion(\"No\"));\n isVulnerable\n ? dispatch(userChosenVulnerabilityQuestion(\"Yes\")) &&\n dispatch(\n userChosenVulnerabilityAdditionalInformation(VulnerableResponseText)\n )\n : dispatch(userChosenVulnerabilityQuestion(\"No\"));\n isCovidSelfIsolated === true\n ? dispatch(userChosenCovidQuestion(\"Yes\"))\n : isCovidSelfIsolated === false\n ? dispatch(userChosenCovidQuestion(\"No\"))\n : dispatch(userChosenCovidQuestion(\"\"));\n const resumeDraftDataCache = {\n repairLocation,\n repairLocationId,\n repairReason,\n supplementaryQuestions:\n isSupplementary === true\n ? \"Yes\"\n : isSupplementary === false\n ? \"No\"\n : \"\",\n emergencyQuestion: isEmergency && t(\"Repair_Emergency_Radio1_Text\"),\n additionalInformation,\n vandalismQuestion: isVandalism ? \"Yes\" : \"No\",\n crimeReferenceNumber: isVandalism ? crimeReferenceNumber : \"\",\n vulnerabilityQuestion: isVulnerable ? \"Yes\" : \"No\",\n\n vulnerableResponseText: isVulnerable ? VulnerableResponseText : \"\",\n covidQuestion:\n isCovidSelfIsolated === true\n ? \"Yes\"\n : isCovidSelfIsolated === false\n ? \"No\"\n : \"\",\n reporterContactDetails,\n };\n dispatch(userResumeDraftDataCache(resumeDraftDataCache));\n setIsResumeLoading(false);\n if (!repairLocation || !repairReason) {\n dispatch(userChosenHighLevelDescription(\"\"));\n dispatch(userChosenRepairLocationId(0));\n props.history.push(\"/repairlocation\");\n } else if (additionalInformation.trim().length <= 0) {\n props.history.push(\"/repairadditionaldetails\");\n } else if (\n isVandalism === null &&\n eligibilityResponseObject?.statuses.isInDefects === true &&\n vandalismConfigValue === true\n ) {\n props.history.push(\"/vandalismquestion\");\n } else if (isVulnerable === null) {\n props.history.push(\"/vulnerabilityquestion\");\n } else if (isVulnerable === true && VulnerableResponseText === null) {\n props.history.push(\"/vulnerabilityquestion\");\n } else if (\n area === \"Property\" &&\n isCovidSelfIsolated === null &&\n covidConfigValue === \"true\"\n ) {\n props.history.push(\"/covidquestion\");\n } else if (reporterContactDetails != null) {\n if (\n draftRepair.reporterContactDetails?.name?.givenName?.trim()?.length === 0 ||\n draftRepair.reporterContactDetails?.contactNumber?.trim()?.length === 0\n ) {\n if (isCovidSelfIsolated === null && covidConfigValue) {\n draftRepair.reporterContactDetails.name = null;\n props.history.push(\"/covidquestion\");\n } else {\n draftRepair.reporterContactDetails.name = null;\n props.history.push(\"/customerdetails\");\n }\n } else {\n props.history.push(\"/confirmationdetails\");\n }\n } else if (draftRepair.reportedBy.trim().length <= 0) {\n props.history.push(\"/customerdetails\");\n } else {\n if (draftRepair.reporterContactDetails != null) {\n const name = draftRepair.reporterContactDetails?.name?.givenName?.replace(/\\b(null|undefined)\\b/g, \"\").trim() || \"\";\n dispatch(\n userChosenContactPhone(\n draftRepair.reporterContactDetails.contactNumber\n )\n );\n dispatch(userChosenContactName(name));\n dispatch(userChosenRelationDetails(draftRepair.reportedBy));\n dispatch(\n userChosenContactDetails(\n \"I would like to provide number for this repair.\"\n )\n );\n } else {\n //dispatch(userChosenContactDetails(draftRepair.co));\n dispatch(userChosenRelationDetails(\"Customer\"));\n dispatch(\n userChosenContactPhone(\n customerResponse?.addresses?.telecomsAddresses?.[0].number\n )\n );\n dispatch(\n userChosenContactDetails(\n customerResponse?.addresses?.telecomsAddresses?.[0].number\n )\n );\n }\n props.history.push(\"/confirmationdetails\");\n }\n }\n catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n };\n\n const setStatusValue = (item: any) => {\n if(item.statuses.status === \"In Diagnosis\"){\n return item.statuses?.isRaisedAsTriage === true ? \"Under Review\" : \"Draft\";\n }\n return item.statuses.status;\n } \n\n const alldata = (item: any, index: any) => {\n const isTriage =\n item.statuses.isPotentialDuplicate === true ||\n item.statuses.isVulnerable === true ||\n item.job.sorCode === \"N/A\" || item.job.sorCode === \"NA\" ||\n item.job.description?.includes(\"heating or hot water\")\n const isSubmitted = item.statuses.isSubmitted\n const isSubmittedTriage = isTriage && isSubmitted\n\n if(userChosenResumeRepairValue){\n return (\n
    \n
    \n \n }\n label=\"\"\n value={item.statuses.status + \"&\" + item.identifiers.worksOrderIdentifier + \"&\" + isSubmittedTriage }\n // value={item.statuses.status}\n />\n
    \n\n \n \n \n {/* -----------Mobile view -----*/}\n\n
    \n \n );\n } else if (\n workOrderObject != null &&\n workOrderObject?.id !== item.identifiers.worksOrderIdentifier &&\n !(\n (item?.asset?.type?.assetTypeName === \"Block\" ||\n item?.asset?.type?.assetTypeName === \"Estate\") &&\n item?.statuses?.status === \"In Diagnosis\"\n )\n ) {\n return (\n
    \n
    \n \n }\n label=\"\"\n value={item.statuses.status + \"&\" + item.identifiers.worksOrderIdentifier + \"&\" + isSubmittedTriage}\n />\n
    \n \n \n \n {/* -----------Mobile view -----*/}\n\n
    \n \n );\n }\n };\n\n return (\n <>\n \n
    \n {isLoading ? (\n \n ) : (\n <>\n
    \n
    \n \n {t(\"Duplicate_Repair\")}{\" \"}\n \n
    \n \n
    {t(\"Duplicate_Repair_Text2\")}
    \n
    \n {BlockMsg !== false && error && !disableContinueforEnhancedEligiblityCheck ? (\n GetErrorMessage(errorMessage, true)\n ) : (\n
    \n )}\n\n\n\n
    \n \n \n
    \n \n
    \n \n {duplicateRepairResult &&\n duplicateRepairResult?.totalCount > 0\n ? duplicateRepairResult?.worksOrders\n ?.sort(\n (a: any, b: any) =>\n new Date(b.raisedDate).valueOf() -\n new Date(a.raisedDate).valueOf()\n )\n .map(alldata)\n : null}\n\n \n }\n label=\"None of the above\"\n value=\"I don't think this is a duplicate\"\n />\n \n
    \n
    \n\n {disableContinueforEnhancedEligiblityCheck && (\n \n {t(\"OrbisBlockMsg1\")}
    \n {t(\"OrbisBlockMsg2\")} {t(\"OrbisBlockNumber\")} {t(\"OrbisBlockMsg3\")}\n
    \n )}\n \n \n )}\n
    \n
    \n
    \n \n \n
    \n\n
    \n \n {t(\"continuen_button\")}\n \n
    \n
    \n
    \n {isResumeLoading ? (\n
    \n \n
    \n ) : (\n
    \n )}\n \n \n );\n};\nexport default DuplicateRepair;\n\n\n","import {\n Container,\n FormControlLabel,\n Radio,\n RadioGroup,\n} from \"@material-ui/core\";\nimport React, { useState, useEffect } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport * as api from \"../../api\";\nimport { RouteComponentProps, useHistory } from \"react-router-dom\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\"\nimport Button from \"../../Button/Button\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\nimport BackModal from \"../Modal/BackModal\";\nimport {\n userChosenEmergencyQuestion,\n userChosenCovidQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n isEditState,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenDuplicateQuestion,\n resumeDraftRepair,\n showFooter,\n repairPriorityValue,\n} from \"../../ducks/redux/actions/userChoices\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport PageHeader from \"../../storybook/PageHeader/PageHeader\";\nimport Message from \"../../storybook/Message\";\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport { workOrderRepairObject } from \"../../ducks/redux/actions/getAddress\";\nimport { ContractorRepairPriority } from \"../../models/Repair/CreateRepair\";\ninterface RepairEmergencyProps extends RouteComponentProps { }\nconst RepairEmergency: React.FC = (props) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const history = useHistory();\n \n const [radiovalue, setRadioValue] = useState(\"\");\n const [buttondisable, setsetButtonDisable] = useState(false);\n const [errorMessage, setErrorMessage] = useState();\n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n\n const userChosenEmergencyQuestionBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenEmergencyQuestion\n );\n const selectedRepairReason = useSelector(\n (state: any) => state.dashboardReducer.formState.selectedRepairReasonObject\n );\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n\n // update work order\n const workOrderObject = useSelector(\n (state: any) => state?.addresses?.workOrderRepair\n );\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const selectedproperty = useSelector(\n (state: any) => state?.dashboardReducer?.formState?.tracks[0]?.assetType\n );\n const priority = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject[0]\n ?.priority\n );\n\n const resumeDraftRepairVal = useSelector(\n (state: any) => state.userChoicesReducer.resumeDraftRepair\n );\n const userResumeDataVal = useSelector(\n (state: any) => state.userChoicesReducer.userResumeData\n );\n\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n ); \n\n const UpdateWorkOrder = async () => {\n try {\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n const woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n woRequestParameters.isEmergency = radiovalue === t(\"Repair_Emergency_Radio1_Text\");\n woRequestParameters.priority = radiovalue === t(\"Repair_Emergency_Radio1_Text\") ? ContractorRepairPriority.Emergency : ContractorRepairPriority.NextAvailable;\n await api.updateWorkOrderRepair(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n ); \n workOrderObject.isEmergency = radiovalue === t(\"Repair_Emergency_Radio1_Text\");\n workOrderObject.priority = radiovalue === t(\"Repair_Emergency_Radio1_Text\") ? ContractorRepairPriority.Emergency : ContractorRepairPriority.NextAvailable;\n dispatch(repairPriorityValue(workOrderObject.priority));\n dispatch(workOrderRepairObject(workOrderObject));\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n }\n };\n\n useEffect(() => {\n if (isUndefinedNullOrEmpty(loggedInStatus)) {\n props.history.push(\"/startpage\");\n return;\n }\n if (props.history.action === \"POP\") {\n setRadioValue(userChosenEmergencyQuestionBackButton);\n if (\n userChosenEmergencyQuestionBackButton ==\n t(\"Repair_Emergency_Radio3_Text\")\n ) {\n setsetButtonDisable(true);\n } else {\n setsetButtonDisable(false);\n }\n }\n if (resumeDraftRepairVal) {\n setRadioValue(userChosenEmergencyQuestionBackButton);\n if (\n (userResumeDataVal?.resumePriority != \"Emergency\" || userResumeDataVal?.resumeSelectedProperty != \"Property\")\n ) {\n props.history.replace(\"/duplicaterepair\");\n }\n } else {\n if (!(priority === \"Emergency\" && selectedproperty === \"Property\")) {\n props.history.replace(\"/duplicaterepair\");\n }\n setRadioValue(userChosenEmergencyQuestionBackButton);\n }\n }, []);\n\n const updateSelection = (\n event: React.ChangeEvent,\n value: any\n ) => {\n if (EditState === true) {\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(isEditState(false));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n }\n\n if (value == t(\"Repair_Emergency_Radio3_Text\")) {\n setErrorMessage(\n \n \n {t(\"SSR068\")}\n \n \n );\n setsetButtonDisable(true);\n } else {\n setErrorMessage(\"\");\n setsetButtonDisable(false);\n }\n setRadioValue(value);\n dispatch(userChosenEmergencyQuestion(value));\n };\n\n const backButtonHandler = () => {\n if (\n selectedRepairReason[0]?.additionalData.length > 0 &&\n selectedRepairReason[0]?.additionalData[0]?.description != \"\"\n ) {\n props.history.replace(\"/supplementaryquestion\");\n } else {\n props.history.replace(\"/repairlocation\");\n }\n };\n\n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const saveDraftAndExit = () => {\n if (radiovalue === \"\") {\n props.history.replace(\"/customer360View\");\n }\n setCloseAfterSaving(true);\n props.history.replace(\"/customer360View\");\n };\n\n const callPageHandler = () => {\n if (radiovalue === \"\") {\n setErrorMessage(\n \n \n {t(\"SSR054\")}\n \n \n );\n return;\n }\n\n const userRadioOptionIsEmergency = radiovalue == t(\"Repair_Emergency_Radio1_Text\");\n const isEmergencyPriorityUpdatedBySelection = workOrderObject?.isEmergency != userRadioOptionIsEmergency;\n \n UpdateWorkOrder();\n\n if (isEmergencyPriorityUpdatedBySelection) {\n dispatch(resumeDraftRepair(false));\n dispatch(userChosenDuplicateQuestion(\"\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n }\n\n props.history.push(\"/duplicaterepair\");\n };\n\n return (\n <>\n \n\n
    \n
    \n\n
    \n \n {t(\"Repair_Emergency_Header_Text\")}\n \n
    \n {errorMessage}\n
    \n \n }\n label={t(\"Repair_Emergency_Radio1_Text\")}\n placeholder=\"yes\"\n />\n }\n label={t(\"Repair_Emergency_Radio2_Text\")}\n placeholder=\"next\"\n />\n }\n label={t(\"Repair_Emergency_Radio3_Text\")}\n placeholder=\"no\"\n />\n \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n {t(\"continuen_button\")}{\" \"}\n \n
    \n
    \n
    \n
    \n \n );\n};\n\nexport default RepairEmergency;\n","export const sortableFields = [\n {\n displayName: 'Newest to oldest',\n sortableKey: 'raisedDate desc',\n },\n {\n displayName: 'Oldest to newest',\n sortableKey: 'raisedDate asc',\n },\n \n]\nexport default sortableFields\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADXSURBVHgB3VMxDsIwDLRNfwFI8AOeQEdAQqoESB15Qp/QnzADAwtd4QfwAyIBUseulZoGR6IolBbUsvWW2I7P8SUOdrfBRSnoQQ0ggqA0hdrQXJISbbYjqI5Iytim0B0JxGQJFaGU8kLXEaSd62y645Bfge7fF5OVttAMdzbBgZfhD/bxNh/bmUPmjmXFDr+IgNK2QSRJ/CYX80nt9X6AiKeiAkzua91mjPJJrO2sALyP0zmWJxd2kIHvQ5k+6y7MJfgTDS/w+h/fZqO0gJ71JzGiVvmYPwBG0lFeP14VIAAAAABJRU5ErkJggg==\"","import { createTheme } from '@material-ui/core/styles'\n\n// to be used only for margin and padding to keep layout spacing consistent\nexport const SMALL_SPACING = '1rem'\nexport const SPACING = '2rem'\n\nexport const FIELD_WIDTH = '248'\nexport const FIELD_WIDTH_LARGE_WIDE = '300'\nexport const FIELD_WIDTH_EXTRA_LARGE_WIDE = '450'\n\nexport const FONT_SIZE = {\n xsmall: '.7rem',\n small: '.8rem',\n regular: '.9rem',\n large: '1rem',\n}\n\nexport const colors = {\n primaryColor: '#00A3AD',\n secondaryColor: '#efefef',\n primaryText: '#565656',\n secondaryText: '#efefef',\n tertiaryText: '#888888',\n headerText: '#171717',\n errorText: '#D9001B',\n primaryWarning: {\n light: 'rgb(254, 250, 242)',\n main: 'rgb(247, 202, 119)',\n dark: 'rgb(241, 149, 55)',\n },\n successAlert: {\n light: 'rgba(51, 186, 124, 0.095)',\n main: 'rgba(12, 160, 110, 1)',\n dark: 'rgba(12, 160, 110, 1)',\n },\n disabledButton: 'rgba(0, 0, 0, 0.38)',\n}\n\nconst PeabodyTheme = createTheme({\n typography: {\n fontFamily: 'Poppings',\n h1: {\n fontFamily: 'Poppings-Bold',\n fontSize: '2rem',\n },\n h2: {\n fontSize: '1.4rem',\n color: colors.headerText,\n lineHeight: '.95',\n padding: 0,\n margin: 0,\n },\n h3: {\n fontSize: '1.2rem',\n color: colors.headerText,\n lineHeight: '.95',\n padding: 0,\n margin: 0,\n },\n body1: {\n fontSize: FONT_SIZE.regular,\n },\n subtitle1: {\n fontSize: FONT_SIZE.regular,\n },\n },\n palette: {\n primary: {\n main: colors.primaryColor,\n },\n secondary: {\n main: colors.secondaryColor,\n },\n text: {\n primary: colors.primaryText,\n secondary: colors.secondaryText,\n },\n warning: colors.primaryWarning,\n success: colors.successAlert,\n },\n overrides: {\n MuiInputBase: {\n input: {\n fontSize: FONT_SIZE.regular,\n },\n multiline: {\n padding: '0px',\n lineHeight: '17px',\n },\n },\n MuiOutlinedInput: {\n multiline: {\n padding: '0px',\n },\n },\n MuiInputLabel: {\n root: {\n '&$focused': {\n color: colors.primaryText,\n },\n },\n },\n MuiChip: {\n root: {\n margin: '0px 8px 14px 0px!important',\n },\n },\n MuiButton: {\n outlined: {\n '&:hover': {\n boxShadow: 'none',\n },\n },\n contained: {\n '&:hover': {\n boxShadow: 'none',\n },\n },\n },\n MuiStepper: {\n root: {\n padding: 0,\n marginBottom: SPACING,\n },\n },\n MuiBreadcrumbs: {\n separator: {\n marginLeft: '0px',\n marginRight: '0px',\n color: colors.primaryText,\n },\n },\n MuiTabs: {\n flexContainer: {\n paddingTop: '25px',\n paddingBottom: '25px',\n },\n },\n MuiTab: {\n root: {\n textTransform: 'none',\n fontSize: FONT_SIZE.large,\n },\n },\n MuiExpansionPanel: {\n root: {\n border: '1px solid rgba(0, 0, 0, .125)',\n boxShadow: 'none',\n '&:not(:last-child)': {\n borderBottom: 0,\n },\n '&:before': {\n display: 'none',\n },\n '&$expanded': {\n margin: 'auto',\n },\n },\n expanded: {},\n },\n MuiExpansionPanelSummary: {\n root: {\n backgroundColor: 'rgba(255, 255, 255, 1)',\n minHeight: 56,\n '&$expanded': {\n minHeight: 56,\n },\n },\n content: {\n '&$expanded': {\n margin: '12px 0',\n },\n },\n expanded: {},\n },\n MuiExpansionPanelDetails: {\n root: {\n padding: '15px',\n alignItems: 'center',\n },\n },\n MuiDialog: {\n paperWidthSm: {\n maxWidth: '700px',\n },\n },\n },\n})\n\nexport default PeabodyTheme\n","import { withStyles } from '@material-ui/core'\nimport IconButton from '@material-ui/core/IconButton'\nimport OutlinedInput from '@material-ui/core/OutlinedInput'\nimport MuiCloseIcon from '@material-ui/icons/Close'\nimport MuiSearchIcon from '@material-ui/icons/Search'\nimport React from 'react'\nimport styled from 'styled-components'\nimport { colors } from '../../theme'\n\nconst { primaryText } = colors\n\nexport const SearchInput = withStyles({\n input: {\n height: '1rem',\n '&::-ms-clear': {\n display: 'none',\n }\n },\n notchedOutline: {\n borderColor: `none`\n }\n})(OutlinedInput)\n\nexport const SearchIcon = withStyles({\n root: {\n cursor: 'pointer',\n width: '2rem',\n height: '2rem'\n },\n})(MuiSearchIcon)\n\nexport const CloseIcon = () => (\n \n \n \n)\n\nexport const CloseWrapper = styled.div`\n width: 3rem;\n`\n","import InputAdornment from '@material-ui/core/InputAdornment'\nimport React from 'react'\nimport { CloseIcon, CloseWrapper, SearchIcon } from '../components'\n\ntype SearchSectionProps = {\n currentValue?: string\n resetSearch?(e: React.MouseEvent): void \n handleSearchClick?(e: React.MouseEvent): void\n}\n\nconst SearchSection: React.FC = ({ currentValue, resetSearch, handleSearchClick }) => {\n return (\n <>\n \n {currentValue && (\n \n \n \n )}\n \n\n \n \n \n \n )\n}\n\nexport default SearchSection\n","import React, { useEffect, useRef, useState } from 'react'\nimport {SearchInput } from './components'\nimport SearchSection from './Section'\n\ntype SearchProps = {\n className?: string\n defaultValue?: string\n onChange?: (s: string) => any\n onClear?: (s: string) => any\n onSubmit: (s: string) => any\n placeholder?: string\n style?: object\n value?: string\n}\n\nconst Search: React.FC = ({\n className,\n defaultValue = '',\n onChange,\n onClear,\n onSubmit,\n placeholder,\n style,\n value,\n}) => {\n const [localValue, setLocalValue] = useState(defaultValue)\n const currentValue = value ?? localValue\n const prevDefaultValue = useRef(defaultValue)\n useEffect(() => {\n if (prevDefaultValue.current !== defaultValue) {\n setLocalValue(defaultValue)\n prevDefaultValue.current = defaultValue\n }\n }, [defaultValue])\n\n const handleChange = (e: React.ChangeEvent) => {\n setLocalValue(e.target.value)\n if (onChange) {\n onChange(e.target.value)\n }\n }\n const handleKeyDown = (e: React.KeyboardEvent) => {\n if (e.keyCode === 13) {\n onSubmit(currentValue)\n }\n }\n const handleSearchClick = (e: React.MouseEvent) => {\n if (currentValue === 'Flenderson') {\n throw new Error('Testing stack trace 12345')\n }\n onSubmit(currentValue)\n }\n\n const resetSearch = (e: React.MouseEvent) => {\n setLocalValue('')\n if (onClear) {\n onClear(currentValue)\n }\n }\n\n return (\n \n }\n labelWidth={0}\n />\n )\n}\n\nexport default Search\n","import { withStyles } from '@material-ui/core'\nimport Box from '@material-ui/core/Box'\nimport Paper from '@material-ui/core/Paper'\nimport TablePagination from '@material-ui/core/TablePagination'\nimport Typography from '@material-ui/core/Typography'\nimport styled from 'styled-components'\nimport { SPACING } from '../../theme'\nimport TextField from '../../storybook/TextField/index'\nimport Table from '../../storybook/Table'\nimport SearchComp from '../../storybook/Search'\nimport 'bootstrap/dist/css/bootstrap.min.css';\n\n\n\n\nexport const WebPagination = styled.div`\n@media (min-width: 920px) {\n display: inline;\n }\n display: none;\n`\nexport const MobilePagination = styled.div`\n@media (min-width: 920px) {\n display: none;\n }\n display: inline;\n`\nexport const Search = styled(SearchComp)`\nheight: 34px;\nline-height: inherit;\npadding-left: 10px;\nborder:transparent!important;\n`\n\nexport const Paginationbox = styled.div`\ntext-align: center;\nfloat: right;\nmargin-top: 30px;\n\n@media (min-width: 800px) {\n display: inline;\n }\n display: none;\n`\n\n\n\nexport const Pagination = TablePagination\n","export const RepairSelectOptions = [\n {\n key: \"All\",\n value: \"All\",\n },\n {\n key: \"Active\",\n value: \"Active\",\n },\n {\n key: \"Assigned to contractor\",\n value: \"Unappointed\",\n },\n {\n key: \"Appointed\",\n value: \"Appointed\",\n },\n {\n key: \"On hold\",\n value: \"On Hold\",\n },\n {\n key: \"In progress\",\n value: \"In Progress\",\n },\n\n {\n key: \"Pending approval\",\n value: \"Pending Approval\",\n },\n {\n key: \"Cancelled\",\n value: \"Cancelled\",\n },\n {\n key: \"Completed\",\n value: \"Completed\",\n },\n {\n key: \"Draft\",\n value: \"In Diagnosis\",\n }, \n {\n key: \"Passed to Peabody\",\n value: \"Passed to Peabody\",\n },\n];\nexport default RepairSelectOptions;\n","import styled from 'styled-components'\nimport { colors } from '../../theme'\nconst { primaryColor } = colors\n\nexport const Loader = styled.div`\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n\n div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: 64px;\n height: 64px;\n margin: 8px;\n border: 8px solid ${primaryColor};\n border-radius: 50%;\n animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: ${primaryColor} transparent transparent transparent;\n }\n div:nth-child(1) {\n animation-delay: -0.45s;\n }\n div:nth-child(2) {\n animation-delay: -0.3s;\n }\n div:nth-child(3) {\n animation-delay: -0.15s;\n }\n\n @keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n`\n","import React from 'react'\nimport { Loader } from './components'\n\n// Pure CSS loading spinner courtesy of https://loading.io/css/\nconst LoadingSpinner = () => (\n \n
    \n
    \n
    \n
    \n \n)\n\nexport default LoadingSpinner\n","import React, { useEffect, useState } from \"react\";\nimport { RepairStatusField } from \"../../models/Repair/Repair\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport staticSortableFields from \"../../models/Repair/SortableFields\";\nimport { PremisesType } from \"../../models/Customer/Premises\";\nimport Repair, { RepairsResponse, RepairStatus } from \"../../models/Repairs\";\nimport * as api from \"../../api\";\nimport InfiniteScroll from \"react-infinite-scroll-component\";\nimport filtericon from \"../../assets/img/filtericon.png\";\nimport \"./index.scss\";\nimport Clear from \"../../assets/img/Clear.png\";\nimport {\n MobilePagination,\n Pagination,\n Paginationbox,\n Search,\n WebPagination\n} from \"./components\";\nimport { RouteComponentProps } from \"react-router-dom\";\n\nimport {\n searchForRepairs,\n getContractorsData,\n repairHistoryCurrentPage,\n repairHistoryCurrentResultsPerPage,\n repairDefaultAssocitaedAsset,\n repairHistoryData,\n repairSearchTerm,\n defaultSearchRepairStatus,\n defaultSearchArea,\n defaultSearchSortByOrder\n} from \"../../ducks/redux/actions/historicRepair\";\nimport {\n showMenuTabs,\n showFooter,\n userRepairWorkOrder,\n} from \"../../ducks/redux/actions/userChoices\";\nimport RepairSelectOptions from \"../../models/Repair/RepairSelectOptions\";\nimport {\n AssocitaedAssetsType,\n RelatedPremisesType,\n} from \"../../models/Property/AdminUnits\";\nimport {\n formatDate,\n formatDateWithMonthInLetters,\n isNullOrUndefined,\n detectMobile\n} from \"../../utils/formatting\";\nimport Tenancies from \"../../models/Customer/Tenancies\";\nimport { Offcanvas } from \"react-bootstrap\";\nimport { CustomerResponse, TenancySummary } from \"../../models/Customer\";\nimport { RepairChannel } from \"../../models/Repair/RepairChannel\";\nimport LoadingSpinner from \"../../storybook/LoadingSpinner\";\nimport { workOrderRepairObject, getDeterminedContractorDetails } from \"../../ducks/redux/actions/getAddress\";\nimport Message from \"../../storybook/Message\";\n\ninterface HistoricRepairs1Props extends RouteComponentProps { }\nconst HistoricRepairs: React.FC = (props) => {\n const [show, setShow] = useState(false);\n const handleClose = () => setShow(false);\n const handleShow = () => setShow(true);\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const [defaultSortOrder, setdefaultSortOrder] = useState(\"raisedDate desc\");\n const [defaultRepairStatus, setdefaultRepairStatus] = useState(\"All\");\n const [defaultassocitaedAsset, setdefaultassocitaedAsset] = useState(\"\");\n const [associtaedAsset, setassocitaedAsset] = useState(\"\");\n const isMobile = detectMobile();\n const [searchTerm, setsearchTerm] = useState(\"\");\n const [priority, setpriority] = useState(\"\");\n const [messageAlert, setMessageAlert] = React.useState(false);\n const [selectedArea, setselectedArea] = useState(\"All\");\n const [Area, setArea] = useState(false);\n const [totalCount, settotalCount] = useState(0);\n const [currentPage, setcurrentPage] = useState(0);\n const [resultsPerPage, setresultsPerPage] = useState(10);\n const [skip, setskip] = useState(0);\n\n\n const [isLoading, setIsLoading] = useState(true);\n\n const assets = (state: any) => state?.addresses?.customerassociatedassets;\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n\n const appConfigValue = useSelector(\n (state: any) => state?.addresses?.toggleValue\n );\n\n const array: Repair[] = [];\n\n const [CustResponse, setCustomerResponse] = useState();\n const arrayRepairStatus: RepairStatus[] = [];\n const arrayArea: Array<{ key: string; value: string }> = [];\n const [premisesListArea, setpremisesListArea] = useState(arrayArea);\n const [associtaedAssetList, setassocitaedAssetsList] = useState(arrayArea);\n const sortOptions = staticSortableFields.map((f) => ({\n key: f.displayName,\n value: f.sortableKey,\n }));\n let PropertyId = useSelector(\n (state: any) => state.userChoicesReducer.userChosenPropertyId\n );\n const repairStatusSelectOptions = RepairSelectOptions.map((f) => ({\n key: f.key,\n value: f.value,\n }));\n const repairHistoryDataValue = useSelector(\n (state: any) => state.historicRepairReducer?.repairHistoryData\n );\n const repairHistoryCurrentPageValue = useSelector(\n (state: any) => state.historicRepairReducer?.repairHistoryCurrentPage\n );\n const repairHistoryResultsPerPageValue = useSelector(\n (state: any) => state.historicRepairReducer?.repairHistoryCurrentResultsPerPage\n );\n const repairDefaultAssocitaedAssetValue = useSelector(\n (state: any) => state.historicRepairReducer?.repairDefaultAssocitaedAsset\n );\n const repairSearchTermValue = useSelector(\n (state: any) => state.historicRepairReducer?.repairSearchTerm\n );\n\n const defaultSearchRepairStatusValue = useSelector(\n (state: any) => state.historicRepairReducer?.defaultSearchRepairStatus\n );\n const defaultSearchAreaValue = useSelector(\n (state: any) => state.historicRepairReducer?.defaultSearchArea\n );\n const defaultSearchSortByOrderValue = useSelector(\n (state: any) => state.historicRepairReducer?.defaultSearchSortByOrder\n );\n const isMyPBMaintenance = useSelector(\n (state: any) => state?.userChoicesReducer?.isMyPbRepairsMaintainence\n );\n\n const [repairs, setRepairList] = useState(array);\n const [contractorsList, setContractorsList] = useState([]);\n const [raiseRepairButtonDisable, setRaiseRepairButtonDisable] = useState(false);\n\n\n let premisesId = \"\";\n let associtaedAssets: any[] = [];\n\n\n useEffect(() => {\n dispatch(showMenuTabs(true));\n (async () => {\n try {\n setIsLoading(true);\n const contractorResponse = await api.getContractors();\n setContractorsList(contractorResponse);\n dispatch(getContractorsData(contractorResponse));\n const customerResponse = await api.getCustomer(customerID);\n setCustomerResponse(customerResponse);\n if (isMyPBMaintenance) {\n setRaiseRepairButtonDisable(true);\n }\n const activeTenanciesSummaries =\n customerResponse.tenanciesSummaries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find(\n (s) => s.type === \"isTenancyActive\"\n )?.value === true\n );\n const activeTenanciesPremisesIds: Tenancies[] = activeTenanciesSummaries\n .map((ts: any) => ts.tenancySummary.premisesIds)\n .flat();\n const promises = activeTenanciesPremisesIds.map((item: any) => {\n return api.getAssociatedAssets(item).catch((error) => {\n setIsLoading(false)\n setMessageAlert(true);\n });\n });\n Promise.all(promises).then(async (results) => {\n //Filter results as per premisesid\n\n activeTenanciesPremisesIds?.map(async (assetid: any) => {\n results.forEach((element) => {\n const resultF = element.filter(\n (addressdata) => addressdata.id === assetid\n );\n\n if (resultF !== null) associtaedAssets.push(resultF);\n });\n });\n const associtaedAssetsList: AssocitaedAssetsType[] = [];\n\n associtaedAssets?.map((addressdata: any) => {\n addressdata?.map((address: any) => {\n const associtaedAssetsTypeEntry: AssocitaedAssetsType =\n new AssocitaedAssetsType();\n\n associtaedAssetsTypeEntry.key = address?.id;\n associtaedAssetsTypeEntry.value =\n address?.addresses?.postalAddresses[0]?.formattedAddress;\n associtaedAssetsList.push(associtaedAssetsTypeEntry);\n });\n });\n if (associtaedAssetsList?.length > 1) {\n setArea(true);\n } else {\n setArea(false);\n }\n\n PropertyId = repairDefaultAssocitaedAssetValue ?? PropertyId;\n\n if (PropertyId != \"\") {\n setdefaultassocitaedAsset(PropertyId);\n setassocitaedAsset(PropertyId);\n dispatch(repairDefaultAssocitaedAsset(PropertyId));\n } else {\n PropertyId = associtaedAssetsList[0].key;\n setdefaultassocitaedAsset(associtaedAssetsList[0].key);\n setassocitaedAsset(associtaedAssetsList[0].key);\n dispatch(repairDefaultAssocitaedAsset(associtaedAssetsList[0].key));\n }\n\n setassocitaedAssetsList(associtaedAssetsList);\n\n const premisesList: RelatedPremisesType[] = [];\n const premisesEntry: RelatedPremisesType = new RelatedPremisesType();\n let propertiesIds: string[] = [];\n let addressIds: string[] = [];\n premisesEntry.premisesType = PremisesType.Default;\n premisesEntry.premisesTypeId = PremisesType.Default;\n premisesList.push(premisesEntry);\n const addressesData = await api.getAssociatedAssets(PropertyId);\n\n addressesData.forEach((element) => {\n const premisesEntry: RelatedPremisesType = new RelatedPremisesType();\n premisesEntry.premisesType = element.assetType as PremisesType;\n premisesEntry.premisesTypeId = element.id;\n premisesList.push(premisesEntry);\n propertiesIds.push(element.id);\n });\n const areaOptions = premisesList.map((f) => ({\n key: f.premisesType,\n value: f.premisesTypeId,\n }));\n\n setpremisesListArea(areaOptions);\n\n if (!isNullOrUndefined(repairHistoryDataValue?.repairHistoryOperation)) {\n const page = repairHistoryCurrentPageValue,\n resPerPage = repairHistoryResultsPerPageValue;\n setIsLoading(true);\n setcurrentPage(page);\n setresultsPerPage(resPerPage);\n PropertyId = repairDefaultAssocitaedAssetValue;\n\n setskip(resPerPage * page);\n setsearchTerm(repairSearchTermValue);\n setdefaultSortOrder(defaultSearchSortByOrderValue);\n const _repairSearchTermValue = (repairSearchTermValue.length > 0) ? repairSearchTermValue : \"\";\n const _defaultSearchRepairStatusValue = (defaultSearchRepairStatusValue.length > 0) ? defaultSearchRepairStatusValue : \"All\"\n const _defaultSearchAreaValue = (defaultSearchAreaValue.length > 0) ? defaultSearchAreaValue : \"All\"\n const _defaultSearchSortByOrderValue = (defaultSearchSortByOrderValue.length > 0) ? defaultSearchSortByOrderValue : \"raisedDate desc\"\n fetchGetRepairsData(\n resPerPage,\n _defaultSearchSortByOrderValue,\n _defaultSearchRepairStatusValue,\n resPerPage * page,\n _repairSearchTermValue,\n priority,\n _defaultSearchAreaValue,\n PropertyId\n );\n dispatch(repairSearchTerm(\"\"));\n dispatch(defaultSearchRepairStatus(\"\"));\n dispatch(defaultSearchArea(\"\"));\n dispatch(defaultSearchSortByOrder(\"\"));\n }\n else {\n const status = RepairStatusField.Appointed +\n \",\" +\n RepairStatusField.PendingApproval +\n \",\" +\n RepairStatusField.OnHold +\n \",\" +\n RepairStatusField.Cancelled +\n \",\" +\n RepairStatusField.Completed +\n \",\" +\n RepairStatusField.Unappointed +\n \",\" +\n RepairStatusField.InProgress +\n \",\" +\n RepairStatusField.InDiagnosis +\n \",\" +\n RepairStatusField.ReportedToEMA +\n \",\" +\n RepairStatusField.CatalystTier2Triage +\n \",\" +\n RepairStatusField.CatalystEMATriage +\n \",\" +\n RepairStatusField.CatalystDefectTriage;\n\n let tenancyStartDate =\n activeTenanciesSummaries[0]?.tenancySummary.tenancyStartDate;\n\n if (tenancyStartDate == undefined) {\n tenancyStartDate = \"\";\n }\n\n const queryParams = {\n propertiesIds,\n orderBy: \"raisedDate desc\",\n raisedSince: tenancyStartDate,\n priority: \"\",\n status,\n description: \"\",\n };\n\n const worksOrdersRepair = await api.getWorksOrdersApi(queryParams).then((results: any) => results)\n .catch((error)=>{\n setIsLoading(false)\n setMessageAlert(true)\n });\n if(worksOrdersRepair){\n const data = new RepairsResponse(worksOrdersRepair);\n setRepairList(data.models);\n settotalCount(data.totalCount);\n dispatch(searchForRepairs(data));\n }\n const ResumeRepairWO = await api.getWorkOrdersForResumeRepair(queryParams).then((results: any) => results)\n .catch((error)=>{\n setIsLoading(false)\n setMessageAlert(true)\n });\n if(ResumeRepairWO){\n setIsLoading(false)\n }\n const data = new RepairsResponse(ResumeRepairWO); \n dispatch(userRepairWorkOrder(data));\n }\n\n });\n\n } catch (e) {\n setIsLoading(false);\n console.error(e);\n setMessageAlert(true)\n }\n\n })();\n }, []);\n\n const onChangePage = (e: any, page: number) => handleChangePage(page);\n\n //#region \"functions\"\n const repairHistoryHandler = (e: HTMLDivElement) => {\n const historyData = CreateHistoryData(e)\n dispatch(repairHistoryData(historyData));\n dispatch(showMenuTabs(false));\n props.history.push(\"/repairhistorydetails\");\n };\n\n const CreateHistoryData = (e: any) => {\n return {\n RepairHistoryRaisedDate: isNullOrUndefined(e.raisedDate) ? \"-\" : formatDate(e.raisedDate),\n RepairHistoryArea: isNullOrUndefined(e.area) ? \"-\" : e.area,\n RepairHistoryDescription: e.description?.split(\".\")[0] || '',\n RepairHistoryAppointmentDate: formatDateWithMonthInLetters(e.appointmentDate || ''),\n RepairHistoryPriority: e.priority || '',\n RepairHistoryContractor: e.contractor || '',\n RepairHistoryworkOrderID: e.id || '',\n RepairHistorystatus: e.status || '',\n RepairHistoryrepairReference: e.jobNo || '',\n RepairHistoryarea: e.area || '',\n RepairHistoryfullDescription: e.description || '',\n RepairHistoryContractorsList: contractorsList,\n RepairHistorysiteIdentifier: e.siteIndentifire || \"\",\n RepairHistoryassocitaedAsset: defaultassocitaedAsset,\n repairHistoryAppointmentStartDate: e.appointmentStartDate,\n repairHistoryAppointmentEndDate: e.appointmentEndDate,\n repairHistoryWorkOrderID: e.id,\n };\n };\n\n const handleChangeRowsPerPage = (e: React.ChangeEvent) => {\n const resultsPerPageUpdated = (e.target as any).value;\n setIsLoading(true);\n setresultsPerPage(resultsPerPageUpdated);\n dispatch(repairHistoryCurrentResultsPerPage(resultsPerPageUpdated));\n setskip(0);\n setcurrentPage(0);\n fetchGetRepairsData(\n resultsPerPageUpdated,\n defaultSortOrder,\n defaultRepairStatus,\n 0,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset\n );\n };\n\n const handleSubmit = (s: string): void => {\n\n if (s !== \"\") { setIsLoading(true); }\n setsearchTerm(s)\n dispatch(repairSearchTerm(s));\n dispatch(defaultSearchRepairStatus(\"\"));\n dispatch(defaultSearchArea(\"\"));\n fetchGetRepairsData(\n resultsPerPage,\n defaultSortOrder,\n defaultRepairStatus,\n skip,\n s,\n priority,\n selectedArea,\n defaultassocitaedAsset\n );\n };\n const handleResetSubmit = (s: string): void => {\n setcurrentPage(0);\n setsearchTerm(\"\")\n dispatch(repairSearchTerm(\"\"));\n dispatch(defaultSearchRepairStatus(\"\"));\n dispatch(defaultSearchArea(\"\"));\n fetchGetRepairsData(\n resultsPerPage,\n defaultSortOrder,\n defaultRepairStatus,\n skip,\n \"\",\n priority,\n selectedArea,\n defaultassocitaedAsset\n );\n };\n\n const handleChangeSortOrder = (e: { target: { value: any } }) => {\n setdefaultSortOrder(e.target.value);\n setIsLoading(true);\n dispatch(defaultSearchSortByOrder(e.target.value));\n dispatch(repairSearchTerm(\"\"));\n dispatch(defaultSearchRepairStatus(\"\"));\n dispatch(defaultSearchArea(\"\"));\n fetchGetRepairsData(\n resultsPerPage,\n e.target.value,\n defaultRepairStatus,\n skip,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset\n );\n };\n const handleChangeAssocitae = (e: { target: { value: any } }) => {\n setselectedArea(\"All\");\n setdefaultassocitaedAsset(e.target.value);\n dispatch(repairDefaultAssocitaedAsset(e.target.value));\n fetchGetRepairsData(\n resultsPerPage,\n defaultSortOrder,\n defaultRepairStatus,\n skip,\n searchTerm,\n priority,\n selectedArea,\n e.target.value\n );\n };\n const handleChangeRepairStatus = (e: { target: { value: any } }) => {\n setdefaultRepairStatus(e.target.value);\n };\n\n const handleChangeArea = (e: { target: { value: any } }) => {\n setselectedArea(e.target.value);\n };\n\n const handleReset = () => {\n setIsLoading(true);\n setresultsPerPage(10);\n setdefaultSortOrder(\"raisedDate desc\");\n setdefaultRepairStatus(\"All\");\n setskip(0);\n setsearchTerm(\"\");\n dispatch(repairSearchTerm(\"\"));\n dispatch(defaultSearchRepairStatus(\"\"));\n dispatch(defaultSearchArea(\"\"));\n setselectedArea(\"All\");\n setdefaultassocitaedAsset(associtaedAsset);\n fetchGetRepairsData(\n 10,\n \"raisedDate desc\",\n \"All\",\n 0,\n \"\",\n \"\",\n \"All\",\n associtaedAsset\n );\n };\n const handleFilterSubmit = () => {\n setIsLoading(true);\n setskip(0);\n setcurrentPage(0);\n dispatch(repairSearchTerm(\"\"));\n dispatch(defaultSearchRepairStatus(defaultRepairStatus));\n dispatch(defaultSearchArea(selectedArea));\n fetchGetRepairsData(\n resultsPerPage,\n defaultSortOrder,\n defaultRepairStatus,\n 0,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset\n );\n setShow(false);\n };\n const handleChangePage = (page: number) => {\n setIsLoading(true);\n\n setcurrentPage(page);\n setskip(resultsPerPage * page);\n dispatch(repairHistoryCurrentPage(page));\n fetchGetRepairsData(\n resultsPerPage,\n defaultSortOrder,\n defaultRepairStatus,\n resultsPerPage * page,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset\n );\n };\n const fetchData = () => {\n // Called for Mobile view infinite scroll functionality\n setresultsPerPage(100);\n dispatch(repairHistoryCurrentResultsPerPage(totalCount));\n dispatch(repairHistoryCurrentPage(0));\n fetchGetRepairsData(\n totalCount,\n defaultSortOrder,\n defaultRepairStatus,\n skip,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset\n );\n };\n\n const fetchGetRepairsData = (\n resultsPerPage: number,\n defaultSortOrder: string,\n defaultRepairStatus: string,\n skip: number,\n searchTerm: string,\n priority: string,\n selectedArea: string,\n defaultassocitaedAsset: string\n ) => {\n let status = \"\";\n const propertiesIds: string[] = [];\n if (defaultRepairStatus == \"Active\") {\n status =\n RepairStatusField.Appointed +\n \",\" +\n RepairStatusField.PendingApproval +\n \",\" +\n RepairStatusField.OnHold +\n \",\" +\n RepairStatusField.Unappointed +\n \",\" +\n RepairStatusField.InProgress +\n \",\" +\n RepairStatusField.InDiagnosis +\n \",\" +\n RepairStatusField.CatalystTier2Triage +\n \",\" +\n RepairStatusField.CatalystEMATriage +\n \",\" +\n RepairStatusField.CatalystDefectTriage;\n }\n else if (defaultRepairStatus == \"Unappointed\") {\n status =\n RepairStatusField.Unappointed +\n \",\" +\n RepairStatusField.ReportedToEMA\n }\n else if (defaultRepairStatus == RepairStatusField.RepairStatusFieldCatalyst) {\n status =\n RepairStatusField.CatalystDefectTriage +\n \",\" +\n RepairStatusField.CatalystEMATriage +\n \",\" +\n RepairStatusField.CatalystTier2Triage\n }\n else if (defaultRepairStatus == \"All\") {\n status =\n RepairStatusField.Appointed +\n \",\" +\n RepairStatusField.PendingApproval +\n \",\" +\n RepairStatusField.OnHold +\n \",\" +\n RepairStatusField.Cancelled +\n \",\" +\n RepairStatusField.Completed +\n \",\" +\n RepairStatusField.Unappointed +\n \",\" +\n RepairStatusField.InProgress +\n \",\" +\n RepairStatusField.InDiagnosis +\n \",\" +\n RepairStatusField.CatalystTier2Triage +\n \",\" +\n RepairStatusField.CatalystEMATriage +\n \",\" +\n RepairStatusField.CatalystDefectTriage;\n } else {\n const RepairStatusEnum = defaultRepairStatus as RepairStatusField;\n status = RepairStatusEnum;\n }\n try {\n (async () => {\n let propertiesIds: string[] = [];\n if (selectedArea == \"All\") {\n const AssetList = await api.getAssociatedAssets(\n defaultassocitaedAsset\n );\n const premisesList: RelatedPremisesType[] = [];\n const premisesEntry: RelatedPremisesType = new RelatedPremisesType();\n\n let addressIds: string[] = [];\n premisesEntry.premisesType = PremisesType.Default;\n premisesEntry.premisesTypeId = PremisesType.Default;\n premisesList.push(premisesEntry);\n\n AssetList?.forEach((element: any) => {\n const premisesEntry: RelatedPremisesType =\n new RelatedPremisesType();\n premisesEntry.premisesType = element.assetType as PremisesType;\n premisesEntry.premisesTypeId = element.id;\n premisesList.push(premisesEntry);\n premisesId = element.id;\n propertiesIds.push(premisesId);\n });\n\n const areaOptions = premisesList.map((f) => ({\n key: f.premisesType,\n value: f.premisesTypeId,\n }));\n } else {\n propertiesIds.push(selectedArea);\n }\n let tenancyStartDate = \"\";\n const activeTenanciesSummaries =\n CustResponse?.tenanciesSummaries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find(\n (s) => s.type === \"isTenancyActive\"\n )?.value === true\n );\n\n if (\n activeTenanciesSummaries != undefined &&\n activeTenanciesSummaries != null\n ) {\n let TenancySummaryEntry = activeTenanciesSummaries.find(\n (st) => st.tenancySummary.premisesIds[0] === defaultassocitaedAsset\n );\n\n if (TenancySummaryEntry != undefined && TenancySummaryEntry != null) {\n if (TenancySummaryEntry?.tenancySummary.tenancyStartDate != null) {\n tenancyStartDate =\n TenancySummaryEntry?.tenancySummary.tenancyStartDate;\n }\n }\n }\n if (api.getRepairs) {\n const propertyRepairs = await api.getRepairs({\n resultsPerPage,\n orderBy: defaultSortOrder,\n status,\n skip,\n searchTerm,\n raisedSince: tenancyStartDate,\n priority,\n propertiesIds,\n });\n setRepairList(propertyRepairs.models);\n settotalCount(propertyRepairs.totalCount);\n dispatch(searchForRepairs(propertyRepairs));\n setIsLoading(false);\n if (!isNullOrUndefined(repairHistoryDataValue?.repairHistoryOperation)) {\n\n const isMobileView = document.getElementById('scrollableDiv')?.offsetParent != null;\n const parentHTMLBody = isMobileView ? document.getElementById('scrollableDiv') : document.getElementById('paginationDiv');\n\n const repairHistoryWorkOrderID = \"#hisRepDet-p1\" + repairHistoryDataValue.repairHistoryWorkOrderID;\n const el = parentHTMLBody?.querySelector(repairHistoryWorkOrderID) as HTMLElement | null;\n el?.click();\n }\n }\n })();\n } catch (e) {\n console.error(e);\n setIsLoading(false);\n setMessageAlert(true)\n }\n };\n const backButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const callRaiseRepair = async () => {\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n dispatch(workOrderRepairObject(null));\n dispatch(getDeterminedContractorDetails(null));\n props.history.push(\"/repairproperty\");\n };\n const openDialer = () => {\n window.open(\"tel:\"+t(\"phone_no\"));\n}\nconst returnToHome = () => {\n props.history.push(\"/customer360View\");\n};\n //#endregion \"functions\"\n\n return (\n <>\n \n
    \n {!isLoading ? (\n
    \n {!messageAlert ? :
    }\n

    {t(\"Repair_history\")}

    \n\n {isMyPBMaintenance &&\n
    \n
    \n
    \n \n
    \n
    \n

    \n

    {t(\"repairs_Maintenance_Message\")}
    \n

    \n
    \n
    \n
    \n }\n\n
    \n {Area ? (\n <>\n
    \n \n {associtaedAssetList.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n \n ) : (\n !messageAlert ? \n {associtaedAssetList.map((e, key) => {\n return (\n
    \n {e.value}\n
    \n );\n })}\n
    :
    \n )}\n {!messageAlert &&
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n {staticSortableFields.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n
    \n \n {t(\"Filter\")}\n \"Filter\"\n \n
    \n
    \n \n {t(\"Clear_filters\")}\n \n
    \n
    }\n\n {/* < -- historic repair details start web view --> */}\n
    \n
    \n
    \n {!messageAlert ? \n \n \n \n \n \n \n \n \n \n \n {!repairs?.length ? (\n \n \n \n ) : (\n repairs.map((el: any) => (\n repairHistoryHandler(el)} >\n \n\n \n\n \n\n \n\n \n \n ))\n )}\n \n
    {t(\"historic_repairs_title\")}{t(\"historic_repairs_description\")}{t(\"historic_repairs_area\")}{t(\"historic_repairs_dates\")}{t(\"historic_repairs_status\")}
    \n {t(\"repairs_search_no_results\")}\n
    \n\n \n \n {\" \"}\n {isNullOrUndefined(el.jobNo) ? \" \" : el.jobNo}{\" \"}\n \n \n \n {\n el.channel !== RepairChannel.CustomerSelfService &&\n el.channel !== RepairChannel.ERGO &&\n el.channel !== RepairChannel.ColleagueSelfService\n ? (el.trade === 'Unknown' ? t('RepairDescription_ErrorMessage')\n : el.trade) : appConfigValue ? el.description\n : el.description?.split('.')[0]\n }\n \n {isNullOrUndefined(el.area) ? \"-\" : el.area}\n \n {isNullOrUndefined(el.raisedDate)\n ? \"-\"\n : formatDate(el.raisedDate)}{\" \"}\n \n {el.status === \"In Diagnosis\"\n ? \"Draft\"\n : (el.status === RepairStatusField.Unappointed || el.status === \"Reported to EMA\")\n ? RepairStatusField.Assignedcontractor\n : (el.status === RepairStatusField.CatalystTier2Triage || el.status === RepairStatusField.CatalystDefectTriage || el.status === RepairStatusField.CatalystEMATriage) ? RepairStatusField.RepairStatusFieldCatalyst : el.status}\n
    :
    \n {
    \n {t(\"repair_History_Error_Message2\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}
    \n
    }\n \n
    }\n
    \n
    \n
    \n {/* < -- Side Filter view --> */}\n\n \n
    \n \n ×\n \n
    \n
    \n \n
    \n

    \n {t(\"Filter\")}\n

    \n
    \n
    \n \n
    \n
    \n {t(\"historic_repairs_area\")}\n
    \n \n {premisesListArea.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n\n
    \n
    \n {t(\"historic_repairs_status\")}\n
    \n \n {repairStatusSelectOptions.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n\n
    \n \n Search\n \n
    \n
    \n
    \n
    \n
    \n
    \n {/* < -- Pagination view --> */}\n {!messageAlert &&
    \n \n \n \n
    }\n
    \n
    \n ) : (\n
    \n \n
    \n )}\n
    \n \n \n \n loading}\n scrollableTarget=\"scrollableDiv\"\n >\n
    \n {!isLoading ? (\n
    \n

    \n Back\n \n

    \n\n

    {t(\"Repair_history\")}

    \n {isMyPBMaintenance &&\n
    \n
    \n
    \n \n
    \n
    \n

    \n

    {t(\"repairs_Maintenance_Message\")}
    \n

    \n
    \n
    \n
    \n }\n
    \n {!messageAlert &&
    \n \n {Area ? (\n \n {associtaedAssetList.map((e, key) => {\n return (\n \n );\n })}\n \n ) : (\n \n {associtaedAssetList.map((e, key) => {\n return (\n
    \n {e.value}\n
    \n );\n })}\n
    \n )}\n
    }\n {!messageAlert &&
    \n
    \n
    \n \n
    \n
    \n\n {/* ======= Sort by dropdown ========= */}\n\n
    \n \n {staticSortableFields.map((e, key) => {\n return (\n \n );\n })}\n \n \n \"Filter\"\n \n
    \n
    }\n\n {/* < -- historic repair details start web view --> */}\n{!messageAlert ?
    \n {!repairs?.length ? (\n
    \n {t(\"repairs_search_no_results\")}\n
    \n ) : (\n repairs.map((el) => (\n\n
    \n
    \n
    \n {el.jobNo &&
    \n {isNullOrUndefined(el.jobNo) ? \" \" : el.jobNo}\n
    }\n
    \n
    \n

    \n {el.status === \"In Diagnosis\"\n ? \"Draft\"\n : (el.status === RepairStatusField.Unappointed || el.status === \"Reported to EMA\")\n ? RepairStatusField.Assignedcontractor\n : (el.status === RepairStatusField.CatalystTier2Triage || el.status === RepairStatusField.CatalystDefectTriage || el.status === RepairStatusField.CatalystEMATriage) ? RepairStatusField.RepairStatusFieldCatalyst : el.status}\n

    \n
    \n
    \n\n
    \n
    {t(\"historic_repairs_description\")}
    \n

    \n {\n el.channel !== RepairChannel.CustomerSelfService &&\n el.channel !== RepairChannel.ERGO &&\n el.channel !== RepairChannel.ColleagueSelfService\n ? (el.trade === 'Unknown' ? t('RepairDescription_ErrorMessage')\n : el.trade) : appConfigValue ? el.description\n : el.description?.split('.')[0]\n }\n

    \n\n
    {t(\"historic_repairs_dates\")}
    \n

    {isNullOrUndefined(el.raisedDate)\n ? \"-\"\n : formatDate(el.raisedDate)}\n

    \n
    {t(\"historic_repairs_area\")}
    \n

    {isNullOrUndefined(el.area) ? \"-\" : el.area}

    \n
    \n \n
    \n ))\n )}\n
    :
    \n {t(\"repair_History_Error_Message2\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}
    \n
    }\n\n {/* < -- Side Filter view --> */}\n\n \n
    \n \n

    \n {t(\"Filter\")}\n \n \"Close\"\n \n

    \n
    \n \n
    {t(\"historic_repairs_area\")}
    \n \n {premisesListArea.map((e, key) => {\n return (\n \n );\n })}\n \n\n
    {t(\"historic_repairs_status\")}
    \n \n {repairStatusSelectOptions.map((e, key) => {\n return (\n \n );\n })}\n \n\n
    \n \n {t(\"Search\")}\n \n
    \n
    \n
    \n
    \n
    \n
    \n ) : (\n
    \n \n
    \n )}\n
    \n \n
    \n \n \n )\n}\n\nexport default HistoricRepairs;\n","export class Statuses {\n isCovidSelfIsolated?: boolean | null\n isDraft?: boolean\n isEmergency?: boolean\n isOutOfHours?: boolean\n isRiskToHumanLife?: boolean | null\n Status?: string\n isRecall?: boolean | null\n isEMA?: boolean\n isCommunal?: boolean \n isPotentialDuplicate? : boolean\n }\n export class UpdateRepair {\n statuses?: Statuses | null\n asset?: Asset | null\n }\n\n export class Asset {\n type?: AssetType | null\n }\n\n export class AssetType {\n assetTypeId?: number\n }","import React, { useEffect } from \"react\";\nimport Modal from \"./index\";\nimport { ModalProps } from \"react-bootstrap\";\nimport { useTranslation } from \"react-i18next\";\nimport * as api from \"../../api\";\nimport { Asset, AssetType, Statuses, UpdateRepair } from \"../../models/Repair/Statuses\";\nimport { PremisesTypeId } from \"../../models/Customer/Premises\";\nimport Clear from \"../../assets/img/Clear.png\";\nimport Button from \"../../storybook/Button\";\nimport { useSelector } from \"react-redux\";\n\n\nconst CancelModelRepair: React.FC = ({ workOrderId, area, errorCode, props }) => {\n\tconst { t } = useTranslation();\n\tconst [isOpen, setIsOpen] = React.useState(false);\n\tconst [cancelRepairButtonDisable, setCancelRepairButtonDisable] = React.useState(false);\n\n\n\tconst modelOpen = () => {\n\t\tsetIsOpen(true)\n\t}\n\tconst modelClose = () => {\n\t\tsetIsOpen(false)\n\t}\n\n\tconst isMyPBMaintenance = useSelector(\n\t\t(state: any) => state?.userChoicesReducer?.isMyPbRepairsMaintainence\n\t );\n\n\tuseEffect(() => {\n\t\tif (isMyPBMaintenance) {\n\t\t\tsetCancelRepairButtonDisable(true);\n\t\t};\n\t})\n\n\tconst cancelAndExit = () => {\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tconst repair = new UpdateRepair();\n\t\t\t\tconst statuses = new Statuses();\n\t\t\t\tconst assetType = new AssetType();\n\t\t\t\tconst asset = new Asset();\n\t\t\t\tassetType.assetTypeId =\n\t\t\t\t\tPremisesTypeId[area as keyof typeof PremisesTypeId];\n\t\t\t\tif (area === \"Divided Block\") {\n\t\t\t\t\tassetType.assetTypeId = 5;\n\t\t\t\t}\n\t\t\t\tasset.type = assetType;\n\t\t\t\trepair.asset = asset;\n\t\t\t\tstatuses.Status = \"Cancelled\";\n\t\t\t\trepair.statuses = statuses;\n\t\t\t\tawait api.repaireWorkOrderUpdate(\n\t\t\t\t\trepair,\n\t\t\t\t\tworkOrderId\n\t\t\t\t)\n\t\t\t\twindow.location.reload();\n\t\t\t} catch (e) {\n\t\t\t\tconsole.error(e);\n\t\t\t\tprops.history.push(\"/genericerror\");\n\t\t\t}\n\t\t})();\n\t};\n\treturn (\n\t\t<>\n\t\t\t{t(\"cancel_repair_button\")}\n\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t
    \"Cancel\"
    \n\n\t\t\t\t\t{errorCode == \"SSR036\" ? (\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t{t(\"SSR036i\")}\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t

    {t(\"SSR036ii\")}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t) : errorCode == \"SSR066\" ? (\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t{t(\"SSR066i\")}\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t

    {t(\"SSR066ii\")}

    \n\t\t\t\t\t\t\t

    {t(\"SSR066ii_sec_txt\")}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t)\n\t\t\t\t\t\t: errorCode == \"SSR008\" ? (\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{t(\"SSR008i\")}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t

    {t(\"SSR008ii\")}

    \n\t\t\t\t\t\t\t\t

    {t(\"SSR066ii_sec_txt\")}

    \n\t\t\t\t\t\t\t
    ) : (\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{t(\"SSR073i\")}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t

    {t(\"SSR073ii\")}

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t)}\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t{errorCode == \"SSR036\" ? (\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t)\n\t\t\t\t\t\t\t: (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\n\t\t\n\t);\n};\n\nexport default CancelModelRepair;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABqSURBVHgB7daxDYAwDETRExMwCiMxAhvAZozAKIwQnCISRarIxSH+k67/cmUJAABXS+yMzTJU4+5YiV0yi3zHtW0y0Ys7ZIK4UcSNIq6alKfITO+Ku8wQmYXILJ+NXGXG+mFtrF9+AMBfPOyxTeg1Ft/cAAAAAElFTkSuQmCC\"","export default __webpack_public_path__ + \"static/media/gif.d0760456.svg\";","export default __webpack_public_path__ + \"static/media/png.83c9942e.svg\";","export default __webpack_public_path__ + \"static/media/jpeg.f97463d3.svg\";","export default __webpack_public_path__ + \"static/media/mov.ab88cfa8.svg\";","export default __webpack_public_path__ + \"static/media/mpeg.539ada06.png\";","export default __webpack_public_path__ + \"static/media/pdf.df47a25c.svg\";","import gifImg from \"../ViewMedia/images/gif.svg\";\nimport pngImg from \"../ViewMedia/images/png.svg\";\nimport jpegImg from \"../ViewMedia/images/jpeg.svg\";\nimport movImg from \"../ViewMedia/images//mov.svg\";\nimport mpegImg from \"../ViewMedia/images/mpeg.png\";\nimport pdfImg from \"../ViewMedia/images/pdf.svg\";\nimport mp4Img from \"../ViewMedia/images/mp4.svg\";\n\nexport const imgData = [\n {\n id: \"gif\",\n src: gifImg,\n },\n {\n id: \"mp4\",\n src: mp4Img,\n },\n {\n id: \"png\",\n src: pngImg,\n },\n {\n id: \"jpeg\",\n src: jpegImg,\n },\n {\n id: \"jpg\",\n src: jpegImg,\n },\n {\n id: \"tiff\",\n src: jpegImg,\n },\n {\n id: \"psd\",\n src: jpegImg,\n },\n {\n id: \"eps\",\n src: jpegImg,\n },\n {\n id: \"bmp\",\n src: jpegImg,\n },\n {\n id: \"erf\",\n src: jpegImg,\n },\n {\n id: \"x-matroska\",\n src: movImg,\n },\n {\n id: \"mkv\",\n src: movImg,\n },\n {\n id: \"wmv\",\n src: movImg,\n },\n {\n id: \"avi\",\n src: movImg,\n },\n {\n id: \"webm\",\n src: movImg,\n },\n {\n id: \"hevc\",\n src: movImg,\n },\n {\n id: \"flv\",\n src: movImg,\n },\n {\n id: \"mov\",\n src: movImg,\n },\n\n {\n id: \"quicktime\",\n src: movImg,\n },\n {\n id: \"pdf\",\n src: pdfImg,\n },\n {\n id: \"mpeg\",\n src: mpegImg,\n },\n];\n","export default __webpack_public_path__ + \"static/media/mp4.2dcbf57f.svg\";","import React, { useState, useEffect, useRef, useCallback } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { Container } from \"@material-ui/core\";\n\nimport { RouteComponentProps } from \"react-router-dom\";\nimport Loader from \"react-loader-spinner\";\nimport { useLocation } from \"react-router-dom\";\nimport * as api from \"../../api\";\n\nimport classes from \"../UploadMedia/spinner.module.scss\";\nimport { imgData } from \"../UploadMedia/StaticIconName\";\nimport { useDeviceSelectors } from \"react-device-detect\";\nimport Message from \"../../storybook/Message\";\nimport Clear from \"../../assets/img/Clear.png\";\n\n\ninterface MediaListProps extends RouteComponentProps {\n wOid: any;\n}\nconst MpegAlertUserAgents = process.env.REACT_APP_MpegAlertSupportedBrowser;\n\nconst MediaList: React.FC = (props) => {\n const { t } = useTranslation();\n const [isLoading, setIsLoading] = useState(false);\n const [mediaFile, setMediaFile] = useState<{}[]>([]);\n const [isOverlay, setIsOverlay] = useState(\"none\");\n const [getWorkOrderId, setWorkOrderId] = useState();\n const [base64Data, setBase64Data] = useState(\"\");\n const [contentType, setContentType] = useState([]);\n const [isProccessing, setIsProccessing] = useState(false);\n const [isError, setIsError] = useState(\"\");\n const [selectedId, setSelectedId] = useState();\n const videoRef: any = useRef();\n const location = useLocation();\n let inAppContent: boolean = false;\n const [isMpegSupportedBrowser, setMpegSupportedBrowser]: any =\n useState(false);\n\n useEffect(() => {\n if (isError) {\n setIsOverlay(\"none\");\n }\n }, [isError]);\n\n const detectedDeviceBrowser = useDeviceSelectors(window.navigator.userAgent);\n\n useEffect(() => {\n for (let [key, value] of Object.entries(detectedDeviceBrowser[0])) {\n if (key === MpegAlertUserAgents) {\n setMpegSupportedBrowser(value);\n }\n }\n }, []);\n\n const fetchMediaData = async (id: any) => {\n setIsLoading(true);\n try {\n const response = await api.getMediaData(id);\n setMediaFile(response.documents);\n } catch (e: any) {\n setIsError(\"View_Media_Error\");\n } finally {\n setIsLoading(false);\n }\n };\n\n useEffect(() => {\n setWorkOrderId(props.wOid);\n fetchMediaData(props.wOid);\n }, [location]);\n\n const backButtonHandler = () => {\n props.history.push({\n pathname: \"/historicRepairs\",\n state: { viewMediaID: location.state },\n });\n };\n\n /* Displaying overlay on media click */\n const displayViewMediaDetails = async (mediaId: any, content: any) => {\n setIsError(\"\");\n setIsProccessing(true);\n setIsOverlay(\"block\");\n setContentType(content.split(\"/\"));\n setSelectedId(mediaId);\n\n try {\n const response = await api.getViewMediaDetail(getWorkOrderId, mediaId);\n const data1 = response.media.replace('\"', \"\");\n\n let selectedMedia = `data:${content};base64,${data1}`;\n\n setBase64Data(selectedMedia);\n\n setIsProccessing(false);\n\n // istanbul ignore next Displaying pdf alert and closing overlay\n if (content.split(\"/\")[1] === \"pdf\") {\n setIsOverlay(\"none\");\n const byteCharacters = atob(data1);\n const byteNumbers = new Array(byteCharacters.length);\n for (let i = 0; i < byteCharacters.length; i++) {\n byteNumbers[i] = byteCharacters.charCodeAt(i);\n }\n const byteArray = new Uint8Array(byteNumbers);\n const blob = new Blob([byteArray], { type: content });\n const blobUrl = URL.createObjectURL(blob);\n window.open(blobUrl, \"_blank\");\n }\n } catch (e: any) {\n setIsProccessing(false);\n setIsError(\"View_Media_Error\");\n }\n };\n\n const closeOverLay = () => {\n setIsOverlay(\"none\");\n if (contentType[1] !== \"mpeg\" && contentType[0] === \"video\") {\n videoRef?.current?.pause();\n }\n };\n\n const displayErrorMessage = useCallback(() => {\n return (\n mediaFile.length === 0 &&\n isError && (\n
    \n \n {t(isError)}\n \n
    \n )\n );\n }, [isError]);\n\n return (\n \n {isLoading ? (\n \n ) : (\n <>\n
    \n {t(\"Media_Title\")}\n
    \n
    \n
      \n {mediaFile.length > 0 ? (\n mediaFile?.map((data: any) => {\n data?.metadata?.map((res: any) => {\n if (res.key === \"IsMediaAppropriate\" && res.value === false) {\n inAppContent = true;\n }\n });\n return data?.metadata?.map((res: any) => {\n if (res.key === \"content-type\" && inAppContent === false) {\n const matchData = res.value.split(\"/\");\n return imgData.map((item: any, index: number) => {\n if (\n matchData[1] === item.id ||\n matchData[1] === item.id.toUpperCase()\n ) {\n return (\n <>\n \n displayViewMediaDetails(data.id, res.value)\n }\n onClick={() =>\n displayViewMediaDetails(data.id, res.value)\n }\n >\n \n \n {data.media.fileName}\n \n \n {isError && selectedId === data.id && (\n \n {t(isError)}\n \n )}\n \n );\n }\n });\n }\n else if (inAppContent === true && res.key === \"IsMediaAppropriate\" && res.value === false) {\n return (\n <>{t(\"MediaRemovedMsg\")}\n )\n }\n })\n })\n ) : (\n {t(\"No_Media\")}\n )\n\n }\n
    \n {displayErrorMessage()}\n
    \n \n )}\n\n
    \n {isProccessing ? (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n ) : (\n
    \n
    \n \"Cancel\"\n
    \n \n
    \n {contentType[0] === \"video\" && contentType[1] !== \"mpeg\" && (\n \n \n \n )}\n\n {!isMpegSupportedBrowser &&\n contentType[0] === \"video\" &&\n contentType[1] === \"mpeg\" && (\n <>\n \n \n \n
    \n

    \n Your browser doesn't support playing MPEG videos,\n please click{\" \"}\n \n here\n {\" \"}\n to download the video instead.\n

    \n
    \n \n )}\n\n {contentType[0] === \"video\" &&\n contentType[1] === \"mpeg\" &&\n isMpegSupportedBrowser && (\n <>\n \n \n \n
    \n

    \n {t(\"Media_MPEG_Apple\")}\n

    \n
    \n \n )}\n\n {contentType[0] === \"image\" && (\n \n )}\n \n
    \n
    \n )}\n
    \n
    \n );\n};\n\nexport default MediaList;\n","import React from \"react\";\nimport Modal from \"./index\";\nimport { ModalProps } from \"react-bootstrap\";\nimport { useTranslation } from \"react-i18next\";\nimport * as api from \"../../api\";\nimport {\n Asset,\n AssetType,\n Statuses,\n UpdateRepair,\n} from \"../../models/Repair/Statuses\";\nimport { PremisesTypeId } from \"../../models/Customer/Premises\";\nimport Clear from \"../../assets/img/Clear.png\";\nimport Button from \"../../storybook/Button\";\n\nconst ReScheduleModelRepair: React.FC = ({\n workOrderId,\n area,\n errorCode,\n props,\n setIsReScheduleModalShow,\n}) => {\n const { t } = useTranslation();\n\n return (\n <>\n \n
    \n
    \"Cancel\" setIsReScheduleModalShow(true)} onKeyDown={() => setIsReScheduleModalShow(true)}/>
    \n \n

    {t(\"CR165\")}

    \n

    {t(\"CR166\")}

    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n \n \n );\n};\n\nexport default ReScheduleModelRepair;\n","import React, { useEffect, useState } from \"react\";\nimport \"./index.scss\";\nimport peabody from \"../../assets/img/peabody-logo-teal.png\";\nimport closemenu from \"../../assets/img/close.png\";\nimport { useHistory } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Hotjar from \"@hotjar/browser\";\nimport {\n loginStatus,\n loginTime,\n selectedTabValue,\n selectedTenancyGroup,\n userChosenAdditionalDescription,\n userChosenContactDetails,\n userChosenContactName,\n userChosenContactPhone,\n userChosenCovidQuestion,\n userChosenDuplicateQuestion,\n userChosenEligibilityErrorCode,\n userChosenHighLevelDescription,\n userChosenPropertyAddress,\n userChosenPropertyId,\n userChosenPropertyType,\n userChosenRelationDetails,\n userChosenRepairLocation,\n userChosenSOR,\n userChosenSTATUS,\n userChosenSupplementaryQuestions,\n userChosenUPRN,\n userChosenVandalismAdditionalInformation,\n userChosenVandalismQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userProfileData,\n} from \"../../ducks/redux/actions/userChoices\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport { getCustomerId } from \"../../ducks/redux/actions/getAddress\";\nimport { useTranslation } from \"react-i18next\";\nimport * as api from \"../../api\";\nimport HomeModal from \"../../compositions/Modal/HomeModal\";\nimport {\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n} from \"../../ducks/redux/actionTypes\";\n\ntype HeaderProps = {\n name: string;\n};\nconst b2cLoginUrl: string = process.env.REACT_APP_CSS_B2C_LOGIN_URL || \"\";\nconst siteId = process.env.REACT_APP_SITE_ID;\nconst hotjarVersion = process.env.REACT_APP_HOTJAR_VERSION;\n\nconst ListingDetailHeader: React.FC = ({ name }) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const history = useHistory();\n const [isVisiableSignIn, setIsVisiableSignIn] = useState(\"block\");\n const [isVisiableSignOut, setIsVisiableSignOut] = useState(\"none\");\n\n const [showMenu, setShowMenu] = useState(true);\n\n const [checkboxMenu, setCheckboxMenu] = useState(false);\n\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n\n const selectedTab = useSelector(\n (state: any) => state?.userChoicesReducer?.selectedTabValue\n );\n\n const isCatalyst = useSelector(\n (state: any) => state.userChoicesReducer?.isCatalystCustomer\n );\n\n const appCaseCardCatalystconfigValue = useSelector(\n (state: any) => state?.userChoicesReducer?.isCaseCatalystToggle\n );\n\n const appCaseCardconfigValue = useSelector(\n (state: any) => state?.addresses?.caseCardtoggleValue\n );\n\n const showTabs = useSelector(\n (state: any) => state?.userChoicesReducer?.showMenuTabs\n );\n\n const hotjarScriptCall = async () => {\n const appConfigHotjarToggleValue = await api.GetAppConfigToggleValue(\n \"IsHotjarEnabledSS\"\n );\n if (appConfigHotjarToggleValue.value === \"true\") {\n if (siteId != undefined && hotjarVersion != undefined) {\n const hotJarSiteIdParam = parseInt(siteId);\n const hotjarVersionParam = parseInt(hotjarVersion);\n Hotjar.init(hotJarSiteIdParam, hotjarVersionParam);\n }\n }\n };\n\n useEffect(() => {\n if (isUndefinedNullOrEmpty(loggedInStatus)) {\n setIsVisiableSignIn(\"block\");\n setIsVisiableSignOut(\"none\");\n } else {\n setIsVisiableSignIn(\"none\");\n setIsVisiableSignOut(\"block\");\n hotjarScriptCall();\n }\n }, [loggedInStatus, showTabs]);\n\n const RedirectToIDAMLoginPage = () => {\n window.location.href = b2cLoginUrl;\n };\n\n const RedirectToCustomer360View = () => {\n setMenu();\n history.push(\"/customer360View\");\n dispatch(selectedTabValue(\"home\"));\n };\n\n const RedirectToViewBalance = () => {\n setMenu();\n history.push(\"/viewaccount\");\n dispatch(selectedTabValue(\"viewaccount\"));\n };\n\n const RedirectToViewRepairsHistory = () => {\n setMenu();\n history.push(\"/historicRepairs\");\n dispatch(selectedTabValue(\"historicRepairs\"));\n };\n\n const RedirectToViewMessageHistory = () => {\n setMenu();\n history.push(\"/mymessageshistory\");\n dispatch(selectedTabValue(\"mymessageshistory\"));\n };\n\n const RedirectToViewYourDetails = () => {\n setMenu();\n history.push(\"/manageprofile\");\n dispatch(selectedTabValue(\"manageprofile\"));\n };\n\n const RedirectToLogOut = () => {\n setMenu();\n RedirectToCSSLoginPage();\n dispatch(selectedTabValue(\"logout\"));\n };\n\n const RedirectToRequest = () => {\n setMenu();\n history.push(\"/casesearch\");\n dispatch(selectedTabValue(\"requests\"));\n };\n\n const setMenu = () => {\n setCheckboxMenu(!checkboxMenu);\n setShowMenu(!showMenu);\n };\n\n const clearCaseStoreData = () => {\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_SELECTED_ANSWERS });\n };\n const HomeModalHandler = () => {\n clearCaseStoreData();\n history.push(\"/customer360View\");\n };\n \n const peabodyWebsite = () => {\n window.open(\n \"https://www.peabody.org.uk/\",\n \"_blank\",\n \"noopener\"\n );\n}\n \n const RedirectToCSSLoginPage = () => {\n dispatch(loginTime(\"\"));\n dispatch(loginStatus(false));\n dispatch(loginStatus(\"\"));\n dispatch(getCustomerId(\"\"));\n clearCaseStoreData();\n const apiResponseDeleteSessionID = api.clearSession();\n localStorage.clear();\n dispatch(userProfileData(\"\"));\n dispatch(userChosenPropertyId(\"\"));\n dispatch(userChosenPropertyType(\"\"));\n dispatch(userChosenPropertyAddress(\"\"));\n dispatch(userChosenRepairLocation(\"\"));\n dispatch(userChosenHighLevelDescription(\"\"));\n dispatch(userChosenSupplementaryQuestions(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenUPRN(\"\"));\n dispatch(userChosenSOR(\"\"));\n dispatch(userChosenSTATUS(\"\"));\n dispatch(userChosenEligibilityErrorCode(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(selectedTenancyGroup(''))\n history.push(\"/startpage\");\n };\n return (\n <>\n
    \n \n
    \n \n );\n};\nexport default ListingDetailHeader;\n","import React, { useState, useEffect, useRef, useContext } from \"react\";\r\nimport * as api from \"../../api\";\r\nimport { CurrentRepair, RepairHistory, RepairStatusField } from \"../../models/Repair/Repair\";\r\nimport { RouteComponentProps } from \"react-router-dom\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport Loader from \"react-loader-spinner\";\r\nimport CancelModelRepair from \"../Modal/CancelModelRepair\";\r\nimport { clearMediaFiles, isMediaResume, resumeDraftRepair, selectedWorkorderForMedia, showMenuTabs, showFooter, userChosenAdditionalDescription, userChosenAdditionalDescriptionCOUNT, userChosenContactDetails, userChosenContactName, userChosenContactPhone, userChosenCovidQuestion, userChosenEmergencyQuestion, userChosenHighLevelDescription, userChosenIsReporter, userChosenPropertyAddress, userChosenPropertyId, userChosenPropertyType, userChosenRelationDetails, userChosenRepairLocation, userChosenRepairLocationId, userChosenSOR, userChosenSupplementaryQuestions, userChosenUPRN, userChosenVandalismAdditionalInformation, userChosenVandalismQuestion, userChosenVulnerabilityAdditionalInformation, userChosenVulnerabilityQuestion, userCreatedNewRepair, userResumeData, userResumeDraftDataCache, repairPriorityValue, userGetRepairData, userChosenDuplicateQuestion } from \"../../ducks/redux/actions/userChoices\";\r\nimport { RepairPriority, ContractorRepairPriority } from \"../../models/Repair/CreateRepair\";\r\nimport { FeatureFlags } from \"../contexts/FeatureFlags\";\r\nimport { getHeatingHotWaterCase, getMaintResp, getRepairResp, saveCustomerDetails, saveCustomerphoneNumber, selectedTenacyType, workOrderRepairObject, getDeterminedContractorDetails, getContractorPayload, saveSupplimentaryCodes } from \"../../ducks/redux/actions/getAddress\";\r\nimport { isNullOrUndefined } from \"../../utils/formatting\";\r\nimport { trackException } from \"../../appInsights/TelemetryService\";\r\nimport { eligibilityResponseObject, resumeRepairReasonPriorityUpdatedToEmergency, selectedRepairReasonPriorityDetermination } from \"../../ducks/redux/actions/dashboardReducer.actions\";\r\nimport { repairHistoryData } from \"../../ducks/redux/actions/historicRepair\";\r\nimport Button from \"../../storybook/Button\";\r\nimport Message from \"../../storybook/Message\";\r\nimport Chevronleft from \"../../assets/img/Chevronleft.png\";\r\nimport mobileChevronleft from \"../../assets/img/mobileChevronleft.png\";\r\nimport MediaList from \"../MediaList/index\"\r\nimport ReScheduleModelRepair from \"../Modal/ReScheduleModelRepair\";\r\nimport ListingDetailHeader from \"../../storybook/Header/ListingDetailHeader\";\r\nimport { RepairChannel } from \"../../models/Repair/RepairChannel\";\r\nimport { CustomerResponse } from \"../../models/Customer\";\r\n\r\ninterface RepairHistoryDetailsProps extends RouteComponentProps {\r\n Appointment?: string;\r\n Priority?: string;\r\n Contractor?: string;\r\n Description?: string;\r\n workOrderID?: string;\r\n status?: string;\r\n repairReference?: string;\r\n area?: string;\r\n fullDescription?: string;\r\n appointmentDate?: string;\r\n ContractorsList?: string[];\r\n siteIdentifier?: string;\r\n associtaedAsset?: string;\r\n}\r\n\r\nconst RepairHistoryDetails: React.FC = (props) => {\r\n let moment = require(\"moment\");\r\n const dispatch = useDispatch();\r\n let contractorSiteIdentifer = \"\";\r\n\r\n //#region \"page state\"\r\n\r\n\r\n const [repairHistoryDetails, setRepairHistoryDetails] = React.useState<\r\n RepairHistory[]\r\n >([]);\r\n\r\n\r\n const [mostRecentStatus, setMostRecentStatus] = useState(\"\");\r\n const [mostRecentStatusClass, setMostRecentStatusClass] = useState(\"\");\r\n const [mostRecentStatusMobileClass, setmostRecentStatusMobileClass] = useState(\"\");\r\n\r\n const [isLoading, setIsLoading] = useState(false);\r\n const { t } = useTranslation();\r\n\r\n const [isAppointmentAvailable, setIsAppointmentAvailable] = useState(\"none\");\r\n const [isCancelButton, setIsCancelButton] = useState(\"none\");\r\n const [isRescheduleButton, setIsRescheduleButton] = useState(\"none\");\r\n const [isRescheduleShow, setIsRescheduleShow] = useState(\"none\");\r\n const [errorCode, setErrorCode] = useState(\"\");\r\n const [errorMessage, seterrorMessage] = useState(\"\");\r\n const [errorCodeReschedule, setErrorCodeReschedule] = React.useState(\"\");\r\n const [contractorContactNumber, setContractorContactNumber] = useState(\"\");\r\n const { featureMedia }: any = useContext(FeatureFlags);\r\n const [rescheduleMessage, setRescheduleMessage] = useState(\"\");\r\n const [draftRepair, setDraftRepair] = useState(); \r\n const [contractorSitesIdentifierValue, setContractorSitesIdentifierValue] = useState(\"\");\r\n const [isMedia, setIsMedia] = useState(false); \r\n const [communalToggle, setCommunalToggle] = useState(\"true\");\r\n const customerID = useSelector((state: any) => state.addresses?.customerid);\r\n const [mediaOwner, setMediaOwner] = useState(customerID);\r\n const _customerId = localStorage.getItem(\"customerId\") || \"\"; \r\n const [isActive, setIsActive] = React.useState(false);\r\n const [isReScheduleModal, setIsReScheduleModalShow] = useState(false);\r\n\r\n const [appointmentStartDate, setAppointmentStartDate] = useState(\"\");\r\n const [appointmentEndDate, setAppointmentEndDate] = useState(\"\");\r\n const [isSelectAppointmentChosen, setIsSelectAppointmentChosen] = useState(false);\r\n const [woHadDemobilizedContractorSite, setWOHadDemobilizedContractorSite] = useState(false);\r\n const [contractorDetails, setContractorDetails] = useState(null);\r\n \r\n let isIntegrated = false; \r\n\r\n //#endregion \"state\"\r\n\r\n //#region \"selectors\"\r\n\r\n const isComesFromMediaPage = useSelector(\r\n (state: any) => state?.userChoicesReducer?.isFromMediaPage\r\n );\r\n const userRepairWorkOrderValue = useSelector(\r\n (state: any) => state.userChoicesReducer?.userRepairWorkOrder\r\n ); \r\n\r\n const repairHistoryDataValue = useSelector(\r\n (state: any) => state.historicRepairReducer?.repairHistoryData\r\n );\r\n\r\n const contractorphone = useSelector(\r\n (state: any) => state.userChoicesReducer?.userChosenContactPhone\r\n );\r\n const contractorname = useSelector(\r\n (state: any) => state.userChoicesReducer?.userChosenContactName\r\n );\r\n\r\n \r\n let eligibilityResponseObjectFromState = useSelector(\r\n (state: any) =>\r\n state?.dashboardReducer?.formState?.eligibilityResponseObject\r\n );\r\n\r\n const vandalismConfigValue = useSelector(\r\n (state: any) => state?.addresses?.vandalismtoggleValue\r\n );\r\n\r\n const covidConfigValue = useSelector(\r\n (state: any) => state?.addresses?.covidtoggleValue\r\n );\r\n\r\n const isCatalyst = useSelector(\r\n (state: any) => state.userChoicesReducer?.isCatalystCustomer\r\n );\r\n\r\n const customerResponse: CustomerResponse = useSelector(\r\n (state: any) => state.addresses.saveCustomerDetails\r\n );\r\n\r\n const getContractorInfoUsingConsite = (repairHistoryData: any, contractorSiteIdentifier: any) => {\r\n const filteredContractorMatch = repairHistoryData?.RepairHistoryContractorsList?.filter((contractor: any) =>\r\n contractor?.contractorSites?.includes(contractorSiteIdentifier)\r\n ) || [];\r\n\r\n return filteredContractorMatch?.length > 0 ? filteredContractorMatch[0] : null;\r\n };\r\n\r\n const demobilizedContractorList = useSelector(\r\n (state: any) => state?.userChoicesReducer?.demobilizedContractorSites\r\n );\r\n\r\n //#endregion \"selectors\"\r\n\r\n \r\n //#region \"functions\" \r\n\r\n const backButtonHandler = () => {\r\n dispatch(showMenuTabs(true));\r\n props.history.goBack();\r\n };\r\n\r\n const selectAppointmentHandler = () => {\r\n setIsSelectAppointmentChosen(true);\r\n dispatch(userGetRepairData(draftRepair));\r\n if(!woHadDemobilizedContractorSite) {\r\n props.history.push(\"/appointmentscheduler\");\r\n }\r\n };\r\n\r\n const setupRepaiHistoryDetails = (workOrderId: string | undefined) => {\r\n (async () => {\r\n try {\r\n setIsLoading(true);\r\n setIsActive(!isActive);\r\n if (isActive === false) {\r\n if (workOrderId != undefined) {\r\n //const workOrderResponse = await api.getWorkOrder(workOrderId);\r\n const workOrderResponse = await api.getRepair(workOrderId);\r\n setWOHadDemobilizedContractorSite(demobilizedContractorList?.some((x: string) => x.toLowerCase() === workOrderResponse?.contractor?.toLowerCase()));\r\n setDraftRepair(workOrderResponse);\r\n setMediaOwner(workOrderResponse?.customerIdentifier);\r\n // === Adding view media button condition ===\t\r\n\r\n if (workOrderResponse?.documents?.documentIdentifiers?.length > 0) { \r\n setIsMedia(true);\r\n } else {\r\n setIsMedia(false);\r\n }\r\n // === end ===\t\r\n const _customerId = localStorage.getItem(\"customerId\") || \"\";\r\n if (workOrderResponse != null) {\r\n contractorSiteIdentifer = workOrderResponse?.contractor || \"\";\r\n \r\n if (contractorSiteIdentifer) {\r\n const contractorDetails = getContractorInfoUsingConsite(repairHistoryDataValue, contractorSiteIdentifer);\r\n if(isNullOrUndefined(contractorDetails) && draftRepair?.contractorName) {\r\n contractorDetails.name = draftRepair?.contractorName\r\n }\r\n setContractorDetails(contractorDetails);\r\n dispatch(getDeterminedContractorDetails(contractorDetails));\r\n setContractorContactNumber(contractorDetails?.contacts[0]?.addresses?.digitalAddresses[0]?.telecomsAddresses[0]?.number ?? draftRepair?.contractorPhoneNumber);\r\n setContractorSitesIdentifierValue(contractorSiteIdentifer);\r\n setAppointmentStartDate(workOrderResponse.appointmentStartDate);\r\n setAppointmentEndDate(workOrderResponse.appointmentEndDate);\r\n isIntegrated = contractorDetails?.statuses?.isIntegrated;\r\n\r\n \r\n\r\n if (\r\n isIntegrated &&\r\n workOrderResponse.area === \"Property\" &&\r\n workOrderResponse.priority === RepairPriority.NextAvailable &&\r\n workOrderResponse.status === RepairStatusField.Unappointed\r\n ) {\r\n setIsAppointmentAvailable(\"inline\");\r\n setIsRescheduleButton(\"none\");\r\n }\r\n else {\r\n //get reschedule eligibility\r\n reschedule(workOrderResponse, _customerId, isIntegrated, contractorDetails);\r\n setIsAppointmentAvailable(\"none\");\r\n } \r\n }\r\n\r\n //get cancel repair eligibility\r\n const eligibilityResponse = await api.getCancelRepairEligibility(\r\n (workOrderResponse.reportingMethod = \"CustomerSelfService\"),\r\n workOrderResponse.status,\r\n workOrderResponse.isDraft,\r\n workOrderResponse.isEmergency,\r\n workOrderResponse.isOutOfHours,\r\n workOrderResponse.isRecall != undefined\r\n ? workOrderResponse.isRecall\r\n : false,\r\n workOrderResponse.isEMA,\r\n workOrderResponse.isPotentialDuplicate,\r\n workOrderResponse.contractor,\r\n workOrderResponse.repairLocation,\r\n workOrderResponse.trade,\r\n workOrderResponse.sorCode,\r\n moment(new Date(workOrderResponse.raisedDate)).format(\r\n \"yyyy-MM-DD\"\r\n ),\r\n repairHistoryDataValue.RepairHistoryarea || \"\",\r\n workOrderResponse?.appointmentStartDate,\r\n _customerId,\r\n workOrderResponse?.customerIdentifier\r\n );\r\n\r\n if (eligibilityResponse.isEligible) {\r\n setIsCancelButton(\"inline\");\r\n if (eligibilityResponse.errorCode === \"\") {\r\n setErrorCode(\"SSR036\");\r\n setIsCancelButton(\"inline\");\r\n } else {\r\n setIsCancelButton(\"none\");\r\n setErrorCode(eligibilityResponse.errorCode);\r\n setCancelMessages(eligibilityResponse.errorCode)\r\n }\r\n } else {\r\n setErrorCode(\"SSR036\");\r\n setIsCancelButton(\"none\");\r\n }\r\n }\r\n }\r\n }\r\n\r\n setIsLoading(true);\r\n\r\n //Scroll to top of current repair detail parent element if returning to Historic Repairs Details Page\r\n if (!isNullOrUndefined(repairHistoryDataValue?.repairHistoryOperation)) {\r\n const isMobileView = document.getElementById('scrollableDiv')?.offsetParent != null,\r\n parentHTMLBody = isMobileView ? document.getElementById('scrollableDiv') : document.getElementById('paginationDiv'),\r\n repairDivIdQuery = \"#Repair_Id_\" + workOrderId,\r\n repairDiv = parentHTMLBody?.querySelector(repairDivIdQuery) as HTMLElement | null;\r\n repairDiv?.scrollIntoView();\r\n dispatch(repairHistoryData(\"\"));\r\n }\r\n\r\n } catch (e: any) {\r\n setIsLoading(true);\r\n const _channel = process.env.REACT_APP_X_CHANNEL_IDENTIFIER;\r\n const _customerId = localStorage.getItem(\"customerId\") || \"\";\r\n const _corelationId = localStorage.getItem(\"corelationId\") || \"\";\r\n trackException(e, _channel, _customerId, _corelationId);\r\n console.error(e);\r\n props.history.push(\"/genericerror\");\r\n }\r\n })();\r\n };\r\n\r\n const reschedule = async (\r\n workOrderResponse: CurrentRepair,\r\n _customerId: string,\r\n isIntegrated: boolean,\r\n contractorData: any\r\n ) => {\r\n const eligibilityResponse = await api.getRescheduleEligibility(\r\n (workOrderResponse.reportingMethod = \"CustomerSelfService\"),\r\n workOrderResponse.id,\r\n workOrderResponse.status,\r\n workOrderResponse.isDraft,\r\n workOrderResponse.isEmergency,\r\n workOrderResponse.isOutOfHours,\r\n workOrderResponse.isRecall != undefined\r\n ? workOrderResponse.isRecall\r\n : false,\r\n workOrderResponse.isEMA,\r\n workOrderResponse.isPotentialDuplicate,\r\n workOrderResponse.contractor,\r\n workOrderResponse.repairLocation,\r\n workOrderResponse.trade,\r\n workOrderResponse.sorCode,\r\n moment(new Date(workOrderResponse.raisedDate)).format(\"yyyy-MM-DD\"),\r\n repairHistoryDataValue.RepairHistoryarea || \"\",\r\n workOrderResponse?.appointmentStartDate != undefined\r\n ? moment(new Date(workOrderResponse?.appointmentStartDate)).format(\r\n \"yyyy-MM-DD\"\r\n )\r\n : \"\",\r\n\r\n _customerId,\r\n workOrderResponse?.customerIdentifier,\r\n isIntegrated,\r\n workOrderResponse?.lastAppointmentCreatedDate != undefined\r\n ? moment(workOrderResponse?.lastAppointmentCreatedDate).format(\r\n \"yyyy-MM-DD\"\r\n )\r\n : \"\",\r\n );\r\n\r\n if (workOrderResponse.status !== RepairStatusField.Appointed) {\r\n setIsRescheduleButton(\"none\");\r\n }\r\n else if (eligibilityResponse.isEligible ) {\r\n \r\n setErrorCodeReschedule(eligibilityResponse.errorCode);\r\n //setAppointmentStartDate(workOrderResponse.appointmentStartDate);\r\n //setAppointmentEndDate(workOrderResponse.appointmentEndDate);\r\n if (eligibilityResponse.errorCode.toString() === \"SSR071\" || eligibilityResponse.errorCode.toString() === \"SSR075\") {\r\n let message = t(eligibilityResponse.errorCode); \r\n message = message.replace(\"{0}\", contractorData.name);\r\n message = message.replace(\"{1}\", contractorData.contacts[0]?.addresses?.digitalAddresses[0]\r\n ?.telecomsAddresses[0]?.number);\r\n setRescheduleMessage(message);\r\n setIsRescheduleButton(\"none\");\r\n setIsRescheduleShow(\"inline\")\r\n }\r\n else if (eligibilityResponse.errorCode.toString() === \"SSR070\") {\r\n const message = t(\"SSR070\");\r\n setRescheduleMessage(message);\r\n setIsRescheduleButton(\"none\");\r\n setIsRescheduleShow(\"inline\")\r\n }\r\n else {\r\n if (isNullOrUndefined(eligibilityResponse.errorCode)) {\r\n setIsRescheduleShow(\"none\");\r\n setIsRescheduleButton(\"inline\");\r\n return;\r\n }\r\n } \r\n } else {\r\n setIsRescheduleButton(\"none\");\r\n }\r\n\r\n };\r\n const resumeRepairHandler = async (wid: any) => {\r\n dispatch(showMenuTabs(false));\r\n dispatch(showFooter(false));\r\n dispatch(resumeDraftRepair(true));\r\n dispatch(clearMediaFiles([]));\r\n dispatch(isMediaResume(true));\r\n\r\n let assetrResponse = null;\r\n dispatch(\r\n saveCustomerphoneNumber(customerResponse?.addresses?.telecomsAddresses)\r\n );\r\n dispatch(\r\n saveCustomerphoneNumber(customerResponse?.addresses?.telecomsAddresses))\r\n dispatch(userChosenIsReporter(draftRepair.reporterToBeContacted));\r\n if (draftRepair.reporterContactDetails != null) {\r\n const name = draftRepair.reporterContactDetails?.name?.givenName?.replace(/\\b(null|undefined)\\b/g, \"\").trim();\r\n dispatch(userChosenContactPhone(draftRepair.reporterContactDetails.contactNumber))\r\n dispatch(userChosenContactName(name))\r\n dispatch(userChosenRelationDetails(draftRepair.reportedBy));\r\n dispatch(userChosenContactDetails(\"I would like to provide number for this repair.\"));\r\n\r\n draftRepair.reporterContactDetails.name = null;\r\n }\r\n else {\r\n //dispatch(userChosenContactDetails(draftRepair.co));\r\n dispatch(userChosenRelationDetails(\"Customer\"));\r\n dispatch(userChosenContactPhone(\"\"));\r\n dispatch(userChosenContactDetails(customerResponse?.addresses?.telecomsAddresses?.[0].number));\r\n dispatch(\r\n userChosenContactDetails(\r\n customerResponse?.addresses?.telecomsAddresses?.[0].number\r\n )\r\n );\r\n\r\n }\r\n\r\n /*** This fetches the High Level, Supplementary Question and Repair Emergency Data ***/\r\n const area = repairHistoryDataValue?.RepairHistoryarea != undefined ? repairHistoryDataValue?.RepairHistoryarea : \"\";\r\n const premiseType =\r\n area === \"Block\" ||\r\n area === \"Estate\" ||\r\n area === \"Divided block\"\r\n ? \"Communal\"\r\n : area;\r\n const repairReasonResponsedata = await api.searchRepairReasons(draftRepair.repairReason, premiseType,isCatalyst);\r\n\r\n let selectedReason = repairReasonResponsedata.filter(\r\n (reason: any) => reason.description === draftRepair.description\r\n );\r\n \r\n const isContractorEMA = draftRepair.isEMA ? \"Y\" : \"N\"\r\n const raisedFormattedDate = moment(new Date()).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n\r\n //to keep up the sorcode change for total loss of water\r\n const responseTenancyGroup = await api.getTenanciesGroup(draftRepair.customerIdentifier, draftRepair.premisesId);\r\n const tenancyGroup = responseTenancyGroup?.[0]?.tenancyGroup || \"\";\r\n const responsePremisesEligibility = await api.postPremisesEligibility(\r\n draftRepair.premisesId,\r\n tenancyGroup\r\n );\r\n const supplementaryCodes = responsePremisesEligibility?.[0]?.supplimentaryCodes || \"\";\r\n dispatch(saveSupplimentaryCodes(supplementaryCodes));\r\n\r\n const isSupplementaryCode = selectedReason[0]?.description === \"Total loss of water\" && supplementaryCodes?.includes(\"FISPUMPS02\");\r\n const sorCodeUpdated = isSupplementaryCode ? \"COMPUMP\" : draftRepair.originalWorkOrderSorCode\r\n draftRepair.sorCode = sorCodeUpdated\r\n draftRepair.originalWorkOrderSorCode = sorCodeUpdated\r\n\r\n /*** This fetches the Updated Seasonal Priority for mapped Repair reasons from Drools ***/\r\n const priorityDeterminationResponse = (await api.postRepairPriority({\r\n repairType: draftRepair.sorCode,\r\n isEmergency: draftRepair.isEmergency,\r\n isRecall: draftRepair.isRecall,\r\n isEMA: isContractorEMA,\r\n isVulnerable: draftRepair.isVulnerable,\r\n description: draftRepair.description,\r\n raisedDate: raisedFormattedDate,\r\n channel: RepairChannel.CustomerSelfService\r\n }))?.repairPriority;\r\n\r\n dispatch(repairPriorityValue(priorityDeterminationResponse));\r\n\r\n const priorityValue = \r\n priorityDeterminationResponse === ContractorRepairPriority.Emergency ? RepairPriority.Emergency\r\n : (priorityDeterminationResponse === ContractorRepairPriority.NextAvailable\r\n || priorityDeterminationResponse == ContractorRepairPriority.DampAndMould\r\n ) ? RepairPriority.NextAvailable : null;\r\n \r\n const repairReasonPriorityIsUpdated = priorityValue != null && priorityValue !== draftRepair.priority;\r\n dispatch(selectedRepairReasonPriorityDetermination(draftRepair.priority));\r\n dispatch(resumeRepairReasonPriorityUpdatedToEmergency(repairReasonPriorityIsUpdated && priorityValue === RepairPriority.Emergency));\r\n draftRepair.isDraft = null;\r\n \r\n if(draftRepair.sorCode === \"NA\")\r\n {\r\n dispatch(getHeatingHotWaterCase(\"E32\"));\r\n }\r\n dispatch(workOrderRepairObject(draftRepair));\r\n dispatch(userCreatedNewRepair(draftRepair));\r\n const {\r\n id,\r\n premisesId,\r\n repairLocationId,\r\n repairLocation,\r\n repairReason,\r\n isSupplementary,\r\n isEmergency,\r\n isPotentialDuplicate,\r\n additionalInformation,\r\n isVandalism,\r\n repairCauseId,\r\n crimeReferenceNumber,\r\n isVulnerable,\r\n VulnerableResponseText,\r\n isCovidSelfIsolated,\r\n reporterContactDetails,\r\n premisesAddress,\r\n premisesUniqueReference,\r\n originalWorkOrderSorCode,\r\n } = draftRepair;\r\n\r\n // const area = props?.area != undefined ? props?.area : \"\";\r\n\r\n if (repairHistoryDataValue.RepairHistoryassocitaedAsset != null) { \r\n assetrResponse = await api.getAssetsByid(premisesId);\r\n eligibilityResponseObjectFromState = assetrResponse;\r\n dispatch(eligibilityResponseObject(assetrResponse));\r\n let maintsResp =\r\n assetrResponse?.maintenanceResponsibilities?.find(\r\n (resp: any) => resp.type === \"MAINTSRESP\"\r\n )?.value ?? \"\";\r\n let repairResp =\r\n assetrResponse?.maintenanceResponsibilities?.find(\r\n (resp: any) => resp.type === selectedReason[0]?.element\r\n )?.value ?? \"\";\r\n dispatch(userChosenPropertyId(assetrResponse.id));\r\n dispatch(getMaintResp(maintsResp));\r\n dispatch(getRepairResp(repairResp));\r\n }\r\n if (assetrResponse?.addresses?.postalAddresses[0].formattedAddress != null) {\r\n dispatch(userChosenPropertyAddress(assetrResponse?.addresses?.postalAddresses[0].formattedAddress));\r\n }\r\n \r\n dispatch(selectedTenacyType(area));\r\n \r\n const currWorkOrder = userRepairWorkOrderValue?.models?.filter(\r\n (eachWorkOrder: any) => {\r\n return eachWorkOrder.id === id;\r\n }\r\n );\r\n\r\n if (\r\n selectedReason[0]?.additionalData &&\r\n selectedReason[0]?.additionalData.length &&\r\n selectedReason[0]?.additionalData[0]?.description != \"\"\r\n ) {\r\n const resumeData = {\r\n resumeHLRepair: selectedReason[0]?.description,\r\n resumeHLSubQuestion: selectedReason[0]?.additionalData[0]?.description,\r\n resumeSelectedProperty: area,\r\n resumePriority: repairReasonPriorityIsUpdated ? priorityValue : draftRepair.priority,\r\n };\r\n dispatch(userResumeData(resumeData));\r\n } else {\r\n const resumeData = {\r\n resumeHLRepair: \"\",\r\n resumeHLSubQuestion: \"\",\r\n resumeSelectedProperty: area,\r\n resumePriority: repairReasonPriorityIsUpdated ? priorityValue : draftRepair.priority,\r\n };\r\n dispatch(userResumeData(resumeData));\r\n }\r\n \r\n \r\n if(selectedReason[0]?.priority == \"Emergency\") {\r\n dispatch(userChosenEmergencyQuestion(draftRepair.isEmergency ? t(\"Repair_Emergency_Radio1_Text\") : t(\"Repair_Emergency_Radio2_Text\")));\r\n }\r\n dispatch(userChosenDuplicateQuestion(draftRepair.isPotentialDuplicate == true ? t(\"duplicateNoneofTheAbove\") : \"\"));\r\n dispatch(userChosenPropertyId(premisesId));\r\n dispatch(userChosenPropertyType(area));\r\n dispatch(userChosenUPRN(premisesUniqueReference));\r\n dispatch(userChosenSOR(sorCodeUpdated));\r\n\r\n repairLocation &&\r\n dispatch(userChosenRepairLocation(repairLocation)) &&\r\n dispatch(userChosenRepairLocationId(repairLocationId));\r\n repairReason && dispatch(userChosenHighLevelDescription(repairReason));\r\n isSupplementary === true\r\n ? dispatch(userChosenSupplementaryQuestions(\"Yes\"))\r\n : isSupplementary === false\r\n ? dispatch(userChosenSupplementaryQuestions(\"No\"))\r\n : dispatch(userChosenSupplementaryQuestions(\"\"));\r\n additionalInformation &&\r\n dispatch(userChosenAdditionalDescription(t(additionalInformation))) &&\r\n dispatch(\r\n userChosenAdditionalDescriptionCOUNT(additionalInformation.length)\r\n );\r\n isVandalism\r\n ? dispatch(userChosenVandalismQuestion(\"Yes\")) &&\r\n dispatch(userChosenVandalismAdditionalInformation(crimeReferenceNumber))\r\n : dispatch(userChosenVandalismQuestion(\"No\"));\r\n isVulnerable\r\n ? dispatch(userChosenVulnerabilityQuestion(\"Yes\")) &&\r\n dispatch(\r\n userChosenVulnerabilityAdditionalInformation(VulnerableResponseText)\r\n )\r\n : dispatch(userChosenVulnerabilityQuestion(\"No\"));\r\n isCovidSelfIsolated === true\r\n ? dispatch(userChosenCovidQuestion(\"Yes\"))\r\n : isCovidSelfIsolated === false\r\n ? dispatch(userChosenCovidQuestion(\"No\"))\r\n : dispatch(userChosenCovidQuestion(\"\"));\r\n const resumeDraftDataCache = {\r\n repairLocation,\r\n repairLocationId,\r\n repairReason,\r\n supplementaryQuestions:\r\n isSupplementary === true\r\n ? \"Yes\"\r\n : isSupplementary === false\r\n ? \"No\"\r\n : \"\",\r\n emergencyQuestion: isEmergency && t(\"Repair_Emergency_Radio1_Text\"),\r\n additionalInformation,\r\n vandalismQuestion: isVandalism ? \"Yes\" : \"No\",\r\n crimeReferenceNumber: isVandalism ? crimeReferenceNumber : \"\",\r\n vulnerabilityQuestion: isVulnerable ? \"Yes\" : \"No\",\r\n\r\n vulnerableResponseText: isVulnerable ? VulnerableResponseText : \"\",\r\n covidQuestion:\r\n isCovidSelfIsolated === true\r\n ? \"Yes\"\r\n : isCovidSelfIsolated === false\r\n ? \"No\"\r\n : \"\",\r\n reporterContactDetails,\r\n };\r\n dispatch(userResumeDraftDataCache(resumeDraftDataCache)); \r\n\r\n if (!repairLocation || !repairReason) {\r\n props.history.push(\"/repairlocation\");\r\n }\r\n else if (repairReasonPriorityIsUpdated === true && priorityValue === RepairPriority.Emergency) {\r\n props.history.push(\"/repairemergency\");\r\n }\r\n\r\n // === Validating draft from media page ===\t\r\n else if (isComesFromMediaPage === true && featureMedia === \"true\") {\r\n props.history.push(\"/uploadmedia\");\r\n }\r\n else if (!additionalInformation && featureMedia === \"false\") {\r\n if (isSupplementary === null) {\r\n props.history.push(\"/supplementaryquestion\");\r\n\r\n } else if (isEmergency !== true && isEmergency !== false) {\r\n props.history.push(\"/repairemergency\");\r\n }\r\n else if (isPotentialDuplicate === true) {\r\n props.history.push(\"/repairadditionaldetails\");\r\n\r\n } else {\r\n props.history.push(\"/duplicaterepair\");\r\n }\r\n }\r\n\r\n else if (isVandalism === null && (eligibilityResponseObjectFromState?.statuses.isInDefects === true && vandalismConfigValue === true && featureMedia === \"false\")) {\r\n props.history.push(\"/vandalismquestion\");\r\n } else if (isVulnerable === null && featureMedia === \"false\") {\r\n props.history.push(\"/vulnerabilityquestion\");\r\n }\r\n else if (isVulnerable === true && VulnerableResponseText === null && featureMedia === \"false\") {\r\n props.history.push(\"/vulnerabilityquestion\");\r\n }\r\n else if (area === \"Property\" && isCovidSelfIsolated === null && covidConfigValue && featureMedia === \"false\") {\r\n props.history.push(\"/covidquestion\");\r\n }\r\n else if (reporterContactDetails != null && featureMedia === \"false\") {\r\n\r\n if (draftRepair.reporterContactDetails?.name?.trim()?.length === 0 || draftRepair.reporterContactDetails?.contactNumber?.trim()?.length === 0) {\r\n\r\n if (isCovidSelfIsolated === null && covidConfigValue) {\r\n draftRepair.reporterContactDetails.name = null;\r\n props.history.push(\"/covidquestion\");\r\n }\r\n else {\r\n draftRepair.reporterContactDetails.name = null;\r\n props.history.push(\"/customerdetails\");\r\n }\r\n }\r\n else {\r\n props.history.push(\"/confirmationdetails\");\r\n }\r\n }\r\n else if (draftRepair.reportedBy.trim().length <= 0 && featureMedia === \"false\") {\r\n props.history.push(\"/customerdetails\");\r\n }\r\n else if (featureMedia === \"false\") {\r\n if (draftRepair.reporterContactDetails != null) {\r\n const name = draftRepair.reporterContactDetails?.name?.trim();\r\n dispatch(\r\n userChosenContactPhone(\r\n draftRepair.reporterContactDetails.contactNumber\r\n )\r\n );\r\n dispatch(userChosenContactName(name));\r\n dispatch(userChosenRelationDetails(draftRepair.reportedBy));\r\n dispatch(\r\n userChosenContactDetails(\r\n \"I would like to provide number for this repair.\"\r\n )\r\n );\r\n } else {\r\n //dispatch(userChosenContactDetails(draftRepair.co));\r\n dispatch(userChosenRelationDetails(\"Customer\"));\r\n dispatch(\r\n userChosenContactPhone(\r\n customerResponse?.addresses?.telecomsAddresses?.[0].number\r\n )\r\n );\r\n dispatch(\r\n userChosenContactDetails(\r\n customerResponse?.addresses?.telecomsAddresses?.[0].number\r\n )\r\n );\r\n }\r\n props.history.push(\"/confirmationdetails\");\r\n } else {\r\n props.history.push(\"/uploadmedia\");\r\n }\r\n };\r\n\r\n const rescheduleAppointmentHandler = () => {\r\n if (errorCodeReschedule === \"CR166\") {\r\n setIsReScheduleModalShow(true);\r\n return;\r\n } else {\r\n setIsReScheduleModalShow(false);\r\n }\r\n if (isRescheduleShow === \"Block\") {\r\n setIsRescheduleShow(\"none\");\r\n }\r\n else {\r\n if (errorCodeReschedule === \"SSR071\" || errorCodeReschedule === \"SSR075\") {\r\n let message = t(errorCodeReschedule);\r\n message = message.replace(\"{0}\", contractorname);\r\n message = message.replace(\"{1}\", contractorphone);\r\n setRescheduleMessage(message);\r\n }\r\n else if (errorCodeReschedule === \"SSR070\") {\r\n const message = t(\"SSR070\");\r\n setRescheduleMessage(message);\r\n }\r\n else {\r\n if (!isNullOrUndefined(errorCodeReschedule)) {\r\n setIsRescheduleShow(\"Block\");\r\n return;\r\n }\r\n const historyData = CreateHistoryData(\"RescheduleAppointment\");\r\n dispatch(repairHistoryData(historyData));\r\n dispatch(userGetRepairData(draftRepair));\r\n props.history.push(\"/appointmentscheduler\");\r\n }\r\n setIsRescheduleShow(\"Block\");\r\n }\r\n }\r\n\r\n const CreateHistoryData = (operation: string) => {\r\n return {\r\n repairHistoryOperation: operation,\r\n repairHistoryWorkOrderID: repairHistoryDataValue.RepairHistoryworkOrderID,\r\n repairHistoryContractor: repairHistoryDataValue.RepairHistoryContractor,\r\n repairHistoryContractorSitesIdentifier: contractorSitesIdentifierValue\r\n };\r\n };\r\n\r\n const setCancelMessages = (error: string) => {\r\n if (error == \"SSR036\") {\r\n seterrorMessage(t(\"SSR036i\"))\r\n }\r\n else if (error == \"SSR066\") {\r\n seterrorMessage(t(\"SSR066ii\"))\r\n }\r\n else if (error == \"SSR008\") {\r\n seterrorMessage(t(\"SSR008ii\"))\r\n }\r\n }\r\n\r\n //#endregion\r\n\r\n\r\n useEffect(() => {\r\n (async () => {\r\n try {\r\n setIsLoading(true);\r\n\r\n //logic for buttons \r\n setupRepaiHistoryDetails(repairHistoryDataValue.repairHistoryWorkOrderID)\r\n dispatch(selectedWorkorderForMedia(repairHistoryDataValue.repairHistoryWorkOrderID));\r\n //end logic for buttons\r\n const allItems: any = [];\r\n const repairHistory: any = await api.getRepairHistories(\r\n repairHistoryDataValue.repairHistoryWorkOrderID);\r\n Promise.all([repairHistory]).then((results) => {\r\n setIsLoading(false);\r\n results.map((items) => {\r\n items.map((eachItem: any) => {\r\n const emergencyStatus =\r\n repairHistoryDataValue.repairHistoryPriority === \"Emergency\" ||\r\n repairHistoryDataValue.repairHistoryPriority ===\r\n \"Emergency (Out of hours)\"\r\n ? true\r\n : false;\r\n const appointmentDate =\r\n eachItem.appointmentStartDatetime\r\n ? moment(\r\n eachItem.appointmentStartDatetime\r\n ).format(\"MMMM Do YYYY, h:mm:ss A\")\r\n : \"\";\r\n\r\n let APCREATE01_Comment_Formatted = t(\"APCREATE01_Comment\");\r\n APCREATE01_Comment_Formatted = APCREATE01_Comment_Formatted.replace(\"{0}\", eachItem.appointmentStartDatetime ? moment(eachItem.appointmentStartDatetime).format(\"MMMM Do YYYY\") : \"\")\r\n .replace(\"{1}\", eachItem.appointmentStartDatetime ? moment(eachItem.appointmentStartDatetime).format(\"h:mm A\") : \"\")\r\n .replace(\"{2}\", eachItem.appointmentEndDatetime ? moment(eachItem.appointmentEndDatetime).format(\"h:mm A\") : \"\");\r\n\r\n const allItemsObj: any = {\r\n Unappointed: {\r\n statusTitle: t(\"Unappointed_Title\"),\r\n comments: emergencyStatus\r\n ? t(\"Unappointed_Comment_Emergency\")\r\n : t(\"Unappointed_Comment\"),\r\n },\r\n Appointed: {\r\n statusTitle: t(\"Appointed_Title\"),\r\n comments: `${t(\"Appointed_Comment\")} ${appointmentDate}`,\r\n },\r\n APCREATE01: {\r\n statusTitle: t(\"APCREATE01_Title\"),\r\n comments: `${APCREATE01_Comment_Formatted}`,\r\n },\r\n APCREATE10: {\r\n statusTitle: t(\"APCREATE10_Title\"),\r\n comments: `${t(\"APCREATE10_Comment1\")}`,\r\n },\r\n AUPDATE01: {\r\n statusTitle: t(\"AUPDATE01_Title\"),\r\n comments: `${t(\"AUPDATE01_Comment1\")} ${appointmentDate}. ${t(\r\n \"AUPDATE01_Comment2\"\r\n )}`,\r\n },\r\n AUPDATE02: {\r\n statusTitle: t(\"AUPDATE02_Title\"),\r\n comments: `${t(\"AUPDATE02_Comment1\")} ${appointmentDate}. ${t(\r\n \"AUPDATE02_Comment2\"\r\n )}`,\r\n },\r\n AUPDATE03: {\r\n statusTitle: t(\"AUPDATE03_Title\"),\r\n comments: `${t(\"AUPDATE03_Comment1\")} ${appointmentDate}. ${t(\r\n \"AUPDATE03_Comment2\"\r\n )}`,\r\n },\r\n AUPDATE05: {\r\n statusTitle: t(\"AUPDATE05_Title\"),\r\n comments: `${t(\"AUPDATE05_Comment1\")} ${appointmentDate}. ${t(\r\n \"AUPDATE05_Comment2\"\r\n )}`,\r\n },\r\n AUPDATE06: {\r\n statusTitle: t(\"AUPDATE06_Title\"),\r\n comments: `${t(\"AUPDATE06_Comment1\")} ${appointmentDate}. ${t(\r\n \"AUPDATE06_Comment2\"\r\n )}`,\r\n },\r\n AUPDATE07: {\r\n statusTitle: t(\"AUPDATE07_Title\"),\r\n comments: `${t(\"AUPDATE07_Comment1\")} ${appointmentDate}. ${t(\r\n \"AUPDATE07_Comment2\"\r\n )}`,\r\n },\r\n NOACCESS: {\r\n statusTitle: t(\"NOACCESS_Title\"),\r\n comments: t(\"NOACCESS_Comment\"),\r\n },\r\n ENGOS01: {\r\n statusTitle: t(\"ENGOS01_Title\"),\r\n comments: t(\"ENGOS01_Comment\"),\r\n },\r\n ENGOS03: {\r\n statusTitle: t(\"ENGOS03_Title\"),\r\n comments: t(\"ENGOS03_Comment\"),\r\n },\r\n NOACC01: {\r\n statusTitle: t(\"NOACC01_Title\"),\r\n comments: t(\"NOACC01_Comment\"),\r\n },\r\n ENGOS05: {\r\n statusTitle: t(\"ENGOS05_Title\"),\r\n comments: t(\"ENGOS05_Comment\"),\r\n },\r\n ENGOS06: {\r\n statusTitle: t(\"ENGOS06_Title\"),\r\n comments: t(\"ENGOS06_Comment\"),\r\n },\r\n ENGOS07: {\r\n statusTitle: t(\"ENGOS07_Title\"),\r\n comments: t(\"ENGOS07_Comment\"),\r\n },\r\n Completed: {\r\n statusTitle: t(\"Completed_Title\"),\r\n comments: t(\"Completed_Comment\"),\r\n },\r\n Cancelled: {\r\n statusTitle: t(\"Cancelled_Title\"),\r\n comments: t(\"Cancelled_Comment\"),\r\n },\r\n };\r\n\r\n const itemObject = {\r\n statusTitle:\r\n allItemsObj[eachItem.identifier]?.statusTitle || \"\",\r\n comments: allItemsObj[eachItem.identifier]?.comments || \"\",\r\n createDateTime: eachItem.createDateTime,\r\n };\r\n if (eachItem.subType !== \"WorkOrder\") {\r\n allItems.push(itemObject);\r\n }\r\n });\r\n const filteredItems = allItems.filter(\r\n (item: any) => item.statusTitle !== \"\"\r\n );\r\n\r\n const repairStatus = repairHistoryDataValue.RepairHistorystatus === RepairStatusField.ReportedToEMA ? t(\"ReportedToEMA_Title\"): filteredItems?.length > 0 ? filteredItems[0]?.statusTitle : \"Draft\";\r\n setMostRecentStatus(repairHistoryDataValue.RepairHistorystatus === 'On Hold' ? 'On Hold' :\r\n repairStatus);\r\n setMostRecentStatusClass(\r\n filteredItems[0]?.statusTitle === \"Repair cancelled\" ? \"status-style-red\" :\r\n filteredItems[0]?.statusTitle === \"Repair completed\" ? \"status-style-green\" :\r\n \"status-style-yellow\"\r\n )\r\n setmostRecentStatusMobileClass(\r\n filteredItems[0]?.statusTitle === \"Repair cancelled\" ? \"mobile-repaircreate-red\" :\r\n filteredItems[0]?.statusTitle === \"Repair completed\" ? \"mobile-repaircreate-green\" :\r\n \"mobile-repaircreate-yellow\"\r\n )\r\n setRepairHistoryDetails(filteredItems);\r\n });\r\n });\r\n\r\n //set media section data\r\n\r\n } catch (e) {\r\n console.log(e);\r\n props.history.push(\"/genericerror\");\r\n }\r\n })();\r\n }, []);\r\n\r\n const setContractorName = () => {\r\n let contractorName = \"\"\r\n if (repairHistoryDataValue.RepairHistoryContractor) {\r\n contractorName = repairHistoryDataValue.RepairHistoryContractor\r\n }\r\n else if (repairHistoryDataValue.RepairHistoryrepairReference && !repairHistoryDataValue.RepairHistoryContractor) {\r\n contractorName = t(\"contractor_unknown\")\r\n }\r\n else {\r\n contractorName = \"-\"\r\n }\r\n return contractorName\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n
    \r\n\r\n {/* buttons section */}\r\n \r\n {repairHistoryDataValue.RepairHistorystatus === \"In Diagnosis\" ? (\r\n \r\n {t(\"Resume_repair\")}\r\n \r\n ) : (\r\n <>\r\n \r\n \r\n\r\n \r\n {t(\"Select_Appointment\")}\r\n \r\n \r\n \r\n {t(\"Reschedule_Appointment\")}\r\n \r\n \r\n )}\r\n
    \r\n\r\n\r\n
    \r\n

    \r\n \r\n \r\n \"Filter\"\r\n \"Filter\"\r\n \r\n \r\n {repairHistoryDataValue.RepairHistoryrepairReference}\r\n

    \r\n\r\n \r\n {repairHistoryDataValue.RepairHistorystatus === \"In Diagnosis\" ? \"Draft\" : mostRecentStatus}\r\n \r\n\r\n
    \r\n\r\n {/* buttons section */}\r\n \r\n {repairHistoryDataValue.RepairHistorystatus === \"In Diagnosis\" ? (\r\n \r\n {t(\"Resume_repair\")}\r\n \r\n ) : (\r\n <>\r\n\r\n \r\n\r\n \r\n {t(\"Select_Appointment\")}\r\n \r\n \r\n \r\n\r\n \r\n {t(\"Reschedule_Appointment\")}\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n\r\n
    \r\n {isReScheduleModal && (\r\n \r\n )}\r\n\r\n {\r\n repairHistoryDataValue.RepairHistoryContractor === 'ContractorSiteOnHold' &&\r\n (\r\n

    \r\n \r\n {t('onHoldRepairHistoryDetailsMessage')}\r\n \r\n

    \r\n )\r\n }\r\n\r\n \r\n {isSelectAppointmentChosen && woHadDemobilizedContractorSite && (

    \r\n \r\n

    {t(\"please_contact\")} {contractorDetails?.name} {t(\"on_phone\")} {contractorContactNumber} {t(\"book_appointment\")}
    \r\n \r\n

    )\r\n }\r\n \r\n {\r\n errorMessage != \"\" && errorCode != \"\" && (\r\n

    \r\n \r\n {errorMessage}\r\n \r\n\r\n

    )\r\n\r\n }\r\n\r\n
    \r\n

    \r\n \r\n {rescheduleMessage}\r\n \r\n

    \r\n
    \r\n\r\n
    \r\n
    {t(\"historic_repairs_description\")}
    \r\n

    {repairHistoryDataValue.RepairHistoryDescription}

    \r\n
    {t(\"historic_repairs_dates\")}
    \r\n

    {repairHistoryDataValue.RepairHistoryRaisedDate}

    \r\n\r\n
    {t(\"historic_repairs_area\")}
    \r\n

    {repairHistoryDataValue.RepairHistoryarea}

    \r\n
    \r\n
    \r\n
    {t(\"historic_repairs_appointment\")}\r\n
    \r\n
    {t(\"historic_repairs_appointment\")}
    \r\n

    \r\n {(appointmentStartDate?.length >0) ? moment(appointmentStartDate).format('DD-MM-YYYY, h.mma') : \"-\"}\r\n

    \r\n \r\n
    {t(\"historic_repairs_priority\")}
    \r\n

    {repairHistoryDataValue.RepairHistoryPriority}

    \r\n
    {t(\"historic_repairs_contractor\")}
    \r\n

    {setContractorName()}

    \r\n\r\n\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n {t(\"History\")}\r\n
    \r\n {isLoading ? (\r\n \r\n ) : !repairHistoryDetails?.length || !mostRecentStatus ? (\r\n

    {t(\"repairs_history_no_results\")}

    \r\n ) : (\r\n

    \r\n \r\n {t(\"SSR072\")}\r\n \r\n\r\n

    \r\n )}\r\n {\r\n repairHistoryDetails.map(\r\n (eachRepairUpdate: RepairHistory, key: any) => {\r\n return (\r\n
    \r\n
    {eachRepairUpdate.statusTitle}
    \r\n

    {eachRepairUpdate.comments}

    \r\n

    \r\n {moment(eachRepairUpdate.createDateTime).format(\r\n \"MMMM Do YYYY, h:mm:ss A\"\r\n )}\r\n

    \r\n
    \r\n );\r\n }\r\n )\r\n\r\n }\r\n
    \r\n {isMedia && communalToggle === \"true\" && (\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n )}\r\n\r\n {isMedia &&\r\n communalToggle === \"false\" &&\r\n _customerId === mediaOwner && (\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 RepairHistoryDetails;\r\n","import { RescheduleAppointmentModel } from '../../models/RescheduleAppointment'\nimport { isUndefinedNullOrEmpty } from '../../utils/translation/helper'\nimport { ApiError } from '../ApiError'\nimport { createBrowserHistory } from \"history\";\nexport class CreateAppointmentParams {\n \n public reasonCode: string = ''\n public remarks: string = '' \n public jobNumber: string = '' \n public diaryCode: string = '';\n public appointmentFromDate: Date = new Date()\n public appointmentToDate: Date = new Date()\n public externalCreateDateTime: Date = new Date()\n public isPreferences: boolean = false\n public externalReferenceId: string = ''\n public availabilityType: string = '' \n public isInsideSla: boolean = false\n public metadata: any[] = []\n}\n\nconst history = createBrowserHistory();\nconst appointmentBaseUrl = process.env.REACT_APP_APPOINTMENT_BASE_URL || ''\nconst apimBaseUrl = process.env.REACT_APP_ADDRESSAPI_BASE_URL || '';\nconst ergoApiBaseUrl = process.env.REACT_APP_ERGOAPI_BASE_URL || '';\nconst apimKey = process.env.REACT_APP_APIM_KEY;\nconst origin = process.env.REACT_APP_WEB_APP_HOSTNAME;\nconst forwarded_for = process.env.REACT_APP_X_FORWARDED_FOR;\nconst channel_identifier = process.env.REACT_APP_X_CHANNEL_IDENTIFIER;\nconst agent_identifier = process.env.REACT_APP_X_AGENT_IDENTIFIER;\nconst if_match = process.env.REACT_APP_IF_MATCH;\nconst cache_control = process.env.REACT_APP_CACHE_CONTROL;\n\nconst request = (method: string) => (basePath: string) => async (\n path?: string,\n data?: object,\n metadata?: any\n) => {\n const _channel = localStorage.getItem(\"channel\") || \"\";\n const _customerId = localStorage.getItem(\"customerId\") || \"\";\n const _corelationId = localStorage.getItem(\"corelationId\") || \"\";\n const _sessionId = localStorage.getItem(\"sessionId\") || \"\";\n const opt: any = {\n method,\n headers: {\n Authorization: \"\",\n \"Ocp-Apim-Subscription-Key\": apimKey,\n Origin: origin,\n \"Cache-Control\": cache_control,\n \"if-Match\": metadata?.eTag || if_match, \n \"x-channel-identifier\": !isUndefinedNullOrEmpty(_channel)\n ? _channel\n : channel_identifier,\n \"X-Correlation-Identifier\": _corelationId,\n \"x-session-identifier\": _sessionId,\n \"x-agent-identifier\": !isUndefinedNullOrEmpty(_customerId)\n ? _customerId\n : agent_identifier,\n \"x-forwarded-for\": forwarded_for, \n OperationGroupKey: metadata?.operationKey,\n ...(data && {\n 'Content-Type': 'application/json',\n }),\n },\n ...(data && { body: JSON.stringify(data) }),\n }\n\n return fetch(`${basePath}${path}`, opt).then(\n async res => {\n const response = await res.json().catch(() => null)\n if (res.status === 401) {\n window.sessionStorage.clear();\n window.localStorage.clear()\n window.location.assign(window.location.origin)\n throw new ApiError({ status: res.status })\n } \n \n if (!res.ok) {\n if (res.status === 412) {\n return { status: res.status , title : res.statusText }\n }\n //need to handle in case of 404\n if (opt.method === \"GET\" ) {\n //handle 404 scenario \n return {statusCode: res.status};\n }\n else if ((opt.method === \"POST\" || opt.method === \"PATCH\") && res.status === 500) {\n //handle scenario on UI\n }\n else {\n window.localStorage.clear();\n window.location.assign(window.location.origin);\n history.push(\"/genericerror\");\n window.location.reload();\n }\n }\n if (!data) {\n // If it's not post, we inject the eTag that used to come as a part of the body, in the response.\n const eTagInHeader = res.headers.get('eTag')\n if (eTagInHeader) {\n return { ...response, eTag: eTagInHeader }\n }\n }\n return response\n },\n err => {\n throw new ApiError({ status: err.status, title: err.statusText })\n }\n )\n}\n\nexport const post = request('POST')\nexport const get = request('GET')\nexport const patch = request(\"PATCH\");\n\nexport const postAppointment = (workorderid : string,params: CreateAppointmentParams, operationKey: string, contractorName: string) =>\n post(apimBaseUrl)(\n `/customerselfserve/api/v1/works-orders/${workorderid}/appointments?contractorName=${contractorName}`,\n params,\n {\n operationKey,\n }\n )\n\nexport const getAvailabilityForAppointment = (workorderid : string, referenceNumber: string, operationKey: string ,contractorName: string, isExternalWorkorderRequired: boolean) =>\n get(\n apimBaseUrl\n )(\n `/customerselfserve/api/v1/works-orders/${workorderid}/appointments/availability?referenceNumber=${referenceNumber}&IsExternalWorkOrderRequired=${isExternalWorkorderRequired}&contractorName=${contractorName}`,\n undefined,\n { operationKey }\n )\n\n export const patchAppointment = (workorderid : string,params: RescheduleAppointmentModel) =>\n patch(ergoApiBaseUrl)(\n `/customerselfserve/api/v1/works-orders/${workorderid}/appointments`,\n params\n )","import ReactGA from 'react-ga4'\t \n\t\t \nconst ga4_tracking_id = process.env.REACT_APP_GA4_TRACKING_ID ?? ''; \n\nexport const googleAnalyticsTracking = (uid:any) => {\n ReactGA.initialize([\n {\n trackingId: ga4_tracking_id,\n gaOptions: {name: 'tracker1',\n userId: uid}, \n },\n {\n trackingId: ga4_tracking_id,\n },\n ]);\n ReactGA.set({ userId: uid });\n ReactGA.send({ hitType: \"pageview\", page: window.location.pathname});\n\n };\n\n ","import \"./index.scss\";\nimport React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Loader from \"react-loader-spinner\";\nimport { useHistory } from \"react-router-dom\";\nimport Button from \"../../Button/Button\";\nimport * as api from \"../../api\";\nimport { uuid } from \"uuidv4\";\nimport {\n CreateAppointmentParams,\n getAvailabilityForAppointment,\n patchAppointment,\n postAppointment,\n} from \"../../api/appointmentApi\";\nimport { RawAvailablity } from \"../../models/Appointment\";\nimport {\n getContractorName,\n getPrefferenceNumber,\n getReferenceNumber,\n saveAvailabilityResponse,\n} from \"../../ducks/redux/actions/getAddress\";\nimport { isNullOrUndefined } from \"../../utils/formatting\";\nimport { showMenuTabs, userChosenPropertyType, showFooter, setWorkOrderApiFailureMessage } from \"../../ducks/redux/actions/userChoices\";\nimport moment from \"moment\";\nimport { RescheduleAppointmentModel } from \"../../models/RescheduleAppointment\";\nimport ExitModal from \"../Modal/ExitModal\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\"\nimport PageHeader from \"../../storybook/PageHeader/PageHeader\";\nimport Message from \"../../storybook/Message\";\nimport BackModal from \"../Modal/BackModal\";\nimport { googleAnalyticsTracking } from \"../../utils/Analytics\";\nimport Modal from \"../Modal\";\nimport { saveSelectedSlotDate, setTriageRepair, comingFromRepairJourneySuccess } from \"../../ducks/redux/actions/FinancialReferral\";\nimport { CurrentRepair } from \"../../models/Repair/Repair\";\n\n\nconst AppointmentScheduler: React.FC = (props) => {\n const dispatch = useDispatch();\n const range = 5;\n const [track, setTrack] = useState(0);\n const [error, setError] = useState(\"\");\n const [selectedSlot, setSelectedSlot] = React.useState(null);\n const history = useHistory();\n const [schedules, setSchedules] = useState({\n availabilities: null,\n });\n const [buttondisable, setButtonDisable] = React.useState(true);\n const [isRescheduleAppointment, setIsRescheduleAppointment] = React.useState(false);\n const [existingRescheduleMessage, setExistingRescheduleMessage] = React.useState(\"\");\n const [isRescheduleApiDown, setErrorForRescheduleApiDown] = React.useState(false);\n const [errorMessage, setErrorMessage] = React.useState(\"\");\n const [popup, setPopup] = useState(false)\n const availabilityData = useSelector(\n (state: any) => state.addresses?.contractorAvailabilityResponse\n );\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const isPreferenceAppointment = useSelector(\n (state: any) => state.addresses?.preferenceno\n );\n const referenceNumberCode = useSelector(\n (state: any) => state.addresses?.referenceno\n );\n const workOrderObject = useSelector(\n (state: any) => state?.addresses?.workOrderRepair\n );\n const repairHistoryData = useSelector(\n (state: any) => state.historicRepairReducer?.repairHistoryData\n );\n const determinedcontractordetails = useSelector(\n (state: any) => state.addresses?.determinedcontractordetails\n );\n const phone = useSelector(\n (state: any) => state.userChoicesReducer?.userChosenContactPhone\n );\n const name = useSelector(\n (state: any) => state.userChoicesReducer?.userChosenContactName\n );\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n\n const userGetRepairDataValue = useSelector(\n (state: any) => state?.userChoicesReducer?.userGetRepairData\n );\n\n const externalContractorNames = [\"Gilmartins\", \"Axis\"]\n useEffect(() => {\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n dispatch(getPrefferenceNumber(true));\n GetAppointmentAvailability();\n googleAnalyticsTracking(customerID);\n }, []);\n const [calendarSelect, setCalendarSelect]: any = useState([[]]\n\n );\n const [markSelectedSlot, setMarkSelectedSlot]: any = useState({\n objects: [[{ id: 0 }, { id: 1 }, { id: 2 }, { id: 3 }],\n [{ id: 0 }, { id: 1 }, { id: 2 }, { id: 3 }],\n [{ id: 0 }, { id: 1 }, { id: 2 }, { id: 3 }],\n [{ id: 0 }, { id: 1 }, { id: 2 }, { id: 3 }],\n [{ id: 0 }, { id: 1 }, { id: 2 }, { id: 3 }]]\n })\n\n useEffect(() => {\n setSchedules({\n availabilities: availabilityData,\n });\n }, [availabilityData]);\n\n\n const tableActive = (dateIndex: any, scheduleIndex: any, data: any) => {\n for (let i = 0; i <= 4; i++) {\n for (let j = 0; j < 5; j++) {\n if (i == dateIndex && j == scheduleIndex) {\n setCalendarSelect(markSelectedSlot.objects[dateIndex][scheduleIndex]);\n }\n }\n }\n }\n const calBackground = (dateIndex: number, scheduleIndex: number) => {\n if (markSelectedSlot.objects[dateIndex][scheduleIndex] == calendarSelect) {\n return \"click-calander sc-sched-slots cal-btn color-new error-span-remove\";\n }\n else {\n return \"sc-sched-slots cal-btn color-new error-span-remove\"\n }\n }\n const changeRange = (back: boolean) => {\n setCalendarSelect(null);\n const maxLength = schedules.availabilities[0].slots.length;\n if (back) {\n const nextTrack = track - range;\n nextTrack < 0 ? setTrack(0) : setTrack(nextTrack);\n } else {\n const nextTrack = track + range;\n if (nextTrack <= maxLength) setTrack(nextTrack);\n }\n };\n\n const [isLoading, setIsLoading] = React.useState(true);\n const [isNextLoading, setIsNextLoading] = useState(false);\n const { t } = useTranslation();\n\n const msgError = t(\"SSR062\");\n\n\n\n\n const callPageHandler = () => {\n if (\n typeof selectedSlot === \"undefined\" ||\n selectedSlot === null ||\n selectedSlot === \"\"\n ) {\n setError(msgError);\n }\n else {\n createAppointmentonFinalStep();\n }\n };\n\n const callReturnToRepairPageHandler = () => {\n props.history.push(\"/historicRepairs\");\n };\n const callNextHandler = () => {\n setPopup(true)\n };\n\n\n interface GetAvailabilityData {\n availabilities: RawAvailablity[];\n isPreferences: boolean;\n hasSlaAvailability: boolean;\n earliestAvailabilityType: string;\n title: string;\n statusCode: number;\n }\n\n let referenceNumber = \"\";\n let operationKey = \"\";\n let workOrderId = \"\";\n\n const getNotesCreationPayload = () => {\n const notesCreationPayload = {\n noteTypeId: t(\"Other_note_value\"),\n text: t(\"note_description\"),\n };\n return notesCreationPayload;\n };\n\n function AddNote(getNotesCreationPayload: () => { noteTypeId: string; text: string; }, jobNumber: string) {\n const createdNotesPayload = getNotesCreationPayload();\n const [serialNumber, sequenceNumber] = jobNumber.split(\"/\");\n const createNote = api.postNoteForWorkorder(\n serialNumber,\n sequenceNumber,\n createdNotesPayload\n );\n }\n\n const GetAppointmentAvailability = async () => {\n setIsLoading(true);\n const appointmentTimeoutValue = process.env.REACT_APP_GETAPPOINTMENT_TIMEOUT;\n const noOftimeOutForAppointment = Number(appointmentTimeoutValue);\n let workOrderRepair = new CurrentRepair();\n try {\n workOrderId = repairHistoryData?.repairHistoryWorkOrderID ?? workOrderObject?.id;\n\n if (repairHistoryData.RepairHistoryContractor !== undefined) { dispatch(getContractorName(repairHistoryData.RepairHistoryContractor)) }\n\n if (!isNullOrUndefined(userGetRepairDataValue)) {\n workOrderRepair = userGetRepairDataValue;\n }\n dispatch(userChosenPropertyType(workOrderRepair.area));\n referenceNumber = workOrderRepair?.jobNo;\n operationKey = uuid();\n try {\n let isFlowCompleted = false\n let getAvalResponse: any = null;\n \n getAvailabilityForAppointment(\n workOrderId,\n referenceNumber,\n operationKey,\n determinedcontractordetails?.name,\n determinedcontractordetails?.isExternalWorkorderRequired\n ).then((payload: GetAvailabilityData) => {\n if (!isFlowCompleted) {\n const data = payload?.availabilities;\n isFlowCompleted = true;\n getAvalResponse = data;\n const dataIsPreference = payload?.isPreferences;\n let statusCode = payload?.statusCode;\n if (!isNullOrUndefined(repairHistoryData) && repairHistoryData?.repairHistoryOperation === \"RescheduleAppointment\") {\n setIsRescheduleAppointment(true);\n const appointmentStartTime = moment(userGetRepairDataValue.appointmentStartDate).format('HH:mm')\n const appointmentEndTime = data.find(x => x.availabilityDetails.start === appointmentStartTime)?.availabilityDetails.end;\n const appointmentSlotType = data.find(x => x.availabilityDetails.start === appointmentStartTime)?.availabilityDetails.availabilityTypeLabel;\n const appointmentDay = moment(userGetRepairDataValue.appointmentStartDate).format(\"dddd Do MMMM\");\n setExistingRescheduleMessage(t(\"Existing_Appointment_Message\") + `${appointmentDay}, ${moment(appointmentStartTime, 'hh:mm a').format('hh:mm a')} to ${moment(appointmentEndTime, 'hh:mm a').format('hh:mm a')}`);\n }\n\n dispatch(saveAvailabilityResponse(data));\n dispatch(getReferenceNumber(referenceNumber));\n dispatch(getPrefferenceNumber(dataIsPreference));\n\n if (data != undefined && data?.length > 0) {\n isFlowCompleted = true;\n setIsLoading(false);\n setButtonDisable(false);\n dispatch(setWorkOrderApiFailureMessage(false));\n dispatch(comingFromRepairJourneySuccess(true));\n props.history.push(\"/appointmentscheduler\");\n return;\n } else if (statusCode != 200) {\n isFlowCompleted = true;\n AddNote(getNotesCreationPayload, referenceNumber)\n setIsLoading(false);\n setButtonDisable(false);\n dispatch(setTriageRepair(false));\n dispatch(setWorkOrderApiFailureMessage(false));\n dispatch(comingFromRepairJourneySuccess(true));\n props.history.push(\"/customer360View\");\n }\n }\n })\n const timerId = setTimeout(() => {\n if (!getAvalResponse && !isFlowCompleted) {\n isFlowCompleted = true;\n setIsLoading(false);\n AddNote(getNotesCreationPayload, referenceNumber);\n dispatch(setTriageRepair(false));\n props.history.push(\"/customer360View\");\n return;\n }\n }, noOftimeOutForAppointment);\n\n return () => clearTimeout(timerId)\n }\n catch (e) {\n console.log(\"no appointment\", e);\n setIsLoading(false);\n dispatch(setTriageRepair(false));\n props.history.push(\"/customer360View\");\n }\n }\n catch {\n setIsLoading(false);\n setButtonDisable(false);\n dispatch(setTriageRepair(false));\n props.history.push(\"/customer360View\");\n }\n };\n\n\n const tConv24 = (time24: string) => {\n let ts = time24;\n let H = +ts.substr(0, 2);\n let h: any = H % 12 || 12;\n h = h < 10 ? +h : h;\n let ampm = H < 12 ? \"AM\" : \"PM\";\n ts = h + ampm;\n return ts;\n };\n const createAppointmentonFinalStep = async () => {\n if (!isNullOrUndefined(repairHistoryData) && repairHistoryData?.repairHistoryOperation === \"RescheduleAppointment\") {\n const rescheduleAppointmentParam: RescheduleAppointmentModel = {\n status: \"RESCHEDULE\",\n reasonCode: \"RESCHEDULE_APPOINTMENT\",\n remarks: \"\",\n isPreferred: isPreferenceAppointment,\n jobNumber: referenceNumberCode,\n appointmentFromDate: selectedSlot.date,\n appointmentToDate: selectedSlot.date,\n externalCreateDateTime: selectedSlot.date,\n availabilityType: selectedSlot.availabilityType,\n isInsideSla: selectedSlot.insideSla,\n contractorSiteCode: repairHistoryData.repairHistoryContractorSitesIdentifier\n }\n setIsRescheduleAppointment(true);\n setErrorForRescheduleApiDown(false)\n setIsNextLoading(true);\n setButtonDisable(true);\n if (!isNullOrUndefined(repairHistoryData) && repairHistoryData?.repairHistoryWorkOrderID != undefined) {\n workOrderId = repairHistoryData.repairHistoryWorkOrderID;\n }\n else if (!isNullOrUndefined(workOrderObject)) {\n workOrderId = workOrderObject.id;\n }\n try {\n const result = await patchAppointment(\n workOrderId,\n rescheduleAppointmentParam\n );\n\n if (result && !result.appointmentId) {\n setErrorForRescheduleApiDown(true)\n setErrorMessage(t(\"Reschedule_ApiFailError\"))\n if (result?.status === 412) {\n let message = t(\"SSR071\");\n message = message.replace(\"{0}\", name).replace(\"{1}\", phone);\n setErrorMessage(message);\n }\n }\n else {\n setErrorForRescheduleApiDown(false)\n dispatch(saveSelectedSlotDate(selectedSlot));\n dispatch(setTriageRepair(false));\n history.push(\"/customer360View\");\n setIsNextLoading(false);\n setButtonDisable(false);\n }\n } catch (e) {\n console.log(\"Reschedule Appointment\", e);\n const timerId = setTimeout(() => {\n props.history.push(\"/genericerror\");\n }, 1000);\n }\n } else {\n const createAppointmentParams: CreateAppointmentParams = {\n isPreferences: isPreferenceAppointment,\n jobNumber: referenceNumberCode,\n diaryCode: selectedSlot.availabilityType,\n appointmentFromDate: selectedSlot.date,\n availabilityType: selectedSlot.availabilityType,\n isInsideSla: selectedSlot.insideSla,\n reasonCode: \"NEW_APPOINTMENT\",\n remarks: \"\",\n appointmentToDate: selectedSlot.date,\n externalCreateDateTime: selectedSlot.date,\n externalReferenceId: \"\",\n metadata: selectedSlot.metadata\n };\n setIsNextLoading(true);\n setButtonDisable(true);\n if (!isNullOrUndefined(repairHistoryData) && repairHistoryData?.repairHistoryWorkOrderID != undefined) {\n workOrderId = repairHistoryData.repairHistoryWorkOrderID;\n }\n else if (!isNullOrUndefined(workOrderObject)) {\n workOrderId = workOrderObject.id;\n }\n try {\n \n const result = await postAppointment(\n workOrderId,\n createAppointmentParams,\n operationKey,\n determinedcontractordetails?.name\n );\n\n if (result?.statusCode != 500) {\n dispatch(saveSelectedSlotDate(selectedSlot));\n dispatch(setTriageRepair(false));\n history.push(\"/customer360View\");\n setIsNextLoading(false);\n setButtonDisable(false);\n }\n else {\n const timerId = setTimeout(() => {\n history.push(\"/genericerror\");\n }, 1000);\n }\n\n } catch (e) {\n console.log(\"createAppointment\", e);\n const timerId = setTimeout(() => {\n props.history.push(\"/genericerror\");\n }, 1000);\n }\n }\n };\n\n const exitButtonHandler = () => {\n if (isUndefinedNullOrEmpty(loggedInStatus)) {\n props.history.push(\"/startpage\")\n }\n else {\n props.history.push(\"/customer360View\")\n }\n };\n return (\n <>\n \n
    \n {isRescheduleApiDown ? (\n <>\n
    \n\n
    \n
    \n \n {errorMessage}\n \n\n \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n \n ) : (\n
    \n
    \n {isRescheduleAppointment ? t(\"Reschedule_Appointment_Heading\") : !isPreferenceAppointment ? t(\"Scheduler_Heading\") : t(\"SSR062\")}\n
    \n\n {error && (\n \n {error}\n \n )}\n\n {isLoading ? (\n
    \n \n
    {t(\"SSR061\")}
    \n
    \n ) : (\n
    \n
    \n
    {isRescheduleAppointment ? existingRescheduleMessage : (!isPreferenceAppointment ? t(\"Pick_Time_Slot\") : t(\"Pick_Slot_Prefference\"))}
    \n
    \n {schedules.availabilities && (\n
    \n
    \n
    \n {track === 0 ? (\n \n ) : (\n changeRange(true)}\n >\n \n {t(\"Previous\")}\n \n )}\n
    \n
    \n {track + range > schedules.availabilities[0].slots.length ? (\n \n ) : (\n changeRange(false)}\n >\n {t(\"Next\")}\n \n \n )}\n
    \n
    \n
    \n\n {schedules.availabilities[0].slots.slice(track, track + range,)\n .map(({ date, insideSla, metadata }: any, dateIndex: any) => {\n const dateInfo = new Date(date);\n const day = ('0' + dateInfo.getDate()).slice(-2);\n const month = new Intl.DateTimeFormat('en', { month: 'short' }).format(dateInfo);\n const year = ('' + dateInfo.getFullYear()).slice(-2);\n const formattedDate = `${day} ${month} ${year}`;\n return (\n
    \n
    \n

    \n {formattedDate}\n

    \n
    \n
    \n {schedules.availabilities.map(\n (\n {\n availabilityDetails: {\n start,\n end,\n availabilityTypeLabel,\n availabilityType,\n },\n }: any,\n scheduleIndex: any\n ) => {\n return schedules.availabilities[scheduleIndex]\n .slots[track + dateIndex].capacity ==\n \"Not Available\" ? (\n
    \n -\n
    \n ) : (\n {\n setError(\"\");\n setSelectedSlot({\n start,\n end,\n availabilityTypeLabel,\n date,\n insideSla,\n availabilityType,\n metadata: schedules.availabilities[scheduleIndex].slots[track + dateIndex].metadata\n });\n tableActive(dateIndex, scheduleIndex, \"setSelectedSlot\" + dateIndex + scheduleIndex);\n }} className={calBackground(dateIndex, scheduleIndex)}\n data-testid={`setSelectedSlot` + dateIndex + scheduleIndex}\n >\n

    {`${tConv24(\n start\n )} - ${tConv24(end)}`}

    \n \n );\n }\n )}\n
    \n
    \n );\n })}\n
    \n
    \n )}\n
    \n )}\n\n
    \n
    \n {isRescheduleAppointment && (\n \n {t(\"return_to_repair_button\")}\n \n\n )}\n {!isRescheduleAppointment && !isPreferenceAppointment && (\n \n {t(\"No_Suitable_Appointment\")}\n \n )}\n
    \n
    \n \n {t(\"Book_Appointment\")}\n \n
    \n
    \n
    \n \n {isNextLoading ? (\n
    \n \n
    \n ) : (\n
    \n )}\n
    \n
    \n\n
    \n )}\n \n \n
    \n setPopup(false)}\n onKeyPress={() => setPopup(false)}\n >\n

    X

    \n
    \n

    {t(\"SSR023\")}

    \n

    \n {t(\"suitable_appointment\")}\n

    \n\n
    \n
    \n setPopup(false)}\n className=\"secondary-ghost-btn\"\n >\n {t(\"Check_Appointments_Button\")}\n \n
    \n
    \n { dispatch(setTriageRepair(false)); props.history.push(\"/customer360View\") }}\n className=\"primary-btn\"\n >\n {t(\"continuen_button\")}\n \n
    \n\n
    \n\n \n
    \n \n );\n};\nexport default AppointmentScheduler;","\nimport React from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport Message from \"../../storybook/Message\";\nimport Button from \"../../Button/Button\";\nimport \"../../assets/css/custom.scss\"\nimport \"./index.css\";\n\n\nconst GenericError: React.FC = (props) => {\n const isError = useSelector(\n (state: any) => state?.userChoicesReducer?.userIsError\n );\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n\n const exitButtonHandler = () => { \n if (isUndefinedNullOrEmpty(loggedInStatus)) {\n props.history.push(\"/startpage\")\n }\n else {\n props.history.push(\"/customer360View\")\n }\n };\n \n \n\n return (\n
    \n {isError && (\n \n {t(\"IDEM_Error\")}\n \n ) }\n \n {!isError &&
    \n

    Whoops!

    \n

    {t(\"Generic_Error\")}\n {t(\"Generic_Error1\")}\n {t(\"Generic_Error2\")}

    \n
    }\n \n \n {t(\"Generic_Error_button\")}\n \n \n
    \n\n )\n\n}\nexport default GenericError;","export default __webpack_public_path__ + \"static/media/reduce-bill.e9237d86.png\";","export default __webpack_public_path__ + \"static/media/catalyst.d3ccb424.jpg\";","export default class CustomerIdentifierModel {\n public channel: string = ''\n public customerId: string = '' \n }","\nexport enum CaseOwnerMatrix {\n 'New Homes (Development)' = 'New Homes Team',\n 'NM' = 'Neighbourhood Manager',\n 'Estate Services Enquiries' = 'Estate Services Team',\n 'Specialist Case Management' = 'Specialist Case Management Team',\n 'Lettings Team' = 'Lettings Team',\n 'Leasehold Team' = 'Leasehold Team',\n 'Private Rent Team' = 'Private Rent Team',\n 'Homeownership Team' = 'Homeownership Team',\n 'Leasehold Compliance Team' = 'Leasehold Compliance Team',\n 'Resale And Staircasing Team' = 'Resale and Staircasing Team',\n 'Homeowner Sales Services' = 'Homeownership Services Team',\n 'Incomes officer' = 'Incomes officer',\n 'Rehousing Services' = 'Rehousing Team',\n 'Rehousing and Lettings' = 'Rehousing and Lettings Team',\n 'SAR Team' = 'Subject Access Request Team',\n 'Property Accounts' = 'Property Accounts',\n 'New Homes Team' = 'New Homes Team',\n 'Business Support'= 'Business Support',\n 'Allocations and Lettings' = 'Allocations & Lettings Team',\n 'Property Accounts Team' = 'Property Accounts',\n}\n\n\n\n\n\n\n","import { Amount } from \".\"\n\nexport default class AccountDetails {\n public LiveBalance: string =''\n public LiveBalanceType:string | null = ''\n public AccountType:string | null = ''\n public AccountNumber:string | null = ''\n public Payref:string | null = ''\n public DisplayNumber:number = 0.00\n public transactDeatils: TransactDeatils[] = []\n public lastTransactionBalance: number =0.00\n public lastTransactionDate: string | null = ''\n}\nexport class TransactDeatils {\n public transactiondate: string | null = ''\n public LiveBalance: number =0.00\n public LiveBalanceType:string | null = ''\n public TransactionBalanceType:string | null = ''\n}\n","import { RouteComponentProps } from 'react-router-dom';\nimport { useTranslation } from 'react-i18next';\nimport { formatDateToSlash } from '../../../utils/formatting';\nimport React, { useEffect, useState } from 'react';\nimport { selectedTabValue, setUserSelectedMessageDate, setUserSelectedMessageDetails, setUserSelectedMessageDocumentIdentifier, setUserSelectedMessageNotificationType, setUserSelectedMessageSender, setUserSelectedMessageStatus, setUserSelectedMessageSubject } from '../../../ducks/redux/actions/userChoices';\nimport { useDispatch } from 'react-redux';\n\ninterface MyMessageCardRowProps extends RouteComponentProps { eachMsgData: any, msgArrayNum: number }\n\nconst MyMessageCardRow: React.FC = (props) => {\n\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const [isCasesMsgNotification, setisCasesMsgNotification] = useState(true);\n enum CommunicationCategoryType {\n CaseCreation = \"CaseCreation\",\n }\n\n\n const { title, givenName, surname } = props.eachMsgData?.message?.sender?.organisation?.personName || ({} as any);\n\n const titleVal = title ? title : '';\n const givenNameVal = givenName ? givenName : '';\n const surnameVal = surname ? surname : '';\n const messageSender = titleVal + \" \" + givenNameVal + \" \" + surnameVal;\n\n const checkCasesMsgNotification = (communicationCategoryType: any) => {\n if (communicationCategoryType === CommunicationCategoryType.CaseCreation) {\n setisCasesMsgNotification(false);\n }\n };\n \n useEffect(()=>{\n checkCasesMsgNotification(props.eachMsgData.communicationCategoryType);\n }, [props.eachMsgData])\n\n const callMyMessageHistory = (message: any) => {\n dispatch(selectedTabValue(\"mymessageshistory\"))\n console.log(\"props.eachMsgData\",props.eachMsgData);\n dispatch(setUserSelectedMessageDetails(props.eachMsgData.message.content[1].value));\n dispatch(setUserSelectedMessageSubject(props.eachMsgData.message.content[0].value));\n dispatch(setUserSelectedMessageDate(props.eachMsgData.createdDate));\n dispatch(setUserSelectedMessageSender(messageSender));\n dispatch(setUserSelectedMessageNotificationType(isCasesMsgNotification));\n dispatch(\n setUserSelectedMessageDocumentIdentifier(props.eachMsgData.message.content[2]?.value)\n );\n dispatch(setUserSelectedMessageStatus(props.eachMsgData.status));\n\n props.history.push(\"/messagedetails\");\n };\n\n\n return (\n
    \n
    callMyMessageHistory(props.eachMsgData)} onClick={() => callMyMessageHistory(props.eachMsgData)}>\n
    \n
    \n
    \n
    \n {\n props.eachMsgData?.status === 'UNREAD' ? (\n <>
    {`${titleVal} ${givenNameVal} ${surnameVal}`}
    {formatDateToSlash(props.eachMsgData.createdDate)}
    \n ) : (\n <>

    {`${titleVal} ${givenNameVal} ${surnameVal}`}

    {formatDateToSlash(props.eachMsgData.createdDate)}

    \n )\n }\n\n
    \n
    \n\n
    \n {\n props.eachMsgData?.status === 'UNREAD' ? (\n
    {props.eachMsgData.message.content[0].value}
    \n\n ) : (\n

    {props.eachMsgData.message.content[0].value}

    \n )\n }\n\n
    \n
    callMyMessageHistory(props.eachMsgData)} onKeyDown={() => callMyMessageHistory(props.eachMsgData)}>{t(\"View_Message\")}
    \n
    \n
    \n
    \n
    \n );\n};\n\nexport default MyMessageCardRow;","import React, { useEffect } from 'react';\nimport { RouteComponentProps } from 'react-router-dom';\nimport { useTranslation } from 'react-i18next';\nimport { useSelector } from 'react-redux';\nimport * as api from \"../../../api\";\nimport MyMessageCardRow from './MyMessageCardRow';\nimport Button from \"../../../storybook/Button\";\nimport { selectedTabValue, userNavigatedFrom } from '../../../ducks/redux/actions/userChoices';\nimport { useDispatch } from \"react-redux\";\nimport Message from \"../../../storybook/Message\";\nimport { detectMobile } from \"../../../utils/formatting\";\ninterface MyMessagesCardProps extends RouteComponentProps { associatedAssetList: any }\nconst MyMessagesCard: React.FC = (props) => {\n const { t } = useTranslation();\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const PropertyId = useSelector((state: any) => state.userChoicesReducer?.userChosenPropertyId);\n const allassetIndentifiers = useSelector((state: any) => state?.userChoicesReducer?.allassetIdentifiers)\n const [allMyMessages, setAllMyMessages] = React.useState();\n const [yellowAlertMessage, setYellowAlertMessage] = React.useState('');\n const formatedToday = new Date().toISOString().split(\"T\")[0];\n const twoYearsAgoFromNow = new Date();\n twoYearsAgoFromNow.setFullYear(twoYearsAgoFromNow.getFullYear() - 2);\n const formatedTwoYearsAgo = twoYearsAgoFromNow.toISOString().split(\"T\")[0];\n const sessionId = localStorage.getItem(\"sessionId\");\n const corelationId = localStorage.getItem(\"corelationId\");\n const customerId = localStorage.getItem(\"customerId\");\n const [alertMessage, setAlertMessage] = React.useState(false);\n const dispatch = useDispatch();\n useEffect(() => {\n if (sessionId !== null && corelationId !== null && customerId !== null) {\n\n (async () => {\n const requestData = {\n fromDate: formatedTwoYearsAgo,\n toDate: formatedToday,\n status: '',\n assetIdentifier: allassetIndentifiers,\n searchText: '',\n limit: 2,\n skip: 0,\n sort: ''\n }\n await api.getCommunicationMessages(customerID, requestData)\n .then((response) => {\n if (response?.[\"total-count\"] === undefined || response?.[\"total-count\"] === 0) {\n setYellowAlertMessage('SSC016'); \n } else {\n setYellowAlertMessage('');\n }\n setAllMyMessages(response);\n })\n .catch((error) => {\n setAlertMessage(true);\n })\n })()\n }\n }, [sessionId, corelationId, customerId, customerID, props.associatedAssetList, PropertyId, allassetIndentifiers]);\n\n const callMyMessageHistory = () => {\n dispatch(selectedTabValue(\"mymessageshistory\"));\n dispatch(userNavigatedFrom(\"\"));\n props.history.push(\"/mymessageshistory\");\n };\n\n const openMobiledialer = () => {\n window.open('tel:' + t('phone_no'));\n };\n\n const isMobile = detectMobile();\n return (\n
    \n

    \n {\" \"}\n {t(\"My_Messages\")}{\" \"}\n

    \n {(!alertMessage) ? (\n
    \n
    \n
    {t(\"My_Messages_Sub\")}
    \n\n {allMyMessages?.communications?.length > 0 &&\n
    \n
    \n
    All ({allMyMessages?.[\"total-count\"]})
    \n
    Unread ({allMyMessages?.[\"total-unread\"]})
    \n
    \n
    \n }\n {yellowAlertMessage ?\n

    {t(yellowAlertMessage)}

    : allMyMessages?.communications?.slice(0, 2).map((eachMsg: any, key: number) => {\n return (\n \n );\n })\n }\n
    \n
    \n
    \n
    \n\n {allMyMessages?.communications?.length > 0 &&\n
    \n \n
    \n }\n
    \n
    \n
    \n
    \n ) : (isMobile) ?\n
    \n
    \n
    \n {t('message_Card_Alert_Message')} { {t('phone_no')} }\n \n
    \n
    \n
    : (
    \n
    \n
    \n {t('message_Card_Alert_Message')} { {t('phone_no')} }\n \n
    \n
    \n
    \n )}\n
    \n );\n};\nexport default MyMessagesCard;","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport * as api from \"../../../api\";\nimport { formatDate } from \"../../../utils/formatting\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport Tenancies from \"../../../models/Customer/Tenancies\";\nimport { CustomerResponse, PremisesType } from \"../../../models/Customer\";\nimport { AssocitaedAssetsType, RelatedPremisesType } from \"../../../models/Property/AdminUnits\";\nimport Button from \"../../../storybook/Button\";\nimport { selectedTabValue, showMenuTabs, showFooter, userNavigatedFrom } from \"../../../ducks/redux/actions/userChoices\";\nimport { comingFromCasePage } from \"../../../ducks/redux/actions/FinancialReferral\";\nimport Message from \"../../../storybook/Message\";\nimport { detectMobile } from \"../../../utils/formatting\";\nconst Loader = React.lazy(() => import(\"react-loader-spinner\"));\n\ninterface CaseCardProps extends RouteComponentProps { defaultAssociatedAsset: any }\n\nconst CaseCard: React.FC = (props) => {\n let status: any = {\n Active: 1,\n Resolved: 2,\n Cancelled: 3,\n };\n const caseData: any = [];\n const history = useHistory();\n const [isLoading, setIsLoading] = useState(false);\n const [caseSearchData, setCaseSearchData] = useState(caseData);\n const [alertMessage, setAlertMessage] = React.useState(false);\n const { t } = useTranslation();\n const dispatch = useDispatch();\n\n\n const propertyId = useSelector(\n (state: any) => state.userChoicesReducer.userChosenPropertyId\n );\n const customerResponse: CustomerResponse = useSelector(\n (state: any) => state.addresses.saveCustomerDetails\n );\n\n const customerId = useSelector((state: any) => state.addresses?.customerid);\n\n const ViewCasesHandler = () => {\n history.push(\"/casesearch\");\n dispatch(userNavigatedFrom(\"\"));\n dispatch(selectedTabValue(\"requests\"));\n\n };\n\n const CreateCaseHandler = () => {\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n dispatch(userNavigatedFrom(\"\"));\n dispatch(comingFromCasePage(true))\n history.push(\"/selectTenancy\");\n };\n\n let PropertyId = useSelector(\n (state: any) => state.userChoicesReducer.userChosenPropertyId\n );\n\n\n const isMobile = detectMobile();\n\n const openMobiledialer = () => {\n window.open('tel:' + t('phone_no'));\n };\n\n let assetBlockPropertyIds: any = [];\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n let associtaedAssets: any[] = [];\n\n const getSearchApi = async (assetIDsAll: string) => {\n try {\n setIsLoading(true);\n const casequeryParams = {\n searchText: \"\",\n orderBy: \"createdDate desc\",\n status: \"\",\n limit: 10,\n skip: 0,\n defaultassocitaedAsset: assetIDsAll,\n customerId: customerId,\n };\n\n const caseSearchResponse = await api.getCasesList(casequeryParams);\n\n // === Sorting cases according to status ===\n const sortedData = caseSearchResponse.cases;\n sortedData.sort((a, b) => status[a.status] - status[b.status]);\n\n setCaseSearchData(sortedData);\n } catch (e) {\n setAlertMessage(true);\n } finally {\n setIsLoading(false);\n }\n };\n useEffect(() => {\n (async () => {\n if (props?.defaultAssociatedAsset?.length > 0) {\n try {\n setIsLoading(true);\n const activeTenanciesSummaries =\n customerResponse.tenanciesSummaries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find(\n (s) => s.type === \"isTenancyActive\"\n )?.value === true\n );\n const activeTenanciesPremisesIds: Tenancies[] = activeTenanciesSummaries\n .map((ts: any) => ts.tenancySummary.premisesIds)\n .flat();\n\n const promises = activeTenanciesPremisesIds.map((item: any) => {\n return api.getAssociatedAssets(item);\n });\n Promise.all(promises).then((results) => {\n //Filter results as per premisesid\n activeTenanciesPremisesIds?.map(async (assetid: any) => {\n results.forEach((element) => {\n const resultF = element.filter(\n (addressdata) => addressdata.id === assetid\n );\n\n if (resultF !== null) associtaedAssets.push(resultF);\n });\n });\n\n const associtaedAssetsList: AssocitaedAssetsType[] = [];\n\n associtaedAssets?.map((addressdata: any) => {\n addressdata?.map((address: any) => {\n const associtaedAssetsTypeEntry: AssocitaedAssetsType =\n new AssocitaedAssetsType();\n\n associtaedAssetsTypeEntry.key = address?.id;\n associtaedAssetsTypeEntry.value =\n address?.addresses?.postalAddresses[0]?.formattedAddress;\n associtaedAssetsList.push(associtaedAssetsTypeEntry);\n });\n });\n });\n\n\n const premisesList: RelatedPremisesType[] = [];\n const premisesEntry: RelatedPremisesType = new RelatedPremisesType();\n let propertiesIds: string[] = [];\n premisesEntry.premisesType = PremisesType.Default;\n premisesEntry.premisesTypeId = PremisesType.Default;\n premisesList.push(premisesEntry);\n const addressesData = await api.getAssociatedAssets(props.defaultAssociatedAsset);\n\n addressesData.forEach((element) => {\n const premisesEntry: RelatedPremisesType = new RelatedPremisesType();\n premisesEntry.premisesType = element.assetType as PremisesType;\n premisesEntry.premisesTypeId = element.id;\n premisesList.push(premisesEntry);\n propertiesIds.push(element.id);\n });\n\n\n const areaOptions = premisesList.map((f) => ({\n key: f.premisesType,\n value: f.premisesTypeId,\n }));\n\n areaOptions.forEach((element) => {\n if (element.key === \"Property\" || element.key === \"Block\") {\n assetBlockPropertyIds.push(element.value);\n }\n });\n\n let assetIDsIntTxt = \"assetIdentifiers=\";\n let assetIDsRemTxt = assetBlockPropertyIds.join(\"&assetIdentifiers=\");\n let assetIDsAll = assetIDsIntTxt.concat(assetIDsRemTxt);\n\n getSearchApi(assetIDsAll);\n\n } catch (e) {\n setIsLoading(false);\n setAlertMessage(true);\n }\n }\n else {\n setIsLoading(false);\n setAlertMessage(true);\n }\n })();\n }, [props.defaultAssociatedAsset]);\n\n\n return (\n
    \n {isLoading ? (\n \n ) : (\n <>\n \n {t(\"Case_Card_Title\")}{\" \"}\n \n {!alertMessage ? (\n <>\n {!caseSearchData.length ? (\n
    \n

    \n {t(\"Case_Card_0027\")}\n

    \n
    \n ) : (\n caseSearchData.slice(0, 2).map((el: any, key: any) => (\n
    \n\n
    \n \n {el.caseTypeDescription}\n \n
    \n\n\n
    \n
    {t(\"Case_Card_Ref\")}
    \n

    {el.caseReferenceNumber}

    \n
    \n\n
    \n
    {t(\"Case_Card_Status\")}
    \n

    {el.status}

    \n
    \n\n
    \n
    {t(\"Case_Card_CreatedDate\")}
    \n

    {formatDate(el.createdDate)}

    \n
    \n\n
    \n ))\n )}\n
    \n
    \n
    \n {caseSearchData.length > 0 && (\n \n )}\n
    \n
    \n \n
    \n\n
    \n
    \n \n ) : (\n (isMobile) ?\n
    \n
    \n
    \n {t('case_Card_Alert_Message')} { {t('phone_no')} }\n \n
    \n
    \n
    : (
    \n
    \n
    \n {t('case_Card_Alert_Message')} { {t('phone_no')} }\n \n
    \n
    \n
    \n )\n )}\n \n )}\n
    \n );\n};\nexport default CaseCard;","export default __webpack_public_path__ + \"static/media/tooltip.b4d16d89.png\";","import React, { useCallback, useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport * as api from \"../../api\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport tooltip from \"../../assets/icons/tooltip.png\";\nimport \"./index.css\";\nimport Modal from \"../Modal\";\nimport Loader from \"react-loader-spinner\";\nimport Tooltip from \"@mui/material/Tooltip\";\nimport {\n storeBSRDocuments,\n storeFRADocuments,\n storeRESDocuments,\n} from \"../../ducks/redux/actions/historicRepair\";\nimport { formatDate, detectMobile} from \"../../utils/formatting\";\nimport { googleAnalyticsTracking } from \"../../utils/Analytics\";\nimport Message from \"../../storybook/Message\";\n\ninterface HighRiseBuilding extends RouteComponentProps {}\n\nconst HighRise: React.FC = (props) => {\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const assetId = useSelector(\n (state: any) => state.userChoicesReducer?.blockIdentifier\n );\n const FRAData = useSelector(\n (state: any) => state.historicRepairReducer?.FRADocuments\n );\n const BSRData = useSelector(\n (state: any) => state.historicRepairReducer?.BSRDocuments\n );\n const RESData = useSelector(\n (state: any) => state.historicRepairReducer?.RESDocuments\n );\n const [highRiseRes, setHighRiseRes] = useState();\n const [popup, setPopup] = useState(false);\n const [width, setWidth] = useState(window.innerWidth);\n const [openPAP, setOpenPAP] = useState(false);\n const [openBSM, setOpenBSM] = useState(false);\n const [openAP, setOpenAP] = useState(false);\n const [openRP, setOpenRP] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [isHighRise, setIsHighRise] = useState(false);\n const [docToggle, setDocToggle] = useState(\"false\");\n const docArr = [false, false];\n const [apiFailureError, setApiFailureError] = useState(false);\n const [disablelink, setdisablelink] = useState(docArr);\n const isMobile = detectMobile();\n function handleWindowSizeChange() {\n setWidth(window.innerWidth);\n }\n useEffect(() => {\n window.addEventListener(\"resize\", handleWindowSizeChange);\n return () => {\n window.removeEventListener(\"resize\", handleWindowSizeChange);\n };\n }, [width]);\n\n const getFRAAssociateData = useCallback(async () => {\n try {\n const res = await api.getDocumentByBlockId(assetId, \"FRA\");\n dispatch(storeFRADocuments(res));\n setIsHighRise(true);\n } catch (e: any) {\n setIsLoading(false);\n setApiFailureError(true)\n console.log(e);\n }\n }, []);\n\n const getBSRAssociateData = useCallback(async () => {\n try {\n const res = await api.getDocumentByBlockId(assetId, \"BSR\");\n dispatch(storeBSRDocuments(res));\n setIsHighRise(true);\n } catch (e: any) {\n setIsLoading(false);\n setApiFailureError(true)\n console.log(e);\n }\n }, []);\n \n\n const getRESAssociateData = useCallback(async () => {\n try {\n const res = await api.getDocumentByBlockId(assetId, \"RESIDENTENGAGEMENTSTRATEGY\");\n dispatch(storeRESDocuments(res));\n setIsHighRise(true);\n setIsLoading(false);\n } catch (e: any) {\n setIsLoading(false);\n setApiFailureError(true)\n console.log(e);\n }\n }, []);\n\n const getAssociate = useCallback(async () => {\n try {\n const response = await api.GetHighRiseProperty(assetId);\n setHighRiseRes(response?.associates?.interestedParties);\n } catch (e: any) {\n setIsLoading(false);\n setApiFailureError(true)\n }\n }, []);\n\n const getAssetByBlockId = async () => {\n setIsLoading(true);\n try {\n const response = await api.getAssetByCaseid(assetId);\n if (response?.statuses?.isHighRise) {\n setIsHighRise(true);\n getAssociate();\n getFRAAssociateData();\n getBSRAssociateData();\n getRESAssociateData();\n } else {\n setIsLoading(false);\n }\n } catch (e: any) {\n setIsLoading(false);\n }\n };\n\n const getDocumentToggleValue = async () => {\n try {\n const response = await api.GetAppConfigToggleValue(\n \"mypeabodyDocumentToggle\"\n );\n setDocToggle(response?.value);\n } catch (e: any) {}\n };\n const customerIdentifier = useSelector(\n (state: any) => state.addresses?.customerid\n );\n\n useEffect(() => {\n googleAnalyticsTracking(customerIdentifier);\n getDocumentToggleValue();\n getAssetByBlockId();\n }, [assetId]);\n\n function toUpper(str: any) {\n return str\n .toLowerCase()\n .split(\" \")\n .map(function (word: any) {\n return word[0]?.toUpperCase() + word?.substr(1);\n })\n .join(\" \");\n }\n\n const handlePAPTooltipOpen = () => {\n if (width <= 820) {\n setOpenPAP(true);\n }\n };\n\n const handleAPTooltipOpen = () => {\n if (width <= 820) {\n setOpenAP(true);\n }\n };\n const handleRPTooltipOpen = () => {\n if (width <= 820) {\n setOpenRP(true);\n }\n };\n const handleBSMTooltipOpen = (event: any) => {\n if (width <= 820) {\n setOpenBSM(true);\n }\n };\n const formatAddress = (str: any) => {\n const formattedText = str.split(\",\");\n return formattedText.map((data: any, i: number) => {\n if (i + 1 === formattedText.length) {\n return data.toUpperCase();\n }\n return data + \", \";\n });\n };\n const handleDocument = async (data: string, index: number) => {\nlet docId = \"\";\nif(data===\"FRA\"){\n docId = FRAData?.documents[0]?.id\n}\nelse if(data===\"BSR\"){\n docId = BSRData?.documents[0]?.id\n}else{\n docId = RESData?.documents[0]?.id\n}\n try {\n let newArr = [...disablelink];\n newArr[index] = true;\n setdisablelink(newArr);\n const res = await api.getBuildingSafetyDoc(assetId,docId);\n const binary = atob(res.media);\n const len = binary.length;\n const buffer = new ArrayBuffer(len);\n const view = new Uint8Array(buffer);\n for (let i = 0; i < len; i++) {\n view[i] = binary.charCodeAt(i);\n }\n // create the blob object with content-type \"application/pdf\"\n const blob = new Blob([view], { type: \"application/pdf\" });\n const url = URL.createObjectURL(blob);\n window.open(url, \"_blank\");\n } catch (e: any) {\n setApiFailureError(true)\n console.log(e);\n }\n };\n const openMobiledialer = () => {\n window.open('tel:'+t('phone_no'));\n };\n return (\n <>\n \n
    \n {t(\"HR_BI006\")}\n setPopup(false)}\n onKeyPress={() => setPopup(false)}\n >\n X\n \n

    \n

    {t(\"HR_BI007\")}

    \n

    \n {t(\"HR_BI007p\")}{\" \"}\n \n {t(\"HR_BI007link\")}\n \n

    \n
    \n
    \n {isLoading && (\n \n )}\n {isHighRise && !isLoading && (\n
    \n

    {t(\"HR_BI001\")}

    \n
    \n {/* {!apiFailureError &&
    {t(\"HR_BI001a\")}
    } */}\n {apiFailureError &&
    \n { isMobile ? (\n \n {t(\"high_rise_building_Alert_Message\")} \n {t('phone_no')}\n \n \n ):(\n \n {t(\"high_rise_building_Alert_Message\")} {t('phone_no')}\n \n )}\n
    \n }\n {docToggle === \"true\" && !apiFailureError &&\n (BSRData?.documents?.length > 0 ||\n FRAData?.documents?.length > 0 || ((highRiseRes?.principleAccountablePerson?.person?.name?.givenName === \"Peabody Trust\") && RESData?.documents?.length >0)) && (\n \n
    \n {t(\"eDMS_Heading\")} \n
    \n {BSRData?.documents?.length > 0 && (\n 1180 ? \"flex justify-between px-3 \" : \"px-3 \"\n }\n >\n \n handleDocument(\"BSR\", 0)}\n onKeyPress={() => handleDocument(\"BSR\", 0)}\n role=\"button\"\n id=\"BSR-Doc\"\n >\n {t(\"eDMS_BSR\")}\n \n \n 1180\n ? \"inactive linkSection_b py-1 date-align top-padding mt-0\"\n : \"mt-0 devicePro document-link\"\n }\n >\n {t(\"Ins_Date\")}\n {formatDate(\n BSRData?.documents[0]?.metadata.find(function (\n o: any\n ) {\n return o.key === \"inspection-date\";\n }).value || \"-\"\n )}\n

    \n
    \n )}\n\n {FRAData?.documents?.length > 0 && (\n 1180\n ? \" flex justify-between px-3\"\n : \" px-3\"\n }\n >\n \n handleDocument(\"FRA\", 1)}\n onKeyPress={() => handleDocument(\"FRA\", 1)}\n role=\"button\"\n id=\"FRA-Doc\"\n >\n {t(\"eDMS_FRA\")}\n \n \n 1180\n ? \"inactive linkSection_b py-1 date-align top-padding mt-0\"\n : \"mt-0 devicePro document-link\"\n }\n >\n {t(\"Ins_Date\")}\n {formatDate(\n FRAData?.documents[0]?.metadata.find(function (\n o: any\n ) {\n return o.key === \"inspection-date\";\n }).value || \"-\"\n )}\n

    \n
    \n )}\n\n {(highRiseRes?.principleAccountablePerson?.person?.name?.givenName === \"Peabody Trust\" && RESData?.documents?.length > 0) && (\n 1180\n ? \" flex justify-between px-3\"\n : \"px-3\"\n }\n >\n \n handleDocument(\"RES\", 2)}\n onKeyPress={() => handleDocument(\"RES\", 2)}\n role=\"button\"\n id=\"RES-Doc\"\n >\n {t(\"eDMS_RES\")}\n \n \n 1180\n ? \"inactive linkSection_b py-1 date-align top-padding mt-0\"\n : \"mt-0 devicePro document-link\"\n }\n >\n {t(\"Res_Date\")}\n {formatDate(\n RESData?.documents[0]?.metadata.find(function (\n o: any\n ) {\n return o.key === \"inspection-date\";\n }).value || \"-\"\n )}\n

    \n \n )}\n\n\n \n )}\n \n {!apiFailureError &&
    \n {(highRiseRes?.principleAccountablePerson ||\n highRiseRes?.accountablePerson) && (\n <>\n {highRiseRes?.principleAccountablePerson && (\n \n
    \n {\" \"}\n {t(\"HR_BI002a\")} \n
    \n\n
    \n {\n setOpenPAP(false);\n }}\n >\n setOpenPAP(true)}\n onFocus={() => setOpenPAP(true)}\n onMouseLeave={() => setOpenPAP(false)}\n />\n \n
    \n\n
    \n
    \n \n {highRiseRes?.principleAccountablePerson?.person\n ?.name?.givenName || \"-\"}\n \n
    \n
    \n {highRiseRes?.principleAccountablePerson?.addresses\n ?.digitalAddresses[0]?.postalAddresses\n ?.formattedAddress\n ? formatAddress(\n toUpper(\n highRiseRes?.principleAccountablePerson\n ?.addresses?.digitalAddresses[0]\n ?.postalAddresses?.formattedAddress\n )\n )\n : \"-\"}\n
    \n
    \n {highRiseRes?.principleAccountablePerson?.addresses\n ?.digitalAddresses[0]?.emailAddresses[0]?.value ||\n \"-\"}\n
    \n
    \n
    \n )}\n {highRiseRes?.accountablePerson && (\n \n
    \n {t(\"HR_BI003a\")} \n
    \n\n
    \n {\n setOpenAP(false);\n }}\n componentsProps={{\n tooltip: {\n sx: {\n bgcolor: \"#E3F2FF\",\n color: \"#000\",\n border: \"1px solid #1551C1\",\n fontSize: \"16px\",\n [\"& .MuiTooltip-tooltip\"]: {\n width: \"500px\",\n },\n },\n },\n }}\n >\n setOpenAP(true)}\n onFocus={() => setOpenAP(true)}\n onMouseLeave={() => setOpenAP(false)}\n />\n \n
    \n
    \n
    \n \n {highRiseRes?.accountablePerson?.person?.name\n ?.givenName || \"-\"}\n \n
    \n
    \n {highRiseRes?.accountablePerson?.addresses\n ?.digitalAddresses[0]?.postalAddresses\n ?.formattedAddress\n ? formatAddress(\n toUpper(\n highRiseRes?.accountablePerson?.addresses\n ?.digitalAddresses[0]?.postalAddresses\n ?.formattedAddress\n )\n )\n : \"-\"}\n
    \n
    \n {highRiseRes?.accountablePerson?.addresses\n ?.digitalAddresses[0]?.emailAddresses[0]?.value ||\n \"-\"}\n
    \n
    \n \n )}\n {highRiseRes?.buildingSafetyManager && (\n \n
    \n {t(\"HR_BI004a\")}{\" \"}\n
    \n\n
    \n {\n setOpenBSM(false);\n }}\n componentsProps={{\n tooltip: {\n sx: {\n bgcolor: \"#E3F2FF\",\n color: \"#000\",\n border: \"1px solid #1551C1\",\n fontSize: \"16px\",\n [\"& .MuiTooltip-tooltip\"]: {\n width: \"500px\",\n },\n },\n },\n }}\n >\n setOpenBSM(true)}\n onFocus={() => setOpenBSM(true)}\n onMouseLeave={() => setOpenBSM(false)}\n />\n \n
    \n
    \n
    \n \n {highRiseRes?.buildingSafetyManager?.person?.name\n ?.givenName || \"-\"}\n \n
    \n
    \n {highRiseRes?.buildingSafetyManager?.addresses\n ?.digitalAddresses[0]?.postalAddresses\n ?.formattedAddress\n ? formatAddress(\n toUpper(\n highRiseRes?.buildingSafetyManager?.addresses\n ?.digitalAddresses[0]?.postalAddresses\n ?.formattedAddress\n )\n )\n : \"-\"}\n
    \n
    \n {highRiseRes?.buildingSafetyManager?.addresses\n ?.digitalAddresses[0]?.emailAddresses[0]?.value ||\n \"-\"}\n
    \n
    \n \n )}\n \n )}\n\n {highRiseRes?.responsiblePerson && (\n \n
    \n {t(\"HR_BI005a\")} {\" \"}\n
    \n\n
    \n {\n setOpenRP(false);\n }}\n componentsProps={{\n tooltip: {\n sx: {\n bgcolor: \"#E3F2FF\",\n color: \"#000\",\n border: \"1px solid #1551C1\",\n fontSize: \"16px\",\n [\"& .MuiTooltip-tooltip\"]: {\n width: \"500px\",\n },\n },\n },\n }}\n >\n setOpenRP(true)}\n onFocus={() => setOpenRP(true)}\n onMouseLeave={() => setOpenRP(false)}\n />\n \n
    \n
    \n
    \n \n {highRiseRes?.responsiblePerson?.person?.name\n ?.givenName || \"-\"}\n \n
    \n
    \n {highRiseRes?.responsiblePerson?.addresses\n ?.digitalAddresses[0]?.postalAddresses?.formattedAddress\n ? formatAddress(\n toUpper(\n highRiseRes?.responsiblePerson?.addresses\n ?.digitalAddresses[0]?.postalAddresses\n ?.formattedAddress\n )\n )\n : \"-\"}\n
    \n
    \n {highRiseRes?.responsiblePerson?.addresses\n ?.digitalAddresses[0]?.emailAddresses[0]?.value || \"-\"}\n
    \n
    \n \n )}\n }\n \n\n {!apiFailureError &&
    \n
    \n setPopup(true)}\n onKeyPress={() => setPopup(true)}\n id=\"Highrise-info\"\n >\n {t(\"HR_BI006\")}{\" \"}\n \n
    \n
    }\n \n )}\n {isLoading && (\n \n )}\n \n );\n};\n\nexport default HighRise;\n","import React, { useEffect, useState } from 'react'\nimport { Link, RouteComponentProps } from 'react-router-dom'\nimport \"./index.scss\";\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useTranslation } from 'react-i18next';\nimport {\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n} from \"../../ducks/redux/actionTypes\";\nimport { CaseOwnerMatrix } from \"../../models/Case/CaseOwnerMatrix\";\nimport { capitalizeName, formatDateWithFullMonthWeekInLetters, isNullOrUndefined } from \"../../utils/formatting\";\nimport * as api from \"../../api\";\nimport { CatalistTriageContractorType } from '../../models/Repair/Contractor'\nimport Modal from '../Modal/index';\n\n\ninterface JourneySuccess extends RouteComponentProps { }\n\nconst SuccessMessage: React.FC = (props) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const slotDate = useSelector((state: any) => state?.financialReferralReducer?.selectedDateSlot)\n const isComingFromCaseJourney = useSelector((state: any) => state?.financialReferralReducer?.isCaseJourneyMessage)\n const isComingFromRepairJourney = useSelector((state: any) => state?.financialReferralReducer?.isRepairJourneyMessage);\n const isTriageRepairMsg = useSelector((state: any) => state?.financialReferralReducer?.isTriageRepair);\n const [assigneeDetails, setAssigneeDetails] = useState(\"\");\n const [triageMessageValue, setTriageMessageValue] = useState(\"\");\n const [isDefectTriageRepair, setIsDefectTriageRepair] = useState(false);\n const [isTier2TriageRepair, setIsTier2TriageRepair] = useState(false);\n const [isEmaTriageRepair, setIsEmaTriageRepair] = useState(false);\n const [popup, setPopup] = useState(true)\n const [emergencyRepairMsg, setEmergencyRepairMsg] = useState(\"\");\n const [normalAppointment, setNormalAppointment] = useState(false)\n const [emergencyOOH, setEmergencyOOH] = useState(\"\");\n\n const caseOwnerName = useSelector(\n (state: any) => state.caseCreationReducer?.caseOwnerName\n );\n\n const isPreferenceAppointment = useSelector(\n (state: any) => state.addresses?.preferenceno\n );\n\n const isWorkOrderFailureAlertMessage = useSelector(\n (state: any) => state?.userChoicesReducer?.isWoAlertMessage\n );\n\n const selectedproperty = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n const caseTypeDescription = useSelector(\n (state: any) => state.caseCreationReducer?.caseCreationDescription\n );\n\n let assetIdentifier = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyId\n );\n\n const _userChosenDuplicateQuestion = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenDuplicateQuestion\n );\n\n const _userChosenVulnerabilityQuestion = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenVulnerabilityQuestion\n );\n\n const heatinghotwatercase = useSelector(\n (state: any) => state?.addresses?.heatinghotwatercase\n );\n\n const isCatalyst = useSelector(\n (state: any) => state.userChoicesReducer?.isCatalystCustomer\n );\n\n const eligibilityResponseObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.eligibilityResponseObject\n );\n\n const determinedcontractordetails = useSelector(\n (state: any) => state.addresses?.determinedcontractordetails\n );\n const emergencyRepair = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenEmergencyQuestion || \"\"\n );\n\n const referenceNumberCode = useSelector(\n (state: any) => state.addresses?.referenceno\n );\n\n const contractor = useSelector(\n (state: any) => state.addresses?.contractorname ?? state.historicRepairReducer?.repairHistoryData?.RepairHistoryContractor\n );\n const priority = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.selectedRepairReasonObject[0]\n ?.priority\n );\n const isOnHoldRepair = useSelector(\n (state: any) => state.userChoicesReducer?.isOnHoldRepair\n );\n\n enum AssigneeName {\n NeighbourhoodManager = \"Your Neighbourhood Manager, \",\n IncomesOfficer = \"Your Incomes officer, \",\n NeighbourhoodManagerTeam = \"Your Neighbourhood Manager Team\"\n };\n\n enum CaseOwnerName {\n NM = \"NM\",\n IncomesOfficer = \"Incomes officer\"\n }\n\n enum OwnerTeamTitle {\n Title = \"The \"\n }\n\n const mappedOwnerName = new Map();\n mappedOwnerName.set('Estate Services Enquiries', CaseOwnerMatrix[\"Estate Services Enquiries\"])\n .set('Homeowner Sales Services', CaseOwnerMatrix[\"Homeowner Sales Services\"])\n .set('NM', CaseOwnerMatrix[\"NM\"])\n .set('Homeownership Team', CaseOwnerMatrix[\"Homeownership Team\"])\n .set('Incomes officer', CaseOwnerMatrix[\"Incomes officer\"])\n .set('Leasehold Compliance Team', CaseOwnerMatrix[\"Leasehold Compliance Team\"])\n .set('Leasehold Team', CaseOwnerMatrix[\"Leasehold Team\"])\n .set('New Homes (Development)', CaseOwnerMatrix[\"New Homes (Development)\"])\n .set('Private Rent Team', CaseOwnerMatrix[\"Private Rent Team\"])\n .set('Rehousing Services', CaseOwnerMatrix[\"Rehousing Services\"])\n .set('Rehousing and Lettings', CaseOwnerMatrix[\"Rehousing and Lettings\"])\n .set('Resale And Staircasing Team', CaseOwnerMatrix[\"Resale And Staircasing Team\"])\n .set('SAR Team', CaseOwnerMatrix[\"SAR Team\"])\n .set('Specialist Case Management', CaseOwnerMatrix[\"Specialist Case Management\"])\n .set('Lettings Team', CaseOwnerMatrix[\"Lettings Team\"])\n .set('Business Support', CaseOwnerMatrix[\"Business Support\"])\n .set('Property Accounts', CaseOwnerMatrix[\"Property Accounts\"])\n .set('New Homes Team', CaseOwnerMatrix[\"New Homes Team\"])\n .set('Business Support', CaseOwnerMatrix[\"Business Support\"])\n .set('Allocations and Lettings', CaseOwnerMatrix[\"Allocations and Lettings\"])\n .set('Property Accounts Team', CaseOwnerMatrix[\"Property Accounts Team\"]);\n\n let messageTriage = t(\"\");\n\n const setTriageMessages = () => {\n if (isCatalyst) {\n let siteIdentifier = determinedcontractordetails?.contractorSites;\n\n if (eligibilityResponseObject?.statuses?.isInDefects) {\n setIsDefectTriageRepair(true);\n setTriageMessageValue(\"\");\n }\n else if (siteIdentifier && siteIdentifier[0] === CatalistTriageContractorType.CATALYST_TRIAGE_TIER2) {\n setIsTier2TriageRepair(true);\n setTriageMessageValue(\"\");\n }\n else if (determinedcontractordetails?.statuses?.isEMA) {\n setIsEmaTriageRepair(true);\n setTriageMessageValue(\"\");\n }\n }\n\n\n if (\n (_userChosenDuplicateQuestion != \"\" &&\n heatinghotwatercase != undefined &&\n _userChosenVulnerabilityQuestion == \"Yes\") ||\n (_userChosenDuplicateQuestion != \"\" &&\n heatinghotwatercase != undefined) ||\n (_userChosenDuplicateQuestion != \"\" &&\n _userChosenVulnerabilityQuestion == \"Yes\") ||\n (heatinghotwatercase != undefined &&\n _userChosenVulnerabilityQuestion == \"Yes\")\n ) {\n messageTriage = t(\"SSR050\");\n setTriageMessageValue(messageTriage);\n setIsDefectTriageRepair(false);\n setIsTier2TriageRepair(false);\n setIsEmaTriageRepair(false);\n } //all combinations\n else if (_userChosenDuplicateQuestion != \"\") {\n messageTriage = t(\"SSR042\");\n setTriageMessageValue(messageTriage);\n setIsDefectTriageRepair(false);\n setIsTier2TriageRepair(false);\n setIsEmaTriageRepair(false);\n } //duplicate\n else if (heatinghotwatercase != undefined) {\n messageTriage = t(\"SSR046\");\n setTriageMessageValue(messageTriage);\n setIsDefectTriageRepair(false);\n setIsTier2TriageRepair(false);\n setIsEmaTriageRepair(false);\n } //Vuln\n else if (_userChosenVulnerabilityQuestion == \"Yes\") {\n messageTriage = t(\"SSR040\");\n setTriageMessageValue(messageTriage);\n setIsDefectTriageRepair(false);\n setIsTier2TriageRepair(false);\n setIsEmaTriageRepair(false);\n }\n };\n\n const fetchCaseAssetAssociates = async () => {\n try {\n const response = await api.getCaseAssetAssociate(assetIdentifier);\n if (caseOwnerName === CaseOwnerName.NM) {\n if (response?.associates?.neighbourhoodManager === null) {\n let Nmdetails = AssigneeName.NeighbourhoodManagerTeam;\n setAssigneeDetails(Nmdetails);\n } else {\n let NmFirstName = capitalizeName(response?.associates?.neighbourhoodManager?.person?.name?.givenName);\n let NmSecondName = response?.associates?.neighbourhoodManager?.person?.name?.surname;\n let Nmdetails = AssigneeName.NeighbourhoodManager + ' ' + NmFirstName + ' ' + NmSecondName;\n setAssigneeDetails(Nmdetails);\n }\n\n } else {\n let incomesOfficerFirstName = capitalizeName(response?.associates?.incomesOfficer?.person?.name?.givenName);\n let incomesOfficerSecondName = capitalizeName(response?.associates?.incomesOfficer?.person?.name?.surname);\n let incomesOfficerDetails = AssigneeName.IncomesOfficer + ' ' + incomesOfficerFirstName + ' ' + incomesOfficerSecondName;\n setAssigneeDetails(incomesOfficerDetails);\n }\n } catch (e: any) {\n props.history.push(\"/genericerror\");\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: [] });\n }\n\n };\n\n const setAppointmentMessages = () => {\n if (contractor === 'Thamesmead Environmental Services') {\n setEmergencyRepairMsg(t(\"Emergency_SSR035\"));\n setEmergencyOOH(\"repair history.\");\n }\n if (selectedproperty !== \"\") {\n if (selectedproperty === \"Property\") {\n if ((priority === \"Emergency\" || priority === \"Emergency (OOH)\") && emergencyRepair === \"Yes, I can provide access\") {\n setEmergencyRepairMsg(t(\"Emergency_OOH\"));\n setEmergencyOOH(\"repair history.\");\n } else if (emergencyRepair === \"Yes, I can provide access\") {\n setEmergencyRepairMsg(t(\"SSR033\"));\n } else {\n setEmergencyRepairMsg(t(\"Emergency_SSR035\"));\n setEmergencyOOH(\"repair history.\");\n }\n } else {\n setEmergencyRepairMsg(t(\"Emergency_Communal2\"));\n setEmergencyOOH(\"repair history.\");\n }\n }\n };\n\n useEffect(() => {\n if (isComingFromCaseJourney) {\n if (caseOwnerName === CaseOwnerName.NM || caseOwnerName === CaseOwnerName.IncomesOfficer) {\n fetchCaseAssetAssociates();\n } else {\n let teamDetails = OwnerTeamTitle.Title + mappedOwnerName.get(caseOwnerName);\n setAssigneeDetails(teamDetails);\n }\n }\n\n if (isComingFromRepairJourney && isTriageRepairMsg) {\n setTriageMessages();\n }\n if (isComingFromRepairJourney && !isTriageRepairMsg && !isWorkOrderFailureAlertMessage) {\n setAppointmentMessages();\n }\n\n if (isPreferenceAppointment) {\n setNormalAppointment(false);\n } else {\n setNormalAppointment(true);\n }\n }, [])\n\n\n\n\n return (\n <>\n {(isComingFromCaseJourney) &&\n (
    \n
    \n
    \n \n
    \n {isComingFromCaseJourney &&
    \n {t(\"Case_final_msg\")}\n {caseTypeDescription} {t(\"Case_final_msg1\")} {assigneeDetails}\n
    }\n\n
    \n
    )\n }\n\n {/* Display duplicate/triage message on pop-up */}\n {\n (isComingFromRepairJourney && (isDefectTriageRepair || triageMessageValue || isTier2TriageRepair || isEmaTriageRepair)) && isTriageRepairMsg &&\n\n \n
    \n setPopup(false)}\n onKeyPress={() => setPopup(false)}\n >\n

    X

    \n
    \n {(isTier2TriageRepair || isEmaTriageRepair || isDefectTriageRepair) ?

    {t(\"CatalystTriageThanksMessage\")}

    :

    {t(\"thankyou_savedrepair_message\")}

    }\n

    \n\n {(isTier2TriageRepair || isEmaTriageRepair || isDefectTriageRepair) &&\n (<>\n {t('CatalystDefectTrageMessage1')}\n\n \n )}\n {triageMessageValue &&\n {triageMessageValue}\n }\n

    \n \n
    \n\n }\n {/* Display On Hold message on pop-up */}\n {\n isComingFromRepairJourney && isOnHoldRepair &&\n \n
    \n setPopup(false)}\n onKeyPress={() => setPopup(false)}\n >\n

    X

    \n
    \n {

    {t('CatalystTriageThanksMessage')}

    }\n

    \n {<>{t('onHoldPopUpMessage')}}\n

    \n \n
    \n }\n {/* Display emergency message on green status bar */}\n {\n (isComingFromRepairJourney && emergencyRepair === \"Yes, I can provide access\" && !isTriageRepairMsg &&\n
    \n
    \n
    \n \n
    \n
    \n

    \n

    {t(\"Emergency_msg\")} {`${contractor}.`}
    \n

    \n

    {emergencyRepairMsg} {emergencyOOH}

    \n
    \n\n
    \n
    \n )}\n\n {/* Display Available/Preferred work order appoinment message */}\n {isComingFromRepairJourney && !isWorkOrderFailureAlertMessage && (isPreferenceAppointment || normalAppointment) && (!isDefectTriageRepair && !triageMessageValue && !isTier2TriageRepair && !isEmaTriageRepair) && !isTriageRepairMsg && emergencyRepair !== \"Yes, I can provide access\" &&\n (\n
    \n
    \n
    \n \n
    \n
    \n {/* This is for normal appoinment */}\n {normalAppointment && !isWorkOrderFailureAlertMessage &&
    {t(\"Normal_repair\")} {`${contractor}.`}
    }\n {/* This is for preferred appoinment */}\n {isPreferenceAppointment &&
    {t(\"Normal_repair\")} {`${contractor}.`} {t(\"Preffered_repair\")}
    }\n {slotDate ?

    {`Your reference is ${referenceNumberCode} for your appointment on ${slotDate && formatDateWithFullMonthWeekInLetters(new Date(slotDate?.date).toDateString())}, ${slotDate?.availabilityTypeLabel} (${slotDate?.start} to ${slotDate?.end}). Details about the repair is in the `}repair history.

    :

    {emergencyRepairMsg} {emergencyOOH}

    }\n
    \n
    \n
    \n )\n }\n \n )\n}\nexport default SuccessMessage","import React, { useEffect, useState } from \"react\";\nimport logo from \"../../assets/img/reduce-bill.png\";\nimport catalystlogo from \"../../assets/image/catalyst.jpg\";\nimport { RepairStatusField } from \"../../models/Repair/Repair\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { PremisesType } from \"../../models/Customer/Premises\";\nimport Repair, { RepairsResponse } from \"../../models/Repairs\";\nimport * as api from \"../../api\";\nimport \"../../compositions/Customer360View/index.scss\";\nimport \"bootstrap-icons/font/bootstrap-icons.css\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport { RouteComponentProps, useHistory, useLocation } from \"react-router-dom\";\nimport {\n AssocitaedAssetsType,\n RelatedPremisesType,\n} from \"../../models/Property/AdminUnits\";\nimport { detectMobile, formatDate, isNullOrUndefined } from \"../../utils/formatting\";\nimport Tenancies from \"../../models/Customer/Tenancies\";\nimport Customer, {\n CustomerResponse,\n TenancySummary,\n} from \"../../models/Customer\";\nimport { isUndefinedNullOrEmpty } from \"../../utils/translation/helper\";\nimport CustomerIdentifierModel from \"../../models/Customer/CustomerIdentifierModel\";\nimport { updateDashboardForm } from \"../../ducks/redux/actions/dashboardReducer.actions\";\nimport {\n appConfigCovidToggle,\n appConfigVandalismToggle,\n appConfigToggle,\n getCustomerId,\n selectedTenacyType,\n workOrderRepairObject,\n appConfigCaseCardToggle,\n saveCustomerphoneNumber,\n getReferenceNumber,\n getPrefferenceNumber,\n getHeatingHotWaterCase,\n getDeterminedContractorDetails,\n saveAssetId,\n saveCustomerDetails,\n savePreviousPage,\n saveSupplimentaryCodes\n} from \"../../ducks/redux/actions/getAddress\";\nimport { BalanceType } from \"../../models/Accounts/BalanceType\";\nimport AccountDetails, {\n TransactDeatils,\n} from \"../../models/Accounts/AccountDetails\";\nimport LoadingSpinner from \"../../storybook/LoadingSpinner\";\nimport { trackEvent, trackException } from \"../../appInsights/TelemetryService\";\nimport { v4 } from \"uuid\";\nimport {\n userChosenPropertyId,\n userChosenPropertyType,\n userChosenPropertyAddress,\n userChosenRepairLocationId,\n userChosenRepairLocation,\n userChosenHighLevelDescription,\n userChosenSupplementaryQuestions,\n userChosenEmergencyQuestion,\n userChosenDuplicateQuestion,\n userChosenAdditionalDescription,\n userChosenVandalismQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenCovidQuestion,\n userChosenVulnerabilityQuestion,\n userChosenVulnerabilityAdditionalInformation,\n userChosenContactDetails,\n userChosenUPRN,\n userChosenSOR,\n userChosenSTATUS,\n userChosenEligibilityErrorCode,\n loginTime,\n loginStatus,\n initialLoginTime,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n userProfileETag,\n userProfileData,\n resumeDraftRepair,\n userChosenIsReporter,\n userChosenIsError,\n myMessageData,\n userChosenResumeRepair,\n loadDuplicateRepairPage,\n userCreatedNewRepair,\n getAllAssetIdentifiers,\n validateCatalystCustomer,\n validateCatalystDisabledArea,\n catalystWorkOrderToggleValue,\n clearMediaFiles,\n selectedTabValue,\n showMenuTabs,\n showFooter,\n getBlockIdentifier,\n assetRegion,\n userNavigatedFrom,\n userChosenAccountNumber,\n validateCaseCatalystToggle,\n boroughName,\n selectedTenancyGroup,\n isMyPbRepairsMaintainence,\n userGetRepairData,\n setWorkOrderApiFailureMessage\n} from \"../../ducks/redux/actions/userChoices\";\nimport { RepairChannel } from \"../../models/Repair/RepairChannel\";\nimport { defaultSearchArea, defaultSearchRepairStatus, defaultSearchSortByOrder, repairDefaultAssocitaedAsset, repairHistoryData, repairSearchTerm } from \"../../ducks/redux/actions/historicRepair\";\nimport MyMessagesCard from \"../MyMessages/MyMessagesCard\";\nimport CaseCard from \"../Cases/CaseCard\";\nimport { CASE_SELECTED_TENANCY } from \"../../ducks/redux/actionTypes\";\nimport { clearReferralInformation, comingFromCaseJourneySuccess, comingFromRepairJourneySuccess, saveSelectedSlotDate, setTriageRepair } from \"../../ducks/redux/actions/FinancialReferral\";\nimport {\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n} from \"../../ducks/redux/actionTypes\";\nimport HighRise from \"../HighRise\";\nimport Message from \"../../storybook/Message\"\nimport Button from \"../../storybook/Button\";\nimport SuccessMessage from \"../SuccessMessage\";\n\nenum UserNavigatedStreams {\n CaseFinalConfirmation = \"CaseFinalConfirmation\",\n};\n\ninterface Customer360ViewProps extends RouteComponentProps { }\nconst Customer360View: React.FC = (props) => {\n const dispatch = useDispatch();\n const history = useHistory();\n const { t } = useTranslation();\n const [isLoading, setIsLoading] = React.useState(true);\n const [isAccount, setIsAccount] = React.useState(false);\n const [isVisible, setIsVisible] = React.useState(\"none\");\n const [balanceCss, setBalanceCss] = React.useState(\"color-black pb-20\")\n const [isArrear, setIsArrear] = React.useState(false)\n\n let assetBlockPropertyIds: any = [];\n const [financialReferralToggle, setFinancialReferralToggle] = useState(\"true\")\n\n enum TenancyTypeMappingEnum {\n AGENCY = \"AGENCY\",\n COM1 = \"COM1\",\n HMBY2010 = \"HMBY2010\",\n OFFICE = \"OFFICE\",\n USENOCCU = \"USENOCCU\",\n }\n const RepairBlockMap = {\n Property: \" property\",\n \"Divided block\": \" block\",\n Block: \" block\",\n Estate: \" estate\",\n };\n const [defaultAssociatedAsset, setDefaultAssociatedAsset] = useState(\"\");\n const [area, setArea] = useState(false);\n const [isCustInfo, setIsCustInfo] = useState(false);\n const customerIdValue = useSelector(\n (state: any) => state.addresses?.customerid\n );\n const blockAssetId = useSelector((state: any) => state.userChoicesReducer?.blockIdentifier);\n const array: Repair[] = [];\n const [custResponse, setCustResponse] = useState();\n const [customerContact, setCustomerContact] = useState();\n const [accountDetails, setAccountDetails] = useState();\n const arrayArea: Array<{ key: string; value: string }> = [];\n const [associatedAssetList, setAssociatedAssetsList] = useState(arrayArea);\n const [showMyMessages, setShowMyMessages] = useState();\n const [catalystCustomer, setCatalystCustomer] = useState(false);\n const [catalystCaseCardToggle, setCatalystCaseCardToggle] = useState(\"false\");\n const [catalystWorkOrderToggle, setCatalystWorkOrderToggle] =\n React.useState(\"false\");\n const [catalystRepairDisabledAreas, setCatalystRepairDisabledAreas] = useState(false);\n const [isUserRegistered, setIsUserRegistered] = useState(false);\n const [isRepairsCardError, setIsRepairsCardError] = useState(false);\n\n const isCatalyst = useSelector(\n (state: any) => state.userChoicesReducer?.isCatalystCustomer\n );\n\n const [assetIdentifiersAll, setassetIdentifiersAll] = useState(\"\");\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n let PropertyId = useSelector(\n (state: any) => state.userChoicesReducer?.userChosenPropertyId\n );\n\n let userNavigatedStream = useSelector(\n (state: any) => state.userChoicesReducer?.userNavigatedFrom\n );\n\n const [navigatedFromStream, setNavigatedFromStream] = useState(userNavigatedStream);\n\n\n\n const [assetProperty, setAssetProperty] = useState(PropertyId);\n\n const queryStringSearch = useLocation().search;\n\n const appConfigValue = useSelector(\n (state: any) => state?.addresses?.toggleValue\n );\n\n const appCaseCardconfigValue = useSelector(\n (state: any) => state?.addresses?.caseCardtoggleValue\n )\n\n const isMyPBMaintenance = useSelector(\n (state: any) => state?.userChoicesReducer?.isMyPbRepairsMaintainence\n );\n\n const customerDetails: CustomerResponse = useSelector(\n (state: any) => state.addresses.saveCustomerDetails\n );\n\n const isMobile = detectMobile();\n\n const getFinancialReferralToggleValue = async () => {\n try {\n const response = await api.GetAppConfigToggleValue(\"IsMyPeabodyCatalystFinancialEnquiry\");\n setFinancialReferralToggle(response.value)\n } catch (e) {\n console.error(e);\n dispatch(showMenuTabs(false));\n dispatch(savePreviousPage(props.location.pathname));\n props.history.push('/customerApiErrorPage');\n }\n }\n\n const getCaseCardRequiredToggle = async () => {\n try {\n const response = await api.GetAppConfigToggleValue(\n \"mypeabodycatalystcases\"\n );\n setCatalystCaseCardToggle(response?.value);\n dispatch(validateCaseCatalystToggle(response?.value))\n } catch (e: any) {\n console.log(e);\n }\n };\n\n const getWorkOrderRequiredToggle = async () => {\n try {\n const response = await api.GetAppConfigToggleValue(\n \"mypeabodycatalystworkorders\"\n );\n setCatalystWorkOrderToggle(response?.value);\n dispatch(catalystWorkOrderToggleValue(response?.value));\n } catch (e: any) {\n console.log(e);\n }\n };\n\n\n const [repairList, setRepairList] = useState(array);\n\n let newAssociatedAssets: any[] = [];\n const customerIdentifierModel = new CustomerIdentifierModel();\n\n useEffect(() => {\n if (navigatedFromStream === UserNavigatedStreams.CaseFinalConfirmation) {\n window.scrollTo(0, document.body.scrollHeight);\n }\n })\n\n useEffect(() => {\n setIsLoading(true)\n let timerId: any;\n (async () => {\n trackEvent(\"Customer360View\");\n dispatch(showMenuTabs(true));\n dispatch(showFooter(true));\n dispatch(selectedTabValue(\"home\"))\n clearReduxStore();\n try {\n const paramError =\n new URLSearchParams(queryStringSearch).get(\"error\") || \"\";\n if (paramError === \"access_denied\" || paramError === \"server_error\") {\n const paramResetPassword =\n new URLSearchParams(queryStringSearch).get(\"state\") || \"\";\n const paramError =\n new URLSearchParams(queryStringSearch).get(\"error_description\") ||\n \"\";\n const _customerId = localStorage.getItem(\"customerId\") || \"\";\n\n let error = \"AADB2C99002\";\n if (paramError.includes(error)) {\n dispatch(userChosenIsError(true));\n dispatch(showMenuTabs(false));\n dispatch(savePreviousPage(props.location.pathname));\n props.history.push('/customerApiErrorPage');\n return;\n }\n if (\n !isUndefinedNullOrEmpty(_customerId) &&\n paramResetPassword === \"changepassword\"\n ) {\n customerIdentifierModel.customerId = _customerId;\n dispatch(updateDashboardForm(_customerId));\n dispatch(getCustomerId(_customerId));\n dispatch(loginStatus(true));\n getCustomer360DetailsBind(_customerId);\n history.push(\"/customer360View\");\n } else {\n history.push(\"/startpage\");\n return;\n }\n }\n if (\n isUndefinedNullOrEmpty(loggedInStatus) &&\n paramError != \"access_denied\" &&\n paramError != \"server_error\"\n ) {\n const authCode =\n new URLSearchParams(queryStringSearch).get(\"code\") || \"\";\n if (!isUndefinedNullOrEmpty(authCode)) {\n dispatch(showMenuTabs(true));\n dispatch(showFooter(true));\n try {\n localStorage.setItem(\"corelationId\", v4());\n localStorage.setItem(\"sessionId\", v4());\n\n if (authCode === \"signout\") {\n return;\n }\n let responseData: string = \"\";\n const state =\n new URLSearchParams(queryStringSearch).get(\"state\") || \"\";\n if (state === \"changepassword\") {\n responseData = await api.GetCustomerId(\n authCode,\n \"changepassword\"\n );\n } else if (state === \"registration\") {\n setIsUserRegistered(true);\n responseData = await api.GetCustomerId(\n authCode,\n \"registration\"\n );\n } else {\n responseData = await api.GetCustomerId(authCode, \"login\");\n }\n Promise.all([responseData]).then(async (responseResults) => {\n if (responseResults[0]) {\n const utcLogintime = new Date().toISOString();\n if (isUndefinedNullOrEmpty(responseResults[0])) {\n dispatch(loginStatus(false));\n return;\n }\n customerIdentifierModel.customerId = responseResults[0];\n dispatch(loginTime(utcLogintime));\n dispatch(initialLoginTime(utcLogintime));\n dispatch(\n updateDashboardForm(customerIdentifierModel?.customerId)\n );\n dispatch(getCustomerId(customerIdentifierModel.customerId));\n dispatch(loginStatus(true));\n localStorage.setItem(\n \"customerId\",\n customerIdentifierModel?.customerId\n );\n dispatch(workOrderRepairObject(null));\n getCustomer360DetailsBind(customerIdentifierModel.customerId);\n }\n });\n } catch (e: any) {\n const _channel = process.env.REACT_APP_X_CHANNEL_IDENTIFIER;\n const _customerId = localStorage.getItem(\"customerId\") || \"\";\n const _corelationId = localStorage.getItem(\"corelationId\") || \"\";\n const _sessionId = localStorage.getItem(\"sessionId\") || \"\";\n trackException(\n e,\n _channel,\n _customerId,\n _corelationId,\n _sessionId\n );\n console.error(e);\n dispatch(showMenuTabs(false));\n dispatch(savePreviousPage(props.location.pathname));\n props.history.push('/customerApiErrorPage');\n }\n }\n else {\n props.history.push(\"/startpage\");\n }\n } else {\n if (loggedInStatus && !isUndefinedNullOrEmpty(customerIdValue)) {\n getCustomer360DetailsBind(customerIdValue);\n dispatch(workOrderRepairObject(null));\n }\n }\n } catch (e) {\n console.error(e);\n dispatch(showMenuTabs(false));\n dispatch(savePreviousPage(props.location.pathname));\n props.history.push('/customerApiErrorPage');\n }\n })();\n dispatch(userNavigatedFrom(\"\"));\n return () => {\n clearTimeout(timerId);\n };\n }, []);\n\n useEffect(() => {\n dispatch(workOrderRepairObject(null));\n dispatch(userChosenResumeRepair(false));\n dispatch(resumeDraftRepair(false));\n dispatch(loadDuplicateRepairPage(false));\n dispatch(userCreatedNewRepair(null));\n dispatch(repairDefaultAssocitaedAsset(null));\n if (isCatalyst !== undefined) {\n setCatalystCustomer(isCatalyst)\n }\n let timer = setTimeout(() => {\n getCaseCardRequiredToggle();\n getWorkOrderRequiredToggle();\n getFinancialReferralToggleValue();\n }, 4000);\n return () => {\n clearTimeout(timer);\n };\n }, []);\n\n\n\n const handleChangeAssociate = (e: { target: { value: any } }) => {\n setDefaultAssociatedAsset(e.target.value);\n dispatch(userChosenPropertyId(e.target.value));\n setAssetProperty(e.target.value);\n fetchGetRepairsData(e.target.value);\n checkforLandlordValues(e.target.value);\n };\n\n const checkforLandlordValues = async (assetId: string) => {\n let isCatalystRegistrationAreas = false;\n const assetrResponse = await api.getAssetsByid(assetId);\n\n const appConfigLandlordValues = await api.GetAppConfigToggleValue(\n \"LandlordValues\"\n );\n\n const appCatalystRepairDisabledAreasValues = await api.GetAppConfigToggleValue(\n \"CatalystRepairDisabledAreas\"\n );\n\n const appCatalystRegistrationAreasValues = await api.GetAppConfigToggleValue(\n \"CatalystRegistrationAreas\"\n );\n dispatch(assetRegion(assetrResponse?.region));\n dispatch(boroughName(assetrResponse?.borough));\n if (!isUndefinedNullOrEmpty(assetrResponse?.region) && appCatalystRegistrationAreasValues.value.toLowerCase().includes(assetrResponse?.region.toLowerCase())) {\n isCatalystRegistrationAreas = true;\n }\n\n let appconfigLandlordValues = appConfigLandlordValues?.value;\n let associatesdata;\n try {\n associatesdata = await api.getCaseAssetAssociate(assetId);\n let currentLandlord =\n associatesdata?.associates?.landLord?.organisation?.name;\n let previousLandLord =\n associatesdata?.associates?.previousLandLord?.organisation?.name;\n if (isCatalystRegistrationAreas && (\n appconfigLandlordValues.includes(currentLandlord) ||\n appconfigLandlordValues.includes(previousLandLord))\n ) {\n const isCatalystDisabledArea = !isUndefinedNullOrEmpty(assetrResponse?.region) && appCatalystRepairDisabledAreasValues.value.toLowerCase().includes(assetrResponse?.region.toLowerCase());\n setCatalystRepairDisabledAreas(isCatalystDisabledArea);\n setCatalystCustomer(true);\n dispatch(validateCatalystCustomer(true));\n dispatch(validateCatalystDisabledArea(isCatalystDisabledArea));\n } else {\n setCatalystCustomer(false);\n dispatch(validateCatalystCustomer(false));\n dispatch(validateCatalystDisabledArea(false));\n }\n } catch (e: any) {\n console.log(e);\n }\n\n\n };\n\n const handleChangeOnBack = (e: any) => {\n setDefaultAssociatedAsset(e);\n dispatch(userChosenPropertyId(e));\n setAssetProperty(e);\n fetchGetRepairsData(e);\n };\n\n const getCustomer360DetailsBind = (customerId: string) => {\n (async () => {\n try {\n if (customerId !== null && customerId !== undefined) {\n let customerResponse = new CustomerResponse();\n if (isNullOrUndefined(customerDetails)) {\n customerResponse = await api.getCustomer(customerId);\n }\n else {\n customerResponse = customerDetails;\n }\n dispatch(saveCustomerDetails(customerResponse));\n localStorage.setItem(\"external-identifier\", customerResponse?.[\"external-identifier\"]);\n const customerContactParamsEntry: Customer = new Customer();\n customerContactParamsEntry.workPhone =\n customerResponse?.addresses.telecomsAddresses.find(\n (a) => a.telecomsAddressType === \"workPhone\"\n )?.number || \"\";\n customerContactParamsEntry.mobilePhone =\n customerResponse?.addresses.telecomsAddresses.find(\n (a) => a.telecomsAddressType === \"mobilePhone\"\n )?.number || \"\";\n customerContactParamsEntry.homePhone =\n customerResponse?.addresses.telecomsAddresses.find(\n (a) => a.telecomsAddressType === \"homePhone\"\n )?.number || \"\";\n customerContactParamsEntry.email =\n customerResponse?.addresses.digitalAddresses.find(\n (a) => a.digitalAddressType === \"email\"\n )?.address || \"\";\n\n if (\n customerContactParamsEntry.mobilePhone == \"\" ||\n customerResponse?.person.name.givenName == \"\" ||\n customerContactParamsEntry.email == \"\"\n ) {\n setIsCustInfo(true);\n } else {\n setIsCustInfo(false);\n }\n setCustomerContact(customerContactParamsEntry);\n setCustResponse(customerResponse);\n dispatch(userProfileETag(customerResponse?.eTag));\n dispatch(\n userProfileData({ customerResponse, customerContactParamsEntry })\n );\n dispatch(\n saveCustomerphoneNumber(customerResponse.addresses.telecomsAddresses)\n );\n\n const tenancyResponse = await api.getTenancies(customerId);\n const activeTenanciesSummaries =\n customerResponse?.tenanciesSummaries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find(\n (s) => s.type === \"isTenancyActive\"\n )?.value === true\n );\n\n const tenancySummaryList: TenancySummary[] = [];\n if (tenancyResponse.length > 1) {\n tenancyResponse.map((ts: any) => {\n let tenancySummaryEntry: TenancySummary[] =\n activeTenanciesSummaries.filter(\n (x) => x.tenancySummary.tenancyId === ts.tenancyIdentifier\n );\n\n if (tenancySummaryEntry.length > 0) {\n if (\n ts.tenancyGroup != \"Non-residential\" &&\n ts.tenancyGroup != \"Commercial\"\n ) {\n tenancySummaryList.unshift(tenancySummaryEntry[0]);\n } else {\n tenancySummaryList.push(tenancySummaryEntry[0]);\n }\n }\n });\n } else {\n tenancySummaryList.push(activeTenanciesSummaries[0]);\n }\n const tenancyType =\n tenancySummaryList[0]?.tenancySummary?.tenancyType;\n if (tenancyType) {\n if (\n tenancyType == TenancyTypeMappingEnum.AGENCY ||\n tenancyType == TenancyTypeMappingEnum.COM1 ||\n tenancyType == TenancyTypeMappingEnum.HMBY2010 ||\n tenancyType == TenancyTypeMappingEnum.OFFICE ||\n tenancyType == TenancyTypeMappingEnum.USENOCCU\n ) {\n setIsVisible(\"none\");\n } else {\n setIsVisible(\"block\");\n }\n }\n\n if (tenancySummaryList.length > 0) {\n let accountid =\n tenancySummaryList[0]?.tenancySummary?.paymentReference;\n\n if (accountid != null) {\n dispatch(userChosenAccountNumber(accountid));\n getAccountDetails(accountid);\n }\n }\n const activeTenanciesPremisesIds: Tenancies[] = tenancySummaryList\n .map((ts: any) => ts.tenancySummary.premisesIds)\n .flat();\n dispatch(saveAssetId(activeTenanciesPremisesIds[0]))\n const propertiesIds: string[] = [];\n const premisesList: RelatedPremisesType[] = [];\n try {\n const promises = activeTenanciesPremisesIds.map(async (item: any) => {\n return await api.getAssociatedAssets(item);\n });\n Promise.all(promises).then((results) => {\n activeTenanciesPremisesIds?.map(async (assetId: any) => {\n results.forEach((element) => {\n const resultF = element.filter(\n (addressData) => addressData.id === assetId\n );\n\n if (resultF !== null) newAssociatedAssets.push(resultF);\n });\n });\n const associatedAssetsList: AssocitaedAssetsType[] = [];\n newAssociatedAssets?.map((addressData: any) => {\n addressData?.map((address: any) => {\n const associatedAssetsTypeEntry: AssocitaedAssetsType =\n new AssocitaedAssetsType();\n\n associatedAssetsTypeEntry.key = address?.id;\n associatedAssetsTypeEntry.value =\n address?.addresses?.postalAddresses[0]?.formattedAddress;\n associatedAssetsList.push(associatedAssetsTypeEntry);\n\n });\n });\n if (associatedAssetsList.length > 1) {\n setArea(true);\n } else {\n setArea(false);\n }\n // associatedAssetsList[0] will always be the default first selected tenency asset belonging to the customer\n handleChangeOnBack(associatedAssetsList[0].key)\n setDefaultAssociatedAsset(associatedAssetsList[0].key);\n dispatch(userChosenPropertyId(associatedAssetsList[0].key));\n setAssetProperty(associatedAssetsList[0].key);\n\n setAssociatedAssetsList(associatedAssetsList);\n checkforLandlordValues(associatedAssetsList[0]?.key);\n });\n } catch (e) {\n console.error(e);\n setDefaultAssociatedAsset('');\n }\n\n const myMessagesResponse = await api.GetAppConfigToggleValue(\n \"IsMyMessagesRequired\"\n );\n if (myMessagesResponse) {\n setShowMyMessages(myMessagesResponse?.value);\n }\n\n const isCaseCardRequired = await api.GetAppConfigToggleValue(\"IsCaseCardRequired\");\n\n if (isCaseCardRequired) {\n dispatch(appConfigCaseCardToggle(isCaseCardRequired?.value));\n }\n\n\n const responseValue = await api.GetAppConfigToggleValue(\n \"IsRepairFullDescriptionRequired\"\n );\n if (responseValue) {\n dispatch(appConfigToggle(responseValue?.value));\n }\n\n const covidResponseToggle = await api.GetAppConfigToggleValue(\n \"isCovidQuestionRequired\"\n );\n if (covidResponseToggle) {\n dispatch(appConfigCovidToggle(covidResponseToggle?.value));\n }\n\n const getvandalismToggleConfig = await api.GetAppConfigToggleValue(\n \"isVandalismQuestionRequired\"\n )\n if (getvandalismToggleConfig) {\n let vandalismToggleValue: boolean = getvandalismToggleConfig?.value.toLowerCase() == 'true' ? true : false\n dispatch(appConfigVandalismToggle(vandalismToggleValue));\n }\n\n const status =\n RepairStatusField.Appointed +\n \",\" +\n RepairStatusField.PendingApproval +\n \",\" +\n RepairStatusField.OnHold +\n \",\" +\n RepairStatusField.Cancelled +\n \",\" +\n RepairStatusField.Completed +\n \",\" +\n RepairStatusField.Unappointed +\n \",\" +\n RepairStatusField.InProgress +\n \",\" +\n RepairStatusField.InDiagnosis +\n \",\" +\n RepairStatusField.ReportedToEMA +\n \",\" +\n RepairStatusField.CatalystTier2Triage +\n \",\" +\n RepairStatusField.CatalystEMATriage +\n \",\" +\n RepairStatusField.CatalystDefectTriage;\n dispatch(\n userChosenPropertyId(\n tenancySummaryList[0]?.tenancySummary?.premisesIds[0]\n )\n );\n\n setAssetProperty(tenancySummaryList[0]?.tenancySummary?.premisesIds[0]);\n try {\n const associatedAssets = await api.getAssociatedAssets(\n tenancySummaryList[0]?.tenancySummary?.premisesIds[0]\n );\n associatedAssets.forEach((element) => {\n const premisesEntry: RelatedPremisesType =\n new RelatedPremisesType();\n premisesEntry.premisesType = element.assetType as PremisesType;\n premisesEntry.premisesTypeId = element.id;\n premisesList.push(premisesEntry);\n propertiesIds.push(element.id);\n });\n const areaOptions = premisesList.map((f) => ({\n key: f.premisesType,\n value: f.premisesTypeId,\n }));\n\n areaOptions.forEach((element) => {\n if (element.key === \"Property\" || element.key === \"Block\") {\n assetBlockPropertyIds.push(element.value);\n }\n if (element.key === \"Block\") {\n dispatch(getBlockIdentifier(element.value))\n }\n });\n\n let assetIDsIntTxt = \"assetIdentifiers=\";\n let assetIDsRemTxt = assetBlockPropertyIds.join(\"&assetIdentifiers=\");\n let assetIDsAll = assetIDsIntTxt.concat(assetIDsRemTxt);\n setassetIdentifiersAll(assetIDsAll);\n dispatch(getAllAssetIdentifiers(assetIDsAll));\n } catch (e) {\n console.error(e);\n setDefaultAssociatedAsset('');\n }\n\n let tenancyStartDate =\n tenancySummaryList[0]?.tenancySummary?.tenancyStartDate;\n if (tenancyStartDate == undefined) {\n tenancyStartDate = \"\";\n }\n const newList: RelatedPremisesType[] = premisesList.filter(\n (item) => item.premisesType === PremisesType.Property\n );\n try {\n if (newList.length > 0) {\n const queryParamsFirst = {\n propertiesIds: propertiesIds.filter(\n (item) => item === newList[0].premisesTypeId\n ),\n orderBy: \"raisedDate desc\",\n raisedSince: tenancyStartDate,\n priority: \"\",\n status,\n limit: 1,\n };\n const worksOrdersRepairFirst = await api.getWorksOrdersApi(\n queryParamsFirst\n );\n\n const queryParamsSecond = {\n propertiesIds: propertiesIds.filter(\n (item) => item !== newList[0].premisesTypeId\n ),\n orderBy: \"raisedDate desc\",\n raisedSince: tenancyStartDate,\n priority: \"\",\n status,\n limit: 1,\n };\n if (queryParamsSecond.propertiesIds.length > 0) {\n const worksOrdersRepairSecond = await api.getWorksOrdersApi(\n queryParamsSecond\n );\n\n if (worksOrdersRepairFirst.totalCount > 0) {\n worksOrdersRepairSecond.worksOrders.push(\n worksOrdersRepairFirst.worksOrders[0]\n );\n }\n Promise.all([worksOrdersRepairSecond]).then((results) => {\n results.map((items) => {\n const data = new RepairsResponse(items);\n\n setRepairList(data.models);\n });\n });\n }\n else {\n Promise.all([worksOrdersRepairFirst]).then((results) => {\n results.map((items) => {\n const data = new RepairsResponse(items);\n\n setRepairList(data.models);\n });\n });\n }\n } else {\n const queryParams = {\n propertiesIds,\n orderBy: \"raisedDate desc\",\n raisedSince: tenancyStartDate,\n priority: \"\",\n status,\n limit: 1,\n };\n const worksOrdersRepair = await api.getWorksOrdersApi(queryParams);\n Promise.all([worksOrdersRepair]).then((results) => {\n results.map((items) => {\n const data = new RepairsResponse(items);\n setRepairList(data.models);\n });\n });\n }\n }\n catch (e) {\n console.error(e);\n setIsRepairsCardError(true);\n }\n }\n } catch (e) {\n console.error(e);\n dispatch(showMenuTabs(false));\n dispatch(savePreviousPage(props.location.pathname));\n props.history.push('/customerApiErrorPage');\n }\n })();\n };\n\n const getAccountDetails = (accountid: string) => {\n (async () => {\n try {\n if (accountid != null) {\n const accountBalance = await api.getAccount(accountid);\n if (accountBalance != null) {\n const accountDetails: AccountDetails = new AccountDetails();\n const transactDetails: TransactDeatils = new TransactDeatils();\n\n accountBalance[\"balance\"].forEach((balance: any) => {\n if (balance[\"balance-type\"] == BalanceType.Livebalanced) {\n let liveBalanced = balance[\"monetary-amount\"][\"value\"];\n const i = parseInt(liveBalanced);\n\n accountDetails.LiveBalanceType =\n i != null ? (i > 0 ? \" in arrears\" : \" in credit\") : \"\";\n\n let number =\n liveBalanced != null\n ? Math.abs(liveBalanced.toString().replace(/,/g, \"\"))\n : 0.0;\n accountDetails.LiveBalance = number.toFixed(2);\n if (liveBalanced == 0) {\n accountDetails.LiveBalanceType = \"\";\n }\n if (i != null && i > 0) {\n setIsArrear(true)\n setBalanceCss(\"error-color pb-20\")\n }\n else {\n setIsArrear(false)\n setBalanceCss(\"color-black pb-20\")\n }\n }\n });\n const transactions = await api.getTransactionsSearch(\n accountid,\n 3,\n 0,\n \"\",\n \"\",\n \"\"\n );\n const getTransactionList = transactions.transactions;\n const firstBalance = getTransactionList[0]?.amount.net.value;\n const paymentCode = getTransactionList[0]?.[\"payment-code\"];\n const transactionDate =\n getTransactionList[0]?.dates[\"transaction-date\"];\n const secondBalance = getTransactionList[1]?.amount.net.value;\n const secondPaymentCode = getTransactionList[1]?.[\"payment-code\"];\n const secondTransactionDate =\n getTransactionList[1]?.dates[\"transaction-date\"];\n const thirdBalance = getTransactionList[2]?.amount.net.value;\n const thirdPaymentCode = getTransactionList[2]?.[\"payment-code\"];\n const thirdTransactionDate =\n getTransactionList[2]?.dates[\"transaction-date\"];\n\n transactDetails.LiveBalance =\n firstBalance != null\n ? firstBalance < 0\n ? Math.abs(firstBalance)\n : firstBalance\n : 0.0;\n transactDetails.transactiondate = transactionDate;\n transactDetails.TransactionBalanceType =\n paymentCode != null\n ? paymentCode == \"DR\"\n ? \"Debit\"\n : \"Credit\"\n : \"\";\n transactDetails.LiveBalanceType =\n paymentCode != null\n ? paymentCode != \"DR\"\n ? \"Payment received\"\n : \"Charge applied\"\n : \"\";\n if (firstBalance == 0) {\n transactDetails.TransactionBalanceType = \"\";\n transactDetails.LiveBalanceType = \"\";\n }\n accountDetails.transactDeatils.push(transactDetails);\n const transactDeatils1: TransactDeatils = new TransactDeatils();\n transactDeatils1.LiveBalance =\n secondBalance != null\n ? secondBalance < 0\n ? Math.abs(secondBalance)\n : secondBalance\n : 0.0;\n transactDeatils1.transactiondate = secondTransactionDate;\n transactDeatils1.TransactionBalanceType =\n secondPaymentCode != null\n ? secondPaymentCode == \"DR\"\n ? \"Debit\"\n : \"Credit\"\n : \"\";\n transactDeatils1.LiveBalanceType =\n secondPaymentCode != null\n ? secondPaymentCode != \"DR\"\n ? \"Payment received\"\n : \"Charge applied\"\n : \"\";\n if (secondBalance == 0) {\n transactDeatils1.TransactionBalanceType = \"\";\n transactDeatils1.LiveBalanceType = \"\";\n }\n accountDetails.transactDeatils.push(transactDeatils1);\n const transactDeatils2: TransactDeatils = new TransactDeatils();\n transactDeatils2.LiveBalance =\n thirdBalance != null\n ? thirdBalance < 0\n ? Math.abs(thirdBalance)\n : thirdBalance\n : 0.0;\n transactDeatils2.transactiondate = thirdTransactionDate;\n transactDeatils2.TransactionBalanceType =\n thirdPaymentCode != null\n ? thirdPaymentCode == \"DR\"\n ? \"Debit\"\n : \"Credit\"\n : \"\";\n transactDeatils2.LiveBalanceType =\n thirdPaymentCode != null\n ? thirdPaymentCode != \"DR\"\n ? \"Payment received\"\n : \"Charge applied\"\n : \"\";\n if (thirdBalance == 0) {\n transactDeatils2.TransactionBalanceType = \"\";\n transactDeatils2.LiveBalanceType = \"\";\n }\n accountDetails.transactDeatils.push(transactDeatils2);\n setAccountDetails(accountDetails);\n setIsAccount(true);\n setIsLoading(false)\n\n } else {\n setIsAccount(false);\n }\n }\n } catch (e) {\n setIsAccount(false);\n setIsLoading(false)\n console.error(e);\n }\n })();\n };\n\n const fetchGetRepairsData = (defaultAssociatedAsset: string) => {\n let status =\n RepairStatusField.Appointed +\n \",\" +\n RepairStatusField.PendingApproval +\n \",\" +\n RepairStatusField.OnHold +\n \",\" +\n RepairStatusField.Cancelled +\n \",\" +\n RepairStatusField.Completed +\n \",\" +\n RepairStatusField.Unappointed +\n \",\" +\n RepairStatusField.InProgress +\n \",\" +\n RepairStatusField.InDiagnosis +\n \",\" +\n RepairStatusField.ReportedToEMA;\n\n (async () => {\n try {\n const propertiesIds: string[] = [];\n const premisesList: RelatedPremisesType[] = [];\n\n const AssetList = await api.getAssociatedAssets(defaultAssociatedAsset);\n dispatch({ type: CASE_SELECTED_TENANCY, payload: AssetList });\n AssetList.forEach((element) => {\n const premisesEntry: RelatedPremisesType = new RelatedPremisesType();\n premisesEntry.premisesType = element.assetType as PremisesType;\n premisesEntry.premisesTypeId = element.id;\n premisesList.push(premisesEntry);\n propertiesIds.push(element.id);\n });\n let tenancyStartDate = \"\";\n const activeTenanciesSummaries =\n custResponse?.tenanciesSummaries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find(\n (s) => s.type === \"isTenancyActive\"\n )?.value === true\n );\n\n if (\n activeTenanciesSummaries != undefined &&\n activeTenanciesSummaries != null\n ) {\n let TenancySummaryEntry = activeTenanciesSummaries.find(\n (st) => st.tenancySummary.premisesIds[0] === defaultAssociatedAsset\n );\n\n if (TenancySummaryEntry != undefined && TenancySummaryEntry != null) {\n let paymentReference =\n TenancySummaryEntry?.tenancySummary?.paymentReference;\n if (paymentReference != undefined && paymentReference != null) {\n getAccountDetails(paymentReference);\n }\n if (TenancySummaryEntry?.tenancySummary.tenancyStartDate != null) {\n tenancyStartDate =\n TenancySummaryEntry?.tenancySummary.tenancyStartDate;\n }\n }\n\n const tenancyType =\n activeTenanciesSummaries[0]?.tenancySummary?.tenancyType;\n if (tenancyType) {\n if (\n tenancyType == TenancyTypeMappingEnum.AGENCY ||\n tenancyType == TenancyTypeMappingEnum.COM1 ||\n tenancyType == TenancyTypeMappingEnum.HMBY2010 ||\n tenancyType == TenancyTypeMappingEnum.OFFICE ||\n tenancyType == TenancyTypeMappingEnum.USENOCCU\n ) {\n setIsVisible(\"none\");\n } else {\n setIsVisible(\"block\");\n }\n }\n }\n const newList: RelatedPremisesType[] = premisesList.filter(\n (item) => item.premisesType === PremisesType.Property\n );\n try {\n if (newList.length > 0) {\n const queryParamsFirst = {\n propertiesIds: propertiesIds.filter(\n (item) => item === newList[0].premisesTypeId\n ),\n orderBy: \"raisedDate desc\",\n raisedSince: tenancyStartDate,\n priority: \"\",\n status,\n limit: 1,\n };\n const worksOrdersRepairFirst = await api.getWorksOrdersApi(\n queryParamsFirst\n );\n const queryParamssecond = {\n propertiesIds: propertiesIds.filter(\n (item) => item !== newList[0].premisesTypeId\n ),\n orderBy: \"raisedDate desc\",\n raisedSince: tenancyStartDate,\n priority: \"\",\n status,\n limit: 1,\n };\n if (queryParamssecond.propertiesIds.length > 0) {\n const worksOrdersRepairSecond = await api.getWorksOrdersApi(\n queryParamssecond\n );\n if (worksOrdersRepairFirst.totalCount > 0) {\n worksOrdersRepairSecond.worksOrders.push(\n worksOrdersRepairFirst.worksOrders[0]\n );\n }\n Promise.all([worksOrdersRepairSecond]).then((results) => {\n results.map((items) => {\n const data = new RepairsResponse(items);\n setRepairList(data.models);\n });\n });\n }\n else {\n Promise.all([worksOrdersRepairFirst]).then((results) => {\n results.map((items) => {\n const data = new RepairsResponse(items);\n setRepairList(data.models);\n });\n });\n }\n } else {\n const queryParams = {\n propertiesIds,\n orderBy: \"raisedDate desc\",\n raisedSince: tenancyStartDate,\n priority: \"\",\n description: \"\",\n status,\n limit: 1,\n };\n const worksOrdersRepair = await api.getWorksOrdersApi(queryParams);\n Promise.all([worksOrdersRepair]).then((results) => {\n results.map((items) => {\n const data = new RepairsResponse(items);\n setRepairList(data.models);\n });\n });\n }\n }\n catch (e) {\n console.error(e);\n setIsLoading(false)\n setIsRepairsCardError(true);\n }\n } catch (e) {\n console.error(e);\n setDefaultAssociatedAsset('');\n }\n })();\n };\n\n const callViewAccountHandler = async () => {\n dispatch(selectedTabValue(\"viewaccount\"))\n dispatch(userNavigatedFrom(\"\"));\n props.history.push(\"/viewaccount\");\n };\n\n const manageProfileHandler = () => {\n dispatch(selectedTabValue(\"manageprofile\"));\n dispatch(userNavigatedFrom(\"\"));\n props.history.push(\"/manageprofile\");\n };\n\n const callPageHandler = async () => {\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n dispatch(userNavigatedFrom(\"\"));\n dispatch(workOrderRepairObject(null));\n dispatch(getDeterminedContractorDetails(null));\n props.history.push(\"/repairproperty\");\n };\n const callHistoricRepairsPageHandler = () => {\n dispatch(workOrderRepairObject(null));\n dispatch(userNavigatedFrom(\"\"));\n dispatch(selectedTabValue(\"historicRepairs\"))\n props.history.push(\"/historicRepairs\");\n };\n const clearReduxStore = () => {\n dispatch(workOrderRepairObject(null));\n dispatch(userChosenPropertyId(\"\"));\n dispatch(userChosenPropertyType(\"\"));\n dispatch(userChosenPropertyAddress(\"\"));\n dispatch(userChosenRepairLocationId(0));\n dispatch(userChosenRepairLocation(\"\"));\n dispatch(userChosenUPRN(\"\"));\n dispatch(userChosenSOR(\"\"));\n dispatch(userChosenSTATUS(\"\"));\n dispatch(userChosenEligibilityErrorCode(\"\"));\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(userChosenIsReporter(false));\n dispatch(userChosenIsError(false));\n dispatch(repairHistoryData(\"\"));\n dispatch(repairSearchTerm(\"\"));\n dispatch(defaultSearchRepairStatus(\"\"));\n dispatch(defaultSearchArea(\"\"));\n dispatch(defaultSearchSortByOrder(\"\"));\n dispatch(clearMediaFiles([]));\n dispatch(showMenuTabs(true));\n dispatch(showFooter(true));\n dispatch(repairDefaultAssocitaedAsset(null));\n dispatch(getHeatingHotWaterCase(null));\n dispatch(selectedTenancyGroup(''))\n dispatch(isMyPbRepairsMaintainence(\"\"));\n dispatch(userGetRepairData(\"\"));\n dispatch(saveSupplimentaryCodes(\"\"));\n };\n const handleFinancialReferral = () => {\n dispatch(clearReferralInformation({}))\n props.history.push('/enquiryconsent')\n }\n const clearStoreAfterFinishingJourney = () => {\n dispatch(userChosenHighLevelDescription(\"\"));\n dispatch(userChosenSupplementaryQuestions(\"\"));\n dispatch(userChosenEmergencyQuestion(\"\"));\n dispatch(userChosenDuplicateQuestion(\"\"));\n dispatch(userChosenAdditionalDescription(\"\"));\n dispatch(userChosenVandalismQuestion(\"No\"));\n dispatch(userChosenVandalismAdditionalInformation(\"\"));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(userChosenContactDetails(\"\"));\n dispatch(userChosenEligibilityErrorCode(\"\"));\n dispatch(selectedTenacyType(\"\"));\n dispatch(getReferenceNumber(\"\"));\n dispatch(getPrefferenceNumber(false));\n dispatch(saveSelectedSlotDate(\"\"));\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_SELECTED_ANSWERS });\n }\n\n const removeCasesAndRepairData = () => {\n dispatch(comingFromCaseJourneySuccess(false))\n dispatch(comingFromRepairJourneySuccess(false))\n dispatch(setTriageRepair(false));\n clearStoreAfterFinishingJourney()\n }\n\n const openMobiledialer = () => {\n window.open('tel:' + t('phone_no'));\n };\n\n return (\n
    \n
    \n

    {t(\"Welcome_to_My_Peabody\")}

    \n
    \n {\" \"}\n {t(\"Customer360Title\")}{\" \"}\n
    \n
    \n\n
    \n \n {!isLoading ? (\n
    \n\n {isUserRegistered && (\n \n {t(\"Register_Success_Msg\")}\n )\n }\n\n
    \n\n {area ? (\n\n <>\n\n \n {associatedAssetList.map((e, key) => {\n dispatch(userChosenPropertyId(defaultAssociatedAsset));\n return (\n \n );\n })}\n \n\n \n ) : (\n \n {associatedAssetList.map((e, key) => {\n return (\n
    \n {e.value}\n
    \n );\n })}\n
    \n )}\n
    \n
    \n {!catalystRepairDisabledAreas || (catalystRepairDisabledAreas && catalystWorkOrderToggle === \"true\") ?\n (!isRepairsCardError ? (\n
    \n

    \n {t(\"Repairs_card\")}{\" \"}\n

    \n {isMyPBMaintenance &&\n
    \n
    \n
    \n \n
    \n
    \n

    \n

    {t(\"repairs_Maintenance_Message\")}
    \n

    \n
    \n
    \n
    \n }\n {!repairList.length ? (\n
    \n
    \n {t(\"NO_repairs_listed\")}\n
    \n

    \n {t(\"NO_repairs\")}\n

    \n
    \n ) : (\n repairList.map((el, key) => (\n
    \n
    \n {t(\"recent_repair\")}\n \n {RepairBlockMap[el.area]}\n \n
    \n
    \n
    {t(\"historic_repairs_dates\")}
    \n

    {formatDate(el.raisedDate)}

    \n
    \n
    \n
    {t(\"historic_repairs_status\")}
    \n

    \n {\" \"}\n {el.status === RepairStatusField.Unappointed ||\n el.status === \"Reported to EMA\"\n ? RepairStatusField.Assignedcontractor\n : (el.status === RepairStatusField.CatalystTier2Triage || el.status === RepairStatusField.CatalystDefectTriage || el.status === RepairStatusField.CatalystEMATriage) ? RepairStatusField.RepairStatusFieldCatalyst : el.status}\n

    \n
    \n
    \n
    {t(\"historic_repairs_description\")}
    \n

    \n {\" \"}\n {\n el.channel !== RepairChannel.CustomerSelfService &&\n el.channel !== RepairChannel.ERGO &&\n el.channel !== RepairChannel.ColleagueSelfService\n ? (el.trade === 'Unknown' ? t('RepairDescription_ErrorMessage')\n : el.trade) : appConfigValue ? el.description\n : el.description?.split('.')[0]\n }\n

    \n
    \n
    \n ))\n )}\n
    \n
    \n {repairList.length ? (\n \n \n
    \n ) :\n (
    \n \n
    \n )\n }\n {repairList.length ? (\n
    \n \n
    \n ) : (\n
    \n )}\n
    \n
    \n
    \n ) : (\n
    \n

    \n {t(\"Repairs_card\")}{\" \"}\n

    \n {isMobile ? (\n
    \n \n {t('retrieve_repair_Error_Message')}\n \n {t('phone_no')}\n \n \n
    \n ) : (\n
    \n \n {t('retrieve_repair_Error_Message')}\n \n {t('phone_no')}\n \n \n
    \n )}\n
    \n )) : (\n \"\"\n )}\n\n \n {isAccount ? (\n <>\n

    \n {t(\"Balance_card\")}{\" \"}\n

    \n
    \n
    \n {t(\"your_rent_service_account\")}\n
    \n\n {!accountDetails?.transactDeatils[0].LiveBalance ||\n !accountDetails?.transactDeatils[0].transactiondate ? (\n
    \n {t(\"CR047\")}\n
    \n\n ) : (\n <>\n
    \n {\n isArrear ? (\n <>\n (£\n {accountDetails?.LiveBalance == \"0\"\n ? \"0.00\"\n : parseFloat(\n accountDetails?.LiveBalance\n ).toLocaleString(undefined, {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n })}\n ) \n\n ) : (\n <>\n £\n {accountDetails?.LiveBalance == \"0\"\n ? \"0.00\"\n : parseFloat(\n accountDetails?.LiveBalance\n ).toLocaleString(undefined, {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n })} \n )\n }\n {accountDetails?.LiveBalanceType}\n {\" \"}\n
    \n {accountDetails?.transactDeatils[0].LiveBalance ? (\n <>\n
    \n
    \n\n {\" \"}\n {\n accountDetails?.transactDeatils[0]\n .LiveBalanceType\n }{\" \"}\n
    \n
    \n {Number((String(accountDetails?.transactDeatils[0].LiveBalance)).replace(/[^-.0-9]+/g, '')) < 0\n ? \"-\" : \"+\"}\n £\n {accountDetails?.transactDeatils[0]\n .LiveBalance == 0\n ? \"0.00\"\n : Number((String(accountDetails?.transactDeatils[0].LiveBalance)).replace(/[^-.0-9]+/g, '')) > 0 ? accountDetails?.transactDeatils[0].LiveBalance.toLocaleString(\n undefined,\n {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n }\n ) : (-1 * Number((String(accountDetails?.transactDeatils[0].LiveBalance)).replace(/[^-.0-9]+/g, ''))).toLocaleString(\n undefined,\n {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n }\n )}\n
    \n
    \n
    \n

    \n {formatDate(\n accountDetails?.transactDeatils[0]\n .transactiondate || \"\"\n )}\n

    \n

    \n\n {\n accountDetails?.transactDeatils[0]\n .TransactionBalanceType\n }\n {\" \"}\n

    \n
    \n \n ) : (\n \"\"\n )}\n\n {accountDetails?.transactDeatils[1].LiveBalance ? (\n <>\n
    \n
    \n\n {\" \"}\n {\n accountDetails?.transactDeatils[1]\n .LiveBalanceType\n }{\" \"}\n
    \n
    \n {Number((String(accountDetails?.transactDeatils[1].LiveBalance)).replace(/[^-.0-9]+/g, '')) < 0\n ? \"-\" : \"+\"}\n £\n {accountDetails?.transactDeatils[1]\n .LiveBalance == 0\n ? \"0.00\"\n : Number((String(accountDetails?.transactDeatils[1].LiveBalance)).replace(/[^-.0-9]+/g, '')) > 0 ? accountDetails?.transactDeatils[1].LiveBalance.toLocaleString(\n undefined,\n {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n }\n ) : (-1 * Number((String(accountDetails?.transactDeatils[1].LiveBalance)).replace(/[^-.0-9]+/g, ''))).toLocaleString(\n undefined,\n {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n }\n )}\n
    \n
    \n
    \n

    \n {formatDate(\n accountDetails?.transactDeatils[1]\n .transactiondate || \"\"\n )}\n

    \n

    \n {\n accountDetails?.transactDeatils[1]\n .TransactionBalanceType\n }\n {\" \"}\n

    \n
    \n\n\n \n ) : (\n \"\"\n )}\n\n {accountDetails?.transactDeatils[2].LiveBalance ? (\n <>\n
    \n
    \n {\n accountDetails?.transactDeatils[2]\n .LiveBalanceType\n }{\" \"}\n
    \n
    \n {Number((String(accountDetails?.transactDeatils[2].LiveBalance)).replace(/[^-.0-9]+/g, '')) < 0\n ? \"-\" : \"+\"}\n £\n {accountDetails?.transactDeatils[2]\n .LiveBalance == 0\n ? \"0.00\"\n : Number((String(accountDetails?.transactDeatils[2].LiveBalance)).replace(/[^-.0-9]+/g, '')) > 0 ? accountDetails?.transactDeatils[2].LiveBalance.toLocaleString(\n undefined,\n {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n }\n ) : (-1 * Number((String(accountDetails?.transactDeatils[2].LiveBalance)).replace(/[^-.0-9]+/g, ''))).toLocaleString(\n undefined,\n {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n }\n )}\n
    \n
    \n
    \n

    \n {formatDate(\n accountDetails?.transactDeatils[2]\n .transactiondate || \"\"\n )}\n

    \n

    \n {\n accountDetails?.transactDeatils[2]\n .TransactionBalanceType\n }\n {\" \"}\n

    \n
    \n\n \n ) : (\n \"\"\n )}\n\n \n )}\n
    \n \n ) : (\n <>\n
    \n

    \n {t(\"Balance_card\")}{\" \"}\n

    \n
    \n
    \n {isMobile ? (\n
    \n {t('account_Down_SSC001')} \n {t('phone_no')}\n \n \n
    \n ) : (\n
    \n {t('account_Down_SSC001')} {t('phone_no')}\n \n
    \n )}\n
    \n \n )}\n {isAccount &&
    \n
    \n
    \n \n
    \n
    \n {((!isCatalyst && financialReferralToggle === \"true\") || financialReferralToggle === \"false\") &&\n \n }\n
    \n
    \n
    }\n
    \n {showMyMessages === 'true' && }\n {loggedInStatus && blockAssetId && }\n
    \n
    \n

    \n {\" \"}\n {t(\"Your_details\")}{\" \"}\n

    \n
    \n
    \n {t(\"personal_details\")}\n
    \n
    \n
    {t(\"Name\")}
    \n

    \n {custResponse?.person.name.title}{\" \"}\n {custResponse?.person.name.givenName}{\" \"}\n {custResponse?.person.name.surname}\n

    \n
    \n
    \n
    {t(\"Email\")}
    \n

    \n {customerContact?.email ? customerContact?.email : \"-\"}\n

    \n
    \n
    \n
    {t(\"Mobile\")}
    \n

    \n {customerContact?.mobilePhone\n ? customerContact?.mobilePhone\n : \"-\"}\n

    \n
    \n {customerContact?.homePhone ? (\n
    \n
    {t(\"Home\")}
    \n

    {customerContact?.homePhone}

    \n
    \n ) : (\n \"\"\n )}\n {customerContact?.workPhone ? (\n
    \n
    {t(\"Business\")}
    \n
    {customerContact?.workPhone}
    \n
    \n ) : (\n \"\"\n )}\n
    \n {!isCustInfo ? (\n
    \n ) : (\n
    \n

    \n {t(\"missing_information_profile\")}\n

    \n
    \n )}\n
    \n
    \n
    \n
    \n \n {t(\"Edit_your_details\")}\n \n
    \n
    \n
    \n
    \n
    \n\n

    {catalystCustomer ? t(\"SSCP006\") : t(\"Save_bills\")}

    \n
    \n\n \"Volunterring\"\n\n

    {catalystCustomer ? t(\"SSCP007\") : t(\"Saving_money\")}

    \n
    \n\n
    \n
    \n
    \n\n {catalystCustomer ?\n \n : \n }\n
    \n
    \n
    \n\n
    \n {appCaseCardconfigValue == \"true\" &&\n assetProperty &&\n !catalystCustomer && }\n {appCaseCardconfigValue == \"true\" &&\n assetProperty &&\n catalystCustomer &&\n catalystCaseCardToggle === \"true\" && }\n\n
    \n \n ) : (\n
    \n \n
    \n )}\n \n \n );\n};\nexport default Customer360View;","export enum AccountType {\n REN = \"Rent Account\",\n FD5 = \"FTA Debit for 5 year fixed tenancy\",\n MJW = \"Major Works Account\",\n GRD = \"Ground Rent Account\",\n DEP = \"Deposit Account\",\n HOM = \"Catalyst Historical Home Account\",\n}\n\nexport enum AccountTypeList {\n REN = \"REN\",\n FD5 = \"FD5\",\n MJW = \"MJW\",\n GRD = \"GRD\",\n DEP = \"DEP\",\n HOM = \"HOM\",\n}\nexport enum TenancyType {\n GARAGE = \"GARAGE\",\n STORELIC = \"STORELIC\",\n LEASE100 = \"LEASE100\",\n LEASECTH = \"LEASECTH\",\n LEASEHB5 = \"LEASEHB5\",\n LEASESEC = \"LEASESEC\",\n LEASESHR = \"LEASESHR\",\n FREEHOLD = \"FREEHOLD\",\n INTERMED = \"INTERMED\",\n AST09 = \"AST09\",\n FIXED5YR = \"FIXED5YR\",\n FIXED6YR = \"FIXED6YR\",\n AFF6YR = \"AFF6YR\",\n AFFSTART = \"AFFSTART\",\n ASSPROT = \"ASSPROT\",\n LONDONLR = \"LONDONLR\",\n STARTER = \"STARTER\",\n STUDENT = \"STUDENT\",\n ASS06 = \"ASS06\",\n LICGAR = \"LICGAR\",\n AST_KEY = \"AST_KEY\",\n COM2 = \"COM2\",\n LIC02 = \"LIC02\",\n FIXED2YR = \"FIXED2YR\",\n FIXED3YR = \"FIXED3YR\",\n FIXED4YR = \"FIXED4YR\",\n AFF1YR = \"AFF1YR\",\n AFF2YR = \"AFF2YR\",\n AFF3YR = \"AFF3YR\",\n AFF4YR = \"AFF4YR\"\n}\nexport enum TenancyTypeRen {\n GARAGE = \"Garage Account\",\n STORELIC = \"Storeroom Account\",\n LEASE100 = \"Service Charge Account\",\n LEASECTH = \"Service Charge Account\",\n LEASEHB5 = \"Service Charge Account\",\n LEASESEC = \"Service Charge Account\",\n LEASESHR = \"Rent and Service Charge Account\",\n FREEHOLD = \"Estate Charge Account\",\n LICGAR = \"Garage Account\",\n\n}\nexport enum TenancyTypeFD5 {\n GARAGE = \"Garage Account\",\n STORELIC = \"Storeroom Account\",\n LEASE100 = \"Service Charge Account\",\n LEASECTH = \"Service Charge Account\",\n LEASEHB5 = \"Service Charge Account\",\n LEASESEC = \"Service Charge Account\",\n LEASESHR = \"Service Charge Account\",\n FREEHOLD = \"Estate Charge Account\",\n INTERMED = \"Service Charge Account\",\n LICGAR = \"Garage Account\"\n}\n\nexport const getAccountType = (\n accountType: string,\n tenancyType: string\n): any => {\n let AccountTypeValue = \"\";\n if (accountType == AccountTypeList.REN) {\n if (tenancyType == TenancyType.GARAGE) {\n AccountTypeValue = TenancyTypeRen.GARAGE;\n } else if (tenancyType == TenancyType.STORELIC) {\n AccountTypeValue = TenancyTypeRen.STORELIC;\n } else if (tenancyType == TenancyType.LEASE100) {\n AccountTypeValue = TenancyTypeRen.LEASE100;\n } else if (tenancyType == TenancyType.LEASECTH) {\n AccountTypeValue = TenancyTypeRen.LEASECTH;\n } else if (tenancyType == TenancyType.LEASEHB5) {\n AccountTypeValue = TenancyTypeRen.LEASEHB5;\n } else if (tenancyType == TenancyType.LEASESEC) {\n AccountTypeValue = TenancyTypeRen.LEASESEC;\n } else if (tenancyType == TenancyType.LEASESHR) {\n AccountTypeValue = TenancyTypeRen.LEASESHR;\n } else if (tenancyType == TenancyType.FREEHOLD) {\n AccountTypeValue = TenancyTypeRen.FREEHOLD;\n } else if (tenancyType == TenancyType.LICGAR) {\n AccountTypeValue = TenancyTypeRen.LICGAR;\n }else {\n AccountTypeValue = AccountType.REN;\n }\n } else if (accountType == AccountTypeList.FD5) {\n if (tenancyType == TenancyType.GARAGE) {\n AccountTypeValue = TenancyTypeFD5.GARAGE;\n } else if (tenancyType == TenancyType.STORELIC) {\n AccountTypeValue = TenancyTypeFD5.STORELIC;\n } else if (tenancyType == TenancyType.LEASE100) {\n AccountTypeValue = TenancyTypeFD5.LEASE100;\n } else if (tenancyType == TenancyType.LEASECTH) {\n AccountTypeValue = TenancyTypeFD5.LEASECTH;\n } else if (tenancyType == TenancyType.LEASEHB5) {\n AccountTypeValue = TenancyTypeFD5.LEASEHB5;\n } else if (tenancyType == TenancyType.LEASESEC) {\n AccountTypeValue = TenancyTypeFD5.LEASESEC;\n } else if (tenancyType == TenancyType.LEASESHR) {\n AccountTypeValue = TenancyTypeFD5.LEASESHR;\n } else if (tenancyType == TenancyType.FREEHOLD) {\n AccountTypeValue = TenancyTypeFD5.FREEHOLD;\n } else if (tenancyType == TenancyType.INTERMED) {\n AccountTypeValue = TenancyTypeFD5.INTERMED;\n } else if (tenancyType == TenancyType.LICGAR) {\n AccountTypeValue = TenancyTypeRen.LICGAR;\n } else {\n AccountTypeValue = AccountType.REN;\n }\n } else if (accountType == AccountTypeList.MJW) {\n AccountTypeValue = AccountType.MJW;\n } else if (accountType == AccountTypeList.GRD) {\n AccountTypeValue = AccountType.GRD;\n } else if (accountType == AccountTypeList.DEP) {\n if (tenancyType == TenancyType.FREEHOLD) {\n AccountTypeValue = AccountType.GRD;\n } else {\n AccountTypeValue = AccountType.DEP;\n }\n } else if (accountType == AccountTypeList.HOM) {\n AccountTypeValue = AccountType.HOM;\n }\n return AccountTypeValue;\n};\n","\nimport TablePagination from '@material-ui/core/TablePagination'\nimport styled from 'styled-components'\nimport SearchComp from '../../storybook/Search'\nimport 'bootstrap/dist/css/bootstrap.min.css';\n\n\nexport const Paginationbox = styled.div`\ntext-align: center;\nfloat: right;\nmargin-top: 30px;\n@media (max-width: 414px) {\n margin-right: -13px;\n }\n`\nexport const Search = styled(SearchComp)`\nheight: 34px;\nline-height: inherit;\npadding-left: 10px;\n`\nexport const WebPagination = styled.div`\n@media (min-width: 920px) {\n display: inline;\n }\n display: none;\n`\nexport const MobilePagination = styled.div`\n@media (min-width: 920px) {\n display: none;\n }\n display: inline;\n`\n\nexport const Pagination = TablePagination\n","export const TransactionType = [\n {\n key: \"All\",\n value: \"All\",\n },\n {\n key: \"transactionType=PAY\",\n value: \"Payments\",\n },\n {\n key: \"transactionType=DRS\",\n value: \"Charges\",\n },\n {\n key: \"transactionType=ADJ&transactionType=DRA\",\n value: \"Adjustments\",\n } \n\n];\nexport default TransactionType;\n\n\n","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useSelector } from \"react-redux\";\nimport * as api from \"../../api\";\nimport \"bootstrap-icons/font/bootstrap-icons.css\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport \"./index.scss\";\nimport {\n MobilePagination,\n Pagination,\n Paginationbox,\n Search,\n WebPagination,\n} from \"./components\";\nimport moment from \"moment\";\nimport { RouteComponentProps, useHistory } from \"react-router-dom\";\nimport {\n formatDateTime,\n formatDateTimeSlash,\n formatDateWithMonthInLetters,\n detectMobile\n} from \"../../utils/formatting\";\n\nimport filtericon from \"../../assets/img/filtericon.png\";\nimport LoadingSpinner from \"../../storybook/LoadingSpinner\";\nimport { Offcanvas } from \"react-bootstrap\";\nimport TransactionType from \"../../models/Accounts/TransactionType\";\nimport InfiniteScroll from \"react-infinite-scroll-component\";\nimport Message from \"../../storybook/Message\";\nimport Clear from \"../../assets/img/Clear.png\";\n\ninterface TransactionDetailsProps extends RouteComponentProps {\n accountType: string | null;\n accountnumber: string;\n balance: string | null;\n balancetype: string | null;\n}\n\ninterface WindowSize {\n width: number;\n isMobile: boolean;\n}\n\nconst TransactionDetails: React.FC = ({\n accountType,\n accountnumber,\n balance,\n balancetype,\n}) => {\n const [totalCount, settotalCount] = useState(0);\n const [currentPage, setcurrentPage] = useState(0);\n const [resultsPerPage, setresultsPerPage] = useState(10);\n const [resultsPerPageforMobile, setresultsPerPageMobile] = useState(100);\n const [skip, setskip] = useState(0);\n const { t } = useTranslation();\n const isMobile = detectMobile();\n const array: any = [];\n const userChosenPropertyAddress = useSelector(\n (state: any) => state.userChoicesReducer?.userChosenPropertyAddress\n );\n const [transactions, setTransactionList] = useState(array);\n const history = useHistory();\n const accountid = accountnumber;\n const [isApiFail, setApiFailMessage] = useState(false);\n const [isNoResultsSearch, setNoresultSearchMsg] = useState(false);\n const defaultfromdate = formatDateTime(\n moment(new Date()).subtract(1, \"years\").toString()\n );\n const [fromDate, setFromDate] = useState(defaultfromdate);\n const defaulttodate = formatDateTime(moment(new Date()).toString());\n const [toDate, setToDate] = useState(defaulttodate);\n const [invalidDate, setDateErrorMessage] = useState(false);\n\n const [fromdateValue, setDateFrom] = useState(\n formatDateTime(defaultfromdate)\n );\n const [todateValue, setDateTo] = useState(defaulttodate);\n const [isvisible, setVisibility] = React.useState(\"block\");\n const [errorclass, setDateClass] = React.useState(\n \"border-grey w-28 md:w-full text-sm md:text-base p-2 md:p-4\"\n );\n const [isErrorVisible, setErrorVisibility] = React.useState(\"none\");\n const [isLoading, setIsLoading] = useState(true);\n const [searchTerm, setsearchTerm] = useState(\"\");\n const [show, setShow] = useState(false);\n const [filter, setfilter] = useState(false);\n const handleShow = () => setShow(true);\n const handleClose = () => setShow(false);\n const transactionTypeOptions = TransactionType.map((f) => ({\n key: f.key,\n value: f.value,\n }));\n const [defaulttransactiontype, setdefaulttransactiontype] = useState(\"All\");\n const handleChangeTransactionType = (e: { target: { value: any } }) => {\n setfilter(true);\n setdefaulttransactiontype(e.target.value);\n };\n const getWindowSize = (): WindowSize => {\n const width = window.innerWidth;\n const isMobile = width <= 820;\n return { width, isMobile };\n };\n const customerIdentifier = useSelector(\n (state: any) => state.addresses?.customerid\n );\n\n useEffect(() => {\n const {width, isMobile } = getWindowSize();\n (async () => {\n try {\n setIsLoading(true);\n setApiFailMessage(false);\n if(isMobile){\n getDataFromDates(\n fromDate,\n toDate,\n resultsPerPageforMobile,\n skip,\n searchTerm,\n defaulttransactiontype\n );\n } else {\n getDataFromDates(\n fromDate,\n toDate,\n resultsPerPage,\n skip,\n searchTerm,\n defaulttransactiontype\n );\n }\n } catch (e) {\n setIsLoading(false);\n setApiFailMessage(true);\n setNoresultSearchMsg(false);\n setVisibility(\"none\");\n console.error(e);\n }\n })();\n }, [accountnumber]);\n\n const handleReset = () => {\n setIsLoading(true);\n setDateFrom(defaultfromdate);\n setDateTo(defaulttodate);\n\n setFromDate(defaultfromdate);\n setToDate(defaulttodate);\n setresultsPerPage(10);\n setskip(0);\n setcurrentPage(0);\n setsearchTerm(\"\");\n setdefaulttransactiontype(\"All\");\n setDateErrorMessage(false);\n setVisibility(\"block\");\n setDateClass(\"mt-1 ml-2 mr-6 block border-grey\");\n getDataFromDates(defaultfromdate, defaulttodate, 10, 0, \"\", \"All\");\n setIsLoading(false);\n };\n\n const handleSearch = (event: any): void => {\n setsearchTerm(event.target.value);\n };\n\n const applyFromDateFilter = (e: any) => {\n setFromDate(e);\n const todayDate = moment(new Date()).toString();\n if (!e) {\n setDateErrorMessage(true);\n setVisibility(\"none\");\n setDateClass(\"mt-1 ml-2 mr-6 block border-error\");\n } else if (e > toDate) {\n setDateErrorMessage(true);\n setVisibility(\"none\");\n setDateClass(\"mt-1 ml-2 mr-6 block border-error\");\n } else if (e > todayDate || toDate > todayDate) {\n setDateErrorMessage(true);\n setVisibility(\"none\");\n setDateClass(\"mt-1 ml-2 mr-6 block border-error\");\n } else {\n setDateErrorMessage(false);\n setVisibility(\"block\");\n setDateClass(\"mt-1 ml-2 mr-6 block border-grey\");\n getDataFromDates(\n e,\n toDate,\n resultsPerPage,\n skip,\n searchTerm,\n defaulttransactiontype\n );\n }\n };\n const onChangePage = (e: any, page: number) => handleChangePage(page);\n\n const handleChangeRowsPerPage = (e: React.ChangeEvent) => {\n setresultsPerPage((e.target as any).value);\n setskip(0);\n setcurrentPage(0);\n getDataFromDates(\n fromDate,\n toDate,\n (e.target as any).value,\n 0,\n searchTerm,\n defaulttransactiontype\n );\n };\n\n const handleChangePage = (page: number) => {\n setcurrentPage(page);\n setskip(resultsPerPage * page);\n getDataFromDates(\n fromDate,\n toDate,\n resultsPerPage,\n resultsPerPage * page,\n searchTerm,\n defaulttransactiontype\n );\n };\n\n const getDataFromDates = async (\n datefrom: any,\n dateto: any,\n resultsPerPage: number,\n skip: number,\n searchTerm: string,\n transactiontype: string\n ) => {\n try {\n const mmntFrom = moment(datefrom);\n const datefromValue = formatDateTimeSlash(mmntFrom.toString());\n const mmntTo = moment(dateto);\n const datetoValue = formatDateTimeSlash(mmntTo.toString());\n let sortedTransactions: any = [];\n if (mmntFrom > mmntTo) {\n setApiFailMessage(false);\n setDateErrorMessage(true);\n setVisibility(\"none\");\n setDateClass(\"mt-1 ml-2 mr-6 block border-error\");\n } else if(!accountid){\n setIsLoading(false);\n setApiFailMessage(true);\n }else {\n const transactionDetails = await api.getTransactionsSearch(\n accountid,\n resultsPerPage,\n skip,\n datefromValue,\n datetoValue,\n searchTerm,\n transactiontype\n );\n if (transactionDetails?.totalCount > 0) {\n setApiFailMessage(false);\n setIsLoading(false);\n let pendingTransactions: any = [];\n let nonPendingTransactions: any = [];\n\n transactionDetails.transactions.forEach((element: any) => {\n if (element.statuses[\"is-posted\"]) {\n nonPendingTransactions.push(element);\n } else {\n pendingTransactions.push(element);\n }\n });\n pendingTransactions.forEach((elementPending: any) => {\n sortedTransactions.push(elementPending);\n });\n nonPendingTransactions.forEach((elementNonPending: any) => {\n sortedTransactions.push(elementNonPending);\n });\n setTransactionList(sortedTransactions);\n setVisibility(\"block\");\n setErrorVisibility(\"none\");\n } else {\n setIsLoading(false);\n setTransactionList(sortedTransactions);\n setVisibility(\"none\");\n if (searchTerm != \"\") {\n setNoresultSearchMsg(true);\n setApiFailMessage(false);\n } else {\n if (filter != true) {\n setNoresultSearchMsg(false);\n } else {\n setNoresultSearchMsg(true);\n setApiFailMessage(false);\n }\n }\n setErrorVisibility(\"block\");\n }\n settotalCount(transactionDetails?.totalCount);\n setfilter(false);\n }\n } catch (e) {\n setIsLoading(false);\n setApiFailMessage(true);\n setNoresultSearchMsg(false);\n setVisibility(\"none\");\n console.error(e);\n }\n };\n const applyFromToFilter = (e: any) => {\n setToDate(e);\n const todayDate = formatDateTime(moment(new Date()).toString());\n if (!e) {\n setDateErrorMessage(true);\n setVisibility(\"none\");\n setDateClass(\"mt-1 ml-2 mr-6 block border-error\");\n } else if (fromDate > e) {\n setDateErrorMessage(true);\n setVisibility(\"none\");\n setDateClass(\"mt-1 ml-2 mr-6 block border-error\");\n } else if (fromDate > todayDate || e > todayDate) {\n setDateErrorMessage(true);\n setVisibility(\"none\");\n setDateClass(\"mt-1 ml-2 mr-6 block border-error\");\n } else {\n setDateErrorMessage(false);\n setVisibility(\"block\");\n setDateClass(\"mt-1 ml-2 mr-6 block border-grey\");\n getDataFromDates(\n fromDate,\n e,\n resultsPerPage,\n skip,\n searchTerm,\n defaulttransactiontype\n );\n }\n };\n\n const handleSubmit = (s: string): void => {\n if (!invalidDate) {\n setcurrentPage(0);\n setsearchTerm(s);\n getDataFromDates(\n fromDate,\n toDate,\n resultsPerPage,\n 0,\n s,\n defaulttransactiontype\n );\n }\n };\n const handleResetSubmit = (s: string): void => {\n setcurrentPage(0);\n setsearchTerm(\"\");\n getDataFromDates(\n fromDate,\n toDate,\n resultsPerPage,\n 0,\n \"\",\n defaulttransactiontype\n );\n };\n\n const handleFilterSubmit = () => {\n if (!invalidDate) {\n setcurrentPage(0);\n getDataFromDates(\n fromDate,\n toDate,\n resultsPerPage,\n 0,\n searchTerm,\n defaulttransactiontype\n );\n }\n setShow(false);\n };\n const fetchData = () => {\n setresultsPerPage(100);\n getDataFromDates(\n fromDate,\n toDate,\n totalCount,\n 0,\n searchTerm,\n defaulttransactiontype\n );\n };\n const handleLoadMore = (e: MouseEvent) => {\n if (totalCount > resultsPerPage) {\n setresultsPerPage(100);\n getDataFromDates(\n fromDate,\n toDate,\n totalCount,\n 0,\n searchTerm,\n defaulttransactiontype\n );\n }\n };\n const returnToHome = () => {\n history.push(\"/customer360View\");\n };\n const openDialer = () => {\n window.open(\"tel:\"+t(\"phone_no\"));\n}\n return (\n <>\n {!isMobile ? (\n
    \n {!isLoading ? (\n
    \n

    {t(\"Account_transactions\")}

    \n {!isApiFail &&
    \n
    \n
    \n \n applyFromDateFilter(e.target.value)}\n onChange={(e) => setDateFrom(e.target.value)}\n className=\"calendar-min-height\"\n >\n \n applyFromToFilter(e.target.value)}\n onChange={(e) => setDateTo(e.target.value)}\n className=\"calendar-min-height ml-16\"\n >\n
    \n\n
    \n \n
    \n\n
    \n \n {t(\"Filter\")}\n \n \n
    \n\n
    \n \n {t(\"Clear_filters\")}\n \n
    \n
    \n
    }\n\n
    \n {/* date validation messages */}\n\n {invalidDate && (\n
    \n \n {\" \"}\n {t(\"Tx_DateValidation_SSC004\")}\n \n
    \n )}\n {isApiFail && !invalidDate && (\n
    \n \n {t(\"Tx_Service_Down_SSC001\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}\n
    \n
    \n )}\n {transactions.length == 0 &&\n !invalidDate &&\n !isNoResultsSearch ? (\n
    \n
    \n \n {t(\"Tx_Details_NotAvailable_SSC003\")}\n \n
    \n
    \n ) : (\n transactions.length == 0 &&\n !invalidDate &&\n isNoResultsSearch && (\n
    \n
    \n \n {t(\"Tx_Details_NotAvailable_SSC006\")}\n \n
    \n
    \n )\n )}\n\n \n {/* bind data start */}\n\n {!isApiFail && accountid &&
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n {transactions?.map((tx: any) => (\n \n \n \n \n \n \n \n ))}\n \n
    {t(\"statement_date\")}\n {t(\"statement_description\")}\n \n {t(\"statement_credit\")}\n \n {t(\"statement_debit\")}\n \n {t(\"statement_balance\")}\n
    \n
    \n {\" \"}\n {tx.statuses[\"is-posted\"]\n ? formatDateWithMonthInLetters(\n tx.dates[\"transaction-date\"]\n )\n : \"-\"}\n
    \n
    \n
    \n \n {tx[\"transaction-description\"]}\n \n
    \n
    \n {tx[\"payment-code\"] == \"CR\" ? (\n Number((String(tx.amount.gross.value)).replace(/[^-.0-9]+/g,'')) > 0 ? (\n \"£\" + tx.amount.gross.value\n ) : (\n \"-£\" +\n Math.abs(\n tx.amount.gross.value\n .toString()\n .replace(/,/g, \"\")\n ).toFixed(2)\n )\n ) : (\n <>\n )}\n \n \n {tx[\"payment-code\"] != \"CR\" ? (\n Number((String(tx.amount.gross.value)).replace(/[^-.0-9]+/g,'')) < 0 ? (\n \"-£\" + Math.abs(\n tx.amount.gross.value\n .toString()\n .replace(/,/g, \"\")\n ).toFixed(2)\n ) : (\n \"£\" +\n Math.abs(\n tx.amount.gross.value\n .toString()\n .replace(/,/g, \"\")\n ).toFixed(2)\n )\n ) : (\n <>\n )}\n \n \n \n {parseFloat(tx[\"running-balance\"]?.value) >\n 0 ? (\n <>\n \n £\n {tx[\"running-balance\"]?.value +\n \" \" +\n \"\"}\n \n \n ) : parseFloat(\n tx[\"running-balance\"]?.value\n ) == 0 ? (\n \"£\" + tx[\"running-balance\"]?.value\n ) : (\n <>\n \n {\" \"}\n {\"£\" +\n tx[\"running-balance\"]?.value\n .toString()\n .replace(\"-\", \"\") +\n \"\"}{\" \"}\n {\" \"}\n \n )}\n \n
    \n
    \n
    \n
    }\n
    \n
    \n\n {!isApiFail && accountid && \n
    \n \n \n \n
    \n
    }\n \n
    \n \n ×\n \n
    \n
    \n \n

    {t(\"Filter\")}

    \n
    \n \n
    \n
    \n {t(\"PaymentType\")}\n
    \n \n {transactionTypeOptions.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n
    \n \n {t(\"Search\")}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n ) : (\n
    \n
    \n \n
    \n
    \n )}\n \n ):\n (\n \n loading}\n scrollableTarget=\"scrollableDiv\"\n >\n \n {!isLoading ? (\n
    \n

    {t(\"Account_transactions\")}

    \n
    \n {/* date validation messages */}\n\n {invalidDate && (\n \n {t(\"Tx_DateValidation_SSC004\")}\n \n )}\n {isApiFail && !invalidDate && (\n \n {t(\"Tx_Service_Down_SSC001\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}\n
    \n )}\n {transactions.length == 0 &&\n !invalidDate &&\n !isNoResultsSearch ? (\n \n \n {t(\"Tx_Details_NotAvailable_SSC003\")}\n
    \n
    \n ) : (\n transactions.length == 0 &&\n !invalidDate &&\n isNoResultsSearch && (\n
    \n \n {t(\"Tx_Details_NotAvailable_SSC006\")}\n
    \n \n )\n )}\n\n \n {/* bind data start */}\n {transactions?.map((tx: any) => (\n
    \n
    \n
    \n {\" \"}\n {tx.statuses[\"is-posted\"]\n ? formatDateWithMonthInLetters(\n tx.dates[\"transaction-date\"]\n )\n : \"-\"}\n
    \n
    \n
    \n
    \n {tx[\"transaction-description\"]}\n
    \n
    \n \n {tx[\"payment-code\"] == \"CR\"\n ? Number((String(tx.amount.gross.value)).replace(/[^-.0-9]+/g,'')) > 0\n ? \"£\" + tx.amount.gross.value\n : \"-£\" +\n Math.abs(\n tx.amount.gross.value\n .toString()\n .replace(/,/g, \"\")\n ).toFixed(2)\n : Number((String(tx.amount.gross.value)).replace(/[^-.0-9]+/g,'')) < 0\n ? \"-£\" + Math.abs(\n tx.amount.gross.value\n .toString()\n .replace(/,/g, \"\")\n ).toFixed(2)\n : \"£\" +\n Math.abs(\n tx.amount.gross.value\n .toString()\n .replace(/,/g, \"\")\n ).toFixed(2)}\n \n
    \n
    \n\n
    \n
    \n {t(\"statement_balance\")}\n
    \n
    \n {parseFloat(tx[\"running-balance\"]?.value) > 0 ? (\n <>\n \n £{tx[\"running-balance\"]?.value + \" \" + \"\"}\n \n \n ) : parseFloat(tx[\"running-balance\"]?.value) ==\n 0 ? (\n \"£\" + tx[\"running-balance\"]?.value\n ) : (\n <>\n \n {\"£\" +\n tx[\"running-balance\"]?.value\n .toString()\n .replace(\"-\", \"\") +\n \"\"}{\" \"}\n {\" \"}\n \n )}\n
    \n
    \n
    \n ))}\n \n \n \n
    \n \n

    \n {t(\"Filter\")}\n \n \n \n

    \n
    \n \n
    {t(\"PaymentType\")}
    \n \n {transactionTypeOptions.map((e, key) => {\n return (\n \n );\n })}\n \n \n
    \n \n {t(\"Search\")}\n \n
    \n
    \n
    \n
    \n \n ) : (\n
    \n
    \n \n
    \n
    \n )}\n \n \n \n )}\n \n );\n};\n\nexport default TransactionDetails;\n","import React, { useEffect } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { ModalProps } from 'react-bootstrap';\nimport Modal from '../Modal/index';\nimport { useTranslation } from \"react-i18next\";\nimport Button from \"../../Button/Button\";\nimport { RadioGroup, FormControlLabel, Radio } from \"@material-ui/core\";\nimport classes from \"./style.module.css\";\nimport Countdown from 'react-countdown';\nimport { requestCustomStatement } from '../../ducks/redux/actions/userChoices';\n\nconst RequestStatement: React.FC = (props) => {\n const dispatch = useDispatch();\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n\n let moment = require(\"moment\");\n\n const { t } = useTranslation();\n const [isOpen, setIsOpen] = React.useState(false);\n const [fromDate, setFromDate] = React.useState('');\n const [toDate, setToDate] = React.useState('');\n const [radioValue, setRadioValue] = React.useState('');\n const [otherEmailVal, setOtherEmailVal] = React.useState('');\n const [showOtherEmail, setShowOtherEmail] = React.useState(false);\n const [yellowAlertMessage, setYellowAlertMessage] = React.useState('');\n const [purpleAlertMessage, setPurpleAlertMessage] = React.useState('');\n\n \n let formatedDate: any;\n const date = props.tenancyStartDate;\n const formatedToday = new Date().toISOString().split(\"T\")[0];\n\n const dateIsValid = (date: Date) => {\n return !Number.isNaN(new Date(date).getTime());\n }\n\n if (dateIsValid(date)) {\n formatedDate = new Date(date).toISOString().split(\"T\")[0];\n }\n\n let errorArray: any[] = [];\n const emailRegrex = /^(([^<>()\\[\\]\\\\.,;:\\s$*£`%+?{}\\=|/¬&!#^~@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s$*£`%+?{}\\=|/¬&!#^~@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/i;\n\n const validateEmail = (typedValue: string) => {\n const splitedEmail = typedValue.split('@');\n if (!typedValue || emailRegrex.test(typedValue) === false || splitedEmail[0].length > 64 || splitedEmail[1].length > 48 || typedValue.length > 100 || typedValue.indexOf('-@') > -1) {\n setYellowAlertMessage('SSC011');\n return 'Invalid Email';\n } else {\n setYellowAlertMessage('');\n return 'Valid Email';\n }\n }\n\n const otherEmailChangeHandler = (event: any) => {\n const typedValue = event.target.value;\n setYellowAlertMessage('');\n setOtherEmailVal(typedValue);\n }\n\n const handleRadioChange = (event: any) => {\n if (event.target.id === 'covidQues-radio2') {\n setShowOtherEmail(true);\n } else {\n setYellowAlertMessage('');\n setShowOtherEmail(false);\n }\n setRadioValue(event.target.value);\n }\n\n const inputChangeHandler = (event: any) => {\n if (moment(event.target.value, 'DD/MM/YYYY', true).isValid()) {\n setPurpleAlertMessage('');\n setYellowAlertMessage('SSC020');\n } else {\n setYellowAlertMessage('');\n }\n\n if (event.target.id === 'fromDate') {\n if (new Date(event.target.value).getTime() > new Date(formatedToday).getTime()) {\n setPurpleAlertMessage('');\n setYellowAlertMessage('SSC013');\n } else if (new Date(event.target.value).getTime() < new Date(formatedDate).getTime()) {\n setPurpleAlertMessage('');\n setYellowAlertMessage('SSC012');\n } else {\n setYellowAlertMessage('');\n }\n setFromDate(event.target.value);\n\n } else if (event.target.id === 'toDate') {\n if (new Date(event.target.value).getTime() > new Date(formatedToday).getTime()) {\n setPurpleAlertMessage('');\n setYellowAlertMessage('SSC014');\n } else {\n setYellowAlertMessage('');\n }\n setToDate(event.target.value);\n }\n }\n\n const otherData = {\n setFromDate,\n setToDate,\n setRadioValue,\n setOtherEmailVal,\n setShowOtherEmail,\n setYellowAlertMessage,\n setPurpleAlertMessage,\n setIsOpen\n }\n \n const closeModal = () => {\n setIsOpen(false);\n setFromDate('');\n setToDate('');\n setRadioValue('');\n setOtherEmailVal('');\n setShowOtherEmail(false);\n setYellowAlertMessage('');\n setPurpleAlertMessage('');\n }\n\n const requestStatementHandler = () => {\n if (yellowAlertMessage) {\n return\n }\n\n if (!fromDate || !toDate || !radioValue || (radioValue === 'Other Email Address' && otherEmailVal === '')) {\n setPurpleAlertMessage('');\n setYellowAlertMessage('SSC009');\n } else if (new Date(fromDate).getTime() > new Date(toDate).getTime()) {\n setPurpleAlertMessage('');\n setYellowAlertMessage('SSC009');\n } else if (new Date(fromDate).getTime() < new Date(formatedDate).getTime()) {\n setPurpleAlertMessage('');\n setYellowAlertMessage('SSC012');\n } else if (new Date(fromDate).getTime() > new Date(formatedToday).getTime()) {\n setPurpleAlertMessage('');\n setYellowAlertMessage('SSC013');\n } else if (new Date(toDate).getTime() > new Date(formatedToday).getTime()) {\n setPurpleAlertMessage('');\n setYellowAlertMessage('SSC014');\n } else if (otherEmailVal && validateEmail(otherEmailVal) === 'Invalid Email') {\n validateEmail(otherEmailVal);\n } else {\n let customerEmail;\n if (radioValue == 'Other Email Address') {\n customerEmail = otherEmailVal;\n } else {\n customerEmail = radioValue;\n }\n\n const customerName = `${props.customerName?.title} ${props.customerName?.givenName} ${props.customerName?.surname}`\n\n const statementRequestData = {\n \"sender\": {\n \"addresses\":\n {\n \"digitalAddresses\": [\n {\n \"emailAddresses\": [\n {\n \"value\": \"mypeabody@peabody.org.uk\",\n \"id\": \"email\"\n }\n ],\n \"telecomsAddresses\": [\n {\n \"number\": \"\",\n \"deviceId\": \"\",\n \"dialingCode\": \"\",\n \"countryCode\": \"\",\n \"telecomsAddressType\": \"mobile\"\n }\n ]\n }\n ]\n }\n },\n \"communicationTemplateIdentifier\": \"pb-requestcustomstatement-template\",\n \"communicationType\": \"Email\",\n \"content\": [\n {\n \"identifier\": \"payment_ref\",\n \"value\": props.accountnumber\n },\n {\n \"identifier\": \"customer_name\",\n \"value\": customerName\n },\n {\n \"identifier\": \"statement_startdate\",\n \"value\": fromDate\n },\n {\n \"identifier\": \"statement_enddate\",\n \"value\": toDate\n },\n {\n \"identifier\": \"customer_email\",\n \"value\": customerEmail\n }\n ]\n }\n\n dispatch(requestCustomStatement(customerID, statementRequestData, props.eTag, otherData));\n }\n }\n\n return (\n <>\n \n \n {!purpleAlertMessage &&\n
    \n \n
    \n }\n
    \n
    \n
    \n

    {t(\"RCS_Request_Statement\")}

    \n\n {purpleAlertMessage ?\n <> \n
    \n
    \n
    \n \n
    \n
    \n

    {t(purpleAlertMessage)}

    \n
    \n
    \n
    \n \n :\n <>\n

    {t(\"RCS_Message\")}

    \n\n
    \n
    \n
    Account type
    \n
    {props.accountType}
    \n
    \n\n
    \n \n {/* (e.target.type = \"date\")} className={classes.dateCSS} placeholder=\"dd/mm/yyyy\" /> */}\n \n
    \n\n
    \n \n {/* (e.target.type = \"date\")} className={classes.dateCSS} placeholder=\"dd/mm/yyyy\" /> */}\n \n
    \n\n \n {props.customerAddress &&\n \n }\n label={props.customerAddress}\n />\n }\n \n }\n label=\"Other Email Address\"\n />\n \n\n {showOtherEmail &&\n \n }\n\n {yellowAlertMessage &&\n < div className={`${classes.alertMessageMainContainer} alert mb-8`}>\n
    \n
    \n \n
    \n
    \n

    {t(yellowAlertMessage)}

    \n
    \n
    \n
    \n }\n
    \n\n
    \n \n \n {t(\"continuen_button\")}\n \n \n
    \n \n }\n
    \n
    \n \n
    \n \n );\n}\n\nexport default RequestStatement;","export default class MonthYearName { \n public id: string = \"\";\n public label: string = \"\";\n public name: string = \"\";\n}","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useSelector } from \"react-redux\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport \"./index.scss\";\nimport * as api from \"../../api\";\nimport LoadingSpinner from \"../../storybook/LoadingSpinner\";\nimport Message from \"../../storybook/Message\";\nimport MonthYearName from \"../../models/MonthYearName/MonthYearName\";\nimport Dropdown from \"../../storybook/Dropdown\";\nimport downloadicon from \"../../assets/img/download-icon.png\";\n\ninterface ViewStatementDetailsProps extends RouteComponentProps {\n name: string;\n monthYear: MonthYearName[];\n swtichOffAlert: any;\n accountnumber: string;\n payRef: string;\n}\n\n\nconst ViewStatementDetails: React.FC = ({\n name,\n swtichOffAlert,\n accountnumber,\n payRef,\n monthYear,\n}) => {\n const [isLoading, setIsLoading] = useState(false);\n const { t } = useTranslation();\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n\n const [isDisplay, setIsDisplay] = useState(\"none\");\n\n /* istanbul ignore next */\n monthYear.forEach((obj, index) => {\n obj.id = index.toString();\n obj.label = obj.name;\n });\n\n const [inputState, setInputState] = useState(monthYear[0]?.label);\n\n /* istanbul ignore next */\n const handleChange = (e: { target: { value: any } }) => {\n if (inputState != e.target.value) {\n setInputState(e.target.value);\n setIsDisplay(\"none\");\n }\n };\n\n let monthNumber: string;\n let prevMonthNumber: string;\n\n useEffect(() => {\n swtichOffAlert.current = turnOffAlert;\n }, [swtichOffAlert.current]);\n\n useEffect(() => {\n setInputState(monthYear[0]?.label);\n setIsDisplay(\"none\");\n }, [payRef])\n\n const turnOffAlert = () => {\n setIsDisplay(\"none\");\n };\n\n /* istanbul ignore next */\n const fetchChosenStatement = (name: string) => {\n setIsLoading(true);\n const monthYearName = name?.trim();\n const monthYear_array = monthYearName?.split(\" \");\n const chosenMonth = monthYear_array?.[0]??null;\n const chosenYear = monthYear_array?.[1]??null;\n \n let PrevChosenYear = chosenYear;\n\n if (chosenMonth === \"January\") {\n monthNumber = \"01\";\n prevMonthNumber = \"12\";\n PrevChosenYear = (Number(chosenYear) - 1).toString();\n } else if (chosenMonth === \"February\") {\n monthNumber = \"02\";\n prevMonthNumber = \"01\";\n } else if (chosenMonth === \"March\") {\n monthNumber = \"03\";\n prevMonthNumber = \"02\";\n } else if (chosenMonth === \"April\") {\n monthNumber = \"04\";\n prevMonthNumber = \"03\";\n } else if (chosenMonth === \"May\") {\n monthNumber = \"05\";\n prevMonthNumber = \"04\";\n } else if (chosenMonth === \"June\") {\n monthNumber = \"06\";\n prevMonthNumber = \"05\";\n } else if (chosenMonth === \"July\") {\n monthNumber = \"07\";\n prevMonthNumber = \"06\";\n } else if (chosenMonth === \"August\") {\n monthNumber = \"08\";\n prevMonthNumber = \"07\";\n } else if (chosenMonth === \"September\") {\n monthNumber = \"09\";\n prevMonthNumber = \"08\";\n } else if (chosenMonth === \"October\") {\n monthNumber = \"10\";\n prevMonthNumber = \"09\";\n } else if (chosenMonth === \"November\") {\n monthNumber = \"11\";\n prevMonthNumber = \"10\";\n } else if (chosenMonth === \"December\") {\n monthNumber = \"12\";\n prevMonthNumber = \"11\";\n }\n\n (async () => {\n try {\n const data = {\n // yearMonthFrom: `${PrevChosenYear}/${prevMonthNumber}`,\n yearMonthFrom: `${chosenYear}/${monthNumber}`,\n yearMonthTo: `${chosenYear}/${monthNumber}`,\n };\n const statementsResponse = await api.getDocumentsByCustomer(\n customerID,\n data\n );\n\n Promise.all([statementsResponse]).then((results) => {\n\n var documentsForAccount = results[0]?.documents.some(doc => doc.metadata.find(metaKey => metaKey.key == \"account-reference\" && metaKey.value == payRef))\n \n if (results[0].documents.length == 0 || !documentsForAccount) {\n setIsDisplay(\"block\");\n setIsLoading(false);\n\n return;\n }\n let documentPDFTitle = `Statement ${chosenMonth} ${chosenYear}`;\n results.map((allDocs) => {\n allDocs.documents.filter(async (el: any) => {\n el.metadata.filter(async (key: any) => {\n if (\n key.value === payRef &&\n key.key === \"account-reference\"\n ) {\n const documentResponse = await api.getDocumentByIdentifier(\n customerID,\n el?.id\n );\n if (!documentResponse.data) {\n setIsLoading(false);\n setIsDisplay(\"block\");\n return;\n } else {\n const file = new Blob([documentResponse.data], {\n type: \"application/pdf\",\n });\n const fileURL = URL.createObjectURL(file);\n const newWindow: any = window.open(fileURL, \"_blank\");\n\n if (newWindow?.document) {\n setTimeout(\n () => (newWindow.document.title = documentPDFTitle),\n 1000\n );\n }\n\n setIsLoading(false);\n }\n return;\n }\n });\n });\n });\n });\n } catch (error) {\n setIsLoading(false);\n setIsDisplay(\"block\");\n }\n })();\n };\n return (\n
    \n {!isLoading ? (\n
    \n
    \n \n fetchChosenStatement(inputState)}\n id=\"downLoadStatement\"\n data-testid=\"downLoadStatement\"\n >\n {t(\"Download\")}\n \n \n \n
    \n
    \n \n {t(\"VS_Failure_To_Retrieve_Statement\")}\n \n
    \n
    \n ) : (\n
    \n
    \n \n
    \n
    \n )}\n
    \n );\n};\nexport default ViewStatementDetails;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE5SURBVHgB7ZQ7TsNAEIZn1g5nQIoLX4ETYEpI5YJI6ZIbJCewOQFwg3RIuEFCScpwhHACXBAppQsicPwYZiNhEcsPOXaV5Cu82p3xP7P2v4tQgObMLACy8+KI4AaBf7XqmW5WXEABRNQvjoOuirPcnELxupzED0wc/0/KfF0qxr6PYzKX3c5CzlOd0xBqIH0PMRp/c7FbORzw4MH+vK2//XGil46eP810RaE5b1GHKhA9fnY7OzvHrLyqBQhgtLy9eUivZ7pl1bt2Wy3/gku/QDFeFIOZJSzBkpfZQROb06z0Ov88l5+JM/YSl7Sd6ZAT7xNhoEUUbsy8q7aSuERzXg0AxeKW37/WG9sbmHVcdcxsv7nmTOc8GNAQ8o4Jo3CE8sCoKn1AwyDieNt5+3nSF0JcQoMEwc/dL1g8bXZEXv9SAAAAAElFTkSuQmCC\"","import React, { useState, useEffect } from \"react\";\nimport { RouteComponentProps, useHistory} from \"react-router-dom\";\nimport * as api from \"../../api\";\nimport { useTranslation } from \"react-i18next\";\nimport { useSelector } from \"react-redux\";\nimport RequestStatement from \"../RequestStatement\";\nimport MonthYearName from \"../../models/MonthYearName/MonthYearName\";\nimport InfiniteScroll from \"react-infinite-scroll-component\";\nimport ViewStatementDetails from \"../ViewStatementDetails\";\nimport LoadingSpinner from \"../../storybook/LoadingSpinner\";\nimport \"./index.scss\";\nimport Message from \"../../storybook/Message\";\nimport { detectMobile } from '../../utils/formatting';\ninterface ViewStatementProps extends RouteComponentProps {\n Payref: string | null;\n accountType: string | null;\n accountnumber: string | null;\n}\nconst ViewStatement: React.FC = ({\n Payref,\n accountType,\n accountnumber,\n}) => {\n const { t } = useTranslation();\n const swtichOffAlert = React.useRef(null);\n const history = useHistory();\n const [isLoading, setIsLoading] = useState(false);\n const array: MonthYearName[] = [];\n const [monthYear, setmonthYear] = useState(array);\n const [totalCount, settotalCount] = useState(0);\n const [currentPage, setcurrentPage] = useState(0);\n const [resultsPerPage, setresultsPerPage] = useState(6);\n const [isDisabled, setIsDisabled] = React.useState(false);\n const [isRequestCustomStatement, setIsRequestCustomStatement] =React.useState(\"\");\n const [errorMessage, setErrorMessage] = useState(false);\n const [availableStatements, setAvailableStatements] = useState();\n\n const userChosenPropertyAddress = useSelector(\n (state: any) => state.userChoicesReducer?.userChosenPropertyAddress\n );\n const isMobile = detectMobile();\n const viewRequestStatementData = useSelector(\n (state: any) => state.userChoicesReducer?.viewStatementData\n );\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n let allMonths: string[] = [];\n\n const tenancyStartDate = new Date(viewRequestStatementData?.tenancyStartDate);\n allMonths = [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\",\n ];\n let currentDate = new Date();\n\n const twoYearsAgoFromNow = new Date();\n twoYearsAgoFromNow.setFullYear(twoYearsAgoFromNow.getFullYear() - 2);\n\n const data = {\n yearMonthFrom: `${twoYearsAgoFromNow.getFullYear()}/${String(\n twoYearsAgoFromNow.getMonth() + 1\n ).padStart(2, \"0\")}`,\n yearMonthTo: `${currentDate.getFullYear()}/${String(\n currentDate.getMonth() + 1\n ).padStart(2, \"0\")}`,\n };\n\n useEffect(() => {\n (async () => {\n setIsLoading(true);\n\n await api\n .GetAppConfigToggleValue(\"IsRequestCustomStatement\")\n .then((response) => {\n setIsRequestCustomStatement(response?.value);\n })\n .catch((error) => {\n console.log(\"error\", error);\n });\n\n await api\n .getDocumentsByCustomer(customerID, data)\n .then((response) => {\n if (response?.documents.length === 0) {\n setAvailableStatements(false);\n setIsLoading(false);\n } else {\n setAvailableStatements(true);\n if (currentDate.getUTCDate() < tenancyStartDate.getUTCDate()) {\n getMonthsAndYears(1, 7);\n } else {\n getMonthsAndYears(1, 24);\n }\n setIsLoading(false);\n }\n })\n .catch((error) => {\n setErrorMessage(true);\n setIsLoading(false);\n console.log(\"error\", error);\n });\n })();\n }, []);\n\n const getMonthsAndYears = (startLimit: number, endLimit: number) => {\n let filteredMonthYearNameList: MonthYearName[] = [];\n setIsLoading(true);\n const monthYearNameList: MonthYearName[] = [];\n const output =\n new Date().getMonth() -\n tenancyStartDate.getMonth() +\n 12 * (new Date().getFullYear() - tenancyStartDate.getFullYear());\n if (output > 24) {\n settotalCount(24);\n } else {\n let todayDate = new Date().getDate();\n if (tenancyStartDate.getDate() > todayDate) {\n settotalCount(output - 1);\n } else {\n settotalCount(output);\n }\n if (output <= endLimit) {\n if (tenancyStartDate.getDate() > todayDate) {\n endLimit = output - 1;\n } else {\n endLimit = output;\n }\n }\n }\n\n for (var i = startLimit; i <= endLimit; i++) {\n let currentDate = new Date();\n const monthYearName: MonthYearName = new MonthYearName();\n let prevdate = new Date(\n currentDate.getFullYear(),\n currentDate.getMonth() - (i - 1),\n 1\n );\n\n const thisMonthYear =\n allMonths[currentDate.getMonth()] + \" \" + currentDate.getFullYear();\n monthYearName.name =\n allMonths[prevdate.getMonth()] + \" \" + prevdate.getFullYear();\n monthYearNameList.push(monthYearName);\n if (currentDate.getUTCDate() < tenancyStartDate.getUTCDate()) {\n filteredMonthYearNameList = monthYearNameList.filter(\n (el) => el.name !== thisMonthYear\n );\n } else {\n filteredMonthYearNameList = monthYearNameList;\n }\n }\n setmonthYear(filteredMonthYearNameList);\n setIsLoading(false);\n };\n\n const fetchData = () => {\n setcurrentPage(0);\n setresultsPerPage(24);\n getMonthsAndYears(1, 24);\n };\n const returnToHome = () => {\n history.push(\"/customer360View\");\n };\n const openDialer = () => {\n window.open(\"tel:\"+t(\"phone_no\"));\n}\n return (\n <>\n {!isMobile ? (\n
    \n {!isLoading ? (\n
    \n

    {t(\"Account_Statements\")}

    \n
    \n
    \n
    \n
    \n {isRequestCustomStatement === \"true\" && (\n
    \n
    \n \n \n \n
    \n
    \n )}\n
    \n
    \n
    \n\n {errorMessage || !Payref ? ( {t(\"No_Statement_Exit\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}
    \n ) : !availableStatements ? (\n
    \n \n {t(\"VS_No_Statement_Exit\")}\n \n
    \n ) : (\n
    \n
    \n
    \n {monthYear?.length ? (\n
    \n \n {t(\"VS_Initial_Notification\")}\n \n \n {t(\"VS_Initial_Notification2\")}\n \n
    \n ) : (\n \n {t(\"VS_No_Statement_Found\")}\n \n )}\n
    \n
    \n \n
    \n )}\n
    \n
    \n ) : (\n
    \n
    \n \n
    \n
    \n )}\n
    \n\n ):(\n \n }\n scrollableTarget=\"scrollableDiv\"\n >\n

    {t(\"Account_Statements\")}

    \n {isRequestCustomStatement === \"true\" && (\n
    \n
    \n \n \n \n
    \n
    \n )}\n\n{errorMessage || !Payref? ( {t(\"No_Statement_Exit\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}
    \n ) : !availableStatements ? (\n \n {t(\"VS_No_Statement_Exit\")}\n \n ) : (\n
    \n {monthYear?.length ? (\n
    \n \n {t(\"VS_Initial_Notification\")}\n \n \n {t(\"VS_Initial_Notification2\")}\n \n
    \n ) : (\n {t(\"VS_No_Statement_Found\")}\n )}\n \n
    \n )}\n \n \n )}\n \n );\n};\n\nexport default ViewStatement;\n","export default class CaseData {\n public caseTypeId: number = 0;\n public caseTypeDescription: string = \"\";\n public assignee: string = \"\";\n public assigneeType: string = \"\";\n public identifiers: any = {};\n public contactDetails: any = {};\n public additionalInfo: additionalInfo[] = [];\n public asset: any = {};\n}\n\nexport class asset {\n type: any = {};\n}\n\nexport class type {\n public assetTypeId: number = 1;\n public assetTypeName: string = \"\";\n}\n\nexport class Identifiers {\n public assetIdentifier: string = \"\";\n public customerIdentifier: string = \"\";\n public tenancyIdentifier: string = \"\";\n}\n\nexport class contactDetails {\n public phoneNumber: number = 0;\n public name: string = \"\";\n public relationId: number = 0;\n public relation: string = \"\";\n}\n\nexport class additionalInfo {\n public questionId: string = \"\";\n public responseId: string = \"\";\n public responseText: string = \"\";\n}\n\nexport enum CaseReporterId {\n Customer = 1,\n \"Friend or Family\" = 2,\n Other = 3,\n}\n\nexport class caseResponseData {\n public caseIdentifier: string = \"\";\n}\n\nexport enum CaseStatusField {\n Active = \"Active\",\n Cancelled = \"Cancelled\",\n Resolved = \"Resolved\",\n}\n","import React, { useCallback, useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport * as api from \"../../api\";\nimport LoadingSpinner from \"../../storybook/LoadingSpinner\";\nimport \"./index.scss\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport { AssocitaedAssetsType } from \"../../models/Property/AdminUnits\";\nimport Tenancies from \"../../models/Customer/Tenancies\";\nimport { CustomerResponse } from \"../../models/Customer\";\nimport {\n userChosenPropertyAddress,\n userChosenBalance,\n userChosenAccountNumber,\n userChosenBalanceType,\n userChosenAccountType,\n viewStatementData,\n userChosenAccountIdentifier,\n showMenuTabs,\n} from \"../../ducks/redux/actions/userChoices\";\nimport { BalanceType } from \"../../models/Accounts/BalanceType\";\nimport AccountDetails from \"../../models/Accounts/AccountDetails\";\nimport {\n AccountType,\n AccountTypeList,\n getAccountType,\n TenancyType,\n TenancyTypeFD5,\n TenancyTypeRen,\n} from \"../../models/Accounts/AccountType\";\nimport {\n formatDateWithFullMonthInLetters,\n isNullOrUndefined,\n detectMobile\n} from \"../../utils/formatting\";\nimport TransactionDetails from \"../TransactionDetails/index\";\nimport ViewStatement from \"../ViewStatement/index\";\nimport Message from \"../../storybook/Message\";\ninterface ViewAccountProps extends RouteComponentProps { }\ninterface ViewAccountProps extends RouteComponentProps { }\nconst ViewAccount: React.FC = (props) => {\n const dispatch = useDispatch();\n let PropertyId = useSelector(\n (state: any) => state.userChoicesReducer.userChosenPropertyId\n );\n const [defaultassocitaedAsset, setdefaultassocitaedAsset] = useState(\"\");\n const [defaultAccount, setdefaultAccount] = useState(\"\");\n const [selectedAccount, setSelectedAccount] = useState(\n null\n );\n const [isApiFail, setApiFailMessage] = useState(false);\n const [payref, setpayref] = useState(\"\");\n const [Area, setArea] = useState(false);\n const [multipleAccunt, setMultipleAccount] = useState(false);\n const [isLoading, setIsLoading] = useState(true);\n const arrayArea: Array<{ key: string; value: string }> = [];\n const array: AccountDetails[] = [];\n const account: any[] = [];\n const [accountResponse, setaccountCustomerResponse] = useState(account);\n const [accountdetails, setaccountdetails] = useState(array);\n const [associtaedAssetList, setassocitaedAssetsList] = useState(arrayArea);\n const [CustResponse, setCustomerResponse] = useState();\n const [tenancySummary, setTenancySummary] = useState();\n const [isViewStatement, setIsViewStatement] = React.useState(\"\");\n const isMobile = detectMobile();\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const { t } = useTranslation();\n let associtaedAssets: any[] = [];\n\n useEffect(() => {\n dispatch(showMenuTabs(true));\n (async () => {\n try {\n const response = await api.GetAppConfigToggleValue(\"IsViewStatement\");\n setIsViewStatement(response?.value);\n } catch (e: any) {\n console.log(\"error\", e);\n }\n })();\n }, []);\n\n useEffect(() => {\n (async () => {\n try {\n setIsLoading(false);\n const customerResponse = await api.getCustomer(customerID);\n const accountCustomerResponse = await api.getAccountByCustomers(\n customerID\n );\n setaccountCustomerResponse(accountCustomerResponse);\n setCustomerResponse(customerResponse);\n const activeTenanciesSummaries =\n customerResponse.tenanciesSummaries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find(\n (s) => s.type === \"isTenancyActive\"\n )?.value === true\n );\n const activeTenanciesPremisesIds: Tenancies[] = activeTenanciesSummaries\n .map((ts: any) => ts.tenancySummary.premisesIds)\n .flat();\n const promises = activeTenanciesPremisesIds.map((item: any) => {\n return api.getAssociatedAssets(item).catch((error) => {\n setIsLoading(false)\n setApiFailMessage(true);\n });\n });\n Promise.all(promises).then((results) => {\n //Filter results as per premisesid\n\n activeTenanciesPremisesIds?.map(async (assetid: any) => {\n results.forEach((element:any) => {\n const resultF = element.filter(\n (addressdata:any) => addressdata.id === assetid\n );\n\n if (resultF !== null) associtaedAssets.push(resultF);\n });\n });\n const associtaedAssetsList: AssocitaedAssetsType[] = [];\n\n associtaedAssets?.map((addressdata: any) => {\n addressdata?.map((address: any) => {\n const associtaedAssetsTypeEntry: AssocitaedAssetsType =\n new AssocitaedAssetsType();\n\n associtaedAssetsTypeEntry.key = address?.id;\n associtaedAssetsTypeEntry.value =\n address?.addresses?.postalAddresses[0]?.formattedAddress;\n associtaedAssetsList.push(associtaedAssetsTypeEntry);\n });\n });\n if (associtaedAssetsList.length > 1) {\n setArea(true);\n } else {\n setArea(false);\n }\n if (PropertyId != \"\") {\n setdefaultassocitaedAsset(PropertyId);\n } else {\n PropertyId = associtaedAssetsList[0]?.key;\n setdefaultassocitaedAsset(associtaedAssetsList[0]?.key);\n }\n if (\n activeTenanciesSummaries != undefined &&\n activeTenanciesSummaries != null\n ) {\n let tenancySummaryEntry = activeTenanciesSummaries.find(\n (st) => st.tenancySummary.premisesIds[0] === PropertyId\n );\n setTenancySummary(tenancySummaryEntry);\n if (\n tenancySummaryEntry != undefined &&\n tenancySummaryEntry != null\n ) {\n let paymentReference =\n tenancySummaryEntry?.tenancySummary?.paymentReference;\n if (paymentReference != undefined && paymentReference != null) {\n getAccountList(paymentReference, accountCustomerResponse);\n }\n }\n }\n setassocitaedAssetsList(associtaedAssetsList);\n const propety = associtaedAssetsList.filter(\n (x) => x.key === PropertyId\n );\n dispatch(userChosenPropertyAddress(propety[0]?.value));\n });\n } catch (e) {\n setIsLoading(true);\n setApiFailMessage(true);\n console.error(e);\n }\n })();\n }, []);\n\n const backButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n const callPageHandler = async (\n AccountNumber: string | null,\n Payref: string | null,\n AccountType: string | null,\n LiveBalance: string,\n LiveBalanceType: string | null\n ) => {\n let LiveBalanceValue = \"£\" + LiveBalance;\n dispatch(userChosenBalanceType(LiveBalanceType));\n dispatch(userChosenAccountNumber(Payref));\n dispatch(userChosenBalance(LiveBalanceValue));\n dispatch(userChosenAccountType(AccountType));\n\n props.history.push(\"/transactionDetails\");\n };\n\n const viewStatementHandler = (\n Payref: string | null,\n AccountType: string | null,\n AccountNumber: string | null\n ) => {\n dispatch(userChosenAccountNumber(Payref));\n dispatch(userChosenAccountType(AccountType));\n dispatch(userChosenAccountIdentifier(AccountNumber));\n const currentAccount = accountResponse.filter(\n (el) => el[\"account-identifier\"] === Payref\n );\n\n const statementData = {\n tenancyStartDate: tenancySummary.tenancySummary?.tenancyStartDate,\n currentAccount: currentAccount,\n getCustomerResponse: CustResponse,\n };\n dispatch(viewStatementData(statementData));\n props.history.push(\"/viewstatement\");\n };\n\n const callPageHandlerPayment = async (\n AccountNumber: string | null,\n Payref: string | null,\n AccountType: string | null,\n LiveBalance: string,\n LiveBalanceType: string | null\n ) => {\n dispatch(userChosenBalanceType(LiveBalanceType));\n dispatch(userChosenAccountNumber(Payref));\n if (LiveBalanceType === \"in Credit\") {\n dispatch(userChosenBalance(0.0));\n } else {\n dispatch(userChosenBalance(Number(LiveBalance).toFixed(2)));\n }\n dispatch(userChosenAccountType(AccountType));\n\n props.history.push(\"/paymentDetails\");\n };\n const handleChangeAssocitae = (e: { target: { value: any } }) => {\n setdefaultassocitaedAsset(e.target.value);\n const activeTenanciesSummaries = CustResponse?.tenanciesSummaries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find((s) => s.type === \"isTenancyActive\")\n ?.value === true\n );\n\n if (\n activeTenanciesSummaries != undefined &&\n activeTenanciesSummaries != null\n ) {\n let TenancySummaryEntry = activeTenanciesSummaries.find(\n (st) => st.tenancySummary.premisesIds[0] === e.target.value\n );\n setTenancySummary(TenancySummaryEntry);\n if (TenancySummaryEntry != undefined && TenancySummaryEntry != null) {\n let paymentReference =\n TenancySummaryEntry?.tenancySummary?.paymentReference;\n if (paymentReference != undefined && paymentReference != null) {\n getAccountList(paymentReference, accountResponse);\n }\n }\n }\n const property = associtaedAssetList.filter(\n (x) => x.key === e.target.value\n );\n dispatch(userChosenPropertyAddress(property[0]?.value));\n };\n\n const handleChangeAccount = (e: { target: { value: any } }) => {\n setdefaultAccount(e.target.value);\n const chnagedAccountDetails = accountdetails.find(\n (account) => account.AccountNumber === e.target.value\n );\n setSelectedAccount(chnagedAccountDetails);\n };\n\n const getAccountList = (accountid: string, accountResponse: any) => {\n const accountDetailsList: AccountDetails[] = [];\n let orderAccountDetailsList: AccountDetails[] = [];\n accountResponse.forEach((accountBalance: any) => {\n const accountDetails: AccountDetails = new AccountDetails();\n if (\n accountBalance.identifiers[\"pay-ref\"].substring(0, 6) == accountid ||\n accountBalance.identifiers[\"pay-ref\"].substring(0, 7) == accountid\n ) {\n setpayref(accountBalance.identifiers[\"pay-ref\"]);\n if (accountBalance[\"account-type\"] === AccountTypeList.REN) {\n accountDetails.DisplayNumber = 1;\n accountDetails.AccountType = getAccountType(\n AccountTypeList.REN,\n accountBalance[\"tenancy-type\"]\n );\n accountDetails.Payref = accountBalance.identifiers[\"pay-ref\"];\n } else if (accountBalance[\"account-type\"] === AccountTypeList.FD5) {\n accountDetails.DisplayNumber = 2;\n accountDetails.AccountType = getAccountType(\n AccountTypeList.FD5,\n accountBalance[\"tenancy-type\"]\n );\n accountDetails.Payref = accountBalance.identifiers[\"pay-ref\"];\n } else if (accountBalance[\"account-type\"] === AccountTypeList.MJW) {\n accountDetails.DisplayNumber = 3;\n accountDetails.AccountType = getAccountType(\n AccountTypeList.MJW,\n accountBalance[\"tenancy-type\"]\n );\n accountDetails.Payref = accountBalance.identifiers[\"pay-ref\"];\n } else if (accountBalance[\"account-type\"] === AccountTypeList.GRD) {\n accountDetails.DisplayNumber = 4;\n accountDetails.Payref = accountBalance.identifiers[\"pay-ref\"];\n accountDetails.AccountType = getAccountType(\n AccountTypeList.GRD,\n accountBalance[\"tenancy-type\"]\n );\n } else if (accountBalance[\"account-type\"] === AccountTypeList.DEP) {\n accountDetails.DisplayNumber = 5;\n accountDetails.AccountType = getAccountType(\n AccountTypeList.DEP,\n accountBalance[\"tenancy-type\"]\n );\n accountDetails.Payref = accountBalance.identifiers[\"pay-ref\"];\n } else if (accountBalance[\"account-type\"] === AccountTypeList.HOM) {\n accountDetails.DisplayNumber = 6;\n accountDetails.AccountType = getAccountType(\n AccountTypeList.HOM,\n accountBalance[\"tenancy-type\"]\n );\n accountDetails.Payref = accountBalance.identifiers[\"pay-ref\"];\n }\n accountDetails.AccountNumber = accountBalance[\"account-identifier\"];\n accountDetails.lastTransactionBalance =\n accountBalance[\"last-transaction\"]?.amount?.gross?.value != null\n ? accountBalance[\"last-transaction\"]?.amount?.gross?.value\n : 0.0;\n accountDetails.lastTransactionDate =\n accountBalance[\"last-transaction\"]?.dates[\"created-date\"];\n accountBalance[\"balance\"].forEach((balance: any) => {\n if (balance[\"balance-type\"] == BalanceType.Livebalanced) {\n let liveBalanced = balance[\"monetary-amount\"][\"value\"];\n const accountBalanceValue = parseInt(liveBalanced);\n accountDetails.LiveBalanceType =\n accountBalanceValue != null\n ? accountBalanceValue > 0\n ? \"in arrears\"\n : \"in Credit\"\n : \"\";\n let number =\n liveBalanced != null\n ? Math.abs(liveBalanced.toString().replace(/,/g, \"\"))\n : 0.0;\n accountDetails.LiveBalance = number.toFixed(2);\n if (liveBalanced == 0) {\n accountDetails.LiveBalanceType = \"\";\n }\n accountDetailsList.push(accountDetails);\n }\n });\n }\n });\n orderAccountDetailsList = accountDetailsList.filter(\n (x) => x.DisplayNumber != 0\n );\n\n const sortedAccountList = orderAccountDetailsList.sort((a, b) => {\n return a.DisplayNumber - b.DisplayNumber;\n });\n if (sortedAccountList?.length > 1) {\n setMultipleAccount(true);\n }\n setdefaultAccount(sortedAccountList[0]?.AccountNumber);\n setSelectedAccount(sortedAccountList[0]);\n setaccountdetails(sortedAccountList);\n setIsLoading(true);\n };\n const returnToHome = () => {\n props.history.push(\"/customer360View\");\n };\n const openDialer = () => {\n window.open(\"tel:\"+t(\"phone_no\"));\n}\n const getAccountAllDetails = useCallback(() => {\n if (isApiFail) {\n return (\n <>\n
    \n \n {t(\"account_Down_SSC001\")} {t(\"phone_no\")}
    {t(\"Return_to_Home\")}
    \n
    \n \n
    \n \n {t(\"account_Down_SSC001\")} {t(\"phone_no\")}
    {t(\"Return_to_Home\")}
    \n
    \n \n {selectedAccount?.AccountType != AccountType.DEP &&\n isViewStatement === \"true\" && (\n <>\n
    \n
    \n \n
    \n \n )}\n \n
    \n \n
    \n \n
    \n \n );\n } else {\n if (selectedAccount) {\n return (\n
    \n
    \n
    \n {t(\"Balance\")}\n \n
    £{selectedAccount?.LiveBalance}{\" \"}\n {selectedAccount?.LiveBalanceType}\n \n
    \n\n
    \n {t(\"Last_Payment_amount\")}\n
    £{selectedAccount?.lastTransactionBalance}\n
    \n\n
    \n \n {t(\"Account_Type\")}\n \n
    {selectedAccount?.AccountType}\n
    \n\n
    \n {t(\"Last_Payment_date\")}\n
    {\" \"}\n {isNullOrUndefined(selectedAccount?.lastTransactionDate)\n ? \"-\"\n : formatDateWithFullMonthInLetters(\n selectedAccount?.lastTransactionDate\n )}{\" \"}\n
    \n {!multipleAccunt && (\n
    \n {t(\"Account_number\")}\n
    {selectedAccount?.Payref}\n
    \n )\n }\n\n
    \n\n {selectedAccount?.AccountType != AccountType.DEP &&\n isViewStatement === \"true\" && (\n <>\n
    \n
    \n \n
    \n \n )}\n\n
    \n\n
    \n \n
    \n
    \n );\n } else {\n return (\n
    \n \n {isMobile ? ({t(\"account_Down_SSC001\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}
    ):( {t(\"account_Down_SSC001\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}
    )}\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n \n );\n }\n }\n }, [selectedAccount]);\n\n return (\n <>\n {isLoading ? (\n
    \n
    \n
    \n

    {t(\"Balance_Header\")}

    \n
    \n
    \n {!isApiFail ? (\n
    \n {selectedAccount?.AccountType === AccountType.REN ? (\n \n window.open(\n \"https://www.peabody.org.uk/your-home/rent-and-service-charges/how-to-pay/direct-debit\",\n \"_blank\",\n \"noopener\"\n )\n }\n onKeyDown={() =>\n window.open(\n \"https://www.peabody.org.uk/your-home/rent-and-service-charges/how-to-pay/direct-debit\",\n \"_blank\",\n \"noopener\"\n )\n }\n className=\"secondary-ghost-btn mr-16\"\n id=\"Create-direct\"\n data-testid={\n \"Create-direct\" + selectedAccount?.DisplayNumber\n }\n >\n {\" \"}\n {t(\"Create_direct_debit\")}{\" \"}\n \n ) : (\n
    \n )}\n\n {selectedAccount?.AccountType != AccountType.DEP ? (\n \n callPageHandlerPayment(\n selectedAccount?.AccountNumber,\n selectedAccount?.Payref,\n selectedAccount?.AccountType,\n selectedAccount?.LiveBalance,\n selectedAccount?.LiveBalanceType\n )\n }\n className=\"primary-btn\"\n id=\"make-Payment\"\n data-testid=\"make-Payment\"\n >\n {\" \"}\n {t(\"make_Payment\")}{\" \"}\n \n ) : (\n
    \n )}\n
    \n ) : (\n
    \n )}\n
    \n
    \n\n
    \n {Area ? (\n
    \n \n {associtaedAssetList.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n ) : (\n !isApiFail ? \n {associtaedAssetList.map((e, key) => {\n return (\n
    \n
    \n
    \n {e.value}\n
    \n
    \n
    \n );\n })}\n
    : \"\"\n )}\n
    \n\n {multipleAccunt ? (\n
    \n \n {accountdetails.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n ) : (\n <>\n )}\n\n {getAccountAllDetails()}\n \n ) : (\n
    \n \n
    \n )}\n \n );\n};\n\nexport default ViewAccount;\n","import React, { useState, useEffect } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport LoadingSpinner from \"../../storybook/LoadingSpinner\";\nimport \"./index.scss\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport * as api from \"../../api\";\nimport { formatDate, detectMobile } from \"../../utils/formatting\";\nimport { catalystEditProfileToggleValue, showMenuTabs } from \"../../ducks/redux/actions/userChoices\";\nimport Message from \"../../storybook/Message\";\n\n\nconst b2cResetPasswordUrl: string =\n process.env.REACT_APP_CSS_B2C_RESET_PASSWORD_URL || \"\";\n\ninterface ManageProfileProps extends RouteComponentProps { }\nconst ManageProfile: React.FC = (props) => {\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const [isCustInfo, setIsCustInfo] = React.useState(false);\n const [isLoading, setIsLoading] = React.useState(true);\n const [catalystProfileToggle, setCatalystCaseCardToggle] = useState(\"false\");\n const [alertMessage, setAlertMessage] = React.useState(false);\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n\n const userProfileData = useSelector(\n (state: any) => state?.userChoicesReducer?.userProfileData\n );\n\n const isCatalyst = useSelector(\n (state: any) => state.userChoicesReducer?.isCatalystCustomer\n );\n\n const getCatalystProfileToggle = async () => {\n try {\n const response = await api.GetAppConfigToggleValue(\n \"mypeabodycatalystprofileupdate\"\n );\n setCatalystCaseCardToggle(response?.value);\n dispatch(catalystEditProfileToggleValue(response?.value));\n } catch (e: any) {\n console.log(e);\n setAlertMessage(true);\n }\n };\n\n useEffect(() => {\n dispatch(showMenuTabs(true));\n if (props.history.action === \"POP\") {\n props.history.push(\"/customer360View\");\n }\n // catalyst profile update toggle api call\n getCatalystProfileToggle();\n }, []);\n\n const backButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const editButtonHandler = () => {\n props.history.push(\"/editprofile\");\n };\n\n const redirectToIDAMResetPassword = () => {\n window.location.href = b2cResetPasswordUrl;\n };\n\n const redirectTo360View = () => {\n props.history.push(\"/customer360View\");\n }\n\n const openMobiledialer = () => {\n window.open('tel:03001233456');\n }\n\n const isMobile = detectMobile();\n\n\n return (\n <>\n {isLoading ? (\n
    \n
    \n

    {t(\"Customer_Profile\")}

    \n {alertMessage ? (\n
    \n
    \n ) : (\n
    \n \n {t(\"change_password\")}\n \n \n {t(\"Edit_your_deatils\")}\n \n
    )}\n
    \n\n\n {(alertMessage && isMobile) ? (\n
    \n {t('alert_Message')} { {t('phone_no')} }\n

    \n

    \n {
    {t('Return_to_Home')}
    }\n
    \n
    \n ) : (alertMessage && isMobile == false) ?
    \n {t('alert_Message')} { {t('phone_no')} }\n

    \n

    \n {
    {t('Return_to_Home')}
    }\n
    \n
    : (\n
    \n
    {t(\"Customer_Profile_Name\")}
    \n

    \n {userProfileData?.customerResponse?.person.name.title}{\" \"}\n {userProfileData?.customerResponse?.person.name.givenName}{\" \"}\n {userProfileData?.customerResponse?.person.name.surname}\n

    \n\n
    {t(\"Customer_Profile_DOB\")}
    \n

    \n {userProfileData?.customerResponse?.person.dateOfBirth &&\n formatDate(\n userProfileData?.customerResponse?.person.dateOfBirth\n )}\n

    \n\n
    {t(\"Customer_Profile_Email\")}
    \n

    \n {userProfileData?.customerContactParamsEntry?.email\n ? userProfileData?.customerContactParamsEntry?.email\n : \"-\"}\n

    \n\n
    \n {\" \"}\n {t(\"Customer_Profile_Mobile\")}\n
    \n

    \n {userProfileData?.customerContactParamsEntry?.mobilePhone\n ? userProfileData?.customerContactParamsEntry?.mobilePhone\n : \"-\"}\n

    \n\n
    {t(\"Customer_Profile_Home\")}
    \n

    \n {userProfileData?.customerContactParamsEntry?.homePhone\n ? userProfileData?.customerContactParamsEntry?.homePhone\n : \"-\"}\n

    \n\n
    \n {\" \"}\n {t(\"Customer_Profile_Business\")}\n
    \n

    \n {userProfileData?.customerContactParamsEntry?.workPhone\n ? userProfileData?.customerContactParamsEntry?.workPhone\n : \"-\"}\n

    \n\n
    \n {!isCustInfo ? (\n
    \n ) : (\n
    \n
    \n

    \n {t(\"missing_information\")}\n

    \n
    \n
    \n )}\n
    \n
    \n
    \n {/**The code below will be enabled once the change username story is developed.**/\n /*

    \n \n {t(\"change_username\")}\n \n

    */}\n
    \n
    \n
    )}\n
    \n ) : (\n
    \n \n
    \n )}\n \n );\n};\n\nexport default ManageProfile;\n","import React, { useState, useEffect } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport \"./index.scss\";\nimport Loader from \"react-loader-spinner\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { showMenuTabs, userProfileETag } from \"../../ducks/redux/actions/userChoices\";\n\nimport { formatDate } from \"../../utils/formatting\";\nimport * as api from \"../../api\";\nimport { USER_PROFILE_DATA } from \"../../ducks/redux/actionTypes\";\nimport Customer from \"../../models/Customer\";\nimport Message from \"../../storybook/Message\";\nimport Button from \"../../storybook/Button\";\nimport { saveCustomerDetails, savePreviousPage } from \"../../ducks/redux/actions/getAddress\";\n\nconst b2cResetPasswordUrl: string =\n process.env.REACT_APP_CSS_B2C_RESET_PASSWORD_URL || \"\";\n\ninterface EditProfileProps extends RouteComponentProps { }\n\nconst EditProfile: React.FC = (props) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const [isLoading, setIsLoading] = useState(false);\n const [errorMessage, setErrorMessage] = useState([]);\n const customerId = useSelector((state: any) => state.addresses?.customerid);\n const eTag = useSelector(\n (state: any) => state?.userChoicesReducer?.userProfileETag\n );\n const userProfileData = useSelector(\n (state: any) => state?.userChoicesReducer?.userProfileData\n );\n const { name, dateOfBirth } = userProfileData?.customerResponse?.person;\n const { email, mobilePhone, homePhone, workPhone } =\n userProfileData?.customerContactParamsEntry || {};\n const [eMail, setEMail] = useState(email || \"\");\n const [mobileNo, setMobileNo] = useState(mobilePhone || \"\");\n const [homePhoneNo, setHomePhoneNo] = useState(homePhone || \"\");\n const [businessPhone, setBusinessPhone] = useState(workPhone || \"\");\n const [updateStatusMsg, setUpdateStatusMsg] = useState(\"\");\n const [disabledSaveButton, setSaveButtonDisabled] = useState(\"\");\n const [updatedEmail, setUpdatedEmail] = useState(\"\");\n const [updatedMobile, setUpdatedMobile] = useState(\"\");\n const [updatedHome, setUpdatedHome] = useState(\"\");\n const [updatedBusiness, setUpdatedBusiness] = useState(\"\");\n\n const catalystProfileToggle = useSelector(\n (state: any) => state.userChoicesReducer?.isEditProfileToggle\n );\n\n const [isProfileUpdated, setIsProfileUpdated] = useState(false);\n\n const isCatalyst = useSelector(\n (state: any) => state.userChoicesReducer?.isCatalystCustomer\n );\n\n let errorArray: any[] = [];\n const emailRegrex =\n /^(([^<>()\\[\\]\\\\.,;:\\s$*£`%+?{}\\=|/¬&!#^~@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s$*£`%+?{}\\=|/¬&!#^~@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/i;\n const phoneNoRegrex = /^[+0-9]+$/;\n\n const backButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const redirectToIDAMResetPassword = () => {\n window.location.href = b2cResetPasswordUrl;\n };\n\n const numValidator = (\n errorCode: string,\n typedValue: string,\n errorArray: string[]\n ) => {\n if (\n typedValue.slice(0, 1) != \"0\" ||\n typedValue.length < 11 ||\n typedValue == \"\"\n ) {\n errorArray.push(errorCode);\n let uniqueErrors = Array.from(new Set(errorArray));\n setErrorMessage(uniqueErrors);\n } else if (errorArray.includes(errorCode)) {\n errorArray.splice(errorArray.indexOf(errorCode), 1);\n setErrorMessage(errorArray);\n }\n };\n\n const inputBlurHandler = (event: any) => {\n const inputValue = event.target.value;\n if (event.target.id === \"emailId\") {\n if (userProfileData?.customerContactParamsEntry?.email !== inputValue) {\n setIsProfileUpdated(true);\n setUpdatedEmail(inputValue);\n }\n } else if (event.target.id === \"mobileId\") {\n if (\n userProfileData?.customerContactParamsEntry?.mobilePhone !== inputValue\n ) {\n setIsProfileUpdated(true);\n setUpdatedMobile(inputValue);\n }\n } else if (event.target.id === \"homePhoneId\") {\n if (\n userProfileData?.customerContactParamsEntry?.homePhone !== inputValue\n ) {\n setIsProfileUpdated(true);\n setUpdatedHome(inputValue);\n }\n } else if (event.target.id === \"businessPhoneId\") {\n if (\n userProfileData?.customerContactParamsEntry?.workPhone !== inputValue\n ) {\n setIsProfileUpdated(true);\n setUpdatedBusiness(inputValue);\n }\n }\n };\n\n const inputChangeHandler = (event: any) => {\n setUpdateStatusMsg(\"\");\n const typedValue = event.target.value;\n\n errorArray = errorMessage;\n if (event.target.id === \"emailId\") {\n const splitedEmail = typedValue.split(\"@\");\n if (\n !typedValue ||\n emailRegrex.test(typedValue) === false ||\n splitedEmail[0].length > 64 ||\n splitedEmail[1].length > 48 ||\n typedValue.length > 100 ||\n typedValue.indexOf(\"-@\") > -1\n ) {\n errorArray.push(\"SSCP002\");\n let uniqueErrors = Array.from(new Set(errorArray));\n setErrorMessage(uniqueErrors);\n } else if (errorArray.includes(\"SSCP002\")) {\n errorArray.splice(errorArray.indexOf(\"SSCP002\"), 1);\n setErrorMessage(errorArray);\n }\n setEMail(typedValue);\n } else if (event.target.id === \"mobileId\") {\n if (!typedValue || phoneNoRegrex.test(typedValue)) {\n numValidator(\"SSCP003a\", typedValue, errorArray);\n setMobileNo(typedValue.toString().slice(0, 11));\n }\n } else if (event.target.id === \"homePhoneId\") {\n if (typedValue == \"\") {\n setHomePhoneNo(typedValue.toString());\n setErrorMessage(\n errorMessage.filter((errorcode) => errorcode !== \"SSCP003b\")\n );\n } else if (!typedValue || phoneNoRegrex.test(typedValue)) {\n numValidator(\"SSCP003b\", typedValue, errorArray);\n setHomePhoneNo(typedValue.toString().slice(0, 11));\n }\n } else if (event.target.id === \"businessPhoneId\") {\n if (typedValue == \"\") {\n setBusinessPhone(typedValue.toString());\n setErrorMessage(\n errorMessage.filter((errorcode) => errorcode !== \"SSCP003c\")\n );\n } else if (!typedValue || phoneNoRegrex.test(typedValue)) {\n numValidator(\"SSCP003c\", typedValue, errorArray);\n setBusinessPhone(typedValue.toString().slice(0, 11));\n }\n }\n };\n\n const sendEmailNotification = async (\n updatedEmail: any,\n updatedMobile: any,\n updatedHome: any,\n updatedBusiness: any\n ) => {\n const today = new Date();\n const minutes = today.getMinutes().toString().padStart(2, \"0\");\n const hour = today.getHours().toString().padStart(2, \"0\");\n const dd = today.getDate().toString().padStart(2, \"0\");\n const mm = (today.getMonth() + 1).toString().padStart(2, \"0\");\n const yyyy = today.getFullYear();\n const profileDate = `${dd}/${mm}/${yyyy}`;\n const editedTime = `${hour}:${minutes}`;\n\n const emailNotification = {\n sender: {\n addresses: {\n digitalAddresses: [\n {\n emailAddresses: [\n {\n value: \"test@peabody.org.uk\",\n id: \"email\",\n },\n ],\n telecomsAddresses: [\n {\n number: \"\",\n deviceId: \"\",\n dialingCode: \"\",\n countryCode: \"\",\n telecomsAddressType: \"mobile\",\n },\n ],\n },\n ],\n },\n },\n communicationTemplateIdentifier:\n \"pb-catalystcustomerprofileupdate-template\",\n communicationType: \"Email\",\n content: [\n {\n identifier: \"insert_date\",\n value: profileDate,\n },\n {\n identifier: \"insert_time\",\n value: editedTime,\n },\n {\n identifier: \"email_address\",\n value: updatedEmail,\n },\n {\n identifier: \"mobile_phone\",\n value: updatedMobile,\n },\n {\n identifier: \"home_phone\",\n value: updatedHome,\n },\n {\n identifier: \"business_phone\",\n value: updatedBusiness,\n },\n ],\n };\n try {\n await api.postRequestCatalystCustomerEmail(customerId, emailNotification);\n } catch (e: any) {\n console.log(\"Error:\", e);\n }\n };\n\n const submitButtonHandler = async () => {\n setUpdateStatusMsg(\"\");\n errorArray = errorMessage;\n const splitedEmail = eMail.split(\"@\");\n if (\n !eMail ||\n emailRegrex.test(eMail) === false ||\n splitedEmail[0].length > 64 ||\n splitedEmail[1].length > 48 ||\n eMail.length > 100 ||\n eMail.indexOf(\"-@\") > -1\n ) {\n errorArray.push(\"SSCP002\");\n let uniqueErrors = Array.from(new Set(errorArray));\n setErrorMessage(uniqueErrors);\n }\n if (\n mobileNo === \"\" ||\n mobileNo.slice(0, 1) != \"0\" ||\n mobileNo.length < 11\n ) {\n errorArray.push(\"SSCP003a\");\n let uniqueErrors = Array.from(new Set(errorArray));\n setErrorMessage(uniqueErrors);\n } else if (\n homePhoneNo.length > 0 &&\n (homePhoneNo.slice(0, 1) != \"0\" || homePhoneNo.length < 11)\n ) {\n errorArray.push(\"SSCP003b\");\n let uniqueErrors = Array.from(new Set(errorArray));\n setErrorMessage(uniqueErrors);\n } else if (\n businessPhone.length > 0 &&\n (businessPhone.slice(0, 1) != \"0\" || businessPhone.length < 11)\n ) {\n errorArray.push(\"SSCP003c\");\n let uniqueErrors = Array.from(new Set(errorArray));\n setErrorMessage(uniqueErrors);\n } else if (errorArray.length === 0) {\n errorArray = [];\n setErrorMessage(errorArray);\n\n const allData = {\n emailAddress: eMail,\n mobilePhone: mobileNo,\n homePhone: homePhoneNo,\n workPhone: businessPhone,\n };\n\n const customerContactParamsEntry: Customer = new Customer();\n customerContactParamsEntry.email = eMail;\n customerContactParamsEntry.mobilePhone = mobileNo;\n customerContactParamsEntry.homePhone = homePhoneNo;\n customerContactParamsEntry.workPhone = businessPhone;\n\n setIsLoading(true);\n setSaveButtonDisabled(\"pointer-events-none\"); // disable save to prevent double click\n\n try {\n await api.putEditProfile(customerId, allData, eTag);\n\n if (\n isProfileUpdated &&\n isCatalyst &&\n catalystProfileToggle === \"true\"\n ) {\n setUpdateStatusMsg(\"SSCP004a\");\n sendEmailNotification(\n updatedEmail,\n updatedMobile,\n updatedHome,\n updatedBusiness\n );\n } else if (\n !isProfileUpdated &&\n isCatalyst &&\n catalystProfileToggle === \"true\"\n ) {\n setUpdateStatusMsg(\"SSCP005\");\n } else if (\n !isProfileUpdated &&\n isCatalyst &&\n catalystProfileToggle === \"false\"\n ) {\n setUpdateStatusMsg(\"profile_update_success\");\n } else {\n setUpdateStatusMsg(\"profile_update_success\");\n }\n try {\n const customerResponse = await api.getCustomer(customerId);\n dispatch(saveCustomerDetails(customerResponse));\n dispatch(userProfileETag(customerResponse?.eTag));\n dispatch({\n type: USER_PROFILE_DATA,\n payload: { customerResponse, customerContactParamsEntry },\n });\n setIsLoading(false);\n setSaveButtonDisabled(\"\");\n setIsProfileUpdated(false);\n setTimeout(async () => {\n setIsLoading(false);\n props.history.push(\"/manageprofile\");\n }, 3000);\n } catch (e) {\n console.error(e);\n dispatch(showMenuTabs(false));\n dispatch(saveCustomerDetails(''));\n dispatch(savePreviousPage('/manageprofile'));\n props.history.push('/customerApiErrorPage');\n }\n } catch (e: any) {\n setIsLoading(false);\n setUpdateStatusMsg(\"profile_update_failed\");\n }\n }\n };\n const cancelButtonHandler = () => {\n props.history.push(\"/manageprofile\");\n };\n\n const nameVal = `${name.title} ${name.givenName} ${name.surname}`;\n const DOBVal = formatDate(dateOfBirth);\n\n const elementsObj = [\n {\n label: \"Customer_Profile_Name\",\n divId: \"name-div\",\n inputId: \"nameId\",\n dataTestId: \"nameInput\",\n type: \"text\",\n placeholder: \"Customer name\",\n value: nameVal,\n disabledStatus: true,\n },\n {\n label: \"Customer_Profile_DOB\",\n divId: \"DOB-div\",\n inputId: \"DOBId\",\n dataTestId: \"DOBInput\",\n type: \"text\",\n placeholder: \"Date of birth\",\n value: DOBVal,\n disabledStatus: true,\n },\n {\n label: \"Customer_Profile_Email\",\n divId: \"email-div\",\n inputId: \"emailId\",\n dataTestId: \"emailInput\",\n type: \"text\",\n placeholder: \"E-Mail address\",\n value: eMail,\n disabledStatus: false,\n },\n {\n label: \"Customer_Profile_Mobile\",\n divId: \"mobile-div\",\n inputId: \"mobileId\",\n dataTestId: \"mobileNumberInput\",\n type: \"text\",\n placeholder: \"Mobile phone number\",\n value: mobileNo,\n disabledStatus: false,\n },\n {\n label: \"Customer_Profile_Home\",\n divId: \"homePhone-div\",\n inputId: \"homePhoneId\",\n dataTestId: \"homePhoneNumberInput\",\n type: \"text\",\n placeholder: \"Home phone number\",\n value: homePhoneNo,\n disabledStatus: false,\n },\n {\n label: \"Customer_Profile_Business\",\n divId: \"businessPhone-div\",\n inputId: \"businessPhoneId\",\n dataTestId: \"businessPhoneNumberInput\",\n type: \"text\",\n placeholder: \"Business phone number\",\n value: businessPhone,\n disabledStatus: false,\n },\n ];\n\n return (\n <>\n
    \n
    \n

    {t(\"Customer_Profile\")}

    \n\n {errorMessage?.map((error: any, key: any) => {\n return (\n \n {t(`${error}`)}\n
    \n );\n })}\n\n {updateStatusMsg && (\n \n {t(updateStatusMsg)}\n
    \n )}\n\n
    \n {elementsObj.map((eachElem, key) => {\n return (\n \n\n
    {t(eachElem.label)}
    \n \n \n

    \n
    \n );\n })}\n \n\n
    \n
    \n
    \n \n {t(\"CR005\")}\n \n
    \n
    \n \n {t(\"Save_changes\")}\n \n
    \n
    \n
    \n \n \n\n {isLoading && (\n \n )}\n \n );\n};\nexport default EditProfile;","import React, { useEffect, useState } from 'react'\nimport { useTranslation } from 'react-i18next'\nimport { useDispatch, useSelector } from \"react-redux\";\nimport \"./style.scss\";\nimport { RouteComponentProps } from 'react-router-dom'\nimport { selectedTabValue, showMenuTabs, showFooter, userChosenOtherBalance } from '../../ducks/redux/actions/userChoices';\nimport Button from \"../../storybook/Button\";\nimport mobileChevronleft from \"../../assets/img/mobileChevronleft.png\";\nimport Message from \"../../storybook/Message\";\nimport HeaderJourney from '../../storybook/Header/HeaderJourney';\nimport { Radio } from '@mui/material';\n\ninterface PaymentDetailsProps extends RouteComponentProps {\n}\nconst PaymentDetails: React.FC = (props) => {\n\n const [radioValue, setradioValue] = useState(true);\n const [errorcode, seterrorcode] = useState(false);\n const [otherRadio, setotherRadio] = useState(false);\n const [paymentValue, setpaymentValue] = useState(\"\");\n const [buttondisabled, setdisabled] = useState(false);\n const [liveBalanceValue, setliveBalance] = useState(\"\");\n const dispatch = useDispatch();\n\n const accountnumber = (useSelector(\n (state: any) => state.userChoicesReducer?.accountnumber)\n );\n const balance = Number(useSelector(\n (state: any) => state.userChoicesReducer?.balance)\n )\n const accountType = useSelector(\n (state: any) => state.userChoicesReducer?.accountType\n );\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const { t } = useTranslation()\n\n useEffect(() => {\n if (customerID === null || customerID === undefined || customerID === \"\") {\n props.history.push(\"/startpage\");\n return;\n }\n (async () => {\n try {\n setliveBalance(\"£\" + balance.toFixed(2))\n if (balance > 0) {\n setradioValue(true);\n setotherRadio(false);\n }\n else {\n setotherRadio(true);\n setradioValue(false);\n }\n }\n catch (e) {\n console.error(e);\n }\n })()\n }, [])\n\n useEffect(() => {\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n }, [])\n\n const backButtonHandler = () => {\n props.history.push(\"/viewaccount\");\n dispatch(showMenuTabs(true));\n dispatch(showFooter(true));\n dispatch(selectedTabValue(\"viewaccount\"))\n };\n const callPageHandler = () => {\n if (radioValue) {\n const liveBalance = Number(balance);\n if (liveBalance >= 1 && liveBalance <= 5000) {\n seterrorcode(false);\n setdisabled(false);\n dispatch(userChosenOtherBalance(liveBalance));\n props.history.push(\"/allPayGateway\");\n }\n else {\n seterrorcode(true);\n setdisabled(true);\n\n }\n }\n else {\n let Payment = paymentValue.toString().replace(/£/g, '')\n const liveBalance = Number(Payment);\n if (liveBalance >= 1 && liveBalance <= 5000) {\n seterrorcode(false);\n setdisabled(false);\n dispatch(userChosenOtherBalance(liveBalance));\n props.history.push(\"/allPayGateway\");\n }\n else {\n seterrorcode(true);\n setdisabled(true);\n }\n }\n\n };\n const updateSelection = (\n value: number\n ) => {\n if (value == 1) {\n seterrorcode(false);\n setdisabled(false);\n setradioValue(true);\n setotherRadio(false);\n }\n else {\n setradioValue(false);\n setotherRadio(true);\n }\n }\n const handlePaymentValue = (event: any): void => {\n if (otherRadio) {\n let PaymentValue = event.target.value.toString().replace(/£/g, '')\n if (Number(PaymentValue) || PaymentValue == \"\") {\n if (PaymentValue == \"\") {\n setpaymentValue(\"\");\n }\n else {\n setpaymentValue(PaymentValue);\n }\n\n const Paymentvalue = Number(PaymentValue);\n if (Paymentvalue >= 1 && Paymentvalue <= 5000) {\n\n seterrorcode(false);\n setdisabled(false);\n }\n else {\n seterrorcode(true);\n setdisabled(true);\n }\n }\n }\n };\n\n\n return (\n <>\n \n
    \n

    {t(\"Payment_details\")}

    \n {errorcode ? (\n
    \n \n {t(\"SSC008\")}\n \n
    \n ) :\n (\n
    \n )}\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    {t(\"Account_type\")}{t(\"Payment_ref\")}
    {accountType}{accountnumber}
    \n
    \n\n
    \n {balance > 0 ?\n (\n
    \n \n
    \n ) : (\n
    \n \n
    \n )}\n
    \n \n {otherRadio && (\n
    \n \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n \n {t(\"back_button\")}\n \n \n \"Back\"\n
    \n
    \n \n {t(\"continuen_button\")}\n \n
    \n
    \n
    \n
    \n \n )\n}\n\nexport default PaymentDetails;\n\n\n","import React, { useEffect, useState } from 'react'\nimport \"./index.scss\";\nimport { useTranslation } from 'react-i18next'\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { RouteComponentProps } from 'react-router-dom';\nimport * as api from \"../../api\";\nimport { AllpayConformationMessage, showMenuTabs, showFooter } from '../../ducks/redux/actions/userChoices';\nimport Button from '../../storybook/Button';\nimport mobileChevronleft from \"../../assets/img/mobileChevronleft.png\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\nimport { detectMobile} from \"../../utils/formatting\";\nimport Message from \"../../storybook/Message\";\nconst allPayUrl: string = process.env.REACT_APP_ALLPAY_BASE_URL || '';\n\ninterface AllPayGatewayProps extends RouteComponentProps {\n}\nconst Allpayforminput = (key: string, Value: string): HTMLInputElement => {\n var hiddenField = document.createElement(\"input\");\n hiddenField.type = \"hidden\";\n hiddenField.name = key;\n hiddenField.value = Value;\n return hiddenField\n};\n\nconst AllPayGateway: React.FC = (props) => {\n const dispatch = useDispatch();\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const balance = Number(useSelector(\n (state: any) => state.userChoicesReducer?.OtherBalance)\n );\n const isMobile = detectMobile();\n const accountnumber = (useSelector(\n (state: any) => state.userChoicesReducer?.accountnumber)\n );\n const { t } = useTranslation()\n const [messageAlert, setMessageAlert] = React.useState(false);\n useEffect(() => {\n (async () => {\n try {\n const Payment = Number(balance.toString().replace(/£/g, ''))\n const liveBalancevalue = Payment.toFixed(2);\n await api.allPayTaken(customerID).then((results: any) => {\n window.addEventListener(\"message\", onCompleteEvent);\n var form = document.createElement(\"form\");\n form.method = \"post\";\n form.action = allPayUrl;\n form.target = \"allpay\";\n form.appendChild(Allpayforminput(\"token\", results['bearer-token']));\n form.appendChild(Allpayforminput(\"customerReference\", accountnumber));\n form.appendChild(Allpayforminput(\"amount\", liveBalancevalue));\n form.appendChild(Allpayforminput(\"clientCode\", results['client-code']));\n //form.appendChild(Allpayforminput(\"clientCode\", \"NEWS\"));\n form.appendChild(Allpayforminput(\"paymentReason\", \"Rent\"));\n document.body.appendChild(form);\n form.submit();\n document.body.removeChild(form);\n }).catch((error) => {\n console.error(error);\n setMessageAlert(true)\n });\n }\n catch (e) {\n console.error(e);\n setMessageAlert(true)\n }\n })()\n }, [])\n\n useEffect(()=>{\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n },[])\n\n const backButtonHandler = () => {\n props.history.push(\"/paymentDetails\");\n };\n const conformationButtonHandler = () => {\n props.history.push(\"/allPayGatewayConformation\");\n };\n function onCompleteEvent(event: any) {\n if (event.data.resultCode === 0) {\n dispatch(AllpayConformationMessage(t(\"Success_Message\")));\n }\n else {\n dispatch(AllpayConformationMessage(t(\"Fail_Message\")));\n }\n conformationButtonHandler();\n }\n const openDialer = () => {\n window.open(\"tel:\"+t(\"phone_no\"));\n }\n const returnToHome = () => {\n props.history.push(\"/customer360View\");\n };\n return (\n <>\n \n {!messageAlert ?
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n \n {t(\"Back\")}\n \n \n \"Back\"\n
    \n
    \n
    \n
    : isMobile ?
    \n {t(\"payment_Message_Api_Failure\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}
    \n
    :
    \n {t(\"payment_Message_Api_Failure\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}
    \n
    }\n \n )\n}\n\nexport default AllPayGateway;\n\n\n","import React, { useEffect } from 'react'\nimport { useTranslation } from 'react-i18next'\nimport { RouteComponentProps } from 'react-router-dom';\nimport { useDispatch, useSelector } from 'react-redux';\nimport mobileChevronleft from \"../../assets/img/mobileChevronleft.png\";\nimport Button from \"../../storybook/Button\";\nimport Message from \"../../storybook/Message\";\nimport HeaderJourney from '../../storybook/Header/HeaderJourney';\nimport { selectedTabValue, showMenuTabs, showFooter } from '../../ducks/redux/actions/userChoices';\ninterface AllPayGatewayConformationProps extends RouteComponentProps {\n}\n\nconst AllPayGatewayConformation: React.FC = (props) => {\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const allPayMessage = useSelector(\n (state: any) => state.userChoicesReducer?.conformationMessage)\n const { t } = useTranslation()\n const dispatch = useDispatch();\n\n const backButtonHandler = () => {\n props.history.push(\"/viewaccount\");\n dispatch(showMenuTabs(true));\n dispatch(showFooter(true));\n dispatch(selectedTabValue(\"viewaccount\"))\n };\n useEffect(() => {\n dispatch(showMenuTabs(false));\n if (customerID === null || customerID === undefined || customerID === \"\") {\n props.history.push(\"/startpage\");\n return;\n }\n }, []);\n return (\n <>\n \n
    \n
    \n {allPayMessage === t(\"Success_Message\") ? (\n \n {allPayMessage} \n \n ) : (\n \n {allPayMessage} \n \n )\n }\n
    \n
    \n
    \n
    \n \n \n {t(\"Back\")}\n \n \n \"Back\"\n
    \n
    \n
    \n
    \n \n )\n}\n\nexport default AllPayGatewayConformation;\n\n\n","import React, { useState, useEffect, Suspense } from \"react\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport {\n Container,\n RadioGroup,\n FormControlLabel,\n Radio,\n} from \"@material-ui/core\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport * as api from \"../../../api\";\nimport {\n saveAssociatedAssests,\n saveCustomerTenacies, \n saveCustomerDetails,\n saveCustomerphoneNumber,\n getCustomerId, \n} from \"../../../ducks/redux/actions/getAddress\";\nimport { showMenuTabs, singleTenancy, userChosenPropertyAddress, showFooter, userNavigatedFrom } from \"../../../ducks/redux/actions/userChoices\";\nimport { isUndefinedNullOrEmpty } from \"../../../utils/translation/helper\";\nimport { \n CASE_EDIT,\n CASE_PROPERTY_TENANCY_GROUP,\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n USERCHOSEN_PROPERTY_ID,\n} from \"../../../ducks/redux/actionTypes\";\n\nimport Button from \"../../../storybook/Button\";\nimport Message from \"../../../storybook/Message\";\nimport HeaderJourney from \"../../../storybook/Header/HeaderJourney\";\nimport ExitModal from \"../../Modal/ExitModal\";\nimport { CustomerResponse } from \"../../../models/Customer\";\n\nconst Loader = React.lazy(() => import(\"react-loader-spinner\"));\n\n\ninterface SelectTenencyProps extends RouteComponentProps { }\nconst SelectTenency: React.FC = (props) => {\n const dispatch = useDispatch();\n \n const userChosenPropertyId = useSelector(\n (state: any) => state.userChoicesReducer?.userChosenPropertyId\n );\n const customerResponse: CustomerResponse = useSelector(\n (state: any) => state.addresses.saveCustomerDetails\n );\n \n const { t } = useTranslation();\n const [isLoading, setIsLoading] = useState(false);\n\n const array: any[] = [];\n const [AllAsset, SetAllAssetData] = useState(array);\n\n const [isError, setError] = useState(\"none\");\n const [buttondisable, setsetButtonDisable] = useState(false);\n\n const [getTenancyGroup, setTenancyGroup] = useState(\"\");\n\n const radiovalue = useSelector(\n (state: any) => state.userChoicesReducer.userChosenPropertyAddress\n );\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n \n const [activeTenacyPremisesIds, setActiveTenacyPremisesIds] = useState(\n []\n );\n\n useEffect(() => {\n (async function () {\n try {\n setIsLoading(true);\n let residentialProperties: {\n premisesid: string;\n tenancygroup: string;\n startdate: string | null;\n }[] = [{ premisesid: \"\", tenancygroup: \"\", startdate: \"\" }];\n\n let nonResidentialProperties: {\n premisesid: string;\n tenancygroup: string;\n startdate: string | null;\n }[] = [{ premisesid: \"\", tenancygroup: \"\", startdate: \"\" }];\n // set work order to null for create new work order\n const tenancyResponse = api.getTenancies(customerID);\n Promise.all([customerResponse, tenancyResponse]).then(\n async (results) => {\n dispatch(\n saveCustomerphoneNumber(results[0].addresses.telecomsAddresses)\n );\n dispatch(getCustomerId(customerID));\n const tenancySummries = results[0].tenanciesSummaries;\n\n const activeTenanciesSummaries = tenancySummries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find(\n (s) => s.type === \"isTenancyActive\"\n )?.value === true\n );\n \n dispatch(saveCustomerTenacies(activeTenanciesSummaries));\n\n dispatch(saveCustomerDetails(results[0]));\n\n if (results[1]?.length > 0) {\n results[1].map((itemTenancy) => {\n activeTenanciesSummaries.map((itemActiveTenancy) => {\n if (\n itemTenancy.tenancyIdentifier ==\n itemActiveTenancy.tenancySummary.tenancyId\n ) {\n const premiseid =\n itemActiveTenancy?.tenancySummary?.premisesIds[0];\n\n const startdateValue =\n itemActiveTenancy?.tenancySummary.tenancyStartDate;\n\n const groupTenancy = itemTenancy.tenancyGroup;\n\n if (\n itemTenancy.tenancyGroup == \"Non-residential\" ||\n itemTenancy.tenancyGroup == \"Commercial\"\n ) {\n nonResidentialProperties.push({\n premisesid: premiseid,\n tenancygroup: groupTenancy,\n startdate: startdateValue,\n });\n } else {\n residentialProperties.push({\n premisesid: premiseid,\n tenancygroup: groupTenancy,\n startdate: startdateValue,\n });\n }\n }\n });\n });\n }\n const resAddAssestsArray: any = [];\n const promisesResidential = residentialProperties.map(\n async (itemdata) => {\n if (itemdata.premisesid !== \"\") {\n const responseResidential: any =\n await api.getAssociatedAssets(itemdata.premisesid);\n resAddAssestsArray.push(responseResidential);\n\n return responseResidential\n .filter((data: any) => {\n return data.id === itemdata.premisesid;\n })\n\n .map((eData: any) => {\n return {\n ...itemdata,\n residential: true,\n formattedAddress:\n eData.addresses.postalAddresses[0].formattedAddress,\n };\n });\n }\n }\n );\n const promisesNonResidential = nonResidentialProperties.map(\n async (itemdata) => {\n if (itemdata.premisesid !== \"\") {\n const responseNonResidential: any =\n await api.getAssociatedAssets(itemdata.premisesid);\n resAddAssestsArray.push(responseNonResidential);\n\n return responseNonResidential\n .filter((data: any) => {\n return data.id === itemdata.premisesid;\n })\n\n .map((eData: any) => {\n return {\n ...itemdata,\n residential: false,\n formattedAddress:\n eData.addresses.postalAddresses[0].formattedAddress,\n };\n });\n }\n }\n );\n\n SetAllAssetData(resAddAssestsArray);\n\n const parsedData = await Promise.all([\n ...promisesResidential,\n ...promisesNonResidential,\n ]);\n\n const resData = parsedData\n .filter((e: any) => (e && e[0] ? true : false))\n .flat()\n .sort(function (a: any, b: any) {\n const dateA: any = Date.parse(a.startdate);\n const dateB: any = Date.parse(b.startdate);\n return dateB - dateA;\n });\n\n setActiveTenacyPremisesIds(resData);\n\n // ====== getting case tenancy group value ========\n\n resData.map((tenancy: any) => {\n if (tenancy.formattedAddress === radiovalue) {\n setTenancyGroup(tenancy.tenancygroup);\n }\n });\n\n // ============== end ======================\n\n const residentialBool = resData.filter((e: any) => {\n return e.residential;\n });\n\n if (activeTenacyPremisesIds?.length === 1) {\n dispatch(saveAssociatedAssests(results));\n }\n\n const chosenAdd = resData.filter((eachData: any) => {\n return eachData.premisesid === userChosenPropertyId;\n });\n\n const defaultData = chosenAdd[0];\n\n if (!isUndefinedNullOrEmpty(radiovalue)) {\n const selectedtData = resData.filter((data: any) => {\n return data.formattedAddress === radiovalue;\n });\n callSelection(\n selectedtData[0]?.formattedAddress,\n selectedtData[0]?.premisesid,\n resAddAssestsArray,\n selectedtData[0]?.tenancygroup\n );\n } else {\n callSelection(\n defaultData?.formattedAddress,\n defaultData?.premisesid,\n resAddAssestsArray,\n defaultData?.tenancygroup\n );\n }\n\n //redirect to next page if single tenancy\n if (resData.length === 1) {\n dispatch({\n type: CASE_PROPERTY_TENANCY_GROUP,\n payload: resData[0].tenancygroup,\n });\n setIsLoading(false);\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n dispatch(singleTenancy(true))\n props.history.push(\"/caseType\");\n }\n\n setIsLoading(false);\n }\n );\n setError(\"none\");\n setsetButtonDisable(false);\n } catch (e) {\n setError(\"block\");\n setsetButtonDisable(true);\n props.history.push(\"/genericerror\");\n }\n })();\n dispatch(userNavigatedFrom(\"\"));\n }, []);\n\n const backButtonHandler = () => {\n dispatch(userChosenPropertyAddress(\"\"));\n props.history.push(\"/customer360View\");\n };\n\n const exitButtonHandler = () => {\n props.history.push(\"/customer360View\");\n };\n\n const onContinueHandler = () => {\n dispatch({ type: CASE_PROPERTY_TENANCY_GROUP, payload: getTenancyGroup });\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false)); \n props.history.push(\"/caseType\");\n };\n\n const updateSelection = (\n value: string,\n premiseId: any,\n tenancygroup: any,\n arr: any = AllAsset\n ) => {\n setTenancyGroup(tenancygroup);\n\n let associatedAssets: any[] = [];\n arr.forEach((element: any) => {\n const resultF = element.filter((data: any) => data.id === premiseId);\n if (resultF !== null && resultF.length > 0) {\n associatedAssets.push(element);\n\n dispatch(saveAssociatedAssests(associatedAssets));\n }\n });\n dispatch(userChosenPropertyAddress(value));\n dispatch({ type: USERCHOSEN_PROPERTY_ID, payload: premiseId });\n // ==== If user is updating the property address, remove all the case related data from store ====\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: [] });\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_EDIT, payload: true });\n };\n const callSelection = (\n value: string,\n premiseId: any,\n arr: any = AllAsset,\n tenancygroup: any\n ) => {\n let associatedAssets: any[] = [];\n arr.forEach((element: any) => {\n const resultF = element.filter((data: any) => data.id === premiseId);\n if (resultF !== null && resultF.length > 0) {\n associatedAssets.push(element);\n dispatch(saveAssociatedAssests(associatedAssets));\n }\n });\n dispatch(userChosenPropertyAddress(value));\n setTenancyGroup(tenancygroup);\n };\n\n return (\n <>\n
    \n
    \n \n {t(\"Case_CC003\")}\n \n {isLoading ? (\n \n ) : (\n\n <>\n \n {t(\"cases_servicedown\")}\n \n
    \n\n \n {activeTenacyPremisesIds\n .filter((e: any) => {\n return e.residential;\n })\n .map((e: any) => {\n return (\n \n ): void => {\n updateSelection(\n v.target.value,\n e.premisesid,\n e.tenancygroup\n );\n }} />}\n label={e.formattedAddress} />\n );\n })}\n {activeTenacyPremisesIds\n .filter((e: any) => {\n return !e.residential;\n })\n .map((e: any) => {\n return (\n \n ): void => {\n updateSelection(\n v.target.value,\n e.premisesid,\n e.tenancygroup\n );\n }} />}\n label={e.formattedAddress} />\n );\n })}\n \n
    \n )}\n
    \n\n
    \n
    \n
    \n {/* */}\n \n \n \n
    \n
    \n \n {t(\"continue_button\")}\n \n
    \n\n
    \n
    \n \n \n );\n};\n\nexport default SelectTenency;\n","import React, { Suspense, useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Container } from \"@material-ui/core\";\nimport * as api from \"../../../api\";\nimport { useHistory } from \"react-router-dom\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport {\n CASE_COUNTER,\n CASE_CREATION_DESCRIPTION,\n CASE_CREATION_MASTER_DATA,\n CASE_CREATION_QUESTIONS,\n CASE_DESCRIPTION_DATA_INFO,\n CASE_EDIT,\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n} from \"../../../ducks/redux/actionTypes\";\nimport makeStyles from \"@material-ui/core/styles/makeStyles\";\nimport HeaderJourney from \"../../../storybook/Header/HeaderJourney\";\nimport ExitModal from \"../../Modal/ExitModal\";\nimport BackModal from \"../../Modal/BackModal\";\nimport Message from \"../../../storybook/Message\";\n\nconst Loader = React.lazy(() => import(\"react-loader-spinner\"));\nconst Button = React.lazy(() => import(\"../../../storybook/Button\"));\nconst TextField = React.lazy(() => import(\"@mui/material/TextField\"));\nconst Autocomplete = React.lazy(() => import(\"@mui/material/Autocomplete\"));\n\ninterface CaseTypeProps extends RouteComponentProps { }\n\nconst CaseType: React.FC = (props) => {\n const dispatch = useDispatch();\n const tenancies = (state: any) => state?.addresses?.customertenancies;\n const tenanciesData = useSelector(tenancies);\n\n const { t } = useTranslation();\n const caseTypeData: { description: string; keywords: [] }[] = [];\n\n let caseDescriptionArray: any[] = [];\n let timerId: any;\n let actualRefData: any = [];\n\n const [isLoading, setIsLoading] = useState(true);\n let suggesstionArray;\n let keyValuePairs: any = \"\";\n\n const [inputValue, setInputValue] = useState(\"\");\n const [warningAlert, setWarningAlert] = useState(\"\");\n let keywordPosArr: number[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];\n\n const [userInput, setUserInput] = useState(\"\");\n const [mappingData, setMappingData] = useState(caseTypeData);\n const [showStaticAlert, setShowStaticAlert] = useState(\"\");\n\n let getDescriptionArr: any[] = [];\n const defaultSelection = useSelector(\n (state: any) => state.caseCreationReducer.caseCreationDescription\n );\n\n const getDescriptionData = useSelector(\n (state: any) => state.caseCreationReducer.caseDescriptionDataInfo\n );\n if (getDescriptionData) {\n getDescriptionArr = [...getDescriptionData];\n }\n\n const getTenancyGroup = useSelector(\n (state: any) => state.caseCreationReducer.caseTenancyGroup\n );\n\n const singleTenancy = useSelector(\n (state: any) => state?.userChoicesReducer?.singleTenancy\n);\n\n const getAPIMasterData = async () => {\n try {\n const responseData = await api.getQuestionnaireMasterData();\n if (responseData) {\n keyValuePairs = responseData[0]?.namespace?.keyValues;\n\n for (const data of Object.entries(keyValuePairs)) {\n const [key, value] = data;\n if (typeof value === \"object\") {\n actualRefData.push(value);\n }\n }\n }\n // Pushing description and keywords in an array and binding in autocomplete filed\n actualRefData?.map((data: any) => {\n //Validating with case tenancy group;\n if (\n data.tenancyGroups.length === 1 &&\n (data.tenancyGroups[0] === getTenancyGroup ||\n data.tenancyGroups[0] === \"All\") &&\n data.isVisibleForSelfServe === true\n ) {\n caseTypeData.push({\n description: data.description,\n keywords: data.keywords,\n });\n caseDescriptionArray.push(data.description);\n } else if (\n (data.tenancyGroups[0] === getTenancyGroup ||\n data.tenancyGroups[1] === getTenancyGroup ||\n data.tenancyGroups[0] === \"All\") &&\n data.isVisibleForSelfServe === true\n ) {\n caseTypeData.push({\n description: data.description,\n keywords: data.keywords,\n });\n caseDescriptionArray.push(data.description);\n }\n });\n setMappingData(caseTypeData);\n\n dispatch({ type: CASE_CREATION_MASTER_DATA, payload: actualRefData });\n dispatch({\n type: CASE_DESCRIPTION_DATA_INFO,\n payload: caseDescriptionArray,\n });\n } catch (e) {\n props.history.push(\"/genericerror\");\n }\n setIsLoading(false);\n setUserInput(defaultSelection);\n setInputValue(defaultSelection);\n };\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n useEffect(() => {\n if (defaultSelection) {\n setUserInput(defaultSelection);\n setInputValue(defaultSelection);\n }\n setShowStaticAlert(\"CC049_Case_warning_message\");\n getAPIMasterData();\n\n return () => clearTimeout(timerId);\n }, []);\n\n const [fetchData, setFetchData] = useState([]);\n\n const clearCaseDataFromRedux = () => {\n dispatch({ type: CLEAR_CASE_STATE });\n };\n\n const backButtonHandler = () => {\n // Clearning all data from state\n clearCaseDataFromRedux();\n if (tenanciesData?.length > 1) {\n props.history.push(\"/selectTenancy\");\n } else {\n props.history.push(\"/customer360View\");\n }\n };\n\n const exitButtonHandler = () => {\n clearCaseDataFromRedux();\n props.history.push(\"/customer360View\");\n };\n\n const onContinueHandler = () => {\n if (inputValue === \"\") {\n setWarningAlert(\"Case_Warning\");\n } else {\n dispatch({ type: CASE_COUNTER, payload: 0 });\n props.history.push(\"/caseQuestionnaire\");\n }\n };\n\n const suggestionClickHandler = (e: any, value: any) => {\n if (value) {\n if (value.indexOf(\" \") !== 0) {\n getDescriptionArr.filter((s) => {\n const matchingVal =\n s.includes(value.charAt(0).toUpperCase().trim() + value.slice(1)) ||\n s.includes(value.trim()) ||\n s.toLowerCase().includes(value.toLowerCase().trim()) ||\n s.includes(value.charAt(0).toLowerCase().trim() + value.slice(1));\n if (matchingVal) {\n caseDescriptionArray.push(s);\n let MatcherVal = caseDescriptionArray.sort().filter((c, index) => {\n return caseDescriptionArray.indexOf(c) === index;\n });\n setFetchData(MatcherVal);\n setWarningAlert(\"\");\n } else if (caseDescriptionArray.length <= 0) {\n setFetchData([]);\n setWarningAlert(\"Case_Type_Error\");\n }\n });\n } else {\n setWarningAlert(\"Case_Type_Error\");\n }\n\n setUserInput(value);\n\n // === Validating keywords here ====\n mappingData?.map((data, index: number) => {\n data.keywords?.map((keywords: string) => {\n keywords?.match(/\\b\\w+?\\b/g)?.map((keyword: any) => {\n if (value.indexOf(\" \") !== 0) {\n suggesstionArray = value.split(\" \");\n for (const matchValue of suggesstionArray) {\n if (matchValue.replace(/\\s/g, '').length !== 0) {\n if (keyword.trim().toLowerCase().includes(matchValue.trim().toLowerCase()) || keyword.trim() === matchValue.trim()) {\n keywordPosArr[index] = keywordPosArr[index] + 1;\n if (keywordPosArr[index] > 2) {\n caseDescriptionArray.splice(1, 0, data.description);\n }\n if (keywordPosArr[index] > 1) {\n caseDescriptionArray.unshift(data.description);\n } else {\n caseDescriptionArray.push(data.description);\n }\n\n let uniqueMatcher = caseDescriptionArray.filter(\n (c, index) => {\n return caseDescriptionArray.indexOf(c) === index;\n }\n );\n\n if (uniqueMatcher) {\n setFetchData(uniqueMatcher);\n setWarningAlert(\"\");\n } else {\n setFetchData([]);\n setWarningAlert(\"Case_Warning\");\n }\n\n }\n }\n }\n }\n });\n });\n });\n } else {\n setUserInput(\"\");\n setWarningAlert(\"\");\n setFetchData([]);\n }\n setInputValue(\"\");\n };\n\n const inputTextChangeHandler = (event: any, newValue: any) => {\n if (newValue) {\n if (newValue !== defaultSelection) {\n dispatch({ type: CASE_CREATION_DESCRIPTION, payload: newValue });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: [] });\n dispatch({ type: CASE_CREATION_QUESTIONS, payload: [] });\n dispatch({ type: CASE_EDIT, payload: true });\n dispatch({ type: CASE_COUNTER, payload: 0 });\n }\n setWarningAlert(\"\");\n setInputValue(newValue);\n } else {\n setWarningAlert(\"Case_Warning\");\n }\n };\n\n return (\n <>\n \n
    \n \n }\n >\n\n {isLoading ? (\n \n ) : (\n <>\n
    \n

    \n {t(\"Case_Type_Title\")}\n

    \n {/* ==== Showing alert ==== */}\n {warningAlert && userInput ? (\n
    \n \n {t(warningAlert)}\n {\" \"} here\n \n
    \n ):(\n warningAlert && (\n
    \n \n {t(warningAlert)}\n \n
    \n ))\n }\n {showStaticAlert && (\n
    \n \n {t(showStaticAlert)}\n \n
    \n )}\n

    \n {t(\"Case_Hint\")}\n

    \n
    \n \n
    \n \n {/* === End alert ==== */}\n \n
    \n\n
    \n
    \n
    \n {!singleTenancy && (\n \n )} \n \n \n
    \n
    \n \n {t(\"continue_button\")}\n \n
    \n
    \n
    \n \n )}\n \n
    \n \n );\n};\n\nexport default CaseType;\n","import React, { useEffect, useState, Suspense, useCallback } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { Container } from \"@material-ui/core\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n CASE_ADDITIONAL_CASE_FIELD,\n CASE_ASSET_TYPE,\n CASE_COUNTER,\n CASE_CREATION_ADDITINALINFO,\n CASE_CREATION_ID,\n CASE_OWNING_TEAM,\n CASE_SUBTYPE,\n CASE_SUBTYPE_CATEGORY,\n} from \"../../../ducks/redux/actionTypes\";\n\nconst Loader = React.lazy(() => import(\"react-loader-spinner\"));\n\nconst TEXT = \"Text\";\nconst RADIO = \"Radio\";\nconst LIST = \"List\";\n\ninterface QuestionTypeProps extends RouteComponentProps {}\n\nconst CaseTypeQuestion: React.FC = (props) => {\n const history = useHistory();\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const location: any = useLocation();\n const [editCounter, setEditCounter] = useState(parseInt(location?.state?.id));\n\n const getAllData = useSelector(\n (state: any) => state.caseCreationReducer.caseCreationMasterData\n );\n\n let count =\n useSelector((state: any) => state.caseCreationReducer.counter) || 0;\n\n const descData = useSelector(\n (state: any) => state.caseCreationReducer.caseCreationDescription\n );\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n\n useEffect(() => {\n getAllData?.map((data: any) => {\n if (data.description === descData) {\n dispatch({\n type: CASE_CREATION_ADDITINALINFO,\n payload: data.additionalInfo,\n });\n dispatch({ type: CASE_CREATION_ID, payload: data.id });\n dispatch({ type: CASE_SUBTYPE, payload: data.subType });\n dispatch({ type: CASE_ASSET_TYPE, payload: data.assetType });\n dispatch({\n type: CASE_SUBTYPE_CATEGORY,\n payload: data.subTypeCategory,\n });\n\n if (\n data.additionalCaseCreationFields !== null &&\n data.additionalCaseCreationFields &&\n data.additionalCaseCreationFields[0]?.fieldName === \"pea_casecategory\"\n ) {\n dispatch({\n type: CASE_ADDITIONAL_CASE_FIELD,\n payload: data.additionalCaseCreationFields,\n });\n }\n loadQuestionScreen(data.additionalInfo);\n }\n });\n }, []);\n\n const loadQuestionScreen = useCallback(\n (questionData: any) => {\n if (editCounter >= 0) {\n count = editCounter;\n }\n\n if (\n questionData &&\n questionData.length > count &&\n questionData[count]?.isEnabled === \"true\"\n ) {\n dispatch({ type: CASE_COUNTER, payload: count });\n if (questionData[count].type === RADIO) {\n history.push(\"/caseQuestionnaireRadio\");\n } else if (questionData[count].type === LIST) {\n history.push(\"/caseQuestionnaireDropdown\");\n } else if (questionData[count].type === TEXT) {\n history.push(\"/caseQuestionnaireText\");\n }\n } else {\n history.push(\"/contactdetails\");\n }\n },\n [count]\n );\n\n const backButtonHandler = () => {\n history.push(\"/caseType\");\n };\n\n return (\n \n \n }\n >\n {/* */}\n
    \n \n {descData}\n

    \n
    \n
    \n\n {/* === Displaying question here === */}\n\n {/* === End question */}\n \n
    \n );\n};\n\nexport default CaseTypeQuestion;\n","import React, { useEffect, useState, useRef } from \"react\";\nimport { RouteComponentProps, useLocation } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useTranslation } from \"react-i18next\";\nimport { formatDateToSlash } from \"../../../utils/formatting\";\nimport * as api from \"../../../api\";\nimport {\n fetchChosenStatement,\n setUserSelectedMessageDetails,\n setUserSelectedMessageSubject,\n setUserSelectedMessageDate,\n setUserSelectedMessageSender,\n setUserSelectedMessageNotificationType,\n setUserSelectedMessageDocumentIdentifier,\n} from \"../../../ducks/redux/actions/userChoices\";\n\ninterface MyMessageProps extends RouteComponentProps {\n eachMsgData: any;\n callFrom360: boolean;\n fetchMyMessageData: (requestData: any) => void;\n assetID: string;\n reduceUnreadMessagesCount: () => void;\n}\n\nconst MyMessage: React.FC = (props) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n let moment = require(\"moment\");\n const location = useLocation();\n\n const [isActive, setIsActive] = useState(false);\n const [messageRead, setMessageRead] = useState(false);\n const [viewedMessages, setViewedMessages] = useState([]);\n const [yellowAlertMessage, setYellowAlertMessage] = React.useState(\"\");\n const [isLoading, setIsLoading] = useState(false);\n const [isCasesMsgNotification, setisCasesMsgNotification] = useState(true);\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const documentID = props.eachMsgData.message.content[2]?.value;\n\n const { title, givenName, surname } =\n props.eachMsgData.message.sender.organisation?.personName || ({} as any);\n const titleVal = title ? title : \"\";\n const givenNameVal = givenName ? givenName : \"\";\n const surnameVal = surname ? surname : \"\";\n const messageSender = titleVal + \" \" + givenNameVal + \" \" + surnameVal;\n\n const {\n title: recieverTitle,\n givenName: recieverGivenName,\n surname: recieverSurname,\n } = props.eachMsgData.message.recievers[0].person?.personName || ({} as any);\n const recieverTitleVal = recieverTitle ? recieverTitle : \"\";\n const recieverGivenNameVal = recieverGivenName ? recieverGivenName : \"\";\n const recieverSurnameVal = recieverSurname ? recieverSurname : \"\";\n let reciever = `${recieverTitleVal} ${recieverGivenNameVal} ${recieverSurnameVal}`;\n\n // fetching cutomer Name from store in-case cutomer/asset API fails in case creation listner\n const userProfileData = useSelector(\n (state: any) => state?.userChoicesReducer?.userProfileData\n );\n const customerName =\n userProfileData?.customerResponse?.person?.name?.title +\n \" \" +\n userProfileData?.customerResponse?.person?.name?.givenName +\n \" \" +\n userProfileData?.customerResponse?.person?.name?.surname;\n\n const splitedMsgContent =\n props.eachMsgData.message.content[1].value.split(\"\\n\");\n\n const MonthYear = moment(props.eachMsgData.createdDate).format(\"MMMM YYYY\");\n\n const twoYearsAgoFromNow = new Date();\n twoYearsAgoFromNow.setFullYear(twoYearsAgoFromNow.getFullYear() - 2);\n\n const viewedMessagesArray: string[] = [];\n\n enum CommunicationCategoryType {\n CaseCreation = \"CaseCreation\",\n }\n\n useEffect(() => {\n checkCasesMsgNotification(props.eachMsgData.communicationCategoryType);\n if (\n props.callFrom360 &&\n location?.state?.message.identifier == props.eachMsgData.identifier\n ) {\n updateUNREADMessage();\n setIsActive(true);\n scrollToCard();\n } else {\n setIsActive(false);\n }\n }, [props.eachMsgData]);\n\n const messagesEndRef = useRef(null);\n\n const scrollToCard = () => {\n const { innerWidth, innerHeight } = window;\n if (innerWidth >= 314 && innerWidth <= 912) {\n messagesEndRef?.current?.offsetTop &&\n document?.getElementById(\"scrollableDiv\")?.scrollTo({\n top: messagesEndRef?.current?.offsetTop - 125,\n behavior: \"smooth\",\n });\n } else {\n messagesEndRef?.current?.offsetTop &&\n window.scrollTo({\n top: messagesEndRef?.current?.offsetTop - 21,\n behavior: \"smooth\",\n });\n }\n };\n\n const updateUNREADMessage = async () => {\n if (\n props.eachMsgData?.status === \"UNREAD\" &&\n viewedMessages.includes(props.eachMsgData.identifier) === false\n ) {\n const status = {\n status: \"READ\",\n };\n const communicationID = props.eachMsgData.identifier;\n await api\n .patchCommunicationMessages(customerID, communicationID, status)\n .then((response) => {\n setMessageRead(true);\n viewedMessagesArray.push(props.eachMsgData.identifier);\n setViewedMessages(viewedMessagesArray);\n props.reduceUnreadMessagesCount();\n })\n .catch((error) => {});\n }\n };\n const showDetailsHandler = () => {\n updateUNREADMessage();\n setIsActive(!isActive);\n };\n\n const fetchStatement = () => {\n const data = {\n setYellowAlertMessage,\n setIsLoading,\n MonthYear,\n customerID,\n documentID,\n };\n dispatch(fetchChosenStatement(data));\n };\n\n const checkCasesMsgNotification = (communicationCategoryType: any) => {\n if (communicationCategoryType === CommunicationCategoryType.CaseCreation) {\n setisCasesMsgNotification(false);\n }\n };\n\n const messageDetailsClickHandler = (\n messagedetails: string,\n messageSubject: string,\n messageDate: string,\n messageSender: string,\n messageNotificationType: boolean,\n messageDocumentIdentifier: string\n ) => {\n updateUNREADMessage();\n dispatch(setUserSelectedMessageDetails(messagedetails));\n dispatch(setUserSelectedMessageSubject(messageSubject));\n dispatch(setUserSelectedMessageDate(messageDate));\n dispatch(setUserSelectedMessageSender(messageSender));\n dispatch(setUserSelectedMessageNotificationType(messageNotificationType));\n dispatch(\n setUserSelectedMessageDocumentIdentifier(messageDocumentIdentifier)\n );\n props.history.push(\"/messagedetails\");\n };\n\n return (\n <>\n \n messageDetailsClickHandler(\n props.eachMsgData.message.content[1].value,\n props.eachMsgData.message.content[0].value,\n props.eachMsgData.createdDate,\n messageSender,\n isCasesMsgNotification,\n props.eachMsgData.message.content[2]?.value\n )\n }\n data-testid=\"message-details-row\"\n >\n \n \n {formatDateToSlash(props.eachMsgData.createdDate)}\n \n \n \n {`${titleVal} ${givenNameVal} ${surnameVal}`}\n \n \n \n {props.eachMsgData.message.content[0].value}\n \n \n \n \n {props.eachMsgData.message.content[1].value}\n \n \n \n\n
    \n \n messageDetailsClickHandler(\n props.eachMsgData.message.content[1].value,\n props.eachMsgData.message.content[0].value,\n props.eachMsgData.createdDate,\n messageSender,\n isCasesMsgNotification,\n props.eachMsgData.message.content[2]?.value\n )\n }\n onKeyDown={() =>\n messageDetailsClickHandler(\n props.eachMsgData.message.content[1].value,\n props.eachMsgData.message.content[0].value,\n props.eachMsgData.createdDate,\n messageSender,\n isCasesMsgNotification,\n props.eachMsgData.message.content[2]?.value\n )\n }\n >\n
    \n {formatDateToSlash(props.eachMsgData.createdDate)}\n
    \n {`${titleVal} ${givenNameVal} ${surnameVal}`}
    \n
    \n {props.eachMsgData.message.content[0].value}\n
    \n \n \n \n );\n};\n\nexport default MyMessage;\n","import React, { useState, useEffect } from \"react\";\nimport { RouteComponentProps, useLocation } from \"react-router-dom\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport * as api from \"../../../api\";\nimport { RepairStatusField } from \"../../../models/Repair/Repair\";\nimport { CustomerResponse } from \"../../../models/Customer\";\nimport Tenancies from \"../../../models/Customer/Tenancies\";\nimport Message from \"../../../storybook/Message\";\nimport {\n AssocitaedAssetsType,\n RelatedPremisesType,\n} from \"../../../models/Property/AdminUnits\";\nimport { PremisesType } from \"../../../models/Customer/Premises\";\nimport { Offcanvas } from \"react-bootstrap\";\nimport LoadingSpinner from \"../../../storybook/LoadingSpinner\";\nimport InfiniteScroll from \"react-infinite-scroll-component\";\nimport {\n getAllAssetIdentifiers,\n showMenuTabs,\n userChosenPropertyId,\n} from \"../../../ducks/redux/actions/userChoices\";\n\nimport \"./index.scss\";\nimport filtericon from \"../../../assets/img/filtericon.png\";\nimport Clear from \"../../../assets/img/Clear.png\";\n\nimport {\n MobilePagination,\n Pagination,\n Paginationbox,\n Search,\n WebPagination,\n} from \"../../HistoricRepairs/components\";\nimport MyMessage from \"./MyMessage\";\nimport { formatDateTime, detectMobile } from \"../../../utils/formatting\";\n\ninterface MyMessagesHistoryProps extends RouteComponentProps {}\n\nconst MyMessagesHistory: React.FC = (props) => {\n let moment = require(\"moment\");\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const location = useLocation();\n const isMobile = detectMobile();\n const [isLoading, setIsLoading] = useState(false);\n const [searchTerm, setSearchTerm] = useState(\"\");\n const [searchText, setSearchText] = useState(\"\");\n const [totalCount, setTotalCount] = useState(0);\n const [currentPage, setcurrentPage] = useState(0);\n const [resultsPerPage, setresultsPerPage] = useState(10);\n const [Area, setArea] = useState(false);\n const [CustResponse, setCustomerResponse] = useState();\n const [defaultassocitaedAsset, setdefaultassocitaedAsset] = useState(\"\");\n const [associtaedAsset, setassocitaedAsset] = useState(\"\");\n const arrayArea: Array<{ key: string; value: string }> = [];\n const [premisesListArea, setpremisesListArea] = useState(arrayArea);\n const [associtaedAssetList, setassocitaedAssetsList] = useState(arrayArea);\n const [selectedArea, setselectedArea] = useState(\"All\");\n const [filterMessageStatus, setFilterMessageStatus] = useState(\"All\");\n const [searchedMessages, setSearchedMessages] = useState([]);\n const [sortMessages, setSortMessages] = useState(\"Newest\");\n const [allMyMessages, setAllMyMessages] = useState();\n const [messages, setMessages] = useState([]);\n const [allMessagesCount, setAllMessagesCount] = useState(0);\n const [unreadMessagesCount, setUnreadMessagesCount] = useState(0);\n const [yellowAlertMessage, setYellowAlertMessage] = React.useState(\"\");\n const [messageAlert, setMessageAlert] = React.useState(false);\n const [assetID, setAssetID] = useState(defaultassocitaedAsset);\n const [activeTenancies, setActiveTenancies] = useState();\n const [alertError, setAlertErrorMessage] = useState(false)\n const defaultfromdate = formatDateTime(\n moment(new Date()).subtract(2, \"years\").toString()\n );\n\n const [fromDate, setFromDate] = React.useState(defaultfromdate);\n const defaulttodate = formatDateTime(moment(new Date()).toString());\n const [toDate, setToDate] = React.useState(defaulttodate);\n const [show, setShow] = useState(false);\n const handleClose = () => setShow(false);\n const handleShow = () => setShow(true);\n let assetBlockPropertyIds: any = [];\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n let PropertyId = useSelector(\n (state: any) => state.userChoicesReducer?.userChosenPropertyId\n );\n const allMessageData = useSelector(\n (state: any) => state?.userChoicesReducer?.myMessageData\n );\n const allassetIndentifiers = useSelector(\n (state: any) => state?.userChoicesReducer?.allassetIdentifiers\n );\n\n const activeProperty = activeTenancies?.filter(\n (el: any) => el?.tenancySummary?.premisesIds[0] === assetID\n );\n const activeTenancyStartDate =\n activeProperty && activeProperty[0]?.tenancySummary?.tenancyStartDate;\n let formatedTenancyStartDate: any;\n\n const dateIsValid = (date: Date) => {\n return !Number.isNaN(new Date(date).getTime());\n };\n if (dateIsValid(activeTenancyStartDate)) {\n formatedTenancyStartDate = new Date(activeTenancyStartDate)\n .toISOString()\n .split(\"T\")[0];\n }\n\n let associtaedAssets: any[] = [];\n const filterMessageList: string[] = [\"All\", \"Read\", \"Unread\"];\n\n const formatedToday = new Date().toISOString().split(\"T\")[0];\n const twoYearsAgoFromNow = new Date();\n twoYearsAgoFromNow.setFullYear(twoYearsAgoFromNow.getFullYear() - 2);\n const formatedTwoYearsAgo = twoYearsAgoFromNow.toISOString().split(\"T\")[0];\n\n interface RequestDataObject {\n fromDate: Date | string;\n toDate: Date | string;\n status: string;\n assetIdentifier: string | undefined;\n searchText: string;\n limit: number;\n skip: number;\n sort: string;\n }\n\n useEffect(() => {\n dispatch(showMenuTabs(true));\n const selectedAddress = associtaedAssetList.filter(\n (eachAdd) => eachAdd.key === PropertyId\n );\n setAssetID(selectedAddress[0]?.key);\n\n (() => {\n if (selectedAddress[0]?.key) {\n const requestData = {\n fromDate: formatedTwoYearsAgo,\n toDate: formatedToday,\n status: \"\",\n assetIdentifier: allassetIndentifiers,\n searchText: \"\",\n limit: 10,\n skip: 0,\n sort: \"createdDate desc\",\n };\n fetchMyMessageData(requestData);\n setresultsPerPage(10);\n setcurrentPage(0);\n setSortMessages(\"Newest\");\n setFilterMessageStatus(\"All\");\n }\n })();\n }, [associtaedAssetList, PropertyId, allassetIndentifiers]);\n\n useEffect(() => {\n (async () => {\n try {\n setIsLoading(true);\n const customerResponse = await api.getCustomer(customerID);\n setCustomerResponse(customerResponse);\n const activeTenanciesSummaries =\n customerResponse.tenanciesSummaries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find(\n (s) => s.type === \"isTenancyActive\"\n )?.value === true\n );\n setActiveTenancies(activeTenanciesSummaries);\n const activeTenanciesPremisesIds: Tenancies[] = activeTenanciesSummaries\n .map((ts: any) => ts.tenancySummary.premisesIds)\n .flat();\n const promises = activeTenanciesPremisesIds.map((item: any) => {\n return api.getAssociatedAssets(item);\n });\n Promise.all(promises).then((results) => {\n //Filter results as per premisesid\n\n activeTenanciesPremisesIds?.map(async (assetid: any) => {\n results.forEach((element) => {\n const resultF = element.filter(\n (addressdata) => addressdata.id === assetid\n );\n\n if (resultF !== null) associtaedAssets.push(resultF);\n });\n });\n const associtaedAssetsList: AssocitaedAssetsType[] = [];\n\n associtaedAssets?.map((addressdata: any) => {\n addressdata?.map((address: any) => {\n const associtaedAssetsTypeEntry: AssocitaedAssetsType =\n new AssocitaedAssetsType();\n\n associtaedAssetsTypeEntry.key = address?.id;\n associtaedAssetsTypeEntry.value =\n address?.addresses?.postalAddresses[0]?.formattedAddress;\n associtaedAssetsList.push(associtaedAssetsTypeEntry);\n });\n });\n if (associtaedAssetsList?.length > 1) {\n setArea(true);\n } else {\n setArea(false);\n }\n if (PropertyId != \"\") {\n setdefaultassocitaedAsset(PropertyId);\n setassocitaedAsset(PropertyId);\n } else {\n PropertyId = associtaedAssetsList[0].key;\n setdefaultassocitaedAsset(associtaedAssetsList[0].key);\n setassocitaedAsset(associtaedAssetsList[0].key);\n }\n\n setassocitaedAssetsList(associtaedAssetsList);\n });\n\n const status =\n RepairStatusField.Appointed +\n \",\" +\n RepairStatusField.PendingApproval +\n \",\" +\n RepairStatusField.OnHold +\n \",\" +\n RepairStatusField.Cancelled +\n \",\" +\n RepairStatusField.Completed +\n \",\" +\n RepairStatusField.Unappointed +\n \",\" +\n RepairStatusField.InProgress +\n \",\" +\n RepairStatusField.InDiagnosis +\n \",\" +\n RepairStatusField.ReportedToEMA;\n const premisesList: RelatedPremisesType[] = [];\n const premisesEntry: RelatedPremisesType = new RelatedPremisesType();\n let propertiesIds: string[] = [];\n let addressIds: string[] = [];\n premisesEntry.premisesType = PremisesType.Default;\n premisesEntry.premisesTypeId = PremisesType.Default;\n premisesList.push(premisesEntry);\n const addressesData = await api.getAssociatedAssets(PropertyId);\n addressesData.forEach((element) => {\n const premisesEntry: RelatedPremisesType = new RelatedPremisesType();\n premisesEntry.premisesType = element.assetType as PremisesType;\n premisesEntry.premisesTypeId = element.id;\n premisesList.push(premisesEntry);\n propertiesIds.push(element.id);\n });\n const areaOptions = premisesList.map((f) => ({\n key: f.premisesType,\n value: f.premisesTypeId,\n }));\n\n setpremisesListArea(areaOptions);\n areaOptions.forEach((element) => {\n if (element.key === \"Property\" || element.key === \"Block\") {\n assetBlockPropertyIds.push(element.value);\n }\n });\n let assetIDsIntTxt = \"assetIdentifiers=\";\n let assetIDsRemTxt = assetBlockPropertyIds.join(\"&assetIdentifiers=\");\n let assetIDsAll = assetIDsIntTxt.concat(assetIDsRemTxt);\n dispatch(getAllAssetIdentifiers(assetIDsAll));\n } catch (e) {\n setIsLoading(false);\n setAlertErrorMessage(true)\n }\n })();\n }, [PropertyId, allassetIndentifiers]);\n\n const reduceUnreadMessagesCount = () => {\n unreadMessagesCount >= 1 && setUnreadMessagesCount(unreadMessagesCount - 1);\n };\n\n\n const handleSubmit = (typedText: string): void => {\n let encodedTypedText = encodeURI(typedText);\n\n const data = {\n fromDate: fromDate ? fromDate : formatedTwoYearsAgo,\n toDate: toDate ? toDate : formatedToday,\n status: filterMessageStatus === \"All\" ? \"\" : filterMessageStatus,\n assetIdentifier: allassetIndentifiers,\n searchText: typedText ? encodedTypedText : \"\",\n limit: 10,\n skip: 0,\n sort:\n sortMessages === \"Newest\"\n ? \"createdDate desc\"\n : sortMessages === \"Oldest\"\n ? \"createdDate asc\"\n : \"\",\n };\n fetchMyMessageData(data);\n setcurrentPage(0);\n };\n const resetButtonHandler = (): void => {\n setcurrentPage(0);\n setSearchTerm(\"\");\n setFromDate(defaultfromdate);\n setToDate(defaulttodate);\n setFilterMessageStatus(\"\");\n setSearchText(\"\");\n setSearchedMessages([]);\n setYellowAlertMessage(\"\");\n setMessageAlert(false);\n setSortMessages(\"Newest\");\n\n const requestData = {\n fromDate: formatedTwoYearsAgo,\n toDate: formatedToday,\n status: \"\",\n assetIdentifier: allassetIndentifiers,\n searchText: \"\",\n limit: 10,\n skip: 0,\n sort: \"createdDate desc\",\n };\n fetchMyMessageData(requestData);\n };\n\n const resetWithoutFetch = (): void => {\n setcurrentPage(0);\n setSearchTerm(\"\");\n setFromDate(\"\");\n setToDate(\"\");\n setFilterMessageStatus(\"\");\n setSearchText(\"\");\n setSearchedMessages([]);\n setYellowAlertMessage(\"\");\n setMessageAlert(false);\n setSortMessages(\"Newest\");\n };\n\n const clearSearchText = () => {\n setSearchTerm(\"\");\n resetButtonHandler();\n };\n\n const handleChangeAssocitae = (e: { target: { value: any } }) => {\n resetWithoutFetch();\n setdefaultassocitaedAsset(e.target.value);\n dispatch(userChosenPropertyId(e.target.value));\n };\n\n const fetchMyMessageData = (requestData: RequestDataObject) => {\n (async () => {\n await api\n .getCommunicationMessages(customerID, requestData)\n .then((response) => {\n if (\n response?.[\"total-count\"] === undefined ||\n (response?.[\"total-count\"] === 0 && searchTerm)\n ) {\n setYellowAlertMessage(\"SSC017\");\n setMessageAlert(true);\n } else if (\n response?.[\"total-count\"] === undefined ||\n (response?.[\"total-count\"] === 0 && fromDate && toDate)\n ) {\n setYellowAlertMessage(\"SSC017\");\n setMessageAlert(true);\n } else if (\n response?.[\"total-count\"] === undefined ||\n (response?.[\"total-count\"] === 0 &&\n (filterMessageStatus === \"Unread\" ||\n filterMessageStatus === \"Read\"))\n ) {\n setYellowAlertMessage(\"SSC017\");\n setMessageAlert(true);\n } else if (\n response?.[\"total-count\"] === undefined ||\n response?.[\"total-count\"] === 0\n ) {\n setYellowAlertMessage(\"SSC016\");\n setMessageAlert(true);\n } else {\n setYellowAlertMessage(\"\");\n setMessageAlert(false);\n }\n setAllMyMessages(response);\n\n setMessages(response?.communications);\n setUnreadMessagesCount(response?.[\"total-unread\"]);\n setAllMessagesCount(response?.[\"total-count\"]);\n setTotalCount(response?.[\"total-count\"]);\n\n setIsLoading(false);\n })\n .catch((error) => {\n setIsLoading(false);\n setYellowAlertMessage(\"SSC021\");\n setAlertErrorMessage(true)\n });\n })();\n };\n\n const fetchMobileViewData = () => {\n setresultsPerPage(100);\n const data = {\n fromDate: fromDate ? fromDate : formatedTwoYearsAgo,\n toDate: toDate ? toDate : formatedToday,\n status: filterMessageStatus === \"All\" ? \"\" : filterMessageStatus,\n assetIdentifier: allassetIndentifiers,\n searchText: searchTerm ? searchTerm : \"\",\n limit: 100,\n skip: 0,\n sort:\n sortMessages === \"Newest\"\n ? \"createdDate desc\"\n : sortMessages === \"Oldest\"\n ? \"createdDate asc\"\n : \"\",\n };\n fetchMyMessageData(data);\n };\n\n const onChangePage = (e: any, page: number) => handleChangePage(page);\n\n const handleChangePage = (page: number) => {\n const data = {\n fromDate: fromDate ? fromDate : formatedTwoYearsAgo,\n toDate: toDate ? toDate : formatedToday,\n status: filterMessageStatus === \"All\" ? \"\" : filterMessageStatus,\n assetIdentifier: allassetIndentifiers,\n searchText: searchTerm ? searchTerm : \"\",\n limit: 10,\n skip: resultsPerPage * page,\n sort:\n sortMessages === \"Newest\"\n ? \"createdDate desc\"\n : sortMessages === \"Oldest\"\n ? \"createdDate asc\"\n : \"\",\n };\n fetchMyMessageData(data);\n setcurrentPage(page);\n };\n\n const handleChangeRowsPerPage = (e: React.ChangeEvent) => {\n setresultsPerPage((e.target as any).value);\n setcurrentPage(0);\n\n const data = {\n fromDate: fromDate ? fromDate : formatedTwoYearsAgo,\n toDate: toDate ? toDate : formatedToday,\n status: filterMessageStatus === \"All\" ? \"\" : filterMessageStatus,\n assetIdentifier: allassetIndentifiers,\n searchText: searchTerm ? searchTerm : \"\",\n limit: (e.target as any).value,\n skip: 0,\n sort:\n sortMessages === \"Newest\"\n ? \"createdDate desc\"\n : sortMessages === \"Oldest\"\n ? \"createdDate asc\"\n : \"\",\n };\n fetchMyMessageData(data);\n };\n\n const inputChangeHandler = (event: any) => {\n if (moment(event.target.value, \"DD/MM/YYYY\", true).isValid()) {\n setYellowAlertMessage(\"SSC020\");\n setMessageAlert(true);\n } else {\n setYellowAlertMessage(\"\");\n setMessageAlert(false);\n }\n\n if (event.target.id === \"fromDate\") {\n if (\n new Date(event.target.value).getTime() >\n new Date(formatedToday).getTime()\n ) {\n setYellowAlertMessage(\"SSC013\");\n setMessageAlert(true);\n } else if (\n new Date(event.target.value).getTime() <\n new Date(formatedTenancyStartDate).getTime()\n ) {\n setYellowAlertMessage(\"SSC012\");\n setMessageAlert(true);\n } else {\n setYellowAlertMessage(\"\");\n setMessageAlert(false);\n }\n setFromDate(event.target.value);\n } else if (event.target.id === \"toDate\") {\n if (\n new Date(event.target.value).getTime() >\n new Date(formatedToday).getTime()\n ) {\n setYellowAlertMessage(\"SSC014\");\n setMessageAlert(true);\n } else {\n setYellowAlertMessage(\"\");\n setMessageAlert(false);\n }\n setToDate(event.target.value);\n }\n };\n\n const filterMessageSubmitHandler = () => {\n const data = {\n fromDate: fromDate ? fromDate : formatedTwoYearsAgo,\n toDate: toDate ? toDate : formatedToday,\n status: filterMessageStatus === \"All\" ? \"\" : filterMessageStatus,\n assetIdentifier: allassetIndentifiers,\n searchText: searchTerm ? searchTerm : \"\",\n limit: 10,\n skip: 0,\n sort:\n sortMessages === \"Newest\"\n ? \"createdDate desc\"\n : sortMessages === \"Oldest\"\n ? \"createdDate asc\"\n : \"\",\n };\n fetchMyMessageData(data);\n setresultsPerPage(10);\n setcurrentPage(0);\n\n handleClose();\n };\n\n const changeMessageListByStatusHandler = (e: { target: { value: any } }) => {\n setFilterMessageStatus(e.target.value);\n };\n const openDialer = () => {\n window.open(\"tel:\"+t(\"phone_no\"));\n}\nconst returnToHome = () => {\n props.history.push(\"/customer360View\");\n}; \n\n const pageContents = (\n <>\n
    \n

    {t(\"My_Message_History\")}

    \n
    \n {Area ? (\n
    \n \n {associtaedAssetList.map((e, key) => {\n return (\n \n );\n })}\n \n {/* Mobile View */}\n \n {associtaedAssetList.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n ) : (\n !alertError ?
    \n {associtaedAssetList.map((e, key) => {\n return
    {e.value}
    ;\n })}\n
    :
    \n )}\n
    \n\n {!alertError &&
    \n
    \n \n \n \n \n
    \n\n
    \n
    \n
    \n \n setSearchTerm(searchStr)}\n />\n \n
    \n
    \n
    \n\n
    \n \n {t(\"Filter\")}\n \n \n\n \n {t(\"Clear_filters\")}\n \n
    \n
    }\n
    \n\n
    \n
    \n {alertError ?
    \n{!isMobile ?
    \n \n {t(\"SSC021\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}\n
    \n
    :
    \n \n {t(\"SSC021\")} {t(\"phone_no\")}



    {t(\"Return_to_Home\")}\n
    \n
    \n}\n
    :
    \n {messageAlert ? (\n
    \n {t(yellowAlertMessage)}\n
    \n ) : (\n
    \n \n \n \n \n \n \n \n \n \n \n {messages?.map((eachMsg: any, key: number) => {\n return (\n \n );\n })}\n \n
    \n {t(\"Messages_Date\")}\n \n {t(\"Messages_Sender\")}\n \n {t(\"Messages_Subject\")}\n \n {t(\"Messages_Message\")}\n
    \n
    \n )}\n
    }\n
    \n
    \n\n {/* Filter Modal */}\n \n
    \n \n

    \n {t(\"Filter\")}\n \n \n \n

    \n
    \n \n
    {t(\"Message_List\")}
    \n \n {filterMessageList.map((filterOption, key) => {\n return (\n \n );\n })}\n \n\n
    \n \n {t(\"Apply_Message_Filter\")}\n \n
    \n
    \n
    \n
    \n \n );\n\n return (\n <>\n {!isMobile ? \n
    \n {isLoading ? (\n
    \n
    \n \n
    \n
    \n ) : (\n <>\n
    \n
    \n {pageContents}\n\n {/* < -- Pagination view --> */}\n {!alertError &&
    \n \n \n \n
    }\n
    \n
    \n \n )}\n
    :\n
    \n \n
    }\n scrollableTarget=\"scrollableDiv\"\n >\n {isLoading ? (\n
    \n
    \n \n
    \n
    \n ) : (\n <>\n {/*Mobile Contents Resides Here.*/}\n {pageContents}\n \n )}\n \n \n }\n \n );\n};\n\nexport default MyMessagesHistory;\n","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch,useSelector } from \"react-redux\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport \"./index.scss\";\nimport Chevronleft from \"../../../assets/img/Chevronleft.png\";\nimport mobileChevronleft from \"../../../assets/img/mobileChevronleft.png\";\nimport { formatDateWithMonthInLetters } from \"../../../utils/formatting\";\nimport moment from \"moment\";\nimport { fetchChosenStatement, setUserSelectedMessageDate, setUserSelectedMessageDetails, setUserSelectedMessageDocumentIdentifier, setUserSelectedMessageNotificationType, setUserSelectedMessageSender, setUserSelectedMessageSubject } from \"../../../ducks/redux/actions/userChoices\";\nimport * as api from \"../../../api\";\n\ninterface MessageDetailsProps extends RouteComponentProps {}\n\nconst MessageDetails: React.FC = (props) => {\n const { t } = useTranslation();\n const dispatch = useDispatch();\n\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n\n const userSelectedMessageDetails = useSelector(\n (state: any) => state?.userChoicesReducer?.messageDetails\n );\n\n const userSelectedMessageSubject = useSelector(\n (state: any) => state?.userChoicesReducer?.messageSubject\n );\n\n const userSelectedMessageDate = useSelector(\n (state: any) => state?.userChoicesReducer?.messageDate\n );\n\n const userSelectedMessageSender = useSelector(\n (state: any) => state?.userChoicesReducer?.messageSender\n );\n\n const userSelectedMessageNotificationType = useSelector(\n (state: any) => state?.userChoicesReducer?.messageNotificationType\n );\n\n const documentID = useSelector(\n (state: any) => state?.userChoicesReducer?.messageDocumentIdentifier\n );\n\n const userSelectedMessageStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.messageStatus\n );\n\n const [yellowAlertMessage, setYellowAlertMessage] = React.useState('');\n const [isLoading, setIsLoading] = useState(false);\n\n const MonthYear = moment(userSelectedMessageDate).format('MMMM YYYY');\n\n\n const backButtonHandler = () => {\n dispatch(setUserSelectedMessageDetails(\"\"));\n dispatch(setUserSelectedMessageSubject(\"\"));\n dispatch(setUserSelectedMessageDate(\"\"));\n dispatch(setUserSelectedMessageSender(\"\"));\n dispatch(setUserSelectedMessageNotificationType(false));\n dispatch(setUserSelectedMessageDocumentIdentifier(\"\"));\n props.history.push(\"/mymessageshistory\");\n };\n\n const fetchStatement = () => {\n const data = {\n setYellowAlertMessage,\n setIsLoading,\n MonthYear,\n customerID,\n documentID\n }\n dispatch(fetchChosenStatement(data));\n}\n\nconst customerIdentifier = useSelector(\n (state: any) => state.addresses?.customerid\n);\n\nuseEffect(() => {\n if(userSelectedMessageStatus === \"UNREAD\"){\n (async () => {\n const status = {\n status: \"READ\",\n };\n const communicationID = documentID;\n await api\n .patchCommunicationMessages(customerID, communicationID, status)\n .then((response) => {\n })\n .catch((error) => {});\n\n })();\n }\n}, []);\n\n\n return (\n
    \n

    \n \n \n \"Filter\"\n \n \n \n {userSelectedMessageSubject}\n

    \n
    \n
    {userSelectedMessageSender}
    \n
    \n {formatDateWithMonthInLetters(userSelectedMessageDate)}\n
    \n
    \n
    \n
    {userSelectedMessageDetails}
    \n
    \n
    \n {userSelectedMessageNotificationType && (\n \n {t(\"View Statement\")}\n
    \n )}\n
    \n \n );\n};\n\nexport default MessageDetails;\n","import React, { useState, useEffect, Suspense } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport \"./index.scss\";\nimport {\n Container,\n FormControlLabel,\n Radio,\n RadioGroup,\n} from \"@material-ui/core\";\nimport {\n RepairReporterId,\n ReportContactDetails,\n} from \"../../../models/Repair/Repair\";\n\nimport { isUndefinedNullOrEmpty } from \"../../../utils/translation/helper\";\nimport {\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n userChosenRelationDetails,\n userChosenReporterId,\n showMenuTabs,\n showFooter,\n} from \"../../../ducks/redux/actions/userChoices\";\nimport {\n CASE_COUNTER,\n CASE_EDIT,\n CLEAR_CASE_STATE,\n} from \"../../../ducks/redux/actionTypes\";\nimport { CaseReporterId } from \"../../../models/Case/Case\";\nimport { RouteComponentProps, useHistory } from \"react-router-dom\";\nimport HeaderJourney from \"../../../storybook/Header/HeaderJourney\";\nimport TextInputField from \"../../../storybook/TextInputField/TextInputField\";\nimport Dropdown from \"../../../storybook/Dropdown\";\nimport Message from \"../../../storybook/Message\";\nimport BackModal from \"../../Modal/BackModal\";\nimport ExitModal from \"../../Modal/ExitModal\";\nimport { isNullOrUndefined } from \"../../../utils/formatting\";\nimport { clearReferralInformation } from \"../../../ducks/redux/actions/FinancialReferral\";\n\n\nconst Loader = React.lazy(() => import(\"react-loader-spinner\"));\nconst Button = React.lazy(() => import(\"../../../storybook/Button\"));\n\ninterface ContactDetailsProps extends RouteComponentProps {}\nconst ContactDetails: React.FC = (props) => {\n const { t } = useTranslation();\n const contactDetailsOptions = [\n { id: \"custDetails-op1\", label: t(\"Customer_Option\") },\n { id: \"custDetails-opt2\", label: t(\"Friend_Option\") },\n { id: \"custDetails-opt3\", label: t(\"Other_Option\") },\n ];\n const customerPhone = useSelector(\n (state: any) => state?.addresses?.customerPhoneNumber\n );\n\n const [inputState, setInputState] = useState(t(\"Customer_Option\"));\n let indexFound = 0;\n const dispatch = useDispatch();\n const history = useHistory();\n const [userInput, setUserInput] = useState(\"\");\n var errorArray: any[] = [];\n const [errorArrayState, seterrorArrayState] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n const [numberInput, setNumberInput] = useState(\"\");\n const [radiovalue, setRadioValue] = useState(\n customerPhone[0]?.number\n ? `${customerPhone[0].number}@0`\n : t(\"Case_Provide_Number\")\n );\n const radioText = t(\"Case_Provide_Number\");\n const isinputdisabled = radiovalue != radioText;\n const userChosenContactDetailsBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenContactDetails\n );\n \n const userChosenContactNameBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenContactName\n );\n const userChosenContactPhoneBackButton = useSelector(\n (state: any) => state.userChoicesReducer.userChosenContactPhone\n );\n\n const userChosenRelationSelect = useSelector(\n (state: any) => state.userChoicesReducer.userChosenRelationDetails\n );\n\n const userChosenIsReporter = useSelector(\n (state: any) => state.userChoicesReducer.userChosenIsReporter\n );\n const workOrderObject = useSelector(\n (state: any) => state.addresses.workOrderRepair\n );\n const loggedInStatus = useSelector(\n (state: any) => state?.userChoicesReducer?.loginStatus\n );\n\n const isEdit = useSelector(\n (state: any) => state?.caseCreationReducer?.isCaseEdit\n );\n\n const selectedadditionalInfo = useSelector(\n (state: any) => state?.caseCreationReducer?.caseCreationAdditionalInfo\n );\n\n const selectedAnswers = useSelector(\n (state: any) => state?.caseCreationReducer?.caseSelectedAnswers\n );\n\n const referral = useSelector( (state: any) => state?.financialReferralReducer?.isComingFromReferral)\n const caseFlag = useSelector( (state: any) => state?.financialReferralReducer?.isComingFromCase)\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n \n useEffect(() => {\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n }, [])\n\n useEffect(() => {\n if(!referral && !caseFlag){\n props.history.push('/Customer360View')\n }\n if (isUndefinedNullOrEmpty(loggedInStatus)) {\n props.history.push(\"/startpage\");\n return;\n }\n if (props.history.action === \"POP\" || props.history.action === \"REPLACE\" || props.history.action === \"PUSH\") {\n if(userChosenContactDetailsBackButton){\n \n if(customerPhone[0]?.number === userChosenContactDetailsBackButton ){\n setRadioValue(`${customerPhone[0].number}@0`)\n }else {\n setRadioValue(userChosenContactDetailsBackButton); \n } \n }\n setUserInput(userChosenContactNameBackButton);\n }\n if (!userChosenRelationSelect) {\n dispatch(userChosenRelationDetails(t(\"Customer_Option\")));\n }\n if (\n userChosenContactNameBackButton?.trim().length > 0 &&\n isEdit === false && referral === false\n ) {\n setRadioValue(t(\"Case_Provide_Number\"));\n setUserInput(userChosenContactNameBackButton);\n setNumberInput(userChosenContactPhoneBackButton);\n } else if (userChosenIsReporter) {\n setRadioValue(t(\"Case_Provide_Number\"));\n setUserInput(userChosenContactNameBackButton);\n setNumberInput(userChosenContactPhoneBackButton);\n if (userChosenRelationSelect === \"Friend or family\") {\n dispatch(userChosenRelationDetails(\"Friend or Family\"));\n } else {\n dispatch(userChosenRelationDetails(userChosenRelationSelect));\n }\n } else if (\n !userChosenContactDetailsBackButton &&\n !userChosenContactPhoneBackButton && !isNullOrUndefined(customerPhone)\n ) {\n if (customerPhone !== null && customerPhone !== undefined) {\n dispatch(userChosenContactDetails(`${customerPhone[0]?.number}`));\n }\n else {\n dispatch(userChosenContactDetails(t(\"Case_Provide_Number\")));\n }\n dispatch(userChosenContactDetails(`${customerPhone[0]?.number}`));\n dispatch(userChosenRelationDetails(\"\"));\n } else if (userChosenContactNameBackButton && isEdit === false) {\n setRadioValue(t(\"Case_Provide_Number\"));\n setUserInput(userChosenContactNameBackButton);\n setNumberInput(userChosenContactPhoneBackButton);\n } else {\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n }\n\n if (userChosenRelationSelect) {\n setInputState(userChosenRelationSelect);\n }\n }, []);\n\n const updateSelection = (e: React.ChangeEvent): void => {\n if (e.target.value != t(\"Case_Provide_Number\")) {\n dispatch(userChosenContactPhone(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n setNumberInput(\"\");\n setUserInput(\"\");\n seterrorArrayState([]);\n errorArray = [];\n } else if (e.target.value == t(\"Case_Provide_Number\")) {\n dispatch(userChosenRelationDetails(\"Customer\"));\n }\n setRadioValue(e.target.value);\n dispatch(userChosenContactPhone(e.target.value));\n dispatch(userChosenContactDetails(e.target.value));\n };\n const inputChangeHandler = (event: any) => {\n const re = /^[+0-9]+$/;\n // if value is not blank, then test the regex\n seterrorArrayState([]);\n errorArray = [];\n if (event.target.value === \"\" || re.test(event.target.value)) {\n // @ts-ignore\n setNumberInput(event.target.value.toString().slice(0, 11));\n dispatch(\n userChosenContactPhone(event.target.value.toString().slice(0, 11))\n );\n }\n };\n\n const numberValidate = () => {\n if (isinputdisabled) {\n if (radiovalue != t(\"Case_Provide_Number\")) {\n dispatch(\n userChosenContactPhone(\n radiovalue.toString().slice(0, 11)\n )\n );\n } else {\n dispatch(\n userChosenContactPhone(numberInput?.length > 0 ? numberInput : customerPhone[0]?.number)\n );\n }\n // Adding referral condition\n if(referral){\n const radioUpdatedValue = radiovalue.split(\"@\")\n dispatch(userChosenContactPhone(radioUpdatedValue[0]));\n props.history.push(\"/enquiryreview\");\n }else {\n props.history.push(\"/casereview\");\n }\n\n if (radiovalue != t(\"Case_Provide_Number\")) {\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenRelationDetails(\"\"));\n dispatch(userChosenContactName(\"\"));\n dispatch(userChosenReporterId(\"\"));\n }\n return;\n }\n const phoneEmpty = referral? t('Financial_FI016c') : t(\"Case_CC010\");\n const phoneInvalid = t(\"SSR002\");\n\n const ukCountryCode = \"0\";\n if (!numberInput) {\n errorArray.push(phoneEmpty);\n seterrorArrayState(errorArray);\n textvalidate();\n return;\n }\n if (numberInput.slice(0, 1) != ukCountryCode || numberInput.length < 11) {\n errorArray.push(phoneInvalid);\n seterrorArrayState(errorArray);\n textvalidate();\n return;\n }\n textvalidate();\n errorArray = [];\n };\n const nameError = t(\"Case_CC011\");\n const textvalidate = () => {\n if (!userInput || (userInput && userInput.length <= 0)) {\n errorArray.push(nameError);\n seterrorArrayState(errorArray);\n return;\n }\n if (errorArray.length == 0) {\n if (inputState === t(\"Customer_Option\")) {\n dispatch(\n userChosenReporterId(\n CaseReporterId[\"Customer\" as keyof typeof CaseReporterId]\n )\n );\n }\n dispatch({ type: CASE_EDIT, payload: false });\n if (!userChosenRelationSelect) {\n dispatch(userChosenRelationDetails(t(\"Customer_Option\")));\n }\n if(referral){\n props.history.push(\"/enquiryreview\");\n }else {\n props.history.push(\"/caseReview\");\n }\n }\n };\n\n const clearCaseDataFromRedux = () => {\n dispatch({ type: CLEAR_CASE_STATE });\n };\n\n const backButtonHandler = () => {\n if(referral){\n dispatch(userChosenContactPhone(radiovalue));\n props.history.push(\"/additionalenquirydetails\");\n }else {\n dispatch({ type: CASE_COUNTER, payload: selectedAnswers?.length - 1 });\n props.history.push(\"/caseQuestionnaire\");\n }\n };\n\n const onExitHandler = () => {\n clearCaseDataFromRedux();\n dispatch(clearReferralInformation({}))\n props.history.push(\"/customer360View\");\n };\n\n const nameInputChangeHandler = (e: any) => {\n const re = /^[-A-Za-z' \\b]+$/;\n seterrorArrayState([]);\n // if value is not blank, then test the regex\n if (e.target.value === \"\" || re.test(e.target.value)) {\n setUserInput(e.target.value);\n dispatch(userChosenContactName(e.target.value));\n }\n };\n\n const onContinueHandler = () => {\n seterrorArrayState([]);\n numberValidate();\n };\n\n const handleChange = (e: { target: { value: any } }) => {\n if (inputState != e.target.value) {\n const state: string = RepairReporterId[e.target.value];\n }\n setInputState(e.target.value);\n dispatch(userChosenRelationDetails(e.target.value));\n dispatch(\n userChosenReporterId(\n CaseReporterId[e.target.value as keyof typeof CaseReporterId]\n )\n );\n };\n\n let errorfieldsArray: any[] = [];\n errorArrayState?.forEach((err: any) => {\n errorfieldsArray.push(\n {err} \n );\n });\n return (\n <>\n \n

    \n { referral? t('Financial_FI016') : t(\"Case_CC008\")}\n

    \n \n }\n >\n \n {errorfieldsArray?.length > 0 && (\n errorfieldsArray\n )}\n {isLoading ? (\n \n ) : (\n <>\n
    \n \n {customerPhone.map((number: any, index: number) => {\n return (\n number.number && (\n \n }\n label={number.number}\n value={`${number.number}@${index}`}\n />\n )\n );\n })}\n \n }\n label={t(\"Case_Provide_Number\")}\n value={t(\"Case_Provide_Number\")}\n />{\" \"}\n \n
    \n\n
    \n
    \n
    Phone number
    \n inputChangeHandler(e)}\n >\n
    \n
    \n
    Name
    \n \n
    \n\n
    \n
    \n {t(\"Repair_Contact_Details_Selection_Query\")}\n
    \n \n
    \n
    \n \n )}\n \n\n
    \n
    \n
    \n \n\n \n
    \n
    \n \n {t(\"continue_button\")}\n \n
    \n
    \n
    \n \n \n \n );\n};\n\nexport default ContactDetails;\n","export default class CaseDrool {\n public channel: string = \"CustomerSelfService\";\n public caseSubType: string = '';\n public caseSubTypeCategory: string = '';\n public landLord: string = '';\n public tenancyType: string = '';\n public caseCategory: string = '';\n }","export const VANDALISM_CASE_QUESTION =\n \"Do you know who is responsible for the deliberate damage?\";\nexport const COVID_CASE_QUESTION =\n \"Is anyone in your home isolating due to Covid-19?\";\nexport const REFERENCE_CASE_QUESTION_1 = \"Who should the reference be sent to?\";\nexport const REFERENCE_CASE_QUESTION_2 =\n \"How would you like to receive this document?\";\nexport const REFERENCE_CASE_QUESTION_3 =\n \"Please provide the name of the company or person and their contact details, phone number, email and address\";\nexport const REFERENCE_CASE_QUESTION_4 = \"Please enter your email address\";\nexport const TENANCY_AGREEMENT_CASE_QUESTION =\n \"How would like receive your Tenancy Agreement?\";\n\nexport const HOUSEHOLD_OR_SUBLETTING_TITLE =\n \"Please advise the type of change that you would like to make to the residency or house-hold members?\";\n\nexport const HOUSEHOLD_OR_SUBLETTING_GUEST =\n \"Please advise details of the guest and the reasons for having a guest at your property. Include the estimate start and end dates for this change\";\nexport const HOUSEHOLD_OR_SUBLETTING_LOADGER =\n \"Please advise details of the lodger and the reasons for adding a lodger as a householder member. Include the estimate start and end dates for this change\";\nexport const HOUSEHOLD_OR_SUBLETTING_MEMBER =\n \"We need you to provide information about the changes to your household and we will forward a form for you to complete. How would you like to receive the form?\";\nexport const HOUSEHOLD_OR_SUBLETTING_LETTING =\n \"Please provide details of your request to sublet your property\";\n\nexport const RENT_CARD = \"How many cards do you need to order?\";\nexport const LEASEHOLD_OWNERSHIP = \"Please select the option for you enquiry\";\nexport const LEASEHOLD_OWNERSHIP_TEXT1 =\n \"Please provide details of your enquiry\";\nexport const LEASEHOLD_OWNERSHIP_TEXT2 =\n \"Please provide details of your request to sublet your property\";\nexport const LEASEHOLD_OWNERSHIP_RADIO =\n \"How would you like to receive the sales pack?\";\n","import React, { useState, useEffect, Suspense } from \"react\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport * as api from \"../../../api\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n CASE_IDENTIFIER,\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n CASE_ELIGIBILITY_RESPONSE,\n CASE_COUNTER,\n CASE_OWNER,\n CASE_ASSET_IDENTIFIER,\n} from \"../../../ducks/redux/actionTypes\";\nimport CaseData from \"../../../models/Case/Case\";\nimport CaseDrool from \"../../../models/Case/CaseDrool\";\nimport { COVID_CASE_QUESTION } from \"../QuestionType/Question\";\nimport HeaderJourney from \"../../../storybook/Header/HeaderJourney\";\nimport Message from \"../../../storybook/Message\";\nimport ExitModal from \"../../Modal/ExitModal\";\nimport BackModal from \"../../Modal/BackModal\";\nimport { comingFromCaseJourneySuccess } from \"../../../ducks/redux/actions/FinancialReferral\";\n\nconst TableCell = React.lazy(() => import(\"@material-ui/core/TableCell\"));\nconst TableRow = React.lazy(() => import(\"@material-ui/core/TableRow\"));\nconst TableBody = React.lazy(() => import(\"@material-ui/core/TableBody\"));\nconst Loader = React.lazy(() => import(\"react-loader-spinner\"));\nconst Button = React.lazy(() => import(\"../../../storybook/Button\"));\n\n\ninterface ReviewCaseProps extends RouteComponentProps { }\nconst CaseReview: React.FC = (props) => {\n const [isLoading, setIsLoading] = useState(false);\n const [showError, setShowError] = useState(\"\");\n const [redAlert, setRedAlert] = useState(\"\");\n const [isSingleTenancy, setIsSingleTenancy] = useState(false);\n\n const { t } = useTranslation();\n const dispatch = useDispatch();\n\n enum AssetTypeId {\n Block = 1,\n Property = 2\n };\n\n enum userTenancyCount {\n Single = 1\n };\n\n enum AssetTypeName {\n Block = \"Block\",\n Property = \"Property\"\n };\n\n let tenancyIdentifier: any = \"\";\n let tenancyType: string;\n let landlordName: string = \"null\";\n let caseCategory: string;\n\n let assetIdentifier = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyId\n );\n const [assigneeName, setAssigneeName] = useState(\"\");\n const [assigneeType, setAssigneeType] = useState(\"\");\n\n const caseTypeDescription = useSelector(\n (state: any) => state.caseCreationReducer.caseCreationDescription\n );\n\n const assetType = useSelector(\n (state: any) => state.caseCreationReducer.caseAssetType\n );\n\n const caseSubType = useSelector(\n (state: any) => state.caseCreationReducer.caseSubType\n );\n\n const caseSubTypeCategory = useSelector(\n (state: any) => state.caseCreationReducer.caseSubTypeCategory\n );\n\n const caseTypeId = useSelector(\n (state: any) => state.caseCreationReducer.caseCreationId\n );\n\n const selectedTenancy = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyId\n );\n\n const addresses = useSelector(\n (state: any) => state.addresses?.customerassociatedassets || []\n );\n\n let rowNumber = 0;\n\n addresses[0]?.map((address: any) => {\n if (address.assetType === assetType) {\n assetIdentifier = address.id;\n }\n dispatch({ type: CASE_ASSET_IDENTIFIER, payload: assetIdentifier });\n });\n\n const selectedPropertyAddress = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyAddress\n );\n\n const userChosenContactPhone = useSelector(\n (state: any) => state.userChoicesReducer.userChosenContactPhone\n );\n\n const userChosenContactName = useSelector(\n (state: any) => state.userChoicesReducer.userChosenContactName\n );\n\n const userChosenRelationDetails = useSelector(\n (state: any) => state.userChoicesReducer.userChosenRelationDetails\n );\n\n const userChosenRelationId = useSelector(\n (state: any) => state.userChoicesReducer.userChosenReporterId\n );\n\n const caseCategoryAdditionalFields = useSelector(\n (state: any) => state.caseCreationReducer.caseAdditionalFields\n );\n\n const customerIdentifier = useSelector(\n (state: any) => state.addresses?.customerid\n );\n\n const userTenancy =\n useSelector((state: any) => state?.addresses?.customertenancies) || [];\n\n userTenancy.map((data: any, index: number) => {\n if (data?.tenancySummary?.premisesIds[0] === selectedTenancy) {\n tenancyType = data?.tenancySummary.tenancyType;\n return (tenancyIdentifier = data?.tenancySummary?.tenancyId);\n }\n });\n\n const selectedQuestions =\n useSelector(\n (state: any) => state?.caseCreationReducer?.caseCreationAdditionalInfo\n ) || [];\n\n let AnsValueArr: any = [];\n\n let isCovidInFlow = false;\n\n const selectedAnswers = useSelector(\n (state: any) => state?.caseCreationReducer?.caseSelectedAnswers\n );\n\n const selectedQues = useSelector(\n (state: any) => state?.caseCreationReducer?.caseSelectedQuestions\n );\n\n\n AnsValueArr = [...selectedAnswers];\n\n selectedQuestions.map((q: any, index: number) => {\n if (q.label === COVID_CASE_QUESTION && q.isEnabled === \"true\") {\n isCovidInFlow = true;\n }\n q?.options?.map((data: any) => {\n if (data.id === selectedAnswers[index]) {\n return (AnsValueArr[index] = data.value);\n }\n });\n });\n\n // === Need to validate with solid logic principle ===\n let storeIndex: any = [];\n\n selectedAnswers.map((data: any, index: number) => {\n storeIndex.push(index);\n });\n\n storeIndex.map((_: any, index: number) => {\n if (index !== storeIndex[index]) {\n selectedAnswers[index] = undefined;\n }\n });\n\n if (\n caseCategoryAdditionalFields &&\n caseCategoryAdditionalFields[0]?.valueFrom\n ) {\n caseCategory = AnsValueArr[0];\n }\n\n const callCaseDroolAPIS = async () => {\n setIsLoading(true);\n const droolRequest = new CaseDrool();\n droolRequest.caseSubType = caseSubType;\n droolRequest.caseSubTypeCategory = caseSubTypeCategory;\n droolRequest.caseCategory = caseCategory || \"NA\";\n droolRequest.landLord = landlordName;\n droolRequest.tenancyType = tenancyType;\n droolRequest.channel = \"CustomerSelfService\";\n\n try {\n const response = await api.caseDroolAPI(droolRequest);\n if (\n response?.value?.[\"com.myspace.pb_team_determination.ActionItem\"]\n ?.owningTeam != null\n ) {\n setAssigneeName(\n response?.value?.[\"com.myspace.pb_team_determination.ActionItem\"]\n ?.owningTeam\n );\n setAssigneeType(\n response?.value?.[\"com.myspace.pb_team_determination.ActionItem\"]\n ?.owningTeamCategory\n );\n } else {\n props.history.push(\"/genericerror\");\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: [] });\n }\n } catch (e: any) {\n props.history.push(\"/genericerror\");\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: [] });\n } finally {\n setIsLoading(false);\n }\n };\n\n const fetchGetCaseAssetAssociateData = async () => {\n try {\n setIsLoading(true);\n const response = await api.getCaseAssetAssociate(assetIdentifier);\n if (response) {\n dispatch({ type: CASE_ELIGIBILITY_RESPONSE, payload: response });\n }\n landlordName =\n response?.associates?.landLord?.organisation?.name || \"UNKNOWN\";\n if (landlordName) {\n callCaseDroolAPIS();\n }\n } catch (e: any) {\n props.history.push(\"/genericerror\");\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: [] });\n }\n };\n\n let timerId: any;\n useEffect(() => {\n fetchGetCaseAssetAssociateData();\n if (userTenancy.length === userTenancyCount.Single) {\n setIsSingleTenancy(true);\n }\n return () => {\n clearTimeout(timerId);\n };\n }, []);\n\n const clearCaseDataFromRedux = () => {\n dispatch({ type: CLEAR_CASE_STATE });\n };\n\n const backButtonHandler = () => {\n props.history.push(\"/contactdetails\");\n };\n\n const onExitHandler = () => {\n clearCaseDataFromRedux();\n props.history.push(\"/customer360View\");\n };\n\n const getAssetDetails = () => {\n let assetTypeID;\n let assetTypeName;\n let missingBlockID = true;\n if (assetType === AssetTypeName.Block) {\n addresses[0]?.map((address: any) => {\n if (address.assetType === AssetTypeName.Block) {\n missingBlockID = false;\n }\n });\n if (!missingBlockID) {\n assetTypeID = AssetTypeId.Block;\n assetTypeName = AssetTypeName.Block;\n } else {\n assetTypeID = AssetTypeId.Property;\n assetTypeName = AssetTypeName.Property;\n }\n\n } else if (assetType === AssetTypeName.Property) {\n assetTypeID = AssetTypeId.Property;\n assetTypeName = AssetTypeName.Property;\n }\n return [assetTypeID, assetTypeName];\n }\n\n const onContinueHandler = async () => {\n setIsLoading(true);\n const [assetID, assetName] = getAssetDetails();\n const caseRequest = new CaseData();\n caseRequest.caseTypeId = parseInt(caseTypeId);\n caseRequest.caseTypeDescription = caseTypeDescription;\n caseRequest.asset = {\n type: {\n assetTypeId: assetID,\n assetTypeName: assetName,\n },\n };\n\n //add desc in case of covid\n caseRequest.caseTypeDescription =\n isCovidInFlow == true ? caseTypeDescription : caseTypeDescription;\n caseRequest.assignee = assigneeName;\n caseRequest.assigneeType = assigneeType;\n caseRequest.identifiers = {\n assetIdentifier: assetIdentifier,\n customerIdentifier: customerIdentifier,\n tenancyIdentifier: tenancyIdentifier,\n };\n caseRequest.contactDetails = {\n phoneNumber: userChosenContactPhone,\n name: userChosenContactName || null,\n relationId: parseInt(userChosenRelationId) || null,\n relation: userChosenRelationDetails || null,\n };\n\n // Removing blank value from question and answers\n\n do {\n selectedAnswers.filter((data: any, index: number) => {\n if (data == undefined) {\n selectedAnswers.splice(index, 1);\n selectedQuestions.splice(index, 1);\n }\n });\n } while (selectedAnswers.includes(undefined));\n\n caseRequest.additionalInfo = selectedAnswers?.map(\n (ans: any, index: number) => {\n return {\n questionId: selectedQuestions[index]?.questionId,\n responseId:\n selectedQuestions[index]?.type === \"Radio\" ||\n selectedQuestions[index]?.type === \"List\"\n ? parseInt(ans)\n : null,\n\n responseText: selectedQuestions[index]?.type === \"Text\" ? ans : null,\n };\n }\n );\n\n try {\n timerId = setTimeout(function () {\n setShowError(\"Case_CC022\");\n }, 1000);\n\n const response = await api.createCaseData(caseRequest);\n dispatch({ type: CASE_IDENTIFIER, payload: response?.caseIdentifier });\n dispatch({ type: CASE_OWNER, payload: assigneeName });\n dispatch(comingFromCaseJourneySuccess(true))\n props.history.push(\"/Customer360View\");\n } catch (e) {\n setRedAlert(\"Case_CC023\");\n } finally {\n setIsLoading(false);\n setShowError(\"\");\n }\n };\n\n const displayCustomerContactDetails = () => {\n return (\n
    \n
    \n
    \n\n {t(\"Case_Customer_Details_Text_Two\")}\n\n
    \n \n {userChosenContactPhone}

    {userChosenContactName}

    \n {userChosenRelationDetails}\n

    \n
    \n
    \n \n {\n props.history.push(\"/contactdetails\");\n }}\n >\n
    \n
    \n );\n };\n\n const displayCaseType = () => {\n return (\n
    \n
    \n
    \n {t(\"Case_Type_Title\")}\n
    \n

    \n {caseTypeDescription}\n

    \n
    \n
    \n \n {\n dispatch({ type: CASE_COUNTER, payload: 0 });\n props.history.push(\"/caseType\");\n }}\n >\n \n\n
    \n
    \n );\n };\n\n const displaySelectedProperty = () => {\n return (\n\n
    \n
    \n
    \n {t(\"Case_Property\")}\n
    \n\n

    {selectedPropertyAddress}

    \n
    \n\n
    \n \n {!isSingleTenancy &&\n
    \n {\n props.history.push(\"/selectTenancy\");\n }}\n >\n
    }\n \n
    \n
    \n );\n };\n return (\n <>\n \n
    \n
    \n
    \n

    \n {t(\"Case_Review_Title\")}\n

    \n \n {t(\"Case_Details_Text2\")}\n \n
    \n {redAlert && (\n
    \n {t(redAlert)}\n
    \n )}\n {showError && (\n
    \n {t(showError)}\n
    \n\n )}\n {isLoading ? (\n <>\n \n \n ) : (\n\n
    \n {displaySelectedProperty()}\n {displayCaseType()}\n {selectedQuestions\n .slice(0, selectedAnswers.length)\n .map((q: any, id: number) => {\n if (AnsValueArr[id] ) {\n rowNumber++\n }\n\n return (\n <>\n
    \n
    \n
    \n {q.label} \n\n
    \n\n

    \n {AnsValueArr[id]}\n

    \n
    \n \n {\n props.history.push({\n pathname: \"/caseQuestionnaire\",\n state: { id: `${id}` },\n });\n }}\n >\n \n
    \n\n
    \n \n );\n })}\n {/* === Display contact details === */}\n {displayCustomerContactDetails()}\n\n
    \n )}\n\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n {t(\"continue_button\")}\n \n
    \n
    \n
    \n
    \n\n );\n};\n\nexport default CaseReview;\n","export const sortableFields = [\n {\n displayName: 'Newest to oldest',\n sortableKey: 'createdDate desc',\n },\n {\n displayName: 'Oldest to newest',\n sortableKey: 'createdDate asc',\n },\n \n ]\n export default sortableFields\n ","import { withStyles } from '@material-ui/core'\nimport Box from '@material-ui/core/Box'\nimport Paper from '@material-ui/core/Paper'\nimport TablePagination from '@material-ui/core/TablePagination'\nimport Typography from '@material-ui/core/Typography'\nimport styled from 'styled-components'\nimport { SPACING } from '../../../theme'\nimport TextField from '../../../storybook/TextField/index'\nimport Table from '../../../storybook/Table'\nimport SearchComp from '../../../storybook/Search'\nimport 'bootstrap/dist/css/bootstrap.min.css';\n\n\n\n\nexport const WebPagination = styled.div`\n@media (min-width: 920px) {\n display: inline;\n }\n display: none;\n`\nexport const MobilePagination = styled.div`\n@media (min-width: 920px) {\n display: none;\n }\n display: inline;\n`\nexport const Search = styled(SearchComp)`\nheight: 34px;\nline-height: inherit;\npadding-left: 10px;\nborder:transparent!important;\n`\n\nexport const Paginationbox = styled.div`\ntext-align: center;\nfloat: right;\nmargin-top: 30px;\n\n@media (min-width: 800px) {\n display: inline;\n }\n display: none;\n`\n\n\n\nexport const Pagination = TablePagination\n","export const CaseStatusOptions = [\n {\n key: \"All\",\n value: \"All\",\n },\n {\n key: \"Active\",\n value: \"Active\",\n },\n {\n key: \"Cancelled\",\n value: \"Cancelled\",\n },\n {\n key: \"Resolved\",\n value: \"Resolved\",\n }, \n ];\n export default CaseStatusOptions;\n ","export default class CaseSearchData {\n cases: Case[] = [];\n \"total-count\": number = 0;\n skip: number = 0;\n limit: number = 0;\n _links: Links = new Links();\n}\n\nexport class Case {\n caseTypeDescription: string = \"\";\n caseTypeId: string = \"\";\n description: string = \"\";\n caseReferenceNumber: string = \"\";\n status: string = \"\";\n caseSubType: string = \"\";\n caseSubTypeCategory: string = \"\";\n assignee: string = \"\";\n priority: string = \"\"\n caseNotes: CaseNote[] = [];\n createdDate: string = \"\";\n modifiedDate: string = \"\";\n identifiers: Identifiers = new Identifiers();\n _links: Links=new Links();\n}\n\nexport class CaseNote {\n noteType: string = \"\";\n noteDescription: string = \"\";\n}\n\nexport class Customer {\n href: string = \"\";\n method: string = \"\";\n}\n\nexport class Identifiers {\n caseIdentifier: string = \"\";\n assetIdentifier: string = \"\";\n customerIdentifier: string = \"\";\n}\n\nexport class Asset {\n href: string = \"\";\n method: string = \"\";\n}\n\nexport class Links {\n self: Self = new Self();\n asset: Asset = new Asset();\n customer: Customer = new Customer();\n next: Next = new Next();\n previous: Previous = new Previous();\n}\n\nexport class Next {\n href: string = \"\";\n method: string = \"\";\n}\n\nexport class Previous {\n href: string = \"\";\n method: string = \"\";\n}\n\nexport class Self {\n href: string = \"\";\n method: string = \"\";\n}","import React, { useCallback, useEffect, useRef, useState } from \"react\";\nimport { CaseStatusField } from \"../../../models/Case/Case\";\nimport { useTranslation } from \"react-i18next\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport staticSortableFields from \"../../../models/Case/CaseSortableFields\";\nimport { PremisesType } from \"../../../models/Customer/Premises\";\nimport * as api from \"../../../api\";\nimport InfiniteScroll from \"react-infinite-scroll-component\";\nimport \"../../HistoricRepairs/index.scss\"\nimport filtericon from \"../../../assets/img/filtericon.png\";\nimport Clear from \"../../../assets/img/Clear.png\";\nimport {\n MobilePagination,\n Pagination,\n Paginationbox,\n Search,\n WebPagination,\n} from \"./components\";\n\nimport { RouteComponentProps } from \"react-router-dom\";\nimport { formatDate, isNullOrUndefined, detectMobile } from \"../../../utils/formatting\";\n\nimport { Offcanvas } from \"react-bootstrap\";\nimport { CustomerResponse } from \"../../../models/Customer\";\nimport LoadingSpinner from \"../../../storybook/LoadingSpinner\";\nimport CaseStatusOptions from \"../../../models/Case/CaseStatusOptions\";\nimport CaseSearchData, { Links } from \"../../../models/Case/CaseSearch\";\nimport {\n AssocitaedAssetsType,\n RelatedPremisesType,\n} from \"../../../models/Property/AdminUnits\";\nimport Tenancies from \"../../../models/Customer/Tenancies\";\nimport { useHistory } from \"react-router-dom\";\nimport { CaseOwnerMatrix } from \"../../../models/Case/CaseOwnerMatrix\";\nimport { showMenuTabs, userChosenPropertyId } from \"../../../ducks/redux/actions/userChoices\";\nimport { repairHistoryData } from \"../../../ducks/redux/actions/historicRepair\";\nimport Message from \"../../../storybook/Message\";\n\ninterface CaseSearchProps extends RouteComponentProps { }\nconst CaseSearch: React.FC = (props) => {\n const [show, setShow] = useState(false);\n\n const handleClose = () => setShow(false);\n const handleShow = () => setShow(true);\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const [defaultSortOrder, setdefaultSortOrder] = useState(\"createdDate desc\");\n const [defaultCaseStatus, setdefaultCaseStatus] = useState(\"\");\n const [defaultassocitaedAsset, setdefaultassocitaedAsset] = useState(\"\");\n const [associtaedAsset, setassocitaedAsset] = useState(\"\");\n\n const [searchTerm, setsearchTerm] = useState(\"\");\n const [priority, setpriority] = useState(\"\");\n\n const [selectedArea, setselectedArea] = useState(\"All\");\n const [Area, setArea] = useState(false);\n const [totalCount, settotalCount] = useState(0);\n const [currentPage, setcurrentPage] = useState(0);\n const [resultsPerPage, setresultsPerPage] = useState(10);\n const [skip, setskip] = useState(0);\n const [isLoading, setIsLoading] = useState(true);\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const [isMoreThanThousand, setIsMoreThanThousand] = useState(false);\n const [hasMoreCases, setHasMoreCases] = useState(true);\n const arrayCases: CaseSearchData = {\n cases: [],\n \"total-count\": 0,\n skip: 0,\n limit: 0,\n _links: new Links(),\n };\n const [CustResponse, setCustomerResponse] = useState();\n const arrayArea: Array<{ key: string; value: string }> = [];\n const [premisesListArea, setpremisesListArea] = useState(arrayArea);\n const [associtaedAssetList, setassocitaedAssetsList] = useState(arrayArea);\n const [caseDescriptionTxt, setCaseDescriptionTxt] = useState(\"\");\n const [isActiveDescription, setIsActiveDescription] = useState(false);\n const [activeCase, setActiveCase] = useState([]);\n const [assetIdentifiersAll, setassetIdentifiersAll] = useState(\"\");\n const history = useHistory();\n\n let ownerName: any;\n\n const propertyId = useSelector(\n (state: any) => state.userChoicesReducer.userChosenPropertyId\n );\n\n let totalRecords: any = [];\n\n let assetBlockPropertyIds: any = [];\n let PropertyId = useSelector(\n (state: any) => state.userChoicesReducer.userChosenPropertyId\n );\n\n const assetType = useSelector(\n (state: any) => state?.caseCreationReducer?.caseAssetType\n );\n\n const casestatusSelectOptions = CaseStatusOptions.map((f) => ({\n key: f.key,\n value: f.value,\n }));\n\n const [caseListData, setCaseSearchData] = useState(arrayCases);\n\n enum CaseOwnerName {\n MyPeabodyHubComplaints = \"MyPeabody Hub Complaints\"\n }\n \n\n const mappedOwnerName = new Map();\n mappedOwnerName.set('Estate Services Enquiries', CaseOwnerMatrix[\"Estate Services Enquiries\"])\n .set('Homeowner Sales Services', CaseOwnerMatrix[\"Homeowner Sales Services\"])\n .set('NM', CaseOwnerMatrix[\"NM\"])\n .set('Homeownership Team', CaseOwnerMatrix[\"Homeownership Team\"])\n .set('Incomes officer', CaseOwnerMatrix[\"Incomes officer\"])\n .set('Leasehold Compliance Team', CaseOwnerMatrix[\"Leasehold Compliance Team\"])\n .set('Leasehold Team', CaseOwnerMatrix[\"Leasehold Team\"])\n .set('New Homes (Development)', CaseOwnerMatrix[\"New Homes (Development)\"])\n .set('Private Rent Team', CaseOwnerMatrix[\"Private Rent Team\"])\n .set('Rehousing Services', CaseOwnerMatrix[\"Rehousing Services\"])\n .set('Rehousing and Lettings', CaseOwnerMatrix[\"Rehousing and Lettings\"])\n .set('Resale And Staircasing Team', CaseOwnerMatrix[\"Resale And Staircasing Team\"])\n .set('SAR Team', CaseOwnerMatrix[\"SAR Team\"])\n .set('Specialist Case Management', CaseOwnerMatrix[\"Specialist Case Management\"])\n .set('Lettings Team', CaseOwnerMatrix[\"Lettings Team\"])\n .set('Property Accounts', CaseOwnerMatrix[\"Property Accounts\"])\n .set('New Homes Team', CaseOwnerMatrix[\"New Homes Team\"])\n .set('Business Support', CaseOwnerMatrix[\"Business Support\"])\n .set('Allocations and Lettings', CaseOwnerMatrix[\"Allocations and Lettings\"])\n .set('Property Accounts Team', CaseOwnerMatrix[\"Property Accounts Team\"]);\n\n\n let associtaedAssets: any[] = [];\n const [isCaseSearchError, setIsCaseSearchError] = useState(false);\n const isMobile = detectMobile();\n const openMobiledialer = () => {\n window.open('tel:' + t('phone_no'));\n };\n const returnToHome = () => {\n props.history.push('/customer360View');\n };\n useEffect(() => {\n dispatch(showMenuTabs(true));\n (async () => {\n try {\n setIsLoading(true);\n const customerResponse = await api.getCustomer(customerID);\n setCustomerResponse(customerResponse);\n\n const activeTenanciesSummaries =\n customerResponse.tenanciesSummaries.filter(\n (ts) =>\n ts.tenancySummary.statuses.find(\n (s) => s.type === \"isTenancyActive\"\n )?.value === true\n );\n const activeTenanciesPremisesIds: Tenancies[] = activeTenanciesSummaries\n .map((ts: any) => ts.tenancySummary.premisesIds)\n .flat();\n const promises = activeTenanciesPremisesIds.map((item: any) => {\n return api.getAssociatedAssets(item);\n });\n Promise.all(promises).then((results) => {\n //Filter results as per premisesid\n activeTenanciesPremisesIds?.map(async (assetid: any) => {\n results.forEach((element) => {\n const resultF = element.filter(\n (addressdata) => addressdata.id === assetid\n );\n\n if (resultF !== null) associtaedAssets.push(resultF);\n });\n });\n const associtaedAssetsList: AssocitaedAssetsType[] = [];\n\n associtaedAssets?.map((addressdata: any) => {\n addressdata?.map((address: any) => {\n const associtaedAssetsTypeEntry: AssocitaedAssetsType =\n new AssocitaedAssetsType();\n\n associtaedAssetsTypeEntry.key = address?.id;\n associtaedAssetsTypeEntry.value =\n address?.addresses?.postalAddresses[0]?.formattedAddress;\n associtaedAssetsList.push(associtaedAssetsTypeEntry);\n });\n });\n if (associtaedAssetsList?.length > 1) {\n setArea(true);\n } else {\n setArea(false);\n }\n if (PropertyId != \"\") {\n setdefaultassocitaedAsset(PropertyId);\n setassocitaedAsset(PropertyId);\n } else {\n PropertyId = associtaedAssetsList[0].key;\n setdefaultassocitaedAsset(associtaedAssetsList[0].key);\n setassocitaedAsset(associtaedAssetsList[0].key);\n }\n\n setassocitaedAssetsList(associtaedAssetsList);\n });\n\n const premisesList: RelatedPremisesType[] = [];\n const premisesEntry: RelatedPremisesType = new RelatedPremisesType();\n let propertiesIds: string[] = [];\n let addressIds: string[] = [];\n premisesEntry.premisesType = PremisesType.Default;\n premisesEntry.premisesTypeId = PremisesType.Default;\n premisesList.push(premisesEntry);\n const addressesData = await api.getAssociatedAssets(PropertyId);\n\n addressesData.forEach((element) => {\n const premisesEntry: RelatedPremisesType = new RelatedPremisesType();\n premisesEntry.premisesType = element.assetType as PremisesType;\n premisesEntry.premisesTypeId = element.id;\n premisesList.push(premisesEntry);\n propertiesIds.push(element.id);\n });\n const areaOptions = premisesList.map((f) => ({\n key: f.premisesType,\n value: f.premisesTypeId,\n }));\n\n setpremisesListArea(areaOptions);\n\n let tenancyStartDate =\n activeTenanciesSummaries[0]?.tenancySummary.tenancyStartDate || \"\";\n\n areaOptions.forEach((element) => {\n if (element.key === \"Property\" || element.key === \"Block\") {\n assetBlockPropertyIds.push(element.value);\n }\n });\n let assetIDsIntTxt = \"assetIdentifiers=\";\n let assetIDsRemTxt = assetBlockPropertyIds.join(\"&assetIdentifiers=\");\n let assetIDsAll = assetIDsIntTxt.concat(assetIDsRemTxt);\n setassetIdentifiersAll(assetIDsAll);\n\n const casequeryParams = {\n searchText: \"\",\n orderBy: \"createdDate desc\",\n status: \"\",\n limit: 10,\n skip: 0,\n defaultassocitaedAsset: assetIDsAll,\n customerId: customerID,\n };\n\n const casesResponse = await api.getCasesList(casequeryParams);\n setCaseSearchData(casesResponse);\n settotalCount(casesResponse[\"total-count\"]);\n setIsLoading(false);\n } catch (e) {\n setIsLoading(false);\n setIsCaseSearchError(true);\n }\n })();\n }, [propertyId]);\n\n const onChangePage = (e: any, page: number) => handleChangePage(page);\n\n const handleChangeRowsPerPage = (e: React.ChangeEvent) => {\n setIsLoading(true);\n setresultsPerPage((e.target as any).value);\n setskip(0);\n setcurrentPage(0);\n fetchCasesData(\n (e.target as any).value,\n defaultSortOrder,\n defaultCaseStatus,\n 0,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset,\n customerID,\n false\n );\n };\n\n const fetchData = () => {\n setresultsPerPage(50);\n fetchCasesData(\n totalCount,\n defaultSortOrder,\n defaultCaseStatus,\n skip,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset,\n customerID,\n true\n );\n };\n\n const handleSubmit = (s: string): void => {\n setresultsPerPage(10);\n setskip(0);\n setcurrentPage(0);\n if (s !== \"\") {\n setIsLoading(true);\n }\n setsearchTerm(s);\n\n fetchCasesData(\n resultsPerPage,\n defaultSortOrder,\n defaultCaseStatus,\n 0,\n s,\n priority,\n selectedArea,\n defaultassocitaedAsset,\n customerID\n );\n };\n const handleResetSubmit = (s: string): void => {\n setcurrentPage(0);\n setsearchTerm(\"\");\n fetchCasesData(\n resultsPerPage,\n defaultSortOrder,\n defaultCaseStatus,\n skip,\n \"\",\n priority,\n selectedArea,\n defaultassocitaedAsset,\n customerID\n );\n };\n\n const handleChangeSortOrder = (e: { target: { value: any } }) => {\n setdefaultSortOrder(e.target.value);\n setIsLoading(true);\n fetchCasesData(\n resultsPerPage,\n e.target.value,\n defaultCaseStatus,\n skip,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset,\n customerID\n );\n };\n const handleChangeAssocitae = (e: { target: { value: any } }) => {\n setselectedArea(\"All\");\n handleReset();\n setdefaultassocitaedAsset(e.target.value);\n dispatch(userChosenPropertyId(e.target.value));\n fetchCasesData(\n resultsPerPage,\n defaultSortOrder,\n defaultCaseStatus,\n skip,\n searchTerm,\n priority,\n selectedArea,\n e.target.value,\n customerID\n );\n };\n const handleChangeRepairStatus = (e: { target: { value: any } }) => {\n setdefaultCaseStatus(e.target.value);\n };\n\n const caseDetailsHandler = (el: any) => {\n\n if (activeCase.indexOf(el.identifiers.caseIdentifier) >= 0) {\n var filteredArray = activeCase.filter(e => e !== el.identifiers.caseIdentifier);\n setActiveCase(filteredArray);\n setIsActiveDescription(false);\n } else {\n activeCase.push(el.identifiers.caseIdentifier);\n setIsActiveDescription(true);\n }\n setCaseDescriptionTxt(el.description);\n\n const details = viewCaseDetail(el.identifiers.caseIdentifier, el.description)\n const historyData = CreateCasesHistoryData(el, details)\n\n dispatch(repairHistoryData(historyData));\n dispatch(showMenuTabs(false));\n props.history.push(\"/casedetails\");\n };\n\n const CreateCasesHistoryData = (e: any, details: any) => {\n const ownerName = mappedOwnerName.get(e.assignee?.trim()) \n return {\n caseRefNo: e.caseReferenceNumber,\n caseStatus: e.status,\n caseOwner: ownerName,\n dateCreated: isNullOrUndefined(e.createdDate)\n ? \"-\"\n : formatDate(e.createdDate),\n requsetType :e.caseTypeDescription,\n caseDetailsData: details\n };\n };\n\n\n\n const handleReset = () => {\n setIsLoading(true);\n setresultsPerPage(10);\n setdefaultSortOrder(\"createdDate desc\");\n setdefaultCaseStatus(\"All\");\n setskip(0);\n setcurrentPage(0);\n setsearchTerm(\"\");\n setselectedArea(\"All\");\n setdefaultassocitaedAsset(associtaedAsset);\n fetchCasesData(\n 10,\n \"createdDate desc\",\n \"All\",\n 0,\n \"\",\n \"\",\n \"All\",\n associtaedAsset,\n customerID\n );\n };\n const handleFilterSubmit = () => {\n setIsLoading(true);\n setresultsPerPage(10);\n setskip(0);\n setcurrentPage(0);\n fetchCasesData(\n resultsPerPage,\n defaultSortOrder,\n defaultCaseStatus,\n 0,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset,\n customerID\n );\n setShow(false);\n };\n const handleChangePage = (page: number) => {\n setIsLoading(true);\n setcurrentPage(page);\n setskip(resultsPerPage * page);\n fetchCasesData(\n resultsPerPage,\n defaultSortOrder,\n defaultCaseStatus,\n resultsPerPage * page,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset,\n customerID\n );\n };\n\n const fetchCasesData = async (\n resultsPerPage: number,\n defaultSortOrder: string,\n defaultCaseStatus: string,\n skip: number,\n searchTerm: string,\n priority: string,\n selectedArea: string,\n defaultassocitaedAsset: string,\n customerId: string,\n isMobileView: boolean = false\n ) => {\n let status = \"\";\n const propertiesIds: string[] = [];\n if (defaultCaseStatus == \"Active\") {\n status = CaseStatusField.Active;\n } else if (defaultCaseStatus == \"Cancelled\") {\n status = CaseStatusField.Cancelled;\n } else if (defaultCaseStatus == \"All\") {\n status = \"\";\n } else {\n const CaseStatusEnum = defaultCaseStatus as CaseStatusField;\n status = CaseStatusEnum;\n }\n try {\n const casequeryParams = {\n searchText: searchTerm,\n orderBy: defaultSortOrder,\n limit: resultsPerPage,\n skip: skip,\n status,\n defaultassocitaedAsset: assetIdentifiersAll,\n customerId,\n };\n\n const caseList = await api.getCasesList(casequeryParams);\n settotalCount(caseList[\"total-count\"]);\n\n if (isMobileView && skip != 1000) {\n totalRecords = caseList;\n }\n if (isMobileView && skip == 1000) {\n const totalCases = totalRecords.cases.concat(caseList.cases);\n caseList.cases = totalCases;\n setCaseSearchData(caseList);\n } else {\n setCaseSearchData(caseList);\n }\n\n if (isMobileView && caseList?.cases?.length < caseList[\"total-count\"]) {\n setIsMoreThanThousand(true)\n //fetch next data again\n fetchCasesData(\n totalCount,\n defaultSortOrder,\n defaultCaseStatus,\n 1000,\n searchTerm,\n priority,\n selectedArea,\n defaultassocitaedAsset,\n customerID,\n true\n );\n } else {\n setHasMoreCases(false);\n }\n\n\n setIsLoading(false);\n } catch (e) {\n setIsLoading(false);\n setIsCaseSearchError(true);\n }\n };\n const backButtonHandler = () => {\n history.push(\"/customer360View\");\n };\n\n\n const getStatusClassName = (status) => {\n if (status === \"Resolved\") {\n return \"status-green\";\n } else if (status === \"Cancelled\") {\n return \"status-red\";\n } else {\n return \"status-yellow\";\n }\n };\n\n\n const displayCaseList = useCallback(\n (caseListData) => {\n return caseListData.cases.map((el: any) => (\n <>\n caseDetailsHandler(el)} onKeyDown={() => caseDetailsHandler(el)}>\n \n {isNullOrUndefined(el.caseReferenceNumber)\n ? \" \"\n : el.caseReferenceNumber}\n \n \n {el.caseTypeDescription}\n \n \n {mappedOwnerName.get(el.assignee?.trim())}\n {isNullOrUndefined(el.assignee?.trim()) ? \"-\" : ownerName?.trim()}\n \n \n {isNullOrUndefined(el.createdDate)\n ? \"-\"\n : formatDate(el.createdDate)}\n \n \n {el.status}\n \n \n \n ));\n },\n [caseDescriptionTxt, activeCase]\n );\n\n const displayCaseListMobView = useCallback(\n (caseListData) => {\n return caseListData.cases.map((el: any, key: any) => (\n
    \n
    \n
    \n
    \n {isNullOrUndefined(el.caseReferenceNumber) ? \" \" : el.caseReferenceNumber}\n
    \n
    \n
    \n {el.status}\n
    \n
    \n
    \n
    {t(\"Case_Request_Type\")}
    \n

    {el.caseTypeDescription}

    \n\n
    {t(\"Case_created_date\")}
    \n

    {isNullOrUndefined(el.createdDate)\n ? \"-\"\n : formatDate(el.createdDate)}\n

    \n
    {t(\"Case_Owner\")}
    \n

    {mappedOwnerName.get(el.assignee)}\n {isNullOrUndefined(el.assignee) ? \"-\" : ownerName}\n

    \n
    \n \n
    \n\n ));\n },\n [caseDescriptionTxt, activeCase]\n );\n\n const handleChange = (s: string): void => {\n const re = /^(?!-)(?!.*--)[\\s A-Za-z0-9 .,_@+!()?'=&-]*$/;\n // if value is not blank, then test the regex\n if (s === \"\" || re.test(s)) {\n setsearchTerm(s);\n } else {\n setsearchTerm(s);\n }\n };\n\n const getCaseDescriptionDetails = (caseReferenceNumber: string, caseDescription: string) => {\n let caseDesItems = [\"\"];\n if (caseReferenceNumber != undefined) {\n let caseDesCollection = caseDescription;\n if (caseDesCollection != undefined && caseDesCollection != null) {\n caseDesItems = caseDesCollection\n .split(/\\r?\\n/)\n .filter((element) => element);\n }\n }\n return caseDesItems;\n }\n\n const viewCaseDetail = (caseReferenceNumber: string, caseDescription: string) => {\n let caseDescriptionDetails = [\"\"];\n if (activeCase.includes(caseReferenceNumber)) {\n caseDescriptionDetails = getCaseDescriptionDetails(caseReferenceNumber, caseDescription);\n }\n return caseDescriptionDetails\n }\n\n\n return (\n <>\n \n
    \n {!isLoading ? (\n
    \n

    {t(\"Case_Search_Requests_CC020a\")}

    \n
    \n {Area ? (\n
    \n \n {associtaedAssetList.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n ) : (\n !isCaseSearchError ? \n {associtaedAssetList.map((e, key) => {\n return (\n
    \n {e.value}\n
    \n );\n })}\n
    :
    \n )}\n {!isCaseSearchError &&
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n
    \n \n {staticSortableFields.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n
    \n \n {t(\"Filter\")}\n \"Filter\"\n \n
    \n
    \n \n {t(\"Clear_filters\")}\n \n
    \n
    }\n {/* < -- case details start web view --> */}\n
    \n {isCaseSearchError ? (\n
    \n \n {t('case_Search_Alert_Message')}\n \n {t('phone_no')}\n \n

    \n

    \n {\n \n {t('Return_to_Home')}\n \n }\n
    \n
    \n ):!caseListData?.cases?.length ? (\n
    \n {t(\"Case_CC021_no_results\")}\n
    \n ) : (\n\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n {\n displayCaseList(caseListData)\n }\n \n
    {t(\"Case_Ref_No\")}{t(\"Case_Request_Type\")}{t(\"Case_Owner\")}{t(\"Case_created_date\")}{t(\"historic_repairs_status\")}
    \n
    \n
    \n\n )}\n
    \n\n {/* < -- Side Filter view --> */}\n \n
    \n \n

    \n {t(\"Filter\")}\n \n \"Close\"\n \n

    \n
    \n \n
    {t(\"historic_repairs_status\")}
    \n
    \n \n {casestatusSelectOptions.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n\n
    \n \n Search\n \n
    \n
    \n
    \n
    \n\n {/* < -- Pagination view --> */}\n {!isCaseSearchError && \n \n }\n
    \n
    \n ) : (\n
    \n
    \n \n
    \n
    \n )}\n \n
    \n \n \n loading}\n scrollableTarget=\"scrollableDiv\"\n >\n
    \n {!isLoading ? (\n
    \n

    \n \n {t(\"Back\")}\n \n

    \n\n

    {t(\"Case_Search_Requests_CC020a\")}

    \n\n
    \n {!isCaseSearchError &&
    \n {Area ? (\n \n {associtaedAssetList.map((e, key) => {\n return (\n \n );\n })}\n \n ) : (\n \n {associtaedAssetList.map((e, key) => {\n return (\n
    \n {e.value}\n
    \n );\n })}\n
    \n )}\n
    }\n\n {/* ====== ==== */}\n {/* ======= search input ======= */}\n {!isCaseSearchError &&
    \n
    \n
    \n \n
    \n
    \n\n {/* ======= Sort by dropdown ========= */}\n\n
    \n \n {staticSortableFields.map((e, key) => {\n return (\n \n );\n })}\n \n\n {/* ======= Filter & Reset view ======= */}\n \n \"Filter\"\n \n
    \n
    }\n\n {/* < -- case details start mobile view --> */}\n\n {isCaseSearchError ? (\n
    \n \n {t('case_Search_Alert_Message')}\n {\n \n {t('phone_no')}\n \n }\n

    \n

    \n {\n \n {t('Return_to_Home')}\n \n }\n
    \n
    \n ):!caseListData?.cases?.length ? (\n
    \n {t(\"Case_CC021_no_results\")}\n
    \n ) : (\n displayCaseListMobView(caseListData)\n )}\n\n {/* < -- Side Filter view --> */}\n\n \n
    \n \n

    \n {t(\"Filter\")}\n \n \"Close\"\n \n

    \n
    \n \n
    {t(\"historic_repairs_status\")}
    \n
    \n \n {casestatusSelectOptions.map((e, key) => {\n return (\n \n );\n })}\n \n
    \n\n
    \n \n Search\n \n
    \n
    \n
    \n
    \n
    \n
    \n ) : (\n
    \n
    \n \n
    \n
    \n )}\n \n \n \n
    \n \n );\n};\n\nexport default CaseSearch;\n","import React, { useEffect, useCallback, useState, lazy, Suspense } from \"react\";\nimport {\n RadioGroup,\n FormControlLabel,\n Radio,\n} from \"@material-ui/core\";\nimport { useTranslation } from \"react-i18next\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport BackModal from \"../../Modal/BackModal\";\nimport {\n CASE_COUNTER,\n CASE_CREATION_QUESTIONS,\n CASE_EDIT,\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n} from \"../../../ducks/redux/actionTypes\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport {\n VANDALISM_CASE_QUESTION,\n REFERENCE_CASE_QUESTION_1,\n REFERENCE_CASE_QUESTION_2,\n TENANCY_AGREEMENT_CASE_QUESTION,\n HOUSEHOLD_OR_SUBLETTING_MEMBER,\n LEASEHOLD_OWNERSHIP_RADIO,\n COVID_CASE_QUESTION,\n} from \"./Question\";\nimport HeaderJourney from \"../../../storybook/Header/HeaderJourney\";\nimport Message from \"../../../storybook/Message\";\n\nconst Loader = lazy(() => import(\"react-loader-spinner\"));\nconst Button = lazy(() => import(\"../../../storybook/Button\"));\nconst ExitModal = lazy(() => import(\"../../Modal/ExitModal\"));\n\ninterface radioProps extends RouteComponentProps { }\n\nconst RadioTypeQuestion: React.FC = (props) => {\n const { t } = useTranslation();\n const history = useHistory();\n let errorCode = \"\";\n const dispatch = useDispatch();\n\n const [blockingIsVisible, setBlockingIsVisible] = useState(false);\n const [radioValue, setRadioValue] = useState(\"\");\n const [showError, setShowError] = useState(\"\");\n const [blockingAlert, setBlockingAlert] = useState(\"\");\n const blockingArray: any[] = [];\n const [vandalism, setVandalism] = useState(\"false\");\n let reportVandalism: any;\n let referenceCase: any;\n const [reference, setReference] = useState(0);\n let tenancyAgreement: any;\n let householdMemberOrSublettingCase: any;\n let leasehold: any;\n const [tenancyAgree, setTenancyAgree] = useState(false);\n const [sublettingCase, setSublettingCase] = useState(false);\n const [leaseholdOwnership, setLeaseholdOwnership] = useState(\"\");\n\n const [isDisabled, setButtonDisabled] = useState(false);\n\n const fetchAnswer = useSelector(\n (state: any) => state.caseCreationReducer?.caseSelectedAnswers\n );\n\n const fetchQuestion = useSelector(\n (state: any) => state.caseCreationReducer?.caseSelectedQuestions\n );\n\n const [questionArray, setQuestionArray] = useState(\n fetchQuestion?.length > 0 ? fetchQuestion : []\n );\n\n const [ansArray, setAnsArray] = useState(\n fetchAnswer?.length > 0 ? fetchAnswer : [undefined]\n );\n\n let count = useSelector(\n (state: any) => state.caseCreationReducer?.counter || 0\n );\n\n const descData = useSelector(\n (state: any) => state.caseCreationReducer?.caseCreationDescription\n );\n\n const questionInfoData = useSelector(\n (state: any) => state.caseCreationReducer?.caseCreationAdditionalInfo\n );\n\n if (questionInfoData && questionInfoData[count]?.blocking !== null) {\n blockingArray.push(questionInfoData[count]?.blocking);\n errorCode = questionInfoData[count]?.blocking?.errorCode;\n }\n\n // === Validating vandalism ===\n\n if (\n questionInfoData &&\n questionInfoData[count]?.label === VANDALISM_CASE_QUESTION\n ) {\n reportVandalism = \"false\";\n }\n\n //=== Validating reference ===\n\n if (\n questionInfoData &&\n questionInfoData[count]?.label === REFERENCE_CASE_QUESTION_1\n ) {\n referenceCase = \"1\";\n } else if (\n questionInfoData &&\n questionInfoData[count]?.label === REFERENCE_CASE_QUESTION_2\n ) {\n referenceCase = \"2\";\n }\n\n // Validating tenancy agreement question\n\n if (\n questionInfoData &&\n questionInfoData[count]?.label === TENANCY_AGREEMENT_CASE_QUESTION\n ) {\n tenancyAgreement = \"1\";\n }\n\n if (\n questionInfoData &&\n questionInfoData[count]?.label === HOUSEHOLD_OR_SUBLETTING_MEMBER\n ) {\n householdMemberOrSublettingCase = \"1\";\n }\n\n // Leasehold and ownership member\n\n if (\n questionInfoData &&\n questionInfoData[count]?.label === LEASEHOLD_OWNERSHIP_RADIO\n ) {\n leasehold = \"1\";\n }\n\n const assignedSelectedAnswersValue = useCallback(() => {\n fetchAnswer?.map((data: any, index: number) => {\n if (count == index) {\n questionInfoData[index]?.options?.map((opt: any, id: number) => {\n if (opt.id === fetchAnswer[index]) {\n setRadioValue(opt.value);\n }\n });\n }\n });\n }, [count]);\n\n const assignedCounterComesFromEdit = () => {\n if (referenceCase === \"1\" && ansArray[count] === \"1\") {\n setReference(1);\n } else if (referenceCase === \"1\" && ansArray[count] === \"2\") {\n setReference(2);\n } else if (referenceCase === \"2\" && ansArray[count] === \"1\") {\n setReference(3);\n } else if (referenceCase === \"2\" && ansArray[count] === \"2\") {\n setReference(4);\n }\n };\n\n const assignVandalismComesFromEdit = () => {\n if (reportVandalism === \"false\" && ansArray[count] === \"2\") {\n setVandalism(\"true\");\n } else if (reportVandalism === \"false\" && ansArray[count] === \"1\") {\n setVandalism(\"false\");\n }\n };\n\n const assignSublettingCaseComesFromEdit = () => {\n if (householdMemberOrSublettingCase === \"1\" && ansArray[count] === \"1\") {\n setSublettingCase(true);\n } else {\n setSublettingCase(false);\n }\n };\n\n const assignLeaseholdOwnership = () => {\n if (leasehold === \"1\" && ansArray[count] === \"1\") {\n setLeaseholdOwnership(\"1\");\n } else if (leasehold === \"1\" && ansArray[count] === \"2\") {\n setLeaseholdOwnership(\"2\");\n }\n };\n useEffect(() => {\n setQuestionArray([\n ...questionArray,\n questionInfoData && questionInfoData[count]?.label,\n ]);\n // Saving same question if user is editing the page\n let newQArr = [...questionArray];\n newQArr[count] = questionInfoData && questionInfoData[count]?.label;\n setQuestionArray(newQArr);\n assignedSelectedAnswersValue();\n assignedCounterComesFromEdit();\n assignSublettingCaseComesFromEdit();\n assignVandalismComesFromEdit();\n assignLeaseholdOwnership();\n }, [count]);\n\n const handleRadioChange = (e: any) => {\n setButtonDisabled(false);\n setRadioValue(e.target.value);\n setShowError(\"\");\n\n if (e.target.value !== ansArray[count]) {\n //Removing further answers ans questions\n fetchQuestion.splice(count, fetchQuestion.length);\n fetchAnswer.splice(count, fetchAnswer.length);\n dispatch({ type: CASE_EDIT, payload: true });\n }\n setRadioValue(e.target.value);\n setAnsArray([...ansArray, e.target.name]);\n setShowError(\"\");\n // ==== If user is changing the answer for the same question, need to get index and replace the value ===\n let newArr = [...ansArray]; // copying the old datas array\n newArr[count] = e.target.name; // replace e.target.value with new value\n setAnsArray(newArr);\n\n // ==== Validate not to display next question, if user select dependent options ====\n\n if (reportVandalism === \"false\" && e.target.name === \"2\") {\n setVandalism(\"true\");\n } else if (reportVandalism === \"false\" && e.target.name === \"1\") {\n setVandalism(\"false\");\n }\n\n // === Validating reference case condition here ===\n\n if (referenceCase === \"1\" && e.target.name === \"1\") {\n setReference(1);\n } else if (referenceCase === \"1\" && e.target.name === \"2\") {\n setReference(2);\n } else if (referenceCase === \"2\" && e.target.name === \"1\") {\n setReference(3);\n } else if (referenceCase === \"2\" && e.target.name === \"2\") {\n setReference(4);\n }\n\n // Validating tenancy agreement\n\n if (tenancyAgreement === \"1\" && e.target.name === \"2\") {\n setTenancyAgree(true);\n }\n\n // Validating Subletting house member\n\n if (householdMemberOrSublettingCase === \"1\" && e.target.name === \"1\") {\n setSublettingCase(true);\n } else {\n setSublettingCase(false);\n }\n\n // Validating leasehold question\n\n if (leasehold === \"1\" && e.target.name === \"1\") {\n setLeaseholdOwnership(\"1\");\n } else if (leasehold === \"1\" && e.target.name === \"2\") {\n setLeaseholdOwnership(\"2\");\n }\n\n if (blockingArray.length > 0) {\n if (blockingArray[0].dependsOn[0].responseId === e.target.name) {\n setBlockingAlert(t(errorCode));\n setBlockingIsVisible(false);\n } else {\n setBlockingAlert(\"\");\n }\n }\n };\n\n const onContinueHandler = () => {\n if (\n questionInfoData &&\n questionInfoData[count]?.label === COVID_CASE_QUESTION &&\n radioValue === \"\"\n ) {\n setShowError(t(\"Case_Covid_CC007\"));\n setButtonDisabled(true);\n } else {\n setButtonDisabled(false);\n // Validating question count according to user selection\n if (\n vandalism === \"true\" ||\n reference === 2 ||\n reference === 3 ||\n tenancyAgree === true ||\n leaseholdOwnership === \"1\"\n ) {\n count = count + 2;\n } else if (reference === 4) {\n count = count + 3;\n } else if (\n sublettingCase === false &&\n householdMemberOrSublettingCase === \"1\"\n ) {\n count = questionInfoData.length;\n } else if (leaseholdOwnership === \"2\") {\n count = questionInfoData.length;\n } else {\n count = count + 1;\n }\n\n if (!blockingAlert) {\n if (radioValue === \"\") {\n setShowError(t(\"Case_Question_Error\"));\n } else {\n dispatch({\n type: CASE_COUNTER,\n payload: count,\n });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: ansArray });\n dispatch({ type: CASE_CREATION_QUESTIONS, payload: questionArray });\n setRadioValue(\"\");\n history.push(\"/caseQuestionnaire\");\n }\n } else {\n setBlockingIsVisible(true);\n }\n }\n };\n\n const backButtonHandler = () => {\n if (count >= 1) {\n if (leasehold === \"1\") {\n count = count - 2;\n } else if (householdMemberOrSublettingCase === \"1\") {\n count = count - 4;\n } else {\n count = count - 1;\n }\n dispatch({\n type: CASE_COUNTER,\n payload: count,\n });\n history.push(\"/caseQuestionnaire\");\n } else {\n history.push(\"/caseType\");\n }\n };\n\n const exitButtonHandler = () => {\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: [] });\n history.push(\"/customer360View\");\n };\n\n return (\n <>\n \n
    \n \n }\n >\n {!COVID_CASE_QUESTION && (\n
    \n \n {descData}\n \n
    \n )}\n\n
    \n {COVID_CASE_QUESTION ? (\n <>\n \n {t(questionInfoData && questionInfoData[count]?.label)}\n \n {showError && (\n
    \n \n {t(showError)}\n \n
    \n )}\n \n ) : (\n

    \n {t(questionInfoData && questionInfoData[count]?.label)}\n

    \n )}\n \n {questionInfoData &&\n questionInfoData[count]?.options?.map((e: any) => {\n return (\n \n }\n label={e.value}\n />\n );\n })}\n \n
    \n {/* ==== Blocking alert ===== */}\n\n {blockingAlert && (\n \n

    \n {t(blockingAlert)}\n

    \n
    \n )}\n {/* ==== End blocking alert ==== */}\n\n
    \n
    \n
    \n \n \n
    \n
    \n \n {t(\"continue_button\")}\n \n
    \n
    \n
    \n
    \n
    \n \n \n \n );\n};\n\nexport default RadioTypeQuestion;\n","import React, { useCallback, useEffect, useState, Suspense, lazy } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n CASE_COUNTER,\n CASE_EDIT,\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n CASE_CREATION_QUESTIONS,\n} from \"../../../ducks/redux/actionTypes\";\n\nimport { RouteComponentProps } from \"react-router-dom\";\nimport BackModal from \"../../Modal/BackModal\";\nimport {\n HOUSEHOLD_OR_SUBLETTING_GUEST,\n HOUSEHOLD_OR_SUBLETTING_LETTING,\n HOUSEHOLD_OR_SUBLETTING_LOADGER,\n REFERENCE_CASE_QUESTION_3,\n REFERENCE_CASE_QUESTION_4,\n LEASEHOLD_OWNERSHIP_TEXT1,\n LEASEHOLD_OWNERSHIP_TEXT2,\n} from \"./Question\";\n\nimport HeaderJourney from \"../../../storybook/Header/HeaderJourney\";\nimport Message from \"../../../storybook/Message\";\n\nconst Loader = lazy(() => import(\"react-loader-spinner\"));\nconst Button = lazy(() => import(\"../../../storybook/Button\"));\nconst ExitModal = lazy(() => import(\"../../Modal/ExitModal\"));\n\ninterface TextTypeProps extends RouteComponentProps { }\n\nconst TextTypeQuestion: React.FC = (props) => {\n const { t } = useTranslation();\n const history = useHistory();\n let referenceCase: any = \"0\";\n let leasehold: any;\n const format = /^(?!.*--)[^><&*!]*$/;\n \n const dispatch = useDispatch();\n\n const [textValue, setTextValue] = useState(\"\");\n const [showError, setShowError] = useState(\"\");\n\n const [isLoading, setIsLoading] = useState(false);\n const [showStaticAlert, setShowStaticAlert] = useState(\"\");\n let householdMemberOrSublettingCase: any;\n\n const fetchQuestion = useSelector(\n (state: any) => state.caseCreationReducer?.caseSelectedQuestions\n );\n\n const [questionArray, setQuestionArray] = useState(\n fetchQuestion?.length > 0 ? fetchQuestion : []\n );\n\n const fetchAnswer = useSelector(\n (state: any) => state.caseCreationReducer?.caseSelectedAnswers\n );\n\n const [ansArray, setAnsArray] = useState(\n fetchAnswer?.length > 0 ? fetchAnswer : [undefined]\n );\n\n let count = useSelector(\n (state: any) => state.caseCreationReducer?.counter || 0\n );\n\n const descData = useSelector(\n (state: any) => state.caseCreationReducer?.caseCreationDescription\n );\n\n const caseTypeId = useSelector(\n (state: any) => state.caseCreationReducer?.caseCreationId\n );\n\n const questionInfoData = useSelector(\n (state: any) => state.caseCreationReducer?.caseCreationAdditionalInfo\n );\n\n if (\n questionInfoData &&\n questionInfoData[count]?.label === REFERENCE_CASE_QUESTION_3\n ) {\n referenceCase = \"1\";\n } else if (\n questionInfoData &&\n questionInfoData[count]?.label === REFERENCE_CASE_QUESTION_4 &&\n caseTypeId === \"14\"\n ) {\n referenceCase = \"2\";\n }\n\n if (\n questionInfoData &&\n questionInfoData[count]?.label === HOUSEHOLD_OR_SUBLETTING_GUEST\n ) {\n householdMemberOrSublettingCase = \"1\";\n } else if (\n questionInfoData &&\n questionInfoData[count]?.label === HOUSEHOLD_OR_SUBLETTING_LOADGER\n ) {\n householdMemberOrSublettingCase = \"2\";\n } else if (\n questionInfoData &&\n questionInfoData[count]?.label === HOUSEHOLD_OR_SUBLETTING_LETTING\n ) {\n householdMemberOrSublettingCase = \"3\";\n }\n\n // Validating leasehold ownership\n if (\n questionInfoData &&\n questionInfoData[count]?.label === REFERENCE_CASE_QUESTION_4 &&\n caseTypeId === \"16\"\n ) {\n leasehold = \"1\";\n } else if (\n questionInfoData &&\n questionInfoData[count]?.label === LEASEHOLD_OWNERSHIP_TEXT1\n ) {\n leasehold = \"2\";\n }\n\n const assignedSelectedAnswersValue = () => {\n fetchAnswer?.map((data: any, index: number) => {\n if (count == index) {\n setTextValue(fetchAnswer[index]);\n }\n });\n };\n\n useEffect(() => {\n setQuestionArray([\n ...questionArray,\n questionInfoData && questionInfoData[count]?.label,\n ]);\n // Saving same question if user is editing the page\n let newQArr = [...questionArray];\n newQArr[count] = questionInfoData && questionInfoData[count]?.label;\n setQuestionArray(newQArr);\n assignedSelectedAnswersValue();\n }, [count]);\n\n const backButtonHandler = () => {\n if (count >= 1) {\n if (\n referenceCase === \"1\" ||\n referenceCase === \"2\" ||\n householdMemberOrSublettingCase === \"2\" ||\n leasehold === \"1\"\n ) {\n count = count - 2;\n } else if (householdMemberOrSublettingCase === \"3\") {\n count = count - 3;\n } else {\n count = count - 1;\n }\n dispatch({\n type: CASE_COUNTER,\n payload: count,\n });\n\n history.push(\"/caseQuestionnaire\");\n } else {\n history.push(\"/caseType\");\n }\n };\n\n const onContinueHandler = () => {\n setShowStaticAlert(\"\");\n\n if (textValue === \"\") {\n setShowError(t(\"Case_Question_Error\"));\n } else {\n if (referenceCase === \"1\") {\n count = count + 2;\n } else if (\n householdMemberOrSublettingCase === \"1\" ||\n householdMemberOrSublettingCase === \"2\" ||\n householdMemberOrSublettingCase === \"3\" ||\n leasehold === \"2\"\n ) {\n count = questionInfoData.length;\n } else {\n count = count + 1;\n }\n dispatch({\n type: CASE_COUNTER,\n payload: count,\n });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: ansArray });\n dispatch({ type: CASE_CREATION_QUESTIONS, payload: questionArray });\n\n setTextValue(\"\");\n history.push(\"/caseQuestionnaire\");\n }\n };\n\n const exitButtonHandler = () => {\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: [] });\n history.push(\"/customer360View\");\n };\n\n useEffect(() => {\n if (\n questionInfoData &&\n questionInfoData[count]?.alertMessageCode !== null\n ) {\n setShowStaticAlert(questionInfoData[count]?.alertMessageCode?.code);\n }\n }, [questionInfoData]);\n\n const blurInputHandler = (e: any) => {\n let txtInput = e.target.value.replace(/\\n/g, \" \");\n if (txtInput !== ansArray[count]) {\n //Removing further answers ans questions\n fetchQuestion && fetchQuestion.splice(count, fetchQuestion.length);\n fetchAnswer && fetchAnswer.splice(count, fetchAnswer.length);\n dispatch({ type: CASE_EDIT, payload: true });\n }\n setTextValue(txtInput);\n setAnsArray([...ansArray, txtInput]);\n // ==== If user is changing the answer for the same question, need to get index and replace the value ===\n let newArr = [...ansArray];\n newArr[count] = txtInput;\n setAnsArray(newArr);\n };\n\n const onChange = (e: any) => {\n if (format.test(e.target.value)) {\n setShowError(\"\");\n setTextValue(e.target.value);\n } else {\n setShowError( t(\"Case_Input_Error\"));\n }\n }\n\n return (\n <>\n \n
    \n }\n >\n
    \n \n {descData}\n \n {showError && (\n
    \n \n {t(showError)}\n \n
    \n )}\n
    \n\n \n
    \n {t(questionInfoData && questionInfoData[count]?.label)}\n
    \n\n
    \n \n
    \n
    \n\n {/* ==== Display purple alert warning === */}\n {showStaticAlert && (\n \n {t(showStaticAlert)}\n \n )}\n {/* === Close purple warning === */}\n\n \n
    \n
    \n \n \n
    \n
    \n \n \n {t(\"continue_button\")}\n \n
    \n
    \n \n \n \n \n );\n};\n\nexport default TextTypeQuestion;\n","import React, { useCallback, useEffect, useState, Suspense, lazy } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n CASE_COUNTER,\n CASE_EDIT,\n CASE_SELECTED_ANSWERS,\n CLEAR_CASE_STATE,\n CASE_CREATION_QUESTIONS,\n} from \"../../../ducks/redux/actionTypes\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport BackModal from \"../../Modal/BackModal\";\nimport {\n HOUSEHOLD_OR_SUBLETTING_TITLE,\n LEASEHOLD_OWNERSHIP,\n RENT_CARD,\n} from \"./Question\";\nimport { Container } from \"@material-ui/core\";\nimport HeaderJourney from \"../../../storybook/Header/HeaderJourney\";\nimport Message from \"../../../storybook/Message\";\n \nconst Loader = lazy(() => import(\"react-loader-spinner\"));\nconst Button = lazy(() => import(\"../../../storybook/Button\"));\nconst ExitModal = lazy(() => import(\"../../Modal/ExitModal\"));\n \ninterface DropdownProps extends RouteComponentProps {}\n \nconst DropdownQuestion: React.FC = (props) => {\n const { t } = useTranslation();\n const history = useHistory();\n const dispatch = useDispatch();\n let errorCode = \"\";\n const [optionKeyValue, setOptionKeyValue] = useState(\"\");\n const [showError, setShowError] = useState(\"\");\n let householdMemberOrSubletting: any;\n let rentCard: any;\n let leasehold: any;\n let tenancyType: string;\n \n enum DependsOnAttributes {\n TenancyType = \"TenancyType\"\n }\n \n const [isLoading, setIsLoading] = useState(false);\n const [blockingIsVisible, setBlockingIsVisible] = useState(false);\n const [blockingAlert, setBlockingAlert] = useState(\"\");\n const blockingArray: any[] = [];\n const [disabled, setdisabled] = useState(false);\n const [sublettingSelection, setSublettingSelection] = useState(0);\n const [rent, setRent] = useState(false);\n const [leaseholdOwnership, setLeaseholdOwnership] = useState(\"\");\n \n const fetchQuestion = useSelector(\n (state: any) => state.caseCreationReducer?.caseSelectedQuestions\n );\n \n const [questionArray, setQuestionArray] = useState(\n fetchQuestion?.length > 0 ? fetchQuestion : []\n );\n \n const fetchAnswer = useSelector(\n (state: any) => state.caseCreationReducer?.caseSelectedAnswers\n );\n \n const [ansArray, setAnsArray] = useState(\n fetchAnswer?.length > 0 ? fetchAnswer : [undefined]\n );\n \n const descData = useSelector(\n (state: any) => state.caseCreationReducer?.caseCreationDescription\n );\n \n const questionInfoData = useSelector(\n (state: any) => state.caseCreationReducer?.caseCreationAdditionalInfo\n );\n \n let count = useSelector(\n (state: any) => state.caseCreationReducer?.counter || 0\n );\n \n \n const selectedTenancy = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyId\n );\n \n const userTenancy =\n useSelector((state: any) => state?.addresses?.customertenancies) || [];\n \n userTenancy.map((data: any, index: number) => {\n if (data?.tenancySummary?.premisesIds[0] === selectedTenancy) {\n tenancyType = data?.tenancySummary.tenancyType;\n }\n });\n \n \n if (\n questionInfoData &&\n questionInfoData[count]?.label === HOUSEHOLD_OR_SUBLETTING_TITLE\n ) {\n householdMemberOrSubletting = \"1\";\n }\n \n if (questionInfoData && questionInfoData[count]?.label === RENT_CARD) {\n rentCard = \"1\";\n }\n \n if (\n questionInfoData &&\n questionInfoData[count]?.label === LEASEHOLD_OWNERSHIP\n ) {\n leasehold = \"1\";\n }\n \n const onContinueHandler = () => {\n // validating count according to use selection\n if (sublettingSelection === 2) {\n count = count + 4;\n } else if (\n sublettingSelection === 3 ||\n rent === true ||\n leaseholdOwnership === \"2\"\n ) {\n count = count + 2;\n } else if (sublettingSelection === 4 || leaseholdOwnership === \"3\") {\n count = count + 3;\n } else {\n count = count + 1;\n }\n if (!blockingAlert) {\n if (optionKeyValue === \"\") {\n setShowError(t(\"Case_Question_Error\"));\n } else {\n dispatch({ type: CASE_COUNTER, payload: count });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: ansArray });\n dispatch({ type: CASE_CREATION_QUESTIONS, payload: questionArray });\n \n setOptionKeyValue(\"\");\n history.push(\"/caseQuestionnaire\");\n }\n } else {\n setBlockingIsVisible(true);\n }\n };\n \n const exitButtonHandler = () => {\n dispatch({ type: CLEAR_CASE_STATE });\n dispatch({ type: CASE_SELECTED_ANSWERS, payload: [] });\n history.push(\"/customer360View\");\n };\n \n if (questionInfoData && questionInfoData[count]?.blocking !== null) {\n blockingArray.push(questionInfoData[count]?.blocking);\n errorCode = questionInfoData[count]?.blocking?.errorCode;\n }\n \n const assignedSelectedAnswersValue = useCallback(() => {\n fetchAnswer?.map((data: any, index: number) => {\n if (count == index) {\n questionInfoData[index]?.options?.map((listOpt: any, id: number) => {\n if (listOpt.id === fetchAnswer[index]) {\n setOptionKeyValue(listOpt.id);\n setdisabled(true);\n }\n });\n }\n });\n }, [count]);\n \n const assignRentCardComesFromEdit = () => {\n if (rentCard === \"1\" && ansArray[count] === \"1\") {\n setRent(true);\n }\n };\n \n const assignedCounterComesFromEdit = () => {\n if (householdMemberOrSubletting === \"1\" && ansArray[count] === \"1\") {\n setSublettingSelection(1);\n } else if (householdMemberOrSubletting === \"1\" && ansArray[count] === \"2\") {\n setSublettingSelection(2);\n } else if (householdMemberOrSubletting === \"1\" && ansArray[count] === \"3\") {\n setSublettingSelection(3);\n } else if (householdMemberOrSubletting === \"1\" && ansArray[count] === \"4\") {\n setSublettingSelection(4);\n }\n };\n \n const assignLeaseholdOwnership = () => {\n if (\n leasehold === \"1\" &&\n (ansArray[count] === \"1\" || ansArray[count] === \"2\")\n ) {\n setLeaseholdOwnership(\"1\");\n } else if (leasehold === \"1\" && ansArray[count] === \"3\") {\n setLeaseholdOwnership(\"2\");\n } else if (\n leasehold === \"1\" &&\n (ansArray[count] === \"4\" || ansArray[count] === \"5\")\n ) {\n setLeaseholdOwnership(\"3\");\n }\n };\n \n useEffect(() => {\n setQuestionArray([\n ...questionArray,\n questionInfoData && questionInfoData[count]?.label,\n ]);\n // Saving same question if user is editing the page\n let newQArr = [...questionArray];\n newQArr[count] = questionInfoData && questionInfoData[count]?.label;\n setQuestionArray(newQArr);\n assignedSelectedAnswersValue();\n assignedCounterComesFromEdit();\n assignRentCardComesFromEdit();\n assignLeaseholdOwnership();\n \n }, [count]);\n \n const dropDownHandler = (e: any) => {\n setdisabled(true);\n setBlockingIsVisible(false);\n if (e.target.value == \"\") {\n setShowError(t(\"Case_Question_Error\"));\n } else {\n if (e.target.value !== ansArray[count]) {\n //Removing further answers ans questions\n fetchQuestion.splice(count, fetchQuestion.length);\n fetchAnswer.splice(count, fetchAnswer.length);\n dispatch({ type: CASE_EDIT, payload: true });\n }\n setAnsArray([...ansArray, e.target.value]);\n setOptionKeyValue(e.target.value);\n setShowError(t(\"\"));\n \n // ==== If user is changing the answer for the same question, need to get index and replace the value ===\n let newArr = [...ansArray];\n newArr[count] = e.target.value;\n setAnsArray(newArr);\n }\n \n // Validating household and subletting case\n if (householdMemberOrSubletting === \"1\" && e.target.value === \"1\") {\n setSublettingSelection(1);\n } else if (householdMemberOrSubletting === \"1\" && e.target.value === \"2\") {\n setSublettingSelection(2);\n } else if (householdMemberOrSubletting === \"1\" && e.target.value === \"3\") {\n setSublettingSelection(3);\n } else if (householdMemberOrSubletting === \"1\" && e.target.value === \"4\") {\n setSublettingSelection(4);\n }\n \n if (rentCard === \"1\" && e.target.value === \"1\") {\n setRent(true);\n } else {\n setRent(false);\n }\n \n if (\n leasehold === \"1\" &&\n (e.target.value === \"1\" || e.target.value === \"2\")\n ) {\n setLeaseholdOwnership(\"1\");\n } else if (leasehold === \"1\" && e.target.value === \"3\") {\n setLeaseholdOwnership(\"2\");\n } else if (\n leasehold === \"1\" &&\n (e.target.value === \"4\" || e.target.value === \"5\")\n ) {\n setLeaseholdOwnership(\"3\");\n }\n \n if (blockingArray.length > 0) {\n if (blockingArray[0]?.dependsOn[0]?.responseId === e.target.value) {\n setBlockingAlert(t(errorCode));\n setBlockingIsVisible(false);\n } else {\n setBlockingAlert(\"\");\n }\n }\n };\n \n const backButtonHandler = () => {\n if (count >= 1) {\n dispatch({ type: CASE_COUNTER, payload: count - 1 });\n history.push(\"/caseQuestionnaire\");\n } else {\n history.push(\"/caseType\");\n }\n };\n \n return (\n <>\n \n
    \n \n }\n >\n {isLoading ? (\n \n ) : (\n <>\n
    \n \n {descData}\n \n {/* ==== Showing error ==== */}\n {showError && (\n
    \n \n {t(showError)}\n \n
    \n )}\n {/* === End error ==== */}\n
    \n
    \n
    \n {t(questionInfoData && questionInfoData[count]?.label)}\n
    \n \n \n \n Select\n \n {questionInfoData &&\n questionInfoData[count]?.options?.map((option: any) => {\n if (option?.dependsOnAttributes?.length > 0) {\n return option?.dependsOnAttributes?.map((dependsOnAttr: any) => {\n if (dependsOnAttr.key === DependsOnAttributes.TenancyType) {\n if (dependsOnAttr.value === tenancyType) {\n return (\n \n {option.value}\n \n );\n }\n }\n });\n } else {\n return (\n \n {option.value}\n \n );\n }\n })}\n \n
    \n \n {/* ==== Display purple alert warning === */}\n \n {/* ==== Blocking alert ===== */}\n \n {blockingAlert && (\n \n {blockingAlert}\n
    \n )}\n {/* ==== End blocking alert ==== */}\n \n \n
    \n
    \n \n \n
    \n
    \n \n {t(\"continue_button\")}\n \n
    \n
    \n \n \n )}\n \n \n \n );\n};\n \nexport default DropdownQuestion;\n","import { RouteComponentProps } from \"react-router-dom\";\nimport React from \"react\";\nimport * as ReactBootstrap from \"react-bootstrap\";\nimport { TableCell, TableBody, TableRow } from \"@material-ui/core\";\nimport { imgData } from \"./StaticIconName\";\nimport cancel from \"../../assets/img/cancel.png\";\n\ninterface UploadMediaRowProps extends RouteComponentProps {\n mediaFileName: string;\n bgColour: string;\n type: string;\n deleteMediaFile: () => void;\n}\n\nconst UploadMediaRow: React.FC = (props) => {\n const mediaType = props?.type?.split(\"/\");\n\n if (mediaType && mediaType[1] === \"quicktime\") {\n mediaType[1] = \"mov\";\n }\n\n if (mediaType && mediaType[1] === \"x-matroska\") {\n mediaType[1] = \"mkv\";\n }\n\n return (\n <>\n \n \n \n \n {imgData.map((item: any, index: number) => {\n if (\n (mediaType && mediaType[1] === item.id) ||\n (mediaType && mediaType[1] === item.id.toUpperCase())\n ) {\n return (\n
    \n \n \n \n

    \n {props.mediaFileName}\n

    \n
    \n );\n }\n })}\n
    \n\n \n \n \"Remove\"\n \n \n
    \n
    \n
    \n \n );\n};\n\nexport default UploadMediaRow;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOYSURBVHgB7Vc9chNLEO7ekV+9V8b2vkxGa3t0AnwDREaGOQH2CcAnwM7IzA0sTgCcAJFBhMnIWGwJOVwjUUVhzTTdkmZ3tX+SXGTwVblqdtwz/U3/C+BPB8INoOtaj2CkCVBbhEgRRcMftbMoCiNYEgsTqLPSFWUfW8I9RNAll4UWqGOMd3x5GYaL3DuXgO9rf3XVniDgPiwBAmovQqSSQFAPWqDUS+GR2mYz0wsCLwQwU5Mr/r/dBcK7aeuIRUbWHvb7F6+WJrDd0I/YnO3UVgcQj7vdsANVpAPdIkunaSIeW++8F75YmMDm5tae8ryXiRSx4vMjWAJM5AiIniZ3mHvdbrczl8Ak2OgNweQFHOmHvV74HG6ARkM/QaCT6Wc0/I7NbKao7KGNjXU+gK0JPTru9b48c8TW1tZaw+G3T1ABcd1/q/7VcBhFg0H0bn3jf3mk3Pfvyj9UHwyuXqflZywgSmqKPsuaCMLe1y9Nt++sUuVPFzcSfNcG77kMCBo7b6YkYGSwmc4ML32BUjb2GXrmINmHlnOJKBBFZcrH5FmWg3A3eSYeu2VN2Sfpc97sx8T08vp0wHAMtDkWYkJZEtmMQQ8P+v0wTr1p5ox9z/XkQSEBrbXvXsm+70AGZSSKlF9chG3IgcZuEx3NzeZOjsDoR8pkFj5CAYpILKZcFEnhmuBaXTeTfXd4xSTVzqPSppIlsYhygYmrprgYdY6AtTPlthJqbMkMAZvfK4O1KsoRQKPCRAJLyRSU6MmRkuxwUON+MV2rUZ7AiHM3JuMVt9uigKvKjjQM2DtuPRzWznIEpDhI+k2vfrSIcvH5vBRNFCUpni7HM3UAkVyZ9IMgaLl9aU5V0T6PRFDXrbIUnyHAPb6dfKi4KhKpM2edsmhPkxDZnwbexoQVnbq1DClQhUZju821m8Z/t7djEtIPtrb0PswBy+yJrPsObuun7j6++zQrX9iOuSF9gOkUxMPFYa9/fqN2vB1oniFpfFasYmzSoBxy7VjaKLfQ97zcHzNEvL++tgHfBldvYQnIy3kufOa+eZg9YOXvsnKlIxkPE/s8TJymBEMy5qB7mZ9qZhRP5khxXSs+W1ElK4dS8ac1dJIdNGX05uVHMNOSrdDnaN6hyeQ8O8AiPqyaI+eO5RITPCccYUFtqMJvGcuLiGRH7xmlHGhSSySdOS3PFrn3Rj/N5MfKrVuwy0R8a42PqMJaDUIB/MWS+AWjBele233dUQAAAABJRU5ErkJggg==\"","import React, { useState, useEffect } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { WorksOrderRequest } from \"../../models/WorksOrders/WorksOrderRequest\";\nimport * as api from \"../../api\";\nimport {\n clearMediaFiles,\n deleteMediaItem,\n resumeDraftRepair,\n userChosenDeletedMedia,\n userChosenUploadedMedia,\n userChosenVulnerabilityAdditionalInformation,\n userChosenVulnerabilityQuestion,\n userChosenCovidQuestion,\n userChosenVandalismAdditionalInformation,\n userChosenVandalismQuestion,\n userChosenContactDetails,\n userChosenContactPhone,\n userChosenContactName,\n hasMediaAttached,\n isEditState,\n userChosenRelationDetails,\n fromMediaUpload,\n isMediaResume,\n showFooter\n} from \"../../ducks/redux/actions/userChoices\";\nimport Button from \"../../storybook/Button\";\nimport UploadMediaRow from \"./UploadMediaRow\";\nimport BackModal from \"../Modal/BackModal\";\nimport ExitModalAndSave from \"../Modal/ExitModalAndSave\";\nimport classes from \"./styles.module.scss\";\nimport styles from \"./spinner.module.scss\";\nimport \"../../compositions/UploadMedia/index.scss\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { storeMediaFilesId } from \"../../ducks/redux/actions/userChoices\";\nimport { validateMediaSize } from \"./mediaConfigure\";\nimport Compress from \"browser-image-compression\";\nimport HeaderJourney from \"../../storybook/Header/HeaderJourney\";\nimport Message from \"../../storybook/Message\";\n\nconst allowedExtensions = process.env.REACT_APP_ALLOW_EXTENSION;\nconst imgSize = process.env.REACT_APP_IMG_SIZE as string;\nconst videoSize = process.env.REACT_APP_VIDEO_SIZE as string;\nconst pdfSize = process.env.REACT_APP_DOC_SIZE as string;\n\ninterface mediaFilesType {\n name: string;\n size: number;\n fileType: string;\n}\ninterface UploadMediaProps extends RouteComponentProps { }\n\nconst UploadMedia: React.FC = (props) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n\n const [isLoading, setIsLoading] = useState(false);\n\n const [closeAfterSaving, setCloseAfterSaving] = useState(false);\n const [mediaFiles, setMediaFiles] = useState([]);\n const [disableUploadButton, setDisableUploadButton] = useState(false);\n const [fileTooLarge, setFileTooLarge] = useState(false);\n const [wrongFileType, setWrongFileType] = useState(false);\n const [dragActive, setDragActive] = useState(false);\n const [error, setError] = useState(\"\");\n const [imageFileExtension, setImageFileExtensions] = useState(\"\");\n const [fileType, setFileType] = useState('')\n const [existingmediaLength, setExistingmediaLength] = useState(0);\n\n let maxFileSize = +videoSize;\n\n\n const EditState = useSelector(\n (state: any) => state.userChoicesReducer?.isEditState\n );\n\n const inputRef = React.useRef(null);\n\n const eligibilityResponseObject = useSelector(\n (state: any) =>\n state?.dashboardReducer?.formState?.eligibilityResponseObject\n );\n const covidConfigValue = useSelector(\n (state: any) => state?.addresses?.covidtoggleValue\n );\n\n const vandalismConfigValue = useSelector(\n (state: any) => state?.addresses?.vandalismtoggleValue\n );\n\n const resumeDraftRepairVal = useSelector(\n (state: any) => state?.userChoicesReducer?.resumeDraftRepair\n );\n\n const workOrderObject = useSelector(\n (state: any) => state?.addresses?.workOrderRepair\n );\n\n const userChosenUploadedMediaValue = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenUploadedMedia\n );\n\n let assetIdentifier = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyId\n );\n const selectedproperty = useSelector(\n (state: any) => state?.userChoicesReducer?.userChosenPropertyType\n );\n const customerIdentifier = useSelector(\n (state: any) => state.addresses?.customerid\n );\n\n const isResume = useSelector(\n (state: any) => state.userChoicesReducer?.isMediaResumed\n );\n\n const mediaIds = useSelector(\n (state: any) => state.userChoicesReducer?.mediaItems\n );\n const isVandalismEligible = eligibilityResponseObject?.statuses.isInDefects === true && selectedproperty !== \"Property\" && vandalismConfigValue === true;\n\n const priorityCodeValue = useSelector(\n (state: any) => state.userChoicesReducer?.repairPriority\n );\n // === Displaying media while user is coming from resume work order ===\n useEffect(() => {\n if (isResume) {\n dispatch(isMediaResume(false));\n resumeWorkOrderMedia();\n }\n }, []);\n\n useEffect(() => {\n userChosenUploadedMediaValue?.map((mediaFile: any) => {\n if (mediaFile) {\n setMediaFiles(userChosenUploadedMediaValue);\n }\n });\n\n (async () => {\n const imageExtensionCheck = await api.GetAppConfigToggleValue(\n \"IsImageAllowed\"\n );\n if (imageExtensionCheck?.value.toLowerCase() == 'true') {\n setImageFileExtensions(process.env.REACT_APP_IMAGE_EXTENSION || '')\n const allowedConfigExtensions = process.env.REACT_APP_IMAGE_EXTENSION\n ?.replace(\"[\", \"\")\n .replaceAll(\"'\", \"\");\n const allowFileType = allowedConfigExtensions?.replace(\"]\", \"\");\n setFileType(allowFileType || '');\n }\n })().catch(err => {\n console.error(err);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n });\n }, []);\n\n useEffect(() => {\n if (mediaFiles?.length == 5) {\n setDisableUploadButton(true);\n }\n }, [mediaFiles]);\n\n\n\n const resumeWorkOrderMedia = async () => {\n try {\n setIsLoading(true);\n const { documents } = await api.getMediaData(workOrderObject?.id);\n documents?.map((data: any) => {\n dispatch(storeMediaFilesId(data.id));\n data?.metadata?.map((res: any) => {\n if (res.key === \"content-type\") {\n const name = data.media.fileName;\n const fileType = res.value;\n dispatch(userChosenUploadedMedia({ name, fileType }));\n setMediaFiles((currentMediaFiles: any) => [\n ...currentMediaFiles,\n { name, fileType },\n ]);\n }\n });\n });\n setExistingmediaLength(documents?.length);\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n }\n };\n\n useEffect(() => {\n setTimeout(() => {\n UpdateWorkOrder();\n }, 1000);\n }, [mediaIds?.length]);\n\n const backButtonHandler = () => {\n dispatch(fromMediaUpload(false));\n props.history.push(\"/repairadditionaldetails\");\n };\n\n const exitButtonHandler = () => {\n dispatch(clearMediaFiles([]));\n props.history.push(\"/customer360View\");\n };\n\n const UpdateWorkOrder = async () => {\n workOrderObject.priority = priorityCodeValue;\n const _worksOrderRequest = new WorksOrderRequest(workOrderObject);\n let woRequestParameters =\n _worksOrderRequest.updateWorkOrderParameter(workOrderObject);\n\n woRequestParameters.documents = {\n documentIdentifiers: mediaIds,\n };\n try {\n await api.updateWorkOrderRepairMedia(\n woRequestParameters,\n workOrderObject.id,\n \"eTag\"\n );\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n }\n };\n\n const saveDraftAndExit = () => {\n // === update store for resume draft ===\n dispatch(fromMediaUpload(true));\n setCloseAfterSaving(true);\n props.history.push(\"/customer360View\");\n };\n\n const onContinueHandler = () => {\n dispatch(fromMediaUpload(false));\n // === Validating media has attached ===\n if (mediaIds?.length > 0) {\n dispatch(hasMediaAttached(\"Yes\"));\n } else {\n dispatch(hasMediaAttached(\"No\"));\n }\n\n if (existingmediaLength !== mediaIds.length) {\n dispatch(resumeDraftRepair(false));\n dispatch(userChosenCovidQuestion(\"\"));\n dispatch(userChosenVulnerabilityQuestion(\"No\"));\n dispatch(userChosenVulnerabilityAdditionalInformation(\"\"));\n dispatch(isEditState(false));\n }\n if (covidConfigValue == \"true\") {\n props.history.push(\"/covidquestion\");\n }\n else if (isVandalismEligible) {\n props.history.push(\"/vandalismquestion\");\n }\n else if (selectedproperty === \"Property\") {\n props.history.push(\"/vulnerabilityquestion\");\n }\n else {\n props.history.push(\"/customerdetails\");\n }\n };\n\n function encodeImageFileAsURL(element: any) {\n setError(\"\");\n\n let file = element[0];\n const reader = new FileReader();\n const imgExt = file.type.split(\"/\");\n if (\n (imgExt[1] === \"jpeg\" || imgExt[1] === \"png\" || imgExt[1] === \"jpg\") &&\n imgExt[0] === \"image\"\n ) {\n // Use webworker for faster compression with\n const options = {\n maxSizeMB: file.size / 2,\n useWebWorker: true,\n };\n\n /* istanbul ignore next */\n Compress(file, options)\n .then((compressedBlob) => {\n // Convert the blob to file\n setIsLoading(true);\n reader.readAsDataURL(compressedBlob);\n reader.onloadend = () => {\n processMediaFile(element, file.name, reader.result, file.type);\n };\n })\n .catch((e) => { });\n } else {\n reader.onloadend = () => {\n processMediaFile(element, file.name, reader.result, file.type);\n };\n if (file) {\n reader.readAsDataURL(file);\n }\n }\n }\n\n /* istanbul ignore next */\n const processMediaFile = async (\n uploadMediaArray: any,\n name: any,\n image: any,\n fileType: any\n ) => {\n const size = validateMediaSize(fileType);\n\n const validExt = fileType.split(\"/\");\n if (validExt[1] === \"quicktime\") {\n validExt[1] = \"mov\";\n } else if (validExt[1] === \"x-matroska\") {\n validExt[1] = \"mkv\";\n } else if (validExt[1] === \"jpeg\") {\n validExt[1] = \"jpg\";\n }\n\n if (uploadMediaArray[0].size > size) {\n setWrongFileType(false);\n setFileTooLarge(true);\n }\n\n if (!imageFileExtension?.includes(validExt[1])) {\n setFileTooLarge(false);\n setWrongFileType(true);\n } else {\n setFileTooLarge(false);\n setWrongFileType(false);\n\n // === Upload media files on server ===\n\n const mediaParam = {\n DocumentType: \"WORKORDER\",\n Media: image?.substr(image?.indexOf(\",\") + 1),\n Metadata: [\n {\n key: \"customer-identifier\",\n value: customerIdentifier,\n },\n {\n key: \"asset-identifier\",\n value: assetIdentifier,\n },\n {\n key: \"works-order-identifier\",\n value: workOrderObject.id,\n },\n {\n key: \"filename\",\n value: uploadMediaArray[0].name,\n },\n\n {\n key: \"content-type\",\n value: fileType,\n },\n ],\n };\n\n try {\n setIsLoading(true);\n const response = await api.postMediaFile(\n workOrderObject.id,\n mediaParam\n );\n\n // ===== Updating patch work work when media uploaded successfully ====\n dispatch(storeMediaFilesId(response.documentIdentifier));\n dispatch(userChosenUploadedMedia({ name, fileType }));\n setMediaFiles((currentMediaFiles: any) => [\n ...currentMediaFiles,\n { name, fileType },\n ]);\n\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n }\n }\n };\n\n const handleMediaFilesChange = (event: any) => {\n event.preventDefault();\n if (event.target.files && event.target.files[0]) {\n encodeImageFileAsURL(event.target.files);\n }\n };\n\n const deleteMediaFile = async (id: number) => {\n setFileTooLarge(false);\n setWrongFileType(false);\n setError(\"\");\n\n try {\n setIsLoading(true);\n await api.deleteMediaFiles(workOrderObject.id, mediaIds[id]);\n dispatch(deleteMediaItem(mediaIds[id]));\n // === Delete media files from database ===\n const updatedMedia = mediaFiles.filter(\n (mediaFile: any, index: number) => {\n return index != id;\n }\n );\n setMediaFiles(updatedMedia);\n dispatch(userChosenDeletedMedia(updatedMedia));\n setDisableUploadButton(false);\n } catch (e) {\n console.error(e);\n dispatch(showFooter(true));\n props.history.push('/repairJourneyErrorPage');\n } finally {\n setIsLoading(false);\n }\n };\n\n const handleDrag = (e: React.FormEvent) => {\n e.preventDefault();\n e.stopPropagation();\n if (e.type === \"dragover\" || e.type === \"dragenter\") {\n setDragActive(true);\n } else if (e.type === \"dragleave\") {\n setDragActive(false);\n }\n };\n\n /* istanbul ignore next */\n const handleDrop = (event: React.DragEvent) => {\n event.preventDefault();\n event.stopPropagation();\n setDragActive(false);\n if (event.dataTransfer.files && event.dataTransfer.files[0]) {\n if (mediaFiles.length < 5) {\n encodeImageFileAsURL(event.dataTransfer.files);\n }\n } else {\n console.log(\"File was not uploaded.\");\n }\n };\n\n const onButtonClick = () => {\n inputRef.current!.click();\n };\n\n return (\n <>\n \n
    \n {isLoading && (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n\n
    \n\n \n {t(\"Upload_Media_Title\")}\n \n \n {t(\"Upload_Media_Initial_Alert\")}\n

    {`${t(\"Upload_Media_Size\")}`}\n\n

    \n
    \n\n

    \n {t(\"Upload_Media_SubHeading1\")} ({mediaFiles.length}/5)\n

    \n
    \n
    \n
    \n e.preventDefault()}\n data-testid=\"form-file-upload\"\n >\n {fileTooLarge && (\n <>\n \n {t(\"Upload_Media_Attachments_Too_Large\")}\n \n \n )}\n\n {error && (\n <>\n \n {t(error)}\n \n \n )}\n\n {wrongFileType && (\n <>\n \n {t(\"Upload_Media_Wrong_File_Type\")}\n \n \n )}\n\n {mediaFiles.length >= 5 && (\n <>\n \n {t(\"Upload_Media_Max_Attachments\")}\n \n \n )}\n \n \n

    \n {t(\"Upload_Media_Initial_Text1\")}\n

    \n

    \n {t(\"Upload_Media_Initial_Text2\")}\n

    \n \n \n

    \n \n {dragActive && (\n
    \n )}\n \n\n\n\n {mediaFiles.length >= 1 && (\n
    \n {mediaFiles.map((mediaFile: any, key: number) => {\n return (\n deleteMediaFile(key)}\n {...props}\n />\n );\n })}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n \n\n \n
    \n
    \n \n {t(\"continuen_button\")}\n \n
    \n
    \n
    \n\n\n \n \n );\n};\n\nexport default UploadMedia;\n","const imgSize = process.env.REACT_APP_IMG_SIZE as string;\nconst videoSize = process.env.REACT_APP_VIDEO_SIZE as string;\nconst pdfSize = process.env.REACT_APP_DOC_SIZE as string;\n\nexport const validateMediaSize = (mediaType: any) => {\n let size: number = +imgSize;\n mediaType = mediaType.toString();\n if (mediaType.split(\"/\", 1) == \"video\") {\n size = +videoSize;\n } else if (mediaType.split(\"/\", 1) == \"pdf\") {\n size = +pdfSize;\n } else {\n size = +imgSize;\n }\n\n return size;\n};\n","import React, { useState, useEffect, useRef, useCallback } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { Container } from \"@material-ui/core\";\n\nimport { RouteComponentProps } from \"react-router-dom\";\nimport Loader from \"react-loader-spinner\";\nimport { useLocation } from \"react-router-dom\";\nimport { useSelector } from \"react-redux\";\nimport * as api from \"../../api\";\nimport classes from \"../UploadMedia/spinner.module.scss\";\nimport { imgData } from \"../UploadMedia/StaticIconName\";\nimport { useDeviceSelectors } from \"react-device-detect\";\ninterface ViewMediaProps extends RouteComponentProps {}\nconst MpegAlertUserAgents = process.env.REACT_APP_MpegAlertSupportedBrowser;\n\nconst ViewMedia: React.FC = (props) => {\n const { t } = useTranslation();\n const [isLoading, setIsLoading] = useState(false);\n const [mediaFile, setMediaFile] = useState<{}[]>([]);\n const [isOverlay, setIsOverlay] = useState(\"none\");\n const [getWorkOrderId, setWorkOrderId] = useState();\n const [base64Data, setBase64Data] = useState(\"\");\n const [contentType, setContentType] = useState([]);\n const [isProccessing, setIsProccessing] = useState(false);\n const [isError, setIsError] = useState(\"\");\n const [selectedId, setSelectedId] = useState();\n const videoRef: any = useRef();\n const location = useLocation();\n let inAppContent: boolean = false;\n const [isMpegSupportedBrowser, setMpegSupportedBrowser]: any =\n useState(false);\n\n useEffect(() => {\n \n if (isError) {\n setIsOverlay(\"none\");\n }\n }, [isError]);\n const customerID = useSelector((state: any) => state.addresses?.customerid);\n const detectedDeviceBrowser = useDeviceSelectors(window.navigator.userAgent);\n\n useEffect(() => {\n for (let [key, value] of Object.entries(detectedDeviceBrowser[0])) {\n if (key === MpegAlertUserAgents) {\n setMpegSupportedBrowser(value);\n }\n }\n }, []);\n\n const fetchMediaData = async (id: any) => {\n setIsLoading(true);\n try {\n const response = await api.getMediaData(id);\n setMediaFile(response.documents);\n } catch (e: any) {\n setIsError(\"View_Media_Error\");\n } finally {\n setIsLoading(false);\n }\n };\n\n useEffect(() => {\n setWorkOrderId(location?.state);\n fetchMediaData(location?.state);\n }, [location]);\n\n const backButtonHandler = () => {\n props.history.push({\n pathname: \"/historicRepairs\",\n state: { viewMediaID: location.state },\n });\n };\n\n /* Displaying overlay on media click */\n const displayViewMediaDetails = async (mediaId: any, content: any) => {\n setIsError(\"\");\n setIsProccessing(true);\n setIsOverlay(\"block\");\n setContentType(content.split(\"/\"));\n setSelectedId(mediaId);\n\n try {\n const response = await api.getViewMediaDetail(getWorkOrderId, mediaId);\n const data1 = response.media.replace('\"', \"\");\n\n let selectedMedia = `data:${content};base64,${data1}`;\n\n setBase64Data(selectedMedia);\n\n setIsProccessing(false);\n\n // istanbul ignore next Displaying pdf alert and closing overlay\n if (content.split(\"/\")[1] === \"pdf\") {\n setIsOverlay(\"none\");\n const byteCharacters = atob(data1);\n const byteNumbers = new Array(byteCharacters.length);\n for (let i = 0; i < byteCharacters.length; i++) {\n byteNumbers[i] = byteCharacters.charCodeAt(i);\n }\n const byteArray = new Uint8Array(byteNumbers);\n const blob = new Blob([byteArray], { type: content });\n const blobUrl = URL.createObjectURL(blob);\n window.open(blobUrl, \"_blank\");\n }\n } catch (e: any) {\n setIsProccessing(false);\n setIsError(\"View_Media_Error\");\n }\n };\n\n const closeOverLay = () => {\n setIsOverlay(\"none\");\n if (contentType[1] !== \"mpeg\" && contentType[0] === \"video\") {\n videoRef?.current?.pause();\n }\n };\n\n const displayErrorMessage = useCallback(() => {\n return (\n mediaFile.length === 0 &&\n isError && (\n
    \n
    \n
    \n \n
    \n
    \n

    \n {t(isError)}\n

    \n
    \n
    \n
    \n )\n );\n }, [isError]);\n\n return (\n \n {isLoading ? (\n \n ) : (\n <>\n
    \n

    {t(\"View Media\")}

    \n
    \n
    \n
    \n
      \n {mediaFile?.map((data: any) => {\n data?.metadata?.map((res: any) => {\n inAppContent = false;\n if(res.key === \"IsMediaAppropriate\" && res.value === \"false\") {\n inAppContent = true;\n }\n });\n return data?.metadata?.map((res: any) => {\n if(res.key === \"content-type\" && inAppContent === false) {\n const matchData = res.value.split(\"/\");\n return imgData.map((item: any, index: number) => {\n if (\n matchData[1] === item.id ||\n matchData[1] === item.id.toUpperCase()\n ) {\n return (\n <>\n \n displayViewMediaDetails(data.id, res.value)\n }\n >\n \n \n {data.media.fileName}\n \n \n {isError && selectedId === data.id && (\n
      \n
      \n
      \n \n
      \n
      \n

      \n {t(isError)}\n

      \n
      \n
      \n
      \n )}\n \n );\n }\n });\n }\n else if(inAppContent ===true && res.key === \"IsMediaAppropriate\" && res.value === \"false\") {\n return (\n
      {t(\"MediaRemovedMsg\")}
      \n )\n }\n })\n })}\n
    \n {displayErrorMessage()}\n
    \n \n )}\n\n
    \n {isProccessing ? (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n ) : (\n
    \n \n X\n \n
    \n {contentType[0] === \"video\" && contentType[1] !== \"mpeg\" && (\n \n \n \n )}\n\n {!isMpegSupportedBrowser &&\n contentType[0] === \"video\" &&\n contentType[1] === \"mpeg\" && (\n <>\n \n \n \n
    \n
    \n
    \n \n
    \n
    \n

    \n Your browser doesn't support playing MPEG videos,\n please click{\" \"}\n \n here\n {\" \"}\n to download the video instead.\n

    \n
    \n
    \n
    \n \n )}\n\n {contentType[0] === \"video\" &&\n contentType[1] === \"mpeg\" &&\n isMpegSupportedBrowser && (\n <>\n \n \n \n
    \n
    \n
    \n \n
    \n
    \n

    \n {t(\"Media_MPEG_Apple\")}\n

    \n
    \n
    \n
    \n \n )}\n\n {contentType[0] === \"image\" && (\n \n )}\n
    \n
    \n )}\n
    \n
    \n );\n};\n\nexport default ViewMedia;\n","import React, { useState, useEffect, useRef, useContext } from \"react\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useTranslation } from \"react-i18next\";\nimport \"../../../assets/css/custom.scss\";\nimport Chevronleft from \"../../../assets/img/Chevronleft.png\";\nimport mobileChevronleft from \"../../../assets/img/mobileChevronleft.png\";\nimport ListingDetailHeader from \"../../../storybook/Header/ListingDetailHeader\";\nimport { showMenuTabs } from \"../../../ducks/redux/actions/userChoices\";\n\ninterface CaseDetailsProps extends RouteComponentProps {\n siteIdentifier?: string;\n associtaedAsset?: string;\n}\n\n\nconst CaseDetails: React.FC = (props) => {\n let moment = require(\"moment\");\n const dispatch = useDispatch();\n\n useEffect(() => {\n dispatch(showMenuTabs(false));\n }, []);\n\n const caseListData = useSelector(\n (state: any) => state.historicRepairReducer?.repairHistoryData\n );\n\n const backButtonHandler = () => {\n dispatch(showMenuTabs(true));\n props.history.goBack();\n };\n\n return (\n <>\n \n
    \n
    \n

    \n \n \n \"Filter\"\n \"Filter\"\n \n \n {caseListData.caseRefNo}\n

    \n \n {caseListData.caseStatus}\n \n
    \n
    \n
    \n
    Case owner
    \n

    {caseListData.caseOwner}

    \n
    Date created
    \n

    {caseListData.dateCreated}

    \n
    Request type
    \n

    {caseListData.requsetType}

    \n
    \n
    \n {caseListData?.caseDetailsData?.map((caseDescriptionItem) => {\n var descriptionTxt = caseDescriptionItem?.split(' -');\n var questionTxt = descriptionTxt[0];\n var appendContact = \"\";\n if (questionTxt === \"Number\") {\n appendContact = \"Contact \";\n }\n var ansTxt = descriptionTxt.slice(1).join(\" -\").trim();\n return <>
    {questionTxt}
    \n

    {ansTxt}

    ;\n })}\n
    \n \n
    \n
    \n \n );\n};\n\nexport default CaseDetails;\n","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Button from \"../../../Button/Button\";\nimport {\n RadioGroup,\n FormControlLabel,\n Radio,\n} from \"@material-ui/core\";\nimport { clearReferralInformation, comingFromReferralPage, financialReferralFor } from \"../../../ducks/redux/actions/FinancialReferral\";\nimport HeaderJourney from \"../../../storybook/Header/HeaderJourney\";\nimport ExitModal from \"../../Modal/ExitModal\";\nimport { showFooter, showMenuTabs } from \"../../../ducks/redux/actions/userChoices\";\nimport Message from \"../../../storybook/Message\";\n\n\ninterface FinancialInclusion extends RouteComponentProps {\n \n}\n\nconst EnquiryConsent: React.FC = (props:any) => {\n const RadioOption1 = [{\"option\":\"Myself\",\"id\":\"Myself\"}, {\"option\":\"Other member of household\",\"id\":\"Other\"} ] \n \n const dispatch = useDispatch()\n const [buttondisable] = useState(false);\n const { t } = useTranslation();\n const [error, setError] = useState(\"\");\n const data = useSelector((state:any) => state.financialReferralReducer.financialReferralData)\n\n const [referralFor, setReferralFor] = useState(data?.referralFor || \"\");\n \n useEffect(()=>{\n window.scrollTo(0, 0);\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n },[])\n \n\n\n const exitButtonHandler = () => {\n dispatch(clearReferralInformation({}))\n props.history.push('/Customer360View');\n }\n \n const callPageHandler = () => {\n if(!referralFor){\n setError(\"Financial_FI017a\")\n \n }else {\n dispatch(comingFromReferralPage(true))\n props.history.push('/enquiryreason')\n }\n }\n\n const handleRadioChange = (e:any) => {\n setError(\"\")\n setReferralFor(e.target.value)\n dispatch(financialReferralFor(e.target.value))\n }\n\n \n return (\n <>\n \n
    \n
    \n {/* Main Page Content */}\n
    \n
    \n

    \n {t(\"Financial_FI001d\")} \n

    \n
    \n
    \n {/* Yellow Alert */}\n { error && {t(error)}}\n \n {RadioOption1?.map((data:any)=>{\n return(}\n label={data.option}\n />)})}\n \n
    \n {/* Exit and Continue SMS button */}\n
    \n
    \n
    \n \n
    \n
    \n \n {t(\"continuen_button\")}{\" \"}\n \n
    \n
    \n
    \n \n \n
    \n\n)};\nexport default EnquiryConsent;","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport * as api from \"../../../api\";\nimport \"./index.css\"\nimport { FinancialReferralReasonRes, clearReferralInformation, comingFromReferralPage, saveReasonResponse } from \"../../../ducks/redux/actions/FinancialReferral\";\nimport Box from '@mui/material/Box';\nimport FormControl from '@mui/material/FormControl';\nimport FormGroup from '@mui/material/FormGroup';\nimport FormControlLabel from '@mui/material/FormControlLabel';\nimport Checkbox from '@mui/material/Checkbox';\nimport FinancialReferralReason from \"../../../models/FinancialInclusion/ReferralReason\";\nimport LoadingSpinner from \"../../../storybook/LoadingSpinner\";\nimport HeaderJourney from \"../../../storybook/Header/HeaderJourney\";\nimport BackModal from \"../../Modal/BackModal\";\nimport ExitModal from \"../../Modal/ExitModal\";\nimport Button from \"../../../storybook/Button\";\nimport { showFooter, showMenuTabs } from \"../../../ducks/redux/actions/userChoices\";\nimport Message from \"../../../storybook/Message\";\n\n\ninterface FinancialReason extends RouteComponentProps {\n \n}\n\nconst EnquiryReason: React.FC = (props:any) => {\n \n let tempReferralReasons:string[]=[];\n let [referralReasons, setReferralReasons] = useState(tempReferralReasons)\n const dispatch = useDispatch()\n const { t } = useTranslation();\n const [error, setError] = useState(\"\");\n let data = useSelector((state:any) => state.financialReferralReducer.financialReferralData)\n let [reasonChecked, setReasonChecked] = useState(data?.ReferralReason);\n const [isLoader, setIsLoader] = useState(false);\n let keyValuePairs: any = \"\";\n let arrData : string[] = [];\n const apiResponse = useSelector((state:any) => state.financialReferralReducer.referralReasonResponse)\n const [buttondisable] = useState(false);\n useEffect(() => {\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n \n const fetchReferralReason = async () => {\n try{\n setIsLoader(true)\n const responseData = await api.getFinancialReferralReasonData()\n dispatch(saveReasonResponse(responseData))\n if (apiResponse) {\n keyValuePairs = responseData[0]?.namespace?.keyValues;\n for (const _data of Object.values(keyValuePairs)) {\n let obj=(_data as FinancialReferralReason);\n if ( obj.displayOnMyPeabody == true ) {\n arrData.push(obj.referralReason)\n }\n }\n setReferralReasons(arrData)\n setReasonChecked(data?.ReferralReason) \n setIsLoader(false)\n } \n }catch(e:any){\n console.log(\"Error:\", e)\n }\n \n };\n if(data?.referralFor){\n fetchReferralReason()\n }else {\n props.history.push('/enquiryconsent')\n }\n },[])\n const exitButtonHandler = () => {\n dispatch(clearReferralInformation(null))\n props.history.push('/Customer360View');\n }\n const backButtonHandler = () => {\n props.history.push('/enquiryconsent');\n }\n\n \n\n const callPageHandler = () => {\n if(reasonChecked?.length === 0){\n setError(\"Financial_FI008a\")\n }else {\n dispatch(FinancialReferralReasonRes(reasonChecked))\n dispatch(comingFromReferralPage(true))\n props.history.push('/additionalenquirydetails')\n }\n }\n\n \n const handleChange = (event:any) => {\n setError(\"\")\n if(event.target.checked){\n reasonChecked.push(event.target.name) \n dispatch(FinancialReferralReasonRes(reasonChecked))\n }\n else{\n const index = reasonChecked.indexOf(event.target.name);\n if (index > -1) { \n reasonChecked.splice(index, 1); \n }\n dispatch(FinancialReferralReasonRes(reasonChecked))\n } \n }\n\n \n return (\n <>\n \n
    \n {/* Main Page Content */}\n
    \n
    \n

    \n {t(\"Financial_FI020\")} \n

    \n
    \n\n {/* Yellow Alert */}\n {error &&
    \n {t(error)} \n
    }\n \n { isLoader?\n
    \n
    \n \n
    \n
    :\n \n \n \n \n {\n referralReasons?.slice(0,(Math.ceil(referralReasons.length/2))).map((item : string, index:number) => (\n \n }\n label={item}\n key={index}\n />\n ))\n }\n \n \n \n \n \n {\n referralReasons?.slice((Math.ceil(referralReasons.length/2))).map((item : string, index:number) => (\n \n }\n label={item}\n key={index}\n />\n ))\n }\n \n \n \n \n }\n \n\n \n
    \n {/* Exit and Continue SMS button */}\n
    \n
    \n
    \n \n \n
    \n\n
    \n \n {t(\"continuen_button\")}{\" \"}\n \n
    \n
    \n
    \n
    \n \n )\n};\nexport default EnquiryReason;","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Button from \"../../../storybook/Button\";\nimport \"./index.css\"\nimport { clearReferralInformation, comingFromReferralPage, storeReferralAdditionalDetails } from \"../../../ducks/redux/actions/FinancialReferral\";\nimport HeaderJourney from \"../../../storybook/Header/HeaderJourney\";\nimport ExitModal from \"../../Modal/ExitModal\";\nimport BackModal from \"../../Modal/BackModal\";\nimport { showFooter, showMenuTabs } from \"../../../ducks/redux/actions/userChoices\";\nimport Message from \"../../../storybook/Message\";\n\n\n\ninterface AssetDetailCardProps extends RouteComponentProps {\n \n}\n\nconst AdditionalEnquiryDetails: React.FC = (props:any) => {\n let specials = /[&*%!<>]/;\n const { t } = useTranslation();\n \n const dispatch = useDispatch()\n const [error, setError] = useState(\"\");\n const data = useSelector((state:any) => state.financialReferralReducer?.referralDetails)\n const reasonData = useSelector((state:any) => state.financialReferralReducer.financialReferralData)\n\n let [message, setMessage] = useState(data || \"\");\n const [countCharacter, setCountCharacter] = useState(data?.length || 0);\n\n \n\n useEffect(()=>{\n dispatch(showMenuTabs(false));\n dispatch(showFooter(false));\n if(reasonData?.ReferralReason.length === 0){\n props.history.push('/enquiryreason')\n }\n },[])\n\n const backButtonHandler = () => {\n props.history.push('/enquiryreason'); \n }\n\n \n const exitButtonHandler = () => {\n dispatch(clearReferralInformation({}))\n props.history.push('/Customer360View');\n }\n\n const validateComposedSMS = (e:any) => {\n if(e.target.value.trim() !== \"\"){\n setMessage(e.target.value)\n }\n }\n\n const onTextChangeHandler = (e:any) => { \n setError(\"\")\n let test = e.target.value.replace(/((http|ftp|https):\\/\\/[\\w\\-_]+(\\.[\\w\\-_]+)+([\\w\\-\\.,@?^=%&:/~\\+#]*[\\w\\-\\@?^=%&/~\\+#])?)/g,'');\n if (specials.test(test)) {\n setError(\"Financial_BC009\")\n e.target.value = e.target.value.replace(/[&*%!<>]/g,'');\n }else {\n setCountCharacter(e.target.value.length)\n setTimeout(()=>{\n setMessage(e.target.value)\n }, 1000)\n }\n }\n\n const callPageHandler = async() => {\n if(message !== \"\" ) {\n if(countCharacter<=1500) { \n dispatch(storeReferralAdditionalDetails(message))\n dispatch(comingFromReferralPage(true))\n props.history.push(\"/ContactDetails\") \n } \n }else {\n setError(\"Financial_FI005\")\n }\n\n \n }\n \n return (\n <>\n \n
    \n \n {/* Main Page Content */}\n
    \n
    \n

    \n {t(\"Financial_Additional_Referral\")}\n

    \n
    \n {/* Yellow Alert */}\n { (error !== \"\" || countCharacter >=1500) && \n
    \n { countCharacter>= 1500 && {t(\"Financial_FI009\")}}\n {error && {t(`${error}`)}}\n
    }\n

    \n {t(\"Financial_Additional_Point1\")}\n

    \n

    \n {t(\"Financial_Additional_Point2\")}\n

    \n \n \n
    \n