graphdb-workbench
Version:
The web application for GraphDB APIs
2 lines • 1.3 kB
JavaScript
export const __webpack_esm_id__=11201;export const __webpack_esm_ids__=[11201,29646];export const __webpack_esm_modules__={11201:(s,e,t)=>{t.d(e,{i:()=>h});var i=t(29646);const h=s=>{if(!s||!s.shapes)return new i.v([]);const e=s.shapes.map(s=>_(s));return new i.v(e)},_=s=>{if(s)return new i.G({id:s.id,name:s.name,label:s.label,description:s.description})}},29646:(s,e,t)=>{t.d(e,{G:()=>h,v:()=>i});class i{_shapes;_size;_isEmpty;constructor(s){this._shapes=s||[],this._size=this.shapes.length,this._isEmpty=0===this.shapes.length}processShapes(s){return this.shapes.map(s)}getShapeIds(){return this.shapes.map(s=>s.id)}get isEmpty(){return this._isEmpty}get size(){return this._size}get shapes(){return this._shapes}set shapes(s){this._shapes=s,this._size=this.shapes.length,this._isEmpty=0===this.shapes.length}toJSON(){return this.shapes.map(s=>s.id)}}class h{_id;_name;_label;_description;constructor(s){this._id=s.id,this._name=s.name,this._label=s.label,this._description=s.description}get id(){return this._id}set id(s){this._id=s}get name(){return this._name}set name(s){this._name=s}get label(){return this._label}set label(s){this._label=s}get description(){return this._description}set description(s){this._description=s}}}};
//# sourceMappingURL=11201.ca7379c10f206f78cac5.bundle.js.map