var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();import{B as BaseField}from"./BaseField-0b01dc2c.js";var RawDataField=function(t){__extends(e,t);function e(e,r,o,n){if(n===void 0){n="json"}var i=t.call(this,e,"raw-data")||this;i.dataType="json";i.trimStringQuotes=false;i.id=e;i.title=r;i.description=o;i.dataType=n;return i}e.prototype.showPreview=function(){this.preview=true;return this};e.prototype.getDisplayValue=function(t){return t};e.prototype.setDataType=function(t){this.dataType=t;return this};e.prototype.setTrimStringQuotes=function(t){this.trimStringQuotes=t;return this};return e}(BaseField);RawDataField.type="raw-data";export{RawDataField as R};