{"version":3,"sources":["webpack:///./src/views/dataQuality/FleetOverview.vue?34dc","webpack:///./src/views/dataQuality/FleetOverview.vue","webpack:///./src/views/dataQuality/FleetOverview.vue?efcb","webpack:///./src/views/dataQuality/FleetOverview.vue?72d8","webpack:///./src/views/dataQuality/FleetOverview.vue?b836"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","_v","headers","fleetOverview","links","tableLoading","staticRenderFns","Vessels","getModule","VesselsModule","store","DataQuality","DataQualityModule","FleetOverview","text","type","value","tooltip","Promise","all","refreshExtendedVessels","refreshFleetOverview","map","item","vessel","extendedVessels","find","id","vesselId","vesselName","name","overallStatus","dataAvailability","dataOutliers","speedLog","loadingState","Vue","Component","components","DataQualityTable","DataQualityIndicatorLegend","component","VContainer","VRow"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,YAAY,OAAOC,YAAY,CAAC,MAAQ,UAAU,CAACH,EAAG,QAAQ,CAACI,MAAM,CAAC,QAAU,gBAAgB,aAAa,KAAK,CAACJ,EAAG,KAAK,CAACJ,EAAIS,GAAG,sBAAsBL,EAAG,mBAAmB,CAACI,MAAM,CAAC,mBAAoB,EAAM,QAAUR,EAAIU,QAAQ,KAAOV,EAAIW,cAAc,MAAQX,EAAIY,MAAM,QAAUZ,EAAIa,iBAAiB,IAC/ZC,EAAkB,G,oOC8BhBC,EAAUC,eAAUC,OAAeC,QACnCC,EAAcH,eAAUI,OAAmBF,QAQ5BG,EAAa,wDAAlC,iD,0BAiCE,EAAAT,MAA2B,CAAC,KAAM,gCAAiC,4BAA6B,MAEhG,EAAAF,QAA+B,CAC7B,CACEY,KAAM,SACNC,KAAM,SACNC,MAAO,cAET,CACEF,KAAM,oBACNC,KAAM,gBACNC,MAAO,mBACPC,QACE,8XAEJ,CACEH,KAAM,gBACNC,KAAM,gBACNC,MAAO,eACPC,QAAS,mDAEX,CACEH,KAAM,YACNC,KAAM,gBACNC,MAAO,WACPC,QACE,0XA3DR,EAAkC,uGAChC,8GACQC,QAAQC,IAAI,CAACZ,EAAQa,yBAA0BT,EAAYU,yBADnE,2CADgC,kFAKhC,WACE,IAAIlB,EAAgBQ,EAAYR,cAAcmB,KAAI,SAAAC,GAChD,IAAMC,EAASjB,EAAQkB,gBAAgBC,MAAK,SAAAF,GAAM,OAAIA,EAAOG,KAAOJ,EAAKK,YACzE,MAAO,CACLC,WAAY,CACVb,MAAOQ,EAASA,EAAOM,KAAO,kBAEhCC,cAAe,CACbf,MAAOO,EAAKQ,eAEdC,iBAAkB,CAChBhB,MAAOO,EAAKS,kBAEdC,aAAc,CACZjB,MAAOO,EAAKU,cAEdC,SAAU,CACRlB,MAAO,OAIb,OAAOb,IA1BuB,wBA6BhC,WACE,OAAOQ,EAAYwB,iBA9BW,GAASC,QAAtBvB,EAAa,gBANjCwB,eAAU,CACTC,WAAY,CACVC,wBACAC,sCAGiB3B,WCxCqY,I,qECQtZ4B,EAAY,eACd,EACAlD,EACAe,GACA,EACA,KACA,WACA,MAIa,aAAAmC,EAAiB,QAMhC,IAAkBA,EAAW,CAACC,aAAA,KAAWC,OAAA,Q,2DCzBzC","file":"js/chunk-65bed758.76f2c5e7.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"main\",staticStyle:{\"width\":\"800px\"}},[_c('v-row',{attrs:{\"justify\":\"space-between\",\"no-gutters\":\"\"}},[_c('h1',[_vm._v(\"Fleet Overview\")])]),_c('DataQualityTable',{attrs:{\"showOverallStatus\":false,\"headers\":_vm.headers,\"rows\":_vm.fleetOverview,\"links\":_vm.links,\"loading\":_vm.tableLoading}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component } from \"vue-property-decorator\";\nimport DataQualityTable from \"@/components/dataQuality/dataQualityTable/DataQualityTable.vue\";\nimport DataQualityIndicatorLegend from \"@/components/dataQuality/DataQualityIndicatorLegend.vue\";\nimport DataQualityModule from \"@/store/clients/DataQuality.module\";\nimport { getModule } from \"vuex-module-decorators\";\nimport store from \"@/store\";\nimport VesselsModule from \"@/store/clients/Vessels.module\";\nimport { DataQualityHeader } from \"@/types/dataQuality/dataQualityTable\";\n\nconst Vessels = getModule(VesselsModule, store);\nconst DataQuality = getModule(DataQualityModule, store);\n\n@Component({\n components: {\n DataQualityTable,\n DataQualityIndicatorLegend,\n },\n})\nexport default class FleetOverview extends Vue {\n async created(): Promise {\n await Promise.all([Vessels.refreshExtendedVessels(), DataQuality.refreshFleetOverview()]);\n }\n\n get fleetOverview(): any {\n var fleetOverview = DataQuality.fleetOverview.map(item => {\n const vessel = Vessels.extendedVessels.find(vessel => vessel.id === item.vesselId);\n return {\n vesselName: {\n value: vessel ? vessel.name : \"Unknown Vessel\",\n },\n overallStatus: {\n value: item.overallStatus,\n },\n dataAvailability: {\n value: item.dataAvailability,\n },\n dataOutliers: {\n value: item.dataOutliers,\n },\n speedLog: {\n value: 0,\n },\n };\n });\n return fleetOverview;\n }\n\n get tableLoading(): boolean {\n return DataQuality.loadingState;\n }\n\n links: (string | null)[] = [null, \"/DataQuality/DataAvailability\", \"/DataQuality/DataOutliers\", null];\n\n headers: DataQualityHeader[] = [\n {\n text: \"Vessel\",\n type: \"string\",\n value: \"vesselName\",\n },\n {\n text: \"Data Availability\",\n type: \"dataIndicator\",\n value: \"dataAvailability\",\n tooltip:\n \"This column displays the availability of critical data tags for performance analyses. The vessel’s status is determined by the most urgent status of the data tags. In other words if just one tag is “Not Ok” and all other tags are available, the vessel’s status will be “Not ok”. The status of each tag is determined by the configurations made in the Data Availability Dashboard.\",\n },\n {\n text: \"Data Outliers\",\n type: \"dataIndicator\",\n value: \"dataOutliers\",\n tooltip: \"Indicates the presence of outliers in the data.\",\n },\n {\n text: \"Speed Log\",\n type: \"dataIndicator\",\n value: \"speedLog\",\n tooltip:\n \"This column displays the status of the Speed Log sensor. The vessel's status is determined by the outlier score and quality score displayed in the Speed Log Dashboard. The overall status of the Speed Log is determined by the most urgent status observed. If the quality score is green but the Outlier score is “Not Ok” the Speed Log column for the vessel will show “Not Ok”.\",\n },\n ];\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FleetOverview.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FleetOverview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FleetOverview.vue?vue&type=template&id=cb1aac9e&scoped=true&\"\nimport script from \"./FleetOverview.vue?vue&type=script&lang=ts&\"\nexport * from \"./FleetOverview.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./FleetOverview.vue?vue&type=style&index=0&id=cb1aac9e&lang=scss&scoped=true&\"\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 \"cb1aac9e\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VContainer,VRow})\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FleetOverview.vue?vue&type=style&index=0&id=cb1aac9e&lang=scss&scoped=true&\""],"sourceRoot":""}