import{__extends as i}from"../../../../../../../node_modules/tslib/tslib.es6.js";import{Entity as o}from"./Entity.js";import t from"../../../../../../../node_modules/uuid/dist/esm-browser/v4.js";var n=function(o){function n(i){var n,s,r=o.call(this)||this;return r.id=null!==(n=null==i?void 0:i.id)&&void 0!==n?n:t(),r.fields=null!==(s=null==i?void 0:i.fields)&&void 0!==s?s:[],r}return i(n,o),n.prototype.toJson=function(){return{id:this.id,fields:this.fields.map((function(i){return i.toJson()}))}},n}(o);export{n as FormEntity};
//# sourceMappingURL=Form.js.map
