u
This commit is contained in:
@@ -59,6 +59,7 @@ class AppDialog extends Component {
|
|||||||
const {
|
const {
|
||||||
transitionDuration: _transitionDuration,
|
transitionDuration: _transitionDuration,
|
||||||
TransitionProps: _transitionProps,
|
TransitionProps: _transitionProps,
|
||||||
|
transitionProps: _lowerTransitionProps,
|
||||||
TransitionComponent: _transitionComponent,
|
TransitionComponent: _transitionComponent,
|
||||||
// Legacy MUI prop (removed in v9) — merge into slotProps.paper instead
|
// Legacy MUI prop (removed in v9) — merge into slotProps.paper instead
|
||||||
// of spreading onto Dialog/DOM where it triggers
|
// of spreading onto Dialog/DOM where it triggers
|
||||||
@@ -71,6 +72,7 @@ class AppDialog extends Component {
|
|||||||
} = this.props;
|
} = this.props;
|
||||||
void _transitionDuration;
|
void _transitionDuration;
|
||||||
void _transitionProps;
|
void _transitionProps;
|
||||||
|
void _lowerTransitionProps;
|
||||||
void _transitionComponent;
|
void _transitionComponent;
|
||||||
|
|
||||||
const userPaper = userSlotProps?.paper ?? {};
|
const userPaper = userSlotProps?.paper ?? {};
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ class ClickTooltip extends PureComponent {
|
|||||||
disableTouchListener
|
disableTouchListener
|
||||||
enterDelay={0}
|
enterDelay={0}
|
||||||
leaveDelay={0}
|
leaveDelay={0}
|
||||||
TransitionProps={{ timeout: 0 }}
|
slotProps={{ transition: { timeout: 0 } }}
|
||||||
title={title}
|
title={title}
|
||||||
arrow
|
arrow
|
||||||
placement="top"
|
placement="top"
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ class RecordPaymentDialog extends PureComponent {
|
|||||||
type="number"
|
type="number"
|
||||||
value={amount}
|
value={amount}
|
||||||
onChange={(e) => this.setState({ amount: e.target.value })}
|
onChange={(e) => this.setState({ amount: e.target.value })}
|
||||||
inputProps={{ min: 0.01, step: 'any' }}
|
slotProps={{ htmlInput: { min: 0.01, step: 'any' } }}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
|||||||
@@ -388,7 +388,7 @@ class NewShipmentModal extends PureComponent {
|
|||||||
value={currentVal}
|
value={currentVal}
|
||||||
onChange={(e) => this.handleAmountChange(line.sku, e.target.value)}
|
onChange={(e) => this.handleAmountChange(line.sku, e.target.value)}
|
||||||
disabled={remaining <= 0}
|
disabled={remaining <= 0}
|
||||||
inputProps={{ min: 0, max: remaining, step: 'any', style: { textAlign: 'right' } }}
|
slotProps={{ htmlInput: { min: 0, max: remaining, step: 'any', style: { textAlign: 'right' } } }}
|
||||||
sx={{ width: 100 }}
|
sx={{ width: 100 }}
|
||||||
/>
|
/>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ export default class McpAuthorizationsPanel extends Component {
|
|||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<Box>
|
<Box>
|
||||||
<Stack direction="row" alignItems="center" spacing={1} flexWrap="wrap">
|
<Stack direction="row" alignItems="center" spacing={1} useFlexGap sx={{ flexWrap: 'wrap' }}>
|
||||||
<Typography variant="subtitle1" sx={{ fontWeight: 600 }}>
|
<Typography variant="subtitle1" sx={{ fontWeight: 600 }}>
|
||||||
{auth.clientName || 'Unbenannter Client'}
|
{auth.clientName || 'Unbenannter Client'}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|||||||
@@ -227,7 +227,6 @@ export default class SettingsKeysPanel extends Component {
|
|||||||
disabled={draft.busy}
|
disabled={draft.busy}
|
||||||
onChange={(e) => this.handleChange(row.key, 'value', e.target.value)}
|
onChange={(e) => this.handleChange(row.key, 'value', e.target.value)}
|
||||||
slotProps={{ htmlInput: { spellCheck: false } }}
|
slotProps={{ htmlInput: { spellCheck: false } }}
|
||||||
inputProps={{ spellCheck: false }}
|
|
||||||
>
|
>
|
||||||
{enumOpts.map((opt) => {
|
{enumOpts.map((opt) => {
|
||||||
const val = typeof opt === 'object' ? opt.value : opt;
|
const val = typeof opt === 'object' ? opt.value : opt;
|
||||||
@@ -258,7 +257,6 @@ export default class SettingsKeysPanel extends Component {
|
|||||||
}}
|
}}
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
slotProps={{ htmlInput: { spellCheck: false, autoCorrect: 'off', autoCapitalize: 'off' } }}
|
slotProps={{ htmlInput: { spellCheck: false, autoCorrect: 'off', autoCapitalize: 'off' } }}
|
||||||
inputProps={{ spellCheck: false, autoCorrect: 'off', autoCapitalize: 'off' }}
|
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ export default class VfsAppletForm extends PureComponent {
|
|||||||
disabled={Boolean(readOnly)}
|
disabled={Boolean(readOnly)}
|
||||||
helperText={prop?.description || (prop?.default !== undefined ? `Standard: ${String(prop.default)}` : '')}
|
helperText={prop?.description || (prop?.default !== undefined ? `Standard: ${String(prop.default)}` : '')}
|
||||||
onChange={(e) => this.handleFieldChange(key, e.target.value)}
|
onChange={(e) => this.handleFieldChange(key, e.target.value)}
|
||||||
inputProps={{ autoComplete: 'off', autoCorrect: 'off', autoCapitalize: 'off', spellCheck: false }}
|
slotProps={{ htmlInput: { autoComplete: 'off', autoCorrect: 'off', autoCapitalize: 'off', spellCheck: false } }}
|
||||||
sx={{ '& .MuiInputBase-input': { fontSize: '0.85rem' } }}
|
sx={{ '& .MuiInputBase-input': { fontSize: '0.85rem' } }}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -399,13 +399,15 @@ class ArtikelVorlagenPage extends PureComponent {
|
|||||||
onChange={this.handleHeightMmChange}
|
onChange={this.handleHeightMmChange}
|
||||||
onBlur={this.handleHeightMmBlur}
|
onBlur={this.handleHeightMmBlur}
|
||||||
disabled={saving}
|
disabled={saving}
|
||||||
InputProps={{
|
slotProps={{
|
||||||
endAdornment: <InputAdornment position="end">mm</InputAdornment>,
|
input: {
|
||||||
}}
|
endAdornment: <InputAdornment position="end">mm</InputAdornment>,
|
||||||
inputProps={{
|
},
|
||||||
min: MIN_HEIGHT_MM,
|
htmlInput: {
|
||||||
max: 300,
|
min: MIN_HEIGHT_MM,
|
||||||
step: 1,
|
max: 300,
|
||||||
|
step: 1,
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
sx={{ width: 120 }}
|
sx={{ width: 120 }}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user