(("undefined"!==typeof self?self:this)["webpackJsonpwebform_plugin"]=("undefined"!==typeof self?self:this)["webpackJsonpwebform_plugin"]||[]).push([[5],{"10a6":function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{directives:[{name:"droppable",rawName:"v-droppable"}],ref:"infoBox",staticClass:"textFieldStyle",style:e.cssProps,on:{mouseenter:function(t){!e.widgetDidMove&&(e.hover=!0)},mouseleave:function(t){e.hover=!1},click:function(t){return e.$emit("selected")}}},[e.readOnly?e._e():o("div",{staticClass:"dropHighlight",style:{backgroundColor:e.selectedDropWidget==e.index&&e.top?"rgb(76, 185, 234)":"transparent"}}),e.readOnly?e._e():o("div",{staticClass:"dropHighlightBottom",style:{backgroundColor:e.selectedDropWidget==e.index&&e.bottom?"rgb(76, 185, 234)":"transparent"}}),e.readOnly?e._e():o("div",{staticClass:"hoverBox",style:{border:e.hover&&null==e.selectedWidget?"#7aabc0 solid 2px":e.selectedWidget==e.index?"#4CB9EA solid 2px":"transparent solid 2px"}},[e.selectedWidget==e.index?o("b-btn",{staticClass:"delBtn",attrs:{size:"sm"},on:{click:function(t){return e.$emit("DeleteWidget")}}},[o("span",{staticClass:"ti-trash"})]):e._e()],1),e.readOnly?e._e():o("div",{staticClass:"hoverParent"},[(e.isDraging=!0)?o("div",{directives:[{name:"droppable",rawName:"v-droppable"}],staticClass:"hoverChild1",on:{"drag-over":function(t){return e.onDragOver("top")}}}):e._e(),(e.isDraging=!0)?o("div",{directives:[{name:"droppable",rawName:"v-droppable"}],staticClass:"hoverChild2",on:{"drag-over":function(t){return e.onDragOver(e.arrayLength-1==e.selectedDropWidget?"bottom":"top")}}}):e._e()]),o("div",{style:e.csstextpros},[o("video-record")],1)])},i=[],d=(o("a9e3"),{created:function(){},data:function(){return{format:{width:"auto"},fontFamily:{width:"auto"},inlineMode:{enable:!0,onSelection:!0},notdisable:"",inputText:"",hover:!1,highlight:!1,top:!1,bottom:!1}},props:{NewStyle:{type:Object},NewText:{type:Object},NewValue:{type:""},selectedWidget:{type:Number},index:{type:Number},widgetDidMove:{type:Boolean},hasDragEnded:{type:Boolean},selectedDropWidget:{type:Number},readOnly:Boolean,addToBottom:Object,arrayLength:Number},computed:{cssProps:function(){return{"background-color":this.NewStyle.backgroundcolor,padding:this.NewStyle.padding+"px","padding-top":this.NewStyle.onepadding.paddingTop+"px","padding-right":this.NewStyle.onepadding.paddingRight+"px","padding-bottom":this.NewStyle.onepadding.paddingBottom+"px","padding-left":this.NewStyle.onepadding.paddingLeft+"px"}},csstextpros:function(){return{color:this.NewStyle.textcolor}}},methods:{btnClicked:function(){console.log(document.getElementById("foo").innerHTML)},changeCheck:function(e){this.$refs.rteInstance.ej2Instances.inlineMode.onSelection=e.checked,this.$refs.rteInstance.dataBind()},sendboolean:function(e){this.NewValue.Ans=e},onDragOver:function(e){"top"==e?(this.$emit("changeDropValue",this.index),this.addToBottom.value=!1,this.top=!0,this.bottom=!1):(this.$emit("changeDropValue",this.index),this.addToBottom.value=!0,this.top=!1,this.bottom=!0)}}}),a=d,r=o("2877"),s=Object(r["a"])(a,n,i,!1,null,null,null);t["default"]=s.exports}}]);
//# sourceMappingURL=webform-plugin.umd.min.5.js.map