{"version":3,"sources":["webpack:///./src/views/freelancer/my-tasks.vue?eff5","webpack:///./src/views/freelancer/my-tasks.vue?28ba","webpack:///src/views/freelancer/my-tasks.vue","webpack:///./src/views/freelancer/my-tasks.vue?29e3","webpack:///./src/views/freelancer/my-tasks.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","directives","name","rawName","value","expression","on","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","statusFilter","multiple","getTasks","attrs","_l","status","key","id","domProps","_s","_e","tasks","length","_m","task","index","path","params","class","notesFreelancers","type","submitDateFormatted","submittedAt","staticRenderFns","data","isLoading","methods","endpoint","claimedby","user","uid","$store","date","toLocaleString","mounted","firestore","isAdmin","$router","push","computed","component"],"mappings":"kHAAA,yBAA0jB,EAAG,G,2CCA7jB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,KAAK,CAACJ,EAAIO,GAAG,cAAc,CAACH,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,OAAO,CAACJ,EAAIO,GAAG,cAAcH,EAAG,MAAM,CAACE,YAAY,+CAA+C,CAACF,EAAG,SAAS,CAACI,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOX,EAAgB,aAAEY,WAAW,iBAAiBC,GAAG,CAAC,OAAS,CAAC,SAASC,GAAQ,IAAIC,EAAgBC,MAAMC,UAAUC,OAAOC,KAAKL,EAAOM,OAAOC,SAAQ,SAASC,GAAG,OAAOA,EAAEC,YAAWC,KAAI,SAASF,GAAG,IAAIG,EAAM,WAAYH,EAAIA,EAAEI,OAASJ,EAAEX,MAAM,OAAOc,KAAOzB,EAAI2B,aAAab,EAAOM,OAAOQ,SAAWb,EAAgBA,EAAc,IAAI,SAASD,GAAQ,OAAOd,EAAI6B,eAAe,CAACz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D,OACX,uBACQ,OAAR,EACQ,OAAR,qBAEA,yBAEIV,oBAhBJ,SAgBA,GACM,IAAN,cACM,OAAOW,EAAKC,eAAe,WAG/BC,QAAS,WACH5D,KAAKuD,KAAKL,KAAKW,UAAUC,SAC3B9D,KAAK+D,QAAQC,KAAK,oBAEpBhE,KAAK4B,YAGPqC,SAAU,OAAZ,OAAY,CAAZ,GACA,4DC5GiW,I,wBCQ7VC,EAAY,eACd,EACApE,EACAmD,GACA,EACA,KACA,WACA,MAIa,aAAAiB,E","file":"js/chunk-37e2c76a.e4c43bdb.js","sourcesContent":["import mod 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-loader/lib/loaders/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!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./my-tasks.vue?vue&type=style&index=0&id=d33b5ac0&lang=scss&scoped=true&\"; export default mod; 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-loader/lib/loaders/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!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./my-tasks.vue?vue&type=style&index=0&id=d33b5ac0&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"wrapper\"},[_c('h1',[_vm._v(\"My Tasks\")]),[_c('div',{staticClass:\"table-options\"},[_c('span',[_vm._v(\"Filters:\")]),_c('div',{staticClass:\"select-container select-container--no-label\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.statusFilter),expression:\"statusFilter\"}],on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.statusFilter=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.getTasks()}]}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"All Statuses\")]),_vm._l((_vm.statusList),function(status){return _c('option',{key:status.id,domProps:{\"value\":status.id}},[_vm._v(_vm._s(status.name))])})],2),_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"16\",\"height\":\"16\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z\",\"fill\":\"#999\"}})])])]),(_vm.isLoading)?_c('div',{staticClass:\"loading\"}):_vm._e(),(_vm.tasks)?[(_vm.tasks.length > 0)?_c('div',{staticClass:\"table\"},[_vm._m(0),_vm._l((_vm.tasks),function(task,index){return [_c('router-link',{key:task.id,staticClass:\"table__row\",attrs:{\"data-cy\":(\"my-task-\" + index),\"to\":{ path: '/task/:id', name: 'taskId', params: { id: task.id } }}},[_c('div',{staticClass:\"table__cell\"},[_c('div',{staticClass:\"circle\",class:[{ 'circle--active': task.status == 'approved' }, { 'circle--warning': task.status == 'pending-review' }, { 'circle--exported': task.status == 'exported' }]})]),_c('div',{staticClass:\"table__cell\"},[_vm._v(_vm._s(task.status))]),_c('div',{staticClass:\"table__cell\"},[_vm._v(_vm._s(task.notesFreelancers))]),_c('div',{staticClass:\"table__cell\"},[_vm._v(_vm._s(task.type))]),_c('div',{staticClass:\"table__cell\"},[_vm._v(\" \"+_vm._s(_vm.submitDateFormatted(task.submittedAt))+\" \")]),_c('div',{staticClass:\"table__header\"},[_vm._v(\"-\")]),_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"20\",\"height\":\"20\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z\",\"fill\":\"#999\"}})])])]})],2):_vm._e()]:(_vm.statusFilter)?_c('div',[_c('span',[_vm._v(\"You do not have any tasks with selected status\")])]):_c('div',[_c('span',[_vm._v(\"You have not claimed any tasks yet\")])])]],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"table__headers\"},[_c('div'),_c('div',{staticClass:\"table__header\"},[_vm._v(\"Status\")]),_c('div',{staticClass:\"table__header\"},[_vm._v(\"Description\")]),_c('div',{staticClass:\"table__header\"},[_vm._v(\"Type\")]),_c('div',{staticClass:\"table__header\"},[_vm._v(\"Created date\")]),_c('div',{staticClass:\"table__header\"},[_vm._v(\"Deadline\")]),_c('div')])}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./my-tasks.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./my-tasks.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./my-tasks.vue?vue&type=template&id=d33b5ac0&scoped=true&\"\nimport script from \"./my-tasks.vue?vue&type=script&lang=js&\"\nexport * from \"./my-tasks.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-tasks.vue?vue&type=style&index=0&id=d33b5ac0&lang=scss&scoped=true&\"\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 \"d33b5ac0\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}