{"version":3,"sources":["webpack:///./src/components/studentdashboard/TimeCapture.vue?7613","webpack:///src/components/studentdashboard/TimeCapture.vue","webpack:///./src/components/studentdashboard/TimeCapture.vue?43cf","webpack:///./src/components/studentdashboard/TimeCapture.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","_l","_item","index1","key","_v","_s","courseName","_module","index2","name","_task","index3","timeValue","attrs","taskClassificationTypeId","sliderMinFormatives","sliderMinSummatives","sliderMaxFormatives","sliderMaxSummatives","model","value","callback","$$v","$set","expression","modules","length","_e","timeCaptureData","on","submit","staticRenderFns","components","VueSlider","computed","methods","self","showLoadingOnElement","onSuccess","response","data","forEach","formativesCount","tasks","filter","x","summativesCount","Math","ceil","formativeHoursRequired","summativeHoursRequired","push","onFinally","$vs","loading","close","$refs","whole_page","$el","$ajaxGet","tasksWithTime","taskId","id","time","$router","back","submitbtn","$ajaxPost","element","scale","type","container","loadData","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,IAAI,aAAaC,YAAY,aAAa,CAACH,EAAG,MAAM,CAACG,YAAY,eAAe,CAACH,EAAG,MAAM,CAACG,YAAY,kEAAkE,CAACP,EAAIQ,GAAIR,EAAmB,iBAAE,SAASS,EAAMC,GAAQ,OAAON,EAAG,MAAM,CAACO,IAAID,EAAOH,YAAY,QAAQ,CAACH,EAAG,KAAK,CAACJ,EAAIY,GAAGZ,EAAIa,GAAGJ,EAAMK,eAAeV,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiBP,EAAIQ,GAAIC,EAAa,SAAE,SAASM,EAAQC,GAAQ,OAAOZ,EAAG,MAAM,CAACO,IAAIK,GAAQ,CAACZ,EAAG,KAAK,CAACJ,EAAIY,GAAGZ,EAAIa,GAAGE,EAAQE,SAASb,EAAG,MAAM,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AAIC,QAAQC,MAAMnB,EAAKoB,MAAMC,WAAWC,MAG/CtB,EAAKuB,SAASvB,EAAM,yCAA0CE,EAAWc,IAE3E,SACE,IAAIhB,EAAO3C,KAEX2C,EAAKC,qBAAqB,YAAa,IAAM,YAE7C,IAAIM,EAAQ,GACRH,EAAOJ,EAAKR,gBAEhBY,EAAKC,QAAQxC,IACXA,EAAMwB,QAAQgB,QAAQlC,IACpB,IAAIqD,EAAgBrD,EAAQoC,MAAMC,OAAOC,GAAoB,MAAfA,EAAEjC,WAChDgD,EAAcnB,QAAQ/B,IACpBiC,EAAMQ,KAAK,CAAEU,OAAQnD,EAAMoD,GAAIC,KAAMrD,EAAME,kBAKjD,IAAI0B,EAAYC,IACdH,EAAK4B,QAAQC,QAEXb,EAAYb,IACdH,EAAKiB,IAAIC,QAAQC,MAAMnB,EAAKoB,MAAMU,UAAUR,MAG9CtB,EAAK+B,UAAU/B,EAAM,4BAA6BO,EAAOL,EAAWc,IAEtE,qBAAqBgB,EAASC,EAAOC,GACnC,IAAIlC,EAAO3C,KACX2C,EAAKiB,IAAIC,QAAQ,CACfgB,KAAMA,EACNC,UAAWnC,EAAKoB,MAAMY,GAASV,IAC/BW,MAAOA,KAGX,qBAAqBD,GACnB,IAAIhC,EAAO3C,KACX2C,EAAKiB,IAAIC,QAAQC,MAAMnB,EAAKoB,MAAMY,GAASV,OAG/C,UACE,IAAItB,EAAO3C,KACX2C,EAAKoC,cC5IiM,I,YCOtMC,EAAY,eACd,EACAlF,EACAwC,GACA,EACA,KACA,KACA,MAIa,aAAA0C,E","file":"js/chunk-2d207f58.037bac4a.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"whole_page\",staticClass:\"text-left\"},[_c('div',{staticClass:\"vx-row mx-4\"},[_c('div',{staticClass:\"vx-col xs:w-full sm:w-full md:w-full lg:w-5/6 xl:w-3/4 mx-auto\"},[_vm._l((_vm.timeCaptureData),function(_item,index1){return _c('div',{key:index1,staticClass:\"mb-3\"},[_c('h2',[_vm._v(_vm._s(_item.courseName))]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},_vm._l((_item.modules),function(_module,index2){return _c('div',{key:index2},[_c('h4',[_vm._v(_vm._s(_module.name))]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},_vm._l((_module.tasks),function(_task,index3){return _c('div',{key:index3},[_c('h5',[_vm._v(_vm._s(index3 + 1)+\". \"+_vm._s(_task.name))]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('p',[_vm._v(\"How many hours did you spend preparing for the assessment? \")]),_c('p',{staticClass:\"mb-2\"},[_c('small',[_vm._v(\"Selected time: \"),_c('strong',[_vm._v(_vm._s(!_task.timeValue ? \"None\" : ((_task.timeValue) + \" \" + (_task.timeValue == 1 ? 'hour' : 'hours'))))])])]),_c('vue-slider',{staticClass:\"w-full mb-5\",attrs:{\"tooltip\":'none',\"adsorb\":true,\"min\":_task.taskClassificationTypeId == 1 ? _module.sliderMinFormatives : _module.sliderMinSummatives,\"max\":_task.taskClassificationTypeId == 1 ? _module.sliderMaxFormatives : _module.sliderMaxSummatives,\"data-label\":'id',\"data-value\":'id',\"marks\":true},model:{value:(_task.timeValue),callback:function ($$v) {_vm.$set(_task, \"timeValue\", $$v)},expression:\"_task.timeValue\"}})],1)])])}),0)]),(_item.modules.length > 1 && index2 < (_item.modules.length - 1))?_c('vs-divider'):_vm._e()],1)}),0)]),(_vm.timeCaptureData.length > 1 && index1 < (_vm.timeCaptureData.length - 1))?_c('vs-divider'):_vm._e(),(_vm.timeCaptureData.length > 1 && index1 < (_vm.timeCaptureData.length - 1))?_c('vs-divider'):_vm._e()],1)}),(_vm.timeCaptureData.length > 0)?_c('div',{staticClass:\"vx-row mt-3\"},[_c('vs-spacer'),_c('div',{staticClass:\"vx-col\"},[_c('vs-button',{ref:\"submitbtn\",staticClass:\"vs-con-loading__container\",attrs:{\"color\":\"success\",\"type\":\"filled\"},on:{\"click\":_vm.submit}},[_vm._v(\"Submit Times\")])],1)],1):_vm._e()],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n {{ _item.courseName }}\r\n \r\n \r\n \r\n {{ _module.name }}\r\n \r\n \r\n \r\n {{ index3 + 1 }}. {{ _task.name }}\r\n \r\n \r\n How many hours did you spend preparing for the assessment? \r\n Selected time: {{ !_task.timeValue ? \"None\" : `${_task.timeValue} ${_task.timeValue == 1 ? 'hour' : 'hours'}` }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n 1 && index2 < (_item.modules.length - 1)\" />\r\n \r\n \r\n \r\n 1 && index1 < (timeCaptureData.length - 1)\" />\r\n 1 && index1 < (timeCaptureData.length - 1)\" />\r\n \r\n 0\" class=\"vx-row mt-3\">\r\n \r\n \r\n Submit Times\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimeCapture.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimeCapture.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TimeCapture.vue?vue&type=template&id=3501cec6&\"\nimport script from \"./TimeCapture.vue?vue&type=script&lang=js&\"\nexport * from \"./TimeCapture.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 null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
How many hours did you spend preparing for the assessment?
Selected time: {{ !_task.timeValue ? \"None\" : `${_task.timeValue} ${_task.timeValue == 1 ? 'hour' : 'hours'}` }}