diff --git a/opencti-platform/opencti-front/package.json b/opencti-platform/opencti-front/package.json index da2c12689f1a..88cad920fe77 100644 --- a/opencti-platform/opencti-front/package.json +++ b/opencti-platform/opencti-front/package.json @@ -12,12 +12,12 @@ "@fontsource/ibm-plex-sans": "5.1.0", "@graphiql/toolkit": "0.11.1", "@hello-pangea/dnd": "16.6.0", - "@mui/icons-material": "5.16.13", + "@mui/icons-material": "6.4.3", "@mui/lab": "5.0.0-alpha.175", - "@mui/material": "5.16.13", - "@mui/styles": "5.16.13", - "@mui/utils": "5.16.13", - "@mui/x-date-pickers": "6.20.2", + "@mui/material": "6.4.3", + "@mui/styles": "6.4.3", + "@mui/utils": "6.4.3", + "@mui/x-date-pickers": "7.26.0", "@rjsf/core": "5.24.1", "@rjsf/mui": "5.24.1", "@rjsf/utils": "5.24.1", diff --git a/opencti-platform/opencti-front/src/components/AutocompleteField.jsx b/opencti-platform/opencti-front/src/components/AutocompleteField.jsx index ac45a3f17028..3f8954d2907c 100644 --- a/opencti-platform/opencti-front/src/components/AutocompleteField.jsx +++ b/opencti-platform/opencti-front/src/components/AutocompleteField.jsx @@ -82,9 +82,13 @@ const AutocompleteField = (props) => { { onChange={internalOnChange} onFocus={internalOnFocus} onBlur={internalOnBlur} - InputProps={{ - endAdornment: ( - - - - - - ), + slotProps={{ + textField: { + InputProps: { + endAdornment: ( + + + + + + ), + }, + }, }} /> = ({ return ( diff --git a/opencti-platform/opencti-front/src/components/ExportButtons.jsx b/opencti-platform/opencti-front/src/components/ExportButtons.jsx index e9b78f1f2ffa..b25981c9af62 100644 --- a/opencti-platform/opencti-front/src/components/ExportButtons.jsx +++ b/opencti-platform/opencti-front/src/components/ExportButtons.jsx @@ -316,7 +316,7 @@ class ExportButtons extends Component { = ({ }; return ( diff --git a/opencti-platform/opencti-front/src/components/SearchInput.jsx b/opencti-platform/opencti-front/src/components/SearchInput.jsx index 491f0555adff..5ff0e61a922f 100644 --- a/opencti-platform/opencti-front/src/components/SearchInput.jsx +++ b/opencti-platform/opencti-front/src/components/SearchInput.jsx @@ -112,48 +112,52 @@ const SearchInput = (props) => { onSubmit(value); } }} - InputProps={{ - startAdornment: ( - - - - ), - endAdornment: variant === 'topBar' && ( - - - - - - - - - - - - - ), - classes: { - root: classRoot, - input: classInput, + slotProps={{ + textField: { + InputProps: { + startAdornment: ( + + + + ), + endAdornment: variant === 'topBar' && ( + + + + + + + + + + + + + ), + classes: { + root: classRoot, + input: classInput, + }, + }, }, }} {...otherProps} diff --git a/opencti-platform/opencti-front/src/components/TextField.jsx b/opencti-platform/opencti-front/src/components/TextField.jsx index bacf04888012..c0fc7cde8c6e 100644 --- a/opencti-platform/opencti-front/src/components/TextField.jsx +++ b/opencti-platform/opencti-front/src/components/TextField.jsx @@ -92,21 +92,25 @@ const TextField = (props) => { onFocus={internalOnFocus} onBlur={internalOnBlur} onPaste={internalOnPaste} - InputProps={{ - startAdornment, - endAdornment: askAi && ( - { - setFieldValue(name, val); - if (typeof onSubmit === 'function') { - onSubmit(name, val || ''); - } - }} - format="text" - disabled={props.disabled} - /> - ), + slotProps={{ + textField: { + InputProps: { + startAdornment, + endAdornment: askAi && ( + { + setFieldValue(name, val); + if (typeof onSubmit === 'function') { + onSubmit(name, val || ''); + } + }} + format="text" + disabled={props.disabled} + /> + ), + }, + }, }} /> ); diff --git a/opencti-platform/opencti-front/src/components/TimePickerField.jsx b/opencti-platform/opencti-front/src/components/TimePickerField.jsx index a77c9624bf03..0c7d3ba34ba4 100644 --- a/opencti-platform/opencti-front/src/components/TimePickerField.jsx +++ b/opencti-platform/opencti-front/src/components/TimePickerField.jsx @@ -87,7 +87,7 @@ const TimePickerField = (props) => { onAccept={internalOnAccept} onChange={internalOnChange} views={views} - inputFormat={inputFormat} + format={inputFormat} slotProps={{ textField: { ...textFieldProps, diff --git a/opencti-platform/opencti-front/src/components/dataGrid/DataTableFilters.tsx b/opencti-platform/opencti-front/src/components/dataGrid/DataTableFilters.tsx index b10d3ec89751..9ac6efa2aca6 100644 --- a/opencti-platform/opencti-front/src/components/dataGrid/DataTableFilters.tsx +++ b/opencti-platform/opencti-front/src/components/dataGrid/DataTableFilters.tsx @@ -235,8 +235,8 @@ const DataTableFilters = ({ {redirectionModeEnabled && ( setOpenSettings(false)} maxWidth="xs" fullWidth diff --git a/opencti-platform/opencti-front/src/components/fields/BulkTextField/BulkTextModal.tsx b/opencti-platform/opencti-front/src/components/fields/BulkTextField/BulkTextModal.tsx index e4ebdd0730b2..4287795ef335 100644 --- a/opencti-platform/opencti-front/src/components/fields/BulkTextField/BulkTextModal.tsx +++ b/opencti-platform/opencti-front/src/components/fields/BulkTextField/BulkTextModal.tsx @@ -53,7 +53,7 @@ const BulkTextModal = ({ open={open} onClose={onClose} fullWidth={true} - PaperProps={{ elevation: 1 }} + slotProps={{ desktopPaper: { elevation: 1 } }} > {title || t_i18n('Create multiple entities')} diff --git a/opencti-platform/opencti-front/src/components/fields/EntitySelectWithTypes.tsx b/opencti-platform/opencti-front/src/components/fields/EntitySelectWithTypes.tsx index 30d682297473..7d18e0b5bcdc 100644 --- a/opencti-platform/opencti-front/src/components/fields/EntitySelectWithTypes.tsx +++ b/opencti-platform/opencti-front/src/components/fields/EntitySelectWithTypes.tsx @@ -50,21 +50,25 @@ const EntitySelectWithTypes: FunctionComponent = ({ renderInput={(paramsInput) => ( - : null, - endAdornment: ( - - ), + slotProps={{ + textField: { + InputProps: { + ...paramsInput.InputProps, + sx: { gap: 1 }, + startAdornment: value + ? + : null, + endAdornment: ( + + ), + }, + }, }} label={label} size="small" diff --git a/opencti-platform/opencti-front/src/components/fields/RichTextField.tsx b/opencti-platform/opencti-front/src/components/fields/RichTextField.tsx index 7665710babcf..3fda41747a60 100644 --- a/opencti-platform/opencti-front/src/components/fields/RichTextField.tsx +++ b/opencti-platform/opencti-front/src/components/fields/RichTextField.tsx @@ -125,7 +125,7 @@ const RichTextField = ({ {fullScreen ? ( setFullScreen(false)} fullScreen diff --git a/opencti-platform/opencti-front/src/components/filters/FilterChipPopover.tsx b/opencti-platform/opencti-front/src/components/filters/FilterChipPopover.tsx index 0dafb70db33b..aedb7f30192f 100644 --- a/opencti-platform/opencti-front/src/components/filters/FilterChipPopover.tsx +++ b/opencti-platform/opencti-front/src/components/filters/FilterChipPopover.tsx @@ -332,11 +332,15 @@ export const FilterChipPopover: FunctionComponent = ({ renderInput={(paramsInput) => ( = ({ vertical: 'bottom', horizontal: 'left', }} - PaperProps={{ elevation: 1, style: { marginTop: 10 } }} + slotProps={{ desktopPaper: { elevation: 1, style: { marginTop: 10 } } }} > {filterDefinition?.subFilters && filterDefinition.subFilters.length > 1 ?
{ { }} disableEscapeKeyDown={true} maxWidth="sm" - PaperProps={{ elevation: 1 }} + slotProps={{ desktopPaper: { elevation: 1 } }} sx={{ backdropFilter: 'blur(15px)', marginTop: `${bannerHeightNumber}px`, diff --git a/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceCreation.tsx b/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceCreation.tsx index 3f75abd7d760..bd1f275eb8c3 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceCreation.tsx @@ -314,7 +314,7 @@ const ExternalReferenceCreation: FunctionComponent )} diff --git a/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceDeletion.tsx b/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceDeletion.tsx index 3e949385fc61..2e71e079ea02 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceDeletion.tsx @@ -92,10 +92,10 @@ ExternalReferenceDeletionProps diff --git a/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceDetails.tsx b/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceDetails.tsx index 57f205b2a76f..c2e200aff4e7 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceDetails.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceDetails.tsx @@ -101,10 +101,10 @@ ExternalReferenceDetailsComponentProps diff --git a/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceFileImportViewer.tsx b/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceFileImportViewer.tsx index 1621aa6c0ce2..42890bc084fd 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceFileImportViewer.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferenceFileImportViewer.tsx @@ -249,7 +249,7 @@ ExternalReferenceFileImportViewerBaseProps {({ submitForm, handleReset, isSubmitting, setFieldValue, isValid }) => (
handleReset()} diff --git a/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferencePopover.tsx b/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferencePopover.tsx index 2416dc112784..9988a295a8da 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferencePopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/external_references/ExternalReferencePopover.tsx @@ -165,10 +165,10 @@ ExternalReferencePopoverProps }} /> diff --git a/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixCoreObjectExternalReferencesLines.tsx b/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixCoreObjectExternalReferencesLines.tsx index 5082b7716cb5..c97f11b0ca48 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixCoreObjectExternalReferencesLines.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixCoreObjectExternalReferencesLines.tsx @@ -472,10 +472,10 @@ StixCoreObjectExternalReferencesLinesContainerProps )} @@ -493,10 +493,10 @@ StixCoreObjectExternalReferencesLinesContainerProps @@ -521,7 +521,7 @@ StixCoreObjectExternalReferencesLinesContainerProps {({ submitForm, handleReset, setFieldValue, isSubmitting, isValid }) => ( handleReset()} diff --git a/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixCoreRelationshipExternalReferencesLines.jsx b/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixCoreRelationshipExternalReferencesLines.jsx index e1f558450534..e2c110764bfd 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixCoreRelationshipExternalReferencesLines.jsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixCoreRelationshipExternalReferencesLines.jsx @@ -384,9 +384,9 @@ class StixCoreRelationshipExternalReferencesLinesContainer extends Component { @@ -412,9 +412,9 @@ class StixCoreRelationshipExternalReferencesLinesContainer extends Component { diff --git a/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixSightingRelationshipExternalReferencesLines.jsx b/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixSightingRelationshipExternalReferencesLines.jsx index 9ce4f6186e57..a1b0030cabb0 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixSightingRelationshipExternalReferencesLines.jsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/external_references/StixSightingRelationshipExternalReferencesLines.jsx @@ -380,10 +380,10 @@ class StixSightingRelationshipExternalReferencesLinesContainer extends Component )} @@ -408,10 +408,10 @@ class StixSightingRelationshipExternalReferencesLinesContainer extends Component diff --git a/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingDeletion.tsx b/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingDeletion.tsx index 82c08e97bd7a..8c292c5dadbb 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingDeletion.tsx @@ -74,8 +74,8 @@ const GroupingDeletion: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingKnowledgeGraphBar.jsx b/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingKnowledgeGraphBar.jsx index d0aac8144257..0c3a20766413 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingKnowledgeGraphBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingKnowledgeGraphBar.jsx @@ -472,10 +472,12 @@ class GroupingKnowledgeGraphBar extends Component { anchor="bottom" variant="permanent" classes={{ paper: classes.bottomNav }} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { bottom: bannerSettings.bannerHeightNumber }, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { bottom: bannerSettings.bannerHeightNumber }, + }, }} >
diff --git a/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingPopover.jsx b/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingPopover.jsx index 5d842c9e8b2a..194a3266b2ac 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/groupings/GroupingPopover.jsx @@ -104,8 +104,8 @@ const GroupingPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/analyses/malware_analyses/MalwareAnalysisDeletion.tsx b/opencti-platform/opencti-front/src/private/components/analyses/malware_analyses/MalwareAnalysisDeletion.tsx index 8116376b6ec4..fb8d5c2d5401 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/malware_analyses/MalwareAnalysisDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/malware_analyses/MalwareAnalysisDeletion.tsx @@ -71,10 +71,10 @@ const MalwareAnalysisDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/analyses/malware_analyses/MalwareAnalysisPopover.tsx b/opencti-platform/opencti-front/src/private/components/analyses/malware_analyses/MalwareAnalysisPopover.tsx index 372029d055b2..2d0cf54f6ba2 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/malware_analyses/MalwareAnalysisPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/malware_analyses/MalwareAnalysisPopover.tsx @@ -95,10 +95,10 @@ const MalwareAnalysisPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/analyses/notes/AddNotesFunctionalComponent.tsx b/opencti-platform/opencti-front/src/private/components/analyses/notes/AddNotesFunctionalComponent.tsx index b1303348094d..9c78a5e4b2e7 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/notes/AddNotesFunctionalComponent.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/notes/AddNotesFunctionalComponent.tsx @@ -161,9 +161,11 @@ const AddNotesFunctionalComponent: FunctionComponent {t_i18n('Create a note')} diff --git a/opencti-platform/opencti-front/src/private/components/analyses/notes/NoteCreation.tsx b/opencti-platform/opencti-front/src/private/components/analyses/notes/NoteCreation.tsx index 74fa4e0ca122..469fc55a7be0 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/notes/NoteCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/notes/NoteCreation.tsx @@ -372,7 +372,7 @@ const NoteCreation: FunctionComponent = ({ setOpen(false)} - PaperProps={{ elevation: 1 }} + slotProps={{ desktopPaper: { elevation: 1 } }} > {t_i18n('Create a note')} diff --git a/opencti-platform/opencti-front/src/private/components/analyses/notes/NoteDeletion.tsx b/opencti-platform/opencti-front/src/private/components/analyses/notes/NoteDeletion.tsx index b4b59d7aeba6..308309ddd560 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/notes/NoteDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/notes/NoteDeletion.tsx @@ -84,8 +84,8 @@ const NoteDeletion: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/analyses/notes/NotePopover.tsx b/opencti-platform/opencti-front/src/private/components/analyses/notes/NotePopover.tsx index 1a54d0ad01e5..7bd3edfe7f68 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/notes/NotePopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/notes/NotePopover.tsx @@ -165,8 +165,8 @@ const NotePopover: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/analyses/notes/StixCoreObjectOrStixCoreRelationshipNoteCard.tsx b/opencti-platform/opencti-front/src/private/components/analyses/notes/StixCoreObjectOrStixCoreRelationshipNoteCard.tsx index 802a512817ca..0458172ce53c 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/notes/StixCoreObjectOrStixCoreRelationshipNoteCard.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/notes/StixCoreObjectOrStixCoreRelationshipNoteCard.tsx @@ -283,9 +283,9 @@ StixCoreObjectOrStixCoreRelationshipNoteCardComponentProps diff --git a/opencti-platform/opencti-front/src/private/components/analyses/opinions/OpinionPopover.tsx b/opencti-platform/opencti-front/src/private/components/analyses/opinions/OpinionPopover.tsx index ff9f3a06d01a..7532b95c650b 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/opinions/OpinionPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/opinions/OpinionPopover.tsx @@ -130,8 +130,8 @@ const OpinionPopover: FunctionComponent = ({ opinion, varia {({ submitForm, handleReset }) => ( diff --git a/opencti-platform/opencti-front/src/private/components/analyses/opinions/StixCoreObjectOpinionsList.tsx b/opencti-platform/opencti-front/src/private/components/analyses/opinions/StixCoreObjectOpinionsList.tsx index a5c815f5d7bf..171fcd10ff0f 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/opinions/StixCoreObjectOpinionsList.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/opinions/StixCoreObjectOpinionsList.tsx @@ -63,7 +63,7 @@ const StixCoreObjectOpinionsList: FunctionComponent(stixCoreObjectOpinionsListQuery, queryRef); return ( {opinionOptions.length > 0 && ( = ({ diff --git a/opencti-platform/opencti-front/src/private/components/analyses/reports/ReportKnowledgeGraphBar.jsx b/opencti-platform/opencti-front/src/private/components/analyses/reports/ReportKnowledgeGraphBar.jsx index 3980ad706d27..63737fa6bb4c 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/reports/ReportKnowledgeGraphBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/reports/ReportKnowledgeGraphBar.jsx @@ -501,10 +501,12 @@ class ReportKnowledgeGraphBar extends Component { anchor="bottom" variant="permanent" classes={{ paper: classes.bottomNav }} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { bottom: bannerSettings.bannerHeightNumber }, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { bottom: bannerSettings.bannerHeightNumber }, + }, }} >
diff --git a/opencti-platform/opencti-front/src/private/components/analyses/reports/ReportPopoverDeletion.tsx b/opencti-platform/opencti-front/src/private/components/analyses/reports/ReportPopoverDeletion.tsx index 9e1ffabcaedf..d1c853b0d4ad 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/reports/ReportPopoverDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/reports/ReportPopoverDeletion.tsx @@ -69,8 +69,8 @@ const ReportPopoverDeletion: FunctionComponent = ({ return ( diff --git a/opencti-platform/opencti-front/src/private/components/arsenal/channels/ChannelDeletion.tsx b/opencti-platform/opencti-front/src/private/components/arsenal/channels/ChannelDeletion.tsx index 4ce37127ccc1..47bf3c46ca7a 100644 --- a/opencti-platform/opencti-front/src/private/components/arsenal/channels/ChannelDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/arsenal/channels/ChannelDeletion.tsx @@ -73,8 +73,8 @@ const ChannelDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/arsenal/channels/ChannelPopover.jsx b/opencti-platform/opencti-front/src/private/components/arsenal/channels/ChannelPopover.jsx index 8e01037adb8d..1737b4bf47a7 100644 --- a/opencti-platform/opencti-front/src/private/components/arsenal/channels/ChannelPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/arsenal/channels/ChannelPopover.jsx @@ -92,9 +92,9 @@ const ChannelPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/arsenal/malwares/MalwareDeletion.tsx b/opencti-platform/opencti-front/src/private/components/arsenal/malwares/MalwareDeletion.tsx index a9efaace8071..1ebdb507e05a 100644 --- a/opencti-platform/opencti-front/src/private/components/arsenal/malwares/MalwareDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/arsenal/malwares/MalwareDeletion.tsx @@ -75,8 +75,8 @@ const MalwareDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/arsenal/malwares/MalwarePopover.jsx b/opencti-platform/opencti-front/src/private/components/arsenal/malwares/MalwarePopover.jsx index 3c9904bb518f..f147aed07545 100644 --- a/opencti-platform/opencti-front/src/private/components/arsenal/malwares/MalwarePopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/arsenal/malwares/MalwarePopover.jsx @@ -95,9 +95,9 @@ const MalwarePopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/arsenal/tools/ToolDeletion.tsx b/opencti-platform/opencti-front/src/private/components/arsenal/tools/ToolDeletion.tsx index 0dd2901d382c..0e69e6f7421f 100644 --- a/opencti-platform/opencti-front/src/private/components/arsenal/tools/ToolDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/arsenal/tools/ToolDeletion.tsx @@ -75,8 +75,8 @@ const ToolDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/arsenal/tools/ToolPopover.tsx b/opencti-platform/opencti-front/src/private/components/arsenal/tools/ToolPopover.tsx index 3a6e949bfee7..880a0ae2b2ce 100644 --- a/opencti-platform/opencti-front/src/private/components/arsenal/tools/ToolPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/arsenal/tools/ToolPopover.tsx @@ -116,10 +116,10 @@ const ToolPopover: React.FC = ({ id }) => { handleClose={handleCloseEnrichment} /> diff --git a/opencti-platform/opencti-front/src/private/components/arsenal/vulnerabilities/VulnerabilityDeletion.tsx b/opencti-platform/opencti-front/src/private/components/arsenal/vulnerabilities/VulnerabilityDeletion.tsx index 15f5660937bb..2ee4a803de2f 100644 --- a/opencti-platform/opencti-front/src/private/components/arsenal/vulnerabilities/VulnerabilityDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/arsenal/vulnerabilities/VulnerabilityDeletion.tsx @@ -75,8 +75,8 @@ const VulnerabilityDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/arsenal/vulnerabilities/VulnerabilityPopover.jsx b/opencti-platform/opencti-front/src/private/components/arsenal/vulnerabilities/VulnerabilityPopover.jsx index d22e7a34b9cf..68df3507fdd1 100644 --- a/opencti-platform/opencti-front/src/private/components/arsenal/vulnerabilities/VulnerabilityPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/arsenal/vulnerabilities/VulnerabilityPopover.jsx @@ -94,9 +94,9 @@ const VulnerabilityPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/cases/case_incidents/CaseIncidentDeletion.tsx b/opencti-platform/opencti-front/src/private/components/cases/case_incidents/CaseIncidentDeletion.tsx index 86eb87ba6218..5f833e5816b7 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/case_incidents/CaseIncidentDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/case_incidents/CaseIncidentDeletion.tsx @@ -71,10 +71,10 @@ const CaseIncidentDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/cases/case_incidents/CaseIncidentPopover.tsx b/opencti-platform/opencti-front/src/private/components/cases/case_incidents/CaseIncidentPopover.tsx index a86f0d38edea..6c8e39e791d9 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/case_incidents/CaseIncidentPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/case_incidents/CaseIncidentPopover.tsx @@ -122,10 +122,10 @@ const CaseIncidentPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/cases/case_incidents/IncidentKnowledgeGraphBar.jsx b/opencti-platform/opencti-front/src/private/components/cases/case_incidents/IncidentKnowledgeGraphBar.jsx index 3918c8e7752e..49fd88aa1466 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/case_incidents/IncidentKnowledgeGraphBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/cases/case_incidents/IncidentKnowledgeGraphBar.jsx @@ -475,10 +475,12 @@ class IncidentKnowledgeGraphBar extends Component { anchor="bottom" variant="permanent" classes={{ paper: classes.bottomNav }} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { bottom: bannerSettings.bannerHeightNumber }, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { bottom: bannerSettings.bannerHeightNumber }, + }, }} >
diff --git a/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiDeletion.tsx b/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiDeletion.tsx index 38997c6d0b35..5edffc486195 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiDeletion.tsx @@ -70,8 +70,8 @@ const CaseRfiDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiKnowledgeGraphBar.jsx b/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiKnowledgeGraphBar.jsx index 6eb7a051170b..e9afe2e4a089 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiKnowledgeGraphBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiKnowledgeGraphBar.jsx @@ -475,10 +475,12 @@ class CaseRfiKnowledgeGraphBar extends Component { anchor="bottom" variant="permanent" classes={{ paper: classes.bottomNav }} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { bottom: bannerSettings.bannerHeightNumber }, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { bottom: bannerSettings.bannerHeightNumber }, + }, }} >
diff --git a/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiPopover.tsx b/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiPopover.tsx index 05e44ebaf308..2b0c34b47105 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiPopover.tsx @@ -139,10 +139,10 @@ const CaseRfiPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftDeletion.tsx b/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftDeletion.tsx index fcbdd429aaa2..9ee989b9aaae 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftDeletion.tsx @@ -67,10 +67,10 @@ const CaseRftDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftKnowledgeGraphBar.jsx b/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftKnowledgeGraphBar.jsx index ac2f505cdffe..e3a823826cf5 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftKnowledgeGraphBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftKnowledgeGraphBar.jsx @@ -475,10 +475,12 @@ class CaseRftKnowledgeGraphBar extends Component { anchor="bottom" variant="permanent" classes={{ paper: classes.bottomNav }} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { bottom: bannerSettings.bannerHeightNumber }, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { bottom: bannerSettings.bannerHeightNumber }, + }, }} >
diff --git a/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftPopover.tsx b/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftPopover.tsx index 53a86c369745..03c47d02eaea 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftPopover.tsx @@ -138,10 +138,10 @@ const CaseRftPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/cases/feedbacks/FeedbackDeletion.tsx b/opencti-platform/opencti-front/src/private/components/cases/feedbacks/FeedbackDeletion.tsx index ff073eef26e8..fea8eedc34a8 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/feedbacks/FeedbackDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/feedbacks/FeedbackDeletion.tsx @@ -70,10 +70,10 @@ const FeedbackDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/cases/feedbacks/FeedbackPopover.tsx b/opencti-platform/opencti-front/src/private/components/cases/feedbacks/FeedbackPopover.tsx index 68328a2e1f89..3d8f942dec13 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/feedbacks/FeedbackPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/feedbacks/FeedbackPopover.tsx @@ -108,10 +108,10 @@ const FeedbackPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/cases/tasks/CaseTasksLines.tsx b/opencti-platform/opencti-front/src/private/components/cases/tasks/CaseTasksLines.tsx index 19f3be9f1df7..11dd3890b966 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/tasks/CaseTasksLines.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/tasks/CaseTasksLines.tsx @@ -169,7 +169,7 @@ const CaseTasksLines: FunctionComponent = ({ setOpenCaseTemplate(false)} fullWidth={true} diff --git a/opencti-platform/opencti-front/src/private/components/cases/tasks/TaskDeletion.tsx b/opencti-platform/opencti-front/src/private/components/cases/tasks/TaskDeletion.tsx index a39eadb5f364..a74def980928 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/tasks/TaskDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/tasks/TaskDeletion.tsx @@ -86,10 +86,10 @@ const TaskDeletion = ({ diff --git a/opencti-platform/opencti-front/src/private/components/cases/tasks/TaskPopover.tsx b/opencti-platform/opencti-front/src/private/components/cases/tasks/TaskPopover.tsx index b28f53a852e1..14330040ccc2 100644 --- a/opencti-platform/opencti-front/src/private/components/cases/tasks/TaskPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/cases/tasks/TaskPopover.tsx @@ -141,10 +141,10 @@ const TaskPopover = ({ diff --git a/opencti-platform/opencti-front/src/private/components/common/ai/AIInsights.tsx b/opencti-platform/opencti-front/src/private/components/common/ai/AIInsights.tsx index 20f95fe17ca3..6f524ab7c3ba 100644 --- a/opencti-platform/opencti-front/src/private/components/common/ai/AIInsights.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/ai/AIInsights.tsx @@ -241,7 +241,7 @@ const AIInsights = ({ )} setDisplayAIDialog(false)} fullWidth={true} diff --git a/opencti-platform/opencti-front/src/private/components/common/bulk/dialog/BulkRelationDialog.tsx b/opencti-platform/opencti-front/src/private/components/common/bulk/dialog/BulkRelationDialog.tsx index 623a6f5f7691..b0220464677b 100644 --- a/opencti-platform/opencti-front/src/private/components/common/bulk/dialog/BulkRelationDialog.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/bulk/dialog/BulkRelationDialog.tsx @@ -477,7 +477,7 @@ const BulkRelationDialog : FunctionComponent = ({ return ( <> - + {isSubmitting && renderLoader()}
{t_i18n('Create relations in bulk for')}: {t_i18n(`entity_${stixDomainObjectType}`)}
diff --git a/opencti-platform/opencti-front/src/private/components/common/containers/ContainerStixCoreObjectPopover.jsx b/opencti-platform/opencti-front/src/private/components/common/containers/ContainerStixCoreObjectPopover.jsx index f39af979d88c..e8d9d5c3dd0e 100644 --- a/opencti-platform/opencti-front/src/private/components/common/containers/ContainerStixCoreObjectPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/containers/ContainerStixCoreObjectPopover.jsx @@ -311,10 +311,10 @@ class ContainerStixCoreObjectPopover extends Component { @@ -339,10 +339,10 @@ class ContainerStixCoreObjectPopover extends Component { @@ -393,10 +393,10 @@ class ContainerStixCoreObjectPopover extends Component { )} diff --git a/opencti-platform/opencti-front/src/private/components/common/containers/ContainerStixCoreObjectsMappingHeader.tsx b/opencti-platform/opencti-front/src/private/components/common/containers/ContainerStixCoreObjectsMappingHeader.tsx index 5eec0df6ad92..867f2b371a00 100644 --- a/opencti-platform/opencti-front/src/private/components/common/containers/ContainerStixCoreObjectsMappingHeader.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/containers/ContainerStixCoreObjectsMappingHeader.tsx @@ -54,10 +54,10 @@ const ContainerStixCoreObjectsMappingHeader: FunctionComponent setOpenValidate(false)} > @@ -85,10 +85,10 @@ const ContainerStixCoreObjectsMappingHeader: FunctionComponent setOpenClearMapping(false)} > diff --git a/opencti-platform/opencti-front/src/private/components/common/containers/ContainertKnowledgeTimeLineBar.tsx b/opencti-platform/opencti-front/src/private/components/common/containers/ContainertKnowledgeTimeLineBar.tsx index bc1672c72368..3db9764a26ab 100644 --- a/opencti-platform/opencti-front/src/private/components/common/containers/ContainertKnowledgeTimeLineBar.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/containers/ContainertKnowledgeTimeLineBar.tsx @@ -81,12 +81,14 @@ const ContentKnowledgeTimeLineBar: FunctionComponent diff --git a/opencti-platform/opencti-front/src/private/components/common/containers/StixCoreObjectOrStixCoreRelationshipContainersGraphBar.jsx b/opencti-platform/opencti-front/src/private/components/common/containers/StixCoreObjectOrStixCoreRelationshipContainersGraphBar.jsx index ec128dc45f91..bef712dc3adf 100644 --- a/opencti-platform/opencti-front/src/private/components/common/containers/StixCoreObjectOrStixCoreRelationshipContainersGraphBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/containers/StixCoreObjectOrStixCoreRelationshipContainersGraphBar.jsx @@ -177,10 +177,12 @@ class StixCoreObjectOrStixCoreRelationshipContainersGraphBar extends Component { anchor="bottom" variant="permanent" classes={{ paper: classes.bottomNav }} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { bottom: bannerSettings.bannerHeightNumber }, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { bottom: bannerSettings.bannerHeightNumber }, + }, }} >
e.stopPropagation()} - PaperProps={{ ref }} + slotProps={{ desktopPaper: { ref } }} >
setOpenEnableAI(false)} fullWidth={true} @@ -82,7 +82,7 @@ const EETooltip = ({ setOpenConfigAI(false)} fullWidth={true} diff --git a/opencti-platform/opencti-front/src/private/components/common/entreprise_edition/EnterpriseEditionAgreement.tsx b/opencti-platform/opencti-front/src/private/components/common/entreprise_edition/EnterpriseEditionAgreement.tsx index 4ea4d880d9e3..7dbf67e3d33f 100644 --- a/opencti-platform/opencti-front/src/private/components/common/entreprise_edition/EnterpriseEditionAgreement.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/entreprise_edition/EnterpriseEditionAgreement.tsx @@ -53,7 +53,7 @@ EnterpriseEditionAgreementProps }; return ( {({ resetForm, submitForm, setFieldValue }) => ( - { + { resetForm(); closePopup(); }} diff --git a/opencti-platform/opencti-front/src/private/components/common/files/FileLine.tsx b/opencti-platform/opencti-front/src/private/components/common/files/FileLine.tsx index f106f212794d..4bba194f1857 100644 --- a/opencti-platform/opencti-front/src/private/components/common/files/FileLine.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/files/FileLine.tsx @@ -414,9 +414,9 @@ const FileLineComponent: FunctionComponent = ({ @@ -450,9 +450,9 @@ const FileLineComponent: FunctionComponent = ({ @@ -475,9 +475,9 @@ const FileLineComponent: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/common/files/FileManager.jsx b/opencti-platform/opencti-front/src/private/components/common/files/FileManager.jsx index 5f5974550e6c..06932219b998 100644 --- a/opencti-platform/opencti-front/src/private/components/common/files/FileManager.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/files/FileManager.jsx @@ -304,7 +304,7 @@ const FileManager = ({ {({ submitForm, handleReset, isSubmitting, setFieldValue }) => ( ( { })} setDisplayDelete(null)} > diff --git a/opencti-platform/opencti-front/src/private/components/common/files/FreeTextUploader.tsx b/opencti-platform/opencti-front/src/private/components/common/files/FreeTextUploader.tsx index 563d7effb4f1..aded5f9f1b51 100644 --- a/opencti-platform/opencti-front/src/private/components/common/files/FreeTextUploader.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/files/FreeTextUploader.tsx @@ -141,7 +141,7 @@ const FreeTextUploader = ({ color, entityId, onUploadSuccess, size }: FreeTextUp fullWidth={true} onClose={handleClose} open={isOpen} - PaperProps={{ elevation: 1 }} + slotProps={{ desktopPaper: { elevation: 1 } }} > {t_i18n('Free text import')} diff --git a/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFileContent.jsx b/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFileContent.jsx index 7a779ea17756..c66e3e1daabe 100644 --- a/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFileContent.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFileContent.jsx @@ -4227,9 +4227,9 @@ const WorkbenchFileContentComponent = ({ {currentTab === 4 && renderContainers()} @@ -4258,7 +4258,7 @@ const WorkbenchFileContentComponent = ({ = ({ {({ submitForm, handleReset, isSubmitting }) => ( diff --git a/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFilePopover.jsx b/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFilePopover.jsx index 36aa90034700..78a4af133965 100644 --- a/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFilePopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFilePopover.jsx @@ -121,10 +121,10 @@ class WorkbenchFilePopover extends Component { diff --git a/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFileToolbar.jsx b/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFileToolbar.jsx index c9c43691fbf5..b73a5ec48cfc 100644 --- a/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFileToolbar.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/files/workbench/WorkbenchFileToolbar.jsx @@ -170,12 +170,14 @@ class WorkbenchFileToolbar extends Component { paper: classes.bottomNav, }} open={isOpen} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { - paddingLeft: navOpen ? 185 : 60, - bottom: bannerSettings.bannerHeightNumber, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { + paddingLeft: navOpen ? 185 : 60, + bottom: bannerSettings.bannerHeightNumber, + }, }, }} > @@ -224,9 +226,9 @@ class WorkbenchFileToolbar extends Component { diff --git a/opencti-platform/opencti-front/src/private/components/common/form/CaseTemplateTasks.tsx b/opencti-platform/opencti-front/src/private/components/common/form/CaseTemplateTasks.tsx index ef0505bac61b..b35cf6171e9a 100644 --- a/opencti-platform/opencti-front/src/private/components/common/form/CaseTemplateTasks.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/form/CaseTemplateTasks.tsx @@ -154,7 +154,7 @@ const CaseTemplateTasks: FunctionComponent = ({ )} /> - + initialValues={{ name: '', description: '' }} onSubmit={submitTaskCreation} diff --git a/opencti-platform/opencti-front/src/private/components/common/form/CommitMessage.tsx b/opencti-platform/opencti-front/src/private/components/common/form/CommitMessage.tsx index 85765cef5dba..ade9f34bff51 100644 --- a/opencti-platform/opencti-front/src/private/components/common/form/CommitMessage.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/form/CommitMessage.tsx @@ -97,7 +97,7 @@ const CommitMessage: FunctionComponent = ({ )} ( ( { diff --git a/opencti-platform/opencti-front/src/private/components/common/form/HeightField.tsx b/opencti-platform/opencti-front/src/private/components/common/form/HeightField.tsx index 31786cc5b3ad..73be3d6d7c4a 100644 --- a/opencti-platform/opencti-front/src/private/components/common/form/HeightField.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/form/HeightField.tsx @@ -70,7 +70,7 @@ export const HeightFieldEdit: FunctionComponent = ({ component={TextField} variant="standard" type="number" - InputProps={{ inputProps: { min: 0 } }} + slotProps={{ textField: { InputProps: { inputProps: { min: 0 } } } }} name={`${name}.${index}.measure`} label={t_i18n(`Height (${lengthPrimaryUnit})`)} onSubmit={(_: string, measure: string) => { @@ -225,7 +225,7 @@ export const HeightFieldAdd: FunctionComponent = ({ name={`${name}.${index}.measure`} label={t_i18n(`Height (${lengthPrimaryUnit})`)} type="number" - InputProps={{ inputProps: { min: 0 } }} + slotProps={{ textField: { InputProps: { inputProps: { min: 0 } } } }} /> = ({ renderOption={renderOption} /> diff --git a/opencti-platform/opencti-front/src/private/components/common/form/StixCoreObjectFileExportForm.tsx b/opencti-platform/opencti-front/src/private/components/common/form/StixCoreObjectFileExportForm.tsx index a775c36dd2d0..afd3a7aec677 100644 --- a/opencti-platform/opencti-front/src/private/components/common/form/StixCoreObjectFileExportForm.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/form/StixCoreObjectFileExportForm.tsx @@ -220,7 +220,7 @@ const StixCoreObjectFileExportForm = ({ return ( { handleReset(); diff --git a/opencti-platform/opencti-front/src/private/components/common/form/TextFieldAskAI.tsx b/opencti-platform/opencti-front/src/private/components/common/form/TextFieldAskAI.tsx index f0bd46f75c60..4978789dc341 100644 --- a/opencti-platform/opencti-front/src/private/components/common/form/TextFieldAskAI.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/form/TextFieldAskAI.tsx @@ -289,7 +289,7 @@ const TextFieldAskAI: FunctionComponent = ({ /> )} = ({ name={`${name}.${index}.measure`} label={t_i18n(`Weight (${weightPrimaryUnit})`)} type="number" - InputProps={{ inputProps: { min: 0 } }} + slotProps={{ textField: { InputProps: { inputProps: { min: 0 } } } }} /> = ({ component={TextField} variant="standard" type="number" - InputProps={{ inputProps: { min: 0 } }} + slotProps={{ textField: { InputProps: { inputProps: { min: 0 } } } }} name={`${name}.${index}.measure`} label={t_i18n(`Weight (${weightPrimaryUnit})`)} onSubmit={(_: string, measure: string) => { diff --git a/opencti-platform/opencti-front/src/private/components/common/identities/IdentityCreation.jsx b/opencti-platform/opencti-front/src/private/components/common/identities/IdentityCreation.jsx index e9b01deae9b1..ca5660e569c4 100644 --- a/opencti-platform/opencti-front/src/private/components/common/identities/IdentityCreation.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/identities/IdentityCreation.jsx @@ -161,7 +161,7 @@ class IdentityCreation extends Component { }) => ( = (props) = fullWidth={true} onFocus={(event) => searchEntities(filterKey, cacheEntities, setCacheEntities, event) } - InputProps={{ - ...params.InputProps, - endAdornment: isStixObjectTypes - ? renderSearchScopeSelection(filterKey) - : params.InputProps.endAdornment, + slotProps={{ + textField: { + InputProps: { + ...params.InputProps, + endAdornment: isStixObjectTypes + ? renderSearchScopeSelection(filterKey) + : params.InputProps.endAdornment, + }, + }, }} /> )} diff --git a/opencti-platform/opencti-front/src/private/components/common/lists/FilterDate.tsx b/opencti-platform/opencti-front/src/private/components/common/lists/FilterDate.tsx index dd4ee23e480a..eee35e8a4c03 100644 --- a/opencti-platform/opencti-front/src/private/components/common/lists/FilterDate.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/lists/FilterDate.tsx @@ -1,5 +1,6 @@ import React, { FunctionComponent, useState, KeyboardEvent } from 'react'; import { DatePicker } from '@mui/x-date-pickers/DatePicker'; +import { buildDate } from '../../../../utils/Time'; interface FilterDateProps { defaultHandleAddFilter: ( @@ -65,9 +66,9 @@ const FilterDate: FunctionComponent = ({ handleChangeDate(value as Date)} - onAccept={(value) => handleAcceptDate(value as Date)} + value={buildDate(dateState || findFilterFromKey(inputValues, filterKey, operator)?.values[0])} + onChange={(value) => handleChangeDate(value)} + onAccept={(value) => handleAcceptDate(value)} slotProps={{ textField: (params) => ({ ...params, diff --git a/opencti-platform/opencti-front/src/private/components/common/location/LocationCreation.tsx b/opencti-platform/opencti-front/src/private/components/common/location/LocationCreation.tsx index 1258eb523691..3bf4452105e2 100644 --- a/opencti-platform/opencti-front/src/private/components/common/location/LocationCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/location/LocationCreation.tsx @@ -256,7 +256,7 @@ const LocationCreation: FunctionComponent = ({ > - + {t_i18n('Add a location')} = ({ return ( <> = ({ setAcceptedResult(null)} fullWidth={true} diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContainer.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContainer.jsx index 08b13863d721..698f778cf4f3 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContainer.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContainer.jsx @@ -170,10 +170,10 @@ const StixCoreObjectContainer = ({ elementId }) => { setDisplayAddInContainer(false)} > diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContent.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContent.jsx index 6a9ead5f0fd8..246de351c3df 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContent.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContent.jsx @@ -507,17 +507,21 @@ class StixCoreObjectContentComponent extends Component { multiline={true} onChange={this.onTextFieldChange.bind(this)} fullWidth={true} - InputProps={{ - endAdornment: ( - { - this.onTextFieldChange({ target: { value: val } }); - }} - format="text" - variant="text" - /> - ), + slotProps={{ + textField: { + InputProps: { + endAdornment: ( + { + this.onTextFieldChange({ target: { value: val } }); + }} + format="text" + variant="text" + /> + ), + }, + }, }} />
diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContentBar.tsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContentBar.tsx index 41a31596239b..cea44bf2533d 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContentBar.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContentBar.tsx @@ -59,7 +59,7 @@ StixCoreObjectContentBarProps anchor="bottom" variant="permanent" classes={{ paper: classes.bottomNav }} - PaperProps={{ variant: 'elevation', elevation: 1 }} + slotProps={{ desktopPaper: { variant: 'elevation', elevation: 1 } }} >
( handleReset()} @@ -423,7 +423,7 @@ const StixCoreObjectFilesAndHistory = ({ {({ submitForm, handleReset, isSubmitting, setFieldValue }) => (
diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSharing.tsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSharing.tsx index 99ac18a737ae..6c9a9a127c57 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSharing.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSharing.tsx @@ -200,7 +200,7 @@ const StixCoreObjectSharing: FunctionComponent = ({ > {({ submitForm, handleReset, isSubmitting }) => ( handleReset()} fullWidth={true} @@ -273,7 +273,7 @@ const StixCoreObjectSharing: FunctionComponent = ({ > {({ submitForm, handleReset, isSubmitting }) => ( handleReset()} fullWidth={true} diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSimulationResult.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSimulationResult.jsx index a20db0d03e09..dba9fd001df8 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSimulationResult.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSimulationResult.jsx @@ -656,8 +656,8 @@ const StixCoreObjectSimulationResult = ({ setOpenCallToAction(false)} maxWidth="md" fullWidth={true} diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectsExportCreation.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectsExportCreation.jsx index 7770883c64de..ff9ed9e3a295 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectsExportCreation.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectsExportCreation.jsx @@ -154,7 +154,7 @@ const StixCoreObjectsExportCreationComponent = ({ {({ submitForm, handleReset, isSubmitting, resetForm, setFieldValue }) => ( { resetForm(); diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectsSuggestions.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectsSuggestions.jsx index 61ea7defc078..674c490cdaf7 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectsSuggestions.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectsSuggestions.jsx @@ -340,9 +340,9 @@ const StixCoreObjectsSuggestionsComponent = (props) => { setDisplaySuggestions(false)} maxWidth="md" fullWidth={true} diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects_or_stix_relationships/StixCoreObjectOrCoreRelationshipLabelsView.js b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects_or_stix_relationships/StixCoreObjectOrCoreRelationshipLabelsView.js index 22d5a90fdf84..d8636b122332 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects_or_stix_relationships/StixCoreObjectOrCoreRelationshipLabelsView.js +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects_or_stix_relationships/StixCoreObjectOrCoreRelationshipLabelsView.js @@ -217,9 +217,9 @@ const StixCoreObjectOrCoreRelationshipLabelsView = (props) => { )} {labels && labels.length > 12 && ( { > {({ submitForm, handleReset, isSubmitting, setFieldValue, values }) => ( diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipFromAndToPopover.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipFromAndToPopover.jsx index d53ffc6a36b0..aa63271f5f18 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipFromAndToPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipFromAndToPopover.jsx @@ -144,10 +144,10 @@ class StixCoreRelationshipFromAndToPopover extends Component { diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipHistoryLine.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipHistoryLine.jsx index 0c2a740e140d..a7f3d3677fbc 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipHistoryLine.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipHistoryLine.jsx @@ -418,7 +418,7 @@ class StixCoreRelationshipHistoryLineComponent extends Component {
diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipOverview.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipOverview.jsx index fbfe0f10e52a..97d23ce1e15b 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipOverview.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipOverview.jsx @@ -596,9 +596,9 @@ class StixCoreRelationshipContainer extends Component { )} diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipPopover.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipPopover.jsx index 69e480983241..6f0787dd2f57 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipPopover.jsx @@ -152,10 +152,10 @@ class StixCoreRelationshipPopover extends Component { /> )} diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipSharing.tsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipSharing.tsx index 2d90e7de3d84..edf7a29468e6 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipSharing.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipSharing.tsx @@ -184,7 +184,7 @@ ContainerHeaderSharedProps > {({ submitForm, handleReset, isSubmitting }) => ( handleReset()} fullWidth={true} diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipsExportCreation.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipsExportCreation.jsx index 07aae17ed31f..9a946b555008 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipsExportCreation.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipsExportCreation.jsx @@ -182,7 +182,7 @@ class StixCoreRelationshipsExportCreationComponent extends Component { { resetForm(); diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectCreation.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectCreation.jsx index 873350d2fcf0..8b155b420960 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectCreation.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectCreation.jsx @@ -771,7 +771,7 @@ const StixDomainPanel = ({ return ( diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectHeader.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectHeader.jsx index 2a1ebe68704d..af4a122e001a 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectHeader.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectHeader.jsx @@ -619,9 +619,9 @@ const StixDomainObjectHeader = (props) => {
{!noAliases && ( diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectOverview.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectOverview.jsx index 2183ff8db5ce..25920d591fb4 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectOverview.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectOverview.jsx @@ -407,9 +407,9 @@ const StixDomainObjectOverview = ({ @@ -451,9 +451,9 @@ const StixDomainObjectOverview = ({ > {({ submitForm, handleReset }) => ( @@ -487,9 +487,9 @@ const StixDomainObjectOverview = ({ > {({ submitForm }) => ( diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectsExportCreation.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectsExportCreation.jsx index 111617230bb6..7c2ed8fbcc54 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectsExportCreation.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectsExportCreation.jsx @@ -194,7 +194,7 @@ class StixDomainObjectsExportCreationComponent extends Component { {({ submitForm, handleReset, isSubmitting, resetForm, setFieldValue }) => ( true} /> diff --git a/opencti-platform/opencti-front/src/private/components/data/DataTableToolBar.jsx b/opencti-platform/opencti-front/src/private/components/data/DataTableToolBar.jsx index 69559462e939..336e4ea7b00b 100644 --- a/opencti-platform/opencti-front/src/private/components/data/DataTableToolBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/DataTableToolBar.jsx @@ -2006,10 +2006,10 @@ class DataTableToolBar extends Component {
this.setState({ displayAddInContainer: false })} > @@ -2672,10 +2672,10 @@ class DataTableToolBar extends Component { this.setState({ displayShare: false })} > @@ -2763,10 +2763,10 @@ class DataTableToolBar extends Component { this.setState({ displayUnshare: false })} > diff --git a/opencti-platform/opencti-front/src/private/components/data/ToolBar.jsx b/opencti-platform/opencti-front/src/private/components/data/ToolBar.jsx index f4796d3ae1c4..6628a03db8c9 100644 --- a/opencti-platform/opencti-front/src/private/components/data/ToolBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/ToolBar.jsx @@ -92,12 +92,14 @@ class ToolBar extends Component { variant="persistent" classes={{ paper: paperClass }} open={isOpen} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { - marginLeft: navOpen ? 180 : 55, - bottom: bannerSettings.bannerHeightNumber, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { + marginLeft: navOpen ? 180 : 55, + bottom: bannerSettings.bannerHeightNumber, + }, }, }} > diff --git a/opencti-platform/opencti-front/src/private/components/data/connectors/Connector.jsx b/opencti-platform/opencti-front/src/private/components/data/connectors/Connector.jsx index 0c1a12c30eca..7d38d2e01725 100644 --- a/opencti-platform/opencti-front/src/private/components/data/connectors/Connector.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/connectors/Connector.jsx @@ -682,10 +682,10 @@ const ConnectorComponent = ({ connector, relay }) => { @@ -710,10 +710,10 @@ const ConnectorComponent = ({ connector, relay }) => { @@ -741,10 +741,10 @@ const ConnectorComponent = ({ connector, relay }) => { diff --git a/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorWorksErrorLine.tsx b/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorWorksErrorLine.tsx index 9ce165048344..c4b95b74d844 100644 --- a/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorWorksErrorLine.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorWorksErrorLine.tsx @@ -88,9 +88,9 @@ const ConnectorWorksErrorLine: FunctionComponent = {t_i18n('Details')} diff --git a/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorsStatus.tsx b/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorsStatus.tsx index 9cd539d21db4..dbe0e0a755b9 100644 --- a/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorsStatus.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorsStatus.tsx @@ -286,10 +286,10 @@ const ConnectorsStatusComponent: FunctionComponent setConnectorIdToReset(undefined)} > diff --git a/opencti-platform/opencti-front/src/private/components/data/csvMapper/CsvMapperTestDialog.tsx b/opencti-platform/opencti-front/src/private/components/data/csvMapper/CsvMapperTestDialog.tsx index 5daf72890f9d..b6c7fddbad87 100644 --- a/opencti-platform/opencti-front/src/private/components/data/csvMapper/CsvMapperTestDialog.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/csvMapper/CsvMapperTestDialog.tsx @@ -83,7 +83,7 @@ const CsvMapperTestDialog: FunctionComponent = ({ }; return ( - + {t_i18n('Testing csv mapper')} = (props) => { label={t_i18n('Rolling time (in minutes)')} fullWidth={true} style={{ marginTop: 20 }} - InputProps={{ - endAdornment: ( - - - - - - ), + slotProps={{ + textField: { + InputProps: { + endAdornment: ( + + + + + + ), + }, + }, }} /> { label={t('Rolling time (in minutes)')} fullWidth={true} style={{ marginTop: 20 }} - InputProps={{ - endAdornment: ( - - - - - - ), + slotProps={{ + textField: { + InputProps: { + endAdornment: ( + + + + + + ), + }, + }, }} /> diff --git a/opencti-platform/opencti-front/src/private/components/data/import/ImportContent.jsx b/opencti-platform/opencti-front/src/private/components/data/import/ImportContent.jsx index 24bc7091b832..c145a09452d1 100644 --- a/opencti-platform/opencti-front/src/private/components/data/import/ImportContent.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/import/ImportContent.jsx @@ -438,7 +438,7 @@ const ImportContentComponent = ({ handleReset()} fullWidth={true} @@ -556,7 +556,7 @@ const ImportContentComponent = ({ { setDisplayDelete('')} > diff --git a/opencti-platform/opencti-front/src/private/components/data/import/ImportWorkbenchesContent.tsx b/opencti-platform/opencti-front/src/private/components/data/import/ImportWorkbenchesContent.tsx index ca23b383c04b..c0f2c750061b 100644 --- a/opencti-platform/opencti-front/src/private/components/data/import/ImportWorkbenchesContent.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/import/ImportWorkbenchesContent.tsx @@ -195,9 +195,9 @@ const ImportWorkbenchesContent = () => { setDisplayDelete('')} > diff --git a/opencti-platform/opencti-front/src/private/components/data/ingestionCsv/IngestionCsvMapperTestDialog.tsx b/opencti-platform/opencti-front/src/private/components/data/ingestionCsv/IngestionCsvMapperTestDialog.tsx index b93f7bc43726..3de4efd29fa8 100644 --- a/opencti-platform/opencti-front/src/private/components/data/ingestionCsv/IngestionCsvMapperTestDialog.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/ingestionCsv/IngestionCsvMapperTestDialog.tsx @@ -94,7 +94,7 @@ const IngestionCsvMapperTestDialog: FunctionComponent + {t_i18n('Testing csv mapper')} diff --git a/opencti-platform/opencti-front/src/private/components/data/ingestionCsv/IngestionCsvPopover.tsx b/opencti-platform/opencti-front/src/private/components/data/ingestionCsv/IngestionCsvPopover.tsx index 746d257c09e9..af86ef98b731 100644 --- a/opencti-platform/opencti-front/src/private/components/data/ingestionCsv/IngestionCsvPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/ingestionCsv/IngestionCsvPopover.tsx @@ -234,10 +234,10 @@ const IngestionCsvPopover: FunctionComponent = ({ )} @@ -262,10 +262,10 @@ const IngestionCsvPopover: FunctionComponent = ({ @@ -290,10 +290,10 @@ const IngestionCsvPopover: FunctionComponent = ({ @@ -318,10 +318,10 @@ const IngestionCsvPopover: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/data/ingestionRss/IngestionRssPopover.jsx b/opencti-platform/opencti-front/src/private/components/data/ingestionRss/IngestionRssPopover.jsx index d476ba33f89e..b53aee4d3345 100644 --- a/opencti-platform/opencti-front/src/private/components/data/ingestionRss/IngestionRssPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/ingestionRss/IngestionRssPopover.jsx @@ -222,10 +222,10 @@ class IngestionRssPopover extends Component { }} /> @@ -250,10 +250,10 @@ class IngestionRssPopover extends Component { @@ -278,10 +278,10 @@ class IngestionRssPopover extends Component { diff --git a/opencti-platform/opencti-front/src/private/components/data/ingestionTaxii/IngestionTaxiiPopover.tsx b/opencti-platform/opencti-front/src/private/components/data/ingestionTaxii/IngestionTaxiiPopover.tsx index 0226bfc5ed17..a84b221c762d 100644 --- a/opencti-platform/opencti-front/src/private/components/data/ingestionTaxii/IngestionTaxiiPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/ingestionTaxii/IngestionTaxiiPopover.tsx @@ -245,10 +245,10 @@ const IngestionTaxiiPopover: FunctionComponent = ({ }} /> @@ -273,10 +273,10 @@ const IngestionTaxiiPopover: FunctionComponent = ({ @@ -301,10 +301,10 @@ const IngestionTaxiiPopover: FunctionComponent = ({ @@ -329,10 +329,10 @@ const IngestionTaxiiPopover: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/data/ingestionTaxiiCollection/IngestionTaxiiCollectionPopover.tsx b/opencti-platform/opencti-front/src/private/components/data/ingestionTaxiiCollection/IngestionTaxiiCollectionPopover.tsx index aad5d2ee0a38..2da0b4da7e6e 100644 --- a/opencti-platform/opencti-front/src/private/components/data/ingestionTaxiiCollection/IngestionTaxiiCollectionPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/ingestionTaxiiCollection/IngestionTaxiiCollectionPopover.tsx @@ -207,10 +207,10 @@ const IngestionTaxiiPopover: FunctionComponent = ({ }} /> @@ -235,10 +235,10 @@ const IngestionTaxiiPopover: FunctionComponent = ({ @@ -263,10 +263,10 @@ const IngestionTaxiiPopover: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/data/playbooks/PlaybookHeader.tsx b/opencti-platform/opencti-front/src/private/components/data/playbooks/PlaybookHeader.tsx index 81c7b636e436..51bd4343f491 100644 --- a/opencti-platform/opencti-front/src/private/components/data/playbooks/PlaybookHeader.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/playbooks/PlaybookHeader.tsx @@ -240,8 +240,8 @@ const PlaybookHeaderComponent = ({ setRawData(null)} fullWidth={true} diff --git a/opencti-platform/opencti-front/src/private/components/data/playbooks/PlaybookPopover.jsx b/opencti-platform/opencti-front/src/private/components/data/playbooks/PlaybookPopover.jsx index 1274b2bceb21..80311687f9f0 100644 --- a/opencti-platform/opencti-front/src/private/components/data/playbooks/PlaybookPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/playbooks/PlaybookPopover.jsx @@ -181,10 +181,10 @@ const PlaybookPopover = (props) => { }} /> setDisplayDelete(false)} > @@ -202,10 +202,10 @@ const PlaybookPopover = (props) => { setDisplayStart(false)} > @@ -223,10 +223,10 @@ const PlaybookPopover = (props) => { setDisplayStop(false)} > diff --git a/opencti-platform/opencti-front/src/private/components/data/playbooks/hooks/useManipulateComponents.js b/opencti-platform/opencti-front/src/private/components/data/playbooks/hooks/useManipulateComponents.js index aa3a02c5675a..d6346a6e895a 100644 --- a/opencti-platform/opencti-front/src/private/components/data/playbooks/hooks/useManipulateComponents.js +++ b/opencti-platform/opencti-front/src/private/components/data/playbooks/hooks/useManipulateComponents.js @@ -819,10 +819,10 @@ const useManipulateComponents = (playbook, playbookComponents) => { playbookComponents={playbookComponents} /> { setSelectedNode(null); setAction(null); diff --git a/opencti-platform/opencti-front/src/private/components/data/stream/StreamPopover.jsx b/opencti-platform/opencti-front/src/private/components/data/stream/StreamPopover.jsx index b77b36bfb4f1..95acf4f8b61f 100644 --- a/opencti-platform/opencti-front/src/private/components/data/stream/StreamPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/stream/StreamPopover.jsx @@ -165,10 +165,10 @@ class StreamCollectionPopover extends Component { /> diff --git a/opencti-platform/opencti-front/src/private/components/data/sync/SyncPopover.jsx b/opencti-platform/opencti-front/src/private/components/data/sync/SyncPopover.jsx index 74e291590e33..0674c4c379f5 100644 --- a/opencti-platform/opencti-front/src/private/components/data/sync/SyncPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/sync/SyncPopover.jsx @@ -265,10 +265,10 @@ class SyncPopover extends Component { /> @@ -293,10 +293,10 @@ class SyncPopover extends Component { @@ -321,10 +321,10 @@ class SyncPopover extends Component { diff --git a/opencti-platform/opencti-front/src/private/components/data/tasks/TasksList.jsx b/opencti-platform/opencti-front/src/private/components/data/tasks/TasksList.jsx index 14e1f9ea4acc..9c581289ca9d 100644 --- a/opencti-platform/opencti-front/src/private/components/data/tasks/TasksList.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/tasks/TasksList.jsx @@ -427,10 +427,10 @@ const TasksList = ({ data }) => { ); })} @@ -466,10 +466,10 @@ const TasksList = ({ data }) => { diff --git a/opencti-platform/opencti-front/src/private/components/data/taxii/TaxiiPopover.jsx b/opencti-platform/opencti-front/src/private/components/data/taxii/TaxiiPopover.jsx index 384d773ae77f..53b53dec9270 100644 --- a/opencti-platform/opencti-front/src/private/components/data/taxii/TaxiiPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/taxii/TaxiiPopover.jsx @@ -169,10 +169,10 @@ class TaxiiCollectionPopover extends Component { /> diff --git a/opencti-platform/opencti-front/src/private/components/drafts/DraftContextBanner.tsx b/opencti-platform/opencti-front/src/private/components/drafts/DraftContextBanner.tsx index 748bcae14c73..05a9b5775ec9 100644 --- a/opencti-platform/opencti-front/src/private/components/drafts/DraftContextBanner.tsx +++ b/opencti-platform/opencti-front/src/private/components/drafts/DraftContextBanner.tsx @@ -97,9 +97,9 @@ const DraftContextBanner = () => { setDisplayApprove(false)} > diff --git a/opencti-platform/opencti-front/src/private/components/drafts/DraftPopover.tsx b/opencti-platform/opencti-front/src/private/components/drafts/DraftPopover.tsx index 65c74df1643d..8601b1a18e3b 100644 --- a/opencti-platform/opencti-front/src/private/components/drafts/DraftPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/drafts/DraftPopover.tsx @@ -159,9 +159,9 @@ const DraftPopover: React.FC = ({ @@ -178,8 +178,8 @@ const DraftPopover: React.FC = ({ { diff --git a/opencti-platform/opencti-front/src/private/components/entities/events/EventPopover.jsx b/opencti-platform/opencti-front/src/private/components/entities/events/EventPopover.jsx index 9921158e8f6c..ce8a9debe777 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/events/EventPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/entities/events/EventPopover.jsx @@ -78,8 +78,8 @@ const EventPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/entities/individuals/IndividualDeletion.tsx b/opencti-platform/opencti-front/src/private/components/entities/individuals/IndividualDeletion.tsx index d99d91dbb9eb..f37c3bd12734 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/individuals/IndividualDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/entities/individuals/IndividualDeletion.tsx @@ -75,8 +75,8 @@ const IndividualDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/entities/individuals/IndividualPopover.jsx b/opencti-platform/opencti-front/src/private/components/entities/individuals/IndividualPopover.jsx index 876df3551e76..75f517367bb8 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/individuals/IndividualPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/entities/individuals/IndividualPopover.jsx @@ -80,8 +80,8 @@ const IndividualPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/entities/organizations/OrganizationDeletion.tsx b/opencti-platform/opencti-front/src/private/components/entities/organizations/OrganizationDeletion.tsx index 1078f862b9a3..fe30ff1c507b 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/organizations/OrganizationDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/entities/organizations/OrganizationDeletion.tsx @@ -73,8 +73,8 @@ const OrganizationDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/entities/organizations/OrganizationPopover.jsx b/opencti-platform/opencti-front/src/private/components/entities/organizations/OrganizationPopover.jsx index 7e905d5ea170..229097c43e3b 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/organizations/OrganizationPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/entities/organizations/OrganizationPopover.jsx @@ -78,8 +78,8 @@ const OrganizationPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/entities/sectors/SectorDeletion.tsx b/opencti-platform/opencti-front/src/private/components/entities/sectors/SectorDeletion.tsx index 1f8da4ccc502..4138cd911a16 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/sectors/SectorDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/entities/sectors/SectorDeletion.tsx @@ -75,8 +75,8 @@ const SectorDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/entities/sectors/SectorPopover.jsx b/opencti-platform/opencti-front/src/private/components/entities/sectors/SectorPopover.jsx index a2f54b8472dd..a6523bf6538b 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/sectors/SectorPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/entities/sectors/SectorPopover.jsx @@ -80,8 +80,8 @@ const SectorPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/entities/systems/SystemDeletion.tsx b/opencti-platform/opencti-front/src/private/components/entities/systems/SystemDeletion.tsx index 5bbce9a45db0..dea1a304f606 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/systems/SystemDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/entities/systems/SystemDeletion.tsx @@ -75,8 +75,8 @@ const SystemDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/entities/systems/SystemPopover.jsx b/opencti-platform/opencti-front/src/private/components/entities/systems/SystemPopover.jsx index 6a5c2d313212..8fb83152f86f 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/systems/SystemPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/entities/systems/SystemPopover.jsx @@ -80,8 +80,8 @@ const SystemPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/events/incidents/IncidentDeletion.tsx b/opencti-platform/opencti-front/src/private/components/events/incidents/IncidentDeletion.tsx index 2184061bcd30..d351a4813ba0 100644 --- a/opencti-platform/opencti-front/src/private/components/events/incidents/IncidentDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/events/incidents/IncidentDeletion.tsx @@ -75,8 +75,8 @@ const IncidentDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/events/incidents/IncidentPopover.tsx b/opencti-platform/opencti-front/src/private/components/events/incidents/IncidentPopover.tsx index e21a88e2fe19..e0cf96f404b2 100644 --- a/opencti-platform/opencti-front/src/private/components/events/incidents/IncidentPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/events/incidents/IncidentPopover.tsx @@ -94,10 +94,10 @@ const IncidentPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/events/observed_data/ObservedDataDeletion.tsx b/opencti-platform/opencti-front/src/private/components/events/observed_data/ObservedDataDeletion.tsx index 0e80877aaa61..bf37a990ef14 100644 --- a/opencti-platform/opencti-front/src/private/components/events/observed_data/ObservedDataDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/events/observed_data/ObservedDataDeletion.tsx @@ -75,8 +75,8 @@ const ObservedDataDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/events/observed_data/ObservedDataPopover.jsx b/opencti-platform/opencti-front/src/private/components/events/observed_data/ObservedDataPopover.jsx index b635150d8843..6ace9a21694f 100644 --- a/opencti-platform/opencti-front/src/private/components/events/observed_data/ObservedDataPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/events/observed_data/ObservedDataPopover.jsx @@ -79,8 +79,8 @@ const ObservedDataPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationship.tsx b/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationship.tsx index 07f96cacf92f..ccd708308f2d 100644 --- a/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationship.tsx +++ b/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationship.tsx @@ -114,9 +114,9 @@ StixSightingRelationshipProps {/* Deletion Dialog, hidden by default */} diff --git a/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipHistoryLine.jsx b/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipHistoryLine.jsx index 19b9a96e7607..c806f03ee838 100644 --- a/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipHistoryLine.jsx +++ b/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipHistoryLine.jsx @@ -383,7 +383,7 @@ class StixSightingRelationshipHistoryLineComponent extends Component {
diff --git a/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipOverview.jsx b/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipOverview.jsx index c458a7ba2ed9..c40d0ddc2f6c 100644 --- a/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipOverview.jsx +++ b/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipOverview.jsx @@ -608,9 +608,9 @@ class StixSightingRelationshipContainer extends Component { )} diff --git a/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipPopover.jsx b/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipPopover.jsx index 7bccdeaf703e..40193ff41793 100644 --- a/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipPopover.jsx @@ -150,9 +150,9 @@ class StixSightingRelationshipPopover extends Component { /> diff --git a/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipSharing.tsx b/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipSharing.tsx index 81be605ce0c8..223d315e75dc 100644 --- a/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipSharing.tsx +++ b/opencti-platform/opencti-front/src/private/components/events/stix_sighting_relationships/StixSightingRelationshipSharing.tsx @@ -186,11 +186,11 @@ ContainerHeaderSharedProps > {({ submitForm, handleReset, isSubmitting }) => ( handleReset()} fullWidth={true} - TransitionComponent={Transition} + slots={{ desktopTransition: Transition }} > {t_i18n('Share with an organization')} diff --git a/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/AdministrativeAreaDeletion.tsx b/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/AdministrativeAreaDeletion.tsx index 83228819f5d6..97aaaeb3cafe 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/AdministrativeAreaDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/AdministrativeAreaDeletion.tsx @@ -66,10 +66,10 @@ const AdministrativeAreaDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/AdministrativeAreaPopover.tsx b/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/AdministrativeAreaPopover.tsx index ccb53a80abbc..79b20a5ba159 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/AdministrativeAreaPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/AdministrativeAreaPopover.tsx @@ -89,10 +89,10 @@ const AdministrativeAreaPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/locations/cities/CityDeletion.tsx b/opencti-platform/opencti-front/src/private/components/locations/cities/CityDeletion.tsx index 8b29625761c2..ae8e1748edef 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/cities/CityDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/cities/CityDeletion.tsx @@ -69,10 +69,10 @@ const CityDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/locations/cities/CityPopover.tsx b/opencti-platform/opencti-front/src/private/components/locations/cities/CityPopover.tsx index 02177dd65c1c..e97538ac8fd1 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/cities/CityPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/cities/CityPopover.tsx @@ -102,10 +102,10 @@ const CityPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/locations/countries/CountryDeletion.tsx b/opencti-platform/opencti-front/src/private/components/locations/countries/CountryDeletion.tsx index f705e1726e4f..c654a1e978a2 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/countries/CountryDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/countries/CountryDeletion.tsx @@ -69,10 +69,10 @@ const CountryDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/locations/countries/CountryPopover.tsx b/opencti-platform/opencti-front/src/private/components/locations/countries/CountryPopover.tsx index 64870afee52f..ccf7210e6516 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/countries/CountryPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/countries/CountryPopover.tsx @@ -92,10 +92,10 @@ const CountryPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/locations/positions/PositionDeletion.tsx b/opencti-platform/opencti-front/src/private/components/locations/positions/PositionDeletion.tsx index eea2de2e59b5..edf508767f89 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/positions/PositionDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/positions/PositionDeletion.tsx @@ -72,8 +72,8 @@ const PositionDeletion: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/locations/positions/PositionPopoverDeletion.tsx b/opencti-platform/opencti-front/src/private/components/locations/positions/PositionPopoverDeletion.tsx index ad60da3f6b8a..31b0ddc04af6 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/positions/PositionPopoverDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/positions/PositionPopoverDeletion.tsx @@ -57,8 +57,8 @@ const PositionPopoverDeletion: FunctionComponent = return ( diff --git a/opencti-platform/opencti-front/src/private/components/locations/regions/RegionDeletion.tsx b/opencti-platform/opencti-front/src/private/components/locations/regions/RegionDeletion.tsx index 4f15d3e255a1..b0c0b2563409 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/regions/RegionDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/regions/RegionDeletion.tsx @@ -70,10 +70,10 @@ const RegionDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/locations/regions/RegionPopover.tsx b/opencti-platform/opencti-front/src/private/components/locations/regions/RegionPopover.tsx index e601829aa9ed..bd9c263b1469 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/regions/RegionPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/regions/RegionPopover.tsx @@ -103,10 +103,10 @@ const RegionPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorCreation.tsx b/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorCreation.tsx index 2edef2015d47..b2eedbe9f578 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorCreation.tsx @@ -434,7 +434,7 @@ const IndicatorCreation: FunctionComponent = ({ paginati {t_i18n('Create an indicator')} diff --git a/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorDeletion.tsx b/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorDeletion.tsx index dce1299f0a43..66f1dd8d691b 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorDeletion.tsx @@ -73,8 +73,8 @@ const IndicatorDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorDetails.tsx b/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorDetails.tsx index 8e9a879f4941..0280e7ff006f 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorDetails.tsx +++ b/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorDetails.tsx @@ -114,10 +114,10 @@ const IndicatorDetailsComponent: FunctionComponent diff --git a/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorPopover.jsx b/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorPopover.jsx index 3a701f28b545..cb650ba26c07 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/observations/indicators/IndicatorPopover.jsx @@ -105,8 +105,8 @@ const IndicatorPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/observations/infrastructures/InfrastructureDeletion.tsx b/opencti-platform/opencti-front/src/private/components/observations/infrastructures/InfrastructureDeletion.tsx index 7563900b9699..519a35693f95 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/infrastructures/InfrastructureDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/observations/infrastructures/InfrastructureDeletion.tsx @@ -75,8 +75,8 @@ const InfrastructureDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/observations/infrastructures/InfrastructurePopover.tsx b/opencti-platform/opencti-front/src/private/components/observations/infrastructures/InfrastructurePopover.tsx index b89797ad3499..c8144d47a354 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/infrastructures/InfrastructurePopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/observations/infrastructures/InfrastructurePopover.tsx @@ -87,9 +87,9 @@ const InfrastructurePopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableCreation.jsx b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableCreation.jsx index 366a9445dab0..ce49fcb0b7eb 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableCreation.jsx +++ b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableCreation.jsx @@ -990,7 +990,7 @@ const StixCyberObservableCreation = ({ )} diff --git a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableDeletion.tsx b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableDeletion.tsx index c1842c85f48d..3c3f16bbcebe 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableDeletion.tsx @@ -78,8 +78,8 @@ const StixCyberObservableDeletion = ( diff --git a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableEdition.tsx b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableEdition.tsx index 2409f3540639..ad604030f490 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableEdition.tsx +++ b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableEdition.tsx @@ -87,14 +87,16 @@ const StixCyberObservableEdition: FunctionComponent diff --git a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableIndicators.jsx b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableIndicators.jsx index 29bb91173ff9..071646b26e1e 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableIndicators.jsx +++ b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableIndicators.jsx @@ -210,9 +210,9 @@ const StixCyberObservableIndicatorsComponent = ({ stixCyberObservable }) => { diff --git a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableOverview.jsx b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableOverview.jsx index b0e251de4d5e..7ceafde6f84f 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableOverview.jsx +++ b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservableOverview.jsx @@ -242,9 +242,9 @@ class StixCyberObservableOverview extends Component { diff --git a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablePopover.jsx b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablePopover.jsx index c7b28cc8bd99..2623946d424d 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablePopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablePopover.jsx @@ -145,9 +145,9 @@ class StixCyberObservablePopover extends Component { diff --git a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesExportCreation.jsx b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesExportCreation.jsx index 4c911398e330..9949af88579d 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesExportCreation.jsx +++ b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesExportCreation.jsx @@ -176,7 +176,7 @@ class StixCyberObservablesExportCreationComponent extends Component { { resetForm(); this.handleClose(); diff --git a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesRightBar.jsx b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesRightBar.jsx index 0726906daee4..742c3e292019 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesRightBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesRightBar.jsx @@ -48,10 +48,12 @@ const StixCyberObservablesRightBar = ({ variant="permanent" anchor="right" classes={{ paper: classes.drawerPaper }} - PaperProps={{ - style: { - paddingTop: bannerSettings.bannerHeight, - paddingBottom: bannerSettings.bannerHeight, + slotProps={{ + desktopPaper: { + style: { + paddingTop: bannerSettings.bannerHeight, + paddingBottom: bannerSettings.bannerHeight, + }, }, }} > diff --git a/opencti-platform/opencti-front/src/private/components/profile/ProfileLocalStorage.tsx b/opencti-platform/opencti-front/src/private/components/profile/ProfileLocalStorage.tsx index c206d4ec11bb..ad41c52934d4 100644 --- a/opencti-platform/opencti-front/src/private/components/profile/ProfileLocalStorage.tsx +++ b/opencti-platform/opencti-front/src/private/components/profile/ProfileLocalStorage.tsx @@ -52,9 +52,9 @@ const ProfileLocalStorage: React.FC = () => { {/* Confirmation dialog */} setDisplayConfirmation(false)} > diff --git a/opencti-platform/opencti-front/src/private/components/profile/ProfileOverview.jsx b/opencti-platform/opencti-front/src/private/components/profile/ProfileOverview.jsx index 509effb8ccf6..d5b50ca3e117 100644 --- a/opencti-platform/opencti-front/src/private/components/profile/ProfileOverview.jsx +++ b/opencti-platform/opencti-front/src/private/components/profile/ProfileOverview.jsx @@ -287,7 +287,7 @@ const ProfileOverviewComponent = (props) => {
setDisplay2FA(false)} > diff --git a/opencti-platform/opencti-front/src/private/components/profile/notifications/NotificationLine.tsx b/opencti-platform/opencti-front/src/private/components/profile/notifications/NotificationLine.tsx index d9b8d71a36d2..6fa6f3294c03 100644 --- a/opencti-platform/opencti-front/src/private/components/profile/notifications/NotificationLine.tsx +++ b/opencti-platform/opencti-front/src/private/components/profile/notifications/NotificationLine.tsx @@ -326,9 +326,9 @@ NotificationLineProps @@ -350,8 +350,8 @@ NotificationLineProps setOpen(false)} diff --git a/opencti-platform/opencti-front/src/private/components/profile/notifications/NotificationsToolBar.tsx b/opencti-platform/opencti-front/src/private/components/profile/notifications/NotificationsToolBar.tsx index 24c84e97aebf..473839a3345c 100644 --- a/opencti-platform/opencti-front/src/private/components/profile/notifications/NotificationsToolBar.tsx +++ b/opencti-platform/opencti-front/src/private/components/profile/notifications/NotificationsToolBar.tsx @@ -224,12 +224,14 @@ const NotificationsToolBar: FunctionComponent = ({ variant="persistent" classes={{ paper: classes.bottomNav }} open={isOpen} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { - paddingLeft: navOpen ? 185 : 60, - bottom: bannerSettings?.bannerHeightNumber ?? 0, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { + paddingLeft: navOpen ? 185 : 60, + bottom: bannerSettings?.bannerHeightNumber ?? 0, + }, }, }} > @@ -293,10 +295,10 @@ const NotificationsToolBar: FunctionComponent = ({ = ({ disableRestoreFocus={true} open={open ?? false} onClose={handleClose} - PaperProps={{ elevation: 1 }} + slotProps={{ desktopPaper: { elevation: 1 } }} > = ({ disableRestoreFocus={true} open={open ?? false} onClose={onReset} - PaperProps={{ elevation: 1 }} + slotProps={{ desktopPaper: { elevation: 1 } }} > diff --git a/opencti-platform/opencti-front/src/private/components/settings/Policies.tsx b/opencti-platform/opencti-front/src/private/components/settings/Policies.tsx index 896d5adc0877..ddbe2993ff80 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/Policies.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/Policies.tsx @@ -224,10 +224,10 @@ const PoliciesComponent: FunctionComponent = ({ /> setOpenPlatformOrganizationChanges(false)} > {t_i18n('Numerous repercussions linked to the activation of this feature')} diff --git a/opencti-platform/opencti-front/src/private/components/settings/RulesList.jsx b/opencti-platform/opencti-front/src/private/components/settings/RulesList.jsx index ffd073ac3604..1926f116a884 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/RulesList.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/RulesList.jsx @@ -652,9 +652,9 @@ const RulesListComponent = ({ relay, data, keyword }) => { })} @@ -686,9 +686,9 @@ const RulesListComponent = ({ relay, data, keyword }) => { diff --git a/opencti-platform/opencti-front/src/private/components/settings/SessionsList.jsx b/opencti-platform/opencti-front/src/private/components/settings/SessionsList.jsx index c4ea4f1de0b5..567811a4d752 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/SessionsList.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/SessionsList.jsx @@ -200,9 +200,9 @@ const SessionsListComponent = ({ relay, data, keyword }) => { diff --git a/opencti-platform/opencti-front/src/private/components/settings/Settings.jsx b/opencti-platform/opencti-front/src/private/components/settings/Settings.jsx index f68e0f6e150c..bc7e4c2dad5a 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/Settings.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/Settings.jsx @@ -367,10 +367,10 @@ const Settings = () => { {t_i18n('Disable Enterprise Edition')} setOpenEEChanges(false)} > {t_i18n('Disable Enterprise Edition')} diff --git a/opencti-platform/opencti-front/src/private/components/settings/activity/alerting/AlertDigestCreation.tsx b/opencti-platform/opencti-front/src/private/components/settings/activity/alerting/AlertDigestCreation.tsx index 69a70ebe82fc..bcae1b15bec9 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/activity/alerting/AlertDigestCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/activity/alerting/AlertDigestCreation.tsx @@ -341,7 +341,7 @@ const AlertDigestCreation: FunctionComponent = ({ disableRestoreFocus={true} open={open ?? false} onClose={handleClose} - PaperProps={{ elevation: 1 }} + slotProps={{ desktopPaper: { elevation: 1 } }} > = diff --git a/opencti-platform/opencti-front/src/private/components/settings/attributes/VocabularyPopover.tsx b/opencti-platform/opencti-front/src/private/components/settings/attributes/VocabularyPopover.tsx index edbfd6367483..5f1a695b56ef 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/attributes/VocabularyPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/attributes/VocabularyPopover.tsx @@ -116,10 +116,10 @@ const VocabularyPopover: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplateTasks.tsx b/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplateTasks.tsx index df5437680e12..94ea4032dd97 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplateTasks.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplateTasks.tsx @@ -150,9 +150,9 @@ const CaseHeaderMenu: FunctionComponent = ({
diff --git a/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplateTasksPopover.tsx b/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplateTasksPopover.tsx index 291e6a56c99e..67447907a0aa 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplateTasksPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplateTasksPopover.tsx @@ -157,9 +157,9 @@ const CaseTemplateTasksPopover: FunctionComponent @@ -178,9 +178,9 @@ const CaseTemplateTasksPopover: FunctionComponent diff --git a/opencti-platform/opencti-front/src/private/components/settings/decay/DecayRulePopover.tsx b/opencti-platform/opencti-front/src/private/components/settings/decay/DecayRulePopover.tsx index 07e2c85b9192..e4eb055ced92 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/decay/DecayRulePopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/decay/DecayRulePopover.tsx @@ -115,9 +115,9 @@ const DecayRulePopover = ({ decayRule }: DecayRulePopoverProps) => { diff --git a/opencti-platform/opencti-front/src/private/components/settings/groups/GroupPopover.tsx b/opencti-platform/opencti-front/src/private/components/settings/groups/GroupPopover.tsx index 2a04b4d360f8..f2ca7ab5cc95 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/groups/GroupPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/groups/GroupPopover.tsx @@ -120,9 +120,9 @@ const GroupPopover = ({ groupId, disabled = false }: { groupId: string, disabled diff --git a/opencti-platform/opencti-front/src/private/components/settings/kill_chain_phases/KillChainPhasePopover.jsx b/opencti-platform/opencti-front/src/private/components/settings/kill_chain_phases/KillChainPhasePopover.jsx index 28e486c7a8de..677c49180b2e 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/kill_chain_phases/KillChainPhasePopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/kill_chain_phases/KillChainPhasePopover.jsx @@ -122,9 +122,9 @@ class KillChainPhasePopover extends Component { /> diff --git a/opencti-platform/opencti-front/src/private/components/settings/labels/LabelCreation.jsx b/opencti-platform/opencti-front/src/private/components/settings/labels/LabelCreation.jsx index 0b9469ea098a..bd73378fec80 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/labels/LabelCreation.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/labels/LabelCreation.jsx @@ -200,7 +200,7 @@ class LabelCreation extends Component { diff --git a/opencti-platform/opencti-front/src/private/components/settings/labels/LabelPopover.jsx b/opencti-platform/opencti-front/src/private/components/settings/labels/LabelPopover.jsx index eef3a4ee3d8e..a06445e34358 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/labels/LabelPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/labels/LabelPopover.jsx @@ -120,9 +120,9 @@ class LabelPopover extends Component { /> diff --git a/opencti-platform/opencti-front/src/private/components/settings/marking_definitions/MarkingDefinitionPopover.jsx b/opencti-platform/opencti-front/src/private/components/settings/marking_definitions/MarkingDefinitionPopover.jsx index b083c218bee6..d60f8019d3f8 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/marking_definitions/MarkingDefinitionPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/marking_definitions/MarkingDefinitionPopover.jsx @@ -133,9 +133,9 @@ const MarkingDefinitionPopover = ({ /> diff --git a/opencti-platform/opencti-front/src/private/components/settings/notifiers/NotifierTestDialog.tsx b/opencti-platform/opencti-front/src/private/components/settings/notifiers/NotifierTestDialog.tsx index 20b3ae9b4166..ba09d921abff 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/notifiers/NotifierTestDialog.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/notifiers/NotifierTestDialog.tsx @@ -82,7 +82,7 @@ const NotifierTestDialog: FunctionComponent = ({ const [target, setTarget] = useState('default_notification'); return ( - + {t_i18n('Testing notifier')}
diff --git a/opencti-platform/opencti-front/src/private/components/settings/platform_alerts/PlatformCriticalAlertDialog.tsx b/opencti-platform/opencti-front/src/private/components/settings/platform_alerts/PlatformCriticalAlertDialog.tsx index 519a3d9cd299..68617db91fc1 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/platform_alerts/PlatformCriticalAlertDialog.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/platform_alerts/PlatformCriticalAlertDialog.tsx @@ -43,8 +43,8 @@ const PlatformCriticalAlertDialog: React.FC = return ( {t_i18n('Important notice: your action is required!')} diff --git a/opencti-platform/opencti-front/src/private/components/settings/retention/RetentionCreation.tsx b/opencti-platform/opencti-front/src/private/components/settings/retention/RetentionCreation.tsx index 5c32c7da0e0f..34a6980ca995 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/retention/RetentionCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/retention/RetentionCreation.tsx @@ -183,22 +183,26 @@ const RetentionCreation = ({ paginationOptions }: { paginationOptions: Retention fullWidth={true} onChange={() => setVerified(false)} style={{ marginTop: 20 }} - InputProps={{ - endAdornment: ( - - - - - - ), + slotProps={{ + textField: { + InputProps: { + endAdornment: ( + + + + + + ), + }, + }, }} /> { onChange={() => setVerified(false)} fullWidth={true} style={{ marginTop: 20 }} - InputProps={{ - endAdornment: ( - - - - - - ), + slotProps={{ + textField: { + InputProps: { + endAdornment: ( + + + + + + ), + }, + }, }} /> {retentionRule.scope === 'knowledge' diff --git a/opencti-platform/opencti-front/src/private/components/settings/retention/RetentionPopover.jsx b/opencti-platform/opencti-front/src/private/components/settings/retention/RetentionPopover.jsx index 412b188d1295..fe74128959e8 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/retention/RetentionPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/retention/RetentionPopover.jsx @@ -151,9 +151,9 @@ class RetentionPopover extends Component { /> diff --git a/opencti-platform/opencti-front/src/private/components/settings/roles/RolePopover.jsx b/opencti-platform/opencti-front/src/private/components/settings/roles/RolePopover.jsx index f1158538babb..d9e3d3ef68b7 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/roles/RolePopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/roles/RolePopover.jsx @@ -155,9 +155,9 @@ class RolePopover extends Component { /> diff --git a/opencti-platform/opencti-front/src/private/components/settings/status_templates/StatusTemplateCreation.tsx b/opencti-platform/opencti-front/src/private/components/settings/status_templates/StatusTemplateCreation.tsx index 5872df08aaf1..8b4c3f8a0fe5 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/status_templates/StatusTemplateCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/status_templates/StatusTemplateCreation.tsx @@ -200,7 +200,7 @@ const StatusTemplateCreation: FunctionComponent = ( diff --git a/opencti-platform/opencti-front/src/private/components/settings/status_templates/StatusTemplatePopover.tsx b/opencti-platform/opencti-front/src/private/components/settings/status_templates/StatusTemplatePopover.tsx index 82aff6de9550..b7a459bbfbca 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/status_templates/StatusTemplatePopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/status_templates/StatusTemplatePopover.tsx @@ -138,9 +138,9 @@ const StatusTemplatePopover: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusAdd.tsx b/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusAdd.tsx index 529331cfc350..f0a389af87ab 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusAdd.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusAdd.tsx @@ -96,7 +96,7 @@ SubTypeWorkflowStatusAddProps diff --git a/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusEdit.tsx b/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusEdit.tsx index 2777b22c3c40..694f769c8d8f 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusEdit.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusEdit.tsx @@ -119,10 +119,10 @@ const SubTypeWorkflowStatusEdit: FunctionComponent = ({ {t_i18n('Update a status')} diff --git a/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusPopover.tsx b/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusPopover.tsx index 4609220b16fe..b9ac19bb6288 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/sub_types/SubTypeWorkflowStatusPopover.tsx @@ -93,9 +93,9 @@ SubTypeStatusPopoverProps )} diff --git a/opencti-platform/opencti-front/src/private/components/settings/sub_types/ToolBar.tsx b/opencti-platform/opencti-front/src/private/components/settings/sub_types/ToolBar.tsx index cf5ae71e70b1..1f85aca3a9b6 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/sub_types/ToolBar.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/sub_types/ToolBar.tsx @@ -170,10 +170,12 @@ const ToolBar: FunctionComponent<{ variant="persistent" classes={{ paper: classes.bottomNav }} open={numberOfSelectedElements > 0 || selectAll} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { paddingLeft: navOpen ? 185 : 60, bottom: bannerHeightNumber }, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { paddingLeft: navOpen ? 185 : 60, bottom: bannerHeightNumber }, + }, }} > @@ -250,7 +252,7 @@ const ToolBar: FunctionComponent<{ diff --git a/opencti-platform/opencti-front/src/private/components/settings/sub_types/fintel_templates/FintelTemplateFormDrawer.tsx b/opencti-platform/opencti-front/src/private/components/settings/sub_types/fintel_templates/FintelTemplateFormDrawer.tsx index 6d528c5861b7..35eb573b7b64 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/sub_types/fintel_templates/FintelTemplateFormDrawer.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/sub_types/fintel_templates/FintelTemplateFormDrawer.tsx @@ -138,9 +138,9 @@ const FintelTemplateFormDrawer = ({ diff --git a/opencti-platform/opencti-front/src/private/components/settings/sub_types/fintel_templates/FintelTemplatePopover.tsx b/opencti-platform/opencti-front/src/private/components/settings/sub_types/fintel_templates/FintelTemplatePopover.tsx index ba8b40b5d1a4..2070476a6f35 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/sub_types/fintel_templates/FintelTemplatePopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/sub_types/fintel_templates/FintelTemplatePopover.tsx @@ -112,9 +112,9 @@ const FintelTemplatePopover = ({ diff --git a/opencti-platform/opencti-front/src/private/components/settings/support/SupportPackageLine.tsx b/opencti-platform/opencti-front/src/private/components/settings/support/SupportPackageLine.tsx index c36608b0f199..6ddad1752265 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/support/SupportPackageLine.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/support/SupportPackageLine.tsx @@ -254,9 +254,9 @@ const SupportPackageLine: FunctionComponent = ({ diff --git a/opencti-platform/opencti-front/src/private/components/settings/users/User.tsx b/opencti-platform/opencti-front/src/private/components/settings/users/User.tsx index 662c474e34cf..8e27b13e9dde 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/users/User.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/users/User.tsx @@ -796,9 +796,9 @@ const User: FunctionComponent = ({ data, refetch }) => { /> @@ -821,9 +821,9 @@ const User: FunctionComponent = ({ data, refetch }) => { @@ -846,9 +846,9 @@ const User: FunctionComponent = ({ data, refetch }) => { diff --git a/opencti-platform/opencti-front/src/private/components/settings/users/UserHistoryLine.tsx b/opencti-platform/opencti-front/src/private/components/settings/users/UserHistoryLine.tsx index 198d243dfaf1..d2c246ff9c8a 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/users/UserHistoryLine.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/users/UserHistoryLine.tsx @@ -356,7 +356,7 @@ const UserHistoryLine: FunctionComponent = ({ node }) => {
diff --git a/opencti-platform/opencti-front/src/private/components/settings/users/UserPopover.jsx b/opencti-platform/opencti-front/src/private/components/settings/users/UserPopover.jsx index 1e339b15d95e..5fb72fc28f20 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/users/UserPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/users/UserPopover.jsx @@ -131,9 +131,9 @@ class UserPopover extends Component { /> {t('Do you want to delete this user?')} diff --git a/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternCreation.tsx b/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternCreation.tsx index 1d43fa598158..8a74bd8b9013 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternCreation.tsx @@ -352,7 +352,7 @@ const AttackPatternCreation = ({ ) } - + {t_i18n('Create an attack pattern')} { diff --git a/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternPopover.jsx b/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternPopover.jsx index d1fc8fc0d2a6..94cbd57204f7 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternPopover.jsx @@ -79,8 +79,8 @@ const AttackPatternPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternsMatrixBar.jsx b/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternsMatrixBar.jsx index cdc9b160bdce..5d86b58d109e 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternsMatrixBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/AttackPatternsMatrixBar.jsx @@ -46,12 +46,14 @@ class AttackPatternsMatrixBar extends Component { anchor="bottom" variant="permanent" classes={{ paper: classes.bottomNav }} - PaperProps={{ - variant: 'elevation', - elevation: 1, - style: { - paddingLeft: navOpen ? 190 : 70, - bottom: bannerSettings.bannerHeightNumber, + slotProps={{ + desktopPaper: { + variant: 'elevation', + elevation: 1, + style: { + paddingLeft: navOpen ? 190 : 70, + bottom: bannerSettings.bannerHeightNumber, + }, }, }} > diff --git a/opencti-platform/opencti-front/src/private/components/techniques/courses_of_action/CourseOfActionCreation.tsx b/opencti-platform/opencti-front/src/private/components/techniques/courses_of_action/CourseOfActionCreation.tsx index e241c5b2e755..e88264e6b05c 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/courses_of_action/CourseOfActionCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/courses_of_action/CourseOfActionCreation.tsx @@ -332,7 +332,7 @@ const CourseOfActionCreation: FunctionComponent = ({ ) } - + {t_i18n('Create a course of action')} { diff --git a/opencti-platform/opencti-front/src/private/components/techniques/courses_of_action/CouseOfActionDeletion.tsx b/opencti-platform/opencti-front/src/private/components/techniques/courses_of_action/CouseOfActionDeletion.tsx index 55f8a856ce42..e238fd9f4101 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/courses_of_action/CouseOfActionDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/courses_of_action/CouseOfActionDeletion.tsx @@ -75,8 +75,8 @@ const CourseOfActionDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentCreation.tsx b/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentCreation.tsx index 2281874e9f65..3000206e1e6a 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentCreation.tsx @@ -380,7 +380,7 @@ const DataComponentCreation: FunctionComponent<{ ) } - + {t_i18n('Create a data component')} setBulkOpen(true)} /> diff --git a/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentDeletion.tsx b/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentDeletion.tsx index c0aa3d26a42a..a742516e091f 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentDeletion.tsx @@ -73,8 +73,8 @@ const DataComponentDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentPopover.tsx b/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentPopover.tsx index cda6b312e645..ce99ca79d2b0 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentPopover.tsx @@ -87,8 +87,8 @@ const DataComponentPopover: FunctionComponent<{ dataComponentId: string }> = ({ diff --git a/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourceCreation.tsx b/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourceCreation.tsx index a1f5b01e32bd..9b715b027234 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourceCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourceCreation.tsx @@ -390,7 +390,7 @@ const DataSourceCreation: FunctionComponent = ({ ) } - + {t_i18n('Create a data source')} setBulkOpen(true)} /> diff --git a/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourceDeletion.tsx b/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourceDeletion.tsx index 936261188537..0a2ff076ab8c 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourceDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourceDeletion.tsx @@ -73,8 +73,8 @@ const DataSourceDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourcePopover.tsx b/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourcePopover.tsx index af0a7b88ae05..a3e81191b815 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourcePopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/data_sources/DataSourcePopover.tsx @@ -94,8 +94,8 @@ const DataSourcePopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativeCreation.tsx b/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativeCreation.tsx index 6292f24e9319..292c0e7f0fbf 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativeCreation.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativeCreation.tsx @@ -394,7 +394,7 @@ const NarrativeCreation: FunctionComponent = ({ ) } - + {t_i18n('Create a narrative')} setBulkOpen(true)} /> diff --git a/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativeDeletion.tsx b/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativeDeletion.tsx index 69fae2762731..9d3ffca8289b 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativeDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativeDeletion.tsx @@ -73,8 +73,8 @@ const NarrativeDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativePopover.jsx b/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativePopover.jsx index 17c395d5aaa2..77995da52cb7 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativePopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/narratives/NarrativePopover.jsx @@ -77,8 +77,8 @@ const NarrativePopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/threats/campaigns/CampaignDeletion.tsx b/opencti-platform/opencti-front/src/private/components/threats/campaigns/CampaignDeletion.tsx index 56764421b33e..c2f7995b2fc9 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/campaigns/CampaignDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/threats/campaigns/CampaignDeletion.tsx @@ -75,8 +75,8 @@ const CampaignDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/threats/campaigns/CampaignPopover.jsx b/opencti-platform/opencti-front/src/private/components/threats/campaigns/CampaignPopover.jsx index a48a7a3eca60..45ac9255e631 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/campaigns/CampaignPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/threats/campaigns/CampaignPopover.jsx @@ -92,8 +92,8 @@ const CampaignPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/threats/intrusion_sets/IntrusionSetDeletion.tsx b/opencti-platform/opencti-front/src/private/components/threats/intrusion_sets/IntrusionSetDeletion.tsx index 61bc80ba826f..012004f33bcd 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/intrusion_sets/IntrusionSetDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/threats/intrusion_sets/IntrusionSetDeletion.tsx @@ -75,8 +75,8 @@ const CampaignDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/threats/intrusion_sets/IntrusionSetPopover.jsx b/opencti-platform/opencti-front/src/private/components/threats/intrusion_sets/IntrusionSetPopover.jsx index a8942b81480b..b656ccac9133 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/intrusion_sets/IntrusionSetPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/threats/intrusion_sets/IntrusionSetPopover.jsx @@ -92,8 +92,8 @@ const IntrusionSetPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/threats/threat_actors_group/ThreatActorGroupDeletion.tsx b/opencti-platform/opencti-front/src/private/components/threats/threat_actors_group/ThreatActorGroupDeletion.tsx index 1501782d58c6..a4b634dc0749 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/threat_actors_group/ThreatActorGroupDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/threats/threat_actors_group/ThreatActorGroupDeletion.tsx @@ -75,8 +75,8 @@ const ThreatActorGroupDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/threats/threat_actors_group/ThreatActorGroupPopover.jsx b/opencti-platform/opencti-front/src/private/components/threats/threat_actors_group/ThreatActorGroupPopover.jsx index 28d693822ffd..b24f426e2400 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/threat_actors_group/ThreatActorGroupPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/threats/threat_actors_group/ThreatActorGroupPopover.jsx @@ -92,8 +92,8 @@ const ThreatActorGroupPopover = ({ id }) => { diff --git a/opencti-platform/opencti-front/src/private/components/threats/threat_actors_individual/ThreatActorIndividualDeletion.tsx b/opencti-platform/opencti-front/src/private/components/threats/threat_actors_individual/ThreatActorIndividualDeletion.tsx index f51055e7f1dd..14d0549cc462 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/threat_actors_individual/ThreatActorIndividualDeletion.tsx +++ b/opencti-platform/opencti-front/src/private/components/threats/threat_actors_individual/ThreatActorIndividualDeletion.tsx @@ -73,8 +73,8 @@ const ThreatActorIndividualDeletion = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/threats/threat_actors_individual/ThreatActorIndividualPopover.tsx b/opencti-platform/opencti-front/src/private/components/threats/threat_actors_individual/ThreatActorIndividualPopover.tsx index e032850ab1cf..934e0a41d3b8 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/threat_actors_individual/ThreatActorIndividualPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/threats/threat_actors_individual/ThreatActorIndividualPopover.tsx @@ -114,9 +114,9 @@ const ThreatActorIndividualPopover = ({ id }: { id: string }) => { diff --git a/opencti-platform/opencti-front/src/private/components/trash/all/DeleteOperationPopover.tsx b/opencti-platform/opencti-front/src/private/components/trash/all/DeleteOperationPopover.tsx index c86fa378211f..6b7849b48f3d 100644 --- a/opencti-platform/opencti-front/src/private/components/trash/all/DeleteOperationPopover.tsx +++ b/opencti-platform/opencti-front/src/private/components/trash/all/DeleteOperationPopover.tsx @@ -152,10 +152,10 @@ const DeleteOperationPopover: React.FC = ({ mainEnt = label={t_i18n('Variable name')} disabled sx={{ flex: 1 }} - InputProps={{ - startAdornment: $, + slotProps={{ + textField: { + InputProps: { + startAdornment: $, + }, + }, }} /> diff --git a/opencti-platform/opencti-front/src/private/components/widgets/WidgetCreationParameters.tsx b/opencti-platform/opencti-front/src/private/components/widgets/WidgetCreationParameters.tsx index b7e313a99015..ddee67e5fa7a 100644 --- a/opencti-platform/opencti-front/src/private/components/widgets/WidgetCreationParameters.tsx +++ b/opencti-platform/opencti-front/src/private/components/widgets/WidgetCreationParameters.tsx @@ -168,8 +168,12 @@ const WidgetCreationParameters = () => { onChange={(event) => setConfigVariableName(event.target.value)} error={isWidgetVarNameAlreadyUsed || !isVariableNameValid} helperText={varNameError} - InputProps={{ - startAdornment: $, + slotProps={{ + textField: { + InputProps: { + startAdornment: $, + }, + }, }} />
diff --git a/opencti-platform/opencti-front/src/private/components/widgets/WidgetUpsert.tsx b/opencti-platform/opencti-front/src/private/components/widgets/WidgetUpsert.tsx index 740deeb6c6dd..0e261439ab68 100644 --- a/opencti-platform/opencti-front/src/private/components/widgets/WidgetUpsert.tsx +++ b/opencti-platform/opencti-front/src/private/components/widgets/WidgetUpsert.tsx @@ -34,8 +34,8 @@ const WidgetUpsert: FunctionComponent = ({ return ( !context.validationError && handleDateChange('startDate', value)} + onChange={(value, context) => !context.validationError && handleDateChange('startDate', value.toString())} slotProps={{ textField: { style: { marginRight: 20 }, @@ -272,13 +272,13 @@ const WorkspaceHeader = ({ }} /> !context.validationError && handleDateChange('endDate', value)} + onChange={(value, context) => !context.validationError && handleDateChange('endDate', value.toString())} slotProps={{ textField: { style: { marginRight: 20 }, @@ -435,9 +435,9 @@ const WorkspaceHeader = ({
diff --git a/opencti-platform/opencti-front/src/private/components/workspaces/WorkspacePopover.jsx b/opencti-platform/opencti-front/src/private/components/workspaces/WorkspacePopover.jsx index 9c33a1574e4b..bcbbc0641578 100644 --- a/opencti-platform/opencti-front/src/private/components/workspaces/WorkspacePopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/workspaces/WorkspacePopover.jsx @@ -235,9 +235,9 @@ const WorkspacePopover = ({ workspace, paginationOptions }) => { /> diff --git a/opencti-platform/opencti-front/src/private/components/workspaces/WorkspaceTurnToContainerDialog.tsx b/opencti-platform/opencti-front/src/private/components/workspaces/WorkspaceTurnToContainerDialog.tsx index e6a0fb51027b..be36e9a9e1bb 100644 --- a/opencti-platform/opencti-front/src/private/components/workspaces/WorkspaceTurnToContainerDialog.tsx +++ b/opencti-platform/opencti-front/src/private/components/workspaces/WorkspaceTurnToContainerDialog.tsx @@ -158,10 +158,10 @@ const WorkspaceTurnToContainerDialog: FunctionComponent handleClose()} > diff --git a/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/DashboardTimeFilters.tsx b/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/DashboardTimeFilters.tsx index 9bcfa57aebdc..695d718bdd51 100644 --- a/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/DashboardTimeFilters.tsx +++ b/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/DashboardTimeFilters.tsx @@ -9,6 +9,7 @@ import Security from '../../../../utils/Security'; import { useFormatter } from '../../../../components/i18n'; import { useGetCurrentUserAccessRight } from '../../../../utils/authorizedMembers'; import { Dashboard_workspace$data } from './__generated__/Dashboard_workspace.graphql'; +import { buildDate } from '../../../../utils/Time'; interface DashboardTimeFiltersProps { workspace: Dashboard_workspace$data @@ -59,11 +60,11 @@ const DashboardTimeFilters: React.FC = ({ !context.validationError && handleDateChange('startDate', value)} + onChange={(value, context) => !context.validationError && handleDateChange('startDate', value?.toString() ?? null)} slotProps={{ textField: { style: { marginRight: 8 }, @@ -73,11 +74,11 @@ const DashboardTimeFilters: React.FC = ({ }} /> !context.validationError && handleDateChange('endDate', value)} + onChange={(value, context) => !context.validationError && handleDateChange('endDate', value?.toString() ?? null)} slotProps={{ textField: { variant: 'outlined', diff --git a/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/WorkspaceWidgetPopover.jsx b/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/WorkspaceWidgetPopover.jsx index b7bad872253c..0d9c84058900 100644 --- a/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/WorkspaceWidgetPopover.jsx +++ b/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/WorkspaceWidgetPopover.jsx @@ -87,9 +87,9 @@ const WorkspaceWidgetPopover = ({ setDisplayDelete(false)} className="noDrag" > @@ -107,9 +107,9 @@ const WorkspaceWidgetPopover = ({ setDisplayDuplicate(false)} className="noDrag" > diff --git a/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/public_dashboards/PublicDashboardCreationForm.tsx b/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/public_dashboards/PublicDashboardCreationForm.tsx index 42cf6cfd8ddf..397d2609d813 100644 --- a/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/public_dashboards/PublicDashboardCreationForm.tsx +++ b/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/public_dashboards/PublicDashboardCreationForm.tsx @@ -156,12 +156,16 @@ const PublicDashboardCreationFormComponent = ({ label={t_i18n('Public dashboard URI KEY')} helperText={t_i18n('ID of your public dashboard')} style={fieldSpacingContainerStyle} - InputProps={{ - startAdornment: ( - - public/dashboard/ - - ), + slotProps={{ + textField: { + InputProps: { + startAdornment: ( + + public/dashboard/ + + ), + }, + }, }} /> @@ -949,9 +951,9 @@ class InvestigationGraphBar extends Component { diff --git a/opencti-platform/opencti-front/src/private/components/workspaces/investigations/dialog/InvestigationRollBackExpandDialog.tsx b/opencti-platform/opencti-front/src/private/components/workspaces/investigations/dialog/InvestigationRollBackExpandDialog.tsx index 88d8d811d53d..e59b39559e47 100644 --- a/opencti-platform/opencti-front/src/private/components/workspaces/investigations/dialog/InvestigationRollBackExpandDialog.tsx +++ b/opencti-platform/opencti-front/src/private/components/workspaces/investigations/dialog/InvestigationRollBackExpandDialog.tsx @@ -31,7 +31,7 @@ const InvestigationRollBackExpandDialog = ({ closeDialog, handleRollBackToPreExp return ( !context.validationError && onChangeStartDate(value)} + onChange={(value, context) => !context.validationError && onChangeStartDate(value?.toString() ?? null)} slotProps={{ field: { clearable: true, @@ -89,10 +90,10 @@ const PublicDashboardHeader = ({ /> !context.validationError && onChangeEndDate(value)} + onChange={(value, context) => !context.validationError && onChangeEndDate(value?.toString() ?? null)} sx={{ width: 220 }} slotProps={{ field: { diff --git a/opencti-platform/opencti-front/src/utils/ai/ResponseDialog.tsx b/opencti-platform/opencti-front/src/utils/ai/ResponseDialog.tsx index ba3e94c6809f..6268bff27f6e 100644 --- a/opencti-platform/opencti-front/src/utils/ai/ResponseDialog.tsx +++ b/opencti-platform/opencti-front/src/utils/ai/ResponseDialog.tsx @@ -104,7 +104,7 @@ const ResponseDialog: FunctionComponent = ({ return ( <> { setContent(''); @@ -126,18 +126,22 @@ const ResponseDialog: FunctionComponent = ({ multiline={true} onChange={(event) => setContent(event.target.value)} fullWidth={true} - InputProps={{ - endAdornment: ( - { - setContent(val); - }} - format="text" - variant="text" - disabled={isDisabled} - /> - ), + slotProps={{ + textField: { + InputProps: { + endAdornment: ( + { + setContent(val); + }} + format="text" + variant="text" + disabled={isDisabled} + /> + ), + }, + }, }} /> )} diff --git a/opencti-platform/opencti-front/src/utils/graph/EntitiesDetailsRightBar.tsx b/opencti-platform/opencti-front/src/utils/graph/EntitiesDetailsRightBar.tsx index b2531663373a..d61fe86604cd 100644 --- a/opencti-platform/opencti-front/src/utils/graph/EntitiesDetailsRightBar.tsx +++ b/opencti-platform/opencti-front/src/utils/graph/EntitiesDetailsRightBar.tsx @@ -119,7 +119,7 @@ EntityDetailsRightsBarProps variant="permanent" anchor="right" classes={{ paper: classes.drawerPaper }} - PaperProps={{ variant: 'outlined' }} + slotProps={{ desktopPaper: { variant: 'outlined' } }} transitionDuration={theme.transitions.duration.enteringScreen} >