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 r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();System.register(["./p-c4df9d4b.system.js","./p-58f2f536.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.h},function(t){n=t.B}],execute:function(){t({g:i,r:o});var r=new Map;function o(t,e){r.set(t,e)}function i(t,n,o,i,u,s){if(o===void 0){o=[]}if(t.render){return t.render(t,n,o,i,u,s)}if(t.customViewTag){var p=t.customViewTag;return e(p,{disabled:i,field:t,errors:o,onChange:u,onBlur:s,value:n})}var f=r.get(t.type);if(f){return f(t,n,o,i,u,s)}return null}var u=function(t){__extends(e,t);function e(e,n,r,o,i,u,s){if(u===void 0){u=1}if(s===void 0){s=1}var p=t.call(this,e,"text")||this;p.format="raw";p.id=e;p.title=n;p.placeholder=r;p.description=o;p.inputType=i;p.lines=u;p.linesMax=s;return p}e.prototype.showPreview=function(){this.preview=true;return this};e.prototype.getDisplayValue=function(t){return t};e.prototype.setInputType=function(t){this.inputType=t;return this};e.prototype.setFormat=function(t){this.format=t;return this};e.prototype.setLines=function(t){this.lines=t;return this};e.prototype.setLinesMax=function(t){this.linesMax=t;return this};e.prototype.setAutoComplete=function(t){this.autoComplete=t;return this};return e}(n);t("T",u);u.type="text";var s=function(t,n,r,o,i,u){return e("dvn-field-input-text",{disabled:o,field:t,errors:r,onChange:function(e){return i(t,e.detail)},onBlur:function(){return u(t)},value:n})};o("text",s)}}}));