var __extends=this&&this.__extends||function(){var t=function(e,n){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]};return t(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function o(){this.constructor=e}e.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)}}();System.register(["./p-5e377a26.system.js","./p-34aaddc8.system.js","./p-58f2f536.system.js"],(function(t){"use strict";var e,n,o;return{setters:[function(t){e=t.h},function(t){n=t.r},function(t){o=t.B}],execute:function(){var i=function(){function t(t,e,n,o){this.label=t;this.value=e;this.tint=n;this.description=o}return t}();t("a",i);var r=function(t){__extends(e,t);function e(e,n,o,i,r,s){if(r===void 0){r="radioButton"}var u=t.call(this,e,"single-choice")||this;u.title=n;u.options=o;u.inputType=r;u.description=i;u.placeholder=s;return u}e.prototype.showPreview=function(){this.preview=true;return this};e.prototype.getOptionOfValue=function(t){if(!this.optionsByValue){this.optionsByValue={};for(var e=0;e<this.options.length;e+=1){this.optionsByValue[this.options[e].value]=this.options[e]}}return this.optionsByValue[t]||{label:t,value:t}};e.prototype.setOptions=function(t){this.options=t;return this};e.prototype.setDataProvider=function(t){this.dataProvider=t;return this};e.prototype.setDataAdapter=function(t){this.dataAdapter=t;return this};return e}(o);t("S",r);r.type="single-choice";var s=function(t,n,o,i,r,s){return e("dvn-field-input-single-choice",{disabled:i,errors:o,field:t,onChange:function(e){e.stopImmediatePropagation();r(t,e.detail)},onBlur:function(){return s(t)},value:n})};n("single-choice",s)}}}));