nmrium 0.43.0 → 0.44.1-pre.1694759092

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.
Files changed (1253) hide show
  1. package/lib/component/1d/ApodizationLine.js +54 -25
  2. package/lib/component/1d/Chart1D.js +25 -20
  3. package/lib/component/1d/ExclusionZoneAnnotation.js +22 -17
  4. package/lib/component/1d/ExclusionZonesAnnotations.js +25 -21
  5. package/lib/component/1d/FooterBanner.js +38 -32
  6. package/lib/component/1d/Line.js +43 -15
  7. package/lib/component/1d/LinesSeries.js +16 -11
  8. package/lib/component/1d/SpectraLegends.js +29 -24
  9. package/lib/component/1d/Viewer1D.js +102 -74
  10. package/lib/component/1d/XAxis.js +40 -15
  11. package/lib/component/1d/YAxis.js +38 -13
  12. package/lib/component/1d/database/DatabaseElements.js +16 -11
  13. package/lib/component/1d/database/DatabaseSpectrum.js +45 -31
  14. package/lib/component/1d/database/ResurrectedDatabaseRanges.js +31 -25
  15. package/lib/component/1d/integral/Integral.d.ts +1 -2
  16. package/lib/component/1d/integral/Integral.js +14 -11
  17. package/lib/component/1d/integral/IntegralIndicator.js +10 -6
  18. package/lib/component/1d/integral/IntegralResizable.js +28 -23
  19. package/lib/component/1d/integral/IntegralsSeries.d.ts +1 -1
  20. package/lib/component/1d/integral/IntegralsSeries.js +19 -20
  21. package/lib/component/1d/jCouplingGraph/JGraph.js +30 -24
  22. package/lib/component/1d/jCouplingGraph/JGraphContext.js +9 -5
  23. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js +12 -8
  24. package/lib/component/1d/jCouplingGraph/JsCoupling.js +10 -7
  25. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.js +13 -10
  26. package/lib/component/1d/jCouplingGraph/JsCouplings.js +16 -10
  27. package/lib/component/1d/multiAnalysis/AnalysisRange.js +26 -21
  28. package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.js +19 -13
  29. package/lib/component/1d/multiplicityTree/LevelNode.js +8 -6
  30. package/lib/component/1d/multiplicityTree/MultiplicityTree.js +40 -33
  31. package/lib/component/1d/multiplicityTree/StringNode.js +7 -5
  32. package/lib/component/1d/multiplicityTree/TreeColors.js +4 -1
  33. package/lib/component/1d/multiplicityTree/TreeNodes.js +10 -8
  34. package/lib/component/1d/multiplicityTree/buildTreeNode.js +12 -7
  35. package/lib/component/1d/peaks/PeakAnnotations.d.ts +10 -1
  36. package/lib/component/1d/peaks/PeakAnnotations.js +26 -25
  37. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts +5 -2
  38. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +25 -42
  39. package/lib/component/1d/peaks/PeakEditionManager.js +60 -27
  40. package/lib/component/1d/peaks/Peaks.d.ts +31 -1
  41. package/lib/component/1d/peaks/Peaks.js +95 -18
  42. package/lib/component/1d/peaks/PeaksShapes.js +26 -21
  43. package/lib/component/1d/peaks/usePeakShapesPath.js +14 -10
  44. package/lib/component/1d/ranges/AssignmentActionsButtons.js +12 -5
  45. package/lib/component/1d/ranges/Range.js +36 -31
  46. package/lib/component/1d/ranges/RangeIntegral.js +10 -5
  47. package/lib/component/1d/ranges/Ranges.js +26 -22
  48. package/lib/component/1d/tool/BaseLineZones.js +12 -10
  49. package/lib/component/1d/tool/PeakPointer.js +29 -24
  50. package/lib/component/1d/tool/VerticalIndicator.js +11 -9
  51. package/lib/component/1d/tool/XLabelPointer.js +21 -19
  52. package/lib/component/1d/utilities/getDecimalsCount.d.ts +1 -0
  53. package/lib/component/1d/utilities/getDecimalsCount.js +10 -0
  54. package/lib/component/1d/utilities/intersectionResolver.js +9 -3
  55. package/lib/component/1d/utilities/scale.d.ts +28 -4
  56. package/lib/component/1d/utilities/scale.js +33 -13
  57. package/lib/component/1d-2d/components/FloatMoleculeStructures/ActionsButton.js +12 -6
  58. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts +2 -2
  59. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +39 -32
  60. package/lib/component/1d-2d/components/FloatMoleculeStructures/index.d.ts +2 -2
  61. package/lib/component/1d-2d/components/FloatMoleculeStructures/index.js +23 -15
  62. package/lib/component/1d-2d/components/SpectrumInfoBlock.js +20 -15
  63. package/lib/component/1d-2d/tools/BrushX.js +20 -17
  64. package/lib/component/1d-2d/tools/BrushXY.js +33 -29
  65. package/lib/component/1d-2d/tools/CrossLinePointer.js +26 -24
  66. package/lib/component/2d/1d-tracer/HorizontalSliceChart.js +40 -15
  67. package/lib/component/2d/1d-tracer/Left1DChart.js +39 -14
  68. package/lib/component/2d/1d-tracer/Top1DChart.js +39 -14
  69. package/lib/component/2d/1d-tracer/VerticalSliceChart.js +40 -15
  70. package/lib/component/2d/Chart2D.js +23 -17
  71. package/lib/component/2d/FooterBanner.js +59 -57
  72. package/lib/component/2d/SignalDeltaLine.js +15 -13
  73. package/lib/component/2d/SlicingView.js +24 -19
  74. package/lib/component/2d/Viewer2D.js +68 -40
  75. package/lib/component/2d/XAxis.js +43 -15
  76. package/lib/component/2d/YAxis.js +43 -15
  77. package/lib/component/2d/fid/FidCanvas.js +24 -17
  78. package/lib/component/2d/fid/FidContainer.js +26 -19
  79. package/lib/component/2d/ft/Contours.js +41 -35
  80. package/lib/component/2d/ft/FTContainer.js +15 -8
  81. package/lib/component/2d/tools/XYLabelPointer.js +46 -41
  82. package/lib/component/2d/utilities/DimensionLayout.js +6 -1
  83. package/lib/component/2d/utilities/SliceScale.js +12 -7
  84. package/lib/component/2d/utilities/scale.js +17 -11
  85. package/lib/component/2d/zones/IndicationLines.js +21 -19
  86. package/lib/component/2d/zones/Signal.d.ts +2 -9
  87. package/lib/component/2d/zones/Signal.js +30 -23
  88. package/lib/component/2d/zones/SignalCrosshair.js +19 -14
  89. package/lib/component/2d/zones/Zone.d.ts +1 -4
  90. package/lib/component/2d/zones/Zone.js +31 -24
  91. package/lib/component/2d/zones/Zones.js +19 -22
  92. package/lib/component/EventsTrackers/BrushTracker.js +28 -20
  93. package/lib/component/EventsTrackers/KeysListenerTracker.js +73 -55
  94. package/lib/component/EventsTrackers/MouseTracker.js +17 -12
  95. package/lib/component/assignment/AssignmentsContext.js +21 -16
  96. package/lib/component/assignment/AssignmentsReducer.js +15 -9
  97. package/lib/component/assignment/actions/initAssignment.js +8 -5
  98. package/lib/component/assignment/actions/removeAssignment.js +7 -2
  99. package/lib/component/assignment/actions/setActiveAssignment.js +4 -1
  100. package/lib/component/assignment/actions/toggleAssignment.js +6 -3
  101. package/lib/component/assignment/index.js +18 -11
  102. package/lib/component/assignment/utilities/filterForIDsWithAssignment.js +5 -1
  103. package/lib/component/context/ChartContext.js +10 -6
  104. package/lib/component/context/DispatchContext.d.ts +3 -1
  105. package/lib/component/context/DispatchContext.js +9 -5
  106. package/lib/component/context/GlobalContext.js +9 -5
  107. package/lib/component/context/KeyModifierContext.d.ts +5 -0
  108. package/lib/component/context/KeyModifierContext.js +15 -9
  109. package/lib/component/context/LoaderContext.js +9 -5
  110. package/lib/component/context/LoggerContext.js +23 -18
  111. package/lib/component/context/PreferencesContext.js +16 -11
  112. package/lib/component/context/ScaleContext.js +12 -7
  113. package/lib/component/elements/ActionButtons.js +11 -5
  114. package/lib/component/elements/ActiveButton.d.ts +2 -2
  115. package/lib/component/elements/ActiveButton.js +13 -8
  116. package/lib/component/elements/Button.js +23 -21
  117. package/lib/component/elements/ButtonToolTip.js +9 -4
  118. package/lib/component/elements/CheckBox.js +8 -6
  119. package/lib/component/elements/CheckBoxCell.js +11 -4
  120. package/lib/component/elements/CloseButton.js +11 -6
  121. package/lib/component/elements/ColorInput.js +15 -13
  122. package/lib/component/elements/ColumnWrapper.js +7 -3
  123. package/lib/component/elements/ContextMenu.js +20 -18
  124. package/lib/component/elements/CounterLabel.d.ts +7 -0
  125. package/lib/component/elements/CounterLabel.js +16 -0
  126. package/lib/component/elements/DeleteButton.js +5 -3
  127. package/lib/component/elements/EditableColumn.js +36 -19
  128. package/lib/component/elements/GroupPane.js +7 -3
  129. package/lib/component/elements/Header.js +9 -5
  130. package/lib/component/elements/Input.d.ts +3 -12
  131. package/lib/component/elements/Input.js +39 -86
  132. package/lib/component/elements/InputRange.js +10 -8
  133. package/lib/component/elements/IsotopesViewer.js +5 -3
  134. package/lib/component/elements/Label.js +12 -6
  135. package/lib/component/elements/Logo.js +6 -3
  136. package/lib/component/elements/MenuButton.js +21 -15
  137. package/lib/component/elements/Message.js +9 -7
  138. package/lib/component/elements/MolecularFormulaInput.js +19 -13
  139. package/lib/component/elements/MoleculeSelection.js +20 -14
  140. package/lib/component/elements/NextPrev.js +22 -20
  141. package/lib/component/elements/NumberInput.js +13 -8
  142. package/lib/component/elements/PreferencesButton.d.ts +4 -0
  143. package/lib/component/elements/PreferencesButton.js +13 -0
  144. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js +9 -5
  145. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js +8 -6
  146. package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +16 -14
  147. package/lib/component/elements/ReactTable/ReactTable.js +65 -37
  148. package/lib/component/elements/ReactTable/ReactTableFlexLayout.js +14 -12
  149. package/lib/component/elements/ReactTable/Style.js +6 -3
  150. package/lib/component/elements/ReactTable/utility/ReactTableContext.js +9 -5
  151. package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts +12 -0
  152. package/lib/component/elements/ReactTable/utility/addCustomColumn.js +29 -1
  153. package/lib/component/elements/ReactTable/utility/useRowSpan.js +7 -2
  154. package/lib/component/elements/RemoveAssignmentsButton.js +11 -7
  155. package/lib/component/elements/SVGGroup.js +11 -7
  156. package/lib/component/elements/SaveButton.js +13 -8
  157. package/lib/component/elements/Scroller.js +15 -11
  158. package/lib/component/elements/Select.js +10 -8
  159. package/lib/component/elements/Tab/DeleteButton.js +8 -6
  160. package/lib/component/elements/Tab/Tab.js +12 -6
  161. package/lib/component/elements/Tab/Tabs.js +20 -14
  162. package/lib/component/elements/Table/Table.js +6 -4
  163. package/lib/component/elements/Table/TableBody.js +8 -6
  164. package/lib/component/elements/Table/TableCell.js +6 -4
  165. package/lib/component/elements/Table/TableHead.js +6 -4
  166. package/lib/component/elements/Table/TableRow.js +6 -4
  167. package/lib/component/elements/ToggleButton.js +14 -9
  168. package/lib/component/elements/ToolTip/ToolTip.js +18 -16
  169. package/lib/component/elements/ToolbarMenu.js +22 -19
  170. package/lib/component/elements/accordion/Accordion.js +17 -15
  171. package/lib/component/elements/accordion/AccordionItem.js +20 -17
  172. package/lib/component/elements/draggable/SVGDraggable.js +13 -7
  173. package/lib/component/elements/draggable/useDraggable.js +10 -7
  174. package/lib/component/elements/dropDownButton/DropDownButton.js +21 -16
  175. package/lib/component/elements/dropDownButton/DropDownList.js +14 -12
  176. package/lib/component/elements/formik/ErrorMessage.js +8 -6
  177. package/lib/component/elements/formik/FormikCheckBox.js +16 -11
  178. package/lib/component/elements/formik/FormikColorInput.js +14 -9
  179. package/lib/component/elements/formik/FormikColorPicker.js +14 -9
  180. package/lib/component/elements/formik/FormikColumnFormatField.js +21 -14
  181. package/lib/component/elements/formik/FormikError.js +13 -8
  182. package/lib/component/elements/formik/FormikErrorsSummary.js +11 -9
  183. package/lib/component/elements/formik/FormikInput.d.ts +2 -2
  184. package/lib/component/elements/formik/FormikInput.js +18 -16
  185. package/lib/component/elements/formik/FormikNumberInput.js +16 -11
  186. package/lib/component/elements/formik/FormikOnChange.js +13 -8
  187. package/lib/component/elements/formik/FormikSelect.js +17 -12
  188. package/lib/component/elements/formik/FormikSlider.js +15 -10
  189. package/lib/component/elements/formik/FormikTextarea.js +16 -11
  190. package/lib/component/elements/formik/Input.js +11 -6
  191. package/lib/component/elements/formik/SelectBox.js +13 -8
  192. package/lib/component/elements/linearAxis/LinearVerticalAxis.js +14 -10
  193. package/lib/component/elements/popup/Alert/AlertBlock.js +15 -9
  194. package/lib/component/elements/popup/Alert/Context.js +9 -5
  195. package/lib/component/elements/popup/Alert/ProgressIndicator.js +8 -5
  196. package/lib/component/elements/popup/Alert/Provider.js +39 -34
  197. package/lib/component/elements/popup/Alert/index.js +14 -3
  198. package/lib/component/elements/popup/Modal/ConfirmDialog.js +9 -7
  199. package/lib/component/elements/popup/Modal/Context.js +9 -5
  200. package/lib/component/elements/popup/Modal/Modal.js +8 -6
  201. package/lib/component/elements/popup/Modal/ModalContent.js +11 -9
  202. package/lib/component/elements/popup/Modal/Provider.js +44 -39
  203. package/lib/component/elements/popup/Modal/index.js +15 -4
  204. package/lib/component/elements/popup/Transition.js +14 -11
  205. package/lib/component/elements/popup/Wrapper.js +18 -15
  206. package/lib/component/elements/popup/options.js +6 -3
  207. package/lib/component/elements/popup/utility.js +4 -1
  208. package/lib/component/elements/resizer/DivResizer.js +18 -12
  209. package/lib/component/elements/resizer/Resizer.js +12 -6
  210. package/lib/component/elements/resizer/SVGResizer.js +15 -9
  211. package/lib/component/elements/resizer/useResizer.js +18 -12
  212. package/lib/component/elements/toggle/ToggleButton.js +11 -8
  213. package/lib/component/elements/toggle/ToggleButtonGroup.js +21 -15
  214. package/lib/component/header/ApodizationOptionsPanel.js +53 -24
  215. package/lib/component/header/AutoPeakPickingOptionPanel.js +53 -21
  216. package/lib/component/header/BaseLineCorrectionPanel.js +54 -25
  217. package/lib/component/header/Header.js +65 -57
  218. package/lib/component/header/HeaderContainer.js +7 -3
  219. package/lib/component/header/PhaseCorrectionPanel.js +41 -34
  220. package/lib/component/header/RangesPickingOptionPanel.js +53 -21
  221. package/lib/component/header/ZeroFillingOptionsPanel.js +30 -24
  222. package/lib/component/header/Zones2DOptionPanel.js +47 -16
  223. package/lib/component/highlight/index.d.ts +1 -0
  224. package/lib/component/highlight/index.js +29 -22
  225. package/lib/component/hooks/useActiveSpectra.js +9 -5
  226. package/lib/component/hooks/useActiveSpectrum.js +9 -5
  227. package/lib/component/hooks/useActiveSpectrumPeaksViewState.js +12 -8
  228. package/lib/component/hooks/useActiveSpectrumRangesViewState.d.ts +3 -0
  229. package/lib/component/hooks/useActiveSpectrumRangesViewState.js +23 -0
  230. package/lib/component/hooks/useActiveSpectrumStyleOptions.js +15 -9
  231. package/lib/component/hooks/useActiveSpectrumZonesViewState.d.ts +3 -0
  232. package/lib/component/hooks/useActiveSpectrumZonesViewState.js +21 -0
  233. package/lib/component/hooks/useCheckExperimentalFeature.js +6 -3
  234. package/lib/component/hooks/useCheckPointsNumberInWindowArea.js +15 -8
  235. package/lib/component/hooks/useCheckToolsVisibility.js +22 -15
  236. package/lib/component/hooks/useCombinedRefs.js +7 -4
  237. package/lib/component/hooks/useDatumWithSpectraStatistics.js +15 -9
  238. package/lib/component/hooks/useExport.js +37 -31
  239. package/lib/component/hooks/useFilter.js +12 -5
  240. package/lib/component/hooks/useFormatNumberByNucleus.js +16 -9
  241. package/lib/component/hooks/useIntegralPath.js +24 -21
  242. package/lib/component/hooks/useNucleus.js +8 -5
  243. package/lib/component/hooks/usePanelPreferences.js +30 -22
  244. package/lib/component/hooks/useResizerStatus.js +9 -5
  245. package/lib/component/hooks/useSaveSettings.js +49 -19
  246. package/lib/component/hooks/useSpectraPerNucleus.js +13 -7
  247. package/lib/component/hooks/useSpectrum.js +10 -7
  248. package/lib/component/hooks/useTableSortBy.js +18 -11
  249. package/lib/component/hooks/useToolsFunctions.js +36 -30
  250. package/lib/component/hooks/useVerticalAlign.js +9 -5
  251. package/lib/component/hooks/useXScale.js +10 -6
  252. package/lib/component/hooks/useXYReduce.js +13 -9
  253. package/lib/component/loader/DefaultSpinnerComponent.js +8 -5
  254. package/lib/component/loader/DropZone.js +38 -36
  255. package/lib/component/loader/NoData.js +9 -7
  256. package/lib/component/loader/Spinner.js +16 -11
  257. package/lib/component/loader/SpinnerContext.js +14 -7
  258. package/lib/component/main/ErrorOverlay.js +12 -6
  259. package/lib/component/main/InnerNMRium.js +61 -31
  260. package/lib/component/main/InnerNMRiumContents.js +32 -26
  261. package/lib/component/main/NMRium.js +17 -11
  262. package/lib/component/main/NMRiumStateProvider.js +33 -27
  263. package/lib/component/main/SplitPaneWrapper.js +10 -6
  264. package/lib/component/main/StateError.js +11 -7
  265. package/lib/component/main/index.js +21 -3
  266. package/lib/component/main/types.js +2 -1
  267. package/lib/component/modal/AboutPredictionModal.js +14 -9
  268. package/lib/component/modal/AboutSpectrumSimulationModal.js +14 -9
  269. package/lib/component/modal/AlignSpectraModal.js +122 -45
  270. package/lib/component/modal/CopyClipboardModal.js +12 -7
  271. package/lib/component/modal/EditPeakShapeModal.js +49 -21
  272. package/lib/component/modal/ExportAsJcampModal.js +21 -16
  273. package/lib/component/modal/ImportPublicationStringModal.js +47 -19
  274. package/lib/component/modal/LoadJCAMPModal.js +49 -19
  275. package/lib/component/modal/LogsHistoryModal.js +27 -20
  276. package/lib/component/modal/ModalStyle.js +5 -2
  277. package/lib/component/modal/MoleculeStructureEditorModal.d.ts +5 -1
  278. package/lib/component/modal/MoleculeStructureEditorModal.js +27 -26
  279. package/lib/component/modal/MultipletAnalysisModal.js +30 -24
  280. package/lib/component/modal/PredictSpectraModal.js +39 -32
  281. package/lib/component/modal/SaveAsModal.js +29 -23
  282. package/{lib-cjs/component/modal → lib/component/modal/aboutUs}/AboutUsModal.js +4 -3
  283. package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts +1 -0
  284. package/lib/component/modal/aboutUs/AboutUsZakodium.js +39 -0
  285. package/lib/component/modal/changeSum/ChangeSumModal.js +9 -6
  286. package/lib/component/modal/changeSum/ChangeSumModalContents.js +50 -20
  287. package/lib/component/modal/changeSum/SelectMolecule.js +24 -18
  288. package/lib/component/modal/editRange/EditRangeModal.js +48 -43
  289. package/lib/component/modal/editRange/forms/components/AddSignalFormTab.js +53 -25
  290. package/lib/component/modal/editRange/forms/components/CouplingsTable.js +29 -24
  291. package/lib/component/modal/editRange/forms/components/DeltaInput.js +11 -6
  292. package/lib/component/modal/editRange/forms/components/SignalFormInfo.js +11 -7
  293. package/lib/component/modal/editRange/forms/components/SignalFormTab.js +12 -7
  294. package/lib/component/modal/editRange/forms/components/SignalsForm.js +45 -40
  295. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +29 -4
  296. package/lib/component/modal/editZone/EditPathLengthFormik.js +19 -14
  297. package/lib/component/modal/editZone/EditZoneModal.js +29 -24
  298. package/lib/component/modal/editZone/SignalFormTab.js +9 -4
  299. package/lib/component/modal/editZone/SignalsForm.js +25 -20
  300. package/lib/component/modal/editZone/validation/EditZoneValidation.js +27 -2
  301. package/lib/component/modal/editZone/validation/isDefaultPathLength.js +10 -5
  302. package/lib/component/modal/metaImportation/MetaImportationModal.js +68 -40
  303. package/lib/component/modal/metaImportation/index.js +19 -11
  304. package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.js +5 -1
  305. package/lib/component/modal/setting/GeneralSettings.js +84 -56
  306. package/lib/component/modal/setting/WorkspaceItem.js +13 -8
  307. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +27 -22
  308. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +12 -7
  309. package/lib/component/modal/setting/settings-tabs/FormattingTabContent.js +21 -16
  310. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +13 -8
  311. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js +17 -12
  312. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +35 -30
  313. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +20 -15
  314. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js +11 -6
  315. package/lib/component/modal/setting/settingsValidation.js +25 -18
  316. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js +21 -16
  317. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js +16 -11
  318. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +23 -16
  319. package/lib/component/panels/InformationPanel.js +17 -102
  320. package/lib/component/panels/IntegralsPanel/IntegralPanel.js +73 -44
  321. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts +3 -2
  322. package/lib/component/panels/IntegralsPanel/IntegralTable.js +88 -52
  323. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +60 -27
  324. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js +19 -12
  325. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js +37 -30
  326. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js +71 -42
  327. package/lib/component/panels/MoleculesPanel/MoleculeHeader.js +20 -14
  328. package/lib/component/panels/MoleculesPanel/MoleculePanel.js +41 -35
  329. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +50 -44
  330. package/lib/component/panels/MoleculesPanel/Utilities.js +13 -5
  331. package/lib/component/panels/MoleculesPanel/useAtomAssignment.d.ts +10 -6
  332. package/lib/component/panels/MoleculesPanel/useAtomAssignment.js +49 -44
  333. package/lib/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisPanel.js +58 -52
  334. package/lib/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisTable.js +30 -25
  335. package/lib/component/panels/MultipleSpectraAnalysisPanel/base/AnalysisCell.js +9 -7
  336. package/lib/component/panels/MultipleSpectraAnalysisPanel/base/AnalysisColumnHeader.js +17 -12
  337. package/lib/component/panels/MultipleSpectraAnalysisPanel/preferences/AnalysisTablePreferences.js +25 -18
  338. package/lib/component/panels/MultipleSpectraAnalysisPanel/preferences/LegendsPreferences.js +28 -23
  339. package/lib/component/panels/MultipleSpectraAnalysisPanel/preferences/MultipleAnalysisCodeEditor.js +17 -12
  340. package/lib/component/panels/MultipleSpectraAnalysisPanel/preferences/index.js +54 -26
  341. package/lib/component/panels/PanelNoData.js +7 -3
  342. package/lib/component/panels/Panels.js +63 -57
  343. package/lib/component/panels/PeaksPanel/PeaksPanel.js +84 -55
  344. package/lib/component/panels/PeaksPanel/PeaksPreferences.js +38 -21
  345. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts +5 -2
  346. package/lib/component/panels/PeaksPanel/PeaksTable.js +97 -55
  347. package/lib/component/panels/PeaksPanel/PeaksToggleActions.d.ts +10 -0
  348. package/lib/component/panels/PeaksPanel/PeaksToggleActions.js +17 -0
  349. package/lib/component/panels/RangesPanel/RangesHeader.d.ts +1 -5
  350. package/lib/component/panels/RangesPanel/RangesHeader.js +86 -40
  351. package/lib/component/panels/RangesPanel/RangesPanel.js +52 -55
  352. package/lib/component/panels/RangesPanel/RangesPreferences.js +68 -27
  353. package/lib/component/panels/RangesPanel/RangesTable.js +28 -12
  354. package/lib/component/panels/RangesPanel/RangesTableRow.js +43 -38
  355. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.js +6 -4
  356. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts +4 -1
  357. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.js +18 -12
  358. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.js +12 -7
  359. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +10 -8
  360. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.js +6 -4
  361. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js +15 -10
  362. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js +12 -7
  363. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +14 -9
  364. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.js +10 -8
  365. package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.js +27 -21
  366. package/lib/component/panels/RangesPanel/hooks/useMapRanges.js +8 -6
  367. package/lib/component/panels/SpectrumsPanel/SpectraPanelHeader.js +34 -29
  368. package/lib/component/panels/SpectrumsPanel/SpectraPreferences.js +31 -26
  369. package/lib/component/panels/SpectrumsPanel/SpectraTable.js +50 -43
  370. package/lib/component/panels/SpectrumsPanel/SpectrumListPanel.js +15 -10
  371. package/lib/component/panels/SpectrumsPanel/SpectrumsTabs.js +35 -27
  372. package/lib/component/panels/SpectrumsPanel/base/ColorIndicator.js +8 -6
  373. package/lib/component/panels/SpectrumsPanel/base/ShowHideSpectrumButton.js +14 -11
  374. package/lib/component/panels/SpectrumsPanel/base/SpectraColumnsManager.js +24 -17
  375. package/lib/component/panels/SpectrumsPanel/base/SpectrumName.js +12 -8
  376. package/lib/component/panels/SpectrumsPanel/base/setting/PlotChart.js +9 -6
  377. package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum1DHistogram.js +14 -9
  378. package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum1DSetting.js +12 -7
  379. package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum2DHistogram.js +14 -9
  380. package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum2DSetting.js +16 -11
  381. package/lib/component/panels/SpectrumsPanel/base/setting/SpectrumSetting.js +18 -13
  382. package/lib/component/panels/SpectrumsPanel/base/setting/processSnapPlot.js +9 -5
  383. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +46 -41
  384. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +39 -34
  385. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js +7 -1
  386. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +18 -13
  387. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +48 -43
  388. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.js +9 -7
  389. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js +49 -20
  390. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.js +26 -21
  391. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js +20 -15
  392. package/lib/component/panels/SummaryPanel/Overview.js +15 -13
  393. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js +20 -14
  394. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +20 -14
  395. package/lib/component/panels/SummaryPanel/SummaryPanel.js +100 -73
  396. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +2 -3
  397. package/lib/component/panels/SummaryPanel/utilities/Utilities.js +59 -44
  398. package/lib/component/panels/SummaryPanel/utilities/useInView.js +10 -8
  399. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts +5 -1
  400. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.js +30 -24
  401. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +6 -4
  402. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js +10 -5
  403. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts +2 -5
  404. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js +27 -19
  405. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +6 -4
  406. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js +10 -5
  407. package/lib/component/panels/ZonesPanel/ZonesPanel.js +85 -51
  408. package/lib/component/panels/ZonesPanel/ZonesPreferences.js +68 -21
  409. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts +4 -3
  410. package/lib/component/panels/ZonesPanel/ZonesTable.js +34 -17
  411. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +2 -5
  412. package/lib/component/panels/ZonesPanel/ZonesTableRow.js +38 -31
  413. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js +9 -3
  414. package/lib/component/panels/databasePanel/DatabasePanel.d.ts +18 -1
  415. package/lib/component/panels/databasePanel/DatabasePanel.js +88 -119
  416. package/lib/component/panels/databasePanel/DatabasePreferences.js +47 -19
  417. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +18 -0
  418. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +60 -0
  419. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js +13 -6
  420. package/lib/component/panels/databasePanel/DatabaseTable.js +32 -27
  421. package/lib/component/panels/extra/BasicPanelStyle.js +5 -2
  422. package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts +1 -0
  423. package/{lib-cjs/component/modal/editZone/SignalFormTab.js → lib/component/panels/extra/placeholder/NoDataForFid.js} +4 -4
  424. package/lib/component/panels/extra/placeholder/NoTableData.js +5 -3
  425. package/lib/component/panels/extra/preferences/ColumnsHelper.js +15 -7
  426. package/lib/component/panels/extra/preferences/NucleusGroup.js +11 -4
  427. package/lib/component/panels/extra/preferences/NucleusPreferences.js +12 -5
  428. package/lib/component/panels/extra/preferences/PreferencesContainer.js +7 -3
  429. package/lib/component/panels/extra/preferences/PreferencesGroup.js +8 -4
  430. package/lib/component/panels/extra/utilities/MultiplicityUtilities.js +10 -5
  431. package/lib/component/panels/extra/utilities/UseToggleStatus.js +8 -6
  432. package/lib/component/panels/filtersPanel/FilterPanel.js +18 -12
  433. package/lib/component/panels/filtersPanel/FiltersTable.js +39 -33
  434. package/lib/component/panels/header/DefaultPanelHeader.js +17 -16
  435. package/lib/component/panels/header/PanelHeader.js +6 -3
  436. package/lib/component/panels/header/PreferencesHeader.js +13 -8
  437. package/lib/component/panels/header/SpectraAutomaticPickingButton.js +22 -15
  438. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js +50 -22
  439. package/lib/component/panels/predictionPanel/PredictionPanel.js +46 -40
  440. package/lib/component/panels/predictionPanel/PredictionPreferences.js +18 -13
  441. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.js +48 -20
  442. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.js +37 -31
  443. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js +19 -14
  444. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.js +22 -11
  445. package/lib/component/panels/spectrumSimulation/SpinSystemTable.js +22 -15
  446. package/lib/component/reducer/IgnoreActions.js +4 -8
  447. package/lib/component/reducer/Reducer.d.ts +9 -17
  448. package/lib/component/reducer/Reducer.js +71 -54
  449. package/lib/component/reducer/actions/AssignmentsActions.js +4 -1
  450. package/lib/component/reducer/actions/CorrelationsActions.js +38 -27
  451. package/lib/component/reducer/actions/DatabaseActions.js +18 -14
  452. package/lib/component/reducer/actions/DimensionsActions.js +4 -1
  453. package/lib/component/reducer/actions/DomainActions.js +36 -25
  454. package/lib/component/reducer/actions/FiltersActions.js +132 -96
  455. package/lib/component/reducer/actions/HistoryActions.js +9 -4
  456. package/lib/component/reducer/actions/IntegralsActions.js +50 -38
  457. package/lib/component/reducer/actions/LoadActions.d.ts +2 -0
  458. package/lib/component/reducer/actions/LoadActions.js +66 -33
  459. package/lib/component/reducer/actions/MoleculeActions.js +65 -28
  460. package/lib/component/reducer/actions/PeaksActions.d.ts +3 -2
  461. package/lib/component/reducer/actions/PeaksActions.js +69 -41
  462. package/lib/component/reducer/actions/PreferencesActions.js +18 -11
  463. package/lib/component/reducer/actions/RangesActions.d.ts +13 -9
  464. package/lib/component/reducer/actions/RangesActions.js +147 -137
  465. package/lib/component/reducer/actions/SpectraAnalysisAction.js +4 -1
  466. package/lib/component/reducer/actions/SpectrumsActions.js +82 -63
  467. package/lib/component/reducer/actions/ToolsActions.js +143 -96
  468. package/lib/component/reducer/actions/ZonesActions.d.ts +8 -9
  469. package/lib/component/reducer/actions/ZonesActions.js +96 -102
  470. package/lib/component/reducer/core/Constants.d.ts +0 -4
  471. package/lib/component/reducer/core/Constants.js +4 -6
  472. package/lib/component/reducer/helper/GetClosestNumber.js +3 -1
  473. package/lib/component/reducer/helper/Zoom1DManager.js +13 -9
  474. package/lib/component/reducer/helper/ZoomHistoryManager.js +8 -4
  475. package/lib/component/reducer/helper/get2DRange.js +7 -4
  476. package/lib/component/reducer/helper/getActiveSpectra.js +5 -1
  477. package/lib/component/reducer/helper/getActiveSpectraAsObject.js +9 -4
  478. package/lib/component/reducer/helper/getActiveSpectrum.js +5 -1
  479. package/lib/component/reducer/helper/getRange.js +9 -4
  480. package/lib/component/reducer/helper/getSpectrum.js +7 -3
  481. package/lib/component/reducer/helper/getStrongestPeak.js +9 -5
  482. package/lib/component/reducer/helper/getVerticalAlign.js +5 -1
  483. package/lib/component/reducer/preferences/actions/addWorkspace.js +16 -9
  484. package/lib/component/reducer/preferences/actions/analyzeSpectra.js +45 -15
  485. package/lib/component/reducer/preferences/actions/applyGeneralPreferences.js +5 -1
  486. package/lib/component/reducer/preferences/actions/initPreferences.js +15 -11
  487. package/lib/component/reducer/preferences/actions/matrixGeneration.js +12 -7
  488. package/lib/component/reducer/preferences/actions/removeWorkspace.js +8 -4
  489. package/lib/component/reducer/preferences/actions/setActiveWorkspace.js +8 -4
  490. package/lib/component/reducer/preferences/actions/setPanelsPreferences.js +7 -3
  491. package/lib/component/reducer/preferences/actions/setPreferences.js +17 -10
  492. package/lib/component/reducer/preferences/actions/setVerticalSplitterPosition.js +7 -3
  493. package/lib/component/reducer/preferences/actions/setWorkspace.js +12 -8
  494. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +51 -8
  495. package/lib/component/reducer/preferences/preferencesReducer.js +58 -51
  496. package/lib/component/reducer/preferences/utilities/checkKeysExists.js +8 -4
  497. package/lib/component/reducer/preferences/utilities/filterObject.js +5 -1
  498. package/lib/component/reducer/preferences/utilities/flatObject.js +5 -1
  499. package/lib/component/reducer/preferences/utilities/getActiveWorkspace.js +5 -1
  500. package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js +11 -4
  501. package/lib/component/reducer/preferences/utilities/initWorkspace.js +11 -4
  502. package/lib/component/reducer/preferences/utilities/isReadOnlyWorkspace.js +5 -1
  503. package/lib/component/reducer/preferences/utilities/mapNucleiFormatting.js +5 -1
  504. package/lib/component/reducer/preferences/utilities/mapWorkspaces.js +11 -4
  505. package/lib/component/reducer/scaleReducer.js +18 -15
  506. package/lib/component/reducer/types/ActionType.js +2 -1
  507. package/lib/component/toolbar/BasicToolBar.js +58 -52
  508. package/lib/component/toolbar/FunctionToolBar.js +36 -30
  509. package/lib/component/toolbar/ToolBar.js +17 -11
  510. package/lib/component/toolbar/ToolTypes.d.ts +2 -2
  511. package/lib/component/toolbar/ToolTypes.js +36 -34
  512. package/lib/component/utility/Evaluate.js +4 -1
  513. package/lib/component/utility/Events.js +8 -3
  514. package/lib/component/utility/FileUtility.js +5 -1
  515. package/lib/component/utility/GroupByInfoKey.js +4 -1
  516. package/lib/component/utility/LocalStorage.js +26 -15
  517. package/lib/component/utility/PathBuilder.js +5 -1
  518. package/lib/component/utility/PreferencesHelper.js +8 -5
  519. package/lib/component/utility/assert.js +5 -1
  520. package/lib/component/utility/convertPathArrayToString.js +5 -1
  521. package/lib/component/utility/export.js +27 -14
  522. package/lib/component/utility/filterType.js +2 -1
  523. package/lib/component/utility/formatNumber.js +10 -3
  524. package/lib/component/utility/getSpectraByNucleus.js +10 -3
  525. package/lib/component/utility/getSpectraObjectPaths.js +5 -1
  526. package/lib/component/utility/getUniqueNuclei.js +5 -1
  527. package/lib/component/utility/isGoogleDocument.js +5 -1
  528. package/lib/component/utility/jpathToArray.js +5 -1
  529. package/lib/component/utility/nucleusToString.d.ts +1 -0
  530. package/lib/component/utility/nucleusToString.js +9 -1
  531. package/lib/component/utility/parseColor.js +5 -1
  532. package/lib/component/workspaces/assignment.js +4 -1
  533. package/lib/component/workspaces/basic.js +4 -1
  534. package/lib/component/workspaces/embedded.js +10 -1
  535. package/lib/component/workspaces/exercise.js +12 -1
  536. package/lib/component/workspaces/index.js +17 -15
  537. package/lib/component/workspaces/prediction.js +4 -1
  538. package/lib/component/workspaces/process1D.js +4 -1
  539. package/lib/component/workspaces/simulation.js +4 -1
  540. package/lib/component/workspaces/workspaceDefaultProperties.js +28 -22
  541. package/lib/constants.js +10 -7
  542. package/lib/data/PredictionManager.js +39 -30
  543. package/lib/data/SpectraManager.js +49 -20
  544. package/lib/data/constants/DefaultApodizationOptions.js +4 -1
  545. package/lib/data/constants/DefaultPathLengths.js +3 -1
  546. package/lib/data/constants/Multiplets.js +5 -2
  547. package/lib/data/constants/References.d.ts +5 -3
  548. package/lib/data/constants/References.js +8 -4
  549. package/lib/data/constants/signalsKinds.d.ts +12 -0
  550. package/lib/data/constants/signalsKinds.js +20 -0
  551. package/lib/data/data1d/Spectrum1D/SumManager.d.ts +1 -7
  552. package/lib/data/data1d/Spectrum1D/SumManager.js +28 -12
  553. package/lib/data/data1d/Spectrum1D/cloneDatum1D.js +5 -1
  554. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.js +5 -1
  555. package/lib/data/data1d/Spectrum1D/generateJGraphData.js +6 -3
  556. package/lib/data/data1d/Spectrum1D/generateSpectrumFromPublicationString.js +9 -5
  557. package/lib/data/data1d/Spectrum1D/get1DColor.js +7 -3
  558. package/lib/data/data1d/Spectrum1D/get1DDataXY.js +5 -1
  559. package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts +10 -1
  560. package/lib/data/data1d/Spectrum1D/getReferenceShift.js +17 -10
  561. package/lib/data/data1d/Spectrum1D/index.js +45 -19
  562. package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts +2 -0
  563. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +36 -22
  564. package/lib/data/data1d/Spectrum1D/integrals/changeIntegralsRelative.js +5 -1
  565. package/lib/data/data1d/Spectrum1D/integrals/initiateIntegrals.d.ts +5 -11
  566. package/lib/data/data1d/Spectrum1D/integrals/initiateIntegrals.js +14 -11
  567. package/lib/data/data1d/Spectrum1D/isRangeAssigned.js +5 -1
  568. package/lib/data/data1d/Spectrum1D/isSpectrum1D.js +5 -1
  569. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +13 -6
  570. package/lib/data/data1d/Spectrum1D/peaks/initiatePeaks.d.ts +2 -5
  571. package/lib/data/data1d/Spectrum1D/peaks/initiatePeaks.js +12 -5
  572. package/lib/data/data1d/Spectrum1D/peaks/lookupPeak.js +10 -3
  573. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js +11 -7
  574. package/lib/data/data1d/Spectrum1D/ranges/addRange.d.ts +2 -2
  575. package/lib/data/data1d/Spectrum1D/ranges/addRange.js +21 -13
  576. package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.js +6 -3
  577. package/lib/data/data1d/Spectrum1D/ranges/changeRange.js +18 -11
  578. package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.js +5 -1
  579. package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.js +5 -1
  580. package/lib/data/data1d/Spectrum1D/ranges/checkRangeKind.js +8 -4
  581. package/lib/data/data1d/Spectrum1D/ranges/detectRange.js +15 -11
  582. package/lib/data/data1d/Spectrum1D/ranges/detectRanges.js +15 -8
  583. package/lib/data/data1d/Spectrum1D/ranges/detectSignal.js +16 -12
  584. package/lib/data/data1d/Spectrum1D/ranges/generateSpectrumFromRanges.js +9 -5
  585. package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.d.ts +15 -13
  586. package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.js +14 -11
  587. package/lib/data/data1d/database.js +24 -16
  588. package/lib/data/data1d/multipleSpectraAnalysis.js +37 -22
  589. package/lib/data/data1d/spectrumSimulation.js +10 -5
  590. package/lib/data/data2d/Processing2D.js +11 -7
  591. package/lib/data/data2d/Spectrum2D/cloneDatum2D.js +5 -1
  592. package/lib/data/data2d/Spectrum2D/contours.js +11 -5
  593. package/lib/data/data2d/Spectrum2D/get2DColor.js +7 -3
  594. package/lib/data/data2d/Spectrum2D/get2DSpectrumErrorValue.js +5 -1
  595. package/lib/data/data2d/Spectrum2D/getMissingProjection.js +9 -5
  596. package/lib/data/data2d/Spectrum2D/getShift.js +8 -4
  597. package/lib/data/data2d/Spectrum2D/getSlice.js +11 -7
  598. package/lib/data/data2d/Spectrum2D/index.js +21 -9
  599. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +15 -11
  600. package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +5 -1
  601. package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js +8 -4
  602. package/lib/data/data2d/Spectrum2D/zones/detectZones.js +9 -5
  603. package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts +32 -12
  604. package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js +9 -5
  605. package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js +7 -3
  606. package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts +32 -12
  607. package/lib/data/data2d/Spectrum2D/zones/initiateZones.js +12 -5
  608. package/lib/data/data2d/Spectrum2D/zones/isZoneExists.js +5 -1
  609. package/lib/data/data2d/Spectrum2D/zones/updateZones.js +7 -3
  610. package/lib/data/defaults/13c.js +3 -1
  611. package/lib/data/defaults/1h.js +3 -1
  612. package/lib/data/defaults/default.js +12 -5
  613. package/lib/data/getDefaultMatrixFilters.js +10 -3
  614. package/lib/data/matrixGeneration.js +18 -10
  615. package/lib/data/molecules/Molecule.js +17 -9
  616. package/lib/data/molecules/MoleculeManager.js +30 -20
  617. package/lib/data/parseMeta/index.js +14 -4
  618. package/lib/data/parseMeta/isMetaFile.js +5 -1
  619. package/lib/data/parseMeta/linkMetaWithSpectra.js +17 -8
  620. package/lib/data/parseMeta/mapErrors.js +5 -1
  621. package/lib/data/parseMeta/parseMetaFile.js +7 -3
  622. package/lib/data/parseMeta/prepareKey.js +5 -1
  623. package/lib/data/types/common/File.js +2 -1
  624. package/lib/data/types/common/Info.js +2 -1
  625. package/lib/data/types/common/MapOptions.js +2 -1
  626. package/lib/data/types/common/Nucleus.js +2 -1
  627. package/lib/data/types/common/SignalKind.d.ts +1 -0
  628. package/lib/data/types/data1d/ComplexData1D.js +2 -1
  629. package/lib/data/types/data1d/ExclusionZone.js +2 -1
  630. package/lib/data/types/data1d/MatrixOptions.js +2 -1
  631. package/lib/data/types/data1d/RangeDetectionResult.js +2 -1
  632. package/lib/data/types/data1d/index.js +2 -1
  633. package/lib/data/types/data2d/ContourOptions.js +2 -1
  634. package/lib/data/types/data2d/index.js +2 -1
  635. package/lib/data/utilities/Concatenation.js +7 -3
  636. package/lib/data/utilities/FindUtilities.js +9 -1
  637. package/lib/data/utilities/RangeUtilities.js +31 -16
  638. package/lib/data/utilities/ZoneUtilities.js +21 -10
  639. package/lib/data/utilities/calculateSanPlot.js +7 -3
  640. package/lib/data/utilities/checkModifierKeyActivated.js +4 -1
  641. package/lib/data/utilities/convertSpectraListToObject.js +5 -1
  642. package/lib/data/utilities/generateChar.js +4 -1
  643. package/lib/data/utilities/generateColor.js +11 -5
  644. package/lib/data/utilities/generateNumbersPowerOfX.js +4 -1
  645. package/lib/data/utilities/getAtom.js +4 -1
  646. package/lib/data/utilities/getAtomsFromMF.js +4 -1
  647. package/lib/data/utilities/getSum.js +5 -1
  648. package/lib/data/utilities/isInRange.js +4 -1
  649. package/lib/data/utilities/isNumber.js +5 -1
  650. package/lib/types/NMRiumDataReturn.js +2 -1
  651. package/lib/types/UsedColors.js +2 -1
  652. package/lib/utils/clipboard/clipboard.js +13 -5
  653. package/lib/utils/clipboard/clipboardComponents.js +36 -28
  654. package/lib/utils/clipboard/clipboardHooks.js +22 -17
  655. package/lib/utils/clipboard/types.js +2 -1
  656. package/lib/utils/stringCapitalize.d.ts +1 -0
  657. package/lib/utils/stringCapitalize.js +7 -0
  658. package/lib/versionInfo.js +3 -1
  659. package/package.json +33 -35
  660. package/lib/component/modal/AboutUsModal.js +0 -109
  661. package/lib/data/constants/SignalsKinds.d.ts +0 -9
  662. package/lib/data/constants/SignalsKinds.js +0 -36
  663. package/lib/data/data2d/Spectrum2D/zones/mapZones.d.ts +0 -36
  664. package/lib/data/data2d/Spectrum2D/zones/mapZones.js +0 -63
  665. package/lib-cjs/component/1d/ApodizationLine.js +0 -102
  666. package/lib-cjs/component/1d/Chart1D.js +0 -27
  667. package/lib-cjs/component/1d/ExclusionZoneAnnotation.js +0 -34
  668. package/lib-cjs/component/1d/ExclusionZonesAnnotations.js +0 -47
  669. package/lib-cjs/component/1d/FooterBanner.js +0 -122
  670. package/lib-cjs/component/1d/Line.js +0 -59
  671. package/lib-cjs/component/1d/LinesSeries.js +0 -18
  672. package/lib-cjs/component/1d/SpectraLegends.js +0 -64
  673. package/lib-cjs/component/1d/Viewer1D.js +0 -321
  674. package/lib-cjs/component/1d/XAxis.js +0 -90
  675. package/lib-cjs/component/1d/YAxis.js +0 -62
  676. package/lib-cjs/component/1d/database/DatabaseElements.js +0 -23
  677. package/lib-cjs/component/1d/database/DatabaseSpectrum.js +0 -70
  678. package/lib-cjs/component/1d/database/ResurrectedDatabaseRanges.js +0 -69
  679. package/lib-cjs/component/1d/integral/Integral.js +0 -17
  680. package/lib-cjs/component/1d/integral/IntegralIndicator.js +0 -25
  681. package/lib-cjs/component/1d/integral/IntegralResizable.js +0 -78
  682. package/lib-cjs/component/1d/integral/IntegralsSeries.js +0 -27
  683. package/lib-cjs/component/1d/jCouplingGraph/JGraph.js +0 -46
  684. package/lib-cjs/component/1d/jCouplingGraph/JGraphContext.js +0 -18
  685. package/lib-cjs/component/1d/jCouplingGraph/JGraphVerticalAxis.js +0 -15
  686. package/lib-cjs/component/1d/jCouplingGraph/JsCoupling.js +0 -13
  687. package/lib-cjs/component/1d/jCouplingGraph/JsCouplingLinks.js +0 -29
  688. package/lib-cjs/component/1d/jCouplingGraph/JsCouplings.js +0 -19
  689. package/lib-cjs/component/1d/multiAnalysis/AnalysisRange.js +0 -68
  690. package/lib-cjs/component/1d/multiAnalysis/MultiAnalysisRanges.js +0 -26
  691. package/lib-cjs/component/1d/multiplicityTree/LevelNode.js +0 -10
  692. package/lib-cjs/component/1d/multiplicityTree/MultiplicityTree.js +0 -184
  693. package/lib-cjs/component/1d/multiplicityTree/StringNode.js +0 -9
  694. package/lib-cjs/component/1d/multiplicityTree/TreeColors.js +0 -4
  695. package/lib-cjs/component/1d/multiplicityTree/TreeNodes.js +0 -25
  696. package/lib-cjs/component/1d/multiplicityTree/buildTreeNode.js +0 -62
  697. package/lib-cjs/component/1d/peaks/PeakAnnotations.js +0 -36
  698. package/lib-cjs/component/1d/peaks/PeakAnnotationsSpreadMode.js +0 -64
  699. package/lib-cjs/component/1d/peaks/PeakEditionManager.js +0 -129
  700. package/lib-cjs/component/1d/peaks/Peaks.js +0 -29
  701. package/lib-cjs/component/1d/peaks/PeaksShapes.js +0 -43
  702. package/lib-cjs/component/1d/peaks/usePeakShapesPath.js +0 -57
  703. package/lib-cjs/component/1d/ranges/AssignmentActionsButtons.js +0 -18
  704. package/lib-cjs/component/1d/ranges/Range.js +0 -89
  705. package/lib-cjs/component/1d/ranges/RangeIntegral.js +0 -12
  706. package/lib-cjs/component/1d/ranges/Ranges.js +0 -37
  707. package/lib-cjs/component/1d/tool/BaseLineZones.js +0 -23
  708. package/lib-cjs/component/1d/tool/PeakPointer.js +0 -97
  709. package/lib-cjs/component/1d/tool/VerticalIndicator.js +0 -26
  710. package/lib-cjs/component/1d/tool/XLabelPointer.js +0 -54
  711. package/lib-cjs/component/1d/utilities/intersectionResolver.js +0 -75
  712. package/lib-cjs/component/1d/utilities/scale.js +0 -44
  713. package/lib-cjs/component/1d-2d/components/FloatMoleculeStructures/ActionsButton.js +0 -13
  714. package/lib-cjs/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +0 -84
  715. package/lib-cjs/component/1d-2d/components/FloatMoleculeStructures/index.js +0 -47
  716. package/lib-cjs/component/1d-2d/components/SpectrumInfoBlock.js +0 -43
  717. package/lib-cjs/component/1d-2d/tools/BrushX.js +0 -37
  718. package/lib-cjs/component/1d-2d/tools/BrushXY.js +0 -94
  719. package/lib-cjs/component/1d-2d/tools/CrossLinePointer.js +0 -58
  720. package/lib-cjs/component/2d/1d-tracer/HorizontalSliceChart.js +0 -68
  721. package/lib-cjs/component/2d/1d-tracer/Left1DChart.js +0 -71
  722. package/lib-cjs/component/2d/1d-tracer/Top1DChart.js +0 -67
  723. package/lib-cjs/component/2d/1d-tracer/VerticalSliceChart.js +0 -68
  724. package/lib-cjs/component/2d/Chart2D.js +0 -26
  725. package/lib-cjs/component/2d/FooterBanner.js +0 -220
  726. package/lib-cjs/component/2d/SignalDeltaLine.js +0 -23
  727. package/lib-cjs/component/2d/SlicingView.js +0 -49
  728. package/lib-cjs/component/2d/Viewer2D.js +0 -165
  729. package/lib-cjs/component/2d/XAxis.js +0 -72
  730. package/lib-cjs/component/2d/YAxis.js +0 -68
  731. package/lib-cjs/component/2d/fid/FidCanvas.js +0 -114
  732. package/lib-cjs/component/2d/fid/FidContainer.js +0 -39
  733. package/lib-cjs/component/2d/ft/Contours.js +0 -81
  734. package/lib-cjs/component/2d/ft/FTContainer.js +0 -20
  735. package/lib-cjs/component/2d/tools/XYLabelPointer.js +0 -137
  736. package/lib-cjs/component/2d/utilities/DimensionLayout.js +0 -44
  737. package/lib-cjs/component/2d/utilities/SliceScale.js +0 -32
  738. package/lib-cjs/component/2d/utilities/scale.js +0 -42
  739. package/lib-cjs/component/2d/zones/IndicationLines.js +0 -47
  740. package/lib-cjs/component/2d/zones/Signal.js +0 -50
  741. package/lib-cjs/component/2d/zones/SignalCrosshair.js +0 -25
  742. package/lib-cjs/component/2d/zones/Zone.js +0 -71
  743. package/lib-cjs/component/2d/zones/Zones.js +0 -31
  744. package/lib-cjs/component/EventsTrackers/BrushTracker.js +0 -196
  745. package/lib-cjs/component/EventsTrackers/KeysListenerTracker.js +0 -426
  746. package/lib-cjs/component/EventsTrackers/MouseTracker.js +0 -34
  747. package/lib-cjs/component/assignment/AssignmentsContext.js +0 -88
  748. package/lib-cjs/component/assignment/AssignmentsReducer.js +0 -45
  749. package/lib-cjs/component/assignment/actions/initAssignment.js +0 -65
  750. package/lib-cjs/component/assignment/actions/removeAssignment.js +0 -29
  751. package/lib-cjs/component/assignment/actions/setActiveAssignment.js +0 -11
  752. package/lib-cjs/component/assignment/actions/toggleAssignment.js +0 -47
  753. package/lib-cjs/component/assignment/index.js +0 -29
  754. package/lib-cjs/component/assignment/utilities/filterForIDsWithAssignment.js +0 -7
  755. package/lib-cjs/component/context/ChartContext.js +0 -11
  756. package/lib-cjs/component/context/DispatchContext.js +0 -10
  757. package/lib-cjs/component/context/GlobalContext.js +0 -10
  758. package/lib-cjs/component/context/KeyModifierContext.js +0 -44
  759. package/lib-cjs/component/context/LoaderContext.js +0 -13
  760. package/lib-cjs/component/context/LoggerContext.js +0 -57
  761. package/lib-cjs/component/context/PreferencesContext.js +0 -37
  762. package/lib-cjs/component/context/ScaleContext.js +0 -19
  763. package/lib-cjs/component/elements/ActionButtons.js +0 -20
  764. package/lib-cjs/component/elements/ActiveButton.js +0 -39
  765. package/lib-cjs/component/elements/Button.js +0 -216
  766. package/lib-cjs/component/elements/ButtonToolTip.js +0 -11
  767. package/lib-cjs/component/elements/CheckBox.js +0 -12
  768. package/lib-cjs/component/elements/CheckBoxCell.js +0 -15
  769. package/lib-cjs/component/elements/CloseButton.js +0 -28
  770. package/lib-cjs/component/elements/ColorInput.js +0 -88
  771. package/lib-cjs/component/elements/ColumnWrapper.js +0 -12
  772. package/lib-cjs/component/elements/ContextMenu.js +0 -130
  773. package/lib-cjs/component/elements/DeleteButton.js +0 -8
  774. package/lib-cjs/component/elements/EditableColumn.js +0 -74
  775. package/lib-cjs/component/elements/GroupPane.js +0 -18
  776. package/lib-cjs/component/elements/Header.js +0 -21
  777. package/lib-cjs/component/elements/Input.js +0 -141
  778. package/lib-cjs/component/elements/InputRange.js +0 -62
  779. package/lib-cjs/component/elements/IsotopesViewer.js +0 -14
  780. package/lib-cjs/component/elements/Label.js +0 -20
  781. package/lib-cjs/component/elements/Logo.js +0 -7
  782. package/lib-cjs/component/elements/MenuButton.js +0 -87
  783. package/lib-cjs/component/elements/Message.js +0 -38
  784. package/lib-cjs/component/elements/MolecularFormulaInput.js +0 -69
  785. package/lib-cjs/component/elements/MoleculeSelection.js +0 -85
  786. package/lib-cjs/component/elements/NextPrev.js +0 -123
  787. package/lib-cjs/component/elements/NumberInput.js +0 -25
  788. package/lib-cjs/component/elements/ReactTable/Elements/EmptyDataRow.js +0 -15
  789. package/lib-cjs/component/elements/ReactTable/Elements/ReactTableHeader.js +0 -28
  790. package/lib-cjs/component/elements/ReactTable/Elements/ReactTableRow.js +0 -69
  791. package/lib-cjs/component/elements/ReactTable/ReactTable.js +0 -260
  792. package/lib-cjs/component/elements/ReactTable/ReactTableFlexLayout.js +0 -30
  793. package/lib-cjs/component/elements/ReactTable/Style.js +0 -38
  794. package/lib-cjs/component/elements/ReactTable/utility/ReactTableContext.js +0 -14
  795. package/lib-cjs/component/elements/ReactTable/utility/addCustomColumn.js +0 -16
  796. package/lib-cjs/component/elements/ReactTable/utility/useRowSpan.js +0 -40
  797. package/lib-cjs/component/elements/RemoveAssignmentsButton.js +0 -25
  798. package/lib-cjs/component/elements/SVGGroup.js +0 -35
  799. package/lib-cjs/component/elements/SaveButton.js +0 -26
  800. package/lib-cjs/component/elements/Scroller.js +0 -35
  801. package/lib-cjs/component/elements/Select.js +0 -45
  802. package/lib-cjs/component/elements/Tab/DeleteButton.js +0 -35
  803. package/lib-cjs/component/elements/Tab/Tab.js +0 -42
  804. package/lib-cjs/component/elements/Tab/Tabs.js +0 -120
  805. package/lib-cjs/component/elements/Table/Table.js +0 -15
  806. package/lib-cjs/component/elements/Table/TableBody.js +0 -21
  807. package/lib-cjs/component/elements/Table/TableCell.js +0 -28
  808. package/lib-cjs/component/elements/Table/TableHead.js +0 -18
  809. package/lib-cjs/component/elements/Table/TableRow.js +0 -13
  810. package/lib-cjs/component/elements/ToggleButton.js +0 -35
  811. package/lib-cjs/component/elements/ToolTip/ToolTip.js +0 -103
  812. package/lib-cjs/component/elements/ToolbarMenu.js +0 -105
  813. package/lib-cjs/component/elements/accordion/Accordion.js +0 -68
  814. package/lib-cjs/component/elements/accordion/AccordionItem.js +0 -81
  815. package/lib-cjs/component/elements/draggable/SVGDraggable.js +0 -39
  816. package/lib-cjs/component/elements/draggable/useDraggable.js +0 -71
  817. package/lib-cjs/component/elements/dropDownButton/DropDownButton.js +0 -59
  818. package/lib-cjs/component/elements/dropDownButton/DropDownList.js +0 -69
  819. package/lib-cjs/component/elements/formik/ErrorMessage.js +0 -15
  820. package/lib-cjs/component/elements/formik/FormikCheckBox.js +0 -24
  821. package/lib-cjs/component/elements/formik/FormikColorInput.js +0 -20
  822. package/lib-cjs/component/elements/formik/FormikColorPicker.js +0 -21
  823. package/lib-cjs/component/elements/formik/FormikColumnFormatField.js +0 -48
  824. package/lib-cjs/component/elements/formik/FormikError.js +0 -27
  825. package/lib-cjs/component/elements/formik/FormikErrorsSummary.js +0 -47
  826. package/lib-cjs/component/elements/formik/FormikInput.js +0 -46
  827. package/lib-cjs/component/elements/formik/FormikNumberInput.js +0 -29
  828. package/lib-cjs/component/elements/formik/FormikOnChange.js +0 -35
  829. package/lib-cjs/component/elements/formik/FormikSelect.js +0 -29
  830. package/lib-cjs/component/elements/formik/FormikSlider.js +0 -20
  831. package/lib-cjs/component/elements/formik/FormikTextarea.js +0 -34
  832. package/lib-cjs/component/elements/formik/Input.js +0 -14
  833. package/lib-cjs/component/elements/formik/SelectBox.js +0 -16
  834. package/lib-cjs/component/elements/linearAxis/LinearVerticalAxis.js +0 -19
  835. package/lib-cjs/component/elements/popup/Alert/AlertBlock.js +0 -36
  836. package/lib-cjs/component/elements/popup/Alert/Context.js +0 -14
  837. package/lib-cjs/component/elements/popup/Alert/ProgressIndicator.js +0 -36
  838. package/lib-cjs/component/elements/popup/Alert/Provider.js +0 -132
  839. package/lib-cjs/component/elements/popup/Alert/index.js +0 -14
  840. package/lib-cjs/component/elements/popup/Modal/ConfirmDialog.js +0 -67
  841. package/lib-cjs/component/elements/popup/Modal/Context.js +0 -10
  842. package/lib-cjs/component/elements/popup/Modal/Modal.js +0 -44
  843. package/lib-cjs/component/elements/popup/Modal/ModalContent.js +0 -29
  844. package/lib-cjs/component/elements/popup/Modal/Provider.js +0 -177
  845. package/lib-cjs/component/elements/popup/Modal/index.js +0 -15
  846. package/lib-cjs/component/elements/popup/Transition.js +0 -38
  847. package/lib-cjs/component/elements/popup/Wrapper.js +0 -86
  848. package/lib-cjs/component/elements/popup/options.js +0 -28
  849. package/lib-cjs/component/elements/popup/utility.js +0 -16
  850. package/lib-cjs/component/elements/resizer/DivResizer.js +0 -68
  851. package/lib-cjs/component/elements/resizer/Resizer.js +0 -18
  852. package/lib-cjs/component/elements/resizer/SVGResizer.js +0 -46
  853. package/lib-cjs/component/elements/resizer/useResizer.js +0 -71
  854. package/lib-cjs/component/elements/toggle/ToggleButton.js +0 -27
  855. package/lib-cjs/component/elements/toggle/ToggleButtonGroup.js +0 -54
  856. package/lib-cjs/component/header/ApodizationOptionsPanel.js +0 -100
  857. package/lib-cjs/component/header/AutoPeakPickingOptionPanel.js +0 -87
  858. package/lib-cjs/component/header/BaseLineCorrectionPanel.js +0 -145
  859. package/lib-cjs/component/header/Header.js +0 -133
  860. package/lib-cjs/component/header/HeaderContainer.js +0 -12
  861. package/lib-cjs/component/header/PhaseCorrectionPanel.js +0 -151
  862. package/lib-cjs/component/header/RangesPickingOptionPanel.js +0 -67
  863. package/lib-cjs/component/header/ZeroFillingOptionsPanel.js +0 -78
  864. package/lib-cjs/component/header/Zones2DOptionPanel.js +0 -59
  865. package/lib-cjs/component/highlight/index.js +0 -210
  866. package/lib-cjs/component/hooks/useActiveSpectra.js +0 -10
  867. package/lib-cjs/component/hooks/useActiveSpectrum.js +0 -10
  868. package/lib-cjs/component/hooks/useActiveSpectrumPeaksViewState.js +0 -22
  869. package/lib-cjs/component/hooks/useActiveSpectrumStyleOptions.js +0 -22
  870. package/lib-cjs/component/hooks/useCheckExperimentalFeature.js +0 -8
  871. package/lib-cjs/component/hooks/useCheckPointsNumberInWindowArea.js +0 -24
  872. package/lib-cjs/component/hooks/useCheckToolsVisibility.js +0 -66
  873. package/lib-cjs/component/hooks/useCombinedRefs.js +0 -20
  874. package/lib-cjs/component/hooks/useDatumWithSpectraStatistics.js +0 -45
  875. package/lib-cjs/component/hooks/useExport.js +0 -106
  876. package/lib-cjs/component/hooks/useFilter.js +0 -14
  877. package/lib-cjs/component/hooks/useFormatNumberByNucleus.js +0 -40
  878. package/lib-cjs/component/hooks/useIntegralPath.js +0 -61
  879. package/lib-cjs/component/hooks/useNucleus.js +0 -14
  880. package/lib-cjs/component/hooks/usePanelPreferences.js +0 -98
  881. package/lib-cjs/component/hooks/useResizerStatus.js +0 -11
  882. package/lib-cjs/component/hooks/useSaveSettings.js +0 -104
  883. package/lib-cjs/component/hooks/useSpectraPerNucleus.js +0 -18
  884. package/lib-cjs/component/hooks/useSpectrum.js +0 -17
  885. package/lib-cjs/component/hooks/useTableSortBy.js +0 -66
  886. package/lib-cjs/component/hooks/useToolsFunctions.js +0 -84
  887. package/lib-cjs/component/hooks/useVerticalAlign.js +0 -10
  888. package/lib-cjs/component/hooks/useXScale.js +0 -11
  889. package/lib-cjs/component/hooks/useXYReduce.js +0 -20
  890. package/lib-cjs/component/loader/DefaultSpinnerComponent.js +0 -41
  891. package/lib-cjs/component/loader/DropZone.js +0 -128
  892. package/lib-cjs/component/loader/NoData.js +0 -40
  893. package/lib-cjs/component/loader/Spinner.js +0 -28
  894. package/lib-cjs/component/loader/SpinnerContext.js +0 -15
  895. package/lib-cjs/component/main/ErrorOverlay.js +0 -26
  896. package/lib-cjs/component/main/InnerNMRium.js +0 -82
  897. package/lib-cjs/component/main/InnerNMRiumContents.js +0 -96
  898. package/lib-cjs/component/main/NMRium.js +0 -19
  899. package/lib-cjs/component/main/NMRiumStateProvider.js +0 -80
  900. package/lib-cjs/component/main/SplitPaneWrapper.js +0 -20
  901. package/lib-cjs/component/main/StateError.js +0 -20
  902. package/lib-cjs/component/main/index.js +0 -21
  903. package/lib-cjs/component/main/types.js +0 -3
  904. package/lib-cjs/component/modal/AboutPredictionModal.js +0 -54
  905. package/lib-cjs/component/modal/AboutSpectrumSimulationModal.js +0 -54
  906. package/lib-cjs/component/modal/AlignSpectraModal.js +0 -70
  907. package/lib-cjs/component/modal/CopyClipboardModal.js +0 -44
  908. package/lib-cjs/component/modal/EditPeakShapeModal.js +0 -112
  909. package/lib-cjs/component/modal/ExportAsJcampModal.js +0 -67
  910. package/lib-cjs/component/modal/ImportPublicationStringModal.js +0 -84
  911. package/lib-cjs/component/modal/LoadJCAMPModal.js +0 -100
  912. package/lib-cjs/component/modal/LogsHistoryModal.js +0 -115
  913. package/lib-cjs/component/modal/ModalStyle.js +0 -83
  914. package/lib-cjs/component/modal/MoleculeStructureEditorModal.js +0 -78
  915. package/lib-cjs/component/modal/MultipletAnalysisModal.js +0 -164
  916. package/lib-cjs/component/modal/PredictSpectraModal.js +0 -118
  917. package/lib-cjs/component/modal/SaveAsModal.js +0 -77
  918. package/lib-cjs/component/modal/changeSum/ChangeSumModal.js +0 -10
  919. package/lib-cjs/component/modal/changeSum/ChangeSumModalContents.js +0 -124
  920. package/lib-cjs/component/modal/changeSum/SelectMolecule.js +0 -77
  921. package/lib-cjs/component/modal/editRange/EditRangeModal.js +0 -169
  922. package/lib-cjs/component/modal/editRange/forms/components/AddSignalFormTab.js +0 -107
  923. package/lib-cjs/component/modal/editRange/forms/components/CouplingsTable.js +0 -65
  924. package/lib-cjs/component/modal/editRange/forms/components/DeltaInput.js +0 -24
  925. package/lib-cjs/component/modal/editRange/forms/components/SignalFormInfo.js +0 -38
  926. package/lib-cjs/component/modal/editRange/forms/components/SignalFormTab.js +0 -23
  927. package/lib-cjs/component/modal/editRange/forms/components/SignalsForm.js +0 -118
  928. package/lib-cjs/component/modal/editRange/forms/validation/EditRangeValidation.js +0 -50
  929. package/lib-cjs/component/modal/editZone/EditPathLengthFormik.js +0 -72
  930. package/lib-cjs/component/modal/editZone/EditZoneModal.js +0 -106
  931. package/lib-cjs/component/modal/editZone/SignalsForm.js +0 -57
  932. package/lib-cjs/component/modal/editZone/validation/EditZoneValidation.js +0 -39
  933. package/lib-cjs/component/modal/editZone/validation/isDefaultPathLength.js +0 -12
  934. package/lib-cjs/component/modal/metaImportation/MetaImportationModal.js +0 -226
  935. package/lib-cjs/component/modal/metaImportation/index.js +0 -25
  936. package/lib-cjs/component/modal/metaImportation/utils/mapColumnToSelectItems.js +0 -13
  937. package/lib-cjs/component/modal/setting/GeneralSettings.js +0 -270
  938. package/lib-cjs/component/modal/setting/WorkspaceItem.js +0 -101
  939. package/lib-cjs/component/modal/setting/settings-tabs/DatabasesTabContent.js +0 -82
  940. package/lib-cjs/component/modal/setting/settings-tabs/DisplayTabContent.js +0 -97
  941. package/lib-cjs/component/modal/setting/settings-tabs/FormattingTabContent.js +0 -85
  942. package/lib-cjs/component/modal/setting/settings-tabs/GeneralTabContent.js +0 -45
  943. package/lib-cjs/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js +0 -90
  944. package/lib-cjs/component/modal/setting/settings-tabs/InfoBlockTabContent.js +0 -104
  945. package/lib-cjs/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +0 -44
  946. package/lib-cjs/component/modal/setting/settings-tabs/ToolsTabContent.js +0 -112
  947. package/lib-cjs/component/modal/setting/settingsValidation.js +0 -60
  948. package/lib-cjs/component/panels/AutomaticAssignment/AutomaticAssignment.js +0 -32
  949. package/lib-cjs/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js +0 -47
  950. package/lib-cjs/component/panels/AutomaticAssignment/useAutoAssignments.js +0 -70
  951. package/lib-cjs/component/panels/InformationPanel.js +0 -111
  952. package/lib-cjs/component/panels/IntegralsPanel/IntegralPanel.js +0 -136
  953. package/lib-cjs/component/panels/IntegralsPanel/IntegralTable.js +0 -125
  954. package/lib-cjs/component/panels/IntegralsPanel/IntegralsPreferences.js +0 -62
  955. package/lib-cjs/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js +0 -54
  956. package/lib-cjs/component/panels/MatrixGenerationPanel/FiltersOptions.js +0 -111
  957. package/lib-cjs/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js +0 -131
  958. package/lib-cjs/component/panels/MoleculesPanel/MoleculeHeader.js +0 -43
  959. package/lib-cjs/component/panels/MoleculesPanel/MoleculePanel.js +0 -103
  960. package/lib-cjs/component/panels/MoleculesPanel/MoleculePanelHeader.js +0 -170
  961. package/lib-cjs/component/panels/MoleculesPanel/Utilities.js +0 -117
  962. package/lib-cjs/component/panels/MoleculesPanel/useAtomAssignment.js +0 -203
  963. package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisPanel.js +0 -85
  964. package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisTable.js +0 -101
  965. package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/base/AnalysisCell.js +0 -20
  966. package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/base/AnalysisColumnHeader.js +0 -58
  967. package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/preferences/AnalysisTablePreferences.js +0 -62
  968. package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/preferences/LegendsPreferences.js +0 -86
  969. package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/preferences/MultipleAnalysisCodeEditor.js +0 -53
  970. package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/preferences/index.js +0 -134
  971. package/lib-cjs/component/panels/PanelNoData.js +0 -28
  972. package/lib-cjs/component/panels/Panels.js +0 -170
  973. package/lib-cjs/component/panels/PeaksPanel/PeaksPanel.js +0 -149
  974. package/lib-cjs/component/panels/PeaksPanel/PeaksPreferences.js +0 -83
  975. package/lib-cjs/component/panels/PeaksPanel/PeaksTable.js +0 -145
  976. package/lib-cjs/component/panels/RangesPanel/RangesHeader.js +0 -145
  977. package/lib-cjs/component/panels/RangesPanel/RangesPanel.js +0 -147
  978. package/lib-cjs/component/panels/RangesPanel/RangesPreferences.js +0 -87
  979. package/lib-cjs/component/panels/RangesPanel/RangesTable.js +0 -65
  980. package/lib-cjs/component/panels/RangesPanel/RangesTableRow.js +0 -111
  981. package/lib-cjs/component/panels/RangesPanel/TableColumns/AbsoluteColumn.js +0 -8
  982. package/lib-cjs/component/panels/RangesPanel/TableColumns/ActionsColumn.js +0 -38
  983. package/lib-cjs/component/panels/RangesPanel/TableColumns/CouplingColumn.js +0 -17
  984. package/lib-cjs/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +0 -43
  985. package/lib-cjs/component/panels/RangesPanel/TableColumns/RangeColumn.js +0 -8
  986. package/lib-cjs/component/panels/RangesPanel/TableColumns/RelativeColumn.js +0 -27
  987. package/lib-cjs/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js +0 -24
  988. package/lib-cjs/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +0 -28
  989. package/lib-cjs/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.js +0 -16
  990. package/lib-cjs/component/panels/RangesPanel/hooks/useEditRangeModal.js +0 -97
  991. package/lib-cjs/component/panels/RangesPanel/hooks/useMapRanges.js +0 -56
  992. package/lib-cjs/component/panels/SpectrumsPanel/SpectraPanelHeader.js +0 -104
  993. package/lib-cjs/component/panels/SpectrumsPanel/SpectraPreferences.js +0 -78
  994. package/lib-cjs/component/panels/SpectrumsPanel/SpectraTable.js +0 -238
  995. package/lib-cjs/component/panels/SpectrumsPanel/SpectrumListPanel.js +0 -31
  996. package/lib-cjs/component/panels/SpectrumsPanel/SpectrumsTabs.js +0 -74
  997. package/lib-cjs/component/panels/SpectrumsPanel/base/ColorIndicator.js +0 -27
  998. package/lib-cjs/component/panels/SpectrumsPanel/base/ShowHideSpectrumButton.js +0 -64
  999. package/lib-cjs/component/panels/SpectrumsPanel/base/SpectraColumnsManager.js +0 -71
  1000. package/lib-cjs/component/panels/SpectrumsPanel/base/SpectrumName.js +0 -41
  1001. package/lib-cjs/component/panels/SpectrumsPanel/base/setting/PlotChart.js +0 -21
  1002. package/lib-cjs/component/panels/SpectrumsPanel/base/setting/Spectrum1DHistogram.js +0 -22
  1003. package/lib-cjs/component/panels/SpectrumsPanel/base/setting/Spectrum1DSetting.js +0 -14
  1004. package/lib-cjs/component/panels/SpectrumsPanel/base/setting/Spectrum2DHistogram.js +0 -23
  1005. package/lib-cjs/component/panels/SpectrumsPanel/base/setting/Spectrum2DSetting.js +0 -26
  1006. package/lib-cjs/component/panels/SpectrumsPanel/base/setting/SpectrumSetting.js +0 -100
  1007. package/lib-cjs/component/panels/SpectrumsPanel/base/setting/processSnapPlot.js +0 -32
  1008. package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +0 -157
  1009. package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +0 -146
  1010. package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/Constants.js +0 -45
  1011. package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +0 -95
  1012. package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +0 -191
  1013. package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.js +0 -42
  1014. package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js +0 -136
  1015. package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.js +0 -92
  1016. package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js +0 -83
  1017. package/lib-cjs/component/panels/SummaryPanel/Overview.js +0 -44
  1018. package/lib-cjs/component/panels/SummaryPanel/SetMolecularFormulaModal.js +0 -100
  1019. package/lib-cjs/component/panels/SummaryPanel/SetShiftTolerancesModal.js +0 -112
  1020. package/lib-cjs/component/panels/SummaryPanel/SummaryPanel.js +0 -358
  1021. package/lib-cjs/component/panels/SummaryPanel/utilities/Utilities.js +0 -355
  1022. package/lib-cjs/component/panels/SummaryPanel/utilities/useInView.js +0 -20
  1023. package/lib-cjs/component/panels/ZonesPanel/TableColumns/ActionsColumn.js +0 -86
  1024. package/lib-cjs/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +0 -16
  1025. package/lib-cjs/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js +0 -12
  1026. package/lib-cjs/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js +0 -39
  1027. package/lib-cjs/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +0 -31
  1028. package/lib-cjs/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js +0 -12
  1029. package/lib-cjs/component/panels/ZonesPanel/ZonesPanel.js +0 -191
  1030. package/lib-cjs/component/panels/ZonesPanel/ZonesPreferences.js +0 -46
  1031. package/lib-cjs/component/panels/ZonesPanel/ZonesTable.js +0 -80
  1032. package/lib-cjs/component/panels/ZonesPanel/ZonesTableRow.js +0 -127
  1033. package/lib-cjs/component/panels/ZonesPanel/hooks/useMapZones.js +0 -56
  1034. package/lib-cjs/component/panels/databasePanel/DatabasePanel.js +0 -348
  1035. package/lib-cjs/component/panels/databasePanel/DatabasePreferences.js +0 -60
  1036. package/lib-cjs/component/panels/databasePanel/DatabaseStructureSearchModal.js +0 -15
  1037. package/lib-cjs/component/panels/databasePanel/DatabaseTable.js +0 -161
  1038. package/lib-cjs/component/panels/extra/BasicPanelStyle.js +0 -23
  1039. package/lib-cjs/component/panels/extra/placeholder/NoTableData.js +0 -21
  1040. package/lib-cjs/component/panels/extra/preferences/ColumnsHelper.js +0 -54
  1041. package/lib-cjs/component/panels/extra/preferences/NucleusGroup.js +0 -26
  1042. package/lib-cjs/component/panels/extra/preferences/NucleusPreferences.js +0 -15
  1043. package/lib-cjs/component/panels/extra/preferences/PreferencesContainer.js +0 -14
  1044. package/lib-cjs/component/panels/extra/preferences/PreferencesGroup.js +0 -25
  1045. package/lib-cjs/component/panels/extra/utilities/MultiplicityUtilities.js +0 -39
  1046. package/lib-cjs/component/panels/extra/utilities/UseToggleStatus.js +0 -34
  1047. package/lib-cjs/component/panels/filtersPanel/FilterPanel.js +0 -36
  1048. package/lib-cjs/component/panels/filtersPanel/FiltersTable.js +0 -153
  1049. package/lib-cjs/component/panels/header/DefaultPanelHeader.js +0 -37
  1050. package/lib-cjs/component/panels/header/PanelHeader.js +0 -15
  1051. package/lib-cjs/component/panels/header/PreferencesHeader.js +0 -30
  1052. package/lib-cjs/component/panels/header/SpectraAutomaticPickingButton.js +0 -36
  1053. package/lib-cjs/component/panels/predictionPanel/PredictionOptionsPanel.js +0 -123
  1054. package/lib-cjs/component/panels/predictionPanel/PredictionPanel.js +0 -130
  1055. package/lib-cjs/component/panels/predictionPanel/PredictionPreferences.js +0 -29
  1056. package/lib-cjs/component/panels/predictionPanel/PredictionSimpleOptions.js +0 -71
  1057. package/lib-cjs/component/panels/spectrumSimulation/SpectrumSimulation.js +0 -94
  1058. package/lib-cjs/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js +0 -42
  1059. package/lib-cjs/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.js +0 -30
  1060. package/lib-cjs/component/panels/spectrumSimulation/SpinSystemTable.js +0 -67
  1061. package/lib-cjs/component/reducer/IgnoreActions.js +0 -43
  1062. package/lib-cjs/component/reducer/Reducer.js +0 -437
  1063. package/lib-cjs/component/reducer/actions/AssignmentsActions.js +0 -19
  1064. package/lib-cjs/component/reducer/actions/CorrelationsActions.js +0 -115
  1065. package/lib-cjs/component/reducer/actions/DatabaseActions.js +0 -38
  1066. package/lib-cjs/component/reducer/actions/DimensionsActions.js +0 -9
  1067. package/lib-cjs/component/reducer/actions/DomainActions.js +0 -238
  1068. package/lib-cjs/component/reducer/actions/FiltersActions.js +0 -667
  1069. package/lib-cjs/component/reducer/actions/HistoryActions.js +0 -45
  1070. package/lib-cjs/component/reducer/actions/IntegralsActions.js +0 -139
  1071. package/lib-cjs/component/reducer/actions/LoadActions.js +0 -194
  1072. package/lib-cjs/component/reducer/actions/MoleculeActions.js +0 -282
  1073. package/lib-cjs/component/reducer/actions/PeaksActions.js +0 -179
  1074. package/lib-cjs/component/reducer/actions/PreferencesActions.js +0 -108
  1075. package/lib-cjs/component/reducer/actions/RangesActions.js +0 -415
  1076. package/lib-cjs/component/reducer/actions/SpectraAnalysisAction.js +0 -24
  1077. package/lib-cjs/component/reducer/actions/SpectrumsActions.js +0 -428
  1078. package/lib-cjs/component/reducer/actions/ToolsActions.js +0 -478
  1079. package/lib-cjs/component/reducer/actions/ZonesActions.js +0 -299
  1080. package/lib-cjs/component/reducer/core/Constants.js +0 -17
  1081. package/lib-cjs/component/reducer/helper/GetClosestNumber.js +0 -10
  1082. package/lib-cjs/component/reducer/helper/Zoom1DManager.js +0 -64
  1083. package/lib-cjs/component/reducer/helper/ZoomHistoryManager.js +0 -71
  1084. package/lib-cjs/component/reducer/helper/get2DRange.js +0 -18
  1085. package/lib-cjs/component/reducer/helper/getActiveSpectra.js +0 -8
  1086. package/lib-cjs/component/reducer/helper/getActiveSpectraAsObject.js +0 -19
  1087. package/lib-cjs/component/reducer/helper/getActiveSpectrum.js +0 -12
  1088. package/lib-cjs/component/reducer/helper/getRange.js +0 -25
  1089. package/lib-cjs/component/reducer/helper/getSpectrum.js +0 -18
  1090. package/lib-cjs/component/reducer/helper/getStrongestPeak.js +0 -19
  1091. package/lib-cjs/component/reducer/helper/getVerticalAlign.js +0 -8
  1092. package/lib-cjs/component/reducer/preferences/actions/addWorkspace.js +0 -34
  1093. package/lib-cjs/component/reducer/preferences/actions/analyzeSpectra.js +0 -78
  1094. package/lib-cjs/component/reducer/preferences/actions/applyGeneralPreferences.js +0 -8
  1095. package/lib-cjs/component/reducer/preferences/actions/initPreferences.js +0 -65
  1096. package/lib-cjs/component/reducer/preferences/actions/matrixGeneration.js +0 -47
  1097. package/lib-cjs/component/reducer/preferences/actions/removeWorkspace.js +0 -17
  1098. package/lib-cjs/component/reducer/preferences/actions/setActiveWorkspace.js +0 -14
  1099. package/lib-cjs/component/reducer/preferences/actions/setPanelsPreferences.js +0 -22
  1100. package/lib-cjs/component/reducer/preferences/actions/setPreferences.js +0 -34
  1101. package/lib-cjs/component/reducer/preferences/actions/setVerticalSplitterPosition.js +0 -10
  1102. package/lib-cjs/component/reducer/preferences/actions/setWorkspace.js +0 -22
  1103. package/lib-cjs/component/reducer/preferences/panelsPreferencesDefaultValues.js +0 -128
  1104. package/lib-cjs/component/reducer/preferences/preferencesReducer.js +0 -139
  1105. package/lib-cjs/component/reducer/preferences/utilities/checkKeysExists.js +0 -18
  1106. package/lib-cjs/component/reducer/preferences/utilities/filterObject.js +0 -11
  1107. package/lib-cjs/component/reducer/preferences/utilities/flatObject.js +0 -13
  1108. package/lib-cjs/component/reducer/preferences/utilities/getActiveWorkspace.js +0 -7
  1109. package/lib-cjs/component/reducer/preferences/utilities/getPreferencesByWorkspace.js +0 -12
  1110. package/lib-cjs/component/reducer/preferences/utilities/initWorkspace.js +0 -12
  1111. package/lib-cjs/component/reducer/preferences/utilities/isReadOnlyWorkspace.js +0 -7
  1112. package/lib-cjs/component/reducer/preferences/utilities/mapNucleiFormatting.js +0 -14
  1113. package/lib-cjs/component/reducer/preferences/utilities/mapWorkspaces.js +0 -25
  1114. package/lib-cjs/component/reducer/scaleReducer.js +0 -39
  1115. package/lib-cjs/component/toolbar/BasicToolBar.js +0 -170
  1116. package/lib-cjs/component/toolbar/FunctionToolBar.js +0 -60
  1117. package/lib-cjs/component/toolbar/ToolBar.js +0 -20
  1118. package/lib-cjs/component/toolbar/ToolTypes.js +0 -390
  1119. package/lib-cjs/component/utility/Evaluate.js +0 -12
  1120. package/lib-cjs/component/utility/Events.js +0 -15
  1121. package/lib-cjs/component/utility/FileUtility.js +0 -22
  1122. package/lib-cjs/component/utility/GroupByInfoKey.js +0 -29
  1123. package/lib-cjs/component/utility/LocalStorage.js +0 -49
  1124. package/lib-cjs/component/utility/PathBuilder.js +0 -33
  1125. package/lib-cjs/component/utility/PreferencesHelper.js +0 -11
  1126. package/lib-cjs/component/utility/assert.js +0 -9
  1127. package/lib-cjs/component/utility/convertPathArrayToString.js +0 -7
  1128. package/lib-cjs/component/utility/export.js +0 -225
  1129. package/lib-cjs/component/utility/filterType.js +0 -2
  1130. package/lib-cjs/component/utility/formatNumber.js +0 -22
  1131. package/lib-cjs/component/utility/getSpectraByNucleus.js +0 -11
  1132. package/lib-cjs/component/utility/getSpectraObjectPaths.js +0 -26
  1133. package/lib-cjs/component/utility/getUniqueNuclei.js +0 -14
  1134. package/lib-cjs/component/utility/isGoogleDocument.js +0 -7
  1135. package/lib-cjs/component/utility/jpathToArray.js +0 -27
  1136. package/lib-cjs/component/utility/nucleusToString.js +0 -6
  1137. package/lib-cjs/component/utility/parseColor.js +0 -19
  1138. package/lib-cjs/component/workspaces/assignment.js +0 -36
  1139. package/lib-cjs/component/workspaces/basic.js +0 -42
  1140. package/lib-cjs/component/workspaces/embedded.js +0 -46
  1141. package/lib-cjs/component/workspaces/exercise.js +0 -62
  1142. package/lib-cjs/component/workspaces/index.js +0 -18
  1143. package/lib-cjs/component/workspaces/prediction.js +0 -238
  1144. package/lib-cjs/component/workspaces/process1D.js +0 -38
  1145. package/lib-cjs/component/workspaces/simulation.js +0 -71
  1146. package/lib-cjs/component/workspaces/workspaceDefaultProperties.js +0 -184
  1147. package/lib-cjs/constants.js +0 -26
  1148. package/lib-cjs/data/PredictionManager.js +0 -314
  1149. package/lib-cjs/data/SpectraManager.js +0 -147
  1150. package/lib-cjs/data/constants/DefaultApodizationOptions.js +0 -8
  1151. package/lib-cjs/data/constants/DefaultPathLengths.js +0 -10
  1152. package/lib-cjs/data/constants/Multiplets.js +0 -9
  1153. package/lib-cjs/data/constants/References.js +0 -43
  1154. package/lib-cjs/data/constants/SignalsKinds.js +0 -39
  1155. package/lib-cjs/data/data1d/Spectrum1D/SumManager.js +0 -101
  1156. package/lib-cjs/data/data1d/Spectrum1D/cloneDatum1D.js +0 -8
  1157. package/lib-cjs/data/data1d/Spectrum1D/convertDataToFloat64Array.js +0 -14
  1158. package/lib-cjs/data/data1d/Spectrum1D/generateJGraphData.js +0 -83
  1159. package/lib-cjs/data/data1d/Spectrum1D/generateSpectrumFromPublicationString.js +0 -10
  1160. package/lib-cjs/data/data1d/Spectrum1D/get1DColor.js +0 -18
  1161. package/lib-cjs/data/data1d/Spectrum1D/get1DDataXY.js +0 -18
  1162. package/lib-cjs/data/data1d/Spectrum1D/getReferenceShift.js +0 -63
  1163. package/lib-cjs/data/data1d/Spectrum1D/index.js +0 -45
  1164. package/lib-cjs/data/data1d/Spectrum1D/initiateDatum1D.js +0 -74
  1165. package/lib-cjs/data/data1d/Spectrum1D/integrals/changeIntegralsRelative.js +0 -27
  1166. package/lib-cjs/data/data1d/Spectrum1D/integrals/initiateIntegrals.js +0 -21
  1167. package/lib-cjs/data/data1d/Spectrum1D/isRangeAssigned.js +0 -14
  1168. package/lib-cjs/data/data1d/Spectrum1D/isSpectrum1D.js +0 -7
  1169. package/lib-cjs/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +0 -33
  1170. package/lib-cjs/data/data1d/Spectrum1D/peaks/initiatePeaks.js +0 -14
  1171. package/lib-cjs/data/data1d/Spectrum1D/peaks/lookupPeak.js +0 -25
  1172. package/lib-cjs/data/data1d/Spectrum1D/peaks/optimizePeaks.js +0 -29
  1173. package/lib-cjs/data/data1d/Spectrum1D/ranges/addRange.js +0 -53
  1174. package/lib-cjs/data/data1d/Spectrum1D/ranges/autoRangesDetection.js +0 -45
  1175. package/lib-cjs/data/data1d/Spectrum1D/ranges/changeRange.js +0 -45
  1176. package/lib-cjs/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.js +0 -32
  1177. package/lib-cjs/data/data1d/Spectrum1D/ranges/changeRangeSignal.js +0 -18
  1178. package/lib-cjs/data/data1d/Spectrum1D/ranges/checkRangeKind.js +0 -9
  1179. package/lib-cjs/data/data1d/Spectrum1D/ranges/detectRange.js +0 -25
  1180. package/lib-cjs/data/data1d/Spectrum1D/ranges/detectRanges.js +0 -21
  1181. package/lib-cjs/data/data1d/Spectrum1D/ranges/detectSignal.js +0 -80
  1182. package/lib-cjs/data/data1d/Spectrum1D/ranges/generateSpectrumFromRanges.js +0 -33
  1183. package/lib-cjs/data/data1d/Spectrum1D/ranges/initiateRanges.js +0 -21
  1184. package/lib-cjs/data/data1d/database.js +0 -155
  1185. package/lib-cjs/data/data1d/multipleSpectraAnalysis.js +0 -215
  1186. package/lib-cjs/data/data1d/spectrumSimulation.js +0 -58
  1187. package/lib-cjs/data/data2d/Processing2D.js +0 -134
  1188. package/lib-cjs/data/data2d/Spectrum2D/cloneDatum2D.js +0 -13
  1189. package/lib-cjs/data/data2d/Spectrum2D/contours.js +0 -144
  1190. package/lib-cjs/data/data2d/Spectrum2D/get2DColor.js +0 -21
  1191. package/lib-cjs/data/data2d/Spectrum2D/get2DSpectrumErrorValue.js +0 -13
  1192. package/lib-cjs/data/data2d/Spectrum2D/getMissingProjection.js +0 -44
  1193. package/lib-cjs/data/data2d/Spectrum2D/getShift.js +0 -19
  1194. package/lib-cjs/data/data2d/Spectrum2D/getSlice.js +0 -50
  1195. package/lib-cjs/data/data2d/Spectrum2D/index.js +0 -21
  1196. package/lib-cjs/data/data2d/Spectrum2D/initiateDatum2D.js +0 -48
  1197. package/lib-cjs/data/data2d/Spectrum2D/isSpectrum2D.js +0 -7
  1198. package/lib-cjs/data/data2d/Spectrum2D/zones/changeZoneSignal.js +0 -28
  1199. package/lib-cjs/data/data2d/Spectrum2D/zones/detectZones.js +0 -10
  1200. package/lib-cjs/data/data2d/Spectrum2D/zones/detectZonesManual.js +0 -33
  1201. package/lib-cjs/data/data2d/Spectrum2D/zones/getDetectionZones.js +0 -88
  1202. package/lib-cjs/data/data2d/Spectrum2D/zones/initiateZones.js +0 -21
  1203. package/lib-cjs/data/data2d/Spectrum2D/zones/isZoneExists.js +0 -19
  1204. package/lib-cjs/data/data2d/Spectrum2D/zones/mapZones.js +0 -67
  1205. package/lib-cjs/data/data2d/Spectrum2D/zones/updateZones.js +0 -11
  1206. package/lib-cjs/data/defaults/13c.js +0 -5
  1207. package/lib-cjs/data/defaults/1h.js +0 -5
  1208. package/lib-cjs/data/defaults/default.js +0 -23
  1209. package/lib-cjs/data/getDefaultMatrixFilters.js +0 -27
  1210. package/lib-cjs/data/matrixGeneration.js +0 -130
  1211. package/lib-cjs/data/molecules/Molecule.js +0 -42
  1212. package/lib-cjs/data/molecules/MoleculeManager.js +0 -106
  1213. package/lib-cjs/data/parseMeta/index.js +0 -14
  1214. package/lib-cjs/data/parseMeta/isMetaFile.js +0 -11
  1215. package/lib-cjs/data/parseMeta/linkMetaWithSpectra.js +0 -97
  1216. package/lib-cjs/data/parseMeta/mapErrors.js +0 -11
  1217. package/lib-cjs/data/parseMeta/parseMetaFile.js +0 -16
  1218. package/lib-cjs/data/parseMeta/prepareKey.js +0 -10
  1219. package/lib-cjs/data/types/common/File.js +0 -2
  1220. package/lib-cjs/data/types/common/Info.js +0 -2
  1221. package/lib-cjs/data/types/common/MapOptions.js +0 -2
  1222. package/lib-cjs/data/types/common/Nucleus.js +0 -2
  1223. package/lib-cjs/data/types/data1d/ComplexData1D.js +0 -2
  1224. package/lib-cjs/data/types/data1d/ExclusionZone.js +0 -2
  1225. package/lib-cjs/data/types/data1d/MatrixOptions.js +0 -2
  1226. package/lib-cjs/data/types/data1d/RangeDetectionResult.js +0 -2
  1227. package/lib-cjs/data/types/data1d/index.js +0 -2
  1228. package/lib-cjs/data/types/data2d/ContourOptions.js +0 -2
  1229. package/lib-cjs/data/types/data2d/index.js +0 -2
  1230. package/lib-cjs/data/utilities/Concatenation.js +0 -8
  1231. package/lib-cjs/data/utilities/FindUtilities.js +0 -63
  1232. package/lib-cjs/data/utilities/RangeUtilities.js +0 -95
  1233. package/lib-cjs/data/utilities/ZoneUtilities.js +0 -99
  1234. package/lib-cjs/data/utilities/calculateSanPlot.js +0 -34
  1235. package/lib-cjs/data/utilities/checkModifierKeyActivated.js +0 -13
  1236. package/lib-cjs/data/utilities/convertSpectraListToObject.js +0 -10
  1237. package/lib-cjs/data/utilities/generateChar.js +0 -16
  1238. package/lib-cjs/data/utilities/generateColor.js +0 -74
  1239. package/lib-cjs/data/utilities/generateNumbersPowerOfX.js +0 -26
  1240. package/lib-cjs/data/utilities/getAtom.js +0 -6
  1241. package/lib-cjs/data/utilities/getAtomsFromMF.js +0 -19
  1242. package/lib-cjs/data/utilities/getSum.js +0 -19
  1243. package/lib-cjs/data/utilities/isInRange.js +0 -7
  1244. package/lib-cjs/data/utilities/isNumber.js +0 -7
  1245. package/lib-cjs/types/NMRiumDataReturn.js +0 -2
  1246. package/lib-cjs/types/UsedColors.js +0 -2
  1247. package/lib-cjs/utils/clipboard/clipboard.js +0 -23
  1248. package/lib-cjs/utils/clipboard/clipboardComponents.js +0 -158
  1249. package/lib-cjs/utils/clipboard/clipboardHooks.js +0 -147
  1250. package/lib-cjs/utils/clipboard/types.js +0 -2
  1251. package/lib-cjs/versionInfo.js +0 -3
  1252. /package/lib/component/modal/{AboutUsModal.d.ts → aboutUs/AboutUsModal.d.ts} +0 -0
  1253. /package/{lib-cjs/component/reducer/types/ActionType.js → lib/data/types/common/SignalKind.js} +0 -0
@@ -1,5 +1,7 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { FaEye } from 'react-icons/fa';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const fa_1 = require("react-icons/fa");
3
5
  const buttonStyle = {
4
6
  backgroundColor: 'transparent',
5
7
  border: 'none',
@@ -17,21 +19,22 @@ function getStyle(display, key) {
17
19
  opacity: 0.1,
18
20
  };
19
21
  }
20
- export default function ShowHideSpectrumButton({ data, onChangeVisibility, }) {
21
- return (_jsxs("div", { children: [_jsx(DisplayButtons1D, { data,
22
- onChangeVisibility }), _jsx(DisplayButtons2D, { data,
22
+ function ShowHideSpectrumButton({ data, onChangeVisibility, }) {
23
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(DisplayButtons1D, { data,
24
+ onChangeVisibility }), (0, jsx_runtime_1.jsx)(DisplayButtons2D, { data,
23
25
  onChangeVisibility })] }));
24
26
  }
27
+ exports.default = ShowHideSpectrumButton;
25
28
  function DisplayButtons1D(props) {
26
29
  const { data, onChangeVisibility } = props;
27
30
  if (data.info.dimension !== 1) {
28
31
  return null;
29
32
  }
30
33
  const display = data.display;
31
- return (_jsx("button", { "data-testid": "hide-show-spectrum-button", style: buttonStyle, type: "button", onClick: (e) => {
34
+ return ((0, jsx_runtime_1.jsx)("button", { "data-testid": "hide-show-spectrum-button", style: buttonStyle, type: "button", onClick: (e) => {
32
35
  e.stopPropagation();
33
36
  onChangeVisibility(data, 'isVisible');
34
- }, children: _jsx(FaEye, { style: {
37
+ }, children: (0, jsx_runtime_1.jsx)(fa_1.FaEye, { style: {
35
38
  ...getStyle(display, 'isVisible'),
36
39
  fill: display.color,
37
40
  margin: 'auto',
@@ -43,17 +46,17 @@ function DisplayButtons2D(props) {
43
46
  return null;
44
47
  }
45
48
  const display = data.display;
46
- return (_jsxs("div", { style: { minWidth: '40px' }, children: [_jsx("button", { style: buttonStyle, type: "button", onClick: (e) => {
49
+ return ((0, jsx_runtime_1.jsxs)("div", { style: { minWidth: '40px' }, children: [(0, jsx_runtime_1.jsx)("button", { style: buttonStyle, type: "button", onClick: (e) => {
47
50
  e.stopPropagation();
48
51
  onChangeVisibility(data, 'isPositiveVisible');
49
- }, children: _jsx(FaEye, { style: {
52
+ }, children: (0, jsx_runtime_1.jsx)(fa_1.FaEye, { style: {
50
53
  ...getStyle(display, 'isPositiveVisible'),
51
54
  fill: display.positiveColor,
52
55
  margin: 'auto',
53
- } }) }), _jsx("button", { style: buttonStyle, type: "button", onClick: (e) => {
56
+ } }) }), (0, jsx_runtime_1.jsx)("button", { style: buttonStyle, type: "button", onClick: (e) => {
54
57
  e.stopPropagation();
55
58
  onChangeVisibility(data, 'isNegativeVisible');
56
- }, children: _jsx(FaEye, { style: {
59
+ }, children: (0, jsx_runtime_1.jsx)(fa_1.FaEye, { style: {
57
60
  ...getStyle(display, 'isNegativeVisible'),
58
61
  fill: display.negativeColor,
59
62
  margin: 'auto',
@@ -1,11 +1,17 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useFormikContext } from 'formik';
3
- import { useMemo } from 'react';
4
- import { FaPlus, FaTimes } from 'react-icons/fa';
5
- import Button from '../../../elements/Button';
6
- import { CheckBoxCell } from '../../../elements/CheckBoxCell';
7
- import ReactTable from '../../../elements/ReactTable/ReactTable';
8
- import FormikInput from '../../../elements/formik/FormikInput';
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
+ exports.SpectraColumnsManager = void 0;
7
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
+ const formik_1 = require("formik");
9
+ const react_1 = require("react");
10
+ const fa_1 = require("react-icons/fa");
11
+ const Button_1 = __importDefault(require("../../../elements/Button"));
12
+ const CheckBoxCell_1 = require("../../../elements/CheckBoxCell");
13
+ const ReactTable_1 = __importDefault(require("../../../elements/ReactTable/ReactTable"));
14
+ const FormikInput_1 = __importDefault(require("../../../elements/formik/FormikInput"));
9
15
  const style = {
10
16
  width: '100%',
11
17
  fontSize: '1.1em',
@@ -15,9 +21,9 @@ const style = {
15
21
  const inputStyle = {
16
22
  border: 'none',
17
23
  };
18
- export function SpectraColumnsManager({ nucleus, onAdd, onDelete, datalist, mapOnChangeValue, mapValue, }) {
19
- const { values: nucleiPreferences } = useFormikContext();
20
- const COLUMNS = useMemo(() => [
24
+ function SpectraColumnsManager({ nucleus, onAdd, onDelete, datalist, mapOnChangeValue, mapValue, }) {
25
+ const { values: nucleiPreferences } = (0, formik_1.useFormikContext)();
26
+ const COLUMNS = (0, react_1.useMemo)(() => [
21
27
  {
22
28
  Header: '#',
23
29
  style: { width: '25px' },
@@ -26,7 +32,7 @@ export function SpectraColumnsManager({ nucleus, onAdd, onDelete, datalist, mapO
26
32
  {
27
33
  Header: 'Label',
28
34
  Cell: ({ row }) => {
29
- return (_jsx(FormikInput, { name: `nuclei.${nucleus}.columns.${row.index}.label`, style: {
35
+ return ((0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: `nuclei.${nucleus}.columns.${row.index}.label`, style: {
30
36
  input: { ...style, ...inputStyle },
31
37
  inputWrapper: { border: 'none' },
32
38
  } }));
@@ -37,9 +43,9 @@ export function SpectraColumnsManager({ nucleus, onAdd, onDelete, datalist, mapO
37
43
  Cell: ({ row }) => {
38
44
  const column = row.original;
39
45
  if (column?.name) {
40
- return (_jsx("span", { style: style, children: column?.jpath?.join('.') || column.description }));
46
+ return ((0, jsx_runtime_1.jsx)("span", { style: style, children: column?.jpath?.join('.') || column.description }));
41
47
  }
42
- return (_jsx(FormikInput, { name: `nuclei.${nucleus}.columns.${row.index}.jpath`, style: {
48
+ return ((0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: `nuclei.${nucleus}.columns.${row.index}.jpath`, style: {
43
49
  input: { ...style, ...inputStyle },
44
50
  inputWrapper: { border: 'none' },
45
51
  }, datalist: datalist, mapOnChangeValue: mapOnChangeValue, mapValue: mapValue }));
@@ -48,7 +54,7 @@ export function SpectraColumnsManager({ nucleus, onAdd, onDelete, datalist, mapO
48
54
  {
49
55
  Header: 'Visible',
50
56
  style: { width: '30px' },
51
- Cell: ({ row }) => (_jsx(CheckBoxCell, { name: `nuclei.${nucleus}.columns.${row.index}.visible`, defaultValue: true })),
57
+ Cell: ({ row }) => ((0, jsx_runtime_1.jsx)(CheckBoxCell_1.CheckBoxCell, { name: `nuclei.${nucleus}.columns.${row.index}.visible`, defaultValue: true })),
52
58
  },
53
59
  {
54
60
  Header: '',
@@ -56,9 +62,10 @@ export function SpectraColumnsManager({ nucleus, onAdd, onDelete, datalist, mapO
56
62
  id: 'add-button',
57
63
  Cell: ({ row }) => {
58
64
  const record = row.original;
59
- return (_jsxs("div", { style: { display: 'flex', justifyContent: 'space-between' }, children: [_jsx(Button.Done, { fill: "outline", onClick: () => onAdd(nucleus, row.index + 1), children: _jsx(FaPlus, {}) }), !record?.name && (_jsx(Button.Danger, { fill: "outline", onClick: () => onDelete(nucleus, row.index), children: _jsx(FaTimes, {}) }))] }));
65
+ return ((0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', justifyContent: 'space-between' }, children: [(0, jsx_runtime_1.jsx)(Button_1.default.Done, { fill: "outline", onClick: () => onAdd(nucleus, row.index + 1), children: (0, jsx_runtime_1.jsx)(fa_1.FaPlus, {}) }), !record?.name && ((0, jsx_runtime_1.jsx)(Button_1.default.Danger, { fill: "outline", onClick: () => onDelete(nucleus, row.index), children: (0, jsx_runtime_1.jsx)(fa_1.FaTimes, {}) }))] }));
60
66
  },
61
67
  },
62
68
  ], [datalist, mapOnChangeValue, mapValue, nucleus, onAdd, onDelete]);
63
- return (_jsx(ReactTable, { data: nucleiPreferences.nuclei[nucleus]?.columns || [], columns: COLUMNS }));
69
+ return ((0, jsx_runtime_1.jsx)(ReactTable_1.default, { data: nucleiPreferences.nuclei[nucleus]?.columns || [], columns: COLUMNS }));
64
70
  }
71
+ exports.SpectraColumnsManager = SpectraColumnsManager;
@@ -1,5 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { SvgNmr2D, SvgNmrFid, SvgNmrFt } from 'cheminfo-font';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpectrumName = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cheminfo_font_1 = require("cheminfo-font");
3
6
  const styles = {
4
7
  info: {
5
8
  display: 'block',
@@ -17,21 +20,22 @@ const styles = {
17
20
  position: 'relative',
18
21
  },
19
22
  };
20
- export function SpectrumName(props) {
21
- return (_jsxs("div", { style: styles.info, children: [_jsx("div", { style: styles.icon, children: _jsx(SpectraIcon, { ...props }) }), _jsx("span", { children: props.data.info.name })] }));
23
+ function SpectrumName(props) {
24
+ return ((0, jsx_runtime_1.jsxs)("div", { style: styles.info, children: [(0, jsx_runtime_1.jsx)("div", { style: styles.icon, children: (0, jsx_runtime_1.jsx)(SpectraIcon, { ...props }) }), (0, jsx_runtime_1.jsx)("span", { children: props.data.info.name })] }));
22
25
  }
26
+ exports.SpectrumName = SpectrumName;
23
27
  function SpectraIcon(props) {
24
28
  const { data: { info: { isFt, isFid, dimension }, originalInfo, }, } = props;
25
29
  if (dimension === 1 && isFt && originalInfo?.isFid) {
26
- return (_jsxs(_Fragment, { children: [_jsx(SvgNmrFid, { style: { opacity: '0.3', position: 'absolute' } }), _jsx(SvgNmrFt, {})] }));
30
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(cheminfo_font_1.SvgNmrFid, { style: { opacity: '0.3', position: 'absolute' } }), (0, jsx_runtime_1.jsx)(cheminfo_font_1.SvgNmrFt, {})] }));
27
31
  }
28
32
  else if (dimension === 1 && isFt) {
29
- return _jsx(SvgNmrFt, {});
33
+ return (0, jsx_runtime_1.jsx)(cheminfo_font_1.SvgNmrFt, {});
30
34
  }
31
35
  else if (isFid) {
32
- return _jsx(SvgNmrFid, {});
36
+ return (0, jsx_runtime_1.jsx)(cheminfo_font_1.SvgNmrFid, {});
33
37
  }
34
38
  else {
35
- return _jsx(SvgNmr2D, {});
39
+ return (0, jsx_runtime_1.jsx)(cheminfo_font_1.SvgNmr2D, {});
36
40
  }
37
41
  }
@@ -1,18 +1,21 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Axis, Heading, Legend, LineSeries, Plot, } from 'react-plot';
3
- export default function PlotChart({ data, sign, color, yLogBase, hideHeading = false, }) {
4
- return (_jsxs(Plot, { width: 180, height: 220, children: [!hideHeading && _jsx(Heading, { title: "Sanplot" }), _jsx(LineSeries, { data: data.sanPlot?.[sign] || [], xAxis: "x", yAxis: "y", label: sign, lineStyle: {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_plot_1 = require("react-plot");
5
+ function PlotChart({ data, sign, color, yLogBase, hideHeading = false, }) {
6
+ return ((0, jsx_runtime_1.jsxs)(react_plot_1.Plot, { width: 180, height: 220, children: [!hideHeading && (0, jsx_runtime_1.jsx)(react_plot_1.Heading, { title: "Sanplot" }), (0, jsx_runtime_1.jsx)(react_plot_1.LineSeries, { data: data.sanPlot?.[sign] || [], xAxis: "x", yAxis: "y", label: sign, lineStyle: {
5
7
  stroke: color,
6
8
  strokeWidth: 1.2,
7
9
  }, markerStyle: {
8
10
  fill: color,
9
11
  stroke: color,
10
- } }), _jsx(LineSeries, { data: data.lines?.[sign] || [], xAxis: "x", yAxis: "y", label: "noise level", lineStyle: {
12
+ } }), (0, jsx_runtime_1.jsx)(react_plot_1.LineSeries, { data: data.lines?.[sign] || [], xAxis: "x", yAxis: "y", label: "noise level", lineStyle: {
11
13
  stroke: 'blue',
12
14
  strokeWidth: 0.8,
13
15
  strokeDasharray: '3, 3',
14
16
  }, markerStyle: {
15
17
  fill: color,
16
18
  stroke: color,
17
- } }), _jsx(Axis, { id: "x", label: "Pt", position: "bottom", tickLabelStyle: { fontSize: '0.6rem' }, labelStyle: { fontSize: '0.6rem' } }), _jsx(Axis, { id: "y", label: `Intensity [Log${yLogBase}]`, position: "left", tickLabelStyle: { fontSize: '0.6rem' }, labelStyle: { fontSize: '0.7rem' } }), _jsx(Legend, { position: "embedded", bottom: 5, right: 60 })] }));
19
+ } }), (0, jsx_runtime_1.jsx)(react_plot_1.Axis, { id: "x", label: "Pt", position: "bottom", tickLabelStyle: { fontSize: '0.6rem' }, labelStyle: { fontSize: '0.6rem' } }), (0, jsx_runtime_1.jsx)(react_plot_1.Axis, { id: "y", label: `Intensity [Log${yLogBase}]`, position: "left", tickLabelStyle: { fontSize: '0.6rem' }, labelStyle: { fontSize: '0.7rem' } }), (0, jsx_runtime_1.jsx)(react_plot_1.Legend, { position: "embedded", bottom: 5, right: 60 })] }));
18
20
  }
21
+ exports.default = PlotChart;
@@ -1,17 +1,22 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { memo, useMemo } from 'react';
3
- import PlotChart from './PlotChart';
4
- import { processSnapPlot } from './processSnapPlot';
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 react_1 = require("react");
8
+ const PlotChart_1 = __importDefault(require("./PlotChart"));
9
+ const processSnapPlot_1 = require("./processSnapPlot");
5
10
  const yLogBase = 2;
6
11
  function Spectrum1DHistogram({ color = 'red', data, }) {
7
- const processedData = useMemo(() => {
8
- return processSnapPlot('1D', data, yLogBase);
12
+ const processedData = (0, react_1.useMemo)(() => {
13
+ return (0, processSnapPlot_1.processSnapPlot)('1D', data, yLogBase);
9
14
  }, [data]);
10
- return (_jsxs("div", { style: {
15
+ return ((0, jsx_runtime_1.jsxs)("div", { style: {
11
16
  display: 'flex',
12
17
  flexDirection: 'column',
13
18
  alignItems: 'center',
14
19
  justifyContent: 'center',
15
- }, children: [_jsx("div", { style: { display: 'block' }, children: _jsx(PlotChart, { data: processedData, sign: "positive", color: color, yLogBase: yLogBase }) }), _jsx("div", { style: { display: 'block', width: 180, height: 180 }, children: _jsx(PlotChart, { data: processedData, sign: "negative", color: color, yLogBase: yLogBase, hideHeading: true }) })] }));
20
+ }, children: [(0, jsx_runtime_1.jsx)("div", { style: { display: 'block' }, children: (0, jsx_runtime_1.jsx)(PlotChart_1.default, { data: processedData, sign: "positive", color: color, yLogBase: yLogBase }) }), (0, jsx_runtime_1.jsx)("div", { style: { display: 'block', width: 180, height: 180 }, children: (0, jsx_runtime_1.jsx)(PlotChart_1.default, { data: processedData, sign: "negative", color: color, yLogBase: yLogBase, hideHeading: true }) })] }));
16
21
  }
17
- export default memo(Spectrum1DHistogram);
22
+ exports.default = (0, react_1.memo)(Spectrum1DHistogram);
@@ -1,9 +1,14 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Formik } from 'formik';
3
- import FormikColorPicker from '../../../../elements/formik/FormikColorPicker';
4
- import FormikOnChange from '../../../../elements/formik/FormikOnChange';
5
- import Spectrum1DHistogram from './Spectrum1DHistogram';
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 formik_1 = require("formik");
8
+ const FormikColorPicker_1 = __importDefault(require("../../../../elements/formik/FormikColorPicker"));
9
+ const FormikOnChange_1 = __importDefault(require("../../../../elements/formik/FormikOnChange"));
10
+ const Spectrum1DHistogram_1 = __importDefault(require("./Spectrum1DHistogram"));
6
11
  function Spectrum1DSetting({ data: SpectrumData, onSubmit, }) {
7
- return (_jsx(Formik, { initialValues: SpectrumData.display, onSubmit: onSubmit, children: _jsxs(_Fragment, { children: [_jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '1.25rem' }, children: [_jsx("div", { style: { display: 'block', position: 'relative' }, children: _jsx(FormikColorPicker, { name: "color" }) }), _jsx(Spectrum1DHistogram, { color: "red", data: SpectrumData.data })] }), _jsx(FormikOnChange, { onChange: onSubmit })] }) }));
12
+ return ((0, jsx_runtime_1.jsx)(formik_1.Formik, { initialValues: SpectrumData.display, onSubmit: onSubmit, children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', flexDirection: 'column', gap: '1.25rem' }, children: [(0, jsx_runtime_1.jsx)("div", { style: { display: 'block', position: 'relative' }, children: (0, jsx_runtime_1.jsx)(FormikColorPicker_1.default, { name: "color" }) }), (0, jsx_runtime_1.jsx)(Spectrum1DHistogram_1.default, { color: "red", data: SpectrumData.data })] }), (0, jsx_runtime_1.jsx)(FormikOnChange_1.default, { onChange: onSubmit })] }) }));
8
13
  }
9
- export default Spectrum1DSetting;
14
+ exports.default = Spectrum1DSetting;
@@ -1,18 +1,23 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { memo, useMemo } from 'react';
3
- import PlotChart from './PlotChart';
4
- import { processSnapPlot } from './processSnapPlot';
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 react_1 = require("react");
8
+ const PlotChart_1 = __importDefault(require("./PlotChart"));
9
+ const processSnapPlot_1 = require("./processSnapPlot");
5
10
  const yLogBase = 2;
6
11
  function Spectrum2DHistogram({ color = 'red', data, }) {
7
- const processedData = useMemo(() => {
8
- return processSnapPlot('2D', data.rr, yLogBase);
12
+ const processedData = (0, react_1.useMemo)(() => {
13
+ return (0, processSnapPlot_1.processSnapPlot)('2D', data.rr, yLogBase);
9
14
  }, [data]);
10
- return (_jsxs("div", { children: [_jsx("div", { style: { textAlign: 'center', paddingBottom: 5, paddingTop: 5 }, children: "San Plot" }), _jsxs("div", { style: {
15
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { textAlign: 'center', paddingBottom: 5, paddingTop: 5 }, children: "San Plot" }), (0, jsx_runtime_1.jsxs)("div", { style: {
11
16
  borderTop: '1px solid #ededed',
12
17
  marginTop: '10px',
13
18
  paddingTop: '10px',
14
19
  display: 'flex',
15
20
  flexDirection: 'row',
16
- }, children: [_jsx(PlotChart, { data: processedData, sign: "positive", color: color, yLogBase: yLogBase }), _jsx(PlotChart, { data: processedData, sign: "negative", color: color, yLogBase: yLogBase, hideHeading: true })] })] }));
21
+ }, children: [(0, jsx_runtime_1.jsx)(PlotChart_1.default, { data: processedData, sign: "positive", color: color, yLogBase: yLogBase }), (0, jsx_runtime_1.jsx)(PlotChart_1.default, { data: processedData, sign: "negative", color: color, yLogBase: yLogBase, hideHeading: true })] })] }));
17
22
  }
18
- export default memo(Spectrum2DHistogram);
23
+ exports.default = (0, react_1.memo)(Spectrum2DHistogram);
@@ -1,13 +1,18 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
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("@emotion/react/jsx-runtime");
2
7
  /** @jsxImportSource @emotion/react */
3
- import { css } from '@emotion/react';
4
- import { Formik } from 'formik';
5
- import FormikColorPicker from '../../../../elements/formik/FormikColorPicker';
6
- import FormikInput from '../../../../elements/formik/FormikInput';
7
- import FormikOnChange from '../../../../elements/formik/FormikOnChange';
8
- import FormikSlider from '../../../../elements/formik/FormikSlider';
9
- import Spectrum2DHistogram from './Spectrum2DHistogram';
10
- const style = (color) => css `
8
+ const react_1 = require("@emotion/react");
9
+ const formik_1 = require("formik");
10
+ const FormikColorPicker_1 = __importDefault(require("../../../../elements/formik/FormikColorPicker"));
11
+ const FormikInput_1 = __importDefault(require("../../../../elements/formik/FormikInput"));
12
+ const FormikOnChange_1 = __importDefault(require("../../../../elements/formik/FormikOnChange"));
13
+ const FormikSlider_1 = __importDefault(require("../../../../elements/formik/FormikSlider"));
14
+ const Spectrum2DHistogram_1 = __importDefault(require("./Spectrum2DHistogram"));
15
+ const style = (color) => (0, react_1.css) `
11
16
  display: inline-block;
12
17
 
13
18
  .track-1 {
@@ -16,6 +21,6 @@ const style = (color) => css `
16
21
  `;
17
22
  function Spectrum2DSetting({ data: SpectrumData, onSubmit, }) {
18
23
  const { positiveColor, negativeColor } = SpectrumData.display;
19
- return (_jsx(Formik, { onSubmit: onSubmit, initialValues: SpectrumData.display, children: _jsxs(_Fragment, { children: [_jsxs("div", { children: [_jsxs("div", { css: style(positiveColor), children: [_jsx("span", { style: { padding: '0 10px' }, children: "Positive" }), _jsx(FormikColorPicker, { name: "positiveColor" }), _jsxs("div", { style: { padding: '5px' }, children: [_jsx("span", { className: "label", children: "contour Levels [ min - max ]" }), _jsx(FormikSlider, { name: "contourOptions.positive.contourLevels", debounceTime: 100 }), _jsx("span", { className: "label", children: "number of Layers " }), _jsx(FormikInput, { name: "contourOptions.positive.numberOfLayers", type: "number", debounceTime: 250 })] })] }), _jsxs("div", { css: style(negativeColor), children: [_jsx("span", { style: { padding: '0 10px' }, children: "Negative" }), _jsx(FormikColorPicker, { name: "negativeColor" }), _jsxs("div", { style: { padding: '5px' }, children: [_jsx("span", { className: "label", children: "contour Levels [ min - max ]" }), _jsx(FormikSlider, { name: "contourOptions.negative.contourLevels", debounceTime: 100 }), _jsx("span", { className: "label", children: "number of Layers " }), _jsx(FormikInput, { name: "contourOptions.negative.numberOfLayers", type: "number", debounceTime: 250 })] })] }), _jsx(Spectrum2DHistogram, { data: SpectrumData.data })] }), _jsx(FormikOnChange, { onChange: onSubmit })] }) }));
24
+ return ((0, jsx_runtime_1.jsx)(formik_1.Formik, { onSubmit: onSubmit, initialValues: SpectrumData.display, children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { css: style(positiveColor), children: [(0, jsx_runtime_1.jsx)("span", { style: { padding: '0 10px' }, children: "Positive" }), (0, jsx_runtime_1.jsx)(FormikColorPicker_1.default, { name: "positiveColor" }), (0, jsx_runtime_1.jsxs)("div", { style: { padding: '5px' }, children: [(0, jsx_runtime_1.jsx)("span", { className: "label", children: "contour Levels [ min - max ]" }), (0, jsx_runtime_1.jsx)(FormikSlider_1.default, { name: "contourOptions.positive.contourLevels", debounceTime: 100 }), (0, jsx_runtime_1.jsx)("span", { className: "label", children: "number of Layers " }), (0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: "contourOptions.positive.numberOfLayers", type: "number", debounceTime: 250 })] })] }), (0, jsx_runtime_1.jsxs)("div", { css: style(negativeColor), children: [(0, jsx_runtime_1.jsx)("span", { style: { padding: '0 10px' }, children: "Negative" }), (0, jsx_runtime_1.jsx)(FormikColorPicker_1.default, { name: "negativeColor" }), (0, jsx_runtime_1.jsxs)("div", { style: { padding: '5px' }, children: [(0, jsx_runtime_1.jsx)("span", { className: "label", children: "contour Levels [ min - max ]" }), (0, jsx_runtime_1.jsx)(FormikSlider_1.default, { name: "contourOptions.negative.contourLevels", debounceTime: 100 }), (0, jsx_runtime_1.jsx)("span", { className: "label", children: "number of Layers " }), (0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: "contourOptions.negative.numberOfLayers", type: "number", debounceTime: 250 })] })] }), (0, jsx_runtime_1.jsx)(Spectrum2DHistogram_1.default, { data: SpectrumData.data })] }), (0, jsx_runtime_1.jsx)(FormikOnChange_1.default, { onChange: onSubmit })] }) }));
20
25
  }
21
- export default Spectrum2DSetting;
26
+ exports.default = Spectrum2DSetting;
@@ -1,11 +1,16 @@
1
- import { jsx as _jsx } from "@emotion/react/jsx-runtime";
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("@emotion/react/jsx-runtime");
2
7
  /** @jsxImportSource @emotion/react */
3
- import { css } from '@emotion/react';
4
- import { memo, useCallback } from 'react';
5
- import { useDispatch } from '../../../../context/DispatchContext';
6
- import Spectrum1DSetting from './Spectrum1DSetting';
7
- import Spectrum2DSetting from './Spectrum2DSetting';
8
- const style = css `
8
+ const react_1 = require("@emotion/react");
9
+ const react_2 = require("react");
10
+ const DispatchContext_1 = require("../../../../context/DispatchContext");
11
+ const Spectrum1DSetting_1 = __importDefault(require("./Spectrum1DSetting"));
12
+ const Spectrum2DSetting_1 = __importDefault(require("./Spectrum2DSetting"));
13
+ const style = (0, react_1.css) `
9
14
  position: fixed;
10
15
  z-index: 999999999;
11
16
  width: 100%;
@@ -66,15 +71,15 @@ const style = css `
66
71
  }
67
72
  `;
68
73
  function SpectrumSetting({ position, data, onClose }) {
69
- const dispatch = useDispatch();
74
+ const dispatch = (0, DispatchContext_1.useDispatch)();
70
75
  const { id, info } = data;
71
- const submitHandler = useCallback((values) => {
76
+ const submitHandler = (0, react_2.useCallback)((values) => {
72
77
  dispatch({
73
78
  type: 'CHANGE_SPECTRUM_SETTING',
74
79
  payload: { id, display: values },
75
80
  });
76
81
  }, [dispatch, id]);
77
- const clickHandler = useCallback((e) => {
82
+ const clickHandler = (0, react_2.useCallback)((e) => {
78
83
  if (e.target === e.currentTarget) {
79
84
  onClose();
80
85
  }
@@ -82,14 +87,14 @@ function SpectrumSetting({ position, data, onClose }) {
82
87
  if (!position)
83
88
  return null;
84
89
  const { x, y } = position;
85
- return (_jsx("div", { css: style, onClick: clickHandler, children: _jsx("div", { className: "inner-container", style: {
90
+ return ((0, jsx_runtime_1.jsx)("div", { css: style, onClick: clickHandler, children: (0, jsx_runtime_1.jsx)("div", { className: "inner-container", style: {
86
91
  left: info.dimension === 2 ? x - 460 : x - 240,
87
92
  width: info.dimension === 2 ? 460 : 240,
88
93
  padding: info.dimension === 2 ? '10px 0' : '',
89
94
  top: y,
90
- }, children: info.dimension === 2 ? (_jsx(Spectrum2DSetting, { onSubmit: submitHandler, data: data })) : (_jsx(Spectrum1DSetting, { onSubmit: submitHandler, data: data })) }) }));
95
+ }, children: info.dimension === 2 ? ((0, jsx_runtime_1.jsx)(Spectrum2DSetting_1.default, { onSubmit: submitHandler, data: data })) : ((0, jsx_runtime_1.jsx)(Spectrum1DSetting_1.default, { onSubmit: submitHandler, data: data })) }) }));
91
96
  }
92
97
  function arePropsEqual() {
93
98
  return true;
94
99
  }
95
- export default memo(SpectrumSetting, arePropsEqual);
100
+ exports.default = (0, react_2.memo)(SpectrumSetting, arePropsEqual);
@@ -1,11 +1,14 @@
1
- import { xyReduce } from 'ml-spectra-processing';
2
- import { calculateSanPlot } from '../../../../../data/utilities/calculateSanPlot';
3
- export function processSnapPlot(dimension, data, yLogBase) {
4
- const sanResult = calculateSanPlot(dimension, data);
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.processSnapPlot = void 0;
4
+ const ml_spectra_processing_1 = require("ml-spectra-processing");
5
+ const calculateSanPlot_1 = require("../../../../../data/utilities/calculateSanPlot");
6
+ function processSnapPlot(dimension, data, yLogBase) {
7
+ const sanResult = (0, calculateSanPlot_1.calculateSanPlot)(dimension, data);
5
8
  const sanPlot = {};
6
9
  const lines = {};
7
10
  for (const plotKey in sanResult.sanplot) {
8
- const { x, y } = xyReduce(sanResult.sanplot[plotKey]);
11
+ const { x, y } = (0, ml_spectra_processing_1.xyReduce)(sanResult.sanplot[plotKey]);
9
12
  const result = new Array(x.length);
10
13
  for (let i = 0; i < x.length; i++) {
11
14
  result[i] = { x: x[i], y: y[i] };
@@ -15,6 +18,7 @@ export function processSnapPlot(dimension, data, yLogBase) {
15
18
  }
16
19
  return { sanPlot, lines };
17
20
  }
21
+ exports.processSnapPlot = processSnapPlot;
18
22
  function getLine(value, data, options) {
19
23
  const { log10, abs } = Math;
20
24
  const { yLogBase } = options;
@@ -1,24 +1,29 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { v4 } from '@lukeed/uuid';
3
- import { buildLink } from 'nmr-correlation';
4
- import { useCallback, useMemo, useRef } from 'react';
5
- import { buildID } from '../../../../data/utilities/Concatenation';
6
- import { findRangeOrZoneID } from '../../../../data/utilities/FindUtilities';
7
- import ContextMenu from '../../../elements/ContextMenu';
8
- import { positions, useModal } from '../../../elements/popup/Modal';
9
- import { useHighlight } from '../../../highlight';
10
- import { cloneCorrelationAndEditLink, getAbbreviation, } from '../utilities/Utilities';
11
- import useInView from '../utilities/useInView';
12
- import EditLinkModal from './editLink/EditLinkModal';
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 uuid_1 = require("@lukeed/uuid");
8
+ const nmr_correlation_1 = require("nmr-correlation");
9
+ const react_1 = require("react");
10
+ const Concatenation_1 = require("../../../../data/utilities/Concatenation");
11
+ const FindUtilities_1 = require("../../../../data/utilities/FindUtilities");
12
+ const ContextMenu_1 = __importDefault(require("../../../elements/ContextMenu"));
13
+ const Modal_1 = require("../../../elements/popup/Modal");
14
+ const highlight_1 = require("../../../highlight");
15
+ const Utilities_1 = require("../utilities/Utilities");
16
+ const useInView_1 = __importDefault(require("../utilities/useInView"));
17
+ const EditLinkModal_1 = __importDefault(require("./editLink/EditLinkModal"));
13
18
  function AdditionalColumnField({ rowCorrelation, columnCorrelation, commonLinks, correlations, spectraData, onEdit, }) {
14
- const contextRef = useRef();
15
- const modal = useModal();
16
- const highlightIDsCommonLinks = useMemo(() => {
19
+ const contextRef = (0, react_1.useRef)();
20
+ const modal = (0, Modal_1.useModal)();
21
+ const highlightIDsCommonLinks = (0, react_1.useMemo)(() => {
17
22
  return commonLinks.flatMap((link) => {
18
23
  const ids = [];
19
24
  if (link.pseudo === false) {
20
- ids.push(link.signal.id, buildID(link.signal.id, 'Crosshair'));
21
- const _id = findRangeOrZoneID(spectraData, link.experimentID, link.signal.id, true);
25
+ ids.push(link.signal.id, (0, Concatenation_1.buildID)(link.signal.id, 'Crosshair'));
26
+ const _id = (0, FindUtilities_1.findRangeOrZoneID)(spectraData, link.experimentID, link.signal.id, true);
22
27
  if (_id) {
23
28
  ids.push(_id);
24
29
  }
@@ -26,44 +31,44 @@ function AdditionalColumnField({ rowCorrelation, columnCorrelation, commonLinks,
26
31
  return ids;
27
32
  });
28
33
  }, [commonLinks, spectraData]);
29
- const highlightCommonLinks = useHighlight(highlightIDsCommonLinks);
30
- const mouseEnterHandler = useCallback((event) => {
34
+ const highlightCommonLinks = (0, highlight_1.useHighlight)(highlightIDsCommonLinks);
35
+ const mouseEnterHandler = (0, react_1.useCallback)((event) => {
31
36
  event.currentTarget.focus();
32
37
  highlightCommonLinks.show();
33
38
  }, [highlightCommonLinks]);
34
- const mouseLeaveHandler = useCallback((event) => {
39
+ const mouseLeaveHandler = (0, react_1.useCallback)((event) => {
35
40
  event.currentTarget.blur();
36
41
  highlightCommonLinks.hide();
37
42
  }, [highlightCommonLinks]);
38
- const contextMenuHandler = useCallback((e) => {
43
+ const contextMenuHandler = (0, react_1.useCallback)((e) => {
39
44
  e.preventDefault();
40
45
  contextRef.current.handleContextMenu(e);
41
46
  }, [contextRef]);
42
- const handleEditPseudoHSQC = useCallback((action, link) => {
47
+ const handleEditPseudoHSQC = (0, react_1.useCallback)((action, link) => {
43
48
  const pseudoLinkCountHSQC = rowCorrelation.link.filter((_link) => (_link.experimentType === 'hsqc' ||
44
49
  _link.experimentType === 'hmqc') &&
45
50
  _link.pseudo === true).length;
46
51
  let _correlationDim1;
47
52
  let _correlationDim2;
48
53
  if (action === 'add') {
49
- const commonPseudoLink = buildLink({
54
+ const commonPseudoLink = (0, nmr_correlation_1.buildLink)({
50
55
  experimentType: 'hsqc',
51
- experimentID: v4(),
56
+ experimentID: (0, uuid_1.v4)(),
52
57
  atomType: [columnCorrelation.atomType, rowCorrelation.atomType],
53
- id: v4(),
58
+ id: (0, uuid_1.v4)(),
54
59
  pseudo: true,
55
- signal: { id: v4(), sign: 0 }, // pseudo signal
60
+ signal: { id: (0, uuid_1.v4)(), sign: 0 }, // pseudo signal
56
61
  });
57
- _correlationDim1 = cloneCorrelationAndEditLink(columnCorrelation, commonPseudoLink, 'x', 'add');
58
- _correlationDim2 = cloneCorrelationAndEditLink(rowCorrelation, commonPseudoLink, 'y', 'add');
62
+ _correlationDim1 = (0, Utilities_1.cloneCorrelationAndEditLink)(columnCorrelation, commonPseudoLink, 'x', 'add');
63
+ _correlationDim2 = (0, Utilities_1.cloneCorrelationAndEditLink)(rowCorrelation, commonPseudoLink, 'y', 'add');
59
64
  // increase number of attached protons if no value was specified manually before
60
65
  if (!_correlationDim2.edited.protonsCount) {
61
66
  _correlationDim2.protonsCount = [pseudoLinkCountHSQC + 1];
62
67
  }
63
68
  }
64
69
  else {
65
- _correlationDim1 = cloneCorrelationAndEditLink(columnCorrelation, link, 'x', 'remove');
66
- _correlationDim2 = cloneCorrelationAndEditLink(rowCorrelation, link, 'y', 'remove');
70
+ _correlationDim1 = (0, Utilities_1.cloneCorrelationAndEditLink)(columnCorrelation, link, 'x', 'remove');
71
+ _correlationDim2 = (0, Utilities_1.cloneCorrelationAndEditLink)(rowCorrelation, link, 'y', 'remove');
67
72
  // decrease number of attached protons if no value was specified manually before
68
73
  if (!_correlationDim2.edited.protonsCount) {
69
74
  _correlationDim2.protonsCount =
@@ -74,18 +79,18 @@ function AdditionalColumnField({ rowCorrelation, columnCorrelation, commonLinks,
74
79
  skipDataUpdate: true,
75
80
  });
76
81
  }, [columnCorrelation, onEdit, rowCorrelation]);
77
- const contextMenu = useMemo(() => {
82
+ const contextMenu = (0, react_1.useMemo)(() => {
78
83
  // allow the edition of correlations
79
84
  const commonLinksMenu = commonLinks.flatMap((commonLink) => {
80
- const commonLinkContextMenuLabel = `${getAbbreviation(commonLink)} (${commonLink.signal.x?.delta ? commonLink.signal.x.delta.toFixed(2) : '?'}, ${commonLink.signal.y?.delta ? commonLink.signal.y.delta.toFixed(2) : '?'})${commonLink.edited?.moved === true ? '[MOVED]' : ''}`;
85
+ const commonLinkContextMenuLabel = `${(0, Utilities_1.getAbbreviation)(commonLink)} (${commonLink.signal.x?.delta ? commonLink.signal.x.delta.toFixed(2) : '?'}, ${commonLink.signal.y?.delta ? commonLink.signal.y.delta.toFixed(2) : '?'})${commonLink.edited?.moved === true ? '[MOVED]' : ''}`;
81
86
  return commonLink.pseudo === false
82
87
  ? [
83
88
  {
84
89
  label: `edit ${commonLinkContextMenuLabel}`,
85
90
  onClick: () => {
86
91
  highlightCommonLinks.hide();
87
- modal.show(_jsx(EditLinkModal, { onClose: () => modal.close(), onEdit: onEdit, link: commonLink, correlationDim1: columnCorrelation, correlationDim2: rowCorrelation, correlations: correlations }), {
88
- position: positions.MIDDLE_RIGHT,
92
+ modal.show((0, jsx_runtime_1.jsx)(EditLinkModal_1.default, { onClose: () => modal.close(), onEdit: onEdit, link: commonLink, correlationDim1: columnCorrelation, correlationDim2: rowCorrelation, correlations: correlations }), {
93
+ position: Modal_1.positions.MIDDLE_RIGHT,
89
94
  isBackgroundBlur: false,
90
95
  });
91
96
  },
@@ -120,14 +125,14 @@ function AdditionalColumnField({ rowCorrelation, columnCorrelation, commonLinks,
120
125
  onEdit,
121
126
  rowCorrelation,
122
127
  ]);
123
- const contentLabel = useMemo(() => commonLinks.map((commonLink, i) => (_jsxs("label", { children: [_jsx("label", { style: {
128
+ const contentLabel = (0, react_1.useMemo)(() => commonLinks.map((commonLink, i) => ((0, jsx_runtime_1.jsxs)("label", { children: [(0, jsx_runtime_1.jsx)("label", { style: {
124
129
  color: commonLink.pseudo === true || commonLink.edited?.moved === true
125
130
  ? 'blue'
126
131
  : 'black',
127
- }, children: getAbbreviation(commonLink) }), i < commonLinks.length - 1 && _jsx("label", { children: "/" })] }, commonLink.id))), [commonLinks]);
128
- const isInViewRow = useInView({ correlation: rowCorrelation });
129
- const isInViewColumn = useInView({ correlation: columnCorrelation });
130
- return (_jsxs("td", { onContextMenu: (e) => {
132
+ }, children: (0, Utilities_1.getAbbreviation)(commonLink) }), i < commonLinks.length - 1 && (0, jsx_runtime_1.jsx)("label", { children: "/" })] }, commonLink.id))), [commonLinks]);
133
+ const isInViewRow = (0, useInView_1.default)({ correlation: rowCorrelation });
134
+ const isInViewColumn = (0, useInView_1.default)({ correlation: columnCorrelation });
135
+ return ((0, jsx_runtime_1.jsxs)("td", { onContextMenu: (e) => {
131
136
  if (contextMenu.length > 0) {
132
137
  contextMenuHandler(e);
133
138
  }
@@ -137,7 +142,7 @@ function AdditionalColumnField({ rowCorrelation, columnCorrelation, commonLinks,
137
142
  : isInViewColumn || isInViewRow
138
143
  ? '#f5f5dc'
139
144
  : 'inherit',
140
- }, title: getTitle(commonLinks), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler, children: [contentLabel, _jsx(ContextMenu, { ref: contextRef, context: contextMenu })] }));
145
+ }, title: getTitle(commonLinks), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler, children: [contentLabel, (0, jsx_runtime_1.jsx)(ContextMenu_1.default, { ref: contextRef, context: contextMenu })] }));
141
146
  }
142
147
  function getTitle(commonLinks) {
143
148
  if (commonLinks?.length === 0) {
@@ -149,4 +154,4 @@ function getTitle(commonLinks) {
149
154
  })),
150
155
  ].join('/');
151
156
  }
152
- export default AdditionalColumnField;
157
+ exports.default = AdditionalColumnField;