import { r as registerInstance, h } from './core-095fd691.js';
var BceElementInput = /** @class */ (function () {
    function class_1(hostRef) {
        registerInstance(this, hostRef);
    }
    class_1.prototype.render = function () {
        if (!this.template)
            return null;
        var type = this.template.multiline ? 'textarea' : 'text';
        return [
            h("p", null, this.template.question),
            h("bce-input", { validation: this.template.required ? 'required' : '', type: type })
        ];
    };
    Object.defineProperty(class_1, "style", {
        get: function () { return "bce-element-input p{font-weight:500;text-align:center}\@media screen and (min-width:1024px){bce-element-input p{text-align:left}}"; },
        enumerable: true,
        configurable: true
    });
    return class_1;
}());
export { BceElementInput as bce_element_input };
