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,13 +1,18 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { v4 } from '@lukeed/uuid';
3
- import { Field, useFormikContext } from 'formik';
4
- import { FaLink, FaPlus, FaTimes } from 'react-icons/fa';
5
- import Button from '../../../elements/Button';
6
- import { GroupPane } from '../../../elements/GroupPane';
7
- import FormikCheckBox from '../../../elements/formik/FormikCheckBox';
8
- import FormikInput from '../../../elements/formik/FormikInput';
9
- import { getPreferencesByWorkspace } from '../../../reducer/preferences/utilities/getPreferencesByWorkspace';
10
- import { isGoogleDocument } from '../../../utility/isGoogleDocument';
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 formik_1 = require("formik");
9
+ const fa_1 = require("react-icons/fa");
10
+ const Button_1 = __importDefault(require("../../../elements/Button"));
11
+ const GroupPane_1 = require("../../../elements/GroupPane");
12
+ const FormikCheckBox_1 = __importDefault(require("../../../elements/formik/FormikCheckBox"));
13
+ const FormikInput_1 = __importDefault(require("../../../elements/formik/FormikInput"));
14
+ const getPreferencesByWorkspace_1 = require("../../../reducer/preferences/utilities/getPreferencesByWorkspace");
15
+ const isGoogleDocument_1 = require("../../../utility/isGoogleDocument");
11
16
  const style = {
12
17
  table: {
13
18
  width: '100%',
@@ -31,7 +36,7 @@ const style = {
31
36
  },
32
37
  };
33
38
  function DatabasesTabContent({ currentWorkspace, originalWorkspaces, }) {
34
- const { values, setFieldValue } = useFormikContext();
39
+ const { values, setFieldValue } = (0, formik_1.useFormikContext)();
35
40
  const databases = values.databases;
36
41
  function deleteHandler(index) {
37
42
  const _database = databases.data.slice();
@@ -40,7 +45,7 @@ function DatabasesTabContent({ currentWorkspace, originalWorkspaces, }) {
40
45
  }
41
46
  function addHandler() {
42
47
  const newDatabase = {
43
- key: v4(),
48
+ key: (0, uuid_1.v4)(),
44
49
  label: '',
45
50
  url: '',
46
51
  enabled: true,
@@ -48,30 +53,30 @@ function DatabasesTabContent({ currentWorkspace, originalWorkspaces, }) {
48
53
  void setFieldValue('databases.data', [...databases.data, newDatabase]);
49
54
  }
50
55
  function resetHandler() {
51
- const workSpaceDisplayPreferences = getPreferencesByWorkspace(currentWorkspace, originalWorkspaces);
56
+ const workSpaceDisplayPreferences = (0, getPreferencesByWorkspace_1.getPreferencesByWorkspace)(currentWorkspace, originalWorkspaces);
52
57
  const database = workSpaceDisplayPreferences.databases.data;
53
58
  void setFieldValue('databases.data', database);
54
59
  }
55
- return (_jsx("fieldset", { onClick: (e) => {
60
+ return ((0, jsx_runtime_1.jsx)("fieldset", { onClick: (e) => {
56
61
  if (e.target.checked) {
57
62
  e.target.checked = false;
58
63
  void setFieldValue('databases.defaultDatabase', '');
59
64
  }
60
- }, children: _jsx(GroupPane, { text: "Databases", renderHeader: (text) => {
61
- return (_jsx(DataBaseHeader, { text: text, onReset: resetHandler, onAdd: addHandler }));
62
- }, children: _jsxs("table", { style: style.table, children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { style: style.th, children: "#" }), _jsx("th", { style: style.th, children: "Label " }), _jsx("th", { style: style.th, children: "URL" }), _jsx("th", { style: style.th, children: "Enabled" }), _jsx("th", { style: style.th, children: "Auto Load" }), _jsx("th", {})] }) }), _jsx("tbody", { children: databases?.data.map((item, index) => {
65
+ }, children: (0, jsx_runtime_1.jsx)(GroupPane_1.GroupPane, { text: "Databases", renderHeader: (text) => {
66
+ return ((0, jsx_runtime_1.jsx)(DataBaseHeader, { text: text, onReset: resetHandler, onAdd: addHandler }));
67
+ }, children: (0, jsx_runtime_1.jsxs)("table", { style: style.table, children: [(0, jsx_runtime_1.jsx)("thead", { children: (0, jsx_runtime_1.jsxs)("tr", { children: [(0, jsx_runtime_1.jsx)("th", { style: style.th, children: "#" }), (0, jsx_runtime_1.jsx)("th", { style: style.th, children: "Label " }), (0, jsx_runtime_1.jsx)("th", { style: style.th, children: "URL" }), (0, jsx_runtime_1.jsx)("th", { style: style.th, children: "Enabled" }), (0, jsx_runtime_1.jsx)("th", { style: style.th, children: "Auto Load" }), (0, jsx_runtime_1.jsx)("th", {})] }) }), (0, jsx_runtime_1.jsx)("tbody", { children: databases?.data.map((item, index) => {
63
68
  const num = index + 1;
64
69
  return (
65
70
  // eslint-disable-next-line react/no-array-index-key
66
- _jsxs("tr", { style: { height: '33px' }, children: [_jsxs("td", { style: style.serialCol, children: [_jsx("span", { children: num }), ' '] }), _jsx("td", { style: style.labelCol, children: _jsx(FormikInput, { style: { input: style.input }, name: `databases.data.${index}.label`, checkErrorAfterInputTouched: false }) }), _jsx("td", { children: _jsx(FormikInput, { style: { input: style.input }, name: `databases.data.${index}.url`, checkErrorAfterInputTouched: false }) }), _jsx("td", { children: _jsx(FormikCheckBox, { style: {
71
+ (0, jsx_runtime_1.jsxs)("tr", { style: { height: '33px' }, children: [(0, jsx_runtime_1.jsxs)("td", { style: style.serialCol, children: [(0, jsx_runtime_1.jsx)("span", { children: num }), ' '] }), (0, jsx_runtime_1.jsx)("td", { style: style.labelCol, children: (0, jsx_runtime_1.jsx)(FormikInput_1.default, { style: { input: style.input }, name: `databases.data.${index}.label`, checkErrorAfterInputTouched: false }) }), (0, jsx_runtime_1.jsx)("td", { children: (0, jsx_runtime_1.jsx)(FormikInput_1.default, { style: { input: style.input }, name: `databases.data.${index}.url`, checkErrorAfterInputTouched: false }) }), (0, jsx_runtime_1.jsx)("td", { children: (0, jsx_runtime_1.jsx)(FormikCheckBox_1.default, { style: {
67
72
  container: style.checkbox,
68
- }, className: "checkbox-element", name: `databases.data.${index}.enabled` }) }), _jsx("td", { children: _jsx(Field, { style: style.checkbox, type: "radio", name: "databases.defaultDatabase", value: item.key }) }), _jsx("td", { children: _jsxs("div", { style: {
73
+ }, className: "checkbox-element", name: `databases.data.${index}.enabled` }) }), (0, jsx_runtime_1.jsx)("td", { children: (0, jsx_runtime_1.jsx)(formik_1.Field, { style: style.checkbox, type: "radio", name: "databases.defaultDatabase", value: item.key }) }), (0, jsx_runtime_1.jsx)("td", { children: (0, jsx_runtime_1.jsxs)("div", { style: {
69
74
  display: 'flex',
70
75
  height: '100%',
71
- }, children: [_jsx(Button.Danger, { style: { fontSize: '14px' }, fill: "clear", onClick: () => deleteHandler(index), children: _jsx(FaTimes, {}) }), databases.length === index + 1 && (_jsx(Button.Done, { fill: "clear", style: { fontSize: '14px' }, onClick: addHandler, children: _jsx(FaPlus, {}) })), isGoogleDocument(item.url) && (_jsx(Button.Action, { style: { fontSize: '13px' }, fill: "clear", onClick: () => window.open(item.url, '_blank'), children: _jsx(FaLink, {}) }))] }) })] }, `${index}`));
76
+ }, children: [(0, jsx_runtime_1.jsx)(Button_1.default.Danger, { style: { fontSize: '14px' }, fill: "clear", onClick: () => deleteHandler(index), children: (0, jsx_runtime_1.jsx)(fa_1.FaTimes, {}) }), databases.length === index + 1 && ((0, jsx_runtime_1.jsx)(Button_1.default.Done, { fill: "clear", style: { fontSize: '14px' }, onClick: addHandler, children: (0, jsx_runtime_1.jsx)(fa_1.FaPlus, {}) })), (0, isGoogleDocument_1.isGoogleDocument)(item.url) && ((0, jsx_runtime_1.jsx)(Button_1.default.Action, { style: { fontSize: '13px' }, fill: "clear", onClick: () => window.open(item.url, '_blank'), children: (0, jsx_runtime_1.jsx)(fa_1.FaLink, {}) }))] }) })] }, `${index}`));
72
77
  }) })] }) }) }));
73
78
  }
74
79
  function DataBaseHeader({ onReset, onAdd, text }) {
75
- return (_jsxs("div", { className: "section-header", style: { display: 'flex' }, children: [_jsx("p", { style: { flex: 1 }, children: text }), _jsxs("div", { style: { display: 'flex', justifyContent: 'space-between' }, children: [_jsx(Button.Danger, { fill: "clear", size: "xSmall", onClick: onReset, style: { margin: '0 5px' }, children: "Reset Databases" }), _jsx(Button.Done, { fill: "outline", size: "xSmall", onClick: onAdd, children: "Add Database" })] })] }));
80
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "section-header", style: { display: 'flex' }, children: [(0, jsx_runtime_1.jsx)("p", { style: { flex: 1 }, children: text }), (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', justifyContent: 'space-between' }, children: [(0, jsx_runtime_1.jsx)(Button_1.default.Danger, { fill: "clear", size: "xSmall", onClick: onReset, style: { margin: '0 5px' }, children: "Reset Databases" }), (0, jsx_runtime_1.jsx)(Button_1.default.Done, { fill: "outline", size: "xSmall", onClick: onAdd, children: "Add Database" })] })] }));
76
81
  }
77
- export default DatabasesTabContent;
82
+ exports.default = DatabasesTabContent;
@@ -1,6 +1,11 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { CheckBoxCell } from '../../../elements/CheckBoxCell';
3
- import ReactTable from '../../../elements/ReactTable/ReactTable';
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 CheckBoxCell_1 = require("../../../elements/CheckBoxCell");
8
+ const ReactTable_1 = __importDefault(require("../../../elements/ReactTable/ReactTable"));
4
9
  const LIST = [
5
10
  {
6
11
  label: 'Spectra selection panel',
@@ -78,15 +83,15 @@ const COLUMNS = [
78
83
  {
79
84
  index: 2,
80
85
  Header: 'Active',
81
- Cell: ({ row }) => (_jsx(CheckBoxCell, { name: `display.${row.original.name}.display`, defaultValue: false })),
86
+ Cell: ({ row }) => ((0, jsx_runtime_1.jsx)(CheckBoxCell_1.CheckBoxCell, { name: `display.${row.original.name}.display`, defaultValue: false })),
82
87
  },
83
88
  {
84
89
  index: 3,
85
90
  Header: 'Open on load',
86
- Cell: ({ row }) => (_jsx(CheckBoxCell, { name: `display.${row.original.name}.open`, defaultValue: false })),
91
+ Cell: ({ row }) => ((0, jsx_runtime_1.jsx)(CheckBoxCell_1.CheckBoxCell, { name: `display.${row.original.name}.open`, defaultValue: false })),
87
92
  },
88
93
  ];
89
94
  function DisplayTabContent() {
90
- return (_jsx("div", { style: { width: '100%', overflow: 'hidden' }, children: _jsx(ReactTable, { columns: COLUMNS, data: LIST }) }));
95
+ return ((0, jsx_runtime_1.jsx)("div", { style: { width: '100%', overflow: 'hidden' }, children: (0, jsx_runtime_1.jsx)(ReactTable_1.default, { columns: COLUMNS, data: LIST }) }));
91
96
  }
92
- export default DisplayTabContent;
97
+ exports.default = DisplayTabContent;
@@ -1,14 +1,19 @@
1
- import { jsx as _jsx, jsxs as _jsxs } 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 { v4 } from '@lukeed/uuid';
5
- import { useFormikContext } from 'formik';
6
- import lodashGet from 'lodash/get';
7
- import { FaPlus, FaTimes } from 'react-icons/fa';
8
- import Button from '../../../elements/Button';
9
- import { GroupPane } from '../../../elements/GroupPane';
10
- import FormikInput from '../../../elements/formik/FormikInput';
11
- const styles = css `
8
+ const react_1 = require("@emotion/react");
9
+ const uuid_1 = require("@lukeed/uuid");
10
+ const formik_1 = require("formik");
11
+ const get_1 = __importDefault(require("lodash/get"));
12
+ const fa_1 = require("react-icons/fa");
13
+ const Button_1 = __importDefault(require("../../../elements/Button"));
14
+ const GroupPane_1 = require("../../../elements/GroupPane");
15
+ const FormikInput_1 = __importDefault(require("../../../elements/formik/FormikInput"));
16
+ const styles = (0, react_1.css) `
12
17
  .counter-col {
13
18
  width: 30px;
14
19
  }
@@ -50,8 +55,8 @@ const styles = css `
50
55
  }
51
56
  `;
52
57
  function FormattingTabContent() {
53
- const { values, setFieldValue } = useFormikContext();
54
- const nuclei = lodashGet(values, 'formatting.nuclei', {});
58
+ const { values, setFieldValue } = (0, formik_1.useFormikContext)();
59
+ const nuclei = (0, get_1.default)(values, 'formatting.nuclei', {});
55
60
  function deleteHandler(key) {
56
61
  const _nuclei = {};
57
62
  for (const nucleus in nuclei) {
@@ -67,14 +72,14 @@ function FormattingTabContent() {
67
72
  ppm: '0.00',
68
73
  hz: '0.00',
69
74
  };
70
- const key = v4();
75
+ const key = (0, uuid_1.v4)();
71
76
  const newNuclei = { ...nuclei, [key]: newFormat };
72
77
  void setFieldValue('formatting.nuclei', newNuclei);
73
78
  }
74
79
  const nucleiList = Object.keys(nuclei);
75
- return (_jsx(GroupPane, { text: "Number formatting for crosshair and info line", children: _jsx("div", { css: styles, children: _jsxs("table", { children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { className: "counter-col", children: "#" }), _jsx("th", { className: "nucleus-label-col", children: "Nucleus " }), _jsx("th", { className: "nucleus-format-input-col", children: "\u03B4 (ppm)" }), _jsx("th", { className: "nucleus-format-input-col", children: "Coupling (Hz)" }), _jsx("th", { className: "nucleus-format-input-col" })] }) }), _jsx("tbody", { children: nucleiList?.map((key, index) => {
80
+ return ((0, jsx_runtime_1.jsx)(GroupPane_1.GroupPane, { text: "Number formatting for crosshair and info line", children: (0, jsx_runtime_1.jsx)("div", { css: styles, children: (0, jsx_runtime_1.jsxs)("table", { children: [(0, jsx_runtime_1.jsx)("thead", { children: (0, jsx_runtime_1.jsxs)("tr", { children: [(0, jsx_runtime_1.jsx)("th", { className: "counter-col", children: "#" }), (0, jsx_runtime_1.jsx)("th", { className: "nucleus-label-col", children: "Nucleus " }), (0, jsx_runtime_1.jsx)("th", { className: "nucleus-format-input-col", children: "\u03B4 (ppm)" }), (0, jsx_runtime_1.jsx)("th", { className: "nucleus-format-input-col", children: "Coupling (Hz)" }), (0, jsx_runtime_1.jsx)("th", { className: "nucleus-format-input-col" })] }) }), (0, jsx_runtime_1.jsx)("tbody", { children: nucleiList?.map((key, index) => {
76
81
  const num = index + 1;
77
- return (_jsxs("tr", { children: [_jsxs("td", { className: "counter-col", children: [_jsxs("span", { children: [num, " - "] }), ' '] }), _jsx("td", { className: "nucleus-label-col", children: _jsx(FormikInput, { name: `formatting.nuclei.${key}.name`, className: "input", checkErrorAfterInputTouched: false }) }), _jsx("td", { className: "nucleus-format-input-col", children: _jsx(FormikInput, { name: `formatting.nuclei.${key}.ppm`, className: "input" }) }), _jsx("td", { className: "nucleus-format-input-col", children: _jsx(FormikInput, { name: `formatting.nuclei.${key}.hz`, className: "input" }) }), _jsxs("td", { className: "operation-container", children: [_jsx(Button.Danger, { style: { fontSize: '14px' }, fill: "clear", onClick: () => deleteHandler(key), children: _jsx(FaTimes, {}) }), nucleiList.length === index + 1 && (_jsx(Button.Done, { fill: "clear", style: { fontSize: '14px' }, onClick: addHandler, children: _jsx(FaPlus, {}) }))] })] }, `${key}`));
82
+ return ((0, jsx_runtime_1.jsxs)("tr", { children: [(0, jsx_runtime_1.jsxs)("td", { className: "counter-col", children: [(0, jsx_runtime_1.jsxs)("span", { children: [num, " - "] }), ' '] }), (0, jsx_runtime_1.jsx)("td", { className: "nucleus-label-col", children: (0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: `formatting.nuclei.${key}.name`, className: "input", checkErrorAfterInputTouched: false }) }), (0, jsx_runtime_1.jsx)("td", { className: "nucleus-format-input-col", children: (0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: `formatting.nuclei.${key}.ppm`, className: "input" }) }), (0, jsx_runtime_1.jsx)("td", { className: "nucleus-format-input-col", children: (0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: `formatting.nuclei.${key}.hz`, className: "input" }) }), (0, jsx_runtime_1.jsxs)("td", { className: "operation-container", children: [(0, jsx_runtime_1.jsx)(Button_1.default.Danger, { style: { fontSize: '14px' }, fill: "clear", onClick: () => deleteHandler(key), children: (0, jsx_runtime_1.jsx)(fa_1.FaTimes, {}) }), nucleiList.length === index + 1 && ((0, jsx_runtime_1.jsx)(Button_1.default.Done, { fill: "clear", style: { fontSize: '14px' }, onClick: addHandler, children: (0, jsx_runtime_1.jsx)(fa_1.FaPlus, {}) }))] })] }, `${key}`));
78
83
  }) })] }) }) }));
79
84
  }
80
- export default FormattingTabContent;
85
+ exports.default = FormattingTabContent;
@@ -1,9 +1,14 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { GroupPane } from '../../../elements/GroupPane';
3
- import Label from '../../../elements/Label';
4
- import FormikCheckBox from '../../../elements/formik/FormikCheckBox';
5
- import FormikInput from '../../../elements/formik/FormikInput';
6
- import FormikSelect from '../../../elements/formik/FormikSelect';
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 GroupPane_1 = require("../../../elements/GroupPane");
8
+ const Label_1 = __importDefault(require("../../../elements/Label"));
9
+ const FormikCheckBox_1 = __importDefault(require("../../../elements/formik/FormikCheckBox"));
10
+ const FormikInput_1 = __importDefault(require("../../../elements/formik/FormikInput"));
11
+ const FormikSelect_1 = __importDefault(require("../../../elements/formik/FormikSelect"));
7
12
  const SHAPE_RENDERING = [
8
13
  {
9
14
  label: 'Auto',
@@ -35,6 +40,6 @@ const LOGS_LEVELS = [
35
40
  value: level,
36
41
  }));
37
42
  function GeneralTabContent() {
38
- return (_jsxs(_Fragment, { children: [_jsx(GroupPane, { text: "Spectra", children: _jsx(Label, { title: "Opacity of dimmed spectra [ 0 - 1 ]", children: _jsx(FormikInput, { name: "general.dimmedSpectraOpacity", checkValue: (value) => Number(value) >= 0 && Number(value) <= 1, type: "number" }) }) }), _jsx(GroupPane, { text: "Experimental features", children: _jsx(Label, { title: "Enable experimental features", htmlFor: "display.general.experimentalFeatures.display", children: _jsx(FormikCheckBox, { name: "display.general.experimentalFeatures.display" }) }) }), _jsx(GroupPane, { text: "Rendering", children: _jsx(Label, { title: "Spectra rendering ", children: _jsx(FormikSelect, { items: SHAPE_RENDERING, name: "general.spectraRendering", style: { width: '150px' } }) }) }), _jsx(GroupPane, { text: "Logging settings", children: _jsx(Label, { title: "Level ", children: _jsx(FormikSelect, { items: LOGS_LEVELS, name: "general.loggingLevel", style: { width: '100px' } }) }) })] }));
43
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(GroupPane_1.GroupPane, { text: "Spectra", children: (0, jsx_runtime_1.jsx)(Label_1.default, { title: "Opacity of dimmed spectra [ 0 - 1 ]", children: (0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: "general.dimmedSpectraOpacity", checkValue: (value) => Number(value) >= 0 && Number(value) <= 1, type: "number", step: 0.1, min: 0, max: 1 }) }) }), (0, jsx_runtime_1.jsx)(GroupPane_1.GroupPane, { text: "Experimental features", children: (0, jsx_runtime_1.jsx)(Label_1.default, { title: "Enable experimental features", htmlFor: "display.general.experimentalFeatures.display", children: (0, jsx_runtime_1.jsx)(FormikCheckBox_1.default, { name: "display.general.experimentalFeatures.display" }) }) }), (0, jsx_runtime_1.jsx)(GroupPane_1.GroupPane, { text: "Rendering", children: (0, jsx_runtime_1.jsx)(Label_1.default, { title: "Spectra rendering ", children: (0, jsx_runtime_1.jsx)(FormikSelect_1.default, { items: SHAPE_RENDERING, name: "general.spectraRendering", style: { width: '150px' } }) }) }), (0, jsx_runtime_1.jsx)(GroupPane_1.GroupPane, { text: "Logging settings", children: (0, jsx_runtime_1.jsx)(Label_1.default, { title: "Level ", children: (0, jsx_runtime_1.jsx)(FormikSelect_1.default, { items: LOGS_LEVELS, name: "general.loggingLevel", style: { width: '100px' } }) }) })] }));
39
44
  }
40
- export default GeneralTabContent;
45
+ exports.default = GeneralTabContent;
@@ -1,9 +1,14 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { CheckBoxCell } from '../../../elements/CheckBoxCell';
3
- import { GroupPane } from '../../../elements/GroupPane';
4
- import ReactTable from '../../../elements/ReactTable/ReactTable';
5
- import FormikInput from '../../../elements/formik/FormikInput';
6
- import FormikSelect from '../../../elements/formik/FormikSelect';
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 CheckBoxCell_1 = require("../../../elements/CheckBoxCell");
8
+ const GroupPane_1 = require("../../../elements/GroupPane");
9
+ const ReactTable_1 = __importDefault(require("../../../elements/ReactTable/ReactTable"));
10
+ const FormikInput_1 = __importDefault(require("../../../elements/formik/FormikInput"));
11
+ const FormikSelect_1 = __importDefault(require("../../../elements/formik/FormikSelect"));
7
12
  const DataSelectionOptions = [
8
13
  { label: 'FT', value: 'ft' },
9
14
  { label: 'FID', value: 'fid' },
@@ -68,18 +73,18 @@ const COLUMNS = [
68
73
  const fieldType = row.original.fieldType;
69
74
  switch (fieldType) {
70
75
  case 'checkbox':
71
- return (_jsx(CheckBoxCell, { name: `nmrLoaders.${row.original.name}`, defaultValue: false }));
76
+ return ((0, jsx_runtime_1.jsx)(CheckBoxCell_1.CheckBoxCell, { name: `nmrLoaders.${row.original.name}`, defaultValue: false }));
72
77
  case 'input':
73
- return (_jsx(FormikInput, { name: `nmrLoaders.${row.original.name}`, type: "string", style: { input: { width: '100%', padding: 0 } }, nullable: true }));
78
+ return ((0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: `nmrLoaders.${row.original.name}`, type: "string", style: { input: { width: '100%', padding: 0 } } }));
74
79
  case 'select':
75
- return (_jsx(FormikSelect, { name: `nmrLoaders.${row.original.name}`, style: { width: '100%' }, items: row.original.options }));
80
+ return ((0, jsx_runtime_1.jsx)(FormikSelect_1.default, { name: `nmrLoaders.${row.original.name}`, style: { width: '100%' }, items: row.original.options }));
76
81
  default:
77
- return _jsx("span", {});
82
+ return (0, jsx_runtime_1.jsx)("span", {});
78
83
  }
79
84
  },
80
85
  },
81
86
  ];
82
87
  function ImportationFiltersTabContent() {
83
- return (_jsxs(_Fragment, { children: [_jsx(GroupPane, { text: "General", children: _jsx(ReactTable, { columns: COLUMNS, data: GENERAL_LIST }) }), _jsx(GroupPane, { text: "Bruker", children: _jsx(ReactTable, { columns: COLUMNS, data: BRUKER_LIST }) })] }));
88
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(GroupPane_1.GroupPane, { text: "General", children: (0, jsx_runtime_1.jsx)(ReactTable_1.default, { columns: COLUMNS, data: GENERAL_LIST }) }), (0, jsx_runtime_1.jsx)(GroupPane_1.GroupPane, { text: "Bruker", children: (0, jsx_runtime_1.jsx)(ReactTable_1.default, { columns: COLUMNS, data: BRUKER_LIST }) })] }));
84
89
  }
85
- export default ImportationFiltersTabContent;
90
+ exports.default = ImportationFiltersTabContent;
@@ -1,17 +1,22 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useFormikContext } from 'formik';
3
- import { useCallback, useMemo } from 'react';
4
- import { FaPlus, FaTimes } from 'react-icons/fa';
5
- import { useChartData } from '../../../context/ChartContext';
6
- import Button from '../../../elements/Button';
7
- import { CheckBoxCell } from '../../../elements/CheckBoxCell';
8
- import { GroupPane } from '../../../elements/GroupPane';
9
- import Label from '../../../elements/Label';
10
- import ReactTable from '../../../elements/ReactTable/ReactTable';
11
- import FormikCheckBox from '../../../elements/formik/FormikCheckBox';
12
- import FormikInput from '../../../elements/formik/FormikInput';
13
- import { convertPathArrayToString } from '../../../utility/convertPathArrayToString';
14
- import { getSpectraObjectPaths } from '../../../utility/getSpectraObjectPaths';
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 react_1 = require("react");
9
+ const fa_1 = require("react-icons/fa");
10
+ const ChartContext_1 = require("../../../context/ChartContext");
11
+ const Button_1 = __importDefault(require("../../../elements/Button"));
12
+ const CheckBoxCell_1 = require("../../../elements/CheckBoxCell");
13
+ const GroupPane_1 = require("../../../elements/GroupPane");
14
+ const Label_1 = __importDefault(require("../../../elements/Label"));
15
+ const ReactTable_1 = __importDefault(require("../../../elements/ReactTable/ReactTable"));
16
+ const FormikCheckBox_1 = __importDefault(require("../../../elements/formik/FormikCheckBox"));
17
+ const FormikInput_1 = __importDefault(require("../../../elements/formik/FormikInput"));
18
+ const convertPathArrayToString_1 = require("../../../utility/convertPathArrayToString");
19
+ const getSpectraObjectPaths_1 = require("../../../utility/getSpectraObjectPaths");
15
20
  const styles = {
16
21
  input: {
17
22
  width: '100%',
@@ -21,11 +26,11 @@ const styles = {
21
26
  },
22
27
  };
23
28
  function InfoBlockTabContent() {
24
- const { values, setFieldValue } = useFormikContext();
25
- const { data } = useChartData();
26
- const { datalist, paths } = useMemo(() => getSpectraObjectPaths(data), [data]);
29
+ const { values, setFieldValue } = (0, formik_1.useFormikContext)();
30
+ const { data } = (0, ChartContext_1.useChartData)();
31
+ const { datalist, paths } = (0, react_1.useMemo)(() => (0, getSpectraObjectPaths_1.getSpectraObjectPaths)(data), [data]);
27
32
  const fields = values?.infoBlock.fields;
28
- const addHandler = useCallback((data, index) => {
33
+ const addHandler = (0, react_1.useCallback)((data, index) => {
29
34
  let columns = [];
30
35
  const emptyField = {
31
36
  label: '',
@@ -40,11 +45,11 @@ function InfoBlockTabContent() {
40
45
  }
41
46
  void setFieldValue('infoBlock.fields', columns);
42
47
  }, [setFieldValue]);
43
- const deleteHandler = useCallback((data, index) => {
48
+ const deleteHandler = (0, react_1.useCallback)((data, index) => {
44
49
  const _fields = data.filter((_, columnIndex) => columnIndex !== index);
45
50
  void setFieldValue('infoBlock.fields', _fields);
46
51
  }, [setFieldValue]);
47
- const COLUMNS = useMemo(() => [
52
+ const COLUMNS = (0, react_1.useMemo)(() => [
48
53
  {
49
54
  Header: '#',
50
55
  style: { width: '25px', ...styles.column },
@@ -54,27 +59,27 @@ function InfoBlockTabContent() {
54
59
  Header: 'Label',
55
60
  style: { padding: 0, ...styles.column },
56
61
  Cell: ({ row }) => {
57
- return (_jsx(FormikInput, { name: `infoBlock.fields.${row.index}.label`, style: { input: styles.input } }));
62
+ return ((0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: `infoBlock.fields.${row.index}.label`, style: { input: styles.input } }));
58
63
  },
59
64
  },
60
65
  {
61
66
  Header: 'Field',
62
67
  style: { padding: 0, ...styles.column },
63
68
  Cell: ({ row }) => {
64
- return (_jsx(FormikInput, { name: `infoBlock.fields.${row.index}.jpath`, style: { input: styles.input }, mapOnChangeValue: (key) => paths?.[key] || null, mapValue: (paths) => convertPathArrayToString(paths), datalist: datalist }));
69
+ return ((0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: `infoBlock.fields.${row.index}.jpath`, style: { input: styles.input }, mapOnChangeValue: (key) => paths?.[key] || null, mapValue: (paths) => (0, convertPathArrayToString_1.convertPathArrayToString)(paths), datalist: datalist }));
65
70
  },
66
71
  },
67
72
  {
68
73
  Header: 'Format',
69
74
  style: { padding: 0, ...styles.column },
70
75
  Cell: ({ row }) => {
71
- return (_jsx(FormikInput, { name: `infoBlock.fields.${row.index}.format`, style: { input: styles.input } }));
76
+ return ((0, jsx_runtime_1.jsx)(FormikInput_1.default, { name: `infoBlock.fields.${row.index}.format`, style: { input: styles.input } }));
72
77
  },
73
78
  },
74
79
  {
75
80
  Header: 'Visible',
76
81
  style: { width: '30px', ...styles.column },
77
- Cell: ({ row }) => (_jsx(CheckBoxCell, { name: `infoBlock.fields.${row.index}.visible`, defaultValue: true })),
82
+ Cell: ({ row }) => ((0, jsx_runtime_1.jsx)(CheckBoxCell_1.CheckBoxCell, { name: `infoBlock.fields.${row.index}.visible`, defaultValue: true })),
78
83
  },
79
84
  {
80
85
  Header: '',
@@ -82,18 +87,18 @@ function InfoBlockTabContent() {
82
87
  id: 'add-button',
83
88
  Cell: ({ data, row }) => {
84
89
  const record = row.original;
85
- return (_jsxs("div", { style: { display: 'flex', justifyContent: 'space-around' }, children: [_jsx(Button.Done, { fill: "outline", onClick: () => addHandler(data, row.index + 1), children: _jsx(FaPlus, {}) }), !record?.name && (_jsx(Button.Danger, { fill: "outline", onClick: () => deleteHandler(data, row.index), children: _jsx(FaTimes, {}) }))] }));
90
+ return ((0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', justifyContent: 'space-around' }, children: [(0, jsx_runtime_1.jsx)(Button_1.default.Done, { fill: "outline", onClick: () => addHandler(data, 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: () => deleteHandler(data, row.index), children: (0, jsx_runtime_1.jsx)(fa_1.FaTimes, {}) }))] }));
86
91
  },
87
92
  },
88
93
  ], [addHandler, datalist, deleteHandler, paths]);
89
- return (_jsxs("div", { children: [_jsx(Label, { title: "Display spectrum info block", htmlFor: "infoBlock.visible", style: { wrapper: { padding: '10px 0' } }, children: _jsx(FormikCheckBox, { name: "infoBlock.visible" }) }), _jsx(GroupPane, { text: "Fields", renderHeader: (text) => {
90
- return (_jsx(FieldsBlockHeader, { text: text, onAdd: () => addHandler(fields, 0) }));
91
- }, children: _jsx(ReactTable, { style: {
94
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Label_1.default, { title: "Display spectrum info block", htmlFor: "infoBlock.visible", style: { wrapper: { padding: '10px 0' } }, children: (0, jsx_runtime_1.jsx)(FormikCheckBox_1.default, { name: "infoBlock.visible" }) }), (0, jsx_runtime_1.jsx)(GroupPane_1.GroupPane, { text: "Fields", renderHeader: (text) => {
95
+ return ((0, jsx_runtime_1.jsx)(FieldsBlockHeader, { text: text, onAdd: () => addHandler(fields, 0) }));
96
+ }, children: (0, jsx_runtime_1.jsx)(ReactTable_1.default, { style: {
92
97
  'table, table td, table th': { border: 'none' },
93
98
  'table thead': { borderBottom: '1px solid #f9f9f9' },
94
99
  }, data: fields, columns: COLUMNS, emptyDataRowText: "No Fields" }) })] }));
95
100
  }
96
101
  function FieldsBlockHeader({ onAdd, text }) {
97
- return (_jsxs("div", { className: "section-header", style: { display: 'flex' }, children: [_jsx("p", { style: { flex: 1 }, children: text }), _jsx(Button.Done, { fill: "outline", size: "xSmall", onClick: onAdd, children: "Add Field" })] }));
102
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "section-header", style: { display: 'flex' }, children: [(0, jsx_runtime_1.jsx)("p", { style: { flex: 1 }, children: text }), (0, jsx_runtime_1.jsx)(Button_1.default.Done, { fill: "outline", size: "xSmall", onClick: onAdd, children: "Add Field" })] }));
98
103
  }
99
- export default InfoBlockTabContent;
104
+ exports.default = InfoBlockTabContent;
@@ -1,19 +1,24 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useFormikContext } from 'formik';
3
- import { useState } from 'react';
4
- import { Tabs } from 'react-science/ui';
5
- import { CheckBoxCell } from '../../../elements/CheckBoxCell';
6
- import IsotopesViewer from '../../../elements/IsotopesViewer';
7
- import ReactTable from '../../../elements/ReactTable/ReactTable';
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 react_1 = require("react");
9
+ const ui_1 = require("react-science/ui");
10
+ const CheckBoxCell_1 = require("../../../elements/CheckBoxCell");
11
+ const IsotopesViewer_1 = __importDefault(require("../../../elements/IsotopesViewer"));
12
+ const ReactTable_1 = __importDefault(require("../../../elements/ReactTable/ReactTable"));
8
13
  function OnLoadProcessingTabContent() {
9
- const { values } = useFormikContext();
10
- const [activeTab, setActiveTab] = useState('1H');
14
+ const { values } = (0, formik_1.useFormikContext)();
15
+ const [activeTab, setActiveTab] = (0, react_1.useState)('1H');
11
16
  const tabItems = Object.keys(values?.onLoadProcessing || {}).map((nucleus) => ({
12
17
  id: nucleus,
13
- title: _jsx(IsotopesViewer, { value: nucleus }),
14
- content: (_jsx(FiltersTable, { data: values?.onLoadProcessing?.[nucleus], nucleus: nucleus })),
18
+ title: (0, jsx_runtime_1.jsx)(IsotopesViewer_1.default, { value: nucleus }),
19
+ content: ((0, jsx_runtime_1.jsx)(FiltersTable, { data: values?.onLoadProcessing?.[nucleus], nucleus: nucleus })),
15
20
  }));
16
- return (_jsx("div", { style: { width: '100%', overflow: 'hidden' }, children: _jsx(Tabs, { items: tabItems, opened: activeTab, onClick: (id) => setActiveTab(id) }) }));
21
+ return ((0, jsx_runtime_1.jsx)("div", { style: { width: '100%', overflow: 'hidden' }, children: (0, jsx_runtime_1.jsx)(ui_1.Tabs, { items: tabItems, opened: activeTab, onClick: (id) => setActiveTab(id) }) }));
17
22
  }
18
23
  function FiltersTable({ data, nucleus }) {
19
24
  const COLUMNS = [
@@ -31,9 +36,9 @@ function FiltersTable({ data, nucleus }) {
31
36
  {
32
37
  index: 2,
33
38
  Header: 'Enable',
34
- Cell: ({ row }) => (_jsx(CheckBoxCell, { name: `onLoadProcessing.${nucleus}.${row.index}.flag`, defaultValue: false })),
39
+ Cell: ({ row }) => ((0, jsx_runtime_1.jsx)(CheckBoxCell_1.CheckBoxCell, { name: `onLoadProcessing.${nucleus}.${row.index}.flag`, defaultValue: false })),
35
40
  },
36
41
  ];
37
- return _jsx(ReactTable, { columns: COLUMNS, data: data });
42
+ return (0, jsx_runtime_1.jsx)(ReactTable_1.default, { columns: COLUMNS, data: data });
38
43
  }
39
- export default OnLoadProcessingTabContent;
44
+ exports.default = OnLoadProcessingTabContent;
@@ -1,6 +1,11 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { CheckBoxCell } from '../../../elements/CheckBoxCell';
3
- import ReactTable from '../../../elements/ReactTable/ReactTable';
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 CheckBoxCell_1 = require("../../../elements/CheckBoxCell");
8
+ const ReactTable_1 = __importDefault(require("../../../elements/ReactTable/ReactTable"));
4
9
  const LIST = [
5
10
  {
6
11
  label: 'Zoom in',
@@ -98,10 +103,10 @@ const COLUMNS = [
98
103
  {
99
104
  index: 2,
100
105
  Header: 'Active',
101
- Cell: ({ row }) => (_jsx(CheckBoxCell, { name: `display.${row.original.name}`, defaultValue: false })),
106
+ Cell: ({ row }) => ((0, jsx_runtime_1.jsx)(CheckBoxCell_1.CheckBoxCell, { name: `display.${row.original.name}`, defaultValue: false })),
102
107
  },
103
108
  ];
104
109
  function ToolsTabContent() {
105
- return (_jsx("div", { style: { width: '100%', overflow: 'hidden' }, children: _jsx(ReactTable, { columns: COLUMNS, data: LIST }) }));
110
+ return ((0, jsx_runtime_1.jsx)("div", { style: { width: '100%', overflow: 'hidden' }, children: (0, jsx_runtime_1.jsx)(ReactTable_1.default, { columns: COLUMNS, data: LIST }) }));
106
111
  }
107
- export default ToolsTabContent;
112
+ exports.default = ToolsTabContent;
@@ -1,16 +1,19 @@
1
- import { array, lazy, object, string, ValidationError, } from 'yup';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.validation = void 0;
4
+ const yup_1 = require("yup");
2
5
  const formattingElementValidation = (obj) => {
3
6
  return Object.fromEntries(Object.keys(obj.formatting.nuclei).map((key) => [
4
7
  key,
5
- object().shape({
6
- name: string().trim().required('Nucleus is a required field'),
7
- ppm: string().trim().required('PPM format is a required field'),
8
- hz: string().trim().required('Hz format is a required field'),
8
+ (0, yup_1.object)().shape({
9
+ name: (0, yup_1.string)().trim().required('Nucleus is a required field'),
10
+ ppm: (0, yup_1.string)().trim().required('PPM format is a required field'),
11
+ hz: (0, yup_1.string)().trim().required('Hz format is a required field'),
9
12
  }),
10
13
  ]));
11
14
  };
12
- const formattingValidation = (obj) => object().shape({
13
- nuclei: object()
15
+ const formattingValidation = (obj) => (0, yup_1.object)().shape({
16
+ nuclei: (0, yup_1.object)()
14
17
  .shape(formattingElementValidation(obj))
15
18
  .test('Unique', 'Nuclei need te be unique', function check(nuclei) {
16
19
  const nucleusFrequencies = {};
@@ -31,27 +34,31 @@ const formattingValidation = (obj) => object().shape({
31
34
  const { value, fields } = nucleusFrequencies[key];
32
35
  if (value > 1) {
33
36
  for (const field of fields) {
34
- errors.push(new ValidationError(`${key} nucleus must te be unique`, nuclei[key].name, `${this.path}.${field}.name`));
37
+ errors.push(new yup_1.ValidationError(`${key} nucleus must te be unique`, nuclei[key].name, `${this.path}.${field}.name`));
35
38
  }
36
39
  }
37
40
  }
38
- return new ValidationError(errors);
41
+ return new yup_1.ValidationError(errors);
39
42
  }),
40
43
  });
41
- const databasesValidation = object().shape({
42
- data: array().of(object().shape({
43
- label: string().trim().required('Label is a required field'),
44
- url: string().trim().url().required('URL is a required field'),
44
+ const databasesValidation = (0, yup_1.object)().shape({
45
+ data: (0, yup_1.array)().of((0, yup_1.object)().shape({
46
+ label: (0, yup_1.string)().trim().required('Label is a required field'),
47
+ url: (0, yup_1.string)().trim().url().required('URL is a required field'),
45
48
  })),
46
49
  });
47
- const infoBlockValidation = object({
48
- fields: array().of(object({
49
- label: string().required(),
50
- jpath: array().of(string()).min(1),
50
+ const infoBlockValidation = (0, yup_1.object)({
51
+ fields: (0, yup_1.array)().of((0, yup_1.object)({
52
+ label: (0, yup_1.string)().required(),
53
+ jpath: (0, yup_1.array)().of((0, yup_1.string)()).min(1),
51
54
  })),
52
55
  });
53
- export const validation = lazy((obj) => object().shape({
56
+ const generalValidation = (0, yup_1.object)({
57
+ dimmedSpectraOpacity: (0, yup_1.number)().required(),
58
+ });
59
+ exports.validation = (0, yup_1.lazy)((obj) => (0, yup_1.object)().shape({
54
60
  formatting: formattingValidation(obj),
55
61
  databases: databasesValidation,
56
62
  infoBlock: infoBlockValidation,
63
+ general: generalValidation,
57
64
  }));