{"version":3,"sources":["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/views/timesheet/View.vue?1389","webpack:///./src/views/timesheet/View.vue","webpack:///src/views/timesheet/View.vue","webpack:///./src/views/timesheet/View.vue?052b","webpack:///./src/views/timesheet/View.vue?f856"],"names":["module","exports","Object","is","x","y","render","_vm","this","_c","_self","attrs","items","itemText","itemValue","returnObject","label","validate","v","on","$event","$emit","onChange","staticRenderFns","props","type","Array","required","String","default","Boolean","data","methods","event","component","call","fixRegExpWellKnownSymbolLogic","anObject","isNullOrUndefined","requireObjectCoercible","sameValue","toString","getMethod","regExpExec","SEARCH","nativeSearch","maybeCallNative","regexp","O","searcher","undefined","RegExp","string","rx","S","res","done","value","previousLastIndex","lastIndex","result","index","staticClass","class","alertType","model","alert","callback","$$v","expression","_v","_s","alertMessage","salaryCycles","selectedCycle","formData","salaryCycle","$set","approvalStatus","selectedStatus","status","downloadFormat","onSelectedFormat","selectedFormat","isTimesheet","onDownload","searchTable","loadingData","_e","scopedSlots","_u","key","fn","_l","headers","item","headerName","filterTimesheets","timesheet","employeeId","name","regularDays","timesheetItems","timesheetItemDate","show","hoursWorked","proxy","headerDay","typeShortCode","components","SelectField","Button","employeeName","timeSheetDetail","selectedPersonnel","valid","showDownload","salaryCycleId","statusId","requestId","personnel","search","personnelSearch","requestType","selected","timeSheets","searching","creating","searchHeaders","text","personnelHeaders","glutenfree","id","showAlertMessage","message","generateTimesheet","dateArr","prevDate","moment","startDate","format","nextDate","endDate","start","Date","end","push","date","newDate","setDate","getDate","createTimesheetTable","salaryData","_this","timesheetService","getEmployeeTimesheet","then","employeeTimesheets","forEach","employee","rotationName","rotation","newTimesheetItems","header","timeSheetItem","find","assign","TimesheetShortCodes","timesheetId","isRegular","isOvertime","isShift","ROTATION","OfficeRegular","newTimesheet","prnumber","concat","lastName","firstName","middleName","salaryPeriodId","length","catch","finally","e","_this2","now","doc","JSPDF","autoTable","theme","headStyles","fillColor","textColor","alternateRowStyles","html","time","save","downloadTimesheet","fileName","url","window","URL","createObjectURL","Blob","link","document","createElement","href","setAttribute","body","appendChild","click","removeChild","onSearch","openPersonnelSearchModal","$refs","openModal","onReset","salarycomponent","reset","mounted","_this3","salaryPeriodService","getAllSalaryPeriod","watch","val","filtered","itemExist","toUpperCase","includes"],"mappings":"kHAIAA,EAAOC,QAAUC,OAAOC,IAAM,SAAYC,EAAGC,GAE3C,OAAOD,IAAMC,EAAU,IAAND,GAAW,EAAIA,IAAM,EAAIC,EAAID,IAAMA,GAAKC,IAAMA,I,oCCNjE,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,WAAW,CAACE,MAAM,CAAC,MAAQJ,EAAIK,MAAM,YAAYL,EAAIM,SAAS,aAAaN,EAAIO,UAAU,MAAQ,GAAG,SAAW,GAAG,gBAAgBP,EAAIQ,aAAa,MAAQR,EAAIS,MAAM,MAAQT,EAAIU,SAAW,CAAC,SAAAC,GAAC,QAAMA,GAAK,qBAAsB,IAAIC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIc,MAAM,QAASD,IAAS,OAASb,EAAIe,aAElXC,EAAkB,GCaP,GACfC,MAAA,CACAZ,MAAA,CACAa,KAAAC,MACAC,UAAA,GAEAX,MAAA,CACAS,KAAAG,OACAD,UAAA,GAEAd,SAAA,CACAY,KAAAG,OACAC,QAAA,IAEAd,aAAA,CACAU,KAAAK,QACAD,SAAA,GAEAf,UAAA,CACAW,KAAAG,OACAC,QAAA,IAEAZ,SAAA,CACAY,SAAA,EACAJ,KAAAK,UAGAC,KAAA,qBACAC,QAAA,CACAV,SAAA,SAAAW,GACA,KAAAZ,MAAA,WAAAY,MC7CkX,I,YCO9WC,E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,EAAA7B,SAGAkM,MAAA,CACA3I,YAAA,SAAA4I,GACA,QAAArG,WAAAwD,OAAA,EACA,QAAA6C,EAAA,CACA,IAAAC,EAAA,GACA,KAAAtG,WAAAiC,SAAA,SAAA/D,GACA,IAAAqI,EAAArI,EAAAK,KAAAiI,cAAAC,SAAAJ,EAAAG,eACAD,GAAAD,EAAAjF,KAAAnD,MAGA,KAAAE,iBAAAkI,OAEA,KAAAlI,iBAAA,KAAA4B,cCja4V,I,wBCQxV3F,EAAY,eACd,EACA5B,EACAiB,GACA,EACA,KACA,WACA,MAIa,aAAAW,E","file":"js/chunk-483aa622.24164390.js","sourcesContent":["'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","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!./View.vue?vue&type=style&index=0&id=3e875d60&prod&scoped=true&lang=css\"","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(\"View Timesheet\")]),_c('hr')]),_c('div',{},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_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),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('SelectField',{attrs:{\"items\":_vm.approvalStatus,\"label\":'Timesheet Status',\"itemText\":'name',\"itemValue\":'id',\"returnObject\":true},on:{\"input\":_vm.selectedStatus},model:{value:(_vm.formData.status),callback:function ($$v) {_vm.$set(_vm.formData, \"status\", $$v)},expression:\"formData.status\"}})],1)],1)],1)])]),_c('div',{staticClass:\"scroll row\"},[_c('div',{staticClass:\"col-md-10 col-sm-12 ml-auto mr-auto\"},[_c('v-col',{staticClass:\"col-md-11 col-sm-12 mt-5 d-flex justify-end\"},[_c('div',{staticClass:\"download-type\"},[_c('SelectField',{attrs:{\"items\":_vm.downloadFormat,\"label\":'Download Format',\"itemText\":'name',\"itemValue\":'id',\"returnObject\":true},on:{\"input\":_vm.onSelectedFormat},model:{value:(_vm.formData.selectedFormat),callback:function ($$v) {_vm.$set(_vm.formData, \"selectedFormat\", $$v)},expression:\"formData.selectedFormat\"}})],1),_c('Button',{attrs:{\"label\":'Download',\"btnType\":'Submit',\"isLoading\":_vm.isTimesheet},on:{\"onClick\":_vm.onDownload}})],1),_c('v-text-field',{attrs:{\"placeholder\":\"Search......\",\"outlined\":\"\",\"dense\":\"\"},model:{value:(_vm.searchTable),callback:function ($$v) {_vm.searchTable=$$v},expression:\"searchTable\"}}),(_vm.loadingData)?_c('div',{staticClass:\"text-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_vm._e(),_c('v-simple-table',{scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',[_c('tr',[_c('th',[_vm._v(\"Personnel\")]),_c('th',[_vm._v(\"Approval Status\")]),_c('th',[_vm._v(\"Summary\")]),_vm._l((_vm.headers),function(item){return _c('th',{key:item.headerName},[_vm._v(_vm._s(item.headerName))])})],2)]),_c('tbody',_vm._l((_vm.filterTimesheets),function(timesheet){return _c('tr',{key:timesheet.employeeId},[_c('td',[_vm._v(\" \"+_vm._s(timesheet.name)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(timesheet.approvalStatus)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(timesheet.regularDays)+\" \")]),_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('b',[_vm._v(_vm._s(timesheet.timesheetItems[index].hoursWorked))])]):_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}])}),_c('table',{attrs:{\"hidden\":\"\",\"id\":\"timesheetTable\"}},[_c('thead',[_c('tr',[_c('th',[_vm._v(\"Name\")]),_c('th',[_vm._v(\"Appr. Status\")]),_c('th',[_vm._v(\"Summary\")]),_vm._l((_vm.headers),function(item){return _c('th',{key:item.headerDay},[_vm._v(_vm._s(item.headerDay))])})],2)]),_c('tbody',_vm._l((_vm.filterTimesheets),function(timesheet){return _c('tr',{key:timesheet.employeeId},[_c('td',[_vm._v(\" \"+_vm._s(timesheet.name)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(timesheet.approvalStatus)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(timesheet.regularDays)+\" \")]),_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('b',[_vm._v(_vm._s(timesheet.timesheetItems[index].hoursWorked))])]):_vm._e(),(timesheet.timesheetItems[index].show === false)?_c('span',[_c('b',[_vm._v(_vm._s(timesheet.timesheetItems[index].typeShortCode))])]):_vm._e()])})],2)}),0)])],1)]),_c('v-row')],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!./View.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!./View.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./View.vue?vue&type=template&id=3e875d60&scoped=true\"\nimport script from \"./View.vue?vue&type=script&lang=js\"\nexport * from \"./View.vue?vue&type=script&lang=js\"\nimport style0 from \"./View.vue?vue&type=style&index=0&id=3e875d60&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 \"3e875d60\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}