| 1 |
import{g as _,i as g,a as S,aj as h,at as x,j as l,_ as d,I as $,f as c,bI as j,b1 as D}from"./main-96.js";import{F as r}from"./bf-460-326.js";import{S as F}from"./bf-687-180.js";import"./bf-781-46.js";function k({cls:f}){const{fieldKey:e}=_(),[o,u]=g(D),v=o[e].btnDir||!1,{css:m}=S(),p=h(x),b=({target:y})=>{if(!$)return;const{checked:i}=y;let n="row";const a=c(o,t=>{const s=t[e];i?(s.btnDir="row-reverse",n="row-reverse"):delete s.btnDir});p(t=>c(t,s=>{s.fields[e].classes[`.${e}-ctrl`]["flex-direction"]=n}));const R=i?"on":"off";u(a),j({event:`Button reverse ${R}`,type:"button_reverse_on_off",state:{fields:a,fldKey:e}})};return l.jsx("div",{className:`${m(r.fieldSection,r.hover_tip,r.singleOption)} ${f}`,children:l.jsx(F,{id:"sig-btn-rvrs-stng",tip:d("Reverses the order of the Clear, Undo and Redo buttons."),title:d("Button Reverse"),action:b,isChecked:v,isPro:!0,proProperty:"reverse"})})}export{k as default}; |