import{j as t}from"./cm-1.0.63-CSIRHMXC.js";import{a5 as d,a6 as p}from"./index-1.0.63-oIDff4nA.js";import{l as n}from"./lib-1.0.63-DJZPtMem.js";import{T as u}from"./TextField-1.0.63-C35Mfi1Q.js";import{B as l}from"./Spinner-1.0.63-zcgIyS7Z.js";import{B as a}from"./cjs-1.0.63-4A2xol4v.js";const y=({label:r,textField:e,defaultValue:o,updateSettings:c,disabled:b})=>{var i;return n.debug(r,e,o),t.jsx(u,{type:"text",label:r,value:e.cssValue!==void 0?e.cssValue+(e.cssUnit??""):"",disabled:!0,slotProps:{input:{placeholder:e.cssValue!==void 0?((i=o.cssValue)==null?void 0:i.toString())+(o.cssUnit??""):"",endAdornment:t.jsxs(l,{sx:{display:"grid",gap:0},children:[t.jsx(a,{className:"pp-button-unit-text-field pp-button-unit-text-field-up",variant:"contained",color:"secondary",disabled:!0,disableRipple:!0,tabIndex:-1,onClick:()=>{},children:t.jsx(d,{})}),t.jsx(a,{className:"pp-button-unit-text-field pp-button-unit-text-field-down",variant:"contained",color:"secondary",disabled:!0,disableRipple:!0,tabIndex:-1,onClick:()=>{},children:t.jsx(p,{})})]})},inputLabel:{shrink:!0}},onBlur:s=>{n.debug(s)},onChange:s=>{n.debug(s)},onKeyUp:s=>{n.debug(s)}})};export{y as C};
