{"version":3,"sources":["assets/customer/td/logo-small.png","assets/customer/td/sidebar-bg.jpg","assets/customer/bn/logo-small.png","assets/customer/bn/sidebar-bg.jpg","assets/customer/vh/logo-small.png","assets/customer/vh/sidebar-bg.jpg","assets/customer/falcks/logo-small.png","assets/customer/falcks/sidebar-bg.jpg","components/errorBoundaries/errorBoundaryGlobal.js","system/actions/authHelper.js","system/reducer/authHelperReducer.js","system/actions/index.js","system/reducer/subscriptions.js","config/dev/infraConfig.jsx","config/bnprod/infraConfig.jsx","config/td2prod/infraConfig.jsx","config/vhprod/infraConfig.jsx","config/falcksprod/infraConfig.jsx","config/infraConfig.js","config/bnprod/infraConfigStaging.jsx","config/td2prod/infraConfigStaging.jsx","config/vhprod/infraConfigStaging.jsx","config/falcksprod/infraConfigStaging.jsx","config/local/infraConfig.jsx","system/axiosConfig.jsx","diagnostics/reducer.js","system/util.js","dashboard/Lonebesked/reducer.js","dashboard/KontekOnlineLonebesked/reducer.js","dashboard/Utbildning/actions.js","dashboard/Utbildning/reducer.js","dashboard/BplGodkannaTid/reducer.js","dashboard/BplMinaUppdrag/reducer.js","dashboard/Fordonskontroll/actions.js","dashboard/Fordonskontroll/reducer.js","dashboard/Incidenter/reducer.js","dashboard/Nyheter/reducer.js","dashboard/Medarbetarundersokning/actions.js","dashboard/Medarbetarundersokning/reducer.js","dashboard/Krishantering/reducer.jsx","system/reducer/sharepointCommonReducer.js","dashboard/Forslagslada/actions.js","dashboard/Forslagslada/reducer.js","dashboard/PolicyDocs/reducer.jsx","dashboard/EcoDriving/reducer.js","system/userprofile/reducer.js","system/reducer/errorReducer.js","system/reducer/index.js","system/userprofile/actions.js","diagnostics/actions.js","dashboard/Lonebesked/actions.js","dashboard/KontekOnlineLonebesked/actions.js","dashboard/BplGodkannaTid/actions.js","dashboard/Nyheter/actions.js","dashboard/BplMinaUppdrag/actions.js","dashboard/Krishantering/actions.jsx","system/actions/sharepointCommon.js","dashboard/Incidenter/actions.js","dashboard/PolicyDocs/actions.jsx","dashboard/EcoDriving/actions.js","system/userManager.jsx","components/CustomButtons/CustomButton.jsx","components/Card/Card.jsx","components/utils/LoadingIcon.jsx","system/security.jsx","components/utils/openInNewTabOrDont.js","components/utils/BplExternalLink.jsx","components/utils/UtbExternalLink.jsx","components/utils/MedarbetarundersokningButton.jsx","components/utils/KrishanteringButton.jsx","config/local/HeaderLinks.jsx","components/Card/StatsCard.jsx","components/formatting/Date.jsx","components/utils/MobileDesktop.jsx","dashboard/BplMinaUppdrag/AktuelltUppdrag.jsx","components/formatting/Time.jsx","dashboard/BplMinaUppdrag/UppdragTable.jsx","dashboard/BplMinaUppdrag/HuvudUppdragTable.jsx","dashboard/BplMinaUppdrag/UppdragCards.jsx","dashboard/BplMinaUppdrag/HuvudUppdragCards.jsx","dashboard/BplMinaUppdrag/BplMinaUppdrag.jsx","dashboard/BplGodkannaTid/BplGodkannaTId.jsx","dashboard/Nyheter/NewsItemCompact.jsx","dashboard/Nyheter/StartNewsListView.jsx","serviceWorker.js","components/DebugInfo.jsx","dashboard/Main/BuildNumber.jsx","dashboard/Start/Start.jsx","dashboard/BplMinaUppdrag/BplMinaUppdragPage.jsx","dashboard/Fordonskontroll/FordonsFelList.jsx","dashboard/Fordonskontroll/NyttFordonsFelForm.jsx","dashboard/Fordonskontroll/SelectVehicleForm.jsx","dashboard/Fordonskontroll/Fordonskontroll.jsx","dashboard/Incidenter/IncidentCard.jsx","dashboard/Incidenter/IncidentCardList.jsx","dashboard/Incidenter/IncidentList.jsx","dashboard/Incidenter/Incidentrapporter.jsx","dashboard/Incidenter/SelectVehicleForm.jsx","components/CustomButtons/SavingButton.jsx","components/CustomCheckbox/CustomCheckbox.jsx","dashboard/Incidenter/FormArbetsmiljo.jsx","dashboard/Incidenter/FormHotOchVald.jsx","dashboard/Incidenter/FormTrafikinformation.jsx","dashboard/Incidenter/FormFordonsskada.jsx","dashboard/Incidenter/FormH.jsx","dashboard/KontekOnlineLonebesked/LonebeskedButton.jsx","dashboard/KontekOnlineLonebesked/LonebeskedList.jsx","dashboard/KontekOnlineLonebesked/KontekOnlineLonebesked.jsx","dashboard/Main/FormElement.jsx","dashboard/Main/UserPersonalDetailsForm.jsx","dashboard/Main/UserPersonalDetails.jsx","dashboard/Main/UserInfo.jsx","dashboard/Nyheter/AttachmentListItem.jsx","dashboard/Nyheter/NewsComment.jsx","dashboard/Nyheter/NewsComments.jsx","dashboard/Nyheter/NewsItem.jsx","dashboard/Nyheter/RegionNewsListView.jsx","dashboard/Nyheter/KoncernNewsListView.jsx","dashboard/Nyheter/RegionNewsShowFull.jsx","dashboard/Nyheter/KoncernNewsShowFull.jsx","dashboard/Utbildning/Showintyg.jsx","dashboard/Utbildning/Utvardering.jsx","dashboard/Utbildning/Utbildning.jsx","dashboard/Forslagslada/ForslagForm.jsx","dashboard/Forslagslada/ForslagCard.jsx","dashboard/Forslagslada/ForslagCardList.jsx","dashboard/Forslagslada/ForslagList.jsx","dashboard/Forslagslada/Forslagslada.jsx","dashboard/Krishantering/CheckLists/Busschaufforer.jsx","dashboard/Krishantering/CheckLists/KommunikationSamordnare.jsx","dashboard/Krishantering/CheckLists/Trafikledare.jsx","dashboard/Krishantering/CheckLists/Krisledare.jsx","dashboard/Krishantering/CheckList.jsx","dashboard/Krishantering/DocumentList.jsx","dashboard/Krishantering/BossInfo.jsx","dashboard/Krishantering/Krishantering.jsx","dashboard/Medarbetarundersokning/forare.jsx","dashboard/Medarbetarundersokning/tjansteman.jsx","dashboard/Medarbetarundersokning/Medarbetarundersokning.jsx","components/formatting/Percentage.jsx","dashboard/EcoDriving/LeafPercentageIcon.js","components/formatting/Number.jsx","dashboard/EcoDriving/EcoDriving.jsx","dashboard/BplMinaUppdrag/Schema.jsx","components/formatting/Currency.jsx","dashboard/Incidenter/ForsakringUppfoljning/IncidentListTable.jsx","dashboard/Incidenter/ForsakringUppfoljning/IncidentListCards.jsx","dashboard/Incidenter/ForsakringUppfoljning/SummaCard.jsx","components/utils/ColViewSwitch.jsx","dashboard/Incidenter/ForsakringUppfoljning/ForsakringUppfoljning.jsx","components/Support/Reset.js","dashboard/Main/DashboardHelp.jsx","dashboard/KrishanteringBNtemp/CheckLists/Busschaufforer.jsx","dashboard/KrishanteringBNtemp/CheckLists/KommunikationSamordnare.jsx","dashboard/KrishanteringBNtemp/CheckLists/Trafikledare.jsx","dashboard/KrishanteringBNtemp/CheckLists/Krisledare.jsx","dashboard/KrishanteringBNtemp/CheckList.jsx","dashboard/KrishanteringBNtemp/DocumentList.jsx","dashboard/KrishanteringBNtemp/actions.jsx","dashboard/KrishanteringBNtemp/BossInfo.jsx","config/bnprod/dashboard.jsx","dashboard/KrishanteringBNtemp/Krishantering.jsx","config/local/appConfig.js","dashboard/KrishanteringVH/CheckLists/Forare.jsx","dashboard/KrishanteringVH/CheckLists/Trafikledare.jsx","dashboard/KrishanteringVH/CheckList.jsx","dashboard/KrishanteringVH/DocumentList.jsx","dashboard/KrishanteringVH/actions.jsx","dashboard/KrishanteringVH/BossInfo.jsx","dashboard/KrishanteringVH/KrishanteringVH.jsx","dashboard/PolicyDocs/DocumentList.jsx","dashboard/PolicyDocs/PolicyDocs.jsx","config/local/dashboard.jsx","components/utils/DocsExternalLink.jsx","components/utils/ExternalLink.jsx","config/dev/HeaderLinks.jsx","config/dev/appConfig.js","config/bnprod/HeaderLinks.jsx","config/bnprod/appConfig.js","config/vhprod/HeaderLinks.jsx","config/vhprod/appConfig.js","config/vhprod/dashboard.jsx","config/falcksprod/HeaderLinks.jsx","config/falcksprod/appConfig.js","config/falcksprod/dashboard.jsx","config/tdprod/dashboard.jsx","config/tdprod/HeaderLinks.jsx","config/td2prod/appConfig.js","config/appConfig.js","system/store.js","app.js","components/utils/SimpleStandaloneHeader.jsx","account/loginPage.js","account/helpPage.js","diagnostics/ConfigDescription.js","diagnostics/index.js","account/callback.js","dashboard/Main/Sidebar/Sidebar.jsx","dashboard/Main/Header/Header.jsx","dashboard/Main/Footer/Footer.jsx","dashboard/Main/NoAccess.jsx","dashboard/Main/Main.jsx","dashboard/Main/UserProfileHC.jsx","dashboard/dashboard.js","account/loggedoutPage.js","system/routes/routes.js","index.js"],"names":["module","exports","ErrorBoundaryGlobal","props","state","hasError","error","info","this","setState","children","React","Component","logoutInProgress","type","initialState","ERRORMESSAGES_ADD","clearErrors","channels","infraConfig","apiEndpoint","usePort","clientId","identityServerEndpoint","documentsUrl","hostnameLookup","window","location","hostname","devConfig","bnprodConfig","tdprodConfig2","vhprodConfig","falcksprodConfig","getAxiosConfig","user","headers","concat","id_token","configDescription","openFileWindow","url","href","downloadFile","filurl","store","getState","oidc","axios","get","then","dataResult","byte","base64","binaryString","atob","binaryLen","length","bytes","Uint8Array","i","ascii","charCodeAt","base64ToArrayBuffer","data","result","name","split","g","console","log","Name","blob","Blob","link","document","createElement","URL","createObjectURL","fileName","download","dispatchEvent","MouseEvent","bubbles","cancelable","view","saveByteArray","catch","lonebesked","isLoadinglonebesked","loadinglonebeskedFailed","isLoadingdownload","loadingdownloadFailed","getIntyg","dispatch","payload","message","severity","getUtvardering","getElementById","innerHTML","intyg","isLoadingintyg","loadingintygFailed","utvardering","isLoadingutvardering","loadingutvarderingFailed","action","tidrapport","isLoadingTidrapport","isLoadingTidrapportFailed","tidrapportTimestamp","acceptTidrapport","isLoadingAcceptTidrapport","loadingAcceptTidrapportFailed","schema","isLoadingSchema","loadingSchemaFailed","schemaTimestamp","uppdrag","isLoadingUppdrag","loadingUppdragFailed","uppdragTimestamp","aktuelltUppdrag","isLoadingAktuelltUppdrag","loadingAktuelltUppdragFailed","aktuelltUppdragTimestamp","acceptSchemaPost","isLoadingAcceptSchema","loadingAcceptSchemaFailed","getVehicles","getVehicleCategories","getVehicleFaults","vehicleNo","vehicles","vehiclesTimestamp","isLoadingVehicles","loadingVehiclesFailed","vehicleCategories","vehicleCategoriesTimestamp","isLoadingVehicleCategories","loadingVehicleCategoriesFailed","vehicleFaults","vehicleFaultsTimestamp","isLoadingVehicleFaults","loadingVehicleFaultsFailed","addVehicleFaultResult","addVehicleFaultTimestamp","isLoadingAddVehicleFault","addVehicleFaultFailed","incidentRapporter","incidentRapporterTimestamp","isLoadingIncidentRapporter","loadingIncidentRapporterFailed","forsakringUppfoljning","isLoadingForsakringUppfoljning","loadingForsakringUppfoljningFailed","formOptions","formOptionsTimestamp","isLoadingFormOptions","loadingFormOptionsFailed","allNews","isLoadingAllNews","loadingAllNewsFailed","koncern","undefined","isLoadingKoncern","loadingKoncernFailed","koncernCompact","isLoadingKoncernCompact","loadingKoncernCompactFailed","region","isLoadingRegion","loadingRegionFailed","regionCompact","isLoadingRegionCompact","loadingRegionCompactFailed","getUndersokning","datum","style","getElementsByTagName","appendChild","contenttype","querySelector","display","undersokning","isLoadingundersokning","loadingundersokningFailed","documents","isLoadingDocuments","loadingDocumentsFailed","documentsTimestamp","checklist","isLoadingChecklist","loadingChecklistFailed","checklistTimestamp","isLoadingDownloadFile","loadingDownloadFileFailed","downloadFileTimestamp","bossInfo","isLoadingBossInfo","loadingBossInfoFailed","bossInfoTimestamp","bolag","bolagTimestamp","isLoadingBolag","loadingBolagFailed","fetchForslag","forslag","forslagTimestamp","isLoadingForslag","loadingForslagFailed","addForslagResult","addForslagTimestamp","isLoadingAddForslag","addForslagFailed","overview","overviewLoading","overviewFailed","overviewTimestamp","detail","detailLoading","detailFailed","detailTimestamp","userprofile","userprofileIsLoading","userprofileLoadingFailed","errors","reducer","combineReducers","oidcReducer","authhelper","routing","routerReducer","subscriptions","SESSION_TERMINATED","USER_EXPIRED","Object","assign","timestamp","Date","diagnostics","kontek","intygReducer","bpltidrapport","loadingTidrapportFailed","status","news","bpluppdrag","uppdragtimestamp","fordonskontroll","krishantering","sharepoint","incident","addForslag","policyDocs","ecodriving","config","client_id","redirect_uri","protocol","port","response_type","scope","authority","post_logout_redirect_uri","silent_redirect_uri","automaticSilentRenew","filterProtocolClaims","loadUserInfo","userStore","WebStorageStateStore","localStorage","userManager","createUserManager","CustomButton","fill","simple","pullRight","block","wd","round","icon","neutral","twitter","facebook","google","linkedin","pinterest","youtube","tumblr","github","behance","dribbble","reddit","stumbleupon","rest","btnClasses","cx","Button","className","Card","hidden","calendar","plain","wizard","commandBar","title","category","textCenter","ctAllIcons","ctFullWidth","ctTextCenter","tableFullWidth","content","stats","legend","ftTextCenter","LoadingIcon","fullScreen","Row","Col","xs","loadingFailed","isLoading","text","success","getClaimArray","typename","claims","matches","filter","obj","push","value","getClaimSingle","checkDashboardAccess","dashboardRoute","profileClaim","requireClaim","item","requireClaimValue","openInNewTabOrDont","standalone","navigator","userAgent","toLowerCase","safari","test","openInBlank","open","BplExternalLink","handleClick","bind","linkToken","bplBaseUrl","_this","token","documentElement","classList","toggle","openInNewTab","encodeURIComponent","to","showAsText","onClick","active","bsStyle","connect","UtbExternalLink","externalUserId","companyId","displayName","email","MedarbetarundersokningButton","id","KrishanteringButton","HeaderLinks","extended","path","Nav","NavDropdown","onToggle","isToggled","noCaret","bsClass","MenuItem","eventKey","maxWidth","handleLinkClick","removeUser","signoutRedirect","id_token_hint","clear","minWidth","Navbar","Form","StatsCard","bigIcon","statsText","statsValue","statsIconText","withTime","moment","format","withTimeSeconds","MobileDesktop","handleWindowSizeChange","width","innerWidth","addEventListener","removeEventListener","mobileView","desktopView","AktuelltUppdrag","handleAcceptUppdrag","fetchAktuelltBplUppdrag","sendAcceptSchema","passStartSchemapostId","bekraftad","disabled","canBekrafta","beskrivning","schemaPostId","undo","post","Time","withSeconds","UppdragTable","Table","striped","hover","responsive","map","row","key","subrow","showFramAter","ejFramAterkorning","starttid","sluttid","tjanst","fordonStr","startplats","slutplats","anmarkning","renderList","HuvudUppdragTable","turStarttid","UppdragCards","Grid","fluid","renderCard","HuvudUppdragCards","locale","BplMinaUppdrag","showDetails","uppdragDate","handleDetailsCheckbox","handleFramAterCheckbox","handleUppdragDateChange","fetchBplUppdrag","toISOString","prevState","date","linkKororder","FormGroup","inputProps","placeholder","dateFormat","timeFormat","closeOnSelect","onChange","ButtonGroup","BplGodkannaTid","handleAcceptTidrapport","fetchGodkandTidrapport","sendLamnaTidrapport","isSubmitted","isApproved","isRevertable","period","passCount","tidrapportId","TidrapportId","Undo","NewsItemCompact","publishedString","publishedDate","dangerouslySetInnerHTML","__html","introText","authorName","StartNewsListView","regionTitle","getRegionNewsCompact","getKoncernNewsCompact","intraCompanyArea","items","index","page","isLocalhost","Boolean","match","registerValidSW","swUrl","serviceWorker","register","registration","onupdatefound","installingWorker","installing","onstatechange","controller","onUpdate","onSuccess","unregister","ready","DebugInfo","appConfig","showDebug","BuildNumber","fileVersion","processVersion","process","hasServiceWorker","getRegistration","reg","response","update","setTimeout","reload","handleNewAppClick","toString","Start","showNews","showTimereport","showMinaUppdrag","blackListEnabled","sm","BplMinaUppdragPage","FordonsFelList","faultCategoryName","NyttFordonsFelForm","categoryError","categoryValid","reportText","reportTextError","reportTextValid","event","target","validateCategory","validateReportText","fault","faultCategoryNumber","vehicleNumber","selectedVehicleId","addVehicleFault","vehicleFault","reset","ControlLabel","FormControl","componentClass","handleCategoryChange","handleReportTextChange","handleSaveSubmit","isLoadingvehicleCategories","SelectVehicleForm","getSuggestionValue","suggestion","renderSuggestion","getSuggestions","inputValue","trim","includes","onSuggestionsFetchRequested","suggestions","onSuggestionsClearRequested","onSuggestionSelected","suggestionValue","vehicle","handleSelectVehicle","number","newValue","onBlur","vehicleError","alwaysRenderSuggestions","shouldRenderSuggestions","Fordonskontroll","vehicleReg","requiredLabel","IncidentCard","showMore","skapadDatum","rubrik","incidentDatum","skapadAv","incidentAnsvarig","atgard","plats","renderDetaljer","typ","forsakring","registreringsNummer","internnummer","skadeplatskategori","polis","raddningstjanst","skadaPaFordon","forsakringsKategori","kategoriSpecificering","ersattningsfordon","synligaSkador","personskadekontaktuppgifter","motpartskontaktuppgifter","hallplatsInfo","hallplatskategori","handelseBeskrivning","arbetsMiljo","personskador","arbetsmoment","vadHande","varNagot","forhallanden","hotOchVald","externaPersonskadorInfo","IncidentCardList","lg","IncidentList","showAtgard","atgardText","detaljerItem","showDetaljer","bsSize","showAtgardInfo","showDetaljerInfo","Modal","show","onHide","handleClose","Header","closeButton","Title","Body","Footer","dialogClassName","handleDetaljerClose","fordonsskada","fordon","blodprov","antalPassagerare","vittnen","matarstallning","trafikinformation","Incidentrapporter","showNewForm","fetchIncidentRapporter","SavingButton","inProgressText","completeMessage","errorMessage","CustomCheckbox","is_checked","isChecked","label","inline","classes","checked","htmlFor","FormArbetsmiljo","getInititalState","datumError","platsError","fordonError","arbetsmoment_eget","vadHande_eget","varNagot_eget","forhallanden_eget","forslag_eget","savingStatus","file","attachmentNames","triggerInputFile","fileInput","click","handleFormSave","datumIsValid","platsIsValid","fordonIsValid","isValid","checkIfVehicleExists","vehicleName","validateFordon","validateDatum","validatePlats","el","rowItem","newArbetsmoment","newVadHande","newVarNagot","newForhallanden","newForslag","saveData","Datum","Plats","Fordon","Personskador","Arbetsmoment","VadHande","VarNagot","Forhallanden","Forslag","AttachmentUploadBlobNames","order","addIncident","resetForm","e","preventDefault","files","fileUpload","axiosConfig","formData","FormData","append","ref","onFileUploadChange","onAddImageClick","onRemoveImageItem","decodeURI","shortName","replace","handleDatumChange","defaultValue","handlePlatsChange","onText","offText","handlePersonskadorChange","handleArbetsmomentChange","handleArbetsmomentEgetChange","handleVadHandeChange","handleVadHandeEgetChange","handleVarNagotChange","handleVarNagotEgetChange","handleForhallandenChange","handleForhallandenEgetChange","handleForslagChange","handleForslagEgetChange","FormHotOchVald","handelseBeskrivningError","externaPersonskador","handelseBeskrivningIsValid","validateHandelseBeskrivning","HandelseBeskrivning","ExternaPersonskadorInfo","handleHandelseBeskrivningChange","handleExternaPersonskadorChange","handleExternaPersonskadorInfoChange","FormTrafikinformation","hallplatskategoriError","hallplatskategoriIsValid","validateHallplatskategori","Hallplatskategori","handleHallplatskategoriChange","FormFordonsskada","forsakringskategoriError","tid","tidError","skadeplatskategoriError","skadapafordon","forsakringskategori","kategorispecificering","synligaskadorbool","synligaskador","personskadabool","personskada","matarstallningError","antalpassagerare","antalpassagerareError","motpartkontaktuppgifter","motpartkontaktuppgifterRegnr","kategori","vagensBredd","vagensBreddError","estimatedDistanceRightHandSideOfRoad","estimatedDistanceRightHandSideOfRoadError","handleFordonChange","mergeContactUppgift","regnr","tidIsValid","forsakringskategoriIsValid","skadeplatskategoriIsValid","antalPassagerareIsvalid","matarstallningIsValid","vagensBreddIsvalid","estimatedDistanceRightHandSideOfRoadIsvalid","kategorispecOptions","isNaN","disableFK","validateTid","newSkadeplatskategori","validateSkadeplatskategori","validateForsakringskategori","validateAntalPassagerare","validateVagensBredd","validateEstimatedDistanceRightHandSideOfRoad","validateMatarstallning","Skadeplatskategori","Polis","Blodprov","Vittnen","Matarstallning","AntalPassagerare","Raddningstjanst","SkadaPaFordon","ForsakringsKategori","getForsakringsKategoriName","KategoriSpecificering","Ersattningsfordon","SynligaSkador","Personskadekontaktuppgifter","Motpartskontaktuppgifter","VagensBredd","AvstandTillVagensSida","handleTidChange","handleSkadeplatskategoriChange","handlePolisChange","handleRaddningstjanstChange","handleSkadaPaFordonChange","handleBlodProvChange","handleForsakringskategoriChange","handleKategorispecificeringChange","handleVagensBreddChange","handleEstimatedDistanceRightHandSideOfRoadChange","handleErsattningsfordonChange","handleSynligaSkadorBoolChange","handleSynligaSkadorChange","handlePersonSkadaBoolChange","handlePersonSkadaChange","handleMotpartskontaktuppgifterRegnrChange","handleMotpartskontaktuppgifterChange","handleVittnenChange","handleAntalPassagerareChange","handleMatarstallningChange","FormH","addNewMode","fetchFormOptions","mode","selectAddNewMode","switchAddNewForm","formOptionstimestamp","LonebeskedButton","loading","dataItem","salaryPeriodId","pdf","filename","linkSource","downloadLink","setAttribute","body","downloadPDF","pdfStr","salaryPeriodName","LonebeskedList","salaryPeriodPaymentDate","KontekOnlineLonebesked","getLonespec","FormElement","values","touched","handleChange","handleBlur","readOnly","addonBefore","getFormControl","controlId","validationState","Fragment","InputGroup","Addon","Feedback","HelpBlock","Static","ErrorList","flatErrors","ListGroup","validationSchema","Yup","shape","firstName","required","lastName","address","zipCode","city","phoneNumber","relativeName","relativePhone","UserPersonalDetailsForm","scrollToTop","scrollTo","top","behavior","handleSubmitForm","setSubmitting","setStatus","postValues","handleSuccessfulUpdate","errorStatus","modelState","general","errorSaving","newNumber","substring","userDetails","formatPhoneNumberOnLoad","initialValues","enableReinitialize","onSubmit","handleSubmit","isSubmitting","Alert","Panel","Heading","md","abortEdit","UserPersonalDetails","loadUserDetails","dataresult","relativeRelation","userDetailsLoaded","userDetailsLoadError","behaviour","editIsActive","successfulUpdate","spinner","newUserDetails","divLabelStyle","fontSize","UserInfo","showAdvanced","arrayOrString","Array","isArray","AttachmentListItem","isDownloading","extension","downloadAttachment","attachment","fileUrl","renderIcon","fileExtension","NewsComment","editMode","showDelete","isDeleting","isSaving","commentError","savingFailed","isCommentValid","bodyText","delete","_handleDelete","validateComment","newsItemId","maxLength","String","saveEditComment","overflowWrap","createdDate","canEdit","deleteComment","NewsComments","collapsed","comments","loadingComments","newCommentBodyText","isAddingComment","addingCommentFailed","loadingCommentsFailed","a","commentIsValid","loadComments","validateCommentBox","newsId","comment","handleDeleteComment","addComment","NewsItem","getImages","newsImages","querySelectorAll","getAttribute","imageId","newEl","src","contentType","cssText","margin","marginBottom","parentNode","replaceChild","newsAttachments","RegionNewsListView","pages","totalRecords","getRegionNews","buttonClass","nextProps","Math","ceil","KoncernNewsListView","getKoncernNews","RegionNewsShowFull","params","KoncernNewsShowFull","ShowIntyg","downloadIntyg","linkFilename","Utvardering","val1Error","utbildningsort","val1","val2","val3","val4","val5","val6","val7","val8","synpunkter","ovrigt","validated","ortIsValid","val1IsValid","val2IsValid","val3IsValid","val4IsValid","val5IsValid","val6IsValid","val7IsValid","val8IsValid","val2Error","val3Error","val4Error","val5Error","val6Error","val7Error","val8Error","ortError","addUtvardering","_d","va1Error","handleDate","Radio","Intyg","ForslagForm","rubrikIsValid","rubrikError","bolagError","bolagIsValid","beskrivningIsValid","beskrivningError","validateRubrik","validateBeskrivning","validateBolag","Rubrik","Bolag","Beskrivning","fetchBolag","renderForm","handleRubrikChange","handleBolagChange","handleBeskrivningChange","loadingIcon","ForslagCard","datumForslag","kommentarer","atgarder","ForslagCardList","ForslagList","atgardTitle","Forslagslada","handleShowNewForm","Busschaufforer","KommunikationsSamordnare","Trafikledare","Krisledare","CheckList","positions","indexOf","KommunikationSamordnare","renderChecklist","DocumentList","handleDownloadFile","fetchDocumentsByCompanyArea","downloadDocumentFileByCompanyArea","BossInfo","fetchBossInfo","firstname","lastname","telephoneNumber","mobileNumber","Krishantering","Tjansteman","arbetsmiljo1","arbetsmiljo1IsValid","arbetsmiljo4IsValid","arbetsmiljo5IsValid","arbetsmiljo6IsValid","arbetsmiljo7IsValid","arbetsmiljo8IsValid","arbetstriv3IsValid","arbetstriv4IsValid","arbetstriv5IsValid","arbetstriv6IsValid","ledarskapet4IsValid","ledarskapet5IsValid","ledarskapet6IsValid","ledarskapet7IsValid","arbetsuppgifter1IsValid","arbetsuppgifter4IsValid","arbetsuppgifter5IsValid","information3IsValid","information4IsValid","information6IsValid","information7IsValid","kunder1IsValid","kunder2IsValid","kunder3IsValid","kunder4IsValid","foretaget1IsValid","foretaget2IsValid","arbetsmiljo1Error","arbetsmiljo4Error","arbetsmiljo5Error","arbetsmiljo6Error","arbetsmiljo7Error","arbetsmiljo8Error","arbetstriv3Error","arbetstriv4Error","arbetstriv5Error","arbetstriv6Error","ledarskapet4Error","ledarskapet5Error","ledarskapet6Error","ledarskapet7Error","arbetsuppgifter1Error","arbetsuppgifter4Error","arbetsuppgifter5Error","information3Error","information4Error","information6Error","information7Error","kunder1Error","kunder2Error","kunder3Error","kunder4Error","foretaget1Error","foretaget2Error","arbetsmiljo4","arbetsmiljo5","arbetsmiljo6","arbetsmiljo7","arbetsmiljo8","arbetsmiljo9","arbetstriv3","arbetstriv4","arbetstriv5","arbetstriv6","arbetstriv7","ledarskapet4","ledarskapet5","ledarskapet6","ledarskapet7","ledarskapet8","arbetsuppgifter1","arbetsuppgifter4","arbetsuppgifter5","arbetsuppgifter6","information3","information4","information5","information6","information7","kunder1","kunder2","kunder3","kunder4","kunder5","foretaget1","foretaget2","foretaget3","foretaget4","utvecklingsprojekt1","kortfri1","buttonerror","buttonmessage","buttonerror2","arbetsmiljo2IsValid","arbetsmiljo3IsValid","arbetsmiljo9IsValid","arbetstriv1IsValid","arbetstriv2IsValid","arbetstriv7IsValid","ledarskapet1IsValid","ledarskapet2IsValid","ledarskapet3IsValid","ledarskapet8IsValid","arbetsuppgifter2IsValid","arbetsuppgifter3IsValid","arbetsuppgifter6IsValid","kompetensutv1IsValid","kompetensutv2IsValid","kompetensutv3IsValid","kompetensutv4IsValid","kompetensutv5IsValid","information1IsValid","information2IsValid","information5IsValid","kunder5IsValid","foretaget3IsValid","foretaget4IsValid","arbetsmiljo2Error","arbetsmiljo3Error","arbetstriv1Error","arbetstriv2Error","ledarskapet1Error","ledarskapet2Error","ledarskapet3Error","arbetsuppgifter2Error","arbetsuppgifter3Error","kompetensutv1Error","kompetensutv2Error","kompetensutv3Error","kompetensutv4Error","information1Error","information2Error","arbetsmiljo2","arbetsmiljo3","arbetstriv1","arbetstriv2","ledarskapet1","ledarskapet2","ledarskapet3","arbetsuppgifter2","arbetsuppgifter3","kompetensutv1","kompetensutv2","kompetensutv3","kompetensutv4","kompetensutv5","information1","information2","utvecklingsprojekt2","Medarbetarundersokning","Percentage","percentageValue","maxDecimals","parseFloat","toFixed","LeafPercentageIcon","Number","decimals","nullChar","EcoDriving","detailsDate","fetchEcodrivingDetail","fetchEcodrivingOverview","ecoIndexDay","dayLabel","ecoIndexWeek","weekLabel","ecoIndexMonth","monthLabel","ecoIndexPrevMonth","newDate","colSpan","prop","turbeskrivning","fordonRegistreringsnummer","ecoIndex","distance","outsideTemp","avgFuelUsed","Schema","maxYear","getFullYear","minYear","months","yearError","year","month","getMonth","monthError","yearIsValid","fetchSchema","validateYear","handleYearChange","handleMonthChange","colspan","starttidDayName","Currency","IncidentListTable","rowsIsLoading","rowsLoadingFailed","rows","resultList","reparationskostnad","totalPersonal","IncidentListCards","SummaCard","ColViewSwitch","ForsakringUppfoljning","fetchForsakringUppfoljning","totalDepa","renderSummaCard1","renderSummaCard2","renderCommandBar","renderSmall","renderLarge","Reset","onResetClick","showResetButton","DashboardHelp","dashboardRoutes","component","collapse","childRoutes","NyheterRegionList","mini","NyheterKoncernList","KoncernNyhet","hideFromMenu","RegionNyhet","BplSchema","IncidenterFormH","Utbildning","instrumentationKey","dashboard","logoSmall","logo","sideBarBg","headerLinks","outputToConsole","Forare","fetchDocumentsByCompanyPosition","downloadDocumentFileByCompanyPosition","pathFileName","KrishanteringVH","fetchDocuments","downloadDocumentFile","PolicyDocs","PolicyRutiner","DocsExternalLink","ExternalLink","secondaryCompany","utbildningUrl","lediaTjansterUrl","dockstabtlink","renderDockstaLink","infra","Collapse","showLedigaTjanster","showForarTavlan","showPolicyRutiner","showBusskartor","showWebidha","td2prodConfig","localConfig","compose","applyMiddleware","thunk","promise","next","routerMiddleware","browserHistory","insightsMonitor","createStore","createStoreWithMiddleware","loadUser","App","logoStyle","height","marginTop","titleStyle","lineHeight","color","marginLeft","SimpleStandaloneHeader","alt","LoginPage","showRedirectText","redirectFailed","login","signinRedirect","respone","HelpPage","ConfigDescription","getConfigurationDescription","Diagnostics","CallbackPage","successCallback","errorCallback","bgImage","backgroundImage","Sidebar","openAvatar","isWindows","platform","routeName","pathname","updateDimensions","data-color","data-image","st","activeRoute","in","activeClassName","redirect","handleMinimizeSidebar","mobileSidebarToggle","Brand","makeBrand","Toggle","transparent","NoAccess","Main","_notificationSystem","refs","notificationSystem","childrenWithExtraProp","Children","child","cloneElement","router","onUpdateSize","_scrollBarRef","updateScroll","routes","returnValue","foundReturnValue","forEach","route","matchingRoutes","checkDashboardRouteAccess","UserProfileHC","getUserProfile","Dashboard","isLoadingUser","expired","LoggedOutPage","logoutFinished","history","syncHistoryWithStore","ReactAI","init","indexRoute","onEnter","nextState","MyCallbackPage","Routes","processSilentRenew","ReactDO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AM,IACNhvC,KAAM,WAER,CACEyT,KAAM,qCACNzT,KAAM,QACNwN,KAAM,gBACNohC,UAAWM,GACXF,KAAM,IACNG,cAAc,GAEhB,CACE17B,KAAM,oCACNzT,KAAM,QACNwN,KAAM,gBACNohC,UAAWQ,GACXJ,KAAM,IACNG,cAAc,KAIpB,CACE17B,KAAM,yBACNzT,KAAM,eACNwN,KAAM,qBACNohC,UAAWlxB,IAEb,CACEjK,KAAM,oBACNzT,KAAM,SACNwN,KAAM,cACNohC,UAAWS,IAEb,CACE57B,KAAM,6BACNzT,KAAM,kBACNwN,KAAM,YACNohC,UAAWluB,IAEb,CACEjN,KAAM,wBACNzT,KAAM,aACNwN,KAAM,cACNohC,UAAWhqB,IAEb,CACEnR,KAAM,yBACNzT,KAAM,eACNwN,KAAM,cACNohC,UAAWU,IAEb,CACE77B,KAAM,2BACNzT,KAAM,gBACNwN,KAAM,cACNohC,UAAW/N,IAEb,CACEptB,KAAM,6BACNzT,KAAM,mBACNwN,KAAM,cACNohC,UAAWuB,IAEb,CACE18B,KAAM,qBACNzT,KAAM,qBACNwN,KAAM,gBACNohC,UAAWpP,IAEb,CACE/rB,KAAM,sBACNzT,KAAM,yBACNwN,KAAM,aACNohC,UAAWnY,IAEb,CACEhjB,KAAM,wBACNzT,KAAM,qBACNwN,KAAM,aACNohC,UAAW7D,IAEb,CACEt3B,KAAM,mCACNzT,KAAM,kCACNwN,KAAM,aACNohC,UAAWb,IAEb,CAEEt6B,KAAM,wBACNzT,KAAM,mBACNwN,KAAM,cACNohC,UAAWW,IAEb,CAEE97B,KAAM,oCACNzT,KAAM,4BACNwN,KAAM,cACNohC,UAAWvE,GACX8E,cAAc,GAEhB,CACE17B,KAAM,oBACNzT,KAAM,mBACNwN,KAAM,iBACNohC,UAAW2B,IAEb,CACE98B,KAAM,8BACNzT,KAAM,uBACNwN,KAAM,eACNohC,UAAW7c,IAEb,CACEte,KAAM,kBACNzT,KAAM,WACNwN,KAAM,cACNohC,UAAWF,KC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M,IACNhvC,KAAM,WAER,CACEyT,KAAM,qCACNzT,KAAM,QACNwN,KAAM,gBACNohC,UAAWM,GACXF,KAAM,IACNG,cAAc,GAEhB,CACE17B,KAAM,oCACNzT,KAAM,QACNwN,KAAM,gBACNohC,UAAWQ,GACXJ,KAAM,IACNG,cAAc,KAIpB,CACE17B,KAAM,yBACNzT,KAAM,eACNwN,KAAM,qBACNohC,UAAWlxB,IAEb,CACEjK,KAAM,oBACNzT,KAAM,SACNwN,KAAM,cACNohC,UAAWS,IAEb,CACE57B,KAAM,6BACNzT,KAAM,kBACNwN,KAAM,YACNohC,UAAWluB,IAEb,CACEjN,KAAM,wBACNzT,KAAM,aACNwN,KAAM,cACNohC,UAAWhqB,IAEb,CACEnR,KAAM,yBACNzT,KAAM,eACNwN,KAAM,cACNohC,UAAWU,GACXH,cAAa,GAEf,CACE17B,KAAM,2BACNzT,KAAM,gBACNwN,KAAM,cACNohC,UAAWuB,IAEb,CACE18B,KAAM,qBACNzT,KAAM,qBACNwN,KAAM,gBACNohC,UAAWpP,IAEb,CACE/rB,KAAM,sBACNzT,KAAM,yBACNwN,KAAM,aACNohC,UAAWnY,GACX0Y,cAAc,GAEhB,CACE17B,KAAM,wBACNzT,KAAM,qBACNwN,KAAM,aACNohC,UAAW7D,GACXoE,cAAc,GAEhB,CACE17B,KAAM,mCACNzT,KAAM,kCACNwN,KAAM,aACNohC,UAAWb,IAEb,CAEEt6B,KAAM,wBACNzT,KAAM,mBACNwN,KAAM,cACNohC,UAAWW,GACXJ,cAAc,GAEhB,CACE17B,KAAM,oBACNzT,KAAM,mBACNwN,KAAM,iBACNohC,UAAW2B,IAEb,CACE98B,KAAM,kBACNzT,KAAM,WACNwN,KAAM,cACNohC,UAAWF,KDnIXgB,UAAWC,KACXC,UAAWA,KACXC,YAAat8B,GACboa,WAAW,GEsIAghB,GAlIO,CACpB,CACEl7B,KAAM,mBACNzT,KAAM,QACNwN,KAAM,mBACNohC,UAAWxxB,IAEb,CACE3J,KA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P,GAEtCyrC,MAAMj8B,GACHvc,MAAK,SAAA8d,GAEJ,IAAMod,EAAcpd,EAAS5e,QAAQa,IAAI,gBAEnB,MAApB+d,EAAS1R,QACO,MAAf8uB,IAA8D,IAAvCA,EAAY8F,QAAQ,cAG5C1uB,UAAUkK,cAAcW,MAAMnd,MAAK,SAAA0c,GACjCA,EAAaQ,aAAald,MAAK,WAC7BxB,OAAOC,SAASwf,eAKpB3B,GAAgBC,EAAOxP,MAG1B1K,OAAM,WACLlB,QAAQC,IACN,oEArFAq3C,CAAwBl8B,EAAOxP,GAI/BuF,UAAUkK,cAAcW,MAAMnd,MAAK,WACjCmB,QAAQC,IACN,gHAMJkb,GAAgBC,EAAOxP,O0HP/ByP,I","file":"static/js/main.dfabb6c2.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/logo-small.335e046c.png\";","module.exports = __webpack_public_path__ + \"static/media/sidebar-bg.58666ce4.jpg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABGCAYAAAAD4YAyAAAABmJLR0QAhACEAISxzFlIAAAACXBIWXMAAHsIAAB7CAF4JB2hAAAAB3RJTUUH4wkCCDgHfPURlgAAB/5JREFUeNrtnX2MFOUdxz+zL/fmth7LATZSwstxBlvODTGHNhPFs2lpa7SiUKlgFHO16Qs2NeZqtElrg+lWbdJSYw00QEOF1pdC1dp4ChQWCotth6JgKUXhvCuHx5wcy8Ht7e70j+e5dFnvZXZ3Zjg6zzfZZGdv5nnm2c/+fs9vnuf3PAdKSkpKSkpKY1GaHxudam2KAbpH1Z2MxJMbBg8S0VgQ+BYQcam+00Cu4LPtIZ/+wE8CK4CPe1DXfmBD3nEEeAyo8aitu4B1AT9SjsST7cBTHlX3YcFxvYeQDwILdNM4HcC/Wgmc8qCezoLjz3jUvneBm3TT6ALwLehIPPkfYJ0HVb2d1z9rwHwP6uyQkI8MfuBni0a6734P+shBXQY0ewB5vm4aB/I/9DvoQ8B2F8vvBd7MO14MVL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9597DCoHFE4pjfeozY/ItdG+UihvMOQ52UdaQ0CxE1hZRZzXCfQMcS9epOPWI1KKf+U70Ijdc24e5jm3z0Y5ffLc0dQrQeeGOH8R3k0p+jpRUElJSUlJSWns6L8LFkwqEZDF1AAAAABJRU5ErkJggg==\"","module.exports = __webpack_public_path__ + \"static/media/sidebar-bg.58666ce4.jpg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdYAAAFICAYAAADtdt9pAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH4gkZCDYm4lsvfQAAC95JREFUeNrt3U1uLEUThtE28pIQrIGZl8rMawCxJzNqZCF3d/1EVmZEnDNDQh/X7ap86u2v7Xu7AQAAAAAAAAAAAAAAQGmft4+vz9vH15Z/983LBQA/x/T7P/9x+3NTM4UVAB7EdG9UhRUAngR1b1SFFQAxfWJvVIUVADENjKqwAiCmgVEVVgAENTCqwgqAmAZGVVgBaB/TyKgKKwCtYxoV1b/+/udLWAFoHdOzUf0eU4sVgPZBPRLVRzG9+/23X9/efvrDR73PDACrxfRIVF8F9R7VHxfr9y9GYAGoFNM9fdsS0/9H9cewPvoCRRaAzDHd0rI9Mf0pqk/D+ugLFlgAMsX0Vb+OxPRRVF+G9dULILIArBzTZ706E9RHUd0UVoEFIGNMZ0R1V1i3vEgCCyCmK/15ro7q7rDueeFEFkBQu0X1cFj3vIgCCyCkXaJ6KqxHXlyRBRDTq4N6NqpbgxoW1iMvtsACiGmllRoe1jPfAJEFENMqUQ0P65lviMACiGn2qA4Ja8Q3SWQBhDRjVIeGNeIbJ7AAYrqnD7OjOjyskd9MkQXoHdORKzUqqpeFNfqbK7IAfUKaKaqXhlVgAcR0tahGBnVaWEddCCILCKmozo7q1LCOvDhEFhDRukFdOarTw3rFhSOygJBaqVdFdZmwXnVBiSwgpKI6+s/+1vVCE1lAREW1TVivvgBFFhDRNYMaEdWrgrp8WGddnCILiKeVWjqsMy9gk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TEFYQWr/bFwAAAAAAAAAAAAAAAAAAgAn+BXAaoYuMCbFsAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/sidebar-bg.3b3892d1.jpg\";","module.exports = __webpack_public_path__ + \"static/media/logo-small.9dd0d8dd.png\";","module.exports = __webpack_public_path__ + \"static/media/sidebar-bg.3b3892d1.jpg\";","import React from \"react\";\r\n\r\nclass ErrorBoundaryGlobal extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = { hasError: false };\r\n }\r\n \r\n componentDidCatch(error, info) {\r\n // Display fallback UI\r\n this.setState({ hasError: true });\r\n // You can also log the error to an error reporting service\r\n // logErrorToMyService(error, info);\r\n // console.log('ERRRORRRR', error, info);\r\n }\r\n \r\n render() {\r\n if (this.state.hasError) {\r\n // You can render any custom fallback UI\r\n return

Något gick fel.

;\r\n }\r\n return this.props.children;\r\n }\r\n }\r\n \r\n export default ErrorBoundaryGlobal;","\r\nexport const AUTH_LOGOUTINPROGRESS = \"AUTH_LOGOUTINPROGRESS\";\r\nexport const AUTH_LOGOUTFINISHED = \"AUTH_LOGOUTFINISHED\";\r\n\r\nexport function logoutInProgress() {\r\n return {\r\n type: AUTH_LOGOUTINPROGRESS\r\n };\r\n}\r\n\r\nexport function logoutFinished() {\r\n return {\r\n type: AUTH_LOGOUTFINISHED\r\n };\r\n\r\n}","import { AUTH_LOGOUTFINISHED, AUTH_LOGOUTINPROGRESS } from \"system/actions/authHelper.js\";\r\n\r\nconst initialState = {\r\n logoutInProgress: false\r\n};\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case AUTH_LOGOUTFINISHED:\r\n return {...state, logoutInProgress: false } \r\n case AUTH_LOGOUTINPROGRESS:\r\n return {...state, logoutInProgress: true } \r\n default:\r\n return state;\r\n }\r\n}\r\n\r\n","export const LOAD_SUBSCRIPTIONS_START =\r\n \"redux-oidc-sample/LOAD_SUBSCRIPTIONS_START\";\r\nexport const LOAD_SUBSCRIPTIONS_SUCCESS =\r\n \"redux-oidc-sample/LOAD_SUBSCRIPTIONS_SUCCESS\";\r\n\r\n\r\nexport function loadSubscriptionsStart() {\r\n return {\r\n type: LOAD_SUBSCRIPTIONS_START\r\n };\r\n}\r\n\r\nexport function loadSubscriptionsSuccess(channels) {\r\n return {\r\n type: LOAD_SUBSCRIPTIONS_SUCCESS,\r\n payload: channels\r\n };\r\n}\r\n\r\n// felmeddelanden\r\nexport const ERRORMESSAGES_ADD = \"ERRORMESSAGES_ADD\";\r\nexport const ERRORMESSAGES_CLEAR = \"ERRORMESSAGES_CLEAR\";\r\n\r\nexport function clearErrors(){\r\n return {\r\n type: ERRORMESSAGES_CLEAR\r\n };\r\n}\r\n\r\n","import { LOAD_SUBSCRIPTIONS_SUCCESS } from \"../actions\";\r\nimport { SESSION_TERMINATED, USER_EXPIRED } from \"redux-oidc\";\r\n\r\nconst initialState = {\r\n channels: []\r\n};\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case SESSION_TERMINATED:\r\n case USER_EXPIRED:\r\n return Object.assign({}, state, { channels: [] });\r\n case LOAD_SUBSCRIPTIONS_SUCCESS:\r\n return Object.assign({}, state, { channels: action.payload });\r\n default:\r\n return state;\r\n }\r\n}\r\n\r\n","export const infraConfig = {\r\n apiEndpoint : \"https://minsidadev-be.azurewebsites.net/api1\",\r\n usePort: false,\r\n clientId: '0f7a3860-6f61-40a6-9684-65a00904e148', // minsida client\r\n identityServerEndpoint : \"https://login.windows.net/portalplusdemo.onmicrosoft.com/v2.0/\",\r\n documentsUrl: \"https://minsidadev-be.azurewebsites.net/docs\"\r\n};\r\n\r\n","export const infraConfig = {\r\n apiEndpoint : \"https://minsidabn-be.azurewebsites.net/api1\",\r\n usePort: false,\r\n clientId: '417acfec-5b81-4d91-8a43-05a6a355f561', \r\n identityServerEndpoint : \"https://login.microsoftonline.com/bybnor.onmicrosoft.com/v2.0\",\r\n documentsUrl: \"https://minsidabn-docs.azurewebsites.net\"\r\n};\r\n\r\n","export const infraConfig = {\r\n apiEndpoint : \"https://minsidatd2-be.azurewebsites.net/api1\",\r\n usePort: false,\r\n clientId: '9f380a1c-9111-4ea1-9106-a82103892d80', \r\n identityServerEndpoint : \"https://login.microsoftonline.com/b4518aa8-0d3e-4d10-bc77-4cd7dede3446/v2.0\",\r\n documentsUrl: \"https://minsidatd-docs.azurewebsites.net\"\r\n};\r\n\r\n","export const infraConfig = {\r\n apiEndpoint : \"https://minsidavh-be.azurewebsites.net/api1\",\r\n usePort: false,\r\n clientId: 'f8c2f6b2-b975-4477-8b8f-a37d00f3ee1e', \r\n identityServerEndpoint : \"https://login.microsoftonline.com/vastanhede.onmicrosoft.com/v2.0\",\r\n documentsUrl: \"https://minsidavh-docs.azurewebsites.net\"\r\n};\r\n\r\n","export const infraConfig = {\r\n apiEndpoint : \"https://minsidafalcks-be.azurewebsites.net/api1\",\r\n usePort: false,\r\n clientId: 'f2c03726-0a96-4822-adc3-da0f408d35f0', \r\n identityServerEndpoint : \"https://login.microsoftonline.com/falcksomnibus.onmicrosoft.com/v2.0\",\r\n documentsUrl: \"https://minsidafalcks-docs.azurewebsites.net\"\r\n};\r\n\r\n","import { infraConfig as devConfig } from './dev/infraConfig';\r\nimport { infraConfig as bnprodConfig } from './bnprod/infraConfig';\r\nimport { infraConfig as bnprodConfigStaging } from './bnprod/infraConfigStaging';\r\nimport { infraConfig as tdprodConfig2 } from './td2prod/infraConfig';\r\nimport { infraConfig as tdprodConfigStaging2 } from './td2prod/infraConfigStaging';\r\nimport { infraConfig as vhprodConfig } from './vhprod/infraConfig';\r\nimport { infraConfig as vhprodConfigStaging } from './vhprod/infraConfigStaging';\r\nimport { infraConfig as falcksprodConfig } from './falcksprod/infraConfig';\r\nimport { infraConfig as falcksprodConfigStaging } from './falcksprod/infraConfigStaging';\r\nimport { infraConfig as localConfig } from './local/infraConfig';\r\n\r\nvar hostnameLookup = window.location.hostname;\r\n\r\nconst exportedInfraConfig = hostnameLookup === \"minsidadev.azurewebsites.net\" ? devConfig\r\n: hostnameLookup === \"minsidabn.azurewebsites.net\" ? bnprodConfig\r\n: hostnameLookup === \"minsidabn-staging.azurewebsites.net\" ? bnprodConfigStaging\r\n: hostnameLookup === \"minsida.bybergnordin.se\" ? bnprodConfig\r\n: hostnameLookup === \"minsida.ppsp.se\" ? tdprodConfig2\r\n: hostnameLookup === \"minsidatd2.azurewebsites.net\" ? tdprodConfig2\r\n: hostnameLookup === \"minsidatd2-staging.azurewebsites.net\" ? tdprodConfigStaging2\r\n: hostnameLookup === \"vastanhedeminsida.se\" ? vhprodConfig\r\n: hostnameLookup === \"www.vastanhedeminsida.se\" ? vhprodConfig\r\n: hostnameLookup === \"minsidavh.azurewebsites.net\" ? vhprodConfig\r\n: hostnameLookup === \"minsidavh-staging.azurewebsites.net\" ? vhprodConfigStaging\r\n: hostnameLookup === \"minsidafalcks.azurewebsites.net\" ? falcksprodConfig\r\n: hostnameLookup === \"minsidafalcks-staging.azurewebsites.net\" ? falcksprodConfigStaging\r\n: localConfig;\r\n\r\nexport const infraConfig = exportedInfraConfig;","export const infraConfig = {\r\n apiEndpoint : \"https://minsidabn-be-staging.azurewebsites.net/api1\",\r\n usePort: false,\r\n clientId: '417acfec-5b81-4d91-8a43-05a6a355f561', \r\n identityServerEndpoint : \"https://login.microsoftonline.com/bybnor.onmicrosoft.com/v2.0\",\r\n documentsUrl: \"https://minsidabn-docs.azurewebsites.net\"\r\n};\r\n\r\n","export const infraConfig = {\r\n apiEndpoint : \"https://minsidatd2-be-staging.azurewebsites.net/api1\",\r\n usePort: false,\r\n clientId: '9f380a1c-9111-4ea1-9106-a82103892d80', \r\n identityServerEndpoint : \"https://login.microsoftonline.com/b4518aa8-0d3e-4d10-bc77-4cd7dede3446/v2.0\",\r\n documentsUrl: \"https://minsidatd-docs.azurewebsites.net\"\r\n};\r\n\r\n","export const infraConfig = {\r\n apiEndpoint : \"https://minsidavh-be-staging.azurewebsites.net/api1\",\r\n usePort: false,\r\n clientId: 'f8c2f6b2-b975-4477-8b8f-a37d00f3ee1e', \r\n identityServerEndpoint : \"https://login.microsoftonline.com/vastanhede.onmicrosoft.com/v2.0\",\r\n documentsUrl: \"https://minsidavh-docs.azurewebsites.net\"\r\n};\r\n\r\n","export const infraConfig = {\r\n apiEndpoint : \"https://minsidafalcks-be-staging.azurewebsites.net/api1\",\r\n usePort: false,\r\n clientId: 'f2c03726-0a96-4822-adc3-da0f408d35f0', \r\n identityServerEndpoint : \"https://login.microsoftonline.com/falcksomnibus.onmicrosoft.com/v2.0\",\r\n documentsUrl: \"https://minsidafalcks-docs.azurewebsites.net\"\r\n};\r\n\r\n","export const infraConfig = {\r\n apiEndpoint : \"http://localhost:4001\",\r\n usePort: true,\r\n clientId: '0f7a3860-6f61-40a6-9684-65a00904e148', // minsida client\r\n identityServerEndpoint : \"https://login.windows.net/portalplusdemo.onmicrosoft.com/v2.0/\",\r\n documentsUrl: \"https://minsidabn-docs.azurewebsites.net\"\r\n};\r\n\r\n","\r\nexport function getAxiosConfig (user) {\r\n return {\r\n headers: {\r\n 'Access-Control-Allow-Origin': '*',\r\n 'Authorization':'Bearer '.concat(user.id_token),\r\n 'Content-Type': 'application/json'\r\n }\r\n }\r\n};\r\n","import { DIAGNOSTICS_GETCONFIGDESCRIPTION\r\n } from \"./actions\";\r\n \r\n const initialState = {\r\n configDescription: '' \r\n };\r\n \r\n export default function(state = initialState, action) {\r\n switch (action.type) {\r\n case DIAGNOSTICS_GETCONFIGDESCRIPTION:\r\n return {...state, configDescription: action.payload.data.result } \r\n default:\r\n return state;\r\n }\r\n }","import store from \"system/store\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\n\r\nexport function openFileWindow(url) {\r\n \r\n //console.log('opening url', url);\r\n\r\n // window.open(url, '_blank');\r\n window.location.href = url;\r\n}\r\n\r\n\r\nexport function downloadFile(filurl) {\r\n \r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/spcommon/downloadfile?filurl=').concat(filurl), getAxiosConfig(user))\r\n .then((dataResult) => {\r\n var byte = base64ToArrayBuffer(dataResult.data.result);\r\n var name = filurl.split('/');\r\n var g = name.length-1;\r\n console.log(\"Filename: \" + name.length)\r\n saveByteArray(name[g], byte);\r\n \r\n })\r\n .catch((error) => { \r\n console.log('fel vid filhämtning');\r\n });\r\n \r\n }\r\n \r\n \r\nfunction base64ToArrayBuffer(base64) {\r\n var binaryString = window.atob(base64);\r\n var binaryLen = binaryString.length;\r\n var bytes = new Uint8Array(binaryLen);\r\n for (var i = 0; i < binaryLen; i++) {\r\n var ascii = binaryString.charCodeAt(i);\r\n bytes[i] = ascii;\r\n }\r\n return bytes;\r\n \r\n }\r\n\r\n function saveByteArray(Name, byte) {\r\n var blob = new Blob([byte], {type: \"application/vnd.openxmlformats-officedocument.wordprocessingml.documentapplication/vnd.openxmlformats-officedocument.wordprocessingml.document\"});\r\n var link = document.createElement('a');\r\n link.href = window.URL.createObjectURL(blob);\r\n var fileName = Name;\r\n link.download = fileName;\r\n link.dispatchEvent(new MouseEvent('click', {bubbles: true, cancelable: true, view: window}));\r\n //link.click();\r\n}","import {\r\n LONEBESKED_GET_LONESPEC,\r\n LONEBESKED_GET_LONESPEC_SUCCESS,\r\n LONEBESKED_GET_LONESPEC_FAILED,\r\n LONEBESKED_GET_DOWNLOAD,\r\n LONEBESKED_GET_DOWNLOAD_SUCCESS,\r\n LONEBESKED_GET_DOWNLOAD_FAILED,\r\n} from \"./actions\";\r\nconst initialState = {\r\n lonebesked: [],\r\n isLoadinglonebesked: false,\r\n loadinglonebeskedFailed: false,\r\n\r\n download: [],\r\n isLoadingdownload: false,\r\n loadingdownloadFailed: false,\r\n};\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case LONEBESKED_GET_LONESPEC:\r\n return {...state, isLoadinglonebesked: true, loadinglonebeskedFailed: false }\r\n case LONEBESKED_GET_LONESPEC_SUCCESS:\r\n return {...state, isLoadinglonebesked: false, lonebesked: action.payload.data.result }\r\n case LONEBESKED_GET_LONESPEC_FAILED:\r\n return {...state, isLoadinglonebesked: false,loadinglonebeskedFailed: true, lonebesked: [] }\r\n\r\n case LONEBESKED_GET_DOWNLOAD:\r\n return {...state, isLoadingdownload: true, loadingdownloadFailed: false }\r\n case LONEBESKED_GET_DOWNLOAD_SUCCESS:\r\n return {...state, isLoadingdownload: false, download: action.payload.data.result }\r\n case LONEBESKED_GET_DOWNLOAD_FAILED:\r\n return {...state, isLoadingdownload: false,loadingdownloadFailed: true, download: [] }\r\n\r\n default:\r\n return state;\r\n }\r\n }\r\n","import {\r\n KONTEK_LONEBESKED_GET_LONESPEC,\r\n KONTEK_LONEBESKED_GET_LONESPEC_SUCCESS,\r\n KONTEK_LONEBESKED_GET_LONESPEC_FAILED,\r\n// LONEBESKED_GET_DOWNLOAD,\r\n// LONEBESKED_GET_DOWNLOAD_SUCCESS,\r\n// LONEBESKED_GET_DOWNLOAD_FAILED,\r\n} from \"./actions\";\r\nconst initialState = {\r\n lonebesked: [],\r\n isLoadinglonebesked: false,\r\n loadinglonebeskedFailed: false,\r\n\r\n download: [],\r\n isLoadingdownload: false,\r\n loadingdownloadFailed: false,\r\n};\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case KONTEK_LONEBESKED_GET_LONESPEC:\r\n return {...state, isLoadinglonebesked: true, loadinglonebeskedFailed: false }\r\n case KONTEK_LONEBESKED_GET_LONESPEC_SUCCESS:\r\n return {...state, isLoadinglonebesked: false, lonebesked: action.payload.data.result }\r\n case KONTEK_LONEBESKED_GET_LONESPEC_FAILED:\r\n return {...state, isLoadinglonebesked: false,loadinglonebeskedFailed: true, lonebesked: [] }\r\n\r\n // case LONEBESKED_GET_DOWNLOAD:\r\n // return {...state, isLoadingdownload: true, loadingdownloadFailed: false }\r\n // case LONEBESKED_GET_DOWNLOAD_SUCCESS:\r\n // return {...state, isLoadingdownload: false, download: action.payload.data.result }\r\n // case LONEBESKED_GET_DOWNLOAD_FAILED:\r\n // return {...state, isLoadingdownload: false,loadingdownloadFailed: true, download: [] }\r\n\r\n default:\r\n return state;\r\n }\r\n }\r\n","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\nexport const UTBILDNING_GET_INTYG = \"UTBILDNING_GET_INTYG\";\r\nexport const UTBILDNING_GET_INTYG_SUCCESS = \"UTBILDNING_GET_INTYG_SUCCESS\";\r\nexport const UTBILDNING_GET_INTYG_FAILED = \"UTBILDNING_GET_INTYG_FAILED\";\r\n\r\nexport const UTBILDNING_POST_UTVARDERING = \"UTBILDNING_POST_UTVARDERING_INTYG\";\r\nexport const UTBILDNING_POST_UTVARDERING_SUCCESS =\r\n \"UTBILDNING_POST_UTVARDERING_SUCCESS\";\r\nexport const UTBILDNING_POST_UTVARDERING_FAILED =\r\n \"UTBILDNING_POST_UTVARDERING_FAILED\";\r\n\r\nexport const UTBILDNING_GET_UTVARDERING = \"UTBILDNING_GET_UTVARDERING\";\r\nexport const UTBILDNING_GET_UTVARDERING_SUCCESS =\r\n \"UTBILDNING_GET_UTVARDERING_SUCCESS\";\r\nexport const UTBILDNING_GET_UTVARDERING_FAILED =\r\n \"UTBILDNING_GET_UTVARDERING_FAILED\";\r\n\r\nexport const UTBILDNING_GET_DOWNLOAD = \"UTBILDNING_GET_DOWNLOAD\";\r\nexport const UTBILDNING_GET_DOWNLOAD_SUCCESS =\r\n \"UTBILDNING_GET_DOWNLOAD_SUCCESS\";\r\nexport const UTBILDNING_GET_DOWNLOAD_FAILED = \"UTBILDNING_GET_DOWNLOAD_FAILED\";\r\n\r\nexport function getIntyg() {\r\n return dispatch => {\r\n dispatch({ type: UTBILDNING_GET_INTYG });\r\n\r\n const user = store.getState().oidc.user;\r\n axios\r\n .get(\r\n infraConfig.apiEndpoint.concat(\"/api/intyg/get\"),\r\n getAxiosConfig(user)\r\n )\r\n .then(dataResult =>\r\n dispatch({ type: UTBILDNING_GET_INTYG_SUCCESS, payload: dataResult })\r\n )\r\n .catch(error => {\r\n dispatch({ type: UTBILDNING_GET_INTYG_FAILED });\r\n dispatch({\r\n type: ERRORMESSAGES_ADD,\r\n payload: {\r\n type: \"network\",\r\n message: \"Hämta intyg misslyckades\",\r\n severity: \"warning\"\r\n }\r\n });\r\n });\r\n };\r\n}\r\nexport function sendUtvardering() {\r\n return dispatch => {\r\n dispatch({ type: UTBILDNING_POST_UTVARDERING });\r\n\r\n const user = store.getState().oidc.user;\r\n axios\r\n .get(\r\n infraConfig.apiEndpoint.concat(\"/api/utvardering/send\"),\r\n getAxiosConfig(user)\r\n )\r\n .then(dataResult =>\r\n dispatch({\r\n type: UTBILDNING_POST_UTVARDERING_SUCCESS,\r\n payload: dataResult\r\n })\r\n )\r\n .catch(error => {\r\n dispatch({ type: UTBILDNING_POST_UTVARDERING_FAILED });\r\n dispatch({\r\n type: ERRORMESSAGES_ADD,\r\n payload: {\r\n type: \"network\",\r\n message: \"Skicka utvärdering misslyckades\",\r\n severity: \"warning\"\r\n }\r\n });\r\n });\r\n };\r\n}\r\nexport function getUtvardering() {\r\n return dispatch => {\r\n dispatch({ type: UTBILDNING_GET_UTVARDERING });\r\n\r\n const user = store.getState().oidc.user;\r\n axios\r\n .get(\r\n infraConfig.apiEndpoint.concat(\"/api/utvardering/get\"),\r\n getAxiosConfig(user)\r\n )\r\n .then(dataResult => {\r\n dispatch({\r\n type: UTBILDNING_GET_UTVARDERING_SUCCESS,\r\n payload: dataResult\r\n });\r\n if (dataResult.data.result === false) {\r\n document.getElementById(\"content\").innerHTML =\r\n \"Du har inte gått någon utbildning dom senaste 21 dagarna.\";\r\n }\r\n })\r\n .catch(error => {\r\n dispatch({ type: UTBILDNING_GET_UTVARDERING_FAILED });\r\n dispatch({\r\n type: ERRORMESSAGES_ADD,\r\n payload: {\r\n type: \"network\",\r\n message: \"Hämta utvärdering misslyckades\",\r\n severity: \"warning\"\r\n }\r\n });\r\n });\r\n };\r\n}\r\n\r\nexport function downloadIntyg(filurl) {\r\n return (dispatch) => {\r\n dispatch({type: UTBILDNING_GET_DOWNLOAD});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/spcommon/downloadfile?filurl=').concat(filurl), getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: UTBILDNING_GET_DOWNLOAD_SUCCESS, payload: dataResult});\r\n var byte = base64ToArrayBuffer(dataResult.data.result);\r\n var name = filurl.split('/');\r\n var g = name.length-1;\r\n console.log(\"Filename: \" + name.length)\r\n saveByteArray(name[g], byte);\r\n\r\n })\r\n .catch((error) => { dispatch({type: UTBILDNING_GET_DOWNLOAD_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta Lönespec misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n function base64ToArrayBuffer(base64) {\r\n var binaryString = window.atob(base64);\r\n var binaryLen = binaryString.length;\r\n var bytes = new Uint8Array(binaryLen);\r\n for (var i = 0; i < binaryLen; i++) {\r\n var ascii = binaryString.charCodeAt(i);\r\n bytes[i] = ascii;\r\n }\r\n return bytes;\r\n }\r\n function saveByteArray(Name, byte) {\r\n var blob = new Blob([byte], {\r\n type:\r\n \"application/vnd.openxmlformats-officedocument.wordprocessingml.documentapplication/vnd.openxmlformats-officedocument.wordprocessingml.document\"\r\n });\r\n var link = document.createElement(\"a\");\r\n link.href = window.URL.createObjectURL(blob);\r\n var fileName = Name;\r\n link.download = fileName;\r\n link.dispatchEvent(\r\n new MouseEvent(\"click\", { bubbles: true, cancelable: true, view: window })\r\n );\r\n //link.click();\r\n }\r\n}\r\n","import {\r\n UTBILDNING_GET_INTYG,\r\n UTBILDNING_GET_INTYG_SUCCESS,\r\n UTBILDNING_GET_INTYG_FAILED,\r\n UTBILDNING_GET_UTVARDERING,\r\n UTBILDNING_GET_UTVARDERING_SUCCESS,\r\n UTBILDNING_GET_UTVARDERING_FAILED,\r\n UTBILDNING_GET_DOWNLOAD,\r\n UTBILDNING_GET_DOWNLOAD_SUCCESS,\r\n UTBILDNING_GET_DOWNLOAD_FAILED,\r\n} from \"./actions\";\r\nconst initialState = {\r\n intyg: [],\r\n isLoadingintyg: false,\r\n loadingintygFailed: false,\r\n\r\n utvardering: [],\r\n isLoadingutvardering: false,\r\n loadingutvarderingFailed: false,\r\n};\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case UTBILDNING_GET_INTYG:\r\n return {...state, isLoadingintyg: true, loadingintygFailed: false }\r\n case UTBILDNING_GET_INTYG_SUCCESS:\r\n return {...state, isLoadingintyg: false, intyg: action.payload.data.result }\r\n case UTBILDNING_GET_INTYG_FAILED:\r\n return {...state, isLoadingintyg: false,loadingintygFailed: true, intyg: [] }\r\n\r\n case UTBILDNING_GET_UTVARDERING:\r\n return {...state, isLoadingutvardering: true, loadingutvarderingFailed: false }\r\n case UTBILDNING_GET_UTVARDERING_SUCCESS:\r\n return {...state, isLoadingutvardering: false, utvardering: action.payload.data.result }\r\n case UTBILDNING_GET_UTVARDERING_FAILED:\r\n return {...state, isLoadingutvardering: false,loadingutvarderingFailed: true, utvardering: [] }\r\n\r\n case UTBILDNING_GET_DOWNLOAD:\r\n return {...state, isLoadingdownload: true, loadingdownloadFailed: false }\r\n case UTBILDNING_GET_DOWNLOAD_SUCCESS:\r\n return {...state, isLoadingdownload: false, download: action.payload.data.result }\r\n case UTBILDNING_GET_DOWNLOAD_FAILED:\r\n return {...state, isLoadingdownload: false,loadingdownloadFailed: true, download: [] }\r\n\r\n default:\r\n return state;\r\n }\r\n }\r\n","import { BPLGODKANNATID_GET_TIDRAPPORT, \r\n BPLGODKANNATID_GET_TIDRAPPORT_SUCCESS,\r\n BPLGODKANNATID_GET_TIDRAPPORT_FAILED,\r\n BPLGODKANNATID_SEND_TIDRAPPORT,\r\n BPLGODKANNATID_SEND_TIDRAPPORT_SUCCESS,\r\n BPLGODKANNATID_SEND_TIDRAPPORT_FAILED\r\n} from \"./actions\";\r\n\r\nconst initialState = {\r\n tidrapport: null,\r\n isLoadingTidrapport: false,\r\n isLoadingTidrapportFailed: false,\r\n tidrapportTimestamp: null,\r\n\r\n acceptTidrapport: false,\r\n isLoadingAcceptTidrapport: false,\r\n loadingAcceptTidrapportFailed: false\r\n\r\n };\r\n\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case BPLGODKANNATID_GET_TIDRAPPORT:\r\n return {...state, isLoadingTidrapport: true, loadingTidrapportFailed: false } \r\n case BPLGODKANNATID_GET_TIDRAPPORT_SUCCESS:\r\n return {...state, isLoadingTidrapport: false, tidrapport: action.payload.data.result, tidrapportTimestamp: action.payload.data.timestamp } \r\n case BPLGODKANNATID_GET_TIDRAPPORT_FAILED:\r\n return {...state, isLoadingTidrapport: false,isLoadingTidrapportFailed: true, tidrapport: null, tidrapportTimestamp: null } \r\n case BPLGODKANNATID_SEND_TIDRAPPORT:\r\n return { ...state, isLoadingAcceptTidrapport:true, loadingAcceptTidrapportFailed: false }\r\n case BPLGODKANNATID_SEND_TIDRAPPORT_SUCCESS:\r\n return { ...state, isLoadingAcceptTidrapport:false, acceptTidrapport: action.payload.data.result.status }\r\n case BPLGODKANNATID_SEND_TIDRAPPORT_FAILED:\r\n return { ...state, isLoadingAcceptTidrapport:false, loadingAcceptTidrapportFailed: true, acceptTidrapport: false }\r\n default:\r\n return state;\r\n }\r\n}","import { BPLUPPDRAG_GET_UPPDRAG, \r\n BPLUPPDRAG_GET_UPPDRAG_SUCCESS,\r\n BPLUPPDRAG_GET_UPPDRAG_FAILED,\r\n BPLUPPDRAG_GET_SCHEMA, \r\n BPLUPPDRAG_GET_SCHEMA_SUCCESS,\r\n BPLUPPDRAG_GET_SCHEMA_FAILED, \r\n BPLUPPDRAG_GET_AKTUELLTUPPDRAG,\r\n BPLUPPDRAG_GET_AKTUELLTUPPDRAG_SUCCESS, \r\n BPLUPPDRAG_GET_AKTUELLTUPPDRAG_FAILED,\r\n BPLUPPDRAG_SEND_ACCEPTSCHEMA, \r\n BPLUPPDRAG_SEND_ACCEPTSCHEMA_SUCCESS,\r\n BPLUPPDRAG_SEND_ACCEPTSCHEMA_FAILED \r\n} from \"./actions\";\r\n\r\nconst initialState = {\r\n schema: [],\r\n isLoadingSchema: false,\r\n loadingSchemaFailed: false,\r\n schemaTimestamp: null,\r\n\r\n uppdrag: [],\r\n isLoadingUppdrag: false,\r\n loadingUppdragFailed: false,\r\n uppdragTimestamp: null,\r\n\r\n aktuelltUppdrag: null,\r\n isLoadingAktuelltUppdrag: false,\r\n loadingAktuelltUppdragFailed: false,\r\n aktuelltUppdragTimestamp: null,\r\n\r\n acceptSchemaPost: false,\r\n isLoadingAcceptSchema: false,\r\n loadingAcceptSchemaFailed: false\r\n\r\n };\r\n\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case BPLUPPDRAG_GET_AKTUELLTUPPDRAG:\r\n return {...state, isLoadingAktuelltUppdrag: true, loadingAktuelltUppdragFailed: false } \r\n case BPLUPPDRAG_GET_AKTUELLTUPPDRAG_SUCCESS:\r\n return {...state, isLoadingAktuelltUppdrag: false, aktuelltUppdrag: action.payload.data.result, aktuelltUppdragTimestamp: action.payload.data.timestamp } \r\n case BPLUPPDRAG_GET_AKTUELLTUPPDRAG_FAILED:\r\n return {...state, isLoadingAktuelltUppdrag: false,loadingAktuelltUppdragFailed: true, aktuelltUppdrag: null, aktuelltUppdragTimestamp: null } \r\n case BPLUPPDRAG_GET_UPPDRAG:\r\n return { ...state, isLoadingUppdrag: true, loadingUppdragFailed: false }\r\n case BPLUPPDRAG_GET_UPPDRAG_SUCCESS:\r\n return { ...state, isLoadingUppdrag: false, uppdrag: action.payload.data.result, uppdragtimestamp: action.payload.data.timestamp };\r\n case BPLUPPDRAG_GET_UPPDRAG_FAILED:\r\n return { ...state, isLoadingUppdrag: false, loadingUppdragFailed: true, uppdrag: [], uppdragtimestamp: null };\r\n case BPLUPPDRAG_GET_SCHEMA:\r\n return { ...state, isLoadingSchema: true, loadingSchemaFailed: false }\r\n case BPLUPPDRAG_GET_SCHEMA_SUCCESS:\r\n return { ...state, isLoadingSchema: false, schema: action.payload.data.result, schemaTimestamp: action.payload.data.timestamp };\r\n case BPLUPPDRAG_GET_SCHEMA_FAILED:\r\n return { ...state, isLoadingSchema: false, loadingSchemaFailed: true, schema: [], schemaTimestamp: null };\r\n\r\n case BPLUPPDRAG_SEND_ACCEPTSCHEMA:\r\n return { ...state, isLoadingAcceptSchema:true, loadingAcceptSchemaFailed: false }\r\n case BPLUPPDRAG_SEND_ACCEPTSCHEMA_SUCCESS:\r\n return { ...state, isLoadingAcceptSchema:false, acceptSchemaPost: action.payload.data.result.status }\r\n case BPLUPPDRAG_SEND_ACCEPTSCHEMA_FAILED:\r\n return { ...state, isLoadingAcceptSchema:false, loadingAcceptSchemaFailed: true, acceptSchemaPost: false }\r\n default:\r\n return state;\r\n }\r\n}","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\n\r\nexport const FORDONSKONTROLL_GET_VEHICLES = \"FORDONSKONTROLL_GET_VEHICLES\";\r\nexport const FORDONSKONTROLL_GET_VEHICLES_SUCCESS = \"FORDONSKONTROLL_GET_VEHICLES_SUCCESS\";\r\nexport const FORDONSKONTROLL_GET_VEHICLES_FAILED = \"FORDONSKONTROLL_GET_VEHICLES_FAILED\";\r\n\r\nexport const FORDONSKONTROLL_GET_VEHICLECATEGORIES = \"FORDONSKONTROLL_GET_VEHICLECATEGORIES\";\r\nexport const FORDONSKONTROLL_GET_VEHICLECATEGORIES_SUCCESS = \"FORDONSKONTROLL_GET_VEHICLECATEGORIES_SUCCESS\";\r\nexport const FORDONSKONTROLL_GET_VEHICLECATEGORIES_FAILED = \"FORDONSKONTROLL_GET_VEHICLECATEGORIES_FAILED\";\r\n\r\nexport const FORDONSKONTROLL_GET_VEHICLEFAULTS = \"FORDONSKONTROLL_GET_VEHICLEFAULTS\";\r\nexport const FORDONSKONTROLL_GET_VEHICLEFAULTS_SUCCESS = \"FORDONSKONTROLL_GET_VEHICLEFAULTS_SUCCESS\";\r\nexport const FORDONSKONTROLL_GET_VEHICLEFAULTS_FAILED = \"FORDONSKONTROLL_GET_VEHICLEFAULTS_FAILED\";\r\n\r\nexport const FORDONSKONTROLL_ADD_VEHICLEFAULT = \"FORDONSKONTROLL_ADD_VEHICLEFAULT\";\r\nexport const FORDONSKONTROLL_ADD_VEHICLEFAULT_SUCCESS = \"FORDONSKONTROLL_ADD_VEHICLEFAULT_SUCCESS\";\r\nexport const FORDONSKONTROLL_ADD_VEHICLEFAULT_FAILED = \"FORDONSKONTROLL_ADD_VEHICLEFAULT_FAILED\";\r\n\r\nexport function getVehicles() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: FORDONSKONTROLL_GET_VEHICLES});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/fordonskontroll/vehicles'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: FORDONSKONTROLL_GET_VEHICLES_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: FORDONSKONTROLL_GET_VEHICLES_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta fordon misslyckades', severity: 'warning'}});}); \r\n\r\n }\r\n \r\n};\r\n\r\nexport function getVehicleCategories() {\r\n return (dispatch) => {\r\n dispatch({type: FORDONSKONTROLL_GET_VEHICLECATEGORIES});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/fordonskontroll/categories'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: FORDONSKONTROLL_GET_VEHICLECATEGORIES_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: FORDONSKONTROLL_GET_VEHICLECATEGORIES_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta kategorier misslyckades', severity: 'warning'}});}); \r\n\r\n }\r\n\r\n}\r\n\r\nexport function getVehicleFaults(vehicleNo) {\r\n return (dispatch) => {\r\n dispatch({type: FORDONSKONTROLL_GET_VEHICLEFAULTS});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/fordonskontroll/faultreports?vehicleNo=').concat(vehicleNo), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: FORDONSKONTROLL_GET_VEHICLEFAULTS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: FORDONSKONTROLL_GET_VEHICLEFAULTS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta felrapporter misslyckades', severity: 'warning'}});}); \r\n\r\n }\r\n \r\n}\r\n\r\nexport function addVehicleFault(vehicleFault) {\r\n \r\n return (dispatch) => {\r\n\r\n dispatch({type: FORDONSKONTROLL_ADD_VEHICLEFAULT});\r\n\r\n const user = store.getState().oidc.user;\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/fordonskontroll/addfault'), vehicleFault, getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: FORDONSKONTROLL_ADD_VEHICLEFAULT_SUCCESS, payload: dataResult}); \r\n\r\n console.log('after send');\r\n\r\n axios.get(infraConfig.apiEndpoint.concat('/api/fordonskontroll/faultreports?vehicleNo=').concat(vehicleFault.vehicleNumber), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: FORDONSKONTROLL_GET_VEHICLEFAULTS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: FORDONSKONTROLL_GET_VEHICLEFAULTS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta felrapporter misslyckades', severity: 'warning'}});}); \r\n \r\n })\r\n .catch((error) => { dispatch({type: FORDONSKONTROLL_ADD_VEHICLEFAULT_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Lägga till felrapport misslyckades', severity: 'warning'}});}); \r\n \r\n }\r\n\r\n}","import {\r\n FORDONSKONTROLL_GET_VEHICLES, \r\n FORDONSKONTROLL_GET_VEHICLES_SUCCESS, \r\n FORDONSKONTROLL_GET_VEHICLES_FAILED,\r\n FORDONSKONTROLL_GET_VEHICLECATEGORIES,\r\n FORDONSKONTROLL_GET_VEHICLECATEGORIES_SUCCESS,\r\n FORDONSKONTROLL_GET_VEHICLECATEGORIES_FAILED,\r\n FORDONSKONTROLL_GET_VEHICLEFAULTS,\r\n FORDONSKONTROLL_GET_VEHICLEFAULTS_SUCCESS,\r\n FORDONSKONTROLL_GET_VEHICLEFAULTS_FAILED,\r\n FORDONSKONTROLL_ADD_VEHICLEFAULT,\r\n FORDONSKONTROLL_ADD_VEHICLEFAULT_SUCCESS,\r\n FORDONSKONTROLL_ADD_VEHICLEFAULT_FAILED,\r\n\r\n\r\n} from \"./actions\";\r\n \r\nconst initialState = {\r\n vehicles: [],\r\n vehiclesTimestamp: null,\r\n isLoadingVehicles: false,\r\n loadingVehiclesFailed: false,\r\n\r\n vehicleCategories: [],\r\n vehicleCategoriesTimestamp: null,\r\n isLoadingVehicleCategories: false,\r\n loadingVehicleCategoriesFailed:false,\r\n\r\n vehicleFaults:[],\r\n vehicleFaultsTimestamp: null,\r\n isLoadingVehicleFaults: false,\r\n loadingVehicleFaultsFailed: false,\r\n\r\n addVehicleFaultResult: null,\r\n addVehicleFaultTimestamp: null,\r\n isLoadingAddVehicleFault: false,\r\n addVehicleFaultFailed: false,\r\n\r\n};\r\n \r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case FORDONSKONTROLL_GET_VEHICLES:\r\n return {...state, isLoadingVehicles: true, loadingVehiclesFailed: false } \r\n case FORDONSKONTROLL_GET_VEHICLES_SUCCESS:\r\n return {...state, isLoadingVehicles: false, vehicles: action.payload.data.result, vehiclesTimestamp: action.payload.data.timestamp } \r\n case FORDONSKONTROLL_GET_VEHICLES_FAILED:\r\n return {...state, isLoadingVehicles: false,loadingVehiclesFailed: true, vehicles: [], vehiclesTimestamp: null } \r\n\r\n case FORDONSKONTROLL_GET_VEHICLECATEGORIES:\r\n return {...state, isLoadingVehicleCategories: true, loadingVehicleCategoriesFailed: false } \r\n case FORDONSKONTROLL_GET_VEHICLECATEGORIES_SUCCESS:\r\n return {...state, isLoadingVehicleCategories: false, vehicleCategories: action.payload.data.result, vehicleCategoriesTimestamp: action.payload.data.timestamp } \r\n case FORDONSKONTROLL_GET_VEHICLECATEGORIES_FAILED:\r\n return {...state, isLoadingVehicleCategories: false,loadingVehicleCategoriesFailed: true, vehicleCategories: [], vehicleCategoriesTimestamp: null } \r\n\r\n case FORDONSKONTROLL_GET_VEHICLEFAULTS:\r\n return {...state, isLoadingVehicleFaults: true, loadingVehicleFaultsFailed: false, vehicleFaults:[] } \r\n case FORDONSKONTROLL_GET_VEHICLEFAULTS_SUCCESS:\r\n return {...state, isLoadingVehicleFaults: false, vehicleFaults: action.payload.data.result, vehicleFaultsTimestamp: action.payload.data.timestamp } \r\n case FORDONSKONTROLL_GET_VEHICLEFAULTS_FAILED:\r\n return {...state, isLoadingVehicleFaults: false,loadingVehicleFaultsFailed: true, vehicleFaults: [], vehicleFaultsTimestamp: null } \r\n\r\n case FORDONSKONTROLL_ADD_VEHICLEFAULT:\r\n return {...state, isLoadingAddVehicleFault: true, addVehicleFaultFailed: false, addVehicleFaultResult:null } \r\n case FORDONSKONTROLL_ADD_VEHICLEFAULT_SUCCESS:\r\n return {...state, isLoadingAddVehicleFault: false, addVehicleFaultResult: action.payload.data.result, addVehicleFaultTimestamp: action.payload.data.timestamp } \r\n case FORDONSKONTROLL_ADD_VEHICLEFAULT_FAILED:\r\n return {...state, isLoadingAddVehicleFault: false,addVehicleFaultFailed: true, addVehicleFaultResult: null, addVehicleFaultTimestamp: null } \r\n\r\n default:\r\n return state;\r\n }\r\n}","import {\r\n INCIDENT_GET_FORMOPTIONS, \r\n INCIDENT_GET_FORMOPTIONS_SUCCESS, \r\n INCIDENT_GET_FORMOPTIONS_FAILED,\r\n INCIDENT_GET_INCIDENTRAPPORTER,\r\n INCIDENT_GET_INCIDENTRAPPORTER_SUCCESS,\r\n INCIDENT_GET_INCIDENTRAPPORTER_FAILED,\r\n INCIDENT_FORSAKRINGUPPFOLJNING_GET,\r\n INCIDENT_FORSAKRINGUPPFOLJNING_GET_FAILED,\r\n INCIDENT_FORSAKRINGUPPFOLJNING_GET_SUCCESS\r\n} from \"./actions\";\r\n \r\nconst initialState = {\r\n incidentRapporter: [],\r\n incidentRapporterTimestamp: null,\r\n isLoadingIncidentRapporter: false,\r\n loadingIncidentRapporterFailed: false,\r\n\r\n forsakringUppfoljning: null,\r\n isLoadingForsakringUppfoljning: false,\r\n loadingForsakringUppfoljningFailed: false,\r\n\r\n formOptions: null,\r\n formOptionsTimestamp: null,\r\n isLoadingFormOptions: false,\r\n loadingFormOptionsFailed: false\r\n \r\n};\r\n \r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case INCIDENT_GET_INCIDENTRAPPORTER:\r\n return {...state, isLoadingIncidentRapporter: true, loadingIncidentRapporterFailed: false } \r\n case INCIDENT_GET_INCIDENTRAPPORTER_SUCCESS:\r\n return {...state, isLoadingIncidentRapporter: false, incidentRapporter: action.payload.data.result, incidentRapporterTimestamp: action.payload.data.timestamp } \r\n case INCIDENT_GET_INCIDENTRAPPORTER_FAILED:\r\n return {...state, isLoadingIncidentRapporter: false, loadingIncidentRapporterFailed: true, incidentRapporter: [], incidentRapporterTimestamp: null } \r\n\r\n case INCIDENT_GET_FORMOPTIONS:\r\n return {...state, isLoadingFormOptions: true, loadingFormOptionsFailed: false } \r\n case INCIDENT_GET_FORMOPTIONS_SUCCESS:\r\n return {...state, isLoadingFormOptions: false, formOptions: action.payload.data.result, formOptionsTimestamp: action.payload.data.timestamp } \r\n case INCIDENT_GET_FORMOPTIONS_FAILED:\r\n return {...state, isLoadingFormOptions: false,loadingFormOptionsFailed: true, formOptions: null, formOptionsTimestamp: null } \r\n\r\n case INCIDENT_FORSAKRINGUPPFOLJNING_GET:\r\n return {...state, isLoadingForsakringUppfoljning: true, loadingForsakringUppfoljningFailed: false } \r\n case INCIDENT_FORSAKRINGUPPFOLJNING_GET_SUCCESS:\r\n return {...state, isLoadingForsakringUppfoljning: false, loadingForsakringUppfoljningFailed: false, forsakringUppfoljning: action.payload.data.result } \r\n case INCIDENT_FORSAKRINGUPPFOLJNING_GET_FAILED:\r\n return {...state, isLoadingForsakringUppfoljning: false, loadingForsakringUppfoljningFailed: true, forsakringUppfoljning: null } \r\n default:\r\n return state;\r\n }\r\n}","import {\r\n NYHETER_GET_ALL_NEWS,\r\n NYHETER_GET_ALL_NEWS_SUCCESS,\r\n NYHETER_GET_ALL_NEWS_FAILED,\r\n NYHETER_GET_KONCERN,\r\n NYHETER_GET_KONCERN_SUCCESS,\r\n NYHETER_GET_KONCERN_FAILED,\r\n NYHETER_GET_KONCERN_COMPACT,\r\n NYHETER_GET_KONCERN_COMPACT_SUCCESS,\r\n NYHETER_GET_KONCERN_COMPACT_FAILED,\r\n NYHETER_GET_REGION,\r\n NYHETER_GET_REGION_SUCCESS,\r\n NYHETER_GET_REGION_FAILED,\r\n NYHETER_GET_REGION_COMPACT,\r\n NYHETER_GET_REGION_COMPACT_SUCCESS,\r\n NYHETER_GET_REGION_COMPACT_FAILED\r\n} from \"./actions\";\r\n\r\nconst initialState = {\r\n allNews: [],\r\n isLoadingAllNews: false,\r\n loadingAllNewsFailed: false,\r\n\r\n koncern: undefined,\r\n isLoadingKoncern:false,\r\n loadingKoncernFailed: false,\r\n \r\n koncernCompact: undefined,\r\n isLoadingKoncernCompact: false,\r\n loadingKoncernCompactFailed: false,\r\n\r\n region: undefined,\r\n isLoadingRegion: false,\r\n loadingRegionFailed: false,\r\n \r\n regionCompact: undefined,\r\n isLoadingRegionCompact: false,\r\n loadingRegionCompactFailed: false\r\n};\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case NYHETER_GET_ALL_NEWS:\r\n return {...state, isLoadingAllNews: true, loadingAllNewsFailed: false }\r\n case NYHETER_GET_ALL_NEWS_SUCCESS:\r\n return {...state, isLoadingAllNews: false, loadingAllNewsFailed: false, allNews: action.payload.data.result }\r\n case NYHETER_GET_ALL_NEWS_FAILED:\r\n return {...state, isLoadingAllNews: false, loadingAllNewsFailed: true, allNews: [] }\r\n \r\n case NYHETER_GET_KONCERN:\r\n return {...state, isLoadingKoncern: true, loadingKoncernFailed: false }\r\n case NYHETER_GET_KONCERN_SUCCESS:\r\n return {...state, isLoadingKoncern: false, loadingKoncernFailed: false, koncern: action.payload.data.result }\r\n case NYHETER_GET_KONCERN_FAILED:\r\n return {...state, isLoadingKoncern: false, loadingKoncernFailed: true, koncern: undefined }\r\n \r\n case NYHETER_GET_KONCERN_COMPACT:\r\n return {...state, isLoadingKoncernCompact: true, loadingKoncernCompactFailed: false }\r\n case NYHETER_GET_KONCERN_COMPACT_SUCCESS:\r\n return {...state, isLoadingKoncernCompact: false, loadingKoncernCompactFailed: false, koncernCompact: action.payload.data.result }\r\n case NYHETER_GET_KONCERN_COMPACT_FAILED:\r\n return {...state, isLoadingKoncernCompact: false, loadingKoncernCompactFailed: true, koncernCompact: undefined }\r\n\r\n case NYHETER_GET_REGION:\r\n return {...state, isLoadingRegion: true, loadingRegionFailed: false }\r\n case NYHETER_GET_REGION_SUCCESS:\r\n return {...state, isLoadingRegion: false, loadingRegionFailed: false, region: action.payload.data.result }\r\n case NYHETER_GET_REGION_FAILED:\r\n return {...state, isLoadingRegion: false, loadingRegionFailed: true, region: undefined }\r\n \r\n case NYHETER_GET_REGION_COMPACT:\r\n return {...state, isLoadingRegionCompact: true, loadingRegionCompactFailed: false }\r\n case NYHETER_GET_REGION_COMPACT_SUCCESS:\r\n return {...state, isLoadingRegionCompact: false, loadingRegionCompactFailed: false, regionCompact: action.payload.data.result }\r\n case NYHETER_GET_REGION_COMPACT_FAILED:\r\n return {...state, isLoadingRegionCompact: false, loadingRegionCompactFailed: true, regionCompact: undefined }\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\nexport const MEDARBETARE_POST_UNDERSOKNING = \"MEDARBETARE_POST_UNDERSOKNING\";\r\nexport const MEDARBETARE_POST_UNDERSOKNING_SUCCESS =\r\n \"MEDARBETARE_POST_UNDERSOKNING_SUCCESS\";\r\nexport const MEDARBETARE_POST_UNDERSOKNING_FAILED =\r\n \"MEDARBETARE_POST_UNDERSOKNING_FAILED\";\r\n\r\nexport const MEDARBETARE_GET_UNDERSOKNING = \"MEDARBETARE_GET_UNDERSOKNING\";\r\nexport const MEDARBETARE_GET_UNDERSOKNING_SUCCESS =\r\n \"MEDARBETARE_GET_UNDERSOKNING_SUCCESS\";\r\nexport const MEDARBETARE_GET_UNDERSOKNING_FAILED =\r\n \"MEDARBETARE_GET_UNDERSOKNING_FAILED\";\r\n\r\nexport function sendUndersokning() {\r\n return dispatch => {\r\n dispatch({ type: MEDARBETARE_POST_UNDERSOKNING });\r\n\r\n const user = store.getState().oidc.user;\r\n axios\r\n .get(\r\n infraConfig.apiEndpoint.concat(\"/api/undersokning/send\"),\r\n getAxiosConfig(user)\r\n )\r\n .then(dataResult => {\r\n dispatch({\r\n type: MEDARBETARE_POST_UNDERSOKNING_SUCCESS,\r\n payload: dataResult\r\n });\r\n console.log(\"RESULTAT \");\r\n console.log(dataResult.data.result[0]);\r\n })\r\n .catch(error => {\r\n dispatch({ type: MEDARBETARE_POST_UNDERSOKNING_FAILED });\r\n dispatch({\r\n type: ERRORMESSAGES_ADD,\r\n payload: {\r\n type: \"network\",\r\n message: \"Skicka undersökning misslyckades\",\r\n severity: \"warning\"\r\n }\r\n });\r\n });\r\n };\r\n}\r\nexport function getUndersokning() {\r\n return dispatch => {\r\n dispatch({ type: MEDARBETARE_GET_UNDERSOKNING });\r\n\r\n const user = store.getState().oidc.user;\r\n axios\r\n .get(\r\n infraConfig.apiEndpoint.concat(\"/api/undersokning/get\"),\r\n getAxiosConfig(user)\r\n )\r\n .then(dataResult => {\r\n dispatch({\r\n type: MEDARBETARE_GET_UNDERSOKNING_SUCCESS,\r\n payload: dataResult\r\n });\r\n console.log(\"CHECK UNDERSÖKNING\");\r\n if (dataResult.data.result[0].datum === true) {\r\n console.log(\"Undersökning aktiverad\")\r\n var style = document.createElement('style');\r\n style.type = 'text/css';\r\n style.innerHTML = '#undersok{display:block !important}';\r\n document.getElementsByTagName('head')[0].appendChild(style);\r\n }\r\n\r\n if (dataResult.data.result[0].contenttype === \"forare\") {\r\n var forare = document.querySelector(\"#forare\");\r\n forare.style.display = \"block\";\r\n }\r\n else{\r\n var Tjansteman = document.querySelector(\"#tjansteman\");\r\n Tjansteman.style.display = \"block\";\r\n }\r\n })\r\n .catch(error => {\r\n dispatch({ type: MEDARBETARE_GET_UNDERSOKNING_FAILED });\r\n dispatch({\r\n type: ERRORMESSAGES_ADD,\r\n payload: {\r\n type: \"network\",\r\n message: \"Hämta undersökning misslyckades\",\r\n severity: \"warning\"\r\n }\r\n });\r\n });\r\n };\r\n}\r\n","import {\r\n MEDARBETARE_GET_UNDERSOKNING,\r\n MEDARBETARE_GET_UNDERSOKNING_SUCCESS,\r\n MEDARBETARE_GET_UNDERSOKNING_FAILED,\r\n\r\n} from \"./actions\";\r\nconst initialState = {\r\n undersokning: [],\r\n isLoadingundersokning: false,\r\n loadingundersokningFailed: false,\r\n};\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case MEDARBETARE_GET_UNDERSOKNING:\r\n return {...state, isLoadingundersokning: true, loadingundersokningFailed: false }\r\n case MEDARBETARE_GET_UNDERSOKNING_SUCCESS:\r\n return {...state, isLoadingundersokning: false, undersokning: action.payload.data.result }\r\n case MEDARBETARE_GET_UNDERSOKNING_FAILED:\r\n return {...state, isLoadingundersokning: false,loadingundersokningFailed: true, undersokning: [] }\r\n default:\r\n return state;\r\n }\r\n }\r\n","import { KRISHANTERING_GET_DOCUMENTS, \r\n KRISHANTERING_GET_DOCUMENTS_SUCCESS,\r\n KRISHANTERING_GET_DOCUMENTS_FAILED, \r\n KRISHANTERING_GET_FILE,\r\n KRISHANTERING_GET_FILE_SUCCESS,\r\n KRISHANTERING_GET_FILE_FAILED,\r\n KRISHANTERING_GET_BOSSINFO,\r\n KRISHANTERING_GET_BOSSINFO_SUCCESS,\r\n KRISHANTERING_GET_BOSSINFO_FAILED,\r\n } from \"./actions\";\r\n \r\n const initialState = {\r\n documents: [],\r\n isLoadingDocuments: false,\r\n loadingDocumentsFailed: false,\r\n documentsTimestamp: null,\r\n\r\n checklist: [],\r\n isLoadingChecklist: false,\r\n loadingChecklistFailed: false,\r\n checklistTimestamp: null,\r\n\r\n downloadFile: '',\r\n isLoadingDownloadFile: false,\r\n loadingDownloadFileFailed: false,\r\n downloadFileTimestamp: null,\r\n\r\n bossInfo: null,\r\n isLoadingBossInfo: false,\r\n loadingBossInfoFailed: false,\r\n bossInfoTimestamp: null\r\n };\r\n \r\n export default function(state = initialState, action) {\r\n switch (action.type) {\r\n case KRISHANTERING_GET_DOCUMENTS:\r\n return { ...state, isLoadingDocuments: true, loadingDocumentsFailed: false }\r\n case KRISHANTERING_GET_DOCUMENTS_SUCCESS:\r\n return { ...state, isLoadingDocuments: false, documents: action.payload.data.result, documentsTimestamp: action.payload.data.timestamp };\r\n case KRISHANTERING_GET_DOCUMENTS_FAILED:\r\n return { ...state, isLoadingDocuments: false, loadingDocumentsFailed: true, documents: [], documentsTimestamp: null };\r\n\r\n case KRISHANTERING_GET_BOSSINFO:\r\n return { ...state, isLoadingBossInfo: true, loadingBossInfoFailed: false }\r\n case KRISHANTERING_GET_BOSSINFO_SUCCESS:\r\n return { ...state, isLoadingBossInfo: false, bossInfo: action.payload.data.result, bossInfoTimestamp: action.payload.data.timestamp };\r\n case KRISHANTERING_GET_BOSSINFO_FAILED:\r\n return { ...state, isLoadingBossInfo: false, loadingBossInfoFailed: true, bossInfo: null, bossInfoTimestamp: null };\r\n\r\n case KRISHANTERING_GET_FILE:\r\n return { ...state, isLoadingDownloadFile: true, loadingDownloadFileFailed: false }\r\n case KRISHANTERING_GET_FILE_SUCCESS:\r\n return { ...state, isLoadingDownloadFile: false, downloadFile: action.payload.data.result, downloadFileTimestamp: action.payload.data.timestamp };\r\n case KRISHANTERING_GET_FILE_FAILED:\r\n return { ...state, isLoadingDownloadFile: false, loadingDownloadFileFailed: true, downloadFile: [], downloadFileTimestamp: null };\r\n\r\n default:\r\n return state;\r\n }\r\n }","import {\r\n SHAREPOINT_GET_BOLAG,\r\n SHAREPOINT_GET_BOLAG_SUCCESS,\r\n SHAREPOINT_GET_BOLAG_FAILED,\r\n} from \"system/actions/sharepointCommon.js\";\r\n \r\nconst initialState = {\r\n \r\n bolag: [],\r\n bolagTimestamp: null,\r\n isLoadingBolag: false,\r\n loadingBolagFailed: false,\r\n\r\n};\r\n \r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n \r\n case SHAREPOINT_GET_BOLAG:\r\n return {...state, isLoadingBolag: true, loadingBolagFailed: false } \r\n case SHAREPOINT_GET_BOLAG_SUCCESS:\r\n return {...state, isLoadingBolag: false, bolag: action.payload.data.result, bolagTimestamp: action.payload.data.timestamp } \r\n case SHAREPOINT_GET_BOLAG_FAILED:\r\n return {...state, isLoadingBolag: false, loadingBolagFailed: true, bolag: [], bolagTimestamp: null } \r\n\r\n default:\r\n return state;\r\n }\r\n}","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\nexport const FORSLAG_GET_FORSLAGLIST = \"FORSLAG_GET_FORSLAGLIST\";\r\nexport const FORSLAG_GET_FORSLAGLIST_SUCCESS = \"FORSLAG_GET_FORSLAGLIST_SUCCESS\";\r\nexport const FORSLAG_GET_FORSLAGLIST_FAILED = \"FORSLAG_GET_FORSLAGLIST_FAILED\";\r\n\r\nexport const FORSLAG_CREATE_FORSLAG = \"FORSLAG_CREATE_FORSLAG\";\r\nexport const FORSLAG_CREATE_FORSLAG_SUCCESS = \"FORSLAG_CREATE_FORSLAG_SUCCESS\";\r\nexport const FORSLAG_CREATE_FORSLAG_FAILED = \"FORSLAG_CREATE_FORSLAG_FAILED\";\r\n\r\n\r\nexport function fetchForslag() {\r\n return (dispatch) => {\r\n dispatch({type: FORSLAG_GET_FORSLAGLIST});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/forslag/'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: FORSLAG_GET_FORSLAGLIST_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: FORSLAG_GET_FORSLAGLIST_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta förslag misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n};\r\n\r\nexport function addForslag(forslag) {\r\n \r\n return (dispatch) => {\r\n\r\n dispatch({type: FORSLAG_CREATE_FORSLAG});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.post(infraConfig.apiEndpoint.concat('/api/forslag/'), forslag, getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: FORSLAG_CREATE_FORSLAG_SUCCESS, payload: dataResult}); \r\n\r\n console.log('after send');\r\n \r\n })\r\n .catch((error) => { dispatch({type: FORSLAG_CREATE_FORSLAG_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Skapa förslag misslyckades', severity: 'warning'}});}); \r\n \r\n }\r\n\r\n};","import {\r\n FORSLAG_GET_FORSLAGLIST,\r\n FORSLAG_GET_FORSLAGLIST_SUCCESS,\r\n FORSLAG_GET_FORSLAGLIST_FAILED,\r\n FORSLAG_CREATE_FORSLAG,\r\n FORSLAG_CREATE_FORSLAG_SUCCESS,\r\n FORSLAG_CREATE_FORSLAG_FAILED,\r\n} from \"./actions\";\r\n \r\nconst initialState = {\r\n forslag: [],\r\n forslagTimestamp: null,\r\n isLoadingForslag: false,\r\n loadingForslagFailed: false,\r\n\r\n addForslagResult: null,\r\n addForslagTimestamp: null,\r\n isLoadingAddForslag: false,\r\n addForslagFailed: false,\r\n\r\n};\r\n \r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case FORSLAG_GET_FORSLAGLIST:\r\n return {...state, isLoadingForslag: true, loadingForslagFailed: false } \r\n case FORSLAG_GET_FORSLAGLIST_SUCCESS:\r\n return {...state, isLoadingForslag: false, forslag: action.payload.data.result, forslagTimestamp: action.payload.data.timestamp } \r\n case FORSLAG_GET_FORSLAGLIST_FAILED:\r\n return {...state, isLoadingForslag: false, loadingForslagFailed: true, forslag: [], forslagTimestamp: null } \r\n \r\n case FORSLAG_CREATE_FORSLAG:\r\n return {...state, isLoadingAddForslag: true, addForslagFailed: false, addForslag:null } \r\n case FORSLAG_CREATE_FORSLAG_SUCCESS:\r\n return {...state, isLoadingAddForslag: false, addForslagResult: action.payload.data.result, addForslagTimestamp: action.payload.data.timestamp } \r\n case FORSLAG_CREATE_FORSLAG_FAILED:\r\n return {...state, isLoadingAddForslag: false, addForslagFailed: true, addForslagResult: null, addForslagTimestamp: null } \r\n\r\n default:\r\n return state;\r\n }\r\n}","import { POLICYDOCS_GET_DOCUMENTS, \r\n POLICYDOCS_GET_DOCUMENTS_SUCCESS,\r\n POLICYDOCS_GET_DOCUMENTS_FAILED, \r\n POLICYDOCS_GET_FILE,\r\n POLICYDOCS_GET_FILE_SUCCESS,\r\n POLICYDOCS_GET_FILE_FAILED\r\n } from \"./actions\";\r\n \r\n const initialState = {\r\n documents: [],\r\n isLoadingDocuments: false,\r\n loadingDocumentsFailed: false,\r\n documentsTimestamp: null,\r\n\r\n downloadFile: '',\r\n isLoadingDownloadFile: false,\r\n loadingDownloadFileFailed: false,\r\n downloadFileTimestamp: null,\r\n };\r\n \r\n export default function(state = initialState, action) {\r\n switch (action.type) {\r\n case POLICYDOCS_GET_DOCUMENTS:\r\n return { ...state, isLoadingDocuments: true, loadingDocumentsFailed: false }\r\n case POLICYDOCS_GET_DOCUMENTS_SUCCESS:\r\n return { ...state, isLoadingDocuments: false, documents: action.payload.data.result, documentsTimestamp: action.payload.data.timestamp };\r\n case POLICYDOCS_GET_DOCUMENTS_FAILED:\r\n return { ...state, isLoadingDocuments: false, loadingDocumentsFailed: true, documents: [], documentsTimestamp: null };\r\n\r\n case POLICYDOCS_GET_FILE:\r\n return { ...state, isLoadingDownloadFile: true, loadingDownloadFileFailed: false }\r\n case POLICYDOCS_GET_FILE_SUCCESS:\r\n return { ...state, isLoadingDownloadFile: false, downloadFile: action.payload.data.result, downloadFileTimestamp: action.payload.data.timestamp };\r\n case POLICYDOCS_GET_FILE_FAILED:\r\n return { ...state, isLoadingDownloadFile: false, loadingDownloadFileFailed: true, downloadFile: [], downloadFileTimestamp: null };\r\n\r\n default:\r\n return state;\r\n }\r\n }","import { ECODRIVING_GET_DETAIL, \r\n ECODRIVING_GET_DETAIL_FAILED,\r\n ECODRIVING_GET_DETAIL_SUCCESS,\r\n ECODRIVING_GET_OVERVIEW,\r\n ECODRIVING_GET_OVERVIEW_FAILED,\r\n ECODRIVING_GET_OVERVIEW_SUCCESS\r\n } from \"./actions\";\r\n \r\n const initialState = {\r\n overview: null,\r\n overviewLoading: false,\r\n overviewFailed: false,\r\n overviewTimestamp: null,\r\n \r\n detail: [],\r\n detailLoading: false,\r\n detailFailed: false,\r\n detailTimestamp: null,\r\n \r\n };\r\n \r\n export default function(state = initialState, action) {\r\n switch (action.type) {\r\n case ECODRIVING_GET_DETAIL:\r\n return {...state, detailLoading: true, detailFailed: false } \r\n case ECODRIVING_GET_DETAIL_SUCCESS:\r\n return {...state, detailLoading: false, detail: action.payload.data.result, detailTimestamp: action.payload.data.timestamp } \r\n case ECODRIVING_GET_DETAIL_FAILED:\r\n return {...state, detailLoading: false, detailFailed: true, detail: [], detailTimestamp: null } \r\n\r\n case ECODRIVING_GET_OVERVIEW:\r\n return {...state, overviewLoading: true, overviewFailed: false } \r\n case ECODRIVING_GET_OVERVIEW_SUCCESS:\r\n return {...state, overviewLoading: false, overview: action.payload.data.result, overviewTimestamp: action.payload.data.timestamp } \r\n case ECODRIVING_GET_OVERVIEW_FAILED:\r\n return {...state, overviewLoading: false, overviewFailed: true, overview: null, overviewTimestamp: null } \r\n \r\n default:\r\n return state;\r\n }\r\n }","import { USERPROFILE_GET, \r\n USERPROFILE_GET_SUCCESS,\r\n USERPROFILE_GET_FAILED} from \"./actions\";\r\n\r\n const initialState = {\r\n userprofile: null,\r\n userprofileIsLoading: false,\r\n userprofileLoadingFailed: false,\r\n \r\n };\r\n \r\n export default function(state = initialState, action) {\r\n switch (action.type) {\r\n case USERPROFILE_GET:\r\n return {...state, userprofileIsLoading: true, userprofileLoadingFailed: false } \r\n case USERPROFILE_GET_SUCCESS:\r\n return {...state, userprofileIsLoading: false, userprofileLoadingFailed: false, userprofile: action.payload.data.result } \r\n case USERPROFILE_GET_FAILED:\r\n return {...state, userprofileIsLoading: false, userprofileLoadingFailed: true, userprofile: null} \r\n default:\r\n return state;\r\n }\r\n }","import { ERRORMESSAGES_ADD, ERRORMESSAGES_CLEAR } from \"../actions\";\r\n\r\nconst initialState = {\r\n errors: []\r\n};\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case ERRORMESSAGES_ADD:\r\n action.payload.timestamp = new Date();\r\n return { ...state, errors: state.errors.concat(action.payload)}\r\n case ERRORMESSAGES_CLEAR:\r\n return { ...state, errors: [] }\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { routerReducer } from 'react-router-redux';\r\nimport { combineReducers } from 'redux';\r\nimport { reducer as oidcReducer } from 'redux-oidc';\r\nimport authHelper from './authHelperReducer';\r\n\r\nimport subscriptionsReducer from './subscriptions';\r\nimport diagnosticsReducer from 'diagnostics/reducer';\r\n\r\nimport lonReducer from 'dashboard/Lonebesked/reducer';\r\nimport kontekReducer from 'dashboard/KontekOnlineLonebesked/reducer';\r\n\r\nimport intygReducer from 'dashboard/Utbildning/reducer';\r\nimport bplGodkannaTidReducer from 'dashboard/BplGodkannaTid/reducer'\r\nimport bplMinaUppdragReducer from 'dashboard/BplMinaUppdrag/reducer';\r\nimport fordonskontrollReducer from 'dashboard/Fordonskontroll/reducer';\r\nimport incidentReducer from 'dashboard/Incidenter/reducer';\r\nimport newsReducer from 'dashboard/Nyheter/reducer';\r\nimport undersokningReducer from 'dashboard/Medarbetarundersokning/reducer';\r\nimport krishanteringReducer from 'dashboard/Krishantering/reducer';\r\nimport sharepointCommonReducer from './sharepointCommonReducer';\r\nimport forslagReducer from 'dashboard/Forslagslada/reducer';\r\nimport policyDocsReducer from 'dashboard/PolicyDocs/reducer';\r\nimport ecodrivingReducer from 'dashboard/EcoDriving/reducer';\r\n\r\nimport userprofileRedcuer from 'system/userprofile/reducer';\r\n\r\nimport errorReducer from './errorReducer';\r\n\r\nconst reducer = combineReducers(\r\n {\r\n oidc: oidcReducer,\r\n userprofile: userprofileRedcuer,\r\n authhelper: authHelper,\r\n routing: routerReducer,\r\n subscriptions: subscriptionsReducer,\r\n errors: errorReducer,\r\n diagnostics: diagnosticsReducer,\r\n lonebesked: lonReducer,\r\n kontek: kontekReducer,\r\n intyg: intygReducer,\r\n utvardering: intygReducer,\r\n undersokning: undersokningReducer,\r\n bpltidrapport: bplGodkannaTidReducer,\r\n news: newsReducer,\r\n bpluppdrag: bplMinaUppdragReducer,\r\n fordonskontroll: fordonskontrollReducer,\r\n krishantering: krishanteringReducer,\r\n sharepoint: sharepointCommonReducer,\r\n incident: incidentReducer,\r\n forslag: forslagReducer,\r\n policyDocs: policyDocsReducer,\r\n ecodriving: ecodrivingReducer\r\n }\r\n);\r\n\r\nexport default reducer;\r\n","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\n\r\nexport const USERPROFILE_GET =\"USERPROFILE_GET\"\r\nexport const USERPROFILE_GET_SUCCESS = \"USERPROFILE_GET_SUCCESS\";\r\nexport const USERPROFILE_GET_FAILED = \"USERPROFILE_GET_FAILED\";\r\n\r\n\r\nexport function getUserProfile() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: USERPROFILE_GET});\r\n\r\n const user = store.getState().oidc.user;\r\n\r\n axios.get(infraConfig.apiEndpoint.concat('/api/user/profile'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: USERPROFILE_GET_SUCCESS, payload: dataResult}))\r\n .catch((error) => { \r\n dispatch({type: USERPROFILE_GET_FAILED}); \r\n dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta user profile misslyckades', severity: 'warning'}});\r\n }); \r\n\r\n }\r\n \r\n};\r\n","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\n\r\nexport const DIAGNOSTICS_GETCONFIGDESCRIPTION = \"DIAGNOSTICS_GETCONFIGDESCRIPTION\";\r\n\r\n\r\n\r\nexport function getConfigurationDescription() {\r\n \r\n return (dispatch) => {\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/diagnostics/configdescription'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: DIAGNOSTICS_GETCONFIGDESCRIPTION, payload: dataResult}))\r\n .catch((error) => {\r\n console.log('error');\r\n }); \r\n\r\n }\r\n \r\n};\r\n","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\nimport { openFileWindow } from \"system/util.js\";\r\n\r\n\r\nexport const LONEBESKED_GET_LONESPEC = \"LONEBESKED_GET_LONESPEC\";\r\nexport const LONEBESKED_GET_LONESPEC_SUCCESS = \"LONEBESKED_GET_LONESPEC_SUCCESS\";\r\nexport const LONEBESKED_GET_LONESPEC_FAILED = \"LONEBESKED_GET_LONESPEC_FAILED\";\r\n\r\nexport const LONEBESKED_GET_DOWNLOAD = \"LONEBESKED_GET_DOWNLOAD\";\r\nexport const LONEBESKED_GET_DOWNLOAD_SUCCESS = \"LONEBESKED_GET_DOWNLOAD_SUCCESS\";\r\nexport const LONEBESKED_GET_DOWNLOAD_FAILED = \"LONEBESKED_GET_DOWNLOAD_FAILED\";\r\n\r\nexport function getLonespec() {\r\n return (dispatch) => {\r\n dispatch({type: LONEBESKED_GET_LONESPEC});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/lonespec/get'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: LONEBESKED_GET_LONESPEC_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: LONEBESKED_GET_LONESPEC_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta Lönespec misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n}\r\n\r\nexport function downloadLonespec(filnamn) {\r\n return (dispatch) => {\r\n dispatch({type: LONEBESKED_GET_DOWNLOAD});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/lonespec/download?filnamn=').concat(filnamn), getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: LONEBESKED_GET_DOWNLOAD_SUCCESS, payload: dataResult});\r\n openFileWindow(dataResult.data.result);\r\n\r\n })\r\n .catch((error) => { dispatch({type: LONEBESKED_GET_DOWNLOAD_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta Lönespec misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n}\r\n","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n// import { openFileWindow } from \"system/util.js\";\r\n\r\n\r\nexport const KONTEK_LONEBESKED_GET_LONESPEC = \"LONEBESKED_KONTEK_LONEBESKED_GET_LONESPECGET_LONESPEC\";\r\nexport const KONTEK_LONEBESKED_GET_LONESPEC_SUCCESS = \"KONTEK_LONEBESKED_GET_LONESPEC_SUCCESS\";\r\nexport const KONTEK_LONEBESKED_GET_LONESPEC_FAILED = \"KONTEK_LONEBESKED_GET_LONESPEC_FAILED\";\r\n\r\nexport function getLonespec() {\r\n return (dispatch) => {\r\n dispatch({type: KONTEK_LONEBESKED_GET_LONESPEC});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/lonespec/kontek/getspeclist'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: KONTEK_LONEBESKED_GET_LONESPEC_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: KONTEK_LONEBESKED_GET_LONESPEC_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämtning av lönespecifikationer misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n}\r\n","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\n\r\nexport const BPLGODKANNATID_GET_TIDRAPPORT =\"BPLGODKANNATID_GET_TIDRAPPORT\"\r\nexport const BPLGODKANNATID_GET_TIDRAPPORT_SUCCESS = \"BPLGODKANNATID_GET_TIDRAPPORT_SUCCESS\";\r\nexport const BPLGODKANNATID_GET_TIDRAPPORT_FAILED = \"BPLGODKANNATID_GET_TIDRAPPORT_FAILED\";\r\n\r\nexport const BPLGODKANNATID_SEND_TIDRAPPORT = \"BPLGODKANNATID_SEND_TIDRAPPORT\";\r\nexport const BPLGODKANNATID_SEND_TIDRAPPORT_SUCCESS = \"BPLGODKANNATID_SEND_TIDRAPPORT_SUCCESS\";\r\nexport const BPLGODKANNATID_SEND_TIDRAPPORT_FAILED = \"BPLGODKANNATID_SEND_TIDRAPPORT_FAILED\";\r\n\r\n\r\n\r\nexport function fetchGodkandTidrapport() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: BPLGODKANNATID_GET_TIDRAPPORT});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/bpl/tidrapport/getsenaste'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: BPLGODKANNATID_GET_TIDRAPPORT_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: BPLGODKANNATID_GET_TIDRAPPORT_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta senaste tidrapporten misslyckades', severity: 'warning'}});}); \r\n\r\n }\r\n \r\n};\r\n\r\n\r\nexport function sendLamnaTidrapport(tidrapportId, undo) {\r\n\r\n return (dispatch) => {\r\n\r\n dispatch({type: BPLGODKANNATID_SEND_TIDRAPPORT});\r\n\r\n const user = store.getState().oidc.user;\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/bpl/tidrapport/accept'), { TidrapportId: tidrapportId, Undo: undo }, getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: BPLGODKANNATID_SEND_TIDRAPPORT_SUCCESS, payload: dataResult}); \r\n\r\n console.log('after send');\r\n axios.get(infraConfig.apiEndpoint.concat('/api/bpl/tidrapport/getsenaste'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: BPLGODKANNATID_GET_TIDRAPPORT_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: BPLGODKANNATID_GET_TIDRAPPORT_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta senaste tidrapporten misslyckades efter inlämnande', severity: 'warning'}});}); \r\n \r\n })\r\n .catch((error) => { dispatch({type: BPLGODKANNATID_SEND_TIDRAPPORT_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Acceptering av senaste tidrapport misslyckades', severity: 'warning'}});}); \r\n \r\n }\r\n\r\n};","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\nexport const NYHETER_GET_ALL_NEWS = \"NYHETER_GET_ALL_NEWS\";\r\nexport const NYHETER_GET_ALL_NEWS_SUCCESS = \"NYHETER_GET_ALL_NEWS_SUCCESS\";\r\nexport const NYHETER_GET_ALL_NEWS_FAILED = \"NYHETER_GET_ALL_NEWS_FAILED\";\r\n\r\nexport const NYHETER_GET_KONCERN = \"NYHETER_GET_KONCERN\";\r\nexport const NYHETER_GET_KONCERN_SUCCESS = \"NYHETER_GET_KONCERN_SUCCESS\";\r\nexport const NYHETER_GET_KONCERN_FAILED = \"NYHETER_GET_KONCERN_FAILED\";\r\n\r\nexport const NYHETER_GET_KONCERN_COMPACT = \"NYHETER_GET_KONCERN_COMPACT\";\r\nexport const NYHETER_GET_KONCERN_COMPACT_SUCCESS = \"NYHETER_GET_KONCERN_COMPACT_SUCCESS\";\r\nexport const NYHETER_GET_KONCERN_COMPACT_FAILED = \"NYHETER_GET_KONCERN_COMPACT_FAILED\";\r\n\r\nexport const NYHETER_GET_REGION = \"NYHETER_GET_REGION\";\r\nexport const NYHETER_GET_REGION_SUCCESS = \"NYHETER_GET_REGION_SUCCESS\";\r\nexport const NYHETER_GET_REGION_FAILED = \"NYHETER_GET_REGION_FAILED\";\r\n\r\nexport const NYHETER_GET_REGION_COMPACT = \"NYHETER_GET_REGION_COMPACT\";\r\nexport const NYHETER_GET_REGION_COMPACT_SUCCESS = \"NYHETER_GET_REGION_COMPACT_SUCCESS\";\r\nexport const NYHETER_GET_REGION_COMPACT_FAILED = \"NYHETER_GET_REGION_COMPACT_FAILED\";\r\n\r\n\r\nexport function getAllNews(type) {\r\n\r\n return (dispatch) => {\r\n dispatch({type: NYHETER_GET_ALL_NEWS});\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/nyheter/getall'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: NYHETER_GET_ALL_NEWS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: NYHETER_GET_ALL_NEWS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta Nyheter misslyckades', severity: 'warning'}});});\r\n }\r\n\r\n}\r\n\r\nexport function getRegionNews(page) {\r\n\r\n return (dispatch) => {\r\n dispatch({type: NYHETER_GET_REGION});\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/nyheter/getregion?page=').concat(page), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: NYHETER_GET_REGION_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: NYHETER_GET_REGION_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta Nyheter misslyckades', severity: 'warning'}});});\r\n }\r\n\r\n}\r\n\r\nexport function getRegionNewsCompact(page) {\r\n\r\n return (dispatch) => {\r\n dispatch({type: NYHETER_GET_REGION_COMPACT});\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/nyheter/getregion?compact=true&page=').concat(page), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: NYHETER_GET_REGION_COMPACT_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: NYHETER_GET_REGION_COMPACT_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta Nyheter misslyckades', severity: 'warning'}});});\r\n }\r\n\r\n}\r\n\r\nexport function getKoncernNews(page) {\r\n\r\n return (dispatch) => {\r\n dispatch({type: NYHETER_GET_KONCERN});\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/nyheter/getkoncern?page=').concat(page), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: NYHETER_GET_KONCERN_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: NYHETER_GET_KONCERN_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta Nyheter misslyckades', severity: 'warning'}});});\r\n }\r\n\r\n}\r\n\r\nexport function getKoncernNewsCompact(page) {\r\n\r\n return (dispatch) => {\r\n dispatch({type: NYHETER_GET_KONCERN_COMPACT});\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/nyheter/getkoncern?compact=true&page=').concat(page), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: NYHETER_GET_KONCERN_COMPACT_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: NYHETER_GET_KONCERN_COMPACT_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta Nyheter misslyckades', severity: 'warning'}});});\r\n }\r\n\r\n}\r\n","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\n\r\nexport const BPLUPPDRAG_GET_UPPDRAG = \"BPLUPPDRAG_GET_UPPDRAG\";\r\nexport const BPLUPPDRAG_GET_UPPDRAG_SUCCESS = \"BPLUPPDRAG_GET_UPPDRAG_SUCCESS\";\r\nexport const BPLUPPDRAG_GET_UPPDRAG_FAILED = \"BPLUPPDRAG_GET_UPPDRAG_FAILED\";\r\n\r\nexport const BPLUPPDRAG_GET_SCHEMA = \"BPLUPPDRAG_GET_SCHEMA\";\r\nexport const BPLUPPDRAG_GET_SCHEMA_SUCCESS = \"BPLUPPDRAG_GET_SCHEMA_SUCCESS\";\r\nexport const BPLUPPDRAG_GET_SCHEMA_FAILED = \"BPLUPPDRAG_GET_SCHEMA_FAILED\";\r\n\r\nexport const BPLUPPDRAG_GET_AKTUELLTUPPDRAG = \"BPLUPPDRAG_GET_AKTUELLTUPPDRAG\";\r\nexport const BPLUPPDRAG_GET_AKTUELLTUPPDRAG_SUCCESS = \"BPLUPPDRAG_GET_AKTUELLTUPPDRAG_SUCCESS\";\r\nexport const BPLUPPDRAG_GET_AKTUELLTUPPDRAG_FAILED = \"BPLUPPDRAG_GET_AKTUELLTUPPDRAG_FAILED\";\r\n\r\nexport const BPLUPPDRAG_SEND_ACCEPTSCHEMA = \"BPLUPPDRAG_SEND_ACCEPTSCHEMA\";\r\nexport const BPLUPPDRAG_SEND_ACCEPTSCHEMA_SUCCESS = \"BPLUPPDRAG_SEND_ACCEPTSCHEMA_SUCCESS\";\r\nexport const BPLUPPDRAG_SEND_ACCEPTSCHEMA_FAILED = \"BPLUPPDRAG_SEND_ACCEPTSCHEMA_FAILED\";\r\n\r\n\r\n// TODO: optimera så vi inte hämtar uppdrag hela tiden flera gånger\r\n// aktuellt uppdrag kanske inte ens kommer från api utan från redan laddade uppdrag i store\r\n\r\nexport function fetchAktuelltBplUppdrag() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: BPLUPPDRAG_GET_AKTUELLTUPPDRAG});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/bpl/aktuelltuppdrag'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: BPLUPPDRAG_GET_AKTUELLTUPPDRAG_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: BPLUPPDRAG_GET_AKTUELLTUPPDRAG_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta aktuellt uppdrag misslyckades', severity: 'warning'}});}); \r\n\r\n }\r\n \r\n};\r\n\r\n\r\nexport function fetchBplUppdrag(date) {\r\n \r\n return (dispatch) => {\r\n dispatch({type: BPLUPPDRAG_GET_UPPDRAG});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/bpl/uppdrag?date=').concat(date), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: BPLUPPDRAG_GET_UPPDRAG_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: BPLUPPDRAG_GET_UPPDRAG_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta uppdrag misslyckades', severity: 'warning'}});}); \r\n\r\n }\r\n \r\n};\r\n\r\nexport function fetchSchema(year, month) {\r\n \r\n return (dispatch) => {\r\n dispatch({type: BPLUPPDRAG_GET_SCHEMA});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/bpl/schema?year=').concat(year).concat('&month=').concat(month), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: BPLUPPDRAG_GET_SCHEMA_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: BPLUPPDRAG_GET_SCHEMA_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta schema misslyckades', severity: 'warning'}});}); \r\n\r\n }\r\n \r\n};\r\n\r\n\r\n\r\nexport function sendAcceptSchema(schemaPostId, undo) {\r\n\r\n return (dispatch) => {\r\n\r\n dispatch({type: BPLUPPDRAG_SEND_ACCEPTSCHEMA});\r\n\r\n const user = store.getState().oidc.user;\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/bpl/schema/accept'), { schemaPostId:schemaPostId, undo: undo }, getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: BPLUPPDRAG_SEND_ACCEPTSCHEMA_SUCCESS, payload: dataResult}); \r\n\r\n console.log('after send');\r\n axios.get(infraConfig.apiEndpoint.concat('/api/bpl/aktuelltuppdrag'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: BPLUPPDRAG_GET_AKTUELLTUPPDRAG_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: BPLUPPDRAG_GET_AKTUELLTUPPDRAG_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta aktuellt uppdrag misslyckades', severity: 'warning'}});}); \r\n \r\n })\r\n .catch((error) => { dispatch({type: BPLUPPDRAG_SEND_ACCEPTSCHEMA_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Skicka acceptera uppdrag misslyckades', severity: 'warning'}});}); \r\n \r\n }\r\n\r\n};","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\nimport { openFileWindow } from \"system/util.js\";\r\n\r\nexport const KRISHANTERING_GET_DOCUMENTS = \"KRISHANTERING_GET_DOCUMENTS\";\r\nexport const KRISHANTERING_GET_DOCUMENTS_SUCCESS = \"KRISHANTERING_GET_DOCUMENTS_SUCCESS\";\r\nexport const KRISHANTERING_GET_DOCUMENTS_FAILED = \"KRISHANTERING_GET_DOCUMENTS_FAILED\";\r\n\r\nexport const KRISHANTERING_GET_FILE = \"KRISHANTERING_GET_FILE\";\r\nexport const KRISHANTERING_GET_FILE_SUCCESS = \"KRISHANTERING_GET_FILE_SUCCESS\";\r\nexport const KRISHANTERING_GET_FILE_FAILED = \"KRISHANTERING_GET_FILE_FAILED\";\r\n\r\nexport const KRISHANTERING_GET_BOSSINFO = \"KRISHANTERING_GET_BOSSINFO\";\r\nexport const KRISHANTERING_GET_BOSSINFO_SUCCESS = \"KRISHANTERING_GET_BOSSINFO_SUCCESS\";\r\nexport const KRISHANTERING_GET_BOSSINFO_FAILED = \"KRISHANTERING_GET_BOSSINFO_FAILED\";\r\n\r\n\r\nexport function fetchBossInfo() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_BOSSINFO});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/bossinfo'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: KRISHANTERING_GET_BOSSINFO_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_BOSSINFO_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta närmsta chef information misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function fetchDocumentsByCompanyArea() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_DOCUMENTS});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/documents/bycompanyarea'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: KRISHANTERING_GET_DOCUMENTS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_DOCUMENTS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokument misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function downloadDocumentFileByCompanyArea(filename) {\r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_FILE});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/downloadfile/bycompanyarea/?filename=').concat(filename), getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: KRISHANTERING_GET_FILE_SUCCESS, payload: dataResult});\r\n \r\n //console.log('got file', dataResult);\r\n openFileWindow(dataResult.data.result);\r\n }\r\n \r\n )\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_FILE_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokumentfil misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n}\r\n\r\nexport function fetchDocumentsByCompanyPosition() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_DOCUMENTS});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/documents/bycompanyposition'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: KRISHANTERING_GET_DOCUMENTS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_DOCUMENTS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokument misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function downloadDocumentFileByCompanyPosition(filename) {\r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_FILE});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/downloadfile/bycompanyposition/?filename=').concat(filename), getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: KRISHANTERING_GET_FILE_SUCCESS, payload: dataResult});\r\n \r\n //console.log('got file', dataResult);\r\n openFileWindow(dataResult.data.result);\r\n \r\n }\r\n \r\n )\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_FILE_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokumentfil misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n}\r\n\r\n","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\n\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\nexport const SHAREPOINT_GET_BOLAG = \"SHAREPOINT_GET_BOLAG\";\r\nexport const SHAREPOINT_GET_BOLAG_SUCCESS = \"SHAREPOINT_GET_BOLAG_SUCCESS\";\r\nexport const SHAREPOINT_GET_BOLAG_FAILED = \"SHAREPOINT_GET_BOLAG_FAILED\";\r\n\r\n\r\nexport function fetchBolag() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: SHAREPOINT_GET_BOLAG});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/spcommon/bolag'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: SHAREPOINT_GET_BOLAG_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: SHAREPOINT_GET_BOLAG_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta lista med bolag misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\n\r\nexport const INCIDENT_GET_INCIDENTRAPPORTER = \"INCIDENT_GET_INCIDENTRAPPORTER\";\r\nexport const INCIDENT_GET_INCIDENTRAPPORTER_SUCCESS = \"INCIDENT_GET_INCIDENTRAPPORTER_SUCCESS\";\r\nexport const INCIDENT_GET_INCIDENTRAPPORTER_FAILED = \"INCIDENT_GET_INCIDENTRAPPORTER_FAILED\";\r\n\r\nexport const INCIDENT_GET_FORMOPTIONS = \"INCIDENT_GET_FORMOPTIONS\";\r\nexport const INCIDENT_GET_FORMOPTIONS_SUCCESS = \"INCIDENT_GET_FORMOPTIONS_SUCCESS\";\r\nexport const INCIDENT_GET_FORMOPTIONS_FAILED = \"INCIDENT_GET_FORMOPTIONS_FAILED\";\r\n\r\nexport const INCIDENT_FORSAKRINGUPPFOLJNING_GET = \"INCIDENT_FORSAKRINGUPPFOLJNING_GET\";\r\nexport const INCIDENT_FORSAKRINGUPPFOLJNING_GET_SUCCESS = \"INCIDENT_FORSAKRINGUPPFOLJNING_GET_SUCCESS\";\r\nexport const INCIDENT_FORSAKRINGUPPFOLJNING_GET_FAILED = \"INCIDENT_FORSAKRINGUPPFOLJNING_GET_FAILED\";\r\n\r\n\r\nexport function fetchIncidentRapporter() {\r\n return (dispatch) => {\r\n dispatch({type: INCIDENT_GET_INCIDENTRAPPORTER});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/incident/list'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: INCIDENT_GET_INCIDENTRAPPORTER_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: INCIDENT_GET_INCIDENTRAPPORTER_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta incidentrapporter misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n};\r\n\r\nexport function fetchFormOptions() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: INCIDENT_GET_FORMOPTIONS});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/incident/formoptions'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: INCIDENT_GET_FORMOPTIONS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: INCIDENT_GET_FORMOPTIONS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta formulärdata för incidentrapport misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function fetchForsakringUppfoljning(year, month) {\r\n \r\n return (dispatch) => {\r\n dispatch({type: INCIDENT_FORSAKRINGUPPFOLJNING_GET});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/incident/forsakringuppfoljning?year=').concat(year).concat('&month=').concat(month), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: INCIDENT_FORSAKRINGUPPFOLJNING_GET_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: INCIDENT_FORSAKRINGUPPFOLJNING_GET_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta försäkringsuppföljning misslyckades', severity: 'warning'}});}); \r\n\r\n }\r\n \r\n};","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\nimport { openFileWindow } from \"system/util.js\";\r\n\r\n\r\nexport const POLICYDOCS_GET_DOCUMENTS = \"POLICYDOCS_GET_DOCUMENTS\";\r\nexport const POLICYDOCS_GET_DOCUMENTS_SUCCESS = \"POLICYDOCS_GET_DOCUMENTS_SUCCESS\";\r\nexport const POLICYDOCS_GET_DOCUMENTS_FAILED = \"POLICYDOCS_GET_DOCUMENTS_FAILED\";\r\n\r\nexport const POLICYDOCS_GET_FILE = \"POLICYDOCS_GET_FILE\";\r\nexport const POLICYDOCS_GET_FILE_SUCCESS = \"POLICYDOCS_GET_FILE_SUCCESS\";\r\nexport const POLICYDOCS_GET_FILE_FAILED = \"POLICYDOCS_GET_FILE_FAILED\";\r\n\r\n\r\nexport function fetchDocuments() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: POLICYDOCS_GET_DOCUMENTS});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/policydocs/documents'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: POLICYDOCS_GET_DOCUMENTS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: POLICYDOCS_GET_DOCUMENTS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokument misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function downloadDocumentFile(filename) {\r\n return (dispatch) => {\r\n dispatch({type: POLICYDOCS_GET_FILE});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/policydocs/downloadfile?filename=').concat(filename), getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: POLICYDOCS_GET_FILE, payload: dataResult});\r\n \r\n // console.log('got file', dataResult);\r\n openFileWindow(dataResult.data.result);\r\n\r\n }\r\n \r\n )\r\n .catch((error) => { dispatch({type: POLICYDOCS_GET_FILE_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokumentfil misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n}\r\n\r\n\r\n","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\n\r\n\r\nexport const ECODRIVING_GET_DETAIL =\"ECODRIVING_GET_DETAIL\";\r\nexport const ECODRIVING_GET_DETAIL_SUCCESS =\"ECODRIVING_GET_DETAIL_SUCCESS\";\r\nexport const ECODRIVING_GET_DETAIL_FAILED =\"ECODRIVING_GET_DETAIL_FAILED\";\r\n\r\nexport const ECODRIVING_GET_OVERVIEW =\"ECODRIVING_GET_OVERVIEW\";\r\nexport const ECODRIVING_GET_OVERVIEW_SUCCESS =\"ECODRIVING_GET_OVERVIEW_SUCCESS\";\r\nexport const ECODRIVING_GET_OVERVIEW_FAILED =\"ECODRIVING_GET_OVERVIEW_FAILED\";\r\n\r\n\r\nexport function fetchEcodrivingOverview() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: ECODRIVING_GET_OVERVIEW});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/bpl/ecodriving/overview'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: ECODRIVING_GET_OVERVIEW_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: ECODRIVING_GET_OVERVIEW_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta ecodriving overview misslyckades', severity: 'warning'}});}); \r\n\r\n }\r\n \r\n};\r\nexport function fetchEcodrivingDetail(date) {\r\n \r\n return (dispatch) => {\r\n dispatch({type: ECODRIVING_GET_DETAIL});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/bpl/ecodriving/detail?date=').concat(date), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: ECODRIVING_GET_DETAIL_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: ECODRIVING_GET_DETAIL_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta ecodriving detail misslyckades', severity: 'warning'}});}); \r\n\r\n }\r\n \r\n};\r\n","import { createUserManager } from 'redux-oidc';\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { WebStorageStateStore } from 'oidc-client';\r\n\r\n// user manager configuration object, see oidc-client-js documentation for details\r\nconst config = {\r\n client_id: infraConfig.clientId,\r\n redirect_uri: infraConfig.usePort ? `${window.location.protocol}//${window.location.hostname}:${window.location.port}/callback` : `${window.location.protocol}//${window.location.hostname}/callback`,\r\n response_type: 'id_token token',\r\n scope: 'openid profile',\r\n authority: infraConfig.identityServerEndpoint,\r\n post_logout_redirect_uri: infraConfig.usePort ? `${window.location.protocol}//${window.location.hostname}:${window.location.port}/loggedout` :`${window.location.protocol}//${window.location.hostname}/loggedout`,\r\n silent_redirect_uri: infraConfig.usePort ? `${window.location.protocol}//${window.location.hostname}:${window.location.port}/silent-renew` :`${window.location.protocol}//${window.location.hostname}/silent-renew`,\r\n automaticSilentRenew: true,\r\n filterProtocolClaims: true,\r\n loadUserInfo: true,\r\n userStore: new WebStorageStateStore({ store: window.localStorage }) \r\n }\r\n \r\n // create a user manager instance\r\n const userManager = createUserManager(config);\r\n \r\n export default userManager;","import React, { Component } from \"react\";\r\nimport { Button } from \"react-bootstrap\";\r\n// used to make this component's props into classes\r\nimport cx from \"classnames\";\r\n// used for making the props of this component to bool\r\nimport PropTypes from \"prop-types\";\r\n\r\nclass CustomButton extends Component {\r\n render() {\r\n const {\r\n fill,\r\n simple,\r\n pullRight,\r\n block,\r\n wd,\r\n round,\r\n icon,\r\n neutral,\r\n twitter,\r\n facebook,\r\n google,\r\n linkedin,\r\n pinterest,\r\n youtube,\r\n tumblr,\r\n github,\r\n behance,\r\n dribbble,\r\n reddit,\r\n stumbleupon,\r\n ...rest\r\n } = this.props;\r\n\r\n const btnClasses = cx({\r\n \"btn-fill\": fill,\r\n \"btn-simple\": simple,\r\n \"pull-right\": pullRight,\r\n \"btn-block\": block,\r\n \"btn-wd\": wd,\r\n \"btn-round\": round,\r\n \"btn-icon\": icon,\r\n \"btn-neutral\": neutral,\r\n \"btn-social btn-twitter\": twitter,\r\n \"btn-social btn-facebook\": facebook,\r\n \"btn-social btn-google\": google,\r\n \"btn-social btn-linkedin\": linkedin,\r\n \"btn-social btn-pinterest\": pinterest,\r\n \"btn-social btn-youtube\": youtube,\r\n \"btn-social btn-tumblr\": tumblr,\r\n \"btn-social btn-github\": github,\r\n \"btn-social btn-behance\": behance,\r\n \"btn-social btn-dribbble\": dribbble,\r\n \"btn-social btn-reddit\": reddit,\r\n \"btn-social btn-stumbleupon\": stumbleupon\r\n });\r\n\r\n return \r\n );\r\n }\r\n}\r\n\r\nexport default MedarbetarundersokningButton;\r\n","import React from 'react';\r\nimport Button from \"components/CustomButtons/CustomButton.jsx\";\r\n\r\nimport { LinkContainer } from \"react-router-bootstrap\";\r\n\r\nclass KrishanteringButton extends React.Component {\r\n render(){\r\n\r\n // TODO: VH har en annan krishanterings\"modul\" men knappen är samma, flytta?\r\n return (\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default KrishanteringButton;","import React, { Component } from \"react\";\r\n\r\nimport userManager from \"system/userManager\";\r\nimport { Nav, NavDropdown, MenuItem, Navbar } from \"react-bootstrap\";\r\nimport { connect } from \"react-redux\";\r\n\r\n// import Date from \"components/formatting/Date.jsx\";\r\nimport { clearErrors } from \"system/actions\";\r\nimport { logoutInProgress } from \"system/actions/authHelper.js\";\r\n\r\nimport { LinkContainer } from \"react-router-bootstrap\";\r\nimport { getUndersokning } from \"dashboard/Medarbetarundersokning/actions\";\r\nimport BplExternalLink from \"components/utils/BplExternalLink\";\r\nimport UtbExternalLink from \"components/utils/UtbExternalLink\";\r\nimport MedarbetarundersokningButton from \"components/utils/MedarbetarundersokningButton\";\r\nimport KrishanteringButton from \"components/utils/KrishanteringButton\";\r\nimport MediaQuery from \"react-responsive\";\r\n\r\nclass HeaderLinks extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {\r\n\t\t\textended: false,\r\n\t\t};\r\n\t}\r\n\r\n\thandleNotificationClick() {\r\n\t\tthis.props.clearErrors();\r\n\t}\r\n\tcomponentDidMount() {\r\n\t\tthis.props.getUndersokning();\r\n\t}\r\n\thandleLinkClick(path) {\r\n\t\tdocument.documentElement.classList.toggle(\"nav-open\");\r\n\r\n\t\t// if (this.props.history !== undefined) this.props.history.push(path);\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnoCaret\r\n\t\t\t\t\t\tid=\"basic-nav-dropdown-3\"\r\n\t\t\t\t\t\tbsClass=\"dropdown-with-icons dropdown\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t this.handleLinkClick()}\r\n\t\t\t\t\t\t\tto=\"/dashboard/userinfo\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tAnvändarinfo\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\tthis.handleLinkClick();\r\n\r\n\t\t\t\t\t\t\t\t\tthis.props.logoutInProgress();\r\n\t\t\t\t\t\t\t\t\tuserManager.removeUser(); // removes the user data from sessionStorage\r\n\t\t\t\t\t\t\t\t\tuserManager.signoutRedirect({\r\n\t\t\t\t\t\t\t\t\t\tid_token_hint: this.props.user.id_token,\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\twindow.localStorage.clear();\r\n\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t Logga ut\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n\treturn {\r\n\t\tuser: state.oidc.user,\r\n\t\terrors: state.errors.errors,\r\n\t};\r\n}\r\n\r\nexport default connect(mapStateToProps, {\r\n\tgetUndersokning,\r\n\tclearErrors,\r\n\tlogoutInProgress,\r\n})(HeaderLinks);\r\n","import React, { Component } from \"react\";\r\n\r\nexport class StatsCard extends Component {\r\n render() {\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {this.props.bigIcon}\r\n
\r\n
\r\n
\r\n
\r\n

{this.props.statsText}

\r\n {this.props.statsValue}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {this.props.statsIconText}\r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default StatsCard;\r\n","import React, { Component} from \"react\";\r\nimport moment from 'moment';\r\n\r\nclass Date extends Component {\r\n\r\n\r\n render() {\r\n\r\n return ({this.props.withTime \r\n ? moment(this.props.value).format('YYYY-MM-DD HH:mm') \r\n : this.props.withTimeSeconds ? moment(this.props.value).format('YYYY-MM-DD HH:mm:ss') \r\n : moment(this.props.value).format('YYYY-MM-DD') });\r\n }\r\n\r\n}\r\nexport default Date;\r\n","import { Component } from \"react\";\r\n\r\nclass MobileDesktop extends Component {\r\n constructor() {\r\n super();\r\n this.state = {\r\n width: window.innerWidth,\r\n };\r\n }\r\n\r\n componentWillMount() {\r\n window.addEventListener('resize', this.handleWindowSizeChange);\r\n }\r\n // make sure to remove the listener\r\n // when the component is not mounted anymore\r\n componentWillUnmount() {\r\n window.removeEventListener('resize', this.handleWindowSizeChange);\r\n }\r\n handleWindowSizeChange = () => {\r\n this.setState({ width: window.innerWidth });\r\n };\r\n\r\n render() {\r\n const { width } = this.state;\r\n const isMobile = width < 992;\r\n\r\n return (\r\n isMobile && this.props.mobileView != null \r\n ? this.props.mobileView \r\n : this.props.desktopView != null \r\n ? this.props.desktopView \r\n : null\r\n );\r\n }\r\n}\r\n\r\nexport default MobileDesktop;","import React, { Component} from \"react\";\r\nimport StatsCard from 'components/Card/StatsCard.jsx';\r\nimport Card from 'components/Card/Card';\r\n\r\nimport Button from 'components/CustomButtons/CustomButton.jsx';\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport { connect } from \"react-redux\";\r\nimport { fetchAktuelltBplUppdrag, sendAcceptSchema } from \"./actions\";\r\nimport Date from \"components/formatting/Date\";\r\nimport MobileDesktop from \"components/utils/MobileDesktop\";\r\n\r\nclass AktuelltUppdrag extends Component {\r\n constructor(props){\r\n super(props);\r\n\r\n this.handleAcceptUppdrag = this.handleAcceptUppdrag.bind(this);\r\n }\r\n \r\n componentDidMount() {\r\n this.props.fetchAktuelltBplUppdrag(); \r\n }\r\n\r\n handleAcceptUppdrag() {\r\n if (this.props.aktuelltUppdrag != null){\r\n\r\n this.props.sendAcceptSchema(this.props.aktuelltUppdrag.passStartSchemapostId, this.props.aktuelltUppdrag.bekraftad);\r\n\r\n }\r\n\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n {this.props.isLoadingAcceptSchema ? :\r\n this.props.aktuelltUppdrag.bekraftad ? \"Bekräftat\" : \"Bekräfta\"\r\n }\r\n : null\r\n }\r\n statsText=\"Aktuellt uppdrag\"\r\n statsValue={this.props.aktuelltUppdrag != null ? this.props.aktuelltUppdrag.beskrivning : \"-\"}\r\n statsIconText={
Uppdaterat: } />
}\r\n />\r\n } mobileView={\r\n \r\n

Aktuellt uppdrag

\r\n

{this.props.aktuelltUppdrag != null ? this.props.aktuelltUppdrag.beskrivning : \"-\"}

\r\n
\r\n { this.props.aktuelltUppdrag != null ? \r\n : null}\r\n
\r\n \r\n } \r\n\r\n stats={
Uppdaterat: } />
}\r\n\r\n />\r\n } />\r\n \r\n );\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n aktuelltUppdrag: state.bpluppdrag.aktuelltUppdrag,\r\n aktuelltUppdragTimestamp: state.bpluppdrag.aktuelltUppdragTimestamp,\r\n isLoadingAktuelltUppdrag: state.bpluppdrag.isLoadingAktuelltUppdrag,\r\n loadingAktuelltUppdragFailed: state.bpluppdrag.loadingAktuelltUppdragFailed,\r\n isLoadingAcceptSchema: state.bpluppdrag.isLoadingAcceptSchema,\r\n loadingAcceptSchemaFailed: state.bpluppdrag.loadingAcceptSchemaFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { sendAcceptSchema, fetchAktuelltBplUppdrag })(AktuelltUppdrag);","import React, { Component} from \"react\";\r\nimport moment from 'moment';\r\n\r\nclass Time extends Component {\r\n\r\n render() {\r\n\r\n return ({this.props.value ? \r\n this.props.withSeconds \r\n ? moment(this.props.value).format('HH:mm:ss') \r\n : moment(this.props.value).format('HH:mm') : null});\r\n }\r\n\r\n}\r\nexport default Time;\r\n","import React, { Component} from \"react\";\r\nimport {Table} from 'react-bootstrap';\r\nimport Time from 'components/formatting/Time';\r\nimport DateC from 'components/formatting/Date';\r\n\r\nclass UppdragTable extends Component{\r\n\r\n \r\n renderList() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n { this.props.uppdrag.length > 0 ? \r\n this.props.uppdrag.map((row, key) => {\r\n return (row.uppdrag.map((subrow, key) => {\r\n return (\r\n (!this.props.showFramAter && subrow.ejFramAterkorning) || this.props.showFramAter ? \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n : null\r\n )\r\n })\r\n )\r\n }) : null\r\n \r\n }\r\n\r\n \r\n
DatumStartSlutBeskrivningTjänstFordonStartplatsSlutplatsNotering
\r\n \r\n \r\n \r\n \r\n {subrow.beskrivning}\r\n \r\n {subrow.tjanst}\r\n \r\n {subrow.fordonStr}\r\n \r\n {subrow.startplats}\r\n \r\n {subrow.slutplats}\r\n \r\n {subrow.anmarkning}\r\n
\r\n \r\n );\r\n }\r\n\r\n render() {\r\n \r\n return (this.renderList());\r\n }\r\n}\r\n\r\n export default UppdragTable;","import React, { Component} from \"react\";\r\nimport {Table} from 'react-bootstrap';\r\nimport Time from 'components/formatting/Time';\r\nimport DateC from 'components/formatting/Date';\r\n\r\nclass HuvudUppdragTable extends Component{\r\n\r\n \r\n renderList() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n { this.props.uppdrag.length > 0 ? \r\n this.props.uppdrag.map((row, key) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ) }) : null}\r\n \r\n \r\n
DatumStartAvg.tidSlutBeskrivningFordonNotering
\r\n \r\n \r\n \r\n \r\n \r\n {row.beskrivning}\r\n \r\n {row.fordonStr}\r\n \r\n {row.anmarkning}\r\n
\r\n );\r\n }\r\n\r\n render() {\r\n \r\n return (this.renderList());\r\n }\r\n}\r\nexport default HuvudUppdragTable;","import React, { Component} from \"react\";\r\nimport {Grid, Col, Row} from 'react-bootstrap';\r\nimport Time from 'components/formatting/Time';\r\nimport 'assets/css/detailcard.css';\r\nimport DateC from 'components/formatting/Date';\r\n\r\nclass UppdragCards extends Component{\r\n\r\n renderCard(row, key) {\r\n return (
\r\n\r\n \r\n \r\n \r\n
Datum
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
Start
\r\n
\r\n \r\n \r\n
Slut
\r\n
\r\n \r\n
\r\n \r\n \r\n
Fordon
\r\n {row.fordonStr}\r\n
\r\n \r\n
\r\n \r\n \r\n
Tjänst
\r\n {row.tjanst}\r\n
\r\n \r\n
\r\n \r\n \r\n
Beskrivning
\r\n {row.beskrivning}\r\n
\r\n \r\n
\r\n \r\n \r\n
Startplats
\r\n {row.startplats}\r\n
\r\n \r\n
\r\n \r\n \r\n
Slutplats
\r\n {row.slutplats}\r\n
\r\n \r\n
\r\n \r\n \r\n
Notering
\r\n {row.anmarkning}\r\n
\r\n \r\n
\r\n
\r\n
)\r\n }\r\n renderList() {\r\n return (\r\n
\r\n \r\n { this.props.uppdrag.length > 0 ? \r\n this.props.uppdrag.map((row, key) => {\r\n return (row.uppdrag.map((subrow, key) => {\r\n return (\r\n (!this.props.showFramAter && subrow.ejFramAterkorning) || this.props.showFramAter ? \r\n this.renderCard(subrow,key)\r\n : null\r\n )\r\n })\r\n )\r\n }) : null\r\n \r\n }\r\n\r\n
\r\n );\r\n }\r\n\r\n render() {\r\n \r\n return (this.renderList());\r\n }\r\n}\r\n\r\n export default UppdragCards;","import React, { Component} from \"react\";\r\nimport {Col, Row} from 'react-bootstrap';\r\nimport Time from 'components/formatting/Time';\r\nimport 'assets/css/detailcard.css';\r\nimport DateC from 'components/formatting/Date';\r\n\r\nclass HuvudUppdragCards extends Component{\r\n\r\n renderCard(row, key) {\r\n return (
\r\n \r\n \r\n
Datum
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
Start
\r\n
\r\n \r\n \r\n
Slut
\r\n
\r\n \r\n
\r\n \r\n \r\n
Avg.tid
\r\n
\r\n \r\n \r\n
Fordon
\r\n {row.fordonStr}\r\n
\r\n \r\n
\r\n \r\n \r\n
Beskrivning
\r\n {row.beskrivning}\r\n
\r\n \r\n
\r\n \r\n \r\n
Notering
\r\n {row.anmarkning}\r\n
\r\n \r\n
\r\n
)\r\n }\r\n renderList() {\r\n return (\r\n
\r\n { this.props.uppdrag.length > 0 ? \r\n this.props.uppdrag.map((row, key) => {\r\n return (\r\n this.renderCard(row, key) \r\n ) }) : null}\r\n \r\n
\r\n );\r\n }\r\n\r\n render() {\r\n \r\n return (this.renderList());\r\n }\r\n}\r\nexport default HuvudUppdragCards;","import React from 'react';\r\nimport UppdragTable from \"./UppdragTable\";\r\nimport HuvudUppdragTable from './HuvudUppdragTable';\r\nimport Card from 'components/Card/Card.jsx';\r\nimport { connect } from \"react-redux\";\r\nimport { fetchBplUppdrag } from \"./actions\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport Date from \"components/formatting/Date\";\r\nimport Button from \"components/CustomButtons/CustomButton\";\r\nimport {ButtonGroup} from \"react-bootstrap\";\r\nimport BplExternalLink from \"components/utils/BplExternalLink\";\r\nimport MobileDesktop from \"components/utils/MobileDesktop\";\r\nimport UppdragCards from \"./UppdragCards\";\r\nimport HuvudUppdragCards from \"./HuvudUppdragCards\";\r\nimport {\r\n FormGroup\r\n } from \"react-bootstrap\";\r\n import { LinkContainer } from \"react-router-bootstrap\";\r\n\r\nimport Datetime from 'react-datetime';\r\nimport { getClaimSingle} from \"system/security\";\r\nimport moment from 'moment';\r\nimport 'moment/locale/sv';\r\n\r\nmoment().locale('sv');\r\n\r\nclass BplMinaUppdrag extends React.Component {\r\n constructor(props)\r\n {\r\n super(props);\r\n \r\n\r\n this.state = {\r\n showDetails: false,\r\n showFramAter: true,\r\n uppdragDate: new Date()\r\n }\r\n this.handleDetailsCheckbox = this.handleDetailsCheckbox.bind(this);\r\n this.handleFramAterCheckbox = this.handleFramAterCheckbox.bind(this);\r\n this.handleUppdragDateChange = this.handleUppdragDateChange.bind(this);\r\n }\r\n componentDidMount() {\r\n this.props.fetchBplUppdrag(moment(this.state.uppdragDate).toISOString());\r\n }\r\n handleDetailsCheckbox(){\r\n // console.log(this);\r\n \r\n this.setState(prevState => ({\r\n showDetails: !prevState.showDetails\r\n }));\r\n }\r\n handleFramAterCheckbox() {\r\n this.setState(prevState => ({\r\n showFramAter: !prevState.showFramAter\r\n }));\r\n }\r\n handleUppdragDateChange(date) {\r\n this.setState({\r\n uppdragDate: date\r\n }, () => {\r\n this.props.fetchBplUppdrag(moment(this.state.uppdragDate).toISOString());\r\n });\r\n }\r\n render(){ \r\n const linkKororder = \"client/utskrift/specifikation.aspx?personalid=\"\r\n .concat(getClaimSingle(\"BplUserId\", this.props.userprofile))\r\n .concat(\"&datum=\")\r\n .concat(moment(this.state.uppdragDate).format('YYYY-MM-DD')); \r\n return ( \r\n Klicka på en rad för att återrapportera : Visa detaljerad vy för att återrapportera}\r\n commandBar={\r\n
\r\n \r\n \r\n \r\n \r\n  \r\n \r\n \r\n  \r\n \r\n \r\n \r\n \r\n \r\n
\r\n }\r\n content={\r\n this.state.showDetails ? : \r\n }\r\n stats={Uppdaterat: } />}\r\n />\r\n } \r\n mobileView = {\r\n Klicka på en rad för att återrapportera : Visa detaljerad vy för att återrapportera} \r\n content={\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n

\r\n\r\n {this.state.showDetails ? : }\r\n
\r\n }\r\n stats={Uppdaterat: } />}\r\n />\r\n } />);\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n userprofile: state.userprofile.userprofile,\r\n uppdrag: state.bpluppdrag.uppdrag,\r\n uppdragTimestamp: state.bpluppdrag.uppdragtimestamp,\r\n isLoadingUppdrag: state.bpluppdrag.isLoadingUppdrag,\r\n loadingUppdragFailed: state.bpluppdrag.loadingUppdragFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { fetchBplUppdrag })(BplMinaUppdrag);","import React from \"react\";\r\nimport StatsCard from 'components/Card/StatsCard.jsx';\r\nimport Button from 'components/CustomButtons/CustomButton.jsx';\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport { connect } from \"react-redux\";\r\nimport { fetchGodkandTidrapport, sendLamnaTidrapport } from \"./actions\"; \r\nimport Date from \"components/formatting/Date\";\r\nimport MobileDesktop from \"components/utils/MobileDesktop\";\r\nimport Card from 'components/Card/Card';\r\n\r\nclass BplGodkannaTid extends React.Component {\r\n constructor(props){\r\n super(props);\r\n this.handleAcceptTidrapport = this.handleAcceptTidrapport.bind(this);\r\n }\r\n \r\n componentDidMount() {\r\n this.props.fetchGodkandTidrapport();\r\n }\r\n\r\n handleAcceptTidrapport() {\r\n\t\t if (this.props.tidrapport != null) {\r\n\r\n this.props.sendLamnaTidrapport(this.props.tidrapport.id, this.props.tidrapport.isSubmitted);\r\n\r\n }\r\n\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n \r\n {this.props.isLoadingAcceptTidrapport ? :\r\n this.props.tidrapport.isSubmitted ? \"Inlämnad\" : \"Lämna in\"\r\n }\r\n : null\r\n }\r\n statsText={this.props.tidrapport != null ? Period till , {this.props.tidrapport.passCount} pass : \"-\"}\r\n statsValue={this.props.tidrapport != null ? this.props.tidrapport.status : \"-\"}\r\n statsIconText={
Uppdaterad: } />
}\r\n />} mobileView={\r\n \r\n

{this.props.tidrapport != null ? Period till , {this.props.tidrapport.passCount} pass : \"-\"}

\r\n

{this.props.tidrapport != null ? this.props.tidrapport.status : \"-\"}

\r\n
\r\n { this.props.tidrapport != null ? \r\n : null}\r\n\r\n
\r\n\r\n \r\n }\r\n stats={
Uppdaterad: } />
}\r\n\r\n />\r\n } />\r\n );\r\n }\r\n}\r\n\r\n\tfunction mapStateToProps(state) {\r\n\t\treturn {\r\n\t\t\tuser: state.oidc.user,\r\n\t\t\ttidrapport: state.bpltidrapport.tidrapport,\r\n\t\t\ttidrapportTimestamp: state.bpltidrapport.tidrapportTimestamp,\r\n\t\t\tisLoadingTidrapport: state.bpltidrapport.isLoadingTidrapport,\r\n\t\t\tisLoadingTidrapportFailed: state.bpltidrapport.isLoadingTidrapportFailed,\r\n isLoadingAcceptTidrapport: state.bpltidrapport.isLoadingAcceptTidrapport,\r\n loadingAcceptTidrapportFailed: state.bpltidrapport.loadingAcceptTidrapportFailed\r\n\t\t};\r\n\t}\r\n \r\n export default connect(mapStateToProps, { fetchGodkandTidrapport, sendLamnaTidrapport })(BplGodkannaTid);","import React from 'react';\r\nimport moment from 'moment';\r\nimport {Link} from 'react-router';\r\n\r\nclass NewsItemCompact extends React.Component {\r\n\r\n render() {\r\n const publishedString = moment(this.props.item.publishedDate).format(\"LL\");\r\n\r\n return
\r\n

{this.props.item.title}

\r\n
\r\n
\r\n
\r\n { this.props.type === \"koncern\" \r\n ?

Läs mer..

\r\n : this.props.type === \"region\" ?

Läs mer..

\r\n : null}\r\n \r\n
\r\n
\r\n
\r\n Publicerad {publishedString} av {this.props.item.authorName}\r\n
\r\n
;\r\n } \r\n}\r\nexport default NewsItemCompact;","import { connect } from \"react-redux\";\r\nimport { getRegionNewsCompact,getKoncernNewsCompact } from \"./actions\";\r\nimport NewsItemCompact from \"./NewsItemCompact\";\r\nimport { getClaimSingle } from \"system/security\";\r\n\r\nimport React from 'react';\r\nimport Card from 'components/Card/Card';\r\n\r\nclass StartNewsListView extends React.Component {\r\n constructor(props){\r\n super(props);\r\n this.state = {\r\n regionTitle: 'Region'\r\n }\r\n }\r\n \r\n componentDidMount(){\r\n this.props.getRegionNewsCompact(0);\r\n this.props.getKoncernNewsCompact(0);\r\n\r\n const intraCompanyArea = getClaimSingle(\"IntraCompanyArea\", this.props.userprofile);\r\n if (intraCompanyArea !== undefined && intraCompanyArea !== '')\r\n {\r\n this.setState({\r\n regionTitle: intraCompanyArea\r\n }); \r\n }\r\n\r\n }\r\n \r\n render() {\r\n\r\n return
\r\n
\r\n \r\n { this.props.isLoadingRegion ? Laddar nyheter..: null}\r\n { this.props.region ? this.props.region.items\r\n .filter((item, index) => index < 5)\r\n .map((item,key) => {\r\n return ;\r\n }) : null}\r\n
\r\n } />\r\n
\r\n
\r\n \r\n { this.props.isLoadingKoncern ? Laddar nyheter..: null}\r\n { this.props.koncern ? this.props.koncern.items\r\n .filter((item, index) => index < 5)\r\n .map((item,key) => {\r\n return ;\r\n }) : null}\r\n
\r\n } />\r\n \r\n \r\n \r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n userprofile: state.userprofile.userprofile,\r\n\r\n region: state.news.regionCompact,\r\n isLoadingRegion: state.news.isLoadingRegionCompact,\r\n loadingRegionFailed: state.news.loadingRegionCompactFailed,\r\n\r\n koncern: state.news.koncernCompact,\r\n isLoadingKoncern: state.news.isLoadingKoncernCompact,\r\n loadingKoncernFailed: state.news.loadingKoncernCompactFailed\r\n };\r\n }\r\nexport default connect(mapStateToProps, { getRegionNewsCompact, getKoncernNewsCompact })(StartNewsListView);","// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read http://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.1/8 is considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\nexport function register(config) {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config);\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit http://bit.ly/CRA-PWA'\r\n );\r\n });\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl, config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n if (installingWorker == null) {\r\n return;\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See http://bit.ly/CRA-PWA.'\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration);\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration);\r\n }\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl, config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl)\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type');\r\n if (\r\n response.status === 404 ||\r\n (contentType != null && contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n );\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister();\r\n });\r\n }\r\n}\r\n","import React from \"react\";\r\nimport { appConfig } from \"config/appConfig\";\r\n\r\nclass DebugInfo extends React.Component {\r\n render() {\r\n if (!appConfig.showDebug)\r\n return null;\r\n\r\n return
{this.props.content}
;\r\n }\r\n}\r\n\r\nexport default DebugInfo;\r\n","import React from 'react';\r\nimport axios from \"axios\";\r\nimport Button from \"components/CustomButtons/CustomButton.jsx\";\r\nimport Card from \"components/Card/Card\";\r\nimport * as serviceWorker from 'serviceWorker';\r\nimport DebugInfo from \"components/DebugInfo\";\r\n\r\nclass BuildNumber extends React.Component{\r\n constructor(props){\r\n super(props);\r\n\r\n this.state = {\r\n fileVersion: undefined,\r\n processVersion: process.env.REACT_APP_BUILD_DATE,\r\n isLoading: false,\r\n hasServiceWorker: false\r\n }\r\n }\r\n componentDidMount() {\r\n\r\n if ('serviceWorker' in navigator) {\r\n\r\n navigator.serviceWorker.getRegistration().then((reg) => {\r\n\r\n if (reg){\r\n this.setState({\r\n hasServiceWorker: true\r\n })\r\n }\r\n })\r\n }\r\n\r\n axios.get('/version.txt')\r\n .then((response) => {\r\n console.log(response);\r\n this.setState({\r\n fileVersion: response.data\r\n });\r\n }).catch(() => {\r\n this.setState({\r\n fileVersion: undefined\r\n })\r\n }); \r\n\r\n }\r\n\r\n handleNewAppClick() {\r\n if ('serviceWorker' in navigator) {\r\n\r\n navigator.serviceWorker.getRegistration().then((reg) => {\r\n if (reg)\r\n {\r\n reg.update().then(() => {\r\n\r\n this.setState({\r\n isLoading: true\r\n }, () => {\r\n\r\n window.localStorage.clear(); \r\n serviceWorker.unregister();\r\n \r\n setTimeout(() => {\r\n window.location.reload(true);\r\n }, 2000)\r\n })\r\n });\r\n \r\n } else {\r\n console.log('no service worker registered');\r\n }\r\n });\r\n }\r\n }\r\n \r\n render() {\r\n\r\n return
\r\n

serviceWorker: {this.state.hasServiceWorker ? 'true' : 'false' }

\r\n

fileVersion: {this.state.fileVersion}

\r\n

processVersion: {this.state.processVersion}

\r\n \r\n
\r\n } />\r\n \r\n \r\n { this.state.hasServiceWorker && this.state.fileVersion && this.state.processVersion && this.state.processVersion !== this.state.fileVersion.toString() \r\n ? \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n { this.state.isLoading ?

Hämtar ny version..

: null}\r\n \r\n \r\n } /> : null }\r\n }\r\n}\r\nexport default BuildNumber;\r\n","import React, { Component } from \"react\";\r\nimport { Grid, Row, Col } from \"react-bootstrap\";\r\nimport { connect } from \"react-redux\";\r\nimport AktuelltUpddrag from \"../BplMinaUppdrag/AktuelltUppdrag\";\r\nimport BplMinaUppdrag from \"../BplMinaUppdrag/BplMinaUppdrag\";\r\nimport BplGodkannaTid from \"../BplGodkannaTid/BplGodkannaTId\";\r\nimport Card from \"components/Card/Card.jsx\";\r\nimport Nyheter from \"../Nyheter/StartNewsListView\";\r\nimport MedarbetarundersokningButton from \"components/utils/MedarbetarundersokningButton\";\r\nimport KrishanteringButton from \"components/utils/KrishanteringButton\";\r\nimport MobileDesktop from \"components/utils/MobileDesktop\";\r\nimport BuildNumber from \"dashboard/Main/BuildNumber\";\r\nimport { getClaimSingle } from \"system/security\";\r\n\r\nclass Start extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tshowNews: false,\r\n\t\t\tshowTimereport: false,\r\n\t\t\tshowMinaUppdrag: false,\r\n\t\t};\r\n\t}\r\n\r\n\tcomponentDidMount() {\r\n\t\tconst blackListEnabledClaim = getClaimSingle(\r\n\t\t\t\"BlacklistEnabled\",\r\n\t\t\tthis.props.userprofile\r\n\t\t);\r\n\t\tconst blackListEnabled = blackListEnabledClaim !== \"\";\r\n\t\tconsole.log(\"blacklist enabled\", blackListEnabled);\r\n\r\n\t\tconst showMinaUppdrag =\r\n\t\t\tblackListEnabled &&\r\n\t\t\tgetClaimSingle(\"MinaUppdragEnabled\", this.props.userprofile);\r\n\t\tconst showTimereport =\r\n\t\t\tblackListEnabled &&\r\n\t\t\tgetClaimSingle(\"LinkTimereportEnabled\", this.props.userprofile);\r\n\t\tconst showNews =\r\n\t\t\tblackListEnabled && getClaimSingle(\"NewsEnabled\", this.props.userprofile);\r\n\r\n\t\tif (showNews || !blackListEnabled) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tshowNews: true,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tif (showTimereport || !blackListEnabled) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tshowTimereport: true,\r\n\t\t\t});\r\n\t\t}\r\n\t\tif (showMinaUppdrag || !blackListEnabled) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tshowMinaUppdrag: true,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t} />\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t} />\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t/>\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{this.state.showMinaUppdrag ? : null}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{this.state.showTimereport ? : null}\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\r\n\t\t\t\t{this.state.showMinaUppdrag ? (\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t) : null}\r\n\t\t\t\t{this.state.showNews ? (\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t) : null}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n\treturn {\r\n\t\tuser: state.oidc.user,\r\n\t\tuserprofile: state.userprofile.userprofile,\r\n\t\tchannels: state.subscriptions.channels,\r\n\t};\r\n}\r\n\r\nexport default connect(mapStateToProps)(Start);\r\n","import React from 'react';\r\nimport { Row, Col } from \"react-bootstrap\";\r\nimport BplMinaUppdrag from \"./BplMinaUppdrag\";\r\n\r\nclass BplMinaUppdragPage extends React.Component {\r\n \r\n render(){ return (\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n\r\n );\r\n }\r\n}\r\n\r\n \r\n export default BplMinaUppdragPage;","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport Card from 'components/Card/Card.jsx';\r\nimport LoadingIcon from 'components/utils/LoadingIcon';\r\n\r\nclass FordonsFelList extends React.Component {\r\n render(){ \r\n return (
\r\n \r\n {this.props.vehicleFaults.map((item, key) => {\r\n return \r\n

{item.timestamp} {item.faultCategoryName}

\r\n

{item.text}

\r\n
\r\n \r\n } />\r\n })}\r\n\r\n );\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n vehicleFaults: state.fordonskontroll.vehicleFaults,\r\n isLoadingVehicleFaults: state.fordonskontroll.isLoadingVehicleFaults,\r\n loadingVehicleFaultsFailed: state.fordonskontroll.loadingVehicleFaultsFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps)(FordonsFelList);","import React from 'react';\r\nimport Button from 'components/CustomButtons/CustomButton.jsx';\r\nimport { connect } from \"react-redux\";\r\nimport { getVehicleCategories, getVehicleFaults } from \"./actions\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\n\r\nimport {\r\n FormGroup,\r\n FormControl,\r\n ControlLabel\r\n } from \"react-bootstrap\";\r\n\r\nclass NyttFordonsFelForm extends React.Component {\r\n \r\n constructor(props)\r\n {\r\n super(props);\r\n\r\n this.state = {\r\n category: '',\r\n categoryError: null,\r\n categoryValid: false,\r\n reportText: '',\r\n reportTextError: null,\r\n reportTextValid: false,\r\n addVehicleFaultResult: null,\r\n isLoadingAddVehicleFault: false\r\n }\r\n }\r\n componentDidMount(){\r\n this.props.getVehicleCategories();\r\n\r\n }\r\n \r\n handleCategoryChange(event) {\r\n this.setState({\r\n category: event.target.value\r\n }, () => {\r\n this.validateCategory();\r\n });\r\n \r\n }\r\n\r\n validateCategory() {\r\n this.state.category === '' \r\n ? this.setState({\r\n categoryError: (\r\n \r\n Du måste välja en kategori.\r\n \r\n ),\r\n categoryValid: false,\r\n })\r\n : this.setState({ categoryError: null, categoryValid: true });\r\n }\r\n\r\n handleReportTextChange(event) {\r\n //console.log('text changed', event);\r\n this.setState({\r\n reportText: event.target.value\r\n }, () => {\r\n this.validateReportText();\r\n });\r\n\r\n \r\n }\r\n\r\n validateReportText() {\r\n this.state.reportText.length < 1\r\n ? this.setState({\r\n reportTextError: (\r\n \r\n Felrapporten får inte vara tom.\r\n \r\n ),\r\n reportTextValid: false\r\n })\r\n : this.setState({ reportTextError: null, reportTextValid: true});\r\n }\r\n\r\n handleSaveSubmit() {\r\n if (this.state.isLoadingAddVehicleFault) // dubbelklick\r\n return false;\r\n \r\n this.validateCategory();\r\n this.validateReportText();\r\n\r\n var fault = {\r\n faultCategoryNumber : this.state.category,\r\n vehicleNumber: this.props.selectedVehicleId,\r\n text: this.state.reportText,\r\n };\r\n \r\n //console.log('SAVE Nytt fordonskontroll', fault);\r\n\r\n if (this.state.categoryValid && this.state.reportTextValid)\r\n this.addVehicleFault(fault);\r\n }\r\n\r\n addVehicleFault(vehicleFault) {\r\n \r\n this.setState({\r\n isLoadingAddVehicleFault: true,\r\n addVehicleFaultResult: null\r\n }, () => {\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/fordonskontroll/addfault'), vehicleFault, getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n //console.log('after send success', dataResult);\r\n \r\n document.getElementById(\"fordonfel-form\").reset();\r\n\r\n this.props.getVehicleFaults(this.props.selectedVehicleId);\r\n if (dataResult.data.result) {\r\n this.setState({\r\n addVehicleFaultResult: true,\r\n isLoadingAddVehicleFault: false,\r\n category: '',\r\n reportText: ''\r\n });\r\n } else {\r\n this.setState({\r\n addVehicleFaultResult: false,\r\n isLoadingAddVehicleFault: false,\r\n });\r\n }\r\n \r\n\r\n })\r\n .catch((error) => { \r\n console.log('ERROR');\r\n });\r\n });\r\n\r\n\r\n \r\n }\r\n \r\n\r\n render(){ \r\n return (\r\n
\r\n \r\n \r\n Kategori: *\r\n \r\n this.handleCategoryChange(event)}\r\n >\r\n \r\n {this.props.vehicleCategories.map((item, key) => {\r\n return \r\n })}\r\n \r\n } />\r\n {this.state.categoryError}\r\n \r\n \r\n \r\n Felrapport: *\r\n \r\n this.handleReportTextChange(event)}\r\n />\r\n {this.state.reportTextError}\r\n \r\n \r\n \r\n \r\n \r\n \r\n { this.state.addVehicleFaultResult === true ?

Felrapporten är sparad. Det kan ta några minuter för den att synas i listan över aktiva felrapporter.

: null }\r\n { this.state.addVehicleFaultResult === false ?

Ett fel inträffade när felrapporten skulle sparas. Försök igen och om felet kvarstår kontakta support.

: null }\r\n
);\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n vehicleCategories: state.fordonskontroll.vehicleCategories,\r\n isLoadingVehicleCategories: state.fordonskontroll.isLoadingvehicleCategories,\r\n loadingVehicleCategoriesFailed: state.fordonskontroll.loadingVehicleCategoriesFailed,\r\n };\r\n }\r\n \r\nexport default connect(mapStateToProps, { getVehicleCategories, getVehicleFaults })(NyttFordonsFelForm);","import React from 'react';\r\nimport Autosuggest from 'react-autosuggest';\r\nimport {\r\n FormGroup,\r\n ControlLabel\r\n } from \"react-bootstrap\";\r\n\r\nimport 'assets/css/react-autosuggest.css';\r\n\r\nclass SelectVehicleForm extends React.Component {\r\n constructor(props)\r\n {\r\n super(props);\r\n\r\n this.state = {\r\n vehicleError: null,\r\n suggestions: [],\r\n value: ''\r\n }\r\n }\r\n\r\n getSuggestionValue = suggestion => suggestion.name;\r\n\r\n renderSuggestion = suggestion => (\r\n
\r\n {suggestion.name}\r\n
\r\n );\r\n\r\n getSuggestions = value => {\r\n const inputValue = value.trim().toLowerCase();\r\n \r\n return this.props.vehicles.filter(item =>\r\n item.name.toLowerCase().includes(inputValue)\r\n );\r\n\r\n };\r\n\r\n componentDidMount() {\r\n console.log(this.props.vehicles);\r\n this.setState({\r\n suggestions: this.props.vehicles\r\n })\r\n }\r\n\r\n onSuggestionsFetchRequested = ({ value }) => {\r\n this.setState({\r\n suggestions: this.getSuggestions(value)\r\n });\r\n };\r\n\r\n onSuggestionsClearRequested = () => {\r\n console.log('clear requested');\r\n // const vehicle = this.props.vehicles.filter(item => item.name === this.state.value)[0];\r\n\r\n // this.props.handleSelectVehicle(vehicle ? vehicle.number : '');\r\n\r\n this.setState({\r\n suggestions: []\r\n });\r\n };\r\n\r\n onSuggestionSelected = (event, {suggestion, suggestionValue}) => {\r\n console.log('suggestion selected', event, suggestion, suggestionValue);\r\n\r\n const vehicle = this.props.vehicles.filter(item => item.name === suggestionValue)[0];\r\n console.log(vehicle);\r\n this.props.handleSelectVehicle(vehicle ? vehicle.number : '');\r\n\r\n }\r\n\r\n onChange = (event, { newValue }) => {\r\n // console.log(newValue);\r\n\r\n this.setState({\r\n value: newValue\r\n });\r\n };\r\n\r\n onBlur = (event) => {\r\n console.log('on blur', event);\r\n const vehicle = this.props.vehicles.filter(item => item.name === this.state.value)[0];\r\n console.log(vehicle);\r\n this.props.handleSelectVehicle(vehicle ? vehicle.number : '');\r\n }\r\n \r\n shouldRenderSuggestions(value) {\r\n return true;\r\n }\r\n render() {\r\n\r\n const { value, suggestions } = this.state;\r\n // Autosuggest will pass through all these props to the input.\r\n const inputProps = {\r\n placeholder: 'Sök fordon',\r\n value,\r\n onChange: this.onChange,\r\n onBlur: this.onBlur,\r\n className: this.state.vehicleError !== null ? 'form-control error' : 'form-control' \r\n };\r\n\r\n return (\r\n
\r\n \r\n \r\n Fordon: *\r\n \r\n \r\n {this.state.vehicleError} \r\n \r\n
);\r\n }\r\n}\r\n\r\nexport default SelectVehicleForm;","import React from 'react';\r\nimport {Grid, Col, Row } from \"react-bootstrap\";\r\nimport FordonsFelList from \"./FordonsFelList\";\r\nimport NyttFordonsFelForm from \"./NyttFordonsFelForm\";\r\nimport SelectVehicleForm from \"./SelectVehicleForm\";\r\nimport Card from 'components/Card/Card.jsx';\r\nimport { connect } from \"react-redux\";\r\nimport { getVehicles, getVehicleCategories,getVehicleFaults } from \"./actions\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\n\r\nclass Fordonskontroll extends React.Component {\r\n constructor(props){\r\n super(props);\r\n\r\n this.state = {\r\n selectedVehicleId : ''\r\n }\r\n this.handleSelectVehicle = this.handleSelectVehicle.bind(this);\r\n }\r\n componentDidMount() {\r\n this.props.getVehicles();\r\n }\r\n\r\n handleSelectVehicle(vehicleReg) {\r\n console.log('byta fordon', vehicleReg);\r\n\r\n if (vehicleReg !== this.state.selectedVehicleId){\r\n \r\n this.setState({\r\n selectedVehicleId: vehicleReg === \"\" ? '' : vehicleReg\r\n });\r\n this.props.getVehicleFaults(vehicleReg);\r\n }\r\n }\r\n\r\n render(){ \r\n return (\r\n \r\n \r\n \r\n \r\n } />\r\n } />\r\n {this.state.selectedVehicleId !== '' \r\n ? } /> \r\n : null}\r\n \r\n \r\n {this.state.selectedVehicleId !== '' ? } /> : null}\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n vehicles: state.fordonskontroll.vehicles,\r\n isLoadingVehicles: state.fordonskontroll.isLoadingVehicles,\r\n loadingVehiclesFailed: state.fordonskontroll.loadingVehiclesFailed,\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { getVehicles, getVehicleCategories, getVehicleFaults })(Fordonskontroll);","\r\nimport React, { Component} from \"react\";\r\nimport {Grid, Row, Col} from \"react-bootstrap\";\r\nimport Date from \"components/formatting/Date\";\r\nimport 'assets/css/detailcard.css';\r\nimport Button from \"components/CustomButtons/CustomButton.jsx\"\r\nclass IncidentCard extends Component {\r\n\r\n constructor(props){\r\n super(props);\r\n\r\n this.state = {\r\n showMore: false\r\n }\r\n }\r\n componentDidMount() {\r\n }\r\n render() {\r\n return (\r\n
\r\n \r\n \r\n \r\n
Skapad
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
Status
\r\n {this.props.item.status}\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
Rubrik
\r\n {this.props.item.rubrik}\r\n
\r\n \r\n
\r\n \r\n \r\n
Bolag
\r\n {this.props.item.bolag}\r\n
\r\n \r\n
\r\n \r\n \r\n
Avvikelsedatum
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
Skapad Av
\r\n {this.props.item.skapadAv}\r\n
\r\n \r\n
\r\n \r\n \r\n
Ansvarig
\r\n {this.props.item.incidentAnsvarig}\r\n
\r\n \r\n
\r\n \r\n \r\n
Åtgärd
\r\n {this.props.item.atgard}\r\n
\r\n \r\n
\r\n \r\n \r\n
Plats
\r\n {this.props.item.plats}\r\n
\r\n \r\n
\r\n {this.state.showMore ? this.renderDetaljer(this.props.item) : } \r\n
)\r\n }\r\n renderDetaljer(item) {\r\n switch (item.typ) {\r\n case \"Försäkringsärende\":\r\n return \r\n \r\n
Registreringsnummer
\r\n {item.forsakring.registreringsNummer}\r\n
\r\n \r\n \r\n
Internummer
\r\n {item.forsakring.internnummer}\r\n
\r\n \r\n \r\n
Skadeplatskategori
\r\n {item.forsakring.skadeplatskategori.map((row,key) => {\r\n return {row}
\r\n })}\r\n
\r\n \r\n \r\n
Polis inkopplad
\r\n {item.forsakring.polis ? \"Ja\" : \"Nej\"}\r\n
\r\n \r\n \r\n
Räddningstjänst inkopplad
\r\n {item.forsakring.raddningstjanst ? \"Ja\" : \"Nej\"}\r\n
\r\n \r\n \r\n
Skador på fordon
\r\n {item.forsakring.skadaPaFordon ? \"Ja\" : \"Nej\"}\r\n
\r\n \r\n \r\n
Försäkringskategori
\r\n {item.forsakring.forsakringsKategori}\r\n
\r\n \r\n \r\n
Kategorispecificering
\r\n {item.forsakring.kategoriSpecificering}\r\n
\r\n \r\n \r\n
Anlitades ersattningsfordon
\r\n {item.forsakring.ersattningsfordon ? \"Ja\" : \"Nej\"}\r\n
\r\n \r\n \r\n
Beskrivning synliga skador
\r\n {item.forsakring.synligaSkador}\r\n
\r\n \r\n \r\n
Personskada, kontaktuppgifter
\r\n {item.forsakring.personskadekontaktuppgifter}\r\n
\r\n \r\n \r\n
Personskada, kontaktuppgifter motpart
\r\n {item.forsakring.motpartskontaktuppgifter}\r\n
\r\n \r\n
;\r\n case \"Hållplatsinformation\":\r\n return \r\n \r\n
Kategori
\r\n {item.hallplatsInfo.hallplatskategori}\r\n
\r\n \r\n \r\n
Händelsebeskrivning
\r\n {item.hallplatsInfo.handelseBeskrivning}\r\n
\r\n \r\n
;\r\n case \"Arbetsmiljöfrågor\":\r\n return \r\n \r\n
Personskador
\r\n {item.arbetsMiljo.personskador ? \"Ja\" : \"Nej\"}\r\n
\r\n \r\n \r\n
Arbetsmoment
\r\n {item.arbetsMiljo.arbetsmoment.map((row,key) => {\r\n return {row}
\r\n })}\r\n
\r\n \r\n \r\n
Vad hände
\r\n {item.arbetsMiljo.vadHande.map((row,key) => {\r\n return {row}
\r\n })}\r\n
\r\n \r\n \r\n
Var något tillfälligt annorlunda på platsen
\r\n {item.arbetsMiljo.varNagot.map((row,key) => {\r\n return {row}
\r\n })}\r\n
\r\n \r\n \r\n
Förhållanden som var som de brukar men kan ha påverkat händelsen
\r\n {item.arbetsMiljo.forhallanden.map((row,key) => {\r\n return {row}
\r\n })}\r\n
\r\n \r\n \r\n
Förslag till åtgärder så att liknande händelser undviks i framtiden
\r\n {item.arbetsMiljo.forslag.map((row,key) => {\r\n return {row}
\r\n })}\r\n
\r\n \r\n
;\r\n case \"Hot och våld\":\r\n return \r\n \r\n
Händelsebeskrivning
\r\n {item.hotOchVald.handelseBeskrivning}\r\n
\r\n \r\n \r\n
Personskador information
\r\n {item.hotOchVald.externaPersonskadorInfo}\r\n
\r\n \r\n
\r\n \r\n default: \r\n return null;\r\n }\r\n }\r\n}\r\n\r\n\r\nexport default IncidentCard;","\r\nimport React, { Component} from \"react\";\r\nimport { Col, Row} from 'react-bootstrap';\r\n\r\nimport IncidentCard from \"./IncidentCard\";\r\n\r\nclass IncidentCardList extends Component {\r\n \r\n render() {\r\n return (\r\n \r\n { this.props.incidentRapporter.length > 0 ? \r\n this.props.incidentRapporter.map((row, key) => {\r\n return (\r\n \r\n \r\n ) }) : null}\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default IncidentCardList;","// ser ut ungefär som i sharepoint, men listar \"mina\" incidenter\r\n\r\nimport React, { Component} from \"react\";\r\nimport Date from \"components/formatting/Date\";\r\nimport {Modal } from 'react-bootstrap';\r\nimport Button from \"components/CustomButtons/CustomButton.jsx\";\r\n\r\nclass IncidentList extends Component {\r\n constructor(props){\r\n super(props);\r\n this.state = {\r\n showAtgard: false,\r\n atgardText: '',\r\n detaljerItem: null,\r\n showDetaljer:false\r\n };\r\n }\r\n \r\n showAtgardInfo(info) {\r\n // console.log('atgard', info);\r\n this.setState({\r\n atgardText: info,\r\n showAtgard: true\r\n });\r\n }\r\n showDetaljerInfo(item) {\r\n // console.log('detaljer', item);\r\n this.setState({\r\n detaljerItem: item,\r\n showDetaljer:true\r\n });\r\n }\r\n handleClose() {\r\n this.setState({\r\n atgardText: '',\r\n showAtgard:false\r\n });\r\n }\r\n handleDetaljerClose() {\r\n this.setState({\r\n detaljerItem: null,\r\n showDetaljer:false\r\n });\r\n }\r\n render() {\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n { this.props.incidentRapporter.length > 0 ? \r\n this.props.incidentRapporter.map((row, key) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ) }) : null}\r\n \r\n \r\n
RubrikBolagSkapadAvvikelsedatumStatusSkapad AvAnsvarig
\r\n {row.rubrik}\r\n \r\n {row.bolag}\r\n \r\n \r\n \r\n \r\n \r\n {row.status}\r\n \r\n {row.skapadAv}\r\n \r\n {row.incidentAnsvarig}\r\n
{row.atgard !== null && row.atgard.length > 0 \r\n ? \r\n : }\r\n \r\n
\r\n
\r\n \r\n this.handleClose()}>\r\n \r\n Åtgärd\r\n \r\n \r\n

{this.state.atgardText}

\r\n
\r\n \r\n \r\n \r\n
\r\n this.handleDetaljerClose()}>\r\n \r\n Detaljer\r\n \r\n {this.state.detaljerItem ? \r\n \r\n \r\n

{this.state.detaljerItem.plats}

\r\n { this.renderDetaljer(this.state.detaljerItem) }\r\n
\r\n : null }\r\n \r\n \r\n \r\n
\r\n
)\r\n }\r\n renderDetaljer(item) {\r\n switch (item.typ) {\r\n case \"Fordonsskada\":\r\n return
\r\n \r\n

{item.fordonsskada.fordon}

\r\n \r\n

{item.fordonsskada.skadeplatskategori.map((row,key) => {\r\n return {row}
\r\n })}

\r\n \r\n

{item.fordonsskada.polis ? \"Ja\" : \"Nej\"}

\r\n \r\n

{item.fordonsskada.raddningstjanst ? \"Ja\" : \"Nej\"}

\r\n \r\n

{item.fordonsskada.skadaPaFordon ? \"Ja\" : \"Nej\"}

\r\n \r\n

{item.fordonsskada.forsakringsKategori}

\r\n \r\n

{item.fordonsskada.handelseBeskrivning}

\r\n \r\n

{item.fordonsskada.kategoriSpecificering}

\r\n \r\n

{item.fordonsskada.ersattningsfordon ? \"Ja\" : \"Nej\"}

\r\n \r\n

{item.fordonsskada.synligaSkador}

\r\n \r\n

{item.fordonsskada.personskadekontaktuppgifter}

\r\n \r\n

{item.fordonsskada.motpartskontaktuppgifter}

\r\n \r\n

{item.fordonsskada.blodprov ? \"Ja\" : \"Nej\"}

\r\n \r\n

{item.fordonsskada.antalPassagerare}

\r\n \r\n

{item.fordonsskada.vittnen}

\r\n \r\n

{item.fordonsskada.matarstallning}

\r\n\r\n
;\r\n case \"Trafikinformation\":\r\n return
\r\n \r\n

{item.trafikinformation.hallplatskategori}

\r\n \r\n

{item.trafikinformation.handelseBeskrivning}

\r\n
;\r\n case \"Arbetsmiljöfrågor\":\r\n return
\r\n \r\n

{item.arbetsMiljo.personskador ? \"Ja\" : \"Nej\"}

\r\n\r\n \r\n

{item.arbetsMiljo.arbetsmoment.map((row,key) => {\r\n return {row}
\r\n })}

\r\n \r\n

{item.arbetsMiljo.vadHande.map((row,key) => {\r\n return {row}
\r\n })}

\r\n \r\n

{item.arbetsMiljo.varNagot.map((row,key) => {\r\n return {row}
\r\n })}

\r\n \r\n

{item.arbetsMiljo.forhallanden.map((row,key) => {\r\n return {row}
\r\n })}

\r\n \r\n

{item.arbetsMiljo.forslag.map((row,key) => {\r\n return {row}
\r\n })}

\r\n\r\n
;\r\n case \"Hot och våld\":\r\n return
\r\n \r\n

{item.hotOchVald.handelseBeskrivning}

\r\n \r\n

{ item.hotOchVald.externaPersonskadorInfo }

\r\n
\r\n \r\n default: \r\n return null;\r\n }\r\n }\r\n \r\n}\r\n\r\nexport default IncidentList;","import React, { Component} from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { fetchIncidentRapporter } from \"./actions\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\n\r\nimport { LinkContainer } from \"react-router-bootstrap\";\r\n\r\nimport IncidentCardList from \"./IncidentCardList\";\r\nimport IncidentList from \"./IncidentList\";\r\nimport Card from 'components/Card/Card.jsx';\r\nimport MobileDesktop from 'components/utils/MobileDesktop';\r\nimport {\r\n Row,\r\n Col,\r\n } from \"react-bootstrap\";\r\n import Button from \"components/CustomButtons/CustomButton\";\r\n \r\nclass Incidentrapporter extends Component {\r\n constructor(props){\r\n super(props);\r\n\r\n this.state = { showNewForm: false};\r\n }\r\n \r\n componentDidMount()\r\n {\r\n this.props.fetchIncidentRapporter();\r\n }\r\n\r\n render() {\r\n return (
\r\n \r\n \r\n \r\n \r\n
}\r\n content={} mobileView={} />}>\r\n } /> \r\n \r\n \r\n )\r\n }\r\n}\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n formOptions: state.incident.formOptions,\r\n incidentRapporter: state.incident.incidentRapporter,\r\n incidentRapporterTimestamp: state.incident.incidentRapporterTimestamp,\r\n isLoadingIncidentRapporter: state.incident.isLoadingIncidentRapporter,\r\n loadingIncidentRapporterFailed: state.incident.loadingIncidentRapporterFailed,\r\n };\r\n }\r\n\r\nexport default connect(mapStateToProps, { fetchIncidentRapporter }) (Incidentrapporter)","import React from 'react';\r\nimport Autosuggest from 'react-autosuggest';\r\nimport {\r\n FormGroup,\r\n ControlLabel\r\n } from \"react-bootstrap\";\r\n\r\nimport 'assets/css/react-autosuggest.css';\r\n\r\nclass SelectVehicleForm extends React.Component {\r\n constructor(props)\r\n {\r\n super(props);\r\n\r\n this.state = {\r\n suggestions: [],\r\n value: ''\r\n }\r\n }\r\n\r\n getSuggestionValue = suggestion => suggestion.name;\r\n\r\n renderSuggestion = suggestion => (\r\n
\r\n {suggestion.name}\r\n
\r\n );\r\n\r\n getSuggestions = value => {\r\n const inputValue = value.trim().toLowerCase();\r\n \r\n return this.props.vehicles.filter(item =>\r\n item.name.toLowerCase().includes(inputValue)\r\n );\r\n\r\n };\r\n\r\n componentDidMount() {\r\n console.log(this.props.vehicles);\r\n this.setState({\r\n suggestions: this.props.vehicles\r\n })\r\n }\r\n\r\n onSuggestionsFetchRequested = ({ value }) => {\r\n this.setState({\r\n suggestions: this.getSuggestions(value)\r\n });\r\n };\r\n\r\n onSuggestionsClearRequested = () => {\r\n console.log('clear requested');\r\n // const vehicle = this.props.vehicles.filter(item => item.name === this.state.value)[0];\r\n\r\n // this.props.handleSelectVehicle(vehicle ? vehicle.number : '');\r\n\r\n this.setState({\r\n suggestions: []\r\n });\r\n };\r\n\r\n onSuggestionSelected = (event, {suggestion, suggestionValue}) => {\r\n console.log('suggestion selected', event, suggestion, suggestionValue);\r\n\r\n // const vehicle = this.props.vehicles.filter(item => item.name === suggestionValue)[0];\r\n // console.log(vehicle);\r\n this.props.handleSelectVehicle(suggestionValue);\r\n\r\n }\r\n\r\n onChange = (event, { newValue }) => {\r\n // console.log(newValue);\r\n\r\n this.setState({\r\n value: newValue\r\n });\r\n };\r\n\r\n onBlur = (event) => {\r\n console.log('on blur', event);\r\n // const vehicle = this.props.vehicles.filter(item => item.name === this.state.value)[0];\r\n // console.log(vehicle);\r\n this.props.handleSelectVehicle(this.state.value);\r\n }\r\n \r\n shouldRenderSuggestions(value) {\r\n return true;\r\n }\r\n render() {\r\n\r\n const { value, suggestions } = this.state;\r\n // Autosuggest will pass through all these props to the input.\r\n const inputProps = {\r\n placeholder: 'Sök fordon',\r\n value,\r\n onChange: this.onChange,\r\n onBlur: this.onBlur,\r\n className: this.props.vehicleError !== null ? 'form-control error' : 'form-control' \r\n };\r\n\r\n return (\r\n
\r\n \r\n \r\n Fordon: { this.props.requiredLabel ? * : null }\r\n \r\n \r\n {this.props.vehicleError}\r\n \r\n
);\r\n }\r\n}\r\n\r\nexport default SelectVehicleForm;","\r\nimport React, { Component} from \"react\";\r\nimport Button from \"components/CustomButtons/CustomButton\";\r\n\r\nclass SavingButton extends Component {\r\nconstructor(props){\r\n super(props);\r\n this.handleClick = this.handleClick.bind(this);\r\n}\r\n // status\r\n // 0 = oklickad\r\n // 1 = in progress\r\n // 2 = success\r\n // 3 = fel\r\n\r\n\r\nhandleClick() {\r\n if (this.props.status !== 1)\r\n this.props.onClick();\r\n}\r\n render() {\r\nreturn (
\r\n \r\n
)\r\n }\r\n}\r\n\r\nexport default SavingButton;\r\n","import React, { Component } from \"react\";\r\n\r\nclass CustomCheckbox extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n is_checked: props.isChecked ? true : false\r\n };\r\n this.handleClick = this.handleClick.bind(this);\r\n }\r\n handleClick() {\r\n this.setState({ is_checked: !this.state.is_checked });\r\n }\r\n\r\n render() {\r\n const { isChecked, number, label, inline, ...rest } = this.props;\r\n const classes =\r\n inline !== undefined ? \"checkbox checkbox-inline\" : \"checkbox\";\r\n return (\r\n
\r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default CustomCheckbox;\r\n","// formuläret från startsidan (genvägen) det förenklade\r\nimport { connect } from \"react-redux\";\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport Switch from \"react-bootstrap-switch\";\r\nimport SelectVehicleForm from \"./SelectVehicleForm\";\r\n\r\nimport SavingButton from \"components/CustomButtons/SavingButton.jsx\"\r\nimport Datetime from \"react-datetime\";\r\nimport React, { Component} from \"react\";\r\nimport {\r\n Row,\r\n Col,\r\n FormGroup,\r\n FormControl,\r\n ControlLabel\r\n } from \"react-bootstrap\";\r\n import Checkbox from \"components/CustomCheckbox/CustomCheckbox.jsx\";\r\n \r\n import moment from 'moment';\r\n import 'moment/locale/sv';\r\n \r\n\r\nclass FormArbetsmiljo extends Component {\r\n constructor(props){\r\n super(props);\r\n \r\n moment().locale('sv');\r\n this.state = this.getInititalState();\r\n\r\n this.handleFormSave = this.handleFormSave.bind(this);\r\n this.handleSelectVehicle = this.handleSelectVehicle.bind(this);\r\n\r\n this.datumIsValid = true;\r\n this.platsIsValid = true;\r\n this.fordonIsValid = true;\r\n\r\n }\r\n\r\n getInititalState = () => {\r\n const initialState = {\r\n datumError: null,\r\n datum: moment(new Date()),\r\n plats: '',\r\n platsError: null,\r\n fordon: '',\r\n fordonError: null,\r\n personskador: false,\r\n arbetsmoment: [],\r\n arbetsmoment_eget: '',\r\n vadHande: [],\r\n vadHande_eget: '',\r\n varNagot: [],\r\n varNagot_eget: '',\r\n forhallanden: [],\r\n forhallanden_eget: '',\r\n forslag: [],\r\n forslag_eget: '',\r\n savingStatus: 0,\r\n file: null,\r\n attachmentNames: []\r\n\r\n }\r\n return initialState;\r\n }\r\n\r\n validatePlats() {\r\n if (this.state.plats.length > 0) {\r\n this.platsIsValid = true;\r\n this.setState({ \r\n platsError: null\r\n });\r\n } else {\r\n this.platsIsValid = false;\r\n this.setState({ \r\n platsError: 'Plats måste anges'\r\n });\r\n \r\n } \r\n }\r\n\r\n validateDatum() {\r\n\r\n var parsed = moment(this.state.datum, 'YYYY-MM-DD', true);\r\n\r\n if (parsed.isValid()) {\r\n this.datumIsValid = true;\r\n this.setState({ \r\n datumError: null\r\n });\r\n }\r\n else {\r\n this.datumIsValid = false;\r\n this.setState({ \r\n datumError: 'Datum har fel format'\r\n });\r\n\r\n }\r\n }\r\n validateFordon() {\r\n \r\n console.log('validate fordon', this.state.fordon);\r\n\r\n var vehicleExists = this.checkIfVehicleExists(this.state.fordon);\r\n\r\n if (vehicleExists)\r\n {\r\n this.fordonIsValid = true; \r\n this.setState({\r\n fordonError: null\r\n });\r\n } else {\r\n this.fordonIsValid = false;\r\n this.setState({\r\n fordonError: 'Ett giltigt fordon måste väljas från listan'\r\n });\r\n }\r\n\r\n \r\n }\r\n\r\n handleSelectVehicle(vehicleName) {\r\n console.log('byta fordon', vehicleName);\r\n\r\n if (vehicleName !== this.state.fordon) {\r\n \r\n this.setState({\r\n fordon: vehicleName\r\n }, () => { this.validateFordon(); });\r\n }\r\n }\r\n handleDatumChange(date) { \r\n\r\n this.setState({ \r\n datum: date\r\n }, () => {this.validateDatum();});\r\n\r\n }\r\n\r\n handlePlatsChange(event) { \r\n this.setState({ \r\n plats: event.target.value\r\n }, () => {this.validatePlats();});\r\n\r\n }\r\n\r\n handlePersonskadorChange(el, value){ \r\n this.setState({\r\n personskador: value\r\n }); \r\n } \r\n\r\n handleArbetsmomentEgetChange(event) {\r\n this.setState({\r\n arbetsmoment_eget: event.target.value\r\n })\r\n }\r\n\r\n handleVadHandeEgetChange(event) {\r\n this.setState({\r\n vadHande_eget: event.target.value\r\n })\r\n }\r\n\r\n handleVarNagotEgetChange(event) {\r\n this.setState({\r\n varNagot_eget: event.target.value\r\n })\r\n }\r\n handleForhallandenEgetChange(event) {\r\n this.setState({\r\n forhallanden_eget: event.target.value\r\n })\r\n }\r\n handleForslagEgetChange(event) {\r\n this.setState({\r\n forslag_eget: event.target.value\r\n })\r\n }\r\n\r\n handleArbetsmomentChange(event, rowItem) {\r\n //console.log(event.target.checked, rowItem);\r\n\r\n var newArbetsmoment = this.state.arbetsmoment;\r\n\r\n if (event.target.checked) {\r\n newArbetsmoment.push(rowItem);\r\n } else {\r\n newArbetsmoment = newArbetsmoment.filter((item) => item.id !== rowItem.id);\r\n }\r\n\r\n this.setState({\r\n arbetsmoment: newArbetsmoment\r\n });\r\n }\r\n handleVadHandeChange(event, rowItem) {\r\n //console.log(event.target.checked, rowItem);\r\n\r\n var newVadHande = this.state.vadHande;\r\n\r\n if (event.target.checked) {\r\n newVadHande.push(rowItem);\r\n } else {\r\n newVadHande = newVadHande.filter((item) => item.id !== rowItem.id);\r\n }\r\n\r\n this.setState({\r\n vadHande: newVadHande\r\n });\r\n }\r\n handleVarNagotChange(event, rowItem) {\r\n //console.log(event.target.checked, rowItem);\r\n\r\n var newVarNagot = this.state.varNagot;\r\n\r\n if (event.target.checked) {\r\n newVarNagot.push(rowItem);\r\n } else {\r\n newVarNagot = newVarNagot.filter((item) => item.id !== rowItem.id);\r\n }\r\n\r\n this.setState({\r\n varNagot: newVarNagot\r\n });\r\n\r\n }\r\n handleForhallandenChange(event, rowItem) {\r\n //console.log(event.target.checked, rowItem);\r\n\r\n var newForhallanden = this.state.forhallanden;\r\n\r\n if (event.target.checked) {\r\n newForhallanden.push(rowItem);\r\n } else {\r\n newForhallanden = newForhallanden.filter((item) => item.id !== rowItem.id);\r\n }\r\n\r\n this.setState({\r\n forhallanden: newForhallanden\r\n });\r\n\r\n }\r\n handleForslagChange(event, rowItem) {\r\n //console.log(event.target.checked, rowItem);\r\n\r\n var newForslag = this.state.forslag;\r\n\r\n if (event.target.checked) {\r\n newForslag.push(rowItem);\r\n } else {\r\n newForslag = newForslag.filter((item) => item.id !== rowItem.id);\r\n }\r\n\r\n this.setState({\r\n forslag: newForslag\r\n });\r\n }\r\n\r\n checkIfVehicleExists(name){\r\n if(name == undefined || name == \"\"){\r\n return \"Inget Fordon\";\r\n }\r\n else{\r\n var item = this.props.vehicles.filter((item) => { return item.name === name })[0]; \r\n return item !== undefined;\r\n }\r\n }\r\n\r\n handleFormSave() { \r\n\r\n this.validateDatum();\r\n this.validatePlats();\r\n this.validateFordon();\r\n\r\n if (this.datumIsValid\r\n && this.platsIsValid \r\n && this.fordonIsValid)\r\n {\r\n var saveData = {\r\n Datum: this.state.datum.format(),\r\n Plats: this.state.plats,\r\n Fordon: this.state.fordon,\r\n Personskador: this.state.personskador,\r\n Arbetsmoment: this.state.arbetsmoment,\r\n VadHande: this.state.vadHande,\r\n VarNagot: this.state.varNagot,\r\n Forhallanden: this.state.forhallanden,\r\n Forslag: this.state.forslag,\r\n AttachmentUploadBlobNames: this.state.attachmentNames\r\n };\r\n if (this.state.vadHande_eget !== '')\r\n saveData.VadHande.push({\r\n id: 'vadHande_eget', \r\n label: this.state.vadHande_eget,\r\n order: 1000,\r\n value: this.state.vadHande_eget\r\n });\r\n if (this.state.varNagot_eget !== '')\r\n saveData.VarNagot.push({\r\n id: 'varNagot_eget',\r\n label: this.state.varNagot_eget,\r\n order: 1000,\r\n value: this.state.varNagot_eget\r\n });\r\n if (this.state.forhallanden_eget !== '')\r\n saveData.Forhallanden.push({\r\n id: 'forhallanden_eget',\r\n label: this.state.forhallanden_eget,\r\n order: 1000,\r\n value: this.state.forhallanden_eget\r\n });\r\n if (this.state.forslag_eget !== '')\r\n saveData.Forslag.push({\r\n id: 'forslag_eget',\r\n label: this.state.forslag_eget,\r\n order: 1000,\r\n value: this.state.forslag_eget,\r\n });\r\n if (this.state.arbetsmoment_eget !== '')\r\n saveData.Arbetsmoment.push({\r\n id: 'arbetsmoment_eget',\r\n label: this.state.arbetsmoment_eget,\r\n order: 1000,\r\n value: this.state.arbetsmoment_eget,\r\n });\r\n \r\n //console.log('to save', saveData);\r\n this.addIncident(saveData);\r\n\r\n } else {\r\n // console.log('spara validera icke', saveData);\r\n }\r\n\r\n \r\n }\r\n\r\n addIncident(incident) {\r\n this.setState({\r\n savingStatus: 1\r\n }, () => {\r\n \r\n axios.post(infraConfig.apiEndpoint.concat('/api/incident/addarbetsmiljo'), incident, getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n // console.log('after send success', dataResult);\r\n \r\n this.setState({\r\n savingStatus: 2\r\n });\r\n \r\n this.resetForm();\r\n\r\n })\r\n .catch((error) => { \r\n this.setState({\r\n savingStatus: 3\r\n });\r\n console.log('ERROR');\r\n });\r\n });\r\n\r\n }\r\n\r\n onFileUploadChange(e) {\r\n e.preventDefault();\r\n\r\n this.setState({file:e.target.files[0]})\r\n }\r\n \r\n onAddImageClick(e) { \r\n this.fileUpload(this.state.file);\r\n }\r\n onRemoveImageItem(name) {\r\n this.setState({\r\n attachmentNames: this.state.attachmentNames.filter(item => item.name !== name)\r\n });\r\n }\r\n fileUpload(file) {\r\n var axiosConfig = getAxiosConfig(this.props.user);\r\n axiosConfig.headers[\"Content-Type\"] = \"multipart/form-data\";\r\n \r\n const formData = new FormData();\r\n formData.append('file',file)\r\n \r\n axios.post(infraConfig.apiEndpoint.concat('/api/incident/uploadimage'), formData, axiosConfig)\r\n .then((dataResult) => {\r\n \r\n if (dataResult.data.result !== false)\r\n {\r\n this.setState(prevState => {\r\n const attachmentNames = prevState.attachmentNames.concat(dataResult.data.result);\r\n return {\r\n attachmentNames,\r\n file: null\r\n }\r\n }, () => {\r\n //console.log(this.state);\r\n });\r\n \r\n }\r\n \r\n })\r\n .catch((error) => { \r\n //console.log('ERROR', error);\r\n });\r\n \r\n }\r\n triggerInputFile = () => this.fileInput.click()\r\n\r\n resetForm() {\r\n var savingStatus = this.state.savingStatus;\r\n this.setState(this.getInititalState(), () => {\r\n this.setState({ savingStatus: savingStatus});\r\n });\r\n \r\n document.getElementById(\"create-incident\").reset();\r\n }\r\n \r\n render() {\r\n return (
{ this.props.formOptions != null ?
\r\n \r\n
\r\n
Foton
\r\n
\r\n this.fileInput = fileInput} onChange={event => this.onFileUploadChange(event)} type=\"file\" className=\"hidden\" />\r\n
\r\n \r\n \r\n
\r\n
\r\n { this.state.attachmentNames.map((item, key) => {\r\n return
{decodeURI(item.shortName).replace('+',' ')}
\r\n })}\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n Datum för incident *\r\n \r\n \r\n {this.state.datumError}\r\n \r\n \r\n \r\n Plats *\r\n \r\n this.handlePlatsChange(event)}\r\n className={this.state.platsError !== null ? 'error' : null}\r\n />\r\n {this.state.platsError}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n this.handlePersonskadorChange(el, state)} /> Personskador?\r\n \r\n \r\n Arbetsmoment\r\n \r\n
{ this.props.formOptions != null ? \r\n this.props.formOptions.arbetsmoment.map((row, key) => {\r\n return ( this.handleArbetsmomentChange(event, row)} label={row.label} number={row.id} key={key} />);\r\n \r\n })\r\n : null\r\n }\r\n
\r\n
\r\n \r\n \r\n Ange ett eget värde:\r\n \r\n this.handleArbetsmomentEgetChange(event)}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n Vad hände\r\n \r\n
{ this.props.formOptions != null ? \r\n this.props.formOptions.vadHande.map((row, key) => {\r\n return ( this.handleVadHandeChange(event, row)} label={row.label} number={row.id} key={key} />);\r\n \r\n })\r\n : null\r\n }\r\n
\r\n
\r\n \r\n \r\n Ange ett eget värde:\r\n \r\n this.handleVadHandeEgetChange(event)}\r\n />\r\n \r\n \r\n \r\n \r\n Var något tillfälligt annorlunda på arbetsplatsen?\r\n \r\n
{ this.props.formOptions != null ? \r\n this.props.formOptions.varNagot.map((row, key) => {\r\n return ( this.handleVarNagotChange(event, row)} label={row.label} number={row.id} key={key} />);\r\n \r\n })\r\n : null\r\n }
\r\n
\r\n \r\n \r\n Ange ett eget värde:\r\n \r\n this.handleVarNagotEgetChange(event)}\r\n />\r\n \r\n \r\n Förhållanden som var som de brukar men som kan ha påverkat händelsen\r\n
{ this.props.formOptions != null ? \r\n this.props.formOptions.forhallanden.map((row, key) => {\r\n return ( this.handleForhallandenChange(event, row)} label={row.label} number={row.id} key={key} />);\r\n \r\n })\r\n : null\r\n }
\r\n
\r\n \r\n \r\n Ange ett eget värde:\r\n \r\n this.handleForhallandenEgetChange(event)}\r\n />\r\n \r\n \r\n Förslag till åtgärder så att liknande händelser undviks i framtiden\r\n
{ this.props.formOptions != null ? \r\n this.props.formOptions.forslag.map((row, key) => {\r\n return ( this.handleForslagChange(event, row)} label={row.label} number={row.id} key={key} />);\r\n \r\n })\r\n : null\r\n }
\r\n
\r\n \r\n \r\n Ange ett eget värde:\r\n \r\n this.handleForslagEgetChange(event)}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
: null }
)\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user\r\n };\r\n }\r\n \r\n\r\nexport default connect(mapStateToProps)(FormArbetsmiljo);\r\n","// formuläret från startsidan (genvägen) det förenklade\r\nimport { connect } from \"react-redux\";\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport Switch from \"react-bootstrap-switch\";\r\nimport SelectVehicleForm from \"./SelectVehicleForm\";\r\n\r\nimport SavingButton from \"components/CustomButtons/SavingButton.jsx\"\r\nimport Datetime from \"react-datetime\";\r\nimport React, { Component} from \"react\";\r\nimport {\r\n Col,\r\n Row,\r\n FormGroup,\r\n FormControl,\r\n ControlLabel\r\n } from \"react-bootstrap\";\r\n import moment from 'moment';\r\n import 'moment/locale/sv';\r\n \r\n\r\nclass FormHotOchVald extends Component {\r\n\r\n constructor(props){\r\n super(props);\r\n \r\n moment().locale('sv');\r\n this.state = this.getInititalState();\r\n\r\n this.handleFormSave = this.handleFormSave.bind(this);\r\n this.handleSelectVehicle = this.handleSelectVehicle.bind(this);\r\n\r\n this.datumIsValid = true;\r\n this.platsIsValid = true;\r\n this.handelseBeskrivningIsValid = true;\r\n this.fordonIsValid = true;\r\n\r\n }\r\n\r\n getInititalState = () => {\r\n const initialState = {\r\n datumError: null,\r\n handelseBeskrivningError: null,\r\n datum: moment(new Date()),\r\n plats: '',\r\n platsError: null,\r\n handelseBeskrivning : '',\r\n fordon: '',\r\n fordonError: null,\r\n externaPersonskador: false,\r\n externaPersonskadorInfo: '',\r\n savingStatus: 0,\r\n file: null,\r\n attachmentNames: []\r\n }\r\n return initialState;\r\n\r\n }\r\n validatePlats() {\r\n if (this.state.plats.length > 0) {\r\n this.platsIsValid = true;\r\n this.setState({ \r\n platsError: null\r\n });\r\n } else {\r\n this.platsIsValid = false;\r\n this.setState({ \r\n platsError: 'Plats måste anges'\r\n });\r\n\r\n } \r\n }\r\n\r\n validateDatum() {\r\n\r\n var parsed = moment(this.state.datum, 'YYYY-MM-DD', true);\r\n\r\n if (parsed.isValid()) {\r\n this.datumIsValid = true;\r\n this.setState({ \r\n datumError: null\r\n });\r\n }\r\n else {\r\n this.datumIsValid = false;\r\n this.setState({ \r\n datumError: 'Datum har fel format'\r\n });\r\n\r\n }\r\n }\r\n\r\nvalidateHandelseBeskrivning() {\r\n if (this.state.handelseBeskrivning.length > 0) {\r\n this.handelseBeskrivningIsValid = true;\r\n this.setState({ \r\n handelseBeskrivningError: null\r\n });\r\n\r\n } else {\r\n this.handelseBeskrivningIsValid = false;\r\n this.setState({ \r\n handelseBeskrivningError: 'Händelsebeskrivning måste anges'\r\n });\r\n\r\n } \r\n}\r\nvalidateFordon() {\r\n \r\n console.log('validate fordon', this.state.fordon);\r\n\r\n var vehicleExists = this.checkIfVehicleExists(this.state.fordon);\r\n\r\n if (vehicleExists)\r\n {\r\n this.fordonIsValid = true; \r\n this.setState({\r\n fordonError: null\r\n });\r\n } else {\r\n this.fordonIsValid = false;\r\n this.setState({\r\n fordonError: 'Ett giltigt fordon måste väljas från listan'\r\n });\r\n }\r\n\r\n \r\n}\r\n\r\nhandleSelectVehicle(vehicleName) {\r\n console.log('byta fordon', vehicleName);\r\n\r\n if (vehicleName !== this.state.fordon) {\r\n \r\n this.setState({\r\n fordon: vehicleName\r\n }, () => { this.validateFordon(); });\r\n }\r\n}\r\n\r\nhandleDatumChange(date) { \r\n\r\n this.setState({ \r\n datum: date\r\n }, () => {this.validateDatum();});\r\n\r\n}\r\n\r\nhandlePlatsChange(event) { \r\n this.setState({ \r\n plats: event.target.value\r\n }, () => {this.validatePlats();});\r\n\r\n}\r\n\r\nhandleExternaPersonskadorChange(el, value){ \r\n this.setState({\r\n externaPersonskador: value\r\n }); \r\n} \r\nhandleExternaPersonskadorInfoChange(event){\r\n this.setState({externaPersonskadorInfo: event.target.value});\r\n}\r\nhandleHandelseBeskrivningChange(event){\r\n this.setState({handelseBeskrivning: event.target.value}, () => { this.validateHandelseBeskrivning()});\r\n}\r\n\r\ncheckIfVehicleExists(name){\r\n var item = this.props.vehicles.filter((item) => { return item.name === name })[0]; \r\n return item !== undefined;\r\n}\r\n\r\n handleFormSave() {\r\n \r\n this.validateHandelseBeskrivning();\r\n this.validateDatum();\r\n this.validatePlats();\r\n this.validateFordon();\r\n if (this.datumIsValid\r\n && this.fordonIsValid\r\n && this.platsIsValid\r\n && this.handelseBeskrivningIsValid)\r\n {\r\n var saveData = {\r\n Datum: this.state.datum.format(),\r\n Plats: this.state.plats,\r\n Fordon: this.state.fordon,\r\n HandelseBeskrivning: this.state.handelseBeskrivning,\r\n ExternaPersonskadorInfo: this.state.externaPersonskadorInfo,\r\n AttachmentUploadBlobNames: this.state.attachmentNames\r\n\r\n };\r\n \r\n //console.log('to save', saveData);\r\n this.addIncident(saveData);\r\n\r\n } else {\r\n // console.log('spara validera icke', saveData);\r\n }\r\n\r\n \r\n}\r\n\r\n addIncident(incident) {\r\n this.setState({\r\n savingStatus: 1\r\n }, () => {\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/incident/addhotochvald'), incident, getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n // console.log('after send success', dataResult);\r\n \r\n this.setState({\r\n savingStatus: 2\r\n });\r\n \r\n this.resetForm();\r\n\r\n })\r\n .catch((error) => { \r\n this.setState({\r\n savingStatus: 3\r\n });\r\n console.log('ERROR');\r\n });\r\n });\r\n\r\n }\r\n\r\n onFileUploadChange(e) {\r\n e.preventDefault();\r\n\r\n this.setState({file:e.target.files[0]})\r\n }\r\n \r\n onAddImageClick(e) { \r\n this.fileUpload(this.state.file);\r\n }\r\n onRemoveImageItem(name) {\r\n this.setState({\r\n attachmentNames: this.state.attachmentNames.filter(item => item.name !== name)\r\n });\r\n }\r\n fileUpload(file) {\r\n var axiosConfig = getAxiosConfig(this.props.user);\r\n axiosConfig.headers[\"Content-Type\"] = \"multipart/form-data\";\r\n\r\n const formData = new FormData();\r\n formData.append('file',file)\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/incident/uploadimage'), formData, axiosConfig)\r\n .then((dataResult) => {\r\n\r\n if (dataResult.data.result !== false)\r\n {\r\n this.setState(prevState => {\r\n const attachmentNames = prevState.attachmentNames.concat(dataResult.data.result);\r\n return {\r\n attachmentNames,\r\n file: null\r\n }\r\n }, () => {\r\n // console.log(this.state);\r\n });\r\n \r\n }\r\n \r\n })\r\n .catch((error) => { \r\n console.log('ERROR', error);\r\n });\r\n \r\n }\r\n triggerInputFile = () => this.fileInput.click()\r\n\r\n resetForm() {\r\n var savingStatus = this.state.savingStatus;\r\n this.setState(this.getInititalState(), () => {\r\n this.setState({ savingStatus: savingStatus});\r\n });\r\n\r\n \r\n document.getElementById(\"create-incident\").reset();\r\n }\r\n \r\n\r\nrender() {\r\n return (\r\n
{ this.props.formOptions != null ?
\r\n\r\n \r\n
\r\n
Foton
\r\n
\r\n this.fileInput = fileInput} onChange={event => this.onFileUploadChange(event)} type=\"file\" className=\"hidden\" />\r\n
\r\n \r\n \r\n
\r\n
\r\n { this.state.attachmentNames.map((item, key) => {\r\n return
{decodeURI(item.shortName).replace('+',' ')}
\r\n })}\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n Datum för incident *\r\n \r\n \r\n {this.state.datumError}\r\n \r\n \r\n \r\n Plats *\r\n \r\n this.handlePlatsChange(event)}\r\n className={this.state.platsError !== null ? 'error' : null}\r\n />\r\n {this.state.platsError}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Vad inträffade? *\r\n \r\n this.handleHandelseBeskrivningChange(event)}\r\n />\r\n {this.state.handelseBeskrivningError}\r\n \r\n\r\n\r\n \r\n this.handleExternaPersonskadorChange(el, state)} /> Externa personskador?\r\n \r\n { this.state.externaPersonskador ? \r\n \r\n \r\n Namn, address, telefon (om möjligt)\r\n \r\n this.handleExternaPersonskadorInfoChange(event)}\r\n />\r\n \r\n : null}\r\n \r\n \r\n \r\n \r\n
\r\n
: null }
\r\n )\r\n }\r\n\r\n \r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user, \r\n };\r\n }\r\n \r\nexport default connect(mapStateToProps)(FormHotOchVald);\r\n","// formuläret från startsidan (genvägen) det förenklade\r\nimport { connect } from \"react-redux\";\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\n\r\nimport SavingButton from \"components/CustomButtons/SavingButton.jsx\"\r\nimport Datetime from \"react-datetime\";\r\nimport React, { Component} from \"react\";\r\nimport {\r\n FormGroup,\r\n FormControl,\r\n ControlLabel\r\n } from \"react-bootstrap\";\r\n import moment from 'moment';\r\n import 'moment/locale/sv';\r\n \r\n\r\nclass FormTrafikinformation extends Component {\r\n\r\n constructor(props){\r\n super(props);\r\n \r\n moment().locale('sv');\r\n\r\n this.state = this.getInititalState();\r\n\r\n this.handleFormSave = this.handleFormSave.bind(this);\r\n\r\n this.hallplatskategoriIsValid = true;\r\n this.datumIsValid = true;\r\n this.platsIsValid = true;\r\n this.handelseBeskrivningIsValid = true;\r\n \r\n\r\n }\r\n\r\n getInititalState = () => {\r\n const initialState = {\r\n hallplatskategori: undefined,\r\n hallplatskategoriError: null, \r\n datumError: null,\r\n handelseBeskrivningError: null,\r\n datum: moment(new Date()),\r\n plats: '',\r\n platsError: null,\r\n handelseBeskrivning : '',\r\n savingStatus: 0,\r\n file: null,\r\n attachmentNames: []\r\n }\r\n return initialState;\r\n\r\n }\r\n \r\n validatePlats() {\r\n if (this.state.plats.length > 0) {\r\n this.platsIsValid = true;\r\n this.setState({ \r\n platsError: null\r\n });\r\n } else {\r\n this.platsIsValid = false;\r\n this.setState({ \r\n platsError: 'Plats måste anges'\r\n });\r\n\r\n } \r\n }\r\n\r\n validateHallplatskategori() {\r\n\r\n if (this.state.hallplatskategori !== '' && this.state.hallplatskategori !== undefined){\r\n this.hallplatskategoriIsValid = true;\r\n this.setState({ \r\n hallplatskategoriError: null\r\n });\r\n }\r\n else {\r\n this.hallplatskategoriIsValid = false;\r\n this.setState({ \r\n hallplatskategoriError: 'Rubrik måste väljas'\r\n });\r\n }\r\n}\r\nvalidateDatum() {\r\n\r\n var parsed = moment(this.state.datum, 'YYYY-MM-DD', true);\r\n\r\n if (parsed.isValid()) {\r\n this.datumIsValid = true;\r\n this.setState({ \r\n datumError: null\r\n });\r\n }\r\n else {\r\n this.datumIsValid = false;\r\n this.setState({ \r\n datumError: 'Datum har fel format'\r\n });\r\n\r\n }\r\n}\r\n\r\nvalidateHandelseBeskrivning() {\r\n if (this.state.handelseBeskrivning.length > 0) {\r\n this.handelseBeskrivningIsValid = true;\r\n this.setState({ \r\n handelseBeskrivningError: null\r\n });\r\n\r\n } else {\r\n this.handelseBeskrivningIsValid = false;\r\n this.setState({ \r\n handelseBeskrivningError: 'Händelsebeskrivning måste anges'\r\n });\r\n\r\n } \r\n}\r\n\r\nhandleHallplatskategoriChange(event) { \r\n this.setState({ \r\n hallplatskategori: event.target.value\r\n }, () => {this.validateHallplatskategori();});\r\n\r\n}\r\n\r\nhandleDatumChange(date) { \r\n\r\n this.setState({ \r\n datum: date\r\n }, () => {this.validateDatum();});\r\n\r\n}\r\n\r\nhandlePlatsChange(event) { \r\n this.setState({ \r\n plats: event.target.value\r\n }, () => {this.validatePlats();});\r\n\r\n}\r\n\r\nhandleHandelseBeskrivningChange(event){\r\n this.setState({handelseBeskrivning: event.target.value}, () => { this.validateHandelseBeskrivning()});\r\n}\r\n\r\n handleFormSave() {\r\n \r\n this.validateHandelseBeskrivning();\r\n this.validateHallplatskategori();\r\n this.validateDatum();\r\n this.validatePlats();\r\n\r\n if (this.hallplatskategoriIsValid \r\n && this.datumIsValid\r\n && this.platsIsValid\r\n && this.handelseBeskrivningIsValid)\r\n {\r\n var saveData = {\r\n Hallplatskategori: this.state.hallplatskategori,\r\n Datum: this.state.datum.format(),\r\n Plats: this.state.plats,\r\n HandelseBeskrivning: this.state.handelseBeskrivning,\r\n AttachmentUploadBlobNames: this.state.attachmentNames\r\n };\r\n \r\n //console.log('to save', saveData);\r\n this.addIncident(saveData);\r\n\r\n } else {\r\n //console.log('spara validera icke', saveData);\r\n }\r\n\r\n \r\n}\r\n\r\n addIncident(incident) {\r\n this.setState({\r\n savingStatus: 1\r\n }, () => {\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/incident/addtrafikinformation'), incident, getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n // console.log('after send success', dataResult);\r\n \r\n this.setState({\r\n savingStatus: 2\r\n });\r\n \r\n this.resetForm();\r\n\r\n })\r\n .catch((error) => { \r\n this.setState({\r\n savingStatus: 3\r\n });\r\n console.log('ERROR');\r\n });\r\n });\r\n\r\n }\r\n onFileUploadChange(e) {\r\n e.preventDefault();\r\n\r\n this.setState({file:e.target.files[0]})\r\n }\r\n \r\n onAddImageClick(e) { \r\n this.fileUpload(this.state.file);\r\n }\r\n onRemoveImageItem(name) {\r\n this.setState({\r\n attachmentNames: this.state.attachmentNames.filter(item => item.name !== name)\r\n });\r\n }\r\n fileUpload(file) {\r\n var axiosConfig = getAxiosConfig(this.props.user);\r\n axiosConfig.headers[\"Content-Type\"] = \"multipart/form-data\";\r\n\r\n const formData = new FormData();\r\n formData.append('file',file)\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/incident/uploadimage'), formData, axiosConfig)\r\n .then((dataResult) => {\r\n\r\n if (dataResult.data.result !== false)\r\n {\r\n this.setState(prevState => {\r\n const attachmentNames = prevState.attachmentNames.concat(dataResult.data.result);\r\n return {\r\n attachmentNames,\r\n file: null\r\n }\r\n }, () => {\r\n // console.log(this.state);\r\n });\r\n \r\n }\r\n \r\n })\r\n .catch((error) => { \r\n // console.log('ERROR', error);\r\n });\r\n \r\n }\r\n triggerInputFile = () => this.fileInput.click()\r\n resetForm() {\r\n var savingStatus = this.state.savingStatus;\r\n this.setState(this.getInititalState(), () => {\r\n this.setState({ savingStatus: savingStatus});\r\n });\r\n\r\n \r\n document.getElementById(\"create-incident\").reset();\r\n }\r\n\r\n \r\n\r\nrender() {\r\n return (\r\n
{ this.props.formOptions != null ?
\r\n \r\n
\r\n
Foton
\r\n
\r\n this.fileInput = fileInput} onChange={event => this.onFileUploadChange(event)} type=\"file\" className=\"hidden\" />\r\n
\r\n \r\n \r\n
\r\n
\r\n { this.state.attachmentNames.map((item, key) => {\r\n return
{decodeURI(item.shortName).replace('+',' ')}
\r\n })}\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n Rubrik *\r\n \r\n this.handleHallplatskategoriChange(event)}\r\n >\r\n \r\n {this.props.formOptions.hallplatskategori.map((item, key) => { \r\n return \r\n })}\r\n \r\n {this.state.hallplatskategoriError}\r\n \r\n \r\n \r\n \r\n Datum för incident *\r\n \r\n \r\n {this.state.datumError}\r\n \r\n \r\n \r\n Plats *\r\n \r\n this.handlePlatsChange(event)}\r\n className={this.state.platsError !== null ? 'error' : null}\r\n />\r\n {this.state.platsError}\r\n \r\n \r\n \r\n Vad inträffade? *\r\n \r\n this.handleHandelseBeskrivningChange(event)}\r\n />\r\n {this.state.handelseBeskrivningError}\r\n\r\n \r\n \r\n \r\n \r\n
\r\n
: null }
\r\n )\r\n }\r\n \r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n };\r\n }\r\n \r\nexport default connect(mapStateToProps)(FormTrafikinformation);\r\n","// formuläret från startsidan (genvägen) det förenklade\r\nimport { connect } from \"react-redux\";\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport Switch from \"react-bootstrap-switch\";\r\nimport SelectVehicleForm from \"./SelectVehicleForm\";\r\n\r\nimport SavingButton from \"components/CustomButtons/SavingButton.jsx\";\r\nimport Datetime from \"react-datetime\";\r\nimport React, { Component } from \"react\";\r\nimport { FormGroup, Col, Row, FormControl, ControlLabel } from \"react-bootstrap\";\r\nimport Checkbox from \"components/CustomCheckbox/CustomCheckbox.jsx\";\r\nimport moment from \"moment\";\r\nimport \"moment/locale/sv\";\r\n\r\nclass FormFordonsskada extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tmoment().locale(\"sv\");\r\n\r\n\t\tthis.state = this.getInititalState();\r\n\r\n\t\tthis.handleFormSave = this.handleFormSave.bind(this);\r\n\t\tthis.handleSelectVehicle = this.handleSelectVehicle.bind(this);\r\n\r\n\t\tthis.datumIsValid = true;\r\n\t\tthis.tidIsValid = true;\r\n\t\tthis.platsIsValid = true;\r\n\t\tthis.forsakringskategoriIsValid = true;\r\n\t\tthis.handelseBeskrivningIsValid = true;\r\n\t\tthis.skadeplatskategoriIsValid = true;\r\n\t\tthis.antalPassagerareIsvalid = true;\r\n\t\tthis.matarstallningIsValid = true;\r\n\t\tthis.fordonIsValid = true;\r\n\t\tthis.vagensBreddIsvalid = true;\r\n\t\tthis.estimatedDistanceRightHandSideOfRoadIsvalid = true;\r\n\r\n\t\tthis.kategorispecOptions = [\r\n\t\t\t\"Singelolycka\",\r\n\t\t\t\"Vilt eller djurolycka\",\r\n\t\t\t\"Parkeringsskada\",\r\n\t\t\t\"Kollision\",\r\n\t\t\t\"Smitningsolycka\",\r\n\t\t\t\"Motor eller elektronik\",\r\n\t\t\t\"Glasskada\",\r\n\t\t\t\"Skadegörelse\",\r\n\t\t\t\"Annat\",\r\n\t\t];\r\n\t}\r\n\r\n\tgetInititalState = () => {\r\n\t\tconst initialState = {\r\n\t\t\tdatumError: null,\r\n\t\t\tforsakringskategoriError: null,\r\n\t\t\thandelseBeskrivningError: null,\r\n\t\t\tdatum: \"\",\r\n\t\t\ttid: \"\",\r\n\t\t\ttidError: null,\r\n\t\t\tplats: \"\",\r\n\t\t\tplatsError: null,\r\n\t\t\tskadeplatskategori: [],\r\n\t\t\tskadeplatskategoriError: null,\r\n\t\t\thandelseBeskrivning: \"\",\r\n\t\t\tfordon: \"\",\r\n\t\t\tfordonError: null,\r\n\t\t\tpolis: false,\r\n\t\t\traddningstjanst: false,\r\n\t\t\tskadapafordon: false,\r\n\t\t\tblodprov: false,\r\n\t\t\tforsakringskategori: \"\",\r\n\t\t\tkategorispecificering: \"\",\r\n\t\t\tersattningsfordon: false,\r\n\t\t\tsynligaskadorbool: false,\r\n\t\t\tsynligaskador: \"\",\r\n\t\t\tpersonskadabool: false,\r\n\t\t\tpersonskada: \"\",\r\n\t\t\tvittnen: \"\",\r\n\t\t\tmatarstallning: \"\",\r\n\t\t\tmatarstallningError: null,\r\n\t\t\tantalpassagerare: undefined,\r\n\t\t\tantalpassagerareError: null,\r\n\t\t\tmotpartkontaktuppgifter: \"\",\r\n\t\t\tmotpartkontaktuppgifterRegnr: \"\",\r\n\t\t\tkategori: \"\",\r\n\t\t\tsavingStatus: 0,\r\n\t\t\tfile: null,\r\n\t\t\tattachmentNames: [],\r\n\t\t\tvagensBredd: \"\",\r\n\t\t\tvagensBreddError: null,\r\n\t\t\testimatedDistanceRightHandSideOfRoad: \"\",\r\n\t\t\testimatedDistanceRightHandSideOfRoadError: null,\r\n\t\t};\r\n\t\treturn initialState;\r\n\t};\r\n\r\n\tvalidatePlats() {\r\n\t\tif (this.state.plats.length > 0) {\r\n\t\t\tthis.platsIsValid = true;\r\n\t\t\tthis.setState({\r\n\t\t\t\tplatsError: null,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.platsIsValid = false;\r\n\t\t\tthis.setState({\r\n\t\t\t\tplatsError: \"Plats måste anges\",\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tvalidateDatum() {\r\n\t\tvar parsed = moment(this.state.datum, \"YYYY-MM-DD\", true);\r\n\r\n\t\tif (parsed.isValid() && this.state.datum !== undefined && this.state.datum !== \"\") {\r\n\t\t\tthis.datumIsValid = true;\r\n\t\t\tthis.setState({\r\n\t\t\t\tdatumError: null,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.datumIsValid = false;\r\n\t\t\tthis.setState({\r\n\t\t\t\tdatumError: \"Datum har fel format\",\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tvalidateTid() {\r\n\t\tvar parsed = moment(this.state.tid, \"HH:mm\", true);\r\n\r\n\t\tif (parsed.isValid() && this.state.tid !== undefined && this.state.tid !== \"\") {\r\n\t\t\tthis.tidIsValid = true;\r\n\t\t\tthis.setState({\r\n\t\t\t\ttidError: null,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.tidIsValid = false;\r\n\t\t\tthis.setState({\r\n\t\t\t\ttidError: \"Tid har fel format\",\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tvalidateForsakringskategori() {\r\n\t\tif (this.state.forsakringskategori !== \"\" && this.state.forsakringskategori !== undefined) {\r\n\t\t\tthis.forsakringskategoriIsValid = true;\r\n\t\t\tthis.setState({\r\n\t\t\t\tforsakringskategoriError: null,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.forsakringskategoriIsValid = false;\r\n\t\t\tthis.setState({\r\n\t\t\t\tforsakringskategoriError: \"Försäkringskategori måste väljas\",\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tvalidateHandelseBeskrivning() {\r\n\t\tif (this.state.handelseBeskrivning.length > 0) {\r\n\t\t\tthis.handelseBeskrivningIsValid = true;\r\n\t\t\tthis.setState({\r\n\t\t\t\thandelseBeskrivningError: null,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.handelseBeskrivningIsValid = false;\r\n\t\t\tthis.setState({\r\n\t\t\t\thandelseBeskrivningError: \"Händelsebeskrivning måste anges\",\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tvalidateSkadeplatskategori() {\r\n\t\tif (this.state.skadeplatskategori.length > 0) {\r\n\t\t\tthis.skadeplatskategoriIsValid = true;\r\n\t\t\tthis.setState({\r\n\t\t\t\tskadeplatskategoriError: null,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.skadeplatskategoriIsValid = false;\r\n\t\t\tthis.setState({\r\n\t\t\t\tskadeplatskategoriError: \"Skadeplatskategori måste anges\",\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tvalidateAntalPassagerare() {\r\n\t\tif (\r\n\t\t\t!isNaN(this.state.antalpassagerare) ||\r\n\t\t\tthis.state.antalpassagerare === \"\" ||\r\n\t\t\tthis.state.antalpassagerare === undefined ||\r\n\t\t\tthis.state.antalpassagerare === null\r\n\t\t) {\r\n\t\t\tthis.antalPassagerareIsvalid = true;\r\n\t\t\tthis.setState({\r\n\t\t\t\tantalpassagerareError: null,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.antalPassagerareIsvalid = false;\r\n\t\t\tthis.setState({\r\n\t\t\t\tantalpassagerareError: \"Antal passagerare innehåller inte en giltig siffra\",\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tvalidateVagensBredd() {\r\n\t\tif (!isNaN(this.state.vagensBredd) || this.state.vagensBredd === \"\" || this.state.vagensBredd === undefined || this.state.vagensBredd === null) {\r\n\t\t\tthis.vagensBreddIsvalid = true;\r\n\t\t\tthis.setState({\r\n\t\t\t\tvagensBreddError: null,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.vagensBreddIsvalid = false;\r\n\t\t\tthis.setState({\r\n\t\t\t\tvagensBreddError: \"Vägens ungefärliga bredd innehåller inte en giltig siffra\",\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tvalidateEstimatedDistanceRightHandSideOfRoad() {\r\n\t\tif (\r\n\t\t\t!isNaN(this.state.estimatedDistanceRightHandSideOfRoad) ||\r\n\t\t\tthis.state.estimatedDistanceRightHandSideOfRoad === \"\" ||\r\n\t\t\tthis.state.estimatedDistanceRightHandSideOfRoad === undefined ||\r\n\t\t\tthis.state.estimatedDistanceRightHandSideOfRoad === null\r\n\t\t) {\r\n\t\t\tthis.estimatedDistanceRightHandSideOfRoadIsvalid = true;\r\n\t\t\tthis.setState({\r\n\t\t\t\testimatedDistanceRightHandSideOfRoadError: null,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.estimatedDistanceRightHandSideOfRoadIsvalid = false;\r\n\t\t\tthis.setState({\r\n\t\t\t\testimatedDistanceRightHandSideOfRoadError: \"Ungefärligt avstånd till vägens högerkant innehåller inte en giltig siffra\",\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tvalidateMatarstallning() {\r\n\t\tif (\r\n\t\t\t!isNaN(this.state.matarstallning) ||\r\n\t\t\tthis.state.matarstallning === \"\" ||\r\n\t\t\tthis.state.matarstallning === undefined ||\r\n\t\t\tthis.state.matarstallning === null\r\n\t\t) {\r\n\t\t\tthis.matarstallningIsValid = true;\r\n\t\t\tthis.setState({\r\n\t\t\t\tmatarstallningError: null,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.matarstallningIsValid = false;\r\n\t\t\tthis.setState({\r\n\t\t\t\tmatarstallningError: \"Mätarställning innehåller inte en giltig siffra\",\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tvalidateFordon() {\r\n\t\tconsole.log(\"validate fordon\", this.state.fordon);\r\n\t\tif (!this.props.disableFK) {\r\n\t\t\tvar vehicleExists = this.checkIfVehicleExists(this.state.fordon);\r\n\r\n\t\t\tif (vehicleExists) {\r\n\t\t\t\tthis.fordonIsValid = true;\r\n\t\t\t\tthis.setState({\r\n\t\t\t\t\tfordonError: null,\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tthis.fordonIsValid = false;\r\n\t\t\t\tthis.setState({\r\n\t\t\t\t\tfordonError: \"Ett giltigt fordon måste väljas från listan\",\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (this.state.fordon === null || this.state.fordon === \"\" || this.state.fordon === undefined) {\r\n\t\t\t\tthis.setState({\r\n\t\t\t\t\tfordonError: \"Ange för vilket fordon skadan gäller\",\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tthis.fordonIsValid = true;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\thandleSelectVehicle(vehicleName) {\r\n\t\tconsole.log(\"byta fordon\", vehicleName);\r\n\r\n\t\tif (vehicleName !== this.state.fordon) {\r\n\t\t\tthis.setState(\r\n\t\t\t\t{\r\n\t\t\t\t\tfordon: vehicleName,\r\n\t\t\t\t},\r\n\t\t\t\t() => {\r\n\t\t\t\t\tthis.validateFordon();\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t\t}\r\n\t}\r\n\r\n\thandleFordonChange = (e) => {\r\n\t\tthis.setState({\r\n\t\t\tfordon: e.target.value,\r\n\t\t\tfordonError: null,\r\n\t\t});\r\n\t};\r\n\r\n\thandleDatumChange(date) {\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\tdatum: date,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\tthis.validateDatum();\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\thandleTidChange(date) {\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\ttid: date,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\tthis.validateTid();\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\thandlePlatsChange(event) {\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\tplats: event.target.value,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\tthis.validatePlats();\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\thandleHandelseBeskrivningChange(event) {\r\n\t\tthis.setState({ handelseBeskrivning: event.target.value }, () => {\r\n\t\t\tthis.validateHandelseBeskrivning();\r\n\t\t});\r\n\t}\r\n\thandleSkadeplatskategoriChange(event, rowItem) {\r\n\t\tvar newSkadeplatskategori = this.state.skadeplatskategori;\r\n\r\n\t\tif (event.target.checked) {\r\n\t\t\tnewSkadeplatskategori.push(rowItem);\r\n\t\t} else {\r\n\t\t\tnewSkadeplatskategori = newSkadeplatskategori.filter((item) => item.id !== rowItem.id);\r\n\t\t}\r\n\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\tskadeplatskategori: newSkadeplatskategori,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\tthis.validateSkadeplatskategori();\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\thandlePolisChange(el, value) {\r\n\t\tthis.setState({\r\n\t\t\tpolis: value,\r\n\t\t});\r\n\t}\r\n\thandleRaddningstjanstChange(el, value) {\r\n\t\tthis.setState({\r\n\t\t\traddningstjanst: value,\r\n\t\t});\r\n\t}\r\n\thandleSkadaPaFordonChange(el, value) {\r\n\t\tthis.setState({\r\n\t\t\tskadapafordon: value,\r\n\t\t});\r\n\t}\r\n\thandleBlodProvChange(el, value) {\r\n\t\tthis.setState({\r\n\t\t\tblodprov: value,\r\n\t\t});\r\n\t}\r\n\thandleErsattningsfordonChange(el, value) {\r\n\t\tthis.setState({\r\n\t\t\tersattningsfordon: value,\r\n\t\t});\r\n\t}\r\n\thandleForsakringskategoriChange(event) {\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\tforsakringskategori: event.target.value,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\tthis.validateForsakringskategori();\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\thandleSynligaSkadorBoolChange(el, value) {\r\n\t\tthis.setState({\r\n\t\t\tsynligaskadorbool: value,\r\n\t\t});\r\n\t}\r\n\thandleSynligaSkadorChange(event) {\r\n\t\tthis.setState({\r\n\t\t\tsynligaskador: event.target.value,\r\n\t\t});\r\n\t}\r\n\thandlePersonSkadaBoolChange(el, value) {\r\n\t\tthis.setState({\r\n\t\t\tpersonskadabool: value,\r\n\t\t});\r\n\t}\r\n\thandlePersonSkadaChange(event) {\r\n\t\tthis.setState({\r\n\t\t\tpersonskada: event.target.value,\r\n\t\t});\r\n\t}\r\n\thandleVittnenChange(event) {\r\n\t\tthis.setState({\r\n\t\t\tvittnen: event.target.value,\r\n\t\t});\r\n\t}\r\n\thandleAntalPassagerareChange(event) {\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\tantalpassagerare: event.target.value,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\tthis.validateAntalPassagerare();\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\thandleVagensBreddChange(event) {\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\tvagensBredd: event.target.value,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\tthis.validateVagensBredd();\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\thandleEstimatedDistanceRightHandSideOfRoadChange(event) {\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\testimatedDistanceRightHandSideOfRoad: event.target.value,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\tthis.validateEstimatedDistanceRightHandSideOfRoad();\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\thandleMatarstallningChange(event) {\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\tmatarstallning: event.target.value,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\tthis.validateMatarstallning();\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\thandleMotpartskontaktuppgifterChange(event) {\r\n\t\tthis.setState({\r\n\t\t\tmotpartkontaktuppgifter: event.target.value,\r\n\t\t});\r\n\t}\r\n\thandleMotpartskontaktuppgifterRegnrChange(event) {\r\n\t\tthis.setState({\r\n\t\t\tmotpartkontaktuppgifterRegnr: event.target.value,\r\n\t\t});\r\n\t}\r\n\thandleKategorispecificeringChange(event) {\r\n\t\tthis.setState({\r\n\t\t\tkategorispecificering: event.target.value,\r\n\t\t});\r\n\t}\r\n\tgetForsakringsKategoriName(id) {\r\n\t\treturn this.props.formOptions.forsakringskategori.filter((item) => {\r\n\t\t\treturn item.id === id;\r\n\t\t})[0].value;\r\n\t}\r\n\r\n\tcheckIfVehicleExists(name) {\r\n\t\tvar item = this.props.vehicles.filter((item) => {\r\n\t\t\treturn item.name === name;\r\n\t\t})[0];\r\n\t\treturn item !== undefined;\r\n\t}\r\n\r\n\tmergeContactUppgift = (regnr, text) => {\r\n\t\tlet result = \"\";\r\n\r\n\t\tif (regnr.length > 0) {\r\n\t\t\tresult += \"Registreringsnummer: \" + regnr + \", \";\r\n\t\t}\r\n\r\n\t\tresult = result + text;\r\n\r\n\t\treturn result;\r\n\t};\r\n\r\n\thandleFormSave() {\r\n\t\tthis.validateDatum();\r\n\t\tthis.validateTid();\r\n\t\tthis.validatePlats();\r\n\t\tthis.validateHandelseBeskrivning();\r\n\t\tthis.validateForsakringskategori();\r\n\t\tthis.validateSkadeplatskategori();\r\n\t\tthis.validateAntalPassagerare();\r\n\t\tthis.validateMatarstallning();\r\n\t\tthis.validateFordon();\r\n\t\tthis.validateVagensBredd();\r\n\t\tthis.validateEstimatedDistanceRightHandSideOfRoad();\r\n\r\n\t\tif (\r\n\t\t\tthis.datumIsValid &&\r\n\t\t\tthis.tidIsValid &&\r\n\t\t\tthis.fordonIsValid &&\r\n\t\t\tthis.platsIsValid &&\r\n\t\t\tthis.skadeplatskategoriIsValid &&\r\n\t\t\tthis.handelseBeskrivningIsValid &&\r\n\t\t\tthis.forsakringskategoriIsValid &&\r\n\t\t\tthis.antalPassagerareIsvalid &&\r\n\t\t\tthis.matarstallningIsValid &&\r\n\t\t\tthis.vagensBreddIsvalid &&\r\n\t\t\tthis.estimatedDistanceRightHandSideOfRoadIsvalid\r\n\t\t) {\r\n\t\t\tvar saveData = {\r\n\t\t\t\tDatum: this.state.datum.format(\"YYYY-MM-DD\") + this.state.tid.format(\" HH:mm\"),\r\n\t\t\t\tPlats: this.state.plats,\r\n\t\t\t\tHandelseBeskrivning: this.state.handelseBeskrivning,\r\n\t\t\t\tFordon: this.state.fordon,\r\n\t\t\t\tSkadeplatskategori: this.state.skadeplatskategori,\r\n\t\t\t\tPolis: this.state.polis,\r\n\t\t\t\tBlodprov: this.state.blodprov,\r\n\t\t\t\tVittnen: this.state.vittnen,\r\n\t\t\t\tMatarstallning: this.state.matarstallning,\r\n\t\t\t\tAntalPassagerare: this.state.antalpassagerare,\r\n\t\t\t\tRaddningstjanst: this.state.raddningstjanst,\r\n\t\t\t\tSkadaPaFordon: this.state.skadapafordon,\r\n\t\t\t\tForsakringsKategori: this.getForsakringsKategoriName(this.state.forsakringskategori),\r\n\t\t\t\tKategoriSpecificering: this.state.kategorispecificering,\r\n\t\t\t\tErsattningsfordon: this.state.ersattningsfordon,\r\n\t\t\t\tSynligaSkador: this.state.synligaskador,\r\n\t\t\t\tPersonskadekontaktuppgifter: this.state.personskada,\r\n\t\t\t\tMotpartskontaktuppgifter: this.mergeContactUppgift(this.state.motpartkontaktuppgifterRegnr, this.state.motpartkontaktuppgifter),\r\n\t\t\t\tAttachmentUploadBlobNames: this.state.attachmentNames,\r\n\t\t\t\tVagensBredd: this.state.vagensBredd,\r\n\t\t\t\tAvstandTillVagensSida: this.state.estimatedDistanceRightHandSideOfRoad,\r\n\t\t\t};\r\n\r\n\t\t\tconsole.log(\"to save\", saveData);\r\n\r\n\t\t\tthis.addIncident(saveData);\r\n\t\t} else {\r\n\t\t\t// console.log('spara validera icke', saveData);\r\n\t\t}\r\n\t}\r\n\r\n\taddIncident(incident) {\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\tsavingStatus: 1,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\taxios\r\n\t\t\t\t\t.post(infraConfig.apiEndpoint.concat(\"/api/incident/addfordonsskada\"), incident, getAxiosConfig(this.props.user))\r\n\t\t\t\t\t.then((dataResult) => {\r\n\t\t\t\t\t\tconsole.log(\"after send success\", dataResult);\r\n\r\n\t\t\t\t\t\tthis.setState({\r\n\t\t\t\t\t\t\tsavingStatus: 2,\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\tthis.resetForm();\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch((error) => {\r\n\t\t\t\t\t\tthis.setState({\r\n\t\t\t\t\t\t\tsavingStatus: 3,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tconsole.log(\"ERROR\");\r\n\t\t\t\t\t});\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tonFileUploadChange(e) {\r\n\t\te.preventDefault();\r\n\r\n\t\tthis.setState({ file: e.target.files[0] });\r\n\t}\r\n\r\n\tonAddImageClick(e) {\r\n\t\tthis.fileUpload(this.state.file);\r\n\t}\r\n\tonRemoveImageItem(name) {\r\n\t\tthis.setState({\r\n\t\t\tattachmentNames: this.state.attachmentNames.filter((item) => item.name !== name),\r\n\t\t});\r\n\t}\r\n\tfileUpload(file) {\r\n\t\tvar axiosConfig = getAxiosConfig(this.props.user);\r\n\t\taxiosConfig.headers[\"Content-Type\"] = \"multipart/form-data\";\r\n\r\n\t\tconst formData = new FormData();\r\n\t\tformData.append(\"file\", file);\r\n\r\n\t\taxios\r\n\t\t\t.post(infraConfig.apiEndpoint.concat(\"/api/incident/uploadimage\"), formData, axiosConfig)\r\n\t\t\t.then((dataResult) => {\r\n\t\t\t\tif (dataResult.data.result !== false) {\r\n\t\t\t\t\tthis.setState(\r\n\t\t\t\t\t\t(prevState) => {\r\n\t\t\t\t\t\t\tconst attachmentNames = prevState.attachmentNames.concat(dataResult.data.result);\r\n\t\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\t\tattachmentNames,\r\n\t\t\t\t\t\t\t\tfile: null,\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t() => {\r\n\t\t\t\t\t\t\t//console.log(this.state);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.catch((error) => {\r\n\t\t\t\t// console.log('ERROR', error);\r\n\t\t\t});\r\n\t}\r\n\ttriggerInputFile = () => this.fileInput.click();\r\n\tresetForm() {\r\n\t\tvar savingStatus = this.state.savingStatus;\r\n\t\tthis.setState(this.getInititalState(), () => {\r\n\t\t\tthis.setState({ savingStatus: savingStatus });\r\n\t\t});\r\n\r\n\t\tdocument.getElementById(\"create-incident\").reset();\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{\" \"}\r\n\t\t\t\t{this.props.formOptions != null ? (\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
Foton
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t (this.fileInput = fileInput)} onChange={(event) => this.onFileUploadChange(event)} type=\"file\" className=\"hidden\" />\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{this.state.attachmentNames.map((item, key) => {\r\n\t\t\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t{\" \"}\r\n\t\t\t\t\t\t\t\t\t\t{decodeURI(item.shortName).replace(\"+\", \" \")}\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t})}\r\n\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tDatum för incident *\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{this.state.datumError}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tTid för incident *\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{this.state.tidError}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tPlats *\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t this.handlePlatsChange(event)}\r\n\t\t\t\t\t\t\t\t\tclassName={this.state.platsError !== null ? \"error\" : null}\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t{this.state.platsError}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{!this.props.disableFK && (\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t{this.props.disableFK && (\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tFordon *\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t this.handleFordonChange(event)}\r\n\t\t\t\t\t\t\t\t\t\tclassName={this.state.fordonError !== null ? \"error\" : null}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t{this.state.fordonError}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t)}\r\n\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tSkadeplatskategori *\r\n\t\t\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t{this.props.formOptions != null\r\n\t\t\t\t\t\t\t\t\t\t? this.props.formOptions.skadeplatskategori.map((row, key) => {\r\n\t\t\t\t\t\t\t\t\t\t\t\treturn this.handleSkadeplatskategoriChange(event, row)} label={row.label} number={row.id} key={key} />;\r\n\t\t\t\t\t\t\t\t\t\t })\r\n\t\t\t\t\t\t\t\t\t\t: null}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{this.state.skadeplatskategoriError}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t this.handlePolisChange(el, state)} /> Polis\r\n\t\t\t\t\t\t\t\tinkopplad?\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t this.handleRaddningstjanstChange(el, state)}\r\n\t\t\t\t\t\t\t\t/>{\" \"}\r\n\t\t\t\t\t\t\t\tRäddningstjänst inkopplad?\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t this.handleSkadaPaFordonChange(el, state)} />{\" \"}\r\n\t\t\t\t\t\t\t\tSkador på fordon?\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t this.handleBlodProvChange(el, state)} /> Blodprov\r\n\t\t\t\t\t\t\t\t/ Utandingsprov?\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tFörsäkringskategori *\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t this.handleForsakringskategoriChange(event)}\r\n\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{this.props.formOptions.forsakringskategori.map((item, key) => {\r\n\t\t\t\t\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t})}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{this.state.forsakringskategoriError}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{this.state.forsakringskategori !== \"\" ? (\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t{this.state.forsakringskategori === \"Forsakringskategori_option1\" ? (\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\tKategorispecificering\r\n\t\t\t\t\t\t\t\t\t\t\t this.handleKategorispecificeringChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t{this.kategorispecOptions.map((item, key) => {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t\t})}\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t) : this.state.forsakringskategori === \"Forsakringskategori_option2\" ? (\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\tVad har blivit stulet?\r\n\t\t\t\t\t\t\t\t\t\t\t this.handleKategorispecificeringChange(event)} />\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t) : this.state.forsakringskategori === \"Forsakringskategori_option3\" ? (\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\tVilken typ av brand?\r\n\t\t\t\t\t\t\t\t\t\t\t this.handleKategorispecificeringChange(event)} />\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t) : null}\r\n\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\tHändelsebeskrivning (Vem har vållat skadan? Och varför?) *\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t this.handleHandelseBeskrivningChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t{this.state.handelseBeskrivningError}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{this.state.kategorispecificering === \"Kollision\" ? (\r\n\t\t\t\t\t\t\t\t\t\t<>\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\tVägens ungefärliga bredd (i meter)\r\n\t\t\t\t\t\t\t\t\t\t\t\t this.handleVagensBreddChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t\t{this.state.vagensBreddError}\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\tUngefärligt avstånd till vägens högerkant (i meter)\r\n\t\t\t\t\t\t\t\t\t\t\t\t this.handleEstimatedDistanceRightHandSideOfRoadChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t\t{this.state.estimatedDistanceRightHandSideOfRoadError}\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t) : null}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t this.handleErsattningsfordonChange(el, state)}\r\n\t\t\t\t\t\t\t\t\t\t/>{\" \"}\r\n\t\t\t\t\t\t\t\t\t\tAnlitades ersättninsfordon?\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t this.handleSynligaSkadorBoolChange(el, state)}\r\n\t\t\t\t\t\t\t\t\t\t/>{\" \"}\r\n\t\t\t\t\t\t\t\t\t\tSynliga skador på buss eller andra föremål?\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{this.state.synligaskadorbool ? (\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\tBeskriv synliga skador:\r\n\t\t\t\t\t\t\t\t\t\t\t this.handleSynligaSkadorChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t) : null}\r\n\r\n\t\t\t\t\t\t\t\t\t{this.state.forsakringskategori !== \"Forsakringskategori_option2\" ? (\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t this.handlePersonSkadaBoolChange(el, state)}\r\n\t\t\t\t\t\t\t\t\t\t\t\t/>{\" \"}\r\n\t\t\t\t\t\t\t\t\t\t\t\tPersonskada?\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t{this.state.personskadabool ? (\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tBeskriv personskador: personnummer, namn, adress, telefon (om möjligt)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t this.handlePersonSkadaChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t) : null}\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t) : null}\r\n\r\n\t\t\t\t\t\t\t\t\t{this.state.forsakringskategori !== \"Forsakringskategori_option3\" ? (\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\tKontaktuppgifter motpart (Ägarens namn, Orgnr/personnr, adress, reg nr, försäkringsbolag, förare, kontaktuppgifter (telnr) till föraren)\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t this.handleMotpartskontaktuppgifterRegnrChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t this.handleMotpartskontaktuppgifterChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t) : null}\r\n\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tVittnen (Namn, telefonnummer)\r\n\t\t\t\t\t\t\t\t\t\t this.handleVittnenChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tAntal passagerare\r\n\t\t\t\t\t\t\t\t\t\t this.handleAntalPassagerareChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t{this.state.antalpassagerareError}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tMätarställning\r\n\t\t\t\t\t\t\t\t\t\t this.handleMatarstallningChange(event)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t{this.state.matarstallningError}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t) : null}\r\n\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t) : null}{\" \"}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n\treturn {\r\n\t\tuser: state.oidc.user,\r\n\t};\r\n}\r\n\r\nexport default connect(mapStateToProps)(FormFordonsskada);\r\n","// formuläret från startsidan (genvägen) det förenklade\r\nimport { connect } from \"react-redux\";\r\nimport { fetchFormOptions } from \"./actions\";\r\nimport { getVehicles } from \"../Fordonskontroll/actions\";\r\n\r\nimport React, { Component} from \"react\";\r\nimport FormArbetsmiljo from \"./FormArbetsmiljo\";\r\nimport FormHotOchVald from \"./FormHotOchVald\";\r\nimport FormTrafikinformation from \"./FormTrafikinformation\";\r\nimport FormFordonsskada from \"./FormFordonsskada\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport Button from \"components/CustomButtons/CustomButton\";\r\nimport Card from 'components/Card/Card.jsx';\r\nimport {\r\n Row,\r\n Col,\r\n } from \"react-bootstrap\";\r\n import {\r\n FormGroup,\r\n } from \"react-bootstrap\";\r\n import { appConfig } from \"config/appConfig\";\r\n\r\nclass FormH extends Component {\r\nconstructor(props){\r\n super(props);\r\n\r\n this.state = {\r\n addNewMode: 0\r\n }\r\n}\r\n\r\ncomponentDidMount(){\r\n this.props.fetchFormOptions();\r\n if(!appConfig.disableFK) {\r\n this.props.getVehicles();\r\n }\r\n}\r\n\r\n\r\nswitchAddNewForm(mode) {\r\n switch (mode) {\r\n case 1:\r\n return } />\r\n case 2:\r\n return } />\r\n case 3:\r\n return } />\r\n case 4:\r\n return } />\r\n default:\r\n return null;\r\n }\r\n}\r\nselectAddNewMode(mode) {\r\n this.setState({\r\n addNewMode: mode\r\n });\r\n}\r\n render() {\r\nreturn (
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
} />} />\r\n \r\n \r\n \r\n \r\n { this.switchAddNewForm(this.state.addNewMode) }\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n formOptions: state.incident.formOptions,\r\n formOptionsTimestamp: state.incident.formOptionstimestamp,\r\n isLoadingFormOptions: state.incident.isLoadingFormOptions,\r\n loadingFormOptionsFailed: state.incident.loadingFormOptionsFailed,\r\n vehicles: state.fordonskontroll.vehicles,\r\n isLoadingVehicles: state.fordonskontroll.isLoadingVehicles,\r\n loadingVehiclesFailed: state.fordonskontroll.loadingVehiclesFailed, \r\n };\r\n }\r\n \r\nexport default connect(mapStateToProps, { fetchFormOptions, getVehicles })(FormH);\r\n","import React from 'react';\r\nimport Button from 'components/CustomButtons/CustomButton.jsx';\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\n\r\nfunction downloadPDF(pdf, filename) {\r\n const linkSource = `data:application/pdf;base64,${pdf}`;\r\n const downloadLink = document.createElement(\"a\");\r\n\r\n downloadLink.href = linkSource;\r\n downloadLink.download = filename;\r\n downloadLink.setAttribute(\"type\", \"hidden\"); \r\n document.body.appendChild(downloadLink);\r\n downloadLink.click();\r\n //downloadLink.dispatchEvent(new MouseEvent('click', {bubbles: true, cancelable: true, view: window}));\r\n // downloadLink.remove();\r\n\r\n\r\n}\r\n\r\nclass LonebeskedButton extends React.Component {\r\n constructor(props){\r\n super(props);\r\n\r\n this.state = {\r\n loading: false\r\n }\r\n }\r\n render() {\r\n return (\r\n \r\n )} \r\n}\r\n\r\n\r\nexport default LonebeskedButton;\r\n","import React from 'react';\r\nimport LonebeskedButton from \"./LonebeskedButton\";\r\n\r\nclass LonebeskedList extends React.Component {\r\n\r\n render(){\r\n return (\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.props.lonebesked.map((item, key) => {\r\n return \r\n \r\n \r\n \r\n \r\n })}\r\n \r\n
PeriodUtbetalningsdag
{item.salaryPeriodName}{item.salaryPeriodPaymentDate}
\r\n\r\n );\r\n }\r\n}\r\n\r\nexport default LonebeskedList;\r\n","import React from 'react';\r\nimport { Col, Row } from \"react-bootstrap\";\r\nimport Card from 'components/Card/Card.jsx';\r\nimport { getLonespec } from \"./actions\";\r\nimport { connect } from \"react-redux\";\r\nimport 'assets/css/lonebesked.css';\r\n\r\nimport LonebeskedList from './LonebeskedList';\r\n\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nclass KontekOnlineLonebesked extends React.Component {\r\n componentDidMount() {\r\n this.props.getLonespec();\r\n }\r\n render() {\r\n return (\r\n
\r\n \r\n \r\n : null\r\n } />\r\n } />\r\n \r\n \r\n
);\r\n }\r\n}\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n lonebesked: state.kontek.lonebesked,\r\n isLoadinglonebesked: state.kontek.isLoadinglonebesked,\r\n loadinglonebeskedFailed: state.kontek.loadinglonebeskedFailed,\r\n };\r\n }\r\nexport default connect(mapStateToProps, { getLonespec })(KontekOnlineLonebesked);\r\n","import React from \"react\";\r\nimport {\r\n FormGroup,\r\n ControlLabel,\r\n FormControl,\r\n HelpBlock,\r\n InputGroup\r\n} from \"react-bootstrap\";\r\n\r\nconst FormElement = ({\r\n name,\r\n label,\r\n placeholder,\r\n values,\r\n errors,\r\n touched,\r\n handleChange,\r\n handleBlur,\r\n readOnly,\r\n addonBefore\r\n}) => {\r\n const wrapInputGroup = () => {\r\n if (addonBefore) {\r\n return (\r\n \r\n {addonBefore && {addonBefore}}\r\n {getFormControl()}\r\n \r\n );\r\n } else {\r\n return getFormControl();\r\n }\r\n };\r\n\r\n const getFormControl = () => {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return (\r\n \r\n {label}\r\n {!readOnly && (\r\n \r\n {wrapInputGroup()}\r\n \r\n {errors && errors[name] && touched && touched[name] && (\r\n {errors[name]}\r\n )}\r\n \r\n )}\r\n {readOnly && (\r\n {values[name]}\r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default FormElement;\r\n","/*\r\n Valideringsfel från client side visas direkt på kontrollen, hanteras av formik + yup\r\n Valideringsfel från server visas i en react-bootstrap Alert, via formiks status-objekt.\r\n\r\n*/\r\n\r\nimport React, { Component } from \"react\";\r\nimport {\r\n Panel,\r\n Button,\r\n Row,\r\n Col,\r\n Alert,\r\n ListGroup\r\n} from \"react-bootstrap\";\r\nimport '../../assets/css/forms.css';\r\nimport { Formik } from \"formik\";\r\nimport * as Yup from \"yup\";\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport { ListItem } from \"react-bootstrap/lib/Media\";\r\nimport FormElement from \"./FormElement\";\r\n\r\nlet xsNumCols = 12;\r\nlet smNumCols = 6;\r\nlet mdNumCols = smNumCols;\r\nlet lgNumCols = mdNumCols;\r\n\r\n/*\r\n errors är ModelState från backend\r\n ex:\r\n {\r\n \"firstName\": [\r\n \"Förnamn är obligatoriskt\"\r\n ],\r\n \"lastName\": [\r\n \"Efternamn är obligatorskt\"\r\n ]\r\n }\r\n\r\n*/\r\nconst ErrorList = ({ errors }) => {\r\n let flatErrors = [];\r\n\r\n for (var error in errors) {\r\n flatErrors = [...flatErrors, ...errors[error]];\r\n }\r\n\r\n return (\r\n \r\n {flatErrors.map(error => {\r\n return {error};\r\n })}\r\n \r\n );\r\n};\r\n\r\nconst validationSchema = Yup.object().shape({\r\n firstName: Yup.string().required(\"Ange ett förnamn\"),\r\n lastName: Yup.string().required(\"Ange ett efternamn\"),\r\n email: Yup.string()\r\n .email(\"Ange en epostadress med formatet xxxx@xxx.xx\")\r\n .required(\"Ange en epostadress\"),\r\n address: Yup.string().required(\"Ange en gatuadress\"),\r\n zipCode: Yup.string()\r\n .matches(\r\n /^\\d{5}$/,\r\n \"Ange ett postnummer med formatet XXXXX som bara innehåller siffror\"\r\n )\r\n .required(\"Ange ett postnummer\"),\r\n city: Yup.string().required(\"Ange en postort\"),\r\n phoneNumber: Yup.string()\r\n .matches(\r\n /^(?!0)\\d+$/,\r\n \"Ange ett svenskt telefonnummer med riktnummer och utan mellanslag\"\r\n )\r\n .required(\"Ange ett telefonnummer\"),\r\n relativeName: Yup.string(),\r\n relativePhone: Yup.string().matches(\r\n /^(?!0)\\d+$/,\r\n \"Ange ett svenskt telefonnummer med riktnummer och utan mellanslag\"\r\n )\r\n});\r\n\r\nexport default class UserPersonalDetailsForm extends Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n this.state = {\r\n errorSaving: false\r\n };\r\n }\r\n\r\n scrollToTop = () => {\r\n window.scrollTo({\r\n top: 0,\r\n behavior: 'smooth'\r\n });\r\n }\r\n\r\n formatPhoneNumberOnLoad(phoneNumber) {\r\n if(!phoneNumber) return '';\r\n\r\n let newNumber = phoneNumber.replace(/\\D/g,''); //remove all non-numeric characters, '\\D' matches all non-numeric\r\n if(newNumber.substring(0,4) === \"0046\") {\r\n newNumber = newNumber.substring(4); //strip 0046\r\n }\r\n if(newNumber.substring(0,2) === \"46\") {\r\n newNumber = newNumber.substring(2); //strip 46 (the + from +46 was stripped in step 1)\r\n }\r\n\r\n return newNumber;\r\n }\r\n\r\n handleSubmitForm = (values, setSubmitting, setStatus) => {\r\n const postValues = {...values, phoneNumber: \"+46 \" + values.phoneNumber, relativePhone: \"+46 \" + values.relativePhone};\r\n axios\r\n .post(\r\n infraConfig.apiEndpoint.concat(\"/api/user/profile/details\"),\r\n postValues,\r\n getAxiosConfig(this.props.user)\r\n )\r\n .then(() => {\r\n setStatus({ error: false });\r\n setSubmitting(false);\r\n this.props.handleSuccessfulUpdate(postValues);\r\n })\r\n .catch(error => {\r\n let errorStatus;\r\n if (\r\n error.response &&\r\n error.response.data &&\r\n error.response.data.modelState\r\n ) {\r\n errorStatus = error.response.data.modelState;\r\n } else {\r\n errorStatus = {\r\n general: \"Okänt fel inträffade\"\r\n };\r\n }\r\n setStatus({ errors: errorStatus });\r\n setSubmitting(false);\r\n this.setState({ errorSaving: true });\r\n this.scrollToTop();\r\n });\r\n };\r\n\r\n render() {\r\n const {\r\n firstName,\r\n lastName,\r\n email,\r\n address,\r\n zipCode,\r\n city,\r\n relativeName,\r\n } = this.props.userDetails;\r\n let phoneNumber = this.formatPhoneNumberOnLoad(this.props.userDetails.phoneNumber);\r\n let relativePhone = this.formatPhoneNumberOnLoad(this.props.userDetails.relativePhone);\r\n \r\n\r\n const { readOnly } = this.props;\r\n\r\n return (\r\n
\r\n {\r\n this.handleSubmitForm(values, setSubmitting, setStatus);\r\n }}\r\n >\r\n {({\r\n values,\r\n errors,\r\n touched,\r\n handleChange,\r\n handleBlur,\r\n handleSubmit,\r\n isSubmitting,\r\n isValid,\r\n status\r\n }) => (\r\n \r\n
\r\n {status && status.errors && (\r\n \r\n

Fel inträffade när formuläret skulle sparas

\r\n

\r\n \r\n

\r\n
\r\n )}\r\n \r\n \r\n Namn\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Adress\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Kontakt\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Uppgifter om närmast anhörig\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {!readOnly && (\r\n \r\n this.props.abortEdit()}\r\n >\r\n Avbryt\r\n {\" \"}\r\n \r\n Spara\r\n \r\n

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

\r\n )}\r\n \r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from \"react\";\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport { Button, Alert } from \"react-bootstrap\";\r\nimport UserPersonalDetailsForm from \"./UserPersonalDetailsForm\";\r\nimport LoadingOverlay from \"react-loading-overlay\";\r\n\r\nexport default class UserPersonalDetails extends Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n this.state = {\r\n userDetails: {\r\n firstName: \"\",\r\n lastName: \"\",\r\n email: \"\",\r\n address: \"\",\r\n zipCode: \"\",\r\n city: \"\",\r\n phoneNumber: \"\",\r\n relativeName: \"\",\r\n relativeRelation: \"\",\r\n relativePhone: \"\"\r\n },\r\n userDetailsLoaded: false,\r\n userDetailsLoadError: \"\",\r\n editIsActive: false,\r\n successfulUpdate: false\r\n };\r\n }\r\n\r\n loadUserDetails = () => {\r\n const user = this.props.user;\r\n axios\r\n .get(\r\n infraConfig.apiEndpoint.concat(\"/api/user/profile/details\"),\r\n getAxiosConfig(user)\r\n )\r\n .then(dataresult => {\r\n let userDetails = {\r\n firstName: dataresult.data.result.firstName,\r\n lastName: dataresult.data.result.lastName,\r\n email: dataresult.data.result.email,\r\n address: dataresult.data.result.address,\r\n zipCode: dataresult.data.result.zipCode,\r\n city: dataresult.data.result.city,\r\n phoneNumber: dataresult.data.result.phoneNumber,\r\n relativeName: dataresult.data.result.relativeName,\r\n relativeRelation: dataresult.data.result.relativeRelation,\r\n relativePhone: dataresult.data.result.relativePhone\r\n };\r\n this.setState({\r\n userDetails: userDetails,\r\n userDetailsLoaded: true\r\n });\r\n })\r\n .catch(error => {\r\n if (\r\n error &&\r\n error.response &&\r\n error.response.data &&\r\n error.response.data.errorMessage\r\n ) {\r\n this.setState({\r\n userDetailsLoadError: error.response.data.errorMessage\r\n });\r\n } else {\r\n this.setState({\r\n userDetailsLoadError:\r\n \"Ett oväntat fel uppstod vid laddning av användaruppgifter.\"\r\n });\r\n window.scrollTo({\r\n top: 0,\r\n behaviour: 'smooth'\r\n });\r\n }\r\n });\r\n };\r\n\r\n componentDidMount() {\r\n this.loadUserDetails();\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n {/* Error loading user details from server */}\r\n {this.state.userDetailsLoadError && (\r\n \r\n

Ett fel uppstod

\r\n

{this.state.userDetailsLoadError}

\r\n

\r\n {\r\n this.setState({\r\n userDetailsLoadError: \"\",\r\n userDetailsLoaded: false\r\n });\r\n this.loadUserDetails();\r\n }}\r\n >\r\n Försök igen\r\n \r\n

\r\n
\r\n )}\r\n\r\n {/* Loading and showing user details */}\r\n {!this.state.userDetailsLoadError && (\r\n \r\n \r\n {this.state.successfulUpdate && (\r\n \r\n
Dina uppgifter är uppdaterade
\r\n
\r\n )}\r\n this.setState({ editIsActive: false })}\r\n handleSuccessfulUpdate={newUserDetails => {\r\n this.setState({\r\n userDetails: newUserDetails,\r\n editIsActive: false,\r\n successfulUpdate: true\r\n });\r\n }}\r\n readOnly={!this.state.editIsActive}\r\n />\r\n\r\n {!this.state.editIsActive && (\r\n \r\n this.setState({\r\n editIsActive: true,\r\n successfulUpdate: false\r\n })\r\n }\r\n >\r\n Ändra mina uppgifter\r\n \r\n )}\r\n
\r\n \r\n )}\r\n
\r\n );\r\n }\r\n}\r\n","import React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport Card from \"components/Card/Card.jsx\";\r\nimport UserPersonalDetails from \"./UserPersonalDetails\";\r\n\r\nconst divLabelStyle = {\r\n fontSize: \"16px\"\r\n};\r\n\r\nclass UserInfo extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n showAdvanced: false\r\n };\r\n this.showAdvanced = this.showAdvanced.bind(this);\r\n }\r\n renderArrayOrString(arrayOrString) {\r\n if (Array.isArray(arrayOrString)) {\r\n return (\r\n
    \r\n {arrayOrString.map((row, key) => {\r\n return (\r\n
  • \r\n {row}\r\n
  • \r\n );\r\n })}\r\n
\r\n );\r\n } else {\r\n return {arrayOrString};\r\n }\r\n }\r\n\r\n showAdvanced() {\r\n this.setState(prevState => ({\r\n showAdvanced: !prevState.showAdvanced\r\n }));\r\n }\r\n render() {\r\n return (\r\n
\r\n
\r\n
\r\n \r\n }\r\n />\r\n
\r\n
\r\n
\r\n \r\n );\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n userprofile: state.userprofile.userprofile\r\n };\r\n}\r\n\r\nexport default connect(mapStateToProps)(UserInfo);\r\n","import React from 'react';\r\nimport { downloadFile } from \"system/util\";\r\n\r\nclass AttachmentListItem extends React.Component {\r\n constructor(props){\r\n super(props);\r\n this.state = {\r\n isDownloading: false\r\n }\r\n }\r\n\r\n renderIcon(extension) {\r\n\r\n return extension === \"pdf\" \r\n ? \r\n : extension === \"docx\" ? \r\n : \r\n }\r\n downloadAttachment(url) {\r\n \r\n console.log(url);\r\n downloadFile(url);\r\n\r\n // visa att vi försöker ladda ner\r\n this.setState({\r\n isDownloading: true\r\n\r\n }, () => {\r\n\r\n setTimeout(() => {\r\n this.setState({\r\n isDownloading: false\r\n });\r\n \r\n },3000);\r\n })\r\n\r\n }\r\n render() {\r\n return this.state.isDownloading \r\n ?
  • Laddar ner..
  • \r\n :
  • { this.downloadAttachment(this.props.attachment.fileUrl)}}>{this.renderIcon(this.props.attachment.fileExtension)} {this.props.attachment.fileName}
  • \r\n }\r\n}\r\nexport default AttachmentListItem;","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport axios from 'axios';\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport Button from \"components/CustomButtons/CustomButton\";\r\nimport moment from 'moment';\r\n\r\nclass NewsComment extends React.Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n editMode: false,\r\n showDelete: false,\r\n isDeleting: false,\r\n isSaving: false,\r\n commentError: null,\r\n savingFailed: false\r\n }\r\n this.isCommentValid = true;\r\n }\r\n \r\n componentDidMount() {\r\n const { item } = this.props;\r\n this.setState({\r\n bodyText: item.bodyText\r\n });\r\n }\r\n\r\n deleteComment() {\r\n\r\n console.log('deleting in comment');\r\n this.setState({\r\n isDeleting: true\r\n });\r\n axios.delete(infraConfig.apiEndpoint.concat('/api/nyheter/deletecomment?commentId=').concat(this.props.item.id), getAxiosConfig(this.props.user))\r\n .then((dataResult) => { \r\n\r\n this.props._handleDelete(this.props.item.id);\r\n\r\n });\r\n\r\n }\r\n\r\n saveEditComment() {\r\n \r\n console.log('saving');\r\n\r\n this.validateComment();\r\n\r\n if (this.isCommentValid) {\r\n this.setState({\r\n isSaving: true,\r\n savingFailed: false\r\n });\r\n \r\n axios.post(infraConfig.apiEndpoint.concat('/api/nyheter/savecomment'), {\r\n id: this.props.item.id,\r\n bodyText: this.state.bodyText,\r\n newsItemId: this.props.item.newsItemId\r\n }, getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n \r\n this.setState({\r\n editMode: false,\r\n showDelete: false,\r\n isSaving: false,\r\n savingFailed: false\r\n });\r\n \r\n \r\n }).catch(() => {\r\n this.setState({\r\n isSaving: false,\r\n savingFailed: true\r\n });\r\n });\r\n\r\n }\r\n\r\n }\r\n\r\n validateComment() {\r\n const { maxLength } = this.props;\r\n if (this.state.bodyText.length > 0 && this.state.bodyText.length <= maxLength) {\r\n this.isCommentValid = true;\r\n\r\n this.setState({\r\n commentError: null\r\n });\r\n } else {\r\n this.isCommentValid = false;\r\n this.setState({\r\n commentError: `Kommentar får inte vara tomt och inte överskrida ${String(maxLength)} tecken`\r\n })\r\n }\r\n }\r\n render() {\r\n const { maxLength } = this.props;\r\n return this.state.editMode ?
  • \r\n

    {this.props.item.authorName}

    \r\n
    \r\n \r\n
    {this.state.bodyText.length} / {maxLength}
    \r\n\r\n \r\n {this.state.commentError}\r\n\r\n
    \r\n { this.state.isSaving \r\n ? Sparar..\r\n :
    \r\n  \r\n \r\n
    \r\n }\r\n { this.state.savingFailed ? Ett fel inträffade när kommentaren skulle sparas : null}\r\n\r\n
  • \r\n :
  • \r\n

    {this.props.item.authorName}

    \r\n

    {this.state.bodyText}

    \r\n

    {moment(this.props.item.createdDate).format(\"LLL\")}

    \r\n {this.props.item.canEdit && !this.state.showDelete ? \r\n
    \r\n \r\n \r\n
    : null }\r\n { this.state.showDelete ?
    \r\n

    Radera inlägget?

    \r\n { this.state.isDeleting \r\n ?

    Raderar..

    \r\n :
    \r\n  \r\n \r\n
    \r\n }\r\n \r\n
    : null }\r\n \r\n
  • \r\n\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n userprofile: state.userprofile.userprofile\r\n };\r\n }\r\nexport default connect(mapStateToProps)(NewsComment);\r\n","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport axios from 'axios';\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport Button from \"components/CustomButtons/CustomButton\";\r\nimport NewsComment from \"./NewsComment\";\r\n\r\nconst MAX_COMMENT_LENGTH = 400;\r\n\r\nclass NewsComments extends React.Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n collapsed: true,\r\n comments: [],\r\n loadingComments: false,\r\n newCommentBodyText: '',\r\n isAddingComment: false,\r\n addingCommentFailed: false,\r\n loadingCommentsFailed: false,\r\n a: false,\r\n commentError: null\r\n }\r\n \r\n this.commentIsValid = true;\r\n\r\n }\r\n\r\n componentDidMount() {\r\n this.setState(prevState => ({\r\n a: !prevState.a\r\n }), () => {\r\n this.loadComments();\r\n }); \r\n }\r\n\r\n handleDeleteComment(id) {\r\n console.log('deleting', id);\r\n this.setState(prevState => ({\r\n comments: prevState.comments.filter(el => el.id !== id )\r\n }), () => {\r\n this.loadComments();\r\n });\r\n }\r\n\r\n addComment() {\r\n\r\n this.validateCommentBox();\r\n\r\n if (this.commentIsValid) {\r\n this.setState({\r\n isAddingComment: true,\r\n addingCommentFailed: false\r\n })\r\n axios.post(infraConfig.apiEndpoint.concat('/api/nyheter/addcomment'), {\r\n bodyText: this.state.newCommentBodyText,\r\n newsItemId: this.props.newsId\r\n }, getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n \r\n this.setState(prevState => ({\r\n comments: [dataResult.data.result].concat(prevState.comments),\r\n newCommentBodyText: '',\r\n isAddingComment: false,\r\n addingCommentFailed: false\r\n }), () => {\r\n this.loadComments();\r\n }); \r\n\r\n }).catch(() => {\r\n this.setState({\r\n addingCommentFailed: true,\r\n isAddingComment: false\r\n })\r\n });\r\n }\r\n \r\n\r\n }\r\n\r\n loadComments() {\r\n\r\n console.log('laddar kommentarer');\r\n this.setState({\r\n loadingComments: true,\r\n // comments:[],\r\n loadingCommentsFailed: false\r\n }, () => {\r\n axios.get(infraConfig.apiEndpoint.concat('/api/nyheter/getcomments?newsId=').concat(this.props.newsId), getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n \r\n this.setState({\r\n loadingComments: false,\r\n comments: dataResult.data.result\r\n });\r\n }).catch(() => {\r\n this.setState({\r\n loadingComments: false,\r\n comments: [],\r\n loadingCommentsFailed: true\r\n });\r\n });\r\n });\r\n\r\n\r\n\r\n }\r\n\r\n validateCommentBox() {\r\n if (this.state.newCommentBodyText.length > 0 && this.state.newCommentBodyText.length <= MAX_COMMENT_LENGTH) {\r\n this.commentIsValid = true;\r\n\r\n this.setState({\r\n commentError: null\r\n });\r\n } else {\r\n this.commentIsValid = false;\r\n this.setState({\r\n commentError: `Kommentar får inte vara tomt och inte överskrida ${String(MAX_COMMENT_LENGTH)} tecken`\r\n })\r\n }\r\n\r\n }\r\n\r\n render() {\r\n // const myUserId = getClaimSingle(\"IntraUserId\", this.props.userprofile);\r\n\r\n return

    {\r\n this.setState(prevState => ({\r\n collapsed: !prevState.collapsed\r\n }), () => {\r\n if (!this.state.collapsed) {\r\n //this.loadComments();\r\n }\r\n });\r\n\r\n\r\n }}>Kommentarer ({this.state.loadingComments \r\n ? \r\n : this.state.loadingCommentsFailed ? \r\n : this.state.comments.length}) {this.state.collapsed ? : }

    \r\n\r\n { !this.state.collapsed ?
      \r\n\r\n { this.state.loadingCommentsFailed ?
    • Kommentarer kunde inte läsas in för tillfället.
    • : null }\r\n\r\n { !this.state.loadingCommentsFailed && this.state.comments.map((comment, key) => {\r\n return \r\n }) }\r\n { !this.state.loadingCommentsFailed ? \r\n
    • \r\n
      \r\n
      {this.state.newCommentBodyText.length} / {String(MAX_COMMENT_LENGTH)}
      \r\n \r\n {this.state.commentError}\r\n
      \r\n \r\n { this.state.addingCommentFailed ? Ett fel inträffade när kommentaren skulle sparas : null}\r\n
    • \r\n : null }\r\n \r\n\r\n
    : null }\r\n \r\n
    \r\n \r\n\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n userprofile: state.userprofile.userprofile\r\n };\r\n }\r\nexport default connect(mapStateToProps)(NewsComments);\r\n","import React from 'react';\r\nimport AttachmentListItem from \"./AttachmentListItem\";\r\nimport moment from 'moment';\r\nimport NewsComments from \"./NewsComments\";\r\nimport { connect } from \"react-redux\";\r\nimport axios from 'axios';\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\n\r\n// import 'moment/locale/sv';\r\n\r\n// moment().locale('sv');\r\n\r\nclass NewsItem extends React.Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n a:false\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n \r\n this.setState(prevState => ({\r\n a: !prevState.a\r\n }), () => {\r\n this.getImages();\r\n });\r\n\r\n }\r\n\r\n getImages() {\r\n console.log('component did mount',this.props.item.id);\r\n var newsImages = document.querySelectorAll('#newsitem' + this.props.item.id + ' .download-image');\r\n\r\n for (var i = 0; i < newsImages.length;i++) \r\n {\r\n\r\n var newsId = newsImages[i].getAttribute('data-imageid')\r\n if (newsId.length > 0) {\r\n console.log('found image', newsId);\r\n\r\n axios.get(infraConfig.apiEndpoint.concat('/api/nyheter/getimage/').concat(newsId), getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n \r\n var el = document.querySelector('#newsImage' + dataResult.data.result.imageId);\r\n if (el)\r\n {\r\n console.log('el style', el.style);\r\n\r\n var newEl = document.createElement('img');\r\n newEl.src = \"data:\" + dataResult.data.result.contentType +\";base64, \" + dataResult.data.result.data;\r\n newEl.style.cssText = el.style.cssText;\r\n newEl.style.margin = 0;\r\n newEl.style.marginBottom = \"5px\";\r\n \r\n el.parentNode.replaceChild(newEl, el); \r\n } else {\r\n console.log('image dataresult failed', dataResult);\r\n }\r\n\r\n }); \r\n }\r\n }\r\n }\r\n\r\n render() {\r\n const publishedString = moment(this.props.item.publishedDate).format(\"LL\");\r\n\r\n return
    \r\n

    {this.props.item.title}

    \r\n
    \r\n { this.props.item.newsAttachments.length > 0 ? \r\n
    \r\n
      \r\n
    • Bifogade filer
    • \r\n { this.props.item.newsAttachments.map((attachment, key) => {\r\n return \r\n })}\r\n
    \r\n : null}\r\n
    \r\n Publicerad {publishedString} av {this.props.item.authorName}\r\n
    \r\n
    \r\n \r\n
    \r\n
    ;\r\n } \r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user\r\n };\r\n }\r\nexport default connect(mapStateToProps)(NewsItem);\r\n","import { connect } from \"react-redux\";\r\nimport { getRegionNews } from \"./actions\";\r\nimport NewsItem from \"./NewsItem\";\r\nimport { getClaimSingle } from \"system/security\";\r\nimport Button from \"components/CustomButtons/CustomButton\";\r\nimport React from 'react';\r\nimport Card from 'components/Card/Card';\r\n\r\nclass RegionNewsListView extends React.Component {\r\n constructor(props){\r\n super(props);\r\n \r\n this.state = {\r\n regionTitle: 'Region',\r\n page: 0,\r\n pages: [],\r\n totalRecords: 0\r\n }\r\n }\r\n \r\n componentDidMount() {\r\n\r\n this.props.getRegionNews(this.state.page);\r\n\r\n const intraCompanyArea = getClaimSingle(\"IntraCompanyArea\", this.props.userprofile);\r\n if (intraCompanyArea !== undefined && intraCompanyArea !== '')\r\n {\r\n this.setState({\r\n regionTitle: intraCompanyArea\r\n }); \r\n }\r\n\r\n }\r\n\r\n static getDerivedStateFromProps(nextProps, prevState) {\r\n\r\n \r\n if (nextProps.region && nextProps.region.totalRecords !== prevState.totalRecords)\r\n {\r\n console.log('derived state', nextProps, prevState);\r\n\r\n var pages = [];\r\n for (var i = 0; i < Math.ceil(nextProps.region.totalRecords / 5); i++){\r\n pages.push(i);\r\n }\r\n return { \r\n totalRecords: nextProps.region.totalRecords,\r\n pages: pages,\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n scrollToTop = () => {\r\n window.scrollTo({\r\n top: 0\r\n });\r\n }\r\n \r\n render() {\r\n\r\n return
    \r\n { this.props.isLoadingRegion ? Laddar nyheter..: null }\r\n { this.props.region && !this.props.isLoadingRegion\r\n ? this.props.region.items.map((item,key) => {\r\n return
    \r\n } />
    \r\n }) : null}\r\n\r\n { this.state.pages.length > 1 ?\r\n
    \r\n { this.state.pages.map((item, key) => {\r\n const buttonClass = item === this.state.page ? \"primary\" : \"default\";\r\n\r\n return \r\n })\r\n } \r\n
    : null\r\n\r\n }\r\n
    \r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n userprofile: state.userprofile.userprofile,\r\n region: state.news.region,\r\n isLoadingRegion: state.news.isLoadingRegion,\r\n loadingRegionFailed: state.news.loadingRegionFailed,\r\n\r\n };\r\n }\r\nexport default connect(mapStateToProps, { getRegionNews })(RegionNewsListView);","import { connect } from \"react-redux\";\r\nimport { getKoncernNews } from \"./actions\";\r\nimport NewsItem from \"./NewsItem\";\r\nimport Button from \"components/CustomButtons/CustomButton\";\r\nimport React from 'react';\r\nimport Card from 'components/Card/Card';\r\n\r\nclass KoncernNewsListView extends React.Component {\r\n constructor(props){\r\n super(props);\r\n \r\n this.state = {\r\n page: 0,\r\n pages: [],\r\n totalRecords: 0\r\n }\r\n }\r\n \r\n componentDidMount() {\r\n\r\n this.props.getKoncernNews(this.state.page);\r\n\r\n }\r\n\r\n static getDerivedStateFromProps(nextProps, prevState) {\r\n\r\n \r\n if (nextProps.koncern && nextProps.koncern.totalRecords !== prevState.totalRecords)\r\n {\r\n console.log('derived state', nextProps, prevState);\r\n\r\n var pages = [];\r\n for (var i = 0; i < Math.ceil(nextProps.koncern.totalRecords / 5); i++){\r\n pages.push(i);\r\n }\r\n return { \r\n totalRecords: nextProps.koncern.totalRecords,\r\n pages: pages,\r\n }\r\n }\r\n return null;\r\n }\r\n scrollToTop = () => {\r\n window.scrollTo({\r\n top: 0\r\n });\r\n }\r\n \r\n render() {\r\n\r\n return
    \r\n { this.props.isLoadingKoncern ? Laddar nyheter..: null }\r\n { this.props.koncern && !this.props.isLoadingKoncern\r\n ? this.props.koncern.items.map((item,key) => {\r\n return
    \r\n } />
    \r\n }) : null}\r\n\r\n { this.state.pages.length > 1 ?\r\n
    \r\n { this.state.pages.map((item, key) => {\r\n const buttonClass = item === this.state.page ? \"primary\" : \"default\";\r\n\r\n return \r\n })\r\n } \r\n
    : null\r\n\r\n }\r\n
    \r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n userprofile: state.userprofile.userprofile,\r\n koncern: state.news.koncern,\r\n isLoadingKoncern: state.news.isLoadingKoncern,\r\n loadingKoncernFailed: state.news.loadingKoncernFailed,\r\n\r\n };\r\n }\r\nexport default connect(mapStateToProps, { getKoncernNews })(KoncernNewsListView);","import { connect } from \"react-redux\";\r\nimport NewsItem from \"./NewsItem\";\r\nimport React from 'react';\r\nimport Card from 'components/Card/Card';\r\n\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\n\r\nclass RegionNewsShowFull extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n \r\n this.state = {\r\n news: undefined,\r\n loading: false,\r\n loadingFailed: false\r\n }\r\n }\r\n\r\n componentDidMount() { \r\n\r\n this.setState({\r\n loading: true,\r\n loadingFailed: false,\r\n }, () => {\r\n axios.get(infraConfig.apiEndpoint.concat('/api/nyheter/getregion/').concat(this.props.params.newsId), getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n console.log(dataResult);\r\n \r\n this.setState({\r\n news: dataResult.data.result,\r\n loading: false,\r\n loadingFailed: false\r\n })\r\n })\r\n .catch((error) => { \r\n this.setState({\r\n loading: false,\r\n loadingFailed: true\r\n })\r\n });\r\n \r\n });\r\n\r\n }\r\n render() {\r\n\r\n return
    \r\n
    \r\n
    \r\n \r\n { this.state.loadingFailed ?

    Ett fel inträffade

    : null}\r\n { this.state.loading ?

    Laddar nyhet..

    : null}\r\n { this.state.news ? : null }
    \r\n } />\r\n
    \r\n
    \r\n \r\n }\r\n}\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user, \r\n };\r\n }\r\n \r\nexport default connect(mapStateToProps)(RegionNewsShowFull);\r\n","import { connect } from \"react-redux\";\r\nimport NewsItem from \"./NewsItem\";\r\nimport React from 'react';\r\nimport Card from 'components/Card/Card';\r\n\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\n\r\nclass KoncernNewsShowFull extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n \r\n this.state = {\r\n news: undefined,\r\n loading: false,\r\n loadingFailed: false\r\n }\r\n }\r\n\r\n componentDidMount() { \r\n\r\n this.setState({\r\n loading: true,\r\n loadingFailed: false,\r\n }, () => {\r\n axios.get(infraConfig.apiEndpoint.concat('/api/nyheter/getkoncern/').concat(this.props.params.newsId), getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n console.log(dataResult);\r\n \r\n this.setState({\r\n news: dataResult.data.result,\r\n loading: false,\r\n loadingFailed: false\r\n })\r\n })\r\n .catch((error) => { \r\n this.setState({\r\n loading: false,\r\n loadingFailed: true\r\n })\r\n });\r\n \r\n });\r\n\r\n }\r\n render() {\r\n\r\n return
    \r\n
    \r\n
    \r\n \r\n { this.state.loadingFailed ?

    Ett fel inträffade

    : null}\r\n { this.state.loading ?

    Laddar nyhet..

    : null}\r\n { this.state.news ? : null }
    \r\n } />\r\n
    \r\n
    \r\n \r\n }\r\n}\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user, \r\n };\r\n }\r\n \r\nexport default connect(mapStateToProps)(KoncernNewsShowFull);\r\n","import React from 'react';\r\nimport { getIntyg, downloadIntyg } from \"./actions\";\r\nimport { connect } from \"react-redux\";\r\nimport Button from 'components/CustomButtons/CustomButton.jsx';\r\nclass ShowIntyg extends React.Component {\r\n handleSaveSubmit(test) {\r\n this.props.downloadIntyg(test);\r\n }\r\n render(){\r\n return (\r\n \r\n \r\n {this.props.intyg.map((item, key) => {\r\n return \r\n })}\r\n \r\n

    {item.linkFilename}

    \r\n );\r\n }\r\n}\r\nfunction mapStateToProps(state) {\r\n return {\r\n\r\n };\r\n }\r\nexport default connect(mapStateToProps, { getIntyg, downloadIntyg })(ShowIntyg);\r\n","// formuläret från startsidan (genvägen) det förenklade\r\nimport { connect } from \"react-redux\";\r\nimport axios from \"axios\";\r\nimport { getUtvardering } from \"./actions\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport SavingButton from \"components/CustomButtons/SavingButton.jsx\"\r\nimport Datetime from \"react-datetime\";\r\nimport React, { Component} from \"react\";\r\nimport {\r\n FormGroup,\r\n FormControl,\r\n ControlLabel,\r\n Radio,\r\n } from \"react-bootstrap\";\r\n\r\n import moment from 'moment';\r\n import 'moment/locale/sv';\r\n \r\n\r\nclass Utvardering extends Component {\r\n\r\n constructor(props){\r\n super(props);\r\n\r\n moment().locale('sv');\r\n \r\n this.state = { validated: false };\r\n this.state = this.getInititalState();\r\n\r\n this.handleFormSave = this.handleFormSave.bind(this);\r\n this.ortIsValid = false;\r\n this.datumIsValid = false;\r\n this.val1IsValid = false;\r\n this.val2IsValid = false;\r\n this.val3IsValid = false;\r\n this.val4IsValid = false;\r\n this.val5IsValid = false;\r\n this.val6IsValid = false;\r\n this.val7IsValid = false;\r\n this.val8IsValid = false;\r\n\r\n }\r\n handleFormSave() {\r\n if(!this.val1IsValid){this.setState({val1Error: 'Måste anges'});}\r\n if(!this.val2IsValid){this.setState({val2Error: 'Måste anges'});}\r\n if(!this.val3IsValid){this.setState({val3Error: 'Måste anges'});}\r\n if(!this.val4IsValid){this.setState({val4Error: 'Måste anges'});}\r\n if(!this.val5IsValid){this.setState({val5Error: 'Måste anges'});}\r\n if(!this.val6IsValid){this.setState({val6Error: 'Måste anges'});}\r\n if(!this.val7IsValid){this.setState({val7Error: 'Måste anges'});}\r\n if(!this.val8IsValid){this.setState({val8Error: 'Måste anges'});}\r\n if(!this.datumIsValid){this.setState({datumError: 'Datum har fel format'});}\r\n if(this.state.utbildningsort.length > 0){this.ortIsValid = true;}else{this.setState({ortError: 'Utbildningsort måste anges'});}\r\n\r\n if (this.datumIsValid && this.val1IsValid && this.val2IsValid && this.val3IsValid && this.val4IsValid\r\n && this.val5IsValid && this.val6IsValid && this.val7IsValid && this.val8IsValid && this.ortIsValid)\r\n {\r\n var saveData = {\r\n utbildningsort: this.state.utbildningsort,\r\n datum: this.state.datum,\r\n val1: this.state.val1,\r\n val2: this.state.val2,\r\n val3: this.state.val3,\r\n val4: this.state.val4,\r\n val5: this.state.val5,\r\n val6: this.state.val6,\r\n val7: this.state.val7,\r\n val8: this.state.val8,\r\n synpunkter: this.state.synpunkter,\r\n ovrigt: this.state.ovrigt\r\n };\r\n // console.log(saveData);\r\n this.addUtvardering(saveData);\r\n }\r\n else{\r\n console.log(\"Error\")\r\n }\r\n\r\n}\r\naddUtvardering(saveData) {\r\n console.log(\"Send!\")\r\n this.setState({\r\n savingStatus: 1\r\n }, () => {\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/utvardering/send'), saveData, getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n //console.log('after send success', dataResult);\r\n\r\n this.setState({\r\n savingStatus: 2\r\n });\r\n this.resetForm();\r\n })\r\n .catch((error) => {\r\n this.setState({\r\n savingStatus: 3\r\n });\r\n console.log('ERROR');\r\n });\r\n });\r\n\r\n}\r\nvalidateDatum() {\r\n\r\n var parsed = moment(this.state.datum, 'YYYY-MM-DD');\r\n\r\n if (parsed.isValid()) {\r\n this.datumIsValid = true;\r\n this.setState({\r\n datumError: null\r\n });\r\n }\r\n else {\r\n this.datumIsValid = false;\r\n this.setState({\r\n datumError: 'Datum har fel format'\r\n });\r\n\r\n }\r\n}\r\nhandleDate(date){\r\n this.setState({datum: date._d}, () => {this.validateDatum();});\r\n //console.log(this.state.datum);\r\n};\r\nvalidateVal1() {\r\n if (this.state.val1.length > 0) {\r\n this.val1IsValid = true;\r\n this.setState({\r\n va1Error: null\r\n });\r\n } else {\r\n this.val1IsValid = false;\r\n this.setState({\r\n va1Error: 'Måste anges'\r\n });\r\n\r\n }\r\n}\r\nresetForm() {\r\n var savingStatus = this.state.savingStatus;\r\n this.setState(this.getInititalState(), () => {\r\n this.setState({ savingStatus: savingStatus});\r\n });\r\n\r\n\r\n document.getElementById(\"create-utvardering\").reset();\r\n}\r\n getInititalState = () => {\r\n const initialState = {\r\n datumError: null,\r\n val1Error: null,\r\n utbildningsort: '',\r\n datum: '',\r\n val1: '',\r\n val2: '',\r\n val3: '',\r\n val4: '',\r\n val5: '',\r\n val6: '',\r\n val7: '',\r\n val8: '',\r\n synpunkter: '',\r\n ovrigt: '',\r\n savingStatus: 0\r\n }\r\n return initialState;\r\n }\r\n\r\nrender() {\r\n return (\r\n\r\n
    \r\n \r\n \r\n \r\n Utbildningsort *\r\n \r\n {this.setState({utbildningsort: event.target.value});this.setState({ortError: ''});}}\r\n />\r\n {this.state.ortError}\r\n \r\n \r\n \r\n Datum för utbildningstillfälle *\r\n \r\n \r\n {this.state.datumError}\r\n \r\n \r\n \r\n Jag tycker kursinnehållet var bra *\r\n \r\n
    \r\n {this.setState({val1: event.target.value, val1Error: ''}); this.val1IsValid = true;}} inline name=\"Val1\">Håller inte alls med
    \r\n {this.setState({val1: event.target.value, val1Error: ''}); this.val1IsValid = true;}} inline name=\"Val1\">Håller inte med
    \r\n {this.setState({val1: event.target.value, val1Error: ''}); this.val1IsValid = true;}} inline name=\"Val1\">Neutral
    \r\n {this.setState({val1: event.target.value, val1Error: ''}); this.val1IsValid = true;}} inline name=\"Val1\">Håller med
    \r\n {this.setState({val1: event.target.value, val1Error: ''}); this.val1IsValid = true;}} inline name=\"Val1\">Håller helt med
    \r\n {this.state.val1Error}\r\n
    \r\n \r\n \r\n Jag fick tillfälle att bidra/delta med mina egna synpunkter och erfarenheter *\r\n \r\n
    \r\n {this.setState({val2: event.target.value, val2Error: ''});this.val2IsValid = true;}} inline name=\"Val2\">Håller inte alls med
    \r\n {this.setState({val2: event.target.value, val2Error: ''});this.val2IsValid = true;}} inline name=\"Val2\">Håller inte med
    \r\n {this.setState({val2: event.target.value, val2Error: ''});this.val2IsValid = true;}} inline name=\"Val2\">Neutral
    \r\n {this.setState({val2: event.target.value, val2Error: ''});this.val2IsValid = true;}} inline name=\"Val2\">Håller med
    \r\n {this.setState({val2: event.target.value, val2Error: ''});this.val2IsValid = true;}} inline name=\"Val2\">Håller helt med
    \r\n {this.state.val2Error}\r\n
    \r\n \r\n \r\n Jag är nöjd med min egen insats under dagen *\r\n \r\n
    \r\n {this.setState({val3: event.target.value, val3Error: ''});this.val3IsValid = true;}} inline name=\"Val3\">Håller inte alls med
    \r\n {this.setState({val3: event.target.value, val3Error: ''});this.val3IsValid = true;}} inline name=\"Val3\">Håller inte med
    \r\n {this.setState({val3: event.target.value, val3Error: ''});this.val3IsValid = true;}} inline name=\"Val3\">Neutral
    \r\n {this.setState({val3: event.target.value, val3Error: ''});this.val3IsValid = true;}} inline name=\"Val3\">Håller med
    \r\n {this.setState({val3: event.target.value, val3Error: ''});this.val3IsValid = true;}} inline name=\"Val3\">Håller helt med
    \r\n {this.state.val3Error}\r\n
    \r\n \r\n \r\n Jag tycker att utbildningsledaren förmedlade innehållet på ett bra sätt *\r\n \r\n
    \r\n {this.setState({val4: event.target.value, val4Error: ''});this.val4IsValid = true;}} inline name=\"Val4\">Håller inte alls med
    \r\n {this.setState({val4: event.target.value, val4Error: ''});this.val4IsValid = true;}} inline name=\"Val4\">Håller inte med
    \r\n {this.setState({val4: event.target.value, val4Error: ''});this.val4IsValid = true;}} inline name=\"Val4\">Neutral
    \r\n {this.setState({val4: event.target.value, val4Error: ''});this.val4IsValid = true;}} inline name=\"Val4\">Håller med
    \r\n {this.setState({val4: event.target.value, val4Error: ''});this.val4IsValid = true;}} inline name=\"Val4\">Håller helt med
    \r\n {this.state.val4Error}\r\n
    \r\n \r\n \r\n Informationen inför dagarna var bra (kallelse/inbjudan med program) *\r\n \r\n
    \r\n {this.setState({val5: event.target.value, val5Error: ''});this.val5IsValid = true;}} inline name=\"Val5\">Håller inte alls med
    \r\n {this.setState({val5: event.target.value, val5Error: ''});this.val5IsValid = true;}} inline name=\"Val5\">Håller inte med
    \r\n {this.setState({val5: event.target.value, val5Error: ''});this.val5IsValid = true;}} inline name=\"Val5\">Neutral
    \r\n {this.setState({val5: event.target.value, val5Error: ''});this.val5IsValid = true;}} inline name=\"Val5\">Håller med
    \r\n {this.setState({val5: event.target.value, val5Error: ''});this.val5IsValid = true;}} inline name=\"Val5\">Håller helt med
    \r\n {this.state.val5Error}\r\n
    \r\n \r\n \r\n Jag känner mig mer rustad för mitt vardagliga arbete efter utbildningsdagen *\r\n \r\n
    \r\n {this.setState({val6: event.target.value, val6Error: ''});this.val6IsValid = true;}} inline name=\"Val6\">Håller inte alls med
    \r\n {this.setState({val6: event.target.value, val6Error: ''});this.val6IsValid = true;}} inline name=\"Val6\">Håller inte med
    \r\n {this.setState({val6: event.target.value, val6Error: ''});this.val6IsValid = true;}} inline name=\"Val6\">Neutral
    \r\n {this.setState({val6: event.target.value, val6Error: ''});this.val6IsValid = true;}} inline name=\"Val6\">Håller med
    \r\n {this.setState({val6: event.target.value, val6Error: ''});this.val6IsValid = true;}} inline name=\"Val6\">Håller helt med
    \r\n {this.state.val6Error}\r\n
    \r\n \r\n \r\n Jag tyckte att lokalen var bra och väl anpassad för den här typen av aktivitet *\r\n \r\n
    \r\n {this.setState({val7: event.target.value, val7Error: ''});this.val7IsValid = true;}} inline name=\"Val7\">Håller inte alls med
    \r\n {this.setState({val7: event.target.value, val7Error: ''});this.val7IsValid = true;}} inline name=\"Val7\">Håller inte med
    \r\n {this.setState({val7: event.target.value, val7Error: ''});this.val7IsValid = true;}} inline name=\"Val7\">Neutral
    \r\n {this.setState({val7: event.target.value, val7Error: ''});this.val7IsValid = true;}} inline name=\"Val7\">Håller med
    \r\n {this.setState({val7: event.target.value, val7Error: ''});this.val7IsValid = true;}} inline name=\"Val7\">Håller helt med
    \r\n {this.state.val7Error}\r\n
    \r\n \r\n \r\n Jag tyckte att maten var bra *\r\n \r\n
    \r\n {this.setState({val8: event.target.value, val8Error: ''});this.val8IsValid = true;}} inline name=\"Val8\">Håller inte alls med
    \r\n {this.setState({val8: event.target.value, val8Error: ''});this.val8IsValid = true;}} inline name=\"Val8\">Håller inte med
    \r\n {this.setState({val8: event.target.value, val8Error: ''});this.val8IsValid = true;}} inline name=\"Val8\">Neutral
    \r\n {this.setState({val8: event.target.value, val8Error: ''});this.val8IsValid = true;}} inline name=\"Val8\">Håller helt med
    \r\n {this.setState({val8: event.target.value, val8Error: ''});this.val8IsValid = true;}} inline name=\"Val8\">Håller med
    \r\n {this.state.val8Error}\r\n
    \r\n\r\n \r\n Om du har svarat \"Håller inte med/Håller inte alls med\" på någon av frågorna, är du välkommen att lämna dina synpunkter så vi kan förbättra vårt arbete\r\n \r\n {this.setState({synpunkter: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n\r\n \r\n Övrigt om dagen som helhet som jag gärna vill framföra\r\n \r\n {this.setState({ovrigt: event.target.value});}}\r\n name=\"ovrigtText\"\r\n />\r\n\r\n\r\n \r\n\r\n\r\n\r\n
    \r\n )\r\n }\r\n\r\n\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n };\r\n }\r\n\r\nexport default connect(mapStateToProps, { getUtvardering})(Utvardering);\r\n","import React from 'react';\r\nimport {Grid, Col, Row } from \"react-bootstrap\";\r\nimport Card from 'components/Card/Card.jsx';\r\nimport { getIntyg, getUtvardering } from \"./actions\";\r\nimport { connect } from \"react-redux\";\r\nimport ShowIntyg from \"./Showintyg\";\r\nimport Utvardering from \"./Utvardering\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nclass Intyg extends React.Component {\r\n componentDidMount() {\r\nthis.props.getIntyg();\r\nthis.props.getUtvardering();\r\n }\r\n render(){\r\n return (\r\n
    \r\n \r\n \r\n \r\n \r\n } />\r\n } />\r\n \r\n\r\n\r\n \r\n \r\n } />\r\n } />\r\n \r\n \r\n \r\n
    );\r\n }\r\n}\r\nfunction mapStateToProps(state) {\r\n return {\r\n intyg: state.intyg.intyg,\r\n isLoadingintyg: state.intyg.isLoadingintyg,\r\n loadingintygFailed: state.intyg.loadingintygFailed,\r\n\r\n utvardering: state.utvardering.utvardering,\r\n isLoadingutvardering: state.utvardering.isLoadingutvardering,\r\n loadingutvarderingFailed: state.utvardering.loadingutvarderingFailed,\r\n\r\n\r\n };\r\n }\r\nexport default connect(mapStateToProps, { getIntyg, getUtvardering })(Intyg, Utvardering);\r\n","// formuläret från startsidan (genvägen) det förenklade\r\nimport { connect } from \"react-redux\";\r\nimport { fetchBolag } from \"system/actions/sharepointCommon.js\";\r\nimport { fetchForslag } from \"./actions\";\r\n\r\nimport axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\n\r\nimport Button from \"components/CustomButtons/CustomButton.jsx\";\r\nimport React, { Component} from \"react\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport {\r\n FormGroup,\r\n FormControl,\r\n ControlLabel\r\n } from \"react-bootstrap\";\r\n import moment from 'moment';\r\n import 'moment/locale/sv';\r\n \r\n\r\nclass ForslagForm extends Component {\r\n constructor(props){\r\n super(props);\r\n \r\n moment().locale('sv');\r\n this.state = this.getInititalState();\r\n\r\n \r\n this.handleFormSave = this.handleFormSave.bind(this);\r\n }\r\n getInititalState = () => {\r\n const initialState = {\r\n rubrik: '',\r\n rubrikIsValid: false,\r\n rubrikError: null,\r\n bolag: undefined,\r\n bolagError: null,\r\n bolagIsValid: false,\r\n beskrivning: '',\r\n beskrivningIsValid: false,\r\n beskrivningError: null,\r\n isLoadingAddForslag: false,\r\n addForslagResult: null\r\n\r\n }\r\n return initialState;\r\n }\r\n validateRubrik() {\r\n if (this.state.rubrik.length > 0)\r\n this.setState({ \r\n rubrikError: null,\r\n rubrikIsValid: true,\r\n });\r\n else \r\n this.setState({ \r\n rubrikError: 'Rubrik måste anges', \r\n rubrikIsValid: false,\r\n });\r\n }\r\n\r\n validateBolag() {\r\n console.log(this.state.bolag);\r\n if (this.state.bolag !== '' && this.state.bolag !== undefined)\r\n this.setState({ \r\n bolagError: null,\r\n bolagIsValid: true,\r\n });\r\n else \r\n this.setState({ \r\n bolagError: 'Bolag måste väljas', \r\n bolagIsValid: false,\r\n });\r\n }\r\n\r\n validateBeskrivning() {\r\n if (this.state.beskrivning.length > 0)\r\n this.setState({ \r\n beskrivningError: null,\r\n beskrivningIsValid: true,\r\n });\r\n else \r\n this.setState({ \r\n beskrivningError: 'Beskrivning måste anges', \r\n beskrivningIsValid: false,\r\n });\r\n }\r\n\r\n handleRubrikChange(event) { \r\n\r\n this.setState({\r\n rubrik: event.target.value\r\n }, () => {this.validateRubrik();});\r\n\r\n \r\n }\r\n\r\n handleBeskrivningChange(event) { \r\n\r\n this.setState({\r\n beskrivning: event.target.value\r\n }, () => {this.validateBeskrivning();});\r\n\r\n \r\n }\r\n\r\n handleBolagChange(event) { \r\n this.setState({ \r\n bolag: event.target.value\r\n }, () => {this.validateBolag();});\r\n\r\n }\r\n \r\n handleFormSave() {\r\n if (this.state.isLoadingAddForslag) // dubbelklick\r\n return false;\r\n\r\n\r\n this.validateRubrik();\r\n this.validateBolag();\r\n this.validateBeskrivning();\r\n\r\n if (this.state.rubrikIsValid\r\n && this.state.bolagIsValid\r\n && this.state.beskrivningIsValid)\r\n {\r\n var saveData = {\r\n Rubrik: this.state.rubrik,\r\n Bolag: this.state.bolag,\r\n Beskrivning: this.state.beskrivning\r\n };\r\n \r\n //console.log('to save', saveData);\r\n this.addForslag(saveData);\r\n\r\n } else {\r\n // console.log('spara validera icke', saveData);\r\n }\r\n\r\n \r\n }\r\n\r\n addForslag(forslag) {\r\n \r\n this.setState({\r\n isLoadingAddForslag: true,\r\n addForslagResult: null\r\n }, () => {\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/forslag/'), forslag, getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n // console.log('after send success', dataResult);\r\n \r\n this.resetForm();\r\n this.props.fetchForslag();\r\n\r\n })\r\n .catch((error) => { \r\n console.log('ERROR');\r\n });\r\n });\r\n\r\n\r\n }\r\n\r\n resetForm() {\r\n this.setState(this.getInititalState(), () => {\r\n this.setState({addForslagResult: true});\r\n });\r\n document.getElementById(\"create-forslag\").reset();\r\n }\r\n\r\n componentDidMount() {\r\n this.props.fetchBolag();\r\n }\r\n loadingIcon() {\r\n if (this.props.isLoadingBolag ) {\r\n return (
    Laddar formulär..
    )\r\n } else {\r\n return (
    \r\n {this.props.loadingBolagFailed ?
    Kunde inte ladda formuläret.
    : \r\n
    {this.renderForm()}
    \r\n }
    )\r\n }\r\n }\r\n renderForm() {\r\n return (\r\n
    { this.props.bolag.length > 0 ?


    \r\n
    \r\n \r\n \r\n Rubrik *\r\n \r\n this.handleRubrikChange(event)}\r\n />\r\n {this.state.rubrikError}\r\n \r\n \r\n \r\n Bolag *\r\n \r\n this.handleBolagChange(event)}\r\n >\r\n \r\n {this.props.bolag.map((item, key) => { \r\n return \r\n })}\r\n \r\n {this.state.bolagError}\r\n \r\n\r\n \r\n \r\n Beskrivning *\r\n \r\n this.handleBeskrivningChange(event)}\r\n />\r\n {this.state.beskrivningError}\r\n \r\n\r\n \r\n \r\n \r\n \r\n { this.state.addForslagResult != null ?

    Förslag är sparat.

    \r\n :null}\r\n
    \r\n
    \r\n
    : null }
    \r\n )\r\n }\r\n render() {\r\n return (this.loadingIcon())\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n bolag: state.sharepoint.bolag,\r\n bolagTimestamp: state.sharepoint.bolagTimestamp,\r\n isLoadingBolag: state.sharepoint.isLoadingBolag,\r\n loadingBolagFailed: state.sharepoint.loadingBolagFailed,\r\n \r\n };\r\n }\r\n \r\n\r\nexport default connect(mapStateToProps, { fetchBolag, fetchForslag })(ForslagForm);\r\n","\r\nimport React, { Component} from \"react\";\r\nimport {Grid, Row, Col} from \"react-bootstrap\";\r\nimport Date from \"components/formatting/Date\";\r\nimport 'assets/css/detailcard.css';\r\n\r\nclass ForslagCard extends Component {\r\n\r\n componentDidMount() {\r\n }\r\n render() {\r\n return (\r\n
    \r\n \r\n \r\n \r\n
    Datum
    \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n
    Status
    \r\n {this.props.item.status}\r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n
    Skapad av
    \r\n {this.props.item.skapadAv}\r\n
    \r\n \r\n
    \r\n \r\n \r\n
    Beskrivning
    \r\n {this.props.item.beskrivning}\r\n
    \r\n \r\n
    \r\n \r\n \r\n
    Kommentarer
    \r\n {this.props.item.kommentarer}\r\n
    \r\n \r\n
    \r\n \r\n \r\n
    Åtgärder
    \r\n {this.props.item.atgarder}\r\n
    \r\n \r\n
    \r\n
    )\r\n }\r\n}\r\n\r\n\r\nexport default ForslagCard;","import React, { Component} from \"react\";\r\nimport { Col, Row} from 'react-bootstrap';\r\n\r\nimport ForslagCard from \"./ForslagCard\";\r\n\r\nclass ForslagCardList extends Component {\r\n \r\n render() {\r\n return (\r\n \r\n { this.props.forslag.length > 0 ? \r\n this.props.forslag.map((row, key) => {\r\n return (\r\n \r\n \r\n ) }) : null} \r\n )\r\n }\r\n}\r\n\r\nexport default ForslagCardList;","// ser ut ungefär som i sharepoint, men listar \"mina\" incidenter\r\n\r\nimport React, { Component} from \"react\";\r\nimport Date from \"components/formatting/Date\";\r\nimport {Modal } from 'react-bootstrap';\r\nimport Button from \"components/CustomButtons/CustomButton.jsx\";\r\nclass ForslagList extends Component {\r\n constructor(props){\r\n super(props);\r\n this.state = {\r\n showAtgard: false,\r\n atgardText: '',\r\n atgardTitle: ''\r\n };\r\n }\r\n \r\n showAtgardInfo(info, title) {\r\n // console.log('atgard', info);\r\n this.setState({\r\n atgardText: info,\r\n atgardTitle: title,\r\n showAtgard: true\r\n });\r\n }\r\n handleClose() {\r\n this.setState({\r\n atgardText: '',\r\n showAtgard:false\r\n });\r\n }\r\n render() {\r\n return (\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n { this.props.forslag.length > 0 ? \r\n this.props.forslag.map((row, key) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ) }) : null}\r\n \r\n \r\n
    RubrikDatumBeskrivningSkapad AvKommentarerÅtgärder
    \r\n {row.rubrik}\r\n \r\n \r\n {row.beskrivning}{row.skapadAv}{row.kommentarer !== null && row.kommentarer.length > 0 ? : null}{row.atgarder !== null && row.atgarder.length > 0 ? : null}
    \r\n \r\n this.handleClose()}>\r\n \r\n {this.state.atgardTitle}\r\n \r\n \r\n

    {this.state.atgardText}

    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    )\r\n }\r\n}\r\n\r\nexport default ForslagList;","import { connect } from \"react-redux\";\r\nimport { fetchForslag } from \"./actions\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport Card from 'components/Card/Card.jsx';\r\nimport MobileDesktop from 'components/utils/MobileDesktop';\r\n\r\nimport ForslagForm from \"./ForslagForm\";\r\nimport ForslagCardList from \"./ForslagCardList\";\r\nimport ForslagList from \"./ForslagList\";\r\n\r\nimport React, { Component} from \"react\";\r\nimport {\r\n Grid,\r\n Row,\r\n Col,\r\n } from \"react-bootstrap\";\r\n import Button from \"components/CustomButtons/CustomButton\";\r\n \r\nclass Forslagslada extends Component {\r\n constructor(props){\r\n super(props);\r\n\r\n this.state = { showNewForm: false};\r\n }\r\n componentDidMount()\r\n {\r\n this.props.fetchForslag();\r\n }\r\n handleShowNewForm() {\r\n this.setState(prevState => ({\r\n showNewForm: !prevState.showNewForm\r\n }));\r\n\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n \r\n \r\n { this.state.showNewForm ? : null }} /> \r\n \r\n \r\n \r\n \r\n \r\n } mobileView={} />}>\r\n
    } /> \r\n \r\n \r\n )\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n bolag: state.sharepoint.bolag,\r\n forslag: state.forslag.forslag,\r\n forslagTimestamp: state.forslag.forslagTimestamp,\r\n isLoadingForslag: state.forslag.isLoadingForslag,\r\n loadingForslagFailed: state.forslag.loadingForslagFailed,\r\n };\r\n }\r\n\r\nexport default connect(mapStateToProps, { fetchForslag }) (Forslagslada)","import React from 'react';\r\nimport \"assets/css/krishantering.css\";\r\n\r\nclass Busschaufforer extends React.Component {\r\n/*\r\nI anslutning till checklistan för busschaufförer (enbart de som har befattning bussförare) skall även kontaktperson visas. Kontaktperson är närmsta chef (och det finns i personalregistret). Även telefonnummer till kontaktpersonen skall visas och det måste hämtas från personalregistret (så detta måste nog bli en slagning till, men lösning är valfri bara det hämtas på något sätt).\r\n\r\n*/\r\n render() {\r\n return( \r\n
    \r\n

    Du råkar ut för olycka med personskador

    \r\n

    Larma SOS 112 (hellre en gång för mycket än för lite)

    \r\n

    \r\n Vart har olyckan skett
    \r\n Vägnummer
    \r\n Ort/plats
    \r\n Vad har skett
    \r\n Finns personskador
    \r\n Finns risk att skadorna kan förvärras (brand explosion kläm)\r\n

    \r\n\r\n

    Säkra platsen

    \r\n

    Sätt ut varningstriangel så att andra trafikanter ej förvärrar olyckan

    \r\n\r\n

    Vid behov inled akut räddningsarbete (ABC)

    \r\n

    Kolla om sjukvårdspersonal finns bland resenärerna

    \r\n\r\n

    Meddela trafikledningen

    \r\n

    Trafikledningen ombesörjer att Du får den hjälp som du behöver samt tillkallar ev reservfordon/förare mm

    \r\n\r\n

    Ge besked till resenärerna om vad som händer

    \r\n

    Alla resenärer sitter kvar i bussen och vill få lägesinformation

    \r\n\r\n

    Prata inte med tidningar, TV mm utan hänvisa till företagets trafikledning

    \r\n

    Säg gärna att Ni inte orkar svara på frågor just nu, ett svar som brukar accepteras i ett krisläge.

    \r\n\r\n

    Om skadan är lindrig och du ej är i behov av akut hjälp (inga passagerare), eller vid incident/tillbud

    \r\n

    Meddela trafikledningen

    \r\n

    Redogör för händelsen, ev förseningar, bussbyten m.m.
    \r\n Dokumentera olycksplatsen ev skador med din mobilkamera\r\n

    \r\n
    )\r\n } \r\n}\r\n\r\nexport default Busschaufforer;\r\n","import React from 'react';\r\n\r\nclass KommunikationsSamordnare extends React.Component {\r\n\r\n render() {\r\n return(
    \r\n

    1.\tProducera och distribuera information (se rutiner för kriskommunikation)

    \r\n

    2.\tSäkerställ att intern och extern information samordnas/synkas

    \r\n

    3.\tSäkerställ att krisgruppen beslutar om vem som informerar arbetsmiljöverket, Länsstyrelse, Kommunens ledning och övriga intressenter såsom Länstrafikbolag, Kollektivtrafikmyndigheter m.fl.

    \r\n

    4.\tSe till att Intranätet uppdateras ofta och regelbundet

    \r\n

    5.\tSe till att växeln får tillgång till all information som skickas ut

    \r\n

    6.\tOmvärldsbevaka via alla kanaler och förse krisledaren med information

    \r\n

    7.\tUtvärdera informationsbehovet utifrån varje situation och rekommendera insatser

    \r\n

    8.\tVid behov/om nödvändigt, anordna pressträff:

    \r\n
      \r\n
    • Se till att endast journalister deltar
    • \r\n
    • Undvik att hålla träffen i egna lokaler om möjligt (ingen logotyp i lokalen)
    • \r\n
    • Ta eventuellt in andra aktörer som medverkande, t ex räddningstjänst eller länsstyrelse
    • \r\n
    • Se till att pressmeddelande eller annan dokumentation kan delas ut till deltagarna
    • \r\n
    \r\n

    9.\tSveriges Radios trafik- och samhällsinformation, tel 020-999 444, kan snabbt informera om händelser som behöver komma till allmänhetens kännedom

    \r\n

    10.\tVid större bussolycka meddela Sveriges Bussföretag om det inträffade samt vilka åtgärder som vidtagits. Fråga gärna om råd om fortsatt hantering av media. Det bistår i arbetet vid stora kriser och katastrofer

    \r\n
    )\r\n } \r\n}\r\n\r\nexport default KommunikationsSamordnare;\r\n","import React from 'react';\r\n\r\nclass Trafikledare extends React.Component {\r\n\r\n render() {\r\n return(
    \r\n

    1.\tKontrollera om larm har gått till räddningstjänsten

    \r\n

    2.\tOavsett vad som har hänt är det viktigt att trafikledningen i första hand utgår från att föraren inte bör köra vidare. Även om t ex skolan i gärna vill att vi ska köra eleverna fram till skolan där deras krisgrupp tar vid så måste vi vara 100 % säkra på att den förare som ska fullfölja körningen är kapabel till detta och att det utifrån situation är lämpligt

    \r\n

    3.\tVid trafikolycka/incident stäm av med myndighetsperson på plats om fordonet får flyttas, samt om det behöver vara tillgängligt på depå eller verkstad för ex teknisk undersökning i efterhand. Säkerställ alltid att polis gett klartecken till att fordonet får tas i trafik innan så görs

    \r\n

    4.\tBe föraren att återigen kontrollera med resenärerna om det är någon som känner sig skadad på något sätt? Undvik bedömningsfrågor utan ställ i möjligaste mån frågor som besvaras med ”ja” eller ”nej”. Föraren kan vara skärrad eller chockad och därför göra oriktiga bedömningar

    \r\n

    5.\tVilken information ska föraren ge till de resenärer som är kvar på platsen? Här är det viktigt att försöka gå ut med ett rakt besked t ex ”en ambulans är på väg för att ta hand om de skadade. Sitt lugnt kvar så kommer det att komma en ny buss och förare som kör er vidare”. Be sedan resenärer som vill något övrigt att kontakta bolaget senare

    \r\n

    6.\tSkicka ut personal till platsen för ta hand om föraren och representera företaget gentemot passagerare och eventuell räddningspersonal

    \r\n

    7.\tInformera krisgruppen. Vid en katastrof (se definition sid 3) ska bolags-vd/krisledaren även kalla samtliga ägare i Björks & Byberg till krismötet. I andra fall gör vd normalt bedömningen om händelsen är av den karaktären att ägarna behöver kallas, eller om det är tillräckligt att de informeras i efterhand. Vd eller dennes ställföreträdare är operativt ansvarig för händelser inom sitt område. Information till krisgruppen utförs via sms till samtliga gruppmedlemmar + aktuell trafikledning. Därefter ringer trafikledaren upp vd eller dennes ställföreträdare och meddelar:

    \r\n
      \r\n
    • Vad som har hänt
    • \r\n
    • Plats för det inträffade
    • \r\n
    • Antal inblandade
    • \r\n
    • Vilka konsekvenser händelsen kan få
    • \r\n
    \r\n

    OBS! Tänk på att aldrig använda jourtelefonen vid telefonmöten mm. Den måste vara öppen för inkommande samtal.

    \r\n\r\n

    Företagets utsände på olycksplatsen (punkt 6 ovan)

    \r\n

    Denne person fungerar som trafikledningens förlängda arm ute på platsen för händelsen. Så snart krisgruppen är aktiverad rapporterar personen direkt till krisledaren. Den utsände sköter allt av praktisk och lokal karaktär i samråd med berörda myndigheter på plats. Krisledaren tar alla större beslut samt hanterar media.

    \r\n

    Arbetsuppgifter företagets utsände:

    \r\n
      \r\n
    • Bistå polis, räddningsledare och andra inblandade på plats
    • \r\n
    • Ombesörj eventuell hemtransport eller transport till samlingsplats för icke skadade, efter avstämning med polis och läkare på olycksplatsen
    • \r\n
    • Säkra tillsammans med räddningsledning att inblandade i olycka som sänds hem inte blir lämnade helt ensamma
    • \r\n
    • Se till att bagage och tillhörigheter blir omhändertagna efter att ha stämt av med polis och förvara bagaget på stöldsäker plats
    • \r\n
    • Stäm av med polis gällande den tekniska utrustningen ombord, får färdskrivardata kopieras, kan biljettmaskin plockas ur osv
    • \r\n
    • Ta fram namn på passagerarna, stäm av med polis
    • \r\n
    \r\n
    )\r\n } \r\n}\r\n\r\nexport default Trafikledare;\r\n","import React from 'react';\r\n\r\nclass Krisledare extends React.Component {\r\n\r\n render() {\r\n return(
    \r\n

    1.\tStäm av händelsen med trafikledaren och gå igenom checklista för trafikledare för att ta reda på vad som har hänt är vilka åtgärder som är gjorda hittills. Låt därefter trafikledaren lösa det praktiska med ersättningsfordon, ny förare eller liknande (beroende på händelse)

    \r\n

    2.\tSammankalla krisgruppen så snart som möjligt för en första avstämning på telefon, om detta inte redan är gjort av trafik-/driftledare eller jour. Kallelse skickas ut på sms med text:

    \r\n
      \r\n
    • Kallelse till krisgruppsmöte
    • \r\n
    • klockslag för mötet
    • \r\n
    • telefonnummer och möteskod
    • \r\n
    \r\n

    3.\tFörsta mötet: Börja med att strukturera upp vad som inträffat och se till att hela gruppen har en enhetlig bild av situationen

    \r\n

    Fördela följande roller och arbetsuppgifter (en person kan tilldelas flera roller);

    \r\n
      \r\n
    • Krisledare och biträdande krisledare
    • \r\n
    • Presstalesperson (normalt krisledaren)
    • \r\n
    • Kommunikationssamordnare (se rutiner för kriskommunikation)
    • \r\n
    • Inhämta information om föraren (ålder, arbetsmängd dagarna före händelsen, ev sjukdomshistorik m.m. som kan vara relevant)
    • \r\n
    • Inhämta information om fordonet (däck, alkolås, service, rapporterade fel m.m. som kan vara relevant)
    • \r\n
    • Sekreterare för mötet (för protokoll över rollfördelning, beslut m.m.)
    • \r\n
    \r\n

    4.\tSe till att trafikledningen/växel öppnas/bemannas (om det är utanför kontorstid) och informera om vem som är företagets talesperson (namn och kontaktuppgifter)

    \r\n

    5.\tSäkerställ att kundkontakter hanteras, prioriteras och sköts korrekt, oavsett om det är via telefon, e-post eller sociala medier

    \r\n

    6.\tSäkerställ att medarbetare, uppdragsgivare och media informeras enligt bifogade kriskommunikationsrutiner

    \r\n

    7.\tSkaffa kommunikationsvägar in till räddningstjänst, polis, sjukhus m.m.

    \r\n

    8.\tBestäm vem som tar hand om praktiska kontakter (fack, arbetsmiljöverket, försäkringsbolag, kunder, skola)

    \r\n

    9.\tBestäm vilka som ska besöka eventuella skadade på sjukhus

    \r\n

    10.\tVid medarbetares dödfall, följ separat checklista

    \r\n

    11.\tKalla vid behov till informationsmöte på arbetsplatsen samma dag. Se till att de medarbetare som vill ha hjälp och stöd får den hjälp de behöver.

    \r\n

    12.\tÅtersamla krisgruppen en gång i timmen, oftare vid behov, under den akuta fasen

    \r\n

    13.\tUtvärdera kontinuerligt att arbetet fungerar tillfredsställande. Klarar varje ansvarig av sina områden eller behöver man hjälp i denna situation?

    \r\n

    14.\tUndersök om medarbetare måste avlösas under dagen för att få möjlighet till samtal. Gäller såväl trafikledning som medlemmar i krisgruppen. Säg ifrån om du själv behöver en paus och delegera arbetet till din biträdande krisledare

    \r\n

    15.\tTag tidigt kontakt med övriga som berörts av olyckan och boka eventuella möten

    \r\n

    16.\tNär den akuta fasen är över är det viktigt att prioritera efterarbetet. Se sidan 5 i Krishanteringsplanen.

    \r\n
    )\r\n } \r\n}\r\n\r\nexport default Krisledare;\r\n","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport Busschaufforer from \"./CheckLists/Busschaufforer\";\r\nimport KommunikationSamordnare from \"./CheckLists/KommunikationSamordnare\";\r\nimport Trafikledare from \"./CheckLists/Trafikledare\";\r\nimport Krisledare from \"./CheckLists/Krisledare\";\r\nimport { getClaimArray } from \"system/security\";\r\n\r\nclass CheckList extends React.Component {\r\n \r\n renderChecklist(positions){\r\n \r\n\r\n // positions kan vara endera sträng eller sträng[]\r\n // update 20191214 positions hämtas nu som en array så vi kan TODO refactora denna kod att alltid kolla efter en array\r\n\r\n /* \r\n Om en person har flera befattningar så gäller denna rangordning (alltså om en person är både VD och bussförare så ska till exempel bara krisledarechecklistan visas):\r\n Krisledare -> Kommunikationssamordnare -> Trafikledare -> Busschaufförer.\r\n\r\n Krisledare:\r\n - VD\r\n - Regionchef\r\n Kommunikation:\r\n - Samordnare PR- och marknadskommunikation\r\n - HR-chef\r\n Trafikledare\r\n - Områdeschef\r\n - Trafikledare\r\n - Driftledare\r\n Busschauför:\r\n - Bussförare\r\n\r\n // ytterligare bussförare\r\n Fordonstekniker\r\n Verkstadsansvarig\r\n Ekonom\r\n Ekonomiassistent\r\n Fastighetsansvarig\r\n Extern\r\n Förstemekaniker\r\n Löneadministratör\r\n Lönespecialist\r\n */\r\n\r\n // console.log('is array', Array.isArray(positions));\r\n\r\n if (Array.isArray(positions)) {\r\n if ((positions.indexOf(\"VD\") > -1) || (positions.indexOf(\"Regionchef\") > -1)) {\r\n return \r\n } else if ((positions.indexOf(\"Samordnare PR- och marknadskommunikation\") > -1) || (positions.indexOf(\"HR-chef\") > -1)) {\r\n return \r\n } else if ((positions.indexOf(\"Områdeschef\") > -1) || (positions.indexOf(\"Trafikledare\") > -1)|| (positions.indexOf(\"Driftledare\") > -1)) {\r\n return \r\n \r\n } else if ((positions.indexOf(\"Bussförare\") > -1)\r\n || (positions.indexOf(\"Fordonstekniker\") > -1)\r\n || (positions.indexOf(\"Verkstadsansvarig\") > -1)\r\n || (positions.indexOf(\"Ekonom\") > -1)\r\n || (positions.indexOf(\"Ekonomiassistent\") > -1)\r\n || (positions.indexOf(\"Fastighetsansvarig\") > -1)\r\n || (positions.indexOf(\"Extern\") > -1)\r\n || (positions.indexOf(\"Förstemekaniker\") > -1)\r\n || (positions.indexOf(\"Löneadministratör\") > -1)\r\n || (positions.indexOf(\"Lönespecialist\") > -1) \r\n ) {\r\n return \r\n \r\n }\r\n } else {\r\n if (positions === \"VD\" || positions === \"Regionchef\") {\r\n return \r\n } else if (positions === \"Samordnare PR- och marknadskommunikation\" || positions === \"HR-chef\") {\r\n return \r\n } else if (positions === \"Trafikledare\" || positions === \"Trafikledare\" || positions === \"Driftledare\") {\r\n return \r\n } else if (positions === \"Bussförare\"\r\n || positions === \"Fordonstekniker\"\r\n || positions === \"Verkstadsansvarig\"\r\n || positions === \"Ekonom\"\r\n || positions === \"Ekonomiassistent\"\r\n || positions === \"Fastighetsansvarig\"\r\n || positions === \"Extern\"\r\n || positions === \"Förstemekaniker\"\r\n || positions === \"Löneadministratör\"\r\n || positions === \"Lönespecialist\"\r\n ) {\r\n return \r\n } else {\r\n return null;\r\n }\r\n }\r\n\r\n }\r\n\r\n render(){ \r\n return (\r\n
    {this.renderChecklist(getClaimArray(\"IntraPosition\", this.props.userprofile))}
    \r\n );\r\n }\r\n}\r\n\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n userprofile: state.userprofile.userprofile,\r\n user: state.oidc.user\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps)(CheckList);","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { fetchDocumentsByCompanyArea,downloadDocumentFileByCompanyArea } from \"./actions\";\r\nimport Button from 'components/CustomButtons/CustomButton.jsx';\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\n\r\nclass DocumentList extends React.Component {\r\n\r\n constructor(props){\r\n super(props);\r\n\r\n this.handleDownloadFile.bind(this);\r\n }\r\n componentDidMount() {\r\n this.props.fetchDocumentsByCompanyArea();\r\n }\r\n\r\n handleDownloadFile(filename) {\r\n this.props.downloadDocumentFileByCompanyArea(filename);\r\n }\r\n\r\n render(){ \r\n return ({this.props.documents.length > 0 ? this.props.documents.map((item, key) => {\r\n return ({item.filename})\r\n }) : null}} text=\"Laddar dokument..\" isLoading={this.props.isLoadingDocuments} loadingFailed={this.props.loadingDocumentsFailed} />);\r\n }\r\n}\r\n\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n documents: state.krishantering.documents,\r\n documentsTimestamp: state.krishantering.documentsTimestamp,\r\n isLoadingDocuments: state.krishantering.isLoadingDocuments,\r\n loadingDocumentsFailed: state.krishantering.loadingDocumentsFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { fetchDocumentsByCompanyArea, downloadDocumentFileByCompanyArea })(DocumentList);","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { fetchBossInfo } from \"./actions\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport Card from \"components/Card/Card\";\r\n\r\nclass BossInfo extends React.Component {\r\n\r\n componentDidMount() {\r\n this.props.fetchBossInfo();\r\n }\r\n\r\n render() { \r\n return (

    Kontaktinformation närmsta chef

    \r\n

    {this.props.bossInfo.firstname} {this.props.bossInfo.lastname}

    \r\n

    {this.props.bossInfo.telephoneNumber}

    \r\n

    {this.props.bossInfo.mobileNumber}

    \r\n \r\n \r\n : null\r\n } />\r\n }\r\n \r\n />);\r\n }\r\n}\r\n\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n bossInfo: state.krishantering.bossInfo,\r\n bossInfoTimestamp: state.krishantering.bossInfoTimestamp,\r\n isLoadingBossInfo: state.krishantering.isLoadingBossInfo,\r\n loadingBossInfoFailed: state.krishantering.loadingBossInfoFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { fetchBossInfo })(BossInfo);","import React from 'react';\r\nimport { Grid, Row, Col} from 'react-bootstrap';\r\nimport Card from 'components/Card/Card.jsx';\r\nimport CheckList from './CheckList';\r\nimport DocumentList from './DocumentList';\r\nimport BossInfo from './BossInfo';\r\n\r\nclass Krishantering extends React.Component {\r\n render(){ \r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n } />\r\n \r\n \r\n } />\r\n \r\n );\r\n }\r\n}\r\n/*\r\ndok verksaområd // claim IntraCompanyArea\r\nbefattning checklista hk // claim IntraPosition\r\n\r\n\r\ningen bef få ingen modul\r\nclosetboss, inforuta/kontaktkort med namn-telnr\r\n\r\n\r\n*/\r\nexport default Krishantering;","// formuläret från startsidan (genvägen) det förenklade\r\nimport { connect } from \"react-redux\";\r\nimport axios from \"axios\";\r\nimport { getUndersokning } from \"./actions\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport SavingButton from \"components/CustomButtons/SavingButton.jsx\"\r\nimport Datetime from \"react-datetime\";\r\nimport React, { Component} from \"react\";\r\nimport {\r\n FormGroup,\r\n FormControl,\r\n ControlLabel,\r\n Radio,\r\n } from \"react-bootstrap\";\r\n\r\n import moment from 'moment';\r\n import 'moment/locale/sv';\r\n\r\n\r\nclass Tjansteman extends Component {\r\n\r\n constructor(props){\r\n super(props);\r\n\r\n moment().locale('sv');\r\n\r\n this.state = { validated: false };\r\n this.state = this.getInititalState();\r\n\r\n this.handleFormSave = this.handleFormSave.bind(this);\r\n this.arbetsmiljo1IsValid = false;\r\n this.arbetsmiljo4IsValid = false;\r\n this.arbetsmiljo5IsValid = false;\r\n this.arbetsmiljo6IsValid = false;\r\n this.arbetsmiljo7IsValid = false;\r\n this.arbetsmiljo8IsValid = false;\r\n\r\n this.arbetstriv3IsValid = false;\r\n this.arbetstriv4IsValid = false;\r\n this.arbetstriv5IsValid= false;\r\n this.arbetstriv6IsValid = false;\r\n\r\n this.ledarskapet4IsValid= false;\r\n this.ledarskapet5IsValid = false;\r\n this.ledarskapet6IsValid = false;\r\n this.ledarskapet7IsValid = false;\r\n\r\n this.arbetsuppgifter1IsValid = false;\r\n this.arbetsuppgifter4IsValid = false;\r\n this.arbetsuppgifter5IsValid= false;\r\n\r\n this.information3IsValid = false;\r\n this.information4IsValid = false;\r\n this.information6IsValid = false;\r\n this.information7IsValid = false;\r\n\r\n this.kunder1IsValid = false;\r\n this.kunder2IsValid = false;\r\n this.kunder3IsValid = false;\r\n this.kunder4IsValid = false;\r\n\r\n this.foretaget1IsValid = false;\r\n this.foretaget2IsValid = false;\r\n }\r\n handleFormSave() {\r\n if(!this.arbetsmiljo1IsValid){this.setState({arbetsmiljo1Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo4IsValid){this.setState({arbetsmiljo4Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo5IsValid){this.setState({arbetsmiljo5Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo6IsValid){this.setState({arbetsmiljo6Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo7IsValid){this.setState({arbetsmiljo7Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo8IsValid){this.setState({arbetsmiljo8Error: 'Måste anges'});}\r\n\r\n if(!this.arbetstriv3IsValid){this.setState({arbetstriv3Error: 'Måste anges'});}\r\n if(!this.arbetstriv4IsValid){this.setState({arbetstriv4Error: 'Måste anges'});}\r\n if(!this.arbetstriv5IsValid){this.setState({arbetstriv5Error: 'Måste anges'});}\r\n if(!this.arbetstriv6IsValid){this.setState({arbetstriv6Error: 'Måste anges'});}\r\n\r\n if(!this.ledarskapet4IsValid){this.setState({ledarskapet4Error: 'Måste anges'});}\r\n if(!this.ledarskapet5IsValid){this.setState({ledarskapet5Error: 'Måste anges'});}\r\n if(!this.ledarskapet6IsValid){this.setState({ledarskapet6Error: 'Måste anges'});}\r\n if(!this.ledarskapet7IsValid){this.setState({ledarskapet7Error: 'Måste anges'});}\r\n\r\n if(!this.arbetsuppgifter1IsValid){this.setState({arbetsuppgifter1Error: 'Måste anges'});}\r\n if(!this.arbetsuppgifter4IsValid){this.setState({arbetsuppgifter4Error: 'Måste anges'});}\r\n if(!this.arbetsuppgifter5IsValid){this.setState({arbetsuppgifter5Error: 'Måste anges'});}\r\n\r\n if(!this.information3IsValid){this.setState({information3Error: 'Måste anges'});}\r\n if(!this.information4IsValid){this.setState({information4Error: 'Måste anges'});}\r\n if(!this.information6IsValid){this.setState({information6Error: 'Måste anges'});}\r\n if(!this.information7IsValid){this.setState({information7Error: 'Måste anges'});}\r\n\r\n if(!this.kunder1IsValid){this.setState({kunder1Error: 'Måste anges'});}\r\n if(!this.kunder2IsValid){this.setState({kunder2Error: 'Måste anges'});}\r\n if(!this.kunder3IsValid){this.setState({kunder3Error: 'Måste anges'});}\r\n if(!this.kunder4IsValid){this.setState({kunder4Error: 'Måste anges'});}\r\n\r\n if(!this.foretaget1IsValid){this.setState({foretaget1Error: 'Måste anges'});}\r\n if(!this.foretaget2IsValid){this.setState({foretaget2Error: 'Måste anges'});}\r\n\r\n if (this.arbetsmiljo1IsValid\r\n && this.arbetsmiljo4IsValid\r\n && this.arbetsmiljo5IsValid\r\n && this.arbetsmiljo6IsValid\r\n && this.arbetsmiljo7IsValid\r\n && this.arbetsmiljo8IsValid\r\n && this.arbetsmiljo1IsValid\r\n && this.arbetsmiljo1IsValid\r\n\r\n && this.arbetstriv3IsValid\r\n && this.arbetstriv4IsValid\r\n && this.arbetstriv5IsValid\r\n && this.arbetstriv6IsValid\r\n\r\n && this.ledarskapet4IsValid\r\n && this.ledarskapet5IsValid\r\n && this.ledarskapet6IsValid\r\n && this.ledarskapet7IsValid\r\n\r\n && this.arbetsuppgifter1IsValid\r\n && this.arbetsuppgifter4IsValid\r\n && this.arbetsuppgifter5IsValid\r\n\r\n && this.information3IsValid\r\n && this.information4IsValid\r\n && this.information6IsValid\r\n && this.information7IsValid\r\n\r\n && this.kunder1IsValid\r\n && this.kunder2IsValid\r\n && this.kunder3IsValid\r\n && this.kunder4IsValid\r\n\r\n && this.foretaget1IsValid\r\n && this.foretaget2IsValid\r\n )\r\n {\r\n var saveData = {\r\n arbetsmiljo1: this.state.arbetsmiljo1,\r\n arbetsmiljo4: this.state.arbetsmiljo4,\r\n arbetsmiljo5: this.state.arbetsmiljo5,\r\n arbetsmiljo6: this.state.arbetsmiljo6,\r\n arbetsmiljo7: this.state.arbetsmiljo7,\r\n arbetsmiljo8: this.state.arbetsmiljo8,\r\n arbetsmiljo9: this.state.arbetsmiljo9,\r\n\r\n arbetstriv3: this.state.arbetstriv3,\r\n arbetstriv4: this.state.arbetstriv4,\r\n arbetstriv5: this.state.arbetstriv5,\r\n arbetstriv6: this.state.arbetstriv6,\r\n arbetstriv7: this.state.arbetstriv7,\r\n\r\n ledarskapet4: this.state.ledarskapet4,\r\n ledarskapet5: this.state.ledarskapet5,\r\n ledarskapet6: this.state.ledarskapet6,\r\n ledarskapet7: this.state.ledarskapet7,\r\n ledarskapet8: this.state.ledarskapet8,\r\n\r\n arbetsuppgifter1: this.state.arbetsuppgifter1,\r\n arbetsuppgifter4: this.state.arbetsuppgifter4,\r\n arbetsuppgifter5: this.state.arbetsuppgifter5,\r\n arbetsuppgifter6: this.state.arbetsuppgifter6,\r\n\r\n information3: this.state.information3,\r\n information4: this.state.information4,\r\n information5: this.state.information5,\r\n information6: this.state.information6,\r\n information7: this.state.information7,\r\n\r\n kunder1: this.state.kunder1,\r\n kunder2: this.state.kunder2,\r\n kunder3: this.state.kunder3,\r\n kunder4: this.state.kunder4,\r\n kunder5: this.state.kunder5,\r\n\r\n foretaget1: this.state.foretaget1,\r\n foretaget2: this.state.foretaget2,\r\n foretaget3: this.state.foretaget3,\r\n foretaget4: this.state.foretaget4,\r\n\r\n utvecklingsprojekt1: this.state.utvecklingsprojekt1,\r\n \r\n kortfri1: this.state.kortfri1,\r\n \r\n };\r\n console.log(saveData);\r\n this.addUtvardering(saveData);\r\n }\r\n else{\r\n this.setState({buttonerror: 'Alla fält har inte fyllts i'});\r\n console.log(\"Error\")\r\n }\r\n\r\n }\r\naddUtvardering(saveData) {\r\n this.setState({buttonerror: ''});\r\n console.log(\"Send!\")\r\n this.setState({\r\n savingStatus: 1\r\n }, () => {\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/undersokning/send'), saveData, getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n console.log('after send success', dataResult.data.result);\r\n this.setState({buttonmessage: dataResult.data.result})\r\n if(dataResult.data.result == \"Du har redan skickat in ett svar.\"){\r\n this.setState({buttonerror2: \"Du har redan skickat in ett svar.\"});\r\n this.setState({\r\n savingStatus: 3\r\n });\r\n\r\n }\r\n else{\r\n this.setState({\r\n savingStatus: 2\r\n });\r\n }\r\n this.resetForm();\r\n })\r\n .catch((error) => {\r\n this.setState({buttonerror2: \"Ett fel inträffade\"});\r\n this.setState({\r\n savingStatus: 3\r\n });\r\n console.log('ERROR');\r\n });\r\n });\r\n\r\n}\r\nresetForm() {\r\n var savingStatus = this.state.savingStatus;\r\n this.setState(this.getInititalState(), () => {\r\n this.setState({ savingStatus: savingStatus});\r\n });\r\n\r\n\r\n document.getElementById(\"create-forare\").reset();\r\n}\r\n getInititalState = () => {\r\n const initialState = {\r\n datumError: null,\r\n val1Error: null,\r\n arbetsmiljo1: '',\r\n\r\n savingStatus: 0\r\n }\r\n return initialState;\r\n }\r\n\r\nrender() {\r\n return (\r\n\r\n
    \r\n \r\n

    Engagerade och motiverade medarbetare är helt avgörande för företagets framgång. Vi strävar därför efter att skapa en bra arbetsmiljö där medarbetare trivs och känner sig delaktiga. Vi genomför vartannat år en större medarbetarundersökning med syfte att ta reda på hur våra medarbetare uppfattar sin arbetssituation och Byberg & Nordin / Docksta Buss & Truck som arbetsgivare, och nu är det dags igen. Undersökningen kommer att pågå till och med den 30 september. Målet med undersökningen är att den ska resultera i förslag på utvecklingsområden och hjälpa företaget att prioritera förbättringsinsatser framåt. Använd gärna fritextrutorna för att förtydliga och vidareutveckla dina svar på kryssfrågorna.

    \r\n

    Tack för din medverkan!

    \r\n

    Tomas Byberg, ägare/vd Byberg & Nordin

    \r\n \r\n

    Arbetsmiljö

    \r\n
    \r\n \r\n \r\n Jag har den utrustning jag behöver för att utföra mitt arbete *\r\n \r\n
    \r\n {this.setState({arbetsmiljo1: event.target.value, arbetsmiljo1Error: ''}); this.arbetsmiljo1IsValid = true;}} inline name=\"arbetsmiljo1\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo1: event.target.value, arbetsmiljo1Error: ''}); this.arbetsmiljo1IsValid = true;}} inline name=\"arbetsmiljo1\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo1: event.target.value, arbetsmiljo1Error: ''}); this.arbetsmiljo1IsValid = true;}} inline name=\"arbetsmiljo1\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo1: event.target.value, arbetsmiljo1Error: ''}); this.arbetsmiljo1IsValid = true;}} inline name=\"arbetsmiljo1\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo1Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag känner mig trygg på min arbetsplats *\r\n \r\n
    \r\n {this.setState({arbetsmiljo4: event.target.value, arbetsmiljo4Error: ''}); this.arbetsmiljo4IsValid = true;}} inline name=\"arbetsmiljo4\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo4: event.target.value, arbetsmiljo4Error: ''}); this.arbetsmiljo4IsValid = true;}} inline name=\"arbetsmiljo4\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo4: event.target.value, arbetsmiljo4Error: ''}); this.arbetsmiljo4IsValid = true;}} inline name=\"arbetsmiljo4\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo4: event.target.value, arbetsmiljo4Error: ''}); this.arbetsmiljo4IsValid = true;}} inline name=\"arbetsmiljo4\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo4Error}\r\n
    \r\n
    \r\n \r\n \r\n På min arbetsplats bedrivs ett förebyggande arbete för att förhindra olycksfall och ohälsa *\r\n \r\n
    \r\n {this.setState({arbetsmiljo5: event.target.value, arbetsmiljo5Error: ''}); this.arbetsmiljo5IsValid = true;}} inline name=\"arbetsmiljo5\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo5: event.target.value, arbetsmiljo5Error: ''}); this.arbetsmiljo5IsValid = true;}} inline name=\"arbetsmiljo5\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo5: event.target.value, arbetsmiljo5Error: ''}); this.arbetsmiljo5IsValid = true;}} inline name=\"arbetsmiljo5\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo5: event.target.value, arbetsmiljo5Error: ''}); this.arbetsmiljo5IsValid = true;}} inline name=\"arbetsmiljo5\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo5Error}\r\n
    \r\n
    \r\n \r\n \r\n Det hålls ordning och reda i personalutrymmen och allmänna utrymmen *\r\n \r\n
    \r\n {this.setState({arbetsmiljo6: event.target.value, arbetsmiljo6Error: ''}); this.arbetsmiljo6IsValid = true;}} inline name=\"arbetsmiljo6\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo6: event.target.value, arbetsmiljo6Error: ''}); this.arbetsmiljo6IsValid = true;}} inline name=\"arbetsmiljo6\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo6: event.target.value, arbetsmiljo6Error: ''}); this.arbetsmiljo6IsValid = true;}} inline name=\"arbetsmiljo6\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo6: event.target.value, arbetsmiljo6Error: ''}); this.arbetsmiljo6IsValid = true;}} inline name=\"arbetsmiljo6\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo6Error}\r\n
    \r\n
    \r\n \r\n \r\n Totalt sett är jag nöjd med arbetsmiljön på min arbetsplats *\r\n \r\n
    \r\n {this.setState({arbetsmiljo7: event.target.value, arbetsmiljo7Error: ''}); this.arbetsmiljo7IsValid = true;}} inline name=\"arbetsmiljo7\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo7: event.target.value, arbetsmiljo7Error: ''}); this.arbetsmiljo7IsValid = true;}} inline name=\"arbetsmiljo7\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo7: event.target.value, arbetsmiljo7Error: ''}); this.arbetsmiljo7IsValid = true;}} inline name=\"arbetsmiljo7\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo7: event.target.value, arbetsmiljo7Error: ''}); this.arbetsmiljo7IsValid = true;}} inline name=\"arbetsmiljo7\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo7Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag upplever att arbetsmiljön på min arbetsplats har förbättrats en del under det senaste året *\r\n \r\n
    \r\n {this.setState({arbetsmiljo8: event.target.value, arbetsmiljo8Error: ''}); this.arbetsmiljo8IsValid = true;}} inline name=\"arbetsmiljo8\">JA
    \r\n {this.setState({arbetsmiljo8: event.target.value, arbetsmiljo8Error: ''}); this.arbetsmiljo8IsValid = true;}} inline name=\"arbetsmiljo8\">NEJ
    \r\n {this.setState({arbetsmiljo8: event.target.value, arbetsmiljo8Error: ''}); this.arbetsmiljo8IsValid = true;}} inline name=\"arbetsmiljo8\">OFÖRÄNDRAT
    \r\n {this.setState({arbetsmiljo8: event.target.value, arbetsmiljo8Error: ''}); this.arbetsmiljo8IsValid = true;}} inline name=\"arbetsmiljo8\">VET EJ
    \r\n {this.state.arbetsmiljo8Error}\r\n
    \r\n
    \r\n\r\n \r\n Förslag på åtgärder hur arbetsmiljön på min arbetsplats kan förbättras:\r\n \r\n {this.setState({arbetsmiljo9: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n \r\n

    Arbetskamrater och trivsel

    \r\n
    \r\n \r\n \r\n Jag känner förtroende för mina arbetskamrater *\r\n \r\n
    \r\n {this.setState({arbetstriv3: event.target.value, arbetstriv3Error: ''}); this.arbetstriv3IsValid = true;}} inline name=\"arbetstriv3\">4) Håller helt med
    \r\n {this.setState({arbetstriv3: event.target.value, arbetstriv3Error: ''}); this.arbetstriv3IsValid = true;}} inline name=\"arbetstriv3\">3) Håller med till viss del
    \r\n {this.setState({arbetstriv3: event.target.value, arbetstriv3Error: ''}); this.arbetstriv3IsValid = true;}} inline name=\"arbetstriv3\">2) Håller inte med
    \r\n {this.setState({arbetstriv3: event.target.value, arbetstriv3Error: ''}); this.arbetstriv3IsValid = true;}} inline name=\"arbetstriv3\">1) Håller inte alls med
    \r\n {this.state.arbetstriv3Error}\r\n
    \r\n
    \r\n \r\n \r\n När jag berättar om mitt jobb för min familj/mina vänner är jag oftast positiv *\r\n \r\n
    \r\n {this.setState({arbetstriv4: event.target.value, arbetstriv4Error: ''}); this.arbetstriv4IsValid = true;}} inline name=\"arbetstriv4\">4) Håller helt med
    \r\n {this.setState({arbetstriv4: event.target.value, arbetstriv4Error: ''}); this.arbetstriv4IsValid = true;}} inline name=\"arbetstriv4\">3) Håller med till viss del
    \r\n {this.setState({arbetstriv4: event.target.value, arbetstriv4Error: ''}); this.arbetstriv4IsValid = true;}} inline name=\"arbetstriv4\">2) Håller inte med
    \r\n {this.setState({arbetstriv4: event.target.value, arbetstriv4Error: ''}); this.arbetstriv4IsValid = true;}} inline name=\"arbetstriv4\">1) Håller inte alls med
    \r\n {this.state.arbetstriv4Error}\r\n
    \r\n
    \r\n \r\n \r\n Totalt sett trivs jag bra på arbetsplatsen och med mina arbetskamrater *\r\n \r\n
    \r\n {this.setState({arbetstriv5: event.target.value, arbetstriv5Error: ''}); this.arbetstriv5IsValid = true;}} inline name=\"arbetstriv5\">4) Håller helt med
    \r\n {this.setState({arbetstriv5: event.target.value, arbetstriv5Error: ''}); this.arbetstriv5IsValid = true;}} inline name=\"arbetstriv5\">3) Håller med till viss del
    \r\n {this.setState({arbetstriv5: event.target.value, arbetstriv5Error: ''}); this.arbetstriv5IsValid = true;}} inline name=\"arbetstriv5\">2) Håller inte med
    \r\n {this.setState({arbetstriv5: event.target.value, arbetstriv5Error: ''}); this.arbetstriv5IsValid = true;}} inline name=\"arbetstriv5\">1) Håller inte alls med
    \r\n {this.state.arbetstriv5Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag upplever att trivseln på arbetsplatsen totalt sett har blivit bättre under det senaste året *\r\n \r\n
    \r\n {this.setState({arbetstriv6: event.target.value, arbetstriv6Error: ''}); this.arbetstriv6IsValid = true;}} inline name=\"arbetstriv6\">JA
    \r\n {this.setState({arbetstriv6: event.target.value, arbetstriv6Error: ''}); this.arbetstriv6IsValid = true;}} inline name=\"arbetstriv6\">NEJ
    \r\n {this.setState({arbetstriv6: event.target.value, arbetstriv6Error: ''}); this.arbetstriv6IsValid = true;}} inline name=\"arbetstriv6\">OFÖRÄNDRAT
    \r\n {this.setState({arbetstriv6: event.target.value, arbetstriv6Error: ''}); this.arbetstriv6IsValid = true;}} inline name=\"arbetstriv6\">VET EJ
    \r\n {this.state.arbetstriv6Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på åtgärder för hur trivseln kollegor emellan kan förbättras på arbetsplatsen:\r\n \r\n {this.setState({arbetstriv7: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Ledarskapet

    \r\n
    \r\n \r\n \r\n Jag är i stora drag nöjd med min närmsta chef *\r\n \r\n
    \r\n {this.setState({ledarskapet4: event.target.value, ledarskapet4Error: ''}); this.ledarskapet4IsValid = true;}} inline name=\"ledarskapet4\">4) Håller helt med
    \r\n {this.setState({ledarskapet4: event.target.value, ledarskapet4Error: ''}); this.ledarskapet4IsValid = true;}} inline name=\"ledarskapet4\">3) Håller med till viss del
    \r\n {this.setState({ledarskapet4: event.target.value, ledarskapet4Error: ''}); this.ledarskapet4IsValid = true;}} inline name=\"ledarskapet4\">2) Håller inte med
    \r\n {this.setState({ledarskapet4: event.target.value, ledarskapet4Error: ''}); this.ledarskapet4IsValid = true;}} inline name=\"ledarskapet4\">1) Håller inte alls med
    \r\n {this.state.ledarskapet4Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag har förtroende för företagets VD *\r\n \r\n
    \r\n {this.setState({ledarskapet5: event.target.value, ledarskapet5Error: ''}); this.ledarskapet5IsValid = true;}} inline name=\"ledarskapet5\">4) Håller helt med
    \r\n {this.setState({ledarskapet5: event.target.value, ledarskapet5Error: ''}); this.ledarskapet5IsValid = true;}} inline name=\"ledarskapet5\">3) Håller med till viss del
    \r\n {this.setState({ledarskapet5: event.target.value, ledarskapet5Error: ''}); this.ledarskapet5IsValid = true;}} inline name=\"ledarskapet5\">2) Håller inte med
    \r\n {this.setState({ledarskapet5: event.target.value, ledarskapet5Error: ''}); this.ledarskapet5IsValid = true;}} inline name=\"ledarskapet5\">1) Håller inte alls med
    \r\n {this.state.ledarskapet5Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag tycker att ledarskapet i mitt företag är bra totalt sett *\r\n \r\n
    \r\n {this.setState({ledarskapet6: event.target.value, ledarskapet6Error: ''}); this.ledarskapet6IsValid = true;}} inline name=\"ledarskapet6\">4) Håller helt med
    \r\n {this.setState({ledarskapet6: event.target.value, ledarskapet6Error: ''}); this.ledarskapet6IsValid = true;}} inline name=\"ledarskapet6\">3) Håller med till viss del
    \r\n {this.setState({ledarskapet6: event.target.value, ledarskapet6Error: ''}); this.ledarskapet6IsValid = true;}} inline name=\"ledarskapet6\">2) Håller inte med
    \r\n {this.setState({ledarskapet6: event.target.value, ledarskapet6Error: ''}); this.ledarskapet6IsValid = true;}} inline name=\"ledarskapet6\">1) Håller inte alls med
    \r\n {this.state.ledarskapet6Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag upplever att ledarskapet i företaget har förbättrats under det senaste året *\r\n \r\n
    \r\n {this.setState({ledarskapet7: event.target.value, ledarskapet7Error: ''}); this.ledarskapet7IsValid = true;}} inline name=\"ledarskapet7\">JA
    \r\n {this.setState({ledarskapet7: event.target.value, ledarskapet7Error: ''}); this.ledarskapet7IsValid = true;}} inline name=\"ledarskapet7\">NEJ
    \r\n {this.setState({ledarskapet7: event.target.value, ledarskapet7Error: ''}); this.ledarskapet7IsValid = true;}} inline name=\"ledarskapet7\">OFÖRÄNDRAT
    \r\n {this.setState({ledarskapet7: event.target.value, ledarskapet7Error: ''}); this.ledarskapet7IsValid = true;}} inline name=\"ledarskapet7\">VET EJ
    \r\n {this.state.ledarskapet7Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på hur ledarskapet kan förbättras:\r\n \r\n {this.setState({ledarskapet8: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Arbetsuppgifter

    \r\n
    \r\n\r\n \r\n Jag har god kännedom om vilka arbetsuppgifter jag förväntas göra *\r\n \r\n
    \r\n {this.setState({arbetsuppgifter1: event.target.value, arbetsuppgifter1Error: ''}); this.arbetsuppgifter1IsValid = true;}} inline name=\"arbetsuppgifter1\">4) Håller helt med
    \r\n {this.setState({arbetsuppgifter1: event.target.value, arbetsuppgifter1Error: ''}); this.arbetsuppgifter1IsValid = true;}} inline name=\"arbetsuppgifter1\">3) Håller med till viss del
    \r\n {this.setState({arbetsuppgifter1: event.target.value, arbetsuppgifter1Error: ''}); this.arbetsuppgifter1IsValid = true;}} inline name=\"arbetsuppgifter1\">2) Håller inte med
    \r\n {this.setState({arbetsuppgifter1: event.target.value, arbetsuppgifter1Error: ''}); this.arbetsuppgifter1IsValid = true;}} inline name=\"arbetsuppgifter1\">1) Håller inte alls med
    \r\n {this.state.arbetsuppgifter1Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag känner ansvar för mitt arbetsområde och mina arbetsuppgifter *\r\n \r\n
    \r\n {this.setState({arbetsuppgifter4: event.target.value, arbetsuppgifter4Error: ''}); this.arbetsuppgifter4IsValid = true;}} inline name=\"arbetsuppgifter4\">4) Håller helt med
    \r\n {this.setState({arbetsuppgifter4: event.target.value, arbetsuppgifter4Error: ''}); this.arbetsuppgifter4IsValid = true;}} inline name=\"arbetsuppgifter4\">3) Håller med till viss del
    \r\n {this.setState({arbetsuppgifter4: event.target.value, arbetsuppgifter4Error: ''}); this.arbetsuppgifter4IsValid = true;}} inline name=\"arbetsuppgifter4\">2) Håller inte med
    \r\n {this.setState({arbetsuppgifter4: event.target.value, arbetsuppgifter4Error: ''}); this.arbetsuppgifter4IsValid = true;}} inline name=\"arbetsuppgifter4\">1) Håller inte alls med
    \r\n {this.state.arbetsuppgifter4Error}\r\n
    \r\n
    \r\n \r\n \r\n Totalt sett trivs jag bra med mina arbetsuppgifter *\r\n \r\n
    \r\n {this.setState({arbetsuppgifter5: event.target.value, arbetsuppgifter5Error: ''}); this.arbetsuppgifter5IsValid = true;}} inline name=\"arbetsuppgifter5\">4) Håller helt med
    \r\n {this.setState({arbetsuppgifter5: event.target.value, arbetsuppgifter5Error: ''}); this.arbetsuppgifter5IsValid = true;}} inline name=\"arbetsuppgifter5\">3) Håller med till viss del
    \r\n {this.setState({arbetsuppgifter5: event.target.value, arbetsuppgifter5Error: ''}); this.arbetsuppgifter5IsValid = true;}} inline name=\"arbetsuppgifter5\">2) Håller inte med
    \r\n {this.setState({arbetsuppgifter5: event.target.value, arbetsuppgifter5Error: ''}); this.arbetsuppgifter5IsValid = true;}} inline name=\"arbetsuppgifter5\">1) Håller inte alls med
    \r\n {this.state.arbetsuppgifter5Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på åtgärder för hur mina arbetsuppgifter kan förbättras:\r\n \r\n {this.setState({arbetsuppgifter6: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Information

    \r\n
    \r\n \r\n \r\n Jag tycker att Min Sida innehåller relevant information *\r\n \r\n
    \r\n {this.setState({information6: event.target.value, information6Error: ''}); this.information6IsValid = true;}} inline name=\"information6\">4) Håller helt med
    \r\n {this.setState({information6: event.target.value, information6Error: ''}); this.information6IsValid = true;}} inline name=\"information6\">3) Håller med till viss del
    \r\n {this.setState({information6: event.target.value, information6Error: ''}); this.information6IsValid = true;}} inline name=\"information6\">2) Håller inte med
    \r\n {this.setState({information6: event.target.value, information6Error: ''}); this.information6IsValid = true;}} inline name=\"information6\">1) Håller inte alls med
    \r\n {this.state.information6Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag tycker att våra arbetsplatsträffar (APT) är givande *\r\n \r\n
    \r\n {this.setState({information7: event.target.value, information7Error: ''}); this.information7IsValid = true;}} inline name=\"information7\">4) Håller helt med
    \r\n {this.setState({information7: event.target.value, information7Error: ''}); this.information7IsValid = true;}} inline name=\"information7\">3) Håller med till viss del
    \r\n {this.setState({information7: event.target.value, information7Error: ''}); this.information7IsValid = true;}} inline name=\"information7\">2) Håller inte med
    \r\n {this.setState({information7: event.target.value, information7Error: ''}); this.information7IsValid = true;}} inline name=\"information7\">1) Håller inte alls med
    \r\n {this.state.information7Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag kan i generella drag redogöra för företagets övergripande mål och vision *\r\n \r\n
    \r\n {this.setState({information3: event.target.value, information3Error: ''}); this.information3IsValid = true;}} inline name=\"information3\">4) Håller helt med
    \r\n {this.setState({information3: event.target.value, information3Error: ''}); this.information3IsValid = true;}} inline name=\"information3\">3) Håller med till viss del
    \r\n {this.setState({information3: event.target.value, information3Error: ''}); this.information3IsValid = true;}} inline name=\"information3\">2) Håller inte med
    \r\n {this.setState({information3: event.target.value, information3Error: ''}); this.information3IsValid = true;}} inline name=\"information3\">1) Håller inte alls med
    \r\n {this.state.information3Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag tycker att informationen inom företaget har blivit bättre totalt sett under det senaste året *\r\n \r\n
    \r\n {this.setState({information4: event.target.value, information4Error: ''}); this.information4IsValid = true;}} inline name=\"information4\">JA
    \r\n {this.setState({information4: event.target.value, information4Error: ''}); this.information4IsValid = true;}} inline name=\"information4\">NEJ
    \r\n {this.setState({information4: event.target.value, information4Error: ''}); this.information4IsValid = true;}} inline name=\"information4\">OFÖRÄNDRAT
    \r\n {this.setState({information4: event.target.value, information4Error: ''}); this.information4IsValid = true;}} inline name=\"information4\">VET EJ
    \r\n {this.state.information4Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på åtgärder för hur informationen kan förbättras:\r\n \r\n {this.setState({information5: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Kunder

    \r\n
    \r\n\r\n \r\n Jag känner till våra kommersiella resor (tex programresor, konsert, teater, shopping, spa och kryssningar) och kan översikligt berätta om dem för kunder, vänner och bekanta *\r\n \r\n
    \r\n {this.setState({kunder1: event.target.value, kunder1Error: ''}); this.kunder1IsValid = true;}} inline name=\"kunder1\">4) Håller helt med
    \r\n {this.setState({kunder1: event.target.value, kunder1Error: ''}); this.kunder1IsValid = true;}} inline name=\"kunder1\">3) Håller med till viss del
    \r\n {this.setState({kunder1: event.target.value, kunder1Error: ''}); this.kunder1IsValid = true;}} inline name=\"kunder1\">2) Håller inte med
    \r\n {this.setState({kunder1: event.target.value, kunder1Error: ''}); this.kunder1IsValid = true;}} inline name=\"kunder1\">1) Håller inte alls med
    \r\n {this.state.kunder1Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag känner till våra kunders önskemål och förväntningar *\r\n \r\n
    \r\n {this.setState({kunder2: event.target.value, kunder2Error: ''}); this.kunder2IsValid = true;}} inline name=\"kunder2\">4) Håller helt med
    \r\n {this.setState({kunder2: event.target.value, kunder2Error: ''}); this.kunder2IsValid = true;}} inline name=\"kunder2\">3) Håller med till viss del
    \r\n {this.setState({kunder2: event.target.value, kunder2Error: ''}); this.kunder2IsValid = true;}} inline name=\"kunder2\">2) Håller inte med
    \r\n {this.setState({kunder2: event.target.value, kunder2Error: ''}); this.kunder2IsValid = true;}} inline name=\"kunder2\">1) Håller inte alls med
    \r\n {this.state.kunder2Error}\r\n
    \r\n
    \r\n \r\n \r\n Inom företaget gör vi allt för att överträffa kundernas behov så snabbt och effektivt som möjligt *\r\n \r\n
    \r\n {this.setState({kunder3: event.target.value, kunder3Error: ''}); this.kunder3IsValid = true;}} inline name=\"kunder3\">4) Håller helt med
    \r\n {this.setState({kunder3: event.target.value, kunder3Error: ''}); this.kunder3IsValid = true;}} inline name=\"kunder3\">3) Håller med till viss del
    \r\n {this.setState({kunder3: event.target.value, kunder3Error: ''}); this.kunder3IsValid = true;}} inline name=\"kunder3\">2) Håller inte med
    \r\n {this.setState({kunder3: event.target.value, kunder3Error: ''}); this.kunder3IsValid = true;}} inline name=\"kunder3\">1) Håller inte alls med
    \r\n {this.state.kunder3Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag rekommenderar våra produkter/tjänster till mina vänner och bekanta *\r\n \r\n
    \r\n {this.setState({kunder4: event.target.value, kunder4Error: ''}); this.kunder4IsValid = true;}} inline name=\"kunder4\">4) Håller helt med
    \r\n {this.setState({kunder4: event.target.value, kunder4Error: ''}); this.kunder4IsValid = true;}} inline name=\"kunder4\">3) Håller med till viss del
    \r\n {this.setState({kunder4: event.target.value, kunder4Error: ''}); this.kunder4IsValid = true;}} inline name=\"kunder4\">2) Håller inte med
    \r\n {this.setState({kunder4: event.target.value, kunder4Error: ''}); this.kunder4IsValid = true;}} inline name=\"kunder4\">1) Håller inte alls med
    \r\n {this.state.kunder4Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på åtgärder för hur kännedomen om företagets kunder, produkter och tjänster kan förbättras:\r\n \r\n {this.setState({kunder5: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Företaget

    \r\n
    \r\n\r\n \r\n Jag är stolt över att arbeta i företaget *\r\n \r\n
    \r\n {this.setState({foretaget1: event.target.value, foretaget1Error: ''}); this.foretaget1IsValid = true;}} inline name=\"foretaget1\">4) Håller helt med
    \r\n {this.setState({foretaget1: event.target.value, foretaget1Error: ''}); this.foretaget1IsValid = true;}} inline name=\"foretaget1\">3) Håller med till viss del
    \r\n {this.setState({foretaget1: event.target.value, foretaget1Error: ''}); this.foretaget1IsValid = true;}} inline name=\"foretaget1\">2) Håller inte med
    \r\n {this.setState({foretaget1: event.target.value, foretaget1Error: ''}); this.foretaget1IsValid = true;}} inline name=\"foretaget1\">1) Håller inte alls med
    \r\n {this.state.foretaget1Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag skulle rekommendera mitt företag som en bra arbetsgivare till mina vänner och bekanta *\r\n \r\n
    \r\n {this.setState({foretaget2: event.target.value, foretaget2Error: ''}); this.foretaget2IsValid = true;}} inline name=\"foretaget2\">4) Håller helt med
    \r\n {this.setState({foretaget2: event.target.value, foretaget2Error: ''}); this.foretaget2IsValid = true;}} inline name=\"foretaget2\">3) Håller med till viss del
    \r\n {this.setState({foretaget2: event.target.value, foretaget2Error: ''}); this.foretaget2IsValid = true;}} inline name=\"foretaget2\">2) Håller inte med
    \r\n {this.setState({foretaget2: event.target.value, foretaget2Error: ''}); this.foretaget2IsValid = true;}} inline name=\"foretaget2\">1) Håller inte alls med
    \r\n {this.state.foretaget2Error}\r\n
    \r\n
    \r\n \r\n \r\n Vilka är dina förväntningar på ditt företag för framtiden?\r\n \r\n {this.setState({foretaget3: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n
    \r\n\r\n \r\n Har du någonting annat som du vill framföra till företagsledningen?\r\n \r\n {this.setState({foretaget4: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n{/*

    Utvecklingsprojekt

    */}\r\n{/*

    Under det senaste året har vi genomfört två större utvecklingsprojekt – skadeförebyggande arbete tillsammans med Trygg Hansa samt Sparsam körning - och vi vill gärna veta mer om hur du har upplevt dem hittills och hur du skulle önska att vi arbetar vidare med dem.

    */}\r\n{/*
    */}\r\n{/**/}\r\n{/* */}\r\n{/* I november 2019 lanserade vi en ny funktion i Min Sida för inrapportering av fordonsskador och möjligheten att följa sina egna och trafikområdets försäkringsärenden och kostnader månadsvis. Inför detta åkte företagsledningen tillsammans med försäkringsbolaget Trygg Hansa runt på depåerna för att informera om försäkringen, den nya digitala skaderapporten, vår nya förebyggande rutin med skadesamtal och coachning samt den depåtävling som skulle genomföras under 6 månader som en kickstart på projektet. Nu vill vi veta hur du har upplevt det första året med digital skaderapportering och uppföljning via Min Sida. Dela gärna med dig om du har tankar och önskemål kring hur vi kan jobba vidare för att minska frekvensen skador och hålla den fortsatt låg.*/}\r\n{/* */}\r\n{/* {this.setState({utvecklingsprojekt1: event.target.value});}}*/}\r\n{/* name=\"extraText\"*/}\r\n{/* />*/}\r\n{/**/}\r\n{/*
    */}\r\n{/**/}\r\n{/* */}\r\n{/* I början på 2020 smög vi igång med ännu en nyhet i Min Sida, nämligen möjligheten för bussförare att följa sin drivmedelsförbrukning. Nu planerar vi för att ta projektet Sparsam körning till nästa nivå. Vi tar gärna dina tankar och tips kring hur vi kan göra det på bästa sätt för att minska vår miljöpåverkan och våra drivmedelskostnader.*/}\r\n{/* */}\r\n{/* {this.setState({utvecklingsprojekt2: event.target.value});}}*/}\r\n{/* name=\"extraText\"*/}\r\n{/* />*/}\r\n{/* */}\r\n{/* */}\r\n{/* */}\r\n{/* Vill du framföra något annat till företagsledningen eller förtydliga/kommentera något till dina svar på de 5 ovanstående frågorna?*/}\r\n{/* */}\r\n{/* {this.setState({kortfri1: event.target.value});}}*/}\r\n{/* name=\"extraText\"*/}\r\n{/* />*/}\r\n{/* */}\r\n
    \r\n\r\n \r\n {this.state.buttonerror}\r\n\r\n\r\n\r\n
    \r\n )\r\n }\r\n\r\n\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n };\r\n }\r\n\r\nexport default connect(mapStateToProps, { getUndersokning})(Tjansteman);\r\n","// formuläret från startsidan (genvägen) det förenklade\r\nimport { connect } from \"react-redux\";\r\nimport axios from \"axios\";\r\nimport { getUndersokning } from \"./actions\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport SavingButton from \"components/CustomButtons/SavingButton.jsx\"\r\nimport Datetime from \"react-datetime\";\r\nimport React, { Component} from \"react\";\r\nimport {\r\n FormGroup,\r\n FormControl,\r\n ControlLabel,\r\n Radio,\r\n } from \"react-bootstrap\";\r\n\r\n import moment from 'moment';\r\n import 'moment/locale/sv';\r\n\r\n\r\nclass Tjansteman extends Component {\r\n\r\n constructor(props){\r\n super(props);\r\n\r\n moment().locale('sv');\r\n\r\n this.state = { validated: false };\r\n this.state = this.getInititalState();\r\n\r\n this.handleFormSave = this.handleFormSave.bind(this);\r\n this.arbetsmiljo1IsValid = false;\r\n this.arbetsmiljo2IsValid = false;\r\n this.arbetsmiljo3IsValid = false;\r\n this.arbetsmiljo4IsValid = false;\r\n this.arbetsmiljo5IsValid = false;\r\n this.arbetsmiljo6IsValid = false;\r\n this.arbetsmiljo7IsValid = false;\r\n this.arbetsmiljo8IsValid = false;\r\n this.arbetsmiljo9IsValid = false;\r\n this.arbetstriv1IsValid = false;\r\n this.arbetstriv2IsValid = false;\r\n this.arbetstriv3IsValid = false;\r\n this.arbetstriv4IsValid = false;\r\n this.arbetstriv5IsValid= false;\r\n this.arbetstriv6IsValid = false;\r\n this.arbetstriv7IsValid = false;\r\n this.ledarskapet1IsValid = false;\r\n this.ledarskapet2IsValid = false;\r\n this.ledarskapet3IsValid = false;\r\n this.ledarskapet4IsValid= false;\r\n this.ledarskapet5IsValid = false;\r\n this.ledarskapet6IsValid = false;\r\n this.ledarskapet7IsValid = false;\r\n this.ledarskapet8IsValid = false;\r\n this.arbetsuppgifter1IsValid = false;\r\n this.arbetsuppgifter2IsValid = false;\r\n this.arbetsuppgifter3IsValid = false;\r\n this.arbetsuppgifter4IsValid = false;\r\n this.arbetsuppgifter5IsValid= false;\r\n this.arbetsuppgifter6IsValid = false;\r\n this.kompetensutv1IsValid = false;\r\n this.kompetensutv2IsValid = false;\r\n this.kompetensutv3IsValid = false;\r\n this.kompetensutv4IsValid = false;\r\n this.kompetensutv5IsValid = false;\r\n this.information1IsValid = false;\r\n this.information2IsValid = false;\r\n this.information3IsValid = false;\r\n this.information4IsValid = false;\r\n this.information5IsValid = false;\r\n this.kunder1IsValid = false;\r\n this.kunder2IsValid = false;\r\n this.kunder3IsValid = false;\r\n this.kunder4IsValid = false;\r\n this.kunder5IsValid = false;\r\n this.foretaget1IsValid= false;\r\n this.foretaget2IsValid= false;\r\n this.foretaget3IsValid = false;\r\n this.foretaget4IsValid = false;\r\n this.buttonerror= \"\";\r\n }\r\n handleFormSave() {\r\n if(!this.arbetsmiljo1IsValid){this.setState({arbetsmiljo1Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo2IsValid){this.setState({arbetsmiljo2Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo3IsValid){this.setState({arbetsmiljo3Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo4IsValid){this.setState({arbetsmiljo4Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo5IsValid){this.setState({arbetsmiljo5Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo6IsValid){this.setState({arbetsmiljo6Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo7IsValid){this.setState({arbetsmiljo7Error: 'Måste anges'});}\r\n if(!this.arbetsmiljo8IsValid){this.setState({arbetsmiljo8Error: 'Måste anges'});}\r\n if(!this.arbetstriv1IsValid){this.setState({arbetstriv1Error: 'Måste anges'});}\r\n if(!this.arbetstriv2IsValid){this.setState({arbetstriv2Error: 'Måste anges'});}\r\n if(!this.arbetstriv3IsValid){this.setState({arbetstriv3Error: 'Måste anges'});}\r\n if(!this.arbetstriv4IsValid){this.setState({arbetstriv4Error: 'Måste anges'});}\r\n if(!this.arbetstriv5IsValid){this.setState({arbetstriv5Error: 'Måste anges'});}\r\n if(!this.arbetstriv6IsValid){this.setState({arbetstriv6Error: 'Måste anges'});}\r\n if(!this.ledarskapet1IsValid){this.setState({ledarskapet1Error: 'Måste anges'});}\r\n if(!this.ledarskapet2IsValid){this.setState({ledarskapet2Error: 'Måste anges'});}\r\n if(!this.ledarskapet3IsValid){this.setState({ledarskapet3Error: 'Måste anges'});}\r\n if(!this.ledarskapet4IsValid){this.setState({ledarskapet4Error: 'Måste anges'});}\r\n if(!this.ledarskapet5IsValid){this.setState({ledarskapet5Error: 'Måste anges'});}\r\n if(!this.ledarskapet6IsValid){this.setState({ledarskapet6Error: 'Måste anges'});}\r\n if(!this.ledarskapet7IsValid){this.setState({ledarskapet7Error: 'Måste anges'});}\r\n if(!this.arbetsuppgifter1IsValid){this.setState({arbetsuppgifter1Error: 'Måste anges'});}\r\n if(!this.arbetsuppgifter2IsValid){this.setState({arbetsuppgifter2Error: 'Måste anges'});}\r\n if(!this.arbetsuppgifter3IsValid){this.setState({arbetsuppgifter3Error: 'Måste anges'});}\r\n if(!this.arbetsuppgifter4IsValid){this.setState({arbetsuppgifter4Error: 'Måste anges'});}\r\n if(!this.arbetsuppgifter5IsValid){this.setState({arbetsuppgifter5Error: 'Måste anges'});}\r\n if(!this.kompetensutv1IsValid){this.setState({kompetensutv1Error: 'Måste anges'});}\r\n if(!this.kompetensutv1IsValid){this.setState({kompetensutv2Error: 'Måste anges'});}\r\n if(!this.kompetensutv1IsValid){this.setState({kompetensutv3Error: 'Måste anges'});}\r\n if(!this.kompetensutv1IsValid){this.setState({kompetensutv4Error: 'Måste anges'});}\r\n if(!this.information1IsValid){this.setState({information1Error: 'Måste anges'});}\r\n if(!this.information2IsValid){this.setState({information2Error: 'Måste anges'});}\r\n if(!this.information3IsValid){this.setState({information3Error: 'Måste anges'});}\r\n if(!this.information4IsValid){this.setState({information4Error: 'Måste anges'});}\r\n if(!this.kunder1IsValid){this.setState({kunder1Error: 'Måste anges'});}\r\n if(!this.kunder2IsValid){this.setState({kunder2Error: 'Måste anges'});}\r\n if(!this.kunder3IsValid){this.setState({kunder3Error: 'Måste anges'});}\r\n if(!this.kunder4IsValid){this.setState({kunder4Error: 'Måste anges'});}\r\n if(!this.foretaget1IsValid){this.setState({foretaget1Error: 'Måste anges'});}\r\n if(!this.foretaget2IsValid){this.setState({foretaget2Error: 'Måste anges'});}\r\n\r\n if (this.arbetsmiljo1IsValid\r\n && this.arbetsmiljo2IsValid\r\n && this.arbetsmiljo3IsValid\r\n && this.arbetsmiljo4IsValid\r\n && this.arbetsmiljo5IsValid\r\n && this.arbetsmiljo6IsValid\r\n && this.arbetsmiljo7IsValid\r\n && this.arbetsmiljo8IsValid\r\n && this.arbetsmiljo1IsValid\r\n && this.arbetsmiljo1IsValid\r\n\r\n && this.arbetstriv1IsValid\r\n && this.arbetstriv2IsValid\r\n && this.arbetstriv3IsValid\r\n && this.arbetstriv4IsValid\r\n && this.arbetstriv5IsValid\r\n && this.arbetstriv6IsValid\r\n\r\n && this.ledarskapet1IsValid\r\n && this.ledarskapet2IsValid\r\n && this.ledarskapet3IsValid\r\n && this.ledarskapet4IsValid\r\n && this.ledarskapet5IsValid\r\n && this.ledarskapet6IsValid\r\n && this.ledarskapet7IsValid\r\n\r\n && this.arbetsuppgifter1IsValid\r\n && this.arbetsuppgifter2IsValid\r\n && this.arbetsuppgifter3IsValid\r\n && this.arbetsuppgifter4IsValid\r\n && this.arbetsuppgifter5IsValid\r\n\r\n && this.kompetensutv1IsValid\r\n && this.kompetensutv2IsValid\r\n && this.kompetensutv3IsValid\r\n && this.kompetensutv4IsValid\r\n\r\n && this.information1IsValid\r\n && this.information2IsValid\r\n && this.information3IsValid\r\n && this.information4IsValid\r\n\r\n && this.kunder1IsValid\r\n && this.kunder2IsValid\r\n && this.kunder3IsValid\r\n && this.kunder4IsValid\r\n\r\n && this.foretaget1IsValid\r\n && this.foretaget2IsValid\r\n )\r\n {\r\n var saveData = {\r\n arbetsmiljo1: this.state.arbetsmiljo1,\r\n arbetsmiljo2: this.state.arbetsmiljo2,\r\n arbetsmiljo3: this.state.arbetsmiljo3,\r\n arbetsmiljo4: this.state.arbetsmiljo4,\r\n arbetsmiljo5: this.state.arbetsmiljo5,\r\n arbetsmiljo6: this.state.arbetsmiljo6,\r\n arbetsmiljo7: this.state.arbetsmiljo7,\r\n arbetsmiljo8: this.state.arbetsmiljo8,\r\n arbetsmiljo9: this.state.arbetsmiljo9,\r\n\r\n arbetstriv1: this.state.arbetstriv1,\r\n arbetstriv2: this.state.arbetstriv2,\r\n arbetstriv3: this.state.arbetstriv3,\r\n arbetstriv4: this.state.arbetstriv4,\r\n arbetstriv5: this.state.arbetstriv5,\r\n arbetstriv6: this.state.arbetstriv6,\r\n arbetstriv7: this.state.arbetstriv7,\r\n\r\n ledarskapet1: this.state.ledarskapet1,\r\n ledarskapet2: this.state.ledarskapet2,\r\n ledarskapet3: this.state.ledarskapet3,\r\n ledarskapet4: this.state.ledarskapet4,\r\n ledarskapet5: this.state.ledarskapet5,\r\n ledarskapet6: this.state.ledarskapet6,\r\n ledarskapet7: this.state.ledarskapet7,\r\n ledarskapet8: this.state.ledarskapet8,\r\n\r\n arbetsuppgifter1: this.state.arbetsuppgifter1,\r\n arbetsuppgifter2: this.state.arbetsuppgifter2,\r\n arbetsuppgifter3: this.state.arbetsuppgifter3,\r\n arbetsuppgifter4: this.state.arbetsuppgifter4,\r\n arbetsuppgifter5: this.state.arbetsuppgifter5,\r\n arbetsuppgifter6: this.state.arbetsuppgifter6,\r\n\r\n kompetensutv1: this.state.kompetensutv1,\r\n kompetensutv2: this.state.kompetensutv2,\r\n kompetensutv3: this.state.kompetensutv3,\r\n kompetensutv4: this.state.kompetensutv4,\r\n kompetensutv5: this.state.kompetensutv5,\r\n\r\n information1: this.state.information1,\r\n information2: this.state.information2,\r\n information3: this.state.information3,\r\n information4: this.state.information4,\r\n information5: this.state.information5,\r\n\r\n kunder1: this.state.kunder1,\r\n kunder2: this.state.kunder2,\r\n kunder3: this.state.kunder3,\r\n kunder4: this.state.kunder4,\r\n kunder5: this.state.kunder5,\r\n\r\n foretaget1: this.state.foretaget1,\r\n foretaget2: this.state.foretaget2,\r\n foretaget3: this.state.foretaget3,\r\n foretaget4: this.state.foretaget4,\r\n\r\n utvecklingsprojekt1: this.state.utvecklingsprojekt1,\r\n utvecklingsprojekt2: this.state.utvecklingsprojekt2,\r\n\r\n kortfri1: this.state.kortfri1\r\n\r\n };\r\n console.log(saveData);\r\n this.addUtvardering(saveData);\r\n }\r\n else{\r\n this.setState({buttonerror: 'Alla fält har inte fyllts i'});\r\nconsole.log(\"Error\")\r\n }\r\n\r\n}\r\naddUtvardering(saveData) {\r\n this.setState({buttonerror: ''});\r\n console.log(\"Send!\")\r\n this.setState({\r\n savingStatus: 1\r\n }, () => {\r\n\r\n axios.post(infraConfig.apiEndpoint.concat('/api/undersokning/send'), saveData, getAxiosConfig(this.props.user))\r\n .then((dataResult) => {\r\n console.log('after send success', dataResult.data.result);\r\n this.setState({buttonmessage: dataResult.data.result})\r\n if(dataResult.data.result == \"Du har redan skickat in ett svar.\"){\r\n this.setState({buttonerror2: \"Du har redan skickat in ett svar.\"});\r\n this.setState({\r\n savingStatus: 3\r\n });\r\n\r\n }\r\n else{\r\n this.setState({\r\n savingStatus: 2\r\n });\r\n }\r\n this.resetForm();\r\n })\r\n .catch((error) => {\r\n this.setState({buttonerror2: \"Ett fel inträffade\"});\r\n this.setState({\r\n savingStatus: 3\r\n });\r\n console.log('ERROR');\r\n });\r\n });\r\n\r\n}\r\nresetForm() {\r\n var savingStatus = this.state.savingStatus;\r\n this.setState(this.getInititalState(), () => {\r\n this.setState({ savingStatus: savingStatus});\r\n });\r\n\r\n\r\n document.getElementById(\"create-Tjansteman\").reset();\r\n}\r\n getInititalState = () => {\r\n const initialState = {\r\n datumError: null,\r\n val1Error: null,\r\n arbetsmiljo1IsValid: '' ,\r\n\r\n savingStatus: 0\r\n }\r\n return initialState;\r\n }\r\n\r\nrender() {\r\n return (\r\n\r\n
    \r\n

    Engagerade och motiverade medarbetare är helt avgörande för företagets framgång. Vi strävar därför efter att skapa en bra arbetsmiljö där medarbetare trivs och känner sig delaktiga. Vi genomför vartannat år en större medarbetarundersökning med syfte att ta reda på hur våra medarbetare uppfattar sin arbetssituation och Byberg & Nordin / Docksta Buss & Truck som arbetsgivare, och nu är det dags igen. Undersökningen kommer att pågå till och med den 30 september. Målet med undersökningen är att den ska resultera i förslag på utvecklingsområden och hjälpa företaget att prioritera förbättringsinsatser framåt. Använd gärna fritextrutorna för att förtydliga och vidareutveckla dina svar på kryssfrågorna.

    \r\n

    Tack för din medverkan!

    \r\n

    Tomas Byberg, ägare/vd Byberg & Nordin

    \r\n \r\n

    Arbetsmiljö

    \r\n
    \r\n \r\n \r\n Jag har den utrustning jag behöver för att utföra mitt arbete *\r\n \r\n
    \r\n {this.setState({arbetsmiljo1: event.target.value, arbetsmiljo1Error: ''}); this.arbetsmiljo1IsValid = true;}} inline name=\"arbetsmiljo1\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo1: event.target.value, arbetsmiljo1Error: ''}); this.arbetsmiljo1IsValid = true;}} inline name=\"arbetsmiljo1\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo1: event.target.value, arbetsmiljo1Error: ''}); this.arbetsmiljo1IsValid = true;}} inline name=\"arbetsmiljo1\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo1: event.target.value, arbetsmiljo1Error: ''}); this.arbetsmiljo1IsValid = true;}} inline name=\"arbetsmiljo1\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo1Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag känner att jag kan påverka arbetsmiljön på min arbetsplats *\r\n \r\n
    \r\n {this.setState({arbetsmiljo2: event.target.value, arbetsmiljo2Error: ''}); this.arbetsmiljo2IsValid = true;}} inline name=\"arbetsmiljo2\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo2: event.target.value, arbetsmiljo2Error: ''}); this.arbetsmiljo2IsValid = true;}} inline name=\"arbetsmiljo2\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo2: event.target.value, arbetsmiljo2Error: ''}); this.arbetsmiljo2IsValid = true;}} inline name=\"arbetsmiljo2\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo2: event.target.value, arbetsmiljo2Error: ''}); this.arbetsmiljo2IsValid = true;}} inline name=\"arbetsmiljo2\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo2Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag tycker att jag kan påverka mina arbetstider i tillräcklig utsträckning *\r\n \r\n
    \r\n {this.setState({arbetsmiljo3: event.target.value, arbetsmiljo3Error: ''}); this.arbetsmiljo3IsValid = true;}} inline name=\"arbetsmiljo3\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo3: event.target.value, arbetsmiljo3Error: ''}); this.arbetsmiljo3IsValid = true;}} inline name=\"arbetsmiljo3\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo3: event.target.value, arbetsmiljo3Error: ''}); this.arbetsmiljo3IsValid = true;}} inline name=\"arbetsmiljo3\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo3: event.target.value, arbetsmiljo3Error: ''}); this.arbetsmiljo3IsValid = true;}} inline name=\"arbetsmiljo3\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo3Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag känner mig trygg på min arbetsplats *\r\n \r\n
    \r\n {this.setState({arbetsmiljo4: event.target.value, arbetsmiljo4Error: ''}); this.arbetsmiljo4IsValid = true;}} inline name=\"arbetsmiljo4\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo4: event.target.value, arbetsmiljo4Error: ''}); this.arbetsmiljo4IsValid = true;}} inline name=\"arbetsmiljo4\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo4: event.target.value, arbetsmiljo4Error: ''}); this.arbetsmiljo4IsValid = true;}} inline name=\"arbetsmiljo4\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo4: event.target.value, arbetsmiljo4Error: ''}); this.arbetsmiljo4IsValid = true;}} inline name=\"arbetsmiljo4\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo4Error}\r\n
    \r\n
    \r\n \r\n \r\n På min arbetsplats bedrivs ett förebyggande arbete för att förhindra olycksfall och ohälsa *\r\n \r\n
    \r\n {this.setState({arbetsmiljo5: event.target.value, arbetsmiljo5Error: ''}); this.arbetsmiljo5IsValid = true;}} inline name=\"arbetsmiljo5\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo5: event.target.value, arbetsmiljo5Error: ''}); this.arbetsmiljo5IsValid = true;}} inline name=\"arbetsmiljo5\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo5: event.target.value, arbetsmiljo5Error: ''}); this.arbetsmiljo5IsValid = true;}} inline name=\"arbetsmiljo5\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo5: event.target.value, arbetsmiljo5Error: ''}); this.arbetsmiljo5IsValid = true;}} inline name=\"arbetsmiljo5\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo5Error}\r\n
    \r\n
    \r\n \r\n \r\n Det hålls ordning och reda i personalutrymmen och allmänna utrymmen *\r\n \r\n
    \r\n {this.setState({arbetsmiljo6: event.target.value, arbetsmiljo6Error: ''}); this.arbetsmiljo6IsValid = true;}} inline name=\"arbetsmiljo6\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo6: event.target.value, arbetsmiljo6Error: ''}); this.arbetsmiljo6IsValid = true;}} inline name=\"arbetsmiljo6\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo6: event.target.value, arbetsmiljo6Error: ''}); this.arbetsmiljo6IsValid = true;}} inline name=\"arbetsmiljo6\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo6: event.target.value, arbetsmiljo6Error: ''}); this.arbetsmiljo6IsValid = true;}} inline name=\"arbetsmiljo6\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo6Error}\r\n
    \r\n
    \r\n \r\n \r\n Totalt sett är jag nöjd med arbetsmiljön på min arbetsplats *\r\n \r\n
    \r\n {this.setState({arbetsmiljo7: event.target.value, arbetsmiljo7Error: ''}); this.arbetsmiljo7IsValid = true;}} inline name=\"arbetsmiljo7\">4) Håller helt med
    \r\n {this.setState({arbetsmiljo7: event.target.value, arbetsmiljo7Error: ''}); this.arbetsmiljo7IsValid = true;}} inline name=\"arbetsmiljo7\">3) Håller med till viss del
    \r\n {this.setState({arbetsmiljo7: event.target.value, arbetsmiljo7Error: ''}); this.arbetsmiljo7IsValid = true;}} inline name=\"arbetsmiljo7\">2) Håller inte med
    \r\n {this.setState({arbetsmiljo7: event.target.value, arbetsmiljo7Error: ''}); this.arbetsmiljo7IsValid = true;}} inline name=\"arbetsmiljo7\">1) Håller inte alls med
    \r\n {this.state.arbetsmiljo7Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag upplever att arbetsmiljön på min arbetsplats har förbättrats en del under det senaste året *\r\n \r\n
    \r\n {this.setState({arbetsmiljo8: event.target.value, arbetsmiljo8Error: ''}); this.arbetsmiljo8IsValid = true;}} inline name=\"arbetsmiljo8\">JA
    \r\n {this.setState({arbetsmiljo8: event.target.value, arbetsmiljo8Error: ''}); this.arbetsmiljo8IsValid = true;}} inline name=\"arbetsmiljo8\">NEJ
    \r\n {this.setState({arbetsmiljo8: event.target.value, arbetsmiljo8Error: ''}); this.arbetsmiljo8IsValid = true;}} inline name=\"arbetsmiljo8\">OFÖRÄNDRAT
    \r\n {this.setState({arbetsmiljo8: event.target.value, arbetsmiljo8Error: ''}); this.arbetsmiljo8IsValid = true;}} inline name=\"arbetsmiljo8\">VET EJ
    \r\n {this.state.arbetsmiljo8Error}\r\n
    \r\n
    \r\n\r\n \r\n Förslag på åtgärder hur arbetsmiljön på min arbetsplats kan förbättras:\r\n \r\n {this.setState({arbetsmiljo9: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n \r\n

    Arbetskamrater och trivsel

    \r\n
    \r\n\r\n \r\n På min arbetsplats har vi ett gott samarbete *\r\n \r\n
    \r\n {this.setState({arbetstriv1: event.target.value, arbetstriv1Error: ''}); this.arbetstriv1IsValid = true;}} inline name=\"arbetstriv1\">4) Håller helt med
    \r\n {this.setState({arbetstriv1: event.target.value, arbetstriv1Error: ''}); this.arbetstriv1IsValid = true;}} inline name=\"arbetstriv1\">3) Håller med till viss del
    \r\n {this.setState({arbetstriv1: event.target.value, arbetstriv1Error: ''}); this.arbetstriv1IsValid = true;}} inline name=\"arbetstriv1\">2) Håller inte med
    \r\n {this.setState({arbetstriv1: event.target.value, arbetstriv1Error: ''}); this.arbetstriv1IsValid = true;}} inline name=\"arbetstriv1\">1) Håller inte alls med
    \r\n {this.state.arbetstriv1Error}\r\n
    \r\n
    \r\n \r\n \r\n I min grupp diskuterar vi regelbundet vad vi kan förbättra *\r\n \r\n
    \r\n {this.setState({arbetstriv2: event.target.value, arbetstriv2Error: ''}); this.arbetstriv2IsValid = true;}} inline name=\"arbetstriv2\">4) Håller helt med
    \r\n {this.setState({arbetstriv2: event.target.value, arbetstriv2Error: ''}); this.arbetstriv2IsValid = true;}} inline name=\"arbetstriv2\">3) Håller med till viss del
    \r\n {this.setState({arbetstriv2: event.target.value, arbetstriv2Error: ''}); this.arbetstriv2IsValid = true;}} inline name=\"arbetstriv2\">2) Håller inte med
    \r\n {this.setState({arbetstriv2: event.target.value, arbetstriv2Error: ''}); this.arbetstriv2IsValid = true;}} inline name=\"arbetstriv2\">1) Håller inte alls med
    \r\n {this.state.arbetstriv2Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag känner förtroende för mina arbetskamrater *\r\n \r\n
    \r\n {this.setState({arbetstriv3: event.target.value, arbetstriv3Error: ''}); this.arbetstriv3IsValid = true;}} inline name=\"arbetstriv3\">4) Håller helt med
    \r\n {this.setState({arbetstriv3: event.target.value, arbetstriv3Error: ''}); this.arbetstriv3IsValid = true;}} inline name=\"arbetstriv3\">3) Håller med till viss del
    \r\n {this.setState({arbetstriv3: event.target.value, arbetstriv3Error: ''}); this.arbetstriv3IsValid = true;}} inline name=\"arbetstriv3\">2) Håller inte med
    \r\n {this.setState({arbetstriv3: event.target.value, arbetstriv3Error: ''}); this.arbetstriv3IsValid = true;}} inline name=\"arbetstriv3\">1) Håller inte alls med
    \r\n {this.state.arbetstriv3Error}\r\n
    \r\n
    \r\n \r\n \r\n När jag berättar om mitt jobb för min familj/mina vänner är jag oftast positiv *\r\n \r\n
    \r\n {this.setState({arbetstriv4: event.target.value, arbetstriv4Error: ''}); this.arbetstriv4IsValid = true;}} inline name=\"arbetstriv4\">4) Håller helt med
    \r\n {this.setState({arbetstriv4: event.target.value, arbetstriv4Error: ''}); this.arbetstriv4IsValid = true;}} inline name=\"arbetstriv4\">3) Håller med till viss del
    \r\n {this.setState({arbetstriv4: event.target.value, arbetstriv4Error: ''}); this.arbetstriv4IsValid = true;}} inline name=\"arbetstriv4\">2) Håller inte med
    \r\n {this.setState({arbetstriv4: event.target.value, arbetstriv4Error: ''}); this.arbetstriv4IsValid = true;}} inline name=\"arbetstriv4\">1) Håller inte alls med
    \r\n {this.state.arbetstriv4Error}\r\n
    \r\n
    \r\n \r\n \r\n Totalt sett trivs jag bra på arbetsplatsen och med mina arbetskamrater *\r\n \r\n
    \r\n {this.setState({arbetstriv5: event.target.value, arbetstriv5Error: ''}); this.arbetstriv5IsValid = true;}} inline name=\"arbetstriv5\">4) Håller helt med
    \r\n {this.setState({arbetstriv5: event.target.value, arbetstriv5Error: ''}); this.arbetstriv5IsValid = true;}} inline name=\"arbetstriv5\">3) Håller med till viss del
    \r\n {this.setState({arbetstriv5: event.target.value, arbetstriv5Error: ''}); this.arbetstriv5IsValid = true;}} inline name=\"arbetstriv5\">2) Håller inte med
    \r\n {this.setState({arbetstriv5: event.target.value, arbetstriv5Error: ''}); this.arbetstriv5IsValid = true;}} inline name=\"arbetstriv5\">1) Håller inte alls med
    \r\n {this.state.arbetstriv5Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag upplever att trivseln på arbetsplatsen totalt sett har blivit bättre under det senaste året *\r\n \r\n
    \r\n {this.setState({arbetstriv6: event.target.value, arbetstriv6Error: ''}); this.arbetstriv6IsValid = true;}} inline name=\"arbetstriv6\">JA
    \r\n {this.setState({arbetstriv6: event.target.value, arbetstriv6Error: ''}); this.arbetstriv6IsValid = true;}} inline name=\"arbetstriv6\">NEJ
    \r\n {this.setState({arbetstriv6: event.target.value, arbetstriv6Error: ''}); this.arbetstriv6IsValid = true;}} inline name=\"arbetstriv6\">OFÖRÄNDRAT
    \r\n {this.setState({arbetstriv6: event.target.value, arbetstriv6Error: ''}); this.arbetstriv6IsValid = true;}} inline name=\"arbetstriv6\">VET EJ
    \r\n {this.state.arbetstriv6Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på åtgärder för hur trivseln kollegor emellan kan förbättras på arbetsplatsen:\r\n \r\n {this.setState({arbetstriv7: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Ledarskapet

    \r\n
    \r\n\r\n \r\n Min närmsta chef ger mig feedback på mina prestationer *\r\n \r\n
    \r\n {this.setState({ledarskapet1: event.target.value, ledarskapet1Error: ''}); this.ledarskapet1IsValid = true;}} inline name=\"ledarskapet1\">4) Håller helt med
    \r\n {this.setState({ledarskapet1: event.target.value, ledarskapet1Error: ''}); this.ledarskapet1IsValid = true;}} inline name=\"ledarskapet1\">3) Håller med till viss del
    \r\n {this.setState({ledarskapet1: event.target.value, ledarskapet1Error: ''}); this.ledarskapet1IsValid = true;}} inline name=\"ledarskapet1\">2) Håller inte med
    \r\n {this.setState({ledarskapet1: event.target.value, ledarskapet1Error: ''}); this.ledarskapet1IsValid = true;}} inline name=\"ledarskapet1\">1) Håller inte alls med
    \r\n {this.state.ledarskapet1Error}\r\n
    \r\n
    \r\n \r\n \r\n Min närmsta chef har rimliga krav på min arbetsinsats *\r\n \r\n
    \r\n {this.setState({ledarskapet2: event.target.value, ledarskapet2Error: ''}); this.ledarskapet2IsValid = true;}} inline name=\"ledarskapet2\">4) Håller helt med
    \r\n {this.setState({ledarskapet2: event.target.value, ledarskapet2Error: ''}); this.ledarskapet2IsValid = true;}} inline name=\"ledarskapet2\">3) Håller med till viss del
    \r\n {this.setState({ledarskapet2: event.target.value, ledarskapet2Error: ''}); this.ledarskapet2IsValid = true;}} inline name=\"ledarskapet2\">2) Håller inte med
    \r\n {this.setState({ledarskapet2: event.target.value, ledarskapet2Error: ''}); this.ledarskapet2IsValid = true;}} inline name=\"ledarskapet2\">1) Håller inte alls med
    \r\n {this.state.ledarskapet2Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag känner mig uppmuntrad att komma med nya idréer och förslag till förbättringar *\r\n \r\n
    \r\n {this.setState({ledarskapet3: event.target.value, ledarskapet3Error: ''}); this.ledarskapet3IsValid = true;}} inline name=\"ledarskapet3\">4) Håller helt med
    \r\n {this.setState({ledarskapet3: event.target.value, ledarskapet3Error: ''}); this.ledarskapet3IsValid = true;}} inline name=\"ledarskapet3\">3) Håller med till viss del
    \r\n {this.setState({ledarskapet3: event.target.value, ledarskapet3Error: ''}); this.ledarskapet3IsValid = true;}} inline name=\"ledarskapet3\">2) Håller inte med
    \r\n {this.setState({ledarskapet3: event.target.value, ledarskapet3Error: ''}); this.ledarskapet3IsValid = true;}} inline name=\"ledarskapet3\">1) Håller inte alls med
    \r\n {this.state.ledarskapet3Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag är i stora drag nöjd med min närmsta chef *\r\n \r\n
    \r\n {this.setState({ledarskapet4: event.target.value, ledarskapet4Error: ''}); this.ledarskapet4IsValid = true;}} inline name=\"ledarskapet4\">4) Håller helt med
    \r\n {this.setState({ledarskapet4: event.target.value, ledarskapet4Error: ''}); this.ledarskapet4IsValid = true;}} inline name=\"ledarskapet4\">3) Håller med till viss del
    \r\n {this.setState({ledarskapet4: event.target.value, ledarskapet4Error: ''}); this.ledarskapet4IsValid = true;}} inline name=\"ledarskapet4\">2) Håller inte med
    \r\n {this.setState({ledarskapet4: event.target.value, ledarskapet4Error: ''}); this.ledarskapet4IsValid = true;}} inline name=\"ledarskapet4\">1) Håller inte alls med
    \r\n {this.state.ledarskapet4Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag har förtroende för företagets VD *\r\n \r\n
    \r\n {this.setState({ledarskapet5: event.target.value, ledarskapet5Error: ''}); this.ledarskapet5IsValid = true;}} inline name=\"ledarskapet5\">4) Håller helt med
    \r\n {this.setState({ledarskapet5: event.target.value, ledarskapet5Error: ''}); this.ledarskapet5IsValid = true;}} inline name=\"ledarskapet5\">3) Håller med till viss del
    \r\n {this.setState({ledarskapet5: event.target.value, ledarskapet5Error: ''}); this.ledarskapet5IsValid = true;}} inline name=\"ledarskapet5\">2) Håller inte med
    \r\n {this.setState({ledarskapet5: event.target.value, ledarskapet5Error: ''}); this.ledarskapet5IsValid = true;}} inline name=\"ledarskapet5\">1) Håller inte alls med
    \r\n {this.state.ledarskapet5Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag tycker att ledarskapet i mitt företag är bra totalt sett *\r\n \r\n
    \r\n {this.setState({ledarskapet6: event.target.value, ledarskapet6Error: ''}); this.ledarskapet6IsValid = true;}} inline name=\"ledarskapet6\">4) Håller helt med
    \r\n {this.setState({ledarskapet6: event.target.value, ledarskapet6Error: ''}); this.ledarskapet6IsValid = true;}} inline name=\"ledarskapet6\">3) Håller med till viss del
    \r\n {this.setState({ledarskapet6: event.target.value, ledarskapet6Error: ''}); this.ledarskapet6IsValid = true;}} inline name=\"ledarskapet6\">2) Håller inte med
    \r\n {this.setState({ledarskapet6: event.target.value, ledarskapet6Error: ''}); this.ledarskapet6IsValid = true;}} inline name=\"ledarskapet6\">1) Håller inte alls med
    \r\n {this.state.ledarskapet6Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag upplever att ledarskapet i företaget har förbättrats under det senaste året *\r\n \r\n
    \r\n {this.setState({ledarskapet7: event.target.value, ledarskapet7Error: ''}); this.ledarskapet7IsValid = true;}} inline name=\"ledarskapet7\">JA
    \r\n {this.setState({ledarskapet7: event.target.value, ledarskapet7Error: ''}); this.ledarskapet7IsValid = true;}} inline name=\"ledarskapet7\">NEJ
    \r\n {this.setState({ledarskapet7: event.target.value, ledarskapet7Error: ''}); this.ledarskapet7IsValid = true;}} inline name=\"ledarskapet7\">OFÖRÄNDRAT
    \r\n {this.setState({ledarskapet7: event.target.value, ledarskapet7Error: ''}); this.ledarskapet7IsValid = true;}} inline name=\"ledarskapet7\">VET EJ
    \r\n {this.state.ledarskapet7Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på hur ledarskapet kan förbättras:\r\n \r\n {this.setState({ledarskapet8: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Arbetsuppgifter

    \r\n
    \r\n\r\n \r\n Jag har god kännedom om vilka arbetsuppgifter jag förväntas göra *\r\n \r\n
    \r\n {this.setState({arbetsuppgifter1: event.target.value, arbetsuppgifter1Error: ''}); this.arbetsuppgifter1IsValid = true;}} inline name=\"arbetsuppgifter1\">4) Håller helt med
    \r\n {this.setState({arbetsuppgifter1: event.target.value, arbetsuppgifter1Error: ''}); this.arbetsuppgifter1IsValid = true;}} inline name=\"arbetsuppgifter1\">3) Håller med till viss del
    \r\n {this.setState({arbetsuppgifter1: event.target.value, arbetsuppgifter1Error: ''}); this.arbetsuppgifter1IsValid = true;}} inline name=\"arbetsuppgifter1\">2) Håller inte med
    \r\n {this.setState({arbetsuppgifter1: event.target.value, arbetsuppgifter1Error: ''}); this.arbetsuppgifter1IsValid = true;}} inline name=\"arbetsuppgifter1\">1) Håller inte alls med
    \r\n {this.state.arbetsuppgifter1Error}\r\n
    \r\n
    \r\n \r\n \r\n I mitt arbete får jag användning för mina kunskaper och färdigheter *\r\n \r\n
    \r\n {this.setState({arbetsuppgifter2: event.target.value, arbetsuppgifter2Error: ''}); this.arbetsuppgifter2IsValid = true;}} inline name=\"arbetsuppgifter2\">4) Håller helt med
    \r\n {this.setState({arbetsuppgifter2: event.target.value, arbetsuppgifter2Error: ''}); this.arbetsuppgifter2IsValid = true;}} inline name=\"arbetsuppgifter2\">3) Håller med till viss del
    \r\n {this.setState({arbetsuppgifter2: event.target.value, arbetsuppgifter2Error: ''}); this.arbetsuppgifter2IsValid = true;}} inline name=\"arbetsuppgifter2\">2) Håller inte med
    \r\n {this.setState({arbetsuppgifter2: event.target.value, arbetsuppgifter2Error: ''}); this.arbetsuppgifter2IsValid = true;}} inline name=\"arbetsuppgifter2\">1) Håller inte alls med
    \r\n {this.state.arbetsuppgifter2Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag har klart för mig hur jag ska prioritera under perioder när det är mycket att göra *\r\n \r\n
    \r\n {this.setState({arbetsuppgifter3: event.target.value, arbetsuppgifter3Error: ''}); this.arbetsuppgifter3IsValid = true;}} inline name=\"arbetsuppgifter3\">4) Håller helt med
    \r\n {this.setState({arbetsuppgifter3: event.target.value, arbetsuppgifter3Error: ''}); this.arbetsuppgifter3IsValid = true;}} inline name=\"arbetsuppgifter3\">3) Håller med till viss del
    \r\n {this.setState({arbetsuppgifter3: event.target.value, arbetsuppgifter3Error: ''}); this.arbetsuppgifter3IsValid = true;}} inline name=\"arbetsuppgifter3\">2) Håller inte med
    \r\n {this.setState({arbetsuppgifter3: event.target.value, arbetsuppgifter3Error: ''}); this.arbetsuppgifter3IsValid = true;}} inline name=\"arbetsuppgifter3\">1) Håller inte alls med
    \r\n {this.state.arbetsuppgifter3Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag känner ansvar för mitt arbetsområde och mina arbetsuppgifter *\r\n \r\n
    \r\n {this.setState({arbetsuppgifter4: event.target.value, arbetsuppgifter4Error: ''}); this.arbetsuppgifter4IsValid = true;}} inline name=\"arbetsuppgifter4\">4) Håller helt med
    \r\n {this.setState({arbetsuppgifter4: event.target.value, arbetsuppgifter4Error: ''}); this.arbetsuppgifter4IsValid = true;}} inline name=\"arbetsuppgifter4\">3) Håller med till viss del
    \r\n {this.setState({arbetsuppgifter4: event.target.value, arbetsuppgifter4Error: ''}); this.arbetsuppgifter4IsValid = true;}} inline name=\"arbetsuppgifter4\">2) Håller inte med
    \r\n {this.setState({arbetsuppgifter4: event.target.value, arbetsuppgifter4Error: ''}); this.arbetsuppgifter4IsValid = true;}} inline name=\"arbetsuppgifter4\">1) Håller inte alls med
    \r\n {this.state.arbetsuppgifter4Error}\r\n
    \r\n
    \r\n \r\n \r\n Totalt sett trivs jag bra med mina arbetsuppgifter *\r\n \r\n
    \r\n {this.setState({arbetsuppgifter5: event.target.value, arbetsuppgifter5Error: ''}); this.arbetsuppgifter5IsValid = true;}} inline name=\"arbetsuppgifter5\">4) Håller helt med
    \r\n {this.setState({arbetsuppgifter5: event.target.value, arbetsuppgifter5Error: ''}); this.arbetsuppgifter5IsValid = true;}} inline name=\"arbetsuppgifter5\">3) Håller med till viss del
    \r\n {this.setState({arbetsuppgifter5: event.target.value, arbetsuppgifter5Error: ''}); this.arbetsuppgifter5IsValid = true;}} inline name=\"arbetsuppgifter5\">2) Håller inte med
    \r\n {this.setState({arbetsuppgifter5: event.target.value, arbetsuppgifter5Error: ''}); this.arbetsuppgifter5IsValid = true;}} inline name=\"arbetsuppgifter5\">1) Håller inte alls med
    \r\n {this.state.arbetsuppgifter5Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på åtgärder för hur mina arbetsuppgifter kan förbättras:\r\n \r\n {this.setState({arbetsuppgifter6: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Kompetensutveckling

    \r\n
    \r\n\r\n \r\n Med den kompetens jag har idag kan jag utföra mitt arbete på ett bra sätt *\r\n \r\n
    \r\n {this.setState({kompetensutv1: event.target.value, kompetensutv1Error: ''}); this.kompetensutv1IsValid = true;}} inline name=\"kompetensutv1\">4) Håller helt med
    \r\n {this.setState({kompetensutv1: event.target.value, kompetensutv1Error: ''}); this.kompetensutv1IsValid = true;}} inline name=\"kompetensutv1\">3) Håller med till viss del
    \r\n {this.setState({kompetensutv1: event.target.value, kompetensutv1Error: ''}); this.kompetensutv1IsValid = true;}} inline name=\"kompetensutv1\">2) Håller inte med
    \r\n {this.setState({kompetensutv1: event.target.value, kompetensutv1Error: ''}); this.kompetensutv1IsValid = true;}} inline name=\"kompetensutv1\">1) Håller inte alls med
    \r\n {this.state.kompetensutv1Error}\r\n
    \r\n
    \r\n\r\n \r\n Jag håller mig uppdaterad inom mitt yrkesområde (t.ex. via nätverksträffar, internet, facktidskrifter) *\r\n \r\n
    \r\n {this.setState({kompetensutv2: event.target.value, kompetensutv2Error: ''}); this.kompetensutv2IsValid = true;}} inline name=\"kompetensutv2\">4) Håller helt med
    \r\n {this.setState({kompetensutv2: event.target.value, kompetensutv2Error: ''}); this.kompetensutv2IsValid = true;}} inline name=\"kompetensutv2\">3) Håller med till viss del
    \r\n {this.setState({kompetensutv2: event.target.value, kompetensutv2Error: ''}); this.kompetensutv2IsValid = true;}} inline name=\"kompetensutv2\">2) Håller inte med
    \r\n {this.setState({kompetensutv2: event.target.value, kompetensutv2Error: ''}); this.kompetensutv2IsValid = true;}} inline name=\"kompetensutv2\">1) Håller inte alls med
    \r\n {this.state.kompetensutv2Error}\r\n
    \r\n
    \r\n \r\n \r\n Ju bättre jag presterar desto större blir mina möjligheter till utveckling (nya arbetsuppgifter, större ansvar) *\r\n \r\n
    \r\n {this.setState({kompetensutv3: event.target.value, kompetensutv3Error: ''}); this.kompetensutv3IsValid = true;}} inline name=\"kompetensutv3\">4) Håller helt med
    \r\n {this.setState({kompetensutv3: event.target.value, kompetensutv3Error: ''}); this.kompetensutv3IsValid = true;}} inline name=\"kompetensutv3\">3) Håller med till viss del
    \r\n {this.setState({kompetensutv3: event.target.value, kompetensutv3Error: ''}); this.kompetensutv3IsValid = true;}} inline name=\"kompetensutv3\">2) Håller inte med
    \r\n {this.setState({kompetensutv3: event.target.value, kompetensutv3Error: ''}); this.kompetensutv3IsValid = true;}} inline name=\"kompetensutv3\">1) Håller inte alls med
    \r\n {this.state.kompetensutv3Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag tycker att kompetensutvecklingen totalt sett är bra *\r\n \r\n
    \r\n {this.setState({kompetensutv4: event.target.value, kompetensutv4Error: ''}); this.kompetensutv4IsValid = true;}} inline name=\"kompetensutv4\">4) Håller helt med
    \r\n {this.setState({kompetensutv4: event.target.value, kompetensutv4Error: ''}); this.kompetensutv4IsValid = true;}} inline name=\"kompetensutv4\">3) Håller med till viss del
    \r\n {this.setState({kompetensutv4: event.target.value, kompetensutv4Error: ''}); this.kompetensutv4IsValid = true;}} inline name=\"kompetensutv4\">2) Håller inte med
    \r\n {this.setState({kompetensutv4: event.target.value, kompetensutv4Error: ''}); this.kompetensutv4IsValid = true;}} inline name=\"kompetensutv4\">1) Håller inte alls med
    \r\n {this.state.kompetensutv4Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på åtgärder för hur kompetensutvecklingen kan förbättras:\r\n \r\n {this.setState({kompetensutv5: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Information

    \r\n
    \r\n\r\n \r\n Jag tycker att Min Sida (och tjänstemannawebben för de som har tillgång) innehåller relevant information *\r\n \r\n
    \r\n {this.setState({information1: event.target.value, information1Error: ''}); this.information1IsValid = true;}} inline name=\"information1\">4) Håller helt med
    \r\n {this.setState({information1: event.target.value, information1Error: ''}); this.information1IsValid = true;}} inline name=\"information1\">3) Håller med till viss del
    \r\n {this.setState({information1: event.target.value, information1Error: ''}); this.information1IsValid = true;}} inline name=\"information1\">2) Håller inte med
    \r\n {this.setState({information1: event.target.value, information1Error: ''}); this.information1IsValid = true;}} inline name=\"information1\">1) Håller inte alls med
    \r\n {this.state.information1Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag tycker att våra avdelnings-/gruppmöten är givande *\r\n \r\n
    \r\n {this.setState({information2: event.target.value, information2Error: ''}); this.information2IsValid = true;}} inline name=\"information2\">4) Håller helt med
    \r\n {this.setState({information2: event.target.value, information2Error: ''}); this.information2IsValid = true;}} inline name=\"information2\">3) Håller med till viss del
    \r\n {this.setState({information2: event.target.value, information2Error: ''}); this.information2IsValid = true;}} inline name=\"information2\">2) Håller inte med
    \r\n {this.setState({information2: event.target.value, information2Error: ''}); this.information2IsValid = true;}} inline name=\"information2\">1) Håller inte alls med
    \r\n {this.state.information2Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag kan i generella drag redogöra för företagets övergripande mål och vision *\r\n \r\n
    \r\n {this.setState({information3: event.target.value, information3Error: ''}); this.information3IsValid = true;}} inline name=\"information3\">4) Håller helt med
    \r\n {this.setState({information3: event.target.value, information3Error: ''}); this.information3IsValid = true;}} inline name=\"information3\">3) Håller med till viss del
    \r\n {this.setState({information3: event.target.value, information3Error: ''}); this.information3IsValid = true;}} inline name=\"information3\">2) Håller inte med
    \r\n {this.setState({information3: event.target.value, information3Error: ''}); this.information3IsValid = true;}} inline name=\"information3\">1) Håller inte alls med
    \r\n {this.state.information3Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag tycker att informationen inom företaget har blivit bättre totalt sett under det senaste året *\r\n \r\n
    \r\n {this.setState({information4: event.target.value, information4Error: ''}); this.information4IsValid = true;}} inline name=\"information4\">JA
    \r\n {this.setState({information4: event.target.value, information4Error: ''}); this.information4IsValid = true;}} inline name=\"information4\">NEJ
    \r\n {this.setState({information4: event.target.value, information4Error: ''}); this.information4IsValid = true;}} inline name=\"information4\">OFÖRÄNDRAT
    \r\n {this.setState({information4: event.target.value, information4Error: ''}); this.information4IsValid = true;}} inline name=\"information4\">VET EJ
    \r\n {this.state.information4Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på åtgärder för hur informationen kan förbättras:\r\n \r\n {this.setState({information5: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Kunder

    \r\n
    \r\n\r\n \r\n Jag känner till våra kommersiella resor (tex programresor, konsert, teater, shopping, spa och kryssningar) och kan översikligt berätta om dem för kunder, vänner och bekanta *\r\n \r\n
    \r\n {this.setState({kunder1: event.target.value, kunder1Error: ''}); this.kunder1IsValid = true;}} inline name=\"kunder1\">4) Håller helt med
    \r\n {this.setState({kunder1: event.target.value, kunder1Error: ''}); this.kunder1IsValid = true;}} inline name=\"kunder1\">3) Håller med till viss del
    \r\n {this.setState({kunder1: event.target.value, kunder1Error: ''}); this.kunder1IsValid = true;}} inline name=\"kunder1\">2) Håller inte med
    \r\n {this.setState({kunder1: event.target.value, kunder1Error: ''}); this.kunder1IsValid = true;}} inline name=\"kunder1\">1) Håller inte alls med
    \r\n {this.state.kunder1Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag känner till våra kunders önskemål och förväntningar *\r\n \r\n
    \r\n {this.setState({kunder2: event.target.value, kunder2Error: ''}); this.kunder2IsValid = true;}} inline name=\"kunder2\">4) Håller helt med
    \r\n {this.setState({kunder2: event.target.value, kunder2Error: ''}); this.kunder2IsValid = true;}} inline name=\"kunder2\">3) Håller med till viss del
    \r\n {this.setState({kunder2: event.target.value, kunder2Error: ''}); this.kunder2IsValid = true;}} inline name=\"kunder2\">2) Håller inte med
    \r\n {this.setState({kunder2: event.target.value, kunder2Error: ''}); this.kunder2IsValid = true;}} inline name=\"kunder2\">1) Håller inte alls med
    \r\n {this.state.kunder2Error}\r\n
    \r\n
    \r\n \r\n \r\n Inom företaget gör vi allt för att överträffa kundernas behov så snabbt och effektivt som möjligt *\r\n \r\n
    \r\n {this.setState({kunder3: event.target.value, kunder3Error: ''}); this.kunder3IsValid = true;}} inline name=\"kunder3\">4) Håller helt med
    \r\n {this.setState({kunder3: event.target.value, kunder3Error: ''}); this.kunder3IsValid = true;}} inline name=\"kunder3\">3) Håller med till viss del
    \r\n {this.setState({kunder3: event.target.value, kunder3Error: ''}); this.kunder3IsValid = true;}} inline name=\"kunder3\">2) Håller inte med
    \r\n {this.setState({kunder3: event.target.value, kunder3Error: ''}); this.kunder3IsValid = true;}} inline name=\"kunder3\">1) Håller inte alls med
    \r\n {this.state.kunder3Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag rekommenderar våra kommersiella resor till mina vänner och bekanta *\r\n \r\n
    \r\n {this.setState({kunder4: event.target.value, kunder4Error: ''}); this.kunder4IsValid = true;}} inline name=\"kunder4\">4) Håller helt med
    \r\n {this.setState({kunder4: event.target.value, kunder4Error: ''}); this.kunder4IsValid = true;}} inline name=\"kunder4\">3) Håller med till viss del
    \r\n {this.setState({kunder4: event.target.value, kunder4Error: ''}); this.kunder4IsValid = true;}} inline name=\"kunder4\">2) Håller inte med
    \r\n {this.setState({kunder4: event.target.value, kunder4Error: ''}); this.kunder4IsValid = true;}} inline name=\"kunder4\">1) Håller inte alls med
    \r\n {this.state.kunder4Error}\r\n
    \r\n
    \r\n \r\n \r\n Förslag på åtgärder för hur kännedomen internt om våra kommersiella resor kan förbättras:\r\n \r\n {this.setState({kunder5: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n

    Företaget

    \r\n
    \r\n\r\n \r\n Jag är stolt över att arbeta i företaget *\r\n \r\n
    \r\n {this.setState({foretaget1: event.target.value, foretaget1Error: ''}); this.foretaget1IsValid = true;}} inline name=\"foretaget1\">4) Håller helt med
    \r\n {this.setState({foretaget1: event.target.value, foretaget1Error: ''}); this.foretaget1IsValid = true;}} inline name=\"foretaget1\">3) Håller med till viss del
    \r\n {this.setState({foretaget1: event.target.value, foretaget1Error: ''}); this.foretaget1IsValid = true;}} inline name=\"foretaget1\">2) Håller inte med
    \r\n {this.setState({foretaget1: event.target.value, foretaget1Error: ''}); this.foretaget1IsValid = true;}} inline name=\"foretaget1\">1) Håller inte alls med
    \r\n {this.state.foretaget1Error}\r\n
    \r\n
    \r\n \r\n \r\n Jag skulle rekommendera mitt företag som en bra arbetsgivare till mina vänner och bekanta *\r\n \r\n
    \r\n {this.setState({foretaget2: event.target.value, foretaget2Error: ''}); this.foretaget2IsValid = true;}} inline name=\"foretaget2\">4) Håller helt med
    \r\n {this.setState({foretaget2: event.target.value, foretaget2Error: ''}); this.foretaget2IsValid = true;}} inline name=\"foretaget2\">3) Håller med till viss del
    \r\n {this.setState({foretaget2: event.target.value, foretaget2Error: ''}); this.foretaget2IsValid = true;}} inline name=\"foretaget2\">2) Håller inte med
    \r\n {this.setState({foretaget2: event.target.value, foretaget2Error: ''}); this.foretaget2IsValid = true;}} inline name=\"foretaget2\">1) Håller inte alls med
    \r\n {this.state.foretaget2Error}\r\n
    \r\n
    \r\n \r\n \r\n Vilka är dina förväntningar på ditt företag för framtiden?\r\n \r\n {this.setState({foretaget3: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n
    \r\n\r\n \r\n Har du någonting annat som du vill framföra till företagsledningen?\r\n \r\n {this.setState({foretaget4: event.target.value});}}\r\n name=\"extraText\"\r\n />\r\n\r\n{/*

    Utvecklingsprojekt

    */}\r\n{/*

    Under det senaste året har vi genomfört två större utvecklingsprojekt – skadeförebyggande arbete tillsammans med Trygg Hansa samt Sparsam körning - och vi vill gärna veta mer om hur du har upplevt dem hittills och hur du skulle önska att vi arbetar vidare med dem.

    */}\r\n{/*
    */}\r\n{/**/}\r\n{/* */}\r\n{/* I november 2019 lanserade vi en ny funktion i Min Sida för inrapportering av fordonsskador och möjligheten att följa sina egna och trafikområdets försäkringsärenden och kostnader månadsvis. Inför detta åkte företagsledningen tillsammans med försäkringsbolaget Trygg Hansa runt på depåerna för att informera om försäkringen, den nya digitala skaderapporten, vår nya förebyggande rutin med skadesamtal och coachning samt den depåtävling som skulle genomföras under 6 månader som en kickstart på projektet. Nu vill vi veta hur du har upplevt det första året med digital skaderapportering och uppföljning via Min Sida. Dela gärna med dig om du har tankar och önskemål kring hur vi kan jobba vidare för att minska frekvensen skador och hålla den fortsatt låg. */}\r\n{/* */}\r\n{/* {this.setState({utvecklingsprojekt1: event.target.value});}}*/}\r\n{/* name=\"extraText\"*/}\r\n{/* />*/}\r\n{/**/}\r\n{/*
    */}\r\n{/**/}\r\n{/* */}\r\n{/* I början på 2020 smög vi igång med ännu en nyhet i Min Sida, nämligen möjligheten för bussförare att följa sin drivmedelsförbrukning. Nu planerar vi för att ta projektet Sparsam körning till nästa nivå. Vi tar gärna dina tankar och tips kring hur vi kan göra det på bästa sätt för att minska vår miljöpåverkan och våra drivmedelskostnader.*/}\r\n{/* */}\r\n{/* {this.setState({utvecklingsprojekt2: event.target.value});}}*/}\r\n{/* name=\"extraText\"*/}\r\n{/* />*/}\r\n{/* */}\r\n{/* */}\r\n{/* */}\r\n{/* Vill du framföra något annat till företagsledningen eller förtydliga/kommentera något till dina svar på de 5 ovanstående frågorna?*/}\r\n{/* */}\r\n{/* {this.setState({kortfri1: event.target.value});}}*/}\r\n{/* name=\"extraText\"*/}\r\n{/* />*/}\r\n{/* */}\r\n
    \r\n\r\n \r\n {this.state.buttonerror}\r\n\r\n\r\n
    \r\n )\r\n }\r\n\r\n\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n };\r\n }\r\n\r\nexport default connect(mapStateToProps, { getUndersokning})(Tjansteman);\r\n","import React from 'react';\r\nimport {Grid, Col, Row } from \"react-bootstrap\";\r\nimport Card from 'components/Card/Card.jsx';\r\nimport { getUndersokning } from \"./actions\";\r\nimport { connect } from \"react-redux\";\r\nimport Forare from \"./forare\";\r\nimport Tjansteman from \"./tjansteman\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nclass Medarbetarundersokning extends React.Component {\r\n componentDidMount() {\r\n this.props.getUndersokning();\r\n }\r\n render(){\r\n return (\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n } />\r\n } />\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n } />\r\n } />\r\n \r\n \r\n \r\n
    );\r\n }\r\n}\r\nfunction mapStateToProps(state) {\r\n return {\r\n undersokning: state.undersokning.undersokning,\r\n isLoadingundersokning: state.undersokning.isLoadingundersokning,\r\n loadingundersokningFailed: state.undersokning.loadingundersokningFailed,\r\n };\r\n }\r\nexport default connect(mapStateToProps, {getUndersokning })(Medarbetarundersokning);\r\n","import React, { Component} from \"react\";\r\n\r\nclass Percentage extends Component {\r\n\r\n render() {\r\n\r\n var percentageValue = this.props.value * 100;\r\n\r\n if (this.props.maxDecimals !== undefined) \r\n {\r\n // parseFloat för vi vill ha 1, 1.01, 1.1 osv inte 1.00, 1.01, 1.10 \r\n percentageValue = parseFloat(percentageValue.toFixed(this.props.maxDecimals));\r\n }\r\n\r\n return ({percentageValue} %);\r\n }\r\n\r\n}\r\nexport default Percentage;\r\n","import React from 'react';\r\n\r\nexport default function LeafPercentageIcon(props) {\r\n\r\n // props.value är 1 för 100%\r\n const icon = props.value < 0.95 \r\n ? \r\n : props.value >= 0.95 && props.value <= 1.05\r\n ? \r\n : props.value > 1.05\r\n ? : null\r\n\r\n return icon;\r\n}","import React from 'react';\r\n\r\nexport default function Number(props){\r\n\r\n const decimals = props.decimals ? props.decimals : 0;\r\n\r\n const value = props.value \r\n ? parseFloat(props.value.toFixed(decimals)) \r\n : props.nullChar ? props.nullChar : null;\r\n\r\n return {value}\r\n}","import { connect } from \"react-redux\";\r\nimport { fetchEcodrivingOverview, fetchEcodrivingDetail} from \"./actions\";\r\nimport Percentage from \"components/formatting/Percentage\";\r\nimport LeafPercentageIcon from './LeafPercentageIcon';\r\n\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport Card from 'components/Card/Card.jsx';\r\nimport StatsCard from \"components/Card/StatsCard.jsx\";\r\nimport Datetime from 'react-datetime';\r\nimport NumberFormat from 'components/formatting/Number';\r\nimport 'assets/css/detailcard.css';\r\n\r\nimport {\r\n FormGroup\r\n} from \"react-bootstrap\";\r\n\r\nimport React, { Component} from \"react\";\r\nimport {\r\n Row,\r\n Col,\r\n Well\r\n } from \"react-bootstrap\";\r\nimport moment from 'moment';\r\nimport 'moment/locale/sv';\r\n\r\nclass EcoDriving extends Component {\r\n constructor(props){\r\n super(props);\r\n\r\n moment().locale('sv');\r\n\r\n this.state = {\r\n detailsDate: new Date()\r\n };\r\n }\r\n componentDidMount()\r\n {\r\n this.props.fetchEcodrivingDetail(moment(this.state.detailsDate).toISOString());\r\n this.props.fetchEcodrivingOverview();\r\n }\r\n\r\n render() {\r\n return (
    \r\n \r\n \r\n \r\n

    Välkommen!

    \r\n

    Här ser du en presentation på hur din bränsleförbrukning är jämfört med dina kollegor. Du jämförs på varje tur du kör och kan se resultaten i procent (%) per dag, per vecka och per månad.

    \r\n
      \r\n
    • Över 100% = Du förbrukar mer än dina kollegor
    • \r\n
    • 100% = Snittet bland kollegorna
    • \r\n
    • Under 100% = Du förbrukar mindre än dina kollegor
    • \r\n
    \r\n

    Du kan välja ett specifikt datum och se hur varje tur gick den dagen.

    \r\n
      \r\n
    • Rött löv = Du förbrukar mer än dina kollegor
    • \r\n
    • Orange löv = Du kör som snittet
    • \r\n
    • Grönt löv = Du förbrukar mindre än dina kollegor
    • \r\n
    \r\n
    } />\r\n \r\n \r\n \r\n \r\n : null}\r\n statsText=\"Min dag\"\r\n statsValue={this.props.overview ? : \"-\"}\r\n statsIconText={ }\r\n />\r\n \r\n \r\n : null}\r\n statsText=\"Min Vecka\"\r\n statsValue={this.props.overview ? : \"-\"}\r\n statsIconText={ }\r\n />\r\n \r\n \r\n : null}\r\n statsText=\"Min Månad\"\r\n statsValue={this.props.overview ? : \"-\"}\r\n statsIconText={ }\r\n />\r\n \r\n \r\n }\r\n statsText=\"Min förändring mot föregående månad\"\r\n statsValue={this.props.overview ? : \"-\"}\r\n statsIconText={ }\r\n />\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n

    Dagens Turer

    \r\n
    \r\n
    \r\n \r\n {\r\n this.setState({\r\n detailsDate: newDate\r\n }, () => {\r\n this.props.fetchEcodrivingDetail(moment(this.state.detailsDate).toISOString());\r\n });\r\n }}\r\n value={this.state.detailsDate}\r\n className=\"datetime-width\"\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n { this.props.detailLoading ? \r\n \r\n \r\n : this.props.detailFailed ? \r\n : this.props.detail.length > 0 ? this.props.detail.map((prop, key) => {\r\n return \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }) : null}\r\n \r\n
    TurBussJämförelseindexDistans (km)Medeltemperatur (C)Snittförbrukning (l/mil)
    {prop.turbeskrivning}{prop.fordonRegistreringsnummer}
    \r\n
    \r\n


    \r\n { this.props.detailLoading ? \r\n \r\n : this.props.detailFailed ?

    \r\n : this.props.detail.length > 0 ? this.props.detail.map((prop, key) => {\r\n return
    \r\n
    \r\n
    \r\n
    Tur
    \r\n {prop.turbeskrivning}\r\n
    \r\n
    \r\n
    \r\n
    Fordon
    \r\n {prop.fordonRegistreringsnummer}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Jämförelseindex
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    Distans (km)
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Medeltemperatur (C)
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    Snittförbrukning (l/mil)
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n }) : null}\r\n
    \r\n \r\n } />\r\n \r\n
    \r\n )\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n\t\t\tdetail: state.ecodriving.detail,\r\n\t\t\tdetailLoading: state.ecodriving.detailLoading,\r\n\t\t\tdetailFailed: state.ecodriving.detailFailed,\r\n\t\t\toverview: state.ecodriving.overview,\r\n\t\t\toverviewLoading: state.ecodriving.overviewLoading,\r\n\t\t\toverviewFailed: state.ecodriving.overviewFailed,\r\n };\r\n }\r\n\r\nexport default connect(mapStateToProps, { fetchEcodrivingOverview, fetchEcodrivingDetail }) (EcoDriving)","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { fetchSchema } from \"./actions\";\r\nimport Card from 'components/Card/Card';\r\nimport DateC from 'components/formatting/Date';\r\nimport Time from 'components/formatting/Time';\r\n\r\nimport { Col, Row, FormGroup,\r\n FormControl\r\n} from 'react-bootstrap';\r\nimport moment from 'moment';\r\nimport 'moment/locale/sv';\r\n\r\n\r\nclass Schema extends React.Component {\r\n constructor(props)\r\n {\r\n super(props);\r\n \r\n moment().locale('sv');\r\n\r\n this.state = {\r\n yearError: null,\r\n year: new Date().getFullYear(),\r\n month: new Date().getMonth() + 1,\r\n monthError: null,\r\n }\r\n this.yearIsValid = true;\r\n }\r\n maxYear = new Date().getFullYear() + 5\r\n minYear = new Date().getFullYear() - 5\r\n componentDidMount() {\r\n\r\n this.props.fetchSchema(this.state.year, this.state.month);\r\n }\r\n\r\n validateYear() {\r\n if (this.state.year >= this.minYear && this.state.year <= this.maxYear)\r\n {\r\n this.yearIsValid = true;\r\n this.setState({\r\n yearError: null\r\n });\r\n } \r\n else \r\n {\r\n this.yearIsValid = false;\r\n this.setState({\r\n yearError: 'Felaktigt årtal'\r\n });\r\n }\r\n \r\n }\r\n\r\n handleYearChange(event) {\r\n\r\n this.setState({\r\n year: event.target.value\r\n }, () => {\r\n this.validateYear();\r\n\r\n if (this.yearIsValid) {\r\n this.props.fetchSchema(this.state.year, this.state.month);\r\n }\r\n\r\n });\r\n }\r\n\r\n handleMonthChange(event){\r\n this.setState({\r\n month: event.target.value\r\n }, () => {\r\n this.props.fetchSchema(this.state.year, this.state.month);\r\n });\r\n }\r\n months = [\r\n { id: 1, name: 'Januari'},\r\n { id: 2, name: 'Februari'},\r\n { id: 3, name: 'Mars'},\r\n { id: 4, name: 'April'},\r\n { id: 5, name: 'Maj'},\r\n { id: 6, name: 'Juni'},\r\n { id: 7, name: 'Juli'},\r\n { id: 8, name: 'Augusti'},\r\n { id: 9, name: 'September'},\r\n { id: 10, name: 'Oktober'},\r\n { id: 11, name: 'November'},\r\n { id: 12, name: 'December'},\r\n ]\r\n render(){ \r\n\r\n\r\n return (
    \r\n \r\n \r\n
    \r\n \r\n \r\n this.handleYearChange(event)}\r\n />\r\n\r\n \r\n \r\n this.handleMonthChange(event)}\r\n >\r\n {this.months.map((item, key) => {\r\n return \r\n })}\r\n \r\n {this.state.monthError}\r\n \r\n
    \r\n }\r\n content={\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n { this.props.isLoadingSchema \r\n ? : null }\r\n {!this.props.isLoadingSchema ?\r\n this.props.schema.map((item, key) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n })\r\n : null }\r\n \r\n
    DatumDagStarttidSluttidBeskrivning
    Laddar schema..
    \r\n \r\n \r\n {item.starttidDayName}\r\n \r\n \r\n \r\n {item.beskrivning}\r\n
    \r\n }\r\n />\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n this.handleYearChange(event)}\r\n />\r\n\r\n \r\n \r\n this.handleMonthChange(event)}\r\n >\r\n {this.months.map((item, key) => {\r\n return \r\n })}\r\n \r\n {this.state.monthError}\r\n \r\n
    \r\n { this.props.isLoadingSchema \r\n ?

    Laddar schema..

    : null }\r\n { !this.props.isLoadingSchema\r\n ? this.props.schema.map((item, key) => {\r\n return \r\n \r\n \r\n
    Datum
    \r\n \r\n
    \r\n \r\n \r\n
    Dag
    \r\n {item.starttidDayName}\r\n
    \r\n \r\n
    \r\n \r\n \r\n
    Starttid
    \r\n
    \r\n \r\n \r\n
    Sluttid
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n
    Beskrivning
    \r\n {item.beskrivning}\r\n
    \r\n \r\n
    \r\n
    \r\n } />\r\n }) : null\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\nfunction mapStateToProps(state) {\r\n return {\r\n schema: state.bpluppdrag.schema,\r\n schemaTimestamp: state.bpluppdrag.schemaTimestamp,\r\n isLoadingSchema: state.bpluppdrag.isLoadingSchema,\r\n loadingSchemaFailed: state.bpluppdrag.loadingSchemaFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { fetchSchema })(Schema);","import React, { Component} from \"react\";\r\n\r\nclass Currency extends Component {\r\n\r\n\r\n render() {\r\n return ({this.props.value} kr);\r\n }\r\n\r\n}\r\nexport default Currency;\r\n","import React, { Component} from \"react\";\r\nimport Card from \"components/Card/Card\";\r\nimport DateC from 'components/formatting/Date';\r\nimport Currency from 'components/formatting/Currency';\r\nimport LoadingIcon from 'components/utils/LoadingIcon';\r\n\r\nclass IncidentListTable extends Component {\r\n render() {\r\n return \r\n \r\n \r\n Rubrik\r\n Datum\r\n Kategori\r\n Beskrivning\r\n Kostnad\r\n \r\n \r\n { this.props.rowsIsLoading ? \r\n \r\n : this.props.rowsLoadingFailed ? \r\n : this.props.rows != null ? \r\n { this.props.rows.resultList.map((item, key) => {\r\n return (\r\n \r\n {item.rubrik}\r\n \r\n {item.fordonsskada.forsakringsKategori}\r\n {item.fordonsskada.handelseBeskrivning}\r\n \r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n Summa: \r\n \r\n \r\n : null\r\n }\r\n \r\n \r\n \r\n } />;\r\n }\r\n}\r\nexport default IncidentListTable;","import React, { Component} from \"react\";\r\nimport Card from \"components/Card/Card\";\r\nimport DateC from 'components/formatting/Date';\r\nimport Currency from 'components/formatting/Currency';\r\nimport LoadingIcon from 'components/utils/LoadingIcon';\r\n\r\nclass IncidentListCards extends Component {\r\n render() {\r\n return \r\n {this.props.commandBar}\r\n \r\n { this.props.rowsIsLoading ? \r\n \r\n : this.props.rowsLoadingFailed ? \r\n : this.props.rows != null ?
    \r\n { this.props.rows.resultList.map((item, key) => {\r\n return (\r\n
    \r\n \r\n

    {item.rubrik}

    \r\n \r\n

    \r\n \r\n

    {item.fordonsskada.forsakringsKategori}

    \r\n \r\n

    {item.fordonsskada.handelseBeskrivning}

    \r\n
    \r\n \r\n

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

    Summa:

    \r\n
    \r\n
    \r\n : null\r\n }\r\n \r\n \r\n \r\n } />;\r\n }\r\n}\r\nexport default IncidentListCards;","import React, { Component} from \"react\";\r\nimport Card from \"components/Card/StatsCard\";\r\n\r\nclass SummaCard extends Component {\r\n render() {\r\n return ;\r\n }\r\n}\r\nexport default SummaCard;","import React, { Component } from \"react\";\r\n\r\nclass ColViewSwitch extends Component {\r\n\r\n render() {\r\n return (\r\n
    \r\n
    {this.props.lg}
    \r\n
    {this.props.md}
    \r\n
    {this.props.sm}
    \r\n
    {this.props.xs}
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default ColViewSwitch;","import React, { Component} from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport IncidentListTable from \"./IncidentListTable\";\r\nimport IncidentListCards from \"./IncidentListCards\";\r\nimport SummaCard from \"./SummaCard\";\r\nimport { fetchForsakringUppfoljning } from '../actions';\r\nimport Currency from 'components/formatting/Currency';\r\nimport LoadingIcon from 'components/utils/LoadingIcon';\r\nimport ColViewSwitch from 'components/utils/ColViewSwitch';\r\n\r\nimport { Col, Row, FormGroup,\r\n FormControl,\r\n} from 'react-bootstrap';\r\n\r\nclass ForsakringUppfoljning extends Component {\r\n constructor(props)\r\n {\r\n super(props);\r\n this.state = {\r\n yearError: null,\r\n year: new Date().getFullYear(),\r\n month: new Date().getMonth() + 1,\r\n monthError: null,\r\n }\r\n this.yearIsValid = true;\r\n }\r\n maxYear = new Date().getFullYear() + 5\r\n minYear = new Date().getFullYear() - 5\r\n\r\n componentDidMount() {\r\n this.props.fetchForsakringUppfoljning(this.state.year, this.state.month);\r\n }\r\n\r\n validateYear() {\r\n if (this.state.year >= this.minYear && this.state.year <= this.maxYear)\r\n {\r\n this.yearIsValid = true;\r\n this.setState({\r\n yearError: null\r\n });\r\n } \r\n else \r\n {\r\n this.yearIsValid = false;\r\n this.setState({\r\n yearError: 'Felaktigt årtal'\r\n });\r\n }\r\n \r\n }\r\n\r\n handleYearChange(event) {\r\n\r\n this.setState({\r\n year: event.target.value\r\n }, () => {\r\n this.validateYear();\r\n\r\n if (this.yearIsValid) {\r\n this.props.fetchForsakringUppfoljning(this.state.year, this.state.month);\r\n }\r\n\r\n });\r\n }\r\n\r\n handleMonthChange(event) {\r\n this.setState({\r\n month: event.target.value\r\n }, () => {\r\n if (this.yearIsValid) {\r\n this.props.fetchForsakringUppfoljning(this.state.year, this.state.month);\r\n }\r\n });\r\n }\r\n months = [\r\n { id: 1, name: 'Januari'},\r\n { id: 2, name: 'Februari'},\r\n { id: 3, name: 'Mars'},\r\n { id: 4, name: 'April'},\r\n { id: 5, name: 'Maj'},\r\n { id: 6, name: 'Juni'},\r\n { id: 7, name: 'Juli'},\r\n { id: 8, name: 'Augusti'},\r\n { id: 9, name: 'September'},\r\n { id: 10, name: 'Oktober'},\r\n { id: 11, name: 'November'},\r\n { id: 12, name: 'December'},\r\n ]\r\n renderSummaCard1() {\r\n return (} \r\n value={this.props.isLoadingForsakringUppfoljning ? \"-\"\r\n : this.props.forsakringUppfoljning != null \r\n ? \r\n : \"-\"}\r\n stats= {\r\n \r\n }\r\n\r\n />);\r\n }\r\n renderSummaCard2() {\r\n return (} \r\n value={this.props.isLoadingForsakringUppfoljning ? \"-\" \r\n : this.props.forsakringUppfoljning != null \r\n ? \r\n : \"-\"}\r\n stats= {\r\n \r\n }\r\n />);\r\n }\r\n renderCommandBar() {\r\n return (\r\n
    \r\n \r\n this.handleYearChange(event)}\r\n />\r\n\r\n \r\n \r\n this.handleMonthChange(event)}\r\n >\r\n {this.months.map((item, key) => {\r\n return \r\n })}\r\n \r\n {this.state.monthError}\r\n \r\n
    \r\n );\r\n }\r\n renderSmall() {\r\n return (\r\n \r\n {this.renderSummaCard1()}\r\n \r\n \r\n {this.renderSummaCard2()}\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n renderLarge() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.renderSummaCard1()}\r\n \r\n \r\n \r\n \r\n {this.renderSummaCard2()}\r\n \r\n \r\n \r\n );\r\n }\r\n render() {\r\n return
    \r\n \r\n \r\n
    ;\r\n }\r\n}\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n forsakringUppfoljning: state.incident.forsakringUppfoljning,\r\n isLoadingForsakringUppfoljning: state.incident.isLoadingForsakringUppfoljning,\r\n loadingForsakringUppfoljningFailed: state.incident.loadingForsakringUppfoljningFailed,\r\n };\r\n }\r\nexport default connect(mapStateToProps, { fetchForsakringUppfoljning })(ForsakringUppfoljning);\r\n","import React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport Card from \"components/Card/Card.jsx\";\r\nimport CustomButton from \"components/CustomButtons/CustomButton.jsx\";\r\nimport {appConfig} from \"config/appConfig\";\r\nimport * as serviceWorker from 'serviceWorker';\r\n\r\nclass Reset extends React.Component {\r\n \r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n showResetButton: true\r\n }\r\n }\r\n\r\n onResetClick = () => {\r\n \r\n window.localStorage.clear(); \r\n serviceWorker.unregister();\r\n this.setState({\r\n showResetButton: false\r\n })\r\n console.log('rensat');\r\n }\r\n\r\n render() {\r\n\r\n return ( \r\n \r\n

    Återställ appen genom att klicka på knappen. Då rensas appens cache och appens servicejobb avinstalleras.

    \r\n { this.state.showResetButton ? Återställ :

    Appen är nu återställd. Klicka här för att använda {appConfig.title} på nytt

    }\r\n \r\n } />) \r\n }\r\n}\r\n\r\nexport default connect()(Reset);","import React from \"react\";\r\n// import Card from \"components/Card/Card.jsx\";\r\nimport Reset from \"components/Support/Reset\";\r\n// import Debuginfo from \"components/Support/Debuginfo\";\r\n\r\nclass DashboardHelp extends React.Component {\r\n \r\n render() {\r\n return (\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {/*
    \r\n
    \r\n \r\n
    \r\n
    */}\r\n
    \r\n \r\n );\r\n }\r\n}\r\n\r\n\r\nexport default DashboardHelp;","import React from 'react';\r\nimport \"assets/css/krishantering.css\";\r\n\r\nclass Busschaufforer extends React.Component {\r\n/*\r\nI anslutning till checklistan för busschaufförer (enbart de som har befattning bussförare) skall även kontaktperson visas. Kontaktperson är närmsta chef (och det finns i personalregistret). Även telefonnummer till kontaktpersonen skall visas och det måste hämtas från personalregistret (så detta måste nog bli en slagning till, men lösning är valfri bara det hämtas på något sätt).\r\n\r\n*/\r\n render() {\r\n return( \r\n
    \r\n

    Du råkar ut för olycka med personskador

    \r\n

    Larma SOS 112 (hellre en gång för mycket än för lite)

    \r\n

    \r\n Vart har olyckan skett
    \r\n Vägnummer
    \r\n Ort/plats
    \r\n Vad har skett
    \r\n Finns personskador
    \r\n Finns risk att skadorna kan förvärras (brand explosion kläm)\r\n

    \r\n\r\n

    Säkra platsen

    \r\n

    Sätt ut varningstriangel så att andra trafikanter ej förvärrar olyckan

    \r\n\r\n

    Vid behov inled akut räddningsarbete (ABC)

    \r\n

    Kolla om sjukvårdspersonal finns bland resenärerna

    \r\n\r\n

    Meddela trafikledningen

    \r\n

    Trafikledningen ombesörjer att Du får den hjälp som du behöver samt tillkallar ev reservfordon/förare mm

    \r\n\r\n

    Ge besked till resenärerna om vad som händer

    \r\n

    Alla resenärer sitter kvar i bussen och vill få lägesinformation

    \r\n\r\n

    Prata inte med tidningar, TV mm utan hänvisa till företagets trafikledning

    \r\n

    Säg gärna att Ni inte orkar svara på frågor just nu, ett svar som brukar accepteras i ett krisläge.

    \r\n\r\n

    Om skadan är lindrig och du ej är i behov av akut hjälp (inga passagerare), eller vid incident/tillbud

    \r\n

    Meddela trafikledningen

    \r\n

    Redogör för händelsen, ev förseningar, bussbyten m.m.
    \r\n Dokumentera olycksplatsen ev skador med din mobilkamera\r\n

    \r\n
    )\r\n } \r\n}\r\n\r\nexport default Busschaufforer;\r\n","import React from 'react';\r\n\r\nclass KommunikationsSamordnare extends React.Component {\r\n\r\n render() {\r\n return(
    \r\n

    1.\tProducera och distribuera information (se rutiner för kriskommunikation)

    \r\n

    2.\tSäkerställ att intern och extern information samordnas/synkas

    \r\n

    3.\tSäkerställ att krisgruppen beslutar om vem som informerar arbetsmiljöverket, Länsstyrelse, Kommunens ledning och övriga intressenter såsom Länstrafikbolag, Kollektivtrafikmyndigheter m.fl.

    \r\n

    4.\tSe till att Intranätet uppdateras ofta och regelbundet

    \r\n

    5.\tSe till att växeln får tillgång till all information som skickas ut

    \r\n

    6.\tOmvärldsbevaka via alla kanaler och förse krisledaren med information

    \r\n

    7.\tUtvärdera informationsbehovet utifrån varje situation och rekommendera insatser

    \r\n

    8.\tVid behov/om nödvändigt, anordna pressträff:

    \r\n
      \r\n
    • Se till att endast journalister deltar
    • \r\n
    • Undvik att hålla träffen i egna lokaler om möjligt (ingen logotyp i lokalen)
    • \r\n
    • Ta eventuellt in andra aktörer som medverkande, t ex räddningstjänst eller länsstyrelse
    • \r\n
    • Se till att pressmeddelande eller annan dokumentation kan delas ut till deltagarna
    • \r\n
    \r\n

    9.\tSveriges Radios trafik- och samhällsinformation, tel 020-999 444, kan snabbt informera om händelser som behöver komma till allmänhetens kännedom

    \r\n

    10.\tVid större bussolycka meddela Sveriges Bussföretag om det inträffade samt vilka åtgärder som vidtagits. Fråga gärna om råd om fortsatt hantering av media. Det bistår i arbetet vid stora kriser och katastrofer

    \r\n
    )\r\n } \r\n}\r\n\r\nexport default KommunikationsSamordnare;\r\n","import React from 'react';\r\n\r\nclass Trafikledare extends React.Component {\r\n\r\n render() {\r\n return(
    \r\n

    1.\tKontrollera om larm har gått till räddningstjänsten

    \r\n

    2.\tOavsett vad som har hänt är det viktigt att trafikledningen i första hand utgår från att föraren inte bör köra vidare. Även om t ex skolan i gärna vill att vi ska köra eleverna fram till skolan där deras krisgrupp tar vid så måste vi vara 100 % säkra på att den förare som ska fullfölja körningen är kapabel till detta och att det utifrån situation är lämpligt

    \r\n

    3.\tVid trafikolycka/incident stäm av med myndighetsperson på plats om fordonet får flyttas, samt om det behöver vara tillgängligt på depå eller verkstad för ex teknisk undersökning i efterhand. Säkerställ alltid att polis gett klartecken till att fordonet får tas i trafik innan så görs

    \r\n

    4.\tBe föraren att återigen kontrollera med resenärerna om det är någon som känner sig skadad på något sätt? Undvik bedömningsfrågor utan ställ i möjligaste mån frågor som besvaras med ”ja” eller ”nej”. Föraren kan vara skärrad eller chockad och därför göra oriktiga bedömningar

    \r\n

    5.\tVilken information ska föraren ge till de resenärer som är kvar på platsen? Här är det viktigt att försöka gå ut med ett rakt besked t ex ”en ambulans är på väg för att ta hand om de skadade. Sitt lugnt kvar så kommer det att komma en ny buss och förare som kör er vidare”. Be sedan resenärer som vill något övrigt att kontakta bolaget senare

    \r\n

    6.\tSkicka ut personal till platsen för ta hand om föraren och representera företaget gentemot passagerare och eventuell räddningspersonal

    \r\n

    7.\tInformera krisgruppen. Vid en katastrof (se definition sid 3) ska bolags-vd/krisledaren även kalla samtliga ägare i Björks & Byberg till krismötet. I andra fall gör vd normalt bedömningen om händelsen är av den karaktären att ägarna behöver kallas, eller om det är tillräckligt att de informeras i efterhand. Vd eller dennes ställföreträdare är operativt ansvarig för händelser inom sitt område. Information till krisgruppen utförs via sms till samtliga gruppmedlemmar + aktuell trafikledning. Därefter ringer trafikledaren upp vd eller dennes ställföreträdare och meddelar:

    \r\n
      \r\n
    • Vad som har hänt
    • \r\n
    • Plats för det inträffade
    • \r\n
    • Antal inblandade
    • \r\n
    • Vilka konsekvenser händelsen kan få
    • \r\n
    \r\n

    OBS! Tänk på att aldrig använda jourtelefonen vid telefonmöten mm. Den måste vara öppen för inkommande samtal.

    \r\n\r\n

    Företagets utsände på olycksplatsen (punkt 6 ovan)

    \r\n

    Denne person fungerar som trafikledningens förlängda arm ute på platsen för händelsen. Så snart krisgruppen är aktiverad rapporterar personen direkt till krisledaren. Den utsände sköter allt av praktisk och lokal karaktär i samråd med berörda myndigheter på plats. Krisledaren tar alla större beslut samt hanterar media.

    \r\n

    Arbetsuppgifter företagets utsände:

    \r\n
      \r\n
    • Bistå polis, räddningsledare och andra inblandade på plats
    • \r\n
    • Ombesörj eventuell hemtransport eller transport till samlingsplats för icke skadade, efter avstämning med polis och läkare på olycksplatsen
    • \r\n
    • Säkra tillsammans med räddningsledning att inblandade i olycka som sänds hem inte blir lämnade helt ensamma
    • \r\n
    • Se till att bagage och tillhörigheter blir omhändertagna efter att ha stämt av med polis och förvara bagaget på stöldsäker plats
    • \r\n
    • Stäm av med polis gällande den tekniska utrustningen ombord, får färdskrivardata kopieras, kan biljettmaskin plockas ur osv
    • \r\n
    • Ta fram namn på passagerarna, stäm av med polis
    • \r\n
    \r\n
    )\r\n } \r\n}\r\n\r\nexport default Trafikledare;\r\n","import React from 'react';\r\n\r\nclass Krisledare extends React.Component {\r\n\r\n render() {\r\n return(
    \r\n

    1.\tStäm av händelsen med trafikledaren och gå igenom checklista för trafikledare för att ta reda på vad som har hänt är vilka åtgärder som är gjorda hittills. Låt därefter trafikledaren lösa det praktiska med ersättningsfordon, ny förare eller liknande (beroende på händelse)

    \r\n

    2.\tSammankalla krisgruppen så snart som möjligt för en första avstämning på telefon, om detta inte redan är gjort av trafik-/driftledare eller jour. Kallelse skickas ut på sms med text:

    \r\n
      \r\n
    • Kallelse till krisgruppsmöte
    • \r\n
    • klockslag för mötet
    • \r\n
    • telefonnummer och möteskod
    • \r\n
    \r\n

    3.\tFörsta mötet: Börja med att strukturera upp vad som inträffat och se till att hela gruppen har en enhetlig bild av situationen

    \r\n

    Fördela följande roller och arbetsuppgifter (en person kan tilldelas flera roller);

    \r\n
      \r\n
    • Krisledare och biträdande krisledare
    • \r\n
    • Presstalesperson (normalt krisledaren)
    • \r\n
    • Kommunikationssamordnare (se rutiner för kriskommunikation)
    • \r\n
    • Inhämta information om föraren (ålder, arbetsmängd dagarna före händelsen, ev sjukdomshistorik m.m. som kan vara relevant)
    • \r\n
    • Inhämta information om fordonet (däck, alkolås, service, rapporterade fel m.m. som kan vara relevant)
    • \r\n
    • Sekreterare för mötet (för protokoll över rollfördelning, beslut m.m.)
    • \r\n
    \r\n

    4.\tSe till att trafikledningen/växel öppnas/bemannas (om det är utanför kontorstid) och informera om vem som är företagets talesperson (namn och kontaktuppgifter)

    \r\n

    5.\tSäkerställ att kundkontakter hanteras, prioriteras och sköts korrekt, oavsett om det är via telefon, e-post eller sociala medier

    \r\n

    6.\tSäkerställ att medarbetare, uppdragsgivare och media informeras enligt bifogade kriskommunikationsrutiner

    \r\n

    7.\tSkaffa kommunikationsvägar in till räddningstjänst, polis, sjukhus m.m.

    \r\n

    8.\tBestäm vem som tar hand om praktiska kontakter (fack, arbetsmiljöverket, försäkringsbolag, kunder, skola)

    \r\n

    9.\tBestäm vilka som ska besöka eventuella skadade på sjukhus

    \r\n

    10.\tVid medarbetares dödfall, följ separat checklista

    \r\n

    11.\tKalla vid behov till informationsmöte på arbetsplatsen samma dag. Se till att de medarbetare som vill ha hjälp och stöd får den hjälp de behöver.

    \r\n

    12.\tÅtersamla krisgruppen en gång i timmen, oftare vid behov, under den akuta fasen

    \r\n

    13.\tUtvärdera kontinuerligt att arbetet fungerar tillfredsställande. Klarar varje ansvarig av sina områden eller behöver man hjälp i denna situation?

    \r\n

    14.\tUndersök om medarbetare måste avlösas under dagen för att få möjlighet till samtal. Gäller såväl trafikledning som medlemmar i krisgruppen. Säg ifrån om du själv behöver en paus och delegera arbetet till din biträdande krisledare

    \r\n

    15.\tTag tidigt kontakt med övriga som berörts av olyckan och boka eventuella möten

    \r\n

    16.\tNär den akuta fasen är över är det viktigt att prioritera efterarbetet. Se sidan 5 i Krishanteringsplanen.

    \r\n
    )\r\n } \r\n}\r\n\r\nexport default Krisledare;\r\n","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport Busschaufforer from \"./CheckLists/Busschaufforer\";\r\nimport KommunikationSamordnare from \"./CheckLists/KommunikationSamordnare\";\r\nimport Trafikledare from \"./CheckLists/Trafikledare\";\r\nimport Krisledare from \"./CheckLists/Krisledare\";\r\nimport { getClaimArray } from \"system/security\";\r\n\r\nclass CheckList extends React.Component {\r\n \r\n renderChecklist(positions){\r\n \r\n\r\n // positions kan vara endera sträng eller sträng[]\r\n // update 20191214 positions hämtas nu som en array så vi kan TODO refactora denna kod att alltid kolla efter en array\r\n\r\n /* \r\n Om en person har flera befattningar så gäller denna rangordning (alltså om en person är både VD och bussförare så ska till exempel bara krisledarechecklistan visas):\r\n Krisledare -> Kommunikationssamordnare -> Trafikledare -> Busschaufförer.\r\n\r\n Krisledare:\r\n - VD\r\n - Regionchef\r\n Kommunikation:\r\n - Samordnare PR- och marknadskommunikation\r\n - HR-chef\r\n Trafikledare\r\n - Områdeschef\r\n - Trafikledare\r\n - Driftledare\r\n Busschauför:\r\n - Bussförare\r\n\r\n // ytterligare bussförare\r\n Fordonstekniker\r\n Verkstadsansvarig\r\n Ekonom\r\n Ekonomiassistent\r\n Fastighetsansvarig\r\n Extern\r\n Förstemekaniker\r\n Löneadministratör\r\n Lönespecialist\r\n */\r\n\r\n // console.log('is array', Array.isArray(positions));\r\n\r\n if (Array.isArray(positions)) {\r\n if ((positions.indexOf(\"VD\") > -1) || (positions.indexOf(\"Regionchef\") > -1)) {\r\n return \r\n } else if ((positions.indexOf(\"Samordnare PR- och marknadskommunikation\") > -1) || (positions.indexOf(\"HR-chef\") > -1)) {\r\n return \r\n } else if ((positions.indexOf(\"Områdeschef\") > -1) || (positions.indexOf(\"Trafikledare\") > -1)|| (positions.indexOf(\"Driftledare\") > -1)) {\r\n return \r\n \r\n } else if ((positions.indexOf(\"Bussförare\") > -1)\r\n || (positions.indexOf(\"Fordonstekniker\") > -1)\r\n || (positions.indexOf(\"Verkstadsansvarig\") > -1)\r\n || (positions.indexOf(\"Ekonom\") > -1)\r\n || (positions.indexOf(\"Ekonomiassistent\") > -1)\r\n || (positions.indexOf(\"Fastighetsansvarig\") > -1)\r\n || (positions.indexOf(\"Extern\") > -1)\r\n || (positions.indexOf(\"Förstemekaniker\") > -1)\r\n || (positions.indexOf(\"Löneadministratör\") > -1)\r\n || (positions.indexOf(\"Lönespecialist\") > -1) \r\n ) {\r\n return \r\n \r\n }\r\n } else {\r\n if (positions === \"VD\" || positions === \"Regionchef\") {\r\n return \r\n } else if (positions === \"Samordnare PR- och marknadskommunikation\" || positions === \"HR-chef\") {\r\n return \r\n } else if (positions === \"Trafikledare\" || positions === \"Trafikledare\" || positions === \"Driftledare\") {\r\n return \r\n } else if (positions === \"Bussförare\"\r\n || positions === \"Fordonstekniker\"\r\n || positions === \"Verkstadsansvarig\"\r\n || positions === \"Ekonom\"\r\n || positions === \"Ekonomiassistent\"\r\n || positions === \"Fastighetsansvarig\"\r\n || positions === \"Extern\"\r\n || positions === \"Förstemekaniker\"\r\n || positions === \"Löneadministratör\"\r\n || positions === \"Lönespecialist\"\r\n ) {\r\n return \r\n } else {\r\n return null;\r\n }\r\n }\r\n\r\n }\r\n\r\n render(){ \r\n return (\r\n
    {this.renderChecklist(getClaimArray(\"IntraPosition\", this.props.userprofile))}
    \r\n );\r\n }\r\n}\r\n\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n userprofile: state.userprofile.userprofile,\r\n user: state.oidc.user\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps)(CheckList);","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { fetchDocumentsByCompanyArea,downloadDocumentFileByCompanyArea } from \"./actions\";\r\nimport Button from 'components/CustomButtons/CustomButton.jsx';\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\n\r\nclass DocumentList extends React.Component {\r\n\r\n constructor(props){\r\n super(props);\r\n\r\n this.handleDownloadFile.bind(this);\r\n }\r\n componentDidMount() {\r\n this.props.fetchDocumentsByCompanyArea();\r\n }\r\n\r\n handleDownloadFile(filename) {\r\n this.props.downloadDocumentFileByCompanyArea(filename);\r\n }\r\n\r\n render(){ \r\n return ({this.props.documents.length > 0 ? this.props.documents.map((item, key) => {\r\n return ({item.filename})\r\n }) : null}} text=\"Laddar dokument..\" isLoading={this.props.isLoadingDocuments} loadingFailed={this.props.loadingDocumentsFailed} />);\r\n }\r\n}\r\n\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n documents: state.krishantering.documents,\r\n documentsTimestamp: state.krishantering.documentsTimestamp,\r\n isLoadingDocuments: state.krishantering.isLoadingDocuments,\r\n loadingDocumentsFailed: state.krishantering.loadingDocumentsFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { fetchDocumentsByCompanyArea, downloadDocumentFileByCompanyArea })(DocumentList);","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\nimport { openFileWindow } from \"system/util.js\";\r\n\r\nexport const KRISHANTERING_GET_DOCUMENTS = \"KRISHANTERING_GET_DOCUMENTS\";\r\nexport const KRISHANTERING_GET_DOCUMENTS_SUCCESS = \"KRISHANTERING_GET_DOCUMENTS_SUCCESS\";\r\nexport const KRISHANTERING_GET_DOCUMENTS_FAILED = \"KRISHANTERING_GET_DOCUMENTS_FAILED\";\r\n\r\nexport const KRISHANTERING_GET_FILE = \"KRISHANTERING_GET_FILE\";\r\nexport const KRISHANTERING_GET_FILE_SUCCESS = \"KRISHANTERING_GET_FILE_SUCCESS\";\r\nexport const KRISHANTERING_GET_FILE_FAILED = \"KRISHANTERING_GET_FILE_FAILED\";\r\n\r\nexport const KRISHANTERING_GET_BOSSINFO = \"KRISHANTERING_GET_BOSSINFO\";\r\nexport const KRISHANTERING_GET_BOSSINFO_SUCCESS = \"KRISHANTERING_GET_BOSSINFO_SUCCESS\";\r\nexport const KRISHANTERING_GET_BOSSINFO_FAILED = \"KRISHANTERING_GET_BOSSINFO_FAILED\";\r\n\r\n\r\nexport function fetchBossInfo() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_BOSSINFO});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/bossinfo'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: KRISHANTERING_GET_BOSSINFO_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_BOSSINFO_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta närmsta chef information misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function fetchDocumentsByCompanyArea() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_DOCUMENTS});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/documents/bycompanyarea'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: KRISHANTERING_GET_DOCUMENTS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_DOCUMENTS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokument misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function downloadDocumentFileByCompanyArea(filename) {\r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_FILE});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/downloadfile/bycompanyarea/?filename=').concat(filename), getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: KRISHANTERING_GET_FILE_SUCCESS, payload: dataResult});\r\n \r\n //console.log('got file', dataResult);\r\n openFileWindow(dataResult.data.result);\r\n }\r\n \r\n )\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_FILE_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokumentfil misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n}\r\n\r\nexport function fetchDocumentsByCompanyPosition() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_DOCUMENTS});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/documents/bycompanyposition'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: KRISHANTERING_GET_DOCUMENTS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_DOCUMENTS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokument misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function downloadDocumentFileByCompanyPosition(filename) {\r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_FILE});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/downloadfile/bycompanyposition/?filename=').concat(filename), getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: KRISHANTERING_GET_FILE_SUCCESS, payload: dataResult});\r\n \r\n //console.log('got file', dataResult);\r\n openFileWindow(dataResult.data.result);\r\n \r\n }\r\n \r\n )\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_FILE_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokumentfil misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n}\r\n\r\n","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { fetchBossInfo } from \"./actions\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport Card from \"components/Card/Card\";\r\n\r\nclass BossInfo extends React.Component {\r\n\r\n componentDidMount() {\r\n this.props.fetchBossInfo();\r\n }\r\n\r\n render() { \r\n return (

    Kontaktuppgifter i händelse av kris (t.ex. trafikolycka)

    \r\n

    Trafikledningen är bemannad dygnet runt. Dagtid vardag av personal lokalt på depån. Övrig tid av våra ”nattugglor”.
    \r\n
    \r\n Trafikområde Timrå: 010-722 03 19
    \r\n Trafikområde Kramfors: 010-722 03 39
    \r\n Trafikområde Örnsköldsvik: 010-722 03 59
    \r\n Trafikområde Härnösand: 010-722 03 69
    \r\n Trafikområde Sollefteå: 010-722 03 79
    \r\n Trafikområde Umeå: 010-722 03 89
    \r\n Trafikområde Ljungandalen: 010-722 03 92
    \r\n Taxi Ö-vik/Höga Kusten: 010-722 03 99
    \r\n Taxi Kramfors: 010-722 03 98

    \r\n \r\n }\r\n \r\n />);\r\n }\r\n}\r\n\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n bossInfo: state.krishantering.bossInfo,\r\n bossInfoTimestamp: state.krishantering.bossInfoTimestamp,\r\n isLoadingBossInfo: state.krishantering.isLoadingBossInfo,\r\n loadingBossInfoFailed: state.krishantering.loadingBossInfoFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { fetchBossInfo })(BossInfo);","import Start from \"dashboard/Start/Start\";\r\nimport BplMinaUppdragPage from \"dashboard/BplMinaUppdrag/BplMinaUppdragPage.jsx\";\r\nimport Fordonskontroll from \"dashboard/Fordonskontroll/Fordonskontroll.jsx\";\r\nimport Incidentrapporter from \"dashboard/Incidenter/Incidentrapporter.jsx\";\r\nimport IncidenterFormH from \"dashboard/Incidenter/FormH.jsx\";\r\nimport KontekOnlineLonebesked from \"dashboard/KontekOnlineLonebesked/KontekOnlineLonebesked.jsx\";\r\nimport UserInfo from \"dashboard/Main/UserInfo\";\r\nimport NyheterRegionList from \"dashboard/Nyheter/RegionNewsListView.jsx\";\r\nimport NyheterKoncernList from \"dashboard/Nyheter/KoncernNewsListView.jsx\";\r\nimport RegionNyhet from \"dashboard/Nyheter/RegionNewsShowFull.jsx\";\r\nimport KoncernNyhet from \"dashboard/Nyheter/KoncernNewsShowFull.jsx\";\r\nimport Utbildning from \"dashboard/Utbildning/Utbildning.jsx\";\r\nimport Forslagslada from \"dashboard/Forslagslada/Forslagslada\";\r\nimport Krishantering from \"dashboard/Krishantering/Krishantering.jsx\";\r\nimport Medarbetarundersokning from \"dashboard/Medarbetarundersokning/Medarbetarundersokning.jsx\";\r\nimport EcoDriving from \"dashboard/EcoDriving/EcoDriving.jsx\"\r\nimport BplSchema from \"dashboard/BplMinaUppdrag/Schema.jsx\";\r\nimport ForsakringUppfoljning from \"dashboard/Incidenter/ForsakringUppfoljning/ForsakringUppfoljning\";\r\nimport DashboardHelp from \"dashboard/Main/DashboardHelp\";\r\nimport KrishanteringBNtemp from \"dashboard/KrishanteringBNtemp/Krishantering.jsx\";\r\n\r\nvar dashboardRoutes = [\r\n {\r\n path: \"/dashboard/start\",\r\n name: \"Start\",\r\n icon: \"pe-7s-news-paper\",\r\n component: Start\r\n },\r\n {\r\n path: \"/dashboard/nyheter\",\r\n name: \"Nyheter\",\r\n icon: \"pe-7s-speaker\",\r\n collapse: true,\r\n childRoutes: [\r\n {\r\n path: \"/dashboard/nyheter/region\",\r\n component: NyheterRegionList,\r\n mini: \"R\",\r\n name: \"Region\",\r\n },\r\n {\r\n path: \"/dashboard/nyheter/koncern\",\r\n component: NyheterKoncernList,\r\n mini: \"K\",\r\n name: \"Koncern\",\r\n },\r\n {\r\n path: \"/dashboard/nyheter/koncern/:newsId\",\r\n name: \"Nyhet\",\r\n icon: \"pe-7s-speaker\",\r\n component: KoncernNyhet,\r\n mini: \"N\",\r\n hideFromMenu: true\r\n },\r\n {\r\n path: \"/dashboard/nyheter/region/:newsId\",\r\n name: \"Nyhet\",\r\n icon: \"pe-7s-speaker\",\r\n component: RegionNyhet,\r\n mini: \"N\",\r\n hideFromMenu: true\r\n }\r\n ]\r\n },\r\n {\r\n path: \"/dashboard/minauppdrag\",\r\n name: \"Mina Uppdrag\",\r\n icon: \"pe-7s-bottom-arrow\",\r\n component: BplMinaUppdragPage\r\n },\r\n {\r\n path: \"/dashboard/schema\",\r\n name: \"Schema\",\r\n icon: \"pe-7s-note2\",\r\n component: BplSchema\r\n },\r\n {\r\n path: \"/dashboard/fordonskontroll\",\r\n name: \"Felrapportering\",\r\n icon: \"pe-7s-car\",\r\n component: Fordonskontroll\r\n },\r\n {\r\n path: \"/dashboard/avvikelser\",\r\n name: \"Avvikelser\",\r\n icon: \"pe-7s-light\",\r\n component: Incidentrapporter\r\n },\r\n {\r\n path: \"/dashboard/nyavvikelse\",\r\n name: \"Ny avvikelse\",\r\n icon: \"pe-7s-light\",\r\n component: IncidenterFormH,\r\n hideFromMenu:true\r\n },\r\n {\r\n path: \"/dashboard/konteklonebesked\",\r\n name: \"Lönespecar Kontek\",\r\n icon: \"pe-7s-credit\",\r\n component: KontekOnlineLonebesked,\r\n },\r\n {\r\n path: \"/dashboard/krishantering\",\r\n name: \"Krishantering\",\r\n icon: \"pe-7s-help2\",\r\n component: KrishanteringBNtemp\r\n },\r\n {\r\n path: \"/dashboard/forslag\",\r\n name: \"Förslagslåda\",\r\n icon: \"pe-7s-comment\",\r\n component: Forslagslada\r\n },\r\n {\r\n path: \"/dashboard/userinfo\",\r\n name: \"Användarinformation\",\r\n icon: \"pe-7s-user\",\r\n component: UserInfo,\r\n hideFromMenu: true\r\n },\r\n {\r\n path: \"/dashboard/ecodriving\",\r\n name: \"Sparsam körning\",\r\n icon: \"pe-7s-leaf\",\r\n component: EcoDriving\r\n },\r\n {\r\n path: \"/dashboard/forsakringuppfoljning\",\r\n name: \"Försäkringsuppföljning\",\r\n icon: \"pe-7s-loop\",\r\n component: ForsakringUppfoljning\r\n },\r\n {\r\n //pe-7s-notebook\r\n path: \"/dashboard/utbildning\",\r\n name: \"Utbildningsintyg\",\r\n icon: \"pe-7s-study\",\r\n component: Utbildning\r\n },\r\n {\r\n //pe-7s-notebook\r\n path: \"/dashboard/medarbetarundersokning\",\r\n name: \"Medarbetarundersökning\",\r\n icon: \"pe-7s-study\",\r\n component: Medarbetarundersokning,\r\n hideFromMenu: true\r\n},\r\n {\r\n path: \"/dashboard/help\",\r\n name: \"Hjälp\",\r\n icon: \"pe-7s-help1\",\r\n component: DashboardHelp,\r\n },\r\n\r\n];\r\nexport default dashboardRoutes;\r\n","import React from 'react';\r\nimport { Grid, Row, Col} from 'react-bootstrap';\r\nimport Card from 'components/Card/Card.jsx';\r\nimport CheckList from './CheckList';\r\nimport DocumentList from './DocumentList';\r\nimport BossInfo from './BossInfo';\r\n\r\nclass Krishantering extends React.Component {\r\n render(){ \r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n } />\r\n \r\n \r\n } />\r\n \r\n );\r\n }\r\n}\r\n/*\r\ndok verksaområd // claim IntraCompanyArea\r\nbefattning checklista hk // claim IntraPosition\r\n\r\n\r\ningen bef få ingen modul\r\nclosetboss, inforuta/kontaktkort med namn-telnr\r\n\r\n\r\n*/\r\nexport default Krishantering;","import logo from \"assets/customer/td/logo-small.png\";\r\nimport sideBarBg from \"assets/customer/td/sidebar-bg.jpg\";\r\nimport HeaderLinks from \"./HeaderLinks\";\r\nimport dashboardRoutes from '../bnprod/dashboard';\r\n\r\nexport const appConfig = {\r\n name:'local',\r\n instrumentationKey: '',\r\n title: \"Min Sida\",\r\n dashboard: dashboardRoutes,\r\n logoSmall: logo,\r\n sideBarBg: sideBarBg,\r\n headerLinks: HeaderLinks,\r\n outputToConsole: true,\r\n showDebug: false\r\n}","import React from 'react';\r\n\r\nclass Forare extends React.Component {\r\n\r\n render() {\r\n return(
    \r\n

    Du råkar ut för olycka med personskador/passagerare/förare

    \r\n

    Larma trafikledare eller DLC/ BC. Får du inte svar ring alltid 112.

    \r\n

    \r\n Vart har olyckan skett
    \r\n Vägnummer
    \r\n Ort/plats
    \r\n Vad har skett
    \r\n Finns personskador
    \r\n Finns risk att skadorna kan förvärras (brand explosion kläm)
    \r\n Patrullnummer polis på plats.\r\n

    \r\n\r\n

    Säkra platsen

    \r\n

    Sätt ut varningstriangel så att andra trafikanter ej förvärrar olyckan

    \r\n\r\n

    Vid behov inled akut räddningsarbete (L-ABC)

    \r\n

    Kolla om sjukvårdspersonal finns bland resenärerna

    \r\n\r\n

    Ge besked till resenärerna om vad som händer

    \r\n

    Alla resenärer sitter kvar i bussen och vill få lägesinformation

    \r\n\r\n

    Prata inte med tidningar, TV mm utan hänvisa till Västanhede Trafiks VD alt SamBus VD

    \r\n

    Säg gärna att Ni inte orkar svara på frågor just nu, ett svar som brukar accepteras i ett krisläge.

    \r\n\r\n

    Om skadan är ringa och du ej är i behov av akut hjälp (inga passagerare), eller vid incident/tillbud

    \r\n

    Meddela trafikledningen alternativt DLC/BC
    \r\n Kontakta din närmaste Arbetsledare

    \r\n

    Strukturera upp händelsen
    \r\n Ev. förseningar, bussbyten\r\n
    Dokumentera olycksplatsen ev skador med din mobilkamera\r\n

    \r\n
    )\r\n } \r\n}\r\n\r\nexport default Forare;\r\n","import React from 'react';\r\n\r\nclass Trafikledare extends React.Component {\r\n\r\n render() {\r\n return(
    \r\n

    Kontrollera att räddningstjänst är larmad

    \r\n

    Ta fram ev ersättnings förare/fordon

    \r\n

    Stäm av med myndighetsperson på plats om fordon får flyttas. Säkerställ att polis gett klartecken till att fordon får tas i trafik.

    \r\n
      \r\n
    • Fordon ska vara tillgängligt för teknisk kontroll?
    • \r\n
    • Fordon får fraktas till verkstad
    • \r\n
    \r\n

    Be föraren åter kontrollera om någon är skadad. (Undvik bedömningsfrågor, endast Ja eller Nej frågor)

    \r\n
    • Är föraren skadad, chockad kan bedömning bli osäker
    \r\n

    Ge stöd åt föraren om vilken information den ska delge passagerare, ex att ambulans är på väg. Sitt lugnt kvar så kommer ny buss.

    \r\n
    • Passagerare som vill något annat kontakta bolaget senare
    \r\n

    Skicka ut personal till platsen för att ta hand om förare och representera bolaget.

    \r\n

    Företagets utsände

    \r\n

    Denne person fungerar som trafikledningens förlängda arm ute på plats för händelsen. Så snart krisgruppen är aktiverad rapporterar denne direkt till krisgruppen. Den utsände sköter allt av praktisk och lokal karaktär i samråd med berörda myndigheter på plats. Krisgruppen tar alla större beslut samt hanterar media.

    \r\n

    Uppgifter för utsänd

    \r\n
      \r\n
    • Bistå polis, räddningsledare och andra inblandade.
    • \r\n
    • Ombesörja ev hemtransport eller transport till samlingsplats för icke skadade, efter avstämning med polis, läkare el dyl.
    • \r\n
    • Säkra tillsammans med räddningsledning att inblandade i olycka som sänds hem inte blir lämnade ensam.
    • \r\n
    • Se till att bagage och tillhörigheter blir omhändertagna efter att ha stämt av med polis och förvara bagaget på stöldsäker plats.
    • \r\n
    • Stäm av med polis ang teknisk utrustning.
    • \r\n
    • Ta fram namn på passagerarna, stäm av med polis.
    • \r\n
    \r\n
    )\r\n } \r\n}\r\n\r\nexport default Trafikledare;\r\n","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport Forare from \"./CheckLists/Forare\";\r\nimport Trafikledare from \"./CheckLists/Trafikledare\";\r\nimport { getClaimArray } from \"system/security\";\r\n\r\nclass CheckList extends React.Component {\r\n \r\n renderChecklist(positions){\r\n \r\n // console.log('is array', Array.isArray(positions));\r\n\r\n if (Array.isArray(positions)) {\r\n if ((positions.indexOf(\"Bussförare Linjetrafik\") > -1) \r\n || (positions.indexOf(\"Bussförare Beställning\") > -1)\r\n || (positions.indexOf(\"Taxi- Sjukbilsförare\") > -1)) \r\n {\r\n return \r\n } else if ((positions.indexOf(\"Trafikansvarig Linje\") > -1)\r\n || (positions.indexOf(\"Trafikledare Beställning\") > -1)\r\n || (positions.indexOf(\"VD\") > -1)\r\n || (positions.indexOf(\"Vice VD\") > -1)\r\n || (positions.indexOf(\"Depåansvarig\") > -1)\r\n || (positions.indexOf(\"Verkstadschef\") > -1)\r\n || (positions.indexOf(\"Driftledare\") > -1)\r\n ) \r\n {\r\n return \r\n } else {\r\n return null;\r\n }\r\n\r\n } else {\r\n if (positions === \"Bussförare Linjetrafik\" || positions === \"Bussförare Beställning\" || positions === \"Taxi- Sjukbilsförare\") {\r\n return \r\n } else if (positions === \"Trafikansvarig Linje\" || positions === \"Trafikledare Beställning\" || positions === \"VD\" || positions === \"Vice VD\" || positions === \"Depåansvarig\" || positions === \"Verkstadschef\" || positions === \"Driftledare\") {\r\n return \r\n } else {\r\n return null;\r\n }\r\n }\r\n\r\n }\r\n\r\n render(){ \r\n return (\r\n
    {this.renderChecklist(getClaimArray(\"IntraPosition\", this.props.userprofile))}
    \r\n );\r\n }\r\n}\r\n\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n userprofile: state.userprofile.userprofile\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps)(CheckList);","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { fetchDocumentsByCompanyPosition,downloadDocumentFileByCompanyPosition } from \"./actions\";\r\nimport Button from 'components/CustomButtons/CustomButton.jsx';\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\n\r\nclass DocumentList extends React.Component {\r\n\r\n constructor(props){\r\n super(props);\r\n\r\n this.handleDownloadFile.bind(this);\r\n }\r\n componentDidMount() {\r\n this.props.fetchDocumentsByCompanyPosition();\r\n }\r\n\r\n handleDownloadFile(filename) {\r\n this.props.downloadDocumentFileByCompanyPosition(filename);\r\n }\r\n\r\n render(){ \r\n return ({this.props.documents.length > 0 ? this.props.documents.map((item, key) => {\r\n return ({item.filename})\r\n }) : null}} text=\"Laddar dokument..\" isLoading={this.props.isLoadingDocuments} loadingFailed={this.props.loadingDocumentsFailed} />);\r\n }\r\n}\r\n\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n documents: state.krishantering.documents,\r\n documentsTimestamp: state.krishantering.documentsTimestamp,\r\n isLoadingDocuments: state.krishantering.isLoadingDocuments,\r\n loadingDocumentsFailed: state.krishantering.loadingDocumentsFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { fetchDocumentsByCompanyPosition, downloadDocumentFileByCompanyPosition })(DocumentList);","import axios from \"axios\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { getAxiosConfig } from \"system/axiosConfig\";\r\nimport store from \"system/store\";\r\nimport { ERRORMESSAGES_ADD } from \"system/actions\";\r\nimport { openFileWindow } from \"system/util.js\";\r\n\r\nexport const KRISHANTERING_GET_DOCUMENTS = \"KRISHANTERING_GET_DOCUMENTS\";\r\nexport const KRISHANTERING_GET_DOCUMENTS_SUCCESS = \"KRISHANTERING_GET_DOCUMENTS_SUCCESS\";\r\nexport const KRISHANTERING_GET_DOCUMENTS_FAILED = \"KRISHANTERING_GET_DOCUMENTS_FAILED\";\r\n\r\nexport const KRISHANTERING_GET_FILE = \"KRISHANTERING_GET_FILE\";\r\nexport const KRISHANTERING_GET_FILE_SUCCESS = \"KRISHANTERING_GET_FILE_SUCCESS\";\r\nexport const KRISHANTERING_GET_FILE_FAILED = \"KRISHANTERING_GET_FILE_FAILED\";\r\n\r\nexport const KRISHANTERING_GET_BOSSINFO = \"KRISHANTERING_GET_BOSSINFO\";\r\nexport const KRISHANTERING_GET_BOSSINFO_SUCCESS = \"KRISHANTERING_GET_BOSSINFO_SUCCESS\";\r\nexport const KRISHANTERING_GET_BOSSINFO_FAILED = \"KRISHANTERING_GET_BOSSINFO_FAILED\";\r\n\r\n\r\nexport function fetchBossInfo() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_BOSSINFO});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/bossinfo'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: KRISHANTERING_GET_BOSSINFO_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_BOSSINFO_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta närmsta chef information misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function fetchDocumentsByCompanyArea() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_DOCUMENTS});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/documents/bycompanyarea'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: KRISHANTERING_GET_DOCUMENTS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_DOCUMENTS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokument misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function downloadDocumentFileByCompanyArea(filename) {\r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_FILE});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/downloadfile/bycompanyarea/?filename=').concat(filename), getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: KRISHANTERING_GET_FILE_SUCCESS, payload: dataResult});\r\n \r\n //console.log('got file', dataResult);\r\n openFileWindow(dataResult.data.result);\r\n }\r\n \r\n )\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_FILE_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokumentfil misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n}\r\n\r\nexport function fetchDocumentsByCompanyPosition() {\r\n \r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_DOCUMENTS});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/documents/bycompanyposition'), getAxiosConfig(user))\r\n .then((dataResult) => dispatch({type: KRISHANTERING_GET_DOCUMENTS_SUCCESS, payload: dataResult}))\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_DOCUMENTS_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokument misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n \r\n};\r\n\r\nexport function downloadDocumentFileByCompanyPosition(filename) {\r\n return (dispatch) => {\r\n dispatch({type: KRISHANTERING_GET_FILE});\r\n\r\n const user = store.getState().oidc.user;\r\n axios.get(infraConfig.apiEndpoint.concat('/api/krishantering/downloadfile/bycompanyposition/?filename=').concat(filename), getAxiosConfig(user))\r\n .then((dataResult) => {\r\n dispatch({type: KRISHANTERING_GET_FILE_SUCCESS, payload: dataResult});\r\n \r\n //console.log('got file', dataResult);\r\n openFileWindow(dataResult.data.result);\r\n }\r\n \r\n )\r\n .catch((error) => { dispatch({type: KRISHANTERING_GET_FILE_FAILED}); dispatch({type: ERRORMESSAGES_ADD, payload: { type: 'network', message: 'Hämta dokumentfil misslyckades', severity: 'warning'}});});\r\n\r\n }\r\n\r\n}\r\n\r\n","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { fetchBossInfo } from \"./actions\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport Card from \"components/Card/Card\";\r\n\r\nclass BossInfo extends React.Component {\r\n\r\n componentDidMount() {\r\n this.props.fetchBossInfo();\r\n }\r\n\r\n render() { \r\n return (

    Kontaktinformation närmsta chef

    \r\n

    {this.props.bossInfo.firstname} {this.props.bossInfo.lastname}

    \r\n

    {this.props.bossInfo.telephoneNumber}

    \r\n

    {this.props.bossInfo.mobileNumber}

    \r\n \r\n \r\n : null\r\n } />\r\n }\r\n \r\n />);\r\n }\r\n}\r\n\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n bossInfo: state.krishantering.bossInfo,\r\n bossInfoTimestamp: state.krishantering.bossInfoTimestamp,\r\n isLoadingBossInfo: state.krishantering.isLoadingBossInfo,\r\n loadingBossInfoFailed: state.krishantering.loadingBossInfoFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { fetchBossInfo })(BossInfo);","import React from 'react';\r\nimport { Grid, Row, Col} from 'react-bootstrap';\r\nimport Card from 'components/Card/Card.jsx';\r\nimport CheckList from './CheckList';\r\nimport DocumentList from './DocumentList';\r\nimport BossInfo from './BossInfo';\r\n\r\nclass KrishanteringVH extends React.Component {\r\n render(){ \r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n } />\r\n \r\n \r\n } />\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default KrishanteringVH;","import React from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { fetchDocuments, downloadDocumentFile } from \"./actions\";\r\nimport Button from 'components/CustomButtons/CustomButton.jsx';\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\n\r\nclass DocumentList extends React.Component {\r\n\r\n constructor(props){\r\n super(props);\r\n\r\n this.handleDownloadFile.bind(this);\r\n }\r\n componentDidMount() {\r\n this.props.fetchDocuments();\r\n }\r\n\r\n handleDownloadFile(filename) {\r\n this.props.downloadDocumentFile(filename);\r\n }\r\n\r\n render(){ \r\n return ({this.props.documents.length > 0 ? this.props.documents.map((item, key) => {\r\n return ({item.filename})\r\n }) : null}} text=\"Laddar dokument..\" isLoading={this.props.isLoadingDocuments} loadingFailed={this.props.loadingDocumentsFailed} />);\r\n }\r\n}\r\n\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n documents: state.policyDocs.documents,\r\n documentsTimestamp: state.policyDocs.documentsTimestamp,\r\n isLoadingDocuments: state.policyDocs.isLoadingDocuments,\r\n loadingDocumentsFailed: state.policyDocs.loadingDocumentsFailed\r\n };\r\n }\r\n \r\n export default connect(mapStateToProps, { fetchDocuments, downloadDocumentFile })(DocumentList);","import React from 'react';\r\nimport { Grid, Row, Col} from 'react-bootstrap';\r\nimport Card from 'components/Card/Card.jsx';\r\nimport DocumentList from './DocumentList';\r\n\r\nclass PolicyDocs extends React.Component {\r\n render(){ \r\n return (\r\n \r\n } />\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default PolicyDocs;","import Start from \"dashboard/Start/Start\";\r\nimport BplMinaUppdragPage from \"dashboard/BplMinaUppdrag/BplMinaUppdragPage.jsx\";\r\nimport Fordonskontroll from \"dashboard/Fordonskontroll/Fordonskontroll.jsx\";\r\nimport Incidentrapporter from \"dashboard/Incidenter/Incidentrapporter.jsx\";\r\nimport IncidenterFormH from \"dashboard/Incidenter/FormH.jsx\";\r\nimport UserInfo from \"dashboard/Main/UserInfo\";\r\nimport NyheterRegionList from \"dashboard/Nyheter/RegionNewsListView.jsx\";\r\nimport NyheterKoncernList from \"dashboard/Nyheter/KoncernNewsListView.jsx\";\r\nimport RegionNyhet from \"dashboard/Nyheter/RegionNewsShowFull.jsx\";\r\nimport KoncernNyhet from \"dashboard/Nyheter/KoncernNewsShowFull.jsx\";\r\nimport Utbildning from \"dashboard/Utbildning/Utbildning.jsx\";\r\nimport Forslagslada from \"dashboard/Forslagslada/Forslagslada\";\r\nimport KrishanteringVH from \"dashboard/KrishanteringVH/KrishanteringVH.jsx\";\r\nimport Krishantering from \"dashboard/Krishantering/Krishantering.jsx\";\r\nimport Medarbetarundersokning from \"dashboard/Medarbetarundersokning/Medarbetarundersokning.jsx\";\r\nimport EcoDriving from \"dashboard/EcoDriving/EcoDriving.jsx\"\r\nimport BplSchema from \"dashboard/BplMinaUppdrag/Schema.jsx\";\r\nimport ForsakringUppfoljning from \"dashboard/Incidenter/ForsakringUppfoljning/ForsakringUppfoljning\";\r\nimport PolicyRutiner from \"dashboard/PolicyDocs/PolicyDocs.jsx\";\r\nimport KontekOnlineLonebesked from \"dashboard/KontekOnlineLonebesked/KontekOnlineLonebesked.jsx\";\r\n\r\nimport DashboardHelp from \"dashboard/Main/DashboardHelp\";\r\n\r\nvar dashboardRoutes = [\r\n {\r\n path: \"/dashboard/start\",\r\n name: \"Start (local)\",\r\n icon: \"pe-7s-news-paper\",\r\n component: Start\r\n },\r\n {\r\n path: \"/dashboard/nyheter\",\r\n name: \"Nyheter\",\r\n icon: \"pe-7s-speaker\",\r\n collapse: true,\r\n childRoutes: [\r\n {\r\n path: \"/dashboard/nyheter/region\",\r\n component: NyheterRegionList,\r\n mini: \"R\",\r\n name: \"Region\",\r\n },\r\n {\r\n path: \"/dashboard/nyheter/koncern\",\r\n component: NyheterKoncernList,\r\n mini: \"K\",\r\n name: \"Koncern\",\r\n },\r\n {\r\n path: \"/dashboard/nyheter/koncern/:newsId\",\r\n name: \"Nyhet\",\r\n icon: \"pe-7s-speaker\",\r\n component: KoncernNyhet,\r\n mini: \"N\",\r\n hideFromMenu: true\r\n },\r\n {\r\n path: \"/dashboard/nyheter/region/:newsId\",\r\n name: \"Nyhet\",\r\n icon: \"pe-7s-speaker\",\r\n component: RegionNyhet,\r\n mini: \"N\",\r\n hideFromMenu: true\r\n }\r\n ]\r\n },\r\n {\r\n path: \"/dashboard/minauppdrag\",\r\n name: \"Mina Uppdrag\",\r\n icon: \"pe-7s-bottom-arrow\",\r\n component: BplMinaUppdragPage\r\n },\r\n {\r\n path: \"/dashboard/schema\",\r\n name: \"Schema\",\r\n icon: \"pe-7s-note2\",\r\n component: BplSchema,\r\n },\r\n {\r\n path: \"/dashboard/fordonskontroll\",\r\n name: \"Felrapportering\",\r\n icon: \"pe-7s-car\",\r\n component: Fordonskontroll\r\n },\r\n {\r\n path: \"/dashboard/avvikelser\",\r\n name: \"Avvikelser\",\r\n icon: \"pe-7s-light\",\r\n component: Incidentrapporter\r\n },\r\n {\r\n path: \"/dashboard/nyavvikelse\",\r\n name: \"Ny avvikelse\",\r\n icon: \"pe-7s-light\",\r\n component: IncidenterFormH\r\n },\r\n {\r\n path: \"/dashboard/krishantering\",\r\n name: \"Krishantering\",\r\n icon: \"pe-7s-help2\",\r\n component: Krishantering\r\n },\r\n {\r\n path: \"/dashboard/krishanteringvh\",\r\n name: \"Krishantering VH\",\r\n icon: \"pe-7s-help2\",\r\n component: KrishanteringVH\r\n },\r\n {\r\n path: \"/dashboard/forslag\",\r\n name: \"Förslagslåda\",\r\n icon: \"pe-7s-comment\",\r\n component: Forslagslada\r\n },\r\n {\r\n path: \"/dashboard/userinfo\",\r\n name: \"Användarinformation\",\r\n icon: \"pe-7s-user\",\r\n component: UserInfo,\r\n },\r\n {\r\n path: \"/dashboard/ecodriving\",\r\n name: \"Sparsam körning\",\r\n icon: \"pe-7s-leaf\",\r\n component: EcoDriving\r\n },\r\n {\r\n path: \"/dashboard/forsakringuppfoljning\",\r\n name: \"Försäkringsuppföljning\",\r\n icon: \"pe-7s-loop\",\r\n component: ForsakringUppfoljning\r\n },\r\n {\r\n //pe-7s-notebook\r\n path: \"/dashboard/utbildning\",\r\n name: \"Utbildningsintyg\",\r\n icon: \"pe-7s-study\",\r\n component: Utbildning\r\n },\r\n {\r\n //pe-7s-notebook\r\n path: \"/dashboard/medarbetarundersokning\",\r\n name: \"Medarbetarundersökning\",\r\n icon: \"pe-7s-study\",\r\n component: Medarbetarundersokning,\r\n hideFromMenu: true\r\n },\r\n {\r\n path: \"/dashboard/policy\",\r\n name: \"Policy & Rutiner\",\r\n icon: \"pe-7s-notebook\",\r\n component: PolicyRutiner\r\n },\r\n {\r\n path: \"/dashboard/konteklonebesked\",\r\n name: \"Lönespecar Kontek\",\r\n icon: \"pe-7s-credit\",\r\n component: KontekOnlineLonebesked,\r\n },\r\n {\r\n path: \"/dashboard/help\",\r\n name: \"Hjälp\",\r\n icon: \"pe-7s-help1\",\r\n component: DashboardHelp,\r\n },\r\n\r\n];\r\nexport default dashboardRoutes;\r\n","import React, { Component } from \"react\";\r\nimport CustomButton from \"../CustomButtons/CustomButton.jsx\";\r\nimport LoadingIcon from \"./LoadingIcon\";\r\nimport { infraConfig } from \"config/infraConfig\";\r\nimport { openInNewTabOrDont as openInNewTab } from \"./openInNewTabOrDont\";\r\n\r\nclass DocsExternalLink extends Component {\r\n\r\n constructor(props)\r\n {\r\n super(props);\r\n\r\n this.handleClick = this.handleClick.bind(this);\r\n this.state = {\r\n isLoading: false\r\n }\r\n }\r\n // rendera en länk som vars klick anropar linktoken, och sen login.aspx?bp\r\n handleClick() {\r\n // toggle the side-nav-bar in mobile mode\r\n document.documentElement.classList.toggle(\"nav-open\");\r\n\r\n var url = infraConfig.documentsUrl.concat('/').concat(this.props.to);\r\n openInNewTab(url);\r\n }\r\n\r\n render() {\r\n return (\r\n this.props.showAsText ?
    {this.props.icon !== undefined ? this.props.icon : } {this.props.title } { this.state.isLoading ? : null}
    \r\n : \r\n {this.state.isLoading ? : this.props.title }\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\n export default DocsExternalLink;","import React, { Component } from \"react\";\r\nimport CustomButton from \"../CustomButtons/CustomButton.jsx\";\r\nimport LoadingIcon from \"./LoadingIcon\";\r\nimport { openInNewTabOrDont as openInNewTab } from \"./openInNewTabOrDont\";\r\n\r\nclass ExternalLink extends Component {\r\n\r\n constructor(props)\r\n {\r\n super(props);\r\n\r\n this.handleClick = this.handleClick.bind(this);\r\n this.state = {\r\n isLoading: false\r\n }\r\n }\r\n // rendera en länk som vars klick anropar linktoken, och sen login.aspx?bp\r\n handleClick() {\r\n\r\n // toggle the side-nav-bar in mobile mode\r\n document.documentElement.classList.toggle(\"nav-open\");\r\n\r\n var url = this.props.to;\r\n openInNewTab(url); \r\n }\r\n\r\n render() {\r\n return (\r\n this.props.showAsText ?
    {this.props.icon !== undefined ? this.props.icon : } {this.props.title } { this.state.isLoading ? : null}
    \r\n : \r\n {this.state.isLoading ? : this.props.title }\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\n\r\n \r\n export default ExternalLink;","import React, { Component } from \"react\";\r\nimport { appConfig } from \"config/appConfig\";\r\n\r\nimport userManager from \"system/userManager\";\r\nimport { Nav, NavDropdown, MenuItem, Navbar } from \"react-bootstrap\";\r\nimport { connect } from \"react-redux\";\r\n\r\n// import Date from \"components/formatting/Date.jsx\";\r\nimport { clearErrors } from \"system/actions\";\r\nimport { logoutInProgress } from \"system/actions/authHelper.js\";\r\n\r\nimport { LinkContainer } from \"react-router-bootstrap\";\r\n\r\nimport BplExternalLink from \"components/utils/BplExternalLink\";\r\nimport DocsExternalLink from \"components/utils/DocsExternalLink\";\r\nimport ExternalLink from \"components/utils/ExternalLink\";\r\nimport UtbExternalLink from \"components/utils/UtbExternalLink\";\r\n\r\nimport { getClaimArray } from \"system/security\";\r\nimport KrishanteringButton from \"components/utils/KrishanteringButton\";\r\nimport MediaQuery from \"react-responsive\";\r\n\r\nclass HeaderLinks extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {\r\n\t\t\textended: false,\r\n\t\t};\r\n\t}\r\n\r\n\thandleNotificationClick() {\r\n\t\tthis.props.clearErrors();\r\n\t}\r\n\thandleLinkClick(path) {\r\n\t\tdocument.documentElement.classList.toggle(\"nav-open\");\r\n\t\t// if (this.props.history !== undefined) this.props.history.push(path);\r\n\t}\r\n\r\n\trenderDockstaLink() {\r\n\t\t// visa om man har sekundär arbetsgivare = Docksta Buss & Truck\r\n\t\t// claim kan vara string eller array\r\n\t\t// näe numera kan det bara vara array\r\n\t\tvar secondaryCompany = getClaimArray(\r\n\t\t\t\"IntraSecondaryCompany\",\r\n\t\t\tthis.props.userprofile\r\n\t\t);\r\n\t\tif (secondaryCompany != null) {\r\n\t\t\tif (Array.isArray(secondaryCompany)) {\r\n\t\t\t\tvar findInArray = secondaryCompany.filter((item) => {\r\n\t\t\t\t\treturn item === \"Docksta Buss & Truck\";\r\n\t\t\t\t});\r\n\t\t\t\tif (findInArray.length > 0) {\r\n\t\t\t\t\tconsole.log(\"is docksta\");\r\n\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tif (secondaryCompany === \"Docksta Buss & Truck\") {\r\n\t\t\t\t\tconsole.log(\"is docksta\");\r\n\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnoCaret\r\n\t\t\t\t\t\tid=\"basic-nav-dropdown-3\"\r\n\t\t\t\t\t\tbsClass=\"dropdown-with-icons dropdown\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t this.handleLinkClick()}\r\n\t\t\t\t\t\t\tto=\"/dashboard/userinfo\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tAnvändarinfo\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\tthis.handleLinkClick();\r\n\r\n\t\t\t\t\t\t\t\t\tthis.props.logoutInProgress();\r\n\t\t\t\t\t\t\t\t\tuserManager.removeUser(); // removes the user data from sessionStorage\r\n\t\t\t\t\t\t\t\t\tuserManager.signoutRedirect({\r\n\t\t\t\t\t\t\t\t\t\tid_token_hint: this.props.user.id_token,\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\twindow.localStorage.clear();\r\n\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t Logga ut\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n\treturn {\r\n\t\tuser: state.oidc.user,\r\n\t\tuserprofile: state.userprofile.userprofile,\r\n\t\terrors: state.errors.errors,\r\n\t};\r\n}\r\n\r\nexport default connect(mapStateToProps, { clearErrors, logoutInProgress })(\r\n\tHeaderLinks\r\n);\r\n","\r\n// VH eftersom vi för tillfället bara har en devmiljö kan man här då hårdkoda appconfig och låta infraConfig vara\r\n// eg skulle man haft en devmiljö för varje kund\r\nimport { infraConfig } from './infraConfig';\r\nimport logo from \"assets/customer/bn/logo-small.png\";\r\nimport sideBarBg from \"assets/customer/bn/sidebar-bg.jpg\";\r\n\r\nimport dashboardRoutes from '../local/dashboard'; \r\nimport HeaderLinks from \"./HeaderLinks\"; // notera att dena pekar på \"rätta\" komponenten\r\n\r\nexport const appConfig = {\r\n name:'dev',\r\n instrumentationKey: '0fae6044-fbe4-4a7b-b243-e87615e701c9', // minsidadev instrumentationKey\r\n title: \"Min Sida (dev)\", \r\n infra: infraConfig,\r\n dashboard: dashboardRoutes,\r\n logoSmall: logo,\r\n sideBarBg: sideBarBg,\r\n headerLinks: HeaderLinks,\r\n outputToConsole: true,\r\n utbildningUrl: 'https://cloudplanningutbdemo.azurewebsites.net/'\r\n\r\n}","import React, { Component } from \"react\";\r\nimport { appConfig } from \"config/appConfig\";\r\n\r\nimport userManager from \"system/userManager\";\r\nimport { Nav, NavDropdown, MenuItem, Navbar } from \"react-bootstrap\";\r\nimport { connect } from \"react-redux\";\r\n\r\n// import Date from \"components/formatting/Date.jsx\";\r\nimport { clearErrors } from \"system/actions\";\r\nimport { logoutInProgress } from \"system/actions/authHelper.js\";\r\nimport { getUndersokning } from \"dashboard/Medarbetarundersokning/actions\";\r\nimport { LinkContainer } from \"react-router-bootstrap\";\r\nimport MedarbetarundersokningButton from \"components/utils/MedarbetarundersokningButton\";\r\nimport BplExternalLink from \"components/utils/BplExternalLink\";\r\nimport DocsExternalLink from \"components/utils/DocsExternalLink\";\r\nimport ExternalLink from \"components/utils/ExternalLink\";\r\n\r\nimport { getClaimArray } from \"system/security\";\r\nimport KrishanteringButton from \"components/utils/KrishanteringButton\";\r\nimport MobileDesktop from \"components/utils/MobileDesktop\";\r\n\r\nclass HeaderLinks extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {\r\n\t\t\textended: false,\r\n\t\t};\r\n\t}\r\n\r\n\thandleNotificationClick() {\r\n\t\tthis.props.clearErrors();\r\n\t}\r\n\tcomponentDidMount() {\r\n\t\tthis.props.getUndersokning();\r\n\t}\r\n\thandleLinkClick(path) {\r\n\t\tdocument.documentElement.classList.toggle(\"nav-open\");\r\n\t\t// if (this.props.history !== undefined) this.props.history.push(path);\r\n\t}\r\n\r\n\trenderDockstaLink() {\r\n\t\t// visa om man har sekundär arbetsgivare = Docksta Buss & Truck\r\n\t\t// claim kan vara string eller array\r\n\t\t// näe numera kan det bara vara array\r\n\t\tvar secondaryCompany = getClaimArray(\r\n\t\t\t\"IntraSecondaryCompany\",\r\n\t\t\tthis.props.userprofile\r\n\t\t);\r\n\t\tif (secondaryCompany != null) {\r\n\t\t\tif (Array.isArray(secondaryCompany)) {\r\n\t\t\t\tvar findInArray = secondaryCompany.filter((item) => {\r\n\t\t\t\t\treturn item === \"Docksta Buss & Truck\";\r\n\t\t\t\t});\r\n\t\t\t\tif (findInArray.length > 0) {\r\n\t\t\t\t\tconsole.log(\"is docksta\");\r\n\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tif (secondaryCompany === \"Docksta Buss & Truck\") {\r\n\t\t\t\t\tconsole.log(\"is docksta\");\r\n\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnoCaret\r\n\t\t\t\t\t\tid=\"basic-nav-dropdown-3\"\r\n\t\t\t\t\t\tbsClass=\"dropdown-with-icons dropdown\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t this.handleLinkClick()}\r\n\t\t\t\t\t\t\tto=\"/dashboard/userinfo\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tAnvändarinfo\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\tthis.handleLinkClick();\r\n\r\n\t\t\t\t\t\t\t\t\tthis.props.logoutInProgress();\r\n\t\t\t\t\t\t\t\t\tuserManager.removeUser(); // removes the user data from sessionStorage\r\n\t\t\t\t\t\t\t\t\tuserManager.signoutRedirect({\r\n\t\t\t\t\t\t\t\t\t\tid_token_hint: this.props.user.id_token,\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\twindow.localStorage.clear();\r\n\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t Logga ut\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t} />\r\n\t\t\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n\treturn {\r\n\t\tuser: state.oidc.user,\r\n\t\tuserprofile: state.userprofile.userprofile,\r\n\t\terrors: state.errors.errors,\r\n\t};\r\n}\r\n\r\nexport default connect(mapStateToProps, {\r\n\tgetUndersokning,\r\n\tclearErrors,\r\n\tlogoutInProgress,\r\n})(HeaderLinks);\r\n","import dashboardRoutes from './dashboard';\r\nimport logo from \"assets/customer/bn/logo-small.png\";\r\nimport sideBarBg from \"assets/customer/bn/sidebar-bg.jpg\";\r\nimport HeaderLinks from \"./HeaderLinks\";\r\n\r\nexport const appConfig = {\r\n name:'bnprod',\r\n instrumentationKey: '5139df39-2fb7-49c8-be7c-69ea296f67b2',\r\n lediaTjansterUrl: 'https://www.bybergnordin.se/jobba-hos-oss',\r\n dockstabtlink: 'https://bybnor.sharepoint.com/sites/BYB-Verkstad/Delade dokument/Forms/AllItems.aspx',\r\n title: \"Min Sida\",\r\n dashboard: dashboardRoutes,\r\n logoSmall: logo,\r\n sideBarBg: sideBarBg,\r\n headerLinks: HeaderLinks,\r\n utbildningUrl: 'https://utbildningbn.azurewebsites.net/',\r\n}","import React, { Component } from \"react\";\r\n\r\nimport userManager from \"system/userManager\";\r\nimport { Nav, NavDropdown, MenuItem, Navbar } from \"react-bootstrap\";\r\nimport { connect } from \"react-redux\";\r\n\r\n// import Date from \"components/formatting/Date.jsx\";\r\nimport { clearErrors } from \"system/actions\";\r\nimport { logoutInProgress } from \"system/actions/authHelper.js\";\r\n\r\nimport { LinkContainer } from \"react-router-bootstrap\";\r\n\r\nimport BplExternalLink from \"components/utils/BplExternalLink\";\r\nimport ExternalLink from \"components/utils/ExternalLink\";\r\n\r\nimport KrishanteringButton from \"components/utils/KrishanteringButton\";\r\nimport MobileDesktop from \"components/utils/MobileDesktop\";\r\n\r\nclass HeaderLinks extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {\r\n\t\t\textended: false,\r\n\t\t};\r\n\t}\r\n\thandleNotificationClick() {\r\n\t\tthis.props.clearErrors();\r\n\t}\r\n\thandleLinkClick(path) {\r\n\t\tdocument.documentElement.classList.toggle(\"nav-open\");\r\n\t\t// if (this.props.history !== undefined) this.props.history.push(path);\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnoCaret\r\n\t\t\t\t\t\tid=\"basic-nav-dropdown-3\"\r\n\t\t\t\t\t\tbsClass=\"dropdown-with-icons dropdown\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t this.handleLinkClick()}\r\n\t\t\t\t\t\t\tto=\"/dashboard/userinfo\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tAnvändarinfo\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\tthis.handleLinkClick();\r\n\r\n\t\t\t\t\t\t\t\t\tthis.props.logoutInProgress();\r\n\t\t\t\t\t\t\t\t\tuserManager.removeUser(); // removes the user data from sessionStorage\r\n\t\t\t\t\t\t\t\t\tuserManager.signoutRedirect({\r\n\t\t\t\t\t\t\t\t\t\tid_token_hint: this.props.user.id_token,\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\twindow.localStorage.clear();\r\n\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t Logga ut\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t} />\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n\treturn {\r\n\t\tuser: state.oidc.user,\r\n\t\terrors: state.errors.errors,\r\n\t};\r\n}\r\n\r\nexport default connect(mapStateToProps, { clearErrors, logoutInProgress })(\r\n\tHeaderLinks\r\n);\r\n","import { infraConfig } from './infraConfig';\r\nimport logo from \"assets/customer/vh/logo-small.png\";\r\nimport sideBarBg from \"assets/customer/vh/sidebar-bg.jpg\";\r\nimport HeaderLinks from \"./HeaderLinks\";\r\nimport dashboardRoutes from './dashboard';\r\n\r\nexport const appConfig = {\r\n name:'vhprod',\r\n instrumentationKey: '27008699-6380-4fc4-af45-e6f7219e7d33',\r\n title: \"Min Sida\", \r\n infra: infraConfig,\r\n dashboard: dashboardRoutes,\r\n logoSmall: logo,\r\n sideBarBg: sideBarBg,\r\n headerLinks: HeaderLinks,\r\n utbildningUrl: 'https://vhwebutbkov.azurewebsites.net/'\r\n\r\n}","import Start from \"dashboard/Start/Start\";\r\nimport BplMinaUppdragPage from \"dashboard/BplMinaUppdrag/BplMinaUppdragPage.jsx\";\r\nimport Fordonskontroll from \"dashboard/Fordonskontroll/Fordonskontroll.jsx\";\r\nimport Incidentrapporter from \"dashboard/Incidenter/Incidentrapporter.jsx\";\r\nimport IncidenterFormH from \"dashboard/Incidenter/FormH.jsx\";\r\nimport UserInfo from \"dashboard/Main/UserInfo\";\r\nimport NyheterRegionList from \"dashboard/Nyheter/RegionNewsListView.jsx\";\r\nimport NyheterKoncernList from \"dashboard/Nyheter/KoncernNewsListView.jsx\";\r\nimport RegionNyhet from \"dashboard/Nyheter/RegionNewsShowFull.jsx\";\r\nimport KoncernNyhet from \"dashboard/Nyheter/KoncernNewsShowFull.jsx\";\r\nimport Utbildning from \"dashboard/Utbildning/Utbildning.jsx\";\r\nimport Forslagslada from \"dashboard/Forslagslada/Forslagslada\";\r\nimport KrishanteringVH from \"dashboard/KrishanteringVH/KrishanteringVH.jsx\";\r\nimport EcoDriving from \"dashboard/EcoDriving/EcoDriving.jsx\"\r\nimport BplSchema from \"dashboard/BplMinaUppdrag/Schema.jsx\";\r\nimport PolicyRutiner from \"dashboard/PolicyDocs/PolicyDocs.jsx\";\r\nimport DashboardHelp from \"dashboard/Main/DashboardHelp\";\r\nimport ForsakringUppfoljning from \"dashboard/Incidenter/ForsakringUppfoljning/ForsakringUppfoljning\";\r\n\r\nvar dashboardRoutes = [\r\n {\r\n path: \"/dashboard/start\",\r\n name: \"Start\",\r\n icon: \"pe-7s-news-paper\",\r\n component: Start\r\n },\r\n {\r\n path: \"/dashboard/nyheter\",\r\n name: \"Nyheter\",\r\n icon: \"pe-7s-speaker\",\r\n collapse: true,\r\n childRoutes: [\r\n {\r\n path: \"/dashboard/nyheter/region\",\r\n component: NyheterRegionList,\r\n mini: \"R\",\r\n name: \"Region\",\r\n },\r\n {\r\n path: \"/dashboard/nyheter/koncern\",\r\n component: NyheterKoncernList,\r\n mini: \"K\",\r\n name: \"Koncern\",\r\n },\r\n {\r\n path: \"/dashboard/nyheter/koncern/:newsId\",\r\n name: \"Nyhet\",\r\n icon: \"pe-7s-speaker\",\r\n component: KoncernNyhet,\r\n mini: \"N\",\r\n hideFromMenu: true\r\n },\r\n {\r\n path: \"/dashboard/nyheter/region/:newsId\",\r\n name: \"Nyhet\",\r\n icon: \"pe-7s-speaker\",\r\n component: RegionNyhet,\r\n mini: \"N\",\r\n hideFromMenu: true\r\n }\r\n ]\r\n }, \r\n {\r\n path: \"/dashboard/minauppdrag\",\r\n name: \"Mina Uppdrag\",\r\n icon: \"pe-7s-bottom-arrow\",\r\n component: BplMinaUppdragPage\r\n },\r\n {\r\n path: \"/dashboard/schema\",\r\n name: \"Schema\",\r\n icon: \"pe-7s-note2\",\r\n component: BplSchema\r\n },\r\n {\r\n path: \"/dashboard/fordonskontroll\",\r\n name: \"Felrapportering\",\r\n icon: \"pe-7s-car\",\r\n component: Fordonskontroll\r\n },\r\n {\r\n path: \"/dashboard/avvikelser\",\r\n name: \"Avvikelser\",\r\n icon: \"pe-7s-light\",\r\n component: Incidentrapporter\r\n },\r\n {\r\n path: \"/dashboard/nyavvikelse\",\r\n name: \"Ny avvikelse\",\r\n icon: \"pe-7s-light\",\r\n component: IncidenterFormH,\r\n hideFromMenu:true\r\n },\r\n {\r\n path: \"/dashboard/krishantering\",\r\n name: \"Krishantering\",\r\n icon: \"pe-7s-help2\",\r\n component: KrishanteringVH\r\n },\r\n {\r\n path: \"/dashboard/forslag\",\r\n name: \"Förslagslåda\",\r\n icon: \"pe-7s-comment\",\r\n component: Forslagslada\r\n },\r\n {\r\n path: \"/dashboard/userinfo\",\r\n name: \"Användarinformation\",\r\n icon: \"pe-7s-user\",\r\n component: UserInfo,\r\n hideFromMenu: true\r\n },\r\n {\r\n path: \"/dashboard/ecodriving\",\r\n name: \"Sparsam körning\",\r\n icon: \"pe-7s-leaf\",\r\n component: EcoDriving\r\n },\r\n {\r\n path: \"/dashboard/forsakringuppfoljning\",\r\n name: \"Försäkringsuppföljning\",\r\n icon: \"pe-7s-loop\",\r\n component: ForsakringUppfoljning\r\n },\r\n {\r\n //pe-7s-notebook\r\n path: \"/dashboard/utbildning\",\r\n name: \"Utbildningsintyg\",\r\n icon: \"pe-7s-study\",\r\n component: Utbildning\r\n },\r\n {\r\n path: \"/dashboard/policy\",\r\n name: \"Policy & Rutiner\",\r\n icon: \"pe-7s-notebook\",\r\n component: PolicyRutiner\r\n }, \r\n {\r\n path: \"/dashboard/help\",\r\n name: \"Hjälp\",\r\n icon: \"pe-7s-help1\",\r\n component: DashboardHelp,\r\n },\r\n\r\n];\r\nexport default dashboardRoutes;\r\n","import React, { Component } from \"react\";\r\n\r\nimport userManager from \"system/userManager\";\r\nimport { Nav, NavDropdown, MenuItem, Navbar } from \"react-bootstrap\";\r\nimport { connect } from \"react-redux\";\r\n\r\n// import Date from \"components/formatting/Date.jsx\";\r\nimport { clearErrors } from \"system/actions\";\r\nimport { logoutInProgress } from \"system/actions/authHelper.js\";\r\n\r\nimport { LinkContainer } from \"react-router-bootstrap\";\r\n\r\nimport BplExternalLink from \"components/utils/BplExternalLink\";\r\nimport ExternalLink from \"components/utils/ExternalLink\";\r\nimport KrishanteringButton from \"components/utils/KrishanteringButton\";\r\nimport MobileDesktop from \"components/utils/MobileDesktop\";\r\n\r\nclass HeaderLinks extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {\r\n\t\t\textended: false,\r\n\t\t};\r\n\t}\r\n\r\n\thandleNotificationClick() {\r\n\t\tthis.props.clearErrors();\r\n\t}\r\n\thandleLinkClick(path) {\r\n\t\tdocument.documentElement.classList.toggle(\"nav-open\");\r\n\t\t// if (this.props.history !== undefined) this.props.history.push(path);\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnoCaret\r\n\t\t\t\t\t\tid=\"basic-nav-dropdown-3\"\r\n\t\t\t\t\t\tbsClass=\"dropdown-with-icons dropdown\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t this.handleLinkClick()}\r\n\t\t\t\t\t\t\tto=\"/dashboard/userinfo\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tAnvändarinfo\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\tthis.handleLinkClick();\r\n\r\n\t\t\t\t\t\t\t\t\tthis.props.logoutInProgress();\r\n\t\t\t\t\t\t\t\t\tuserManager.removeUser(); // removes the user data from sessionStorage\r\n\t\t\t\t\t\t\t\t\tuserManager.signoutRedirect({\r\n\t\t\t\t\t\t\t\t\t\tid_token_hint: this.props.user.id_token,\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\twindow.localStorage.clear();\r\n\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t Logga ut\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t} />\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n\treturn {\r\n\t\tuser: state.oidc.user,\r\n\t\terrors: state.errors.errors,\r\n\t};\r\n}\r\n\r\nexport default connect(mapStateToProps, { clearErrors, logoutInProgress })(\r\n\tHeaderLinks\r\n);\r\n","import { infraConfig } from './infraConfig';\r\nimport logo from \"assets/customer/falcks/logo-small.png\";\r\nimport sideBarBg from \"assets/customer/falcks/sidebar-bg.jpg\";\r\nimport HeaderLinks from \"./HeaderLinks\";\r\nimport dashboardRoutes from './dashboard';\r\n\r\nexport const appConfig = {\r\n name:'falcksprod',\r\n instrumentationKey: '3491a8ed-dac2-4257-8a9e-ba19250ca866',\r\n title: \"Min Sida\", \r\n infra: infraConfig,\r\n dashboard: dashboardRoutes,\r\n logoSmall: logo,\r\n sideBarBg: sideBarBg,\r\n headerLinks: HeaderLinks,\r\n disableFK: true\r\n}","import Start from \"dashboard/Start/Start\";\r\nimport BplMinaUppdragPage from \"dashboard/BplMinaUppdrag/BplMinaUppdragPage.jsx\";\r\nimport Fordonskontroll from \"dashboard/Fordonskontroll/Fordonskontroll.jsx\";\r\nimport Incidentrapporter from \"dashboard/Incidenter/Incidentrapporter.jsx\";\r\nimport IncidenterFormH from \"dashboard/Incidenter/FormH.jsx\";\r\nimport UserInfo from \"dashboard/Main/UserInfo\";\r\nimport NyheterRegionList from \"dashboard/Nyheter/RegionNewsListView.jsx\";\r\nimport NyheterKoncernList from \"dashboard/Nyheter/KoncernNewsListView.jsx\";\r\nimport RegionNyhet from \"dashboard/Nyheter/RegionNewsShowFull.jsx\";\r\nimport KoncernNyhet from \"dashboard/Nyheter/KoncernNewsShowFull.jsx\";\r\nimport Utbildning from \"dashboard/Utbildning/Utbildning.jsx\";\r\nimport Forslagslada from \"dashboard/Forslagslada/Forslagslada\";\r\nimport KrishanteringVH from \"dashboard/Krishantering/Krishantering.jsx\"; //\"dashboard/KrishanteringVH/KrishanteringVH.jsx\";\r\nimport EcoDriving from \"dashboard/EcoDriving/EcoDriving.jsx\"\r\nimport BplSchema from \"dashboard/BplMinaUppdrag/Schema.jsx\";\r\nimport PolicyRutiner from \"dashboard/PolicyDocs/PolicyDocs.jsx\";\r\nimport DashboardHelp from \"dashboard/Main/DashboardHelp\";\r\nimport ForsakringUppfoljning from \"dashboard/Incidenter/ForsakringUppfoljning/ForsakringUppfoljning\";\r\n\r\nvar dashboardRoutes = [\r\n {\r\n path: \"/dashboard/start\",\r\n name: \"Start\",\r\n icon: \"pe-7s-news-paper\",\r\n component: Start\r\n },\r\n {\r\n path: \"/dashboard/nyheter\",\r\n name: \"Nyheter\",\r\n icon: \"pe-7s-speaker\",\r\n collapse: true,\r\n childRoutes: [\r\n {\r\n path: \"/dashboard/nyheter/region\",\r\n component: NyheterRegionList,\r\n mini: \"R\",\r\n name: \"Region\",\r\n },\r\n {\r\n path: \"/dashboard/nyheter/koncern\",\r\n component: NyheterKoncernList,\r\n mini: \"K\",\r\n name: \"Koncern\",\r\n },\r\n {\r\n path: \"/dashboard/nyheter/koncern/:newsId\",\r\n name: \"Nyhet\",\r\n icon: \"pe-7s-speaker\",\r\n component: KoncernNyhet,\r\n mini: \"N\",\r\n hideFromMenu: true\r\n },\r\n {\r\n path: \"/dashboard/nyheter/region/:newsId\",\r\n name: \"Nyhet\",\r\n icon: \"pe-7s-speaker\",\r\n component: RegionNyhet,\r\n mini: \"N\",\r\n hideFromMenu: true\r\n }\r\n ]\r\n }, \r\n {\r\n path: \"/dashboard/minauppdrag\",\r\n name: \"Mina Uppdrag\",\r\n icon: \"pe-7s-bottom-arrow\",\r\n component: BplMinaUppdragPage\r\n },\r\n {\r\n path: \"/dashboard/schema\",\r\n name: \"Schema\",\r\n icon: \"pe-7s-note2\",\r\n component: BplSchema\r\n },\r\n {\r\n path: \"/dashboard/fordonskontroll\",\r\n name: \"Felrapportering\",\r\n icon: \"pe-7s-car\",\r\n component: Fordonskontroll\r\n },\r\n {\r\n path: \"/dashboard/avvikelser\",\r\n name: \"Avvikelser\",\r\n icon: \"pe-7s-light\",\r\n component: Incidentrapporter\r\n },\r\n {\r\n path: \"/dashboard/nyavvikelse\",\r\n name: \"Ny avvikelse\",\r\n icon: \"pe-7s-light\",\r\n component: IncidenterFormH,\r\n hideFromMenu:true\r\n },\r\n {\r\n path: \"/dashboard/krishantering\",\r\n name: \"Krishantering\",\r\n icon: \"pe-7s-help2\",\r\n component: KrishanteringVH\r\n },\r\n {\r\n path: \"/dashboard/forslag\",\r\n name: \"Förslagslåda\",\r\n icon: \"pe-7s-comment\",\r\n component: Forslagslada\r\n },\r\n {\r\n path: \"/dashboard/userinfo\",\r\n name: \"Användarinformation\",\r\n icon: \"pe-7s-user\",\r\n component: UserInfo,\r\n hideFromMenu: true\r\n },\r\n {\r\n path: \"/dashboard/ecodriving\",\r\n name: \"Sparsam körning\",\r\n icon: \"pe-7s-leaf\",\r\n component: EcoDriving,\r\n hideFromMenu: true\r\n },\r\n {\r\n path: \"/dashboard/forsakringuppfoljning\",\r\n name: \"Försäkringsuppföljning\",\r\n icon: \"pe-7s-loop\",\r\n component: ForsakringUppfoljning\r\n },\r\n {\r\n //pe-7s-notebook\r\n path: \"/dashboard/utbildning\",\r\n name: \"Utbildningsintyg\",\r\n icon: \"pe-7s-study\",\r\n component: Utbildning,\r\n hideFromMenu: false\r\n },\r\n {\r\n path: \"/dashboard/policy\",\r\n name: \"Policy & Rutiner\",\r\n icon: \"pe-7s-notebook\",\r\n component: PolicyRutiner\r\n }, \r\n {\r\n path: \"/dashboard/help\",\r\n name: \"Hjälp\",\r\n icon: \"pe-7s-help1\",\r\n component: DashboardHelp,\r\n },\r\n\r\n];\r\nexport default dashboardRoutes;\r\n","import Start from \"dashboard/Start/Start\";\r\nimport BplMinaUppdragPage from \"dashboard/BplMinaUppdrag/BplMinaUppdragPage.jsx\";\r\nimport Fordonskontroll from \"dashboard/Fordonskontroll/Fordonskontroll.jsx\";\r\nimport Incidentrapporter from \"dashboard/Incidenter/Incidentrapporter.jsx\";\r\nimport IncidenterFormH from \"dashboard/Incidenter/FormH.jsx\";\r\nimport KontekOnlineLonebesked from \"dashboard/KontekOnlineLonebesked/KontekOnlineLonebesked.jsx\";\r\nimport UserInfo from \"dashboard/Main/UserInfo\";\r\nimport NyheterRegionList from \"dashboard/Nyheter/RegionNewsListView.jsx\";\r\nimport NyheterKoncernList from \"dashboard/Nyheter/KoncernNewsListView.jsx\";\r\nimport RegionNyhet from \"dashboard/Nyheter/RegionNewsShowFull.jsx\";\r\nimport KoncernNyhet from \"dashboard/Nyheter/KoncernNewsShowFull.jsx\";\r\nimport Utbildning from \"dashboard/Utbildning/Utbildning.jsx\";\r\nimport Forslagslada from \"dashboard/Forslagslada/Forslagslada\";\r\nimport Krishantering from \"dashboard/Krishantering/Krishantering.jsx\";\r\nimport EcoDriving from \"dashboard/EcoDriving/EcoDriving.jsx\"\r\nimport BplSchema from \"dashboard/BplMinaUppdrag/Schema.jsx\";\r\nimport ForsakringUppfoljning from \"dashboard/Incidenter/ForsakringUppfoljning/ForsakringUppfoljning\";\r\nimport DashboardHelp from \"dashboard/Main/DashboardHelp\";\r\n\r\nvar dashboardRoutes = [\r\n {\r\n path: \"/dashboard/start\",\r\n name: \"Start\",\r\n icon: \"pe-7s-news-paper\",\r\n component: Start\r\n },\r\n {\r\n path: \"/dashboard/nyheter\",\r\n name: \"Nyheter\",\r\n icon: \"pe-7s-speaker\",\r\n collapse: true,\r\n requireClaim: \"NewsEnabled\",\r\n childRoutes: [\r\n {\r\n path: \"/dashboard/nyheter/region\",\r\n component: NyheterRegionList,\r\n mini: \"R\",\r\n name: \"Region\",\r\n },\r\n {\r\n path: \"/dashboard/nyheter/koncern\",\r\n component: NyheterKoncernList,\r\n mini: \"K\",\r\n name: \"Koncern\",\r\n },\r\n {\r\n path: \"/dashboard/nyheter/koncern/:newsId\",\r\n name: \"Nyhet\",\r\n icon: \"pe-7s-speaker\",\r\n component: KoncernNyhet,\r\n mini: \"N\",\r\n hideFromMenu: true\r\n },\r\n {\r\n path: \"/dashboard/nyheter/region/:newsId\",\r\n name: \"Nyhet\",\r\n icon: \"pe-7s-speaker\",\r\n component: RegionNyhet,\r\n mini: \"N\",\r\n hideFromMenu: true\r\n }\r\n ]\r\n }, \r\n {\r\n path: \"/dashboard/minauppdrag\",\r\n name: \"Mina Uppdrag\",\r\n icon: \"pe-7s-bottom-arrow\",\r\n requireClaim: \"MinaUppdragEnabled\",\r\n component: BplMinaUppdragPage\r\n },\r\n {\r\n path: \"/dashboard/schema\",\r\n name: \"Schema\",\r\n icon: \"pe-7s-note2\",\r\n requireClaim: \"SchemaEnabled\",\r\n component: BplSchema\r\n },\r\n {\r\n path: \"/dashboard/fordonskontroll\",\r\n name: \"Felrapportering\",\r\n icon: \"pe-7s-car\",\r\n requireClaim: \"FkEnabled\",\r\n component: Fordonskontroll\r\n },\r\n {\r\n path: \"/dashboard/avvikelser\",\r\n name: \"Avvikelser\",\r\n icon: \"pe-7s-light\",\r\n requireClaim: \"IncidentsEnabled\",\r\n component: Incidentrapporter\r\n },\r\n {\r\n path: \"/dashboard/nyavvikelse\",\r\n name: \"Ny avvikelse\",\r\n icon: \"pe-7s-light\",\r\n requireClaim: \"IncidentsEnabled\",\r\n component: IncidenterFormH,\r\n hideFromMenu:true\r\n },\r\n {\r\n path: \"/dashboard/konteklonebesked\",\r\n name: \"Lönespecar Kontek\",\r\n icon: \"pe-7s-credit\",\r\n component: KontekOnlineLonebesked,\r\n requireClaimValue: [\"LonSystem\", \"Kontek\"]\r\n },\r\n {\r\n path: \"/dashboard/krishantering\",\r\n name: \"Krishantering\",\r\n icon: \"pe-7s-help2\",\r\n component: Krishantering\r\n },\r\n {\r\n path: \"/dashboard/forslag\",\r\n name: \"Förslagslåda\",\r\n icon: \"pe-7s-comment\",\r\n requireClaim: \"ForslagEnabled\",\r\n component: Forslagslada\r\n },\r\n {\r\n path: \"/dashboard/userinfo\",\r\n name: \"Användarinformation\",\r\n icon: \"pe-7s-user\",\r\n component: UserInfo,\r\n hideFromMenu: true\r\n }, \r\n {\r\n path: \"/dashboard/ecodriving\",\r\n name: \"Sparsam körning\",\r\n icon: \"pe-7s-leaf\",\r\n component: EcoDriving,\r\n hideFromMenu: false\r\n },\r\n {\r\n //pe-7s-notebook\r\n path: \"/dashboard/utbildning\",\r\n name: \"Utbildningsintyg\",\r\n icon: \"pe-7s-study\",\r\n component: Utbildning,\r\n hideFromMenu: false\r\n },\r\n {\r\n path: \"/dashboard/help\",\r\n name: \"Hjälp\",\r\n icon: \"pe-7s-help1\",\r\n component: DashboardHelp,\r\n },\r\n\r\n];\r\nexport default dashboardRoutes;\r\n","import React, { Component } from \"react\";\r\nimport { appConfig } from \"config/appConfig\";\r\nimport { getClaimSingle } from \"system/security\";\r\n\r\nimport userManager from \"system/userManager\";\r\nimport { Nav, NavDropdown, MenuItem, Navbar } from \"react-bootstrap\";\r\nimport { connect } from \"react-redux\";\r\n\r\n// import Date from \"components/formatting/Date.jsx\";\r\nimport { clearErrors } from \"system/actions\";\r\nimport { logoutInProgress } from \"system/actions/authHelper.js\";\r\n\r\nimport { LinkContainer } from \"react-router-bootstrap\";\r\n\r\nimport BplExternalLink from \"components/utils/BplExternalLink\";\r\nimport DocsExternalLink from \"components/utils/DocsExternalLink\";\r\nimport ExternalLink from \"components/utils/ExternalLink\";\r\nimport { getClaimArray } from \"system/security\";\r\nimport KrishanteringButton from \"components/utils/KrishanteringButton\";\r\nimport MobileDesktop from \"components/utils/MobileDesktop\";\r\nimport UtbExternalLink from \"components/utils/UtbExternalLink\";\r\n\r\nclass HeaderLinks extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tshowLedigaTjanster: false,\r\n\t\t\tshowTimereport: false,\r\n\t\t\tshowForarTavlan: false,\r\n\t\t\tshowPolicyRutiner: false,\r\n\t\t\tshowBusskartor: false,\r\n\t\t\tshowWebidha: false,\r\n\t\t\textended: false,\r\n\t\t};\r\n\t}\r\n\thandleNotificationClick() {\r\n\t\tthis.props.clearErrors();\r\n\t}\r\n\thandleLinkClick(path) {\r\n\t\tdocument.documentElement.classList.toggle(\"nav-open\");\r\n\t\t// if (this.props.history !== undefined) this.props.history.push(path);\r\n\t}\r\n\tcomponentDidMount() {\r\n\t\tconst showLedigaTjanster = getClaimSingle(\r\n\t\t\t\"LinkLedigaTjansterEnabled\",\r\n\t\t\tthis.props.userprofile\r\n\t\t);\r\n\t\tif (showLedigaTjanster) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tshowLedigaTjanster: true,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tconst showTimereport = getClaimSingle(\r\n\t\t\t\"LinkTimereportEnabled\",\r\n\t\t\tthis.props.userprofile\r\n\t\t);\r\n\t\tif (showTimereport) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tshowTimereport: true,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tconst showForarTavlan = getClaimSingle(\r\n\t\t\t\"LinkForartavlanEnabled\",\r\n\t\t\tthis.props.userprofile\r\n\t\t);\r\n\t\tif (showForarTavlan) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tshowForarTavlan: true,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tconst showPolicyRutiner = getClaimSingle(\r\n\t\t\t\"LinkPolicyRutinerEnabled\",\r\n\t\t\tthis.props.userprofile\r\n\t\t);\r\n\t\tif (showPolicyRutiner) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tshowPolicyRutiner: true,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tconst showBusskartor = getClaimSingle(\r\n\t\t\t\"LinkBusskartsEnabled\",\r\n\t\t\tthis.props.userprofile\r\n\t\t);\r\n\t\tif (showBusskartor) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tshowBusskartor: true,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tconst showWebidha = getClaimSingle(\r\n\t\t\t\"LinkWebidhaEnabled\",\r\n\t\t\tthis.props.userprofile\r\n\t\t);\r\n\t\tif (showWebidha) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tshowWebidha: true,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnoCaret\r\n\t\t\t\t\t\tid=\"basic-nav-dropdown-3\"\r\n\t\t\t\t\t\tbsClass=\"dropdown-with-icons dropdown\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t this.handleLinkClick()}\r\n\t\t\t\t\t\t\tto=\"/dashboard/userinfo\"\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tAnvändarinfo\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\tthis.handleLinkClick();\r\n\r\n\t\t\t\t\t\t\t\t\tthis.props.logoutInProgress();\r\n\t\t\t\t\t\t\t\t\tuserManager.removeUser(); // removes the user data from sessionStorage\r\n\t\t\t\t\t\t\t\t\tuserManager.signoutRedirect({\r\n\t\t\t\t\t\t\t\t\t\tid_token_hint: this.props.user.id_token,\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\twindow.localStorage.clear();\r\n\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t Logga ut\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t} />\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n\treturn {\r\n\t\tuser: state.oidc.user,\r\n\t\tuserprofile: state.userprofile.userprofile,\r\n\t\terrors: state.errors.errors,\r\n\t};\r\n}\r\n\r\nexport default connect(mapStateToProps, { clearErrors, logoutInProgress })(\r\n\tHeaderLinks\r\n);\r\n","\r\nimport dashboardRoutes from '../tdprod/dashboard';\r\nimport logo from \"assets/customer/td/logo-small.png\";\r\nimport sideBarBg from \"assets/customer/td/sidebar-bg.jpg\";\r\nimport HeaderLinks from '../tdprod/HeaderLinks';\r\n\r\nexport const appConfig = {\r\n name:'td2prod',\r\n instrumentationKey: 'a2f39c9b-08d7-4f2f-9262-611173eaf133',\r\n lediaTjansterUrl: 'https://jobb.transdev.se/',\r\n title: \"Min Sida\", \r\n dashboard: dashboardRoutes,\r\n logoSmall: logo,\r\n sideBarBg: sideBarBg,\r\n headerLinks: HeaderLinks\r\n}","import { appConfig as localConfig } from './local/appConfig';\r\nimport { appConfig as devConfig } from './dev/appConfig';\r\nimport { appConfig as bnprodConfig } from './bnprod/appConfig';\r\nimport { appConfig as vhprodConfig } from './vhprod/appConfig';\r\nimport { appConfig as falcksprodConfig } from './falcksprod/appConfig';\r\nimport { appConfig as td2prodConfig } from './td2prod/appConfig';\r\n\r\nvar hostnameLookup = window.location.hostname;\r\n\r\nconst exportedConfig = hostnameLookup === \"minsidadev.azurewebsites.net\" ? devConfig\r\n: hostnameLookup === \"minsidabn.azurewebsites.net\" ? bnprodConfig\r\n: hostnameLookup === \"minsidabn-staging.azurewebsites.net\" ? bnprodConfig\r\n: hostnameLookup === \"minsida.bybergnordin.se\" ? bnprodConfig\r\n: hostnameLookup === \"minsidatd2.azurewebsites.net\" ? td2prodConfig\r\n: hostnameLookup === \"minsidatd2-staging.azurewebsites.net\" ? td2prodConfig\r\n: hostnameLookup === \"minsida.ppsp.se\" ? td2prodConfig\r\n: hostnameLookup === \"minsida-vastanhede.azurewebsites.net\" ? vhprodConfig\r\n: hostnameLookup === \"vastanhedeminsida.se\" ? vhprodConfig\r\n: hostnameLookup === \"www.vastanhedeminsida.se\" ? vhprodConfig\r\n: hostnameLookup === \"minsidavh.azurewebsites.net\" ? vhprodConfig\r\n: hostnameLookup === \"minsidavh-staging.azurewebsites.net\" ? vhprodConfig\r\n: hostnameLookup === \"minsidafalcks.azurewebsites.net\" ? falcksprodConfig\r\n: hostnameLookup === \"minsidafalcks-staging.azurewebsites.net\" ? falcksprodConfig\r\n: localConfig;\r\n\r\n// export const appConfig = vhprodConfig; // test\r\nexport const appConfig = exportedConfig;\r\n","import { createStore, applyMiddleware, compose } from 'redux';\r\nimport { browserHistory } from 'react-router';\r\nimport { routerMiddleware } from 'react-router-redux';\r\nimport { loadUser } from 'redux-oidc';\r\nimport reducer from './reducer';\r\nimport userManager from './userManager';\r\nimport promise from \"redux-promise\";\r\nimport thunk from \"redux-thunk\";\r\nimport { insightsMonitor } from 'redux-appinsights';\r\nimport { appConfig } from \"config/appConfig\";\r\n\r\n// create the middleware with the userManager\r\n// const oidcMiddleware = createOidcMiddleware(userManager, () => true, false, '/callback');\r\n\r\nconst loggerMiddleware = store => next => action => {\r\n\r\n if (appConfig.outputToConsole) {\r\n \r\n console.log(\"Action type:\", action.type);\r\n console.log(\"Action payload:\", action.payload);\r\n console.log(\"State before:\", store.getState());\r\n \r\n next(action);\r\n\r\n console.log(\"State after:\", store.getState()); \r\n } else {\r\n next(action);\r\n }\r\n\r\n};\r\n\r\nconst initialState = { };\r\n\r\nconst createStoreWithMiddleware = compose(\r\n applyMiddleware(thunk, promise, loggerMiddleware, routerMiddleware(browserHistory), insightsMonitor())\r\n)(createStore);\r\n\r\nconst store = createStoreWithMiddleware(reducer, initialState);\r\n\r\nloadUser(store, userManager);\r\nexport default store;\r\n\r\n","import { Component } from 'react';\r\n\r\nclass App extends Component {\r\n \r\n\r\n render() {\r\n return (\r\n {...this.props.children}\r\n );\r\n}\r\n\r\n}\r\nexport default App;\r\n","import React from \"react\";\r\nimport { Navbar } from \"react-bootstrap\";\r\nimport {appConfig} from \"config/appConfig\";\r\n\r\nconst logoStyle = {\r\n height: '40px',\r\n marginTop: '5px',\r\n marginBottom: '5px'\r\n\r\n};\r\nconst titleStyle = {\r\n lineHeight: '32px',\r\n fontSize: '22px',\r\n color: '#a0a0a0',\r\n display: 'inline-block',\r\n marginTop: '10px',\r\n marginLeft: '10px'\r\n}\r\n\r\n\r\nclass SimpleStandaloneHeader extends React.Component {\r\n \r\n render() {\r\n\r\n return ( \r\n \r\n \r\n \"react-logo\"{appConfig.title}\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default SimpleStandaloneHeader;\r\n\r\n","import React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport userManager from \"../system/userManager\";\r\nimport Card from \"components/Card/Card.jsx\";\r\nimport Button from \"components/CustomButtons/CustomButton.jsx\";\r\nimport {Grid, Col, Row } from \"react-bootstrap\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport SimpleStandaloneHeader from \"../components/utils/SimpleStandaloneHeader\";\r\n\r\nclass LoginPage extends React.Component {\r\n constructor(props){\r\n super(props);\r\n this.state = {\r\n showRedirectText: false,\r\n redirectFailed: false\r\n }\r\n\r\n }\r\n \r\n componentDidMount() {\r\n\r\n this.login();\r\n\r\n }\r\n\r\n login() {\r\n\r\n this.setState({\r\n showRedirectText: false,\r\n redirectFailed: false\r\n }, () => {\r\n if (!this.props.logoutInProgress) {\r\n this.setState({\r\n showRedirectText: true\r\n }, () => {\r\n userManager.signinRedirect().then(respone => {\r\n console.log('after signinredirect');\r\n }).catch(e => {\r\n this.setState({\r\n redirectFailed: true\r\n });\r\n console.log('error signinredirect',e)\r\n });\r\n });\r\n }\r\n });\r\n\r\n\r\n }\r\n render() {\r\n\r\n return ( \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n {this.state.redirectFailed ?

     Ett fel inträffade.

    \r\n

    \r\n
    :
    \r\n {this.state.showRedirectText ?

    Loggar in..

    : null }\r\n {this.props.logoutInProgress ?

    Loggar ut..

    : null }\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\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n logoutInProgress: state.authhelper.logoutInProgress\r\n };\r\n}\r\n\r\nexport default connect(mapStateToProps)(LoginPage);\r\n","import React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { Grid, Col, Row } from \"react-bootstrap\";\r\nimport SimpleStandaloneHeader from \"components/utils/SimpleStandaloneHeader\";\r\nimport Reset from \"components/Support/Reset\"\r\n// import Debuginfo from \"components/Support/Debuginfo\";\r\n\r\nclass HelpPage extends React.Component {\r\n \r\n render() {\r\n // just redirect to '/' in both cases\r\n return (\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* \r\n \r\n \r\n \r\n */}\r\n \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default connect()(HelpPage);","import React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { getConfigurationDescription } from './actions';\r\n\r\nclass ConfigDescription extends React.Component {\r\n\r\n componentDidMount() {\r\n this.props.getConfigurationDescription();\r\n }\r\n\r\n render() {\r\n return (\r\n
    api config: {this.props.configDescription}
    \r\n );\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n configDescription: state.diagnostics.configDescription\r\n };\r\n}\r\n\r\nexport default connect(mapStateToProps, { getConfigurationDescription })(ConfigDescription);\r\n\r\n","import React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport Card from \"components/Card/Card.jsx\";\r\nimport {Grid, Col,Row } from \"react-bootstrap\";\r\nimport {appConfig} from \"config/appConfig\";\r\nimport ConfigDescription from './ConfigDescription';\r\nimport SimpleStandaloneHeader from \"components/utils/SimpleStandaloneHeader\";\r\n\r\n\r\nclass Diagnostics extends React.Component {\r\n \r\n componentDidMount() {\r\n \r\n \r\n}\r\n\r\n render() {\r\n\r\n return ( \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n

    Diagnostik

    \r\n
    client config: {appConfig.name}
    \r\n { this.props.user ? : null}\r\n\r\n
    \r\n } />\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user\r\n };\r\n}\r\n\r\nexport default connect(mapStateToProps)(Diagnostics);\r\n\r\n","import React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { CallbackComponent } from \"redux-oidc\";\r\nimport { push } from \"react-router-redux\";\r\nimport userManager from \"../system/userManager\";\r\n\r\nclass CallbackPage extends React.Component {\r\n render() {\r\n // just redirect to '/' in both cases\r\n return (\r\n this.props.dispatch(push(\"/\"))}\r\n errorCallback={error => {\r\n this.props.dispatch(push(\"/loggedout\"));\r\n console.error('callback error', error);\r\n }}\r\n >\r\n
    Redirecting...
    \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default connect()(CallbackPage);","import { connect } from \"react-redux\";\r\nimport React, { Component } from \"react\";\r\nimport { Collapse } from \"react-bootstrap\";\r\nimport { Link } from \"react-router\";\r\n// this is used to create scrollbars on windows devices like the ones from apple devices\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\";\r\nimport 'react-perfect-scrollbar/dist/css/styles.css';\r\nimport { checkDashboardAccess } from \"system/security\";\r\n\r\nimport { appConfig } from \"config/appConfig\";\r\n\r\n\r\nconst bgImage = { backgroundImage: \"url(\" + appConfig.sideBarBg + \")\" };\r\n\r\n\r\nclass Sidebar extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n openAvatar: false, \r\n isWindows: navigator.platform.indexOf(\"Win\") > -1 ? true : false,\r\n width: window.innerWidth\r\n };\r\n // this.handleLinkClick = this.handleLinkClick.bind(this);\r\n }\r\n // verifies if routeName is the one active (in browser input)\r\n activeRoute(routeName) {\r\n return this.props.location.pathname.indexOf(routeName) > -1 ? \"active\" : \"\";\r\n }\r\n // if the windows width changes CSS has to make some changes\r\n // this functions tell react what width is the window\r\n updateDimensions() {\r\n this.setState({ width: window.innerWidth });\r\n }\r\n componentDidMount() {\r\n this.updateDimensions();\r\n // add event listener for windows resize\r\n window.addEventListener(\"resize\", this.updateDimensions.bind(this));\r\n\r\n\r\n }\r\n\r\n handleLinkClick(path) {\r\n document.documentElement.classList.toggle(\"nav-open\");\r\n // if (this.props.history !== undefined) this.props.history.push(path);\r\n }\r\n\r\n render() {\r\n return (\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n \"react-logo\"\r\n
    \r\n \r\n \r\n {appConfig.title}\r\n \r\n
    \r\n
    \r\n
      \r\n {/* If we are on responsive, we want both links from navbar and sidebar\r\n to appear in sidebar, so we render here HeaderLinks */}\r\n {this.state.width <= 992 ? : null}\r\n {/*\r\n here we render the links in the sidebar\r\n if the link is simple, we make a simple link, if not,\r\n we have to create a collapsible group,\r\n with the speciffic parent button and with it's children which are the links\r\n */}\r\n {appConfig.dashboard.map((prop, key) => {\r\n var st = {};\r\n \r\n if (!checkDashboardAccess(prop, this.props.userprofile)) {\r\n return true;\r\n }\r\n\r\n if (prop.hideFromMenu !== undefined && prop.hideFromMenu === true){\r\n return true;\r\n }\r\n\r\n st[prop[\"state\"]] = !this.state[prop.state];\r\n if (prop.collapse) {\r\n return (\r\n
    • \r\n {e.preventDefault(); this.setState(st);}}>\r\n \r\n

      \r\n {prop.name}\r\n \r\n

      \r\n
      \r\n \r\n
        \r\n {prop.childRoutes.map((prop, key) => {\r\n if (prop.hideFromMenu !== undefined && prop.hideFromMenu === true){\r\n return true;\r\n }\r\n \r\n return (\r\n \r\n this.handleLinkClick(prop.path)}\r\n >\r\n \r\n {prop.mini}\r\n \r\n \r\n {prop.name}\r\n \r\n \r\n \r\n );\r\n })}\r\n
      \r\n
      \r\n
    • \r\n );\r\n } else {\r\n if (prop.redirect) {\r\n return null;\r\n } else {\r\n return (\r\n
    • \r\n this.handleLinkClick(prop.path)}\r\n >\r\n \r\n

      {prop.name}

      \r\n \r\n
    • \r\n );\r\n }\r\n }\r\n })} \r\n
    • \r\n
      \r\n
      \r\n
      Build: {process.env.REACT_APP_BUILD_DATE}
      \r\n
      \r\n
    • \r\n\r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user\r\n };\r\n}\r\n\r\nexport default connect(mapStateToProps)(Sidebar);","import React, { Component } from \"react\";\r\nimport { Navbar } from \"react-bootstrap\";\r\nimport MediaQuery from 'react-responsive';\r\n\r\n// links that appear in navbar - they are separated from this component (navbar) so that we can redner them on responsive in sidebar as well\r\n\r\n// import HeaderLinks from \"./HeaderLinks.jsx\";\r\n\r\n// we import here the routes for dashboard pages (links that appear in sidebar) to set navbar's name\r\n\r\nimport { appConfig } from \"config/appConfig\";\r\n\r\nclass Header extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.handleMinimizeSidebar = this.handleMinimizeSidebar.bind(this);\r\n this.mobileSidebarToggle = this.mobileSidebarToggle.bind(this);\r\n }\r\n makeBrand() {\r\n var name;\r\n appConfig.dashboard.map((prop, key) => {\r\n if (prop.collapse) {\r\n prop.childRoutes.map((prop, key) => {\r\n if (prop.path === this.props.location.pathname) {\r\n name = prop.name;\r\n }\r\n return null;\r\n });\r\n } else {\r\n if (prop.redirect) {\r\n if (prop.path === this.props.location.pathname) {\r\n name = prop.name;\r\n }\r\n } else {\r\n if (prop.path === this.props.location.pathname) {\r\n name = prop.name;\r\n }\r\n }\r\n }\r\n return null;\r\n });\r\n return name;\r\n }\r\n // function that makes the sidebar from normal to mini and vice-versa\r\n handleMinimizeSidebar() {\r\n document.body.classList.toggle(\"sidebar-mini\");\r\n }\r\n // function for responsive that hides/shows the sidebar\r\n mobileSidebarToggle(e) {\r\n document.documentElement.classList.toggle(\"nav-open\");\r\n }\r\n render() {\r\n return (\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n {/* Here we create navbar brand, based on route name */}\r\n {this.makeBrand()}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default Header;\r\n","import React, { Component } from \"react\";\r\n\r\nclass Footer extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n
    \r\n \r\n );\r\n }\r\n}\r\nexport default Footer;\r\n","import React from 'react';\r\nimport Card from 'components/Card/Card.jsx';\r\n\r\nclass NoAccess extends React.Component {\r\n \r\n render(){ \r\n return (

    Sidan kan inte visas.

    \r\n

    Detta kan bero på att din användare inte har behörighet att visa sidan.

    \r\n } />\r\n );\r\n }\r\n}\r\n\r\nexport default NoAccess;","import React, { Component } from \"react\";\r\nimport Sidebar from './Sidebar/Sidebar.jsx';\r\nimport Header from './Header/Header.jsx';\r\nimport Footer from './Footer/Footer.jsx';\r\nimport NoAccess from \"./NoAccess.jsx\"\r\nimport { checkDashboardRouteAccess } from \"system/security\";\r\n\r\n// import PerfectScrollbar from \"react-perfect-scrollbar\";\r\n// import 'react-perfect-scrollbar/dist/css/styles.css';\r\n\r\nclass Main extends Component {\r\n componentDidMount() {\r\n this.setState({ _notificationSystem: this.refs.notificationSystem });\r\n }\r\n\r\n componentWillMount() {\r\n\r\n if (document.documentElement.className.indexOf(\"nav-open\") !== -1) {\r\n document.documentElement.classList.toggle(\"nav-open\");\r\n }\r\n }\r\n\r\n render() {\r\n \r\n const childrenWithExtraProp = React.Children.map(this.props.children, child => {\r\n return React.cloneElement(child, {\r\n router: this.props.router,\r\n onUpdateSize: () => { this._scrollBarRef.updateScroll()}\r\n });\r\n });\r\n // console.log('main props', this.props);\r\n\r\n return ( \r\n
    \r\n \r\n
    \r\n {/* { this._scrollBarRef = ref; }} > */}\r\n\r\n
    \r\n
    \r\n { \r\n !checkDashboardRouteAccess(this.props.routes, this.props.userprofile) ? \r\n : childrenWithExtraProp \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 Main;\r\n\r\n","import React, { Component } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport Main from './Main.jsx';\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\nimport {Grid, Col, Row } from \"react-bootstrap\";\r\nimport Card from \"components/Card/Card.jsx\";\r\n\r\nimport { getUserProfile } from \"system/userprofile/actions\";\r\nimport SimpleStandaloneHeader from \"../../components/utils/SimpleStandaloneHeader.jsx\";\r\nimport Button from \"components/CustomButtons/CustomButton\";\r\n\r\nclass UserProfileHC extends Component {\r\n \r\n componentWillMount() {\r\n this.props.getUserProfile();\r\n\r\n }\r\n\r\n render() {\r\n \r\n \r\n return (\r\n this.props.userprofile ? \r\n
    \r\n :
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n { this.props.userprofileLoadingFailed ?

    : null}\r\n
    \r\n } />\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n userprofile: state.userprofile.userprofile,\r\n userprofileIsLoading: state.userprofile.userprofileIsLoading,\r\n userprofileLoadingFailed: state.userprofile.userprofileLoadingFailed,\r\n };\r\n}\r\n\r\nexport default connect(mapStateToProps, { getUserProfile })(UserProfileHC);\r\n\r\n","import React, { Component } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport LoginPage from \"../account/loginPage\";\r\nimport LoadingIcon from \"components/utils/LoadingIcon\";\r\n\r\nimport UserProfileHC from \"./Main/UserProfileHC.jsx\";\r\n \r\nclass Dashboard extends Component {\r\n \r\n render() {\r\n\r\n return (\r\n this.props.isLoadingUser ? :\r\n !this.props.user || this.props.user.expired ? : );\r\n\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n isLoadingUser: state.oidc.isLoadingUser\r\n };\r\n}\r\nfunction mapDispatchToProps(dispatch) {\r\n return {\r\n dispatch\r\n };\r\n}\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Dashboard);\r\n","import React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport Card from \"components/Card/Card.jsx\";\r\nimport { Grid, Col, Row } from \"react-bootstrap\";\r\nimport { logoutFinished } from \"system/actions/authHelper.js\";\r\nimport {appConfig} from \"config/appConfig\";\r\nimport SimpleStandaloneHeader from \"../components/utils/SimpleStandaloneHeader\";\r\n\r\nclass LoggedOutPage extends React.Component {\r\n \r\n componentDidMount() {\r\n this.props.logoutFinished();\r\n }\r\n \r\n\r\n render() {\r\n return ( \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n

    \r\n

    Du är nu utloggad. Klicka här för att använda {appConfig.title} igen.

    \r\n \r\n
    \r\n } />\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nfunction mapStateToProps(state) {\r\n return {\r\n user: state.oidc.user,\r\n logoutInProgress: state.authhelper.logoutInProgress\r\n };\r\n}\r\n\r\nexport default connect(mapStateToProps, { logoutFinished })(LoggedOutPage);","import React, { Component } from 'react';\r\nimport { Router, browserHistory } from 'react-router';\r\nimport store from 'system/store';\r\nimport { syncHistoryWithStore } from 'react-router-redux';\r\n\r\nimport App from 'app';\r\nimport LoginPage from 'account/loginPage';\r\nimport HelpPage from 'account/helpPage';\r\nimport Diagnostics from 'diagnostics';\r\n\r\nimport MyCallbackPage from 'account/callback';\r\nimport { appConfig } from 'config/appConfig';\r\nimport Dashboard from 'dashboard/dashboard';\r\nimport LoggedOutPage from 'account/loggedoutPage';\r\nimport ReactAI from 'react-appinsights';\r\n\r\nconst history = syncHistoryWithStore(browserHistory, store); \r\n\r\nReactAI.init({instrumentationKey:appConfig.instrumentationKey}, browserHistory);\r\n\r\nconst routes = {\r\n path:\"/\",\r\n component: App,\r\n indexRoute: {\r\n onEnter: (nextState, replace) => replace('/dashboard/start')\r\n },\r\n childRoutes: [\r\n {\r\n path:\"/dashboard\",\r\n indexRoute: {\r\n onEnter: (nextState, replace) => replace('/dashboard/start')\r\n },\r\n component: Dashboard,\r\n childRoutes: appConfig.dashboard\r\n },\r\n {\r\n path:\"/callback\",\r\n component: MyCallbackPage\r\n },\r\n {\r\n path:\"/reset\",\r\n component: HelpPage\r\n },\r\n {\r\n path:\"/help\",\r\n component: HelpPage\r\n },\r\n {\r\n path:\"/diagnostics\",\r\n component: Diagnostics\r\n },\r\n {\r\n path:\"/login\",\r\n component: LoginPage\r\n },\r\n {\r\n path:\"/loggedout\",\r\n component: LoggedOutPage\r\n }\r\n \r\n ] \r\n}\r\n\r\nclass Routes extends Component {\r\n \r\n render() {\r\n return (\r\n \r\n );\r\n }\r\n }\r\n \r\n export default Routes;\r\n","import React from \"react\";\r\nimport ReactDOM from \"react-dom\";\r\nimport ErrorBoundaryGlobal from \"./components/errorBoundaries/errorBoundaryGlobal\";\r\nimport { Provider } from 'react-redux';\r\nimport { OidcProvider, processSilentRenew } from 'redux-oidc';\r\nimport store from './system/store';\r\nimport userManager from \"./system/userManager\";\r\nimport Routes from \"./system/routes/routes.js\";\r\nimport \"./assets/sass/light-bootstrap-dashboard.css?v=1.1.2\";\r\nimport './index.css';\r\nimport \"./assets/css/pe-icon-7-stroke.css\";\r\nimport * as serviceWorker from './serviceWorker';\r\nimport { appConfig } from './config/appConfig';\r\n// you'll need this for older browsers\r\n// require(\"es6-promise\").polyfill();\r\n\r\nconsole.log('ENV',appConfig.name);\r\n\r\nif (window.location.pathname === '/silent-renew') {\r\n console.log('silent renew called');\r\n processSilentRenew();\r\n} else {\r\n\r\n\r\n ReactDOM.render(\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ,\r\n document.getElementById(\"root\")\r\n );\r\n}\r\n\r\n\r\n\r\n// If you want your app to work offline and load faster, you can change\r\n// unregister() to register() below. Note this comes with some pitfalls.\r\n// Learn more about service workers: http://bit.ly/CRA-PWA\r\nserviceWorker.register();\r\n"],"sourceRoot":""}