{"version":3,"sources":["webpack:///./src/services/designationService.js","webpack:///./src/views/apps/userRole/userRoleView.vue?3a06","webpack:///./src/views/apps/userRole/userRoleForm.vue?3dac","webpack:///src/views/apps/userRole/userRoleForm.vue","webpack:///./src/views/apps/userRole/userRoleForm.vue?5897","webpack:///./src/views/apps/userRole/userRoleForm.vue","webpack:///./src/views/apps/userRole/userRoleList.vue?3231","webpack:///./src/views/apps/userRole/userRoleStatus.vue?b51c","webpack:///src/views/apps/userRole/userRoleStatus.vue","webpack:///./src/views/apps/userRole/userRoleStatus.vue?cca1","webpack:///./src/views/apps/userRole/userRoleStatus.vue","webpack:///./src/views/apps/userRole/EditUserRole.vue?3da8","webpack:///src/views/apps/userRole/EditUserRole.vue","webpack:///./src/views/apps/userRole/EditUserRole.vue?55d2","webpack:///./src/views/apps/userRole/EditUserRole.vue","webpack:///src/views/apps/userRole/userRoleList.vue","webpack:///./src/views/apps/userRole/userRoleList.vue?c176","webpack:///./src/views/apps/userRole/userRoleList.vue","webpack:///src/views/apps/userRole/userRoleView.vue","webpack:///./src/views/apps/userRole/userRoleView.vue?1fcf","webpack:///./src/views/apps/userRole/userRoleView.vue","webpack:///./src/services/userRolesService.js","webpack:///./src/services/companyService.js","webpack:///./src/assets/images/icons/export-excel.svg","webpack:///./src/views/components/extra-components/datetime-picker/DatetimePickerStartEnd.vue?09c5","webpack:///src/views/components/extra-components/datetime-picker/DatetimePickerStartEnd.vue","webpack:///./src/views/components/extra-components/datetime-picker/DatetimePickerStartEnd.vue?3f39","webpack:///./src/views/components/extra-components/datetime-picker/DatetimePickerStartEnd.vue"],"names":["organization_id","window","localStorage","getItem","addDesignation","payload","Api","post","editDesignation","id","put","getAllDesignationByCompany","company_id","get","getAllDesignations","filters","sort","hasOwnProperty","archive","page","getDesignation","render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","staticRenderFns","_v","directives","name","rawName","value","expression","model","form","callback","$$v","$set","errors","has","_s","first","description","submitStatus","on","$event","preventDefault","submitForm","clearForm","components","AgGridVue","VxTour","DatetimePickerStartEnd","data","excelurl","User","role_name","userrole_active","companies","searchQuery","gridOptions","maxPageNumbers","gridApi","defaultColDef","sortable","editable","resizable","suppressMenu","fromDate","toDate","configFromdateTimePicker","minDate","Date","maxDate","configTodateTimePicker","cityOptions","contacts","watch","val","columnApi","setColumnPinned","computed","paginationPageSize","paginationGetPageSize","totalPages","paginationGetTotalPages","currentPage","set","paginationGoToPage","methods","onClickSampleDownload","open","URL","$validator","validateAll","then","result","console","log","getCompanyList","Object","keys","map","test","x","reset","updateSearchQuery","setQuickFilter","onFromChange","dateStr","onToChange","mounted","api","component","temp_token","_e","columnDefs","onRowDataChanged","roles","nativeOn","popupActive","onChangeCheckbox","privStatus","params","copy_userrole_active","beforeMount","$vs","loading","userRolesService","showModal","_l","item","index","key","role_id","switch1","organization_name","count","handler","deep","getAllUserRoles","template","switchValue","eventBus","$on","paginationGetCurrentPage","e","onChangeStatus","getUserRoleList","limit","isActive","analyticsData","isImp","navbarSearchAndPinList","$store","state","show","items","nextNum","tableList","myFilter","userRoleForm","userRoleList","addUserRole","editUserRole","getUserRole","addCompany","editCompany","getAllCompanies","getCompany","module","exports","flatPickr"],"mappings":"kHAAA,gBACMA,EAAkB,WACtB,OAAOC,OAAOC,aAAaC,QAAQ,mBAGtB,QACbC,eADa,SACEC,GACb,OAAOC,iBAAMC,KAAN,0CAA8CP,KAAqBK,IAE5EG,gBAJa,SAIGH,EAASI,GACvB,OAAOH,iBAAMI,IAAN,0BAA6BD,EAA7B,4BAAmDT,KAAqBK,IAEhFM,2BAPY,SAOeC,GACzB,OAAON,iBAAMO,IAAN,kCAAqCD,EAArC,4BAAmEZ,OAG7Ec,mBAXa,SAWMC,EAASC,GAC1B,OAAID,GAAWA,EAAQE,eAAe,YAAcF,EAAQG,QACnDZ,iBAAMO,IAAN,oDAAuDb,MACrDe,GAAWA,EAAQE,eAAe,QACpCX,iBAAMO,IAAN,+BAAkCE,EAAQI,KAA1C,4BAAkEnB,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KAAKuD,uBAAwB,UAAWmC,KAGtD5D,WAAY,CACV2H,UAAJ,OC1Dgb,I,YCO5a3D,EAAY,eACd,EACAhG,EACAS,GACA,EACA,KACA,KACA,MAIa,OAAAuF,E","file":"js/chunk-8ed4ceca.e25133b5.js","sourcesContent":["import Api from './Api.js';\r\nconst organization_id = () => {\r\n return window.localStorage.getItem(\"OrganizationID\");\r\n};\r\n\r\nexport default {\r\n addDesignation(payload) {\r\n return Api().post(`/v2/designation?organization_id=${organization_id()}`, payload);\r\n },\r\n editDesignation(payload, id) {\r\n return Api().put(`/v2/designation/${id}?organization_id=${organization_id()}`, payload);\r\n },\r\n getAllDesignationByCompany(company_id) {\r\n return Api().get(`/v2/designation/company/${company_id}?organization_id=${organization_id()}`);\r\n },\r\n\r\n getAllDesignations(filters, sort) {\r\n if (filters && filters.hasOwnProperty('archive') && filters.archive) {\r\n return Api().get(`/v2/designation?archive=1&organization_id=${organization_id()}`);\r\n } else if (filters && filters.hasOwnProperty('page')) {\r\n return Api().get(`/v2/designation/page/${filters.page}?organization_id=${organization_id()}`);\r\n } else\r\n return Api().get(`/v2/designation?organization_id=${organization_id()}`);\r\n },\r\n\r\n getDesignation(payload, id) {\r\n return Api().get(`/v2/designation/${id}?organization_id=${organization_id()}`, payload);\r\n },\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"dashboard-analytics\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('router-link',{attrs:{\"to\":\"/apps/projects\"}},[_c('feather-icon',{attrs:{\"icon\":\"ArrowLeftCircleIcon\",\"svgClasses\":\"h-8 w-8\"}})],1)],1),_c('div',{staticClass:\"vx-col w-full mb-base\"},[_c('user-role-form')],1),_c('div',{staticClass:\"vx-col w-full mb-base\"},[_c('user-role-list')],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('vx-card',{staticClass:\"form-title\",attrs:{\"title\":\"Add User Role\"}},[_c('form',[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col md:w-3/4 mx-auto\"},[_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h6',{staticClass:\"mb-0\"},[_vm._v(\"Role Name*\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',{},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full\",attrs:{\"name\":\"Role Name\"},model:{value:(_vm.form.role_name),callback:function ($$v) {_vm.$set(_vm.form, \"role_name\", $$v)},expression:\"form.role_name\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('Role Name')),expression:\"errors.has('Role Name')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('Role Name')))])],1)])]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right\"},[_c('h6',{staticClass:\"mb-0\"},[_vm._v(\"Description\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('vs-textarea',{staticClass:\"mb-0\",attrs:{\"rows\":\"4\"},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}})],1)]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right\"},[_c('h6',{staticClass:\"mb-0\"},[_vm._v(\"Status\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('b-form-checkbox',{attrs:{\"value\":\"1\",\"unchecked-value\":\"2\",\"name\":\"check-button\",\"switch\":\"\"},model:{value:(_vm.form.userrole_active),callback:function ($$v) {_vm.$set(_vm.form, \"userrole_active\", $$v)},expression:\"form.userrole_active\"}})],1)])])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col mx-auto\"},[_c('vs-button',{staticClass:\"mr-3\",attrs:{\"disabled\":_vm.submitStatus,\"type\":\"filled\"},on:{\"click\":function($event){$event.preventDefault();return _vm.submitForm($event)}}},[_vm._v(\"Submit\")]),_c('vs-button',{attrs:{\"color\":\"warning\",\"type\":\"border\"},on:{\"click\":function($event){$event.preventDefault();return _vm.clearForm($event)}}},[_vm._v(\"Reset\")])],1)])])])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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 Role Name*\r\n \r\n \r\n \r\n \r\n {{ errors.first('Role Name') }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n Description\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 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 Submit\r\n\r\n Reset\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--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/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!./userRoleForm.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/@vue/cli-plugin-babel/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!./userRoleForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./userRoleForm.vue?vue&type=template&id=4032bc0d&\"\nimport script from \"./userRoleForm.vue?vue&type=script&lang=js&\"\nexport * from \"./userRoleForm.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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{attrs:{\"id\":\"ag-grid-demo\"}},[_c('vx-card',[_c('div',{staticClass:\"flex flex-wrap justify-between items-center form-title\"},[_c('h4',[_vm._v(\"User Roles\")]),_c('div',{staticClass:\"flex flex-wrap justify-end items-center\"},[_c('div',{staticClass:\"flex flex-wrap items-center justify-between ag-grid-table-actions-right\"},[_c('vs-input',{staticClass:\"mb-4 md:mb-0 mr-4\",attrs:{\"placeholder\":\"Search...\"},on:{\"input\":_vm.updateSearchQuery},model:{value:(_vm.searchQuery),callback:function ($$v) {_vm.searchQuery=$$v},expression:\"searchQuery\"}}),_c('vx-tooltip',{attrs:{\"text\":\"Export Excel\"}},[(this.archive != 'archive')?_c('a',{attrs:{\"href\":_vm.excelurl+\"/v1/userrole/excel/download?organization_id=\" + _vm.organization_id + \"&token=\" + _vm.temp_token + \"&search=\" + _vm.searchQuery,\"target\":\"_blank\"}},[_c('vs-button',{staticClass:\"px-4\"},[_c('span',{staticClass:\"d-inline-flex pr-5 text-white\"},[_vm._v(\"Export\")]),_c('img',{staticClass:\"d-inline-flex\",attrs:{\"src\":require(\"@/assets/images/icons/export-excel.svg\"),\"height\":\"20\",\"width\":\"20\"}})])],1):_vm._e()]),_c('vx-tooltip',{attrs:{\"text\":\"Export Archive Excel\"}},[(this.archive == 'archive')?_c('a',{attrs:{\"href\":_vm.excelurl+\"/v1/userrole/excel/download?organization_id=\" + _vm.organization_id + \"&token=\" + _vm.temp_token + \"&archive=1&search=\" + _vm.searchQuery,\"target\":\"_blank\"}},[_c('vs-button',{staticClass:\"px-4\"},[_c('span',{staticClass:\"d-inline-flex pr-5 text-white\"},[_vm._v(\"Export\")]),_c('img',{staticClass:\"d-inline-flex\",attrs:{\"src\":require(\"@/assets/images/icons/export-excel.svg\"),\"height\":\"20\",\"width\":\"20\"}})])],1):_vm._e()])],1)])]),_c('ag-grid-vue',{staticClass:\"ag-theme-material w-100 my-4 ag-grid-table\",attrs:{\"gridOptions\":_vm.gridOptions,\"columnDefs\":_vm.columnDefs,\"defaultColDef\":_vm.defaultColDef,\"rowClicked\":_vm.onRowDataChanged,\"rowData\":_vm.roles,\"rowSelection\":\"multiple\",\"colResizeDefault\":\"shift\",\"animateRows\":true,\"floatingFilter\":false}})],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-form-checkbox',{staticClass:\"table-status-icon\",attrs:{\"value\":\"1\",\"unchecked-value\":\"2\",\"switch\":\"\"},nativeOn:{\"click\":function($event){_vm.popupActive=true}},model:{value:(_vm.form.userrole_active),callback:function ($$v) {_vm.$set(_vm.form, \"userrole_active\", $$v)},expression:\"form.userrole_active\"}}),_c('div',{staticClass:\"demo-alignment\"},[_c('vs-popup',{staticClass:\"holamundo p-2\",attrs:{\"button-close-hidden\":true,\"title\":\"Role Status\",\"active\":_vm.popupActive},on:{\"update:active\":function($event){_vm.popupActive=$event}}},[_c('div',{staticClass:\"text-center\"},[_c('h5',[_vm._v(\"Do you want to change Status ?\")]),_c('div',{staticClass:\"vx-row mt-5\"},[_c('div',{staticClass:\"vx-col mx-auto\"},[_c('vs-button',{staticClass:\"mr-3\",attrs:{\"color\":\"success\",\"type\":\"filled\"},on:{\"click\":function($event){return _vm.onChangeCheckbox()}}},[_vm._v(\"Yes\")]),_c('vs-button',{attrs:{\"color\":\"danger\",\"type\":\"filled\"},on:{\"click\":function($event){return _vm.privStatus()}}},[_vm._v(\"No\")])],1)])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n Do you want to change Status ?\r\n \r\n \r\n \r\n \r\n Yes\r\n No\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--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/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!./userRoleStatus.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/@vue/cli-plugin-babel/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!./userRoleStatus.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./userRoleStatus.vue?vue&type=template&id=2c2f2f90&\"\nimport script from \"./userRoleStatus.vue?vue&type=script&lang=js&\"\nexport * from \"./userRoleStatus.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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"text-center table-edit-icon\",on:{\"click\":_vm.showModal}},[_c('i',{staticClass:\"text-center material-icons\"},[_vm._v(\"edit\")])]),_c('div',{staticClass:\"centerx\"},[_c('vs-popup',{staticClass:\"holamundo editModal\",attrs:{\"title\":\"Update organization\",\"active\":_vm.popupActive},on:{\"update:active\":function($event){_vm.popupActive=$event}}},[_c('form',[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col mx-auto\"},[_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/2 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Role Name*\")])]),_c('div',{staticClass:\"vx-col sm:w-1/2 w-full\"},[_c('div',{},[_c('vs-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"select-large mt-5 w-full\",attrs:{\"placeholder\":\"Role Name\",\"name\":\"Role Name\"},model:{value:(_vm.form.role_name),callback:function ($$v) {_vm.$set(_vm.form, \"role_name\", $$v)},expression:\"form.role_name\"}},_vm._l((_vm.roles),function(item,index){return _c('vs-select-item',{key:index,attrs:{\"value\":item.role_id,\"text\":item.role_name}})}),1)],1)])]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/2 w-full text-right\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Status*\")])]),_c('div',{staticClass:\"vx-col sm:w-1/2 w-full\"},[_c('b-form-checkbox',{attrs:{\"value\":\"1\",\"unchecked-value\":\"2\",\"switch\":\"\"},model:{value:(_vm.form.userrole_active),callback:function ($$v) {_vm.$set(_vm.form, \"userrole_active\", $$v)},expression:\"form.userrole_active\"}})],1)])])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col mx-auto\"},[_c('vs-button',{staticClass:\"mr-3\",attrs:{\"disabled\":_vm.submitStatus,\"type\":\"filled\"},on:{\"click\":function($event){$event.preventDefault();return _vm.submitForm($event)}}},[_vm._v(\"Save\")])],1)])])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n edit\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Role Name*\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 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 Save\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--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/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!./EditUserRole.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/@vue/cli-plugin-babel/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!./EditUserRole.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditUserRole.vue?vue&type=template&id=1aa0cf61&\"\nimport script from \"./EditUserRole.vue?vue&type=script&lang=js&\"\nexport * from \"./EditUserRole.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","\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n User Roles\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Export\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n Export\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","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/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!./userRoleList.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/@vue/cli-plugin-babel/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!./userRoleList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./userRoleList.vue?vue&type=template&id=7fe38485&\"\nimport script from \"./userRoleList.vue?vue&type=script&lang=js&\"\nexport * from \"./userRoleList.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","\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\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/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!./userRoleView.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/@vue/cli-plugin-babel/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!./userRoleView.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./userRoleView.vue?vue&type=template&id=b3864464&\"\nimport script from \"./userRoleView.vue?vue&type=script&lang=js&\"\nexport * from \"./userRoleView.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","import Api from './Api.js';\r\nconst organization_id = () => {\r\n return window.localStorage.getItem(\"OrganizationID\");\r\n};\r\n\r\n\r\nexport default {\r\n addUserRole(payload) {\r\n return Api().post(`/v2/userrole?organization_id=${organization_id()}`, payload);\r\n },\r\n editUserRole(payload, id) {\r\n return Api().put(`/v2/userrole/${id}?organization_id=${organization_id()}`, payload);\r\n },\r\n\r\n getAllUserRoles(filters, sort) {\r\n return Api().get(`/v2/userrole?organization_id=${organization_id()}`);\r\n },\r\n\r\n getUserRole(payload, id) {\r\n return Api().get(`/v2/userrole/${id}?organization_id=${organization_id()}`, payload);\r\n },\r\n};\r\n","import Api from \"./Api.js\";\r\n// import {\r\n// database\r\n// } from 'firebase';\r\n\r\nconst organization_id = () => {\r\n return window.localStorage.getItem(\"OrganizationID\");\r\n};\r\n\r\nexport default {\r\n addCompany(payload) {\r\n return Api().post(\r\n `/v2/company?organization_id=${organization_id()}`,\r\n payload\r\n );\r\n },\r\n editCompany(payload, id) {\r\n return Api().put(\r\n `/v2/company/${id}?organization_id=${organization_id()}`,\r\n payload\r\n );\r\n },\r\n\r\n getAllCompanies(filters, sort) {\r\n if (filters && filters.hasOwnProperty(\"archive\") && filters.archive) {\r\n return Api().get(\r\n `/v2/company?archive=1&organization_id=${organization_id()}`\r\n );\r\n } else if (filters && filters.hasOwnProperty(\"page\")) {\r\n return Api().get(\r\n `/v2/company/page/${filters.page}?organization_id=${organization_id()}`\r\n );\r\n } else return Api().get(`/v2/company?organization_id=${organization_id()}`);\r\n },\r\n\r\n getCompany(id, archive) {\r\n if (!archive) {\r\n return Api().get(\r\n `/v2/company/${id}?organization_id=${organization_id()}`\r\n );\r\n } else {\r\n return Api().get(\r\n `/v2/company/${id}?${archive}&organization_id=${organization_id()}`\r\n );\r\n }\r\n }\r\n};\r\n","module.exports = __webpack_public_path__ + \"img/export-excel.81cf4cd6.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col md:w-1/2 w-full\"},[_c('flat-pickr',{attrs:{\"config\":_vm.configFromdateTimePicker,\"placeholder\":\"From Date\"},on:{\"on-change\":_vm.onFromChange},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1),_c('div',{staticClass:\"vx-col md:w-1/2 w-full\"},[_c('flat-pickr',{attrs:{\"config\":_vm.configTodateTimePicker,\"placeholder\":\"To Date\"},on:{\"on-change\":_vm.onToChange},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/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!./DatetimePickerStartEnd.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/@vue/cli-plugin-babel/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!./DatetimePickerStartEnd.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DatetimePickerStartEnd.vue?vue&type=template&id=0838f2f9&\"\nimport script from \"./DatetimePickerStartEnd.vue?vue&type=script&lang=js&\"\nexport * from \"./DatetimePickerStartEnd.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":""}