{"version":3,"sources":["webpack:///./src/views/promotion-material/PromotionMaterial.vue?12e6","webpack:///../../../src/components/VRadioGroup/VRadioGroup.ts","webpack:///./src/views/promotion-material/PromotionMaterial.vue?4b72","webpack:///./src/views/promotion-material/PromotionMaterial.vue?f00b","webpack:///./src/views/promotion-material/PromotionMaterial.vue?77a2","webpack:///./src/views/promotion-material/PromotionMaterial.vue?e385","webpack:///../../../src/components/VRadioGroup/VRadio.ts","webpack:///../../../src/components/VTextarea/VTextarea.ts"],"names":["baseMixins","mixins","Comparable","BaseItemGroup","VInput","extend","name","provide","radioGroup","this","props","column","type","Boolean","default","height","Number","String","row","value","computed","classes","_objectSpread","options","call","methods","genDefaultSlot","$createElement","staticClass","attrs","id","role","computedId","genInputSlot","render","data","on","click","genLabel","label","for","tag","onClick","_vm","_h","_c","_self","_v","$event","preventDefault","onSentPromotionItemsForm","model","promoForm","callback","$$v","$set","expression","v","mapValidationErrors","fields","project","errors","requesterName","address","postalCode","city","posters","posterAmount","isValid","ref","onSentNarrowcastingForm","narrowForm","fileOutput","fileType","filePond","acceptedFileTypes","$t","server","beforeAddFile","beforeRemoveNarrowCastFile","processNarrowCast","sendFileTo","logoGUID","staticRenderFns","FilePond","vueFilePond","filePondRegisterPlugin","FilePondPluginFileValidateType","FilePondPluginFileValidateSize","defineComponent","components","setup","vm","api","PromotionItemApi","selectedProject","Store","getters","PosterAmount","AmountNone","Amount1","Amount2","Amount3","Amount4","Amount5","FileType","Jpg","Png","Pdf","saving","user","emailAddress","properties","FirstName","MiddleName","LastName","fullName","reactive","flyerAmount","FlyerAmount","Amount50","remarks","width","handleUploadError","error","snackbarError","i18n","t","code","toString","body","root","$emit","files","url","process","headers","concat","$store","accessToken","revert","method","_beforeAddFile","_asyncToGenerator","_regeneratorRuntime","mark","_callee","authApi","tokens","_yield$authApi$authen","wrap","_context","prev","next","AuthenticationApi","authenticationRefreshAccessToken","sent","dispatch","abrupt","stop","apply","arguments","file","serverId","_onSentPromotionItemsForm","_callee2","_context2","promotionItemSendPostersFlyersForm","then","catch","err","response","_onSentNarrowcastingForm","_callee3","_context3","promotionItemSendNarrowcastForm","fileId","parseInt","onMounted","_selectedProject$valu","firstName","lastName","middleName","watch","_selectedProject$valu2","component","VBtn","VCard","VCardText","VCardTitle","VCol","VContainer","VForm","VRadio","VRadioGroup","VRow","VSelect","VSpacer","VTextField","VTextarea","BindsAttrs","Colorable","Rippleable","GroupableFactory","Themeable","inheritAttrs","disabled","offIcon","onIcon","readonly","isFocused","isDisabled","themeClasses","groupClasses","computedColor","Selectable","computedIcon","isActive","hasLabel","hasState","isReadonly","computedName","_uid","rippleState","validationState","genInput","args","_this","VLabel","e","onChange","color","focused","getSlot","genRadio","VIcon","setTextColor","dense","attrs$","genRipple","onFocus","onBlur","toggle","onKeydown","h","class","autoGrow","noResize","rowHeight","validator","isNaN","parseFloat","rows","noResizeHandle","lazyValue","$nextTick","calculateInputHeight","mounted","setTimeout","input","$refs","style","scrollHeight","minHeight","Math","max","onInput","onKeyDown","keyCode","stopPropagation"],"mappings":"kHAAA,W,6MCeMA,EAAaC,eACjBC,OACAC,OACAC,QAIaJ,SAAWK,OAAO,CAC/BC,KAAM,gBAENC,QAAO,WACL,MAAO,CACLC,WAAYC,OAIhBC,MAAO,CACLC,OAAQ,CACNC,KAAMC,QACNC,SAAS,GAEXC,OAAQ,CACNH,KAAM,CAACI,OAAQC,QACfH,QAAS,QAEXR,KAAMW,OACNC,IAAKL,QAILM,MAAO,MAGTC,SAAU,CACRC,QAAO,WACL,OAAAC,8BAAA,GACKlB,OAAOmB,QAAQH,SAASC,QAAQG,KAAKf,OADnC,IAEL,oDAAoD,EACpD,+BAAgCA,KAAKE,SAAWF,KAAKS,IACrD,4BAA6BT,KAAKS,QAKxCO,QAAS,CACPC,eAAc,WACZ,OAAOjB,KAAKkB,eAAe,MAAO,CAChCC,YAAa,8BACbC,MAAO,CACLC,GAAIrB,KAAKqB,GACTC,KAAM,aACN,kBAAmBtB,KAAKuB,aAEzB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AAMhO,KAAMN,MAAOjB,KAC1BuP,EAAMhO,KAAMN,MAAO+N,KAAOnP,KAAKmP,KAExBO,GAETO,QAAO,SAAErC,GACP/B,OAAW/K,QAAQE,QAAQiP,QAAQlP,KAAKf,KAAM4N,GAC9C5N,KAAK6O,UAAY7O,KAAKuP,wBAExBW,UAAS,SAAEtC,GAIL5N,KAAKyM,WAA2B,KAAdmB,EAAEuC,SACtBvC,EAAEwC,kBAGJpQ,KAAK2H,MAAM,UAAWiG,Q","file":"js/chunk-5c15d4b6.c38c74ba.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PromotionMaterial.vue?vue&type=style&index=0&id=6b9b1ca1&prod&scoped=true&lang=css&\"","// Styles\nimport '../../styles/components/_selection-controls.sass'\nimport './VRadioGroup.sass'\n\n// Extensions\nimport VInput from '../VInput'\nimport { BaseItemGroup } from '../VItemGroup/VItemGroup'\n\n// Mixins\nimport Comparable from '../../mixins/comparable'\n\n// Types\nimport mixins from '../../util/mixins'\nimport { PropType } from 'vue'\n\nconst baseMixins = mixins(\n Comparable,\n BaseItemGroup,\n VInput\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-radio-group',\n\n provide () {\n return {\n radioGroup: this,\n }\n },\n\n props: {\n column: {\n type: Boolean,\n default: true,\n },\n height: {\n type: [Number, String],\n default: 'auto',\n },\n name: String,\n row: Boolean,\n // If no value set on VRadio\n // will match valueComparator\n // force default to null\n value: null as unknown as PropType,\n },\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input--selection-controls v-input--radio-group': true,\n 'v-input--radio-group--column': this.column && !this.row,\n 'v-input--radio-group--row': this.row,\n }\n },\n },\n\n methods: {\n genDefaultSlot () {\n return this.$createElement('div', {\n staticClass: 'v-input--radio-group__input',\n attrs: {\n id: this.id,\n role: 'radiogroup',\n 'aria-labelledby': this.computedId,\n },\n }, VInput.options.methods.genDefaultSlot.call(this))\n },\n genInputSlot () {\n const render = VInput.options.methods.genInputSlot.call(this)\n\n delete render.data!.on!.click\n\n return render\n },\n genLabel () {\n const label = VInput.options.methods.genLabel.call(this)\n\n if (!label) return null\n\n label.data!.attrs!.id = this.computedId\n // WAI considers this an orphaned label\n delete label.data!.attrs!.for\n label.tag = 'legend'\n\n return label\n },\n onClick: BaseItemGroup.options.methods.onClick,\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',[_c('v-col',{attrs:{\"md\":\"12\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\"Promoten items (gratis!)\")]),_c('v-card-text',[_vm._v(\" Het gratis Bedrijfsfitness Nederland promotiepakket bestaat uit; \"),_c('ul',[_c('li',[_vm._v(\"Posters (A3)\")]),_c('li',[_vm._v(\"Flyers (A5)\")]),_c('li',[_vm._v(\"Narrowcasting (aankondiging op tv-scherm)\")])])]),_c('v-card-text',[_c('h4',[_vm._v(\"Gezonde inspiratie\")]),_vm._v(\" Wil je maandelijks een gezonde dosis inspiratie in jouw mailbox ontvangen? Schrijf je dan in voor onze \"),_c('a',{attrs:{\"href\":\"https://www.bedrijfsfitnessnederland.nl/inspiratiemail\",\"target\":\"_blank\"}},[_vm._v(\"inspiratiemail\")]),_vm._v(\". \")]),_c('v-card-text',[_c('h4',[_vm._v(\"Preview posters/flyers\")]),_vm._v(\" De posters (A3) en flyers (A5) zijn zowel in het Nederlands als in het Engels verkrijgbaar. Je kan jouw voorkeur kenbaar maken via het bestelformulier. \")])],1)],1)],1),_c('v-row',[_c('v-col',{attrs:{\"md\":\"12\"}},[_c('v-card',{attrs:{\"height\":\"100%\"}},[_c('v-card-title',[_vm._v(\"Preview posters/flyers\")]),_c('v-container',{staticClass:\"preview-posters pt-0 ml-8\"},[_c('v-row',[_c('v-col',[_c('img',{attrs:{\"src\":\"images/banners/Flyerbedrijfsfitness-bootcamp.jpg\",\"alt\":\"\"}})]),_c('v-col',[_c('img',{attrs:{\"src\":\"images/banners/Flyerbedrijfsfitness-crossfit.jpg\",\"alt\":\"\"}})]),_c('v-col',[_c('img',{attrs:{\"src\":\"images/banners/Flyerbedrijfsfitness-yoga.jpg\",\"alt\":\"\"}})]),_c('v-col',[_c('img',{attrs:{\"src\":\"images/banners/Flyerbedrijfsfitness-zwemmen.jpg\",\"alt\":\"\"}})])],1),_c('v-row',[_c('v-col',[_c('img',{attrs:{\"src\":\"images/banners/Flyercompanyfitness-fitness.jpg\",\"alt\":\"\"}})]),_c('v-col',[_c('img',{attrs:{\"src\":\"images/banners/Flyercompanyfitness-running.jpg\",\"alt\":\"\"}})]),_c('v-col',[_c('img',{attrs:{\"src\":\"images/banners/Flyercompanyfitness-spinning.jpg\",\"alt\":\"\"}})]),_c('v-spacer')],1)],1)],1)],1)],1),_c('v-row',[_c('v-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('v-card',{attrs:{\"height\":\"100%\"}},[_c('v-card-title',[_vm._v(\"Bestelformulier posters/flyers\")]),_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_vm._v(\" Geef hieronder jouw bestelling voor posters en flyers door: \")])],1),_c('v-form',{staticClass:\"mt-4 form-box\",on:{\"submit\":function($event){$event.preventDefault();return _vm.onSentPromotionItemsForm()}},model:{value:(_vm.promoForm.isValid),callback:function ($$v) {_vm.$set(_vm.promoForm, \"isValid\", $$v)},expression:\"promoForm.isValid\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('b',[_vm._v(\"Adresgegevens verzending\")])])],1),_c('v-row',{staticClass:\"mt-2\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_vm._v(\"Organisatie:*\")]),_c('v-col',[_c('v-text-field',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"required\":\"\",\"rules\":[function (v) { return !!v || 'Organisatie is verplicht'; }],\"error-messages\":_vm.mapValidationErrors(\n _vm.promoForm.fields.project,\n 'Organisatie',\n {\n id: 'project',\n errors: _vm.promoForm.errors,\n }\n )},on:{\"input\":function($event){delete _vm.promoForm.errors['project']}},model:{value:(_vm.promoForm.fields.project),callback:function ($$v) {_vm.$set(_vm.promoForm.fields, \"project\", $$v)},expression:\"promoForm.fields.project\"}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_vm._v(\"Contactpersoon:*\")]),_c('v-col',[_c('v-text-field',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"required\":\"\",\"rules\":[function (v) { return !!v || 'Contactpersoon is verplicht'; }],\"error-messages\":_vm.mapValidationErrors(\n _vm.promoForm.fields.requesterName,\n 'Contactpersoon',\n {\n id: 'requesterName',\n errors: _vm.promoForm.errors,\n }\n )},on:{\"input\":function($event){delete _vm.promoForm.errors['requesterName']}},model:{value:(_vm.promoForm.fields.requesterName),callback:function ($$v) {_vm.$set(_vm.promoForm.fields, \"requesterName\", $$v)},expression:\"promoForm.fields.requesterName\"}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_vm._v(\"Postadres:*\")]),_c('v-col',[_c('v-text-field',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"required\":\"\",\"rules\":[function (v) { return !!v || 'Postadres is verplicht'; }],\"error-messages\":_vm.mapValidationErrors(\n _vm.promoForm.fields.address,\n 'Postadres',\n {\n id: 'address',\n errors: _vm.promoForm.errors,\n }\n )},on:{\"input\":function($event){delete _vm.promoForm.errors['address']}},model:{value:(_vm.promoForm.fields.address),callback:function ($$v) {_vm.$set(_vm.promoForm.fields, \"address\", $$v)},expression:\"promoForm.fields.address\"}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_vm._v(\"Postcode:*\")]),_c('v-col',[_c('v-text-field',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"required\":\"\",\"rules\":[function (v) { return !!v || 'Postcode is verplicht'; }],\"error-messages\":_vm.mapValidationErrors(\n _vm.promoForm.fields.postalCode,\n 'Postcode',\n {\n id: 'postalCode',\n errors: _vm.promoForm.errors,\n }\n )},on:{\"input\":function($event){delete _vm.promoForm.errors['postalCode']}},model:{value:(_vm.promoForm.fields.postalCode),callback:function ($$v) {_vm.$set(_vm.promoForm.fields, \"postalCode\", $$v)},expression:\"promoForm.fields.postalCode\"}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_vm._v(\"Plaats:*\")]),_c('v-col',[_c('v-text-field',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"required\":\"\",\"rules\":[function (v) { return !!v || 'Plaats is verplicht'; }],\"error-messages\":_vm.mapValidationErrors(_vm.promoForm.fields.city, 'Plaats', {\n id: 'city',\n errors: _vm.promoForm.errors,\n })},on:{\"input\":function($event){delete _vm.promoForm.errors['city']}},model:{value:(_vm.promoForm.fields.city),callback:function ($$v) {_vm.$set(_vm.promoForm.fields, \"city\", $$v)},expression:\"promoForm.fields.city\"}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_c('b',[_vm._v(\"Ik ontvang graag:\")])])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_vm._v(\"Aantal flyers (A5):*\")]),_c('v-col',[_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"mandatory\":\"\"},model:{value:(_vm.promoForm.fields.flyerAmount),callback:function ($$v) {_vm.$set(_vm.promoForm.fields, \"flyerAmount\", $$v)},expression:\"promoForm.fields.flyerAmount\"}},[_c('v-radio',{attrs:{\"value\":\"Amount20\",\"label\":\"20 stuks\"}}),_c('v-radio',{attrs:{\"value\":\"Amount50\",\"label\":\"50 stuks\"}}),_c('v-radio',{attrs:{\"value\":\"Amount100\",\"label\":\"100 stuks\"}}),_c('v-radio',{attrs:{\"value\":\"Amount200\",\"label\":\"200 stuks\"}}),_c('v-radio',{attrs:{\"value\":\"AmountNone\",\"label\":\"Geen\"}})],1)],1)],1),_c('v-row',{staticClass:\"mt-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-3\"},[_vm._v(\"Aantal posters (A3):\")]),_c('v-col',[_c('v-select',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"value\":_vm.posters[0],\"items\":_vm.posters,\"item-text\":\"label\",\"item-value\":\"value\"},on:{\"change\":function($event){_vm.promoForm.fields.posterAmount = $event}}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_vm._v(\"Opmerkingen:\")]),_c('v-col',[_c('v-textarea',{attrs:{\"dense\":\"\",\"outlined\":\"\"},model:{value:(_vm.promoForm.fields.remarks),callback:function ($$v) {_vm.$set(_vm.promoForm.fields, \"remarks\", $$v)},expression:\"promoForm.fields.remarks\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-btn',{staticClass:\"float-right\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"disabled\":!_vm.promoForm.isValid}},[_vm._v(\" Verzenden \")])],1)],1)],1)],1)],1)],1),_c('v-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('v-card',{attrs:{\"height\":\"100%\"}},[_c('v-card-title',[_vm._v(\" Aanvraag beeldscherm advertentie (narrowcasting) \")]),_c('v-card-text',{staticClass:\"pb-0\"},[_vm._v(\" Heb je tv-schermen hangen en wil je daar een bedrijfsfitness advertentie op laten zien? Vraag dan een narrowcastingbestand aan. \")]),_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-form',{ref:\"narrowCastForm\",staticClass:\"form-box\",on:{\"submit\":function($event){$event.preventDefault();return _vm.onSentNarrowcastingForm()}},model:{value:(_vm.narrowForm.isValid),callback:function ($$v) {_vm.$set(_vm.narrowForm, \"isValid\", $$v)},expression:\"narrowForm.isValid\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('b',[_vm._v(\"Aanvraag bestand tv-advertentie\")])])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_vm._v(\"Hoogte in pixels:*\")]),_c('v-col',[_c('v-text-field',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"placeholder\":\"1080\"},model:{value:(_vm.narrowForm.fields.height),callback:function ($$v) {_vm.$set(_vm.narrowForm.fields, \"height\", $$v)},expression:\"narrowForm.fields.height\"}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_vm._v(\"Breedte in pixels:*\")]),_c('v-col',[_c('v-text-field',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"placeholder\":\"1920\"},model:{value:(_vm.narrowForm.fields.width),callback:function ($$v) {_vm.$set(_vm.narrowForm.fields, \"width\", $$v)},expression:\"narrowForm.fields.width\"}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mb-6\"},[_c('i',[_vm._v(\" *Indien geen waarde ingevuld dan ontvang je het formaat: 1920x1080 px (bxh) \")])])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_vm._v(\"Keuze bestandstype\")]),_c('v-col',[_c('v-select',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"items\":_vm.fileOutput,\"value\":_vm.fileOutput[0]},on:{\"change\":function($event){_vm.narrowForm.fields.fileType = $event}}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-0\"},[_vm._v(\"Upload logo:*\")]),_c('v-col',[_c('file-pond',{ref:\"pond\",attrs:{\"name\":\"filePond\",\"max-files\":\"1\",\"acceptedFileTypes\":_vm.filePond.acceptedFileTypes,\"label-idle\":_vm.$t(\"promotion.promotion-file\"),\"server\":_vm.filePond.server,\"credits\":\"false\",\"allowPaste\":\"false\",\"beforeAddFile\":_vm.filePond.beforeAddFile,\"beforeRemoveFile\":_vm.filePond.beforeRemoveNarrowCastFile,\"maxFileSize\":\"5MB\",\"labelMaxFileSizeExceeded\":\"Het bestand is te groot\",\"labelMaxFileSize\":\"Maximale bestandsgrootte is {filesize}\",\"labelFileProcessingError\":\"Er gaat iets fout\",\"labelTapToRetry\":\"Klik om het opnieuw te proberen\",\"labelTapToCancel\":\"Klik hier om te annuleren\",\"labelFileProcessing\":\"Uploaden\",\"labelInvalidField\":\"Het bestandstype dat je hebt geselecteerd kan niet geüpload worden\",\"labelFileWaitingForSize\":\"Wachten op bestandsgrootte\",\"labelFileSizeNotAvailable\":\"Bestandsgrootte niet beschikbaar\",\"labelFileLoading\":\"Laden\",\"labelFileLoadError\":\"Er is een fout opgetreden bij het laden\",\"labelFileProcessingComplete\":\"Het bestand is geüpload\",\"labelFileProcessingAborted\":\"Het uploaden in geannuleerd\",\"labelFileProcessingRevertError\":\"Het terugdraaien is niet gelukt\",\"labelFileRemoveError\":\"Er is een fout opgetreden tijdens het verwijderen van het bestand\",\"labelTapToUndo\":\"Klik hier om ongedaan te maken\",\"labelButtonRemoveItem\":\"Verwijderen\",\"labelButtonAbortItemLoad\":\"Afbreken\",\"labelButtonRetryItemLoad\":\"Opnieuw proberen\",\"labelButtonAbortItemProcessing\":\"Annuleren\",\"labelButtonUndoItemProcessing\":\"Ongerdaan maken\",\"labelButtonRetryItemProcessing\":\"Opnieuw proberen\",\"labelButtonProcessItem\":\"Uploaden\",\"labelFileTypeNotAllowed\":\"Het bestandstype dat je hebt geselecteerd kan niet geüpload worden\",\"fileValidateTypeLabelExpectedTypes\":\"Je kunt alleen afbeeldingen uploaden\"},on:{\"processfile\":_vm.filePond.processNarrowCast}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"mt-2\"},[_vm._v(\"Bestand mailen naar:*\")]),_c('v-col',[_c('v-text-field',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"placeholder\":\"E-mailadres\",\"required\":\"\",\"rules\":[function (v) { return !!v || 'E-mailadres is verplicht'; }],\"error-messages\":_vm.mapValidationErrors(\n _vm.narrowForm.fields.sendFileTo,\n 'E-mailadres',\n {\n id: 'sendFileTo',\n errors: _vm.narrowForm.errors,\n }\n )},on:{\"input\":function($event){delete _vm.narrowForm.errors['sendFileTo']}},model:{value:(_vm.narrowForm.fields.sendFileTo),callback:function ($$v) {_vm.$set(_vm.narrowForm.fields, \"sendFileTo\", $$v)},expression:\"narrowForm.fields.sendFileTo\"}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_vm._v(\"Opmerkingen:\")]),_c('v-col',[_c('v-textarea',{attrs:{\"dense\":\"\",\"outlined\":\"\"},model:{value:(_vm.narrowForm.fields.remarks),callback:function ($$v) {_vm.$set(_vm.narrowForm.fields, \"remarks\", $$v)},expression:\"narrowForm.fields.remarks\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-btn',{staticClass:\"float-right\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"disabled\":!_vm.narrowForm.fields.logoGUID || !_vm.narrowForm.isValid}},[_vm._v(\" Verzenden \")])],1)],1)],1)],1)],1)],1)],1),_c('v-card',[_c('v-card-text',[_vm._v(\" Heb je andere, specifieke wensen? Neem gerust contact op met jouw contactpersoon of de afdeling Marketing, via 0513 - 63 31 11 of \"),_c('a',{attrs:{\"href\":\"mailto:marketing@bfnl\"}},[_vm._v(\"marketing@bfnl\")]),_vm._v(\". \")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n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yerAmount,\r\n PosterAmount,\r\n ProjectDto,\r\n} from \"@/api\";\r\n\r\nimport vueFilePond from \"vue-filepond\";\r\nimport \"filepond/dist/filepond.min.css\";\r\nimport \"filepond-plugin-image-preview/dist/filepond-plugin-image-preview.min.css\";\r\n\r\nimport { mapValidationErrors } from \"@/util/Forms\";\r\n\r\nimport {\r\n FilePondErrorDescription,\r\n FilePondFile,\r\n registerPlugin as filePondRegisterPlugin,\r\n} from \"filepond\";\r\nimport FilePondPluginFileValidateType from \"filepond-plugin-file-validate-type\";\r\nimport FilePondPluginFileValidateSize from \"filepond-plugin-file-validate-size\";\r\nimport i18n from \"@/i18n\";\r\nimport Store from \"@/store\";\r\n\r\nconst FilePond = vueFilePond();\r\nfilePondRegisterPlugin(FilePondPluginFileValidateType);\r\nfilePondRegisterPlugin(FilePondPluginFileValidateSize);\r\n\r\ninterface PromotionForm {\r\n errors: {};\r\n fields: {\r\n project: string | undefined | null;\r\n requesterName: string | undefined;\r\n address: string | undefined;\r\n city: string | undefined;\r\n postalCode: string | undefined;\r\n flyerAmount: FlyerAmount;\r\n posterAmount: PosterAmount;\r\n remarks: string | undefined;\r\n };\r\n isValid: boolean;\r\n}\r\n\r\ninterface NarrowcastingForm {\r\n errors: {};\r\n fields: {\r\n height: string | undefined;\r\n width: string | undefined;\r\n fileType: string | undefined;\r\n logoGUID: string | undefined;\r\n sendFileTo: string | undefined;\r\n remarks: string | undefined;\r\n };\r\n isValid: boolean;\r\n}\r\n\r\ninterface User {\r\n emailAddress: string | undefined;\r\n properties: {\r\n firstName: string | undefined;\r\n middleName: string | undefined;\r\n lastName: string | undefined;\r\n };\r\n fullName: string | undefined;\r\n}\r\n\r\ninterface PosterCount {\r\n label: string;\r\n value: PosterAmount;\r\n}\r\n\r\nexport default defineComponent({\r\n name: \"PromotionMaterial\",\r\n components: {\r\n FilePond,\r\n },\r\n setup(props, vm) {\r\n const api = new PromotionItemApi();\r\n\r\n const selectedProject = computed(\r\n () => Store.getters[\"User/getSelectedProject\"]\r\n );\r\n\r\n const posters = ref([\r\n {\r\n label: \"geen\",\r\n value: PosterAmount.AmountNone,\r\n },\r\n {\r\n label: \"1\",\r\n value: PosterAmount.Amount1,\r\n },\r\n {\r\n label: \"2\",\r\n value: PosterAmount.Amount2,\r\n },\r\n {\r\n label: \"3\",\r\n value: PosterAmount.Amount3,\r\n },\r\n {\r\n label: \"4\",\r\n value: PosterAmount.Amount4,\r\n },\r\n {\r\n label: \"5\",\r\n value: PosterAmount.Amount5,\r\n },\r\n ]);\r\n const fileOutput = ref([\r\n FileType.Jpg,\r\n FileType.Png,\r\n FileType.Pdf,\r\n ]);\r\n const saving = ref(false);\r\n const user: Ref = ref({\r\n emailAddress: \"\",\r\n properties: {\r\n FirstName: \"\",\r\n MiddleName: \"\",\r\n LastName: \"\",\r\n },\r\n fullName: \"\",\r\n });\r\n\r\n const promoForm: PromotionForm = reactive({\r\n errors: {},\r\n isValid: false,\r\n fields: {\r\n project: ref(\"\"),\r\n requesterName: ref(\"\"),\r\n address: ref(\"\"),\r\n city: ref(\"\"),\r\n postalCode: ref(\"\"),\r\n flyerAmount: ref(FlyerAmount.Amount50),\r\n posterAmount: ref(PosterAmount.AmountNone),\r\n remarks: ref(\"\"),\r\n },\r\n });\r\n\r\n const narrowForm: NarrowcastingForm = reactive({\r\n errors: {},\r\n isValid: false,\r\n fields: {\r\n height: ref(\"\"),\r\n width: ref(\"\"),\r\n fileType: ref(\"\"),\r\n logoGUID: ref(\"\"),\r\n sendFileTo: ref(\"\"),\r\n remarks: ref(\"\"),\r\n },\r\n });\r\n\r\n function handleUploadError(error: FilePondErrorDescription) {\r\n let snackbarError = i18n.t(\"promotion.logo-upload-error\");\r\n if (error.code === 415 || error.code === 422) {\r\n snackbarError = i18n\r\n .t(\"generic.upload-unsupported-media-type\")\r\n .toString();\r\n } else if (error.code === 413) {\r\n snackbarError = i18n.t(\"generic.upload-payload-too-large\").toString();\r\n } else if (error.body) {\r\n snackbarError = error.body;\r\n }\r\n\r\n vm.root.$emit(\"snackbar\", snackbarError, \"error\");\r\n }\r\n\r\n const filePond = ref({\r\n files: [],\r\n server: {\r\n url: process.env.VUE_APP_API,\r\n headers: {\r\n get Authorization() {\r\n return `bearer ${vm.root.$store.getters[\"Auth/getAuthorizationTokens\"].accessToken}`;\r\n },\r\n },\r\n process: {\r\n url: \"employerportal/Upload/Upload\",\r\n },\r\n revert: {\r\n url: \"employerportal/Upload/Delete\",\r\n method: \"POST\",\r\n },\r\n },\r\n beforeAddFile: async () => {\r\n // Since we do not use Axios / TresPortalBaseAxiosHelper, we must ensure the tokens are still valid by forcing a refresh.\r\n const authApi = new AuthenticationApi();\r\n const tokens = vm.root.$store.getters[\"Auth/getAuthorizationTokens\"];\r\n const { data } = await authApi.authenticationRefreshAccessToken(tokens);\r\n vm.root.$store.dispatch(\"Auth/refresh\", data);\r\n return true;\r\n },\r\n processNarrowCast: (\r\n error: FilePondErrorDescription,\r\n file: FilePondFile\r\n ) => {\r\n if (error) {\r\n handleUploadError(error);\r\n } else {\r\n narrowForm.fields.logoGUID = file.serverId;\r\n }\r\n },\r\n });\r\n\r\n async function onSentPromotionItemsForm() {\r\n api\r\n .promotionItemSendPostersFlyersForm({\r\n project: promoForm.fields.project || \"\",\r\n requesterName: promoForm.fields.requesterName || \"\",\r\n address: promoForm.fields.address || \"\",\r\n postalCode: promoForm.fields.postalCode || \"\",\r\n city: promoForm.fields.city || \"\",\r\n flyerAmount: promoForm.fields.flyerAmount,\r\n posterAmount: promoForm.fields.posterAmount,\r\n remarks: promoForm.fields.remarks,\r\n })\r\n .then(() => {\r\n vm.root.$emit(\r\n \"snackbar\",\r\n i18n.t(\"promotion.promo-form-success\").toString()\r\n );\r\n })\r\n .catch((err) => {\r\n vm.root.$emit(\r\n \"snackbar\",\r\n i18n.t(\"promotion.promo-form-failed\").toString(),\r\n \"error\"\r\n );\r\n promoForm.errors = err.response.data.errors;\r\n });\r\n }\r\n\r\n async function onSentNarrowcastingForm() {\r\n await api\r\n .promotionItemSendNarrowcastForm({\r\n fileType:\r\n (narrowForm.fields.fileType as FileType) || fileOutput.value[0],\r\n fileId: narrowForm.fields.logoGUID || \"\",\r\n sendFileTo: narrowForm.fields.sendFileTo || \"\",\r\n height: parseInt(narrowForm.fields.height || \"\", 10) || 1080,\r\n width: parseInt(narrowForm.fields.width || \"\", 10) || 1920,\r\n remarks: narrowForm.fields.remarks,\r\n })\r\n .then(() => {\r\n vm.root.$emit(\r\n \"snackbar\",\r\n i18n.t(\"promotion.promo-form-success\").toString()\r\n );\r\n })\r\n .catch((err) => {\r\n vm.root.$emit(\r\n \"snackbar\",\r\n i18n.t(\"promotion.narrowcast-form-failed\").toString(),\r\n \"error\"\r\n );\r\n narrowForm.errors = err.response.data.errors;\r\n });\r\n }\r\n\r\n onMounted(() => {\r\n user.value = Store.getters[\"User/getUser\"];\r\n let fullName = \"\";\r\n if (user.value.properties.firstName && user.value.properties.lastName) {\r\n fullName = `${user.value.properties.firstName} ${user.value.properties.lastName}`;\r\n if (user.value.properties.middleName) {\r\n fullName = `${user.value.properties.firstName} ${user.value.properties.middleName} ${user.value.properties.lastName}`;\r\n }\r\n }\r\n user.value = {\r\n ...user.value,\r\n fullName,\r\n };\r\n // Fill model values based on Store values\r\n // Promotion items form\r\n promoForm.fields.requesterName = user.value.fullName;\r\n promoForm.fields.project = selectedProject.value?.name;\r\n // Narrowcast form\r\n narrowForm.fields.sendFileTo = user.value.emailAddress;\r\n });\r\n\r\n watch(selectedProject, () => {\r\n promoForm.fields.project = selectedProject.value?.name;\r\n });\r\n\r\n return {\r\n filePond,\r\n fileOutput,\r\n posters,\r\n saving,\r\n onSentPromotionItemsForm,\r\n onSentNarrowcastingForm,\r\n promoForm,\r\n narrowForm,\r\n user,\r\n mapValidationErrors,\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/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PromotionMaterial.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PromotionMaterial.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PromotionMaterial.vue?vue&type=template&id=6b9b1ca1&scoped=true&\"\nimport script from \"./PromotionMaterial.vue?vue&type=script&lang=ts&\"\nexport * from \"./PromotionMaterial.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PromotionMaterial.vue?vue&type=style&index=0&id=6b9b1ca1&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 \"6b9b1ca1\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRadio } from 'vuetify/lib/components/VRadioGroup';\nimport { VRadioGroup } from 'vuetify/lib/components/VRadioGroup';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VCol,VContainer,VForm,VRadio,VRadioGroup,VRow,VSelect,VSpacer,VTextField,VTextarea})\n","// Styles\nimport './VRadio.sass'\n\n// Components\nimport VRadioGroup from './VRadioGroup'\nimport VLabel from '../VLabel'\nimport VIcon from '../VIcon'\nimport VInput from '../VInput'\n\n// Mixins\nimport BindsAttrs from '../../mixins/binds-attrs'\nimport Colorable from '../../mixins/colorable'\nimport { factory as GroupableFactory } from '../../mixins/groupable'\nimport Rippleable from '../../mixins/rippleable'\nimport Themeable from '../../mixins/themeable'\nimport Selectable from '../../mixins/selectable'\n\n// Utilities\nimport { getSlot } from '../../util/helpers'\n\n// Types\nimport { VNode, VNodeData } from 'vue'\nimport mixins from '../../util/mixins'\n\nconst baseMixins = mixins(\n BindsAttrs,\n Colorable,\n Rippleable,\n GroupableFactory('radioGroup'),\n Themeable\n)\n\ninterface options extends InstanceType {\n radioGroup: InstanceType\n}\n\n/* @vue/component */\nexport default baseMixins.extend().extend({\n name: 'v-radio',\n\n inheritAttrs: false,\n\n props: {\n disabled: Boolean,\n id: String,\n label: String,\n name: String,\n offIcon: {\n type: String,\n default: '$radioOff',\n },\n onIcon: {\n type: String,\n default: '$radioOn',\n },\n readonly: Boolean,\n value: {\n default: null,\n },\n },\n\n data: () => ({\n isFocused: false,\n }),\n\n computed: {\n classes (): object {\n return {\n 'v-radio--is-disabled': this.isDisabled,\n 'v-radio--is-focused': this.isFocused,\n ...this.themeClasses,\n ...this.groupClasses,\n }\n },\n computedColor (): string | undefined {\n return Selectable.options.computed.computedColor.call(this)\n },\n computedIcon (): string {\n return this.isActive\n ? this.onIcon\n : this.offIcon\n },\n computedId (): string {\n return VInput.options.computed.computedId.call(this)\n },\n hasLabel: VInput.options.computed.hasLabel,\n hasState (): boolean {\n return (this.radioGroup || {}).hasState\n },\n isDisabled (): boolean {\n return this.disabled || (\n !!this.radioGroup &&\n this.radioGroup.isDisabled\n )\n },\n isReadonly (): boolean {\n return this.readonly || (\n !!this.radioGroup &&\n this.radioGroup.isReadonly\n )\n },\n computedName (): string {\n if (this.name || !this.radioGroup) {\n return this.name\n }\n\n return this.radioGroup.name || `radio-${this.radioGroup._uid}`\n },\n rippleState (): string | undefined {\n return Selectable.options.computed.rippleState.call(this)\n },\n validationState (): string | undefined {\n return (this.radioGroup || {}).validationState || this.computedColor\n },\n },\n\n methods: {\n genInput (args: any) {\n // We can't actually use the mixin directly because\n // it's made for standalone components, but its\n // genInput method is exactly what we need\n return Selectable.options.methods.genInput.call(this, 'radio', args)\n },\n genLabel () {\n if (!this.hasLabel) return null\n\n return this.$createElement(VLabel, {\n on: {\n click: (e: Event) => {\n // Prevent label from\n // causing the input\n // to focus\n e.preventDefault()\n\n this.onChange()\n },\n },\n attrs: {\n for: this.computedId,\n },\n props: {\n color: this.validationState,\n focused: this.hasState,\n },\n }, getSlot(this, 'label') || this.label)\n },\n genRadio () {\n return this.$createElement('div', {\n staticClass: 'v-input--selection-controls__input',\n }, [\n this.$createElement(VIcon, this.setTextColor(this.validationState, {\n props: {\n dense: this.radioGroup && this.radioGroup.dense,\n },\n }), this.computedIcon),\n this.genInput({\n name: this.computedName,\n value: this.value,\n ...this.attrs$,\n }),\n this.genRipple(this.setTextColor(this.rippleState)),\n ])\n },\n onFocus (e: Event) {\n this.isFocused = true\n this.$emit('focus', e)\n },\n onBlur (e: Event) {\n this.isFocused = false\n this.$emit('blur', e)\n },\n onChange () {\n if (this.isDisabled || this.isReadonly || this.isActive) return\n\n this.toggle()\n },\n onKeydown: () => {}, // Override default with noop\n },\n\n render (h): VNode {\n const data = {\n staticClass: 'v-radio',\n class: this.classes,\n } as VNodeData\n\n return h('div', data, [\n this.genRadio(),\n this.genLabel(),\n ])\n },\n})\n","// Styles\nimport './VTextarea.sass'\n\n// Extensions\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport Vue from 'vue'\n\ninterface options extends Vue {\n $refs: {\n input: HTMLTextAreaElement\n }\n}\n\nconst baseMixins = mixins\n>(\n VTextField\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-textarea',\n\n props: {\n autoGrow: Boolean,\n noResize: Boolean,\n rowHeight: {\n type: [Number, String],\n default: 24,\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n rows: {\n type: [Number, String],\n default: 5,\n validator: (v: any) => !isNaN(parseInt(v, 10)),\n },\n },\n\n computed: {\n classes (): object {\n return {\n 'v-textarea': true,\n 'v-textarea--auto-grow': this.autoGrow,\n 'v-textarea--no-resize': this.noResizeHandle,\n ...VTextField.options.computed.classes.call(this),\n }\n },\n noResizeHandle (): boolean {\n return this.noResize || this.autoGrow\n },\n },\n\n watch: {\n lazyValue () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n rowHeight () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n },\n\n mounted () {\n setTimeout(() => {\n this.autoGrow && this.calculateInputHeight()\n }, 0)\n },\n\n methods: {\n calculateInputHeight () {\n const input = this.$refs.input\n if (!input) return\n\n input.style.height = '0'\n const height = input.scrollHeight\n const minHeight = parseInt(this.rows, 10) * parseFloat(this.rowHeight)\n // This has to be done ASAP, waiting for Vue\n // to update the DOM causes ugly layout jumping\n input.style.height = Math.max(minHeight, height) + 'px'\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.tag = 'textarea'\n delete input.data!.attrs!.type\n input.data!.attrs!.rows = this.rows\n\n return input\n },\n onInput (e: Event) {\n VTextField.options.methods.onInput.call(this, e)\n this.autoGrow && this.calculateInputHeight()\n },\n onKeyDown (e: KeyboardEvent) {\n // Prevents closing of a\n // dialog when pressing\n // enter\n if (this.isFocused && e.keyCode === 13) {\n e.stopPropagation()\n }\n\n this.$emit('keydown', e)\n },\n },\n})\n"],"sourceRoot":""}