| 1 |
import{a as C,g,i as m,H as y,j as h,_ as S,f as p,bI as _,b1 as x}from"./main-96.js";import{F as s}from"./bf-460-326.js";import{S as j}from"./bf-687-180.js";import"./bf-781-46.js";function H({propsFldKey:a}={}){const{css:o}=C(),{fieldKey:r}=g(),e=a!=null?a:r,[n,c]=m(x);if(!e)return null;const t=y(n[e]),d=t.adminLbl||"",{selectedCountryClearable:f}=t.config,u=l=>{t.config.selectedCountryClearable=l;const i=p(n,b=>{b[e]=t});c(i),_({event:`Selected Country Clearable '${String(l||"Off").replace("true","On")}': ${t.lbl||d||e}`,type:"selectedCountryClearable_changed",state:{fields:i,fldKey:e}})};return h.jsx(j,{id:"slctd-clrbl-stng",tip:"By disabling this option, the selected country clearable button will be hidden",className:o(s.fieldSection,s.hover_tip,s.singleOption),title:S("Selected Country Clearable"),action:l=>u(l.target.checked),isChecked:f||!1})}export{H as default}; |