{"version":3,"sources":["webpack:///./src/components/conversationVm.vue?e1c7","webpack:///./src/components/conversationVm.vue?11c4","webpack:///./src/components/conversationVm.vue?5d39","webpack:///./src/components/conversationVm.vue","webpack:///./src/components/removable.vue?d434","webpack:///./src/assets/img/plus.svg","webpack:///./src/components/removable.vue?0fb0","webpack:///./src/components/removable.vue?d336","webpack:///./src/components/removable.vue","webpack:///./src/assets/img/chevronLeft.svg","webpack:///./src/assets/img/chat/chatRequest_off.png","webpack:///./src/assets/img/chat/chat_off.svg","webpack:///./src/views/chat/views/chats.vue?a4b7","webpack:///./src/views/chat/modals/newChatModal.vue?b907","webpack:///./src/views/chat/modals/newGroupModal.vue?1e80","webpack:///./src/views/chat/modals/newGroupModal2.vue?08a5","webpack:///./src/views/chat/modals/newGroupModal2.vue?6b81","webpack:///./src/views/chat/modals/newGroupModal2.vue","webpack:///./src/views/chat/modals/newGroupModal.vue?2732","webpack:///./src/views/chat/modals/newGroupModal.vue","webpack:///./src/views/chat/modals/newChatModal.vue?93a3","webpack:///./src/views/chat/modals/newChatModal.vue","webpack:///./src/views/chat/views/chats.vue?8ea2","webpack:///./src/views/chat/views/chats.vue","webpack:///./src/assets/img/icon_bin.svg","webpack:///./src/assets/img/search.svg","webpack:///./src/assets/img/chat/chat_on.svg","webpack:///./src/assets/img/chat/chatRequest_on.svg","webpack:///./src/assets/img/received.svg","webpack:///./src/assets/img/chevronRight.svg","webpack:///./src/assets/img/sended.svg"],"names":["_withId","_hoisted_1","class","_hoisted_2","_hoisted_3","key","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","src","_hoisted_9","render","_ctx","_cache","$props","$setup","$data","$options","_directive_userimage","onClick","args","openProfile","$store","state","newChatMessages","indexOf","item","identifier","getUserImage","userIdentifier","name","lastMessage","innerHTML","text","$filters","chatDate","date","type","fromUser","user","this","doProfileNavigation","$router","push","default","__exports__","module","exports","showBin","_show","bin","$slots","undefined","binTimer","$emit","setTimeout","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_component_localized_text","_component_mini_spinner","_component_conversation_vm","$event","openSearchModal","localizedKey","activeTab","requests","length","loadingConversations","chats","openChat","loadingRequests","openRequest","newChat","_directive_localizedPlaceholder","onInput","debouncia","value","createChatRoom","loading","users","i","open","vm","participants","select","selected","disabled","next","_component_user_profile_image","_component_file_selector","modelValue","image","preview","_","description","createRoom","canSend","placeholder","LocalizationServices","getLocalizedValue","trim","prev","makePreview","reader","FileReader","onload","e","target","result","readAsDataURL","then","x","updateChatroomImage","y","$opModal","closeAll","components","Removable","FileInput","search","debouncer","doSearch","finally","getAllAsNameIdentifier","ind","findIndex","splice","clearTimeout","show","store","selectedUser","Promise","all","checkRequestSent","checkConversationExisting","xs","init","getRequestsSent","getRequestsReceived","concat","getConversationsAndRooms","StorageServices","setChatListVmList","ConversationVm"],"mappings":"kHAAA,W,4FCIA,MAAMA,EAAuB,eAAa,mBAE1C,eAAa,mBACb,MAAMC,EAAa,CAAEC,MAAO,mCACtBC,EAAa,CAAED,MAAO,6BACtBE,EAAa,CACjBC,IAAK,EACLH,MAAO,oBAEHI,EAAa,CAAEJ,MAAO,QACtBK,EAAa,CAAEL,MAAO,gCACtBM,EAAa,CACjBH,IAAK,EACLH,MAAO,4BAEHO,EAAa,CACjBJ,IAAK,EACLH,MAAO,eAEHQ,EAAa,CACjBL,IAAK,EACLM,IAAK,KAEDC,EAAa,CACjBP,IAAK,EACLM,IAAK,KAEP,iBAEO,MAAME,EAAsBb,EAAQ,CAACc,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,KACnG,MAAMC,EAAuB,eAAkB,aAE/C,OAAQ,iBAAc,eAAa,MAAOnB,EAAY,CACpD,eAAa,MAAOE,EAAY,CAC9B,eAAgB,eAAa,MAAO,CAClCD,MAAO,8BACPmB,QAASN,EAAO,KAAOA,EAAO,GAAK,eAE3C,IAAIO,IAAUR,EAAKS,aAAeT,EAAKS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,IAAI,CACR,OAAoBK,iBAAgB,GACpC,OAAoBC,qBAAoB,KAE3C5B,KAAKyB,IACFtG,KAAKgC,SAAWsE,EAAG,GAAGI,OAAOJ,EAAG,MAGnCb,QAAQ,IAAMzF,KAAKqC,iBAAkB,GAEtCrC,KAAKkC,sBAAuB,EAC5B,OAAeyE,yBAAyBX,GAAA,KAAMjH,MAAMgB,KAAKZ,YAAY,GACpE0F,KAAKC,IACF9E,KAAKmC,MAAQ2C,EACb8B,EAAA,KAAgBC,kBAAkB/B,KAErCW,QAAQ,IAAMzF,KAAKkC,sBAAuB,GAG/C,kBACIlC,KAAKE,QAAQC,KAAK,yBAGtB,YAAYjB,GACRc,KAAKE,QAAQC,KAAK,kBAAoBjB,EAAKC,YAG/C,SAASD,GACLc,KAAKE,QAAQC,KAAK,UAAYjB,EAAKC,YAGvC,UACIa,KAAKiF,SAASc,KAAK,GAAc,MA/CpB,GAAK,gBALzB,eAAQ,CACLZ,WAAY,CACR2B,eAAA,WAGa,cCTrB,MAAM,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAAS3I,KAErD,iB,uBCPfmC,EAAOC,QAAU,IAA0B,6B,uBCA3CD,EAAOC,QAAU,IAA0B,2B,qBCA3CD,EAAOC,QAAU,IAA0B,4B,qBCA3CD,EAAOC,QAAU,IAA0B,mC,qBCA3CD,EAAOC,QAAU,IAA0B,6B,4CCA3CD,EAAOC,QAAU,IAA0B,iC,qBCA3CD,EAAOC,QAAU,IAA0B","file":"js/chunk-ef2de628af35778ab4fe.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./conversationVm.vue?vue&type=style&index=0&id=4e683bf5&scoped=true&lang=css\"","import { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, resolveDirective as _resolveDirective, createVNode as _createVNode, withDirectives as _withDirectives, toDisplayString as _toDisplayString, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/img/sended.svg'\nimport _imports_1 from '@/assets/img/received.svg'\n\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-4e683bf5\")\n\n_pushScopeId(\"data-v-4e683bf5\")\nconst _hoisted_1 = { class: \"chatRow justify-content-between\" }\nconst _hoisted_2 = { class: \"d-flex align-items-center\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"pallinoNotifiche\"\n}\nconst _hoisted_4 = { class: \"data\" }\nconst _hoisted_5 = { class: \"fs_16 greyBlue d-block ln_12\" }\nconst _hoisted_6 = {\n key: 1,\n class: \"fs_10 grey d-block ln_12\"\n}\nconst _hoisted_7 = {\n key: 0,\n class: \"requestType\"\n}\nconst _hoisted_8 = {\n key: 0,\n src: _imports_0\n}\nconst _hoisted_9 = {\n key: 1,\n src: _imports_1\n}\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _directive_userimage = _resolveDirective(\"userimage\")!\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _withDirectives(_createVNode(\"div\", {\n class: \"userImage position-relative\",\n onClick: _cache[1] || (_cache[1] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.openProfile && _ctx.openProfile(...args)), [\"stop\",\"prevent\"]))\n }, [\n (_ctx.$store.state.newChatMessages && _ctx.$store.state.newChatMessages.indexOf(_ctx.item.identifier) != -1)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_3))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_directive_userimage, _ctx.$store.state.getUserImage(_ctx.item.userIdentifier)]\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.item.name), 1),\n (_ctx.item.lastMessage)\n ? (_openBlock(), _createBlock(\"span\", {\n key: 0,\n class: \"fs_12 greyBlue d-block ln_12 message\",\n innerHTML: _ctx.item.lastMessage.text\n }, null, 8, [\"innerHTML\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.item.lastMessage)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_6, _toDisplayString(_ctx.$filters.chatDate(_ctx.item.lastMessage.date)), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.item.type == 'FriendRequest')\n ? (_openBlock(), _createBlock(\"div\", _hoisted_7, [\n ((_ctx.item as any).fromUser == _ctx.$store.state.user.identifier)\n ? (_openBlock(), _createBlock(\"img\", _hoisted_8))\n : (_openBlock(), _createBlock(\"img\", _hoisted_9))\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n})","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { Prop } from 'vue-property-decorator';\r\nimport * as OM from '@/model';\r\n\r\n@Options({})\r\nexport default class ConversationVm extends Vue {\r\n\r\n @Prop() item: OM.ChatListVm | OM.FriendRequestRoomVm;\r\n\r\n @Prop({\r\n default: false\r\n }) doProfileNavigation: boolean;\r\n\r\n created() {\r\n }\r\n\r\n openProfile() {\r\n if(this.doProfileNavigation) {\r\n this.$router.push('/profile/' + this.item.identifier);\r\n }\r\n }\r\n\r\n}\r\n\r\n","import { render } from \"./conversationVm.vue?vue&type=template&id=4e683bf5&scoped=true&ts=true\"\nimport script from \"./conversationVm.vue?vue&type=script&lang=ts\"\nexport * from \"./conversationVm.vue?vue&type=script&lang=ts\"\n\nimport \"./conversationVm.vue?vue&type=style&index=0&id=4e683bf5&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4e683bf5\"]])\n\nexport default __exports__","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./removable.vue?vue&type=style&index=0&id=1dc4ab25&scoped=true&lang=css\"","module.exports = __webpack_public_path__ + \"img/plus.d362d88f.svg\";","import { createVNode as _createVNode, renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/img/icon_bin.svg'\n\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-1dc4ab25\")\n\n_pushScopeId(\"data-v-1dc4ab25\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_0 }, null, -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: \"position-relative\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.showBin && _ctx.showBin(...args)))\n }, [\n _createVNode(\"div\", {\n class: [\"_pallinoRosso\", { _show: _ctx.bin }]\n }, [\n _hoisted_1\n ], 2),\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n})","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { Prop } from 'vue-property-decorator';\r\n\r\n@Options({})\r\nexport default class Removable extends Vue {\r\n\r\n @Prop() url: string;\r\n\r\n bin: boolean = false;\r\n binTimer: any = null;\r\n showBin(){\r\n if(this.bin){\r\n this.$emit('remove');\r\n return;\r\n }\r\n this.bin = true;\r\n this.binTimer = setTimeout(() => {\r\n this.bin = false;\r\n }, 600);\r\n }\r\n\r\n}\r\n\r\n","import { render } from \"./removable.vue?vue&type=template&id=1dc4ab25&scoped=true&ts=true\"\nimport script from \"./removable.vue?vue&type=script&lang=ts\"\nexport * from \"./removable.vue?vue&type=script&lang=ts\"\n\nimport \"./removable.vue?vue&type=style&index=0&id=1dc4ab25&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1dc4ab25\"]])\n\nexport default __exports__","module.exports = __webpack_public_path__ + \"img/chevronLeft.86209808.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAzIDc5LjE2NDUyNywgMjAyMC8xMC8xNS0xNzo0ODozMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXA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QTgNlw0DSDe77B4o7yhVS+u8Yqs5Xs3pr2d7J9ke8fnkai8VisVgsFovFYrFYNPVXgAEAx3Cc1IJbiCoAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"img/chat_off.778f23cd.svg\";","import { createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '@/assets/img/search.svg'\nimport _imports_1 from '@/assets/img/chat/chat_on.svg'\nimport _imports_2 from '@/assets/img/chat/chat_off.svg'\nimport _imports_3 from '@/assets/img/chat/chatRequest_on.svg'\nimport _imports_4 from '@/assets/img/chat/chatRequest_off.png'\nimport _imports_5 from '@/assets/img/plus.svg'\n\n\nconst _hoisted_1 = { class: \"hasHeader hasFooter\" }\nconst _hoisted_2 = { class: \"header withShadow\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_0 }, null, -1)\nconst _hoisted_4 = { class: \"tabContainer\" }\nconst _hoisted_5 = {\n key: 0,\n src: _imports_1\n}\nconst _hoisted_6 = {\n key: 1,\n src: _imports_2\n}\nconst _hoisted_7 = {\n key: 2,\n class: \"activeBar active\"\n}\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = { class: \"pallinoNotifiche\" }\nconst _hoisted_10 = {\n key: 1,\n src: _imports_3\n}\nconst _hoisted_11 = {\n key: 2,\n src: _imports_4\n}\nconst _hoisted_12 = {\n key: 3,\n class: \"activeBar active\"\n}\nconst _hoisted_13 = { key: 0 }\nconst _hoisted_14 = {\n key: 1,\n class: \"mt-3\"\n}\nconst _hoisted_15 = { key: 1 }\nconst _hoisted_16 = {\n key: 1,\n class: \"mt-3\"\n}\nconst _hoisted_17 = { class: \"squareActionButtonsContainer\" }\nconst _hoisted_18 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_5 }, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_localized_text = _resolveComponent(\"localized-text\")!\n const _component_mini_spinner = _resolveComponent(\"mini-spinner\")!\n const _component_conversation_vm = _resolveComponent(\"conversation-vm\")!\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n class: \"searchContainer\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.openSearchModal()))\n }, [\n _hoisted_3,\n _createVNode(_component_localized_text, {\n class: \"fs_12 greyBlue ms-2\",\n localizedKey: \"app_chatSearchText\",\n text: \"Chat, utenti...\"\n })\n ])\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"div\", {\n class: \"tab\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.activeTab = 'chats'))\n }, [\n (_ctx.activeTab == 'chats')\n ? (_openBlock(), _createBlock(\"img\", _hoisted_5))\n : (_openBlock(), _createBlock(\"img\", _hoisted_6)),\n _createVNode(_component_localized_text, {\n localizedKey: \"app_chats\",\n text: \"Chats\",\n class: _ctx.activeTab == 'chats' ? 'fs_10 d-block mt-1 spaceCadet' : 'fs_10 d-block mt-1 grey'\n }, null, 8, [\"class\"]),\n (_ctx.activeTab == 'chats')\n ? (_openBlock(), _createBlock(\"div\", _hoisted_7))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", {\n class: \"tab\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.activeTab = 'requests'))\n }, [\n (_ctx.requests.length > 0)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_8, [\n _createVNode(\"div\", _hoisted_9, _toDisplayString(_ctx.requests.length), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.activeTab == 'requests')\n ? (_openBlock(), _createBlock(\"img\", _hoisted_10))\n : (_openBlock(), _createBlock(\"img\", _hoisted_11)),\n _createVNode(_component_localized_text, {\n localizedKey: \"app_requests\",\n text: \"Richieste\",\n class: _ctx.activeTab == 'requests' ? 'fs_10 d-block mt-1 spaceCadet' : 'fs_10 d-block mt-1 grey'\n }, null, 8, [\"class\"]),\n (_ctx.activeTab == 'requests')\n ? (_openBlock(), _createBlock(\"div\", _hoisted_12))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.activeTab == 'chats')\n ? (_openBlock(), _createBlock(\"div\", _hoisted_13, [\n (_ctx.loadingConversations)\n ? (_openBlock(), _createBlock(_component_mini_spinner, {\n key: 0,\n class: \"mt-5\"\n }))\n : (_openBlock(), _createBlock(\"div\", _hoisted_14, [\n (_ctx.chats.length == 0)\n ? (_openBlock(), _createBlock(_component_localized_text, {\n key: 0,\n localizedKey: \"app_nessunaChatPresente\",\n text: \"Nessuna chat presente\",\n class: 'fs_14 grey d-block text-center mt-5'\n }))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.chats, (item) => {\n return (_openBlock(), _createBlock(_component_conversation_vm, {\n item: item,\n key: item.identifier,\n onClick: ($event: any) => (_ctx.openChat(item))\n }, null, 8, [\"item\", \"onClick\"]))\n }), 128))\n ]))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.activeTab == 'requests')\n ? (_openBlock(), _createBlock(\"div\", _hoisted_15, [\n (_ctx.loadingRequests)\n ? (_openBlock(), _createBlock(_component_mini_spinner, {\n key: 0,\n class: \"mt-5\"\n }))\n : (_openBlock(), _createBlock(\"div\", _hoisted_16, [\n (_ctx.requests.length == 0)\n ? (_openBlock(), _createBlock(_component_localized_text, {\n key: 0,\n localizedKey: \"app_nessunaRichiestaPresente\",\n text: \"Nessuna richiesta presente\",\n class: 'fs_14 grey d-block text-center mt-5'\n }))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.requests, (item) => {\n return (_openBlock(), _createBlock(_component_conversation_vm, {\n item: item,\n key: item.identifier,\n onClick: ($event: any) => (_ctx.openRequest(item))\n }, null, 8, [\"item\", \"onClick\"]))\n }), 128))\n ]))\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_17, [\n _createVNode(\"div\", {\n class: \"squareButton\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.newChat()))\n }, [\n _hoisted_18\n ])\n ])\n ]))\n}","import { createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString } from \"vue\"\nimport _imports_0 from '@/assets/img/chevronLeft.svg'\nimport _imports_1 from '@/assets/img/search.svg'\nimport _imports_2 from '@/assets/img/chevronRight.svg'\n\n\nconst _hoisted_1 = { class: \"hasHeader bgWhite fullHeightModal\" }\nconst _hoisted_2 = { class: \"header withShadow d-flex aling-items-center justify-content-between\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_0 }, null, -1)\nconst _hoisted_4 = { class: \"searchContainer\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_1 }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"div\", { class: \"socialImage groupImage\" }, null, -1)\nconst _hoisted_7 = { class: \"socialDetails w-100 d-flex align-items-center justify-content-between\" }\nconst _hoisted_8 = { class: \"socialName\" }\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_2 }, null, -1)\nconst _hoisted_10 = {\n key: 1,\n class: \"fs-14 text-center mt-3\"\n}\nconst _hoisted_11 = { class: \"socialImage\" }\nconst _hoisted_12 = { class: \"socialDetails\" }\nconst _hoisted_13 = { class: \"socialName\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_localized_text = _resolveComponent(\"localized-text\")!\n const _component_mini_spinner = _resolveComponent(\"mini-spinner\")!\n const _directive_localizedPlaceholder = _resolveDirective(\"localizedPlaceholder\")!\n const _directive_userimage = _resolveDirective(\"userimage\")!\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n class: \"ms-1 me-3 d-flex align-items-center\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('close')))\n }, [\n _hoisted_3\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n onInput: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.debouncia && _ctx.debouncia(...args))),\n class: \"searchInput ms-2\"\n }, null, 544), [\n [_directive_localizedPlaceholder, { key: 'app_cercaUtente', value: 'Cerca utente...' }]\n ])\n ])\n ]),\n _createVNode(\"div\", {\n class: \"socialRow\",\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.createChatRoom && _ctx.createChatRoom(...args)))\n }, [\n _hoisted_6,\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(_component_localized_text, {\n localizedKey: \"app_nuovogruppo\",\n text: \"Nuovo gruppo\",\n class: \"fs_14 greyBlue d-block ln_12\"\n }),\n _createVNode(_component_localized_text, {\n localizedKey: \"app_creanuovogruppo\",\n text: \"Crea un nuovo gruppo\",\n class: \"fs_12 grey d-block\"\n })\n ]),\n _hoisted_9\n ])\n ]),\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_mini_spinner, { key: 0 }))\n : (_ctx.users.length == 0)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_10, [\n _createVNode(_component_localized_text, {\n localizedKey: \"app_nessunutentetrovato\",\n text: \"Nessun utente trovato\",\n class: \"fs_14 greyBlue d-block mb-1\"\n })\n ]))\n : (_ctx.users.length > 0)\n ? (_openBlock(true), _createBlock(_Fragment, { key: 2 }, _renderList(_ctx.users, (item, i) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: \"socialRow\",\n key: i,\n onClick: ($event: any) => (_ctx.open(item))\n }, [\n _withDirectives(_createVNode(\"div\", _hoisted_11, null, 512), [\n [_directive_userimage, _ctx.$store.state.getUserImage(item.identifier)]\n ]),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"div\", _hoisted_13, _toDisplayString(item.name), 1)\n ])\n ], 8, [\"onClick\"]))\n }), 128))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString } from \"vue\"\nimport _imports_0 from '@/assets/img/chevronLeft.svg'\nimport _imports_1 from '@/assets/img/search.svg'\n\n\nconst _hoisted_1 = { class: \"hasHeader hasFooter bgWhite fullHeightModal\" }\nconst _hoisted_2 = { class: \"header withShadow d-flex aling-items-center justify-content-between\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_0 }, null, -1)\nconst _hoisted_4 = { class: \"searchContainer\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_1 }, null, -1)\nconst _hoisted_6 = { class: \"reteContainer\" }\nconst _hoisted_7 = { class: \"reteImage\" }\nconst _hoisted_8 = {\n key: 1,\n class: \"fs-14 text-center mt-3\"\n}\nconst _hoisted_9 = { class: \"checkboxLabel\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"activeCheckboxLabel\"\n}\nconst _hoisted_11 = { class: \"socialImage\" }\nconst _hoisted_12 = { class: \"socialDetails\" }\nconst _hoisted_13 = { class: \"socialName\" }\nconst _hoisted_14 = { class: \"footerButtonContainer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_localized_text = _resolveComponent(\"localized-text\")!\n const _component_mini_spinner = _resolveComponent(\"mini-spinner\")!\n const _directive_localizedPlaceholder = _resolveDirective(\"localizedPlaceholder\")!\n const _directive_userimage = _resolveDirective(\"userimage\")!\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n class: \"ms-1 me-3 d-flex align-items-center\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('close')))\n }, [\n _hoisted_3\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n onInput: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.debouncia && _ctx.debouncia(...args))),\n class: \"searchInput ms-2\"\n }, null, 544), [\n [_directive_localizedPlaceholder, { key: 'app_cercaUtente', value: 'Cerca utente...' }]\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_6, [\n (_ctx.vm.participants.length == 0)\n ? (_openBlock(), _createBlock(_component_localized_text, {\n key: 0,\n localizedKey: \"app_partecipanti\",\n text: \"Partecipanti\",\n class: \"fs_12 grey\"\n }))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.vm.participants, (item) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: \"reteItem\",\n key: item.identifier + '_selected'\n }, [\n _withDirectives(_createVNode(\"div\", _hoisted_7, null, 512), [\n [_directive_userimage, _ctx.$store.state.getUserImage(item.identifier)]\n ])\n ]))\n }), 128))\n ]),\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_mini_spinner, { key: 0 }))\n : (_ctx.users.length == 0)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_8, [\n _createVNode(_component_localized_text, {\n localizedKey: 'app_nessunutentetrovato',\n text: 'Nessun utente trovato'\n })\n ]))\n : (_ctx.users.length > 0)\n ? (_openBlock(true), _createBlock(_Fragment, { key: 2 }, _renderList(_ctx.users, (item) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: \"socialRow\",\n key: item.identifier + '_toselected',\n onClick: ($event: any) => (_ctx.select(item))\n }, [\n _createVNode(\"div\", _hoisted_9, [\n (item.selected)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_10))\n : _createCommentVNode(\"\", true)\n ]),\n _withDirectives(_createVNode(\"div\", _hoisted_11, null, 512), [\n [_directive_userimage, _ctx.$store.state.getUserImage(item.identifier)]\n ]),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"div\", _hoisted_13, _toDisplayString(item.name), 1)\n ])\n ], 8, [\"onClick\"]))\n }), 128))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(\"button\", {\n class: \"genericButton bgGreyBlue w-100\",\n disabled: _ctx.vm.participants.length == 0,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.next()))\n }, [\n _createVNode(_component_localized_text, {\n class: \"fs_14 white\",\n localizedKey: \"app_prosegui\",\n text: \"Prosegui\"\n })\n ], 8, [\"disabled\"])\n ])\n ]))\n}","import { createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, vModelText as _vModelText, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\nimport _imports_0 from '@/assets/img/chevronLeft.svg'\n\n\nconst _hoisted_1 = { class: \"genericPadding hasHeader hasFooter bgWhite fullHeightModal\" }\nconst _hoisted_2 = { class: \"header withShadow d-flex aling-items-center justify-content-between py-4\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"img\", { src: _imports_0 }, null, -1)\nconst _hoisted_4 = { class: \"text-center\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"div\", { class: \"sideContainer\" }, null, -1)\nconst _hoisted_6 = { class: \"horizontalForm mt-4\" }\nconst _hoisted_7 = { class: \"form-group squareInputContainer withLabel\" }\nconst _hoisted_8 = { class: \"form-group squareInputContainer withLabel mt-3\" }\nconst _hoisted_9 = { class: \"footerButtonContainer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_localized_text = _resolveComponent(\"localized-text\")!\n const _component_user_profile_image = _resolveComponent(\"user-profile-image\")!\n const _component_file_selector = _resolveComponent(\"file-selector\")!\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n class: \"sideContainer\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('close')))\n }, [\n _hoisted_3\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_localized_text, {\n class: \"fs_12 spaceCadet d-block ln_12\",\n localizedKey: \"app_nuovogruppo\",\n text: \"Nuovo gruppo\"\n }),\n _createVNode(_component_localized_text, {\n class: \"fs_12 greyBlue d-block ln_12\",\n localizedKey: \"app_aggiungiinformazioni\",\n text: \"Aggiungi informazioni\"\n })\n ]),\n _hoisted_5\n ]),\n _createVNode(_component_file_selector, {\n modelValue: _ctx.vm.image,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.vm.image = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_user_profile_image, {\n class: \"profileImageRound\",\n src: _ctx.preview\n }, null, 8, [\"src\"]),\n _createVNode(_component_localized_text, {\n localizedKey: \"app_cambiafotogruppo\",\n text: \"Cambia foto gruppo\",\n class: \"fs_14 grey d-block text-center mt-2\"\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"label\", null, [\n _createVNode(_component_localized_text, {\n localizedKey: \"app_nomegruppo\",\n text: \"Nome gruppo\",\n class: \"fs_12 grey\"\n })\n ]),\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n class: \"genericInput squareInput\",\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.vm.name = $event))\n }, null, 512), [\n [_vModelText, _ctx.vm.name]\n ])\n ]),\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(\"label\", null, [\n _createVNode(_component_localized_text, {\n localizedKey: \"app_inserisciDescrizioneGruppo\",\n text: \"Inserisci una descrizione per questo gruppo\",\n class: \"fs_12 grey\"\n })\n ]),\n _withDirectives(_createVNode(\"textarea\", {\n class: \"genericInput squareInput ptInput\",\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.vm.description = $event))\n }, null, 512), [\n [_vModelText, _ctx.vm.description]\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_9, [\n _createVNode(\"button\", {\n class: \"genericButton bgGreyBlue w-100\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.createRoom())),\n disabled: !_ctx.canSend\n }, [\n _createVNode(_component_localized_text, {\n class: \"fs_14 white\",\n localizedKey: \"app_creaGruppo\",\n text: \"Crea gruppo\"\n })\n ], 8, [\"disabled\"])\n ])\n ]))\n}","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { Prop, Watch } from 'vue-property-decorator';\r\nimport Removable from '@/components/removable.vue';\r\nimport FileInput from '@/components/fileInput.vue';\r\nimport * as VM from '@/viewModel';\r\nimport { ChatRoomClient } from '@/services/Services';\r\nimport { LocalizationServices } from '@/services/LocalizationServices';\r\n\r\n@Options({\r\n components: {\r\n Removable,\r\n FileInput\r\n }\r\n})\r\nexport default class NewGroupModal2 extends Vue {\r\n\r\n @Prop() vm: VM.CreateChatRoomVm;\r\n\r\n placeholder: string = \"\";\r\n loading: boolean = false;\r\n\r\n created() {\r\n this.placeholder = LocalizationServices.getLocalizedValue(\"app_scriviunadescrizione\", \"Scrivi una descrizione\");\r\n }\r\n\r\n get canSend() {\r\n if(!this.vm.name.trim() || this.vm.participants.length == 0 || !this.vm.image)\r\n return false;\r\n else\r\n return true;\r\n }\r\n\r\n preview: any = null;\r\n @Watch('vm.image')\r\n onImageChange(next, prev){\r\n this.makePreview();\r\n }\r\n makePreview(){\r\n if(this.vm.image){\r\n if(typeof this.vm.image == \"string\"){\r\n this.preview = this.vm.image;\r\n } else {\r\n var reader = new FileReader();\r\n reader.onload = (e: any) => {\r\n this.preview = e.target.result;\r\n }\r\n reader.readAsDataURL(this.vm.image);\r\n }\r\n }\r\n }\r\n\r\n createRoom(){\r\n if(!this.canSend)\r\n return;\r\n ChatRoomClient.createChatRoom(this.vm)\r\n .then(x => {\r\n ChatRoomClient.updateChatroomImage(x, this.vm.image)\r\n .then( y => {\r\n this.$opModal.closeAll();\r\n this.$router.push('/chats/' + x);\r\n })\r\n })\r\n }\r\n}\r\n\r\n","import { render } from \"./newGroupModal2.vue?vue&type=template&id=8592c62a&ts=true\"\nimport script from \"./newGroupModal2.vue?vue&type=script&lang=ts\"\nexport * from \"./newGroupModal2.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { UserClient } from '@/services/Services';\r\nimport Removable from '@/components/removable.vue';\r\nimport NewGroupModal2 from './newGroupModal2.vue';\r\nimport * as VM from '@/viewModel';\r\n\r\n@Options({\r\n components: {\r\n Removable\r\n }\r\n})\r\nexport default class NewGroupModal extends Vue {\r\n\r\n users: VM.NameIdentifierSelected[] = [];\r\n loading: boolean = true;\r\n search: string = \"\";\r\n vm: VM.CreateChatRoomVm = new VM.CreateChatRoomVm();\r\n\r\n mounted() {\r\n this.loading = false;\r\n this.doSearch();\r\n }\r\n \r\n doSearch() {\r\n if(!this.search.trim()) {\r\n this.loading = true;\r\n UserClient.getAllAsNameIdentifier()\r\n .then(x => {\r\n this.users = x;\r\n }).finally(() => this.loading = false)\r\n } else {\r\n this.loading = true;\r\n UserClient.search(this.search)\r\n .then(x => {\r\n this.users = x;\r\n }).finally(() => this.loading = false)\r\n }\r\n }\r\n\r\n select(item: VM.NameIdentifierSelected){\r\n let ind = this.vm.participants.findIndex(x => x.identifier == item.identifier);\r\n if(ind > -1) {\r\n item.selected = false;\r\n this.vm.participants.splice(ind, 1);\r\n } else {\r\n item.selected = true;\r\n this.vm.participants.push(item);\r\n }\r\n }\r\n\r\n debouncer: any = null;\r\n debouncia($event: any){\r\n this.search = $event.target.value;\r\n clearTimeout(this.debouncer);\r\n this.debouncer = setTimeout(() => {\r\n this.doSearch();\r\n }, 300);\r\n }\r\n\r\n next(){\r\n this.$opModal.show(NewGroupModal2, {\r\n vm: this.vm\r\n });\r\n }\r\n}\r\n\r\n","import { render } from \"./newGroupModal.vue?vue&type=template&id=2a0907d4&ts=true\"\nimport script from \"./newGroupModal.vue?vue&type=script&lang=ts\"\nexport * from \"./newGroupModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { UserClient, FriendRequestClient, ConversationRoomClient } from '@/services/Services';\r\nimport NewGroupModal from './newGroupModal.vue';\r\nimport store from '@/store';\r\nimport * as OM from '@/model';\r\nimport * as VM from '@/viewModel';\r\n\r\n@Options({})\r\nexport default class NewChatModal extends Vue {\r\n\r\n users: OM.NameIdentifier[] = [];\r\n loading: boolean = true;\r\n search: string = \"\";\r\n\r\n vm: VM.CreateChatRoomVm = new VM.CreateChatRoomVm();\r\n\r\n mounted() {\r\n this.loading = false;\r\n this.doSearch();\r\n }\r\n \r\n doSearch() {\r\n if(!this.search.trim()) {\r\n this.loading = true;\r\n UserClient.getAllAsNameIdentifier()\r\n .then(x => {\r\n this.users = x;\r\n }).finally(() => this.loading = false)\r\n } else {\r\n this.loading = true;\r\n UserClient.search(this.search)\r\n .then(x => {\r\n this.users = x;\r\n }).finally(() => this.loading = false)\r\n }\r\n }\r\n\r\n open(item: OM.NameIdentifier) {\r\n if(store.state.user.identifier == item.identifier)\r\n return;\r\n\r\n store.state.selectedUser = item;\r\n \r\n Promise.all([\r\n FriendRequestClient.checkRequestSent(item.identifier),\r\n ConversationRoomClient.checkConversationExisting(item.identifier),\r\n ])\r\n .then(xs => {\r\n if(!xs[0] && !xs[1]){\r\n this.$router.push('/chats/newRequest/' + item.identifier);\r\n } else if(xs[0]){\r\n this.$router.push('/chats/request/' + xs[0]);\r\n } else if(xs[1]){\r\n this.$router.push('/chats/' + xs[1]);\r\n }\r\n this.$emit('close');\r\n })\r\n }\r\n\r\n createChatRoom() {\r\n this.$opModal.show(NewGroupModal, {})\r\n }\r\n\r\n debouncer: any = null;\r\n debouncia($event: any) {\r\n this.search = $event.target.value;\r\n clearTimeout(this.debouncer);\r\n this.debouncer = setTimeout(() => {\r\n this.doSearch();\r\n }, 300);\r\n }\r\n}\r\n\r\n","import { render } from \"./newChatModal.vue?vue&type=template&id=69c843b1&ts=true\"\nimport script from \"./newChatModal.vue?vue&type=script&lang=ts\"\nexport * from \"./newChatModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\nimport { Options, Vue } from 'vue-class-component';\r\nimport { BaseChatClient, FriendRequestClient } from '@/services/Services';\r\nimport { StorageServices } from '@/services/StorageServices';\r\nimport ConversationVm from '@/components/conversationVm.vue';\r\nimport NewChatModal from '../modals/newChatModal.vue';\r\nimport store from '@/store';\r\nimport * as OM from '@/model';\r\n\r\n@Options({\r\n components: {\r\n ConversationVm\r\n }\r\n})\r\nexport default class Chats extends Vue {\r\n\r\n loadingConversations: boolean = false;\r\n loadingRequests: boolean = false;\r\n chats: OM.ChatListVm[] = [];\r\n requests: OM.FriendRequestRoomVm[] = [];\r\n\r\n activeTab: string = \"chats\";\r\n\r\n created() {\r\n this.init();\r\n }\r\n\r\n init() {\r\n this.loadingRequests = true;\r\n Promise.all([\r\n FriendRequestClient.getRequestsSent(false),\r\n FriendRequestClient.getRequestsReceived(false)\r\n ])\r\n .then(xs => {\r\n this.requests = xs[0].concat(xs[1]);\r\n \r\n })\r\n .finally(() => this.loadingRequests = false);\r\n \r\n this.loadingConversations = true;\r\n BaseChatClient.getConversationsAndRooms(store.state.user.identifier, false)\r\n .then(x => {\r\n this.chats = x;\r\n StorageServices.setChatListVmList(x);\r\n })\r\n .finally(() => this.loadingConversations = false);\r\n }\r\n\r\n openSearchModal() {\r\n this.$router.push('/chats/social/search/');\r\n }\r\n\r\n openRequest(item: OM.FriendRequestRoomVm) {\r\n this.$router.push('/chats/request/' + item.identifier);\r\n }\r\n \r\n openChat(item: OM.ConversationRoomVm) {\r\n this.$router.push('/chats/' + item.identifier);\r\n }\r\n\r\n newChat() {\r\n this.$opModal.show(NewChatModal, {})\r\n }\r\n}\r\n\r\n","import { render } from \"./chats.vue?vue&type=template&id=3ef4691e&ts=true\"\nimport script from \"./chats.vue?vue&type=script&lang=ts\"\nexport * from \"./chats.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"C:\\\\Users\\\\rekt\\\\source\\\\repos\\\\uose\\\\uoseapp_new\\\\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_bin.08cb267e.svg\";","module.exports = __webpack_public_path__ + \"img/search.dd70734b.svg\";","module.exports = __webpack_public_path__ + \"img/chat_on.df78abfc.svg\";","module.exports = __webpack_public_path__ + \"img/chatRequest_on.6b40695e.svg\";","module.exports = __webpack_public_path__ + \"img/received.1e5691ba.svg\";","module.exports = __webpack_public_path__ + \"img/chevronRight.692241d0.svg\";","module.exports = __webpack_public_path__ + \"img/sended.5c3e175c.svg\";"],"sourceRoot":""}