var __spreadArray=this&&this.__spreadArray||function(t,r){for(var e=0,i=r.length,n=t.length;e<i;e++,n++)t[n]=r[e];return t};System.register([],(function(t){"use strict";return{execute:function(){var r=function(){function t(t,r){this.id=t;this.type=r}t.decode=function(r){return Object.assign(Object.create(t.prototype),r)};t.prototype.getDisplayValue=function(t){return t};t.prototype.addInterceptor=function(t,r){var e;if(!this.interceptors){this.interceptors={}}this.interceptors=Object.assign(Object.assign({},this.interceptors),(e={},e[t]=__spreadArray(__spreadArray([],this.interceptors[t]||[]),[r]),e));return this};t.prototype.require=function(){this.required=true;return this};t.prototype.disable=function(){this.disabled=true;return this};t.prototype.hide=function(){this.visible=false;return this};t.prototype.setVisibility=function(t){this.visible=t;return this};t.prototype.setValue=function(t){this.value=t;return this};t.prototype.setErrorTitle=function(t){this.errorTitle=t;return this};return t}();t("B",r)}}}));