import{r as e,h as t}from"./p-aee8b1df.js";import{E as o}from"./p-433f8f9a.js";const i=class{constructor(t){e(this,t),this.label={name:"Table",labelQuestion:"Formulate your question",labelRequired:"Required",labelOCOptionAdd:"Add Column",labelOCOptionRemove:"Delete Column",labelOrientation:"Oriëntation",labelOrientationH:"Horizontal",labelOrientationV:"Vertical",labelMaxRows:"Max row count",placeholderColumns:"Column"}}prop(e,t={}){return this.handler.prop(e,Object.assign(Object.assign({},t),{label:this.label}))}render(){const{labelOrientationH:e,labelOrientationV:i}=this.label;return t(o,{question:this.prop("question",{localize:!0}),required:this.prop("required"),t:this.t},t("bce-option-creator",Object.assign({},this.prop("columns"),{label:this.t("row"),t:this.t})),t("bce-select",Object.assign({},this.prop("orientation")),t("bce-option",{value:"horizontal"},e),t("bce-option",{value:"vertical"},i)),t("bce-input",Object.assign({type:"number"},this.prop("maxRows"))),t("slot",null))}};export{i as bce_element_table_editor};