import{j as t}from"./tanstack-1.0.74-aU0azVkW.js";import{ac as a,ad as p}from"./index-1.0.74-DxwH6OqZ.js";import{l as n}from"./lib-1.0.74-B5IEqfHg.js";import{T as u}from"./TextField-1.0.74-BW9Byijb.js";import{B as l}from"./Box-1.0.74-DEbuVvGV.js";import{B as d}from"./ConfirmDialog-1.0.74-CXu4CqK2.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(d,{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(a,{})}),t.jsx(d,{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};
