import { r as registerInstance, h } from './index-d0047af2.js';

const ElementLinkEditor = class {
    constructor(hostRef) {
        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 [
            h("bce-input", Object.assign({}, this.prop('href'), { type: "text" })),
            h("bce-input", Object.assign({}, this.prop('text', { localize: true }), { type: "text" })),
            h("bce-input", Object.assign({}, this.prop('icon'), { type: "text" })),
            h("slot", null)
        ];
    }
};

export { ElementLinkEditor as bce_element_link_editor };
