{"version":3,"sources":["webpack:///./src/views/Dashboard.vue?b15f","webpack:///src/views/Dashboard.vue","webpack:///./src/views/Dashboard.vue?f24d","webpack:///./src/views/Dashboard.vue","webpack:///./src/views/Dashboard.vue?0fe3"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","includes","currentUserData","role","_v","staticStyle","_s","_f","competitionCountStats","count","_e","athleteCountStats","invoicedAmountStats","amount","name","split","userAccessLevelDescriptions","hasGoogleLogin","on","linkWithGoogle","staticRenderFns","component","QPage","QCard","QAvatar","QIcon","QCardSection","QSeparator","QBtn","QSpace","QInput","QTd"],"mappings":"2IAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACE,MAAM,CAAC,MAAQ,KAAK,CAACF,EAAG,MAAM,CAACG,YAAY,kBAAkB,CAAE,CAAC,QAAS,iBAAiBC,SAASR,EAAIS,gBAAgBC,MAAON,EAAG,MAAM,CAACG,YAAY,oCAAoC,CAACH,EAAG,SAAS,CAACG,YAAY,+BAA+B,CAACH,EAAG,KAAK,CAACG,YAAY,wBAAwB,CAACP,EAAIW,GAAG,wBAAyBX,EAAyB,sBAAEI,EAAG,KAAK,CAACG,YAAY,+BAA+BK,YAAY,CAAC,cAAc,QAAQ,CAACZ,EAAIW,GAAG,IAAIX,EAAIa,GAAGb,EAAIc,GAAG,eAAPd,CAAuBA,EAAIe,sBAAsBC,QAAQ,OAAOhB,EAAIiB,KAAKb,EAAG,WAAW,CAACG,YAAY,eAAeD,MAAM,CAAC,KAAO,OAAO,QAAU,GAAG,MAAQ,UAAU,CAACF,EAAG,SAAS,CAACE,MAAM,CAAC,MAAQ,UAAU,KAAO,WAAW,KAAO,SAAS,IAAI,IAAI,GAAGN,EAAIiB,KAAM,CAAC,QAAS,iBAAiBT,SAASR,EAAIS,gBAAgBC,MAAON,EAAG,MAAM,CAACG,YAAY,oCA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,0CACA,aAEA,CACA,wBACA,2BACA,aACA,yBACA,0BACA,0CACA,aAEA,CACA,eACA,gBACA,aACA,cAGA,UAEA,6BACA,mBACA,6BACA,cACA,8DACA,aACA,qFACA,oCACA,2BACA,0CACA,0CACA,4CACA,oBAGA,mBACA,iBAEA,SACA,oBAEA,mDACA,+CACA,iDACA,8CAEA,0BACA,6CAEA,8BACA,oDClU4e,I,qKCQxeC,EAAY,eACd,EACA7B,EACA4B,GACA,EACA,KACA,KACA,MAIa,aAAAC,EAAiB,QAYhC,IAASA,EAAW,aAAc,CAACC,QAAA,KAAMC,QAAA,KAAMC,UAAA,KAAQC,QAAA,KAAMC,eAAA,KAAaC,aAAA,KAAWC,OAAA,KAAKC,SAAA,KAAOC,SAAA,KAAOC,MAAA,Q,kCC/BxG","file":"js/dashboard.9eb2cf75.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('q-page',{attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"row full-width\"},[(['Admin', 'Waves Manager'].includes(_vm.currentUserData.role))?_c('div',{staticClass:\"col-12 col-sm-6 col-md-4 q-pa-md\"},[_c('q-card',{staticClass:\"bg-accent4 q-pa-md statCard\"},[_c('h6',{staticClass:\"text-white q-my-none\"},[_vm._v(\"Total Competitions\")]),(_vm.competitionCountStats)?_c('h5',{staticClass:\"text-white q-mt-none q-mb-lg\",staticStyle:{\"font-weight\":\"800\"}},[_vm._v(\" \"+_vm._s(_vm._f(\"numberFormat\")(_vm.competitionCountStats.count))+\" \")]):_vm._e(),_c('q-avatar',{staticClass:\"statCardIcon\",attrs:{\"size\":\"45px\",\"rounded\":\"\",\"color\":\"white\"}},[_c('q-icon',{attrs:{\"color\":\"accent4\",\"name\":\"mdi-swim\",\"size\":\"lg\"}})],1)],1)],1):_vm._e(),(['Admin', 'Waves Manager'].includes(_vm.currentUserData.role))?_c('div',{staticClass:\"col-12 col-sm-6 col-md-4 q-pa-md\"},[_c('q-card',{staticClass:\"bg-accent3 q-pa-md statCard\"},[_c('h6',{staticClass:\"text-white q-my-none\"},[_vm._v(\"Total Athletes\")]),(_vm.athleteCountStats)?_c('h5',{staticClass:\"text-white q-mt-none q-mb-lg\",staticStyle:{\"font-weight\":\"800\"}},[_vm._v(\" \"+_vm._s(_vm._f(\"numberFormat\")(_vm.athleteCountStats.count))+\" \")]):_vm._e(),(_vm.athleteCountStats && false)?_c('p',{staticClass:\"text-white\"},[_vm._v(\" \"+_vm._s(_vm.percentFromPrevious( _vm.athleteCountStats.thisMonthsCount, _vm.athleteCountStats.lastMonthsCount ) > 0 ? \"+\" : \"\")+\" \"+_vm._s(_vm.percentFromPrevious( _vm.athleteCountStats.thisMonthsCount, _vm.athleteCountStats.lastMonthsCount ))+\"% From Previous Month \")]):_vm._e(),_c('q-avatar',{staticClass:\"statCardIcon\",attrs:{\"size\":\"45px\",\"rounded\":\"\",\"color\":\"white\"}},[_c('q-icon',{attrs:{\"color\":\"accent3\",\"name\":\"mdi-account\",\"size\":\"lg\"}})],1)],1)],1):_vm._e(),(['Admin', 'Waves Manager'].includes(_vm.currentUserData.role))?_c('div',{staticClass:\"col-12 col-sm-6 col-md-4 q-pa-md statCard\"},[_c('q-card',{staticClass:\"bg-primary q-pa-md\"},[_c('h6',{staticClass:\"text-white q-my-none\"},[_vm._v(\"Total Invoiced\")]),_c('h5',{staticClass:\"text-white q-mt-none q-mb-lg\",staticStyle:{\"font-weight\":\"800\"}},[_vm._v(\" $\"+_vm._s(_vm._f(\"number\")(_vm.invoicedAmountStats.amount ? _vm.invoicedAmountStats.amount : 0))+\" \")]),(false)?_c('p',{staticClass:\"text-white\"},[_vm._v(\"+x% From Previous Month\")]):_vm._e(),_c('q-avatar',{staticClass:\"statCardIcon\",attrs:{\"size\":\"45px\",\"rounded\":\"\",\"color\":\"white\"}},[_c('q-icon',{attrs:{\"color\":\"primary\",\"name\":\"mdi-cash\",\"size\":\"lg\"}})],1)],1)],1):_vm._e(),_c('div',{staticClass:\"col-12 q-pa-md\"},[_c('q-card',[_c('q-card-section',[_c('div',{staticClass:\"row items-center\"},[_c('div',{staticClass:\"text-h6\",staticStyle:{\"display\":\"inline-block\"}},[_vm._v(\" Welcome \"+_vm._s(_vm.currentUserData.name.split(\" \")[0])+\" \"),_c('span',{staticClass:\"text-grey\",staticStyle:{\"font-size\":\"12px\",\"position\":\"absolute\",\"left\":\"16px\",\"bottom\":\"-5px\"}},[_vm._v(\" \"+_vm._s(_vm.currentUserData.role)+\" - This account allows you to manage \"+_vm._s(_vm.userAccessLevelDescriptions[_vm.currentUserData.role])+\" \")])])])]),_c('q-separator'),_c('q-card-section',[_c('p',[_vm._v(\"Welcome to your Event Management System!\")]),_c('p',[_vm._v(\" The Event Management System allows you to access various levels of event design, entries and waves competition management along with live results reporting. Use the left side menu bar to select the area to wish to start working on. \")]),_c('p',[_vm._v(\" You can edit your details by clicking on your name at the top left side menu. \")]),_c('p',[_vm._v(\" If you have any questions please don’t hesitate to contact us or use the help menu title to access system tutorials. \")]),_c('p',[_vm._v(\"Have a great day ;-)\")])])],1)],1),(false)?_c('div',{staticClass:\"col-12 q-pa-md\"},[_c('q-card',[_c('q-card-section',[_c('div',{staticClass:\"row items-center\"},[_c('div',{staticClass:\"text-h6\",staticStyle:{\"display\":\"inline-block\"}},[_vm._v(\"Calendar\")])])]),_c('q-separator'),_c('q-card-section',[_vm._v(\" Comming Soon! \")])],1)],1):_vm._e(),(false)?_c('div',{staticClass:\"col-12 q-pa-md\"},[_c('q-card',[_c('q-card-section',[_c('div',{staticClass:\"row items-center\"},[_c('div',{staticClass:\"text-h6\",staticStyle:{\"display\":\"inline-block\"}},[_vm._v(\" Competitions \")]),_c('q-btn',{staticClass:\"q-ml-md\",attrs:{\"color\":\"secondaryButton\",\"text-color\":\"accent\",\"no-caps\":\"\",\"unelevated\":\"\",\"icon\":\"mdi-refresh\",\"loading\":_vm.dataLoading},on:{\"click\":_vm.loadData}}),_c('q-space'),_c('q-input',{staticStyle:{\"max-width\":\"70%\"},attrs:{\"filled\":\"\",\"debounce\":\"200\",\"label\":\"Search\",\"clearable\":\"\",\"dense\":\"\"},scopedSlots:_vm._u([{key:\"prepend\",fn:function(){return [_c('q-icon',{attrs:{\"name\":\"mdi-magnify\"}})]},proxy:true}],null,false,2453493074),model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1)]),_c('q-separator'),_c('q-card-section',{staticClass:\"q-pa-none\"},[(_vm.gridData)?_c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12 mt-0 pt-0\",staticStyle:{\"height\":\"calc(100vh - 260px) !important\"}},[_c('datatable',{attrs:{\"filter\":_vm.search,\"flat\":true,\"data\":_vm.gridData,\"columns\":_vm.columns},on:{\"rowDoubleClick\":_vm.handleDoubleClick},scopedSlots:_vm._u([{key:\"body-cell-actions\",fn:function(data){return [_c('q-td',{class:{\n currentlyDeployedTD: data.props.value == 1,\n notDeployedTD: data.props.value != 1,\n },attrs:{\"props\":data.props}},[_vm._v(\" Coming soon! \")])]}}],null,false,3479096911)})],1)])]):_vm._e()])],1)],1):_vm._e(),(_vm.currentUserData.hasGoogleLogin == 0)?_c('div',{staticClass:\"col-12 col-sm-6 q-mt-md\"},[_c('q-card',[_c('q-card-section',[_c('div',{staticClass:\"text-h6\",staticStyle:{\"display\":\"inline-block\"}},[_vm._v(\" Link Account with Google \")])]),_c('q-card-section',[_c('q-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.linkWithGoogle}},[_vm._v(\" Login with Google \")])],1)],1)],1):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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/vue-cli-plugin-quasar/lib/loader.transform-quasar-imports.js!../../node_modules/vue-cli-plugin-quasar/lib/loader.auto-import.js?kebab!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.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/vue-cli-plugin-quasar/lib/loader.transform-quasar-imports.js!../../node_modules/vue-cli-plugin-quasar/lib/loader.auto-import.js?kebab!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=2304bc36&\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=js&\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Dashboard.vue?vue&type=style&index=0&lang=scss&\"\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 null\n \n)\n\nexport default component.exports\nimport QPage from 'quasar/src/components/page/QPage.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QAvatar from 'quasar/src/components/avatar/QAvatar.js';\nimport QIcon from 'quasar/src/components/icon/QIcon.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QSeparator from 'quasar/src/components/separator/QSeparator.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport QSpace from 'quasar/src/components/space/QSpace.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QTd from 'quasar/src/components/table/QTd.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(component, 'components', {QPage,QCard,QAvatar,QIcon,QCardSection,QSeparator,QBtn,QSpace,QInput,QTd});\n","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/vue-cli-plugin-quasar/lib/loader.auto-import.js?kebab!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}