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.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,o,a,t,u,s,c,i,m,d,r,p;return{setters:[e=>{n=e.d,o=e.ar,a=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,b;const x=e,{params:f}=o(x),C=f.value,w=a(null!==(g=C.default)&&void 0!==g?g:""),h=a(null!==(j=C.step)&&void 0!==j?j:1),D=a(null!==(b=C.disabled)&&void 0!==b&&b),q=n,L=a([]);""===w.value||D.value||(L.value[C.id]=w.value+"%",q("fieldData",L.value));const M=e=>{L.value[C.id]=e+"%",q("fieldData",L.value)};return(e,n)=>{var o,a;return t(),u("div",l,[s("div",_,[c(i(r),{params:i(C)},null,8,["params"])]),s("div",v,[c(i(p),{id:i(C).id,value:w.value,"onUpdate:value":n[0]||(n[0]=e=>w.value=e),name:i(C).id,placeholder:i(C).placeholder,min:i(C).min,max:i(C).max,step:h.value,disabled:D.value,onInput:M,onChange:M},null,8,["id","value","name","placeholder","min","max","step","disabled"]),"undefined"!==i(C).description?(t(),u("p",{key:0,innerHTML:i(d)(null!==(o=null===(a=i(C))||void 0===a?void 0:a.description)&&void 0!==o?o:"")},null,8,y)):m("",!0)])])}}}))}}});
