{"version":3,"sources":["webpack:///./src/views/freelancer/overview.vue?2445","webpack:///./src/views/freelancer/overview.vue?fb3b","webpack:///src/views/freelancer/overview.vue","webpack:///./src/views/freelancer/overview.vue?c1ce","webpack:///./src/views/freelancer/overview.vue?af12","webpack:///./src/views/freelancer/overview.vue?f0de"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","directives","name","rawName","value","expression","attrs","on","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","statusFilter","multiple","monthFilter","_l","month","key","id","domProps","_s","_e","Object","keys","userContent","contentType","index","_m","length","data","path","title","type","submitDateFormatted","createdAt","status","isLast","loadMoreContent","staticRenderFns","userDataList","isLoading","methods","date","toLocaleString","mounted","watch","computed","component"],"mappings":"yIAAA,yBAA0jB,EAAG,G,yCCA7jB,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,gBAAgB,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,MAAM,CAAC,UAAU,iBAAiBC,GAAG,CAAC,OAAS,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,EAAEZ,MAAM,OAAOe,KAAO1B,EAAI4B,aAAab,EAAOM,OAAOQ,SAAWb,EAAgBA,EAAc,MAAM,CAACZ,EAAG,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AAc,GACdC,WAAW,EACX5B,aAAc,GACdE,aAAc,IAGlB2B,QAAS,OAAX,OAAW,CAAX,GACA,wDADA,GAEA,gBAAI,WAAJ,qBAFA,CAGI,gBAHJ,WAGA,wKACA,qBADA,OAEA,eAFA,8CAIIR,oBAPJ,SAOA,GACM,IAAN,cACM,OAAOS,EAAKC,eAAe,UAE7B,gBAXJ,SAWA,kKACA,eADA,SAEA,wGAFA,OAGA,eAHA,gDAMEC,QAAS,WAAX,4JACA,uBADA,OAGA,kCACA,sCAJA,qGAAW,GAQTC,MAAO,CACLjC,aAAc,WAAlB,oJACA,oBADA,SAEA,qFAFA,sGAAkB,GAIdE,YAAa,WAAjB,oJACA,mBADA,SAEA,qFAFA,sGAAiB,IAMfgC,SAAU,OAAZ,OAAY,CAAZ,GACA,oEC7HiW,I,kCCS7VC,EAAY,eACd,EACAhE,EACAuD,GACA,EACA,KACA,WACA,MAIa,aAAAS,E,2CCpBf,yBAAie,EAAG,G","file":"js/chunk-69b277a6.ffc11185.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!./overview.vue?vue&type=style&index=1&id=09dadef5&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!./overview.vue?vue&type=style&index=1&id=09dadef5&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 Content\")]),[_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\"}],attrs:{\"data-cy\":\"status-filter\"},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]}}},[_c('option',{attrs:{\"default\":\"\",\"value\":\"\"}},[_vm._v(\"All Statuses\")]),_c('option',{attrs:{\"value\":\"Draft\"}},[_vm._v(\"Draft\")]),_c('option',{attrs:{\"value\":\"Pending Review\"}},[_vm._v(\"Pending Review\")]),_c('option',{attrs:{\"value\":\"Revision Needed\"}},[_vm._v(\"Revision Needed\")]),_c('option',{attrs:{\"value\":\"Approved\"}},[_vm._v(\"Approved\")]),_c('option',{attrs:{\"value\":\"Exported\"}},[_vm._v(\"Exported\")]),_c('option',{attrs:{\"value\":\"Live\"}},[_vm._v(\"Live (discontinued)\")])]),_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\"}})])]),_c('div',{staticClass:\"select-container select-container--no-label\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.monthFilter),expression:\"monthFilter\"}],attrs:{\"data-cy\":\"months-filter\"},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.monthFilter=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"-1\"}},[_vm._v(\"All Months\")]),_vm._l((_vm.monthList),function(month){return _c('option',{key:month.id,domProps:{\"value\":month.id}},[_vm._v(_vm._s(month.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\",attrs:{\"data-cy\":\"spinner\"}}):_vm._e(),(Object.keys(_vm.userContent).length)?_c('div',_vm._l((_vm.userContent),function(contentType,index){return _c('div',{key:index},[_c('h3',{attrs:{\"data-cy\":(\"content-title-\" + index)}},[_vm._v(_vm._s(index))]),_c('div',{staticClass:\"table table--5-columns\"},[_vm._m(0,true),(contentType.length === 0)?_c('div',[_vm._m(1,true)]):_vm._e(),_vm._l((contentType),function(data){return [_c('router-link',{key:data.id,staticClass:\"table__row\",attrs:{\"to\":data.path + data.id}},[_c('div',{staticClass:\"table__cell\"},[_vm._v(_vm._s(data.title))]),_c('div',{staticClass:\"table__cell\"},[_vm._v(_vm._s(data.type))]),_c('div',{staticClass:\"table__cell\"},[_vm._v(\" \"+_vm._s(_vm.submitDateFormatted(data.createdAt))+\" \")]),_c('div',{staticClass:\"table__cell\"},[_vm._v(_vm._s(data.status))]),_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),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!contentType[contentType.length - 1].isLast),expression:\"!contentType[contentType.length - 1].isLast\"}],staticClass:\"button__container\"},[_c('button',{staticClass:\"button--link\",attrs:{\"data-cy\":(\"see-more-\" + index)},on:{\"click\":function($event){return _vm.loadMoreContent(index)}}},[_vm._v(\"See more...\")])])])}),0):_c('div',[_c('span',[_vm._v(\"You have not created any content 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',{staticClass:\"table__header\"},[_vm._v(\"Title\")]),_c('div',{staticClass:\"table__header\"},[_vm._v(\"Type\")]),_c('div',{staticClass:\"table__header\"},[_vm._v(\"Created date\")]),_c('div',{staticClass:\"table__header\"},[_vm._v(\"Status\")]),_c('div')])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"table__row table__row--empty\"},[_c('div',{staticClass:\"table__cell\"},[_vm._v(\" Your content will appear here \")])])}]\n\nexport { render, staticRenderFns }","\n
\n
My Content
\n \n \n \n
\n Filters:\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n\n
\n
\n
{{ index }}
\n
\n
\n
Title
\n
Type
\n
Created date
\n
Status
\n \n
\n
\n
\n
\n Your content will appear here\n
\n
\n
\n \n \n
{{ data.title }}
\n
{{ data.type }}
\n
\n {{ submitDateFormatted(data.createdAt) }}\n
\n
{{ data.status }}
\n \n \n \n \n
\n
\n \n
\n
\n
\n
\n You have not created any content yet\n
\n \n
\n\n\n\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!./overview.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!./overview.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./overview.vue?vue&type=template&id=09dadef5&scoped=true&\"\nimport script from \"./overview.vue?vue&type=script&lang=js&\"\nexport * from \"./overview.vue?vue&type=script&lang=js&\"\nimport style0 from \"./overview.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./overview.vue?vue&type=style&index=1&id=09dadef5&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 \"09dadef5\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./overview.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./overview.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}