'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index$1 = require('./index-457520a1.js');

const ElementLinkEditor = class {
    constructor(hostRef) {
        index$1.registerInstance(this, hostRef);
        this.label = {
            name: 'Link',
            labelHref: 'Reference',
            labelText: 'Text',
            labelIcon: 'Icon',
            placeholderHref: 'https://example.com',
            placeholderText: 'Example',
            placeholderIcon: 'globe'
        };
    }
    prop(path, options = {}) {
        return this.handler.prop(path, Object.assign(Object.assign({}, options), { label: this.label }));
    }
    render() {
        return [
            index$1.h("bce-input", Object.assign({}, this.prop('href'), { type: "text" })),
            index$1.h("bce-input", Object.assign({}, this.prop('text', { localize: true }), { type: "text" })),
            index$1.h("bce-input", Object.assign({}, this.prop('icon'), { type: "text" })),
            index$1.h("slot", null)
        ];
    }
};

exports.bce_element_link_editor = ElementLinkEditor;
