ketcher-react 3.0.0-rc.1 → 3.0.0-rc.2

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 (507) hide show
  1. package/README.md +4 -0
  2. package/dist/Editor.d.ts +6 -28
  3. package/dist/MicromoleculesEditor.d.ts +28 -0
  4. package/dist/cjs/Editor.d.ts +6 -0
  5. package/dist/cjs/MicromoleculesEditor.d.ts +28 -0
  6. package/dist/cjs/components/Accordion/Accordion.d.ts +2 -0
  7. package/dist/cjs/components/Accordion/index.d.ts +16 -0
  8. package/dist/cjs/components/Accordion/styles.d.ts +29 -0
  9. package/dist/cjs/components/Accordion/types.d.ts +27 -0
  10. package/dist/cjs/components/Buttons/Button/Button.d.ts +1 -0
  11. package/dist/cjs/components/Buttons/Button/index.d.ts +16 -0
  12. package/dist/cjs/components/Buttons/Button/styles.d.ts +5 -0
  13. package/dist/cjs/components/Buttons/IconButton/IconButton.d.ts +17 -0
  14. package/dist/cjs/components/Buttons/IconButton/IconButtonBase.d.ts +17 -0
  15. package/dist/cjs/components/Buttons/IconButton/IconButtonCustomIcon.d.ts +17 -0
  16. package/dist/cjs/components/Buttons/IconButton/index.d.ts +17 -0
  17. package/dist/cjs/components/Buttons/IconButton/styles.d.ts +28 -0
  18. package/dist/cjs/components/Buttons/IconButton/types.d.ts +40 -0
  19. package/dist/cjs/components/Buttons/index.d.ts +17 -0
  20. package/dist/cjs/components/Dialog/Dialog.d.ts +45 -0
  21. package/dist/cjs/components/Dialog/index.d.ts +16 -0
  22. package/dist/cjs/components/Icon/Icon.d.ts +18 -0
  23. package/dist/cjs/components/Icon/index.d.ts +19 -0
  24. package/dist/cjs/components/Icon/types.d.ts +26 -0
  25. package/dist/cjs/components/Icon/utils/getIconByName.d.ts +17 -0
  26. package/dist/cjs/components/Icon/utils/getIconName.d.ts +17 -0
  27. package/dist/cjs/components/Icon/utils/iconNameToIcon.d.ts +237 -0
  28. package/dist/cjs/components/InfoModal/InfoModal.d.ts +22 -0
  29. package/dist/cjs/components/InfoModal/constants.d.ts +4 -0
  30. package/dist/cjs/components/InfoModal/index.d.ts +17 -0
  31. package/dist/cjs/components/Input/Input.d.ts +1 -0
  32. package/dist/cjs/components/Input/index.d.ts +16 -0
  33. package/dist/cjs/components/Input/styles.d.ts +20 -0
  34. package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/AmbiguousMonomerPreview.d.ts +9 -0
  35. package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/AmbiguousMonomerPreview.styles.d.ts +29 -0
  36. package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/index.d.ts +3 -0
  37. package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/types.d.ts +46 -0
  38. package/dist/cjs/components/MonomerPreview/calculatePreviewPosition.d.ts +28 -0
  39. package/dist/cjs/components/MonomerPreview/constants.d.ts +9 -0
  40. package/dist/cjs/components/MonomerPreview/index.d.ts +3 -0
  41. package/dist/cjs/components/StructRender/StructRender.d.ts +18 -0
  42. package/dist/cjs/components/StructRender/index.d.ts +16 -0
  43. package/dist/cjs/components/StructRender/styles.d.ts +22 -0
  44. package/dist/cjs/components/StructRender/types.d.ts +29 -0
  45. package/dist/cjs/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +8 -0
  46. package/dist/cjs/components/ToggleButtonGroup/ToggleButtonGroup.test.d.ts +16 -0
  47. package/dist/cjs/components/index.d.ts +23 -0
  48. package/dist/cjs/components/styles/consts.d.ts +59 -0
  49. package/dist/cjs/components/styles/index.d.ts +16 -0
  50. package/dist/cjs/constants.d.ts +49 -0
  51. package/dist/cjs/contexts/appContext.d.ts +23 -0
  52. package/dist/cjs/contexts/errorsContext.d.ts +21 -0
  53. package/dist/cjs/contexts/formContext.d.ts +18 -0
  54. package/dist/cjs/contexts/index.d.ts +21 -0
  55. package/dist/cjs/contexts/settingsContext.d.ts +21 -0
  56. package/dist/cjs/hooks/index.d.ts +21 -0
  57. package/dist/cjs/hooks/useAppContext.d.ts +16 -0
  58. package/dist/cjs/hooks/useClickOutside.d.ts +2 -0
  59. package/dist/cjs/hooks/useFormContext.d.ts +16 -0
  60. package/dist/cjs/hooks/useInterval.d.ts +16 -0
  61. package/dist/cjs/hooks/useResizeObserver.d.ts +26 -0
  62. package/dist/cjs/hooks/useSettingsContext.d.ts +16 -0
  63. package/dist/cjs/hooks/useSubscribtionOnEvents.d.ts +16 -0
  64. package/dist/cjs/index.css +2 -0
  65. package/dist/cjs/index.css.map +1 -0
  66. package/dist/cjs/index.d.ts +20 -0
  67. package/dist/{index.modern.js → cjs/index.js} +4299 -4055
  68. package/dist/cjs/index.js.map +1 -0
  69. package/dist/cjs/index.modern-285b5e16.js +15323 -0
  70. package/dist/cjs/index.modern-285b5e16.js.map +1 -0
  71. package/dist/cjs/script/api.d.ts +19 -0
  72. package/dist/cjs/script/builders/index.d.ts +16 -0
  73. package/dist/cjs/script/builders/ketcher/ButtonConfig.d.ts +18 -0
  74. package/dist/cjs/script/builders/ketcher/ButtonName.d.ts +17 -0
  75. package/dist/cjs/script/builders/ketcher/ButtonsConfig.d.ts +20 -0
  76. package/dist/cjs/script/builders/ketcher/CustomButtons.d.ts +5 -0
  77. package/dist/cjs/script/builders/ketcher/KetcherBuilder.d.ts +39 -0
  78. package/dist/cjs/script/builders/ketcher/index.d.ts +17 -0
  79. package/dist/cjs/script/editor/Editor.d.ts +119 -0
  80. package/dist/cjs/script/editor/HoverIcon.d.ts +31 -0
  81. package/dist/cjs/script/editor/highlighter.d.ts +33 -0
  82. package/dist/cjs/script/editor/index.d.ts +19 -0
  83. package/dist/cjs/script/editor/shared/closest.d.ts +43 -0
  84. package/dist/cjs/script/editor/shared/closest.types.d.ts +9 -0
  85. package/dist/cjs/script/editor/tool/Tool.d.ts +21 -0
  86. package/dist/cjs/script/editor/tool/apoint.d.ts +23 -0
  87. package/dist/cjs/script/editor/tool/apoint.utils.d.ts +2 -0
  88. package/dist/cjs/script/editor/tool/arrow/arrow.types.d.ts +19 -0
  89. package/dist/cjs/script/editor/tool/arrow/arrowTool.d.ts +9 -0
  90. package/dist/cjs/script/editor/tool/arrow/commonArrow.d.ts +17 -0
  91. package/dist/cjs/script/editor/tool/arrow/multitailArrowAdd.d.ts +14 -0
  92. package/dist/cjs/script/editor/tool/arrow/multitailArrowMoveTool.d.ts +12 -0
  93. package/dist/cjs/script/editor/tool/arrow/reactionArrowAdd.d.ts +20 -0
  94. package/dist/cjs/script/editor/tool/arrow/reactionArrowMoveTool.d.ts +12 -0
  95. package/dist/cjs/script/editor/tool/atom.d.ts +29 -0
  96. package/dist/cjs/script/editor/tool/attach.d.ts +24 -0
  97. package/dist/cjs/script/editor/tool/bond.d.ts +31 -0
  98. package/dist/cjs/script/editor/tool/chain.d.ts +27 -0
  99. package/dist/cjs/script/editor/tool/charge.d.ts +24 -0
  100. package/dist/cjs/script/editor/tool/enhanced-stereo.d.ts +25 -0
  101. package/dist/cjs/script/editor/tool/eraser.d.ts +30 -0
  102. package/dist/cjs/script/editor/tool/hand.d.ts +29 -0
  103. package/dist/cjs/script/editor/tool/helper/deleteFunctionalGroups.d.ts +2 -0
  104. package/dist/cjs/script/editor/tool/helper/dropAndMerge.d.ts +3 -0
  105. package/dist/cjs/script/editor/tool/helper/filterNotInCollapsedSGroup.d.ts +20 -0
  106. package/dist/cjs/script/editor/tool/helper/getGroupIdsFromItems.d.ts +12 -0
  107. package/dist/cjs/script/editor/tool/helper/isAtomOutSideCanvas.d.ts +2 -0
  108. package/dist/cjs/script/editor/tool/helper/isMacroMolecule.d.ts +5 -0
  109. package/dist/cjs/script/editor/tool/helper/lasso.d.ts +68 -0
  110. package/dist/cjs/script/editor/tool/helper/locate.d.ts +47 -0
  111. package/dist/cjs/script/editor/tool/image.d.ts +18 -0
  112. package/dist/cjs/script/editor/tool/index.d.ts +2 -0
  113. package/dist/cjs/script/editor/tool/paste.d.ts +34 -0
  114. package/dist/cjs/script/editor/tool/reactionmap.d.ts +27 -0
  115. package/dist/cjs/script/editor/tool/reactionplus.d.ts +26 -0
  116. package/dist/cjs/script/editor/tool/reactionunmap.d.ts +23 -0
  117. package/dist/cjs/script/editor/tool/rgroupatom.d.ts +23 -0
  118. package/dist/cjs/script/editor/tool/rgroupfragment.d.ts +24 -0
  119. package/dist/cjs/script/editor/tool/rotate-controller.d.ts +56 -0
  120. package/dist/cjs/script/editor/tool/rotate-controller.test.d.ts +1 -0
  121. package/dist/cjs/script/editor/tool/rotate-controller.utils.d.ts +3 -0
  122. package/dist/cjs/script/editor/tool/rotate.d.ts +51 -0
  123. package/dist/cjs/script/editor/tool/select/index.d.ts +7 -0
  124. package/dist/cjs/script/editor/tool/select/select.d.ts +42 -0
  125. package/dist/cjs/script/editor/tool/select/select.helpers.d.ts +17 -0
  126. package/dist/cjs/script/editor/tool/select/select.types.d.ts +1 -0
  127. package/dist/cjs/script/editor/tool/select/selectViewOnly.d.ts +14 -0
  128. package/dist/cjs/script/editor/tool/sgroup.d.ts +31 -0
  129. package/dist/cjs/script/editor/tool/simpleobject.d.ts +28 -0
  130. package/dist/cjs/script/editor/tool/template.d.ts +48 -0
  131. package/dist/cjs/script/editor/tool/templatePreview.d.ts +41 -0
  132. package/dist/cjs/script/editor/tool/text.d.ts +27 -0
  133. package/dist/cjs/script/editor/utils/customOnChangeHandler.d.ts +16 -0
  134. package/dist/cjs/script/editor/utils/elementOffset.d.ts +17 -0
  135. package/dist/cjs/script/editor/utils/functionalGroupsTooltip.d.ts +7 -0
  136. package/dist/cjs/script/editor/utils/getItemCursor.d.ts +3 -0
  137. package/dist/cjs/script/editor/utils/handleMovingPosibilityCursor.d.ts +1 -0
  138. package/dist/cjs/script/editor/utils/handleMovingPosibilityCursor.test.d.ts +1 -0
  139. package/dist/cjs/script/editor/utils/index.d.ts +19 -0
  140. package/dist/cjs/script/editor/utils/normalizeAngle.d.ts +11 -0
  141. package/dist/cjs/script/editor/utils/structLayout.d.ts +3 -0
  142. package/dist/cjs/script/index.d.ts +40 -0
  143. package/dist/cjs/script/providers/index.d.ts +1 -0
  144. package/dist/cjs/script/providers/indigoProvider.d.ts +5 -0
  145. package/dist/cjs/script/ui/App/App.container.d.ts +22 -0
  146. package/dist/cjs/script/ui/App/App.d.ts +24 -0
  147. package/dist/cjs/script/ui/App/AppHidden/AppHidden.container.d.ts +18 -0
  148. package/dist/cjs/script/ui/App/AppHidden/AppHidden.d.ts +22 -0
  149. package/dist/cjs/script/ui/App/AppHidden/index.d.ts +16 -0
  150. package/dist/cjs/script/ui/App/index.d.ts +16 -0
  151. package/dist/cjs/script/ui/App/initApp.d.ts +25 -0
  152. package/dist/cjs/script/ui/Portal/Portal.d.ts +38 -0
  153. package/dist/cjs/script/ui/Portal/index.d.ts +16 -0
  154. package/dist/cjs/script/ui/action/action.types.d.ts +45 -0
  155. package/dist/cjs/script/ui/action/atoms.d.ts +40 -0
  156. package/dist/cjs/script/ui/action/copyAs.d.ts +1 -0
  157. package/dist/cjs/script/ui/action/copyImageToClipboard.d.ts +2 -0
  158. package/dist/cjs/script/ui/action/createCopyOfSelected.d.ts +14 -0
  159. package/dist/cjs/script/ui/action/debug.d.ts +13 -0
  160. package/dist/cjs/script/ui/action/flips.d.ts +1 -0
  161. package/dist/cjs/script/ui/action/fullscreen.d.ts +24 -0
  162. package/dist/cjs/script/ui/action/functionalGroups.d.ts +31 -0
  163. package/dist/cjs/script/ui/action/help.d.ts +9 -0
  164. package/dist/cjs/script/ui/action/highlightColors/HighlightColors.d.ts +6 -0
  165. package/dist/cjs/script/ui/action/highlightColors/style.d.ts +25 -0
  166. package/dist/cjs/script/ui/action/index.d.ts +19 -0
  167. package/dist/cjs/script/ui/action/isHidden.d.ts +16 -0
  168. package/dist/cjs/script/ui/action/server.d.ts +92 -0
  169. package/dist/cjs/script/ui/action/templates.d.ts +16 -0
  170. package/dist/cjs/script/ui/action/tools.d.ts +372 -0
  171. package/dist/cjs/script/ui/action/zoom.d.ts +31 -0
  172. package/dist/cjs/script/ui/component/actionmenu.d.ts +9 -0
  173. package/dist/cjs/script/ui/component/cliparea/cliparea.d.ts +22 -0
  174. package/dist/cjs/script/ui/component/form/Input/Input.d.ts +43 -0
  175. package/dist/cjs/script/ui/component/form/Input/Input.test.d.ts +1 -0
  176. package/dist/cjs/script/ui/component/form/MeasureInput/measure-input.d.ts +12 -0
  177. package/dist/cjs/script/ui/component/form/Select/Select.d.ts +32 -0
  178. package/dist/cjs/script/ui/component/form/Select/Select.test.d.ts +1 -0
  179. package/dist/cjs/script/ui/component/form/Select/index.d.ts +17 -0
  180. package/dist/cjs/script/ui/component/form/buttonlist.d.ts +9 -0
  181. package/dist/cjs/script/ui/component/form/colorPicker/ColorPicker.d.ts +27 -0
  182. package/dist/cjs/script/ui/component/form/colorPicker/ColorPicker.test.d.ts +1 -0
  183. package/dist/cjs/script/ui/component/form/combobox/combobox.d.ts +12 -0
  184. package/dist/cjs/script/ui/component/form/form/errorPopover.d.ts +5 -0
  185. package/dist/cjs/script/ui/component/form/form/form.d.ts +29 -0
  186. package/dist/cjs/script/ui/component/form/select-checkbox.d.ts +5 -0
  187. package/dist/cjs/script/ui/component/form/select-list.d.ts +26 -0
  188. package/dist/cjs/script/ui/component/form/systemfonts.d.ts +2 -0
  189. package/dist/cjs/script/ui/component/view/Atom/Atom.d.ts +7 -0
  190. package/dist/cjs/script/ui/component/view/Atom/index.d.ts +16 -0
  191. package/dist/cjs/script/ui/component/view/SaveButton.test.d.ts +16 -0
  192. package/dist/cjs/script/ui/component/view/Tabs/Tabs.d.ts +9 -0
  193. package/dist/cjs/script/ui/component/view/Tabs/index.d.ts +16 -0
  194. package/dist/cjs/script/ui/component/view/ToolActions.test.d.ts +1 -0
  195. package/dist/cjs/script/ui/component/view/openbutton.d.ts +9 -0
  196. package/dist/cjs/script/ui/component/view/saveButton.types.d.ts +2 -0
  197. package/dist/cjs/script/ui/component/view/saveButton.utils.d.ts +2 -0
  198. package/dist/cjs/script/ui/component/view/savebutton.d.ts +33 -0
  199. package/dist/cjs/script/ui/data/convert/structConverter.d.ts +17 -0
  200. package/dist/cjs/script/ui/data/convert/structconv.d.ts +52 -0
  201. package/dist/cjs/script/ui/data/schema/options-schema.d.ts +36 -0
  202. package/dist/cjs/script/ui/data/schema/schema-helper.d.ts +2 -0
  203. package/dist/cjs/script/ui/data/schema/sdata-schema.d.ts +60 -0
  204. package/dist/cjs/script/ui/data/schema/struct-schema.d.ts +436 -0
  205. package/dist/cjs/script/ui/data/templates.d.ts +2 -0
  206. package/dist/cjs/script/ui/data/utils.d.ts +11 -0
  207. package/dist/cjs/script/ui/data/utils.test.d.ts +1 -0
  208. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.constants.d.ts +4 -0
  209. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.d.ts +16 -0
  210. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.test.d.ts +1 -0
  211. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.d.ts +21 -0
  212. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.d.ts +1 -0
  213. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.utils.d.ts +7 -0
  214. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.types.d.ts +37 -0
  215. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.d.ts +22 -0
  216. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.test.d.ts +16 -0
  217. package/dist/cjs/script/ui/dialog/AbbreviationLookup/hooks/useOptions.d.ts +17 -0
  218. package/dist/cjs/script/ui/dialog/AbbreviationLookup/hooks/useOptions.test.d.ts +1 -0
  219. package/dist/cjs/script/ui/dialog/AbbreviationLookup/index.d.ts +17 -0
  220. package/dist/cjs/script/ui/dialog/index.d.ts +17 -0
  221. package/dist/cjs/script/ui/dialog/template/EmptySearchResult.d.ts +19 -0
  222. package/dist/cjs/script/ui/dialog/template/TemplateDialog.d.ts +42 -0
  223. package/dist/cjs/script/ui/dialog/template/TemplateTable.d.ts +39 -0
  224. package/dist/cjs/script/ui/dialog/template/template-attach.d.ts +33 -0
  225. package/dist/cjs/script/ui/dialog/template/useSaltsAndSolvets.d.ts +2 -0
  226. package/dist/cjs/script/ui/dialog/toolbox/SDataFieldset.d.ts +4 -0
  227. package/dist/cjs/script/ui/dialog/toolbox/SGroupFieldset.d.ts +4 -0
  228. package/dist/cjs/script/ui/dialog/toolbox/enhancedStereo/enhancedStereo.d.ts +42 -0
  229. package/dist/cjs/script/ui/dialog/toolbox/labeledit.d.ts +3 -0
  230. package/dist/cjs/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +15 -0
  231. package/dist/cjs/script/ui/dialog/toolbox/sgroup.d.ts +9 -0
  232. package/dist/cjs/script/ui/dialog/toolbox/sgroup.test.d.ts +1 -0
  233. package/dist/cjs/script/ui/index.d.ts +16 -0
  234. package/dist/cjs/script/ui/state/abbreviationLookup/abbreviationLookup.types.d.ts +19 -0
  235. package/dist/cjs/script/ui/state/abbreviationLookup/index.d.ts +30 -0
  236. package/dist/cjs/script/ui/state/abbreviationLookup/index.test.d.ts +1 -0
  237. package/dist/cjs/script/ui/state/abbreviationLookup/selectors/index.d.ts +16 -0
  238. package/dist/cjs/script/ui/state/abbreviationLookup/selectors/selectors.d.ts +17 -0
  239. package/dist/cjs/script/ui/state/action/index.d.ts +7 -0
  240. package/dist/cjs/script/ui/state/common/common.types.d.ts +21 -0
  241. package/dist/cjs/script/ui/state/common/index.d.ts +26 -0
  242. package/dist/cjs/script/ui/state/common/index.test.d.ts +1 -0
  243. package/dist/cjs/script/ui/state/common/selectors/index.d.ts +16 -0
  244. package/dist/cjs/script/ui/state/common/selectors/selectors.d.ts +19 -0
  245. package/dist/cjs/script/ui/state/constants.d.ts +23 -0
  246. package/dist/cjs/script/ui/state/editor/index.d.ts +28 -0
  247. package/dist/cjs/script/ui/state/editor/selectors/index.d.ts +16 -0
  248. package/dist/cjs/script/ui/state/editor/utils/generateCommonProperties.d.ts +6 -0
  249. package/dist/cjs/script/ui/state/editor/utils/index.d.ts +1 -0
  250. package/dist/cjs/script/ui/state/floatingTools/index.d.ts +16 -0
  251. package/dist/cjs/script/ui/state/floatingTools/selectors/index.d.ts +5 -0
  252. package/dist/cjs/script/ui/state/functionalGroups/index.d.ts +32 -0
  253. package/dist/cjs/script/ui/state/functionalGroups/selectors/index.d.ts +18 -0
  254. package/dist/cjs/script/ui/state/handleHotkeysOverItem.d.ts +15 -0
  255. package/dist/cjs/script/ui/state/hotkeys.d.ts +27 -0
  256. package/dist/cjs/script/ui/state/hotkeys.test.d.ts +1 -0
  257. package/dist/cjs/script/ui/state/index.d.ts +11 -0
  258. package/dist/cjs/script/ui/state/modal/atoms.d.ts +7 -0
  259. package/dist/cjs/script/ui/state/modal/bonds.d.ts +6 -0
  260. package/dist/cjs/script/ui/state/modal/form.d.ts +162 -0
  261. package/dist/cjs/script/ui/state/modal/index.d.ts +3 -0
  262. package/dist/cjs/script/ui/state/modal/sdata.d.ts +16 -0
  263. package/dist/cjs/script/ui/state/modal/utils/index.d.ts +1 -0
  264. package/dist/cjs/script/ui/state/modal/utils/updateOnlyChangedProperties.d.ts +1 -0
  265. package/dist/cjs/script/ui/state/mouse.d.ts +17 -0
  266. package/dist/cjs/script/ui/state/moveSelectedItems.d.ts +5 -0
  267. package/dist/cjs/script/ui/state/options/index.d.ts +106 -0
  268. package/dist/cjs/script/ui/state/request/index.d.ts +22 -0
  269. package/dist/cjs/script/ui/state/request/reducer.test.d.ts +16 -0
  270. package/dist/cjs/script/ui/state/request/request.types.d.ts +27 -0
  271. package/dist/cjs/script/ui/state/saltsAndSolvents/index.d.ts +30 -0
  272. package/dist/cjs/script/ui/state/saltsAndSolvents/selectors/index.d.ts +16 -0
  273. package/dist/cjs/script/ui/state/server/index.d.ts +7 -0
  274. package/dist/cjs/script/ui/state/server/selectors/index.d.ts +16 -0
  275. package/dist/cjs/script/ui/state/shared.d.ts +43 -0
  276. package/dist/cjs/script/ui/state/templates/index.d.ts +92 -0
  277. package/dist/cjs/script/ui/state/templates/init-lib.d.ts +28 -0
  278. package/dist/cjs/script/ui/state/templates/selectors/index.d.ts +16 -0
  279. package/dist/cjs/script/ui/state/toolbar/index.d.ts +33 -0
  280. package/dist/cjs/script/ui/storage-ext.d.ts +9 -0
  281. package/dist/cjs/script/ui/utils/fileOpener.d.ts +1 -0
  282. package/dist/cjs/script/ui/utils/index.d.ts +14 -0
  283. package/dist/cjs/script/ui/views/AppClipArea.d.ts +18 -0
  284. package/dist/cjs/script/ui/views/Editor.d.ts +3 -0
  285. package/dist/cjs/script/ui/views/components/ContextMenu/ContextMenu.d.ts +19 -0
  286. package/dist/cjs/script/ui/views/components/ContextMenu/ContextMenuTrigger.d.ts +18 -0
  287. package/dist/cjs/script/ui/views/components/ContextMenu/ContextMenuTrigger.utils.d.ts +7 -0
  288. package/dist/cjs/script/ui/views/components/ContextMenu/contextMenu.types.d.ts +74 -0
  289. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useAddAttachmentPoint.d.ts +4 -0
  290. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useAtomEdit.d.ts +4 -0
  291. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useAtomStereo.d.ts +4 -0
  292. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondEdit.d.ts +4 -0
  293. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondSGroupAttach.d.ts +4 -0
  294. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondSGroupEdit.d.ts +4 -0
  295. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondTypeChange.d.ts +4 -0
  296. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useChangeBondDirection.d.ts +3 -0
  297. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useDelete.d.ts +4 -0
  298. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useFunctionalGroupEoc.d.ts +7 -0
  299. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useFunctionalGroupRemove.d.ts +4 -0
  300. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useMonomerExpansionHandlers.d.ts +4 -0
  301. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useMultitailArrowTails.d.ts +11 -0
  302. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useRGroupAttachmentPointEdit.d.ts +4 -0
  303. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useRGroupAttachmentPointRemove.d.ts +4 -0
  304. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useRemoveAttachmentPoint.d.ts +4 -0
  305. package/dist/cjs/script/ui/views/components/ContextMenu/index.d.ts +2 -0
  306. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/AtomMenuItems.d.ts +4 -0
  307. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/BondMenuItems.d.ts +4 -0
  308. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/FunctionalGroupMenuItems.d.ts +4 -0
  309. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/MacromoleculeMenuItems.d.ts +3 -0
  310. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/MultitailArrowMenuItems.d.ts +2 -0
  311. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/RGroupAttachmentPointMenuItems.d.ts +4 -0
  312. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/SelectionMenuItems.d.ts +4 -0
  313. package/dist/cjs/script/ui/views/components/ContextMenu/utils.d.ts +25 -0
  314. package/dist/cjs/script/ui/views/components/ContextMenu/utils.test.d.ts +1 -0
  315. package/dist/cjs/script/ui/views/components/Spinner/LoadingCircles.d.ts +16 -0
  316. package/dist/cjs/script/ui/views/components/Spinner/index.d.ts +16 -0
  317. package/dist/cjs/script/ui/views/components/StructEditor/InfoPanel.d.ts +27 -0
  318. package/dist/cjs/script/ui/views/components/StructEditor/InfoTooltip.d.ts +23 -0
  319. package/dist/cjs/script/ui/views/components/StructEditor/SGroupDataRender.d.ts +13 -0
  320. package/dist/cjs/script/ui/views/components/StructEditor/StructEditor.d.ts +33 -0
  321. package/dist/cjs/script/ui/views/components/StructEditor/helpers.d.ts +3 -0
  322. package/dist/cjs/script/ui/views/components/StructEditor/index.d.ts +16 -0
  323. package/dist/cjs/script/ui/views/components/index.d.ts +19 -0
  324. package/dist/cjs/script/ui/views/modal/Modal.container.d.ts +19 -0
  325. package/dist/cjs/script/ui/views/modal/Modal.d.ts +27 -0
  326. package/dist/cjs/script/ui/views/modal/components/Confirm/Confirm.d.ts +6 -0
  327. package/dist/cjs/script/ui/views/modal/components/Confirm/index.d.ts +1 -0
  328. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +2 -0
  329. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +17 -0
  330. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +24 -0
  331. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +26 -0
  332. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +22 -0
  333. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/ButtonGenSet.d.ts +24 -0
  334. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/index.d.ts +16 -0
  335. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/index.d.ts +27 -0
  336. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/helpers.d.ts +1 -0
  337. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/index.d.ts +1 -0
  338. package/dist/cjs/script/ui/views/modal/components/InfoModal/InfoModal.d.ts +18 -0
  339. package/dist/cjs/script/ui/views/modal/components/InfoModal/InfoModal.test.d.ts +1 -0
  340. package/dist/cjs/script/ui/views/modal/components/InfoModal/InfoModal.test.utils.d.ts +63 -0
  341. package/dist/cjs/script/ui/views/modal/components/InfoModal/PasteErrorModalBody/PasteErrorModalBody.d.ts +2 -0
  342. package/dist/cjs/script/ui/views/modal/components/InfoModal/PasteErrorModalBody/index.d.ts +1 -0
  343. package/dist/cjs/script/ui/views/modal/components/InfoModal/constants.d.ts +9 -0
  344. package/dist/cjs/script/ui/views/modal/components/InfoModal/index.d.ts +16 -0
  345. package/dist/cjs/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +37 -0
  346. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +5 -0
  347. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/AtomInfo/index.d.ts +16 -0
  348. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +9 -0
  349. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +2 -0
  350. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +11 -0
  351. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +10 -0
  352. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/index.d.ts +19 -0
  353. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/index.d.ts +16 -0
  354. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +6 -0
  355. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/TypeChoice/index.d.ts +16 -0
  356. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/index.d.ts +20 -0
  357. package/dist/cjs/script/ui/views/modal/components/PeriodTable/index.d.ts +16 -0
  358. package/dist/cjs/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +21 -0
  359. package/dist/cjs/script/ui/views/modal/components/Text/FontControl/index.d.ts +16 -0
  360. package/dist/cjs/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +21 -0
  361. package/dist/cjs/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +19 -0
  362. package/dist/cjs/script/ui/views/modal/components/Text/Text.d.ts +25 -0
  363. package/dist/cjs/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +30 -0
  364. package/dist/cjs/script/ui/views/modal/components/Text/TextButton/index.d.ts +16 -0
  365. package/dist/cjs/script/ui/views/modal/components/Text/index.d.ts +16 -0
  366. package/dist/cjs/script/ui/views/modal/components/document/Open/Open.container.d.ts +24 -0
  367. package/dist/cjs/script/ui/views/modal/components/document/Open/Open.d.ts +30 -0
  368. package/dist/cjs/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +19 -0
  369. package/dist/cjs/script/ui/views/modal/components/document/Open/components/CDXStructuresViewer/CDXStructuresViewer.d.ts +23 -0
  370. package/dist/cjs/script/ui/views/modal/components/document/Open/components/CDXStructuresViewer/index.d.ts +2 -0
  371. package/dist/cjs/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +24 -0
  372. package/dist/cjs/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +26 -0
  373. package/dist/cjs/script/ui/views/modal/components/document/Open/components/OpenOptions.d.ts +24 -0
  374. package/dist/cjs/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +21 -0
  375. package/dist/cjs/script/ui/views/modal/components/document/Open/components/ViewSwitcher.d.ts +33 -0
  376. package/dist/cjs/script/ui/views/modal/components/document/Open/index.d.ts +16 -0
  377. package/dist/cjs/script/ui/views/modal/components/document/Save/Save.d.ts +46 -0
  378. package/dist/cjs/script/ui/views/modal/components/document/Save/Save.test.d.ts +1 -0
  379. package/dist/cjs/script/ui/views/modal/components/document/Save/Save.test.utils.d.ts +2 -0
  380. package/dist/cjs/script/ui/views/modal/components/document/Save/index.d.ts +16 -0
  381. package/dist/cjs/script/ui/views/modal/components/document/index.d.ts +18 -0
  382. package/dist/cjs/script/ui/views/modal/components/meta/About/About.d.ts +3 -0
  383. package/dist/cjs/script/ui/views/modal/components/meta/About/index.d.ts +16 -0
  384. package/dist/cjs/script/ui/views/modal/components/meta/Settings/Accordion/Accordion.d.ts +22 -0
  385. package/dist/cjs/script/ui/views/modal/components/meta/Settings/Accordion/index.d.ts +16 -0
  386. package/dist/cjs/script/ui/views/modal/components/meta/Settings/Settings.d.ts +38 -0
  387. package/dist/cjs/script/ui/views/modal/components/meta/Settings/fieldGroups.d.ts +42 -0
  388. package/dist/cjs/script/ui/views/modal/components/meta/Settings/index.d.ts +16 -0
  389. package/dist/cjs/script/ui/views/modal/components/meta/index.d.ts +18 -0
  390. package/dist/cjs/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +10 -0
  391. package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +5 -0
  392. package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FormulaInput/index.d.ts +16 -0
  393. package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +19 -0
  394. package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FrozenInput/index.d.ts +16 -0
  395. package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/index.d.ts +18 -0
  396. package/dist/cjs/script/ui/views/modal/components/process/Analyse/index.d.ts +16 -0
  397. package/dist/cjs/script/ui/views/modal/components/process/Check/Check.d.ts +3 -0
  398. package/dist/cjs/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +17 -0
  399. package/dist/cjs/script/ui/views/modal/components/process/Check/components/index.d.ts +16 -0
  400. package/dist/cjs/script/ui/views/modal/components/process/Check/index.d.ts +16 -0
  401. package/dist/cjs/script/ui/views/modal/components/process/Miew/Miew.d.ts +30 -0
  402. package/dist/cjs/script/ui/views/modal/components/process/Miew/index.d.ts +16 -0
  403. package/dist/cjs/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +3 -0
  404. package/dist/cjs/script/ui/views/modal/components/process/Recognize/index.d.ts +16 -0
  405. package/dist/cjs/script/ui/views/modal/components/process/index.d.ts +20 -0
  406. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +24 -0
  407. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +40 -0
  408. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/AtomElement/AtomElement.d.ts +3 -0
  409. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +21 -0
  410. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/ElementNumber/index.d.ts +16 -0
  411. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/helper.d.ts +6 -0
  412. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/index.d.ts +16 -0
  413. package/dist/cjs/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +17 -0
  414. package/dist/cjs/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +24 -0
  415. package/dist/cjs/script/ui/views/modal/components/toolbox/Attach/index.d.ts +16 -0
  416. package/dist/cjs/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +18 -0
  417. package/dist/cjs/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +32 -0
  418. package/dist/cjs/script/ui/views/modal/components/toolbox/Automap/index.d.ts +16 -0
  419. package/dist/cjs/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +17 -0
  420. package/dist/cjs/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +28 -0
  421. package/dist/cjs/script/ui/views/modal/components/toolbox/Bond/index.d.ts +16 -0
  422. package/dist/cjs/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +23 -0
  423. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +17 -0
  424. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +29 -0
  425. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +19 -0
  426. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/index.d.ts +16 -0
  427. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/components/index.d.ts +16 -0
  428. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/index.d.ts +16 -0
  429. package/dist/cjs/script/ui/views/modal/components/toolbox/index.d.ts +21 -0
  430. package/dist/cjs/script/ui/views/modal/index.d.ts +16 -0
  431. package/dist/cjs/script/ui/views/modal/mediaSizes.d.ts +20 -0
  432. package/dist/cjs/script/ui/views/modal/modal.types.d.ts +28 -0
  433. package/dist/cjs/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +23 -0
  434. package/dist/cjs/script/ui/views/toolbars/ArrowScroll/index.d.ts +2 -0
  435. package/dist/cjs/script/ui/views/toolbars/BottomToolbar/BottomToolbar.container.d.ts +20 -0
  436. package/dist/cjs/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +28 -0
  437. package/dist/cjs/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +34 -0
  438. package/dist/cjs/script/ui/views/toolbars/BottomToolbar/TemplatesList/index.d.ts +16 -0
  439. package/dist/cjs/script/ui/views/toolbars/BottomToolbar/index.d.ts +16 -0
  440. package/dist/cjs/script/ui/views/toolbars/FloatingTools/FloatingTools.container.d.ts +4 -0
  441. package/dist/cjs/script/ui/views/toolbars/FloatingTools/FloatingTools.d.ts +20 -0
  442. package/dist/cjs/script/ui/views/toolbars/FloatingTools/index.d.ts +1 -0
  443. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +24 -0
  444. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Bond/index.d.ts +16 -0
  445. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Bond/options.d.ts +24 -0
  446. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +18 -0
  447. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +24 -0
  448. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +24 -0
  449. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/RGroup/index.d.ts +16 -0
  450. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +24 -0
  451. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Shape/index.d.ts +16 -0
  452. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/index.d.ts +16 -0
  453. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/leftToolbarOptions.d.ts +8 -0
  454. package/dist/cjs/script/ui/views/toolbars/ModeControl/ModeControl.d.ts +21 -0
  455. package/dist/cjs/script/ui/views/toolbars/ModeControl/index.d.ts +1 -0
  456. package/dist/cjs/script/ui/views/toolbars/RightToolbar/AtomsList/AtomsList.d.ts +33 -0
  457. package/dist/cjs/script/ui/views/toolbars/RightToolbar/AtomsList/index.d.ts +16 -0
  458. package/dist/cjs/script/ui/views/toolbars/RightToolbar/RightToolbar.container.d.ts +21 -0
  459. package/dist/cjs/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +29 -0
  460. package/dist/cjs/script/ui/views/toolbars/RightToolbar/index.d.ts +16 -0
  461. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +37 -0
  462. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/index.d.ts +16 -0
  463. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +34 -0
  464. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +41 -0
  465. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/index.d.ts +16 -0
  466. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalOpening.d.ts +19 -0
  467. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalStyle.d.ts +19 -0
  468. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +22 -0
  469. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/index.d.ts +18 -0
  470. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +22 -0
  471. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/index.d.ts +16 -0
  472. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/chooseMultiTool.d.ts +18 -0
  473. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/variants.types.d.ts +35 -0
  474. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/index.d.ts +16 -0
  475. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/utils/index.d.ts +16 -0
  476. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/utils/makeItems.d.ts +18 -0
  477. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +30 -0
  478. package/dist/cjs/script/ui/views/toolbars/TopToolbar/CustomButtons.d.ts +8 -0
  479. package/dist/cjs/script/ui/views/toolbars/TopToolbar/Divider.d.ts +17 -0
  480. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +23 -0
  481. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +35 -0
  482. package/dist/cjs/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +10 -0
  483. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ScaleTransformer.d.ts +24 -0
  484. package/dist/cjs/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +27 -0
  485. package/dist/cjs/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +17 -0
  486. package/dist/cjs/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +59 -0
  487. package/dist/cjs/script/ui/views/toolbars/TopToolbar/TopToolbarIconButton.d.ts +21 -0
  488. package/dist/cjs/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +26 -0
  489. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +28 -0
  490. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +26 -0
  491. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +22 -0
  492. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +21 -0
  493. package/dist/cjs/script/ui/views/toolbars/TopToolbar/index.d.ts +16 -0
  494. package/dist/cjs/script/ui/views/toolbars/index.d.ts +20 -0
  495. package/dist/cjs/script/ui/views/toolbars/mediaSizes.d.ts +23 -0
  496. package/dist/cjs/script/ui/views/toolbars/toolbar.types.d.ts +34 -0
  497. package/dist/cjs/setupTests.d.ts +1 -0
  498. package/dist/index.css +1 -1
  499. package/dist/index.css.map +1 -1
  500. package/dist/index.js +4201 -4157
  501. package/dist/index.js.map +1 -1
  502. package/dist/index.modern-b02f5e53.js +15301 -0
  503. package/dist/index.modern-b02f5e53.js.map +1 -0
  504. package/dist/script/ui/views/toolbars/ModeControl/ModeControl.d.ts +21 -0
  505. package/dist/script/ui/views/toolbars/ModeControl/index.d.ts +1 -0
  506. package/package.json +12 -4
  507. package/dist/index.modern.js.map +0 -1
@@ -0,0 +1,42 @@
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 { FC } from 'react';
17
+ import { Template } from './TemplateTable';
18
+ interface TemplateLibProps {
19
+ filter: string;
20
+ group: string;
21
+ lib: Array<Template>;
22
+ selected: Template | null;
23
+ mode: string;
24
+ tab: number;
25
+ initialTab: number;
26
+ saltsAndSolvents: Template[];
27
+ renderOptions?: any;
28
+ }
29
+ interface TemplateLibCallProps {
30
+ onAttach: (tmpl: Template) => void;
31
+ onCancel: () => void;
32
+ onChangeGroup: (group: string) => void;
33
+ onDelete: (tmpl: Template) => void;
34
+ onFilter: (filter: string) => void;
35
+ onOk: (res: any) => void;
36
+ onSelect: (res: any) => void;
37
+ onTabChange: (tab: number) => void;
38
+ functionalGroups: Template[];
39
+ }
40
+ declare type Props = TemplateLibProps & TemplateLibCallProps;
41
+ declare const _default: import("react-redux").ConnectedComponent<FC<Props>, import("react-redux").Omit<TemplateLibProps & TemplateLibCallProps, "onFilter" | "onTabChange" | "onSelect" | "onChangeGroup" | "onAttach" | "onCancel" | "onDelete" | "initialTab" | "renderOptions" | "functionalGroups" | "saltsAndSolvents"> & TemplateLibProps & TemplateLibCallProps>;
42
+ export default _default;
@@ -0,0 +1,39 @@
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 { FC } from 'react';
17
+ import { Struct } from 'ketcher-core';
18
+ export interface Template {
19
+ struct: Struct;
20
+ props: {
21
+ atomid: number;
22
+ bondid: number;
23
+ group: string;
24
+ prerender?: string;
25
+ abbreviation: string;
26
+ name: string;
27
+ };
28
+ }
29
+ interface TemplateTableProps {
30
+ templates: Array<Template>;
31
+ selected: Template | null;
32
+ onSelect: (tmpl: Template) => void;
33
+ onDelete?: (tmpl: Template) => void;
34
+ onAttach?: (tmpl: Template) => void;
35
+ titleRows?: 1 | 2;
36
+ renderOptions?: any;
37
+ }
38
+ declare const TemplateTable: FC<TemplateTableProps>;
39
+ export default TemplateTable;
@@ -0,0 +1,33 @@
1
+ declare const _default: import("react-redux").ConnectedComponent<typeof Attach, import("react-redux").Omit<import("react").ClassAttributes<Attach> & {
2
+ [x: string]: any;
3
+ onInit: any;
4
+ }, string | number>>;
5
+ export default _default;
6
+ declare class Attach extends Component<any, any, any> {
7
+ constructor({ onInit, ...props }: {
8
+ [x: string]: any;
9
+ onInit: any;
10
+ });
11
+ MODES: {
12
+ SAVE: string;
13
+ EDIT: string;
14
+ };
15
+ mode: string;
16
+ tmpl: {
17
+ struct: any;
18
+ props: {
19
+ atomid: number;
20
+ bondid: number;
21
+ };
22
+ };
23
+ onResult(): {
24
+ name: any;
25
+ attach: {
26
+ atomid: any;
27
+ bondid: any;
28
+ };
29
+ } | null;
30
+ checkIsValidName(name: any): boolean;
31
+ render(): import("react/jsx-runtime").JSX.Element;
32
+ }
33
+ import { Component } from "react";
@@ -0,0 +1,2 @@
1
+ import { Template } from './TemplateTable';
2
+ export default function useSaltsAndSolvents(saltsAndSolvents: Template[], filter: string): any;
@@ -0,0 +1,4 @@
1
+ export default SDataFieldset;
2
+ declare function SDataFieldset({ formState }: {
3
+ formState: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export default SGroupFieldset;
2
+ declare function SGroupFieldset({ formState }: {
3
+ formState: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,42 @@
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 { StereoLabel, Struct } from 'ketcher-core';
17
+ import { FC } from 'react';
18
+ interface EnhancedStereoResult {
19
+ andNumber: number;
20
+ orNumber: number;
21
+ type: StereoLabel;
22
+ }
23
+ interface EnhancedStereoFormState {
24
+ result: EnhancedStereoResult;
25
+ valid: boolean;
26
+ errors: string[];
27
+ }
28
+ interface EnhancedStereoProps {
29
+ className: string;
30
+ init: EnhancedStereoResult & {
31
+ init?: true;
32
+ };
33
+ formState: EnhancedStereoFormState;
34
+ struct: Struct;
35
+ }
36
+ interface EnhancedStereoCallProps {
37
+ onCancel: () => void;
38
+ onOk: (res: any) => void;
39
+ }
40
+ declare type Props = EnhancedStereoProps & EnhancedStereoCallProps;
41
+ declare const _default: import("react-redux").ConnectedComponent<FC<Props>, import("react-redux").Omit<EnhancedStereoProps & EnhancedStereoCallProps, "formState" | "struct">>;
42
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const _default: import("react-redux").ConnectedComponent<typeof LabelEdit, import("react-redux").Omit<any, "formState" | "dispatch">>;
2
+ export default _default;
3
+ declare function LabelEdit(props: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ declare const _default: import("react-redux").ConnectedComponent<typeof RGroup, import("react-redux").Omit<{
2
+ [x: string]: any;
3
+ disabledIds: any;
4
+ values: any;
5
+ formState: any;
6
+ type: any;
7
+ }, "formState" | "dispatch">>;
8
+ export default _default;
9
+ declare function RGroup({ disabledIds, values, formState, type, ...props }: {
10
+ [x: string]: any;
11
+ disabledIds: any;
12
+ values: any;
13
+ formState: any;
14
+ type: any;
15
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ declare const _default: import("react-redux").ConnectedComponent<typeof Sgroup, import("react-redux").Omit<{
2
+ [x: string]: any;
3
+ formState: any;
4
+ }, "formState" | "dispatch">>;
5
+ export default _default;
6
+ declare function Sgroup({ formState, ...props }: {
7
+ [x: string]: any;
8
+ formState: any;
9
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,16 @@
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
+ export * from './App';
@@ -0,0 +1,19 @@
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
+ export interface AbbreviationLookupState {
17
+ isOpen: boolean;
18
+ lookupValue?: string;
19
+ }
@@ -0,0 +1,30 @@
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 { AbbreviationLookupState } from './abbreviationLookup.types';
17
+ export declare const initAbbreviationLookup: (key: string) => {
18
+ type: "ABBR_LOOKUP_INIT";
19
+ data: string;
20
+ };
21
+ export declare const showAbbreviationLookup: (key: string) => {
22
+ type: "ABBR_LOOKUP_SHOW";
23
+ data: string;
24
+ };
25
+ export declare const closeAbbreviationLookup: () => {
26
+ type: "ABBR_LOOKUP_CLOSE";
27
+ };
28
+ declare type AbbrLookupAction = ReturnType<typeof initAbbreviationLookup> | ReturnType<typeof showAbbreviationLookup> | ReturnType<typeof closeAbbreviationLookup>;
29
+ declare function abbreviationLookupReducer(state: AbbreviationLookupState | undefined, action: AbbrLookupAction): AbbreviationLookupState;
30
+ export default abbreviationLookupReducer;
@@ -0,0 +1,16 @@
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
+ export * from './selectors';
@@ -0,0 +1,17 @@
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
+ export declare const selectIsAbbreviationLookupOpen: (state: any) => boolean;
17
+ export declare const selectAbbreviationLookupValue: (state: any) => string;
@@ -0,0 +1,7 @@
1
+ export default function _default(state: null | undefined, { type, action, ...params }: {
2
+ [x: string]: any;
3
+ type: any;
4
+ action: any;
5
+ }): {
6
+ activeTool: any;
7
+ } | null;
@@ -0,0 +1,21 @@
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
+ export interface CommonState {
17
+ cursorPosition: {
18
+ x: number;
19
+ y: number;
20
+ };
21
+ }
@@ -0,0 +1,26 @@
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 { CommonState } from './common.types';
17
+ export declare const updateCursorPosition: (x: number, y: number) => {
18
+ type: "COMMON_UPDATE_CURSOR_POSITION";
19
+ data: {
20
+ x: number;
21
+ y: number;
22
+ };
23
+ };
24
+ declare type CommonAction = ReturnType<typeof updateCursorPosition>;
25
+ declare function commonReducer(state: CommonState | undefined, action: CommonAction): CommonState;
26
+ export default commonReducer;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,16 @@
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
+ export * from './selectors';
@@ -0,0 +1,19 @@
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
+ export declare const selectCursorPosition: (state: any) => {
17
+ x: number;
18
+ y: number;
19
+ };
@@ -0,0 +1,23 @@
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
+ export declare const supportedSGroupTypes: {
17
+ readonly MUL: "MUL";
18
+ readonly SRU: "SRU";
19
+ readonly SUP: "SUP";
20
+ readonly DAT: "DAT";
21
+ readonly GEN: "GEN";
22
+ readonly queryComponent: "queryComponent";
23
+ };
@@ -0,0 +1,28 @@
1
+ export default function initEditor(dispatch: any, getState: any): {
2
+ onInit: (editor: any) => void;
3
+ onChange: (action: any) => void;
4
+ onSelectionChange: () => void;
5
+ onElementEdit: (selem: any) => Promise<any>;
6
+ onEnhancedStereoEdit: ({ ...init }: {
7
+ [x: string]: any;
8
+ }) => Promise<any>;
9
+ onQuickEdit: (atom: any) => Promise<any>;
10
+ onBondEdit: (bonds: any) => Promise<any>;
11
+ onRgroupEdit: (rgroup: any) => Promise<any>;
12
+ onSgroupEdit: (sgroup: any) => Promise<{
13
+ type: any;
14
+ attrs: any;
15
+ }>;
16
+ onRemoveFG: (result: any) => Promise<any>;
17
+ onMessage: (msg: any) => void;
18
+ onAromatizeStruct: (struct: any) => any;
19
+ onDearomatizeStruct: (struct: any) => any;
20
+ onMouseDown: () => void;
21
+ onConfirm: () => Promise<any>;
22
+ onShowInfo: (payload: any) => void;
23
+ onApiSettings: (payload: any) => any;
24
+ onUpdateFloatingTools: (...args: any[]) => void;
25
+ onZoomIn: import("lodash").DebouncedFunc<() => any>;
26
+ onZoomOut: import("lodash").DebouncedFunc<() => any>;
27
+ onShowMacromoleculesErrorMessage: (payload: any) => any;
28
+ };
@@ -0,0 +1,16 @@
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
+ export declare const editorOptionsSelector: (state: any) => any;
@@ -0,0 +1,6 @@
1
+ import { Atom, Bond } from 'ketcher-core';
2
+ declare type partialPropertiesOfElement = Partial<{
3
+ [attribute in keyof (Atom | Bond)]: string | number | boolean;
4
+ }>;
5
+ export declare function generateCommonProperties(selectedElements: Atom[] | Bond[], normalizedElement: any): partialPropertiesOfElement;
6
+ export {};
@@ -0,0 +1 @@
1
+ export * from './generateCommonProperties';
@@ -0,0 +1,16 @@
1
+ import { Reducer } from 'react';
2
+ export interface FloatingToolsState {
3
+ visible: boolean;
4
+ rotateHandlePosition: {
5
+ x: number;
6
+ y: number;
7
+ };
8
+ }
9
+ export declare type FloatingToolsPayload = Partial<FloatingToolsState>;
10
+ export interface FloatingToolsAction {
11
+ type: 'UPDATE_FLOATING_TOOLS';
12
+ payload: Partial<FloatingToolsState>;
13
+ }
14
+ export declare const updateFloatingTools: (payload: FloatingToolsPayload) => FloatingToolsAction;
15
+ declare const floatingToolsReducer: Reducer<FloatingToolsState, FloatingToolsAction>;
16
+ export default floatingToolsReducer;
@@ -0,0 +1,5 @@
1
+ export declare const getFloatingToolsVisible: (state: any) => boolean;
2
+ export declare const getFloatingToolsRotateHandlePosition: (state: any) => {
3
+ x: number;
4
+ y: number;
5
+ };
@@ -0,0 +1,32 @@
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 { AnyAction } from 'redux';
17
+ import { SdfItem } from 'ketcher-core';
18
+ interface FGState {
19
+ lib: [];
20
+ functionalGroupInfo: any;
21
+ mode: string;
22
+ }
23
+ declare const functionalGroupsReducer: (state: FGState | undefined, { type, payload }: AnyAction) => any;
24
+ export declare const initFGroups: (lib: SdfItem[]) => {
25
+ type: string;
26
+ payload: {
27
+ lib: SdfItem[];
28
+ };
29
+ };
30
+ export declare const highlightFG: (...args: any[]) => void;
31
+ export declare function initFGTemplates(): (dispatch: any) => Promise<void>;
32
+ export default functionalGroupsReducer;
@@ -0,0 +1,18 @@
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
+ export declare const functionalGroupsSelector: (state: any) => any;
17
+ export declare const functionGroupInfoSelector: (state: any) => any;
18
+ export declare const modeSelector: (state: any) => any;
@@ -0,0 +1,15 @@
1
+ import { Dispatch } from 'redux';
2
+ import { Editor } from '../../editor';
3
+ declare type TNewAction = {
4
+ tool?: string;
5
+ dialog?: string;
6
+ opts?: any;
7
+ };
8
+ declare type HandleHotkeyOverItemProps = {
9
+ hoveredItem: Record<string, number>;
10
+ newAction: TNewAction;
11
+ editor: Editor;
12
+ dispatch: Dispatch;
13
+ };
14
+ export declare function handleHotkeyOverItem(props: HandleHotkeyOverItemProps): void;
15
+ export {};
@@ -0,0 +1,27 @@
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
+ export declare function initKeydownListener(element: any): (dispatch: any, getState: any) => void;
17
+ export declare function removeKeydownListener(element: any): () => void;
18
+ export declare function initClipboard(dispatch: any): {
19
+ formats: any[];
20
+ focused(): boolean;
21
+ onLegacyCut(): {} | null;
22
+ onCut(): Promise<{} | null | undefined>;
23
+ onLegacyCopy(): {} | null;
24
+ onCopy(): Promise<{} | null | undefined>;
25
+ onPaste(data: any, isSmarts: boolean): Promise<void | undefined>;
26
+ onLegacyPaste(data: any, isSmarts: boolean): void;
27
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ export default function _default(options: any, server: any, setEditor: any): import("redux").Store<any, any> & {
2
+ dispatch: any;
3
+ };
4
+ export function setServer(server: any): {
5
+ type: string;
6
+ server: any;
7
+ };
8
+ export const SET_SERVER: "SET_SERVER";
9
+ import { onAction } from "./shared";
10
+ import { load } from "./shared";
11
+ export { onAction, load };
@@ -0,0 +1,7 @@
1
+ import { Atom, AtomPropertiesInContextMenu, AtomQueryProperties } from 'ketcher-core';
2
+ export declare function isAtomsArray(selectedElements: Atom | Atom[]): boolean;
3
+ export declare function updateSelectedAtoms({ atoms, changeAtomPromise, editor, }: {
4
+ atoms: number[];
5
+ editor: any;
6
+ changeAtomPromise: Promise<Atom> | PromiseLike<AtomPropertiesInContextMenu | AtomQueryProperties>;
7
+ }): void;