nmrium 0.19.1 → 0.21.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/Chart1D.js +3 -3
- package/lib/component/1d/ExclusionZoneAnnotation.d.ts +11 -0
- package/lib/component/1d/ExclusionZoneAnnotation.js +18 -0
- package/lib/component/1d/ExclusionZonesAnnotations.d.ts +3 -0
- package/lib/component/1d/ExclusionZonesAnnotations.js +28 -0
- package/lib/component/1d/Line.js +11 -23
- package/lib/component/1d/Viewer1D.js +36 -5
- package/lib/component/1d/ranges/Ranges.js +3 -3
- package/lib/component/1d/{BaseLineZones.d.ts → tool/BaseLineZones.d.ts} +0 -0
- package/lib/component/1d/{BaseLineZones.js → tool/BaseLineZones.js} +5 -5
- package/lib/component/1d/utilities/useIntegralPath.js +9 -10
- package/lib/component/2d/Contours.js +12 -11
- package/lib/component/2d/Left1DChart.js +7 -9
- package/lib/component/2d/Top1DChart.js +7 -7
- package/lib/component/2d/tools/slicing/HorizontalSliceChart.js +7 -7
- package/lib/component/2d/tools/slicing/VerticalSliceChart.js +7 -9
- package/lib/component/EventsTrackers/BrushTracker.js +2 -2
- package/lib/component/EventsTrackers/KeysListenerTracker.js +106 -80
- package/lib/component/NMRium.d.ts +8 -3
- package/lib/component/NMRium.js +36 -33
- package/lib/component/elements/NumberInput.d.ts +1 -2
- package/lib/component/elements/Tab/Tab.js +1 -0
- package/lib/component/header/Header.js +10 -3
- package/lib/component/hooks/useActiveSpectrumStyleOptions.d.ts +6 -0
- package/lib/component/hooks/useActiveSpectrumStyleOptions.js +15 -0
- package/lib/component/hooks/useCheckExperimentalFeature.js +2 -1
- package/lib/component/hooks/useCheckToolsVisibility.d.ts +1 -0
- package/lib/component/hooks/useCheckToolsVisibility.js +6 -0
- package/lib/component/hooks/useToolsFunctions.js +2 -1
- package/lib/component/hooks/useXYReduce.d.ts +2 -1
- package/lib/component/loader/DropZone.js +88 -88
- package/lib/component/modal/ModalStyle.js +5 -2
- package/lib/component/modal/MoleculeStructureEditorModal.js +3 -2
- package/lib/component/modal/MultipleSpectraFiltersModal/index.js +10 -1
- package/lib/component/modal/changeSum/ChangeSumModal.js +4 -2
- package/lib/component/modal/setting/DisplayTabContent.js +1 -1
- package/lib/component/modal/setting/GeneralSettings.js +1 -5
- package/lib/component/panels/IntegralsPanel/IntegralPanel.js +0 -3
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +4 -17
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts +2 -0
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js +35 -0
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js +49 -67
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js +3 -8
- package/lib/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisPanel.js +2 -23
- package/lib/component/panels/Panels.js +10 -0
- package/lib/component/panels/PeaksPanel/PeaksPanel.js +0 -3
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +5 -14
- package/lib/component/panels/RangesPanel/RangesPanel.js +0 -3
- package/lib/component/panels/RangesPanel/RangesPreferences.js +5 -18
- package/lib/component/panels/SpectrumsPanel/SpectraPanelHeader.js +13 -3
- package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum2DHistogram.js +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts +5 -5
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +1 -1
- package/lib/component/panels/SummaryPanel/Utilities.d.ts +7 -7
- package/lib/component/panels/ZonesPanel/ZonesPanel.js +0 -3
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js +5 -18
- package/lib/component/panels/ZonesPanel/ZonesTable.js +9 -2
- package/lib/component/panels/databasePanel/DatabasePanel.js +0 -3
- package/lib/component/panels/databasePanel/DatabasePreferences.js +4 -17
- package/lib/component/reducer/Reducer.d.ts +11 -27
- package/lib/component/reducer/Reducer.js +4 -5
- package/lib/component/reducer/actions/CorrelationsActions.d.ts +7 -7
- package/lib/component/reducer/actions/CorrelationsActions.js +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +3 -1
- package/lib/component/reducer/actions/FiltersActions.js +60 -18
- package/lib/component/reducer/actions/LoadActions.js +2 -3
- package/lib/component/reducer/actions/MoleculeActions.js +2 -2
- package/lib/component/reducer/actions/PreferencesActions.js +4 -7
- package/lib/component/reducer/actions/RangesActions.js +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts +1 -3
- package/lib/component/reducer/actions/ToolsActions.js +13 -59
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +1 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.js +2 -1
- package/lib/component/reducer/helper/getRange.d.ts +6 -1
- package/lib/component/reducer/helper/getRange.js +1 -1
- package/lib/component/reducer/preferencesReducer.d.ts +2 -0
- package/lib/component/reducer/preferencesReducer.js +76 -36
- package/lib/component/toolbar/FunctionToolBar.js +9 -15
- package/lib/component/toolbar/ToolTypes.js +3 -3
- package/lib/component/utility/PathBuilder.d.ts +7 -0
- package/lib/component/utility/PathBuilder.js +17 -0
- package/lib/component/utility/getSpectraByNucleus.d.ts +3 -0
- package/lib/component/utility/getSpectraByNucleus.js +4 -0
- package/lib/component/workspaces/Workspace.d.ts +6 -0
- package/lib/component/workspaces/Workspace.js +1 -0
- package/lib/component/workspaces/basic.d.ts +2 -0
- package/lib/component/workspaces/basic.js +45 -0
- package/lib/component/workspaces/exercise1D.d.ts +2 -0
- package/lib/component/workspaces/exercise1D.js +45 -0
- package/lib/component/workspaces/index.d.ts +6 -0
- package/lib/component/workspaces/index.js +4 -0
- package/lib/component/workspaces/process1D.d.ts +2 -0
- package/lib/component/workspaces/process1D.js +43 -0
- package/lib/data/Filters.d.ts +2 -1
- package/lib/data/Filters.js +2 -1
- package/lib/data/data1d/Spectrum1D/ranges/addRange.js +5 -2
- package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.js +6 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectRange.js +0 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignal.d.ts +3 -2
- package/lib/data/data1d/Spectrum1D/ranges/detectSignal.js +23 -15
- package/lib/data/data1d/filter1d/exclusionZones.d.ts +16 -0
- package/lib/data/data1d/filter1d/exclusionZones.js +28 -0
- package/lib/data/migration/MigrationManager.js +3 -0
- package/lib/data/types/data1d/ExclusionZone.d.ts +5 -0
- package/lib/data/types/data1d/ExclusionZone.js +1 -0
- package/lib/versionInfo.js +1 -1
- package/lib-cjs/component/1d/Chart1D.js +3 -3
- package/lib-cjs/component/1d/ExclusionZoneAnnotation.js +23 -0
- package/lib-cjs/component/1d/ExclusionZonesAnnotations.js +52 -0
- package/lib-cjs/component/1d/Line.js +11 -23
- package/lib-cjs/component/1d/Viewer1D.js +36 -5
- package/lib-cjs/component/1d/ranges/Ranges.js +1 -1
- package/lib-cjs/component/1d/{BaseLineZones.js → tool/BaseLineZones.js} +5 -5
- package/lib-cjs/component/1d/utilities/useIntegralPath.js +9 -10
- package/lib-cjs/component/2d/Contours.js +12 -11
- package/lib-cjs/component/2d/Left1DChart.js +7 -9
- package/lib-cjs/component/2d/Top1DChart.js +7 -7
- package/lib-cjs/component/2d/tools/slicing/HorizontalSliceChart.js +7 -7
- package/lib-cjs/component/2d/tools/slicing/VerticalSliceChart.js +7 -9
- package/lib-cjs/component/EventsTrackers/BrushTracker.js +2 -2
- package/lib-cjs/component/EventsTrackers/KeysListenerTracker.js +106 -80
- package/lib-cjs/component/NMRium.js +37 -34
- package/lib-cjs/component/elements/Tab/Tab.js +1 -0
- package/lib-cjs/component/header/Header.js +10 -3
- package/lib-cjs/component/hooks/useActiveSpectrumStyleOptions.js +21 -0
- package/lib-cjs/component/hooks/useCheckExperimentalFeature.js +5 -1
- package/lib-cjs/component/hooks/useCheckToolsVisibility.js +13 -0
- package/lib-cjs/component/hooks/useToolsFunctions.js +2 -1
- package/lib-cjs/component/loader/DropZone.js +88 -88
- package/lib-cjs/component/modal/ModalStyle.js +5 -2
- package/lib-cjs/component/modal/MoleculeStructureEditorModal.js +3 -2
- package/lib-cjs/component/modal/MultipleSpectraFiltersModal/index.js +10 -1
- package/lib-cjs/component/modal/changeSum/ChangeSumModal.js +4 -2
- package/lib-cjs/component/modal/setting/DisplayTabContent.js +1 -1
- package/lib-cjs/component/modal/setting/GeneralSettings.js +1 -5
- package/lib-cjs/component/panels/IntegralsPanel/IntegralPanel.js +0 -3
- package/lib-cjs/component/panels/IntegralsPanel/IntegralsPreferences.js +3 -16
- package/lib-cjs/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js +40 -0
- package/lib-cjs/component/panels/MoleculesPanel/MoleculePanel.js +48 -66
- package/lib-cjs/component/panels/MoleculesPanel/useAtomAssignment.js +3 -8
- package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisPanel.js +1 -22
- package/lib-cjs/component/panels/Panels.js +10 -0
- package/lib-cjs/component/panels/PeaksPanel/PeaksPanel.js +0 -3
- package/lib-cjs/component/panels/PeaksPanel/PeaksPreferences.js +4 -13
- package/lib-cjs/component/panels/RangesPanel/RangesPanel.js +0 -3
- package/lib-cjs/component/panels/RangesPanel/RangesPreferences.js +4 -17
- package/lib-cjs/component/panels/SpectrumsPanel/SpectraPanelHeader.js +13 -3
- package/lib-cjs/component/panels/SpectrumsPanel/base/setting/Spectrum2DHistogram.js +1 -1
- package/lib-cjs/component/panels/ZonesPanel/ZonesPanel.js +0 -3
- package/lib-cjs/component/panels/ZonesPanel/ZonesPreferences.js +4 -17
- package/lib-cjs/component/panels/ZonesPanel/ZonesTable.js +8 -1
- package/lib-cjs/component/panels/databasePanel/DatabasePanel.js +0 -3
- package/lib-cjs/component/panels/databasePanel/DatabasePreferences.js +3 -16
- package/lib-cjs/component/reducer/Reducer.js +4 -5
- package/lib-cjs/component/reducer/actions/FiltersActions.js +62 -18
- package/lib-cjs/component/reducer/actions/LoadActions.js +2 -3
- package/lib-cjs/component/reducer/actions/MoleculeActions.js +2 -2
- package/lib-cjs/component/reducer/actions/PreferencesActions.js +4 -7
- package/lib-cjs/component/reducer/actions/RangesActions.js +1 -1
- package/lib-cjs/component/reducer/actions/ToolsActions.js +13 -61
- package/lib-cjs/component/reducer/helper/ZoomHistoryManager.js +2 -1
- package/lib-cjs/component/reducer/helper/getRange.js +1 -1
- package/lib-cjs/component/reducer/preferencesReducer.js +75 -35
- package/lib-cjs/component/toolbar/FunctionToolBar.js +9 -15
- package/lib-cjs/component/toolbar/ToolTypes.js +3 -3
- package/lib-cjs/component/utility/PathBuilder.js +21 -0
- package/lib-cjs/component/utility/getSpectraByNucleus.js +11 -0
- package/lib-cjs/component/workspaces/Workspace.js +2 -0
- package/lib-cjs/component/workspaces/basic.js +48 -0
- package/lib-cjs/component/workspaces/exercise1D.js +48 -0
- package/lib-cjs/component/workspaces/index.js +6 -0
- package/lib-cjs/component/workspaces/process1D.js +46 -0
- package/lib-cjs/data/Filters.js +3 -1
- package/lib-cjs/data/data1d/Spectrum1D/ranges/addRange.js +5 -2
- package/lib-cjs/data/data1d/Spectrum1D/ranges/autoRangesDetection.js +6 -1
- package/lib-cjs/data/data1d/Spectrum1D/ranges/detectRange.js +0 -1
- package/lib-cjs/data/data1d/Spectrum1D/ranges/detectSignal.js +24 -15
- package/lib-cjs/data/data1d/filter1d/exclusionZones.js +34 -0
- package/lib-cjs/data/migration/MigrationManager.js +3 -0
- package/lib-cjs/data/types/data1d/ExclusionZone.js +2 -0
- package/lib-cjs/versionInfo.js +1 -1
- package/package.json +28 -29
- package/lib/component/1d/ExclusionZone.d.ts +0 -8
- package/lib/component/1d/ExclusionZone.js +0 -30
- package/lib/component/1d/ExclusionZones.d.ts +0 -2
- package/lib/component/1d/ExclusionZones.js +0 -10
- package/lib/component/nmriumMode/basic.d.ts +0 -38
- package/lib/component/nmriumMode/basic.js +0 -37
- package/lib/component/nmriumMode/exercise1D.d.ts +0 -38
- package/lib/component/nmriumMode/exercise1D.js +0 -37
- package/lib/component/nmriumMode/process1D.d.ts +0 -38
- package/lib/component/nmriumMode/process1D.js +0 -37
- package/lib-cjs/component/1d/ExclusionZone.js +0 -32
- package/lib-cjs/component/1d/ExclusionZones.js +0 -16
- package/lib-cjs/component/nmriumMode/basic.js +0 -39
- package/lib-cjs/component/nmriumMode/exercise1D.js +0 -39
- package/lib-cjs/component/nmriumMode/process1D.js +0 -39
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
general: {
|
|
3
|
-
disableMultipletAnalysis: false,
|
|
4
|
-
hideSetSumFromMolecule: false,
|
|
5
|
-
},
|
|
6
|
-
panels: {
|
|
7
|
-
hideSpectraPanel: false,
|
|
8
|
-
hideInformationPanel: false,
|
|
9
|
-
hidePeaksPanel: false,
|
|
10
|
-
hideIntegralsPanel: false,
|
|
11
|
-
hideRangesPanel: false,
|
|
12
|
-
hideStructuresPanel: false,
|
|
13
|
-
hideFiltersPanel: false,
|
|
14
|
-
hideZonesPanel: false,
|
|
15
|
-
hideSummaryPanel: true,
|
|
16
|
-
hideMultipleSpectraAnalysisPanel: true,
|
|
17
|
-
hideDatabasePanel: false,
|
|
18
|
-
},
|
|
19
|
-
toolBarButtons: {
|
|
20
|
-
hideZoomTool: false,
|
|
21
|
-
hideZoomOutTool: false,
|
|
22
|
-
hideImport: false,
|
|
23
|
-
hideExportAs: false,
|
|
24
|
-
hideSpectraStackAlignments: false,
|
|
25
|
-
hideSpectraCenterAlignments: false,
|
|
26
|
-
hideRealImaginary: false,
|
|
27
|
-
hidePeakTool: false,
|
|
28
|
-
hideIntegralTool: false,
|
|
29
|
-
hideAutoRangesTool: false,
|
|
30
|
-
hideZeroFillingTool: false,
|
|
31
|
-
hidePhaseCorrectionTool: false,
|
|
32
|
-
hideBaseLineCorrectionTool: false,
|
|
33
|
-
hideFFTTool: false,
|
|
34
|
-
hideMultipleSpectraAnalysisTool: false,
|
|
35
|
-
},
|
|
36
|
-
hideExperimentalFeatures: true,
|
|
37
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
general: {
|
|
3
|
-
disableMultipletAnalysis: boolean;
|
|
4
|
-
hideSetSumFromMolecule: boolean;
|
|
5
|
-
};
|
|
6
|
-
panels: {
|
|
7
|
-
hideSpectraPanel: boolean;
|
|
8
|
-
hideInformationPanel: boolean;
|
|
9
|
-
hidePeaksPanel: boolean;
|
|
10
|
-
hideIntegralsPanel: boolean;
|
|
11
|
-
hideRangesPanel: boolean;
|
|
12
|
-
hideStructuresPanel: boolean;
|
|
13
|
-
hideFiltersPanel: boolean;
|
|
14
|
-
hideZonesPanel: boolean;
|
|
15
|
-
hideSummaryPanel: boolean;
|
|
16
|
-
hideMultipleSpectraAnalysisPanel: boolean;
|
|
17
|
-
hideDatabasePanel: boolean;
|
|
18
|
-
};
|
|
19
|
-
toolBarButtons: {
|
|
20
|
-
hideZoomTool: boolean;
|
|
21
|
-
hideZoomOutTool: boolean;
|
|
22
|
-
hideImport: boolean;
|
|
23
|
-
hideExportAs: boolean;
|
|
24
|
-
hideSpectraStackAlignments: boolean;
|
|
25
|
-
hideSpectraCenterAlignments: boolean;
|
|
26
|
-
hideRealImaginary: boolean;
|
|
27
|
-
hidePeakTool: boolean;
|
|
28
|
-
hideIntegralTool: boolean;
|
|
29
|
-
hideAutoRangesTool: boolean;
|
|
30
|
-
hideZeroFillingTool: boolean;
|
|
31
|
-
hidePhaseCorrectionTool: boolean;
|
|
32
|
-
hideBaseLineCorrectionTool: boolean;
|
|
33
|
-
hideFFTTool: boolean;
|
|
34
|
-
hideMultipleSpectraAnalysisTool: boolean;
|
|
35
|
-
hideExclusionZonesTool: boolean;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
general: {
|
|
3
|
-
disableMultipletAnalysis: true,
|
|
4
|
-
hideSetSumFromMolecule: false,
|
|
5
|
-
},
|
|
6
|
-
panels: {
|
|
7
|
-
hideSpectraPanel: false,
|
|
8
|
-
hideInformationPanel: false,
|
|
9
|
-
hidePeaksPanel: false,
|
|
10
|
-
hideIntegralsPanel: false,
|
|
11
|
-
hideRangesPanel: true,
|
|
12
|
-
hideStructuresPanel: false,
|
|
13
|
-
hideFiltersPanel: true,
|
|
14
|
-
hideZonesPanel: true,
|
|
15
|
-
hideSummaryPanel: true,
|
|
16
|
-
hideMultipleSpectraAnalysisPanel: true,
|
|
17
|
-
hideDatabasePanel: false,
|
|
18
|
-
},
|
|
19
|
-
toolBarButtons: {
|
|
20
|
-
hideZoomTool: false,
|
|
21
|
-
hideZoomOutTool: false,
|
|
22
|
-
hideImport: true,
|
|
23
|
-
hideExportAs: true,
|
|
24
|
-
hideSpectraStackAlignments: false,
|
|
25
|
-
hideSpectraCenterAlignments: false,
|
|
26
|
-
hideRealImaginary: true,
|
|
27
|
-
hidePeakTool: false,
|
|
28
|
-
hideIntegralTool: false,
|
|
29
|
-
hideAutoRangesTool: true,
|
|
30
|
-
hideZeroFillingTool: true,
|
|
31
|
-
hidePhaseCorrectionTool: true,
|
|
32
|
-
hideBaseLineCorrectionTool: true,
|
|
33
|
-
hideFFTTool: true,
|
|
34
|
-
hideMultipleSpectraAnalysisTool: true,
|
|
35
|
-
hideExclusionZonesTool: true,
|
|
36
|
-
},
|
|
37
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
general: {
|
|
3
|
-
disableMultipletAnalysis: boolean;
|
|
4
|
-
hideSetSumFromMolecule: boolean;
|
|
5
|
-
};
|
|
6
|
-
panels: {
|
|
7
|
-
hideSpectraPanel: boolean;
|
|
8
|
-
hideInformationPanel: boolean;
|
|
9
|
-
hidePeaksPanel: boolean;
|
|
10
|
-
hideIntegralsPanel: boolean;
|
|
11
|
-
hideRangesPanel: boolean;
|
|
12
|
-
hideStructuresPanel: boolean;
|
|
13
|
-
hideFiltersPanel: boolean;
|
|
14
|
-
hideZonesPanel: boolean;
|
|
15
|
-
hideSummaryPanel: boolean;
|
|
16
|
-
hideMultipleSpectraAnalysisPanel: boolean;
|
|
17
|
-
hideDatabasePanel: boolean;
|
|
18
|
-
};
|
|
19
|
-
toolBarButtons: {
|
|
20
|
-
hideZoomTool: boolean;
|
|
21
|
-
hideZoomOutTool: boolean;
|
|
22
|
-
hideImport: boolean;
|
|
23
|
-
hideExportAs: boolean;
|
|
24
|
-
hideSpectraStackAlignments: boolean;
|
|
25
|
-
hideSpectraCenterAlignments: boolean;
|
|
26
|
-
hideRealImaginary: boolean;
|
|
27
|
-
hidePeakTool: boolean;
|
|
28
|
-
hideIntegralTool: boolean;
|
|
29
|
-
hideAutoRangesTool: boolean;
|
|
30
|
-
hideZeroFillingTool: boolean;
|
|
31
|
-
hidePhaseCorrectionTool: boolean;
|
|
32
|
-
hideBaseLineCorrectionTool: boolean;
|
|
33
|
-
hideFFTTool: boolean;
|
|
34
|
-
hideMultipleSpectraAnalysisTool: boolean;
|
|
35
|
-
hideExclusionZonesTool: boolean;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
general: {
|
|
3
|
-
disableMultipletAnalysis: true,
|
|
4
|
-
hideSetSumFromMolecule: false,
|
|
5
|
-
},
|
|
6
|
-
panels: {
|
|
7
|
-
hideSpectraPanel: false,
|
|
8
|
-
hideInformationPanel: false,
|
|
9
|
-
hidePeaksPanel: false,
|
|
10
|
-
hideIntegralsPanel: false,
|
|
11
|
-
hideRangesPanel: true,
|
|
12
|
-
hideStructuresPanel: false,
|
|
13
|
-
hideFiltersPanel: false,
|
|
14
|
-
hideZonesPanel: true,
|
|
15
|
-
hideSummaryPanel: true,
|
|
16
|
-
hideMultipleSpectraAnalysisPanel: true,
|
|
17
|
-
hideDatabasePanel: false,
|
|
18
|
-
},
|
|
19
|
-
toolBarButtons: {
|
|
20
|
-
hideZoomTool: false,
|
|
21
|
-
hideZoomOutTool: false,
|
|
22
|
-
hideImport: true,
|
|
23
|
-
hideExportAs: true,
|
|
24
|
-
hideSpectraStackAlignments: false,
|
|
25
|
-
hideSpectraCenterAlignments: false,
|
|
26
|
-
hideRealImaginary: false,
|
|
27
|
-
hidePeakTool: false,
|
|
28
|
-
hideIntegralTool: false,
|
|
29
|
-
hideAutoRangesTool: true,
|
|
30
|
-
hideZeroFillingTool: false,
|
|
31
|
-
hidePhaseCorrectionTool: false,
|
|
32
|
-
hideBaseLineCorrectionTool: false,
|
|
33
|
-
hideFFTTool: false,
|
|
34
|
-
hideMultipleSpectraAnalysisTool: true,
|
|
35
|
-
hideExclusionZonesTool: true,
|
|
36
|
-
},
|
|
37
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
4
|
-
/** @jsxImportSource @emotion/react */
|
|
5
|
-
const react_1 = require("@emotion/react");
|
|
6
|
-
const react_2 = require("react");
|
|
7
|
-
const ScaleContext_1 = require("../context/ScaleContext");
|
|
8
|
-
const highlight_1 = require("../highlight");
|
|
9
|
-
const styles = (0, react_1.css) `
|
|
10
|
-
pointer-events: bounding-box;
|
|
11
|
-
user-select: 'none';
|
|
12
|
-
-webkit-user-select: none; /* Chrome all / Safari all */
|
|
13
|
-
-moz-user-select: none; /* Firefox all */
|
|
14
|
-
|
|
15
|
-
.zone-area {
|
|
16
|
-
height: 100%;
|
|
17
|
-
fill: #dddddd;
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
.zone-area.active {
|
|
21
|
-
fill: #ff6f0057;
|
|
22
|
-
}
|
|
23
|
-
`;
|
|
24
|
-
function ExclusionZone({ zone }) {
|
|
25
|
-
const { scaleX } = (0, ScaleContext_1.useScaleChecked)();
|
|
26
|
-
const highlight = (0, highlight_1.useHighlight)([zone.id], {
|
|
27
|
-
type: highlight_1.HighlightedSource.EXCLUSION_ZONE,
|
|
28
|
-
extra: { id: zone.id },
|
|
29
|
-
});
|
|
30
|
-
return ((0, jsx_runtime_1.jsx)("g", { transform: `translate(${scaleX()(zone.to)},0)`, css: styles, ...highlight.onHover, children: (0, jsx_runtime_1.jsx)("rect", { x: "0", width: `${scaleX()(zone.from) - scaleX()(zone.to)}`, className: `zone-area ${highlight.isActive ? 'active' : ''}` }, void 0) }, zone.id));
|
|
31
|
-
}
|
|
32
|
-
exports.default = (0, react_2.memo)(ExclusionZone);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const ChartContext_1 = require("../context/ChartContext");
|
|
8
|
-
const ExclusionZone_1 = __importDefault(require("./ExclusionZone"));
|
|
9
|
-
function ExclusionZones() {
|
|
10
|
-
const { toolOptions: { data: { exclusionZones }, }, activeTab, } = (0, ChartContext_1.useChartData)();
|
|
11
|
-
const exclusionZonesForNucleus = exclusionZones[activeTab];
|
|
12
|
-
if (!exclusionZonesForNucleus)
|
|
13
|
-
return null;
|
|
14
|
-
return ((0, jsx_runtime_1.jsx)("g", { className: "exclusionZones", children: exclusionZonesForNucleus.map((zone) => ((0, jsx_runtime_1.jsx)(ExclusionZone_1.default, { zone: zone }, zone.id))) }, void 0));
|
|
15
|
-
}
|
|
16
|
-
exports.default = ExclusionZones;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = {
|
|
4
|
-
general: {
|
|
5
|
-
disableMultipletAnalysis: false,
|
|
6
|
-
hideSetSumFromMolecule: false,
|
|
7
|
-
},
|
|
8
|
-
panels: {
|
|
9
|
-
hideSpectraPanel: false,
|
|
10
|
-
hideInformationPanel: false,
|
|
11
|
-
hidePeaksPanel: false,
|
|
12
|
-
hideIntegralsPanel: false,
|
|
13
|
-
hideRangesPanel: false,
|
|
14
|
-
hideStructuresPanel: false,
|
|
15
|
-
hideFiltersPanel: false,
|
|
16
|
-
hideZonesPanel: false,
|
|
17
|
-
hideSummaryPanel: true,
|
|
18
|
-
hideMultipleSpectraAnalysisPanel: true,
|
|
19
|
-
hideDatabasePanel: false,
|
|
20
|
-
},
|
|
21
|
-
toolBarButtons: {
|
|
22
|
-
hideZoomTool: false,
|
|
23
|
-
hideZoomOutTool: false,
|
|
24
|
-
hideImport: false,
|
|
25
|
-
hideExportAs: false,
|
|
26
|
-
hideSpectraStackAlignments: false,
|
|
27
|
-
hideSpectraCenterAlignments: false,
|
|
28
|
-
hideRealImaginary: false,
|
|
29
|
-
hidePeakTool: false,
|
|
30
|
-
hideIntegralTool: false,
|
|
31
|
-
hideAutoRangesTool: false,
|
|
32
|
-
hideZeroFillingTool: false,
|
|
33
|
-
hidePhaseCorrectionTool: false,
|
|
34
|
-
hideBaseLineCorrectionTool: false,
|
|
35
|
-
hideFFTTool: false,
|
|
36
|
-
hideMultipleSpectraAnalysisTool: false,
|
|
37
|
-
},
|
|
38
|
-
hideExperimentalFeatures: true,
|
|
39
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = {
|
|
4
|
-
general: {
|
|
5
|
-
disableMultipletAnalysis: true,
|
|
6
|
-
hideSetSumFromMolecule: false,
|
|
7
|
-
},
|
|
8
|
-
panels: {
|
|
9
|
-
hideSpectraPanel: false,
|
|
10
|
-
hideInformationPanel: false,
|
|
11
|
-
hidePeaksPanel: false,
|
|
12
|
-
hideIntegralsPanel: false,
|
|
13
|
-
hideRangesPanel: true,
|
|
14
|
-
hideStructuresPanel: false,
|
|
15
|
-
hideFiltersPanel: true,
|
|
16
|
-
hideZonesPanel: true,
|
|
17
|
-
hideSummaryPanel: true,
|
|
18
|
-
hideMultipleSpectraAnalysisPanel: true,
|
|
19
|
-
hideDatabasePanel: false,
|
|
20
|
-
},
|
|
21
|
-
toolBarButtons: {
|
|
22
|
-
hideZoomTool: false,
|
|
23
|
-
hideZoomOutTool: false,
|
|
24
|
-
hideImport: true,
|
|
25
|
-
hideExportAs: true,
|
|
26
|
-
hideSpectraStackAlignments: false,
|
|
27
|
-
hideSpectraCenterAlignments: false,
|
|
28
|
-
hideRealImaginary: true,
|
|
29
|
-
hidePeakTool: false,
|
|
30
|
-
hideIntegralTool: false,
|
|
31
|
-
hideAutoRangesTool: true,
|
|
32
|
-
hideZeroFillingTool: true,
|
|
33
|
-
hidePhaseCorrectionTool: true,
|
|
34
|
-
hideBaseLineCorrectionTool: true,
|
|
35
|
-
hideFFTTool: true,
|
|
36
|
-
hideMultipleSpectraAnalysisTool: true,
|
|
37
|
-
hideExclusionZonesTool: true,
|
|
38
|
-
},
|
|
39
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = {
|
|
4
|
-
general: {
|
|
5
|
-
disableMultipletAnalysis: true,
|
|
6
|
-
hideSetSumFromMolecule: false,
|
|
7
|
-
},
|
|
8
|
-
panels: {
|
|
9
|
-
hideSpectraPanel: false,
|
|
10
|
-
hideInformationPanel: false,
|
|
11
|
-
hidePeaksPanel: false,
|
|
12
|
-
hideIntegralsPanel: false,
|
|
13
|
-
hideRangesPanel: true,
|
|
14
|
-
hideStructuresPanel: false,
|
|
15
|
-
hideFiltersPanel: false,
|
|
16
|
-
hideZonesPanel: true,
|
|
17
|
-
hideSummaryPanel: true,
|
|
18
|
-
hideMultipleSpectraAnalysisPanel: true,
|
|
19
|
-
hideDatabasePanel: false,
|
|
20
|
-
},
|
|
21
|
-
toolBarButtons: {
|
|
22
|
-
hideZoomTool: false,
|
|
23
|
-
hideZoomOutTool: false,
|
|
24
|
-
hideImport: true,
|
|
25
|
-
hideExportAs: true,
|
|
26
|
-
hideSpectraStackAlignments: false,
|
|
27
|
-
hideSpectraCenterAlignments: false,
|
|
28
|
-
hideRealImaginary: false,
|
|
29
|
-
hidePeakTool: false,
|
|
30
|
-
hideIntegralTool: false,
|
|
31
|
-
hideAutoRangesTool: true,
|
|
32
|
-
hideZeroFillingTool: false,
|
|
33
|
-
hidePhaseCorrectionTool: false,
|
|
34
|
-
hideBaseLineCorrectionTool: false,
|
|
35
|
-
hideFFTTool: false,
|
|
36
|
-
hideMultipleSpectraAnalysisTool: true,
|
|
37
|
-
hideExclusionZonesTool: true,
|
|
38
|
-
},
|
|
39
|
-
};
|