"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var aleph_core_js_1 = require("../aleph.core.js");
var AlEdgeEditor = function () { function e() { } return e.prototype.render = function () { var e = this; if (this.edge) {
    var t = this.edge[0];
    return aleph_core_js_1.h("form", { onSubmit: function (e) { return e.preventDefault(); } }, aleph_core_js_1.h("ion-button", { size: "small", onClick: function () { e.delete.emit(t), e.edge = null; } }, aleph_core_js_1.h("ion-icon", { name: "remove" })));
} return null; }, Object.defineProperty(e, "is", { get: function () { return "al-edge-editor"; }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "encapsulation", { get: function () { return "shadow"; }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "properties", { get: function () { return { edge: { type: "Any", attr: "edge", 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; }();
exports.AlEdgeEditor = AlEdgeEditor;
