{"version":3,"sources":["webpack:///./src/views/Club/ClubForm/ClubForm.styles.scss","webpack:///./src/views/Club/ClubForm/ClubForm.vue?0e19","webpack:///./src/views/Club/ClubForm/ClubForm.controller.js","webpack:///./src/views/Club/ClubForm/ClubForm.controller.js?30e1","webpack:///./src/views/Club/ClubForm/ClubForm.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","isSuperAdmin","isAdmin","staticClass","attrs","_v","infoEmail","_s","url","ref","on","$event","preventDefault","save","scopedSlots","_u","key","fn","errors","directives","name","rawName","value","club","expression","domProps","setClubUrl","target","composing","$set","modifiers","encodeURI","clubUrl","$route","params","cluburl","loadCoordinateMap","existingMarker","newLatLong","_e","mapErrorMessage","class","selectedCountry","countryArray","updateCountryId","option","model","callback","$$v","selectedProvince","provinceArray","updateProvinceId","show","cropSuccess","hasPicture","error","imageObj","toggleShow","showCover","cropSuccessCover","hasCoverPicture","errorCover","coverImageObj","toggleShowCover","_l","discipline","refInFor","Array","isArray","checked","_i","$$a","$$el","$$c","$$i","concat","slice","inputChanged","id","disciplineErrorMessage","tags","filteredItems","tagsChanged","currentTag","editorToolbar","cancel","staticRenderFns","isServer","require","extend","required","email","VueTagsInput","default","VueEditor","message","validate","strongRegex","RegExp","test","includes","ImageUpload","metaInfo","title","components","Sidebar","LatLongMap","props","data","editMode","abbreviation","contactPerson","address_Street","address_Nr","address_Postcode","address_City","address_Country","address_Province","phone","website","clubId","mollie","clubDisciplines","membershipInfo","membershipLink","membershipCallToAction","lat","long","aboutUs","currentUserIsAdmin","map","p","c","process","computed","mapGetters","tagsList","filter","i","text","toLowerCase","indexOf","disciplineList","editClub","formattedDisciplineList","forEach","level","d","_","clone","push","methods","mapActions","initialiseTags","createAction","editAction","initialiseClub","initialiseDisciplineList","initialiseUser","t","event","disciplineId","srcElement","addDisciplineId","removeDisciplineId","imgDataUrl","fetch","then","res","blob","file","File","type","image","createImage","coverImage","createCoverImage","reader","FileReader","onload","e","result","readAsDataURL","$refs","form","success","isNullOrWhiteSpace","length","disciplineError","updateClub","createNewClub","setTimeout","errorKeys","Object","keys","refs","$el","scrollIntoView","window","scrollBy","undefined","$router","errorCheckClubDisciplines","index","splice","$isSuperAdmin","$isAdmin","fillClubDisciplineList","clubDiscipline","find","catch","$toasted","response","created","paramClubUrl","cloneDeep","profilePicture","coverPicture","latLong","clubTags","component"],"mappings":"gHAAA,yBAA4d,EAAG,G,gECA/d,I,EAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAIM,gBAAgBN,EAAIO,UAAWH,EAAG,MAAM,CAACI,YAAY,sDAAsD,CAACJ,EAAG,MAAM,CAACI,YAAY,kCAAkCJ,EAAG,UAAU,CAACI,YAAY,aAAa,CAACJ,EAAG,MAAM,CAACI,YAAY,oBAAoB,CAACJ,EAAG,MAAM,CAACI,YAAY,wBAAwB,CAACJ,EAAG,MAAM,CAACK,MAAM,CAAC,IAAM,EAAQ,QAAuD,IAAM,YAAYL,EAAG,MAAM,CAACI,YAAY,sBAAsB,CAACJ,EAAG,IAAI,CAACI,YAAY,wCAAwC,CAACR,EAAIU,GAAG,4BAA4BN,EAAG,IAAI,CAACI,YAAY,mBAAmB,CAACR,EAAIU,GAAG,aAAaN,EAAG,MAAMA,EAAG,IAAI,CAACK,MAAM,CAAC,KAAO,oBAAoB,CAACT,EAAIU,GAAG,0BAA0BN,EAAG,MAAMA,EAAG,IAAI,CAACI,YAAY,mBAAmB,CAACR,EAAIU,GAAG,cAAcN,EAAG,MAAMA,EAAG,IAAI,CAACK,MAAM,CAAC,KAAO,UAAYT,EAAIW,YAAY,CAACX,EAAIU,GAAGV,EAAIY,GAAGZ,EAAIW,gBAAgBP,EAAG,MAAMA,EAAG,IAAI,CAACI,YAAY,mBAAmB,CAACJ,EAAG,IAAI,CAACK,MAAM,CAAC,KAAOT,EAAIa,IAAI,OAAS,WAAW,CAACb,EAAIU,GAAG,yBAAyB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xE,SAAS0E,cAC/C,EAAKlM,KAAO6H,IAAEmE,UAAU,EAAKxE,UAC7B,EAAK9F,iBAAiB7B,KAAO,EAAKG,KAAK8F,iBACvC,EAAK3E,gBAAgBtB,KAAO,EAAKG,KAAK6F,gBACjC,EAAKlH,WACR,EAAKuM,QAAQnD,KAAK,CAAElI,KAAM,QAE5B,EAAK2L,yBACL,EAAK1K,eAAiB,CACpByC,GAAI,EACJ4I,QAAS,CAAC,EAAKnM,KAAKuG,IAAK,EAAKvG,KAAKwG,OAErC,EAAK3F,mBAAoB,EAEzB,EAAK4C,KAAO,EAAKzD,KAAKoM,SAASzF,KAAI,SAAC6B,GAAD,MAAQ,CAAEpB,KAAMoB,EAAE3I,SACrD,EAAKG,KAAKyD,KAAO,EAAKA,gBAGhB,EAAK/E,eAEV,EAAK4J,2BADV,EAAK4C,QAAQnD,KAAK,CAAElI,KAAM,aCvVkR,I,wBCQhTwM,EAAY,eACd,EACAlO,EACA4F,GACA,EACA,KACA,KACA,MAIa,aAAAsI,E","file":"js/chunk-4f3983f8.17d6b668.js","sourcesContent":["import mod from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./ClubForm.styles.scss?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./ClubForm.styles.scss?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isSuperAdmin()||_vm.isAdmin())?_c('div',{staticClass:\"l-view l-container--full-height l-container--large\"},[_c('div',{staticClass:\"l-banner--green u-tablet-hide\"}),_c('Sidebar',{staticClass:\"o-sidebar\"},[_c('div',{staticClass:\"o-sidebar__inner\"},[_c('div',{staticClass:\"o-sidebar__top-image\"},[_c('img',{attrs:{\"src\":require(\"@/assets/images/generic/afbeelding-evenement-4x.jpg\"),\"alt\":\"Open\"}})]),_c('div',{staticClass:\"o-sidebar__content\"},[_c('p',{staticClass:\"o-sidebar__title o-sidebar__title-xl\"},[_vm._v(\"vragen? Contacteer ons\")]),_c('p',{staticClass:\"o-sidebar__info\"},[_vm._v(\" Bel ons \"),_c('br'),_c('a',{attrs:{\"href\":\"tel:+3292431119\"}},[_vm._v(\"+32 (0)9 243 11 19\")])]),_c('br'),_c('p',{staticClass:\"o-sidebar__info\"},[_vm._v(\" Mail ons \"),_c('br'),_c('a',{attrs:{\"href\":'mailto:' + _vm.infoEmail}},[_vm._v(_vm._s(_vm.infoEmail))])]),_c('br'),_c('p',{staticClass:\"o-sidebar__info\"},[_c('a',{attrs:{\"href\":_vm.url,\"target\":\"_blank\"}},[_vm._v(\"Handleiding\")])])])])]),_c('div',{staticClass:\"o-page o-page--white\"},[_c('div',{staticClass:\"p-form\"},[(_vm.editMode)?_c('h1',[_vm._v(\"Bewerken van Club\")]):_c('h1',[_vm._v(\"Club aanmaken\")]),_c('ValidationObserver',{ref:\"form\",attrs:{\"slim\":\"\"}},[_c('form',{staticClass:\"p__form\",attrs:{\"id\":\"clubForm\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.save($event)}}},[_c('h6',[_vm._v(\"CLUBGEGEVENS\")]),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Clubnaam \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.club.name),expression:\"club.name\"}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"Clubnaam\"},domProps:{\"value\":(_vm.club.name)},on:{\"blur\":_vm.setClubUrl,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.club, \"name\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,2337537752)}),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Afkorting \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.abbreviation),expression:\"club.abbreviation\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"abbreviation\"},domProps:{\"value\":(_vm.club.abbreviation)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"abbreviation\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,988070560)}),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Sport Vlaanderen Club ID (door WWSV ingevuld, wijzig deze niet als club) \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.clubId),expression:\"club.clubId\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"abbreviation\"},domProps:{\"value\":(_vm.club.clubId)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"clubId\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,4042644296)}),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required|url\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Club URL \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.club.clubUrl),expression:\"club.clubUrl\"}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"cluburl\"},domProps:{\"value\":(_vm.club.clubUrl)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.club, \"clubUrl\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])]),_c('p',{staticClass:\"u-margin-top-sm\"},[_vm._v(\"Unieke URL van deze club: \"),_c('strong',[_vm._v(\"ikwatersport.be/clubs/\"+_vm._s(encodeURI(_vm.club.clubUrl)))])])]}}],null,false,651913922)}),_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Coördinaten \"),((_vm.$route.params.cluburl && _vm.loadCoordinateMap) || !_vm.$route.params.cluburl)?_c('LatLongMap',{attrs:{\"existingMarker\":_vm.existingMarker},on:{\"markerPlaced\":_vm.newLatLong}}):_vm._e(),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.mapErrorMessage),expression:\"mapErrorMessage\"}],staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(_vm.mapErrorMessage))])],1),_c('ValidationProvider',{staticClass:\"a-input__Validation-wrapper\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Contactpersoon (optioneel) \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.contactPerson),expression:\"club.contactPerson\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"Contactperson\"},domProps:{\"value\":(_vm.club.contactPerson)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"contactPerson\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,3007523184)}),_c('h6',[_vm._v(\"CONTACTGEGEVENS\")]),_c('div',{staticClass:\"p-form__double-wrapper\"},[_c('ValidationProvider',{staticClass:\"a-input__label\",attrs:{\"rules\":\"required\",\"tag\":\"label\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_vm._v(\" Straat \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.address_Street),expression:\"club.address_Street\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"Straat\"},domProps:{\"value\":(_vm.club.address_Street)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"address_Street\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,1780765690)}),_c('ValidationProvider',{staticClass:\"a-input__label p-form__form-label--right\",attrs:{\"rules\":\"required\",\"tag\":\"label\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_vm._v(\" Huisnummer \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.address_Nr),expression:\"club.address_Nr\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"Nr\"},domProps:{\"value\":(_vm.club.address_Nr)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"address_Nr\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,2297765997)})],1),_c('div',{staticClass:\"p-form__double-wrapper\"},[_c('ValidationProvider',{staticClass:\"a-input__label\",attrs:{\"rules\":\"required\",\"tag\":\"label\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_vm._v(\" Plaats \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.address_City),expression:\"club.address_City\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"City\"},domProps:{\"value\":(_vm.club.address_City)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"address_City\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,3615200870)}),_c('ValidationProvider',{staticClass:\"a-input__label p-form__form-label--right\",attrs:{\"rules\":\"required\",\"tag\":\"label\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_vm._v(\" Postcode \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.address_Postcode),expression:\"club.address_Postcode\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"PostCode\"},domProps:{\"value\":(_vm.club.address_Postcode)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"address_Postcode\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,3583354458)})],1),_c('div',{staticClass:\"p-form__double-wrapper\",class:[_vm.selectedCountry.name !== 'België' ? 'p-form--half-width': '' ]},[_c('div',{staticClass:\"a-input__label\"},[_vm._v(\" Land \"),_c('multiselect',{attrs:{\"track-by\":\"name\",\"label\":\"name\",\"placeholder\":_vm.selectedCountry.name,\"options\":_vm.countryArray,\"show-labels\":false,\"allow-empty\":false,\"internal-search\":true,\"clear-on-select\":false},on:{\"select\":_vm.updateCountryId},scopedSlots:_vm._u([{key:\"singleLabel\",fn:function(ref){\nvar option = ref.option;\nreturn [_vm._v(_vm._s(option.name))]}}],null,false,2705703343),model:{value:(_vm.selectedCountry),callback:function ($$v) {_vm.selectedCountry=$$v},expression:\"selectedCountry\"}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.selectedCountry.name == 'België'),expression:\"selectedCountry.name == 'België'\"}],staticClass:\"a-input__label p-form__form-label--right\"},[_vm._v(\" Provincie \"),_c('multiselect',{attrs:{\"track-by\":\"name\",\"label\":\"name\",\"placeholder\":_vm.selectedProvince.name,\"options\":_vm.provinceArray,\"show-labels\":false,\"allow-empty\":false,\"internal-search\":true,\"clear-on-select\":false,\"close-on-select\":true},on:{\"select\":_vm.updateProvinceId},scopedSlots:_vm._u([{key:\"singleLabel\",fn:function(ref){\nvar option = ref.option;\nreturn [_vm._v(_vm._s(option.name))]}}],null,false,2705703343),model:{value:(_vm.selectedProvince),callback:function ($$v) {_vm.selectedProvince=$$v},expression:\"selectedProvince\"}})],1)]),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required|email\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" E-mail \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.email),expression:\"club.email\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"email\",\"name\":\"email\"},domProps:{\"value\":(_vm.club.email)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"email\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,3536209677)}),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Telefoonnummer \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.phone),expression:\"club.phone\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"Telefoonnummer\"},domProps:{\"value\":(_vm.club.phone)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"phone\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,2690432977)}),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"protocol\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Website \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.website),expression:\"club.website\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"Website\"},domProps:{\"value\":(_vm.club.website)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"website\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,4103851889)}),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Mollie: Vul hier je club Mollie live key in om online betalingen te ontvangen. Geen Mollie key: vergeet niet bij elke activiteit betalingsinstructies toe te voegen. \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.mollie),expression:\"club.mollie\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"Mollie\"},domProps:{\"value\":(_vm.club.mollie)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"mollie\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,4245316445)}),_c('h6',[_vm._v(\"PROFIELGEGEVENS\")]),_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Profielfoto \")]),_c('ImageUpload',{attrs:{\"field\":\"img\",\"width\":300,\"height\":300,\"lang-type\":\"nl\",\"img-format\":\"png\",\"noSquare\":true,\"noCircle\":true,\"value\":_vm.show},on:{\"crop-success\":_vm.cropSuccess,\"update:value\":function($event){_vm.show=$event}},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}}),_c('div',[(_vm.club.hasPicture && !_vm.error)?_c('img',{staticClass:\"a-input__image\",attrs:{\"src\":_vm.imageObj || require('@/assets/images/generic/upload-image.png'),\"alt\":\"afbeelding club\"},on:{\"click\":function($event){return _vm.toggleShow()},\"error\":function($event){_vm.error=true}}}):_c('img',{staticClass:\"a-input__image\",attrs:{\"src\":require('@/assets/images/generic/upload-image.png'),\"alt\":\"afbeelding club\"},on:{\"click\":function($event){return _vm.toggleShow()}}})]),_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Bannerfoto \")]),_c('ImageUpload',{attrs:{\"field\":\"img\",\"width\":980,\"height\":400,\"lang-type\":\"nl\",\"img-format\":\"png\",\"noSquare\":true,\"noCircle\":true,\"value\":_vm.showCover},on:{\"crop-success\":_vm.cropSuccessCover,\"update:value\":function($event){_vm.showCover=$event}},model:{value:(_vm.showCover),callback:function ($$v) {_vm.showCover=$$v},expression:\"showCover\"}}),_c('div',[(_vm.club.hasCoverPicture && !_vm.errorCover)?_c('img',{staticClass:\"a-input__image\",attrs:{\"src\":_vm.coverImageObj || require('@/assets/images/generic/upload-image.png'),\"alt\":\"afbeelding club\"},on:{\"click\":function($event){return _vm.toggleShowCover()},\"error\":function($event){_vm.errorCover=true}}}):_c('img',{staticClass:\"a-input__image\",attrs:{\"src\":require('@/assets/images/generic/upload-image.png'),\"alt\":\"afbeelding club\"},on:{\"click\":function($event){return _vm.toggleShowCover()}}})]),_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Sportcategorie \")]),_c('div',{staticClass:\"a-input__checkbox-list\"},[_vm._l((_vm.formattedDisciplineList),function(discipline){return _c('label',{key:discipline.name,ref:\"disciplineList\",refInFor:true,staticClass:\"a-input__checkbox-container\"},[_vm._v(\" \"+_vm._s(discipline.name)+\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(discipline.checked),expression:\"discipline.checked\",modifiers:{\"lazy\":true}}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(discipline.checked)?_vm._i(discipline.checked,null)>-1:(discipline.checked)},on:{\"change\":[function($event){var $$a=discipline.checked,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(discipline, \"checked\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(discipline, \"checked\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(discipline, \"checked\", $$c)}},function($event){return _vm.inputChanged($event, discipline.id)}]}}),_c('span',{staticClass:\"a-input__checkbox-checkmark\"})])}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.disciplineErrorMessage),expression:\"disciplineErrorMessage\"}],staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(_vm.disciplineErrorMessage))])],2),_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Tags \"),_c('vue-tags-input',{attrs:{\"tags\":_vm.tags,\"autocomplete-items\":_vm.filteredItems,\"autocomplete-min-length\":0},on:{\"tags-changed\":_vm.tagsChanged},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}}),_c('span',{staticClass:\"a-input__validation-message\"})],1),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\"Profiel bio\")]),_c('vue-editor',{attrs:{\"editor-toolbar\":_vm.editorToolbar},model:{value:(_vm.club.aboutUs),callback:function ($$v) {_vm.$set(_vm.club, \"aboutUs\", $$v)},expression:\"club.aboutUs\"}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,2208997554)}),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Lidmaatschap info \"),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.membershipInfo),expression:\"club.membershipInfo\",modifiers:{\"lazy\":true}}],staticClass:\"a-input a-textarea\",attrs:{\"type\":\"text\",\"name\":\"Lidmaatschap_info\"},domProps:{\"value\":(_vm.club.membershipInfo)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"membershipInfo\", $event.target.value)}}}),_vm._v(\" \"),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,839883664)}),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Lidmaatschap link - titel \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.membershipCallToAction),expression:\"club.membershipCallToAction\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"membership_titel\"},domProps:{\"value\":(_vm.club.membershipCallToAction)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"membershipCallToAction\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,637066208)}),_c('ValidationProvider',{staticClass:\"a-input__validation-wrapper\",attrs:{\"rules\":\"required|protocol\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"a-input__label\"},[_vm._v(\" Lidmaatschap link - url \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.club.membershipLink),expression:\"club.membershipLink\",modifiers:{\"lazy\":true}}],staticClass:\"a-input\",attrs:{\"type\":\"text\",\"name\":\"membership_url\"},domProps:{\"value\":(_vm.club.membershipLink)},on:{\"change\":function($event){return _vm.$set(_vm.club, \"membershipLink\", $event.target.value)}}}),_c('span',{staticClass:\"a-input__validation-message\"},[_vm._v(_vm._s(errors[0]))])])]}}],null,false,2139399264)}),_c('div',{staticClass:\"p-form__buttons\"},[_c('a',{staticClass:\"a-button a-button--secondary a-button--green-border u-margin-right-xs\",attrs:{\"href\":\"#\",\"title\":\"Annuleer\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(\"Annuleer\")]),_c('button',{staticClass:\"a-button a-button--primary u-margin-right-xs\"},[_vm._v(\"Opslaan\")])])],1)])],1)])],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters } from 'vuex';\r\nimport _ from 'lodash';\r\nimport { Sidebar, LatLongMap } from '@/components';\r\nimport { countryArray, provinceArray, isNullOrWhiteSpace } from '@/utils';\r\nimport isServer from '@/utils/isServer';\r\n\r\nif (!isServer) {\r\n const { extend } = require('vee-validate');\r\n const { required, email } = require('vee-validate/dist/rules');\r\n var VueTagsInput = require('@johmun/vue-tags-input').default;\r\n var { VueEditor } = require('vue2-editor/dist/vue2-editor.core');\r\n\r\n extend('required', {\r\n ...required,\r\n message: 'Dit veld is vereist.',\r\n });\r\n\r\n extend('email', {\r\n ...email,\r\n message: 'Een geldig e-mailadres is vereist.',\r\n });\r\n\r\n extend('protocol', {\r\n // eslint-disable-next-line no-unused-vars\r\n message: 'Url moet starten met http of https',\r\n validate: (value) => {\r\n // eslint-disable-next-line no-useless-escape\r\n const strongRegex = new RegExp(/^(http|https):/);\r\n return strongRegex.test(value);\r\n },\r\n });\r\n\r\n extend('coordinate', {\r\n // eslint-disable-next-line no-unused-vars\r\n message: 'Geef een geldig coördinaat in (Bv: xx.xxxxxx)',\r\n validate: (value) => {\r\n // eslint-disable-next-line no-useless-escape\r\n const strongRegex = new RegExp(/^(\\+|-)?(?:90(?:(?:\\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\\.[0-9]{1,6})?))$/);\r\n return strongRegex.test(value);\r\n },\r\n });\r\n\r\n extend('url', {\r\n // eslint-disable-next-line no-unused-vars\r\n message: 'Url kan geen \"/\", \"?\" of \".\" bevatten.',\r\n validate: (value) => !value.includes('?') && !value.includes('/') && !value.includes('.'),\r\n });\r\n\r\n var ImageUpload = require('vue-image-crop-upload').default;\r\n}\r\n\r\nexport default {\r\n metaInfo: {\r\n title: 'Club formpage',\r\n },\r\n name: 'ClubForm',\r\n components: {\r\n [Sidebar.name]: Sidebar,\r\n VueEditor,\r\n LatLongMap,\r\n ImageUpload,\r\n VueTagsInput,\r\n },\r\n props: {},\r\n data: () => ({\r\n editMode: false,\r\n currentTag: '',\r\n tags: [],\r\n club: {\r\n name: '',\r\n abbreviation: '',\r\n contactPerson: '',\r\n address_Street: '',\r\n address_Nr: '',\r\n address_Postcode: '',\r\n address_City: '',\r\n address_Country: '',\r\n address_Province: '',\r\n email: '',\r\n phone: '',\r\n website: '',\r\n clubId: '',\r\n clubUrl: '',\r\n mollie: '',\r\n clubDisciplines: [],\r\n membershipInfo: '',\r\n membershipLink: '',\r\n membershipCallToAction: '',\r\n lat: null,\r\n long: null,\r\n aboutUs: '',\r\n currentUserIsAdmin: false,\r\n tags: [],\r\n },\r\n show: false,\r\n showCover: false,\r\n imageObj: '',\r\n coverImageObj: '',\r\n error: false,\r\n errorCover: false,\r\n loadCoordinateMap: false,\r\n existingMarker: null,\r\n disciplineErrorMessage: '',\r\n mapErrorMessage: '',\r\n editorToolbar: [['bold', 'link']],\r\n provinceArray: provinceArray.map((p) => ({ name: p })),\r\n countryArray: countryArray.map((c) => ({ name: c })),\r\n selectedProvince: { name: 'West - Vlaanderen' },\r\n selectedCountry: { name: 'België' },\r\n url: process.env.VUE_APP_URL_MANUAL,\r\n }),\r\n computed: {\r\n ...mapGetters('tag', {\r\n tagsList: 'getTagList',\r\n }),\r\n filteredItems() {\r\n return this.tagsList.filter(\r\n (i) => i.text.toLowerCase().indexOf(this.currentTag.toLowerCase()) !== -1,\r\n );\r\n },\r\n ...mapGetters('discipline', {\r\n disciplineList: 'getDisciplineList',\r\n }),\r\n ...mapGetters('club', {\r\n editClub: 'getClub',\r\n clubId: 'getClubId',\r\n }),\r\n formattedDisciplineList() {\r\n const formattedDisciplineList = [];\r\n\r\n this.disciplineList.forEach((discipline) => {\r\n if (discipline.level === 0) {\r\n const d = _.clone(discipline);\r\n formattedDisciplineList.push(d);\r\n }\r\n });\r\n return formattedDisciplineList;\r\n },\r\n infoEmail() {\r\n return process.env.VUE_APP_INFO_EMAIL_ADDRESS;\r\n },\r\n },\r\n methods: {\r\n ...mapActions('tag', {\r\n initialiseTags: 'FETCH_DATA_TAG_LIST',\r\n }),\r\n ...mapActions('club', {\r\n createAction: 'CREATE_CLUB',\r\n editAction: 'EDIT_CLUB',\r\n initialiseClub: 'FETCH_DATA_EDIT_CLUB',\r\n }),\r\n ...mapActions('discipline', {\r\n initialiseDisciplineList: 'FETCH_DATA_DISCIPLINE_LIST',\r\n }),\r\n ...mapActions('account', {\r\n initialiseUser: 'FETCH_DATA_EDIT_USER',\r\n }),\r\n tagsChanged(tags) {\r\n this.tags = tags.map((t) => ({ text: t.text }));\r\n this.club.tags = this.tags;\r\n },\r\n inputChanged(event, disciplineId) {\r\n if (event.srcElement.checked) {\r\n this.addDisciplineId(disciplineId);\r\n } else {\r\n this.removeDisciplineId(disciplineId);\r\n }\r\n },\r\n cropSuccess(imgDataUrl) {\r\n fetch(imgDataUrl)\r\n .then((res) => res.blob())\r\n .then((blob) => {\r\n const file = new File([blob], 'File name', { type: 'image/png' });\r\n this.club.image = file;\r\n this.club.hasPicture = true;\r\n })\r\n .then(() => {\r\n this.createImage(this.club.image);\r\n this.toggleShow();\r\n });\r\n },\r\n cropSuccessCover(imgDataUrl) {\r\n fetch(imgDataUrl)\r\n .then((res) => res.blob())\r\n .then((blob) => {\r\n const file = new File([blob], 'File name', { type: 'image/png' });\r\n this.club.coverImage = file;\r\n this.club.hasCoverPicture = true;\r\n })\r\n .then(() => {\r\n this.createCoverImage(this.club.coverImage);\r\n this.toggleShowCover();\r\n });\r\n },\r\n createImage(file) {\r\n const reader = new FileReader();\r\n reader.onload = (e) => {\r\n this.imageObj = e.target.result;\r\n };\r\n reader.readAsDataURL(file);\r\n },\r\n createCoverImage(file) {\r\n const reader = new FileReader();\r\n reader.onload = (e) => {\r\n this.coverImageObj = e.target.result;\r\n };\r\n reader.readAsDataURL(file);\r\n },\r\n toggleShow() {\r\n this.show = !this.show;\r\n },\r\n toggleShowCover() {\r\n this.showCover = !this.showCover;\r\n },\r\n save() {\r\n this.$refs.form.validate().then((success) => {\r\n if (!success) {\r\n setTimeout(() => {\r\n const errorKeys = Object.keys(this.$refs.form.errors);\r\n const errors = errorKeys.filter((e) => this.$refs.form.errors[e].length > 0);\r\n\r\n this.$refs.form.refs[errors[0]].$el.scrollIntoView();\r\n window.scrollBy(0, -75);\r\n }, 100);\r\n } else {\r\n if (isNullOrWhiteSpace(this.club.address_Country) || isNullOrWhiteSpace(this.club.address_Province)) {\r\n this.club.address_Province = this.selectedProvince.name;\r\n this.club.address_Country = this.selectedCountry.name;\r\n }\r\n if (this.club.clubDisciplines.length <= 0) {\r\n this.disciplineError = 'Minstens 1 categorie vereist.';\r\n } else if (this.club.lat == null) {\r\n this.mapErrorMessage = 'Gelieve een locatie aan te duiden op de map.';\r\n } else if (this.editMode) {\r\n this.updateClub();\r\n } else {\r\n this.createNewClub();\r\n }\r\n }\r\n });\r\n },\r\n cancel() {\r\n if (this.club.id === undefined) {\r\n this.$router.push({ name: 'clubs' });\r\n } else {\r\n this.$router.push({ name: 'club-detail', params: { cluburl: this.club.clubUrl } });\r\n }\r\n },\r\n\r\n addDisciplineId(id) {\r\n this.club.clubDisciplines.push(id);\r\n this.errorCheckClubDisciplines();\r\n },\r\n removeDisciplineId(id) {\r\n const index = this.club.clubDisciplines.indexOf(id);\r\n this.club.clubDisciplines.splice(index, 1);\r\n this.errorCheckClubDisciplines();\r\n },\r\n isSuperAdmin() {\r\n return !!(this.$isSuperAdmin);\r\n },\r\n isAdmin() {\r\n return !!(this.$isAdmin || this.club.currentUserIsAdmin);\r\n },\r\n fillClubDisciplineList() {\r\n this.club.clubDisciplines.forEach((clubDiscipline) => {\r\n this.formattedDisciplineList.find((discipline) => discipline.id === clubDiscipline).checked = true;\r\n });\r\n },\r\n createNewClub() {\r\n this.createAction(this.club)\r\n .then(() => {\r\n this.$router.push({ name: 'club-detail', params: { cluburl: this.club.clubUrl } });\r\n })\r\n .catch((error) => {\r\n this.$toasted.show(...error.response.data);\r\n });\r\n },\r\n updateClub() {\r\n this.editAction(this.club)\r\n .then(() => {\r\n this.$router.push({ name: 'club-detail', params: { cluburl: this.club.clubUrl } });\r\n })\r\n .catch((error) => {\r\n this.$toasted.show(...error.response.data);\r\n });\r\n },\r\n errorCheckClubDisciplines() {\r\n if (this.club.clubDisciplines.length <= 0) {\r\n this.disciplineErrorMessage = 'Minstens 1 categorie vereist.';\r\n } else {\r\n this.disciplineErrorMessage = '';\r\n }\r\n },\r\n newLatLong(newLatLong) {\r\n [this.club.lat, this.club.long] = newLatLong;\r\n },\r\n\r\n updateProvinceId(selectedProvince) {\r\n if (selectedProvince) {\r\n this.club.address_Province = selectedProvince.name;\r\n }\r\n },\r\n\r\n updateCountryId(selectedCountry) {\r\n if (selectedCountry) {\r\n this.club.address_Country = selectedCountry.name;\r\n }\r\n },\r\n setClubUrl() {\r\n if (!this.club.clubUrl) {\r\n this.$set(this.club, 'clubUrl', this.club.name);\r\n }\r\n },\r\n },\r\n created() {\r\n this.initialiseTags();\r\n this.initialiseUser().then(() => {\r\n if (this.$route.params.cluburl) {\r\n const paramClubUrl = this.$route.params.cluburl;\r\n this.editMode = true;\r\n this.initialiseDisciplineList().then(() => {\r\n this.initialiseClub(paramClubUrl).then(() => {\r\n this.imageObj = _.cloneDeep(this.editClub.profilePicture);\r\n this.coverImageObj = _.cloneDeep(this.editClub.coverPicture);\r\n this.club = _.cloneDeep(this.editClub);\r\n this.selectedProvince.name = this.club.address_Province;\r\n this.selectedCountry.name = this.club.address_Country;\r\n if (!this.isAdmin()) {\r\n this.$router.push({ name: '404' });\r\n }\r\n this.fillClubDisciplineList();\r\n this.existingMarker = {\r\n id: 1,\r\n latLong: [this.club.lat, this.club.long],\r\n };\r\n this.loadCoordinateMap = true;\r\n // Set existing tags:\r\n this.tags = this.club.clubTags.map((t) => ({ text: t.name }));\r\n this.club.tags = this.tags; // Update/Create model requires this format.\r\n });\r\n });\r\n } else if (!this.isSuperAdmin()) {\r\n this.$router.push({ name: '404' });\r\n } else this.initialiseDisciplineList();\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/babel-loader/lib/index.js!../../../../node_modules/eslint-loader/index.js??ref--13-0!./ClubForm.controller.js?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/eslint-loader/index.js??ref--13-0!./ClubForm.controller.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ClubForm.vue?vue&type=template&id=0ae96c02&\"\nimport script from \"./ClubForm.controller.js?vue&type=script&lang=js&\"\nexport * from \"./ClubForm.controller.js?vue&type=script&lang=js&\"\nimport style0 from \"./ClubForm.styles.scss?vue&type=style&index=0&lang=scss&\"\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":""}