text: (window.webpackJsonp=window.webpackJsonp||[]).push([[100],{1597:function(e,t,n){"use strict";n.r(t);var a=n(24),r=n.n(a),o=n(25),i=n.n(o),s=n(26),c=n.n(s),l=n(27),u=n.n(l),m=n(16),p=n.n(m),d=n(0),f=n.n(d),g=n(31),b=n(201),E=n(743),h=n(22),v=n.n(h),y=n(6),N=n.n(y),O=n(4),C=n(7),A=n.n(C),D=n(110),I=n(709),S=n(749),R=n(705),k=n(706);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){N()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=p()(e);if(t){var r=p()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return u()(this,n)}}A.a.locale("nl");var _=function(e){c()(n,e);var t=w(n);function n(e){var a;return r()(this,n),a=t.call(this,e),N()(v()(a),"handleInputChange",(function(e){var t=e.target,n="checkbox"===t.type?t.checked:t.value,r=t.name;a.setState(T(T({},a.state),{},{intake:T(T({},a.state.intake),{},N()({},r,n))}))})),N()(v()(a),"handleSourceIds",(function(e){a.setState(T(T({},a.state),{},{intake:T(T({},a.state.intake),{},{sourceIds:e})}))})),N()(v()(a),"handleIntakeReasonsIds",(function(e){a.setState(T(T({},a.state),{},{intake:T(T({},a.state.intake),{},{intakeReasonIds:e})}))})),N()(v()(a),"handleSubmit",(function(e){e.preventDefault();var t=a.state.intake;t.intakeReasonIds.length>0&&(t.intakeReasonIds=t.intakeReasonIds.split(",")),t.sourceIds.length>0&&(t.sourceIds=t.sourceIds.split(",")),D.a.newIntake(t).then((function(e){O.f.push("/intake/".concat(e.data.id))}))})),a.state={intake:{contactId:e.contactId,addressId:e.addressId,campaignId:e.campaigns[0].id,statusId:"1",sourceIds:"",intakeReasonIds:"",note:""}},a}return i()(n,[{key:"render",value:function(){var e=this.state.intake,t=e.addressId,n=e.statusId,a=e.sourceIds,r=e.campaignId,o=e.intakeReasonIds,i=e.note,s=this.props.contactDetails,c=s.addresses,l=void 0===c?[]:c,u=s.fullName;return f.a.createElement("form",{className:"form-horizontal",onSubmit:this.handleSubmit},f.a.createElement("div",{className:"row"},f.a.createElement(k.a,{name:"contact",label:"Contact",value:u,readOnly:!0}),f.a.createElement("div",{className:"form-group col-sm-6"},f.a.createElement("label",{htmlFor:"addressId",className:"col-sm-6"},"Adres"),f.a.createElement("div",{className:"col-sm-6"},f.a.createElement("select",{className:"form-control input-sm",id:"addressId",name:"addressId",value:t,onChange:this.handleInputChange},l.map((function(e,t){return f.a.createElement("option",{key:t,value:e.id},e.street+" "+e.number+(e.addition?"-"+e.addition:"")+", "+e.city)})))))),f.a.createElement("div",{className:"row"},f.a.createElement(I.a,{label:"Campagne",name:"campaignId",value:r,options:this.props.campaigns,onChangeAction:this.handleInputChange,required:!0,emptyOption:!1}),f.a.createElement(I.a,{label:"Status",size:"col-sm-6",name:"statusId",value:n,options:this.props.intakeStatuses,onChangeAction:this.handleInputChange})),f.a.createElement("div",{className:"row"},f.a.createElement(S.a,{label:"Aanmeldingsbron",name:"sourceIds",value:a,options:this.props.intakeSources.sort((function(e,t){var n=e.name.toLowerCase(),a=t.name.toLowerCase(),r=0;return n>a?r=1:n<a&&(r=-1),r})),onChangeAction:this.handleSourceIds}),f.a.createElement(S.a,{label:"Wat is belangrijk",name:"intakeReasonIds",value:o,options:this.props.intakeReasons,onChangeAction:this.handleIntakeReasonsIds})),f.a.createElement("div",{className:"row"},f.a.createElement("div",{className:"form-group col-sm-12"},f.a.createElement("div",{className:"row"},f.a.createElement("div",{className:"col-sm-3"},f.a.createElement("label",{htmlFor:"note",className:"col-sm-12"},"Opmerking van bewoner")),f.a.createElement("div",{className:"col-sm-8"},f.a.createElement("textarea",{name:"note",value:i,onChange:this.handleInputChange,className:"form-control input-sm"}))))),f.a.createElement("div",{className:"panel-footer"},f.a.createElement("div",{className:"pull-right btn-group",role:"group"},f.a.createElement(R.a,{buttonText:"Opslaan",onClickAction:this.handleSubmit}))))}}]),n}(d.Component),j=Object(g.b)((function(e){return{intakeStatuses:e.systemData.intakeStatuses,intakeSources:e.systemData.intakeSources,intakeReasons:e.systemData.intakeReasons,campaigns:e.systemData.campaigns,buildingTypes:e.systemData.buildingTypes,contactDetails:e.contactDetails}}),null)(_),L=n(702),M=n(703),x=function(e){return f.a.createElement("div",null,f.a.createElement(L.a,null,f.a.createElement(M.a,null,f.a.createElement(j,{contactId:e.contactId,addressId:e.addressId}))))},U=n(704),q=function(e){return f.a.createElement("div",{className:"row"},f.a.createElement("div",{className:"col-md-4"},f.a.createElement("div",{className:"btn-group",role:"group"},f.a.createElement(U.a,{iconName:"glyphicon-arrow-left",onClickAction:O.e.goBack}))),f.a.createElement("div",{className:"col-md-4"},f.a.createElement("h4",{className:"text-center"},"Nieuwe intake")),f.a.createElement("div",{className:"col-md-4"}))};function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=p()(e);if(t){var r=p()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return u()(this,n)}}var B=function(e){c()(n,e);var t=z(n);function n(e){return r()(this,n),t.call(this,e)}return i()(n,[{key:"componentDidMount",value:function(){Object(b.isEmpty)(this.props.contactDetails)&&this.props.fetchContactDetails(this.props.params.contactId)}},{key:"render",value:function(){return f.a.createElement("div",{className:"row"},f.a.createElement("div",{className:"col-md-9"},f.a.createElement("div",{className:"col-md-12 margin-10-top"},f.a.createElement(q,{contactId:this.props.params.contactId})),f.a.createElement("div",{className:"col-md-12 margin-10-top"},f.a.createElement(x,{contactId:this.props.params.contactId,addressId:this.props.params.addressId}))),f.a.createElement("div",{className:"col-md-3"}))}}]),n}(d.Component);t.default=Object(g.b)((function(e){return{contactDetails:e.contactDetails}}),(function(e){return{fetchContactDetails:function(t){e(Object(E.h)(t))}}}))(B)},702:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(8),i=n.n(o),s=function(e){var t=e.children,n=e.className,a=e.onMouseEnter,o=e.onMouseLeave;return r.a.createElement("div",{className:"panel panel-default ".concat(n),onMouseEnter:a,onMouseLeave:o},t)};s.defaultProps={className:"",onMouseEnter:function(){},onMouseLeave:function(){}},s.propTypes={className:i.a.string,onMouseEnter:i.a.func,onMouseLeave:i.a.func},t.a=s},703:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(8),i=n.n(o),s=function(e){var t=e.className,n=e.children;return r.a.createElement("div",{className:"panel-body ".concat(t)},n)};s.defaultProps={className:""},s.propTypes={className:i.a.string},t.a=s},704:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(8),i=n.n(o),s=function(e){var t=e.buttonClassName,n=e.iconName,a=e.onClickAction,o=e.title,i=e.disabled;return r.a.createElement("button",{type:"button",className:"btn ".concat(t),onClick:a,disabled:i,title:o},r.a.createElement("span",{className:"glyphicon ".concat(n)}))};s.defaultProps={buttonClassName:"btn-success btn-sm",title:"",disabled:!1},s.propTypes={buttonClassName:i.a.string,iconName:i.a.string.isRequired,onClickAction:i.a.func,title:i.a.string,disabled:i.a.bool},t.a=s},705:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(8),i=n.n(o),s=function(e){var t=e.buttonClassName,n=e.buttonText,a=e.onClickAction,o=e.type,i=e.value,s=e.loading,c=e.loadText,l=e.disabled;return s?r.a.createElement("button",{type:o,className:"btn btn-sm btn-loading ".concat(t),value:i,disabled:s},r.a.createElement("span",{className:"glyphicon glyphicon-refresh glyphicon-refresh-animate"})," ",c):r.a.createElement("button",{type:o,className:"btn btn-sm ".concat(t),onClick:a,value:i,disabled:l},n)};s.defaultProps={buttonClassName:"btn-success",type:"button",value:"",loading:!1,loadText:"Aan het laden",disabled:!1},s.propTypes={buttonClassName:i.a.string,buttonText:i.a.string.isRequired,onClickAction:i.a.func,type:i.a.string,value:i.a.string,loading:i.a.bool,loadText:i.a.string,disabled:i.a.bool},t.a=s},706:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(8),i=n.n(o),s=function(e){var t=e.label,n=e.type,a=e.className,o=e.size,i=e.id,s=e.placeholder,c=e.name,l=e.value,u=e.onClickAction,m=e.onChangeAction,p=e.onBlurAction,d=e.required,f=e.readOnly,g=e.maxLength,b=e.error,E=e.min,h=e.max,v=e.step,y=e.errorMessage,N=e.divSize,O=e.divClassName,C=e.autoComplete;return r.a.createElement("div",{className:"form-group ".concat(N," ").concat(O)},r.a.createElement("label",{htmlFor:i,className:"col-sm-6 ".concat(d)},t),r.a.createElement("div",{className:"".concat(o)},r.a.createElement("input",{type:n,className:"form-control input-sm ".concat(a)+(b?"has-error":""),id:i,placeholder:s,name:c,value:l||"",onClick:u,onChange:m,onBlur:p,readOnly:f,maxLength:g,min:E,max:h,autoComplete:C,step:v})),b&&r.a.createElement("div",{className:"col-sm-offset-6 col-sm-6"},r.a.createElement("span",{className:"has-error-message"}," ",y)))};s.defaultProps={divClassName:"",className:"",size:"col-sm-6",divSize:"col-sm-6",name:"",type:"text",value:"",required:"",readOnly:!1,maxLength:null,error:!1,min:"",max:"",step:"",errorMessage:"",autoComplete:"off",onBlurAction:function(){},onClickAction:function(){},onChangeAction:function(){}},s.propTypes={label:i.a.oneOfType([i.a.string,i.a.object]).isRequired,type:i.a.string,className:i.a.string,divClassName:i.a.string,size:i.a.string,divSize:i.a.string,id:i.a.string,placeholder:i.a.string,name:i.a.string.isRequired,value:i.a.oneOfType([i.a.string,i.a.number]),onClickAction:i.a.func,onChangeAction:i.a.func,onBlurAction:i.a.func,required:i.a.string,readOnly:i.a.bool,maxLength:i.a.string,error:i.a.bool,min:i.a.string,max:i.a.string,step:i.a.string,errorMessage:i.a.string,autoComplete:i.a.string},t.a=s},709:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(8),i=n.n(o),s=function(e){var t=e.label,n=e.className,a=e.size,o=e.id,i=e.name,s=e.value,c=e.options,l=e.onChangeAction,u=e.onBlurAction,m=e.required,p=e.error,d=e.errorMessage,f=e.optionValue,g=e.optionName,b=e.readOnly,E=e.placeholder,h=e.divClassName,v=e.emptyOption;return r.a.createElement("div",{className:"form-group ".concat(a," ").concat(h)},r.a.createElement("label",{htmlFor:o,className:"col-sm-6 ".concat(m)},t),r.a.createElement("div",{className:"col-sm-6"},r.a.createElement("select",{className:"form-control input-sm ".concat(n)+(p&&" has-error"),id:o,name:i,value:s||"",onChange:l,onBlur:u,readOnly:b},v&&r.a.createElement("option",{value:""},E),c.map((function(e){return r.a.createElement("option",{key:e[f],value:e[f]},e[g])})))),p&&r.a.createElement("div",{className:"col-sm-offset-6 col-sm-6"},r.a.createElement("span",{className:"has-error-message"}," ",d)))};s.defaultProps={divClassName:"",className:"",size:"col-sm-6",readOnly:!1,required:"",error:!1,errorMessage:"",value:"",optionValue:"id",optionName:"name",placeholder:"",emptyOption:!0},s.propTypes={label:i.a.string.isRequired,className:i.a.string,size:i.a.string,id:i.a.string,name:i.a.string.isRequired,options:i.a.array,value:i.a.oneOfType([i.a.string,i.a.number]),onChangeAction:i.a.func,onBlurAction:i.a.func,required:i.a.string,readOnly:i.a.bool,error:i.a.bool,errorMessage:i.a.string,emptyOption:i.a.bool,optionValue:i.a.string,optionName:i.a.string,placeholder:i.a.string},t.a=s},743:function(e,t,n){"use strict";n.d(t,"h",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"w",(function(){return o})),n.d(t,"v",(function(){return i})),n.d(t,"y",(function(){return s})),n.d(t,"g",(function(){return c})),n.d(t,"i",(function(){return l})),n.d(t,"q",(function(){return u})),n.d(t,"a",(function(){return m})),n.d(t,"m",(function(){return p})),n.d(t,"x",(function(){return d})),n.d(t,"f",(function(){return f})),n.d(t,"k",(function(){return g})),n.d(t,"t",(function(){return b})),n.d(t,"d",(function(){return E})),n.d(t,"l",(function(){return h})),n.d(t,"u",(function(){return v})),n.d(t,"e",(function(){return y})),n.d(t,"n",(function(){return N})),n.d(t,"p",(function(){return O})),n.d(t,"o",(function(){return C})),n.d(t,"j",(function(){return A})),n.d(t,"r",(function(){return D})),n.d(t,"c",(function(){return I})),n.d(t,"s",(function(){return S}));var a=function(e){return{type:"FETCH_CONTACT_DETAILS",payload:e}},r=function(e){return{type:"DELETE_CONTACT",id:e}},o=function(e){return{type:"UPDATE_PERSON",contactDetails:e}},i=function(e){return{type:"UPDATE_ORGANISATION",contactDetails:e}},s=function(e){return{type:"UPDATE_PORTAL_USER",portalUser:e}},c=function(e){return{type:"DELETE_PORTAL_USER",id:e}},l=function(e){return{type:"NEW_ADDRESS",address:e}},u=function(e){return{type:"UPDATE_ADDRESS",address:e}},m=function(e){return{type:"DELETE_ADDRESS",id:e}},p=function(e){return{type:"NEW_PHONE_NUMBER",phoneNumber:e}},d=function(e){return{type:"UPDATE_PHONE_NUMBER",phoneNumber:e}},f=function(e){return{type:"DELETE_PHONE_NUMBER",id:e}},g=function(e){return{type:"NEW_EMAIL_ADDRESS",emailAddress:e}},b=function(e){return{type:"UPDATE_EMAIL_ADDRESS",emailAddress:e}},E=function(e){return{type:"DELETE_EMAIL_ADDRESS",id:e}},h=function(e){return{type:"NEW_CONTACT_NOTE",note:e}},v=function(e){return{type:"UPDATE_CONTACT_NOTE",note:e}},y=function(e){return{type:"DELETE_CONTACT_NOTE",id:e}},N=function(){return{type:"UNSET_PRIMARY_ADDRESSES"}},O=function(){return{type:"UNSET_PRIMARY_PHONE_NUMBERS"}},C=function(){return{type:"UNSET_PRIMARY_EMAIL_ADDRESSES"}},A=function(e){return{type:"NEW_CONTACT_ENERGY_SUPPLIER",contactEnergySupplier:e}},D=function(e){return{type:"UPDATE_CONTACT_ENERGY_SUPPLIER",contactEnergySupplier:e}},I=function(e){return{type:"DELETE_CONTACT_ENERGY_SUPPLIER",id:e}},S=function(e){return{type:"UPDATE_HOOM_ACCOUNT_ID",hoomAccountId:e}}},749:function(e,t,n){"use strict";var a=n(6),r=n.n(a),o=n(0),i=n.n(o),s=n(8),c=n.n(s),l=(n(740),n(65)),u=(n(714),n(761)),m=n(758),p=n(732),d=n(729),f=(n(22),n(733)),g=n(734),b=n(735),E=(n(728),n(103),n(92),n(716)),h=n(708),v=(n(730),n(727),n(737),n(739));function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=Object(b.a)(e);if(t){var r=Object(b.a)(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(g.a)(this,n)}}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var O,C,A,D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=String(e).toLowerCase(),a=String(t.value).toLowerCase(),r=String(t.label).toLowerCase();return a===n||r===n},I=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){Object(m.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return D(e,t)}))||n.some((function(t){return D(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),S=(O=h.a,A=C=function(e){Object(f.a)(n,e);var t=y(n);function n(e){var a;Object(p.a)(this,n),(a=t.call(this,e)).select=void 0,a.onChange=function(e,t){var n=a.props,r=n.getNewOptionData,o=n.inputValue,i=n.isMulti,s=n.onChange,c=n.onCreateOption,l=n.value,m=n.name;if("select-option"!==t.action)return s(e,t);var p=a.state.newOption,d=Array.isArray(e)?e:[e];if(d[d.length-1]!==p)s(e,t);else if(c)c(o);else{var f=r(o,o),g={action:"create-option",name:m};s(i?[].concat(Object(u.a)(Object(E.c)(l)),[f]):f,g)}};var r=e.options||[];return a.state={newOption:void 0,options:r},a}return Object(d.a)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,a=e.formatCreateLabel,r=e.getNewOptionData,o=e.inputValue,i=e.isLoading,s=e.isValidNewOption,c=e.value,l=e.options||[],m=this.state.newOption;m=s(o,Object(E.c)(c),l)?r(o,a(o)):void 0,this.setState({newOption:m,options:!t&&i||!m?l:"first"===n?[m].concat(Object(u.a)(l)):[].concat(Object(u.a)(l),[m])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,t=this.state.options;return i.a.createElement(O,Object(l.a)({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))}}]),n}(o.Component),C.defaultProps=I,A),R=Object(v.a)(S);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=function(e){var t=e.label,n=e.size,a=e.id,r=e.name,o=e.value,s=e.options,c=e.optionId,l=e.optionName,u=e.onCreateOption,m=e.onChangeAction,p=e.required,d=e.allowCreate,f=e.multi,g=e.error,b=e.errorMessage,E=e.isLoading,h=e.disabled,v=e.placeholder,y=e.clearable,N={option:function(e){return P(P({},e),{},{fontSize:"12px"})},singleValue:function(e){return P(P({},e),{},{fontSize:"12px"})},menu:function(e){return P(P({},e),{},{zIndex:20})}};if(""!=o&&s&&s.length>0){var O=[];O=Array.isArray(o)?o:o.toString().split(",");var C=[];O.map((function(e){(function(e,t){for(var n=0;n<t.length;n++)if(t[n].id==e)return!0;return!1})(e,s)||C.push({id:e,name:e,email:e})})),s.push.apply(s,C)}return i.a.createElement("div",{className:"form-group col-sm-12"},i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-sm-3"},i.a.createElement("label",{htmlFor:a,className:"col-sm-12 ".concat(p)},t)),i.a.createElement("div",{className:"".concat(n)},i.a.createElement(R,{id:a,name:r,value:s&&o?f?s.map((function(e){if(o.includes(e[c]))return e})):s.find((function(e){return e[c]===o})):"",onChange:f?function(e){return m(e?e.map((function(e){return e[c]})).join():"")}:function(e){return m(e?e[c]:"")},onCreateOption:u,options:s,getOptionLabel:function(e){return e[l]},getOptionValue:function(e){return e[c]},placeholder:v,noOptionsMessage:function(){return"Geen opties gevonden"},loadingMessage:function(){return"Laden"},isMulti:f,simpleValue:!0,removeSelected:!0,className:g?" has-error":"",isLoading:E,isDisabled:h,styles:N,isClearable:y,formatCreateLabel:function(e){return'Maak optie "'.concat(e,'" aan')},getNewOptionData:function(e,t){return d?{id:t,name:t,__isNew__:!0}:{}},theme:function(e){return P(P({},e),{},{colors:P({},e.colors),spacing:P(P({},e.spacing),{},{baseUnit:2,controlHeight:24,menuGutter:4})})}})),g&&i.a.createElement("div",{className:"col-sm-offset-3 col-sm-8"},i.a.createElement("span",{className:"has-error-message"}," ",b))))};T.defaultProps={allowCreate:!1,size:"col-sm-6",optionId:"id",optionName:"name",disabled:!1,required:"",error:!1,errorMessage:"",value:"",multi:!0,isLoading:!1,placeholder:"",clearable:!1},T.propTypes={allowCreate:c.a.bool,label:c.a.string.isRequired,size:c.a.string,id:c.a.string,name:c.a.string.isRequired,options:c.a.array,optionId:c.a.string,optionName:c.a.string,value:c.a.oneOfType([c.a.string,c.a.number]),onCreateOption:c.a.func,onChangeAction:c.a.func,onBlurAction:c.a.func,required:c.a.string,disabled:c.a.bool,error:c.a.bool,errorMessage:c.a.string,multi:c.a.bool,isLoading:c.a.bool,placeholder:c.a.string,clearable:c.a.bool};t.a=T}}]);