nmrium 1.10.1 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
- package/lib/component/1d/BrushTracker1D.js +7 -0
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +170 -109
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/FloatingRanges.d.ts.map +1 -1
- package/lib/component/1d/FloatingRanges.js +3 -3
- package/lib/component/1d/FloatingRanges.js.map +1 -1
- package/lib/component/1d/SVGContent1D.js +1 -1
- package/lib/component/1d/SVGContent1D.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js +4 -4
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/matrix/Boxplot.js +1 -1
- package/lib/component/1d/matrix/Stocsy.js +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +2 -2
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js +2 -2
- package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
- package/lib/component/1d/peaks/Peaks.js +2 -2
- package/lib/component/1d/peaks/Peaks.js.map +1 -1
- package/lib/component/1d/ranges/Range.d.ts +1 -1
- package/lib/component/1d/ranges/Range.js +3 -3
- package/lib/component/1d/ranges/Range.js.map +1 -1
- package/lib/component/1d/ranges/Ranges.js +2 -2
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d/ranges/RangesIntegrals.js +1 -1
- package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.d.ts +1 -1
- package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.d.ts.map +1 -1
- package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.js +4 -4
- package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +14 -5
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js +2 -2
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts +1 -1
- package/lib/component/2d/SVGContent2D.d.ts +1 -1
- package/lib/component/2d/YAxis.js +3 -3
- package/lib/component/2d/YAxis.js.map +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts +1 -1
- package/lib/component/2d/tools/XYLabelPointer.d.ts +1 -1
- package/lib/component/2d/useTracesSpectra.js +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +5 -5
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/2d/zones/Zone.js +1 -1
- package/lib/component/2d/zones/Zone.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js +9 -3
- package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
- package/lib/component/context/LoggerContext.d.ts +1 -0
- package/lib/component/context/LoggerContext.d.ts.map +1 -1
- package/lib/component/context/LoggerContext.js.map +1 -1
- package/lib/component/context/PreferencesContext.d.ts +1 -1
- package/lib/component/context/PreferencesContext.d.ts.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts +9 -5
- package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js +42 -10
- package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
- package/lib/component/elements/Alert.d.ts.map +1 -1
- package/lib/component/elements/Alert.js +3 -2
- package/lib/component/elements/Alert.js.map +1 -1
- package/lib/component/elements/DraggableDialog.d.ts +1 -1
- package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
- package/lib/component/elements/NextPrev.d.ts.map +1 -1
- package/lib/component/elements/NextPrev.js +23 -4
- package/lib/component/elements/NextPrev.js.map +1 -1
- package/lib/component/elements/StandardDialog.d.ts +3 -0
- package/lib/component/elements/StandardDialog.d.ts.map +1 -0
- package/lib/component/elements/StandardDialog.js +7 -0
- package/lib/component/elements/StandardDialog.js.map +1 -0
- package/lib/component/elements/ToolbarPopoverItem.d.ts +7 -2
- package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.js +6 -2
- package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
- package/lib/component/elements/export/ExportManager.js +1 -1
- package/lib/component/elements/export/ExportManager.js.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.js +3 -2
- package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
- package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts +1 -1
- package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
- package/lib/component/elements/print/PrintContent.js +3 -2
- package/lib/component/elements/print/PrintContent.js.map +1 -1
- package/lib/component/header/Header.js +1 -1
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/hooks/useActiveNucleusTab.js +1 -1
- package/lib/component/hooks/useActiveNucleusTab.js.map +1 -1
- package/lib/component/hooks/useActiveSpectrumRangesViewState.js +1 -1
- package/lib/component/hooks/useDatumWithSpectraStatistics.js +1 -1
- package/lib/component/hooks/useDatumWithSpectraStatistics.js.map +1 -1
- package/lib/component/hooks/useExport.d.ts +7 -7
- package/lib/component/hooks/useExport.d.ts.map +1 -1
- package/lib/component/hooks/useExport.js +23 -43
- package/lib/component/hooks/useExport.js.map +1 -1
- package/lib/component/hooks/useSVGUnitConverter.d.ts.map +1 -1
- package/lib/component/hooks/useSVGUnitConverter.js +12 -9
- package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
- package/lib/component/hooks/useSaveSettings.js +3 -2
- package/lib/component/hooks/useSaveSettings.js.map +1 -1
- package/lib/component/hooks/useSetActiveSpectrumAction.d.ts.map +1 -1
- package/lib/component/hooks/useSetActiveSpectrumAction.js +3 -1
- package/lib/component/hooks/useSetActiveSpectrumAction.js.map +1 -1
- package/lib/component/hooks/useTextMetrics.d.ts +16 -1
- package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
- package/lib/component/hooks/useTextMetrics.js +43 -15
- package/lib/component/hooks/useTextMetrics.js.map +1 -1
- package/lib/component/hooks/useToggleSpectraVisibility.js +1 -1
- package/lib/component/hooks/use_acs_settings.d.ts +4 -0
- package/lib/component/hooks/use_acs_settings.d.ts.map +1 -0
- package/lib/component/hooks/use_acs_settings.js +21 -0
- package/lib/component/hooks/use_acs_settings.js.map +1 -0
- package/lib/component/hooks/use_publication_strings.d.ts +9 -0
- package/lib/component/hooks/use_publication_strings.d.ts.map +1 -0
- package/lib/component/hooks/use_publication_strings.js +42 -0
- package/lib/component/hooks/use_publication_strings.js.map +1 -0
- package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
- package/lib/component/loader/useLoadFiles.js +81 -86
- package/lib/component/loader/useLoadFiles.js.map +1 -1
- package/lib/component/main/ErrorOverlay.d.ts.map +1 -1
- package/lib/component/main/ErrorOverlay.js +6 -1
- package/lib/component/main/ErrorOverlay.js.map +1 -1
- package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
- package/lib/component/main/InnerNMRiumContents.js +1 -2
- package/lib/component/main/InnerNMRiumContents.js.map +1 -1
- package/lib/component/main/NMRiumViewer.js +2 -2
- package/lib/component/main/NMRiumViewer.js.map +1 -1
- package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
- package/lib/component/main/NMRiumViewerWrapper.js +9 -3
- package/lib/component/main/NMRiumViewerWrapper.js.map +1 -1
- package/lib/component/modal/AboutPredictionModal.js +2 -2
- package/lib/component/modal/AboutPredictionModal.js.map +1 -1
- package/lib/component/modal/AboutSpectrumSimulationModal.js +2 -2
- package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.js +4 -3
- package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
- package/lib/component/modal/ExportAsJcampModal.d.ts.map +1 -1
- package/lib/component/modal/ExportAsJcampModal.js +3 -2
- package/lib/component/modal/ExportAsJcampModal.js.map +1 -1
- package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/ImportPublicationStringModal.js +3 -2
- package/lib/component/modal/ImportPublicationStringModal.js.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js +3 -2
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
- package/lib/component/modal/LogsHistoryModal.js +3 -2
- package/lib/component/modal/LogsHistoryModal.js.map +1 -1
- package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts +6 -0
- package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts.map +1 -0
- package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js +128 -0
- package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js.map +1 -0
- package/lib/component/modal/MoleculeStructureEditorModal.d.ts.map +1 -1
- package/lib/component/modal/MoleculeStructureEditorModal.js +4 -3
- package/lib/component/modal/MoleculeStructureEditorModal.js.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.js +2 -2
- package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
- package/lib/component/modal/PredictSpectraModal.d.ts.map +1 -1
- package/lib/component/modal/PredictSpectraModal.js +3 -2
- package/lib/component/modal/PredictSpectraModal.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts +10 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +89 -77
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/SaveAsModal.d.ts.map +1 -1
- package/lib/component/modal/SaveAsModal.js +6 -9
- package/lib/component/modal/SaveAsModal.js.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js +2 -2
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModal.d.ts.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModal.js +2 -2
- package/lib/component/modal/changeSum/ChangeSumModal.js.map +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.js +4 -1
- package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.js +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js +3 -2
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/{GeneralSettings.d.ts → general_settings.d.ts} +1 -1
- package/lib/component/modal/setting/general_settings.d.ts.map +1 -0
- package/lib/component/modal/setting/{GeneralSettings.js → general_settings.js} +11 -5
- package/lib/component/modal/setting/general_settings.js.map +1 -0
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +1 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +1 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +1 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +1 -1
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +1 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +1 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +1 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +1 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts +8 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js +65 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +624 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js +42 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +624 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js +22 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +7 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js +50 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.d.ts +7 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js +105 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +622 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +55 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +123 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.js +11 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +622 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js +34 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +622 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.js +26 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +622 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js +123 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +622 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js +40 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.d.ts +10 -0
- package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.js +40 -0
- package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +166 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js +58 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +40 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js +37 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts +37 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.js +26 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts +9 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js +18 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts +167 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js +69 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +342 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation.js +51 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -0
- package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.js +2 -2
- package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js +2 -2
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +75 -20
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js +4 -4
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +17 -17
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getUniqueDiaIDs.d.ts +1 -1
- package/lib/component/panels/Panels.d.ts +0 -9
- package/lib/component/panels/Panels.d.ts.map +1 -1
- package/lib/component/panels/Panels.js +13 -54
- package/lib/component/panels/Panels.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesHeader.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesHeader.js +23 -15
- package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js +2 -2
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js +1 -1
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js +3 -2
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +3 -2
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseInfo.js +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +1 -1
- package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js +2 -2
- package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.js +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +1 -1
- package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/header/DefaultPanelHeader.js +2 -1
- package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -1
- package/lib/component/panels/hooks/useMoleculeAnnotationCore.js +1 -1
- package/lib/component/panels/hooks/useMoleculeAnnotationCore.js.map +1 -1
- package/lib/component/panels/hooks/useTogglePanel.d.ts.map +1 -1
- package/lib/component/panels/hooks/useTogglePanel.js +4 -3
- package/lib/component/panels/hooks/useTogglePanel.js.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.js +3 -2
- package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
- package/lib/component/panels/informationPanel/InformationPanel.d.ts.map +1 -1
- package/lib/component/panels/informationPanel/InformationPanel.js +38 -3
- package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.js +3 -3
- package/lib/component/reducer/actions/CorrelationsActions.js +2 -2
- package/lib/component/reducer/actions/DatabaseActions.js +1 -1
- package/lib/component/reducer/actions/DomainActions.js +1 -1
- package/lib/component/reducer/actions/InsetActions.js +2 -2
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +8 -2
- package/lib/component/reducer/actions/LoadAction.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +23 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +5 -5
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +1 -1
- package/lib/component/reducer/actions/RangesActions.js +2 -2
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +2 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +3 -3
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +2 -2
- package/lib/component/reducer/actions/ZonesActions.d.ts +1 -1
- package/lib/component/reducer/actions/ZonesActions.js +2 -2
- package/lib/component/reducer/helper/get2DRange.d.ts +1 -1
- package/lib/component/reducer/preferences/actions/analyzeSpectra.d.ts +2 -1
- package/lib/component/reducer/preferences/actions/analyzeSpectra.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/analyzeSpectra.js +10 -0
- package/lib/component/reducer/preferences/actions/analyzeSpectra.js.map +1 -1
- package/lib/component/reducer/preferences/actions/toggleOpenSplitPanel.d.ts +4 -0
- package/lib/component/reducer/preferences/actions/toggleOpenSplitPanel.d.ts.map +1 -0
- package/lib/component/reducer/preferences/actions/toggleOpenSplitPanel.js +9 -0
- package/lib/component/reducer/preferences/actions/toggleOpenSplitPanel.js.map +1 -0
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +8 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js +8 -3
- package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
- package/lib/component/toolbar/ToolBar.d.ts.map +1 -1
- package/lib/component/toolbar/ToolBar.js +11 -8
- package/lib/component/toolbar/ToolBar.js.map +1 -1
- package/lib/component/toolbar/toolbarMenu.d.ts +5 -1
- package/lib/component/toolbar/toolbarMenu.d.ts.map +1 -1
- package/lib/component/toolbar/toolbarMenu.js +1 -1
- package/lib/component/toolbar/toolbarMenu.js.map +1 -1
- package/lib/component/utility/export.d.ts +2 -1
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +6 -2
- package/lib/component/utility/export.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +3 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/PredictionManager.js +1 -1
- package/lib/data/SpectraManager.d.ts +1 -1
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectRanges.js +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts +1 -0
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +14 -0
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +13 -6
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/molecules/MoleculeManager.d.ts +6 -1
- package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
- package/lib/data/molecules/MoleculeManager.js +3 -2
- package/lib/data/molecules/MoleculeManager.js.map +1 -1
- package/lib/data/utilities/FindUtilities.js +2 -2
- package/lib/utils/clipboard/clipboardComponents.js +2 -2
- package/lib/utils/clipboard/clipboardComponents.js.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/package.json +45 -45
- package/src/component/1d/BrushTracker1D.tsx +8 -0
- package/src/component/1d/FloatPublicationString.tsx +275 -177
- package/src/component/1d/FloatingRanges.tsx +1 -3
- package/src/component/1d/SVGContent1D.tsx +1 -1
- package/src/component/1d/inset/DraggableInset.tsx +2 -4
- package/src/component/1d/integral/IntegralResizable.tsx +1 -1
- package/src/component/1d/matrix/Boxplot.tsx +1 -1
- package/src/component/1d/matrix/Stocsy.tsx +1 -1
- package/src/component/1d/multiAnalysis/AnalysisRange.tsx +1 -1
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +2 -2
- package/src/component/1d/peaks/PeakAnnotations.tsx +2 -2
- package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +2 -2
- package/src/component/1d/peaks/Peaks.tsx +2 -2
- package/src/component/1d/ranges/Range.tsx +5 -5
- package/src/component/1d/ranges/Ranges.tsx +2 -2
- package/src/component/1d/ranges/RangesIntegrals.tsx +1 -1
- package/src/component/1d/ranges/useAssignmentsPopoverActionsButtons.tsx +5 -5
- package/src/component/1d/tool/BaseLineZones.tsx +1 -1
- package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +14 -6
- package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +1 -2
- package/src/component/2d/FooterBanner.tsx +1 -1
- package/src/component/2d/SVGContent2D.tsx +1 -1
- package/src/component/2d/YAxis.tsx +3 -3
- package/src/component/2d/ft/FTContainer.tsx +1 -1
- package/src/component/2d/tools/XYLabelPointer.tsx +1 -1
- package/src/component/2d/useTracesSpectra.ts +1 -1
- package/src/component/2d/zones/SignalsGuideLines.tsx +5 -5
- package/src/component/2d/zones/Zone.tsx +1 -1
- package/src/component/EventsTrackers/BrushTracker.tsx +1 -1
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +9 -3
- package/src/component/context/LoggerContext.tsx +9 -0
- package/src/component/context/PreferencesContext.tsx +1 -1
- package/src/component/elements/ActionsButtonsPopover.tsx +80 -24
- package/src/component/elements/Alert.tsx +4 -2
- package/src/component/elements/DraggableDialog.tsx +2 -2
- package/src/component/elements/NextPrev.tsx +28 -4
- package/src/component/elements/StandardDialog.tsx +11 -0
- package/src/component/elements/ToolbarPopoverItem.tsx +16 -3
- package/src/component/elements/export/ExportManager.tsx +1 -1
- package/src/component/elements/export/ExportOptionsModal.tsx +3 -3
- package/src/component/elements/print/PrintContent.tsx +4 -9
- package/src/component/header/Header.tsx +1 -1
- package/src/component/hooks/useActiveNucleusTab.ts +1 -1
- package/src/component/hooks/useActiveSpectrumRangesViewState.ts +1 -1
- package/src/component/hooks/useDatumWithSpectraStatistics.ts +1 -1
- package/src/component/hooks/useExport.tsx +36 -66
- package/src/component/hooks/useSVGUnitConverter.ts +13 -9
- package/src/component/hooks/useSaveSettings.tsx +4 -3
- package/src/component/hooks/useSetActiveSpectrumAction.ts +3 -2
- package/src/component/hooks/useTextMetrics.ts +66 -18
- package/src/component/hooks/useToggleSpectraVisibility.tsx +1 -1
- package/src/component/hooks/use_acs_settings.ts +27 -0
- package/src/component/hooks/use_publication_strings.ts +67 -0
- package/src/component/loader/useLoadFiles.ts +134 -111
- package/src/component/main/ErrorOverlay.tsx +11 -2
- package/src/component/main/InnerNMRiumContents.tsx +6 -9
- package/src/component/main/NMRiumViewer.tsx +3 -3
- package/src/component/main/NMRiumViewerWrapper.tsx +12 -6
- package/src/component/modal/AboutPredictionModal.tsx +3 -3
- package/src/component/modal/AboutSpectrumSimulationModal.tsx +3 -3
- package/src/component/modal/EditPeakShapeModal.tsx +5 -4
- package/src/component/modal/ExportAsJcampModal.tsx +4 -3
- package/src/component/modal/ImportPublicationStringModal.tsx +4 -3
- package/src/component/modal/LoadJCAMPModal.tsx +4 -3
- package/src/component/modal/LogsHistoryModal.tsx +4 -3
- package/src/component/modal/MoleculeAutoLabelsDatabaseModal.tsx +220 -0
- package/src/component/modal/MoleculeStructureEditorModal.tsx +9 -4
- package/src/component/modal/MultipletAnalysisModal.tsx +3 -3
- package/src/component/modal/PredictSpectraModal.tsx +4 -3
- package/src/component/modal/PublicationStringModal.tsx +234 -134
- package/src/component/modal/SaveAsModal.tsx +18 -50
- package/src/component/modal/aboutUs/AboutUsModal.tsx +3 -3
- package/src/component/modal/changeSum/ChangeSumModal.tsx +5 -4
- package/src/component/modal/changeSum/SelectMolecule.tsx +23 -23
- package/src/component/modal/editRange/EditRangeModal.tsx +1 -1
- package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +1 -1
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +4 -3
- package/src/component/modal/setting/{GeneralSettings.tsx → general_settings.tsx} +34 -4
- package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +1 -1
- package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +106 -0
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +69 -0
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +39 -0
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.tsx +98 -0
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.tsx +218 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +231 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.tsx +24 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/general_tab.tsx +94 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.tsx +72 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.tsx +261 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/panels_tab.tsx +150 -0
- package/src/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.ts +55 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts +63 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.ts +42 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.ts +26 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts +21 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.ts +80 -0
- package/src/component/modal/setting/tanstack_general_settings/validation.ts +66 -0
- package/src/component/panels/MoleculesPanel/MoleculeOptionsPanel.tsx +2 -2
- package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +2 -2
- package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +106 -21
- package/src/component/panels/MoleculesPanel/MoleculeStructure.tsx +5 -5
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +21 -21
- package/src/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.ts +1 -1
- package/src/component/panels/MoleculesPanel/utilities/extractFromAtom.ts +1 -1
- package/src/component/panels/MoleculesPanel/utilities/getAssignIds.ts +1 -1
- package/src/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.ts +1 -1
- package/src/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.ts +2 -2
- package/src/component/panels/MoleculesPanel/utilities/getUniqueDiaIDs.ts +1 -1
- package/src/component/panels/Panels.tsx +5 -93
- package/src/component/panels/RangesPanel/RangesHeader.tsx +34 -29
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +1 -1
- package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +3 -3
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +1 -1
- package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +4 -3
- package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +4 -3
- package/src/component/panels/databasePanel/DatabaseInfo.tsx +1 -1
- package/src/component/panels/databasePanel/DatabasePanel.tsx +1 -1
- package/src/component/panels/databasePanel/DatabaseStructureSearchModal.tsx +3 -3
- package/src/component/panels/databasePanel/DatabaseTable.tsx +1 -1
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +1 -1
- package/src/component/panels/header/DefaultPanelHeader.tsx +2 -1
- package/src/component/panels/hooks/useMoleculeAnnotationCore.ts +1 -1
- package/src/component/panels/hooks/useTogglePanel.ts +4 -3
- package/src/component/panels/informationPanel/InformationEditionModal.tsx +4 -3
- package/src/component/panels/informationPanel/InformationPanel.tsx +83 -2
- package/src/component/reducer/actions/AssignmentsActions.ts +3 -3
- package/src/component/reducer/actions/CorrelationsActions.ts +2 -2
- package/src/component/reducer/actions/DatabaseActions.ts +1 -1
- package/src/component/reducer/actions/DomainActions.ts +1 -1
- package/src/component/reducer/actions/InsetActions.ts +2 -2
- package/src/component/reducer/actions/LoadAction.ts +17 -3
- package/src/component/reducer/actions/MoleculeActions.ts +7 -5
- package/src/component/reducer/actions/PreferencesActions.ts +1 -1
- package/src/component/reducer/actions/RangesActions.ts +4 -4
- package/src/component/reducer/actions/SpectraActions.ts +7 -3
- package/src/component/reducer/actions/ToolsActions.ts +2 -2
- package/src/component/reducer/actions/ZonesActions.ts +3 -3
- package/src/component/reducer/helper/get2DRange.ts +1 -1
- package/src/component/reducer/preferences/actions/analyzeSpectra.ts +16 -0
- package/src/component/reducer/preferences/actions/toggleOpenSplitPanel.ts +18 -0
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +1 -1
- package/src/component/reducer/preferences/preferencesReducer.ts +24 -3
- package/src/component/toolbar/ToolBar.tsx +15 -10
- package/src/component/toolbar/toolbarMenu.tsx +13 -2
- package/src/component/utility/export.ts +7 -1
- package/src/component/workspaces/workspaceDefaultProperties.ts +5 -1
- package/src/data/PredictionManager.ts +1 -1
- package/src/data/SpectraManager.ts +2 -2
- package/src/data/data1d/Spectrum1D/ranges/autoRangesDetection.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/detectRanges.ts +1 -1
- package/src/data/data1d/multipleSpectraAnalysis.ts +20 -0
- package/src/data/data2d/Spectrum2D/contours.ts +16 -6
- package/src/data/molecules/MoleculeManager.ts +7 -2
- package/src/data/utilities/FindUtilities.ts +2 -2
- package/src/utils/clipboard/clipboardComponents.tsx +3 -3
- package/src/versionInfo.ts +1 -1
- package/lib/component/modal/setting/GeneralSettings.d.ts.map +0 -1
- package/lib/component/modal/setting/GeneralSettings.js.map +0 -1
|
@@ -1,53 +1,18 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import {
|
|
4
|
-
import { FaRegEdit } from 'react-icons/fa';
|
|
3
|
+
import { memo } from 'react';
|
|
5
4
|
import { Accordion, Toolbar } from 'react-science/ui';
|
|
6
5
|
import { usePreferences } from '../context/PreferencesContext.js';
|
|
7
|
-
import { useActiveSpectrum } from '../hooks/useActiveSpectrum.js';
|
|
8
|
-
import { useDialogToggle } from '../hooks/useDialogToggle.js';
|
|
9
6
|
import { useAccordionItems } from './hooks/useAccordionItems.js';
|
|
10
7
|
import { useGetPanelOptions } from './hooks/useGetPanelOptions.js';
|
|
11
8
|
import { useTogglePanel } from './hooks/useTogglePanel.js';
|
|
12
|
-
import { InformationEditionModal } from './informationPanel/InformationEditionModal.js';
|
|
13
9
|
const Container = styled.div `
|
|
14
10
|
flex: 1 1 0%;
|
|
15
11
|
height: 100%;
|
|
16
12
|
width: 100%;
|
|
17
13
|
`;
|
|
18
|
-
const AccordionContext = createContext(null);
|
|
19
|
-
export function usePanelOpenState() {
|
|
20
|
-
const context = useContext(AccordionContext);
|
|
21
|
-
if (!context) {
|
|
22
|
-
throw new Error('Panel open context must be used within PanelOpenProvider');
|
|
23
|
-
}
|
|
24
|
-
return context;
|
|
25
|
-
}
|
|
26
|
-
export function PanelOpenProviderProvider({ children, }) {
|
|
27
|
-
const { current } = usePreferences();
|
|
28
|
-
const { display: { general = {} }, } = current;
|
|
29
|
-
// TODO: make sure to move this state to the workspace once the refactoring of nmrium-core is finished.
|
|
30
|
-
const [isSplitPaneOpen, setIsSplitPaneOpen] = useState(!general?.hidePanelOnLoad);
|
|
31
|
-
const state = useMemo(() => {
|
|
32
|
-
function openSplitPane() {
|
|
33
|
-
setIsSplitPaneOpen(true);
|
|
34
|
-
}
|
|
35
|
-
function closeSplitPane() {
|
|
36
|
-
setIsSplitPaneOpen(false);
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
openSplitPane,
|
|
40
|
-
closeSplitPane,
|
|
41
|
-
isSplitPaneOpen,
|
|
42
|
-
};
|
|
43
|
-
}, [isSplitPaneOpen]);
|
|
44
|
-
return (_jsx(AccordionContext.Provider, { value: state, children: children }));
|
|
45
|
-
}
|
|
46
14
|
function PanelsInner() {
|
|
47
15
|
const getPanelPreferences = useGetPanelOptions();
|
|
48
|
-
const { dialog, openDialog, closeDialog } = useDialogToggle({
|
|
49
|
-
informationModal: false,
|
|
50
|
-
});
|
|
51
16
|
const { dispatch } = usePreferences();
|
|
52
17
|
const items = useAccordionItems();
|
|
53
18
|
function isOpened(item) {
|
|
@@ -61,30 +26,24 @@ function PanelsInner() {
|
|
|
61
26
|
const displayedPanels = items.filter((item) => {
|
|
62
27
|
return isVisible(item);
|
|
63
28
|
});
|
|
64
|
-
return (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
openDialog('informationModal');
|
|
74
|
-
} })), children: component }, title));
|
|
75
|
-
}) })] }));
|
|
29
|
+
return (_jsx(Container, { children: _jsx(Accordion, { children: displayedPanels.map((item) => {
|
|
30
|
+
const { title, component, id } = item;
|
|
31
|
+
return (_jsx(Accordion.Item, { unmountChildren: true, id: id, title: title, open: isOpened(item), onOpenChange: (isOpened) => {
|
|
32
|
+
dispatch({
|
|
33
|
+
type: 'TOGGLE_PANEL',
|
|
34
|
+
payload: { id, options: { open: isOpened } },
|
|
35
|
+
});
|
|
36
|
+
}, renderToolbar: () => _jsx(RightButtons, { id: id }), children: component }, title));
|
|
37
|
+
}) }) }));
|
|
76
38
|
}
|
|
77
39
|
function RightButtons(props) {
|
|
78
|
-
const {
|
|
79
|
-
const activeSpectrum = useActiveSpectrum();
|
|
40
|
+
const { id } = props;
|
|
80
41
|
const toggle = useTogglePanel();
|
|
81
42
|
function handleClosePanel(event) {
|
|
82
43
|
event?.stopPropagation();
|
|
83
44
|
toggle(id);
|
|
84
45
|
}
|
|
85
|
-
return (
|
|
86
|
-
? 'Select a spectrum to edit its meta information'
|
|
87
|
-
: 'Edit spectrum meta information' })), _jsx(Toolbar.Item, { icon: "cross", tooltip: "Close panel", onClick: handleClosePanel })] }));
|
|
46
|
+
return (_jsx(Toolbar, { children: _jsx(Toolbar.Item, { icon: "cross", tooltip: "Close panel", onClick: handleClosePanel }) }));
|
|
88
47
|
}
|
|
89
48
|
const MemoizedPanels = memo(PanelsInner);
|
|
90
49
|
export function Panels() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panels.js","sourceRoot":"","sources":["../../../src/component/panels/Panels.tsx"],"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/RangesHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"RangesHeader.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAmE1D,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CA6R7C;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -4,23 +4,27 @@ import { rangesToTSV } from 'nmr-processing';
|
|
|
4
4
|
import { FaChartBar, FaCopy, FaDownload, FaFileExport, FaSitemap, FaUnlink, } from 'react-icons/fa';
|
|
5
5
|
import { ImLink } from 'react-icons/im';
|
|
6
6
|
import { LuMessageSquareText } from 'react-icons/lu';
|
|
7
|
-
import { ClipboardFallbackModal } from '../../../utils/clipboard/clipboardComponents.js';
|
|
8
|
-
import { useClipboard } from '../../../utils/clipboard/clipboardHooks.js';
|
|
9
7
|
import { useDispatch } from '../../context/DispatchContext.js';
|
|
10
|
-
import { useToaster } from '../../context/ToasterContext.js';
|
|
11
8
|
import { useAlert } from '../../elements/Alert.js';
|
|
12
9
|
import { ToolbarPopoverItem } from '../../elements/ToolbarPopoverItem.js';
|
|
13
10
|
import { useActiveSpectrumRangesViewState } from '../../hooks/useActiveSpectrumRangesViewState.js';
|
|
14
11
|
import { useDialogToggle } from '../../hooks/useDialogToggle.js';
|
|
12
|
+
import useSpectrum from "../../hooks/useSpectrum.js";
|
|
13
|
+
import { useActiveACSSettings } from "../../hooks/use_acs_settings.js";
|
|
15
14
|
import { PublicationStringModal } from '../../modal/PublicationStringModal.js';
|
|
16
15
|
import ChangeSumModal from '../../modal/changeSum/ChangeSumModal.js';
|
|
17
16
|
import { booleanToString } from '../../utility/booleanToString.js';
|
|
18
|
-
import { saveAs } from
|
|
17
|
+
import { saveAs } from '../../utility/save_as.js';
|
|
19
18
|
import DefaultPanelHeader from '../header/DefaultPanelHeader.js';
|
|
20
19
|
const EXPORT_MENU = [
|
|
20
|
+
{
|
|
21
|
+
key: 'export-divider',
|
|
22
|
+
menuItemType: 'divider',
|
|
23
|
+
title: 'Export',
|
|
24
|
+
},
|
|
21
25
|
{
|
|
22
26
|
icon: _jsx(FaCopy, {}),
|
|
23
|
-
text: '
|
|
27
|
+
text: 'Copy publication string',
|
|
24
28
|
data: {
|
|
25
29
|
id: 'publicationString',
|
|
26
30
|
},
|
|
@@ -37,7 +41,8 @@ function RangesHeader(props) {
|
|
|
37
41
|
const { ranges, info, isFilterActive, onUnlink, onFilterActivated, onSettingClick, filterCounter, } = props;
|
|
38
42
|
const dispatch = useDispatch();
|
|
39
43
|
const alert = useAlert();
|
|
40
|
-
const
|
|
44
|
+
const currentACSOptions = useActiveACSSettings();
|
|
45
|
+
const spectrum = useSpectrum();
|
|
41
46
|
const { openDialog, dialog, closeDialog } = useDialogToggle({
|
|
42
47
|
publicationStringModal: false,
|
|
43
48
|
});
|
|
@@ -119,10 +124,6 @@ function RangesHeader(props) {
|
|
|
119
124
|
payload: { key: 'showRanges' },
|
|
120
125
|
});
|
|
121
126
|
}
|
|
122
|
-
const { rawWriteWithType, shouldFallback, cleanShouldFallback, text } = useClipboard();
|
|
123
|
-
function saveToClipboardHandler(value) {
|
|
124
|
-
void rawWriteWithType(value, 'text/html').then(() => toaster.show({ message: 'Data copied to clipboard', intent: 'success' }));
|
|
125
|
-
}
|
|
126
127
|
function changeSumConstantFlagHandler() {
|
|
127
128
|
dispatch({
|
|
128
129
|
type: 'CHANGE_RANGES_SUM_FLAG',
|
|
@@ -142,9 +143,10 @@ function RangesHeader(props) {
|
|
|
142
143
|
}
|
|
143
144
|
function exportHandler(data) {
|
|
144
145
|
switch (data?.id) {
|
|
145
|
-
case 'publicationString':
|
|
146
|
+
case 'publicationString': {
|
|
146
147
|
openDialog('publicationStringModal');
|
|
147
148
|
break;
|
|
149
|
+
}
|
|
148
150
|
case 'rangesToTSV':
|
|
149
151
|
handleRangesToTSV();
|
|
150
152
|
break;
|
|
@@ -156,7 +158,7 @@ function RangesHeader(props) {
|
|
|
156
158
|
const total = ranges?.values?.length || 0;
|
|
157
159
|
const lefButtons = [
|
|
158
160
|
{
|
|
159
|
-
component: (_jsx(ToolbarPopoverItem, { disabled: !hasRanges, icon: _jsx(FaFileExport, {}), tooltip: "Export
|
|
161
|
+
component: (_jsx(ToolbarPopoverItem, { disabled: !hasRanges, icon: _jsx(FaFileExport, {}), tooltip: "Export", options: EXPORT_MENU, onClick: exportHandler })),
|
|
160
162
|
},
|
|
161
163
|
{
|
|
162
164
|
component: (_jsx(ChangeSumModal, { onSave: changeRangesSumHandler, sumType: "ranges", currentSum: currentSum, sumOptions: ranges?.options })),
|
|
@@ -226,19 +228,25 @@ function RangesHeader(props) {
|
|
|
226
228
|
{
|
|
227
229
|
disabled: !hasRanges,
|
|
228
230
|
icon: _jsx(FaCopy, {}),
|
|
229
|
-
tooltip:
|
|
231
|
+
tooltip: booleanToString(!showPublicationString, {
|
|
232
|
+
trueLabel: 'Display publication string',
|
|
233
|
+
falseLabel: 'Hide publication string',
|
|
234
|
+
}),
|
|
230
235
|
onClick: handleShowPublicationString,
|
|
231
236
|
active: showPublicationString,
|
|
232
237
|
},
|
|
233
238
|
{
|
|
234
239
|
disabled: !hasRanges,
|
|
235
240
|
icon: _jsx(SvgNmrPeaksTopLabels, {}),
|
|
236
|
-
tooltip: `${booleanToString(!showRanges)}
|
|
241
|
+
tooltip: `${booleanToString(!showRanges, { trueLabel: 'Display' })} table`,
|
|
237
242
|
onClick: handleShowRanges,
|
|
238
243
|
active: showRanges,
|
|
239
244
|
},
|
|
240
245
|
];
|
|
241
|
-
return (_jsxs("div", { children: [_jsx(PublicationStringModal, { isOpen: dialog.publicationStringModal,
|
|
246
|
+
return (_jsxs("div", { children: [_jsx(PublicationStringModal, { isOpen: dialog.publicationStringModal, onClose: closeDialog, acsExportOptions: currentACSOptions, spectrum: spectrum, publicationStringVisibility: {
|
|
247
|
+
isShown: showPublicationString,
|
|
248
|
+
toggle: handleShowPublicationString,
|
|
249
|
+
}, saveLabel: "Copy and apply", copyOnSave: true }), _jsx(DefaultPanelHeader, { total: total, counter: filterCounter, onDelete: handleDeleteAll, deleteToolTip: "Delete All Ranges", onFilter: onFilterActivated, filterToolTip: isFilterActive ? 'Show all ranges' : 'Hide ranges out of view', onSettingClick: onSettingClick, leftButtons: lefButtons })] }));
|
|
242
250
|
}
|
|
243
251
|
export default RangesHeader;
|
|
244
252
|
//# sourceMappingURL=RangesHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesHeader.js","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesHeader.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,eAAe,EACf,WAAW,EACX,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACL,UAAU,EACV,MAAM,EACN,UAAU,EACV,YAAY,EACZ,SAAS,EACT,QAAQ,GACT,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"RangesHeader.js","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesHeader.tsx"],"names":[],"mappings":";AAEA,OAA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OAAO,EAAE,GAAG,eAAe,CAAC,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,QAAQ;YAC1E,OAAO,EAAE,gBAAgB;YACzB,MAAM,EAAE,UAAU;SACnB;KACF,CAAC;IAEF,OAAO,CACL,0BACE,KAAC,sBAAsB,IACrB,MAAM,EAAE,MAAM,CAAC,sBAAsB,EACrC,OAAO,EAAE,WAAW,EACpB,gBAAgB,EAAE,iBAAiB,EACnC,QAAQ,EAAE,QAAQ,EAClB,2BAA2B,EAAE;oBAC3B,OAAO,EAAE,qBAAqB;oBAC9B,MAAM,EAAE,2BAA2B;iBACpC,EACD,SAAS,EAAC,gBAAgB,EAC1B,UAAU,SACV,EACF,KAAC,kBAAkB,IACjB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,eAAe,EACzB,aAAa,EAAC,mBAAmB,EACjC,QAAQ,EAAE,iBAAiB,EAC3B,aAAa,EACX,cAAc,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,yBAAyB,EAEhE,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,UAAU,GACvB,IACE,CACP,CAAC;AACJ,CAAC;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -10,7 +10,7 @@ import ActionsColumn from './TableColumns/ActionsColumn.js';
|
|
|
10
10
|
import CouplingColumn from './TableColumns/CouplingColumn.js';
|
|
11
11
|
import RangeColumn from './TableColumns/RangeColumn.js';
|
|
12
12
|
import RelativeColumn from './TableColumns/RelativeColumn.js';
|
|
13
|
-
import { SignalAssignmentColumn } from
|
|
13
|
+
import { SignalAssignmentColumn } from './TableColumns/SignalAssignmentColumn.js';
|
|
14
14
|
import SignalAssignmentsColumn from './TableColumns/SignalAssignmentsColumn.js';
|
|
15
15
|
import SignalDeltaColumn from './TableColumns/SignalDeltaColumn.js';
|
|
16
16
|
import SignalDeltaHzColumn from './TableColumns/SignalDeltaHzColumn.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesTableRow.js","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesTableRow.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAG7C,OAAO,EACL,aAAa,EACb,oBAAoB,GACrB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAErE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,aAAa,MAAM,iCAAiC,CAAC;AAC5D,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,WAAW,MAAM,+BAA+B,CAAC;AACxD,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"RangesTableRow.js","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesTableRow.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAG7C,OAAO,EACL,aAAa,EACb,oBAAoB,GACrB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAErE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,aAAa,MAAM,iCAAiC,CAAC;AAC5D,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC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, OnHoverEvent } from '../RangesTableRow.js';
|
|
2
2
|
interface SignalAssignmentColumnProps extends Omit<BaseRangeColumnProps, 'format'>, OnHoverEvent {
|
|
3
3
|
highlight: {
|
|
4
4
|
isActive: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalAssignmentColumn.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SignalAssignmentColumn.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAE/E,UAAU,2BACR,SAAQ,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC,EAAE,YAAY;IAC1D,SAAS,EAAE;QACT,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED,wBAAgB,sBAAsB,CAAC,EACrC,GAAG,EACH,OAAO,GACR,EAAE,2BAA2B,2CAyB7B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useDispatch } from
|
|
3
|
-
import { EditableColumn } from
|
|
2
|
+
import { useDispatch } from '../../../context/DispatchContext.js';
|
|
3
|
+
import { EditableColumn } from '../../../elements/EditableColumn.js';
|
|
4
4
|
export function SignalAssignmentColumn({ row, onHover, }) {
|
|
5
5
|
const dispatch = useDispatch();
|
|
6
6
|
const signal = row?.tableMetaInfo?.signal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalAssignmentColumn.js","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SignalAssignmentColumn.js","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAUrE,MAAM,UAAU,sBAAsB,CAAC,EACrC,GAAG,EACH,OAAO,GACqB;IAC5B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,MAAM,GAAG,GAAG,EAAE,aAAa,EAAE,MAAM,CAAC;IAE1C,SAAS,WAAW,CAAC,KAAU;QAC7B,QAAQ,CAAC;YACP,IAAI,EAAE,mCAAmC;YACzC,OAAO,EAAE;gBACP,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK;gBACzB,OAAO,EAAE,GAAG,CAAC,EAAE;gBACf,QAAQ,EAAE,MAAM,CAAC,EAAE;aACpB;SACF,CAAC,CAAC;IACL,CAAC;IAED,OAAO,CACL,gBAAQ,OAAO,YACb,KAAC,cAAc,IACb,KAAK,EAAE,MAAM,EAAE,UAAU,IAAI,EAAE,EAC/B,MAAM,EAAE,WAAW,EACnB,KAAK,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,EACnC,IAAI,EAAC,MAAM,GACX,GACC,CACN,CAAC;AACJ,CAAC"}
|
|
@@ -15,7 +15,7 @@ import { ContextMenu } from '../../elements/ContextMenuBluePrint.js';
|
|
|
15
15
|
import ReactTable from '../../elements/ReactTable/ReactTable.js';
|
|
16
16
|
import { usePanelPreferences } from '../../hooks/usePanelPreferences.js';
|
|
17
17
|
import ExportAsJcampModal from '../../modal/ExportAsJcampModal.js';
|
|
18
|
-
import { saveAs } from
|
|
18
|
+
import { saveAs } from '../../utility/save_as.js';
|
|
19
19
|
import { RenderAsHTML } from './base/RenderAsHTML.js';
|
|
20
20
|
import ShowHideSpectrumButton from './base/ShowHideSpectrumButton.js';
|
|
21
21
|
import { SpectrumName } from './base/SpectrumName.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetMolecularFormulaModal.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SetMolecularFormulaModal.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx"],"names":[],"mappings":"AAkDA,UAAU,+BAA+B;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AACD,UAAU,0BAA2B,SAAQ,+BAA+B;IAC1E,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,0BAA0B,uDAQzE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { DialogBody, Tab, Tabs } from '@blueprintjs/core';
|
|
3
3
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
4
4
|
import { useState } from 'react';
|
|
5
5
|
import { useForm } from 'react-hook-form';
|
|
@@ -10,6 +10,7 @@ import { useDispatch } from '../../context/DispatchContext.js';
|
|
|
10
10
|
import Button from '../../elements/Button.js';
|
|
11
11
|
import { Input2Controller } from '../../elements/Input2Controller.js';
|
|
12
12
|
import MoleculeSelection from '../../elements/MoleculeSelection.js';
|
|
13
|
+
import { StandardDialog } from "../../elements/StandardDialog.js";
|
|
13
14
|
function isValidMf(value) {
|
|
14
15
|
try {
|
|
15
16
|
getAtomsFromMF(value);
|
|
@@ -58,7 +59,7 @@ function InnerSetMolecularFormulaModal({ onClose, }) {
|
|
|
58
59
|
});
|
|
59
60
|
onClose?.();
|
|
60
61
|
}
|
|
61
|
-
return (_jsx(
|
|
62
|
+
return (_jsx(StandardDialog, { isOpen: true, title: "Molecular formula", style: { width: 400 }, onClose: onClose, children: _jsx(DialogBody, { children: _jsxs(Tabs, { fill: true, children: [_jsx(Tab, { id: "manual", title: "Manual", panel: _jsx(ManualFormula, { onSave: saveHandler }) }), _jsx(Tab, { id: "auto", title: "Auto", panel: _jsx(AutoFormula, { onSave: saveHandler }) })] }) }) }));
|
|
62
63
|
}
|
|
63
64
|
function ManualFormula(props) {
|
|
64
65
|
const { correlations } = useChartData();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetMolecularFormulaModal.js","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SetMolecularFormulaModal.js","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,cAAc,MAAM,2CAA2C,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAmC,CAAC;AAEnE,SAAS,SAAS,CAAC,KAAa;IAC9B,IAAI,CAAC;QACH,cAAc,CAAC,KAAK,CAAC,CAAC;QACtB,OAAO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C,CAAC,CAAC;IAE5D,SAAS,gCAAgC,CAAC,KAAU;QAClD,eAAe,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,SAAS,WAAW;QAClB,MAAM,EAAE,GAAG,SAAS,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE,CAAC;QACzC,KAAK,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;IACpB,CAAC;IAED,IAAI,CAAC,SAAS,IAAI,SAAS,EAAE,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1C,OAAO,CACL,YAAG,KAAK,EAAE,MAAM,CAAC,KAAK,oHAGlB,CACL,CAAC;IACJ,CAAC;IAED,OAAO,CACL,eAAK,KAAK,EAAE,MAAM,CAAC,SAAS,aAC1B,YAAG,KAAK,EAAE,MAAM,CAAC,KAAK,gDAAqC,EAC3D,KAAC,iBAAiB,IAChB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,gCAAgC,GAC1C,EACF,KAAC,MAAM,CAAC,IAAI,IACV,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,CAAC,SAAS,EAAE,CAAC,YAAY,CAAC,EACpC,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,sCAGhB,IACV,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetShiftTolerancesModal.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SetShiftTolerancesModal.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx"],"names":[],"mappings":"AAqBA,UAAU,2BAA4B,SAAQ,gCAAgC;IAC5E,MAAM,EAAE,OAAO,CAAC;CACjB;AACD,UAAU,gCAAgC;IACxC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAgBD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,uDAQxE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { DialogBody, DialogFooter } from '@blueprintjs/core';
|
|
3
3
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
5
|
import { useForm } from 'react-hook-form';
|
|
@@ -9,6 +9,7 @@ import { useDispatch } from '../../context/DispatchContext.js';
|
|
|
9
9
|
import Button from '../../elements/Button.js';
|
|
10
10
|
import { NumberInput2Controller } from '../../elements/NumberInput2Controller.js';
|
|
11
11
|
import ReactTable from '../../elements/ReactTable/ReactTable.js';
|
|
12
|
+
import { StandardDialog } from "../../elements/StandardDialog.js";
|
|
12
13
|
const toleranceValidationSchema = Yup.array()
|
|
13
14
|
.of(Yup.object().shape({
|
|
14
15
|
value: Yup.number().required(),
|
|
@@ -72,6 +73,6 @@ function InnerSetShiftToleranceModal(props) {
|
|
|
72
73
|
},
|
|
73
74
|
},
|
|
74
75
|
], [control]);
|
|
75
|
-
return (_jsxs(
|
|
76
|
+
return (_jsxs(StandardDialog, { isOpen: true, title: "Shift tolerances", onClose: onClose, style: { width: 400 }, children: [_jsx(DialogBody, { children: _jsx(ReactTable, { data: tolerancesData, columns: COLUMNS, emptyDataRowText: "No atoms" }) }), _jsx(DialogFooter, { children: _jsx(Button.Done, { onClick: () => handleSubmit(onSaveHandler)(), disabled: !isValid, children: "Set shift tolerances" }) })] }));
|
|
76
77
|
}
|
|
77
78
|
//# sourceMappingURL=SetShiftTolerancesModal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetShiftTolerancesModal.js","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SetShiftTolerancesModal.js","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/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,EAAE,EAAE,CAAC,KAAK,GAAG,CAAC;SAClC;QACD;YACE,MAAM,EAAE,MAAM;YACd,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE;YAC7C,QAAQ,EAAE,MAAM;SACjB;QACD;YACE,MAAM,EAAE,OAAO;YACf,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE;YACrB,IAAI,EAAE,CAAC,IAA8B,EAAE,EAAE;gBACvC,OAAO,CACL,KAAC,sBAAsB,IACrB,IAAI,EAAE,cAAc,IAAI,CAAC,GAAG,CAAC,KAAK,QAAQ,EAC1C,OAAO,EAAE,OAAO,EAChB,IAAI,SACJ,CACH,CAAC;YACJ,CAAC;SACF;KACF,EACD,CAAC,OAAO,CAAC,CACV,CAAC;IAEF,OAAO,CACL,MAAC,cAAc,IACb,MAAM,QACN,KAAK,EAAC,kBAAkB,EACxB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,aAErB,KAAC,UAAU,cACT,KAAC,UAAU,IACT,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAC,UAAU,GAC3B,GACS,EACb,KAAC,YAAY,cACX,KAAC,MAAM,CAAC,IAAI,IACV,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,EAC5C,QAAQ,EAAE,CAAC,OAAO,qCAGN,GACD,IACA,CAClB,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { filterDatabaseInfoEntry } from
|
|
3
|
+
import { filterDatabaseInfoEntry } from '../../utility/filterDatabaseInfoEntry.js';
|
|
4
4
|
const Container = styled.div `
|
|
5
5
|
display: flex;
|
|
6
6
|
`;
|
|
@@ -18,7 +18,7 @@ import { options } from '../../toolbar/ToolTypes.js';
|
|
|
18
18
|
import Events from '../../utility/Events.js';
|
|
19
19
|
import { exportAsJsonBlob } from '../../utility/export.js';
|
|
20
20
|
import nucleusToString from '../../utility/nucleusToString.js';
|
|
21
|
-
import { saveAs } from
|
|
21
|
+
import { saveAs } from '../../utility/save_as.js';
|
|
22
22
|
import { PanelNoData } from '../PanelNoData.js';
|
|
23
23
|
import { TablePanel } from '../extra/BasicPanelStyle.js';
|
|
24
24
|
import PreferencesHeader from '../header/PreferencesHeader.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Dialog } from '@blueprintjs/core';
|
|
3
2
|
import { useState } from 'react';
|
|
4
3
|
import { CanvasMoleculeEditor } from 'react-ocl';
|
|
4
|
+
import { StandardDialog } from "../../elements/StandardDialog.js";
|
|
5
5
|
import { StyledDialogBody } from '../../elements/StyledDialogBody.js';
|
|
6
6
|
export function DatabaseStructureSearchModal({ onChange, initialIdCode, onClose, }) {
|
|
7
7
|
const [idCode] = useState(initialIdCode);
|
|
8
|
-
return (_jsx(
|
|
8
|
+
return (_jsx(StandardDialog, { isOpen: true, onClose: () => {
|
|
9
9
|
onClose?.();
|
|
10
10
|
}, style: { width: 720 }, title: "Search by structure", children: _jsx(StyledDialogBody, { children: _jsx(CanvasMoleculeEditor, { inputFormat: "idcode", inputValue: idCode, fragment: true, onChange: (event) => onChange(event.getIdcode()), width: 675, height: 450 }) }) }));
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatabaseStructureSearchModal.js","sourceRoot":"","sources":["../../../../src/component/panels/databasePanel/DatabaseStructureSearchModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DatabaseStructureSearchModal.js","sourceRoot":"","sources":["../../../../src/component/panels/databasePanel/DatabaseStructureSearchModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAmC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAQtE,MAAM,UAAU,4BAA4B,CAAC,EAC3C,QAAQ,EACR,aAAa,EACb,OAAO,GAC2B;IAClC,MAAM,CAAC,MAAM,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;IACzC,OAAO,CACL,KAAC,cAAc,IACb,MAAM,QACN,OAAO,EAAE,GAAG,EAAE;YACZ,OAAO,EAAE,EAAE,CAAC;QACd,CAAC,EACD,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAC,qBAAqB,YAE3B,KAAC,gBAAgB,cACf,KAAC,oBAAoB,IACnB,WAAW,EAAC,QAAQ,EACpB,UAAU,EAAE,MAAM,EAClB,QAAQ,QACR,QAAQ,EAAE,CAAC,KAAmC,EAAE,EAAE,CAChD,QAAQ,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,EAE7B,KAAK,EAAE,GAAG,EACV,MAAM,EAAE,GAAG,GACX,GACe,GACJ,CAClB,CAAC;AACJ,CAAC"}
|
|
@@ -12,7 +12,7 @@ import addCustomColumn from '../../elements/ReactTable/utility/addCustomColumn.j
|
|
|
12
12
|
import { usePanelPreferences } from '../../hooks/usePanelPreferences.js';
|
|
13
13
|
import useSpectraByActiveNucleus from '../../hooks/useSpectraPerNucleus.js';
|
|
14
14
|
import { formatNumber } from '../../utility/formatNumber.js';
|
|
15
|
-
import { DatabaseInfo } from
|
|
15
|
+
import { DatabaseInfo } from './DatabaseInfo.js';
|
|
16
16
|
const overFlowStyle = {
|
|
17
17
|
overflow: 'hidden',
|
|
18
18
|
whiteSpace: 'nowrap',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatabaseTable.js","sourceRoot":"","sources":["../../../../src/component/panels/databasePanel/DatabaseTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAI1C,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,UAAU,MAAM,yCAAyC,CAAC;AAEjE,OAAO,eAAe,MAAM,sDAAsD,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,yBAAyB,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DatabaseTable.js","sourceRoot":"","sources":["../../../../src/component/panels/databasePanel/DatabaseTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACj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AC,aAAa,CAAC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const nonRemovableFilters: Set<"digitalFilter" | "baselineCorrection" | "fft" | "zeroFilling" | "signalProcessing" | "equallySpaced" | "shiftX" | "phaseCorrection" | "forwardLinearPrediction" | "exclusionZones" | "apodization" | "backwardLinearPrediction" | "apodizationDimension1" | "apodizationDimension2" | "baselineCorrectionTwoDimensions" | "blpDimension1" | "blpDimension2" | "digitalFilter2D" | "fftDimension1" | "fftDimension2" | "nusDimension2" | "flpDimension1" | "flpDimension2" | "phaseCorrectionTwoDimensions" | "shift2DX" | "shift2DY" | "symmetrizeCosyLike" | "zeroFillingDimension1" | "zeroFillingDimension2">;
|
|
1
|
+
export declare const nonRemovableFilters: Set<"trim" | "digitalFilter" | "baselineCorrection" | "fft" | "zeroFilling" | "signalProcessing" | "equallySpaced" | "shiftX" | "phaseCorrection" | "forwardLinearPrediction" | "exclusionZones" | "apodization" | "backwardLinearPrediction" | "apodizationDimension1" | "apodizationDimension2" | "baselineCorrectionTwoDimensions" | "blpDimension1" | "blpDimension2" | "digitalFilter2D" | "fftDimension1" | "fftDimension2" | "nusDimension2" | "flpDimension1" | "flpDimension2" | "phaseCorrectionTwoDimensions" | "shift2DX" | "shift2DY" | "symmetrizeCosyLike" | "zeroFillingDimension1" | "zeroFillingDimension2">;
|
|
2
2
|
export declare function FiltersSectionsPanel(): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=FiltersSectionsPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiltersSectionsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx"],"names":[],"mappings":"AAyBA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"FiltersSectionsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx"],"names":[],"mappings":"AAyBA,eAAO,MAAM,mBAAmB,gmBAG9B,CAAC;AAwVH,wBAAgB,oBAAoB,4CAUnC"}
|
|
@@ -14,7 +14,7 @@ import { useToaster } from '../../../context/ToasterContext.js';
|
|
|
14
14
|
import { useAlert } from '../../../elements/Alert.js';
|
|
15
15
|
import { EmptyText } from '../../../elements/EmptyText.js';
|
|
16
16
|
import { Sections } from '../../../elements/Sections.js';
|
|
17
|
-
import { useActiveSpectrum } from
|
|
17
|
+
import { useActiveSpectrum } from '../../../hooks/useActiveSpectrum.js';
|
|
18
18
|
import useSpectraByActiveNucleus from '../../../hooks/useSpectraPerNucleus.js';
|
|
19
19
|
import useSpectrum from '../../../hooks/useSpectrum.js';
|
|
20
20
|
import { getDefaultFilterOptions } from '../../../utility/getDefaultFilterOptions.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultPanelHeader.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/header/DefaultPanelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultPanelHeader.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/header/DefaultPanelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAYjF,UAAU,sBAAsB;IAC9B,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG,sBAAsB,CAAC;AAQ7E,UAAU,uBAAuB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACjC,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,2CA8DzD;AAaD,eAAe,kBAAkB,CAAC"}
|
|
@@ -7,6 +7,7 @@ const styles = {
|
|
|
7
7
|
display: 'flex',
|
|
8
8
|
flexDirection: 'row',
|
|
9
9
|
flex: 1,
|
|
10
|
+
width: '100%',
|
|
10
11
|
},
|
|
11
12
|
};
|
|
12
13
|
function isCustomToolbarItem(item) {
|
|
@@ -19,7 +20,7 @@ function DefaultPanelHeader(props) {
|
|
|
19
20
|
setFilterStatus((previousValue) => !previousValue);
|
|
20
21
|
onFilter?.();
|
|
21
22
|
}
|
|
22
|
-
return (_jsxs(PanelHeader, { style, className, onClickSettings: onSettingClick, current: hideCounter || total === counter ? undefined : counter, total: hideCounter ? undefined : total, children: [_jsxs("div", { style: styles.leftContainer, children: [_jsxs(Toolbar, { children: [onDelete && (_jsx(Toolbar.Item, { id: "delete-button", onClick: onDelete, tooltip: deleteToolTip, icon: _jsx(FaRegTrashAlt, {}), intent: "danger", disabled: !total || disableDelete })), onFilter && (_jsx(Toolbar.Item, { id: "filter-button", onClick: handleFilter, tooltip: filterToolTip, active: isFiltered, icon: _jsx(FaFilter, {}) })), mapToolbarButtons(leftButtons)] }), children] }), _jsx(Toolbar, { children: mapToolbarButtons(rightButtons) })] }));
|
|
23
|
+
return (_jsxs(PanelHeader, { style, className, onClickSettings: onSettingClick, current: hideCounter || total === counter ? undefined : counter, total: hideCounter ? undefined : total, children: [_jsxs("div", { style: styles.leftContainer, children: [_jsxs(Toolbar, { overflow: "collapse", children: [onDelete && (_jsx(Toolbar.Item, { id: "delete-button", onClick: onDelete, tooltip: deleteToolTip, icon: _jsx(FaRegTrashAlt, {}), intent: "danger", disabled: !total || disableDelete })), onFilter && (_jsx(Toolbar.Item, { id: "filter-button", onClick: handleFilter, tooltip: filterToolTip, active: isFiltered, icon: _jsx(FaFilter, {}) })), mapToolbarButtons(leftButtons)] }), children] }), _jsx(Toolbar, { children: mapToolbarButtons(rightButtons) })] }));
|
|
23
24
|
}
|
|
24
25
|
function mapToolbarButtons(buttons) {
|
|
25
26
|
return buttons.map((props, index) => isCustomToolbarItem(props) ? (
|