{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/assets/icons/Fishing.svg","webpack:///./src/assets/icons/Passenger.svg","webpack:///./src/shared/models/ship-type-model.ts","webpack:///./src/shared/stores/applicationStore.ts","webpack:///./src/components/rgpd-components/cookie-dpgr-component/cookie-dpgr.scss?440f","webpack:///./src/components/footer-component/footer.scss?bb2f","webpack:///./src/components/map-component/marpol-datagrid-component/marpol-datagrid-component.scss?40c5","webpack:///./src/components/bottom-menu-component/bottom-menu-component.scss?e2b9","webpack:///./src/components/sidebar-component/sidebar.scss?b83f","webpack:///./src/assets/icons/cargo.svg","webpack:///./src/components/map-component/marsec-datagrid-component/marsec-datagrid-component.scss?c287","webpack:///./src/components/map-component/ibis-datagrid-component/ibis-datagrid-component.scss?6d0e","webpack:///./src/components/control-details-component/control-manage/countries-select-component/countries-select-component.scss","webpack:///./src/shared/enumerations/RiskLevelEnum.ts","webpack:///./src/utils/MapStyleLibrary.ts","webpack:///./src/views/Home.vue?f208","webpack:///./src/components/map-component/map.html","webpack:///./src/components/map-component/ibis-datagrid-component/ibis-datagrid-component.html","webpack:///./src/utils/CustomSorters.ts","webpack:///./src/components/map-component/ibis-datagrid-component/ibis-datagrid-component.ts","webpack:///./src/components/map-component/ibis-datagrid-component/ibis-datagrid-component.ts?6880","webpack:///./src/components/map-component/ibis-datagrid-component/ibis-datagrid-component.vue","webpack:///./src/components/map-component/legend-component/legend.html","webpack:///./src/shared/models/vessel-model.ts","webpack:///./src/components/map-component/legend-component/legend.ts","webpack:///./src/components/map-component/legend-component/legend.ts?f443","webpack:///./src/components/map-component/legend-component/legend.vue","webpack:///./src/components/map-component/filter-component/filter.html","webpack:///./src/shared/models/filter-model.ts","webpack:///./src/components/map-component/filter-component/filter.ts","webpack:///./src/components/map-component/filter-component/filter.ts?507b","webpack:///./src/components/map-component/filter-component/filter.vue","webpack:///./src/components/map-component/marpol-datagrid-component/marpol-datagrid-component.html","webpack:///./src/components/map-component/marpol-datagrid-component/marpol-datagrid-component.ts","webpack:///./src/components/map-component/marpol-datagrid-component/marpol-datagrid-component.ts?4aa1","webpack:///./src/components/map-component/marpol-datagrid-component/marpol-datagrid-component.vue","webpack:///./src/components/map-component/marsec-datagrid-component/marsec-datagrid-component.html","webpack:///./src/components/map-component/marsec-datagrid-component/marsec-datagrid-component.ts","webpack:///./src/components/map-component/marsec-datagrid-component/marsec-datagrid-component.ts?68d4","webpack:///./src/components/map-component/marsec-datagrid-component/marsec-datagrid-component.vue","webpack:///./src/components/vessel-details-component/vessel-details.html","webpack:///./src/components/vessel-details-component/vessel-details.ts","webpack:///./src/components/vessel-details-component/vessel-details.ts?635b","webpack:///./src/components/vessel-details-component/vessel-details.vue","webpack:///./src/components/map-component/map.ts","webpack:///./src/components/map-component/map.ts?45df","webpack:///./src/components/map-component/map.vue","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?358f","webpack:///./src/views/Home.vue","webpack:///./src/router.ts","webpack:///./src/assets/icons/TowingTug.svg","webpack:///./src/shared/models/user-roles-model.ts","webpack:///./src/shared/stores/authentificationStore.ts","webpack:///./src/utils/mapData.ts","webpack:///./src/assets/icons/Sailing.svg","webpack:///./src/utils/constants.ts","webpack:///./src/shared/enumerations/ship-type-enum.ts","webpack:///./src/assets/icons/Other.svg","webpack:///./src/assets/icons/tanker.svg","webpack:///./src/components/control-details-component/control-manage/countries-select-component/countries-select-component.html","webpack:///./src/components/control-details-component/control-manage/countries-select-component/countries-select-component.ts","webpack:///./src/components/control-details-component/control-manage/countries-select-component/countries-select-component.ts?4e8c","webpack:///./src/components/control-details-component/control-manage/countries-select-component/countries-select-component.vue","webpack:///./src/components/map-component/map.scss?0911","webpack:///./src/components/vessel-details-component/vessel-details.scss?272c","webpack:///./src/assets/icons/aquatrack-icon-180x180.png","webpack:///./src/utils/DataFormatters.ts","webpack:///./src/assets/icons/PleasureCraft.svg","webpack:///./src/App/app.html","webpack:///./src/components/header-component/header.html","webpack:///./src/components/header-component/search-bar-component/search-bar.html","webpack:///./src/components/header-component/search-bar-component/search-item-component/search-item.html","webpack:///./src/components/header-component/search-bar-component/search-item-component/search-item.ts","webpack:///./src/components/header-component/search-bar-component/search-item-component/search-item.ts?8ece","webpack:///./src/components/header-component/search-bar-component/search-item-component/search-item.vue","webpack:///./src/components/header-component/search-bar-component/search-bar.ts","webpack:///./src/components/header-component/search-bar-component/search-bar.ts?1c22","webpack:///./src/components/header-component/search-bar-component/search-bar.vue","webpack:///./src/components/header-component/header.ts","webpack:///./src/components/header-component/header.ts?175e","webpack:///./src/components/header-component/header.vue","webpack:///./src/components/sidebar-component/sidebar.html","webpack:///./src/components/sidebar-component/sidebar.ts","webpack:///./src/components/sidebar-component/sidebar.ts?a9c8","webpack:///./src/components/sidebar-component/sidebar.vue","webpack:///./src/components/footer-component/footer.html","webpack:///./src/components/footer-component/footer.ts","webpack:///./src/components/footer-component/footer.ts?5352","webpack:///./src/components/footer-component/footer.vue","webpack:///./src/components/rgpd-components/cookie-dpgr-component/cookie-dpgr.html","webpack:///./src/components/rgpd-components/cookie-dpgr-component/cookie-dpgr.ts","webpack:///./src/components/rgpd-components/cookie-dpgr-component/cookie-dpgr.ts?e735","webpack:///./src/components/rgpd-components/cookie-dpgr-component/cookie-dpgr.vue","webpack:///./src/components/bottom-menu-component/bottom-menu-component.html","webpack:///./src/components/bottom-menu-component/bottom-menu-component.ts","webpack:///./src/components/bottom-menu-component/bottom-menu-component.ts?71e3","webpack:///./src/components/bottom-menu-component/bottom-menu-component.vue","webpack:///./src/App/app.ts","webpack:///./src/App/app.ts?88b5","webpack:///./src/App.vue","webpack:///./src/lang/messages.js","webpack:///./src/services/rest-service.ts","webpack:///./src/registerServiceWorker.ts","webpack:///./src/services/localStorage-service.ts","webpack:///./src/main.ts","webpack:///./src/components/header-component/search-bar-component/search-bar.scss?eaf8","webpack:///./src/shared/models/remote-model.ts","webpack:///./src/components/map-component/filter-component/filter.scss?dd5c","webpack:///./src/components/header-component/header.scss?2078","webpack:///./src/assets/icons/Unindentified.svg","webpack:///./src/components/map-component/legend-component/legend.scss?b348"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","ShipType","_classCallCheck","_createClass","getEncodedShipTypeLabel","determineShipType","ShipTypeEnum","PASSENGER","FISHING","TUG_TOWING","SAILING","PLEASURE","OTHER","CARGO_MERCHANT","TANKER","NONE","ShipTypeCode","getShipTypeLabel","Vue","use","Vuex","applicationStore","Store","state","header","hasSearchBar","sidebar","isCollapsed","docs","currentPagePath","nextPagePath","parentPagePath","search","selectedBoatOfSearch","boats","selectedBoats","Array","unselectSelectedBoats","theme","isDarkMode","toaster","showToasterSuccess","showToasterError","currentLocale","flag","navigation","origin","getters","getSelectedBoats","getUnselectSelectedBoats","getCurrentLocale","getOrigin","mutations","activateSearchBar","deactivateSearchBar","collapseSideBar","uncollapseSideBar","setNextPagePath","path","concat","setParentPagePath","setCurrentPagePath","goToSearchBoatPosition","boat","emptySearchBar","resetSelectedBoats","resetUnSelectedBoats","setSelectedBoats","setDarkMode","localStorage","setCurrentLocale","locale","setOrigin","RiskLevelEnum","MapStyleLibrary","windDirection","svgCache","Map","iconCache","defaultIcon","riskHaloMap","haloCache","this","requireSvg","buildCacheIcon","buildCacheHalo","shipTypeEnumLabel","shipTypeId","rotation","shiptype","iconKey","getIconDirection","adjustedDegree","Math","floor","risk","defaultHalo","set","require","_this","forEach","svgFile","orientation","index","vesselRotation","PI","style","Style","image","Icon","opacity","scale","zIndex","_this2","HIGH","MEDIUM","haloColor","haloStyle","CircleStyle","radius","stroke","Stroke","color","width","fill","Fill","render","_vm","_h","$createElement","_c","_self","staticRenderFns","attrs","staticClass","class","areMapControlsShiftedTotheRight","filterColorGlass","on","$event","showHideFilterPanel","_v","displayFilters","carriedGoodsList","globalRiskList","applyFilters","isMobileFormat","vesselDetails","hasUserIbisAccess","vesselControlDatas","ibis","$t","_e","hasUserMarsecAccess","marsec","hasUserMarpolAccess","marpol","addMarpolControl","_s","operationalDomain","addMarsecControl","addIbisControl","titleLabel","fields","items","customSort","scopedSlots","_u","fn","props","onSwapToControlPage","item","controlId","controlDate","country","shipName","waterway","ship","icon","crew","cargo","text","CustomSorters","isDesc","sortObjectsByDateString","sort","a","b","sortDate","Date","getTime","IbisDataGridControl","_Vue","_callSuper","isMobile","addEventListener","onResize","_inherits","i18n","toString","sortable","align","ibisDatas","ibisControl","ctrl","DataFormatters","convertIsoDateStringToDisplayDateString","date","unit","countryCode","controlledVessel","location","determinateIcon","vesselRiskAssessment","crewRiskAssessment","cargoRiskAssessment","id","faCheckCircle","faExclamationCircle","faTimesCircle","faMinusCircle","innerWidth","router","params","parent","sortByIndex","__decorate","Prop","Component","component","proxy","_l","entry","typeLabel","Vessel","longitude","latitude","sog","cog","mmsi","shipType","remoteDevice","Remote","beam","callsign","convoyLength","dest","draught","eni","eriType","hazard","imo","inlandDraught","load","siteId","carriedGoods","aisUpdateDate","assign","restService","$restService","getAllControlsByVessel","results","idCompare","control","libelle","isEniData","isImoData","shipNameLabel","callsignLabel","shipTypeLabel","sizeLabel","draughtLabel","beamLabel","convoyLengthLabel","eniData","imoData","vesselData","determineShipTypeLabel","getVesselSize","getLoadLabel","filter","v","indexOf","vesselPosition","convertSog","getCogInDegrees","coord","position","toStringHDMS","substr","convertIsoDateStringToDisplayDateTimeString","parseFloat","toFixed","LegendComponent","iconLibrary","shipTypeCode","shipLegend","isNaN","Number","shipTypeCodeAsNumber","getShipTypeEnumLabel","getSvgIconByShipTypeEnumLabel","ref","_g","_b","readValuesFilters","model","callback","$$v","$set","expression","field_start_date","field_end_date","shipTypeList","shipFlag","shipRequirement","staticStyle","clearFilters","clodeTabFilters","Filter","startDate","endDate","endDateExcluded","ibisControlChecked","marpolControlChecked","marsecControlChecked","imoOrEni","active","FilterComponent","localStorageService","$localStorageService","shipTypeListTest","displayForm","oldValue","loadDataOnStartUp","_this3","getAllCarriedGoods","resultat","tmd","getAllRisks","toLowerCase","loadFiltersFromLocalStorage","_this4","$emit","saveFiltersInLocalStorage","userId","authentificationStore","getUserId","addDataInLocalStorageById","getLocalStorageByUseridAndField","title","Boolean","Watch","components","ControlCountriesSelector","annex1","annex2","annex4","annex5","annex6","MarpolControlDatagridComponent","controlDatas","controlData","annexIRiskAssessment","annexIiRiskAssessment","annexIvRiskAssessment","annexVRiskAssessment","annexViRiskAssessment","MarsecControlDatagridComponent","documentRiskAssessment","getVesselData","getVesselPosition","VesselDetailsComponent","arguments","MapVueComponent","showDetail","isFirstTime","commit","olSelectComponent","Select","parameterRefreshMap","convertMili","canUserCreateIbisControl","canUserCreateMarpolControl","canUserCreateMarsecControl","positionToSave","map","getView","getCenter","stateToSave","getState","center","MousePosition","coordinateFormat","cord","projection","Constants","positionProjection","className","getElementById","undefinedHTML","styleFunction","f","getSelectedStyle","feature","layer","addControl","getMousePositionControl","addSelectInteractionCallback","onSelect","oldFeature","getFeaturesById","getFeatures","changed","showPopup","setCenter","zoom","localStoragePositionForUser","getLocalStorageByUserid","userPosition","setZoom","setResolution","resolution","element","popup","Overlay","positioning","stopEvent","offset","addOverlay","featureEvent","features","getLength","getArray","removeSelectedLook","setSelectedBoatsToStore","emptyTheSearchBar","showDetails","getId","goToFeatureWithAnimation","geom","getGeometry","getCoordinates","hideDetails","removeLocalStorageFieldByUserId","clear","getLayer","$router","page","propDomain","JSON","stringify","goToPreviouslyUserPosition","filterEvent","filtersSelected","clearInterval","autoRefreshVesselTimeout","countVessels","nbResultsFilters","count","refreshVessel","mapData","initMap","vesselsVectorSource","VectorSource","format","GeoJSON","loader","extent","getVessels","geojsonFormat","vesselsFeatures","readFeatures","featureProjection","forEachFeature","removeFeature","addFeatures","selectedFeatures","selectedFeature","getFeatureById","autoRefreshVessel","strategy","bboxStrategy","wrapX","remoteDevicesVectorSource","getRemoteDevicesPositions","remoteDeviceFeatures","vesselsStyleFunction","getVesselFeatureStyle","vesselsLayer","VectorLayer","source","renderMode","renderBuffer","addVectorLayer","remoteDevicesLayer","RemoteDevice","getRemoteDevicePositionFeatureStyle","addListener","stockPositionToLocalStorage","flowPosition","vesselPosMsg","parse","setGeometry","popupControlEvents","subscribe","mutation","boatPosition","fromLonLat","payload","boatFeaturePayload","boatId","boatFeature","featureIds","goToPositionWithAnimation","_this5","getParameterRefreshMap","log","catch","vesselLayerSource","getLayerSourceByName","getSource","_this6","getVesselById","getShipControls","vessel","_this7","config","url","split","IbisControlDataGridControl","Router","routes","Home","meta","isSecure","beforeEach","to","from","next","token","getToken","matched","some","record","dispatch","response","success","hasVisibleMap","UserRoles","user","admin","ibisViewer","ibisUser","ibisEditor","ibisManager","marpolViewer","marpolUser","marpolEditor","marpolManager","marsecViewer","marsecUser","marsecEditor","marsecManager","isUser","isAdmin","isIbisViewer","isIbisUser","isIbisEditor","isIbisManager","isMarpolViewer","isMarpolUser","isMarpolEditor","isMarpolManager","isMarsecViewer","isMarsecUser","isMarsecEditor","isMarsecManager","role","warn","setLocalStorage","setItem","refreshToken","extractUserRealmRole","roles","hasRealmRole","setAdmin","setUser","extractUserClientRoles","_step","_iterator","_createForOfIteratorHelper","aquatrackRoles","done","hasResourceRole","addRole","updateUser","subject","bearerString","UpdateUserLastLogin","visibleMap","setKeyCloackInstance","logout","removeItem","isAuthenticated","getLogin","tokenParsed","preferred_username","getGroup","group","getAccessToken","getRefreshToken","getTokenValidity","exp","timeSkew","round","getName","getUserRoles","isUserAdmin","isUserManager","hasManagerRole","isUserEditor","isUserViewer","isUserUser","isUserAdminOrManager","hasIbisRole","hasMarpolRole","hasMarsecRole","canCreateIbisControl","canCreateMarpolControl","canCreateMarsecControl","canUserUpdateOrDeleteIbisControl","canUpdateOrDeleteIbisControl","canUserUpdateOrDeleteMarpolControl","canUpdateOrDeleteMarpolControl","canUserUpdateOrDeleteMarsecControl","canUpdateOrDeleteMarsecControl","actions","updateToken","MapData","htmlTarget","isActivatedDragPan","isActivatedMousWheelZoom","mapIconLibrary","layers","controls","defaultControls","attribution","zoomOptions","interactions","defaults","dragPan","mouseWheelZoom","constrainResolution","loadTilesWhileInteracting","loadTilesWhileAnimating","getTileLayer","view","View","$mapCenterXYCoordinate","minZoom","previousTileLayer","getLayers","find","TileLayer","removeLayer","addLayer","remoteDeviceLayer","linear","flashStyle","eventsType","callbackFunction","coordinate","coordinatePixel","getPixelFromCoordinate","getFeaturesAtPixel","overlay","vectorLayer","cleanDataBeforeAdd","removeData","setZIndex","setStyle","layerToRemove","duration","point","mapExtent","calculateExtent","aQuarterOfTheMapX","aQuarterOfTheMapY","maxY","minY","maxX","minX","animate","Point","styleResult","ids","getLayerByName","featureData","attribut","properties","geometry","readFeature","getStyleOfShip","getProperties","getHaloStyleFromFeature","controlToAdd","controlsToAdd","layerToAdd","getSize","updateSize","layerName","allLayers","interaction","callbackSelect","addInteraction","tileLayer","Stamen","OSM","vesselSvgArrow","remoteDeviceSvgArrowDarkMode","remoteDeviceSvgArrow","vesselRotationRateCorrection","cogConvertionRate","keyClockHost","process","keyClockRealm","keyClockClientId","backendHost","listDebounceRate","formDebounceRate","countries","label","isMultipleChoices","selected","remove","countryLabel","domProps","getCountriesSelected","countriesSelected","countriesInput","val","oldVal","getAllCountries","isArray","displayDateString","toLocaleDateString","isoDateString","parsedIsoDate","convertDateToDisplayDateString","displayDateTimeString","toLocaleString","replace","convertDateToDisplayDateTimeString","toISOString","showToasterErrorMessage","showToasterSuccessMessage","logoSize","height","selectedIcon","toggleDarkMode","locales","changeLanguage","itemsOfSearch","isLoading","limitText","heightOIfItem","searchVesselByParameters","selectABoat","option","slot","SearchItemComponent","SearchBarComponent","searchParam","searchVesselsBySearchParam","searchResult","coordinates","Multiselect","NavbarComponent","darkModeIcons","isDark","faMoon","faSun","version","$aquatrackVersion","initLocaleFromLocalStorage","fallbackLocale","getLocaleFromLocalStorage","setLocale","currentUser","iconSelected","info","stockLocaleToLocalStorage","objLocale","searchLocale","foundLocale","CountryFlag","collapse","MoveExternalComponents","SidebarComponent","idUser","UserParsed","applicationStorefrom","targetHtmlElementId","classToToggle","htmlElement","classList","toggle","FooterComponent","accept","CookieDGPR","CookieLaw","bottomNav","BottomMenuComponent","App","setTextToasterError","ShowToasterError","setTextToasterSuccess","ShowToasterSuccess","body","add","HeaderComponent","CookieGPDRComponent","messages","gb","common","total","back","resetFilter","details","noSpecified","noData","rowsPerPage","reporting","annualReport","ibisControlReport","marpolControlReport","annex3","marsecControlReport","remoteDevices","home","test","my_favourites","my_account","all_categories","search_keyword","findings","annualreports","ibiscontrolsreports","marseccontrolsreports","marpolcontrolsreports","users","units","spocs","profile","adminoverview","usersTable","managerDetails","managerUnitsTitle","unitDetails","managerInfos","spocAddPageTitle","spocUpdatePageTitle","unitAddPageTitle","unitUpdatePageTitle","userUpdatePageTitle","userAddPageTitle","managerUpdatePageTitle","managerAddPageTitle","riskAssessementTitle","carriedGoodsTitre","shipFlagTitle","typeVesselTitle","imoOrEniTitle","excluded","closeTab","resetFilters","commonAction","update","delete","cancel","revokeManagingRoles","close","field","notSpecified","wrongDateFormat","ibisRole","marsecRole","marpolRole","noRoleSelected","passwordPolicyRules","passwordIsRequired","privileges","manager","editor","viewer","administrator","delayValue","delayValidate","actualValue","menuTitle","refreshMap","updateValueSucceeded","updateValueFailed","emptyValueError","submit","size","speed","lastUpdate","lon","lat","ais","noBoatFound","dataGrid","controlCountry","waterWay","harbour","searchboat","listEmpty","additionalNotes","default","chemicalWasteFraudAlert","controlledVesselFlag","controlledVesselName","controlledVesselType","docRiskAssessment","externalControlRecordId","labourAbuseAlert","inland","maritime","noControlTypeProvided","labourAbuse","reporter","vesselCargoControlled","vesselCrewPassengersControlled","vesselDocumentsControlled","vesselInspectedByDivers","vesselInspectedByDogTeam","vesselRummaged","reportingtotal","chemicalWasteFraud","requiredValue","positionMustBeValide","numberMustBeValid","phoneNumberMustBeValid","emailMustBeValid","ipAdressMustBeValid","enterImoEni","enterVesselName","enterWaterway","imoEni","vesselName","ctrlCountry","globalRiskAssessment","imoCharactersMandatory","eniCharactersMandatory","notLetterExcepted","defaultFieldValues","detailPage","operationalDomainTitle","commonDetailTitle","commonDetailSubtitle","findingsSubtitle","controlTypesSubtitle","moreDetailsPage","moreDetails","homeHarbour","crewNationalities","lastHarbour","nextHarbour","engineNumber","hullColor","infrastructureColor","TMD","isLoaded","loaded","save","managePage","imoNumber","eniNumber","recordNumber","remarks","findingTitle","nextharbour","carriedGoodsType","TMDType","addSpecificControl","addPage","editPage","deletePage","addPageMarpol","addPageIbis","alerts","addPageMarsec","typeOfControl","riskColor","green","yellow","red","none","suggestions","chemicalWaste","variousWaste","fertiliser","salt","containers","cereals","rawMaterials","dangerousGoods","explosiveMaterials","gas","flammableMaterials","flammableSolidGoods","oxidizingMaterials","toxicMaterials","radioactiveMaterials","corrosiveMaterials","otherDangerousMaterials","status","outOfService","await","disabled","statusUnknow","city","sshKey","ipAddress","localManagerName","localManagerNumber","localManagerEmail","lastResponse","dateInstalled","siteStatus","listSummary","addRemote","remark","localManagerPhone","cookie_policy","popup_message","read_the_policy","about","help","contact","findYourWay","userGuide","enabled","expirationDate","lastLogin","createuser","createunit","createspoc","createmanager","hintText","managers","userName","email","userDetails","userDetailsTitle","myProfileTitle","userPesonalDetailsTitle","userManagerDetailsTitle","userSpocDetailsTitle","userPrivilegesTitle","resetUserPassword","userStatus","registeredAt","shortName","organization","selectOrganization","phoneNumber","lastName","firstName","temporaryPassword","sendInvitationEmail","createPassword","cannotDeleteUserWithManagerRole","deleteUserConfirmation","revokeManagementRolesConfirmation","cannotRevokeManagementRoles","managerRelatedToNUnits","emailAlreadyExists","userAlreadyTaken","userIsUpdated","userIsCreated","deleteManagerConfirmation","privilege","address","managerDetail","managerIsCreated","managerIsUpdated","spoc","postCode","faxNumber","webPage","spocDetailsTitle","spocunitsTitle","deleteTitle","updateTitle","comment","createSpocSucceeded","createSpocFailed","updateSpocSucceeded","updateSpocFailed","ok","deleteSpocFailedSpocRelatedToNUnits","deleteConfirmation","unitName","unitAttachment","setmanager","selectNewManager","newSettedManager","newSettedManagerError","unitPrivileges","unitVisibleMap","emailAdress","edit","assignedUsers","deleteUnit","operationalDomainRequired","couldntCreateUnit","unitBeCreated","unitNameAlreadyTaken","unitNotUpdated","unitBeUpdated","couldntUpdateUnit","showToasterConnectionKOMessage","showToasterConnectionOKMessage","legend","ibisFindings","marsecFindings","marpolFindings","vesselType","fishing","tugTowing","sailing","pleasure","passenger","other","cargoMerchant","tanker","unknown","low","medium","high","fr","es","TripulacionRiskAssessment","de","pt","RestService","apiUrl","remoteDevicesPath","unitsPath","axiosInstance","axios","baseURL","headers","authorization","watch","interceptors","originalRequest","vesselImo","vesselEni","_getCountryByCode","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","abrupt","sent","stop","getCountryByCode","_x","vesselUrl","join","post","put","managerId","vesselId","evs","NativeEventSource","Authorization","onmessage","marpolUrl","marsecUrl","arrayOfPromises","getIbisControlsUrl","EniUrl","NameEniUrl","spocId","unitId","groupId","_getManagersNamesListAsync","_callee2","_context2","getManagersNamesListAsync","_getSpocsByUnitsByManagerId","_callee3","_context3","getSpocsByUnitsByManagerId","_getSpocsAdmin","_callee4","_context4","getSpocsAdmin","register","ready","registered","cached","updatefound","updated","offline","LocalStorageService","localStorageForId","getItem","objectToAdd","localStorageById","library","faGlobeEurope","faClipboardList","faUserCircle","faListAlt","faUsersCog","farCircle","faSignOutAlt","faChartPie","faExternalLinkSquareAlt","faBroadcastTower","faPoll","faUser","faCubes","faBoxes","faCogs","Vuetify","primary","secondary","turquoise","accent","warning","greenColorControl","yellowColorControl","redColorControl","darkMode","darkBlue","VueI18n","FlagIcon","FontAwesomeIcon","Datetime","productionTip","methods","changeLocale","$i18n","initOptions","realm","clientId","onLoad","keyClockOnLoad","keycloak","Keycloak","init","auth","isMapVisibleUnitByUserId","reload","h","$mount","dateLastUpdate","lastAisUpdate","cordinatesList","technicalDetails","getStatus","localManagerDetails"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,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fC,MAAO,IAAIC,OAAK,CACdC,QAAS,EACTpK,IAAK,2BAA6Bkc,OAAUoU,6BAC5CjmB,MAAO,OAZJ,IAAIJ,OAAM,CACfC,MAAO,IAAIC,OAAK,CACdC,QAAS,EACTpK,IAAK,2BAA6Bkc,OAAUqU,qBAC5ClmB,MAAO,WAZU,I,yDCP3B,W,kCCAA,W,4CCAA/L,EAAOD,QAAU,IAA0B,kC,gFCA3C","file":"js/app.2a726cac.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0136d6dd\":\"fcf04be1\",\"chunk-0b759c92\":\"86d62c11\",\"chunk-5b94a360\":\"71d80d27\",\"chunk-5ce5025a\":\"e6d2e5b2\",\"chunk-63e83b64\":\"ea1e4e6d\",\"chunk-7fd52bbc\":\"624b7270\",\"chunk-a6b22362\":\"24080361\",\"chunk-158f9078\":\"8490abd2\",\"chunk-28b9d4c0\":\"84e4c98c\",\"chunk-2d209605\":\"d80f7c31\",\"chunk-2d21afa7\":\"c8c23eb8\",\"chunk-3165f021\":\"000afbdf\",\"chunk-3de6b0a4\":\"5c737098\",\"chunk-3f47070e\":\"06ecea00\",\"chunk-408b44e2\":\"dc4fe8cb\",\"chunk-44a813ac\":\"1277b836\",\"chunk-568ef962\":\"ad284a88\",\"chunk-11c9cb66\":\"71eb011a\",\"chunk-60bf963d\":\"cf0ef542\",\"chunk-74fc431a\":\"0e13c3ec\",\"chunk-8a8c0900\":\"7f7599b3\",\"chunk-534cb91a\":\"7f7b8639\",\"chunk-6fa0f915\":\"604fe722\",\"chunk-659108de\":\"e8c89841\",\"chunk-70a43fda\":\"d607deec\",\"chunk-f23e5e48\":\"d20551c2\",\"chunk-b7e258bc\":\"f410f6ae\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-0136d6dd\":1,\"chunk-5b94a360\":1,\"chunk-5ce5025a\":1,\"chunk-63e83b64\":1,\"chunk-7fd52bbc\":1,\"chunk-a6b22362\":1,\"chunk-158f9078\":1,\"chunk-28b9d4c0\":1,\"chunk-3165f021\":1,\"chunk-3de6b0a4\":1,\"chunk-3f47070e\":1,\"chunk-408b44e2\":1,\"chunk-44a813ac\":1,\"chunk-568ef962\":1,\"chunk-11c9cb66\":1,\"chunk-60bf963d\":1,\"chunk-8a8c0900\":1,\"chunk-534cb91a\":1,\"chunk-6fa0f915\":1,\"chunk-659108de\":1,\"chunk-70a43fda\":1,\"chunk-f23e5e48\":1,\"chunk-b7e258bc\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0136d6dd\":\"ee6c1ced\",\"chunk-0b759c92\":\"31d6cfe0\",\"chunk-5b94a360\":\"c6b9f404\",\"chunk-5ce5025a\":\"63b627c7\",\"chunk-63e83b64\":\"edd30547\",\"chunk-7fd52bbc\":\"118997c2\",\"chunk-a6b22362\":\"c50bf9b1\",\"chunk-158f9078\":\"68ff5512\",\"chunk-28b9d4c0\":\"af125838\",\"chunk-2d209605\":\"31d6cfe0\",\"chunk-2d21afa7\":\"31d6cfe0\",\"chunk-3165f021\":\"0e433876\",\"chunk-3de6b0a4\":\"8b0390b3\",\"chunk-3f47070e\":\"0e433876\",\"chunk-408b44e2\":\"45003f9a\",\"chunk-44a813ac\":\"d0fffdf4\",\"chunk-568ef962\":\"fe44b14a\",\"chunk-11c9cb66\":\"8c714933\",\"chunk-60bf963d\":\"bcab5118\",\"chunk-74fc431a\":\"31d6cfe0\",\"chunk-8a8c0900\":\"d29bc153\",\"chunk-534cb91a\":\"f629e665\",\"chunk-6fa0f915\":\"062ab8bb\",\"chunk-659108de\":\"a1356936\",\"chunk-70a43fda\":\"538c28fd\",\"chunk-f23e5e48\":\"aafe87d7\",\"chunk-b7e258bc\":\"b48bccad\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/app/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","module.exports = __webpack_public_path__ + \"img/Fishing.4bf9da68.svg\";","module.exports = __webpack_public_path__ + \"img/Passenger.ac93bd11.svg\";","import ShipTypeEnum from \"@/shared/enumerations/ship-type-enum\";\nimport { i18n } from \"@/main\";\n\nexport default class ShipType {\n public static determineShipTypeLabel(code: number): string {\n return ShipType.getEncodedShipTypeLabel(ShipType.determineShipType(code));\n }\n public static determineShipType(code: number): ShipTypeEnum {\n switch (code) {\n case 20:\n case 21:\n case 22:\n case 23:\n case 24:\n return ShipTypeEnum.PASSENGER;\n case 30:\n return ShipTypeEnum.FISHING;\n case 31:\n case 32:\n case 33:\n case 34:\n case 35:\n case 52:\n return ShipTypeEnum.TUG_TOWING;\n case 36:\n return ShipTypeEnum.SAILING;\n case 37:\n return ShipTypeEnum.PLEASURE;\n case 40:\n case 41:\n case 42:\n case 43:\n case 44:\n case 49:\n case 60:\n case 61:\n case 62:\n case 63:\n case 64:\n case 65:\n case 66:\n case 67:\n case 68:\n case 69:\n return ShipTypeEnum.PASSENGER;\n case 50:\n case 51:\n case 53:\n case 54:\n case 55:\n case 56:\n case 57:\n case 58:\n case 59:\n case 90:\n case 91:\n case 92:\n case 93:\n case 94:\n case 95:\n case 96:\n case 97:\n case 98:\n case 99:\n return ShipTypeEnum.OTHER;\n case 70:\n case 71:\n case 72:\n case 73:\n case 74:\n case 75:\n case 76:\n case 77:\n case 78:\n case 79:\n return ShipTypeEnum.CARGO_MERCHANT;\n case 80:\n case 81:\n case 82:\n case 83:\n case 84:\n case 85:\n case 86:\n case 87:\n case 88:\n case 89:\n return ShipTypeEnum.TANKER;\n default:\n return ShipTypeEnum.NONE;\n }\n }\n\n // tslint:disable-next-line: ban-types\n public static getShipTypeLabel(ShipTypeCode: number): string {\n switch (ShipTypeCode) {\n case 1:\n return \"fishing\";\n case 2:\n return \"tugTowing\";\n case 3:\n return \"sailing\";\n case 4:\n return \"pleasure\";\n case 5:\n return \"passenger\";\n case 6:\n return \"other\";\n case 7:\n return \"cargoMerchant\";\n case 8:\n return \"tanker\";\n default:\n return \"none\";\n }\n }\n\n public static getEncodedShipTypeLabel(ShipTypeCode: number): string {\n return \"vesselType.\" + ShipType.getShipTypeLabel(ShipTypeCode);\n }\n\n public static getShipTypeEnumLabel(ShipTypeCode: number): string {\n switch (ShipTypeCode) {\n case 1:\n return \"FISHING\";\n case 2:\n return \"TUG_TOWING\";\n case 3:\n return \"SAILING\";\n case 4:\n return \"PLEASURE\";\n case 5:\n return \"PASSENGER\";\n case 6:\n return \"OTHER\";\n case 7:\n return \"CARGO_MERCHANT\";\n case 8:\n return \"TANKER\";\n default:\n return \"NONE\";\n }\n }\n}\n","import Vuex from \"vuex\";\nimport Vue from \"vue\";\n\nVue.use(Vuex);\n\nconst applicationStore = new Vuex.Store({\n state: {\n header: {\n hasSearchBar: true\n },\n sidebar: {\n isCollapsed: false\n },\n docs: {\n currentPagePath: \"\",\n nextPagePath: \"\",\n parentPagePath: \"\"\n },\n search: {\n selectedBoatOfSearch: {}\n },\n boats: {\n selectedBoats: new Array(),\n unselectSelectedBoats: new Array()\n },\n theme: {\n isDarkMode: false\n },\n toaster: {\n showToasterSuccess: false,\n showToasterError: false\n },\n currentLocale: { \n name: \"\",\n flag: \"\", \n },\n navigation: {\n origin: \"\"\n }\n },\n getters: {\n getSelectedBoats(): Array {\n return applicationStore.state.boats.selectedBoats;\n },\n getUnselectSelectedBoats(): Array {\n return applicationStore.state.boats.unselectSelectedBoats;\n },\n isDarkMode(): boolean {\n return applicationStore.state.theme.isDarkMode;\n },\n getCurrentLocale(): {name: string, flag: string} {\n return applicationStore.state.currentLocale;\n },\n getOrigin(): string {\n return applicationStore.state.navigation.origin;\n }\n },\n mutations: {\n activateSearchBar(state) {\n state.header.hasSearchBar = true;\n },\n deactivateSearchBar(state) {\n state.header.hasSearchBar = false;\n },\n collapseSideBar(state) {\n state.sidebar.isCollapsed = true;\n },\n uncollapseSideBar(state) {\n state.sidebar.isCollapsed = false;\n },\n setNextPagePath(state, path) {\n state.docs.nextPagePath = state.docs.nextPagePath.concat(path);\n },\n setParentPagePath(state, path) {\n state.docs.parentPagePath = path;\n },\n setCurrentPagePath(state, path) {\n state.docs.currentPagePath = path;\n },\n goToSearchBoatPosition(state, boat) {\n state.search.selectedBoatOfSearch = boat;\n },\n emptySearchBar(state) {\n state.search.selectedBoatOfSearch = {};\n },\n resetSelectedBoats(state) {\n state.boats.unselectSelectedBoats = state.boats.selectedBoats;\n state.boats.selectedBoats = new Array();\n },\n resetUnSelectedBoats(state) {\n state.boats.unselectSelectedBoats = new Array();\n },\n setSelectedBoats(state, boat: Array) {\n state.boats.unselectSelectedBoats = state.boats.selectedBoats;\n state.boats.selectedBoats = boat;\n },\n setDarkMode(state, isDarkMode: boolean) {\n state.theme.isDarkMode = isDarkMode;\n localStorage.isDarkMode = state.theme.isDarkMode;\n },\n showToasterSuccess(state) {\n state.toaster.showToasterSuccess = !state.toaster.showToasterSuccess;\n },\n showToasterError(state) {\n state.toaster.showToasterError = !state.toaster.showToasterError;\n },\n setCurrentLocale(state, locale) {\n state.currentLocale = locale;\n },\n setOrigin(state, origin) {\n state.navigation.origin = origin;\n }\n }\n});\n\nexport default applicationStore;\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./cookie-dpgr.scss?vue&type=style&index=0&id=fd82afc0&prod&scoped=true&lang=scss&external\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./footer.scss?vue&type=style&index=0&id=7346adf2&prod&scoped=true&lang=scss&external\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./marpol-datagrid-component.scss?vue&type=style&index=0&id=1216abfc&prod&scoped=true&lang=scss&external\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./bottom-menu-component.scss?vue&type=style&index=0&id=d6cdd75c&prod&scoped=true&lang=scss&external\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./sidebar.scss?vue&type=style&index=0&id=7f318321&prod&scoped=true&lang=scss&external\"","module.exports = __webpack_public_path__ + \"img/cargo.89795a93.svg\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./marsec-datagrid-component.scss?vue&type=style&index=0&id=13ff9cf0&prod&scoped=true&lang=scss&external\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./ibis-datagrid-component.scss?vue&type=style&index=0&id=2ce50640&prod&scoped=true&lang=scss&external\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./countries-select-component.scss?vue&type=style&index=0&id=eac57396&prod&scoped=true&lang=scss&external\"","enum RiskLevelEnum {\n HIGH = \"HIGH\",\n MEDIUM = \"MEDIUM\",\n LOW = \"LOW\"\n }\nexport default RiskLevelEnum;\n","import \"ol/ol.css\";\nimport Icon from \"ol/style/Icon\";\nimport Utils from \"./utils\";\nimport Constants from \"./constants\";\nimport ShipTypeEnum from \"@/shared/enumerations/ship-type-enum\";\nimport ShipType from \"@/shared/models/ship-type-model\";\nimport RiskLevelEnum from \"@/shared/enumerations/RiskLevelEnum\";\nimport { Circle as CircleStyle, Stroke, Fill, Style } from \"ol/style.js\";\n\nexport default class MapStyleLibrary {\n\n private windDirection: Array = [\n \"N\",\n \"NNE\",\n \"NE\",\n \"ENE\",\n \"E\",\n \"ESE\",\n \"SE\",\n \"SSE\",\n \"S\",\n \"SSW\",\n \"SW\",\n \"WSW\",\n \"W\",\n \"WNW\",\n \"NW\",\n \"NNW\",\n \"N\"\n ];\n private svgCache = new Map();\n private iconCache = new Map();\n private defaultIcon = null;\n private riskHaloMap = new Map();\n private haloCache = new Map();\n private defaultHalo: Style;\n\n constructor() {\n //Insert icon reference\n this.requireSvg();\n this.buildCacheIcon();\n this.buildCacheHalo();\n }\n\n /**\n * Returns a svg icon html code of a given ship type.\n * @param shipTypeEnumLabel\n */\n public getSvgIconByShipTypeEnumLabel(shipTypeEnumLabel: string): string | undefined {\n return this.svgCache.get(ShipTypeEnum[shipTypeEnumLabel]);\n }\n\n /**\n * \n * @param shipTypeId \n * @param rotation \n * @returns \n */\n public getStyleOfShip(shipTypeId: number, rotation: number): Style {\n const shiptype: ShipTypeEnum = ShipType.determineShipType(shipTypeId) || ShipTypeEnum.OTHER;\n return this.iconCache.get(this.iconKey(shiptype, this.getIconDirection(rotation))) || this.defaultIcon;\n }\n\n /**\n * Calculate towards which point of the compass the boat's icon should orientated:\n * The rotation values are formatted without decimal places. ex: 181.5° = 1815.\n * @returns The adjusted direction string of a boat ex : 'N' or 'SSW'.\n */\n public getIconDirection(rotation: number): string {\n // Modulo incase rotation is greater than 3600. // TODO remove ?\n // The final icon direction should be in the middle of the range of values not at the start.\n const adjustedDegree = (rotation % 3600) + 112.5;\n return this.windDirection[Math.floor(adjustedDegree / 225)];\n }\n\n /**\n * Add halo with color of controls\n */\n public getHaloStyleFromFeature(risk: RiskLevelEnum): Style {\n return this.haloCache.get(risk) || this.defaultHalo;\n }\n\n private requireSvg() {\n this.svgCache.set(ShipTypeEnum.NONE, require(\"../assets/icons/Unindentified.svg\"));\n this.svgCache.set(ShipTypeEnum.CARGO_MERCHANT, require(\"../assets/icons/cargo.svg\"));\n this.svgCache.set(ShipTypeEnum.FISHING, require(\"../assets/icons/Fishing.svg\"));\n this.svgCache.set(ShipTypeEnum.PASSENGER, require(\"../assets/icons/Passenger.svg\"));\n this.svgCache.set(ShipTypeEnum.PLEASURE, require(\"../assets/icons/PleasureCraft.svg\"));\n this.svgCache.set(ShipTypeEnum.SAILING, require(\"../assets/icons/Sailing.svg\"));\n this.svgCache.set(ShipTypeEnum.TANKER, require(\"../assets/icons/tanker.svg\"));\n this.svgCache.set(ShipTypeEnum.TUG_TOWING, require(\"../assets/icons/TowingTug.svg\"));\n this.svgCache.set(ShipTypeEnum.OTHER, require(\"../assets/icons/Other.svg\"));\n }\n\n private buildCacheIcon() {\n this.svgCache.forEach((svgFile: string, shiptype: ShipTypeEnum) => {\n this.windDirection.forEach((orientation: string, index: number) => {\n // The map generator needs the object rotation to be in radians.\n // (PI divided by 8 is equal to one radian.)\n const vesselRotation = index * (Math.PI / 8);\n const style = new Style({\n image: new Icon({\n opacity: 1,\n src: svgFile,\n scale: 0.8,\n rotation: vesselRotation\n }),\n zIndex: 999\n });\n this.iconCache.set(this.iconKey(shiptype, orientation), style);\n });\n });\n }\n\n private buildCacheHalo() {\n this.riskHaloMap.set(RiskLevelEnum.HIGH, \"rgba(212, 90, 50, 1)\");\n this.riskHaloMap.set(RiskLevelEnum.MEDIUM, \"rgba(236, 157, 33, 1)\");\n this.riskHaloMap.forEach((haloColor: string, key: RiskLevelEnum) => {\n this.haloCache.set(key, this.haloStyle(haloColor));\n });\n this.defaultHalo = this.haloStyle(\"rgba(87, 168, 137, 1)\");\n }\n\n private haloStyle(haloColor: string): any {\n return new Style({\n zIndex: 1,\n image: new CircleStyle({\n radius: 13,\n stroke: new Stroke({\n color: haloColor,\n width: 0.2\n }),\n fill: new Fill({\n color: haloColor\n })\n })\n });\n }\n\n private iconKey(shiptype: ShipTypeEnum, orientation: string): string {\n return shiptype + \"-\" + orientation;\n }\n\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MapVueComponent')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\",\"pa-0\":\"\",\"id\":\"vessel-bloc\"}},[_c('div',{staticClass:\"map\",attrs:{\"id\":\"map\"}}),_c('v-layout',{attrs:{\"align-space-around\":\"\",\"justify-start\":\"\",\"row\":\"\",\"wrap\":\"\",\"fill-height\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"sm12\":\"\",\"md2\":\"\"}},[_c('div',{class:{ 'shift-right-map-controllers': _vm.areMapControlsShiftedTotheRight },attrs:{\"id\":\"map-controllers\"}},[_c('div',{attrs:{\"id\":\"rowLegendButtonFilter\"}},[_c('LegendComponent',{attrs:{\"id\":\"legend\"}}),_c('v-btn',{attrs:{\"color\":_vm.filterColorGlass,\"fab\":\"\",\"id\":\"filterButton\"},on:{\"click\":function($event){return _vm.showHideFilterPanel()}}},[_c('v-icon',{attrs:{\"dark\":\"\",\"large\":\"\",\"color\":\"white\"}},[_vm._v(\"search\")])],1)],1),_c('FilterComponent',{attrs:{\"displayFilters\":_vm.displayFilters,\"carriedGoodsList\":_vm.carriedGoodsList,\"globalRiskList\":_vm.globalRiskList},on:{\"newFilter\":_vm.applyFilters}}),_c('div',{attrs:{\"id\":\"mouse-position\"}}),_c('div',{class:{'darkMode': _vm.isDarkMode},attrs:{\"id\":\"zoom-control\"}})],1)]),(_vm.showDetail)?_c('v-flex',{class:[{'darkMode': _vm.isDarkMode}, {'mb-5 pb-2': _vm.isMobileFormat}],attrs:{\"xs12\":\"\",\"sm12\":\"\",\"md6\":\"\",\"offset-md4\":\"\",\"id\":\"vessel-details\"}},[_c('div',{staticClass:\"['whiteBloc', {'pb-0 mb-0': isMobileFormat}]\"},[_c('VesselDetailsComponent',{attrs:{\"id\":\"vessel-ais-details\",\"vesselData\":_vm.vesselDetails}}),(_vm.hadControls)?_c('div',{class:{'darkMode' : _vm.isDarkMode},attrs:{\"id\":\"vessel-controls-details\"}},[(this.hasUserIbisAccess && _vm.vesselControlDatas.ibis && _vm.vesselControlDatas.ibis.length > 0)?_c('div',{attrs:{\"id\":\"ibisControls\"}},[_c('IbisControlDataGridControl',{attrs:{\"titleLabel\":_vm.$t('map.ibisFindings'),\"ibisDatas\":_vm.vesselControlDatas.ibis}})],1):_vm._e(),(this.hasUserMarsecAccess && _vm.vesselControlDatas.marsec && _vm.vesselControlDatas.marsec.length > 0)?_c('div',{class:{'darkMode' : _vm.isDarkMode},attrs:{\"id\":\"MarsecControls\"}},[_c('MarsecControlDatagridComponent',{attrs:{\"titleLabel\":_vm.$t('map.marsecFindings'),\"controlDatas\":_vm.vesselControlDatas.marsec}})],1):_vm._e(),(this.hasUserMarpolAccess && _vm.vesselControlDatas.marpol && _vm.vesselControlDatas.marpol.length > 0)?_c('div',{class:{'darkMode' : _vm.isDarkMode},attrs:{\"id\":\"MarpolControls\"}},[_c('MarpolControlDatagridComponent',{attrs:{\"titleLabel\":_vm.$t('map.marpolFindings'),\"controlDatas\":_vm.vesselControlDatas.marpol}})],1):_vm._e()]):_vm._e()],1),(this.canUserCreateMarpolControl)?_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addMarpolControl()}}},[_vm._v(_vm._s(_vm.$t(\"control.addSpecificControl.label\", { operationalDomain: \"Marpol\" })))]):_vm._e(),(this.canUserCreateMarsecControl)?_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addMarsecControl()}}},[_vm._v(_vm._s(_vm.$t(\"control.addSpecificControl.label\", { operationalDomain: \"Marsec\" })))]):_vm._e(),(this.canUserCreateIbisControl)?_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addIbisControl()}}},[_vm._v(_vm._s(_vm.$t(\"control.addSpecificControl.label\", { operationalDomain: \"Ibis\" })))]):_vm._e()],1):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"ibisControl\",\"pa-3\":\"\"}},[_c('v-flex',{staticClass:\"display-1\",attrs:{\"pa-3\":\"\",\"xs12\":\"\"}},[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.titleLabel)+\"\\n \")])]),(!_vm.isMobileFormat)?_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.fields,\"items\":_vm.items,\"hide-actions\":\"\",\"xs12\":\"\",\"custom-sort\":_vm.customSort},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('tr',{on:{\"click\":function($event){return _vm.onSwapToControlPage(props.item.controlId)}}},[_c('td',{staticClass:\"text-xs-center\"},[_vm._v(_vm._s(props.item.controlDate))]),_c('td',{staticClass:\"text-xs-center\"},[_c('flag',{attrs:{\"iso\":props.item.country}})],1),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(_vm._s(props.item.shipName))]),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(_vm._s(props.item.waterway))]),_c('td',{staticClass:\"text-xs-center\"},[_c('font-awesome-icon',{class:props.item.ship.color,attrs:{\"size\":\"2x\",\"icon\":props.item.ship.icon}})],1),_c('td',{staticClass:\"text-xs-center\"},[_c('font-awesome-icon',{class:props.item.crew.color,attrs:{\"size\":\"2x\",\"icon\":props.item.crew.icon}})],1),_c('td',{staticClass:\"text-xs-center\"},[_c('font-awesome-icon',{class:props.item.cargo.color,attrs:{\"size\":\"2x\",\"icon\":props.item.cargo.icon}})],1)])]}}],null,false,2378401000)}):_vm._e(),(_vm.isMobileFormat)?_c('v-data-iterator',{attrs:{\"items\":_vm.items,\"content-tag\":\"v-layout\",\"hide-actions\":\"\",\"row\":\"\",\"wrap\":\"\",\"mr-3\":\"\",\"ml-3\":\"\",\"pb-3\":\"\"},scopedSlots:_vm._u([{key:\"item\",fn:function(props){return [_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-card',{on:{\"click\":function($event){return _vm.onSwapToControlPage(props.item.controlId)}}},[_c('v-list',{attrs:{\"dense\":\"\"}},[_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[0].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_vm._v(\"\\n \"+_vm._s(props.item.controlDate)+\"\\n \")])],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[1].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_c('flag',{attrs:{\"iso\":props.item.country}})],1)],1),_c('v-list-tile',[_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs4\":\"\"}},[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[2].text))])],1),_c('v-flex',{attrs:{\"xs8\":\"\"}},[_c('v-list-tile-content',{staticClass:\"align-end\"},[_vm._v(\"\\n \"+_vm._s(props.item.waterway)+\"\\n \")])],1)],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[3].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_c('font-awesome-icon',{class:props.item.ship.color,attrs:{\"size\":\"lg\",\"icon\":props.item.ship.icon}})],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[4].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_c('font-awesome-icon',{class:props.item.crew.color,attrs:{\"size\":\"lg\",\"icon\":props.item.crew.icon}})],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[5].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_c('font-awesome-icon',{class:props.item.cargo.color,attrs:{\"size\":\"lg\",\"icon\":props.item.cargo.icon}})],1)],1)],1)],1)],1)]}}],null,false,3860146113)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default class CustomSorters {\n\n /**\n * @param items An array of objects to sort.\n * @param index The sorting strategy.\n * @param isDesc The sorting direction.\n * @returns The array of items.\n */\n public static sortByIndex(items: any[], index: string, isDesc: boolean): any[] {\n if (index === \"controlDate\") {\n CustomSorters.sortObjectsByDateString(items, isDesc);\n }\n return items;\n }\n\n /**\n * @param items An array of objects to sort.\n * @param isDesc The sorting direction.\n * @returns An array of sorted items.\n */\n private static sortObjectsByDateString(items: any[], isDesc: boolean): any[] {\n items.sort((a, b) => {\n a.sortDate = new Date(a.sortDate).getTime();\n b.sortDate = new Date(b.sortDate).getTime();\n if (isDesc) {\n return a.sortDate - b.sortDate;\n } else {\n return b.sortDate - a.sortDate;\n }\n });\n return items;\n }\n}\n","import { Vue, Component, Prop } from \"vue-property-decorator\";\nimport {\n faCheckCircle,\n faExclamationCircle,\n faTimesCircle,\n faMinusCircle\n} from \"@fortawesome/free-solid-svg-icons\";\nimport DataFormatters from \"@/utils/DataFormatters\";\nimport { isMobile } from \"mobile-device-detect\";\nimport router from \"@/router\";\nimport { i18n } from \"@/main\";\nimport CustomSorters from \"@/utils/CustomSorters\";\n\n@Component\nexport default class IbisDataGridControl extends Vue {\n @Prop(Array)\n public ibisDatas;\n @Prop()\n public titleLabel;\n\n public items: Array;\n public isMobileFormat: boolean;\n\n constructor() {\n super();\n this.isMobileFormat = isMobile;\n this.items = new Array();\n window.addEventListener(\"resize\", this.onResize);\n }\n\n get fields() {\n return [\n {\n text: i18n.t(\"vessel.dataGrid.controlDate\").toString(),\n sortable: true,\n value: \"controlDate\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.controlCountry\").toString(),\n sortable: false,\n value: \"country\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.shipName\").toString(),\n sortable: false,\n value: \"shipName\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.waterWay\").toString(),\n sortable: false,\n value: \"waterway\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.ship\").toString(),\n sortable: false,\n value: \"ship\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.crew\").toString(),\n sortable: false,\n value: \"crew\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.cargo\").toString(),\n sortable: false,\n value: \"cargo\",\n align: \"center\"\n }\n ];\n }\n\n private mounted() {\n //Construct datagrid\n this.items = new Array();\n if (this.ibisDatas && this.ibisDatas.length > 0) {\n this.ibisDatas.forEach((ibisControl) => {\n const ctrl = {\n controlDate: DataFormatters.convertIsoDateStringToDisplayDateString(\n ibisControl.date\n ),\n sortDate: ibisControl.date,\n country: ibisControl.unit.countryCode,\n shipName: ibisControl.controlledVessel.name,\n waterway: ibisControl.location,\n ship: this.determinateIcon(\n ibisControl.vesselRiskAssessment\n ),\n crew: this.determinateIcon(ibisControl.crewRiskAssessment),\n cargo: this.determinateIcon(\n ibisControl.cargoRiskAssessment\n ),\n controlId: ibisControl.id\n };\n this.items.push(ctrl);\n });\n }\n }\n\n /**\n * Return the icon by status of control\n * @param value\n */\n private determinateIcon(value: string) {\n let result = {};\n switch (value) {\n case \"LOW\":\n result = { color: \"greenControl\", icon: faCheckCircle };\n break;\n case \"MEDIUM\":\n result = { color: \"yellowControl\", icon: faExclamationCircle };\n break;\n case \"HIGH\":\n result = { color: \"redControl\", icon: faTimesCircle };\n break;\n default:\n result = { color: \"greyControl\", icon: faMinusCircle };\n }\n return result;\n }\n\n private onResize() {\n if (window.innerWidth < 800) {\n this.isMobileFormat = true;\n } else {\n this.isMobileFormat = false;\n }\n }\n\n private onSwapToControlPage(controlId: string) {\n router.push({\n name: \"finding\",\n params: { id: controlId, parent: \"map\" }\n });\n }\n\n /**\n * The data-tables in this version of vuetify can't sort date strings in this format.\n * It was neccessary to create a custom sort method that converts the strings back into\n * Date objects before sorting them.\n * @param items An array of control objects.\n * @param index The column to sort by.\n * @param isDesc Which direction to sort into.\n * @returns The array of controls.\n */\n public customSort(items: any[], index: string, isDesc: boolean): any[] {\n return CustomSorters.sortByIndex(items, index, isDesc);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./ibis-datagrid-component.ts?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./ibis-datagrid-component.ts?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./ibis-datagrid-component.html?vue&type=template&id=2ce50640&scoped=true&external\"\nimport script from \"./ibis-datagrid-component.ts?vue&type=script&lang=js&external\"\nexport * from \"./ibis-datagrid-component.ts?vue&type=script&lang=js&external\"\nimport style0 from \"./ibis-datagrid-component.scss?vue&type=style&index=0&id=2ce50640&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ce50640\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[{'legendColor': !_vm.isDarkMode}, 'legendStyle']},[_c('v-expansion-panel',{attrs:{\"expand\":\"\"}},[_c('v-expansion-panel-content',{scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',[_vm._v(_vm._s(_vm.$t('map.legend')))])]},proxy:true}])},_vm._l((_vm.shipLegend),function(entry,i){return _c('div',{key:i,staticClass:\"shipLegend\"},[_c('v-layout',{attrs:{\"row\":\"\",\"align-center\":\"\"}},[_c('v-flex',{attrs:{\"xs1\":\"\"}},[_c('img',{staticClass:\"rotate-ship-icon ship-icon\",attrs:{\"src\":entry.icon}})]),_c('v-flex',{attrs:{\"xs11\":\"\"}},[_c('span',{staticClass:\"justify-center legend-text\"},[_vm._v(_vm._s(_vm.$t(entry.typeLabel)))])])],1)],1)}),0)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VesselInterface } from \"../interfaces/vessel-interface\";\nimport Remote from \"./remote-model\";\nimport ShipType from \"@/shared/models/ship-type-model\";\nimport DataFormatters from \"@/utils/DataFormatters\";\nimport { toStringHDMS } from \"ol/coordinate.js\";\nimport { RestService } from \"@/services/rest-service\";\nimport { Vue } from \"vue-property-decorator\";\nimport { i18n } from \"@/main\";\nexport class Vessel implements VesselInterface {\n // Minimal property subset\n public id: number = 0;\n public name: string = \"Undefined\";\n public longitude: number = 0;\n public latitude: number = 0;\n public sog: number = 0;\n public cog: number = 0;\n public mmsi: number = 0;\n public flag: string = \"\";\n public shipType: number = 0;\n\n // Addtional properties\n public remoteDevice: Remote = new Remote();\n private restService: RestService;\n public beam: number = 0;\n public callsign: string = \"\";\n public convoyLength: number = 0;\n public dest: string = \"\";\n public draught: number = 0;\n public eni: string = \"\";\n public eriType: number = 0;\n public hazard: number = 0;\n public imo: string = \"\";\n public inlandDraught: number = 0;\n public length: number = 0;\n public load: number = 0;\n public siteId: number = 0;\n public carriedGoods = \"\";\n public aisUpdateDate: string = \"\";\n public width: number = 0;\n\n constructor(fields?: Partial) {\n if (fields) {\n Object.assign(this, fields);\n }\n this.restService = Vue.prototype.$restService;\n\n this.restService.getAllControlsByVessel(this.imo, this.eni, this.name).then((results) => {\n let idCompare = 0;\n results.forEach((result) => {\n result.data.forEach(control => {\n if ( control.id > idCompare ){\n this.carriedGoods = \"\";\n if (!!control.controlledVessel.carriedGoods ) {\n this.carriedGoods = control.controlledVessel.carriedGoods.libelle;\n }\n \n idCompare = control.id;\n }\n });\n\n });\n });\n }\n\n public getVesselData(): Array {\n let isEniData: boolean = false;\n let isImoData: boolean = false;\n\n const shipNameLabel = i18n.t(\"vessel.shipName\");\n const callsignLabel = i18n.t(\"vessel.callsign\");\n const shipTypeLabel = i18n.t(\"vessel.shipType\");\n const sizeLabel = i18n.t(\"vessel.size\");\n const draughtLabel = i18n.t(\"vessel.draught\");\n const beamLabel = i18n.t(\"vessel.beam\");\n const convoyLengthLabel = i18n.t(\"vessel.convoyLength\");\n\n const eniData: any = [\n \"ENI\",\n \"IMO\",\n shipNameLabel,\n callsignLabel,\n shipTypeLabel,\n sizeLabel,\n draughtLabel,\n beamLabel,\n \"Hazardous cargo\",\n convoyLengthLabel\n ];\n\n const imoData: any = [\n \"IMO\",\n shipNameLabel,\n callsignLabel,\n shipTypeLabel,\n sizeLabel,\n draughtLabel,\n beamLabel,\n convoyLengthLabel\n ];\n\n let vesselData: Array = new Array();\n if (this.eni !== \"\") {\n isEniData = true;\n vesselData.push({ key: \"ENI\", value: this.eni });\n }\n\n if (this.imo !== \"\") {\n isImoData = true;\n vesselData.push({ key: \"IMO\", value: this.imo });\n }\n vesselData.push({ key: shipNameLabel, value: this.name });\n vesselData.push({ key: callsignLabel, value: this.callsign });\n vesselData.push({\n key: shipTypeLabel,\n value: i18n.t(ShipType.determineShipTypeLabel(this.shipType))\n });\n if (this.length !== 0 && this.width !== 0) {\n vesselData.push({\n key: sizeLabel,\n value: DataFormatters.getVesselSize(this.length, this.width)\n });\n }\n\n if (this.draught !== 0) {\n vesselData.push({ key: draughtLabel, value: this.draught });\n }\n vesselData.push({ key: beamLabel, value: this.beam });\n vesselData.push({ key: \"Hazardous cargo\", value: this.hazard });\n vesselData.push({ key: convoyLengthLabel, value: this.convoyLength });\n vesselData.push({\n key: \"Load\",\n value: DataFormatters.getLoadLabel(this.load)\n });\n if (isEniData) {\n vesselData = vesselData.filter((v) => {\n return eniData.indexOf(v.key) > -1;\n });\n } else if (isImoData) {\n vesselData = vesselData.filter((v) => {\n return imoData.indexOf(v.key) > -1;\n });\n } else {\n vesselData = [\n { key: \"Information\", value: \"This vessel has neither ENI nor IMO.\" }\n ];\n }\n return vesselData;\n }\n\n public getVesselPosition(): Array {\n const vesselPosition: Array = new Array();\n vesselPosition.push({ key: i18n.t(\"vessel.speed\"), value: DataFormatters.convertSog(this.sog) + \"knt\" });\n vesselPosition.push({\n key: \"Course\",\n value: DataFormatters.getCogInDegrees(this.cog)\n });\n const coord = this.position();\n const result = toStringHDMS(coord);\n vesselPosition.push({ key: \"Destination\", value: this.dest });\n vesselPosition.push({ key: \"Latitude\", value: result.substr(0, 14) });\n vesselPosition.push({ key: \"Longitude\", value: result.substr(14, 28) });\n // tslint:disable-next-line: max-line-length\n vesselPosition.push({ key: i18n.t(\"vessel.lastUpdate\"), value: DataFormatters.convertIsoDateStringToDisplayDateTimeString(this.aisUpdateDate) });\n vesselPosition.push({ key: \"Site ID\", value: this.remoteDevice.siteId });\n vesselPosition.push({ key: i18n.t(\"vessel.carriedGoods\"), value: i18n.t(this.carriedGoods) });\n\n return vesselPosition;\n }\n private position() {\n return [parseFloat((this.longitude / 600000).toFixed(4)), parseFloat((this.latitude / 600000).toFixed(4))]\n }\n\n}\n","import Vue from \"vue\";\nimport { Vessel } from \"@/shared/models/vessel-model\";\nimport { Prop, Component } from \"vue-property-decorator\";\nimport ShipTypeEnum from \"@/shared/enumerations/ship-type-enum\";\nimport ShipType from \"@/shared/models/ship-type-model\";\nimport MapStyleLibrary from \"@/utils/MapStyleLibrary\";\nimport applicationStore from \"@/shared/stores/applicationStore\";\nimport { i18n } from \"@/main\";\n\n@Component\nexport default class LegendComponent extends Vue {\n @Prop(Vessel)\n public vesselData;\n public shipLegend: Array;\n\n constructor() {\n super();\n const iconLibrary = new MapStyleLibrary();\n this.shipLegend = new Array();\n for (const shipTypeCode in ShipTypeEnum) {\n if (!isNaN(Number(shipTypeCode))) {\n const shipTypeCodeAsNumber: number = Number(shipTypeCode);\n const shipTypeLabel: string = ShipType.getShipTypeEnumLabel(shipTypeCodeAsNumber);\n if (undefined !== iconLibrary.getSvgIconByShipTypeEnumLabel(shipTypeLabel)) {\n this.shipLegend.push({\n icon: iconLibrary.getSvgIconByShipTypeEnumLabel(shipTypeLabel),\n typeLabel: ShipType.getEncodedShipTypeLabel(shipTypeCodeAsNumber)\n });\n }\n }\n }\n }\n\n get isDarkMode(): boolean {\n return applicationStore.getters.isDarkMode;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./legend.ts?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./legend.ts?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./legend.html?vue&type=template&id=47f222e3&scoped=true&external\"\nimport script from \"./legend.ts?vue&type=script&lang=js&external\"\nexport * from \"./legend.ts?vue&type=script&lang=js&external\"\nimport style0 from \"./legend.scss?vue&type=style&index=0&id=47f222e3&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47f222e3\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.displayForm)?_c('div',{attrs:{\"id\":\"filters\"}},[_c('div',{staticClass:\"filtersDatePickers\"},[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"transition\":\"scale-transition\",\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g(_vm._b({ref:\"startDateField\",staticClass:\"filtersDatePickersField\",attrs:{\"clearable\":\"\",\"label\":_vm.$t('title.startDate'),\"prepend-icon\":\"event\"},on:{\"input\":_vm.readValuesFilters},model:{value:(_vm.filter.startDate),callback:function ($$v) {_vm.$set(_vm.filter, \"startDate\", $$v)},expression:\"filter.startDate\"}},'v-text-field',_vm.attrs,false),on))]}}],null,false,2675123324),model:{value:(_vm.field_start_date),callback:function ($$v) {_vm.field_start_date=$$v},expression:\"field_start_date\"}},[_c('v-date-picker',{attrs:{\"no-title\":\"\",\"scrollable\":\"\"},on:{\"input\":_vm.readValuesFilters},model:{value:(_vm.filter.startDate),callback:function ($$v) {_vm.$set(_vm.filter, \"startDate\", $$v)},expression:\"filter.startDate\"}})],1)],1),_c('br'),_c('div',{staticClass:\"filtersDatePickers\"},[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"transition\":\"scale-transition\",\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g(_vm._b({ref:\"endDateField\",staticClass:\"filtersDatePickersField\",attrs:{\"clearable\":\"\",\"label\":_vm.$t('title.endDate'),\"prepend-icon\":\"event\"},on:{\"input\":_vm.readValuesFilters},model:{value:(_vm.filter.endDate),callback:function ($$v) {_vm.$set(_vm.filter, \"endDate\", $$v)},expression:\"filter.endDate\"}},'v-text-field',_vm.attrs,false),on))]}}],null,false,3886523955),model:{value:(_vm.field_end_date),callback:function ($$v) {_vm.field_end_date=$$v},expression:\"field_end_date\"}},[_c('v-date-picker',{attrs:{\"no-title\":\"\",\"scrollable\":\"\"},on:{\"input\":_vm.readValuesFilters},model:{value:(_vm.filter.endDate),callback:function ($$v) {_vm.$set(_vm.filter, \"endDate\", $$v)},expression:\"filter.endDate\"}})],1)],1),_c('v-checkbox',{staticClass:\"filtersCheckbox\",attrs:{\"label\":_vm.$t('title.excluded')},on:{\"change\":_vm.readValuesFilters},model:{value:(_vm.filter.endDateExcluded),callback:function ($$v) {_vm.$set(_vm.filter, \"endDateExcluded\", $$v)},expression:\"filter.endDateExcluded\"}}),_c('br'),_c('v-checkbox',{staticClass:\"filtersCheckbox\",attrs:{\"label\":\"Ibis\"},on:{\"change\":_vm.readValuesFilters},model:{value:(_vm.filter.ibisControlChecked),callback:function ($$v) {_vm.$set(_vm.filter, \"ibisControlChecked\", $$v)},expression:\"filter.ibisControlChecked\"}}),_c('v-checkbox',{staticClass:\"filtersCheckbox\",attrs:{\"label\":\"Marpol\"},on:{\"change\":_vm.readValuesFilters},model:{value:(_vm.filter.marpolControlChecked),callback:function ($$v) {_vm.$set(_vm.filter, \"marpolControlChecked\", $$v)},expression:\"filter.marpolControlChecked\"}}),_c('v-checkbox',{staticClass:\"filtersCheckbox\",attrs:{\"label\":\"Marsec\"},on:{\"change\":_vm.readValuesFilters},model:{value:(_vm.filter.marsecControlChecked),callback:function ($$v) {_vm.$set(_vm.filter, \"marsecControlChecked\", $$v)},expression:\"filter.marsecControlChecked\"}}),_c('v-text-field',{ref:\"imoOrEniField\",attrs:{\"clearable\":\"\",\"autocomplete\":\"off\",\"label\":_vm.$t('title.imoOrEniTitle')},on:{\"keyup\":_vm.readValuesFilters,\"click:clear\":_vm.readValuesFilters},model:{value:(_vm.filter.imoOrEni),callback:function ($$v) {_vm.$set(_vm.filter, \"imoOrEni\", $$v)},expression:\"filter.imoOrEni\"}}),_c('v-autocomplete',{ref:\"shipTypeField\",attrs:{\"clearable\":\"\",\"items\":_vm.shipTypeList,\"item-text\":\"title\",\"item-value\":\"value\",\"label\":_vm.$t('title.typeVesselTitle')},on:{\"change\":_vm.readValuesFilters},model:{value:(_vm.filter.shipType),callback:function ($$v) {_vm.$set(_vm.filter, \"shipType\", $$v)},expression:\"filter.shipType\"}}),_c('ControlCountriesSelector',{attrs:{\"autocomplete\":\"off\",\"countries-input\":_vm.filter.shipFlag,\"is-multiple-choices\":false,\"label\":_vm.$t('title.shipFlagTitle'),\"rules\":_vm.shipRequirement},on:{\"update:countries\":function($event){_vm.filter.shipFlag = $event; _vm.readValuesFilters();}}}),_c('v-select',{attrs:{\"clearable\":\"\",\"items\":_vm.carriedGoodsList,\"item-text\":\"libelle\",\"item-value\":\"id\",\"label\":_vm.$t('title.carriedGoodsTitre')},on:{\"change\":_vm.readValuesFilters},model:{value:(_vm.filter.carriedGoods),callback:function ($$v) {_vm.$set(_vm.filter, \"carriedGoods\", $$v)},expression:\"filter.carriedGoods\"}}),_c('v-select',{attrs:{\"clearable\":\"\",\"items\":_vm.globalRiskList,\"item-text\":\"libelle\",\"item-value\":\"id\",\"label\":_vm.$t('title.riskAssessementTitle')},on:{\"change\":_vm.readValuesFilters},model:{value:(_vm.filter.risk),callback:function ($$v) {_vm.$set(_vm.filter, \"risk\", $$v)},expression:\"filter.risk\"}}),_c('div',{staticStyle:{\"text-align\":\"center\"}},[_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.clearFilters()}}},[_vm._v(_vm._s(_vm.$t(\"title.resetFilters\")))]),_c('br'),_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.clodeTabFilters()}}},[_vm._v(_vm._s(_vm.$t(\"title.closeTab\")))])],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export class Filter {\n\n public startDate: string = \"\";\n public endDate: string = \"\";\n public endDateExcluded: string = \"\";\n public ibisControlChecked: string = \"\";\n public marpolControlChecked: string = \"\";\n public marsecControlChecked: string = \"\";\n public imoOrEni: string = \"\";\n public shipType: string = \"\";\n public shipFlag: string = \"\";\n public carriedGoods: string = \"\";\n public risk: string = \"\";\n // Actif only if the filter was created by the filter component \n public active: boolean = false;\n}","import Vue from \"vue\";\nimport { Prop, Component, Watch } from \"vue-property-decorator\";\nimport applicationStore from \"@/shared/stores/applicationStore\";\nimport { i18n } from \"@/main\";\nimport { RestService } from \"@/services/rest-service\";\nimport ControlCountriesSelector from \"@/components/control-details-component/control-manage/countries-select-component/countries-select-component\";\nimport LocalStorageService from \"@/services/localStorage-service\";\nimport authentificationStore from \"@/shared/stores/authentificationStore\";\nimport { Filter } from \"@/shared/models/filter-model\";\n\n@Component({\n components: {\n ControlCountriesSelector\n }\n})\nexport default class FilterComponent extends Vue {\n private restService: RestService;\n private localStorageService: LocalStorageService;\n\n @Prop(Boolean) private displayFilters: boolean;\n \n public shipTypeList: Array = [];\n public carriedGoodsList: Array = [];\n public globalRiskList: Array = [];\n public filter: Filter;\n public displayForm: boolean;\n public locale: string= i18n.locale;\n\n constructor() {\n super();\n this.restService = Vue.prototype.$restService;\n this.localStorageService = Vue.prototype.$localStorageService;\n this.displayFilters = false;\n this.shipTypeList = this.shipTypeListTest();\n this.filter = new Filter();\n this.displayForm = false;\n }\n\n @Watch(\"displayFilters\")\n private onChanged(value: boolean, oldValue: boolean) {\n this.displayForm = !this.displayForm;\n }\n\n @Watch(\"$i18n.locale\")\n private onLocaleChanged(value: boolean, oldValue: boolean) {\n this.loadDataOnStartUp();\n }\n\n private mounted() {\n setTimeout(() => this.loadDataOnStartUp(), 500);\n }\n\n private loadDataOnStartUp(){\n // Load data for fields\n this.carriedGoodsList = []; \n this.restService.getAllCarriedGoods().then((resultat) => {\n resultat.data.forEach(carriedGoods => {\n this.carriedGoodsList.push({\n id: carriedGoods.id,\n libelle: i18n.t(carriedGoods.libelle),\n tmd: carriedGoods.tmd\n })\n });\n })\n this.globalRiskList = [];\n this.restService.getAllRisks().then((resultat) => {\n resultat.data.forEach(risk => {\n this.globalRiskList.push({\n id: risk.value,\n libelle: i18n.t(\"risk.\" + risk.value.toLowerCase()).toString(),\n })\n });\n })\n\n // Load selected values in fields\n this.loadFiltersFromLocalStorage();\n }\n\n private readValuesFilters(){\n // Send to event to mapComponent\n this.filter.active = true;\n this.$emit(\"newFilter\", this.filter);\n\n // Save filters in localStorage\n setTimeout(() => this.saveFiltersInLocalStorage(this.filter), 1000);\n }\n\n private saveFiltersInLocalStorage(filter: Filter){\n var userId = authentificationStore.getters.getUserId;\n\n var localStorageService = Vue.prototype.$localStorageService;\n\n localStorageService.addDataInLocalStorageById(userId, \"filter\", filter);\n }\n\n private loadFiltersFromLocalStorage(){\n var userId = authentificationStore.getters.getUserId;\n var localStorageService = Vue.prototype.$localStorageService;\n\n // Récupération des valeurs de filtre depuis le localStorage\n this.filter = localStorageService.getLocalStorageByUseridAndField(userId, \"filter\");\n if ( this.filter == null ){\n this.filter = new Filter();\n }\n // Application des filtres\n this.readValuesFilters();\n }\n\n private clearFilters(){\n this.filter.startDate = \"\";\n this.filter.endDate = \"\";\n this.filter.endDateExcluded = \"\";\n this.filter.ibisControlChecked = \"\";\n this.filter.marpolControlChecked = \"\";\n this.filter.marsecControlChecked = \"\";\n this.filter.imoOrEni = \"\";\n this.filter.shipType = \"\";\n this.filter.shipFlag = \"\";\n this.filter.carriedGoods = \"\";\n this.filter.risk = \"\";\n\n this.readValuesFilters();\n }\n\n private clodeTabFilters(){\n this.displayForm = false;\n }\n\n private shipTypeListTest() {\n return [\n {\n value: \"NONE\",\n title: i18n.t(\"vesselType.none\").toString()\n },\n {\n value: \"CARGO_MERCHANT\",\n title: i18n.t(\"vesselType.cargoMerchant\").toString()\n },\n {\n value: \"TANKER\",\n title: i18n.t(\"vesselType.tanker\").toString()\n },\n {\n value: \"PASSENGER\",\n title: i18n.t(\"vesselType.passenger\").toString()\n },\n {\n value: \"TUG_TOWING\",\n title: i18n.t(\"vesselType.tugTowing\").toString()\n },\n {\n value: \"FISHING\",\n title: i18n.t(\"vesselType.fishing\").toString()\n },\n {\n value: \"SAILING\",\n title: i18n.t(\"vesselType.sailing\").toString()\n },\n {\n value: \"PLEASURE\",\n title: i18n.t(\"vesselType.pleasure\").toString()\n },\n {\n value: \"OTHER\",\n title: i18n.t(\"vesselType.other\").toString()\n }\n ];\n}\n\n get isDarkMode(): boolean {\n return applicationStore.getters.isDarkMode;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./filter.ts?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./filter.ts?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./filter.html?vue&type=template&id=0ec05cd8&scoped=true&external\"\nimport script from \"./filter.ts?vue&type=script&lang=js&external\"\nexport * from \"./filter.ts?vue&type=script&lang=js&external\"\nimport style0 from \"./filter.scss?vue&type=style&index=0&id=0ec05cd8&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0ec05cd8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"ControlMarpol\"}},[_c('v-flex',{staticClass:\"display-1\",attrs:{\"pa-3\":\"\",\"xs12\":\"\"}},[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.titleLabel)+\"\\n \")])]),(!_vm.isMobileFormat)?_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.fields,\"items\":_vm.items,\"hide-actions\":\"\",\"xs12\":\"\",\"custom-sort\":_vm.customSort},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('tr',{on:{\"click\":function($event){return _vm.onSwapToControlPage(props.item.controlId)}}},[_c('td',{staticClass:\"text-xs-center\"},[_vm._v(_vm._s(props.item.controlDate))]),_c('td',{staticClass:\"text-xs-center\"},[_c('flag',{attrs:{\"iso\":props.item.country}})],1),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(_vm._s(props.item.shipName))]),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(_vm._s(props.item.waterway))]),_c('td',{staticClass:\"text-xs-center\"},[(props.item.annex1)?_c('font-awesome-icon',{class:props.item.annex1.color,attrs:{\"size\":\"2x\",\"icon\":props.item.annex1.icon}}):_vm._e()],1),_c('td',{staticClass:\"text-xs-center\"},[(props.item.annex2)?_c('font-awesome-icon',{class:props.item.annex2.color,attrs:{\"size\":\"2x\",\"icon\":props.item.annex2.icon}}):_vm._e()],1),_c('td',{staticClass:\"text-xs-center\"},[(props.item.annex4)?_c('font-awesome-icon',{class:props.item.annex4.color,attrs:{\"size\":\"2x\",\"icon\":props.item.annex4.icon}}):_vm._e()],1),_c('td',{staticClass:\"text-xs-center\"},[(props.item.annex5)?_c('font-awesome-icon',{class:props.item.annex5.color,attrs:{\"size\":\"2x\",\"icon\":props.item.annex5.icon}}):_vm._e()],1),_c('td',{staticClass:\"text-xs-center\"},[(props.item.annex6)?_c('font-awesome-icon',{class:props.item.annex6.color,attrs:{\"size\":\"2x\",\"icon\":props.item.annex6.icon}}):_vm._e()],1)])]}}],null,false,1373414084)}):_vm._e(),(_vm.isMobileFormat)?_c('v-data-iterator',{attrs:{\"items\":_vm.items,\"content-tag\":\"v-layout\",\"hide-actions\":\"\",\"row\":\"\",\"wrap\":\"\",\"mr-3\":\"\",\"ml-3\":\"\",\"pb-3\":\"\"},scopedSlots:_vm._u([{key:\"item\",fn:function(props){return [_c('v-flex',{attrs:{\"xs12\":\"\",\"mb-3\":\"\"}},[_c('v-card',{on:{\"click\":function($event){return _vm.onSwapToControlPage(props.item.controlId)}}},[_c('v-list',{attrs:{\"dense\":\"\"}},[_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[0].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_vm._v(\"\\n \"+_vm._s(props.item.controlDate)+\"\\n \")])],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[1].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_c('flag',{attrs:{\"iso\":props.item.country}})],1)],1),_c('v-list-tile',[_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs4\":\"\"}},[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[2].text))])],1),_c('v-flex',{attrs:{\"xs8\":\"\"}},[_c('v-list-tile-content',{staticClass:\"align-end\"},[_vm._v(\"\\n \"+_vm._s(props.item.waterway)+\"\\n \")])],1)],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[3].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[(props.item.annex1)?_c('font-awesome-icon',{class:props.item.annex1.color,attrs:{\"size\":\"lg\",\"icon\":props.item.annex1.icon}}):_vm._e()],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[4].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[(props.item.annex2)?_c('font-awesome-icon',{class:props.item.annex2.color,attrs:{\"size\":\"lg\",\"icon\":props.item.annex2.icon}}):_vm._e()],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[5].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[(props.item.annex4)?_c('font-awesome-icon',{class:props.item.annex4.color,attrs:{\"size\":\"lg\",\"icon\":props.item.annex4.icon}}):_vm._e()],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[6].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[(props.item.annex5)?_c('font-awesome-icon',{class:props.item.annex5.color,attrs:{\"size\":\"lg\",\"icon\":props.item.annex5.icon}}):_vm._e()],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[7].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[(props.item.annex6)?_c('font-awesome-icon',{class:props.item.annex6.color,attrs:{\"size\":\"lg\",\"icon\":props.item.annex6.icon}}):_vm._e()],1)],1)],1)],1)],1)]}}],null,false,470753419)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop } from \"vue-property-decorator\";\nimport {\n faCheckCircle,\n faExclamationCircle,\n faTimesCircle,\n faMinusCircle\n} from \"@fortawesome/free-solid-svg-icons\";\nimport DataFormatters from \"@/utils/DataFormatters\";\nimport { TranslateResult } from \"vue-i18n\";\nimport { isMobile } from \"mobile-device-detect\";\nimport router from \"@/router\";\nimport { i18n } from \"@/main\";\nimport CustomSorters from \"@/utils/CustomSorters\";\n\n@Component\nexport default class MarpolControlDatagridComponent extends Vue {\n @Prop(Array)\n public controlDatas;\n @Prop()\n public titleLabel;\n\n public items: Array;\n public isMobileFormat: boolean;\n\n constructor() {\n super();\n this.isMobileFormat = isMobile;\n this.items = new Array();\n }\n\n get fields() {\n return [\n {\n text: i18n.t(\"vessel.dataGrid.controlDate\").toString(),\n sortable: true,\n value: \"controlDate\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.controlCountry\").toString(),\n sortable: false,\n value: \"country\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.shipName\").toString(),\n sortable: false,\n value: \"shipName\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.waterWay\").toString(),\n sortable: false,\n value: \"waterway\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.annex1\").toString(),\n sortable: false,\n value: \"annex1\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.annex2\").toString(),\n sortable: false,\n value: \"annex2\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.annex4\").toString(),\n sortable: false,\n value: \"annex4\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.annex5\").toString(),\n sortable: false,\n value: \"annex5\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.annex6\").toString(),\n sortable: false,\n value: \"annex6\",\n align: \"center\"\n }\n ];\n }\n private mounted() {\n //Construct datagrid\n this.items = new Array();\n if (this.controlDatas && this.controlDatas.length > 0) {\n this.controlDatas.forEach((controlData) => {\n const ctrl = {\n controlDate: DataFormatters.convertIsoDateStringToDisplayDateString(\n controlData.date\n ),\n sortDate: controlData.date,\n country: controlData.unit.countryCode,\n shipName: controlData.controlledVessel.name,\n waterway: controlData.location,\n annex1: this.determinateIcon(\n controlData.annexIRiskAssessment\n ),\n annex2: this.determinateIcon(\n controlData.annexIiRiskAssessment\n ),\n annex4: this.determinateIcon(\n controlData.annexIvRiskAssessment\n ),\n annex5: this.determinateIcon(\n controlData.annexVRiskAssessment\n ),\n annex6: this.determinateIcon(\n controlData.annexViRiskAssessment\n ),\n controlId: controlData.id\n };\n this.items.push(ctrl);\n });\n }\n window.addEventListener(\"resize\", this.onResize);\n }\n\n /**\n * Return the icon by status of control\n * @param value\n */\n private determinateIcon(value: string) {\n let result = {};\n switch (value) {\n case \"LOW\":\n result = { color: \"greenControl\", icon: faCheckCircle };\n break;\n case \"MEDIUM\":\n result = { color: \"yellowControl\", icon: faExclamationCircle };\n break;\n case \"HIGH\":\n result = { color: \"redControl\", icon: faTimesCircle };\n break;\n default:\n result = { color: \"greyControl\", icon: faMinusCircle };\n }\n return result;\n }\n\n private onResize() {\n if (window.innerWidth < 800) {\n this.isMobileFormat = true;\n } else {\n this.isMobileFormat = false;\n }\n }\n\n private onSwapToControlPage(controlId: string) {\n router.push({\n name: \"finding\",\n params: { id: controlId, parent: \"map\" }\n });\n }\n\n /**\n * The data-tables in this version of vuetify can't sort date strings in this format.\n * It was neccessary to create a custom sort method that converts the strings back into\n * Date objects before sorting them.\n * @param items An array of control objects.\n * @param index The column to sort by.\n * @param isDesc Which direction to sort into.\n * @returns The array of controls.\n */\n public customSort(items: any[], index: string, isDesc: boolean): any[] {\n return CustomSorters.sortByIndex(items, index, isDesc);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./marpol-datagrid-component.ts?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./marpol-datagrid-component.ts?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./marpol-datagrid-component.html?vue&type=template&id=1216abfc&scoped=true&external\"\nimport script from \"./marpol-datagrid-component.ts?vue&type=script&lang=js&external\"\nexport * from \"./marpol-datagrid-component.ts?vue&type=script&lang=js&external\"\nimport style0 from \"./marpol-datagrid-component.scss?vue&type=style&index=0&id=1216abfc&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1216abfc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"ControlMarpol\"}},[_c('v-flex',{staticClass:\"display-1\",attrs:{\"pa-3\":\"\",\"xs12\":\"\"}},[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.titleLabel)+\"\\n \")])]),(!_vm.isMobileFormat)?_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.fields,\"items\":_vm.items,\"hide-actions\":\"\",\"xs12\":\"\",\"custom-sort\":_vm.customSort},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('tr',{on:{\"click\":function($event){return _vm.onSwapToControlPage(props.item.controlId)}}},[_c('td',{staticClass:\"text-xs-center\"},[_vm._v(_vm._s(props.item.controlDate))]),_c('td',{staticClass:\"text-xs-center\"},[_c('flag',{attrs:{\"iso\":props.item.country}})],1),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(_vm._s(props.item.shipName))]),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(_vm._s(props.item.location))]),_c('td',{staticClass:\"text-xs-center\"},[(props.item.ship)?_c('font-awesome-icon',{class:props.item.ship.color,attrs:{\"size\":\"2x\",\"icon\":props.item.ship.icon}}):_vm._e()],1),_c('td',{staticClass:\"text-xs-center\"},[(props.item.crew)?_c('font-awesome-icon',{class:props.item.crew.color,attrs:{\"size\":\"2x\",\"icon\":props.item.crew.icon}}):_vm._e()],1),_c('td',{staticClass:\"text-xs-center\"},[(props.item.cargo)?_c('font-awesome-icon',{class:props.item.cargo.color,attrs:{\"size\":\"2x\",\"icon\":props.item.cargo.icon}}):_vm._e()],1),_c('td',{staticClass:\"text-xs-center\"},[(props.item.docs)?_c('font-awesome-icon',{class:props.item.docs.color,attrs:{\"size\":\"2x\",\"icon\":props.item.docs.icon}}):_vm._e()],1)])]}}],null,false,4281080594)}):_vm._e(),(_vm.isMobileFormat)?_c('v-data-iterator',{attrs:{\"items\":_vm.items,\"content-tag\":\"v-layout\",\"hide-actions\":\"\",\"row\":\"\",\"wrap\":\"\",\"mr-3\":\"\",\"ml-3\":\"\",\"pb-3\":\"\"},scopedSlots:_vm._u([{key:\"item\",fn:function(props){return [_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-card',{on:{\"click\":function($event){return _vm.onSwapToControlPage(props.item.controlId)}}},[_c('v-list',{attrs:{\"dense\":\"\"}},[_c('v-list-tile',[_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs4\":\"\"}},[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[0].text))])],1),_c('v-flex',{attrs:{\"xs8\":\"\"}},[_c('v-list-tile-content',{staticClass:\"align-end\"},[_vm._v(\"\\n \"+_vm._s(props.item.controlDate)+\"\\n \")])],1)],1)],1),_c('v-list-tile',[_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs4\":\"\"}},[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[1].text))])],1),_c('v-flex',{attrs:{\"xs8\":\"\"}},[_c('v-list-tile-content',{staticClass:\"align-end\"},[_c('flag',{attrs:{\"iso\":props.item.country}})],1)],1)],1)],1),_c('v-list-tile',[_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs4\":\"\"}},[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[2].text))])],1),_c('v-flex',{attrs:{\"xs8\":\"\"}},[_c('v-list-tile-content',{staticClass:\"align-end\"},[_vm._v(\"\\n \"+_vm._s(props.item.location)+\"\\n \")])],1)],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[3].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[(props.item.ship)?_c('font-awesome-icon',{class:props.item.ship.color,attrs:{\"size\":\"lg\",\"icon\":props.item.ship.icon}}):_vm._e()],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[4].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[(props.item.crew)?_c('font-awesome-icon',{class:props.item.crew.color,attrs:{\"size\":\"lg\",\"icon\":props.item.crew.icon}}):_vm._e()],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[5].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[(props.item.cargo)?_c('font-awesome-icon',{class:props.item.cargo.color,attrs:{\"size\":\"lg\",\"icon\":props.item.cargo.icon}}):_vm._e()],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.fields[6].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[(props.item.docs)?_c('font-awesome-icon',{class:props.item.docs.color,attrs:{\"size\":\"lg\",\"icon\":props.item.docs.icon}}):_vm._e()],1)],1)],1)],1)],1)]}}],null,false,929058782)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop } from \"vue-property-decorator\";\nimport {\n faCheckCircle,\n faExclamationCircle,\n faTimesCircle,\n faMinusCircle\n} from \"@fortawesome/free-solid-svg-icons\";\nimport DataFormatters from \"@/utils/DataFormatters\";\nimport CustomSorters from \"@/utils/CustomSorters\";\nimport { TranslateResult } from \"vue-i18n\";\nimport { isMobile } from \"mobile-device-detect\";\nimport router from \"@/router\";\nimport { i18n } from \"@/main\";\n\n@Component\nexport default class MarsecControlDatagridComponent extends Vue {\n @Prop(Array)\n public controlDatas;\n @Prop()\n public titleLabel;\n\n public items: Array;\n public isMobileFormat: boolean;\n\n constructor() {\n super();\n this.isMobileFormat = isMobile;\n this.items = new Array();\n }\n\n get fields() {\n return [\n {\n text: i18n.t(\"vessel.dataGrid.controlDate\").toString(),\n sortable: true,\n value: \"controlDate\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.controlCountry\").toString(),\n sortable: false,\n value: \"country\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.shipName\").toString(),\n sortable: false,\n value: \"shipName\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.harbour\").toString(),\n sortable: false,\n value: \"location\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.ship\").toString(),\n sortable: false,\n value: \"ship\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.crew\").toString(),\n sortable: false,\n value: \"crew\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.cargo\").toString(),\n sortable: false,\n value: \"cargo\",\n align: \"center\"\n },\n {\n text: i18n.t(\"vessel.dataGrid.docs\").toString(),\n sortable: false,\n value: \"docs\",\n align: \"center\"\n }\n ];\n } private mounted() {\n //Construct datagrid\n this.items = new Array();\n if (this.controlDatas && this.controlDatas.length > 0) {\n this.controlDatas.forEach((controlData) => {\n const ctrl = {\n controlDate: DataFormatters.convertIsoDateStringToDisplayDateString(controlData.date),\n sortDate: controlData.date,\n country: controlData.unit.countryCode,\n shipName: controlData.controlledVessel.name,\n location: controlData.location,\n ship: this.determinateIcon(\n controlData.vesselRiskAssessment\n ),\n crew: this.determinateIcon(controlData.crewRiskAssessment),\n cargo: this.determinateIcon(\n controlData.cargoRiskAssessment\n ),\n docs: this.determinateIcon(\n controlData.documentRiskAssessment\n ),\n controlId: controlData.id\n };\n this.items.push(ctrl);\n });\n }\n window.addEventListener(\"resize\", this.onResize);\n }\n\n /**\n * Return the icon by status of control\n * @param value\n */\n private determinateIcon(value: string) {\n let result = {};\n switch (value) {\n case \"LOW\":\n result = { color: \"greenControl\", icon: faCheckCircle };\n break;\n case \"MEDIUM\":\n result = { color: \"yellowControl\", icon: faExclamationCircle };\n break;\n case \"HIGH\":\n result = { color: \"redControl\", icon: faTimesCircle };\n break;\n default:\n result = { color: \"greyControl\", icon: faMinusCircle };\n }\n return result;\n }\n\n private onResize() {\n if (window.innerWidth < 800) {\n this.isMobileFormat = true;\n } else {\n this.isMobileFormat = false;\n }\n }\n\n private onSwapToControlPage(controlId: string) {\n router.push({\n name: \"finding\",\n params: { id: controlId, parent: \"map\" }\n });\n }\n\n /**\n * The data-tables in this version of vuetify can't sort date strings in this format.\n * It was neccessary to create a custom sort method that converts the strings back into\n * Date objects before sorting them.\n * @param items An array of control objects.\n * @param index The column to sort by.\n * @param isDesc Which direction to sort into.\n * @returns The array of controls.\n */\n public customSort(items: any[], index: string, isDesc: boolean): any[] {\n return CustomSorters.sortByIndex(items, index, isDesc);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./marsec-datagrid-component.ts?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./marsec-datagrid-component.ts?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./marsec-datagrid-component.html?vue&type=template&id=13ff9cf0&scoped=true&external\"\nimport script from \"./marsec-datagrid-component.ts?vue&type=script&lang=js&external\"\nexport * from \"./marsec-datagrid-component.ts?vue&type=script&lang=js&external\"\nimport style0 from \"./marsec-datagrid-component.scss?vue&type=style&index=0&id=13ff9cf0&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"13ff9cf0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"grid-list-md\":\"\",\"text-xs-center\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\",\"fill-height\":\"\"}},[_c('v-flex',{staticClass:\"vessel-ais-title display-1\",attrs:{\"xs12\":\"\"}},[_c('flag',{attrs:{\"iso\":_vm.vesselData.flag}}),(_vm.vesselData.eni !='' && _vm.vesselData.eni!=null)?_c('span',[_vm._v(\"\\n ENI \"+_vm._s(_vm.vesselData.eni)+\" -\\n \")]):_vm._e(),(_vm.vesselData.imo !='' && _vm.vesselData.imo!=null)?_c('span',[_vm._v(\"\\n IMO \"+_vm._s(_vm.vesselData.imo)+\" -\\n \")]):_vm._e(),(_vm.vesselData.name !='')?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.vesselData.name)+\"\\n \")]):_vm._e()],1)],1),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"vessel.ais\", {mmsi: _vm.vesselData.mmsi})))]),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs6\":\"\"}},[_c('table',{staticClass:\"tableForm\"},[_c('tbody',_vm._l((_vm.vesselData.getVesselData()),function(entry){return _c('tr',[(entry.value!=null)?_c('td',{staticClass:\"column-key\"},[_vm._v(\"\\n \"+_vm._s(entry.key)+\"\\n \")]):_vm._e(),_c('td',{staticClass:\"column-value\"},[_vm._v(\"\\n \"+_vm._s(entry.value)+\"\\n \")])])}),0)])]),_c('v-flex',{attrs:{\"xs6\":\"\"}},[_c('table',{staticClass:\"tableForm\"},[_c('tbody',_vm._l((_vm.vesselData.getVesselPosition()),function(entry){return _c('tr',[_c('td',{staticClass:\"column-key\"},[_vm._v(\"\\n \"+_vm._s(entry.key)+\"\\n \")]),_c('td',{staticClass:\"column-value\"},[_vm._v(\"\\n \"+_vm._s(entry.value)+\"\\n \")])])}),0)])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\nimport { Vessel } from \"@/shared/models/vessel-model\";\nimport { Prop, Component } from \"vue-property-decorator\";\nimport { i18n } from \"@/main\";\n\n\n@Component\nexport default class VesselDetailsComponent extends Vue {\n @Prop(Vessel)\n public vesselData;\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/ts-loader/index.js??ref--13-3!./vessel-details.ts?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/ts-loader/index.js??ref--13-3!./vessel-details.ts?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./vessel-details.html?vue&type=template&id=78ee9be2&scoped=true&external\"\nimport script from \"./vessel-details.ts?vue&type=script&lang=js&external\"\nexport * from \"./vessel-details.ts?vue&type=script&lang=js&external\"\nimport style0 from \"./vessel-details.scss?vue&type=style&index=0&id=78ee9be2&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"78ee9be2\",\n null\n \n)\n\nexport default component.exports","import IbisControlDataGridControl from \"@/components/map-component/ibis-datagrid-component/ibis-datagrid-component\";\nimport LegendComponent from \"@/components/map-component/legend-component/legend\";\nimport FilterComponent from \"@/components/map-component/filter-component/filter\";\nimport MarpolControlDatagridComponent from \"@/components/map-component/marpol-datagrid-component/marpol-datagrid-component\";\nimport MarsecControlDatagridComponent from \"@/components/map-component/marsec-datagrid-component/marsec-datagrid-component\";\nimport VesselDetailsComponent from \"@/components/vessel-details-component/vessel-details\";\nimport router from \"@/router\";\nimport LocalStorageService from \"@/services/localStorage-service\";\nimport { RestService } from \"@/services/rest-service\";\nimport RemoteDevice from \"@/shared/models/remote-model\";\nimport { Vessel } from \"@/shared/models/vessel-model\";\nimport applicationStore from \"@/shared/stores/applicationStore\";\nimport authentificationStore from \"@/shared/stores/authentificationStore\";\nimport Constants from \"@/utils/constants\";\nimport mapData from \"@/utils/mapData\";\nimport { isMobile } from \"mobile-device-detect\";\nimport MousePosition from \"ol/control/MousePosition.js\";\nimport { toStringHDMS } from \"ol/coordinate.js\";\nimport Feature from \"ol/Feature\";\nimport { GeoJSON } from \"ol/format\";\nimport Select from \"ol/interaction/Select\";\nimport VectorLayer from \"ol/layer/Vector\";\nimport { bbox as bboxStrategy } from \"ol/loadingstrategy.js\";\nimport Overlay from \"ol/Overlay\";\nimport { fromLonLat } from \"ol/proj.js\";\nimport VectorSource from \"ol/source/Vector.js\";\nimport { Component, Vue, Watch } from \"vue-property-decorator\";\nimport { Collection } from \"openlayers\";\nimport Point from \"ol/geom/Point\";\nimport { i18n } from \"@/main\";\nimport { Filter } from \"@/shared/models/filter-model\";\n\n@Component({\n components: {\n VesselDetailsComponent,\n LegendComponent,\n FilterComponent,\n IbisControlDataGridControl,\n MarpolControlDatagridComponent,\n MarsecControlDatagridComponent\n }\n})\nexport default class MapVueComponent extends Vue {\n \n public name: string;\n public vesselDetails: Vessel;\n public vesselControlDatas: { marsec: Array; ibis: Array; marpol: Array };\n private restService: RestService;\n private map!: mapData;\n private showDetail: boolean;\n private olSelectComponent: Select;\n private isMobileFormat: boolean;\n private localStorageService: LocalStorageService;\n private isFirstTime: boolean;\n private filterColorGlass;\n private displayFilters: boolean;\n private filter: Filter;\n public parameterRefreshMap: number;\n public convertMili: number;\n public autoRefreshVesselTimeout;\n\n constructor() {\n super();\n this.name = \"map-vue\";\n this.vesselDetails = new Vessel();\n this.vesselControlDatas = { marsec: new Array(), ibis: new Array(), marpol: new Array() };\n this.restService = Vue.prototype.$restService;\n this.showDetail = false;\n this.isMobileFormat = isMobile;\n this.isFirstTime = true;\n applicationStore.commit(\"activateSearchBar\");\n this.localStorageService = Vue.prototype.$localStorageService;\n this.olSelectComponent = new Select();\n this.filterColorGlass = \"primary\";\n this.displayFilters = false;\n this.parameterRefreshMap=0;\n this.convertMili=0;\n this.filter = new Filter;\n }\n\n get isDarkMode(): boolean {\n return applicationStore.getters.isDarkMode;\n }\n\n get hasUserIbisAccess(): boolean {\n return authentificationStore.getters.hasUserIbisAccess;\n }\n\n get hasUserMarpolAccess(): boolean {\n return authentificationStore.getters.hasUserMarpolAccess;\n }\n\n get hasUserMarsecAccess(): boolean {\n return authentificationStore.getters.hasUserMarsecAccess;\n }\n\n get canUserCreateIbisControl(): boolean {\n return authentificationStore.getters.canUserCreateIbisControl;\n }\n\n get canUserCreateMarpolControl(): boolean {\n return authentificationStore.getters.canUserCreateMarpolControl;\n }\n\n get canUserCreateMarsecControl(): boolean {\n return authentificationStore.getters.canUserCreateMarsecControl;\n }\n\n get userId(): string {\n return authentificationStore.getters.getUserId;\n }\n\n get hadControls(): boolean {\n return (\n this.vesselControlDatas &&\n ((this.vesselControlDatas.marsec &&\n this.vesselControlDatas.marsec.length > 0) ||\n (this.vesselControlDatas.marpol &&\n this.vesselControlDatas.marpol.length > 0) ||\n (this.vesselControlDatas.ibis &&\n this.vesselControlDatas.ibis.length > 0))\n );\n }\n\n /**\n * Storage of the user position in the local storage\n * @param positionToSave\n */\n // tslint:disable-next-line: member-ordering\n public stockPositionToLocalStorage(positionToSave: any) {\n if (\n positionToSave &&\n positionToSave.map &&\n positionToSave.map.getView() &&\n positionToSave.map.getView().getCenter()\n ) {\n const stateToSave = positionToSave.map.getView().getState();\n stateToSave.center = positionToSave.map.getView().getCenter();\n this.localStorageService.addDataInLocalStorageById(this.userId, \"userPosition\", { state: stateToSave });\n }\n }\n\n /**\n * Creates the MousePositionControl\n */\n public getMousePositionControl(): MousePosition {\n return new MousePosition({\n coordinateFormat: (cord) => {\n return toStringHDMS(cord);\n },\n projection: Constants.positionProjection,\n className: \"custom-mouse-position\",\n target: document.getElementById(\"mouse-position\") as Element,\n undefinedHTML: \" \"\n });\n }\n\n /**\n * instantiate the map, position the icons of the boats and add a mouse control\n * @param vesselsIconsFeatures array of Features\n * @param MousePositionControl controller that returns cursor coordinates (longitude, latitude) from a map\n */\n public initMap() {\n //FIXME for scope purpose\n const styleFunction = (f, n) => this.map.getSelectedStyle(f, n);\n this.olSelectComponent = new Select({\n //FIXME refacto to layer property\n filter: (feature, layer) => {\n return layer.get(\"name\") === \"vessels\";\n },\n style: styleFunction\n });\n\n //Add the mouse position control\n this.map.addControl(this.getMousePositionControl());\n //Add select control\n this.map.addSelectInteractionCallback(this.olSelectComponent, this.onSelect);\n\n }\n\n /**\n * Set the new view position to the previsously user position\n * @param view\n */\n public goToPreviouslyUserPosition() {\n const oldFeature = this.localStorageService.\n getLocalStorageByUseridAndField(authentificationStore.getters.getUserId, \"lastBoatIdOnMap\");\n if (oldFeature && oldFeature.id) {\n const feature: Feature | null = this.map.getFeaturesById(oldFeature.id);\n if (feature) {\n this.olSelectComponent.getFeatures().push(feature);\n this.olSelectComponent.changed();\n this.showPopup(feature);\n } else {\n this.map.setCenter(oldFeature.center);\n this.olSelectComponent.changed();\n let zoom = 7;\n const localStoragePositionForUser = this.localStorageService.\n getLocalStorageByUserid(authentificationStore.getters.getUserId);\n if (localStoragePositionForUser && localStoragePositionForUser.userPosition) {\n zoom = localStoragePositionForUser.userPosition.state.zoom;\n }\n this.map.setZoom(zoom);\n }\n }\n const localStoragePositionForUser = this.localStorageService.\n getLocalStorageByUserid(authentificationStore.getters.getUserId);\n if (localStoragePositionForUser && localStoragePositionForUser.userPosition && !oldFeature) {\n this.map.setCenter(localStoragePositionForUser.userPosition.state.center);\n this.map.setResolution(localStoragePositionForUser.userPosition.state.resolution);\n this.map.setZoom(localStoragePositionForUser.userPosition.state.zoom);\n }\n\n }\n\n /**\n * Adds a popup control to the map\n * @param map the map\n */\n public popupControlEvents() {\n const element = document.getElementById(\"popup\");\n const popup = new Overlay({\n element: element as Element,\n positioning: \"bottom-center\",\n stopEvent: false,\n offset: [0, -50]\n });\n this.map.addOverlay(popup);\n }\n\n private onSelect(featureEvent: any, value: number = 1) {\n const features: Collection = featureEvent.target.getFeatures();\n if (features && features.getLength() > 0) {\n this.showPopup(features.getArray()[0]);\n } else {\n this.removeSelectedLook();\n }\n }\n /**\n * Show popup with feature data\n * @param evt\n */\n private showPopup(feature: Feature) {\n //Selection event\n this.setSelectedBoatsToStore(feature);\n //Empty the search bar\n this.emptyTheSearchBar();\n\n this.showDetails(feature.getId());\n // Center the map on the selected vessel position\n this.map.goToFeatureWithAnimation(feature, 1000, this.isMobileFormat);\n\n //Stock the last feature in localstorage\n const geom: Point = feature.getGeometry() as Point;\n // tslint:disable-next-line: max-line-length\n this.localStorageService.addDataInLocalStorageById(authentificationStore.getters.getUserId, \"lastBoatIdOnMap\", { id: feature.getId(), center: geom.getCoordinates() });\n\n feature.changed();\n }\n\n /**\n * Callback function to remove the selected style + hide the vessel details\n * @param featureEvent\n */\n private removeSelectedLook() {\n applicationStore.commit(\"resetSelectedBoats\");\n this.hideDetails();\n this.localStorageService.removeLocalStorageFieldByUserId(\n authentificationStore.getters.getUserId, \"lastBoatIdOnMap\");\n this.olSelectComponent.getFeatures().clear();\n }\n\n get formatedPosition(): string {\n const coord = [this.vesselDetails.latitude, this.vesselDetails.longitude];\n return toStringHDMS(coord);\n }\n\n /**\n * Map controllers (Zoom in/out + legend) position\n * depends on the side bar state (collapsed / uncollapsed)\n */\n get areMapControlsShiftedTotheRight() {\n return applicationStore.state.sidebar.isCollapsed;\n }\n\n /**\n * Redirect to AIS remote details\n * @param featureEvent\n */\n private redirectToRemoteDeviceDetailsPage(featureEvent: any) {\n const feature = featureEvent.element;\n if (this.olSelectComponent.getLayer(feature).get(\"name\") === \"remoteDevices\") {\n // FIXME : find where the ID was modified (id = id - 1) ?\n this.$router.push({ name: \"remote-device\", params: { id: feature.getId() + 1 } });\n }\n }\n\n private addMarpolControl() {\n router.push({\n name: \"add-control-marpol\",\n params: {\n page: \"add\",\n parent: \"map\",\n propDomain: \"MARPOL\",\n controlDatas: JSON.stringify(this.vesselDetails)\n }\n });\n }\n\n private addMarsecControl() {\n router.push({\n name: \"add-control-marpol\",\n params: {\n page: \"add\",\n parent: \"map\",\n propDomain: \"MARSEC\",\n controlDatas: JSON.stringify(this.vesselDetails)\n }\n });\n }\n\n private addIbisControl() {\n router.push({\n name: \"add-control-marpol\",\n params: {\n page: \"add\",\n parent: \"map\",\n propDomain: \"IBIS\",\n controlDatas: JSON.stringify(this.vesselDetails)\n }\n });\n }\n\n \n\n @Watch(\"userId\")\n private onUserChange() {\n this.goToPreviouslyUserPosition();\n }\n\n private applyFilters(filterEvent: Filter){\n\n this.filter = filterEvent;\n\n var filtersSelected:boolean = false;\n \n if ( (this.filter.startDate != undefined && this.filter.startDate != \"\") ||\n (this.filter.endDate != undefined && this.filter.endDate != \"\") ||\n (this.filter.ibisControlChecked != undefined && this.filter.ibisControlChecked != \"false\" && this.filter.ibisControlChecked != \"\") ||\n (this.filter.marpolControlChecked != undefined && this.filter.marpolControlChecked != \"false\" && this.filter.marpolControlChecked != \"\") ||\n (this.filter.marsecControlChecked != undefined && this.filter.marsecControlChecked != \"false\" && this.filter.marsecControlChecked != \"\") ||\n (this.filter.imoOrEni != undefined && this.filter.imoOrEni != \"\") ||\n (this.filter.shipType != undefined && this.filter.shipType != \"\") ||\n (this.filter.carriedGoods != undefined && this.filter.carriedGoods != \"\") ||\n (this.filter.risk != undefined && this.filter.risk != \"\") ||\n (this.filter.shipFlag != undefined && this.filter.shipFlag != \"\")\n ){\n filtersSelected = true;\n }\n\n // Disable refresh\n clearInterval(this.autoRefreshVesselTimeout);\n\n // Count vessels in result filtered\n this.restService.countVessels(this.filter).then((resultat) => {\n var nbResultsFilters = resultat.data.count;\n\n if ( filtersSelected ){\n if ( nbResultsFilters > 0 ){\n // 1 or more results with theses filters\n this.filterColorGlass = \"green\";\n }\n else{\n // No results with theses filters\n this.filterColorGlass = \"red\";\n applicationStore.commit(\"showToasterError\", i18n.t(\"vessel.noBoatFound\").toString());\n }\n }\n else{\n // No filters\n this.filterColorGlass = \"primary\";\n }\n\n // Only after counting, request for refreshing map\n this.refreshVessel();\n });\n \n \n }\n\n private mounted() {\n this.isFirstTime = true;\n this.map = new mapData(\"map\", true, true);\n this.initMap();\n //FIXME Mutualiser le code, seul l'appel rest devrait rester ici\n const vesselsVectorSource = new VectorSource({\n format: new GeoJSON(),\n loader: (extent, resolution, projection) => {\n if (this.filter.active) { // To run the resquest only if the filter object come from the filter component. Avoid usless request when the page HTML is ready.\n this.restService.getVessels(extent, this.filter).then((result) => {\n const geojsonFormat: GeoJSON = new GeoJSON();\n const vesselsFeatures: Array = geojsonFormat.readFeatures(\n result.data,\n { featureProjection: projection }\n );\n vesselsVectorSource.forEachFeature((feature) => {\n // Remove previous vessels\n vesselsVectorSource.removeFeature(feature);\n });\n vesselsVectorSource.addFeatures(vesselsFeatures);\n if (this.isFirstTime) {\n this.goToPreviouslyUserPosition();\n this.isFirstTime = false;\n }\n\n const selectedFeatures = this.olSelectComponent.getFeatures();\n if (selectedFeatures != null && selectedFeatures.getLength() > 0 ) {\n const selectedFeature = selectedFeatures.getArray()[0];\n if (vesselsVectorSource.getFeatureById(selectedFeature.getId()) === null) {\n this.removeSelectedLook();\n }\n }\n \n // Autorefresh\n this.autoRefreshVessel();\n });\n }\n },\n strategy: bboxStrategy,\n wrapX: false\n });\n\n //add remote devices positions to the map\n const remoteDevicesVectorSource = new VectorSource({\n format: new GeoJSON(),\n loader: (extent, resolution, projection) => {\n this.restService.getRemoteDevicesPositions().then((result) => {\n const geojsonFormat: GeoJSON = new GeoJSON();\n const remoteDeviceFeatures: Array = geojsonFormat.readFeatures(\n result.data,\n { featureProjection: projection }\n );\n remoteDevicesVectorSource.addFeatures(remoteDeviceFeatures);\n });\n }\n });\n const vesselsStyleFunction = (f, n) => this.map.getVesselFeatureStyle(f, n);\n const vesselsLayer: VectorLayer = new VectorLayer({\n source: vesselsVectorSource,\n style: vesselsStyleFunction,\n renderMode: \"image\",\n renderBuffer: 12\n });\n vesselsLayer.set(\"renderOrder\", null);\n\n this.map.addVectorLayer(\"vessels\", vesselsLayer, false, 1);\n\n const remoteDevicesLayer: VectorLayer = new VectorLayer({\n source: remoteDevicesVectorSource\n });\n this.map.addVectorLayer(\n \"remoteDevices\",\n remoteDevicesLayer,\n false,\n 0,\n RemoteDevice.getRemoteDevicePositionFeatureStyle()\n );\n\n this.map.addListener(\n new Array(\"moveend\"),\n this.stockPositionToLocalStorage\n );\n this.restService.flowPosition((result) => {\n const vesselPosMsg = JSON.parse(result.data);\n const feature: Feature = vesselsVectorSource.getFeatureById(\n vesselPosMsg.id\n );\n if (feature !== null) {\n //FIXME update style\n feature.setGeometry(vesselPosMsg.geom);\n } else {\n //FIXME build feature...\n // vectorSource.addFeatures(result);\n }\n });\n\n\n //Render the map\n this.map.render();\n this.popupControlEvents();\n\n this.goToPreviouslyUserPosition();\n\n applicationStore.subscribe((mutation) => {\n if (mutation.type === \"goToSearchBoatPosition\") {\n const boatPosition = fromLonLat(mutation.payload.geom);\n const boatFeaturePayload = mutation.payload.feature;\n const boatId: number = boatFeaturePayload.id as number;\n\n const boatFeature = this.map.getFeaturesById(boatId);\n\n let zoom = 7;\n this.map.setZoom(zoom);\n\n const featureIds = new Array();\n featureIds.push(boatId);\n applicationStore.commit(\"setSelectedBoats\", featureIds);\n\n this.map.goToPositionWithAnimation(boatPosition);\n if (boatFeature) {\n this.olSelectComponent.getFeatures().push(boatFeature);\n }\n\n this.showDetails(boatId);\n }\n });\n }\n\n public autoRefreshVessel(){\n if ( this.convertMili == 0 ){\n this.restService.getParameterRefreshMap().then((result)=> {\n this.parameterRefreshMap = result.data.value;\n this.convertMili = this.parameterRefreshMap*1000;\n this.autoRefreshVesselTimeout = setTimeout(() => { this.refreshVessel() },this.convertMili);\n console.log(\"refresh vessel value every \"+result.data.value +\" seconds\");\n })\n .catch((error) => {\n // tslint:disable-next-line:no-console\n console.error(\"Can't connect to Aquatrack server. \" + error);\n });\n }\n else{\n clearInterval(this.autoRefreshVesselTimeout);\n this.autoRefreshVesselTimeout = setTimeout(() => { this.refreshVessel() },this.convertMili);\n }\n }\n\n private refreshVessel(){\n const vesselLayerSource = this.map.getLayerSourceByName(\"vessels\"); //vessel is boats \n if(!!vesselLayerSource){\n vesselLayerSource.getSource().clear();\n }\n } \n\n private emptyTheSearchBar() {\n applicationStore.commit(\"emptySearchBar\");\n }\n\n private setSelectedBoatsToStore(boat: Feature) {\n const featureIds = new Array();\n featureIds.push(boat.getId() as number);\n applicationStore.commit(\"setSelectedBoats\", featureIds);\n }\n\n /**\n * Get vessel datas + show the vessel details\n */\n private showDetails(boatId: number | string) {\n // Update the vessel details\n this.restService\n .getVesselById(Number(boatId))\n .then((result) => {\n this.vesselDetails = new Vessel(result.data);\n this.getShipControls(this.vesselDetails);\n\n // Show vessel details when received\n this.showDetail = true;\n })\n .catch((error) => {\n this.showDetail = false;\n // tslint:disable-next-line:no-console\n console.error(\"Can't connect to Aquatrack server. \" + error);\n });\n }\n\n /**\n * Hide details pannel\n */\n private hideDetails() {\n this.showDetail = false;\n }\n\n /**\n * Return the controls of the vessels\n * @param vessel\n */\n private getShipControls(vessel: Vessel) {\n this.vesselControlDatas = { marsec: new Array(), ibis: new Array(), marpol: new Array() };\n this.restService\n .getAllControlsByVessel(vessel.imo, vessel.eni, vessel.name)\n .then((results) => {\n results.forEach((result) => {\n let source = result.config.url;\n source = source.split(\"/\")[1];\n switch (source) {\n case \"ibis\":\n this.vesselControlDatas.ibis = result.data;\n break;\n case \"marpol\":\n this.vesselControlDatas.marpol = result.data;\n break;\n case \"marsec\":\n this.vesselControlDatas.marsec = result.data;\n break;\n }\n });\n });\n }\n\n private showHideFilterPanel(){\n if ( this.displayFilters ){\n this.displayFilters = false;\n }\n else{\n this.displayFilters = true;\n }\n } \n}\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/ts-loader/index.js??ref--13-3!./map.ts?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/ts-loader/index.js??ref--13-3!./map.ts?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./map.html?vue&type=template&id=48b4af09&scoped=true&external\"\nimport script from \"./map.ts?vue&type=script&lang=js&external\"\nexport * from \"./map.ts?vue&type=script&lang=js&external\"\nimport style0 from \"./map.scss?vue&type=style&index=0&id=48b4af09&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"48b4af09\",\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=5514acc9\"\nimport script from \"./Home.vue?vue&type=script&lang=js\"\nexport * from \"./Home.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from \"vue\";\nimport Router from \"vue-router\";\nimport Home from \"./views/Home.vue\";\nimport authentificationStore from \"@/shared/stores/authentificationStore\";\nimport { KeycloakTokenParsed, KeycloakPromise } from \"keycloak-js\";\n\nVue.use(Router);\n\nconst router = new Router({\n routes: [\n {\n path: \"/map\",\n name: \"map\",\n component: Home\n },\n {\n path: \"/findings/:id\",\n name: \"finding\",\n component: () =>\n import(\"./components/control-details-component/control-details\"),\n props: true,\n meta: {\n isSecure: true\n }\n },\n {\n path: \"/cookies-policy\",\n name: \"cookies-policy\",\n component: () =>\n import(\"./components/rgpd-components/cookie-policy-component/cookie-policy\"),\n meta: {\n isSecure: true\n }\n },\n {\n path: \"/find-your-way\",\n name: \"find-your-way\",\n component: () =>\n import(\"./components/static-pages/findyourway-component/findyourway\"),\n meta: {\n isSecure: true\n }\n },\n {\n path: \"/about\",\n name: \"about\",\n component: () =>\n import(\"./components/static-pages/about-component/about\"),\n meta: {\n isSecure: true\n }\n },\n {\n path: \"/contact\",\n name: \"contact\",\n component: () =>\n import(\"./components/static-pages/contact-component/contact\"),\n meta: {\n isSecure: true\n }\n },\n {\n path: \"/remote-devices\",\n name: \"remote-devices\",\n component: () =>\n import(\"./components/remote-devices-list-component/remote-devices-list\"),\n props: true,\n meta: {\n isSecure: true\n }\n },\n {\n path: \"/remote-devices/add\",\n name: \"add-remote-devices\",\n component: () =>\n import(\"./components/remote-devices-list-component/remote-device-add-edit-component/remote-device-add-edit\"),\n props: true\n },\n {\n path: \"/remote-devices/edit/:id\",\n name: \"edit-remote-devices\",\n component: () =>\n import(\"./components/remote-devices-list-component/remote-device-add-edit-component/remote-device-add-edit\"),\n props: true\n },\n {\n path: \"/remote-devices/:id\",\n name: \"remote-device\",\n component: () =>\n import(\"./components/remote-devices-list-component/remote-device-details-component/remote-device-details\"),\n props: true,\n meta: {\n isSecure: true\n }\n },\n {\n path: \"/findings\",\n name: \"findings\",\n component: () =>\n import(\"./components/controls-list-component/controls-list\"),\n meta: {\n isSecure: true\n }\n },\n {\n path: \"/findings/add/:id\",\n name: \"add-control\",\n component: () =>\n import(\"./components/control-details-component/control-manage/control-manage\"),\n props: true\n },\n {\n path: \"/findings/add\",\n name: \"add-control-marpol\",\n component: () =>\n import(\"./components/control-details-component/control-manage/control-manage\"),\n props: true\n },\n {\n path: \"/findings/add/:eni\",\n name: \"add-control-eni\",\n component: () =>\n import(\"./components/control-details-component/control-manage/control-manage\"),\n props: true\n },\n {\n path: \"/findings/edit/:id\",\n name: \"edit-control\",\n component: () =>\n import(\"./components/control-details-component/control-manage/control-manage\"),\n props: true\n },\n {\n path: \"/reporting\",\n name: \"reporting\",\n component: () =>\n import(\"./components/controls-reporting-component/controls-reporting\"),\n meta: {\n isSecure: true\n }\n },\n {\n path: \"/users\",\n name: \"users\",\n component: () =>\n import(\"./components/users-list-component/users-list\")\n },\n {\n path: \"/units\",\n name: \"units\",\n component: () =>\n import(\"./components/units-list-component/units-list\")\n },\n {\n path: \"/spocs\",\n name: \"spocs\",\n component: () =>\n import(\"./components/spocs-list-component/spocs-list\")\n },\n {\n path: \"/users/edit/:userId?\",\n name: \"edit-user\",\n component: () =>\n import(\"./components/user-create-update-component/user-create-update\"),\n props: true\n },\n {\n\n path: \"/manager/:id\",\n name: \"manager\",\n component: () =>\n import(\"./components/user-profile-details-component/manager-details-component/manager-details\"),\n props: true\n },\n {\n path: \"/managers/edit/:userId?\",\n name: \"edit-manager\",\n component: () =>\n import(\"./components/manager-create-update-component/manager-create-update\"),\n props: true\n },\n {\n path: \"/managers/add/\",\n name: \"add-manager\",\n component: () =>\n import(\"./components/manager-create-update-component/manager-create-update\"),\n props: true\n },\n {\n path: \"/spoc/:id\",\n name: \"spoc\",\n component: () =>\n import(\"./components/spoc-details-component/spoc-details\"),\n props: true\n },\n {\n path: \"/spocs/add/:spocId?\",\n name: \"add-update-spoc\",\n component: () =>\n import(\"./components/spoc-details-component/spoc-management/spoc-add-update/spoc-add-update\"),\n props: true\n },\n {\n path: \"/units/add/:unitId?\",\n name: \"add-update-unit\",\n component: () =>\n import(\"./components/unit-details-component/unit-add-update-component/unit-add-update\"),\n props: true\n },\n {\n\n path: \"/unit/:id\",\n name: \"unit\",\n component: () =>\n import(\"./components/unit-details-component/unit-details\"),\n props: true\n },\n {\n\n path: \"/user/:id\",\n name: \"user\",\n component: () =>\n import(\"./components/user-profile-details-component/user-details-component/user-details\"),\n props: true\n },\n {\n path: \"/profile\",\n name: \"profile\",\n component: () =>\n import(\"./components/user-profile-details-component/user-profile-details\"),\n props: true\n },\n {\n path: \"/administrator\",\n name: \"administrator\",\n component: () =>\n import(\"./components/administrator-component/administrator\"),\n props: true,\n meta: {\n isSecure: true\n }\n }\n ]\n});\n\n\nrouter.beforeEach((to, from, next) => {\n const token: KeycloakTokenParsed | undefined = authentificationStore.getters.getToken;\n if (token) {\n // tslint:disable-next-line:no-console\n console.log(\"Token2 \" + JSON.stringify(token as KeycloakTokenParsed));\n }\n\n if (to.matched.some((record) => record.meta.isSecure)) {\n if (token) {\n next();\n } else {\n authentificationStore.dispatch(\"updateToken\").then((response: KeycloakPromise) => {\n response.success(() => {\n next();\n });\n });\n }\n } else {\n if (token && to.matched.some((record) => record.name === \"map\" && !authentificationStore.getters.hasVisibleMap)){\n next({ name: 'findings' });\n } else {\n next();\n }\n }\n});\n\nexport default router;\n","module.exports = __webpack_public_path__ + \"img/TowingTug.039485f8.svg\";","/**\n * A representation of the current logged-in user roles.\n */\nexport default class UserRoles {\n private user: boolean = false;\n private admin: boolean = false;\n\n private ibisViewer: boolean = false;\n private ibisUser: boolean = false;\n private ibisEditor: boolean = false;\n private ibisManager: boolean = false;\n\n private marpolViewer: boolean = false;\n private marpolUser: boolean = false;\n private marpolEditor: boolean = false;\n private marpolManager: boolean = false;\n\n private marsecViewer: boolean = false;\n private marsecUser: boolean = false;\n private marsecEditor: boolean = false;\n private marsecManager: boolean = false;\n\n public isUser(): boolean {\n return this.user;\n }\n\n public setUser(isUser: boolean) {\n this.user = isUser;\n }\n\n public isAdmin(): boolean {\n return this.admin;\n }\n\n public setAdmin(isAdmin: boolean) {\n this.admin = isAdmin;\n }\n\n public isIbisViewer(): boolean {\n return this.ibisViewer;\n }\n\n public setIbisViewer(isIbisViewer: boolean) {\n this.ibisViewer = isIbisViewer;\n }\n\n public isIbisUser(): boolean {\n return this.ibisUser;\n }\n\n public setIbisUser(isIbisUser: boolean) {\n this.ibisUser = isIbisUser;\n }\n\n public isIbisEditor(): boolean {\n return this.ibisEditor;\n }\n\n public setIbisEditor(isIbisEditor: boolean) {\n this.ibisEditor = isIbisEditor;\n }\n\n public isIbisManager(): boolean {\n return this.ibisManager;\n }\n\n public setIbisManager(isIbisManager: boolean) {\n this.ibisManager = isIbisManager;\n }\n\n public isMarpolViewer(): boolean {\n return this.marpolViewer;\n }\n\n public setMarpolViewer(isMarpolViewer: boolean) {\n this.marpolViewer = isMarpolViewer;\n }\n\n public isMarpolUser(): boolean {\n return this.marpolUser;\n }\n\n public setMarpolUser(isMarpolUser: boolean) {\n this.marpolUser = isMarpolUser;\n }\n\n public isMarpolEditor(): boolean {\n return this.marpolEditor;\n }\n\n public setMarpolEditor(isMarpolEditor: boolean) {\n this.marpolEditor = isMarpolEditor;\n }\n\n public isMarpolManager(): boolean {\n return this.marpolManager;\n }\n\n public setMarpolManager(isMarpolManager: boolean) {\n this.marpolManager = isMarpolManager;\n }\n\n public isMarsecViewer(): boolean {\n return this.marsecViewer;\n }\n\n public setMarsecViewer(isMarsecViewer: boolean) {\n this.marsecViewer = isMarsecViewer;\n }\n\n public isMarsecUser(): boolean {\n return this.marsecUser;\n }\n\n public setMarsecUser(isMarsecUser: boolean) {\n this.marsecUser = isMarsecUser;\n }\n\n public isMarsecEditor(): boolean {\n return this.marsecEditor;\n }\n\n public setMarsecEditor(isMarsecEditor: boolean) {\n this.marsecEditor = isMarsecEditor;\n }\n\n public isMarsecManager(): boolean {\n return this.marsecManager;\n }\n\n public setMarsecManager(isMarsecManager: boolean) {\n this.marsecManager = isMarsecManager;\n }\n\n public hasIbisRole(): boolean {\n return this.ibisViewer || this.ibisUser || this.ibisEditor || this.ibisManager;\n }\n\n public hasMarpolRole(): boolean {\n return this.marpolViewer || this.marpolUser || this.marpolEditor || this.marpolManager;\n }\n\n public hasMarsecRole(): boolean {\n return this.marsecViewer || this.marsecUser || this.marsecEditor || this.marsecManager;\n }\n\n public hasManagerRole(): boolean {\n return this.ibisManager || this.marpolManager || this.marsecManager;\n }\n\n public canCreateIbisControl(): boolean {\n return this.ibisUser || this.ibisEditor || this.ibisManager;\n }\n\n public canCreateMarpolControl(): boolean {\n return this.marpolUser || this.marpolEditor || this.marpolManager;\n }\n\n public canCreateMarsecControl(): boolean {\n return this.marsecUser || this.marsecEditor || this.marsecManager;\n }\n\n public canUpdateOrDeleteIbisControl(): boolean {\n return this.ibisEditor || this.ibisManager ;\n }\n\n public canUpdateOrDeleteMarpolControl(): boolean {\n return this.marpolEditor || this.marpolManager ;\n }\n\n public canUpdateOrDeleteMarsecControl(): boolean {\n return this.marsecEditor || this.marsecManager ;\n }\n\n /**\n * Assign a role to the currently logged-in user.\n * @param role the Keycloak client role string representing the role to assign to the user\n */\n public addRole(role: string) {\n switch (role) {\n case \"IBIS-VIEWER\":\n this.ibisViewer = true;\n break;\n case \"IBIS-USER\":\n this.ibisUser = true;\n break;\n case \"IBIS-EDITOR\":\n this.ibisEditor = true;\n break;\n case \"IBIS-MANAGER\":\n this.ibisManager = true;\n break;\n case \"MARPOL-VIEWER\":\n this.marpolViewer = true;\n break;\n case \"MARPOL-USER\":\n this.marpolUser = true;\n break;\n case \"MARPOL-EDITOR\":\n this.marpolEditor = true;\n break;\n case \"MARPOL-MANAGER\":\n this.marpolManager = true;\n break;\n case \"MARSEC-VIEWER\":\n this.marsecViewer = true;\n break;\n case \"MARSEC-USER\":\n this.marsecUser = true;\n break;\n case \"MARSEC-EDITOR\":\n this.marsecEditor = true;\n break;\n case \"MARSEC-MANAGER\":\n this.marsecManager = true;\n break;\n default:\n // tslint:disable-next-line:no-console\n console.warn(\"Role ${role} has not been assigned to user.\");\n }\n }\n}\n","import Vuex from \"vuex\";\nimport Vue from \"vue\";\nimport { KeycloakTokenParsed, KeycloakInstance, KeycloakPromise } from \"keycloak-js\";\nimport UserRoles from \"../models/user-roles-model\";\nimport Constants from \"@/utils/constants\";\nimport { RestService } from \"@/services/rest-service\";\nVue.use(Vuex);\n\nconst setLocalStorage = (token: KeycloakInstance, user: { id: string, roles: UserRoles }) => {\n localStorage.setItem(\"token\", token.token as string);\n localStorage.setItem(\"refresh-token\", token.refreshToken as string);\n localStorage.setItem(\"user\", JSON.stringify(user));\n};\n\n/**\n * Extracts relevant realm roles from the token and updates the provided UserRole object.\n * @param token the KeycloakInstance containing data from the JWT\n * @param roles a representation of user roles that will be updated with the realm roles found in the token.\n */\nconst extractUserRealmRole = (token: KeycloakInstance, roles: UserRoles) => {\n if (token) {\n if (token.hasRealmRole(\"ADMIN\")) {\n roles.setAdmin(true);\n }\n if (token.hasRealmRole(\"USER\")) {\n roles.setUser(true);\n }\n }\n};\n\n/**\n * Extracts client roles from the token and updates the provided UserRole object.\n * @param token the KeycloakInstance containing data from the JWT\n * @param roles a representation of user roles that will be updated with the realm roles found in the token.\n */\nconst extractUserClientRoles = (token: KeycloakInstance, roles: UserRoles) => {\n if (token) {\n for (const role of Constants.aquatrackRoles) {\n if (token.hasResourceRole(role, \"aquatrack-web\")) {\n // tslint:disable-next-line: no-console\n console.log(\"ROLE FOUND:\" + role);\n roles.addRole(role);\n }\n }\n }\n\n};\n\n/**\n * Extracts realm and client roles from the token and updates the provided UserRole object.\n * @param token the KeycloakInstance containing data from the JWT\n * @param user a representation of the logged-in user that will be updated with the id and roles found in the token.\n */\nconst updateUser = (token: KeycloakInstance, user: { id: string, roles: UserRoles }) => {\n if (token.subject) {\n // tslint:disable-next-line: no-console\n console.log(token);\n user.id = token.subject;\n let restService: RestService;\n restService = Vue.prototype.$restService;\n restService.bearerString = \"Bearer \" + token.token as string;\n\n restService\n .UpdateUserLastLogin(user.id)\n .then((result: { data: any; }) => {\n // tslint:disable-next-line: no-console\n console.log(\"user last login added\");\n })\n .catch((error: string) =>\n // tslint:disable-next-line:no-console\n console.error(\"Can't connect to Aquatrack server. \" + error)\n );\n }\n extractUserRealmRole(token, user.roles);\n extractUserClientRoles(token, user.roles);\n};\n\nconst authentificationStore = new Vuex.Store({\n state: {\n token: {},\n user: { id: \"\", roles: new UserRoles(), visibleMap: false }\n },\n mutations: {\n setKeyCloackInstance(state, token: KeycloakInstance) {\n state.token = token;\n const restService: RestService = Vue.prototype.$restService;\n\n updateUser(token, state.user);\n // tslint:disable-next-line: no-console\n console.log(JSON.stringify(state.user));\n setLocalStorage(token, state.user);\n },\n logout(state) {\n const token = authentificationStore.state.token as KeycloakInstance;\n if (token) {\n token.logout();\n localStorage.removeItem(\"token\");\n localStorage.removeItem(\"refresh-token\");\n }\n }\n },\n getters: {\n isAuthenticated(): boolean {\n return authentificationStore.state.token !== null;\n },\n getLogin(): string {\n const token: any = (authentificationStore.state.token as KeycloakInstance).tokenParsed;\n if (token) {\n return token.preferred_username;\n }\n return \"\";\n },\n getGroup(): string {\n const token: any = (authentificationStore.state.token as KeycloakInstance).tokenParsed;\n if (token) {\n return token.group;\n }\n return \"\";\n },\n getToken(): KeycloakTokenParsed | undefined {\n return (authentificationStore.state.token as KeycloakInstance).tokenParsed;\n },\n getAccessToken(): string {\n return (authentificationStore.state.token as KeycloakInstance).token as string;\n },\n getRefreshToken(): string {\n return (authentificationStore.state.token as KeycloakInstance).refreshToken as string;\n },\n getTokenValidity(): number {\n // tslint:disable-next-line: max-line-length\n const exp = ((authentificationStore.state.token as KeycloakInstance).tokenParsed as KeycloakTokenParsed).exp as number;\n const timeSkew = (authentificationStore.state.token as KeycloakInstance).timeSkew as number;\n return Math.round(exp + timeSkew - new Date().getTime() / 1000);\n },\n getUserId(): string {\n return authentificationStore.state.user.id;\n },\n getName(): string {\n const token: any = (authentificationStore.state.token as KeycloakInstance).tokenParsed;\n if (token) {\n return token.name;\n }\n return \"\";\n },\n getUserRoles(): UserRoles {\n return authentificationStore.state.user.roles;\n },\n isUserAdmin(): boolean {\n return authentificationStore.state.user.roles.isAdmin();\n },\n isUserManager(): boolean {\n return authentificationStore.state.user.roles.hasManagerRole();\n },\n isUserEditor(): boolean {\n return authentificationStore.state.user.roles.isIbisEditor()\n || authentificationStore.state.user.roles.isMarpolEditor()\n || authentificationStore.state.user.roles.isMarsecEditor();\n },\n isUserViewer(): boolean {\n return authentificationStore.state.user.roles.isIbisViewer()\n || authentificationStore.state.user.roles.isMarpolViewer()\n || authentificationStore.state.user.roles.isMarsecViewer();\n },\n isUserUser(): boolean {\n return authentificationStore.state.user.roles.isIbisUser()\n || authentificationStore.state.user.roles.isMarpolUser()\n || authentificationStore.state.user.roles.isMarsecUser();\n },\n isUserAdminOrManager(): boolean {\n return authentificationStore.state.user.roles.isAdmin()\n || authentificationStore.state.user.roles.hasManagerRole();\n },\n hasVisibleMap(): boolean {\n return authentificationStore.state.user.visibleMap;\n },\n hasUserIbisAccess(): boolean {\n return authentificationStore.state.user.roles.hasIbisRole()\n || authentificationStore.state.user.roles.isAdmin();\n },\n hasUserMarpolAccess(): boolean {\n return authentificationStore.state.user.roles.hasMarpolRole()\n || authentificationStore.state.user.roles.isAdmin();\n },\n hasUserMarsecAccess(): boolean {\n return authentificationStore.state.user.roles.hasMarsecRole()\n || authentificationStore.state.user.roles.isAdmin();\n },\n canUserCreateIbisControl(): boolean {\n return authentificationStore.state.user.roles.canCreateIbisControl()\n || authentificationStore.state.user.roles.isAdmin();\n },\n canUserCreateMarpolControl(): boolean {\n return authentificationStore.state.user.roles.canCreateMarpolControl()\n || authentificationStore.state.user.roles.isAdmin();\n },\n canUserCreateMarsecControl(): boolean {\n return authentificationStore.state.user.roles.canCreateMarsecControl()\n || authentificationStore.state.user.roles.isAdmin();\n },\n canUserUpdateOrDeleteIbisControl(): boolean {\n return authentificationStore.state.user.roles.canUpdateOrDeleteIbisControl()\n || authentificationStore.state.user.roles.isAdmin();\n },\n canUserUpdateOrDeleteMarpolControl(): boolean {\n return authentificationStore.state.user.roles.canUpdateOrDeleteMarpolControl()\n || authentificationStore.state.user.roles.isAdmin();\n },\n canUserUpdateOrDeleteMarsecControl(): boolean {\n return authentificationStore.state.user.roles.canUpdateOrDeleteMarsecControl()\n || authentificationStore.state.user.roles.isAdmin();\n }\n },\n actions: {\n updateToken(state, request?: any): KeycloakPromise | undefined {\n if (authentificationStore.state.token) {\n // tslint:disable-next-line: no-console\n console.log(\"Update token\");\n return (authentificationStore.state.token as KeycloakInstance).updateToken(20);\n }\n },\n logout(state): void {\n if (authentificationStore.state.token) {\n (authentificationStore.state.token as KeycloakInstance).logout();\n }\n }\n }\n});\n\nexport default authentificationStore;\n","import \"ol/ol.css\";\nimport * as ol from \"openlayers\";\nimport Map from \"ol/Map\";\nimport TileLayer from \"ol/layer/Tile.js\";\nimport OSM from \"ol/source/OSM\";\nimport View from \"ol/View\";\nimport { fromLonLat } from \"ol/proj.js\";\nimport {\n defaults as defaultControls, Control\n} from \"ol/control.js\";\nimport Vue from \"vue\";\nimport VectorLayer from \"ol/layer/Vector\";\nimport VectorSource from \"ol/source/Vector.js\";\nimport { GeoJSON } from \"ol/format\";\nimport Feature from \"ol/Feature\";\nimport Point from \"ol/geom/Point.js\";\nimport Constants from \"@/utils/constants\";\nimport { Circle as CircleStyle, Stroke, Fill, Style } from \"ol/style.js\";\nimport Overlay from \"ol/Overlay\";\nimport { defaults } from \"ol/interaction.js\";\nimport { linear } from \"ol/easing.js\";\nimport Stamen from \"ol/source/Stamen.js\";\nimport MapStyleLibrary from \"./MapStyleLibrary\";\nimport RiskLevelEnum from \"@/shared/enumerations/RiskLevelEnum\";\nimport applicationStore from \"@/shared/stores/applicationStore\";\nimport RemoteDevice from \"@/shared/models/remote-model\";\n\n\nexport default class MapData {\n private map: Map;\n private layers: any;\n private mapIconLibrary: MapStyleLibrary;\n private flashStyle: Style;\n\n /**\n * Simple constructor, just send the div id where the map will be dislayed\n * FIXME use new object with setters instead of constructor.\n * @param htmlTarget\n * @param isActivatedDragPan\n * @param isActivatedMousWheelZoom\n */\n constructor(\n htmlTarget: string,\n isActivatedDragPan: boolean,\n isActivatedMousWheelZoom: boolean\n ) {\n\n this.mapIconLibrary = new MapStyleLibrary();\n this.layers = {};\n this.map = new Map({\n controls: defaultControls({\n attribution: false,\n /**\n * FIXME add zoom options only for main map rendering\n *\n */\n zoomOptions: {\n target: \"zoom-control\"\n }\n }),\n interactions: defaults({\n dragPan: isActivatedDragPan,\n mouseWheelZoom: isActivatedMousWheelZoom,\n constrainResolution: true\n }),\n\n loadTilesWhileInteracting: false,\n loadTilesWhileAnimating: false,\n layers: [\n this.getTileLayer()\n ],\n target: document.getElementById(htmlTarget) as Element,\n view: new View({\n center: fromLonLat(Vue.prototype.$mapCenterXYCoordinate),\n zoom: 7,\n minZoom: 3,\n extent: [-7037508.34, -19998372.584307, +7037508.34, 19998372.58]\n })\n });\n\n applicationStore.subscribe((mutation) => {\n if (mutation.type === \"setDarkMode\") {\n const previousTileLayer = this.map.getLayers().getArray().find((layer) => layer instanceof TileLayer);\n this.map.removeLayer(previousTileLayer as TileLayer);\n this.addLayer(this.getTileLayer());\n\n //Update remote device icon\n const remoteDeviceLayer: VectorLayer | undefined = this.getLayerSourceByName(\"remoteDevices\");\n if (remoteDeviceLayer) {\n this.map.removeLayer(remoteDeviceLayer as ol.layer.Base);\n this.addVectorLayer(\"remoteDevices\", remoteDeviceLayer, false, undefined,\n RemoteDevice.getRemoteDevicePositionFeatureStyle(applicationStore.getters.isDarkMode));\n }\n }\n });\n const radius = linear(1) * 23 + 5;\n this.flashStyle = new Style({\n image: new CircleStyle({\n radius,\n stroke: new Stroke({\n color: \"rgba(36,117, 198, 0.75)\",\n width: 1\n }),\n fill: new Fill({\n color: \"rgba(36,117, 198, 0.75)\"\n })\n }),\n zIndex: -1\n });\n }\n\n /**\n * Return the id list of the selected features\n */\n public getSelectedBoats(): Array {\n return applicationStore.getters.getSelectedBoats;\n }\n\n\n /**\n * Use it for add event reaction like\n * \"map.on(\"moveend\", this.stockPositionToLocalStorage);\"\n * => map.addEvent([\"moveend\"], this.stockPositionToLocalStorage)\"\n * @param eventTypes\n * @param callbackFunction\n */\n public addListener(\n eventsType: Array,\n callbackFunction: ol.EventsListenerFunctionType\n ) {\n eventsType.forEach((event) => {\n this.map.on(event, callbackFunction);\n });\n }\n\n public getFeaturesAtCoordinate(coordinate: [number, number]) {\n const coordinatePixel = this.map.getPixelFromCoordinate(coordinate);\n return this.map.getFeaturesAtPixel(coordinatePixel);\n }\n /**\n * Add an overlay to the map\n * @param overlay\n */\n public addOverlay(overlay: Overlay) {\n this.map.addOverlay(overlay);\n }\n\n /**\n * Add data to a map layer.\n * @param name the name of the map layer (in case we need to delete it later)\n * @param vector the vector source for the layer\n * @param cleanDataBeforeAdd if true, remove the layer if it already exists\n * @param zIndex the layer z-index\n * @param style the style that should be applied to the layer\n */\n // tslint:disable-next-line: max-line-length\n public addVectorLayer(name: string, vectorLayer: VectorLayer, cleanDataBeforeAdd: boolean = false, zIndex?: number, style?: Style) {\n //Clean the openLayersLayers before adding new data if required\n if (cleanDataBeforeAdd && this.layers[name]) {\n this.removeData(this.layers[name]);\n }\n if (zIndex) {\n vectorLayer.setZIndex(zIndex);\n }\n if (style) {\n vectorLayer.setStyle(style);\n }\n vectorLayer.set(\"name\", name);\n this.layers[name] = name;\n this.addLayer(vectorLayer);\n }\n\n /**\n * Remove data from the map, effectively removing the layer containing the data.\n * @param name the name of the layer to remove\n */\n public removeData(name: string) {\n const layerToRemove = this.layers[name];\n this.map.removeLayer(layerToRemove);\n delete this.layers[name];\n }\n\n /**\n * Render the map\n */\n public render(): void {\n this.map.render();\n }\n\n /**\n * Set current position to specific position\n * @param center\n */\n public setCenter(center: [number, number]): void {\n this.map.getView().setCenter(center);\n }\n\n /**\n * Go to feature position with animation\n * @param feature\n * @param duration (Default value = 1s)\n */\n public goToFeatureWithAnimation(feature: Feature, duration: number = 0, isMobile: boolean = false) {\n const point = feature.getGeometry() as Point;\n\n const mapExtent = this.map.getView().calculateExtent();\n\n let aQuarterOfTheMapX = 0;\n let aQuarterOfTheMapY = 0;\n\n if (!isMobile) {\n const maxX: number = mapExtent[2];\n const minX: number = mapExtent[0];\n aQuarterOfTheMapX = (maxX - minX) / 4;\n } else {\n const maxY: number = mapExtent[3];\n const minY: number = mapExtent[1];\n aQuarterOfTheMapY = (maxY - minY) / 4;\n }\n this.map.getView().animate({\n center: [\n point.getCoordinates()[0] + aQuarterOfTheMapX,\n point.getCoordinates()[1] - aQuarterOfTheMapY\n ],\n duration\n });\n }\n\n /**\n * Go to position with animation\n * @param Position coordinates\n * @param duration (Default value = 1s)\n */\n public goToPositionWithAnimation(\n position: [number, number],\n duration: number = 1000,\n isMobile: boolean = false\n ) {\n const point = new Point(position);\n const mapExtent = this.map.getView().calculateExtent();\n\n let aQuarterOfTheMapX = 0;\n let aQuarterOfTheMapY = 0;\n\n if (!isMobile) {\n const maxX: number = mapExtent[2];\n const minX: number = mapExtent[0];\n aQuarterOfTheMapX = (maxX - minX) / 4;\n } else {\n const maxY: number = mapExtent[3];\n const minY: number = mapExtent[1];\n aQuarterOfTheMapY = (maxY - minY) / 4;\n }\n\n this.map.getView().animate({\n center: [\n point.getCoordinates()[0] + aQuarterOfTheMapX,\n point.getCoordinates()[1] - aQuarterOfTheMapY\n ],\n duration\n });\n }\n\n public getSelectedStyle(feature: any, resolution: number): Array