cloudmr-ux 4.4.2 → 4.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -47,7 +47,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
49
49
|
import * as React from 'react';
|
|
50
|
-
import { Typography } from '@mui/material';
|
|
50
|
+
import { Typography, Box } from '@mui/material';
|
|
51
51
|
import TextField from '@mui/material/TextField';
|
|
52
52
|
import Dialog from '@mui/material/Dialog';
|
|
53
53
|
import DialogActions from '@mui/material/DialogActions';
|
|
@@ -114,5 +114,14 @@ export default function CmrNameDialog(props) {
|
|
|
114
114
|
// type="file"
|
|
115
115
|
value: text, onFocus: function (event) {
|
|
116
116
|
event.target.select();
|
|
117
|
-
}, fullWidth: true, inputProps: { style: { fontSize: "16px" } }, variant: "standard", onChange: handleTextFieldChange, error: error, helperText: helperText }), isDemoData !== undefined && (_jsx(
|
|
117
|
+
}, fullWidth: true, inputProps: { style: { fontSize: "16px" } }, variant: "standard", onChange: handleTextFieldChange, error: error, helperText: helperText }), isDemoData !== undefined && (_jsx(Box, __assign({ className: "cmr-name-dialog-demo-data", sx: {
|
|
118
|
+
mt: 2,
|
|
119
|
+
display: 'flex',
|
|
120
|
+
alignItems: 'center',
|
|
121
|
+
'& .MuiFormControlLabel-root': {
|
|
122
|
+
margin: 0,
|
|
123
|
+
marginLeft: 0,
|
|
124
|
+
alignItems: 'center'
|
|
125
|
+
}
|
|
126
|
+
} }, { children: _jsx(CmrCheckbox, __assign({ checked: demoDataChecked, checkedColor: checkboxCheckedColor, onChange: function (e) { return setDemoDataChecked(e.target.checked); } }, { children: "Demo Data" })) })))] }), _jsxs(DialogActions, { children: [_jsx(CmrButton, __assign({ variant: "outlined", onClick: handleClose }, { children: "Cancel" })), _jsx(CmrButton, __assign({ variant: "contained", color: 'primary', onClick: handleConfirm }, { children: "Confirm" }))] })] })) }));
|
|
118
127
|
}
|