{"version":3,"sources":["webpack:///./node_modules/core-js/internals/same-value.js","webpack:///./src/views/ppeRequest/new.vue","webpack:///src/views/ppeRequest/new.vue","webpack:///./src/views/ppeRequest/new.vue?c330","webpack:///./src/views/ppeRequest/new.vue?808b","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/components/ui/PersonnelSearchModal.vue","webpack:///src/components/ui/PersonnelSearchModal.vue","webpack:///./src/components/ui/PersonnelSearchModal.vue?7ffe","webpack:///./src/components/ui/PersonnelSearchModal.vue?7cca","webpack:///./src/views/ppeRequest/new.vue?f90a"],"names":["module","exports","Object","is","x","y","render","_vm","this","_c","_self","staticClass","class","alertType","attrs","model","value","alert","callback","$$v","expression","_v","_s","alertMessage","ref","valid","on","$event","preventDefault","perSearch","personnel","length","scopedSlots","_u","key","fn","_l","headers","item","headerName","requests","request","employeeId","removePersonnel","staticStyle","employeeName","jobTitle","locationName","status","directives","name","rawName","comment","domProps","target","composing","$set","requestItems","index","typeId","quantity","proxy","_e","isSavingRequest","dialog","onReset","onSave","selectPersonnel","staticRenderFns","components","Button","PersonnelSearch","ConfirmationDialog","data","Ppetype","selected","search","personnelSearch","ppeTypes","searchHeaders","text","personnelHeaders","watch","personnels","_this","forEach","items","type","push","typeName","id","location","methods","openPersonnelSearchModal","$refs","openModal","showAlertMessage","message","_this2","setTimeout","closePersonnelSearchModal","closeModal","personnelSearchFunction","_this3","employeeService","searchPersonnel","then","result","i","concat","splice","_this4","map","ppeItems","PPETypeId","Narration","personnelPPe","EmployeeId","RequestTypeId","PPEs","Comments","$store","dispatch","CREATE_REQUEST","catch","finally","ppeRequest","reset","createRequestHeader","_this5","headerId","createRequestRows","console","log","mounted","_this6","requestService","getPpeTypes","error","component","call","fixRegExpWellKnownSymbolLogic","anObject","isNullOrUndefined","requireObjectCoercible","sameValue","toString","getMethod","regExpExec","SEARCH","nativeSearch","maybeCallNative","regexp","O","searcher","undefined","RegExp","string","rx","S","res","done","previousLastIndex","lastIndex","show","title","btnTitle","loading","btnAction","stopPropagation","props","String","Boolean","isLoading","computed","get","set","$emit","personnelSearchLoading","entries","mType","commentPersonnel","_t","okayBtn","default","personnelName","val","includes","searchEmployees"],"mappings":"kHAIAA,EAAOC,QAAUC,OAAOC,IAAM,SAAYC,EAAGC,GAE3C,OAAOD,IAAMC,EAAU,IAAND,GAAW,EAAIA,IAAM,EAAIC,EAAID,IAAMA,GAAKC,IAAMA,I,gECNjE,IAAIC,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,OAAS,OAAO,KAAO,GAAG,YAAc,IAAIC,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,aAAa,CAACF,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAACF,EAAG,KAAK,CAACF,EAAIc,GAAG,uBAAuBZ,EAAG,SAAS,CAACe,IAAI,aAAaT,MAAM,CAACC,MAAOT,EAAIkB,MAAOP,SAAS,SAAUC,GAAMZ,EAAIkB,MAAMN,GAAKC,WAAW,UAAU,CAACX,EAAG,QAAQ,CAACK,MAAM,CAAC,aAAa,KAAK,CAACL,EAAG,QAAQ,CAACE,YAAY,yBAAyB,CAACF,EAAG,QAAQ,CAACE,YAAY,qCAAqCG,MAAM,CAAC,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B,EAAA+F,QAAAxE,EAAAlC,QACAmD,OAAA,WACAxC,EAAAY,iBAAA,wCACA6B,SAAA,WACAzC,EAAA8F,wBAAA,EACA9F,EAAAT,SAAA,KACAS,EAAAyF,WAAA,SAkBAjF,QAAA,CACAI,iBAAA,SAAAC,EAAAV,GACA,KAAAhE,aAAA0E,EACA,KAAAhF,OAAA,EACA,KAAAJ,UAAA0E,GAYApB,gBAAA,SAAA7B,GACA,KAAAqC,SAAArC,EACA8F,QAAAC,IAAA,OAAA/F,GACA,KAAA2I,MAAA,YAAA3I,IAEA+I,iBAAA,WACA,IAAAjI,EAAA,KAAAA,QACAgF,QAAAC,IAAA,UAAAjF,GACA,KAAA6H,MAAA,aAAA7H,IAEAmI,QAAA,WACA,KAAAnB,MAAA,EACA,KAAAvF,gBAAA,GACA,KAAAF,SAAA,KACA,KAAAC,OAAA,GACA,KAAA7D,MAAA,QClO4W,I,YCOxW4H,EAAY,eACd,EACArI,EACA8D,GACA,EACA,KACA,KACA,MAIa,OAAAuE,E,2CClBf","file":"js/chunk-35f15ba6.0aedd0e1.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-app',[_c('div',[_c('v-alert',{staticClass:\"alert\",class:{'alert-error':_vm.alertType=='error', 'alert-success':_vm.alertType=='success'},attrs:{\"border\":\"left\",\"dark\":\"\",\"dismissible\":\"\"},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-12\"},[_c('div',{staticClass:\"mb-8 mt-8 text-center\"},[_c('h1',[_vm._v(\"New PPE Request\")])]),_c('v-form',{ref:\"ppeRequest\",model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mb-6 col-md-5 mx-auto\"},[_c('v-btn',{staticClass:\"btn-style justify-start text-style\",attrs:{\"width\":\"100%\",\"height\":\"38\",\"outlined\":\"\"},on:{\"click\":function($event){$event.preventDefault();_vm.perSearch = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-magnify\")]),_vm._v(\" Personnel\")],1)],1),(_vm.personnel.length > 0)?_c('v-col',{staticClass:\"col-md-11 mx-auto mb-6\"},[_c('v-simple-table',{scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',[_c('tr',[_c('th'),_c('th',[_vm._v(\"Personnel\")]),_c('th',[_vm._v(\"Job Title\")]),_c('th',[_vm._v(\"Location\")]),_c('th',[_vm._v(\"Status\")]),_c('th',[_vm._v(\"Comment\")]),_vm._l((_vm.headers),function(item){return _c('th',{key:item.headerName},[_vm._v(_vm._s(item.headerName))])})],2)]),_c('tbody',_vm._l((_vm.requests),function(request){return _c('tr',{key:request.employeeId},[_c('td',[_c('v-icon',{attrs:{\"small\":\"\"},on:{\"click\":function($event){return _vm.removePersonnel(request)}}},[_vm._v(\"mdi-delete\")])],1),_c('td',{staticStyle:{\"min-width\":\"1%\",\"white-space\":\"nowrap\"}},[_vm._v(\" \"+_vm._s(request.employeeName)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(request.jobTitle)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(request.locationName)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(request.status)+\" \")]),_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(request.comment),expression:\"request.comment\"}],staticClass:\"input\",attrs:{\"type\":\"text\"},domProps:{\"value\":(request.comment)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(request, \"comment\", $event.target.value)}}})]),_vm._l((request.requestItems),function(item,index){return _c('td',{key:item.typeId},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(request.requestItems[index].quantity),expression:\"request.requestItems[index].quantity\"}],staticClass:\"quantity-input\",attrs:{\"type\":\"number\"},domProps:{\"value\":(request.requestItems[index].quantity)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(request.requestItems[index], \"quantity\", $event.target.value)}}})])})],2)}),0)]},proxy:true}],null,false,935088436)})],1):_vm._e()],1)],1)],1)]),(_vm.personnel.length > 0)?_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-end\",attrs:{\"cols\":\"11\"}},[_c('Button',{staticClass:\"mr-2\",attrs:{\"label\":'Submit',\"btnType\":'Submit',\"disabled\":!_vm.valid,\"isLoading\":_vm.isSavingRequest},on:{\"onClick\":function($event){_vm.dialog = true}}}),_c('Button',{attrs:{\"label\":'Reset',\"btnType\":'Cancel'},on:{\"onClick\":_vm.onReset}})],1)],1):_vm._e(),_c('ConfirmationDialog',{attrs:{\"title\":'Are you sure you want to submit?',\"isLoading\":_vm.isSavingRequest,\"dialog\":_vm.dialog,\"btnTitle\":'Yes'},on:{\"close\":function($event){_vm.dialog = false},\"btnAction\":_vm.onSave}}),_c('PersonnelSearch',{attrs:{\"dialog\":_vm.perSearch},on:{\"selectPer\":_vm.selectPersonnel,\"close\":function($event){_vm.perSearch = false}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n {{alertMessage}}\r\n \r\n \r\n \r\n \r\n \r\n New PPE Request\r\n \r\n \r\n \r\n \r\n mdi-magnify Personnel\r\n \r\n \r\n 0\" class=\"col-md-11 mx-auto mb-6\">\r\n \r\n \r\n \r\n \r\n \r\n Personnel\r\n Job Title\r\n Location\r\n Status\r\n Comment\r\n {{item.headerName}}\r\n \r\n \r\n \r\n \r\n \r\n mdi-delete\r\n \r\n \r\n {{request.employeeName}}\r\n \r\n \r\n {{request.jobTitle}}\r\n \r\n \r\n {{request.locationName}}\r\n \r\n \r\n {{request.status}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n 0\">\r\n \r\n \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--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!./new.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!./new.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./new.vue?vue&type=template&id=63695c74&scoped=true\"\nimport script from \"./new.vue?vue&type=script&lang=js\"\nexport * from \"./new.vue?vue&type=script&lang=js\"\nimport style0 from \"./new.vue?vue&type=style&index=0&id=63695c74&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 \"63695c74\",\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 \r\n {{title}}\r\n \r\n \r\n \r\n \r\n No\r\n \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!./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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('div',[_c('v-alert',{staticClass:\"alert\",class:{\n 'alert-error': _vm.alertType == 'error',\n 'alert-success': _vm.alertType == 'success'\n },attrs:{\"border\":\"left\",\"dark\":\"\",\"dismissible\":\"\"},model:{value:(_vm.alert),callback:function ($$v) {_vm.alert=$$v},expression:\"alert\"}},[_vm._v(\" \"+_vm._s(_vm.alertMessage)+\" \")])],1),_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-text',[(_vm.personnelSearchLoading)?_c('div',{staticClass:\"text-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-autocomplete',{attrs:{\"items\":_vm.entries,\"loading\":_vm.isLoading,\"search-input\":_vm.search,\"color\":\"#4e4e50\",\"hide-no-data\":\"\",\"hide-selected\":\"\",\"item-text\":\"name\",\"item-value\":\"mame\",\"placeholder\":\"Start typing to Search\",\"post-icon\":\"mdi-database-search\",\"return-object\":\"\",\"outlined\":\"\",\"dense\":\"\"},on:{\"update:searchInput\":function($event){_vm.search=$event},\"update:search-input\":function($event){_vm.search=$event},\"change\":_vm.selectPersonnel},model:{value:(_vm.model),callback:function ($$v) {_vm.model=$$v},expression:\"model\"}}),(_vm.mType =='forward')?_c('div',[_c('v-text-field',{attrs:{\"outlined\":\"\",\"label\":\"Comment\",\"return-object\":\"\",\"dense\":\"\"},on:{\"blur\":_vm.commentPersonnel},model:{value:(_vm.comment),callback:function ($$v) {_vm.comment=$$v},expression:\"comment\"}})],1):_vm._e()],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('p',{staticClass:\"text-left\"},[_vm._v(\"Selected: \"),(_vm.model)?_c('b',[_vm._v(_vm._s(_vm.model.name))]):_c('span',[_vm._v(\"None\")])])])],1)],1),_c('v-card-actions',[_c('v-spacer'),_vm._t(\"default\"),_c('Button',{staticClass:\"mr-4\",attrs:{\"label\":'Close',\"btnType\":'Submit',\"isLoading\":_vm.loading},on:{\"onClick\":_vm.okayBtn}})],2)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n {{ alertMessage }}\r\n \r\n \r\n {{title}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Selected: {{model.name}} None\r\n \r\n \r\n \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--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!./PersonnelSearchModal.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!./PersonnelSearchModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PersonnelSearchModal.vue?vue&type=template&id=1b00b500\"\nimport script from \"./PersonnelSearchModal.vue?vue&type=script&lang=js\"\nexport * from \"./PersonnelSearchModal.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!./new.vue?vue&type=style&index=0&id=63695c74&prod&scoped=true&lang=css\""],"sourceRoot":""}
Selected: {{model.name}} None