Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

1 zeile
32 KiB

  1. {"ast":null,"code":"import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString } from \"vue\";\nimport _imports_0 from '@/assets/images/authentication/Mostafapoor-1.png';\nimport _imports_1 from '@/assets/images/user/avatar-1.jpg';\nconst _hoisted_1 = {\n class: \"navbar-wrapper\",\n id: \"navbar-wrapper\"\n};\nconst _hoisted_2 = {\n class: \"pc-navbar\"\n};\nconst _hoisted_3 = {\n class: \"d-flex align-items-center\"\n};\nconst _hoisted_4 = {\n class: \"flex-grow-1 ms-3 me-2\"\n};\nconst _hoisted_5 = {\n class: \"mb-0\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_router_link = _resolveComponent(\"router-link\");\n const _component_simplebar = _resolveComponent(\"simplebar\");\n const _component_BCol = _resolveComponent(\"BCol\");\n const _component_BRow = _resolveComponent(\"BRow\");\n const _component_BDropdownItem = _resolveComponent(\"BDropdownItem\");\n const _component_BDropdown = _resolveComponent(\"BDropdown\");\n const _component_BCardBody = _resolveComponent(\"BCardBody\");\n const _component_BCard = _resolveComponent(\"BCard\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_cache[14] || (_cache[14] = _createElementVNode(\"div\", {\n class: \"header-wrapper\"\n }, [_createElementVNode(\"div\", {\n class: \"logo-link\"\n }, [_createElementVNode(\"div\", {\n class: \"logo-container\"\n }, [_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"Logo\",\n class: \"logo-img\"\n })])])], -1)), _createVNode(_component_simplebar, {\n \"data-simplebar\": \"\",\n class: \"navbar-content pc-trigger\"\n }, {\n default: _withCtx(() => [_createElementVNode(\"ul\", _hoisted_2, [_createElementVNode(\"li\", {\n class: _normalizeClass([\"pc-item\", {\n active: this.$route.path === '/dashPage'\n }])\n }, [_createVNode(_component_router_link, {\n to: \"/dashPage\",\n class: \"pc-link\"\n }, {\n default: _withCtx(() => _cache[0] || (_cache[0] = [_createElementVNode(\"span\", {\n class: \"pc-micon\"\n }, [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-gauge\"\n })], -1), _createElementVNode(\"span\", {\n class: \"pc-mtext\"\n }, \"داشبورد\", -1)])),\n _: 1\n })], 2), this.user?.access.includes(`user`) || this.user?.role == 0 ? (_openBlock(), _createElementBlock(\"li\", {\n key: 0,\n class: _normalizeClass([\"pc-item\", {\n active: this.$route.path === '/users'\n }])\n }, [_createVNode(_component_router_link, {\n to: \"/users\",\n class: \"pc-link\"\n }, {\n default: _withCtx(() => _cache[1] || (_cache[1] = [_createElementVNode(\"span\", {\n class: \"pc-micon\"\n }, [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-user-circle\"\n })], -1), _createElementVNode(\"span\", {\n class: \"pc-mtext\"\n }, \"کاربران\", -1)])),\n _: 1\n })], 2)) : _createCommentVNode(\"\", true), this.user?.access.includes(`locations`) || this.user?.role == 0 ? (_openBlock(), _createElementBlock(\"li\", {\n key: 1,\n class: _normalizeClass([\"pc-item\", {\n active: this.$route.path === '/locations'\n }])\n }, [_createVNode(_component_router_link, {\n to: \"/locations\",\n class: \"pc-link\"\n }, {\n default: _withCtx(() => _cache[2] || (_cache[2] = [_createElementVNode(\"span\", {\n class: \"pc-micon\"\n }, [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-map-pin\"\n })], -1), _createElementVNode(\"span\", {\n class: \"pc-mtext\"\n }, \"لوکیشن ها\", -1)])),\n _: 1\n })], 2)) : _createCommentVNode(\"\", true), this.user?.access.includes(`subjects`) || this.user?.role == 0 ? (_openBlock(), _createElementBlock(\"li\", {\n key: 2,\n class: _normalizeClass([\"pc-item\", {\n active: this.$route.path === '/subjects'\n }])\n }, [_createVNode(_component_router_link, {\n to: \"/subjects\",\n class: \"pc-link\"\n }, {\n default: _withCtx(() => _cache[3] || (_cache[3] = [_createElementVNode(\"span\", {\n class: \"pc-micon\"\n }, [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-folder\"\n })], -1), _createElementVNode(\"span\", {\n class: \"pc-mtext\"\n }, \"موضوع‌ها\", -1)])),\n _: 1\n })], 2)) : _createCommentVNode(\"\", true), this.user?.access.includes(`meeting`) || this.user?.role == 0 ? (_openBlock(), _createElementBlock(\"li\", {\n key: 3,\n class: _normalizeClass([\"pc-item\", {\n active: this.$route.path === '/meetings'\n }])\n }, [_createVNode(_component_router_link, {\n to: \"/meetings\",\n class: \"pc-link\"\n }, {\n default: _withCtx(() => _cache[4] || (_cache[4] = [_createElementVNode(\"span\", {\n class: \"pc-micon\"\n }, [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-handshake\"\n })], -1), _createElementVNode(\"span\", {\n class: \"pc-mtext\"\n }, \"جلسات\", -1)])),\n _: 1\n })], 2)) : _createCommentVNode(\"\", true), this.user?.access.includes(`private_meeting`) || this.user?.role == 0 ? (_openBlock(), _createElementBlock(\"li\", {\n key: 4,\n class: _normalizeClass([\"pc-item\", {\n active: this.$route.path === '/privateMeets'\n }])\n }, [_createVNode(_component_router_link, {\n to: \"/privateMeets\",\n class: \"pc-link\"\n }, {\n default: _withCtx(() => _cache[5] || (_cache[5] = [_createElementVNode(\"span\", {\n class: \"pc-micon\"\n }, [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-briefcase\"\n })], -1), _createElementVNode(\"span\", {\n class: \"pc-mtext\"\n }, \"ملاقات ها\", -1)])),\n _: 1\n })], 2)) : _createCommentVNode(\"\", true), this.user?.access.includes(`note`) || this.user?.role == 0 ? (_openBlock(), _createElementBlock(\"li\", {\n key: 5,\n class: _normalizeClass([\"pc-item\", {\n active: this.$route.path === '/notes'\n }])\n }, [_createVNode(_component_router_link, {\n to: \"/notes\",\n class: \"pc-link\"\n }, {\n default: _withCtx(() => _cache[6] || (_cache[6] = [_createElementVNode(\"span\", {\n class: \"pc-micon\"\n }, [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-note-pencil\"\n })], -1), _createElementVNode(\"span\", {\n class: \"pc-mtext\"\n }, \"یادداشت ها\", -1)])),\n _: 1\n })], 2)) : _createCommentVNode(\"\", true), _createElementVNode(\"li\", {\n class: _normalizeClass([\"pc-item\", {\n active: this.$route.path === '/reports'\n }])\n }, [_createVNode(_component_router_link, {\n to: \"/reports\",\n class: \"pc-link\"\n }, {\n default: _withCtx(() => _cache[7] || (_cache[7] = [_createElementVNode(\"span\", {\n class: \"pc-micon\"\n }, [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-file-text\"\n })], -1), _createElementVNode(\"span\", {\n class: \"pc-mtext\"\n }, \"گزارشات\", -1)])),\n _: 1\n })], 2)])]),\n _: 1\n }), _createVNode(_component_BCard, {\n \"no-body\": \"\",\n class: \"pc-user-card\"\n }, {\n default: _withCtx(() => [_createVNode(_component_BCardBody, null, {\n default: _withCtx(() => [_createElementVNode(\"div\", _hoisted_3, [_cache[13] || (_cache[13] = _createElementVNode(\"div\", {\n class: \"flex-shrink-0\"\n }, [_createElementVNode(\"img\", {\n src: _imports_1,\n alt: \"user-image\",\n class: \"user-avtar wid-45 rounded-circle\"\n })], -1)), _createElementVNode(\"div\", _hoisted_4, [_createElementVNode(\"h6\", _hoisted_5, _toDisplayString($options.user?.name), 1), _createElementVNode(\"small\", null, _toDisplayString($options.user?.mobile), 1)]), _createVNode(_component_BDropdown, {\n variant: \"purple\",\n dropup: \"\",\n \"no-caret\": \"\",\n \"toggle-class\": \"p-0\"\n }, {\n \"button-content\": _withCtx(() => _cache[8] || (_cache[8] = [_createElementVNode(\"span\", {\n class: \"btn btn-icon btn-link-secondary avtar arrow-none p-0 dropdown-toggle\"\n }, [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-windows-logo\"\n })], -1)])),\n default: _withCtx(() => [_createVNode(_component_BCol, {\n onClick: $options.logOut\n }, {\n default: _withCtx(() => [_createVNode(_component_BDropdownItem, {\n class: \"pc-user-links d-flex align-items-center p-0\"\n }, {\n default: _withCtx(() => [_createVNode(_component_BRow, {\n class: \"align-items-center\"\n }, {\n default: _withCtx(() => [_createVNode(_component_BCol, {\n class: \"col-auto pe-2\"\n }, {\n default: _withCtx(() => _cache[9] || (_cache[9] = [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-power\"\n }, null, -1)])),\n _: 1\n }), _createVNode(_component_BCol, {\n class: \"col\"\n }, {\n default: _withCtx(() => _cache[10] || (_cache[10] = [_createElementVNode(\"span\", null, \"خروج از حساب\", -1)])),\n _: 1\n })]),\n _: 1\n })]),\n _: 1\n })]),\n _: 1\n }, 8, [\"onClick\"]), _createVNode(_component_router_link, {\n to: \"/editProfile\",\n class: \"text-decoration-none text-gray-100\"\n }, {\n default: _withCtx(() => [_createVNode(_component_BDropdownItem, {\n class: \"pc-user-links d-flex align-items-center p-0\"\n }, {\n default: _withCtx(() => [_createVNode(_component_BRow, {\n class: \"align-items-center\"\n }, {\n default: _withCtx(() => [_createVNode(_component_BCol, {\n class: \"col-auto pe-2\"\n }, {\n default: _withCtx(() => _cache[11] || (_cache[11] = [_createElementVNode(\"i\", {\n class: \"ph-duotone ph-user-circle\"\n }, null, -1)])),\n _: 1\n }), _createVNode(_component_BCol, {\n class: \"col\"\n }, {\n default: _withCtx(() => _cache[12] || (_cache[12] = [_createElementVNode(\"span\", null, \"ویرایش پروفایل\", -1)])),\n _: 1\n })]),\n _: 1\n })]),\n _: 1\n })]),\n _: 1\n })]),\n _: 1\n })])]),\n _: 1\n })]),\n _: 1\n })]);\n}","map":{"version":3,"names":["_imports_0","_imports_1","class","id","_createElementBlock","_hoisted_1","_createElementVNode","src","alt","_createVNode","_component_simplebar","default","_withCtx","_hoisted_2","_normalizeClass","active","$route","path","_component_router_link","to","_cache","_","user","access","includes","role","key","_createCommentVNode","_component_BCard","_component_BCardBody","_hoisted_3","_hoisted_4","_hoisted_5","_toDisplayString","$options","name","mobile","_component_BDropdown","variant","dropup","_component_BCol","onClick","logOut","_component_BDropdownItem","_component_BRow"],"sources":["C:\\Users\\hp\\Desktop\\satari\\Vue\\Admin\\src\\components\\customSidebar.vue"],"sourcesContent":["<script>\r\nimport { onMounted, onUnmounted } from \"vue\";\r\n\r\nimport simplebar from \"simplebar-vue\";\r\nimport Swal from \"sweetalert2\";\r\nimport axios from \"axios\";\r\nexport default {\r\n data() {\r\n return {\r\n url: \"\",\r\n token: \"\",\r\n };\r\n },\r\n setup() {\r\n onMounted(() => {\r\n const observer = new MutationObserver(() => {});\r\n\r\n observer.observe(document.body, {\r\n attributes: true,\r\n attributeFilter: [\"data-pc-theme\"],\r\n });\r\n\r\n onUnmounted(() => {\r\n observer.disconnect();\r\n });\r\n });\r\n\r\n return {};\r\n },\r\n components: {\r\n simplebar,\r\n },\r\n methods: {\r\n logOut() {\r\n console.log(\"h\");\r\n\r\n Swal.fire({\r\n title: \"مطمعنید\",\r\n text: \"آیا مطمعن هستید برای خروج از حساب کاربری!؟\",\r\n icon: \"warning\",\r\n showCancelButton: true,\r\n confirmButtonText: \"بله خارجم کن! \",\r\n cancelButtonText: \"خیر\",\r\n reverseButtons: true,\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n axios\r\n .post(\r\n `${this.url}/admin/logout`,\r\n {},\r\n {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n Authorization: `Bearer ${this.token} `,\r\n },\r\n }\r\n )\r\n .then(() => {\r\n console.log(\"hi\");\r\n localStorage.setItem(\"token\", \"\");\r\n this.$router.push(\"/login-v2\");\r\n });\r\n }\r\n });\r\n },\r\n changeLayoutType(layoutType) {\r\n this.$store.commit(\"changeLayoutType\", { layoutType });\r\n\r\n document.body.setAttribute(\"data-pc-layout\", layoutType);\r\n },\r\n },\r\n computed: {\r\n layoutType: {\r\n get() {\r\n return this.$store.state.layout.layoutType;\r\n },\r\n set(layoutType) {\r\n this.$store.commit(\"changeLayoutType\", { layoutType });\r\n },\r\n },\r\n user() {\r\n return this.$store.getters[\"user/getUser\"]; // Accessing user information from Vuex store\r\n },\r\n },\r\n watch: {\r\n layoutType: {\r\n immediate: true,\r\n deep: true,\r\n handler(newVal, oldVal) {\r\n if (newVal !== oldVal) {\r\n switch (newVal) {\r\n case \"horizontal\":\r\n document.body.setAttribute(\"data-pc-layout\", \"horizontal\");\r\n break;\r\n case \"vertical\":\r\n document.body.setAttribute(\"data-pc-layout\", \"vertical\");\r\n }\r\n }\r\n },\r\n },\r\n },\r\n mounted() {\r\n this.token = localStorage.getItem(\"token\");\r\n\r\n this.url = process.env.VUE_APP_ROOT_URL;\r\n console.log(this.user);\r\n const activeListItem = document.querySelector(\"li.active\");\r\n if (activeListItem) {\r\n const parentElementOrSelf = activeListItem?.parentElement\r\n ? activeListItem.parentElement\r\n : activeListItem;\r\n if (\r\n parentElementOrSelf &&\r\n !parentElementOrSelf.classList.contains(\"pc-navbar\")\r\n ) {\r\n const closestItem =\r\n parentElementOrSelf.parentElement.closest(\".pc-item\");\r\n if (closestItem) {\r\n closestItem.classList.add(\"active\");\r\n closestItem.children[1].classList.add(\"show\");\r\n }\r\n }\r\n\r\n /**\r\n * Sidebar menu collapse\r\n */\r\n if (document.querySelectorAll(\".navbar-content .collapse\")) {\r\n let collapses = document.querySelectorAll(\".navbar-content .collapse\");\r\n\r\n collapses.forEach((collapse) => {\r\n // Hide sibling collapses on `show.bs.collapse`\r\n collapse.addEventListener(\"show.bs.collapse\", (e) => {\r\n e.stopPropagation();\r\n let closestCollapse = collapse.parentElement.closest(\".collapse\");\r\n if (closestCollapse) {\r\n let siblingCollapses =\r\n closestCollapse.querySelectorAll(\".collapse\");\r\n siblingCollapses.forEach((siblingCollapse) => {\r\n if (siblingCollapse.classList.contains(\"show\")) {\r\n siblingCollapse.classList.remove(\"show\");\r\n siblingCollapse.parentElement.firstChild.setAttribute(\r\n \"aria-expanded\",\r\n \"false\"\r\n );\r\n }\r\n });\r\n } else {\r\n let getSiblings = (elem) => {\r\n // Setup siblings array and get the first sibling\r\n let siblings = [];\r\n let sibling = elem.parentNode.firstChild;\r\n // Loop through each sibling and push to the array\r\n while (sibling) {\r\n if (sibling.nodeType === 1 && sibling !== elem) {\r\n siblings.push(sibling);\r\n }\r\n sibling = sibling.nextSibling;\r\n }\r\n return siblings;\r\n };\r\n let siblings = getSiblings(collapse.parentElement);\r\n siblings.forEach((item) => {\r\n if (item.childNodes.length > 2) {\r\n item.firstElementChild.setAttribute(\"aria-expanded\", \"false\");\r\n item.firstElementChild.classList.remove(\"active\");\r\n }\r\n let ids = item.querySelectorAll(\"*[id]\");\r\n ids.forEach((item1) => {\r\n item1.classList.remove(\"show\");\r\n item1.parentElement.firstChild.setAttribute(\r\n \"aria-expanded\",\r\n \"false\"\r\n );\r\n item1.parentElement.firstChild.classList.remove(\"active\");\r\n if (item1.childNodes.length > 2) {\r\n let val = item1.querySelectorAll(\"ul li a\");\r\n\r\n val.forEach((subitem) => {\r\n if (subitem.hasAttribute(\"aria-expanded\"))\r\n subitem.setAttribute(\"aria-expanded\", \"false\");\r\n });\r\n }\r\n });\r\n });\r\n }\r\n });\r\n\r\n // Hide nested collapses on `hide.bs.collapse`\r\n collapse.addEventListener(\"hide.bs.collapse\", (e) => {\r\n e.stopPropagation();\r\n let childCollapses = collapse.querySelectorAll(\".collapse\");\r\n childCollapses.forEach((childCollapse) => {\r\n let childCollapseInstance = childCollapse;\r\n childCollapseInstance.classList.remove(\"show\");\r\n childCollapseInstance.parentElement.firstChild.setAttribute(\r\n \"aria-expanded\",\r\n \"false\"\r\n );\r\n });\r\n });\r\n });\r\n }\r\n } else {\r\n console.error(\"No list item with class 'active' found.\");\r\n }\r\n },\r\n};\r\n</script>\r\n\r\n<template>\r\n <div class=\"navbar-wrapper\" id=\"navbar-wrapper\">\r\n <div class=\"header-wrapper\">\r\n <!-- Logo Section -->\r\n <div class=\"logo-link\">\r\n <div class=\"logo-container\">\r\n <img\r\n src=\"@/assets/images/authentication/Mostafapoor-1.png\"\r\n alt=\"Logo\"\r\n class=\"logo-img\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <simplebar data-simplebar class=\"navbar-content pc-trigger\">\r\n <ul class=\"pc-navbar\">\r\n <li\r\n class=\"pc-item\"\r\n :class=\"{ active: this.$route.path === '/dashPage' }\"\r\n >\r\n <router-link to=\"/dashPage\" class=\"pc-link\">\r\n <span class=\"pc-micon\">\r\n <i class=\"ph-duotone ph-gauge\"></i>\r\n </span>\r\n <span class=\"pc-mtext\">داشبورد</span>\r\n </router-link>\r\n </li>\r\n\r\n <li\r\n v-if=\"this.user?.access.includes(`user`) || this.user?.role == 0\"\r\n class=\"pc-item\"\r\n :class=\"{ active: this.$route.path === '/users' }\"\r\n >\r\n <router-link to=\"/users\" class=\"pc-link\">\r\n <span class=\"pc-micon\">\r\n <i class=\"ph-duotone ph-user-circle\"></i>\r\n </span>\r\n <span class=\"pc-mtext\">کاربران</span>\r\n </router-link>\r\n </li>\r\n <li\r\n v-if=\"this.user?.access.includes(`locations`) || this.user?.role == 0\"\r\n class=\"pc-item\"\r\n :class=\"{ active: this.$route.path === '/locations' }\"\r\n >\r\n <router-link to=\"/locations\" class=\"pc-link\">\r\n <span class=\"pc-micon\">\r\n <i class=\"ph-duotone ph-map-pin\"></i>\r\n </span>\r\n <span class=\"pc-mtext\">لوکیشن ها</span>\r\n </router-link>\r\n </li>\r\n <li\r\n v-if=\"this.user?.access.includes(`subjects`) || this.user?.role == 0\"\r\n class=\"pc-item\"\r\n :class=\"{ active: this.$route.path === '/subjects' }\"\r\n >\r\n <router-link to=\"/subjects\" class=\"pc-link\">\r\n <span class=\"pc-micon\">\r\n <i class=\"ph-duotone ph-folder\"></i>\r\n </span>\r\n <span class=\"pc-mtext\">موضوع‌ها</span>\r\n </router-link>\r\n </li>\r\n\r\n <li\r\n v-if=\"this.user?.access.includes(`meeting`) || this.user?.role == 0\"\r\n class=\"pc-item\"\r\n :class=\"{ active: this.$route.path === '/meetings' }\"\r\n >\r\n <router-link to=\"/meetings\" class=\"pc-link\">\r\n <span class=\"pc-micon\">\r\n <i class=\"ph-duotone ph-handshake\"></i>\r\n </span>\r\n <span class=\"pc-mtext\">جلسات</span>\r\n </router-link>\r\n </li>\r\n\r\n <li\r\n v-if=\"\r\n this.user?.access.includes(`private_meeting`) ||\r\n this.user?.role == 0\r\n \"\r\n class=\"pc-item\"\r\n :class=\"{ active: this.$route.path === '/privateMeets' }\"\r\n >\r\n <router-link to=\"/privateMeets\" class=\"pc-link\">\r\n <span class=\"pc-micon\">\r\n <i class=\"ph-duotone ph-briefcase\"></i>\r\n </span>\r\n <span class=\"pc-mtext\">ملاقات ها</span>\r\n </router-link>\r\n </li>\r\n\r\n <li\r\n v-if=\"this.user?.access.includes(`note`) || this.user?.role == 0\"\r\n class=\"pc-item\"\r\n :class=\"{ active: this.$route.path === '/notes' }\"\r\n >\r\n <router-link to=\"/notes\" class=\"pc-link\">\r\n <span class=\"pc-micon\">\r\n <i class=\"ph-duotone ph-note-pencil\"></i>\r\n </span>\r\n <span class=\"pc-mtext\">یادداشت ها</span>\r\n </router-link>\r\n </li>\r\n\r\n <li\r\n class=\"pc-item\"\r\n :class=\"{ active: this.$route.path === '/reports' }\"\r\n >\r\n <router-link to=\"/reports\" class=\"pc-link\">\r\n <span class=\"pc-micon\">\r\n <i class=\"ph-duotone ph-file-text\"></i>\r\n </span>\r\n <span class=\"pc-mtext\">گزارشات</span>\r\n </router-link>\r\n </li>\r\n </ul>\r\n </simplebar>\r\n\r\n <BCard no-body class=\"pc-user-card\">\r\n <BCardBody>\r\n <div class=\"d-flex align-items-center\">\r\n <div class=\"flex-shrink-0\">\r\n <img\r\n src=\"@/assets/images/user/avatar-1.jpg\"\r\n alt=\"user-image\"\r\n class=\"user-avtar wid-45 rounded-circle\"\r\n />\r\n </div>\r\n <div class=\"flex-grow-1 ms-3 me-2\">\r\n <h6 class=\"mb-0\">{{ user?.name }}</h6>\r\n <small>{{ user?.mobile }}</small>\r\n </div>\r\n <BDropdown variant=\"purple\" dropup no-caret toggle-class=\"p-0\">\r\n <template v-slot:button-content>\r\n <span\r\n class=\"btn btn-icon btn-link-secondary avtar arrow-none p-0 dropdown-toggle\"\r\n >\r\n <i class=\"ph-duotone ph-windows-logo\"></i>\r\n </span>\r\n </template>\r\n <BCol @click=\"logOut\">\r\n <BDropdownItem\r\n class=\"pc-user-links d-flex align-items-center p-0\"\r\n >\r\n <BRow class=\"align-items-center\">\r\n <BCol class=\"col-auto pe-2\">\r\n <i class=\"ph-duotone ph-power\"></i>\r\n </BCol>\r\n <BCol class=\"col\">\r\n <span>خروج از حساب</span>\r\n </BCol>\r\n </BRow>\r\n </BDropdownItem>\r\n </BCol>\r\n <router-link to=\"/editProfile\" class=\"text-decoration-none text-gray-100\">\r\n <BDropdownItem\r\n class=\"pc-user-links d-flex align-items-center p-0\"\r\n >\r\n \r\n <BRow class=\"align-items-center\">\r\n <BCol class=\"col-auto pe-2\">\r\n <i class=\"ph-duotone ph-user-circle\"></i>\r\n </BCol>\r\n <BCol class=\"col\">\r\n <span>ویرایش پروفایل</span>\r\n </BCol>\r\n </BRow>\r\n \r\n </BDropdownItem>\r\n </router-link>\r\n </BDropdown>\r\n </div>\r\n </BCardBody>\r\n </BCard>\r\n </div>\r\n</template>\r\n<style scoped>\r\n.header-wrapper {\r\n background-color: #d0e7ff;\r\n padding: 20px;\r\n border-radius: 10px;\r\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.logo-container {\r\n width: 100px;\r\n height: 45px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.logo-img {\r\n width: 100%;\r\n height: 100px;\r\n object-fit: contain;\r\n display: block;\r\n}\r\n</style>\r\n"],"mappings":";OAwNYA,UAAsD;OAwHpDC,UAAuC;;EA9H9CC,KAAK,EAAC,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