System.register(["../../../../common/preload-helper-legacy.CIXZiioE.js","../../index-legacy.Bb8z3cGQ.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_a595eea6_lang-legacy.BOGbhEW3.js","../../../../common/index-legacy.CKw89bRG.js","../../../../common/index-legacy.CO4MsCT9.js","../../../../common/motion-legacy.C4TziduP.js","../../../../common/DownOutlined-legacy.Dhl0Wj92.js","../../../../common/isMobile-legacy.B1xuVHMd.js","../../../../common/warning-legacy.BXrMpzCz.js","../../../../common/KeyCode-legacy.Cey0FNFJ.js","../../../../common/FormItemContext-legacy.CWXRIB7M.js","../../../../common/createContext-legacy.DxkS4L9s.js","../../../../common/statusUtils-legacy.UBMz6jtm.js","../../../../common/index-legacy.CCpVcULI.js","../../../../common/compact-item-legacy.EWjDRkhe.js"],function(e,l){"use strict";var n,a,o,t,u,s,c,i,m,d,r,p;return{setters:[e=>{n=e.d,a=e.ar,o=e.A,t=e.bn,u=e.bo,s=e.bp,c=e.h,i=e.a9,m=e.br},e=>{d=e.p},null,null,null,e=>{r=e._},null,e=>{p=e.A},null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"wwp-row-handle"},_={class:"wwp-left-content"},v={class:"wwp-right-content"},y=["innerHTML"];e("default",n({__name:"PercentControl",props:{params:{type:Object,required:!0}},emits:["input","fieldData"],setup(e,{emit:n}){var g,j,x;const b=e,{params:C}=a(b),f=C.value,w=o(null!==(g=f.default)&&void 0!==g?g:""),h=o(null!==(j=f.step)&&void 0!==j?j:1),D=o(null!==(x=f.disabled)&&void 0!==x&&x),q=n,L=o([]);""===w.value||D.value||(L.value[f.id]=w.value+"%",q("fieldData",L.value));const M=e=>{L.value[f.id]=e+"%",q("fieldData",L.value)};return(e,n)=>{var a,o;return t(),u("div",l,[s("div",_,[c(i(r),{params:i(f)},null,8,["params"])]),s("div",v,[c(i(p),{id:i(f).id,value:w.value,"onUpdate:value":n[0]||(n[0]=e=>w.value=e),name:i(f).id,placeholder:i(f).placeholder,min:i(f).min,max:i(f).max,step:h.value,disabled:D.value,onInput:M,onChange:M},null,8,["id","value","name","placeholder","min","max","step","disabled"]),"undefined"!==i(f).description?(t(),u("p",{key:0,innerHTML:i(d)(null!==(a=null===(o=i(f))||void 0===o?void 0:o.description)&&void 0!==a?a:"")},null,8,y)):m("",!0)])])}}}))}}});
