import{r as t,h as e}from"./p-aee8b1df.js";import{E as o}from"./p-433f8f9a.js";const i=class{constructor(e){t(this,e)}prop(t,e={}){return this.handler.prop(t,Object.assign({},e))}render(){return e(o,{t:this.t,question:this.prop("question",{localize:!0}),required:this.prop("required")},e("div",{class:"option-creator"},e("bce-option-creator",Object.assign({},this.prop("rows",{default:()=>[],localize:!0}),{label:this.t("row"),placeholder:this.t("row"),t:this.t})),e("bce-option-creator",Object.assign({},this.prop("columns",{default:()=>[],localize:!0}),{label:this.t("column"),placeholder:this.t("column"),t:this.t}))),e("bce-select",Object.assign({},this.prop("orientation"),{label:this.t("me-orientation"),type:"radio"}),e("bce-option",{value:"horizontal"},this.t("me-orientation-h")),e("bce-option",{value:"vertical"},this.t("me-orientation-v"))),e("slot",null))}static get style(){return":host bce-input,:host bce-switch{margin:10px 0}:host .option-creator{position:relative;display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap}:host .option-creator bce-option-creator{-ms-flex:1 1 auto;flex:1 1 auto}:host .option-creator bce-option-creator :last-child{bottom:-27px}\@media screen and (min-width: 600px){:host .option-creator{-ms-flex-align:start;align-items:flex-start;-ms-flex-flow:row nowrap;flex-flow:row nowrap}}"}};export{i as bce_element_matrix_editor};