| 1 |
import{a as f,g as u,i as C,aH as g,z as p,j as y,_ as b,f as m,bG as h}from"./main-294.js";import{F as s}from"./bf-821-385.js";import{S}from"./bf-764-245.js";import"./bf-176-80.js";function O(){const{css:i}=f(),{fieldKey:e}=u(),[a,n]=C(g);if(!e)return null;const t=p(a[e]),{selectedCurrencyClearable:c}=t.config,o=l=>{t.config.selectedCurrencyClearable=l;const r=m(a,d=>{d[e]=t});n(r),h({event:`Selected Currency Clearable '${String(l||"Off").replace("true","On")}': ${t.lbl||e}`,type:"selectedCurrencyClearable_changed",state:{fields:r,fldKey:e}})};return y.jsx(S,{id:"slctd-clrbl-stng",tip:"By disabling this option, the selected currency clearable button will be hidden",className:i(s.fieldSection,s.hover_tip,s.singleOption),title:b("Selected Currency Clearable"),action:l=>o(l.target.checked),isChecked:c||!1})}export{O as default}; |