ketcher-macromolecules 3.21.0 → 3.23.0-dev.1

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 (237) hide show
  1. package/dist/Editor.d.ts +2 -3
  2. package/dist/components/FloatingTools/FloatingTools.d.ts +1 -1
  3. package/dist/components/FullscreenButton/FullscreenButton.d.ts +1 -1
  4. package/dist/components/FullscreenButton/index.d.ts +1 -1
  5. package/dist/components/Layout/Layout.d.ts +19 -1
  6. package/dist/components/Layout/index.d.ts +1 -1
  7. package/dist/components/LayoutModeButton/LayoutModeButton.d.ts +1 -1
  8. package/dist/components/LayoutModeButton/index.d.ts +1 -1
  9. package/dist/components/LeftMenuComponent/LeftMenuComponent.d.ts +1 -1
  10. package/dist/components/LeftMenuComponent/index.d.ts +1 -1
  11. package/dist/components/SequenceSyncEditModeButton/SequenceSyncEditModeButton.d.ts +1 -1
  12. package/dist/components/SequenceSyncEditModeButton/index.d.ts +1 -1
  13. package/dist/components/SequenceTypeGroupButton/SequenceTypeGroupButton.d.ts +1 -1
  14. package/dist/components/SequenceTypeGroupButton/index.d.ts +1 -1
  15. package/dist/components/TopMenuComponent/TopMenuComponent.d.ts +1 -1
  16. package/dist/components/TopMenuComponent/index.d.ts +1 -1
  17. package/dist/components/TopMenuComponent/menuItemHandlers.d.ts +24 -0
  18. package/dist/components/ZoomControls/ZoomControls.d.ts +1 -1
  19. package/dist/components/ZoomControls/ZoomInput.d.ts +1 -1
  20. package/dist/components/ZoomControls/helpers.d.ts +3 -0
  21. package/dist/components/ZoomControls/styles.d.ts +2 -2
  22. package/dist/components/contextMenu/ContextMenu.d.ts +3 -2
  23. package/dist/components/contextMenu/useMonomerCreationMenu.d.ts +1 -1
  24. package/dist/components/macromoleculeProperties/CalculateMacromoleculePropertiesButton.d.ts +1 -1
  25. package/dist/components/macromoleculeProperties/MacromoleculePropertiesWindow.d.ts +1 -1
  26. package/dist/components/macromoleculeProperties/index.d.ts +1 -1
  27. package/dist/components/menu/Menu.d.ts +1 -1
  28. package/dist/components/menu/index.d.ts +1 -1
  29. package/dist/components/menu/menuItem/MenuItem.d.ts +1 -1
  30. package/dist/components/menu/menuItem/index.d.ts +1 -1
  31. package/dist/components/menu/menuItem/styles.d.ts +1 -1
  32. package/dist/components/menu/styles.d.ts +1 -1
  33. package/dist/components/menu/subMenu/SubMenu.d.ts +1 -1
  34. package/dist/components/menu/subMenu/index.d.ts +1 -1
  35. package/dist/components/menu/subMenu/styles.d.ts +1 -1
  36. package/dist/components/menu/subMenu/types.d.ts +1 -1
  37. package/dist/components/menu/types.d.ts +1 -1
  38. package/dist/components/modal/About/About.d.ts +1 -1
  39. package/dist/components/modal/ConfirmationDialog/ConfirmationDialog.d.ts +1 -1
  40. package/dist/components/modal/Delete/index.d.ts +1 -1
  41. package/dist/components/modal/Delete/styledComponents.d.ts +1 -1
  42. package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/index.d.ts +1 -1
  43. package/dist/components/modal/Open/AnalyzingFile/index.d.ts +1 -1
  44. package/dist/components/modal/Open/Open.styles.d.ts +1 -1
  45. package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.d.ts +1 -1
  46. package/dist/components/modal/Open/OpenOptions/FileDrop/index.d.ts +1 -1
  47. package/dist/components/modal/Open/OpenOptions/index.d.ts +1 -1
  48. package/dist/components/modal/Open/ViewSwitcher/ViewSwitcher.d.ts +1 -1
  49. package/dist/components/modal/Open/ViewSwitcher/index.d.ts +1 -1
  50. package/dist/components/modal/Open/fileOpener.d.ts +1 -1
  51. package/dist/components/modal/Open/index.d.ts +1 -1
  52. package/dist/components/modal/Settings/Settings.styles.d.ts +11 -29
  53. package/dist/components/modal/Settings/{SettingsField.d.ts → SettingsFieldControl.d.ts} +6 -14
  54. package/dist/components/modal/Settings/{Settings.d.ts → SettingsPanelAdapter.d.ts} +8 -2
  55. package/dist/components/modal/Settings/index.d.ts +2 -2
  56. package/dist/components/modal/Settings/settingsFields.d.ts +63 -0
  57. package/dist/components/modal/UpdateSequenceInRNABuilder/index.d.ts +1 -1
  58. package/dist/components/modal/modalContainer/index.d.ts +1 -1
  59. package/dist/components/modal/modalContainer/modalComponentList.d.ts +10 -10
  60. package/dist/components/modal/modalContainer/types.d.ts +1 -2
  61. package/dist/components/modal/monomerConnection/MonomerConnections.d.ts +3 -3
  62. package/dist/components/modal/save/Save.d.ts +1 -1
  63. package/dist/components/modal/save/Save.styles.d.ts +1 -1
  64. package/dist/components/modal/save/index.d.ts +1 -1
  65. package/dist/components/monomerLibrary/MonomerLibrary.d.ts +1 -1
  66. package/dist/components/monomerLibrary/MonomerLibraryContextMenu.utils.d.ts +32 -0
  67. package/dist/components/monomerLibrary/RnaBuilder/RnaBuilder.d.ts +1 -1
  68. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditor.d.ts +1 -1
  69. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/RnaEditorCollapsed.d.ts +1 -1
  70. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/index.d.ts +1 -1
  71. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/styles.d.ts +1 -1
  72. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/types.d.ts +1 -1
  73. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlock.d.ts +1 -1
  74. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlockCompact.d.ts +1 -1
  75. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlockWide.d.ts +2 -2
  76. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/index.d.ts +1 -1
  77. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts +1 -1
  78. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/types.d.ts +2 -2
  79. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/utils.d.ts +1 -1
  80. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.d.ts +2 -2
  81. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/resetRnaBuilder.d.ts +1 -1
  82. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/index.d.ts +1 -1
  83. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/styles.d.ts +1 -1
  84. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/index.d.ts +1 -1
  85. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/styles.d.ts +1 -1
  86. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/PresetPhosphateFilterPopup.d.ts +1 -1
  87. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElements.d.ts +1 -1
  88. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsTabsView.d.ts +1 -1
  89. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/Summary.d.ts +1 -1
  90. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/index.d.ts +1 -1
  91. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/styles.d.ts +1 -1
  92. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/types.d.ts +1 -1
  93. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/groupNameToTabLabelKey.d.ts +1 -1
  94. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/hooks/useGroupsData.d.ts +2 -2
  95. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/index.d.ts +1 -1
  96. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/styles.d.ts +4 -4
  97. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/types.d.ts +1 -1
  98. package/dist/components/monomerLibrary/RnaBuilder/index.d.ts +1 -1
  99. package/dist/components/monomerLibrary/RnaBuilder/styles.d.ts +1 -1
  100. package/dist/components/monomerLibrary/RnaBuilder/types.d.ts +1 -1
  101. package/dist/components/monomerLibrary/RnaPresetGroup/RnaPresetGroup.d.ts +1 -1
  102. package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.d.ts +1 -1
  103. package/dist/components/monomerLibrary/RnaPresetItem/index.d.ts +1 -1
  104. package/dist/components/monomerLibrary/RnaPresetItem/types.d.ts +1 -1
  105. package/dist/components/monomerLibrary/index.d.ts +1 -1
  106. package/dist/components/monomerLibrary/monomerLibraryGroup/index.d.ts +1 -1
  107. package/dist/components/monomerLibrary/monomerLibraryGroup/types.d.ts +1 -1
  108. package/dist/components/monomerLibrary/monomerLibraryItem/index.d.ts +1 -1
  109. package/dist/components/monomerLibrary/monomerLibraryItem/types.d.ts +1 -1
  110. package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.d.ts +1 -1
  111. package/dist/components/monomerLibrary/monomerLibraryList/index.d.ts +1 -1
  112. package/dist/components/monomerLibrary/monomerLibraryList/styles.d.ts +1 -1
  113. package/dist/components/monomerLibrary/monomerLibraryList/types.d.ts +2 -2
  114. package/dist/components/monomerLibrary/styles.d.ts +3 -1
  115. package/dist/components/monomerLibrary/tabsContent.d.ts +1 -1
  116. package/dist/components/preview/Preview.d.ts +1 -1
  117. package/dist/components/preview/components/BondAttachmentPoints/BondAttachmentPoints.d.ts +1 -1
  118. package/dist/components/preview/components/MonomerPreview/MonomerPreview.d.ts +1 -1
  119. package/dist/components/preview/components/PresetPreview/PresetPreview.styles.d.ts +1 -1
  120. package/dist/components/preview/helpers.d.ts +1 -1
  121. package/dist/components/preview/hooks/useIDTAliasesTextForPreset.d.ts +1 -1
  122. package/dist/components/shared/Tabs/Tabs.d.ts +1 -1
  123. package/dist/components/shared/Tabs/Tabs.styles.d.ts +3 -3
  124. package/dist/components/shared/Tabs/index.d.ts +1 -1
  125. package/dist/components/shared/TextArea/TextArea.d.ts +1 -1
  126. package/dist/components/shared/TextArea/index.d.ts +1 -1
  127. package/dist/components/shared/actionButton/ActionButton.d.ts +1 -1
  128. package/dist/components/shared/dropDown/dropDown.d.ts +1 -1
  129. package/dist/components/shared/dropDown/index.d.ts +1 -1
  130. package/dist/components/shared/dropDown/styledIcons.d.ts +1 -1
  131. package/dist/components/shared/icon/icon.d.ts +1 -1
  132. package/dist/components/shared/modal/Modal.d.ts +11 -1
  133. package/dist/components/shared/monomerOnCanvas/Chem.d.ts +1 -1
  134. package/dist/components/shared/monomerOnCanvas/Nucleotide.d.ts +1 -1
  135. package/dist/components/shared/monomerOnCanvas/Peptide.d.ts +1 -1
  136. package/dist/components/shared/monomerOnCanvas/Phosphate.d.ts +1 -1
  137. package/dist/components/shared/monomerOnCanvas/RNABase.d.ts +1 -1
  138. package/dist/components/shared/monomerOnCanvas/SequenceStartArrow.d.ts +1 -1
  139. package/dist/components/shared/monomerOnCanvas/Sugar.d.ts +1 -1
  140. package/dist/components/shared/monomerOnCanvas/UnresolvedMonomer.d.ts +1 -1
  141. package/dist/components/shared/textInputField/TextInputField.d.ts +1 -1
  142. package/dist/components/shared/textInputField/index.d.ts +1 -1
  143. package/dist/constants.d.ts +1 -1
  144. package/dist/contexts/index.d.ts +3 -4
  145. package/dist/contexts/menuContext.d.ts +1 -1
  146. package/dist/helpers/formats/formatProperties.d.ts +1 -1
  147. package/dist/helpers/formats/index.d.ts +1 -1
  148. package/dist/helpers/formats/supportedFormatProperties.d.ts +2 -2
  149. package/dist/helpers/getPreset.d.ts +1 -1
  150. package/dist/helpers/index.d.ts +1 -1
  151. package/dist/helpers/rnaValidations.d.ts +1 -1
  152. package/dist/hooks/index.d.ts +1 -1
  153. package/dist/hooks/stateHooks.d.ts +2 -2
  154. package/dist/hooks/useDebouncedShowPreview.d.ts +2 -2
  155. package/dist/hooks/useMenuContext.d.ts +1 -1
  156. package/dist/i18n/localeResources.generated.d.ts +252 -225
  157. package/dist/index.css +2 -2
  158. package/dist/index.d.ts +1 -1
  159. package/dist/index.js +13674 -16124
  160. package/dist/index.modern.js +13643 -16094
  161. package/dist/setupTests.d.ts +1 -1
  162. package/dist/state/common/editorSlice.d.ts +7 -7
  163. package/dist/state/common/index.d.ts +1 -1
  164. package/dist/state/index.d.ts +2 -2
  165. package/dist/state/library/index.d.ts +1 -1
  166. package/dist/state/library/librarySlice.d.ts +5 -5
  167. package/dist/state/modal/index.d.ts +1 -1
  168. package/dist/state/modal/modalSlice.d.ts +4 -3
  169. package/dist/state/rna-builder/index.d.ts +1 -1
  170. package/dist/state/rna-builder/rnaBuilderSlice.d.ts +17 -14
  171. package/dist/state/store.d.ts +1 -1
  172. package/dist/testUtils/storeProviders.d.ts +3 -0
  173. package/dist/testUtils/themeProvider.d.ts +1 -0
  174. package/dist/theming/defaultTheme/defaultTheme.d.ts +1 -1
  175. package/dist/theming/defaultTheme/index.d.ts +1 -1
  176. package/dist/theming/defaultTheme/theme.types.d.ts +1 -1
  177. package/dist/theming/globalStyles/getGlobalStyles.d.ts +1 -1
  178. package/dist/theming/globalStyles/index.d.ts +1 -1
  179. package/dist/theming/mixins/index.d.ts +1 -1
  180. package/dist/theming/mixins/mixins.d.ts +2 -2
  181. package/package.json +22 -39
  182. package/dist/components/FullscreenButton/FullscreenButton.test.d.ts +0 -1
  183. package/dist/components/Layout/Layout.test.d.ts +0 -16
  184. package/dist/components/Ruler/RulerArea.test.d.ts +0 -1
  185. package/dist/components/SequenceSyncEditModeButton/SequenceSyncEditModeButton.test.d.ts +0 -16
  186. package/dist/components/contextMenu/RNAContextMenu.test.d.ts +0 -16
  187. package/dist/components/contextMenu/SelectedMonomersContextMenu/helpers.test.d.ts +0 -1
  188. package/dist/components/contextMenu/SequenceItemContextMenu/SequenceItemContextMenu.test.d.ts +0 -16
  189. package/dist/components/contextMenu/SequenceItemContextMenu/helpers.test.d.ts +0 -1
  190. package/dist/components/contextMenu/monomerCreation.helpers.test.d.ts +0 -1
  191. package/dist/components/contextMenu/useMonomerCreationMenu.test.d.ts +0 -1
  192. package/dist/components/menu/Menu.test.d.ts +0 -1
  193. package/dist/components/menu/menuItem/MenuItem.test.d.ts +0 -1
  194. package/dist/components/menu/subMenu/SubMenu.test.d.ts +0 -1
  195. package/dist/components/modal/Delete/Delete.test.d.ts +0 -16
  196. package/dist/components/modal/Open/AnalyzingFile/AnalyzingFile.test.d.ts +0 -1
  197. package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/LoadingCircles.test.d.ts +0 -1
  198. package/dist/components/modal/Open/Open.test.d.ts +0 -16
  199. package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.test.d.ts +0 -1
  200. package/dist/components/modal/Open/OpenOptions/OpenOptions.test.d.ts +0 -1
  201. package/dist/components/modal/Settings/SettingsAccordion.d.ts +0 -24
  202. package/dist/components/modal/Settings/SettingsAccordion.styles.d.ts +0 -27
  203. package/dist/components/modal/Settings/SettingsFields.d.ts +0 -24
  204. package/dist/components/modal/Settings/fieldGroups.d.ts +0 -46
  205. package/dist/components/modal/UpdateSequenceInRNABuilder/UpdateSequenceInRNABuilder.test.d.ts +0 -16
  206. package/dist/components/modal/monomerConnection/MonomerConnections.test.d.ts +0 -1
  207. package/dist/components/modal/save/Save.test.d.ts +0 -16
  208. package/dist/components/monomerLibrary/MonomerLibraryContextMenu.test.d.ts +0 -1
  209. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.test.d.ts +0 -1
  210. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/sequenceEdit.test.d.ts +0 -1
  211. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/updateSequenceConfirmation.test.d.ts +0 -1
  212. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsTabsView.test.d.ts +0 -1
  213. package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.test.d.ts +0 -1
  214. package/dist/components/monomerLibrary/monomerLibraryGroup/MonomerGroup.test.d.ts +0 -16
  215. package/dist/components/monomerLibrary/monomerLibraryItem/MonomerItem.test.d.ts +0 -1
  216. package/dist/components/monomerLibrary/monomerLibraryItem/hooks/useDisabledForSequenceMode.test.d.ts +0 -1
  217. package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.test.d.ts +0 -16
  218. package/dist/components/preview/Preview.component.test.d.ts +0 -1
  219. package/dist/components/preview/Preview.test.d.ts +0 -1
  220. package/dist/components/preview/components/PresetPreview/PresetPreview.test.d.ts +0 -1
  221. package/dist/components/shared/actionButton/ActionButton.test.d.ts +0 -16
  222. package/dist/components/shared/dropDown/dropDown.test.d.ts +0 -16
  223. package/dist/components/shared/modal/Modal.test.d.ts +0 -16
  224. package/dist/helpers/countNucleoelents.test.d.ts +0 -1
  225. package/dist/helpers/getMonomerName.test.d.ts +0 -1
  226. package/dist/helpers/getPresets.test.d.ts +0 -16
  227. package/dist/helpers/rnaValidations.test.d.ts +0 -1
  228. package/dist/helpers/sequenceTypeStorage.test.d.ts +0 -1
  229. package/dist/hooks/useSetRnaPresets.test.d.ts +0 -1
  230. package/dist/index.css.map +0 -1
  231. package/dist/index.js.map +0 -1
  232. package/dist/index.modern.js.map +0 -1
  233. package/dist/state/library/librarySlice.test.d.ts +0 -16
  234. package/dist/state/rna-builder/rnaBuilderSlice.test.d.ts +0 -16
  235. package/dist/styledComponents.test.d.ts +0 -1
  236. package/dist/testMocks/ketcher-react.d.ts +0 -61
  237. package/dist/testMocks/react-contexify.d.ts +0 -14
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -13,39 +13,21 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- export declare const Container: import("@emotion/styled").StyledComponent<{
17
- theme?: import("@emotion/react").Theme;
18
- as?: React.ElementType;
19
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
- export declare const HeaderContent: import("@emotion/styled").StyledComponent<{
21
- theme?: import("@emotion/react").Theme;
22
- as?: React.ElementType;
23
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
24
- export declare const HeaderTitle: import("@emotion/styled").StyledComponent<{
25
- theme?: import("@emotion/react").Theme;
26
- as?: React.ElementType;
27
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
28
- export declare const HeaderButton: import("@emotion/styled").StyledComponent<{
16
+ export declare const HeaderIconButton: import("@emotion/styled").StyledComponent<{
29
17
  theme?: import("@emotion/react").Theme;
30
18
  as?: React.ElementType;
31
19
  }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
32
- export declare const FooterLeft: import("@emotion/styled").StyledComponent<{
33
- theme?: import("@emotion/react").Theme;
34
- as?: React.ElementType;
35
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
36
- export declare const FooterRight: import("@emotion/styled").StyledComponent<{
37
- theme?: import("@emotion/react").Theme;
38
- as?: React.ElementType;
39
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
40
- export declare const FieldsContainer: import("@emotion/styled").StyledComponent<{
20
+ /** Set ACS Settings sits in the title row next to the icon controls */
21
+ export declare const HeaderTextButton: import("@emotion/styled").StyledComponent<{
41
22
  theme?: import("@emotion/react").Theme;
42
23
  as?: React.ElementType;
43
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
44
- export declare const FieldLabelContent: import("@emotion/styled").StyledComponent<{
45
- theme?: import("@emotion/react").Theme;
46
- as?: React.ElementType;
47
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
48
- export declare const FieldWrapper: import("@emotion/styled").StyledComponent<{
24
+ }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
25
+ /**
26
+ * Covers the canvas area while the Settings window is open. It is fully
27
+ * transparent, so the structure stays visible, but it swallows every pointer
28
+ * event so the canvas cannot be modified.
29
+ */
30
+ export declare const CanvasCaptureLayer: import("@emotion/styled").StyledComponent<{
49
31
  theme?: import("@emotion/react").Theme;
50
32
  as?: React.ElementType;
51
33
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -13,21 +13,13 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- import type { SettingFieldValue } from './fieldGroups';
17
- interface SettingsFieldProps {
18
- name: string;
19
- labelKey: string;
20
- type: 'checkbox' | 'number' | 'text' | 'select' | 'color';
16
+ import { type SettingFieldValue, type SettingsFieldDescriptor } from './settingsFields';
17
+ interface SettingsFieldControlProps {
18
+ field: SettingsFieldDescriptor;
21
19
  value: SettingFieldValue | undefined;
20
+ unitValue?: SettingFieldValue;
22
21
  onChange: (value: SettingFieldValue) => void;
23
- options?: Array<{
24
- value: SettingFieldValue;
25
- labelKey: string;
26
- }>;
27
- min?: number;
28
- max?: number;
29
- step?: number;
30
- tooltipKey?: string;
22
+ onUnitChange?: (value: SettingFieldValue) => void;
31
23
  }
32
- export declare const SettingsField: ({ name, labelKey, type, value, onChange, options, min, max, step, tooltipKey, }: SettingsFieldProps) => import("@emotion/react/jsx-runtime").JSX.Element;
24
+ export declare const SettingsFieldControl: ({ field, value, unitValue, onChange, onUnitChange, }: SettingsFieldControlProps) => import("@emotion/react/jsx-runtime").JSX.Element;
33
25
  export {};
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -14,4 +14,10 @@
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
16
  import { RequiredModalProps } from '../modalContainer';
17
- export declare const Settings: ({ isModalOpen, onClose }: RequiredModalProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
17
+ /**
18
+ * Thin adapter between the shared presentational panel from ketcher-react and
19
+ * `SettingsService`: it stages the service's values locally and only writes them
20
+ * back on Apply. It deliberately does not wrap itself in `shared/modal`'s Modal,
21
+ * which is what keeps the macro canvas visible and undimmed.
22
+ */
23
+ export declare const SettingsPanelAdapter: ({ isModalOpen, onClose, }: RequiredModalProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -13,4 +13,4 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- export { Settings } from './Settings';
16
+ export { SettingsPanelAdapter } from './SettingsPanelAdapter';
@@ -0,0 +1,63 @@
1
+ /****************************************************************************
2
+ * Copyright 2021 EPAM Systems
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ ***************************************************************************/
16
+ import type { SettingsFormValue } from 'ketcher-core';
17
+ import type { SettingsFieldLayout } from 'ketcher-react';
18
+ export type SettingFieldValue = boolean | number | string;
19
+ export type SettingFieldName = {
20
+ [Key in keyof SettingsFormValue]-?: Exclude<SettingsFormValue[Key], undefined> extends SettingFieldValue ? Key : never;
21
+ }[keyof SettingsFormValue];
22
+ export type SettingsFieldControlType = 'checkbox' | 'number' | 'text' | 'select' | 'color';
23
+ export interface SettingsFieldDescriptor {
24
+ name: SettingFieldName;
25
+ /**
26
+ * Keys resolve against the `settings` and `dialogs` namespaces of ketcher-react,
27
+ * so both modes always render the same label and the same hint for a field.
28
+ * Values that are not translation keys (font family names, unit abbreviations
29
+ * are handled through `settings:units.*`) are passed through unchanged.
30
+ */
31
+ labelKey: string;
32
+ control: SettingsFieldControlType;
33
+ /** Paired unit dropdown rendered right of a number input */
34
+ unitName?: SettingFieldName;
35
+ options?: Array<{
36
+ value: SettingFieldValue;
37
+ labelKey: string;
38
+ }>;
39
+ min?: number;
40
+ max?: number;
41
+ step?: number;
42
+ /** Description rendered as static text beneath the control */
43
+ hintKey?: string;
44
+ hintAlign?: 'left' | 'right';
45
+ /** Override the default layout derived from `control`; e.g. 'measure-stacked' */
46
+ layout?: SettingsFieldLayout;
47
+ }
48
+ export interface SettingsFieldGroupDescriptor {
49
+ id: string;
50
+ titleKey: string;
51
+ fields: SettingsFieldDescriptor[];
52
+ }
53
+ declare const UNIT_OPTIONS: {
54
+ value: string;
55
+ labelKey: string;
56
+ }[];
57
+ /**
58
+ * Group order, field order, labels and hints mirror the molecules-mode panel.
59
+ * The two modes keep separate descriptors because their data sources differ
60
+ * (JSON-schema form vs. plain values from SettingsService).
61
+ */
62
+ export declare const SETTINGS_FIELD_GROUPS: SettingsFieldGroupDescriptor[];
63
+ export { UNIT_OPTIONS };
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -13,12 +13,12 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- import { Open } from 'components/modal/Open';
17
- import { Save } from 'components/modal/save';
18
- import { Delete } from 'components/modal/Delete';
19
- import { UpdateSequenceInRNABuilder } from 'components/modal/UpdateSequenceInRNABuilder';
20
- import { MonomerConnection } from 'components/modal/monomerConnection';
21
- import { ConfirmationDialog } from 'components/modal/ConfirmationDialog';
22
- import { Settings } from 'components/modal/Settings';
23
- import { ModalName } from 'state/modal';
24
- export declare const modalComponentList: Record<ModalName, typeof Open | typeof Save | typeof Delete | typeof UpdateSequenceInRNABuilder | typeof MonomerConnection | typeof ConfirmationDialog | typeof Settings>;
16
+ import { Open } from '../../modal/Open';
17
+ import { Save } from '../../modal/save';
18
+ import { Delete } from '../../modal/Delete';
19
+ import { UpdateSequenceInRNABuilder } from '../../modal/UpdateSequenceInRNABuilder';
20
+ import { MonomerConnection } from '../../modal/monomerConnection';
21
+ import { ConfirmationDialog } from '../../modal/ConfirmationDialog';
22
+ import { SettingsPanelAdapter } from '../../modal/Settings';
23
+ import { ModalName } from '../../../state/modal';
24
+ export declare const modalComponentList: Record<ModalName, typeof Open | typeof Save | typeof Delete | typeof UpdateSequenceInRNABuilder | typeof MonomerConnection | typeof ConfirmationDialog | typeof SettingsPanelAdapter>;
@@ -1,5 +1,4 @@
1
- import { BaseMonomer } from 'ketcher-core';
2
- import { PolymerBond } from 'ketcher-core/dist/domain/entities/PolymerBond';
1
+ import { BaseMonomer, PolymerBond } from 'ketcher-core';
3
2
  export interface MonomerConnectionOnlyProps {
4
3
  firstMonomer?: BaseMonomer;
5
4
  secondMonomer?: BaseMonomer;
@@ -6,7 +6,7 @@ export declare const ActionButtonLeft: import("@emotion/styled").StyledComponent
6
6
  label: string;
7
7
  clickHandler: () => void;
8
8
  styleType?: string;
9
- } & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef"> & {
9
+ } & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
10
10
  component?: React.ElementType;
11
11
  } & {
12
12
  theme?: import("@emotion/react").Theme;
@@ -15,7 +15,7 @@ export declare const ActionButtonRight: import("@emotion/styled").StyledComponen
15
15
  label: string;
16
16
  clickHandler: () => void;
17
17
  styleType?: string;
18
- } & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef"> & {
18
+ } & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
19
19
  component?: React.ElementType;
20
20
  } & {
21
21
  theme?: import("@emotion/react").Theme;
@@ -24,7 +24,7 @@ export declare const ActionButtonAttachmentPoint: import("@emotion/styled").Styl
24
24
  label: string;
25
25
  clickHandler: () => void;
26
26
  styleType?: string;
27
- } & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef"> & {
27
+ } & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
28
28
  component?: React.ElementType;
29
29
  } & {
30
30
  theme?: import("@emotion/react").Theme;
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -6,7 +6,7 @@ export declare const Row: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
8
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
- export declare const StyledDropdown: import("@emotion/styled").StyledComponent<import("components/shared/dropDown").DropDownProps & {
9
+ export declare const StyledDropdown: import("@emotion/styled").StyledComponent<import("../../shared/dropDown").DropDownProps & {
10
10
  theme?: import("@emotion/react").Theme;
11
11
  }, {}, {}>;
12
12
  export declare const stylesForExpanded: {
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -0,0 +1,32 @@
1
+ import { type CoreEditor, type IKetMonomerGroupTemplate, type MonomerItemType } from 'ketcher-core';
2
+ import { type IRnaPreset } from '../monomerLibrary/RnaBuilder/types';
3
+ export declare const DELETE_CONFIRMATION: {
4
+ onCanvas: {
5
+ title: string;
6
+ confirmationText: string;
7
+ };
8
+ inPreset: {
9
+ title: string;
10
+ confirmationText: string;
11
+ };
12
+ onCanvasAndInPreset: {
13
+ title: string;
14
+ confirmationText: string;
15
+ };
16
+ };
17
+ /**
18
+ * Removes the monomer from the library together with every preset that
19
+ * references it, keeping the KET library data and the Redux custom presets
20
+ * (and their localStorage cache) in sync.
21
+ */
22
+ export declare const deleteMonomerWithPresets: (editor: CoreEditor, monomer: MonomerItemType, referencingPresets: IKetMonomerGroupTemplate[], customPresets: IRnaPreset[], deleteCustomPreset: (preset: IRnaPreset) => void) => void;
23
+ /**
24
+ * Custom RNA presets (created in the RNA Builder) are stored in Redux state
25
+ * and localStorage, NOT in `_monomersLibraryParsedJson`. This function checks
26
+ * those presets so the delete confirmation covers them too.
27
+ */
28
+ export declare const getReferencingCustomPresets: (monomer: MonomerItemType, customPresets: IRnaPreset[]) => IRnaPreset[];
29
+ export declare const getDeleteConfirmation: (isOnCanvas: boolean, hasReferencingPresets: boolean) => {
30
+ title: string;
31
+ confirmationText: string;
32
+ } | null;
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,3 +1,3 @@
1
1
  import { IGroupBlockProps } from './types';
2
2
  import { PropsWithChildren } from 'react';
3
- export declare const GroupBlockCompact: ({ groupName, iconName, monomerName, selected, onClick, testid, children, }: IGroupBlockProps & PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
3
+ export declare const GroupBlockCompact: ({ groupName, iconName, monomerName, selected: isSelected, onClick, testid, children, }: IGroupBlockProps & PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,4 +15,4 @@
15
15
  ***************************************************************************/
16
16
  import { IGroupBlockProps } from './types';
17
17
  import { PropsWithChildren } from 'react';
18
- export declare const GroupBlockWide: ({ groupName, iconName, monomerName, selected, onClick, testid, children, }: IGroupBlockProps & PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
18
+ export declare const GroupBlockWide: ({ groupName, iconName, monomerName, selected: isSelected, onClick, testid, children, }: IGroupBlockProps & PropsWithChildren) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
16
  import { IconName } from 'ketcher-react';
17
- import { MonomerGroups } from 'src/constants';
17
+ import { MonomerGroups } from '../../../../../../constants';
18
18
  export interface IGroupBlockProps {
19
19
  groupName: MonomerGroups;
20
20
  iconName: IconName;
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -13,5 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
- import { IRnaEditorExpandedProps } from 'components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/types';
16
+ import { IRnaEditorExpandedProps } from '../../../../monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/types';
17
17
  export declare const RnaEditorExpanded: ({ isEditMode, onDuplicate, }: IRnaEditorExpandedProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { AnyAction, Dispatch } from 'redux';
2
2
  import { CoreEditor } from 'ketcher-core';
3
3
  export declare const resetRnaBuilder: (dispatch: Dispatch<AnyAction>) => void;
4
- export declare const resetRnaBuilderAfterSequenceUpdate: (dispatch: Dispatch<AnyAction>, editor: CoreEditor | undefined, needToRemoveSelection?: boolean) => void;
4
+ export declare const resetRnaBuilderAfterSequenceUpdate: (dispatch: Dispatch<AnyAction>, editor: CoreEditor | undefined, shouldRemoveSelection?: boolean) => void;
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  ***************************************************************************/
10
10
  import React from 'react';
11
11
  type Props = {
@@ -1,4 +1,4 @@
1
- import { LibraryNameType } from 'src/constants';
1
+ import { LibraryNameType } from '../../../../constants';
2
2
  import { IRnaPreset } from 'ketcher-core';
3
3
  interface RnaUnifiedViewProps {
4
4
  view: 'tabs' | 'accordion';
@@ -1,3 +1,3 @@
1
- import { RnaElementsViewProps } from 'components/monomerLibrary/RnaBuilder/RnaElementsView/types';
1
+ import { RnaElementsViewProps } from '../../../monomerLibrary/RnaBuilder/RnaElementsView/types';
2
2
  declare const _default: import("react").MemoExoticComponent<({ activeRnaBuilderItem, groupsData, onNewPresetClick, onSelectItem, duplicatePreset, editPreset, libraryName, }: RnaElementsViewProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
3
3
  export default _default;
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,