{"version":3,"sources":["webpack:///./src/assets/img/doorsensor.png","webpack:///./src/assets/img/gateway.png","webpack:///./src/assets/img/digital-io.png","webpack:///./src/views/components/ArmDisarmButton.vue?0d95","webpack:///./src/views/components/ArmDisarmButton.vue","webpack:///./src/views/components/ArmDisarmButton.vue?399e","webpack:///./src/views/components/ArmDisarmButton.vue?7488","webpack:///./src/assets/img/bilge.png","webpack:///./src/views/components/PairToggle.vue?552e","webpack:///./src/views/components/PairToggle.vue","webpack:///./src/views/components/PairToggle.vue?ae74","webpack:///./src/views/components/PairToggle.vue?401f","webpack:///./src/assets/img/keypad.png","webpack:///./src/views/components/BatteryView.vue?433a","webpack:///./src/views/components/BatteryView.vue","webpack:///./src/views/components/BatteryView.vue?12e0","webpack:///./src/views/components/BatteryView.vue?daa3","webpack:///./src/assets/img/map-marker-anchor.png","webpack:///./src/assets/img/immobilizer.png","webpack:///./src/views/components/Sensors/HatchSensorListItem.vue?5d5d","webpack:///./src/views/components/Sensors/HatchSensorListItem.vue","webpack:///./src/views/components/Sensors/HatchSensorListItem.vue?ad81","webpack:///./src/views/components/Sensors/HatchSensorListItem.vue?3b4f","webpack:///./src/views/components/Sensors/ShorePowerListItem.vue?1096","webpack:///./src/views/components/Sensors/ShorePowerListItem.vue","webpack:///./src/views/components/Sensors/ShorePowerListItem.vue?8ba4","webpack:///./src/views/components/Sensors/ShorePowerListItem.vue?34dd","webpack:///./src/views/components/SystemStatus.vue?6092","webpack:///./src/views/components/SystemStatus.vue","webpack:///./src/views/components/SystemStatus.vue?aaa7","webpack:///./src/views/components/SystemStatus.vue?2734","webpack:///./src/assets/img/undefined.png","webpack:///./src/assets/img/water.png","webpack:///./src/assets/img/shorepower.png","webpack:///./src/assets/img/smartplug.png","webpack:///./src/store/modules/useDeviceData.ts","webpack:///./src/assets/img/marine_one-8.png","webpack:///./src/assets/img/doorsensor-old.png","webpack:///./src/assets/img/gas.png","webpack:///./src/views/components/Sensors/SmartPlugListItem.vue?7d5d","webpack:///./src/views/components/Sensors/SmartPlugListItem.vue","webpack:///./src/views/components/Sensors/SmartPlugListItem.vue?dde8","webpack:///./src/views/components/Sensors/SmartPlugListItem.vue?5918","webpack:///./src/assets/img/co.png","webpack:///./src/views/components/Sensors/SensorHeader.vue?9150","webpack:///./src/views/components/MyBoat.vue?7a68","webpack:///./src/views/components/MyBoat.vue","webpack:///./src/views/components/MyBoat.vue?2dd5","webpack:///./src/views/components/MyBoat.vue?fe99","webpack:///./src/views/components/Sensors/DoorSensorListItem.vue?f29c","webpack:///./src/views/components/Sensors/DoorSensorListItem.vue","webpack:///./src/views/components/Sensors/DoorSensorListItem.vue?9617","webpack:///./src/views/components/Sensors/DoorSensorListItem.vue?8c28","webpack:///./src/views/components/Dialogs/VoltageDialog.vue?adc6","webpack:///./src/store/useBatteryStatistic.ts","webpack:///./src/views/components/Dialogs/VoltageDialog.vue","webpack:///./src/views/components/Dialogs/VoltageDialog.vue?7a65","webpack:///./src/views/components/Dialogs/VoltageDialog.vue?dd52","webpack:///./src/views/components/SensorList.vue?b4b9","webpack:///./src/views/components/SensorList.vue","webpack:///./src/views/components/SensorList.vue?a24d","webpack:///./src/views/components/SensorList.vue?3f77","webpack:///./src/assets/img sync ^\\.\\/.*\\.png$","webpack:///./src/store/modules/useShorePower.ts","webpack:///./src/views/components/BatteryView.vue?b389","webpack:///./src/assets/img/gas-valve.png","webpack:///./src/views/components/Control.vue?a25d","webpack:///./src/views/components/Control.vue","webpack:///./src/views/components/Control.vue?d3de","webpack:///./src/views/components/Control.vue?dc1e","webpack:///./src/views/components/Sensors/DefaultSensorListItem.vue?c417","webpack:///./src/views/components/Sensors/DefaultSensorListItem.vue","webpack:///./src/views/components/Sensors/DefaultSensorListItem.vue?9c86","webpack:///./src/views/components/Sensors/DefaultSensorListItem.vue?6ff4","webpack:///./src/views/components/Dialogs/VoltageDialog.vue?85cc","webpack:///./src/assets/img/heat.png","webpack:///./src/views/components/Sensors/SensorHeader.vue?a449","webpack:///./src/views/components/Sensors/SensorHeader.vue","webpack:///./src/views/components/Sensors/SensorHeader.vue?4edf","webpack:///./src/views/components/Sensors/SensorHeader.vue?d634","webpack:///./src/assets/img/smoke.png","webpack:///./src/views/components/Sensors/SensorModule.vue?c307","webpack:///./src/views/components/Sensors/SensorModule.vue","webpack:///./src/views/components/Sensors/SensorModule.vue?bc63","webpack:///./src/views/components/Sensors/SensorModule.vue?dfd9"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","alarmSyncronising","on","toggleAlarm","staticStyle","_e","_v","_s","armedText","armedSubText","staticRenderFns","props","armed","type","Boolean","required","syncAlarm","Disarm","setTimeout","Arm","component","VBtn","VCol","VImg","VProgressCircular","VRow","class","green","value","onClick","emitClick","model","callback","$$v","showConfirm","expression","components","ConfirmDialog","default","emit","voltage","imgSrc","Number","loading","warning","imageSrc","String","paired","hatchClosed","_t","name","params","id","attachedDeviceTypeId","onEnroll","showEnroll","noconfirm","successOk","showSuccess","timeoutOk","showTimeout","SensorHeader","EnrollDialog","PairToggle","Object","responsive","attachedDeviceId","age","deviceAdded","deviceTimedOut","SetNewDeviceAdded","GetData","SetNewDeviceTimedOut","battery","batteryLow","newValue","console","log","VExpansionPanel","VExpansionPanelContent","switchStatus","showTimer","showConsumption","sensorSyncronising","switchToogle","scopedSlots","_u","key","fn","proxy","TimerDialog","ConsumptionDialog","GetStatus","turnOn","turnOff","useShorePower","get","useTimerSchedule","shorePowerOn","syncSensor","alarm1","VSwitch","geoFenceEnabled","immobilizerEnabled","EnabledDisabled","VList","VListItemGroup","Detectors","deviceList","devices","getDetectorData","device","index","findIndex","smartPlugOn","panel","gatewayModel","GatewaySensor","ContactList","Logbook","NMEA","useDeviceData","gateway","getMyBoatPanelOpen","getMyBoatPanelIndex","VExpansionPanels","doorClosed","dialog","toggle_chart","ref","close","batteryData","getBatteryData","async","batteryId","daysBack","then","result","status","data","Array","catch","error","register","deviceType","subtitle","context","chartCanvas","interval","chart","setupChart","ctx","scale","titleText","datasets","label","fill","borderColor","tension","options","plugins","title","display","text","align","position","padding","top","bottom","legend","elements","point","radius","hitRadius","hoverRadius","parsing","xAxisKey","yAxisKey","scales","x","time","unit","displayFormats","day","week","month","quarter","year","y","canvas","style","width","destroy","VBtnToggle","VCard","VCardActions","VCardTitle","VDialog","VLayout","VSpacer","smokeModel","coModel","heatModel","waterModel","gasModel","bilgePumpModel","connectSensor","SensorItem","heat","co","smoke","water","gas","bilge","enroll","getSensorsPanelOpen","getSensorsPanelIndex","map","webpackContext","req","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","resolve","GetPowerStatus","SetDeviceStatus","digitalIOModel","handleOnNewNickname","digitalOutputNickname","gasValveModel","DigitalIOListItem","GasValveListItem","getUserSettings","useUserSettings","userSettings","getItem","gasEnabled","AttachedDeviceModel","length","find","getControlPanelOpen","getControlPanelIndex","icon","showStatusText","SensorModule","img","withMute","iconSrc","statusCss","withStatus","VExpansionPanelHeader","VIcon","connected","toggleConnect"],"mappings":"iGAAAA,EAAOC,QAAU,IAA0B,+B,uBCA3CD,EAAOC,QAAU,IAA0B,4B,qBCA3CD,EAAOC,QAAU,IAA0B,+B,2CCA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACE,MAAM,CAAC,aAAa,KAAK,CAACF,EAAG,QAAQ,CAACG,YAAY,cAAcD,MAAM,CAAC,KAAO,OAAO,CAACF,EAAG,QAAQ,CAACE,MAAM,CAAC,KAAO,GAAG,MAAQ,OAAO,OAAS,OAAO,SAAWN,EAAIQ,mBAAmBC,GAAG,CAAC,MAAQT,EAAIU,cAAc,CAAEV,EAAqB,kBAAEI,EAAG,MAAM,CAACO,YAAY,CAAC,SAAW,WAAW,UAAU,QAAQ,CAACP,EAAG,sBAAsB,CAACE,MAAM,CAAC,cAAgB,GAAG,KAAO,IAAI,MAAQ,EAAE,MAAQ,cAAc,GAAG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gB,CAC3B0B,WAAY,CACR2B,WAAY,IACR,6CAERpD,MAAO,CACH8B,OAAQ,CAAE5B,KAAMiC,OAAQ/B,UAAU,GAClCiP,UAAW,CAAEnP,KAAMC,QAASwB,SAAS,GACrCV,MAAOoC,QAEX,MAAMrD,EAAOuI,GACT,MAAMR,EAAS,eAAS,MAChB/H,EAAMiB,UACCjB,EAAMiB,MAAMsC,kBACoB,KAAjCvD,EAAMiB,MAAMsC,mBAMpBD,EAAa,eAAkB,KACjC,GAAoC,MAAhCtD,EAAMiB,MAAMsC,iBACZ,OAAIvD,EAAMiB,MAAMuC,KAAO,IAQzBM,EAAU,eAAS,MACd9D,EAAMiB,QAASjB,EAAMiB,MAAM8C,YAEtC,eACI,IAAM/D,EAAMiB,MACZ+C,IACQA,GACAC,QAAQC,IAAIF,EAASD,cAIjC,MAAMuL,EAAgB,KAClB/G,EAAQ3G,KAAK,SAAU5B,EAAMiB,QAEjC,MAAO,CACHqO,gBACAvH,SACAjE,UACAR,iBCxH+Z,I,qECOva7C,EAAY,eACd,EACA5B,EACAkB,GACA,EACA,KACA,KACA,MAIa,aAAAU,EAAiB,QAOhC,IAAkBA,EAAW,CAACE,OAAA,KAAKC,OAAA,KAAKE,OAAA","file":"js/components.5f0d6764.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/doorsensor.76460937.png\";","module.exports = __webpack_public_path__ + \"img/gateway.ec6d1d14.png\";","module.exports = __webpack_public_path__ + \"img/digital-io.c02299d2.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"width\":\"auto\",\"height\":\"auto\",\"disabled\":_vm.alarmSyncronising},on:{\"click\":_vm.toggleAlarm}},[(_vm.alarmSyncronising)?_c('div',{staticStyle:{\"position\":\"absolute\",\"z-index\":\"100\"}},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":104,\"width\":3,\"color\":\"white70\"}})],1):_vm._e(),(_vm.armed)?_c('v-img',{attrs:{\"src\":require(\"@/assets/icons/unlock.svg\"),\"max-width\":\"130px\"}}):_c('v-img',{attrs:{\"src\":require(\"@/assets/icons/lock.svg\"),\"max-width\":\"130px\"}})],1)],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"white70--text caption\"},[_vm._v(_vm._s(_vm.armedText))]),_c('br'),_c('span',{staticClass:\"white--text\"},[_vm._v(_vm._s(_vm.armedSubText))])])],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\n\n\n\n\nimport { defineComponent, computed } from \"@vue/composition-api\";\nimport { alarm } from \"@/store\";\n\nexport default defineComponent({\n props: {\n armed: { type: Boolean, required: true }\n },\n setup(props) {\n const armedText = computed((): string => {\n return props.armed\n ? alarm.syncAlarm\n ? \"Disarming system\"\n : \"System armed\"\n : alarm.syncAlarm\n ? \"Arming system\"\n : \"System disarmed\";\n });\n const armedSubText = computed((): string => {\n return props.armed ? \"Press to disarm\" : \"Press to arm\";\n });\n const alarmSyncronising = computed(() => {\n return alarm.syncAlarm;\n });\n const toggleAlarm = () => {\n if (props.armed) {\n alarm.Disarm();\n setTimeout(() => {\n if (props.armed) {\n // Alarm did not disarm, try again\n alarm.Disarm();\n }\n }, 7000);\n } else {\n alarm.Arm();\n setTimeout(() => {\n if (!props.armed) {\n // Alarm did not arm, try again\n alarm.Arm();\n }\n }, 7000);\n }\n };\n //const toggleAlarm = () => {\n // if (props.armed) {\n // alarm.Disarm();\n // } else {\n // alarm.Arm();\n // }\n //};\n return {\n armedText,\n armedSubText,\n toggleAlarm,\n alarmSyncronising\n };\n }\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArmDisarmButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArmDisarmButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ArmDisarmButton.vue?vue&type=template&id=379aeb4c&\"\nimport script from \"./ArmDisarmButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./ArmDisarmButton.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VImg,VProgressCircular,VRow})\n","module.exports = __webpack_public_path__ + \"img/bilge.973b2f6c.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-btn',{staticClass:\"btn-right btn-toogle\",class:{ green: _vm.value },on:{\"click\":_vm.onClick}},[(_vm.value)?[_vm._v(\" Paired \")]:[_vm._v(\" Pair \")]],2),_c('ConfirmDialog',{attrs:{\"title\":\"Confirm\",\"message\":\"Do you want to reconect sensor ?\"},on:{\"OnOk\":_vm.emitClick},model:{value:(_vm.showConfirm),callback:function ($$v) {_vm.showConfirm=$$v},expression:\"showConfirm\"}})],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\nimport { defineComponent, ref } from \"@vue/composition-api\";\n\nexport default defineComponent({\n components: {\n ConfirmDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"./Dialogs/ConfirmDialog.vue\")\n },\n props: {\n value: { type: Boolean, default: false }\n },\n setup(props, { emit }) {\n const showConfirm = ref(false);\n const emitClick = () => {\n emit(\"click\");\n showConfirm.value = false;\n };\n const onClick = () => {\n if (props && props.value) {\n showConfirm.value = true;\n } else {\n emitClick();\n }\n };\n return {\n onClick,\n showConfirm,\n emitClick\n };\n }\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PairToggle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PairToggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PairToggle.vue?vue&type=template&id=29f8e18f&\"\nimport script from \"./PairToggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./PairToggle.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\ninstallComponents(component, {VBtn})\n","module.exports = __webpack_public_path__ + \"img/keypad.2ffbd71c.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"battery\"},[(_vm.loading)?_c('div',{staticClass:\"progress\"},[_c('v-progress-circular',{staticStyle:{\"z-index\":\"1\"},attrs:{\"indeterminate\":\"\",\"size\":15,\"width\":1,\"color\":\"blue darken-4\"}})],1):_c('div',{staticClass:\"caption\"},[(_vm.warning)?_c('div',[(_vm.voltage === -1)?_c('span',{staticClass:\"text--red font-weight-bold\"},[_vm._v(\"not present\")]):_c('span',{staticClass:\"text--red font-weight-bold\"},[_vm._v(_vm._s(_vm.voltage)+\"V\")])]):_c('div',[(_vm.voltage === -1)?_c('span',{staticClass:\"text--black font-weight-bold\"},[_vm._v(\"not present\")]):_c('span',{staticClass:\"text--black font-weight-bold\"},[_vm._v(_vm._s(_vm.voltage)+\"V\")])])]),_c('img',{staticClass:\"batteryImage\",attrs:{\"src\":_vm.imgSrc}})])}\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\n\nimport { defineComponent, computed } from \"@vue/composition-api\";\n\nexport default defineComponent({\n props: {\n voltage: { type: Number, required: true },\n loading: { type: Boolean, default: false },\n warning: { type: Boolean, default: false },\n imageSrc: {\n type: String,\n required: false,\n default: \"batteri-ladeniveau-forside_hvid70\"\n }\n },\n setup(props) {\n const imgSrc = computed(() => {\n return require(`@/assets/icons/${props.imageSrc}.svg`);\n });\n return {\n imgSrc\n };\n }\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BatteryView.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BatteryView.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BatteryView.vue?vue&type=template&id=20abb5fa&scoped=true&\"\nimport script from \"./BatteryView.vue?vue&type=script&lang=ts&\"\nexport * from \"./BatteryView.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BatteryView.vue?vue&type=style&index=0&id=20abb5fa&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 \"20abb5fa\",\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 { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\ninstallComponents(component, {VProgressCircular})\n","module.exports = __webpack_public_path__ + \"img/map-marker-anchor.7f0e4b29.png\";","module.exports = __webpack_public_path__ + \"img/immobilizer.092aa03b.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-expansion-panel',[_c('SensorHeader',{attrs:{\"icon\":\"door-sensor\",\"paired\":_vm.paired,\"status\":_vm.paired ? (_vm.hatchClosed ? 'Closed' : 'Open') : 'N/A'}},[_vm._t(\"default\")],2),_c('v-expansion-panel-content',[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"8\"}},[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"4\"}},[(_vm.value)?_c('router-link',{attrs:{\"to\":{ name: 'history', params: { id: _vm.value.attachedDeviceTypeId } }}},[_c('v-img',{staticClass:\"mx-auto mt-4\",attrs:{\"src\":require(\"@/assets/icons/log.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}})],1):_vm._e(),_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Sensor Log\")])],1),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"4\"}}),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"4\"}})],1)],1),_c('v-col',{staticClass:\"text-right pr-0\",attrs:{\"cols\":\"4\"}},[_c('PairToggle',{attrs:{\"value\":_vm.paired},on:{\"click\":_vm.onEnroll}})],1)],1),_c('v-row',{staticClass:\"mt-4\"},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"3\",\"align-self\":\"end\"}},[_c('v-img',{attrs:{\"position\":\"bottom left\",\"max-height\":\"100px\",\"height\":\"100px\",\"max-width\":\"100px\",\"contain\":\"\",\"src\":require(\"@/assets/img/doorsensor.png\")}})],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"text-center pt-1 text-caption white--text\"},[_vm._v(\"Door\")]),(_vm.paired)?[(_vm.hatchClosed)?_c('v-img',{staticClass:\"mt-1\",attrs:{\"src\":require(\"@/assets/icons/door-closed-icon.svg\"),\"max-height\":\"43px\",\"contain\":\"\"}}):_c('v-img',{staticClass:\"mt-1\",attrs:{\"src\":require(\"@/assets/icons/door-opened-icon.svg\"),\"max-height\":\"45px\",\"contain\":\"\"}})]:_c('div',{staticClass:\"text-caption pt-3 white--text\"},[_vm._v(\"N/A\")])],2),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"text-center pt-1 text-caption white--text\"},[_vm._v(\"Responsive\")]),(_vm.responsive)?_c('v-img',{staticClass:\"mx-auto mt-1\",attrs:{\"src\":require(\"@/assets/icons/responsive.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}}):_c('v-img',{staticClass:\"mx-auto mt-1\",attrs:{\"src\":require(\"@/assets/icons/unresponsive.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}}),_c('div',{staticClass:\"text-center\"})],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"3\"}},[_c('span',{staticClass:\"text-caption white--text\"},[_vm._v(\"Battery level\")]),(_vm.paired)?[(_vm.battery)?_c('v-img',{staticClass:\"mt-3\",attrs:{\"src\":require(\"@/assets/icons/battery-full.svg\"),\"max-height\":\"20px\",\"contain\":\"\"}}):_c('v-img',{staticClass:\"mt-3\",attrs:{\"src\":require(\"@/assets/icons/battery-alarm.svg\"),\"max-height\":\"20px\",\"contain\":\"\"}})]:_c('div',{staticClass:\"text-caption pt-3 white--text\"},[_vm._v(\"N/A\")])],2)],1),(_vm.value)?_c('EnrollDialog',{attrs:{\"imgSrc\":_vm.imgSrc,\"deviceType\":_vm.value.attachedDeviceTypeId},model:{value:(_vm.showEnroll),callback:function ($$v) {_vm.showEnroll=$$v},expression:\"showEnroll\"}}):_vm._e(),_c('ConfirmDialog',{attrs:{\"options\":{ noconfirm: true },\"title\":\"Success\",\"message\":\"Device added successfully.\"},on:{\"OnOk\":_vm.successOk},model:{value:(_vm.showSuccess),callback:function ($$v) {_vm.showSuccess=$$v},expression:\"showSuccess\"}}),_c('ConfirmDialog',{attrs:{\"options\":{ noconfirm: true },\"title\":\"Timeout\",\"message\":\"Device pairing timed out.\"},on:{\"OnOk\":_vm.timeoutOk},model:{value:(_vm.showTimeout),callback:function ($$v) {_vm.showTimeout=$$v},expression:\"showTimeout\"}})],1)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n defineComponent,\n computed,\n PropType,\n ref,\n watch\n} from \"@vue/composition-api\";\nimport AttachedDeviceModel from \"@/models/AttachedDeviceModel\";\nimport { alarm, sensor } from \"@/store\";\nexport default defineComponent({\n components: {\n SensorHeader: () =>\n import(/* webpackChunkName: \"components\" */ \"./SensorHeader.vue\"),\n EnrollDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/EnrollDialog.vue\"),\n PairToggle: () =>\n import(/*webpackChunkName: \"components\"*/ \"../PairToggle.vue\"),\n ConfirmDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/ConfirmDialog.vue\")\n },\n props: {\n value: { type: Object as PropType },\n },\n setup(props, { emit }) {\n const hatchClosed = computed(() => {\n return alarm.hatchClosed;\n });\n\n const responsive = computed(() => {\n if (props.value.attachedDeviceId != null) {\n if (props.value.age <= 1) {\n return true;\n } else {\n return false;\n }\n }\n });\n\n const paired = computed(() => {\n if (\n props.value &&\n props.value.attachedDeviceId &&\n props.value.attachedDeviceId !== \"\"\n ) {\n return true;\n } else {\n return false;\n }\n });\n\n const showEnroll = ref(false);\n\n const showSuccess = computed(() => {\n return alarm.deviceAdded;\n });\n\n const showTimeout = computed(() => {\n return alarm.deviceTimedOut;\n });\n\n const successOk = () => {\n alarm.SetNewDeviceAdded(false);\n sensor.GetData();\n };\n\n const timeoutOk = () => {\n alarm.SetNewDeviceTimedOut(false);\n sensor.GetData();\n };\n\n const imgSrc = computed(() => {\n return require(`@/assets/img/doorsensor.png`);\n });\n const onEnroll = () => {\n showEnroll.value = true;\n };\n const battery = computed(() => {\n return props.value ? !props.value.batteryLow : false;\n });\n watch(\n () => props.value,\n newValue => {\n if (newValue) {\n console.log(newValue.batteryLow);\n }\n }\n );\n \n return {\n onEnroll,\n paired,\n showEnroll,\n imgSrc,\n responsive,\n battery,\n showSuccess,\n successOk,\n hatchClosed,\n showTimeout,\n timeoutOk,\n };\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HatchSensorListItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HatchSensorListItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HatchSensorListItem.vue?vue&type=template&id=13d59385&scoped=true&\"\nimport script from \"./HatchSensorListItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./HatchSensorListItem.vue?vue&type=script&lang=ts&\"\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 \"13d59385\",\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 { VCol } from 'vuetify/lib/components/VGrid';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VExpansionPanel,VExpansionPanelContent,VImg,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-expansion-panel',[_c('SensorHeader',{attrs:{\"icon\":\"shore-power\",\"paired\":_vm.paired,\"status\":_vm.paired ? (_vm.switchStatus ? 'On' : 'Off') : 'N/A'}},[_vm._t(\"default\")],2),_c('v-expansion-panel-content',[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"py-0 \",attrs:{\"cols\":\"8\"}},[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"4\"}},[(_vm.value)?_c('router-link',{attrs:{\"to\":{ name: 'history', params: { id: _vm.value.attachedDeviceTypeId } }}},[_c('v-img',{staticClass:\"mx-auto mt-4\",attrs:{\"src\":require(\"@/assets/icons/log.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}})],1):_vm._e(),_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Sensor Log\")])],1),_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"4\"}},[_c('v-btn',{staticClass:\"mx-auto mt-4 mb-1 pt-1\",attrs:{\"icon\":\"\"},on:{\"click\":function (){ _vm.showTimer = true; }}},[_c('v-img',{attrs:{\"src\":require(\"@/assets/icons/timer.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}})],1),_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Timer\")])],1),_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"4\"}},[_c('v-btn',{staticClass:\"mx-auto mt-4 mb-1 pt-1\",attrs:{\"icon\":\"\"},on:{\"click\":function (){ _vm.showConsumption = true; }}},[_c('v-img',{attrs:{\"src\":require(\"@/assets/icons/loading-power.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}})],1),_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Consumption\")])],1)],1)],1),_c('v-col',{staticClass:\"text-right pr-0\",attrs:{\"cols\":\"4\"}},[_c('PairToggle',{attrs:{\"value\":_vm.paired},on:{\"click\":_vm.onEnroll}})],1)],1),_c('v-row',{staticClass:\"mt-4\"},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"6\",\"align-self\":\"end\"}},[_c('v-img',{attrs:{\"position\":\"bottom\",\"max-width\":\"150px\",\"max-height\":\"150px\",\"contain\":\"\",\"src\":require(\"@/assets/img/shorepower.png\")}})],1),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"text-caption white--text\"},[_vm._v(\"Power\")]),_c('v-switch',{staticClass:\"mt-2\",attrs:{\"color\":\"#81b13e\",\"flat\":\"\",\"disabled\":!_vm.paired || !_vm.responsive || _vm.sensorSyncronising},on:{\"click\":_vm.switchToogle},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [(_vm.switchStatus)?_c('span',{staticClass:\"text-caption white--text\"},[_vm._v(\"On\")]):_c('span',{staticClass:\"text-caption white--text\"},[_vm._v(\"Off\")]),(_vm.sensorSyncronising)?_c('span',[_c('v-progress-circular',{staticClass:\"ml-2\",attrs:{\"indeterminate\":\"\",\"size\":24,\"width\":3,\"color\":\"white70\"}})],1):_vm._e()]},proxy:true}]),model:{value:(_vm.switchStatus),callback:function ($$v) {_vm.switchStatus=$$v},expression:\"switchStatus\"}})],1),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Responsive\")]),(_vm.responsive)?_c('v-img',{staticClass:\"mx-auto mt-1\",attrs:{\"src\":require(\"@/assets/icons/responsive.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}}):_c('v-img',{staticClass:\"mx-auto mt-1\",attrs:{\"src\":require(\"@/assets/icons/unresponsive.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}})],1)],1),(_vm.value)?_c('EnrollDialog',{attrs:{\"imgSrc\":_vm.imgSrc,\"deviceType\":_vm.value.attachedDeviceTypeId},model:{value:(_vm.showEnroll),callback:function ($$v) {_vm.showEnroll=$$v},expression:\"showEnroll\"}}):_vm._e(),_c('ConfirmDialog',{attrs:{\"options\":{ noconfirm: true },\"title\":\"Success\",\"message\":\"Device added successfully.\"},on:{\"OnOk\":_vm.successOk},model:{value:(_vm.showSuccess),callback:function ($$v) {_vm.showSuccess=$$v},expression:\"showSuccess\"}}),_c('ConfirmDialog',{attrs:{\"options\":{ noconfirm: true },\"title\":\"Timeout\",\"message\":\"Device pairing timed out.\"},on:{\"OnOk\":_vm.timeoutOk},model:{value:(_vm.showTimeout),callback:function ($$v) {_vm.showTimeout=$$v},expression:\"showTimeout\"}}),_c('TimerDialog',{attrs:{\"deviceType\":_vm.value.attachedDeviceTypeId},model:{value:(_vm.showTimer),callback:function ($$v) {_vm.showTimer=$$v},expression:\"showTimer\"}}),_c('ConsumptionDialog',{attrs:{\"meterId\":'ShorePower',\"subtitle\":'Shore Power'},model:{value:(_vm.showConsumption),callback:function ($$v) {_vm.showConsumption=$$v},expression:\"showConsumption\"}})],1)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, computed, PropType, ref } from \"@vue/composition-api\";\nimport AttachedDeviceModel from \"@/models/AttachedDeviceModel\";\nimport useShorePower from \"@/store/modules/useShorePower\";\nimport { alarm, sensor } from \"@/store\";\nimport useTimerSchedule from \"../../../store/useTimerSchedule\";\n\nexport default defineComponent({\n components: {\n SensorHeader: () =>\n import(/* webpackChunkName: \"components\" */ \"./SensorHeader.vue\"),\n EnrollDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/EnrollDialog.vue\"),\n PairToggle: () =>\n import(/*webpackChunkName: \"components\"*/ \"../PairToggle.vue\"),\n TimerDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/TimerDialog.vue\"),\n ConfirmDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/ConfirmDialog.vue\"),\n ConsumptionDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/ConsumptionDialog.vue\"),\n },\n props: {\n value: Object as PropType\n },\n setup(props, { emit }) {\n const { GetStatus, turnOn, turnOff } = useShorePower();\n const { get } = useTimerSchedule();\n\n const paired = computed(() => {\n if (\n props.value &&\n props.value.attachedDeviceId &&\n props.value.attachedDeviceId !== \"\"\n ) {\n return true;\n } else {\n return false;\n }\n });\n\n const responsive = computed(() => {\n if (props.value.attachedDeviceId != null) {\n if (props.value.age < 4) {\n return true;\n } else {\n return false;\n }\n }\n });\n\n let switchStatus = computed(() => {\n if (responsive.value) {\n return alarm.shorePowerOn;\n } else {\n return false;\n }\n });\n\n const showEnroll = ref(false);\n\n const showSuccess = computed(() => {\n return alarm.deviceAdded;\n });\n\n const showTimeout = computed(() => {\n return alarm.deviceTimedOut;\n });\n\n const successOk = () => {\n alarm.SetNewDeviceAdded(false);\n sensor.GetData();\n };\n\n const timeoutOk = () => {\n alarm.SetNewDeviceTimedOut(false);\n sensor.GetData();\n };\n const showTimer = ref(false);\n const showConsumption = ref(false);\n\n const imgSrc = computed(() => {\n return require(`@/assets/img/shorepower.png`);\n });\n\n const onEnroll = () => {\n showEnroll.value = true;\n };\n\n const sensorSyncronising = computed(() => {\n return sensor.syncSensor;\n });\n\n const switchToogle = () => {\n if (props.value) {\n if (switchStatus.value == true) {\n turnOff(props.value.attachedDeviceId);\n } else {\n turnOn(props.value.attachedDeviceId);\n }\n props.value.alarm1 = !props.value.alarm1;\n }\n };\n\n GetStatus();\n get(props.value.attachedDeviceTypeId);\n\n return {\n onEnroll,\n paired,\n showEnroll,\n showTimeout,\n showTimer,\n showConsumption,\n imgSrc,\n responsive,\n switchStatus,\n showSuccess,\n successOk,\n timeoutOk,\n sensorSyncronising,\n switchToogle\n };\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShorePowerListItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShorePowerListItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ShorePowerListItem.vue?vue&type=template&id=596dff6b&\"\nimport script from \"./ShorePowerListItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./ShorePowerListItem.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\ninstallComponents(component, {VBtn,VCol,VExpansionPanel,VExpansionPanelContent,VImg,VProgressCircular,VRow,VSwitch})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"align-self\":\"end\"}},[_c('v-row',{staticClass:\"headerRow\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"font-weight-bold\",staticStyle:{\"color\":\"#ffffff\"},attrs:{\"cols\":\"10\"}},[_vm._v(\"SYSTEM STATUS\")]),_c('v-col',{staticClass:\"text--withe70 caption text-right pr-2\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Status\")])],1)],1),_c('v-col',{attrs:{\"cols\":\"12\",\"align-self\":\"end\"}},[_c('v-list',{attrs:{\"id\":\"myBoat\",\"dense\":\"\"}},[_c('v-list-item-group',{attrs:{\"color\":\"primary\"}},[_c('EnabledDisabled',{attrs:{\"icon\":\"geo-fence\",\"enabled\":_vm.geoFenceEnabled}},[_vm._v(\"GeoFence\")]),_c('EnabledDisabled',{attrs:{\"icon\":\"immobilizer\",\"enabled\":_vm.immobilizerEnabled}},[_vm._v(\"IMMOBILIZER\")])],1)],1)],1)],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\nimport { computed, defineComponent } from \"@vue/composition-api\";\nimport { alarm } from \"@/store\";\nexport default defineComponent({\n components: {\n EnabledDisabled: () =>\n import(\"./Sensors/EnabledDisabledItem.vue\")\n },\n setup() {\n const immobilizerEnabled = computed(() => {\n return alarm.armed;\n });\n const geoFenceEnabled = computed(() => {\n return alarm.armed;\n });\n\n return { immobilizerEnabled, geoFenceEnabled };\n }\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemStatus.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemStatus.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SystemStatus.vue?vue&type=template&id=cc507226&\"\nimport script from \"./SystemStatus.vue?vue&type=script&lang=ts&\"\nexport * from \"./SystemStatus.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItemGroup } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VList,VListItemGroup,VRow})\n","module.exports = __webpack_public_path__ + \"img/undefined.ae0ed79c.png\";","module.exports = __webpack_public_path__ + \"img/water.d167a06b.png\";","module.exports = __webpack_public_path__ + \"img/shorepower.b41de806.png\";","module.exports = __webpack_public_path__ + \"img/smartplug.e77900eb.png\";","import { sensor } from \"@/store\";\r\nimport { computed } from \"@vue/composition-api\";\r\nimport AttachedDeviceModel from \"@/models/AttachedDeviceModel\";\r\n\r\nexport default function () {\r\n const deviceList = computed>(() => {\r\n return sensor.devices;\r\n });\r\n const getDetectorData = (device: Detectors) => {\r\n const index = deviceList.value.findIndex((value) => {\r\n return value.attachedDeviceTypeId === device;\r\n });\r\n return deviceList.value[index];\r\n };\r\n sensor.GetData();\r\n return {\r\n getDetectorData,\r\n };\r\n}\r\nexport enum Detectors {\r\n smoke = 4,\r\n co = 5,\r\n heat = 6,\r\n gas = 7,\r\n water = 8,\r\n gateway = 13,\r\n bilge = 17,\r\n}\r\n","module.exports = __webpack_public_path__ + \"img/marine_one-8.89876b94.png\";","module.exports = __webpack_public_path__ + \"img/doorsensor-old.5fac9491.png\";","module.exports = __webpack_public_path__ + \"img/gas.a47e2707.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-expansion-panel',[_c('SensorHeader',{attrs:{\"icon\":\"smart-plug\",\"paired\":_vm.paired,\"status\":_vm.paired ? (_vm.switchStatus ? 'On' : 'Off') : 'N/A'}},[_vm._t(\"default\")],2),_c('v-expansion-panel-content',[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"8\"}},[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"4\"}},[(_vm.value)?_c('router-link',{attrs:{\"to\":{ name: 'history', params: { id: _vm.value.attachedDeviceTypeId } }}},[_c('v-img',{staticClass:\"mx-auto mt-4\",attrs:{\"src\":require(\"@/assets/icons/log.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}})],1):_vm._e(),_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Sensor Log\")])],1),_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"4\"}},[_c('v-btn',{staticClass:\"mx-auto mt-4 mb-1 pt-1\",attrs:{\"icon\":\"\"},on:{\"click\":function (){_vm.showTimer = true;}}},[_c('v-img',{attrs:{\"src\":require(\"@/assets/icons/timer.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}})],1),_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Timer\")])],1),_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"4\"}},[_c('v-btn',{staticClass:\"mx-auto mt-4 mb-1 pt-1\",attrs:{\"icon\":\"\"},on:{\"click\":function (){ _vm.showConsumption = true; }}},[_c('v-img',{attrs:{\"src\":require(\"@/assets/icons/loading-power.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}})],1),_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Consumption\")])],1)],1)],1),_c('v-col',{staticClass:\"text-right pr-0\",attrs:{\"cols\":\"4\"}},[_c('PairToggle',{attrs:{\"value\":_vm.paired},on:{\"click\":_vm.onEnroll}})],1)],1),_c('v-row',{staticClass:\"mt-4\"},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"6\",\"align-self\":\"end\"}},[_c('v-img',{attrs:{\"position\":\"bottom left\",\"max-height\":\"100px\",\"height\":\"100px\",\"max-width\":\"100px\",\"contain\":\"\",\"src\":require(\"@/assets/img/smartplug.png\")}})],1),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"text-caption white--text\"},[_vm._v(\"Power\")]),_c('v-switch',{staticClass:\"mt-2\",attrs:{\"color\":\"#81b13e\",\"flat\":\"\",\"disabled\":!_vm.paired || !_vm.responsive || _vm.sensorSyncronising},on:{\"click\":_vm.switchToogle},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [(_vm.switchStatus)?_c('span',{staticClass:\"text-caption white--text\"},[_vm._v(\"On\")]):_c('span',{staticClass:\"text-caption white--text\"},[_vm._v(\"Off\")]),(_vm.sensorSyncronising)?_c('span',[_c('v-progress-circular',{staticClass:\"ml-2\",attrs:{\"indeterminate\":\"\",\"size\":24,\"width\":3,\"color\":\"white70\"}})],1):_vm._e()]},proxy:true}]),model:{value:(_vm.switchStatus),callback:function ($$v) {_vm.switchStatus=$$v},expression:\"switchStatus\"}})],1),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Responsive\")]),(_vm.responsive)?_c('v-img',{staticClass:\"mx-auto mt-1\",attrs:{\"src\":require(\"@/assets/icons/responsive.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}}):_c('v-img',{staticClass:\"mx-auto mt-1\",attrs:{\"src\":require(\"@/assets/icons/unresponsive.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}}),_c('div',{staticClass:\"text-center\"})],1)],1),(_vm.value)?_c('EnrollDialog',{attrs:{\"imgSrc\":_vm.imgSrc,\"deviceType\":_vm.value.attachedDeviceTypeId},model:{value:(_vm.showEnroll),callback:function ($$v) {_vm.showEnroll=$$v},expression:\"showEnroll\"}}):_vm._e(),_c('ConfirmDialog',{attrs:{\"options\":{ noconfirm: true },\"title\":\"Success\",\"message\":\"Device added successfully.\"},on:{\"OnOk\":_vm.successOk},model:{value:(_vm.showSuccess),callback:function ($$v) {_vm.showSuccess=$$v},expression:\"showSuccess\"}}),_c('ConfirmDialog',{attrs:{\"options\":{ noconfirm: true },\"title\":\"Timeout\",\"message\":\"Device pairing timed out.\"},on:{\"OnOk\":_vm.timeoutOk},model:{value:(_vm.showTimeout),callback:function ($$v) {_vm.showTimeout=$$v},expression:\"showTimeout\"}}),_c('TimerDialog',{attrs:{\"deviceType\":_vm.value.attachedDeviceTypeId},model:{value:(_vm.showTimer),callback:function ($$v) {_vm.showTimer=$$v},expression:\"showTimer\"}}),_c('ConsumptionDialog',{attrs:{\"meterId\":'SmartPlug',\"subtitle\":'Smart Plug'},model:{value:(_vm.showConsumption),callback:function ($$v) {_vm.showConsumption=$$v},expression:\"showConsumption\"}})],1)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, computed, PropType, ref } from \"@vue/composition-api\";\nimport AttachedDeviceModel from \"@/models/AttachedDeviceModel\";\nimport useShorePower from \"@/store/modules/useShorePower\";\nimport { alarm, sensor } from \"@/store\";\nimport useTimerSchedule from \"../../../store/useTimerSchedule\";\n\nexport default defineComponent({\n components: {\n SensorHeader: () =>\n import(/* webpackChunkName: \"components\" */ \"./SensorHeader.vue\"),\n EnrollDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/EnrollDialog.vue\"),\n PairToggle: () =>\n import(/*webpackChunkName: \"components\"*/ \"../PairToggle.vue\"),\n TimerDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/TimerDialog.vue\"),\n ConfirmDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/ConfirmDialog.vue\"),\n ConsumptionDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/ConsumptionDialog.vue\"),\n },\n props: {\n value: Object as PropType\n },\n setup(props, { emit }) {\n const { GetStatus, turnOn, turnOff } = useShorePower();\n const { get } = useTimerSchedule();\n\n const paired = computed(() => {\n if (\n props.value &&\n props.value.attachedDeviceId &&\n props.value.attachedDeviceId !== \"\"\n ) {\n return true;\n } else {\n return false;\n }\n });\n\n const responsive = computed(() => {\n if (props.value.attachedDeviceId != null) {\n if (props.value.age < 4) {\n return true;\n } else {\n return false;\n }\n }\n });\n\n let switchStatus = computed(() => {\n if (responsive.value) {\n return alarm.smartPlugOn;\n } else {\n return false;\n }\n });\n\n const showEnroll = ref(false);\n\n const showSuccess = computed(() => {\n return alarm.deviceAdded;\n });\n\n const showTimeout = computed(() => {\n return alarm.deviceTimedOut;\n });\n\n const successOk = () => {\n alarm.SetNewDeviceAdded(false);\n sensor.GetData();\n };\n\n const timeoutOk = () => {\n alarm.SetNewDeviceTimedOut(false);\n sensor.GetData();\n };\n const showTimer = ref(false);\n const showConsumption = ref(false);\n\n const imgSrc = computed(() => {\n return require(`@/assets/img/smartplug.png`);\n });\n\n const onEnroll = () => {\n showEnroll.value = true;\n };\n\n const sensorSyncronising = computed(() => {\n return sensor.syncSensor;\n });\n\n const switchToogle = () => {\n if (props.value) {\n if (switchStatus.value == true) {\n turnOff(props.value.attachedDeviceId);\n } else {\n turnOn(props.value.attachedDeviceId);\n }\n props.value.alarm1 = !props.value.alarm1;\n }\n };\n \n get(props.value.attachedDeviceTypeId);\n //GetStatus();\n\n return {\n onEnroll,\n paired,\n showEnroll,\n showTimer,\n showConsumption,\n imgSrc,\n responsive,\n showSuccess,\n successOk,\n showTimeout,\n timeoutOk,\n switchStatus,\n sensorSyncronising,\n switchToogle\n };\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SmartPlugListItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SmartPlugListItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SmartPlugListItem.vue?vue&type=template&id=dae477a6&\"\nimport script from \"./SmartPlugListItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./SmartPlugListItem.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\ninstallComponents(component, {VBtn,VCol,VExpansionPanel,VExpansionPanelContent,VImg,VProgressCircular,VRow,VSwitch})\n","module.exports = __webpack_public_path__ + \"img/co.a14070a7.png\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.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!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SensorHeader.vue?vue&type=style&index=0&id=f6643976&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"align-self\":\"end\"}},[_c('v-row',{staticClass:\"headerRow\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"font-weight-bold\",staticStyle:{\"color\":\"#ffffff\"},attrs:{\"cols\":\"12\"}},[_vm._v(\"MY BOAT\")])],1)],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-expansion-panels',{model:{value:(_vm.panel),callback:function ($$v) {_vm.panel=$$v},expression:\"panel\"}},[_c('GatewaySensor',{attrs:{\"value\":_vm.gatewayModel,\"isActive\":\"\"}}),_c('Logbook'),_c('ContactList'),_c('NMEA')],1)],1)],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 import { computed, defineComponent, ref } from \"@vue/composition-api\";\n import AttachedDeviceModel from \"@/models/AttachedDeviceModel\";\n import useDeviceData, { Detectors } from \"@/store/modules/useDeviceData\";\n import { app } from \"@/store/index\";\n export default defineComponent({\n components:\n {\n GatewaySensor: () =>\n import(\"./Sensors/GatewaySensorItem.vue\"),\n ContactList: () =>\n import(\"./ContactList.vue\"),\n Logbook: () =>\n import(\"./Logbook.vue\"),\n NMEA: () =>\n import(\"./NMEA.vue\")\n },\n setup() {\n const { getDetectorData } = useDeviceData();\n const gatewayModel = computed(() => {\n return getDetectorData(Detectors.gateway);\n });\n\n const panel = computed(() => {\n if (app.getMyBoatPanelOpen) {\n console.log(\"app.getPanelOpenIndex\", app.getMyBoatPanelIndex);\n return app.getMyBoatPanelIndex;\n } else \n{ console.log(\"app.getPanelOpenIndex\", -1);\n return -1;\n }\n });\n\n return {\n gatewayModel,\n panel\n };\n },\n });\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyBoat.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyBoat.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MyBoat.vue?vue&type=template&id=846f1bb8&\"\nimport script from \"./MyBoat.vue?vue&type=script&lang=ts&\"\nexport * from \"./MyBoat.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VExpansionPanels,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-expansion-panel',[_c('SensorHeader',{attrs:{\"icon\":\"door-sensor\",\"paired\":_vm.paired,\"status\":_vm.paired ? (_vm.doorClosed ? 'Closed' : 'Open') : 'N/A'}},[_vm._t(\"default\")],2),_c('v-expansion-panel-content',[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"8\"}},[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"4\"}},[(_vm.value)?_c('router-link',{attrs:{\"to\":{ name: 'history', params: { id: _vm.value.attachedDeviceTypeId } }}},[_c('v-img',{staticClass:\"mx-auto mt-4\",attrs:{\"src\":require(\"@/assets/icons/log.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}})],1):_vm._e(),_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Sensor Log\")])],1),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"4\"}}),_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"4\"}})],1)],1),_c('v-col',{staticClass:\"text-right pr-0\",attrs:{\"cols\":\"4\"}},[_c('PairToggle',{attrs:{\"value\":_vm.paired},on:{\"click\":_vm.onEnroll}})],1)],1),_c('v-row',{staticClass:\"mt-4\"},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"3\",\"align-self\":\"end\"}},[_c('v-img',{attrs:{\"position\":\"bottom left\",\"max-height\":\"100px\",\"height\":\"100px\",\"max-width\":\"100px\",\"contain\":\"\",\"src\":require(\"@/assets/img/doorsensor.png\")}})],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"text-center pt-1 text-caption white--text\"},[_vm._v(\"Door\")]),(_vm.paired)?[(_vm.doorClosed)?_c('v-img',{staticClass:\"mt-1\",attrs:{\"src\":require(\"@/assets/icons/door-closed-icon.svg\"),\"max-height\":\"43px\",\"contain\":\"\"}}):_c('v-img',{staticClass:\"mt-1\",attrs:{\"src\":require(\"@/assets/icons/door-opened-icon.svg\"),\"max-height\":\"45px\",\"contain\":\"\"}})]:_c('div',{staticClass:\"text-caption pt-3 white--text\"},[_vm._v(\"N/A\")])],2),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"text-center pt-1 text-caption white--text\"},[_vm._v(\"Responsive\")]),(_vm.responsive)?_c('v-img',{staticClass:\"mx-auto mt-1\",attrs:{\"src\":require(\"@/assets/icons/responsive.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}}):_c('v-img',{staticClass:\"mx-auto mt-1\",attrs:{\"src\":require(\"@/assets/icons/unresponsive.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}}),_c('div',{staticClass:\"text-center\"})],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"3\"}},[_c('span',{staticClass:\"text-caption white--text\"},[_vm._v(\"Battery level\")]),(_vm.paired)?[(_vm.battery)?_c('v-img',{staticClass:\"mt-3\",attrs:{\"src\":require(\"@/assets/icons/battery-full.svg\"),\"max-height\":\"20px\",\"contain\":\"\"}}):_c('v-img',{staticClass:\"mt-3\",attrs:{\"src\":require(\"@/assets/icons/battery-alarm.svg\"),\"max-height\":\"20px\",\"contain\":\"\"}})]:_c('div',{staticClass:\"text-caption pt-3 white--text\"},[_vm._v(\"N/A\")])],2)],1),(_vm.value)?_c('EnrollDialog',{attrs:{\"imgSrc\":_vm.imgSrc,\"deviceType\":_vm.value.attachedDeviceTypeId},model:{value:(_vm.showEnroll),callback:function ($$v) {_vm.showEnroll=$$v},expression:\"showEnroll\"}}):_vm._e(),_c('ConfirmDialog',{attrs:{\"options\":{ noconfirm: true },\"title\":\"Success\",\"message\":\"Device added successfully.\"},on:{\"OnOk\":_vm.successOk},model:{value:(_vm.showSuccess),callback:function ($$v) {_vm.showSuccess=$$v},expression:\"showSuccess\"}}),_c('ConfirmDialog',{attrs:{\"options\":{ noconfirm: true },\"title\":\"Timeout\",\"message\":\"Device pairing timed out.\"},on:{\"OnOk\":_vm.timeoutOk},model:{value:(_vm.showTimeout),callback:function ($$v) {_vm.showTimeout=$$v},expression:\"showTimeout\"}})],1)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n defineComponent,\n computed,\n PropType,\n ref,\n watch\n} from \"@vue/composition-api\";\nimport AttachedDeviceModel from \"@/models/AttachedDeviceModel\";\nimport { alarm, sensor } from \"@/store\";\nexport default defineComponent({\n components: {\n SensorHeader: () =>\n import(/* webpackChunkName: \"components\" */ \"./SensorHeader.vue\"),\n EnrollDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/EnrollDialog.vue\"),\n PairToggle: () =>\n import(/*webpackChunkName: \"components\"*/ \"../PairToggle.vue\"),\n ConfirmDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/ConfirmDialog.vue\")\n },\n props: {\n value: { type: Object as PropType }\n },\n setup(props, { emit }) {\n const doorClosed = computed(() => {\n return alarm.doorClosed;\n });\n\n const responsive = computed(() => {\n if (props.value.attachedDeviceId != null) {\n if (props.value.age <= 1) {\n return true;\n } else {\n return false;\n }\n }\n });\n\n const paired = computed(() => {\n if (\n props.value &&\n props.value.attachedDeviceId &&\n props.value.attachedDeviceId !== \"\"\n ) {\n return true;\n } else {\n return false;\n }\n });\n\n const showEnroll = ref(false);\n\n const showSuccess = computed(() => {\n return alarm.deviceAdded;\n });\n\n const showTimeout = computed(() => {\n return alarm.deviceTimedOut;\n });\n\n const successOk = () => {\n alarm.SetNewDeviceAdded(false);\n sensor.GetData();\n };\n\n const timeoutOk = () => {\n alarm.SetNewDeviceTimedOut(false);\n sensor.GetData();\n };\n\n const imgSrc = computed(() => {\n return require(`@/assets/img/doorsensor.png`);\n });\n const onEnroll = () => {\n showEnroll.value = true;\n };\n const battery = computed(() => {\n return props.value ? !props.value.batteryLow : false;\n });\n watch(\n () => props.value,\n newValue => {\n if (newValue) {\n console.log(newValue.batteryLow);\n }\n }\n );\n \n return {\n onEnroll,\n paired,\n showEnroll,\n imgSrc,\n responsive,\n battery,\n showSuccess,\n successOk,\n doorClosed,\n showTimeout,\n timeoutOk,\n };\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoorSensorListItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoorSensorListItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DoorSensorListItem.vue?vue&type=template&id=0d8deb17&scoped=true&\"\nimport script from \"./DoorSensorListItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./DoorSensorListItem.vue?vue&type=script&lang=ts&\"\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 \"0d8deb17\",\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 { VCol } from 'vuetify/lib/components/VGrid';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VExpansionPanel,VExpansionPanelContent,VImg,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"hide-overlay\":\"\",\"transition\":\"dialog-top-transition\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',{staticClass:\"backgroundWhite\"},[_c('v-card-title',{staticClass:\"headline text-center\"},[_c('v-btn-toggle',{attrs:{\"rounded\":\"\"},model:{value:(_vm.toggle_chart),callback:function ($$v) {_vm.toggle_chart=$$v},expression:\"toggle_chart\"}},[_c('v-btn',[_vm._v(\"7 Days\")]),_c('v-btn',[_vm._v(\"30 Days\")]),_c('v-btn',[_vm._v(\"90 Days\")]),_c('v-btn',[_vm._v(\"365 Days\")])],1)],1),_c('v-layout',{staticClass:\"graph-wrapper\",attrs:{\"row\":\"\"}},[_c('div',{staticClass:\"chart-container\"},[_c('div',{staticClass:\"chart-inner-container\"},[_c('canvas',{ref:\"chartCanvas\",staticClass:\"m-2\"})])])]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"green darken-1\",\"text\":\"\"},on:{\"click\":_vm.close}},[_vm._v(\"Close\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Axios, { AxiosResponse } from \"axios\";\r\nimport defineHeaderAxios from \"@/utilities/useAuthToken\";\r\nimport { ref } from \"@vue/composition-api\";\r\nexport default function () {\r\n const batteryData = ref>([]);\r\n const getBatteryData = async (\r\n batteryId: string,\r\n daysBack: number\r\n ): Promise> => {\r\n await defineHeaderAxios();\r\n return Axios.get(`/api/Battery/${batteryId}/${daysBack}`)\r\n .then((result: AxiosResponse>) => {\r\n if (result.status === 200) {\r\n batteryData.value = result.data;\r\n return result.data;\r\n } else return new Array();\r\n })\r\n .catch((error) => {\r\n return new Array();\r\n });\r\n };\r\n return {\r\n getBatteryData,\r\n batteryData,\r\n };\r\n}\r\n\r\nexport class BatteryDataPoint {\r\n voltage: number;\r\n date: Date;\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n defineComponent,\n computed,\n ref,\n watch,\n onMounted,\n nextTick\n} from \"@vue/composition-api\";\nimport { Chart, ChartItem, registerables, LineController, TimeUnit } from \"chart.js\";\nimport \"date-fns\";\nimport \"chartjs-adapter-date-fns\";\nimport useBatteryStatistik, { BatteryDataPoint } from \"@/store/useBatteryStatistic\";\nChart.register(...registerables);\n\nexport default defineComponent({\n props: {\n imgSrc: { type: String },\n value: { type: Boolean, default: false },\n deviceType: { type: Number, default: 0 },\n id: { type: String, required: true },\n subtitle: { type: String, default: \"\" }\n },\n setup(props, context) {\n const chartCanvas = ref();\n const toggle_chart = ref(0);\n let interval: number = 7;\n const { getBatteryData, batteryData } = useBatteryStatistik();\n let chart: any = null;\n\n onMounted(() => {\n setupChart();\n });\n\n const setupChart = () => {\n const ctx = chartCanvas.value as ChartItem;\n if (!ctx) return;\n\n getBatteryData(props.id, interval).then(\n (data: Array) => {\n let scale: TimeUnit = \"day\";\n let titleText = \"Charge level\"\n switch (toggle_chart.value) {\n case 0:\n scale = \"day\";\n titleText = \"Daily charge level (7 Days)\"\n break;\n case 1:\n scale = \"day\";\n titleText = \"Daily charge level (30 Days)\"\n break;\n case 2:\n scale = \"week\";\n titleText = \"Weekly charge level (90 Days)\"\n break;\n case 3:\n scale = \"month\";\n titleText = \"Monthly charge level (365 Days)\"\n break;\n }\n\n chart = new Chart(ctx, {\n type: \"line\",\n data: {\n datasets: [\n {\n label: \"Voltage\",\n data: data,\n fill: true,\n borderColor: \"rgb(75, 192, 192)\",\n tension: 0.1\n }\n ],\n } as any, // Set chart data type as any\n options: {\n plugins: {\n title: {\n display: true,\n text: titleText,\n align: \"center\",\n position: \"top\",\n padding: {\n top: 10,\n bottom: 10\n }\n },\n subtitle: {\n display: true,\n text: props.subtitle,\n align: \"center\",\n padding: {\n bottom: 10,\n }\n },\n legend: {\n display: false\n }\n },\n elements: {\n point: {\n radius: 9,\n hitRadius: 3,\n hoverRadius: 12\n }\n },\n parsing: {\n xAxisKey: \"date\",\n yAxisKey: \"voltage\"\n },\n scales: {\n x: {\n title: {\n display: false,\n text: \"Date\"\n },\n type: \"time\",\n time: {\n unit: scale,\n displayFormats: {\n day: \"dd-MMM\",\n week: \"dd-MMM\",\n month: \"MMM yyyy\",\n quarter: \"MMM yyyy\",\n year: \"yyyy\",\n },\n },\n },\n y: {\n title: {\n display: true,\n text: \"Voltage\"\n }\n }\n }\n }\n });\n\n // Set different widths for the chart based on toggle_chart.value\n const canvas = chart.canvas as HTMLCanvasElement;\n switch (toggle_chart.value) {\n case 0:\n canvas.style.width = \"auto\";\n break;\n case 1:\n canvas.style.width = \"auto\";\n break;\n case 2:\n canvas.style.width = \"auto\";\n break;\n case 3:\n canvas.style.width = \"auto\";\n break;\n }\n }\n );\n };\n\n const dialog = computed(() => {\n return props.value;\n });\n\n const close = () => {\n if (chart) {\n chart.destroy();\n }\n context.emit(\"input\", false);\n };\n\n watch( \n () => props.value,\n () => {\n if (props.value) {\n nextTick().then(() => {\n setupChart();\n });\n } \n }\n );\n\n watch(\n () => toggle_chart.value,\n value => {\n switch (value) {\n case 0:\n interval = 7;\n break;\n case 1:\n interval = 30;\n break;\n case 2:\n interval = 90;\n break;\n case 3:\n interval = 365;\n break;\n }\n if (chart) {\n chart.destroy();\n }\n nextTick().then(() => {\n setupChart();\n });\n }\n );\n\n return {\n dialog,\n close,\n chartCanvas,\n toggle_chart\n };\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VoltageDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VoltageDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VoltageDialog.vue?vue&type=template&id=936dcafe&scoped=true&\"\nimport script from \"./VoltageDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./VoltageDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./VoltageDialog.vue?vue&type=style&index=0&id=936dcafe&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 \"936dcafe\",\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 { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VBtnToggle } from 'vuetify/lib/components/VBtnToggle';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VBtnToggle,VCard,VCardActions,VCardTitle,VDialog,VLayout,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{attrs:{\"no-gutters\":\"\",\"id\":\"settings\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"align-self\":\"end\"}},[_c('v-row',{staticClass:\"headerRow\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"font-weight-bold\",staticStyle:{\"color\":\"#ffffff\"},attrs:{\"cols\":\"8\"}},[_vm._v(\"DETECTORS\")]),_c('v-col',{staticClass:\"text--withe70 caption text-right\",attrs:{\"cols\":\"2\"}}),_c('v-col',{staticClass:\"text--withe70 caption text-right pr-2\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Paired\")])],1)],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-expansion-panels',{model:{value:(_vm.panel),callback:function ($$v) {_vm.panel=$$v},expression:\"panel\"}},[_c('SensorItem',{attrs:{\"icon\":\"smoke\",\"img\":\"smoke\",\"value\":_vm.smokeModel,\"withMute\":true}},[_vm._v(\"SMOKE DETECTOR\")]),_c('SensorItem',{attrs:{\"icon\":\"co-carbon-m\",\"img\":\"co\",\"value\":_vm.coModel,\"withMute\":true}},[_vm._v(\"CO DETECTOR\")]),_c('SensorItem',{attrs:{\"icon\":\"heat-detector\",\"img\":\"heat\",\"value\":_vm.heatModel,\"withMute\":true}},[_vm._v(\"HEAT DETECTOR\")]),_c('SensorItem',{attrs:{\"icon\":\"water-bilige-sensor\",\"img\":\"water\",\"value\":_vm.waterModel}},[_vm._v(\"WATER INTRUSION DETECTOR\")]),_c('SensorItem',{attrs:{\"icon\":\"gas\",\"img\":\"undefined\",\"value\":_vm.gasModel,\"withMute\":true}},[_vm._v(\"GAS DETECTOR\")]),_c('SensorItem',{attrs:{\"icon\":\"bilge\",\"img\":\"bilge\",\"value\":_vm.bilgePumpModel}},[_vm._v(\"BILGE PUMP\")])],1)],1),_c('EnrollDialog',{model:{value:(_vm.connectSensor),callback:function ($$v) {_vm.connectSensor=$$v},expression:\"connectSensor\"}})],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent, ref } from \"@vue/composition-api\";\nimport useDeviceData, { Detectors } from \"@/store/modules/useDeviceData\";\nimport AttachedDeviceModel from \"@/models/AttachedDeviceModel\";\nimport { app } from \"@/store/index\";\n\nexport default defineComponent({\n components: {\n SensorItem: () =>\n import(\"./Sensors/DefaultSensorListItem.vue\"),\n EnrollDialog: () =>\n import(\"./Dialogs/EnrollDialog.vue\")\n },\n setup() {\n const { getDetectorData } = useDeviceData();\n const connectSensor = ref();\n const heatModel = computed(() => {\n return getDetectorData(Detectors.heat);\n });\n const coModel = computed(() => {\n return getDetectorData(Detectors.co);\n });\n const smokeModel = computed(() => {\n return getDetectorData(Detectors.smoke);\n });\n const waterModel = computed(() => {\n return getDetectorData(Detectors.water);\n });\n const gasModel = computed(() => {\n return getDetectorData(Detectors.gas);\n });\n const bilgePumpModel = computed(() => {\n return getDetectorData(Detectors.bilge);\n });\n const enroll = (model: AttachedDeviceModel) => {\n connectSensor.value = model;\n };\n\n const panel = computed(() => {\n if (app.getSensorsPanelOpen) {\n console.log(\"app.getSensorsPanelIndex\", app.getSensorsPanelIndex);\n return app.getSensorsPanelIndex;\n } else {\n console.log(\"app.getSensorsPanelIndex\", -1);\n return -1;\n }\n });\n\n return {\n heatModel,\n coModel,\n smokeModel,\n waterModel,\n gasModel,\n bilgePumpModel,\n enroll,\n connectSensor,\n panel\n };\n }\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SensorList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SensorList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SensorList.vue?vue&type=template&id=72980e2c&\"\nimport script from \"./SensorList.vue?vue&type=script&lang=ts&\"\nexport * from \"./SensorList.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VExpansionPanels,VRow})\n","var map = {\n\t\"./android-prompt.png\": \"1fbb\",\n\t\"./bilge.png\": \"1a04\",\n\t\"./co.png\": \"9d63\",\n\t\"./digital-io.png\": \"1880\",\n\t\"./doorsensor-old.png\": \"9270\",\n\t\"./doorsensor.png\": \"0982\",\n\t\"./gas-valve.png\": \"d215\",\n\t\"./gas.png\": \"959f\",\n\t\"./gateway.png\": \"13be\",\n\t\"./heat.png\": \"dea6\",\n\t\"./immobilizer.png\": \"2bb1\",\n\t\"./ios-prompt.png\": \"79ac\",\n\t\"./keypad.png\": \"1f86\",\n\t\"./map-marker-anchor.png\": \"2252\",\n\t\"./marine_one-8.png\": \"8206\",\n\t\"./shorepower.png\": \"73c5\",\n\t\"./smartplug.png\": \"7bea\",\n\t\"./smoke.png\": \"eb91\",\n\t\"./thermometer.png\": \"e2a9\",\n\t\"./undefined.png\": \"457a\",\n\t\"./water.png\": \"4c8f\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"b967\";","import { sensor } from \"@/store\";\r\n\r\nexport default function () {\r\n const GetStatus = () => {\r\n sensor.GetPowerStatus();\r\n };\r\n const turnOn = (id: string) => {\r\n sensor.SetDeviceStatus({ id, status: true });\r\n };\r\n const turnOff = (id: string) => {\r\n sensor.SetDeviceStatus({ id, status: false });\r\n };\r\n return {\r\n GetStatus,\r\n turnOn,\r\n turnOff,\r\n };\r\n}\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BatteryView.vue?vue&type=style&index=0&id=20abb5fa&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/gas-valve.e5a16d07.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"align-self\":\"end\"}},[_c('v-row',{staticClass:\"headerRow\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"font-weight-bold\",staticStyle:{\"color\":\"#ffffff\"},attrs:{\"cols\":\"8\"}},[_vm._v(\"CONTROL\")]),_c('v-col',{staticClass:\"text--withe70 caption text-right pr-3\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Status\")]),_c('v-col',{staticClass:\"text--withe70 caption text-right pr-2\",attrs:{\"cols\":\"2\"}},[_vm._v(\"Paired\")])],1)],1),_c('v-col',{attrs:{\"cols\":\"12\",\"align-self\":\"end\"}},[_c('v-expansion-panels',{model:{value:(_vm.panel),callback:function ($$v) {_vm.panel=$$v},expression:\"panel\"}},[_c('DigitalIOListItem',{attrs:{\"value\":_vm.digitalIOModel},on:{\"OnNewNickname\":_vm.handleOnNewNickname}},[_vm._v(_vm._s(_vm.digitalOutputNickname))]),_c('GasValveListItem',{attrs:{\"value\":_vm.gasValveModel}},[_vm._v(\"Gas Valve\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent, ref } from \"@vue/composition-api\";\nimport AttachedDeviceModel from \"@/models/AttachedDeviceModel\";\nimport { alarm, sensor, app } from \"@/store\";\nimport useUserSettings from \"@/store/useUserSettings\";\nimport UserSettingsViewModel from \"@/models/UserSettingsViewModel\";\n\nexport default defineComponent({\n components: {\n DigitalIOListItem: () =>\n import(\"./Sensors/DigitalIOListItem.vue\"),\n GasValveListItem: () =>\n import(\"./Sensors/GasValveListItem.vue\"\n )\n },\n\n setup() {\n const { getUserSettings } = useUserSettings();\n\n const userSettings = ref();\n\n const digitalIOModel = computed(() => {\n return getItem(16);\n });\n const gasValveModel = computed(() => {\n return getItem(15);\n });\n const gasEnabled = computed(() => {\n return alarm.armed;\n });\n\n const getItem = (type: number): AttachedDeviceModel => {\n let model: AttachedDeviceModel = new AttachedDeviceModel();\n if (sensor.devices && sensor.devices.length > 0) {\n let model = sensor.devices.find((value: AttachedDeviceModel) => {\n return value.attachedDeviceTypeId === type;\n });\n if (model) {\n return model;\n }\n }\n model.attachedDeviceTypeId = type;\n return model;\n };\n\n const digitalOutputNickname = computed(() => {\n return userSettings.value ? userSettings.value.digitalOutputNickname : \"Digital Output\";\n });\n\n // Listens for the event emitted\n const handleOnNewNickname = (model: UserSettingsViewModel) => {\n userSettings.value.digitalOutputNickname = model.digitalOutputNickname;\n };\n\n const panel = computed(() => {\n if (app.getControlPanelOpen) {\n console.log(\"app.getControlPanelIndex\", app.getControlPanelIndex);\n return app.getControlPanelIndex;\n } else {\n console.log(\"app.getControlPanelIndex\", -1);\n return -1;\n }\n });\n\n getUserSettings().then((value: UserSettingsViewModel) => {\n userSettings.value = value;\n });\n\n return {\n gasEnabled,\n gasValveModel,\n digitalIOModel,\n digitalOutputNickname,\n handleOnNewNickname,\n panel\n };\n }\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Control.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Control.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Control.vue?vue&type=template&id=313e0c64&\"\nimport script from \"./Control.vue?vue&type=script&lang=ts&\"\nexport * from \"./Control.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VExpansionPanels,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-expansion-panel',[_c('SensorHeader',{attrs:{\"icon\":_vm.icon,\"withStatus\":_vm.showStatusText,\"paired\":_vm.paired}},[_vm._t(\"default\")],2),_c('v-expansion-panel-content',[_c('SensorModule',{attrs:{\"imgSrc\":_vm.imgSrc,\"connected\":_vm.paired},on:{\"enroll\":_vm.onEnroll},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}}),(_vm.value)?_c('EnrollDialog',{attrs:{\"imgSrc\":_vm.imgSrc,\"deviceType\":_vm.value.attachedDeviceTypeId},model:{value:(_vm.showEnroll),callback:function ($$v) {_vm.showEnroll=$$v},expression:\"showEnroll\"}}):_vm._e(),_c('ConfirmDialog',{attrs:{\"options\":{ noconfirm: true },\"title\":\"Success\",\"message\":\"Device added successfully.\"},on:{\"OnOk\":_vm.successOk},model:{value:(_vm.showSuccess),callback:function ($$v) {_vm.showSuccess=$$v},expression:\"showSuccess\"}}),_c('ConfirmDialog',{attrs:{\"options\":{ noconfirm: true },\"title\":\"Timeout\",\"message\":\"Device pairing timed out.\"},on:{\"OnOk\":_vm.timeoutOk},model:{value:(_vm.showTimeout),callback:function ($$v) {_vm.showTimeout=$$v},expression:\"showTimeout\"}})],1)],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\n\n\n\n\n\n\n import { defineComponent, computed, PropType, ref } from \"@vue/composition-api\";\n import AttachedDeviceModel from \"@/models/AttachedDeviceModel\";\nimport { alarm, sensor } from \"../../../store\";\n\n export default defineComponent({\n components: {\n SensorHeader: () =>\n import(/* webpackChunkName: \"components\" */ \"./SensorHeader.vue\"),\n SensorModule: () =>\n import(/* webpackChunkName: \"components\" */ \"./SensorModule.vue\"),\n EnrollDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/EnrollDialog.vue\"),\n ConfirmDialog: () =>\n import(/* webpackChunkName: \"settings\" */ \"../Dialogs/ConfirmDialog.vue\")\n },\n props: {\n icon: { type: String, required: true },\n img: { type: String, required: true },\n withMute: { type: Boolean, default: false },\n showStatusText: { type: Boolean, default: false },\n value: Object as PropType\n },\n setup(props, { emit }) {\n const paired = computed(() => {\n if (\n props.value &&\n props.value.attachedDeviceId &&\n props.value.attachedDeviceId !== \"\"\n ) {\n return true;\n } else {\n return false;\n }\n });\n const showEnroll = ref(false);\n\n const showSuccess = computed(() => {\n return alarm.deviceAdded;\n });\n\n const showTimeout = computed(() => {\n return alarm.deviceTimedOut;\n });\n\n const successOk = () => {\n alarm.SetNewDeviceAdded(false);\n sensor.GetData();\n };\n\n const timeoutOk = () => {\n alarm.SetNewDeviceTimedOut(false);\n sensor.GetData();\n };\n\n const imgSrc = computed(() => {\n return require(`@/assets/img/${props.img}.png`);\n });\n const onEnroll = () => {\n showEnroll.value = true;\n };\n return {\n onEnroll,\n paired,\n showEnroll,\n showSuccess,\n successOk,\n showTimeout,\n timeoutOk,\n imgSrc\n };\n }\n });\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultSensorListItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultSensorListItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DefaultSensorListItem.vue?vue&type=template&id=7867dde6&\"\nimport script from \"./DefaultSensorListItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./DefaultSensorListItem.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\ninstallComponents(component, {VExpansionPanel,VExpansionPanelContent})\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.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!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VoltageDialog.vue?vue&type=style&index=0&id=936dcafe&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/heat.8bb6a57c.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-expansion-panel-header',{staticClass:\"row no-gutters\",attrs:{\"disable-icon-rotate\":false},scopedSlots:_vm._u([{key:\"actions\",fn:function(){return [(_vm.paired !== null)?_c('v-icon',{staticClass:\"status px-4\",class:[_vm.paired ? 'greenText' : 'redText']},[_vm._v(\"mdi-circle-medium\")]):_vm._e(),_c('v-icon',{staticClass:\"arrow\",attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-chevron-down\")])]},proxy:true}])},[_c('v-img',{staticClass:\"sensor-icon\",attrs:{\"src\":_vm.iconSrc,\"light\":\"\",\"max-width\":\"52px\"}}),_vm._t(\"default\"),(_vm.withStatus)?_c('span',{staticClass:\"text-right\",class:_vm.statusCss},[_vm._v(\" \"+_vm._s(_vm.status)+\" \")]):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, computed } from \"@vue/composition-api\";\n\nexport default defineComponent({\n props: {\n icon: { type: String, required: true },\n status: { type: String, default: \"\" },\n statusCss: { type: String, default: \"statusText\" },\n paired: { type: Boolean, default: null }\n },\n setup(props) {\n const iconSrc = computed(() => {\n return require(`@/assets/icons/${props.icon}.svg`);\n });\n const withStatus = computed(() => {\n return props.status !== \"\";\n });\n return {\n iconSrc,\n withStatus\n };\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SensorHeader.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SensorHeader.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SensorHeader.vue?vue&type=template&id=f6643976&scoped=true&\"\nimport script from \"./SensorHeader.vue?vue&type=script&lang=ts&\"\nexport * from \"./SensorHeader.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SensorHeader.vue?vue&type=style&index=0&id=f6643976&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 \"f6643976\",\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 { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\ninstallComponents(component, {VExpansionPanelHeader,VIcon,VImg})\n","module.exports = __webpack_public_path__ + \"img/smoke.c56e8a4d.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"py-0\",attrs:{\"cols\":\"8\"}},[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"4\"}},[(_vm.value)?_c('router-link',{attrs:{\"to\":{ name: 'history', params: { id: _vm.value.attachedDeviceTypeId } }}},[_c('v-img',{staticClass:\"mx-auto mt-4\",attrs:{\"src\":require(\"@/assets/icons/log.svg\"),\"max-width\":\"40px\",\"width\":\"40 px\"}})],1):_vm._e(),_c('div',{staticClass:\"text-center text-caption white--text\"},[_vm._v(\"Sensor Log\")])],1),_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"4\"}}),_c('v-col',{staticClass:\"py-0 text-center\",attrs:{\"cols\":\"4\"}})],1)],1),_c('v-col',{staticClass:\"text-right pr-0\",attrs:{\"cols\":\"4\"}},[_c('PairToggle',{attrs:{\"value\":_vm.connected},on:{\"click\":_vm.toggleConnect}})],1)],1),_c('v-row',{staticClass:\"mt-4\"},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"4\",\"align-self\":\"end\"}},[_c('v-img',{attrs:{\"position\":\"bottom\",\"max-width\":\"150px\",\"max-height\":\"150px\",\"contain\":\"\",\"src\":_vm.imgSrc}})],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"4\"}},[_c('div',{staticClass:\"text-caption pt-1 white--text\"},[_vm._v(\"Responsive\")]),(_vm.responsive)?_c('v-img',{staticClass:\"mx-auto mt-1\",attrs:{\"src\":require(\"@/assets/icons/responsive.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}}):_c('v-img',{staticClass:\"mx-auto mt-1\",attrs:{\"src\":require(\"@/assets/icons/unresponsive.svg\"),\"max-width\":\"40px\",\"width\":\"40px\"}}),_c('div',{staticClass:\"text-center\"})],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"4\"}},[_c('span',{staticClass:\"text-caption white--text\"},[_vm._v(\"Battery level\")]),(_vm.connected)?[(_vm.battery)?_c('v-img',{staticClass:\"mt-3\",attrs:{\"src\":require(\"@/assets/icons/battery-full.svg\"),\"max-height\":\"20px\",\"contain\":\"\"}}):_c('v-img',{staticClass:\"mt-3\",attrs:{\"src\":require(\"@/assets/icons/battery-alarm.svg\"),\"max-height\":\"20px\",\"contain\":\"\"}})]:_c('div',{staticClass:\"text-caption pt-3 white--text\"},[_vm._v(\"N/A\")])],2)],1)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n defineComponent,\n PropType,\n watch,\n computed\n} from \"@vue/composition-api\";\nimport AttachedDeviceModel from \"@/models/AttachedDeviceModel\";\nexport default defineComponent({\n components: {\n PairToggle: () =>\n import(/*webpackChunkName: \"components\"*/ \"../PairToggle.vue\")\n },\n props: {\n imgSrc: { type: String, required: true },\n connected: { type: Boolean, default: false },\n value: Object as PropType\n },\n setup(props, context) {\n const status = computed(() => {\n if (props.value) {\n return props.value.attachedDeviceId\n ? props.value.attachedDeviceId !== \"\"\n : false;\n } else {\n return false;\n }\n });\n const responsive = computed(() => {\n if (props.value.attachedDeviceId != null) {\n if (props.value.age <= 1) {\n return true;\n } else {\n return false;\n }\n }\n });\n\n const battery = computed(() => {\n return props.value ? !props.value.batteryLow : false;\n });\n watch(\n () => props.value,\n newValue => {\n if (newValue) {\n console.log(newValue.batteryLow);\n }\n }\n );\n const toggleConnect = () => {\n context.emit(\"enroll\", props.value);\n };\n return {\n toggleConnect,\n status,\n battery,\n responsive\n };\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SensorModule.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SensorModule.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SensorModule.vue?vue&type=template&id=2669fd1c&\"\nimport script from \"./SensorModule.vue?vue&type=script&lang=ts&\"\nexport * from \"./SensorModule.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VImg,VRow})\n"],"sourceRoot":""}