{"version":3,"sources":["webpack:///./src/lib/components/Dropdown/DfMultipleSelectDropdown.vue?d940","webpack:///./src/modules/users/components/modal/AddUserModal.vue","webpack:///src/modules/users/components/modal/AddUserModal.vue","webpack:///./src/modules/users/components/modal/AddUserModal.vue?44f9","webpack:///./src/modules/users/components/modal/AddUserModal.vue?cd39","webpack:///../../../src/components/VForm/VForm.ts","webpack:///./src/lib/components/Select/DfMultipleSelect.vue","webpack:///./src/lib/components/Dropdown/DfMultipleSelectDropdown.vue","webpack:///src/lib/components/Dropdown/DfMultipleSelectDropdown.vue","webpack:///./src/lib/components/Dropdown/DfMultipleSelectDropdown.vue?bbe3","webpack:///./src/lib/components/Dropdown/DfMultipleSelectDropdown.vue?2b87","webpack:///src/lib/components/Select/DfMultipleSelect.vue","webpack:///./src/lib/components/Select/DfMultipleSelect.vue?dbbe","webpack:///./src/lib/components/Select/DfMultipleSelect.vue?2a7b","webpack:///./src/lib/components/Select/DfMultipleSelect.vue?3ce1"],"names":["_c","_self","attrs","modalTitle","scopedSlots","_vm","fn","ref","staticClass","required","model","callback","email","expression","translatedProfiles","profile","formattedFarms","selectedFarms","isExceededUsersModalOpened","closeExceededUsersModal","staticRenderFns","ExceededUsersModal","name","components","DfInput","DfModal","DfMultipleSelect","DfSelect","props","user","default","type","Object","data","isFarmsSelectionDisabled","loading","validEmail","watch","_ref","value","adminProfileId","$root","$emit","$t","mounted","_this","isEditing","find","profile_id","farms","reduce","acc","farm","includes","id","push","String","inject","getProfiles","from","computed","_objectSpread","mapGetters","map","modalActionName","_this2","uid","methods","mapActions","addUser","_this3","_asyncToGenerator","_regeneratorRuntime","mark","_callee","params","_error$response","_error$response$data","wrap","_context","prev","next","active","Number","createUser","logEvent","events","usersModule","create","t0","response","key","Error","finish","stop","closeAddUserModal","editUser","_this4","_callee2","profileId","_context2","profileUid","updateUser","update","console","error","register","_this5","_callee3","_context3","$refs","form","validate","abrupt","component","mixins","BindsAttrs","RegistrableProvide","extend","provide","this","inheritAttrs","disabled","Boolean","lazyValidation","readonly","inputs","watchers","errorBag","handler","val","errors","values","deep","immediate","watchInput","input","watcher","$watch","$set","_uid","valid","shouldValidate","hasOwnProperty","filter","length","reset","forEach","resetErrorBag","setTimeout","resetValidation","unregister","found","i","unwatch","$delete","render","h","novalidate","attrs$","on","submit","e","getSlot","_u","slotProps","label","rules","_t","menu","searchBar","loadingSearchTerm","searchTerm","_e","filteredItems","click","cleanFilter","_v","applyFilter","DfButton","clearable","items","Array","validator","every","item","searchPlaceholder","componentValue","debouncedFunction","debouncedSearchTerm","menuWidth","created","debounce","updateSearch","newValue","changeBackgroundColor","updateMenuWidth","toLowerCase","showActions","_toConsumableArray","isExpanded","element","slotContainer","firstChild","setAttribute","clickItem","some","checkedValue","index","findIndex","checkValue","splice","showSelectedCheckbox","slotElement","children","offsetWidth","debouncedTerm","DfMultipleSelectDropdown","placeholder","componentText","hasRequiredRule","rule","itemsText","join","backgroundColor","colors","colorBackgroundDisabled","colorBackgroundLight","dropdown","externalFilterClear"],"mappings":"gHAAA,W,4DCA4CA,EAAOC,WAAS,MAAU,KAAsBC,EAAK,EAAC,S,OAAC,QAAY,CAAC,EAAE,Y,MAAC,CAAkC,WAAa,GAAS,cAAYC,kBAAW,kBAAG,MAAC,c,GAA6B,CAA8B,0BAACC,MAAW,EAACC,mB,YAA+B,EAADC,GAAW,E,IAAC,e,GAAqBC,W,MAAWC,UAAY,CAAyC,IAAK,OAAYN,YAAM,0C,CAAC,aAAc,C,MAAW,CAA8B,WAAcG,UAAwC,MAAQ,EAAI,GAACI,eAA0B,kDAACC,MAAM,2B,MAAmBC,C,MAA6BC,EAAK,MAAI,SAAC,YAACC,QAAW,GAAWb,WAAG,WAAoB,cAAYc,C,MAAmB,CAAsC,QAAa,mBAA2C,MAAQ,EAAI,GAACL,uBAAU,oDAACC,MAAM,c,MAAqBC,C,MAA6BI,UAAW,SAAC,YAACF,UAAW,GAAab,WAAG,aAA6B,uBAAc,C,MAAC,CAAwC,UAAYgB,GAA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,GACA,wBAAAA,EAAAnK,MAAA,kBAAAmK,EAAAlJ,WAIA+H,MAAA,CACAxI,QAAA,GACAC,KAAAyB,QAEArB,QAAA,CACAL,SAAA,EACAC,KAAA4F,SAEA+F,YAAA,CACA5L,QAAA,GACAC,KAAAyB,QAEA+G,MAAA,CACAzI,QAAA,qBACAC,KAAAuJ,OAEAZ,UAAA,CACA5I,SAAA,EACAC,KAAA4F,SAEA+D,kBAAA,CACA5J,QAAA,GACAC,KAAAyB,QAEAjB,MAAA,CACA9B,UAAA,EACAsB,KAAA,CAAAuJ,MAAAtJ,UAIAC,KAAA,WACA,OACA0L,cAAA,GACAC,iBAAA,IAIA7B,QAAA,eAAAlJ,EAAA,KACA,KAAA0H,MAAAuC,MAAA,SAAAe,GACAA,IAAApN,SAAAoC,EAAA+K,iBAAA,OAIAvL,MAAA,CACAE,MAAA,CACA0F,QAAA,SAAAiE,GACA,IAAA4B,EAAA,GACA5B,EAAA/C,SAAA,SAAAsC,GACAqC,EAAAvK,KAAAkI,EAAAnK,SAEA,KAAAqM,cAAAG,EAAAC,KAAA,SAKAnK,SAAA,CACAoK,gBAAA,WACA,YAAAtG,SACAuG,IAAAC,wBACAD,IAAAE,uBAIAhK,QAAA,CACA+G,YAAA,SAAA3I,GACA,KAAAG,MAAA,QAAA6J,eAAAhK,IACA,KAAAG,MAAA,iBAIAsI,YAAA,WACA,KAAAlE,MAAAsH,SAAAC,sBACA,KAAAV,cAAA,MC9IuX,ICQnX,G,UAAY,eACd,EACA,EACAvM,GACA,EACA,KACA,WACA,OAIa,S,2FCnBf","file":"js/chunk-3539cd6e.bd074b83.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DfMultipleSelectDropdown.vue?vue&type=style&index=0&id=2660de05&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('df-modal',{attrs:{\"persistent\":\"\",\"action-name\":_vm.modalActionName,\"loading\":_vm.loading,\"title\":_vm.modalTitle},on:{\"action-click\":_vm.register,\"close\":_vm.closeAddUserModal},scopedSlots:_vm._u([{key:\"card-content\",fn:function(){return [_c('v-form',{ref:\"form\",staticClass:\"df-flex-xxl df-flex-col add-user-modal\"},[_c('df-input',{attrs:{\"disabled\":_vm.isEditing,\"label\":_vm.$t('Users.email'),\"placeholder\":_vm.$t('Users.modal.email_placeholder'),\"rules\":[_vm.required, _vm.validEmail]},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('df-select',{attrs:{\"items\":_vm.translatedProfiles,\"label\":_vm.$t('Users.modal.profile'),\"placeholder\":_vm.$t('Users.modal.profile_placeholder'),\"rules\":[_vm.required]},model:{value:(_vm.profile),callback:function ($$v) {_vm.profile=$$v},expression:\"profile\"}}),_c('df-multiple-select',{attrs:{\"clearable\":\"\",\"disabled\":_vm.isFarmsSelectionDisabled,\"items\":_vm.formattedFarms,\"label\":_vm.$t('Users.modal.farms'),\"placeholder\":_vm.$t('Users.modal.farms_placeholder'),\"rules\":[_vm.required]},model:{value:(_vm.selectedFarms),callback:function ($$v) {_vm.selectedFarms=$$v},expression:\"selectedFarms\"}})],1)]},proxy:true}])}),(_vm.isExceededUsersModalOpened)?_c('exceeded-users-modal',{on:{\"close\":_vm.closeExceededUsersModal}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\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!./AddUserModal.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!./AddUserModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AddUserModal.vue?vue&type=template&id=35288142\"\nimport script from \"./AddUserModal.vue?vue&type=script&lang=js\"\nexport * from \"./AddUserModal.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","// Components\nimport VInput from '../VInput/VInput'\n\n// Mixins\nimport mixins from '../../util/mixins'\nimport BindsAttrs from '../../mixins/binds-attrs'\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\n\n// Helpers\nimport { VNode } from 'vue'\nimport { getSlot } from '../../util/helpers'\n\ntype ErrorBag = Record\ntype VInputInstance = InstanceType\ntype Watchers = {\n _uid: number\n valid: () => void\n shouldValidate: () => void\n}\n\n/* @vue/component */\nexport default mixins(\n BindsAttrs,\n RegistrableProvide('form')\n /* @vue/component */\n).extend({\n name: 'v-form',\n\n provide (): object {\n return { form: this }\n },\n\n inheritAttrs: false,\n\n props: {\n disabled: Boolean,\n lazyValidation: Boolean,\n readonly: Boolean,\n value: Boolean,\n },\n\n data: () => ({\n inputs: [] as VInputInstance[],\n watchers: [] as Watchers[],\n errorBag: {} as ErrorBag,\n }),\n\n watch: {\n errorBag: {\n handler (val) {\n const errors = Object.values(val).includes(true)\n\n this.$emit('input', !errors)\n },\n deep: true,\n immediate: true,\n },\n },\n\n methods: {\n watchInput (input: any): Watchers {\n const watcher = (input: any): (() => void) => {\n return input.$watch('hasError', (val: boolean) => {\n this.$set(this.errorBag, input._uid, val)\n }, { immediate: true })\n }\n\n const watchers: Watchers = {\n _uid: input._uid,\n valid: () => {},\n shouldValidate: () => {},\n }\n\n if (this.lazyValidation) {\n // Only start watching inputs if we need to\n watchers.shouldValidate = input.$watch('shouldValidate', (val: boolean) => {\n if (!val) return\n\n // Only watch if we're not already doing it\n if (this.errorBag.hasOwnProperty(input._uid)) return\n\n watchers.valid = watcher(input)\n })\n } else {\n watchers.valid = watcher(input)\n }\n\n return watchers\n },\n /** @public */\n validate (): boolean {\n return this.inputs.filter(input => !input.validate(true)).length === 0\n },\n /** @public */\n reset (): void {\n this.inputs.forEach(input => input.reset())\n this.resetErrorBag()\n },\n resetErrorBag () {\n if (this.lazyValidation) {\n // Account for timeout in validatable\n setTimeout(() => {\n this.errorBag = {}\n }, 0)\n }\n },\n /** @public */\n resetValidation () {\n this.inputs.forEach(input => input.resetValidation())\n this.resetErrorBag()\n },\n register (input: VInputInstance) {\n this.inputs.push(input)\n this.watchers.push(this.watchInput(input))\n },\n unregister (input: VInputInstance) {\n const found = this.inputs.find(i => i._uid === input._uid)\n\n if (!found) return\n\n const unwatch = this.watchers.find(i => i._uid === found._uid)\n if (unwatch) {\n unwatch.valid()\n unwatch.shouldValidate()\n }\n\n this.watchers = this.watchers.filter(i => i._uid !== found._uid)\n this.inputs = this.inputs.filter(i => i._uid !== found._uid)\n this.$delete(this.errorBag, found._uid)\n },\n },\n\n render (h): VNode {\n return h('form', {\n staticClass: 'v-form',\n attrs: {\n novalidate: true,\n ...this.attrs$,\n },\n on: {\n submit: (e: Event) => this.$emit('submit', e),\n },\n }, getSlot(this))\n },\n})\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('df-multiple-select-dropdown',{ref:\"dropdown\",attrs:{\"items\":_vm.items,\"clearable\":_vm.clearable,\"disabled\":_vm.disabled,\"search-bar\":_vm.searchBar,\"search-placeholder\":_vm.searchPlaceholder,\"value\":_vm.value},on:{\"apply-filter\":_vm.applyFilter},scopedSlots:_vm._u([{key:\"default\",fn:function(slotProps){return [_c('div',{staticClass:\"df-flex-sm df-flex-col df-multiple-select\"},[(_vm.label)?_c('h3',[_vm._v(_vm._s(_vm.label)),(_vm.hasRequiredRule)?_c('span',[_vm._v(\"*\")]):_vm._e()]):_vm._e(),_c('div',_vm._g({},slotProps.on),[_c('v-text-field',{attrs:{\"data-id\":\"select-input\",\"value\":_vm.componentText,\"dense\":\"\",\"flat\":\"\",\"hide-spin-buttons\":\"\",\"outlined\":\"\",\"readonly\":\"\",\"solo\":\"\",\"background-color\":_vm.backgroundColor,\"disabled\":_vm.disabled,\"loading\":_vm.loading,\"placeholder\":_vm.placeholder,\"rules\":_vm.rules},scopedSlots:_vm._u([{key:\"append\",fn:function(){return [_c('font-awesome-icon',{staticClass:\"icon\",attrs:{\"icon\":\"chevron-down\"}})]},proxy:true}],null,true)})],1)])]}}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-menu',{attrs:{\"bottom\":\"\",\"offset-y\":\"\",\"close-on-content-click\":false,\"disabled\":_vm.disabled,\"max-width\":_vm.menuWidth,\"min-width\":220},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on }){return [_c('div',{ref:\"slotContainer\"},[_vm._t(\"default\",null,{\"on\":on})],2)]}}],null,true),model:{value:(_vm.menu),callback:function ($$v) {_vm.menu=$$v},expression:\"menu\"}},[_c('v-list',{staticClass:\"filter__list\"},[(_vm.searchBar)?_c('div',{staticClass:\"list__filter\"},[_c('df-input',{staticClass:\"filter__search-input\",attrs:{\"left-icon\":\"search\",\"loading\":_vm.loadingSearchTerm,\"placeholder\":_vm.searchPlaceholder},on:{\"change\":_vm.debouncedFunction},model:{value:(_vm.searchTerm),callback:function ($$v) {_vm.searchTerm=$$v},expression:\"searchTerm\"}})],1):_vm._e(),(_vm.filteredItems.length)?_c('div',{staticClass:\"list__content\"},_vm._l((_vm.filteredItems),function(item,index){return _c('v-list-item',{key:index,on:{\"click\":function($event){return _vm.clickItem(item)}}},[_c('v-list-item-title',[_c('p',[_vm._v(\" \"+_vm._s(item.name)+\" \")]),(_vm.showSelectedCheckbox(item))?_c('font-awesome-icon',{staticClass:\"content__checkbox-selected\",attrs:{\"icon\":\"check\"}}):_c('div',{staticClass:\"content__checkbox-empty\"})],1)],1)}),1):_vm._e(),(!_vm.filteredItems.length)?_c('div',{staticClass:\"filter__not-found\"},[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('Components.select_dropdown.results_not_found'))+\" \")])]):_vm._e(),(_vm.showActions)?_c('div',{staticClass:\"df-flex-m filter__list-action\"},[(_vm.clearable)?_c('v-btn',{staticClass:\"df-col-6 action__button\",attrs:{\"plain\":\"\"},on:{\"click\":_vm.cleanFilter}},[_vm._v(\" \"+_vm._s(_vm.$t('Components.select_dropdown.clean'))+\" \")]):_vm._e(),_c('df-button',{staticClass:\"df-col-6\",attrs:{\"data-id\":\"apply-button\"},on:{\"click\":_vm.applyFilter}},[_vm._v(\" \"+_vm._s(_vm.$t('Components.select_dropdown.apply'))+\" \")])],1):_vm._e()])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./DfMultipleSelectDropdown.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!./DfMultipleSelectDropdown.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DfMultipleSelectDropdown.vue?vue&type=template&id=2660de05&scoped=true\"\nimport script from \"./DfMultipleSelectDropdown.vue?vue&type=script&lang=js\"\nexport * from \"./DfMultipleSelectDropdown.vue?vue&type=script&lang=js\"\nimport style0 from \"./DfMultipleSelectDropdown.vue?vue&type=style&index=0&id=2660de05&prod&lang=scss&scoped=true\"\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 \"2660de05\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\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!./DfMultipleSelect.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!./DfMultipleSelect.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DfMultipleSelect.vue?vue&type=template&id=43607dbe&scoped=true\"\nimport script from \"./DfMultipleSelect.vue?vue&type=script&lang=js\"\nexport * from \"./DfMultipleSelect.vue?vue&type=script&lang=js\"\nimport style0 from \"./DfMultipleSelect.vue?vue&type=style&index=0&id=43607dbe&prod&lang=scss&scoped=true\"\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 \"43607dbe\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DfMultipleSelect.vue?vue&type=style&index=0&id=43607dbe&prod&lang=scss&scoped=true\""],"sourceRoot":""}