System.register(["../../../../common/preload-helper-legacy.CIXZiioE.js","../../index-legacy.CKwsq3d1.js","../../../../common/GroupControl.vue_vue_type_style_index_0_scoped_ac0e52be_lang-legacy.BhDSN6Mf.js","../../../../common/DnDDataTableControl.vue_vue_type_style_index_0_scoped_0b913e4f_lang-legacy.D1tDIuyM.js","../../../../common/GroupConditionalControl.vue_vue_type_style_index_0_scoped_96558d5e_lang-legacy.CHJO3hx-.js","../../../../common/LabelControl.vue_vue_type_script_setup_true_lang-legacy.9mLv6sKk.js","../../../../common/OptionsControl.vue_vue_type_style_index_0_scoped_f1f8db36_lang-legacy.Czfm27ET.js","../../../../common/index-legacy.BA7qrnNr.js","../../../../common/index-legacy.CO4MsCT9.js","../../../../common/motion-legacy.C4TziduP.js","../../../../common/FormItemContext-legacy.CWXRIB7M.js","../../../../common/createContext-legacy.DxkS4L9s.js","../../../../common/statusUtils-legacy.UBMz6jtm.js","../../../../common/SearchOutlined-legacy.ARbIf1Me.js","../../../../common/compact-item-legacy.EWjDRkhe.js","../../../../common/index-legacy.CCpVcULI.js","../../../../common/index-legacy.BpZDMFyf.js","../../../../common/index-legacy.M32zB8dq.js","../../../../common/useState-legacy.C_VuFIfe.js","../../../../common/warning-legacy.BXrMpzCz.js","../../../../common/isPlainObject-legacy.DofypNUA.js","../../../../common/index-legacy.MrrsGG1-.js"],function(e,l){"use strict";var n,a,o,t,i,c,u,s,d,m,r,p,g,_;return{setters:[e=>{n=e.d,a=e.ar,o=e.A,t=e.bn,i=e.bo,c=e.bp,u=e.h,s=e.a9,d=e.br},e=>{m=e.i,r=e.p,p=e.d},null,null,null,e=>{g=e._},null,e=>{_=e.A},null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"wwp-row-handle"},v={class:"wwp-left-content"},y={class:"wwp-right-content"},j=["innerHTML"];e("default",n({__name:"TextAreaControl",props:{params:{type:Object,required:!0}},emits:["input","fieldData"],setup(e,{emit:n}){var w,b;const x=e,{params:f}=a(x),h=f.value,C=o((null==h?void 0:h.default)||"");o(null!==(w=h.editor)&&void 0!==w&&w).value&&m(h.id,{tinymce:{plugins:"charmap colorpicker compat3x directionality fullscreen hr image lists media paste tabfocus textcolor wordpress wpautoresize wpdialogs wpeditimage wpemoji wpgallery wplink wptextpattern wpview",toolbar1:"formatselect bold italic | bullist numlist | blockquote | alignleft aligncenter alignright | link unlink | wp_more | spellchecker",wp_theme:!0,setup:e=>{e.on("init",()=>{e.setContent(p(C.value))}),e.on("change",()=>{O(e.getContent())})}},mediaButtons:!0,quicktags:!0});const k=n,D=o(null!==(b=h.disabled)&&void 0!==b&&b),q=o([]);""===C.value||D.value||(q.value[h.id]=C.value,k("fieldData",q.value));const A=()=>{q.value[h.id]=C,k("fieldData",q.value)},O=e=>{q.value[h.id]=e,k("fieldData",q.value)};return(e,n)=>{var a,o;return t(),i("div",l,[c("div",v,[u(s(g),{params:s(h)},null,8,["params"])]),c("div",y,[u(s(_),{id:s(h).id,value:C.value,"onUpdate:value":n[0]||(n[0]=e=>C.value=e),name:s(h).id,placeholder:s(h).placeholder,rows:4,disabled:D.value,onInput:A},null,8,["id","value","name","placeholder","disabled"]),"undefined"!==s(h).description?(t(),i("p",{key:0,innerHTML:s(r)(null!==(a=null===(o=s(h))||void 0===o?void 0:o.description)&&void 0!==a?a:"")},null,8,j)):d("",!0)])])}}}))}}});
