{"version":3,"sources":["webpack:///./src/views/timesheet/Edit.vue","webpack:///src/views/timesheet/Edit.vue","webpack:///./src/views/timesheet/Edit.vue?5eb8","webpack:///./src/views/timesheet/Edit.vue?e306","webpack:///./node_modules/core-js/internals/same-value.js","webpack:///./src/components/ui/form/SelectField.vue","webpack:///src/components/ui/form/SelectField.vue","webpack:///./src/components/ui/form/SelectField.vue?1f28","webpack:///./src/components/ui/form/SelectField.vue?8450","webpack:///./node_modules/core-js/modules/es.string.search.js","webpack:///./src/components/ui/confirmationDialog.vue","webpack:///src/components/ui/confirmationDialog.vue","webpack:///./src/components/ui/confirmationDialog.vue?0e04","webpack:///./src/components/ui/confirmationDialog.vue?dbad","webpack:///./src/views/timesheet/Edit.vue?e474","webpack:///./src/components/ui/Dialog.vue","webpack:///src/components/ui/Dialog.vue","webpack:///./src/components/ui/Dialog.vue?031d","webpack:///./src/components/ui/Dialog.vue?85af"],"names":["render","_vm","this","_c","_self","staticClass","class","alertType","attrs","model","value","alert","callback","$$v","expression","_v","_s","alertMessage","ref","valid","on","$event","preventDefault","openPersonnelSearchModal","apply","arguments","salaryCycles","selectedCycle","formData","salaryCycle","$set","scopedSlots","_u","key","fn","closePersonnelSearchModal","proxy","search","isLoading","employeeList","searchHeaders","_ref","item","firstName","lastName","middleName","_ref2","department","name","_ref3","getRotationName","rotationId","selectedPersonnel","length","_l","headers","headerName","timeSheets","timesheet","employeeId","timesheetItems","index","timesheetItemDate","type","show","directives","rawName","hoursWorked","domProps","updateWorkHour","target","composing","_e","isTimesheet","dialog","onSave","onReset","staticRenderFns","components","Dialog","Button","SelectField","ConfirmationDialog","props","data","rotations","salaryCycleId","requestId","personnel","personnelSearch","requestType","selected","searching","creating","text","personnelHeaders","glutenfree","methods","showAlertMessage","message","_this","$store","dispatch","SAVE_TIMESHEET","then","res","catch","error","console","log","selectPersonnel","push","id","rotation","rotationName","createTimesheetTable","salaryData","dateArr","prevDate","moment","startDate","format","nextDate","endDate","start","Date","end","date","newDate","setDate","getDate","_this2","forEach","timesheetService","getUnApprovedEmployeeTimesheet","getTimesheet","newTimesheetItems","header","timeSheetItem","find","undefined","Object","assign","timesheetId","isRegular","isOvertime","isShift","ROTATION","OfficeRegular","salaryPeriodId","concat","e","$refs","openModal","removePersonnel","newTimesheet","filter","timeSheet","newPersonnel","person","closeModal","salarycomponent","reset","personnelSearchFunction","_this3","employeeService","searchPersonnel","result","mounted","_this4","salaryPeriodService","getOpenSalaryPeriod","rotationService","getAllRotation","items","getAllEmployees","component","module","exports","is","x","y","itemText","itemValue","returnObject","label","validate","v","$emit","onChange","Array","required","String","default","Boolean","event","call","fixRegExpWellKnownSymbolLogic","anObject","isNullOrUndefined","requireObjectCoercible","sameValue","toString","getMethod","regExpExec","SEARCH","nativeSearch","maybeCallNative","regexp","O","searcher","RegExp","string","rx","S","done","previousLastIndex","lastIndex","title","btnTitle","loading","btnAction","stopPropagation","computed","get","set","persistent","width","showModal","_t","subTitle","Number","toggleModal"],"mappings":"2JAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,QAAQ,CAACA,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,YAAY,QAAQC,MAAM,CAAC,cAA6B,SAAfL,EAAIM,UAAoB,gBAA+B,WAAfN,EAAIM,WAAsBC,MAAM,CAAC,KAAO,GAAG,YAAc,GAAG,OAAS,QAAQC,MAAM,CAACC,MAAOT,EAAIU,MAAOC,SAAS,SAAUC,GAAMZ,EAAIU,MAAME,GAAKC,WAAW,UAAU,CAACb,EAAIc,GAAG,IAAId,EAAIe,GAAGf,EAAIgB,cAAc,QAAQ,GAAGd,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,MAAM,CAACE,YAAY,4BAA4B,CAACF,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAACF,EAAG,KAAK,CAACF,EAAIc,GAAG,oBAAoBZ,EAAG,QAAQA,EAAG,SAAS,CAACe,IAAI,kBAAkB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AAA,GAEA3E,UAAA,WACA,KAAA2E,WAAA,GAEAI,YAAA,WACA,KAAAJ,WAAA,KAAAA,cCxD8V,I,YCO1VpD,EAAY,eACd,EACAhL,EACA6E,GACA,EACA,KACA,KACA,MAIa,OAAAmG,E","file":"js/chunk-127060e6.30a42131.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',[_c('div',[_c('v-alert',{staticClass:\"alert\",class:{'alert-error':_vm.alertType=='error', 'alert-success':_vm.alertType=='success'},attrs:{\"dark\":\"\",\"dismissible\":\"\",\"border\":\"left\"},model:{value:(_vm.alert),callback:function ($$v) {_vm.alert=$$v},expression:\"alert\"}},[_vm._v(\" \"+_vm._s(_vm.alertMessage)+\" \")])],1),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-6 ml-auto mr-auto\"},[_c('div',{staticClass:\"mb-8 mt-8 text-center\"},[_c('h3',[_vm._v(\"Edit Timesheet\")]),_c('hr')]),_c('v-form',{ref:\"salarycomponent\",model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mb-6\"},[_c('v-btn',{staticClass:\"btn-style justify-start text-style\",attrs:{\"width\":\"100%\",\"height\":\"38\",\"outlined\":\"\"},on:{\"click\":function($event){$event.preventDefault();return _vm.openPersonnelSearchModal.apply(null, arguments)}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-magnify\")]),_vm._v(\" Personnel \")],1)],1),_c('v-col',[_c('SelectField',{attrs:{\"items\":_vm.salaryCycles,\"label\":'Salary Cycle',\"itemText\":'description',\"itemValue\":'id',\"returnObject\":true},on:{\"input\":_vm.selectedCycle},model:{value:(_vm.formData.salaryCycle),callback:function ($$v) {_vm.$set(_vm.formData, \"salaryCycle\", $$v)},expression:\"formData.salaryCycle\"}})],1)],1)],1)],1)]),_c('Dialog',{ref:\"personnelSearch\",attrs:{\"title\":'Personnel Search',\"width\":600},scopedSlots:_vm._u([{key:\"footer\",fn:function(){return [_c('Button',{attrs:{\"label\":'Ok',\"btnType\":'Cancel'},on:{\"onClick\":_vm.closePersonnelSearchModal}})]},proxy:true}])},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"outlined\":\"\",\"label\":\"Search\",\"dense\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-col',{staticClass:\"employee-search\",attrs:{\"cols\":\"12\"}},[_c('v-data-table',{staticClass:\"elevation-1 row-pointer\",attrs:{\"dense\":\"\",\"show-select\":\"\",\"item-key\":\"id\",\"search\":_vm.search,\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"loading\":_vm.isLoading,\"items\":_vm.employeeList,\"headers\":_vm.searchHeaders,\"loading-text\":\"Fetching personnel\"},scopedSlots:_vm._u([{key:\"item.firstName\",fn:function({ item }){return [_c('span',[_vm._v(\" \"+_vm._s(item.firstName)+\", \"+_vm._s(item.lastName)+\" \"+_vm._s(item.middleName)+\" \")])]}},{key:\"item.departmentId\",fn:function({ item }){return [_c('span',[_vm._v(\" \"+_vm._s(item.department.name)+\" \")])]}},{key:\"item.rotationId\",fn:function({ item }){return [_c('span',[_vm._v(\" \"+_vm._s(_vm.getRotationName(item.rotationId))+\" \")])]}}]),model:{value:(_vm.selectedPersonnel),callback:function ($$v) {_vm.selectedPersonnel=$$v},expression:\"selectedPersonnel\"}})],1)],1)],1),(_vm.selectedPersonnel.length > 0)?_c('div',{staticClass:\"scroll row\"},[_c('div',{staticClass:\"col-md-10 col-sm-12 ml-auto mr-auto\"},[_c('v-simple-table',{scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',[_c('tr',[_c('th',[_vm._v(\"Personnel\")]),_vm._l((_vm.headers),function(item){return _c('th',{key:item.headerName},[_vm._v(_vm._s(item.headerName))])})],2)]),_c('tbody',_vm._l((_vm.timeSheets),function(timesheet){return _c('tr',{key:timesheet.employeeId},[_c('td',[_vm._v(\" \"+_vm._s(timesheet.name)+\" \")]),_vm._l((timesheet.timesheetItems),function(item,index){return _c('td',{key:item.timesheetItemDate,class:timesheet.timesheetItems[index].type},[(timesheet.timesheetItems[index].show === true)?_c('span',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(timesheet.timesheetItems[index].hoursWorked),expression:\"timesheet.timesheetItems[index].hoursWorked\"}],staticClass:\"hour-input\",attrs:{\"title\":\"Work Hours\",\"type\":\"Number\",\"min\":\"0\",\"max\":\"timesheet.rotationHours\"},domProps:{\"value\":(timesheet.timesheetItems[index].hoursWorked)},on:{\"blur\":_vm.updateWorkHour,\"input\":function($event){if($event.target.composing)return;_vm.$set(timesheet.timesheetItems[index], \"hoursWorked\", $event.target.value)}}})]):_vm._e(),(timesheet.timesheetItems[index].show === false)?_c('span',[_c('b',[_vm._v(_vm._s(timesheet.timesheetItems[index].type))])]):_vm._e()])})],2)}),0)]},proxy:true}],null,false,882069791)})],1)]):_vm._e(),_c('ConfirmationDialog',{attrs:{\"title\":'Are you sure you want to submit?',\"isLoading\":_vm.isTimesheet,\"dialog\":_vm.dialog,\"btnTitle\":'Yes'},on:{\"close\":function($event){_vm.dialog = false},\"btnAction\":_vm.onSave}}),(_vm.selectedPersonnel.length > 0 )?_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-end\",attrs:{\"cols\":\"11 mt-5\"}},[_c('Button',{staticClass:\"mr-4\",attrs:{\"label\":'Update',\"btnType\":'Submit',\"disabled\":!_vm.valid,\"isLoading\":_vm.isTimesheet},on:{\"onClick\":function($event){_vm.dialog = true}}}),_c('Button',{attrs:{\"label\":'Reset',\"btnType\":'Cancel'},on:{\"onClick\":_vm.onReset}})],1)],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=4ba9f8ad&scoped=true\"\nimport script from \"./Edit.vue?vue&type=script&lang=js\"\nexport * from \"./Edit.vue?vue&type=script&lang=js\"\nimport style0 from \"./Edit.vue?vue&type=style&index=0&id=4ba9f8ad&prod&scoped=true&lang=css\"\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 \"4ba9f8ad\",\n null\n \n)\n\nexport default component.exports","'use strict';\n// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;\n};\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-select',{attrs:{\"items\":_vm.items,\"item-text\":_vm.itemText,\"item-value\":_vm.itemValue,\"dense\":\"\",\"outlined\":\"\",\"return-object\":_vm.returnObject,\"label\":_vm.label,\"rules\":_vm.validate ? [v => !!v || 'Item is required'] : []},on:{\"input\":function($event){return _vm.$emit('input', $event)},\"change\":_vm.onChange}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectField.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectField.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SelectField.vue?vue&type=template&id=39a72acb&scoped=true\"\nimport script from \"./SelectField.vue?vue&type=script&lang=js\"\nexport * from \"./SelectField.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 \"39a72acb\",\n null\n \n)\n\nexport default component.exports","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);\n return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeSearch, rx, S);\n\n if (res.done) return res.value;\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline text-center\"},[_c('h3',[_vm._v(_vm._s(_vm.title))])]),_c('v-divider',{staticClass:\"mx-4 mb-5\"}),_c('v-card-actions',[_c('v-spacer'),_c('Button',{staticClass:\"mr-4\",attrs:{\"label\":_vm.btnTitle,\"btnType\":'Submit',\"isLoading\":_vm.loading},on:{\"onClick\":_vm.btnAction}}),_c('v-btn',{attrs:{\"color\":\"green darken-1\",\"text\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.show=false}}},[_vm._v(\"No\")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./confirmationDialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./confirmationDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./confirmationDialog.vue?vue&type=template&id=72eed400\"\nimport script from \"./confirmationDialog.vue?vue&type=script&lang=js\"\nexport * from \"./confirmationDialog.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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=style&index=0&id=4ba9f8ad&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-dialog',{attrs:{\"persistent\":_vm.persistent,\"max-width\":_vm.width},model:{value:(_vm.showModal),callback:function ($$v) {_vm.showModal=$$v},expression:\"showModal\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline text-center\"},[_c('h3',{staticClass:\"mt-2 mb-0\"},[_vm._v(_vm._s(_vm.title))])]),_c('v-divider'),_c('v-container',[_c('v-card-text',[_vm._t(\"default\")],2),_c('v-card-actions',{staticClass:\"d-flex justify-content-end\"},[_c('v-spacer'),_vm._t(\"footer\")],2)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Dialog.vue?vue&type=template&id=3c4325c8\"\nimport script from \"./Dialog.vue?vue&type=script&lang=js\"\nexport * from \"./Dialog.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":""}