{"version":3,"sources":["webpack:///./src/views/components/ThermostatPreferencesComponents/PreferenceRegulationBand/PreferenceRegulationBand.vue?a77c","webpack:///./src/views/components/ThermostatPreferencesComponents/PreferenceRegulationBand/PreferenceRegulationBand.ts","webpack:///./src/views/components/ThermostatPreferencesComponents/PreferenceRegulationBand/PreferenceRegulationBand.vue","webpack:///./src/views/components/ThermostatPreferencesComponents/ThermoPreferenceComponent.ts"],"names":["_hoisted_1","key","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","render","_ctx","_cache","$props","$setup","$data","$options","_component_InputSwitch","_component_Slider","preferenceLabel","roomObject","thermoTypeOfObject","ThermoTypeOfObject","Cooling","$t","modelValue","isManualHeatingOverrideEnabled","$event","disabled","readOnly","heatingRegulationBand","min","max","step","hasHeatingFancoils","IsManualHeatingOverrideEnabled","fanSpeed2ForHeating","fanSpeed3ForHeating","valvesTimeForHeatingFanCoil","Heating","isManualCoolingOverrideEnabled","coolingRegulationBand","hasCoolingFancoils","fanSpeed2ForCooling","fanSpeed3ForCooling","valvesTimeForCoolingFanCoil","this","ThermoPreferenceComponent","name","watch","newValue","oldValue","roomOjbect","__exports__","props","type","Object","required","String","Boolean","default"],"mappings":"yIAEMA,EAAa,CACjBC,IAAK,EACLC,MAAO,QAEHC,EAAa,CAAEF,IAAK,GACpBG,EAAa,CAAEF,MAAO,QACtBG,EAAa,CAAEH,MAAO,6BACtBI,EAAa,CAAEJ,MAAO,aACtBK,EAA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C,GAC1CA,IACLL,KAAK1B,WAAWwB,oBAAsBM,EAAW,MAEnDZ,4BAA6B,SAAUY,EAAUC,GAC1CA,IACLL,KAAKM,WAAWd,4BAA8B,eAC5CY,KAGJL,4BAA6B,SAAUK,EAAUC,GAC1CA,IACLL,KAAKM,WAAWP,4BAA8B,eAC5CK,SAKa,Y,wBC5CrB,MAAMG,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAAS3C,KAErD,iB,kGCaMqC,EAArB,qIAAuD,QAAlCA,EAAyB,gBAhB7C,eAAQ,CACPO,MAAO,CACLlC,WAAY,CACVmC,KAAMC,OACNC,UAAU,GAEZtC,gBAAiB,CACfoC,KAAMG,OACND,UAAU,GAEZ5B,SAAU,CACR0B,KAAMI,QACNC,SAAS,OAIMb,GAAA","file":"js/chunk-4261c4e3.f8194a53.js","sourcesContent":["import { toDisplayString as _toDisplayString, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"mb-4\"\n}\nconst _hoisted_2 = { key: 1 }\nconst _hoisted_3 = { class: \"mb-2\" }\nconst _hoisted_4 = { class: \"d-flex align-items-center\" }\nconst _hoisted_5 = { class: \"mb-0 ml-3\" }\nconst _hoisted_6 = { class: \"mt-4\" }\nconst _hoisted_7 = { class: \"px-3\" }\nconst _hoisted_8 = { class: \"d-flex justify-content-end mt-3 px-2\" }\nconst _hoisted_9 = { key: 0 }\nconst _hoisted_10 = { class: \"mt-4\" }\nconst _hoisted_11 = { class: \"px-3\" }\nconst _hoisted_12 = { class: \"d-flex justify-content-end mt-3 px-2\" }\nconst _hoisted_13 = { key: 1 }\nconst _hoisted_14 = { class: \"mt-4\" }\nconst _hoisted_15 = { class: \"px-3\" }\nconst _hoisted_16 = { class: \"d-flex justify-content-end mt-3 px-2\" }\nconst _hoisted_17 = { key: 2 }\nconst _hoisted_18 = { class: \"mt-4\" }\nconst _hoisted_19 = { class: \"px-3\" }\nconst _hoisted_20 = { class: \"d-flex justify-content-end mt-3 px-2\" }\nconst _hoisted_21 = { key: 2 }\nconst _hoisted_22 = { class: \"mb-2\" }\nconst _hoisted_23 = { class: \"d-flex align-items-center\" }\nconst _hoisted_24 = { class: \"mb-0 ml-3\" }\nconst _hoisted_25 = { class: \"mt-4\" }\nconst _hoisted_26 = { class: \"px-3\" }\nconst _hoisted_27 = { class: \"d-flex justify-content-end mt-3 px-2\" }\nconst _hoisted_28 = { key: 0 }\nconst _hoisted_29 = { class: \"mt-4\" }\nconst _hoisted_30 = { class: \"px-3\" }\nconst _hoisted_31 = { class: \"d-flex justify-content-end mt-3 px-2\" }\nconst _hoisted_32 = { key: 1 }\nconst _hoisted_33 = { class: \"mt-4\" }\nconst _hoisted_34 = { class: \"px-3\" }\nconst _hoisted_35 = { class: \"d-flex justify-content-end mt-3 px-2\" }\nconst _hoisted_36 = { key: 2 }\nconst _hoisted_37 = { class: \"mt-4\" }\nconst _hoisted_38 = { class: \"px-3\" }\nconst _hoisted_39 = { class: \"d-flex justify-content-end mt-3 px-2\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputSwitch = _resolveComponent(\"InputSwitch\")\n const _component_Slider = _resolveComponent(\"Slider\")\n\n return (_openBlock(), _createBlock(\"div\", null, [\n (_ctx.preferenceLabel)\n ? (_openBlock(), _createBlock(\"h1\", _hoisted_1, _toDisplayString(_ctx.preferenceLabel), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.roomObject.thermoTypeOfObject !== _ctx.ThermoTypeOfObject.Cooling)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_2, [\n _createVNode(\"h5\", _hoisted_3, _toDisplayString(_ctx.$t(\"AppResource.HeatingUpper\")), 1),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_InputSwitch, {\n modelValue: _ctx.roomObject.isManualHeatingOverrideEnabled,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.roomObject.isManualHeatingOverrideEnabled = $event)),\n disabled: _ctx.readOnly\n }, null, 8, [\"modelValue\", \"disabled\"]),\n _createVNode(\"p\", _hoisted_5, _toDisplayString(_ctx.$t(\"AppResource.EnableManualOverride\")), 1)\n ]),\n _createVNode(\"p\", _hoisted_6, _toDisplayString(_ctx.$t(\"AppResource.HeatingRegulationBand\")), 1),\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(_component_Slider, {\n disabled: \n !_ctx.roomObject.isManualHeatingOverrideEnabled || _ctx.readOnly\n ,\n modelValue: _ctx.heatingRegulationBand,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.heatingRegulationBand = $event)),\n min: 1,\n max: 100,\n step: 1\n }, null, 8, [\"disabled\", \"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.roomObject.heatingRegulationBand), 1)\n ]),\n (_ctx.roomObject.hasHeatingFancoils)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_9, [\n _createVNode(\"p\", _hoisted_10, _toDisplayString(_ctx.$t(\"AppResource.FanSpeed2ForHeating\")), 1),\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(_component_Slider, {\n disabled: \n !_ctx.roomObject.IsManualHeatingOverrideEnabled ||\n _ctx.readOnly\n ,\n modelValue: _ctx.fanSpeed2ForHeating,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.fanSpeed2ForHeating = $event)),\n min: 2,\n max: 200,\n step: 1\n }, null, 8, [\"disabled\", \"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.roomObject.fanSpeed2ForHeating), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.roomObject.hasHeatingFancoils)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_13, [\n _createVNode(\"p\", _hoisted_14, _toDisplayString(_ctx.$t(\"AppResource.FanSpeed3ForHeating\")), 1),\n _createVNode(\"div\", _hoisted_15, [\n _createVNode(_component_Slider, {\n disabled: \n !_ctx.roomObject.IsManualHeatingOverrideEnabled ||\n _ctx.readOnly\n ,\n modelValue: _ctx.fanSpeed3ForHeating,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.fanSpeed3ForHeating = $event)),\n min: 3,\n max: 300,\n step: 1\n }, null, 8, [\"disabled\", \"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_16, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.roomObject.fanSpeed3ForHeating), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.roomObject.hasHeatingFancoils)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_17, [\n _createVNode(\"p\", _hoisted_18, _toDisplayString(_ctx.$t(\"AppResource.ValvesTimeForHeatingFanCoil\")), 1),\n _createVNode(\"div\", _hoisted_19, [\n _createVNode(_component_Slider, {\n disabled: \n !_ctx.roomObject.IsManualHeatingOverrideEnabled ||\n _ctx.readOnly\n ,\n modelValue: _ctx.valvesTimeForHeatingFanCoil,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.valvesTimeForHeatingFanCoil = $event)),\n min: 0,\n max: 1275,\n step: 5\n }, null, 8, [\"disabled\", \"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_20, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.roomObject.valvesTimeForHeatingFanCoil), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.roomObject.thermoTypeOfObject !== _ctx.ThermoTypeOfObject.Heating)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_21, [\n _createVNode(\"h5\", _hoisted_22, _toDisplayString(_ctx.$t(\"AppResource.CoolingUpper\")), 1),\n _createVNode(\"div\", _hoisted_23, [\n _createVNode(_component_InputSwitch, {\n modelValue: _ctx.roomObject.isManualCoolingOverrideEnabled,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.roomObject.isManualCoolingOverrideEnabled = $event)),\n disabled: _ctx.readOnly\n }, null, 8, [\"modelValue\", \"disabled\"]),\n _createVNode(\"p\", _hoisted_24, _toDisplayString(_ctx.$t(\"AppResource.EnableManualOverride\")), 1)\n ]),\n _createVNode(\"p\", _hoisted_25, _toDisplayString(_ctx.$t(\"AppResource.CoolingRegulationBand\")), 1),\n _createVNode(\"div\", _hoisted_26, [\n _createVNode(_component_Slider, {\n disabled: \n !_ctx.roomObject.isManualCoolingOverrideEnabled || _ctx.readOnly\n ,\n modelValue: _ctx.coolingRegulationBand,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.coolingRegulationBand = $event)),\n min: 1,\n max: 100,\n step: 1\n }, null, 8, [\"disabled\", \"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_27, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.roomObject.coolingRegulationBand), 1)\n ]),\n (_ctx.roomObject.hasCoolingFancoils)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_28, [\n _createVNode(\"p\", _hoisted_29, _toDisplayString(_ctx.$t(\"AppResource.FanSpeed2ForCooling\")), 1),\n _createVNode(\"div\", _hoisted_30, [\n _createVNode(_component_Slider, {\n disabled: \n !_ctx.roomObject.isManualCoolingOverrideEnabled ||\n _ctx.readOnly\n ,\n modelValue: _ctx.fanSpeed2ForCooling,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.fanSpeed2ForCooling = $event)),\n min: 2,\n max: 200,\n step: 1\n }, null, 8, [\"disabled\", \"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_31, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.roomObject.fanSpeed2ForCooling), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.roomObject.hasCoolingFancoils)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_32, [\n _createVNode(\"p\", _hoisted_33, _toDisplayString(_ctx.$t(\"AppResource.FanSpeed3ForCooling\")), 1),\n _createVNode(\"div\", _hoisted_34, [\n _createVNode(_component_Slider, {\n disabled: \n !_ctx.roomObject.isManualCoolingOverrideEnabled ||\n _ctx.readOnly\n ,\n modelValue: _ctx.fanSpeed3ForCooling,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.fanSpeed3ForCooling = $event)),\n min: 3,\n max: 300,\n step: 1\n }, null, 8, [\"disabled\", \"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_35, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.roomObject.fanSpeed3ForCooling), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.roomObject.hasCoolingFancoils)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_36, [\n _createVNode(\"p\", _hoisted_37, _toDisplayString(_ctx.$t(\"AppResource.ValvesTimeForCoolingFanCoil\")), 1),\n _createVNode(\"div\", _hoisted_38, [\n _createVNode(_component_Slider, {\n disabled: \n !_ctx.roomObject.isManualCoolingOverrideEnabled ||\n _ctx.readOnly\n ,\n modelValue: _ctx.roomObject.valvesTimeForCoolingFanCoil,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_ctx.roomObject.valvesTimeForCoolingFanCoil = $event)),\n min: 0,\n max: 1275,\n step: 5\n }, null, 8, [\"disabled\", \"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_39, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.roomObject.valvesTimeForCoolingFanCoil), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { Options } from 'vue-class-component';\nimport ThermoPreferenceComponent from '../ThermoPreferenceComponent';\nimport { ThermoTypeOfObject } from '@/../client-generator/generated-clients/device-settings';\nimport {\n formattedTimeToSeconds,\n secondsToFormattedTime,\n} from '@/core/utils/utils';\n\n@Options({\n name: 'PreferenceRegulationBand',\n watch: {\n heatingRegulationBand: function (newValue: number, oldValue) {\n if (!oldValue) return;\n this.roomObject.heatingRegulationBand = newValue / 100;\n },\n fanSpeed2ForHeating: function (newValue: number, oldValue) {\n if (!oldValue) return;\n this.roomObject.fanSpeed2ForHeating = newValue / 100;\n },\n fanSpeed3ForHeating: function (newValue: number, oldValue) {\n if (!oldValue) return;\n this.roomObject.fanSpeed3ForHeating = newValue / 100;\n },\n coolingRegulationBand: function (newValue: number, oldValue) {\n if (!oldValue) return;\n this.roomObject.coolingRegulationBand = newValue / 100;\n },\n fanSpeed2ForCooling: function (newValue: number, oldValue) {\n if (!oldValue) return;\n this.roomObject.fanSpeed2ForCooling = newValue / 100;\n },\n fanSpeed3ForCooling: function (newValue: number, oldValue) {\n if (!oldValue) return;\n this.roomObject.fanSpeed3ForCooling = newValue / 100;\n },\n valvesTimeForHeatingFanCoil: function (newValue, oldValue) {\n if (!oldValue) return;\n this.roomOjbect.valvesTimeForHeatingFanCoil = secondsToFormattedTime(\n newValue\n );\n },\n valvesTimeForCoolingFanCoil: function (newValue, oldValue) {\n if (!oldValue) return;\n this.roomOjbect.valvesTimeForCoolingFanCoil = secondsToFormattedTime(\n newValue\n );\n },\n },\n})\nexport default class PreferenceRegulationBand extends ThermoPreferenceComponent {\n ThermoTypeOfObject = ThermoTypeOfObject;\n\n heatingRegulationBand = 1;\n fanSpeed2ForHeating = 2;\n fanSpeed3ForHeating = 3;\n\n coolingRegulationBand = 1;\n fanSpeed2ForCooling = 2;\n fanSpeed3ForCooling = 3;\n\n valvesTimeForHeatingFanCoil = 0;\n valvesTimeForCoolingFanCoil = 0;\n\n mounted() {\n if (this.roomObject.heatingRegulationBand) {\n this.heatingRegulationBand = this.roomObject.heatingRegulationBand * 100;\n }\n\n if (this.roomObject.fanSpeed2ForHeating) {\n this.fanSpeed2ForHeating = this.roomObject.fanSpeed2ForHeating * 100;\n }\n\n if (this.roomObject.fanSpeed3ForHeating) {\n this.fanSpeed3ForHeating = this.roomObject.fanSpeed3ForHeating * 100;\n }\n\n if (this.roomObject.coolingRegulationBand) {\n this.coolingRegulationBand = this.roomObject.coolingRegulationBand * 100;\n }\n\n if (this.roomObject.fanSpeed2ForCooling) {\n this.fanSpeed2ForCooling = this.roomObject.fanSpeed2ForCooling * 100;\n }\n\n if (this.roomObject.fanSpeed3ForCooling) {\n this.fanSpeed3ForCooling = this.roomObject.fanSpeed3ForCooling * 100;\n }\n\n if (this.roomObject.valvesTimeForHeatingFanCoil !== '00:00:00') {\n this.valvesTimeForHeatingFanCoil = formattedTimeToSeconds(\n this.roomObject.valvesTimeForHeatingFanCoil as string\n );\n }\n\n if (this.roomObject.valvesTimeForCoolingFanCoil !== '00:00:00') {\n this.valvesTimeForCoolingFanCoil = formattedTimeToSeconds(\n this.roomObject.valvesTimeForCoolingFanCoil as string\n );\n }\n }\n}\n","import { render } from \"./PreferenceRegulationBand.vue?vue&type=template&id=28bc23fe&ts=true\"\nimport script from \"./PreferenceRegulationBand.ts?vue&type=script&lang=ts\"\nexport * from \"./PreferenceRegulationBand.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { PropType } from 'vue';\nimport { Vue, Options } from 'vue-class-component';\nimport { IThermoRoomObjectDTO } from '@/../client-generator/generated-clients/plants';\n\n@Options({\n props: {\n roomObject: {\n type: Object as PropType,\n required: true,\n },\n preferenceLabel: {\n type: String,\n required: true,\n },\n readOnly: {\n type: Boolean,\n default: false,\n },\n },\n})\nexport default class ThermoPreferenceComponent extends Vue {\n roomObject!: IThermoRoomObjectDTO;\n}\n"],"sourceRoot":""}