System.register(["./p-3c39d395.system.js","./p-dac270b1.system.js","./p-efe1606a.system.js","./p-36a750d0.system.js"],function(t){"use strict";var e,i,n,s,o,a;return{setters:[function(t){e=t.r;i=t.h;n=t.g},function(t){s=t.B},function(t){o=t.l},function(t){a=t.E}],execute:function(){var l=t("bce_element_table_template",function(){function t(t){e(this,t);this.metadata={};this.optionIcon=s.ICON_MAP["table"];this.question="";this.required=false;this.columns=[];this.orientation="horizontal";this.maxRows=0;this.labelQuestion="Formulate your question";this.labelRequired="Required";this.labelOCAddButton="Add";this.labelOCRemoveButton="Delete";this.labelOCOther="Other";this.labelOCImage="Image";this.labelOrientation="Oriëntation";this.labelOrientationH="Horizontal";this.labelOrientationV="Vertical";this.labelMaxRows="Max row count";this.placeholderColumns="Column";this._link=o(this,this.handleInput);this._question=this._link("question");this._required=this._link("required");this._columns=this._link("columns");this._orientation=this._link("orientation");this._maxRows=this._link("maxRows")}t.prototype.handleInput=function(t,e){var i;var n=e.target;if(!n)return;e.cancelBubble=true;this[t]=n.value;this.value=this.updateValue((i={},i[t]=n.value,i));this.el.dispatchEvent(new Event("input",{bubbles:true}))};t.prototype.updateValue=function(t){if(t===void 0){t={}}var e={question:this.question,required:this.required,columns:this.columns,orientation:this.orientation,maxRows:this.maxRows,metadata:Object.assign({},this.metadata)};return Object.assign({},e,t)};t.prototype.componentDidLoad=function(){this.value=this.updateValue();this.el.dispatchEvent(new Event("input",{bubbles:true}))};t.prototype.render=function(){var t=Object.assign({icon:this.optionIcon,labelOCAddButton:this.labelOCAddButton,labelOCRemoveButton:this.labelOCRemoveButton,labelOCOther:this.labelOCOther,labelOCImage:this.labelOCImage},this._columns);return i(a,{question:this._question,required:this._required},i("bce-option-creator",Object.assign({},t)),i("bce-input",Object.assign({type:"radio"},this._orientation),i("bce-option",{value:"horizontal"},this.labelOrientationH),i("bce-option",{value:"vertical"},this.labelOrientationV)),i("bce-input",Object.assign({type:"number"},this._maxRows)),i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:true,configurable:true});return t}())}}});