%PDF- %PDF-
Direktori : /home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/server/pages/therapist/ |
Current File : //home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/server/pages/therapist/index.js.map |
{"version":3,"file":"pages/therapist/index.js","sources":["webpack:///./components/partials/Client.vue?f336","webpack:///./components/partials/Client.vue","webpack:///./components/partials/Client.vue?6f02","webpack:///./components/partials/Client.vue?9475","webpack:///./pages/therapist/index.vue?16a0","webpack:///./pages/therapist/index.vue","webpack:///./pages/therapist/index.vue?d0c3","webpack:///./pages/therapist/index.vue?b1df"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"relative p-6 mb-1 bg-gray grid grid-cols-1 sm:grid-cols-4 md:grid-cols-6 gap-6\"},[_vm._ssrNode(\"<div class=\\\"relative flex justify-center sm:block sm:col-span-1\\\">\",\"</div>\",[_vm._ssrNode(\"<div class=\\\"relative w-48 sm:w-full\\\">\",\"</div>\",[_c('NuxtLink',{staticClass:\"block absolute z-20 top-0 left-0 w-full h-full\",attrs:{\"to\":'/therapist/clients/'+_vm.client.id}}),_vm._ssrNode(\" <div class=\\\"absolute top-0 left-0 w-full h-full border-4 border-opacity-50 border-yellow\\\"></div> <img\"+(_vm._ssrAttr(\"src\",_vm.client.photo_url))+(_vm._ssrAttr(\"alt\",_vm.client.full_name))+\">\")],2)]),_vm._ssrNode(\" <div class=\\\"sm:col-span-3 md:col-span-5 grid grid-cols-1 sm:grid-cols-3 py-2\\\"><div class=\\\"sm:col-span-2 flex flex-col items-center sm:items-start justify-center\\\"><h2 class=\\\"text-xl font-bold mb-2\\\">\"+_vm._ssrEscape(_vm._s(_vm.client.full_name))+\"</h2> \"+((_vm.client.next_booking)?(\"<small class=\\\"uppercase text-sm text-black text-opacity-80\\\">\"+((_vm.client.next_booking.date == 'Tomorrow at')?(\"<span>\"+_vm._ssrEscape(\"Next: \"+_vm._s(_vm.client.next_booking.date +' '+_vm.client.next_booking.time))+\"</span>\"):(\"<span>\"+_vm._ssrEscape(\"Next: \"+_vm._s(_vm.client.next_booking.date))+\"</span>\"))+\"</small>\"):\"<!---->\")+\"</div> <div class=\\\"flex justify-center sm:justify-start items-center\\\">\"+((_vm.client.is_new)?(\"<span class=\\\"absolute top-0 right-0 bg-black text-white text-sm leading-3 px-3 py-2\\\">New</span>\"):\"<!---->\")+\" \"+((_vm.client.email)?(\"<a\"+(_vm._ssrAttr(\"href\",'mailto:'+_vm.client.email))+\" target=\\\"_blank\\\" class=\\\"w-10 h-8 mr-10 bg-no-repeat bg-center bg-contain icon-envelope\\\"></a>\"):\"<!---->\")+\" \"+((_vm.client.phone)?(\"<a\"+(_vm._ssrAttr(\"href\",'tel:'+_vm.client.phone))+\" class=\\\"w-8 h-8 bg-no-repeat bg-center bg-contain icon-phone\\\"></a>\"):\"<!---->\")+\"</div></div>\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nexport default {\n props: {\n client: Object\n }\n}\n","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Client.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Client.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Client.vue?vue&type=template&id=4c768888&\"\nimport script from \"./Client.vue?vue&type=script&lang=js&\"\nexport * from \"./Client.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n \"214c7ef0\"\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-wrapper\"},[_vm._ssrNode(\"<div class=\\\"mb-8\\\">\",\"</div>\",[_vm._ssrNode(\"<section class=\\\"p-4 md:p-8 py-6 md:py-12 bg-blue-light text-center text-white\\\">\",\"</section>\",[_vm._ssrNode(\"<h1 class=\\\"text-2xl md:text-4xl lg:text-5xl font-bold mb-8 md:mb-16\\\">\"+_vm._ssrEscape(\"Welcome back, \"+_vm._s(_vm.user.data.first_name))+\"</h1> <div class=\\\"grid grid-cols-1 sm:grid-cols-3 gap-y-2 gap-x-6 mb-16\\\"><div class=\\\"text-center\\\"><span class=\\\"block mb-3 text-black text-5xl md:text-7xl font-bold\\\">\"+_vm._ssrEscape(_vm._s(_vm.statistics.bookings_count))+\"</span> <p class=\\\"text-white font-medium text-sm md:text-base\\\">New Bookings<br>This week</p></div> <div class=\\\"text-center\\\"><span class=\\\"block mb-3 text-black text-5xl md:text-7xl font-bold\\\">\"+_vm._ssrEscape(_vm._s(_vm.statistics.clients_count))+\"</span> <p class=\\\"text-white font-medium text-sm md:text-base\\\">Clients<br>this week</p></div> <div class=\\\"text-center\\\"><span class=\\\"block mb-3 text-black text-5xl md:text-7xl font-bold\\\">\"+_vm._ssrEscape(_vm._s(_vm.statistics.average_bookings))+\"</span> <p class=\\\"text-white font-medium text-sm md:text-base\\\">Average No. Of<br>Sessions per week</p></div></div> \"),_vm._ssrNode(\"<div class=\\\"flex items-center justify-center\\\">\",\"</div>\",[_c('NuxtLink',{staticClass:\"btn btn-primary rounded-full\",attrs:{\"to\":\"/account/availability\"}},[_vm._v(\"View/Manage Availability\")])],1)],2)]),_vm._ssrNode(\" \"),_vm._ssrNode(\"<div class=\\\"grid grid-cols-1 md:grid-cols-3 gap-8 px-6 lg:px-0\\\">\",\"</div>\",[_vm._ssrNode(\"<div class=\\\"md:col-span-2\\\">\",\"</div>\",[_vm._ssrNode(\"<section class=\\\"mb-8\\\">\",\"</section>\",[_vm._ssrNode(\"<header class=\\\"mb-1 p-4 md:p-8 bg-blue-light flex justify-between\\\">\",\"</header>\",[_vm._ssrNode(\"<h2 class=\\\"text-2xl md:text-4xl font-bold\\\">New Clients</h2> \"),_c('NuxtLink',{staticClass:\"uppercase font-medium text-sm hover:text-white transition\",attrs:{\"to\":\"/therapist/clients\"}},[_vm._v(\"View All Clients\")])],2),_vm._ssrNode(\" \"),(_vm.clients.length > 0)?_vm._ssrNode(\"<div>\",\"</div>\",_vm._l((_vm.clients),function(client,key){return _c('Client',{key:key,attrs:{\"client\":client}})}),1):_vm._ssrNode((\"<div class=\\\"py-16 w-full bg-gray text-center\\\"><span class=\\\"font-bold text-2xl\\\">You have no new clients</span></div>\"))],2),_vm._ssrNode(\" \"),(_vm.progress)?_vm._ssrNode(\"<section class=\\\"mb-0\\\">\",\"</section>\",[_vm._ssrNode(\"<header class=\\\"p-4 mb-1 md:p-8 bg-blue-light flex justify-between\\\"><h2 class=\\\"text-2xl md:text-4xl font-bold\\\">Account Management</h2> <span class=\\\"flex items-center text-md leading-3 font-bold\\\">\"+_vm._ssrEscape(_vm._s(_vm.progress.total_progress)+\"% \")+\"<small class=\\\"ml-2 text-xs uppercase font-medium\\\">Complete</small></span></header> \"),_vm._ssrNode(\"<div class=\\\"relative bg-gray grid grid-cols-4 px-6 py-5 mb-1\\\">\",\"</div>\",[_c('NuxtLink',{staticClass:\"absolute top-0 left-0 w-full h-full\",attrs:{\"to\":\"/account\"}}),_vm._ssrNode(\" <div class=\\\"col-span-1 flex items-center\\\"><span class=\\\"text-lg font-bold\\\">Profile</span></div> <div class=\\\"col-span-2 flex items-center\\\"><p class=\\\"text-sm font-regular\\\">Your Take a Seat therapist profile</p></div> <div class=\\\"col-span-1 flex items-center justify-end\\\"><span>\"+_vm._ssrEscape(_vm._s(_vm.progress.profile)+\"%\")+\"</span> <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"none\\\" viewBox=\\\"0 0 24 24\\\" stroke=\\\"currentColor\\\" class=\\\"w-6 h-6\\\"><path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 5l7 7-7 7\\\"></path></svg></div>\")],2),_vm._ssrNode(\" \"),_vm._ssrNode(\"<div class=\\\"relative bg-gray grid grid-cols-4 px-6 py-5 mb-1\\\">\",\"</div>\",[_c('NuxtLink',{staticClass:\"absolute top-0 left-0 w-full h-full\",attrs:{\"to\":\"/account/availability\"}}),_vm._ssrNode(\" <div class=\\\"col-span-1 flex items-center\\\"><span class=\\\"text-lg font-bold\\\">Availability</span></div> <div class=\\\"col-span-2 flex items-center\\\"><p class=\\\"text-sm font-regular\\\">Your availability and appointments</p></div> <div class=\\\"col-span-1 flex items-center justify-end\\\"><span>\"+_vm._ssrEscape(_vm._s(_vm.progress.availability)+\"%\")+\"</span> <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"none\\\" viewBox=\\\"0 0 24 24\\\" stroke=\\\"currentColor\\\" class=\\\"w-6 h-6\\\"><path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 5l7 7-7 7\\\"></path></svg></div>\")],2),_vm._ssrNode(\" \"),_vm._ssrNode(\"<div class=\\\"relative bg-gray grid grid-cols-4 px-6 py-5 mb-1\\\">\",\"</div>\",[_c('NuxtLink',{staticClass:\"absolute top-0 left-0 w-full h-full\",attrs:{\"to\":\"/account/verification\"}}),_vm._ssrNode(\" <div class=\\\"col-span-1 flex items-center\\\"><span class=\\\"text-lg font-bold\\\">Verification</span></div> <div class=\\\"col-span-2 flex items-center\\\"><p class=\\\"text-sm font-regular\\\">Qualifications, accreditations, memberships and insurance</p></div> <div class=\\\"col-span-1 flex items-center justify-end\\\"><span>\"+_vm._ssrEscape(_vm._s(_vm.progress.verification)+\"%\")+\"</span> <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"none\\\" viewBox=\\\"0 0 24 24\\\" stroke=\\\"currentColor\\\" class=\\\"w-6 h-6\\\"><path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 5l7 7-7 7\\\"></path></svg></div>\")],2),_vm._ssrNode(\" \"),_vm._ssrNode(\"<div class=\\\"relative bg-gray grid grid-cols-4 px-6 py-5 mb-1\\\">\",\"</div>\",[_c('NuxtLink',{staticClass:\"absolute top-0 left-0 w-full h-full\",attrs:{\"to\":\"/account/financial\"}}),_vm._ssrNode(\" <div class=\\\"col-span-1 flex items-center\\\"><span class=\\\"text-lg font-bold\\\">Money</span></div> <div class=\\\"col-span-2 flex items-center\\\"><p class=\\\"text-sm font-regular\\\">Your session rates and subscription details</p></div> <div class=\\\"col-span-1 flex items-center justify-end\\\"><span>\"+_vm._ssrEscape(_vm._s(_vm.progress.financial)+\"%\")+\"</span> <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"none\\\" viewBox=\\\"0 0 24 24\\\" stroke=\\\"currentColor\\\" class=\\\"w-6 h-6\\\"><path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 5l7 7-7 7\\\"></path></svg></div>\")],2),_vm._ssrNode(\" \"),_vm._ssrNode(\"<div class=\\\"relative bg-gray grid grid-cols-4 px-6 py-5 mb-1\\\">\",\"</div>\",[_c('NuxtLink',{staticClass:\"absolute top-0 left-0 w-full h-full\",attrs:{\"to\":\"/account/settings\"}}),_vm._ssrNode(\" <div class=\\\"col-span-1 flex items-center\\\"><span class=\\\"text-lg font-bold\\\">Settings</span></div> <div class=\\\"col-span-2 flex items-center\\\"><p class=\\\"text-sm font-regular\\\">Your session rates and subscription details</p></div> <div class=\\\"col-span-1 flex items-center justify-end\\\"><span>\"+_vm._ssrEscape(_vm._s(_vm.progress.settings)+\"%\")+\"</span> <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"none\\\" viewBox=\\\"0 0 24 24\\\" stroke=\\\"currentColor\\\" class=\\\"w-6 h-6\\\"><path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 5l7 7-7 7\\\"></path></svg></div>\")],2)],2):_vm._e()],2),_vm._ssrNode(\" <div class=\\\"md:col-span-1\\\">\"+((_vm.bookings.length !== 0 || _vm.bookings.length == undefined)?(\"<div class=\\\"bg-white h-full\\\">\"+(_vm._ssrList((_vm.bookings),function(date,key){return (\"<div><div class=\\\"bg-blue-light py-3 px-4 flex items-center justify-between\\\"><span class=\\\"text-xl font-bold\\\">\"+_vm._ssrEscape(_vm._s(_vm.$moment(key).format('Do MMMM')))+\"</span> <span class=\\\"uppercase\\\">\"+_vm._ssrEscape(_vm._s(_vm.$moment(key).format('dddd')))+\"</span></div> \"+(_vm._ssrList((date),function(booking,key){return (\"<div class=\\\"relative p-6 mb-1 bg-gray grid grid-cols-4 gap-6\\\"><div class=\\\"relative col-span-1\\\"><div class=\\\"absolute top-0 left-0 w-full h-full border-4 border-yellow border-opacity-50\\\"></div> <img\"+(_vm._ssrAttr(\"src\",booking.user.photo_url))+\"></div> <div class=\\\"col-span-3 grid grid-cols-6 py-2\\\"><div class=\\\"col-span-4 flex flex-col justify-start\\\"><div><small class=\\\"uppercase text-sm text-black text-opacity-80\\\">\"+_vm._ssrEscape(_vm._s(booking.time))+\"</small> <h2 class=\\\"text-xl font-bold\\\">\"+_vm._ssrEscape(_vm._s(booking.user.full_name))+\"</h2></div></div></div></div>\")}))+\"</div>\")}))+\"</div>\"):(\"<div class=\\\"bg-gray h-full p-6\\\"><span class=\\\"font-bold text-xl\\\">You have no new bookings</span></div>\"))+\"</div>\")],2)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nexport default {\n middleware: ['auth', 'therapist'],\n\n head () {\n return {\n titleTemplate: 'Account | %s',\n }\n },\n\n computed: {\n user() {\n return this.$auth.user;\n },\n statistics() {\n return this.$store.state.therapist.dashboard.statistics\n },\n progress() {\n return this.$store.state.therapist.dashboard.progress\n },\n bookings() {\n return this.$store.state.therapist.dashboard.bookings\n },\n clients() {\n return this.$store.state.therapist.dashboard.clients\n }\n },\n\n async asyncData ({ store }) {\n await store.dispatch('therapist/dashboard/get')\n },\n}\n","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=d450436a&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n \"302bbf61\"\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {Header: require('/home/forge/takeaseat.eco-n-tech.co.uk/components/layout/Header.vue').default,Client: require('/home/forge/takeaseat.eco-n-tech.co.uk/components/partials/Client.vue').default})\n"],"mappings":";;;;;;;;;;;AAAA;AACA;AACA;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AADA;AADA;;ACpCA;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AClBA;AACA;AACA;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AADA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AAhBA;AACA;AAiBA;AAAA;AAAA;AACA;AACA;AACA;AA9BA;;AC3KA;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;A","sourceRoot":""}