{"version":3,"sources":["webpack:///./src/views/components/ListItemCheck/ListItemCheck.vue?1ee0","webpack:///./src/views/components/ListItemCheck/ListItemCheck.ts","webpack:///./src/views/components/ListItemCheck/ListItemCheck.vue","webpack:///./src/assets/images/entrancePlants/icon-message.svg","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.vue?b090","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.ts","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/DialogAddEditMessage/DialogAddEditMessage.scss?3290","webpack:///./src/core/utils/axios-instance.ts","webpack:///./src/assets/images/icons/icon-alert-medium-outline.svg","webpack:///./node_modules/core-js/modules/es.array.splice.js","webpack:///./src/core/services/plants.ts","webpack:///./src/views/components/ListItemCheck/ListItemCheck.scss?1e1f","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/EntrancePlantMessages.scss?026f","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/EntrancePlantMessages.vue?395c","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/MessageItem/MessageItem.vue?ce86","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/MessageItem/MessageItem.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/MessageItem/MessageItem.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/DialogAddEditMessage/DialogAddEditMessage.vue?4c0b","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/DialogAddEditMessage/DialogAddEditMessage.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/DialogAddEditMessage/DialogAddEditMessage.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/EntrancePlantMessages.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantMessages/EntrancePlantMessages.vue"],"names":["_hoisted_1","class","_hoisted_2","_hoisted_3","key","render","_ctx","_cache","$props","$setup","$data","$options","_component_Checkbox","onClick","$event","setValue","disabled","binary","inputId","name","modelValue","checked","for","label","last","this","includes","value","splice","indexOf","push","$emit","props","type","Array","required","String","Boolean","default","emits","__exports__","module","exports","_hoisted_4","_hoisted_5","_component_InlineSvgScoped","_component_Button","_component_Dialog","visible","isDialogVisible","onHide","doHideDialog","modal","showHeader","closable","src","dialogTitle","dialogMessage","handleHideDialog","$t","_","doConfirm","title","message","isVisible","watch","newValue","a","defaults","timeout","interceptors","request","use","config","getToken","token","headers","Authorization","response","error","addError","JSON","stringify","toJSON","status","emit","Promise","reject","$","toAbsoluteIndex","toInteger","toLength","toObject","arraySpeciesCreate","createProperty","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","max","Math","min","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","target","proto","forced","start","deleteCount","insertCount","actualDeleteCount","A","k","from","to","O","len","length","actualStart","argumentsLength","arguments","TypeError","prototype","init","data","property","Object","hasOwnProperty","call","$type","plantsClient","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_component_router_link","_component_TabPanel","_component_TabView","_component_MessageItem","_component_ElScrollbar","_component_DialogAddEditMessage","backLink","currentEntrancePlant","syncStatus","canEditWithPropagation","toggleAddEditMessage","onTabChange","handleTabClick","header","messagesList","disableActions","id","onEditMessage","onDeleteMessage","handleDeleteMessage","tabSelected","MessagesTab","active","messageToEdit","isVisibleAddEditMessage","onHideDialog","onUpdateList","handleUpdateList","_component_ElDropdownItem","_component_ElDropdownMenu","_component_ElDropdown","_component_Card","_component_DialogConfirmDelete","content","getValidTime","trigger","placement","dropdown","style","handleEditMessage","toggleDeleteMessageConfirm","isVisibleDeleteMessageConfirm","onConfirm","dateFrom","getParsedDate","durationSince","dateTo","durationUntil","date","options","month","day","year","toLocaleString","components","DialogConfirmDelete","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_component_InputText","_component_Textarea","_component_ListItemCheck","_component_Calendar","validator","text","maxlength","messageMaxLength","remainingChars","gates","g","gateIdx","gateId","gateIds","currentEntrancePlantGatesCount","minDate","maxDate","dateFormat","manualInput","showIcon","icon","timeOnly","minDurationUntilDate","Date","startDate","getFullYear","getMonth","getDate","isEdit","handleButtonSubmitAction","saveButtonDisabled","nextValidDurationUntil","setHours","getHours","setMinutes","saveGateMessage","$toast","add","severity","summary","life","setTimeout","undefined","desktopId","$store","dispatch","gatemessagePUT","gatemessagePOST","console","log","trim","today","nextYear","setFullYear","endDate","computed","nextDay","setDate","initMessage","methods","resetMinutes","ListItemCheck","MessageTab","params","$route","gateMessages","messagesFilteredList","messages","filter","getTime","expired","event","setSelectionCriteria","index","selectionCriteria","messageId","gatemessageDELETE","DialogAddEditMessage","MessageItem"],"mappings":"yJAEMA,EAA0B,yBAAa,MAAO,CAAEC,MAAO,YAAc,MAAO,GAC5EC,EAAa,CAAED,MAAO,0DACtBE,EAAa,CACjBC,IAAK,EACLH,MAAO,YAGH,SAAUI,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAAsB,8BAAkB,YAE9C,OAAQ,yBAAc,yBAAa,MAAO,CACxCC,QAASN,EAAO,KAAOA,EAAO,GAAK,SAACO,GAAD,OAAkBR,EAAKS,cACzD,CACDf,EACA,yBAAa,MAAOE,EAAY,CAC9B,yBAAaU,EAAqB,CAChCI,SAAUV,EAAKU,SACfC,QAAQ,EACRC,QAASZ,EAAKY,QACdC,KAAMb,EAAKa,KACXC,WAAYd,EAAKe,SAChB,KAAM,EAAG,CAAC,WAAY,UAAW,OAAQ,eAC5C,yBAAa,QAAS,CACpBpB,MAAO,OACPqB,IAAKhB,EAAKY,SACT,6BAAiBZ,EAAKiB,OAAQ,EAAG,CAAC,UAEtCjB,EAAKkB,MACD,yBAAc,yBAAa,MAAOrB,IACnC,gCAAoB,IAAI,K,0GCMX,EAArB,uKAQE,WACE,OAAOsB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GACnBnI,KAAKmI,cAAL,OAAqBA,QAArB,IAAqBA,IAAiB,KACtCnI,KAAKoI,yBAA2BpI,KAAKoI,0BA3DzC,8BA8DE,WACEpI,KAAKM,MAAM,iBA/Df,0FAkEE,WAA0BiP,GAA1B,mGACEvP,KAAKwN,OAAOC,SAAS,SAAiB,GADxC,kBAGU,QAAa+B,kBACjBxP,KAAKmH,qBAAqBoG,UAC1BgC,GALN,OAQIvP,KAAKM,MAAM,eACX+M,YAAW,WACT,EAAKL,OAAOC,IAAI,CACdC,SAAU,UACVC,QAAS,EAAKjL,GAAG,0CACjBL,UAAU,EACVuL,KAAM,QAEP,MAhBP,mDAkBIpN,KAAKgN,OAAOC,IAAI,CACdC,SAAU,QACVC,QAASnN,KAAKkC,GAAG,0BACjBL,UAAU,EACVuL,KAAM,MAtBZ,yBAyBIpN,KAAKwN,OAAOC,SAAS,SAAiB,GAzB1C,4EAlEF,+DAAmD,QAA9B,GAAqB,gBARzC,eAAQ,CACP/N,KAAM,wBACNyO,SAAU,kBACL,eAAS,CAAC,0BAEfjE,WAAY,CAAEuF,qBAAA,GAAsBC,YAAA,GACpC5O,MAAO,CAAC,kBAEW,c,UCjBrB,MAAM,GAA2B,IAAgB,GAAQ,CAAC,CAAC,SAASlC,KAErD","file":"js/page-entranceplant-messages.8f3f9ec1.js","sourcesContent":["import { createVNode as _createVNode, resolveComponent as _resolveComponent, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"div\", { class: \"row-line\" }, null, -1)\nconst _hoisted_2 = { class: \"d-flex align-items-center row-content p-field-checkbox\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"row-line\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Checkbox = _resolveComponent(\"Checkbox\")\n\n return (_openBlock(), _createBlock(\"div\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.setValue()))\n }, [\n _hoisted_1,\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(_component_Checkbox, {\n disabled: _ctx.disabled,\n binary: true,\n inputId: _ctx.inputId,\n name: _ctx.name,\n modelValue: _ctx.checked\n }, null, 8, [\"disabled\", \"inputId\", \"name\", \"modelValue\"]),\n _createVNode(\"label\", {\n class: \"ml-2\",\n for: _ctx.inputId\n }, _toDisplayString(_ctx.label), 9, [\"for\"])\n ]),\n (_ctx.last)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_3))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'ListItemCheck',\n props: {\n modelValue: {\n type: Array,\n required: true,\n },\n name: {\n required: true,\n type: String,\n },\n inputId: {\n required: true,\n type: String,\n },\n label: {\n required: true,\n type: String,\n },\n value: {\n required: true,\n },\n last: {\n type: Boolean,\n default: false,\n required: false,\n },\n disabled: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n emits: ['update:modelValue','update:value'],\n})\nexport default class CardRadio extends Vue {\n modelValue!: string[];\n name!: string;\n inputId!: string;\n value!: string;\n last!: boolean;\n label!: string;\n disabled!: boolean;\n get checked () {\n return this.modelValue.includes(this.value)\n }\n\n setValue() {\n if(this.disabled)return;\n if (this.checked){\n this.modelValue.splice(this.modelValue.indexOf(this.value), 1)\n }else{\n this.modelValue.push(this.value)\n }\n this.$emit('update:value', this.value);\n this.$emit('update:modelValue', this.modelValue);\n }\n}\n","import { render } from \"./ListItemCheck.vue?vue&type=template&id=18f920d1&ts=true\"\nimport script from \"./ListItemCheck.ts?vue&type=script&lang=ts\"\nexport * from \"./ListItemCheck.ts?vue&type=script&lang=ts\"\n\nimport \"./ListItemCheck.scss?vue&type=style&index=0&lang=scss\"\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__","module.exports = __webpack_public_path__ + \"img/icon-message.297290d6.svg\";","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bt-icon text-primary\" }\nconst _hoisted_2 = { class: \"dialog-confirm__title\" }\nconst _hoisted_3 = { class: \"dialog-confirm__message\" }\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"hr\", null, null, -1)\nconst _hoisted_5 = { class: \"dialog-confirm__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-confirm\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_1, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-alert-medium-outline.svg`)\n ,\n \"aria-label\": \"icon-alert-medium-outline\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"h5\", _hoisted_2, _toDisplayString(_ctx.dialogTitle), 1),\n _createVNode(\"p\", _hoisted_3, _toDisplayString(_ctx.dialogMessage), 1),\n _hoisted_4,\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_Button, {\n class: \"p-button-text p-button-secondary text-uppercase mr-2\",\n onClick: _ctx.handleHideDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button--m\",\n onClick: _ctx.doConfirm\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Ok\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'DialogConfirmDelete',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n title: {\n type: String,\n required: true,\n },\n message: {\n type: String,\n required: true,\n },\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n },\n },\n emits: ['hide-dialog', 'confirm'],\n})\nexport default class DialogConfirmDelete extends Vue {\n isVisible!: boolean;\n title!: string;\n message!: string;\n isDialogVisible = false;\n\n get dialogTitle() {\n return this.title;\n }\n\n get dialogMessage() {\n return this.message;\n }\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n doConfirm() {\n this.$emit('confirm');\n this.handleHideDialog();\n }\n}\n","import { render } from \"./DialogConfirmDelete.vue?vue&type=template&id=009d4b24&ts=true\"\nimport script from \"./DialogConfirmDelete.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogConfirmDelete.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__","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/cli-service/node_modules/vue-loader-v16/dist/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!./DialogAddEditMessage.scss?vue&type=style&index=0&lang=scss\"","import axios from 'axios';\nimport router from '../../core/router/index';\n\naxios.defaults.timeout = 30000;\n\nimport authService from '../services/auth.service';\nimport emitter from '@/core/config/emitter';\nimport { MANAGE_ELIOT_PARSE_EXCEPTION } from './emitter-events';\nimport globalErrors from './global-errors';\n\naxios.interceptors.request.use(async (config) => {\n const token = await authService.getToken();\n if (token) config.headers.Authorization = `Bearer ${token}`;\n else config.headers.Authorization = '';\n return config;\n});\n\naxios.interceptors.response.use(\n (response) => {\n return response;\n },\n (error) => {\n globalErrors.addError(JSON.stringify(error.toJSON()));\n if (error.response.status === 412) {\n emitter.emit(MANAGE_ELIOT_PARSE_EXCEPTION);\n } else if (error.response.status === 477) {\n // user is not in allowed list\n router.push({ name: 'page-user-not-allowed' });\n } else {\n return Promise.reject(error);\n }\n }\n);\n\nexport default axios;\n","module.exports = __webpack_public_path__ + \"img/icon-alert-medium-outline.b8add9d7.svg\";","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","import {\n Client,\n ActuatorSettings,\n CommandSettings,\n GeneralCommandsAndGroupsAction,\n DefaultObjectAction,\n ObjectAction,\n WaitTimeAction,\n Action,\n Trigger,\n Condition,\n ObjectTrigger,\n ButtonTrigger,\n DateAndTimeTrigger,\n TimeCondition,\n ObjectCondition,\n ExtDevice,\n ColoredLightExtDevice,\n XmeterExtDevice,\n PlayerExtDevice,\n} from '@/../client-generator/generated-clients/plants';\nimport axiosInstance from '../utils/axios-instance';\n\nCondition.prototype.init \n= Trigger.prototype.init \n= Action.prototype.init \n= ActuatorSettings.prototype.init \n= CommandSettings.prototype.init \n= GeneralCommandsAndGroupsAction.prototype.init \n= DefaultObjectAction.prototype.init \n= ObjectAction.prototype.init \n= WaitTimeAction.prototype.init \n= ObjectTrigger.prototype.init \n= ButtonTrigger.prototype.init \n= DateAndTimeTrigger.prototype.init \n= TimeCondition.prototype.init \n= ObjectCondition.prototype.init\n= ExtDevice.prototype.init\n= ColoredLightExtDevice.prototype.init\n= XmeterExtDevice.prototype.init\n= PlayerExtDevice.prototype.init = function (\n data?: any\n) {\n if (data) {\n for (var property in data) {\n if (Object.prototype.hasOwnProperty.call(data, property))\n (this)[property] = (data)[property];\n }\n }\n};\n\nCondition.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.Condition, ProtocolManager`,\n ...this,\n };\n};\nTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.Trigger, ProtocolManager`,\n ...this,\n };\n};\nAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.Action, ProtocolManager`,\n ...this,\n };\n};\nActuatorSettings.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ActuatorSettings, ProtocolManager`,\n ...this,\n };\n};\nCommandSettings.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.CommandSettings, ProtocolManager`,\n ...this,\n };\n};\nGeneralCommandsAndGroupsAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.GeneralCommandsAndGroupsAction, ProtocolManager`,\n ...this,\n };\n};\nDefaultObjectAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.DefaultObjectAction, ProtocolManager`,\n ...this,\n };\n};\nObjectAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ObjectAction, ProtocolManager`,\n ...this,\n };\n};\nWaitTimeAction.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.WaitTimeAction, ProtocolManager`,\n ...this,\n };\n};\nObjectTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ObjectTrigger, ProtocolManager`,\n ...this,\n };\n};\nButtonTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ButtonTrigger, ProtocolManager`,\n ...this,\n };\n};\nDateAndTimeTrigger.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.DateAndTimeTrigger, ProtocolManager`,\n ...this,\n };\n};\nTimeCondition.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.TimeCondition, ProtocolManager`,\n ...this,\n };\n};\nObjectCondition.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ObjectCondition, ProtocolManager`,\n ...this,\n };\n};\nExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ExtDevice, ProtocolManager`,\n ...this,\n };\n};\nColoredLightExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.ColoredLightExtDevice, ProtocolManager`,\n ...this,\n };\n};\nXmeterExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.XmeterExtDevice, ProtocolManager`,\n ...this,\n };\n};\nPlayerExtDevice.prototype.toJSON = function (data?: any) {\n return {\n $type: `ProtocolManager.Model.PlayerExtDevice, ProtocolManager`,\n ...this,\n };\n};\n\nconst plantsClient = new Client('', axiosInstance);\n\nexport default plantsClient;\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/cli-service/node_modules/vue-loader-v16/dist/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!./ListItemCheck.scss?vue&type=style&index=0&lang=scss\"","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/cli-service/node_modules/vue-loader-v16/dist/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!./EntrancePlantMessages.scss?vue&type=style&index=0&lang=scss\"","import { createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex align-items-start\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-chevron-left mr-1\" }, null, -1)\nconst _hoisted_3 = { class: \"mt-2\" }\nconst _hoisted_4 = { class: \"ml-auto d-flex align-items-center\" }\nconst _hoisted_5 = { class: \"d-flex align-items-baseline justify-content-between\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = {\n key: 1,\n class: \"no-messages text-center\"\n}\nconst _hoisted_8 = { class: \"text-uppercase\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"fs-18 text-gray\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_TabPanel = _resolveComponent(\"TabPanel\")\n const _component_TabView = _resolveComponent(\"TabView\")\n const _component_MessageItem = _resolveComponent(\"MessageItem\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_DialogAddEditMessage = _resolveComponent(\"DialogAddEditMessage\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", null, [\n _createVNode(_component_router_link, {\n to: _ctx.backLink,\n class: \"fs-18 text-decoration-none text-gray\"\n }, {\n default: _withCtx(() => [\n _hoisted_2,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(\"general.backTo\")) + \": \" + _toDisplayString(_ctx.currentEntrancePlant.name), 1)\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createVNode(\"h1\", _hoisted_3, _toDisplayString(_ctx.$t(\"AppResourceEP.Messages\")), 1)\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_Button, {\n disabled: !_ctx.currentEntrancePlant.syncStatus?.canEditWithPropagation,\n class: \"p-button-rounded p-button-raised p-button--m\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.toggleAddEditMessage()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.NewGateMessage\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_TabView, {\n class: \"messages-list p-tabview--custom\",\n onTabChange: _cache[2] || (_cache[2] = ($event: any) => (_ctx.handleTabClick($event)))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_TabPanel, {\n header: _ctx.$t('AppResourceEP.ActiveMessage')\n }, null, 8, [\"header\"]),\n _createVNode(_component_TabPanel, {\n header: _ctx.$t('AppResourceEP.ExpiredMessages')\n }, null, 8, [\"header\"])\n ]),\n _: 1\n })\n ]),\n (_ctx.messagesList.length > 0)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_6, [\n _createVNode(_component_ElScrollbar, { class: \"message-card-list\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.messagesList, (message) => {\n return (_openBlock(), _createBlock(_component_MessageItem, {\n disableActions: !_ctx.currentEntrancePlant.syncStatus?.canEditWithPropagation,\n key: message.id,\n message: message,\n onEditMessage: _ctx.toggleAddEditMessage,\n onDeleteMessage: _ctx.handleDeleteMessage\n }, null, 8, [\"disableActions\", \"message\", \"onEditMessage\", \"onDeleteMessage\"]))\n }), 128))\n ]),\n _: 1\n })\n ]))\n : (_openBlock(), _createBlock(\"div\", _hoisted_7, [\n _createVNode(\"h1\", _hoisted_8, _toDisplayString(_ctx.$t(\"entrancePlant.noMessages\")), 1),\n (_ctx.tabSelected === _ctx.MessagesTab.active)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_9, _toDisplayString(_ctx.$t(\"entrancePlant.hintNewMessage\")), 1))\n : _createCommentVNode(\"\", true)\n ])),\n _createVNode(_component_DialogAddEditMessage, {\n messageToEdit: _ctx.messageToEdit,\n isVisible: _ctx.isVisibleAddEditMessage,\n onHideDialog: _cache[3] || (_cache[3] = ($event: any) => (_ctx.toggleAddEditMessage())),\n onUpdateList: _ctx.handleUpdateList\n }, null, 8, [\"messageToEdit\", \"isVisible\", \"onUpdateList\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"card__head d-flex aling-items-center\" }\nconst _hoisted_2 = { class: \"d-flex aling-items-center ml-2\" }\nconst _hoisted_3 = { class: \"bt-icon my-auto bt-icon--m\" }\nconst _hoisted_4 = { class: \"ml-3\" }\nconst _hoisted_5 = { class: \"mt-1 mb-0\" }\nconst _hoisted_6 = { class: \"my-0 text-gray\" }\nconst _hoisted_7 = { class: \"btn-stripped\" }\nconst _hoisted_8 = { class: \"btn-stripped text-danger\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_ElDropdownItem = _resolveComponent(\"ElDropdownItem\")\n const _component_ElDropdownMenu = _resolveComponent(\"ElDropdownMenu\")\n const _component_ElDropdown = _resolveComponent(\"ElDropdown\")\n const _component_Card = _resolveComponent(\"Card\")\n const _component_DialogConfirmDelete = _resolveComponent(\"DialogConfirmDelete\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(_component_Card, { class: \"message-card card--slim\" }, {\n content: _withCtx(() => [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"span\", _hoisted_3, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/entrancePlants/icon-message.svg`)\n ,\n \"aria-label\": \"icon-message\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"h6\", _hoisted_5, _toDisplayString(_ctx.message.title), 1),\n _createVNode(\"small\", _hoisted_6, _toDisplayString(_ctx.getValidTime()), 1)\n ])\n ]),\n _createVNode(_component_ElDropdown, {\n class: \"ml-auto my-auto p-button-text\",\n trigger: \"click\",\n placement: \"bottom-end\",\n \"popper-class\": \"el-dropdown__popper el-dropdown--context\"\n }, {\n dropdown: _withCtx(() => [\n _createVNode(_component_ElDropdownMenu, { style: {\"width\":\"300px\"} }, {\n default: _withCtx(() => [\n _createVNode(_component_ElDropdownItem, {\n disabled: _ctx.disableActions,\n onClick: _ctx.handleEditMessage\n }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_7, _toDisplayString(_ctx.$t(\"AppResource.Edit\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"]),\n _createVNode(_component_ElDropdownItem, {\n disabled: _ctx.disableActions,\n onClick: _ctx.toggleDeleteMessageConfirm\n }, {\n default: _withCtx(() => [\n _createVNode(\"button\", _hoisted_8, _toDisplayString(_ctx.$t(\"AppResource.Delete\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_Button, {\n label: _ctx.$t('AppResource.More'),\n class: \"ml-auto p-button-text\"\n }, null, 8, [\"label\"])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_DialogConfirmDelete, {\n \"is-visible\": _ctx.isVisibleDeleteMessageConfirm,\n title: _ctx.$t('AppResourceEP.GateMessageDeletionPopupTitle'),\n message: _ctx.$t('AppResourceEP.GateMessageDeletionPopupMessage'),\n onHideDialog: _ctx.toggleDeleteMessageConfirm,\n onConfirm: _ctx.handleDeleteMessage\n }, null, 8, [\"is-visible\", \"title\", \"message\", \"onHideDialog\", \"onConfirm\"])\n ], 64))\n}","import { PropType } from 'vue';\nimport { Options, Vue } from 'vue-class-component';\nimport { GateMessageDTO } from '@/../client-generator/generated-clients/plants';\nimport DialogConfirmDelete from '@/views/components/DialogConfirmDelete/DialogConfirmDelete.vue';\n\n@Options({\n name: 'messageItem',\n props: {\n message: {\n type: Object as PropType,\n required: true,\n },\n disableActions: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n components: { DialogConfirmDelete },\n emits: ['edit-message', 'delete-message'],\n})\nexport default class MessageItem extends Vue {\n message!: GateMessageDTO;\n isVisibleDeleteMessageConfirm = false;\n disableActions!: boolean;\n getValidTime() {\n const dateFrom = this.getParsedDate(this.message.durationSince);\n const dateTo = this.getParsedDate(this.message.durationUntil);\n\n return `From ${dateFrom} to ${dateTo}`;\n }\n\n getParsedDate(date?: Date) {\n if (!date) return '-';\n const options: any = {\n month: 'long',\n day: 'numeric',\n year: 'numeric',\n };\n return date.toLocaleString('en-GB', options);\n }\n\n handleEditMessage() {\n this.$emit('edit-message', this.message);\n }\n\n toggleDeleteMessageConfirm() {\n this.isVisibleDeleteMessageConfirm = !this.isVisibleDeleteMessageConfirm;\n }\n\n async handleDeleteMessage() {\n this.$emit('delete-message', this.message.id);\n }\n\n}\n","import { render } from \"./MessageItem.vue?vue&type=template&id=c4bfa566&ts=true\"\nimport script from \"./MessageItem.ts?vue&type=script&lang=ts\"\nexport * from \"./MessageItem.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 { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createTextVNode as _createTextVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header mb-4\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = {\n class: \"dialog-custom__content form-custom\",\n style: {\"height\":\"calc(100vh - 30%)\"}\n}\nconst _hoisted_4 = { class: \"dialog-message__grid\" }\nconst _hoisted_5 = { class: \"p-field\" }\nconst _hoisted_6 = {\n class: \"p-field-label\",\n for: \"messagetitle\"\n}\nconst _hoisted_7 = { class: \"p-field\" }\nconst _hoisted_8 = {\n class: \"p-field-label mb-3\",\n for: \"messagetext\"\n}\nconst _hoisted_9 = { class: \"message-text\" }\nconst _hoisted_10 = { class: \"p-field-label char-remain-count\" }\nconst _hoisted_11 = { class: \"p-field\" }\nconst _hoisted_12 = { class: \"p-field-label mb-3\" }\nconst _hoisted_13 = { class: \"p-field mt-3\" }\nconst _hoisted_14 = { class: \"p-field-label\" }\nconst _hoisted_15 = { class: \"p-field mt-3\" }\nconst _hoisted_16 = { class: \"p-field-label\" }\nconst _hoisted_17 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_Textarea = _resolveComponent(\"Textarea\")\n const _component_ListItemCheck = _resolveComponent(\"ListItemCheck\")\n const _component_Calendar = _resolveComponent(\"Calendar\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.isDialogVisible = $event)),\n showHeader: false,\n modal: true,\n onHide: _ctx.doHideDialog,\n class: \"dialog-custom dialog-message\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.dialogTitle), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"div\", null, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.$t(\"AppResourceEP.GateMessateTitleUpper\")), 1),\n _createVNode(_component_InputText, {\n modelValue: _ctx.message.title,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.message.title = $event)),\n id: \"messagetitle\",\n type: \"text\",\n class: \"w-100\",\n validator: '/^(?!\\s).+(? (_ctx.message.text = $event)),\n class: \"message-text__area\",\n id: \"messagetext\",\n maxlength: _ctx.messageMaxLength\n }, null, 8, [\"modelValue\", \"maxlength\"]),\n _createVNode(\"label\", _hoisted_10, _toDisplayString(`${_ctx.remainingChars} ${_ctx.$t(\n \"AppResourceEP.HomepageMessageRemaingChar\"\n )}`), 1)\n ])\n ]),\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(\"label\", _hoisted_12, _toDisplayString(_ctx.$t(\"AppResourceEP.SelectGateMessage\")), 1),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.currentEntrancePlant.gates, (g, gateIdx) => {\n return (_openBlock(), _createBlock(\"div\", {\n key: g.gateId\n }, [\n _createVNode(_component_ListItemCheck, {\n modelValue: _ctx.message.gateIds,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.message.gateIds = $event)),\n label: g.name,\n value: g.gateId,\n name: \"specificGate\",\n inputId: 'specificg' + gateIdx,\n last: \n gateIdx ==\n _ctx.currentEntrancePlantGatesCount - 1\n \n }, null, 8, [\"modelValue\", \"label\", \"value\", \"inputId\", \"last\"])\n ]))\n }), 128))\n ])\n ]),\n _createVNode(\"div\", null, [\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"label\", _hoisted_14, _toDisplayString(_ctx.$t(\"AppResource.FromTime\")), 1),\n _createVNode(_component_Calendar, {\n class: \"w-50\",\n modelValue: _ctx.message.durationSince,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.message.durationSince = $event)),\n \"min-date\": _ctx.minDate,\n \"max-date\": _ctx.maxDate,\n dateFormat: \"dd MM yy\",\n manualInput: false,\n showIcon: \"\",\n icon: \"pi pi-chevron-down\"\n }, null, 8, [\"modelValue\", \"min-date\", \"max-date\"]),\n _createVNode(_component_Calendar, {\n class: \"ml-4\",\n modelValue: _ctx.message.durationSince,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.message.durationSince = $event)),\n timeOnly: \"\",\n manualInput: false,\n showIcon: \"\",\n icon: \"pi pi-chevron-down\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_15, [\n _createVNode(\"label\", _hoisted_16, _toDisplayString(_ctx.$t(\"AppResource.ToTime\")), 1),\n _createVNode(_component_Calendar, {\n class: \"w-50\",\n modelValue: _ctx.message.durationUntil,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.message.durationUntil = $event)),\n dateFormat: \"dd MM yy\",\n showIcon: \"\",\n icon: \"pi pi-chevron-down\",\n manualInput: false,\n \"min-date\": _ctx.minDurationUntilDate,\n \"max-date\": \n new Date(\n _ctx.startDate.getFullYear(),\n _ctx.startDate.getMonth(),\n _ctx.startDate.getDate() + 365\n )\n \n }, null, 8, [\"modelValue\", \"min-date\", \"max-date\"]),\n _createVNode(_component_Calendar, {\n class: \"ml-4\",\n modelValue: _ctx.message.durationUntil,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.message.durationUntil = $event)),\n timeOnly: \"\",\n manualInput: false,\n showIcon: \"\",\n icon: \"pi pi-chevron-down\",\n minDate: \n _ctx.message.durationSince &&\n _ctx.message.durationSince > new Date()\n ? _ctx.message.durationSince\n : new Date()\n \n }, null, 8, [\"modelValue\", \"minDate\"])\n ])\n ])\n ])\n ]),\n _createVNode(\"footer\", _hoisted_17, [\n _createVNode(_component_Button, {\n class: \"p-button-text mr-2\",\n onClick: _ctx.handleHideDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_Button, {\n label: \n _ctx.isEdit ? _ctx.$t('AppResource.Save') : _ctx.$t('AppResource.Create')\n ,\n onClick: _ctx.handleButtonSubmitAction,\n class: \"p-button-rounded p-button-raised p-button--m\",\n disabled: _ctx.saveButtonDisabled\n }, null, 8, [\"label\", \"onClick\", \"disabled\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { Options, Vue } from 'vue-class-component';\nimport { mapState } from 'vuex';\nimport {\n EntrancePlantDetailDTO,\n GateMessageDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport ListItemCheck from '@/views/components/ListItemCheck/ListItemCheck.vue';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport plantsClient from '@/core/services/plants';\nimport { PropType } from 'vue';\n\n@Options({\n name: 'DialogAddEditMessage',\n data() {\n const today = new Date();\n const nextYear = new Date(today);\n nextYear.setFullYear(today.getFullYear() + 1);\n \n return {\n minDate: today,\n maxDate: nextYear,\n startDate: today,\n endDate: new Date(today.getFullYear(), today.getMonth(), today.getDate() + 1)\n };\n },\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n messageToEdit: {\n type: Object as PropType,\n required: false,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant']),\n minDurationUntilDate() {\n const nextDay = new Date(this.message.durationSince);\n nextDay.setDate(this.message.durationSince.getDate());\n return nextDay;\n }\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n if (this.isDialogVisible) {\n this.initMessage();\n }\n },\n 'message.durationSince': function (newValue) {\n if (newValue > this.message.durationUntil) {\n this.message.durationUntil = this.nextValidDurationUntil(newValue);\n }\n },\n },\n methods: {\n resetMinutes(date:Date) {\n if (date) {\n date.setMinutes(0, 0, 0);\n return date;\n }\n }\n },\n components: { ListItemCheck },\n emits: ['hide-dialog', 'update-list'],\n})\nexport default class DialogAddEditMessage extends Vue {\n[x: string]: any;\n messageToEdit!: GateMessageDTO;\n currentEntrancePlant!: EntrancePlantDetailDTO;\n\n message: GateMessageDTO = new GateMessageDTO();\n messageMaxLength = 225;\n isVisible!: boolean;\n isDialogVisible = false;\n isEdit = false;\n\n get dialogTitle() {\n return this.isEdit\n ? this.$t('AppResourceEP.EditGateMessage')\n : this.$t('AppResourceEP.NewGateMessage');\n }\n\n get currentEntrancePlantGatesCount() {\n return this.currentEntrancePlant.gates?.length ?? 0;\n }\n\n get remainingChars() {\n if (!this.message.text) return this.messageMaxLength;\n return this.messageMaxLength - this.message.text.length;\n }\n\n nextValidDurationUntil(value: Date) {\n const nextValidDurationUntil = new Date(value);\n\n nextValidDurationUntil.setHours(value.getHours() + 1);\n\n return nextValidDurationUntil;\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n initMessage() {\n if (this.messageToEdit) {\n this.isEdit = true;\n this.message = new GateMessageDTO(this.messageToEdit);\n } else {\n this.isEdit = false;\n this.message = new GateMessageDTO({\n title: '',\n text: '',\n durationSince: new Date(),\n durationUntil: this.nextValidDurationUntil(new Date()),\n gateIds: [],\n });\n this.message.durationSince?.setHours(\n this.message.durationSince.getHours() + 1\n );\n this.message.durationSince?.setMinutes(0);\n this.message.durationUntil = this.nextValidDurationUntil(\n this.message.durationSince!\n );\n }\n }\n\n async handleButtonSubmitAction() {\n this.isDialogVisible = false;\n\n await this.saveGateMessage();\n\n this.$emit('update-list');\n this.$toast.add({\n severity: 'success',\n summary: this.isEdit ? this.$t('entrancePlant.gateMessageEdited') : this.$t('AppResourceEP.GateMessageBannerCreated'),\n closable: false,\n life: 3000,\n });\n const summary = this.$t('general.synced');\n setTimeout(() => {\n this.$toast.add({\n severity: 'success',\n summary: summary,\n closable: false,\n life: 3000,\n });\n }, 1500);\n }\n\n async saveGateMessage() {\n if (this.currentEntrancePlant.desktopId === undefined) return;\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n if (this.isEdit) {\n await plantsClient.gatemessagePUT(\n this.currentEntrancePlant.desktopId,\n this.message\n );\n } else {\n await plantsClient.gatemessagePOST(\n this.currentEntrancePlant.desktopId,\n this.message\n );\n }\n } catch (error) {\n console.log(error);\n setTimeout(() => {\n this.$toast.add({\n severity: 'error',\n summary: 'Error',\n closable: false,\n life: 3000,\n });\n }, 1500);\n } finally {\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n }\n\n get saveButtonDisabled() {\n return !this.message.title || this.message.title.trim().length === 0;\n }\n}\n","import { render } from \"./DialogAddEditMessage.vue?vue&type=template&id=cfd033e8&ts=true\"\nimport script from \"./DialogAddEditMessage.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogAddEditMessage.ts?vue&type=script&lang=ts\"\n\nimport \"./DialogAddEditMessage.scss?vue&type=style&index=0&lang=scss\"\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 {\n EntrancePlantDetailDTO,\n GateMessageDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { mapState } from 'vuex';\nimport { Options, Vue } from 'vue-class-component';\nimport MessageItem from './MessageItem/MessageItem.vue';\nimport DialogAddEditMessage from './DialogAddEditMessage/DialogAddEditMessage.vue';\nimport plantsClient from '@/core/services/plants';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\n\nenum MessageTab {\n active = 'active',\n expired = 'expired',\n}\n\n@Options({\n name: 'EntrancePlantMessages',\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n components: { DialogAddEditMessage, MessageItem },\n emits: ['update-list'],\n})\nexport default class EntrancePlantMessages extends Vue {\n MessagesTab = MessageTab;\n currentEntrancePlant!: EntrancePlantDetailDTO;\n tabSelected: MessageTab = MessageTab.active;\n isVisibleAddEditMessage = false;\n messageToEdit: GateMessageDTO | null = null;\n\n async mounted() {}\n\n get backLink() {\n return {\n name: 'page-entranceplant-dashboard',\n params: this.$route.params,\n };\n }\n\n get messages() {\n return this.currentEntrancePlant.gateMessages;\n }\n\n get messagesList() {\n let messagesFilteredList: GateMessageDTO[] = [];\n const today = new Date();\n\n if (this.messages) {\n switch (this.tabSelected) {\n case MessageTab.active:\n messagesFilteredList = this.messages.filter(\n (message) =>\n !message.durationUntil ||\n message.durationUntil.getTime() >= today.getTime()\n );\n break;\n\n case MessageTab.expired:\n messagesFilteredList = this.messages.filter(\n (message) =>\n message.durationUntil &&\n message.durationUntil.getTime() < today.getTime()\n );\n break;\n }\n }\n\n return messagesFilteredList;\n }\n\n handleTabClick(event: { index: number }) {\n this.setSelectionCriteria(\n event.index === 0 ? MessageTab.active : MessageTab.expired\n );\n }\n\n setSelectionCriteria(selectionCriteria: MessageTab) {\n this.tabSelected = selectionCriteria;\n }\n\n toggleAddEditMessage(messageToEdit?: GateMessageDTO) {\n this.messageToEdit = messageToEdit ?? null;\n this.isVisibleAddEditMessage = !this.isVisibleAddEditMessage;\n }\n\n handleUpdateList() {\n this.$emit('update-list');\n }\n\n async handleDeleteMessage(messageId: string) {\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n await plantsClient.gatemessageDELETE(\n this.currentEntrancePlant.desktopId as number,\n messageId\n );\n\n this.$emit('update-list');\n setTimeout(() => {\n this.$toast.add({\n severity: 'success',\n summary: this.$t('AppResourceEP.GateMessageBannerDeleted'),\n closable: false,\n life: 3000,\n });\n }, 1500);\n } catch {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 3000,\n });\n } finally {\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n }\n}\n","import { render } from \"./EntrancePlantMessages.vue?vue&type=template&id=12f19104&ts=true\"\nimport script from \"./EntrancePlantMessages.ts?vue&type=script&lang=ts\"\nexport * from \"./EntrancePlantMessages.ts?vue&type=script&lang=ts\"\n\nimport \"./EntrancePlantMessages.scss?vue&type=style&index=0&lang=scss\"\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__"],"sourceRoot":""}