{"version":3,"sources":["webpack:///./src/pages/leave/query/index.js","webpack:///./src/pages/leave/requests/index.vue","webpack:///src/pages/leave/requests/index.vue","webpack:///./src/pages/leave/requests/index.vue?c33b","webpack:///./src/pages/leave/requests/index.vue?e367"],"names":["LEAVE_ACCRUAL","gql","LEAVE_REQUESTS","LEAVE_APPROVAL","ALL_PENDING_REQUESTS","EMPLOYEE_LEAVE_ACCRUALS","FILTER_WORKPLANS","FILTER_HOLIDAYS","FILTER_LEAVE_REQUEST","render","_vm","this","_c","_self","attrs","staticClass","ref","scopedSlots","_u","key","fn","on","_g","_b","$t","handleMonthClear","model","value","formattedMonth","callback","$$v","expression","beginDateMenu","$event","date","onCreateLeaveRequest","_v","proxy","_s","onRefreshData","table","headers","data","options","totalItems","loading","$set","row","item","id","leaveType","color","icon","name","beginLeaveRequestDay","duration","$helpers","formatDate","endLeaveRequestDay","getLeaveStatusIconColor","leaveRequestStatus","getLeaveStatusIcon","getLeaveStatusIconText","_f","requestDateTime","approvedDateTime","signatureStatus","status","stopPropagation","preventDefault","leaveRequestFormURL","publicLeaveRequestFormURL","_e","onClickLeaveCancel","cancelDialog","onCloseLeaveDialog","onSuccessLeaveCancel","staticRenderFns","components","PrintLeaveFormButton","criteria","employees","beginDate","endDate","pagination","rowsPerPage","sortBy","descending","totalPages","selected","text","align","sortable","class","width","watch","handler","itemsPerPage","page","deep","computed","methods","query","variables","then","errors","catch","finally","getTotalLeaveDay","component"],"mappings":"kHAAA,gSAEO,MAAMA,EAAgBC,MAAI;;;;;;;;;;;;;;;;;;;;;EAuBpBC,EAAiBD,MAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCrBE,EAAiBF,MAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDrBG,EAAuBH,MAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwD3BI,EAA0BJ,MAAI;;;;;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4CAKAE,OACA,iBACAC,WACA,iBAAAC,OAAAC,GAAA,EACA,oCACA,6BACA,+DAEA,mBAEAC,SAEAjE,MACA8D,WACA,GACA,oFACA,kFAEA,mCACA,mCAGAG,SAEA,kBACAH,UACA,mBAEAG,UAGAC,UACAxE,iBACA,gDAGAyE,SACA5E,mBACA,gBAEAgD,sBACA,yBACA,6BAEAE,qBACA,4BACA,6BAEAC,uBACA,0BACA,sBAEArC,gBACA,mBAEA,mBACA,4BACA,aACA+D,OACAA,aACAC,WACAvB,6BACAI,qEAGAoB,OAAA9D,OAAA+D,aACA,aACA,8DACA,kFACA,kFAGAC,UACA,4CAEAC,oCAEA7C,0BACA,yDAEAD,sBACA,SACA,UACA,cACAT,sBACA,MACA,eACAA,+BACA,MACA,gBACAA,uBACA,MACA,wBACAA,wBACA,MACA,aACAA,uBACA,MACA,QACAA,yBACA,MAEA,UAEAO,2BACA,SACA,UACA,cACAR,WACA,MACA,eACAA,UACA,MACA,gBACAA,SACA,MACA,wBACAA,SACA,MACA,aACAA,QACA,MACA,QACAA,UACA,MAEA,UAEAhB,uBACA,mBAAAkB,+BAEAuD,oBACA,iDACA,UAEA,iECzY6W,I,YCOzWC,EAAY,eACd,EACApG,EACAoE,GACA,EACA,KACA,KACA,MAIa,aAAAgC,E","file":"js/chunk-00f7b538.2c8f96c3.js","sourcesContent":["import gql from \"graphql-tag\";\n\nexport const LEAVE_ACCRUAL = gql`\n query leaveAccruals($employee: ID!, $onlyRequestable: Boolean) {\n leaveAccruals(employee: $employee, onlyRequestable: $onlyRequestable) {\n used\n remainingBalance\n previousBalance\n leavePolicy {\n accrualCount\n accrualCalculatedCount\n leaveType {\n id\n name\n icon\n color\n restriction {\n allowanceVisible\n }\n }\n }\n }\n }\n`;\n\nexport const LEAVE_REQUESTS = gql`\n query filterWithPaginateLeaveRequests($criteria: LeaveRequestFilterCriteria!, $pagination: Pagination!) {\n filterWithPaginateLeaveRequests(criteria: $criteria, pagination: $pagination) {\n pageInfo {\n totalElements\n totalPages\n pageNumber\n }\n content {\n id\n leaveType {\n name\n color\n icon\n }\n signatureStatus\n leaveRequestStatus\n status\n requestDateTime\n leaveRequestFormURL\n publicLeaveRequestFormURL\n beginLeaveRequestDay {\n date\n duration\n }\n endLeaveRequestDay {\n date\n duration\n }\n approvedDateTime\n requestDateTime\n }\n }\n }\n`;\n\nexport const LEAVE_APPROVAL = gql`\n query employee($id: ID!) {\n employee(id: $id) {\n pendingApprovalLeaveRequests {\n id\n leaveRequest {\n id\n remainingLeaveBalance\n deductedLeaveBalance\n employee {\n id\n firstName\n lastName\n profile {\n imageUrl\n }\n employment {\n branch {\n name\n }\n }\n }\n requester {\n firstName\n lastName\n profile {\n imageUrl\n }\n }\n leaveRequestDays {\n date\n duration\n fromTime\n lengthInMinutes\n }\n leaveType {\n id\n name\n icon\n color\n }\n\n requestDateTime\n beginLeaveRequestDay {\n date\n }\n\n endLeaveRequestDay {\n date\n }\n }\n }\n }\n }\n`;\n\nexport const ALL_PENDING_REQUESTS = gql`\n query employee($id: ID!) {\n employee(id: $id) {\n allPendingApprovalLeaveRequests {\n id\n leaveRequest {\n id\n remainingLeaveBalance\n deductedLeaveBalance\n employee {\n id\n firstName\n lastName\n profile {\n imageUrl\n }\n employment {\n branch {\n name\n }\n }\n }\n requester {\n firstName\n lastName\n profile {\n imageUrl\n }\n }\n leaveRequestDays {\n date\n duration\n fromTime\n lengthInMinutes\n }\n leaveType {\n id\n name\n icon\n color\n }\n\n requestDateTime\n beginLeaveRequestDay {\n date\n }\n\n endLeaveRequestDay {\n date\n }\n }\n }\n }\n }\n`;\n\nexport const EMPLOYEE_LEAVE_ACCRUALS = gql`\n query leaveAccruals($employee: ID!, $beginDate: String!, $daily: Boolean) {\n leaveAccruals(employee: $employee, beginDate: $beginDate, daily: $daily) {\n previousBalance\n used\n remainingBalance\n leavePolicy {\n accrualCount\n accrualCalculatedCount\n leaveType {\n id\n name\n color\n icon\n weight\n restriction {\n noticePeriod\n includeWeekendsAfter\n includeHolidaysAfter\n includeBreakDaysAfter\n minConsecutive\n maxConsecutive\n durations\n maxExceedLeaveBalance\n includeSaturday\n countAsWorkday\n consecutiveWeekendLeavePassive\n documentRequired\n documents {\n name\n url\n }\n addressRequired\n explanationRequired\n requestable\n includeAllWeekHolidays\n includeAllWeekSaturdays\n includePublicHolidays\n allowanceVisible\n usableOnSpecificDate\n birthdayLeave\n }\n }\n }\n }\n }\n`;\n\nexport const FILTER_WORKPLANS = gql`\n query FilterWorkplans($criteria: WorkplanFilterCriteria!) {\n filterWorkplans(criteria: $criteria) {\n date\n breakDay\n assignedShifts {\n id\n shiftType\n }\n }\n }\n`;\n\nexport const FILTER_HOLIDAYS = gql`\n query filterHolidays($criteria: HolidayFilterCriteria!) {\n filterHolidays(criteria: $criteria) {\n id\n name\n color\n code\n halfDay\n countAsOvertime\n date\n }\n }\n`;\n\nexport const FILTER_LEAVE_REQUEST = gql`\n query filterLeaveRequests($criteria: LeaveRequestFilterCriteria!) {\n filterLeaveRequests(criteria: $criteria) {\n leaveRequestDays {\n id\n date\n duration\n fromTime\n lengthInMinutes\n }\n }\n }\n`;\n\nexport const EMPLOYEE_MANAGERS = gql`\n query employee($id: ID!) {\n employee(id: $id) {\n leaveSettings {\n leaveApprover\n }\n }\n }\n`;\n\nexport const EMPLOYEE_LEAVE_ACCRUAL = gql`\n query leaveAccruals($employee: ID!) {\n leaveAccruals(employee: $employee) {\n used\n previousBalance\n initialLeaveBalance\n initialLeaveBalanceDate\n leavePolicy {\n accrualCalculatedCount\n leaveType {\n id\n name\n icon\n color\n }\n }\n }\n }\n`;\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-card',{attrs:{\"elevation\":\"0\",\"tile\":\"\"}},[_c('v-card-title',{staticClass:\"grey lighten-4\"},[_c('v-flex',{attrs:{\"xs2\":\"\"}},[_c('v-menu',{ref:\"menu1\",attrs:{\"close-on-content-click\":false,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"max-width\":\"290px\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-text-field',_vm._g(_vm._b({attrs:{\"clearable\":\"\",\"readonly\":\"\",\"label\":_vm.$t('global.month')},on:{\"click:clear\":_vm.handleMonthClear},model:{value:(_vm.formattedMonth),callback:function ($$v) {_vm.formattedMonth=$$v},expression:\"formattedMonth\"}},'v-text-field',attrs,false),on))]}}]),model:{value:(_vm.beginDateMenu),callback:function ($$v) {_vm.beginDateMenu=$$v},expression:\"beginDateMenu\"}},[_c('v-date-picker',{attrs:{\"type\":\"month\",\"color\":\"primary\"},on:{\"input\":function($event){_vm.beginDateMenu = false}},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v},expression:\"date\"}})],1)],1),_c('v-spacer'),_c('id-button',{staticClass:\"mr-2\",on:{\"click\":_vm.onCreateLeaveRequest},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-plus\")])]},proxy:true}])},[_vm._v(\" \"+_vm._s(_vm.$t(\"buttons.add_leave_request\"))+\" \")]),_c('id-button',{on:{\"click\":_vm.onRefreshData},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-refresh\")])]},proxy:true}])},[_vm._v(\" \"+_vm._s(_vm.$t(\"buttons.refresh\"))+\" \")])],1),_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.table.headers,\"items\":_vm.table.data,\"options\":_vm.table.options,\"server-items-length\":_vm.table.totalItems,\"single-select\":\"\",\"loading\":_vm.table.loading,\"footer-props\":{ 'items-per-page-options': [10, 25, 50, 100] }},on:{\"update:options\":function($event){return _vm.$set(_vm.table, \"options\", $event)}},scopedSlots:_vm._u([{key:\"item\",fn:function(row){return [_c('tr',{key:row.item.id},[_c('td',{staticClass:\"pl-0\"},[_c('v-list-item',[_c('v-list-item-avatar',{attrs:{\"color\":row.item.leaveType.color}},[_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(_vm._s(row.item.leaveType.icon))])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(row.item.leaveType.name))]),_c('v-list-item-subtitle',[_vm._v(_vm._s(_vm.$t(`leave_duration.${row.item.beginLeaveRequestDay.duration}`, [])))])],1)],1)],1),_c('td',{staticClass:\"text-xs-left text-no-wrap\"},[_vm._v(\" \"+_vm._s(_vm.$helpers.formatDate(row.item.beginLeaveRequestDay.date))+\" \")]),_c('td',{staticClass:\"text-xs-left text-no-wrap\"},[_vm._v(\" \"+_vm._s(_vm.$helpers.formatDate(row.item.endLeaveRequestDay.date))+\" \")]),_c('td',{staticClass:\"text-xs-left text-no-wrap\"},[_c('v-chip',{attrs:{\"label\":\"\",\"color\":\"white\"}},[_c('v-avatar',{attrs:{\"left\":\"\",\"color\":_vm.getLeaveStatusIconColor(row.item.leaveRequestStatus)}},[_c('v-icon',{attrs:{\"size\":\"18\",\"color\":\"white\"}},[_vm._v(_vm._s(_vm.getLeaveStatusIcon(row.item.leaveRequestStatus)))])],1),_vm._v(\" \"+_vm._s(_vm.getLeaveStatusIconText(row.item.leaveRequestStatus))+\" \")],1)],1),_c('td',{staticClass:\"text-xs-left text-no-wrap\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formattedDate\")(row.item.requestDateTime))+\" \")]),_c('td',{staticClass:\"text-xs-left text-no-wrap\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formattedDate\")(row.item.approvedDateTime))+\" \")]),_c('td',{staticClass:\"text-center text-no-wrap\"},[(row.item.signatureStatus === 'E_SIGNATURE')?_c('v-chip',{staticClass:\"caption white--text\",attrs:{\"small\":\"\",\"color\":row.item.status ? 'info' : 'warning'}},[_vm._v(\" \"+_vm._s(row.item.status ? _vm.$t(\"leave.signed\") : _vm.$t(\"leave.not_signed\"))+\" \")]):_c('span',[_vm._v(\"-\")])],1),_c('td',{staticClass:\"text-center\",on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();}}},[(row.item.leaveRequestFormURL && row.item.leaveRequestStatus === 'APPROVED')?_c('file-download-button',{attrs:{\"url\":row.item.publicLeaveRequestFormURL}}):_vm._e()],1),_c('td',{staticClass:\"text-center\"},[_c('print-leave-form-button',{attrs:{\"leave-request-id\":row.item.id}})],1),_c('td',[(\n row.item.leaveRequestStatus !== 'CANCELLED' &&\n row.item.leaveRequestStatus !== 'DENIED' &&\n row.item.leaveRequestStatus !== 'APPROVED'\n )?_c('v-btn',{staticClass:\"mr-2\",attrs:{\"small\":\"\",\"dark\":\"\",\"depressed\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.onClickLeaveCancel(row.item)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"buttons.cancel_leave\"))+\" \")]):_vm._e()],1)])]}}])}),_c('transition',{attrs:{\"name\":\"slide-in-left\"}},[_c('router-view',{on:{\"success:save\":_vm.onRefreshData}})],1)],1)],1),_c('leave-cancel-dialog',{attrs:{\"data\":_vm.cancelDialog.data},on:{\"update:data\":function($event){return _vm.$set(_vm.cancelDialog, \"data\", $event)},\"close\":_vm.onCloseLeaveDialog,\"success\":_vm.onSuccessLeaveCancel},model:{value:(_vm.cancelDialog.status),callback:function ($$v) {_vm.$set(_vm.cancelDialog, \"status\", $$v)},expression:\"cancelDialog.status\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./index.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!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=512a0b0c&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.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":""}