import{h}from"../aleph.core.js";var AlangleEditor=function(){function e(){}return e.prototype.render=function(){var e=this;if(this.angle){var n=this.angle[0];return h("form",{onSubmit:function(e){return e.preventDefault()}},h("ion-button",{size:"small",onClick:function(){e.delete.emit(n),e.angle=null}},h("ion-icon",{name:"remove"})))}return null},Object.defineProperty(e,"is",{get:function(){return"al-angle-editor"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{angle:{type:"Any",attr:"angle",mutable:!0}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"delete",method:"delete",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return""},enumerable:!0,configurable:!0}),e}();export{AlangleEditor as AlAngleEditor};