ketcher-react 2.8.0-rc.3-dev.1 → 2.8.0-rc.3-dev.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 (338) hide show
  1. package/dist/Editor.d.ts +29 -0
  2. package/dist/constants.d.ts +17 -0
  3. package/dist/contexts/appContext.d.ts +22 -0
  4. package/dist/contexts/errorsContext.d.ts +21 -0
  5. package/dist/contexts/formContext.d.ts +18 -0
  6. package/dist/contexts/index.d.ts +21 -0
  7. package/dist/contexts/settingsContext.d.ts +21 -0
  8. package/dist/hooks/index.d.ts +21 -0
  9. package/dist/hooks/useAppContext.d.ts +16 -0
  10. package/dist/hooks/useFormContext.d.ts +16 -0
  11. package/dist/hooks/useInterval.d.ts +16 -0
  12. package/dist/hooks/useResizeObserver.d.ts +26 -0
  13. package/dist/hooks/useSettingsContext.d.ts +16 -0
  14. package/dist/hooks/useSubscribtionOnEvents.d.ts +16 -0
  15. package/dist/icons/index.d.ts +16 -0
  16. package/dist/index.css +2 -0
  17. package/dist/index.css.map +1 -0
  18. package/dist/index.d.ts +18 -0
  19. package/dist/index.js +23841 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/index.modern.js +23777 -0
  22. package/dist/index.modern.js.map +1 -0
  23. package/dist/script/api.d.ts +19 -0
  24. package/dist/script/builders/index.d.ts +16 -0
  25. package/dist/script/builders/ketcher/ButtonConfig.d.ts +18 -0
  26. package/dist/script/builders/ketcher/ButtonName.d.ts +16 -0
  27. package/dist/script/builders/ketcher/ButtonsConfig.d.ts +20 -0
  28. package/dist/script/builders/ketcher/KetcherBuilder.d.ts +29 -0
  29. package/dist/script/builders/ketcher/index.d.ts +17 -0
  30. package/dist/script/editor/Editor.d.ts +96 -0
  31. package/dist/script/editor/highlighter.d.ts +32 -0
  32. package/dist/script/editor/index.d.ts +18 -0
  33. package/dist/script/editor/shared/closest.d.ts +25 -0
  34. package/dist/script/editor/shared/utils.d.ts +19 -0
  35. package/dist/script/editor/tool/apoint.d.ts +23 -0
  36. package/dist/script/editor/tool/atom.d.ts +31 -0
  37. package/dist/script/editor/tool/attach.d.ts +24 -0
  38. package/dist/script/editor/tool/bond.d.ts +32 -0
  39. package/dist/script/editor/tool/chain.d.ts +27 -0
  40. package/dist/script/editor/tool/charge.d.ts +24 -0
  41. package/dist/script/editor/tool/enhanced-stereo.d.ts +24 -0
  42. package/dist/script/editor/tool/eraser.d.ts +31 -0
  43. package/dist/script/editor/tool/hand.d.ts +30 -0
  44. package/dist/script/editor/tool/helper/lasso.d.ts +59 -0
  45. package/dist/script/editor/tool/helper/locate.d.ts +40 -0
  46. package/dist/script/editor/tool/index.d.ts +47 -0
  47. package/dist/script/editor/tool/paste.d.ts +29 -0
  48. package/dist/script/editor/tool/reactionarrow.d.ts +27 -0
  49. package/dist/script/editor/tool/reactionmap.d.ts +28 -0
  50. package/dist/script/editor/tool/reactionplus.d.ts +26 -0
  51. package/dist/script/editor/tool/reactionunmap.d.ts +23 -0
  52. package/dist/script/editor/tool/rgroupatom.d.ts +23 -0
  53. package/dist/script/editor/tool/rgroupfragment.d.ts +24 -0
  54. package/dist/script/editor/tool/rotate.d.ts +28 -0
  55. package/dist/script/editor/tool/select.d.ts +38 -0
  56. package/dist/script/editor/tool/sgroup.d.ts +31 -0
  57. package/dist/script/editor/tool/simpleobject.d.ts +26 -0
  58. package/dist/script/editor/tool/template.d.ts +30 -0
  59. package/dist/script/editor/tool/text.d.ts +26 -0
  60. package/dist/script/editor/utils/customOnChangeHandler.d.ts +16 -0
  61. package/dist/script/editor/utils/elementOffset.d.ts +17 -0
  62. package/dist/script/editor/utils/functionalGroupsTooltip.d.ts +3 -0
  63. package/dist/script/editor/utils/index.d.ts +17 -0
  64. package/dist/script/index.d.ts +27 -0
  65. package/dist/script/ui/App/App.container.d.ts +20 -0
  66. package/dist/script/ui/App/App.d.ts +23 -0
  67. package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +19 -0
  68. package/dist/script/ui/App/AppHidden/AppHidden.d.ts +23 -0
  69. package/dist/script/ui/App/AppHidden/index.d.ts +16 -0
  70. package/dist/script/ui/App/index.d.ts +16 -0
  71. package/dist/script/ui/App/initApp.d.ts +18 -0
  72. package/dist/script/ui/Portal/Portal.d.ts +37 -0
  73. package/dist/script/ui/Portal/index.d.ts +16 -0
  74. package/dist/script/ui/action/action.types.d.ts +44 -0
  75. package/dist/script/ui/action/atoms.d.ts +40 -0
  76. package/dist/script/ui/action/copyAs.d.ts +1 -0
  77. package/dist/script/ui/action/copyImageToClipboard.d.ts +2 -0
  78. package/dist/script/ui/action/debug.d.ts +13 -0
  79. package/dist/script/ui/action/flips.d.ts +1 -0
  80. package/dist/script/ui/action/fullscreen.d.ts +23 -0
  81. package/dist/script/ui/action/functionalGroups.d.ts +31 -0
  82. package/dist/script/ui/action/help.d.ts +8 -0
  83. package/dist/script/ui/action/index.d.ts +650 -0
  84. package/dist/script/ui/action/isHidden.d.ts +16 -0
  85. package/dist/script/ui/action/server.d.ts +117 -0
  86. package/dist/script/ui/action/templates.d.ts +13 -0
  87. package/dist/script/ui/action/tools.d.ts +358 -0
  88. package/dist/script/ui/action/zoom.d.ts +25 -0
  89. package/dist/script/ui/component/ContextMenu/ContextMenu.d.ts +3 -0
  90. package/dist/script/ui/component/actionmenu.d.ts +9 -0
  91. package/dist/script/ui/component/cliparea/cliparea.d.ts +20 -0
  92. package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +8 -0
  93. package/dist/script/ui/component/form/Select/Select.d.ts +30 -0
  94. package/dist/script/ui/component/form/Select/Select.test.d.ts +1 -0
  95. package/dist/script/ui/component/form/Select/index.d.ts +17 -0
  96. package/dist/script/ui/component/form/buttonlist.d.ts +9 -0
  97. package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +28 -0
  98. package/dist/script/ui/component/form/colorPicker/ColorPicker.test.d.ts +1 -0
  99. package/dist/script/ui/component/form/combobox/combobox.d.ts +12 -0
  100. package/dist/script/ui/component/form/form/errorPopover.d.ts +5 -0
  101. package/dist/script/ui/component/form/form/form.d.ts +25 -0
  102. package/dist/script/ui/component/form/input.d.ts +43 -0
  103. package/dist/script/ui/component/form/select-checkbox.d.ts +5 -0
  104. package/dist/script/ui/component/form/select-list.d.ts +26 -0
  105. package/dist/script/ui/component/form/systemfonts.d.ts +2 -0
  106. package/dist/script/ui/component/structrender.d.ts +33 -0
  107. package/dist/script/ui/component/view/Atom/Atom.d.ts +7 -0
  108. package/dist/script/ui/component/view/Atom/index.d.ts +16 -0
  109. package/dist/script/ui/component/view/Tabs/Tabs.d.ts +9 -0
  110. package/dist/script/ui/component/view/Tabs/index.d.ts +16 -0
  111. package/dist/script/ui/component/view/icon.d.ts +5 -0
  112. package/dist/script/ui/component/view/openbutton.d.ts +9 -0
  113. package/dist/script/ui/component/view/savebutton.d.ts +32 -0
  114. package/dist/script/ui/data/convert/keynorm.d.ts +6 -0
  115. package/dist/script/ui/data/convert/structConverter.d.ts +17 -0
  116. package/dist/script/ui/data/convert/structconv.d.ts +24 -0
  117. package/dist/script/ui/data/schema/options-schema.d.ts +26 -0
  118. package/dist/script/ui/data/schema/schema-helper.d.ts +2 -0
  119. package/dist/script/ui/data/schema/sdata-schema.d.ts +58 -0
  120. package/dist/script/ui/data/schema/struct-schema.d.ts +301 -0
  121. package/dist/script/ui/data/templates.d.ts +2 -0
  122. package/dist/script/ui/dialog/index.d.ts +17 -0
  123. package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +20 -0
  124. package/dist/script/ui/dialog/template/TemplateDialog.d.ts +44 -0
  125. package/dist/script/ui/dialog/template/TemplateTable.d.ts +39 -0
  126. package/dist/script/ui/dialog/template/template-attach.d.ts +28 -0
  127. package/dist/script/ui/dialog/template/useSaltsAndSolvets.d.ts +2 -0
  128. package/dist/script/ui/dialog/toolbox/enhancedStereo/enhancedStereo.d.ts +44 -0
  129. package/dist/script/ui/dialog/toolbox/labeledit.d.ts +3 -0
  130. package/dist/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +15 -0
  131. package/dist/script/ui/dialog/toolbox/sdata.d.ts +19 -0
  132. package/dist/script/ui/dialog/toolbox/sgroup.d.ts +9 -0
  133. package/dist/script/ui/index.d.ts +16 -0
  134. package/dist/script/ui/state/action/index.d.ts +7 -0
  135. package/dist/script/ui/state/constants.d.ts +7 -0
  136. package/dist/script/ui/state/editor/index.d.ts +27 -0
  137. package/dist/script/ui/state/functionalGroups/index.d.ts +25 -0
  138. package/dist/script/ui/state/functionalGroups/selectors/index.d.ts +18 -0
  139. package/dist/script/ui/state/handleHotkeysOverAtom.d.ts +7 -0
  140. package/dist/script/ui/state/hotkeys.d.ts +23 -0
  141. package/dist/script/ui/state/index.d.ts +6 -0
  142. package/dist/script/ui/state/modal/atoms.d.ts +13 -0
  143. package/dist/script/ui/state/modal/form.d.ts +164 -0
  144. package/dist/script/ui/state/modal/index.d.ts +3 -0
  145. package/dist/script/ui/state/modal/sdata.d.ts +16 -0
  146. package/dist/script/ui/state/options/index.d.ts +68 -0
  147. package/dist/script/ui/state/request/index.d.ts +22 -0
  148. package/dist/script/ui/state/request/reducer.test.d.ts +16 -0
  149. package/dist/script/ui/state/request/request.types.d.ts +27 -0
  150. package/dist/script/ui/state/saltsAndSolvents/index.d.ts +23 -0
  151. package/dist/script/ui/state/saltsAndSolvents/selectors/index.d.ts +16 -0
  152. package/dist/script/ui/state/server/index.d.ts +7 -0
  153. package/dist/script/ui/state/shared.d.ts +19 -0
  154. package/dist/script/ui/state/templates/index.d.ts +77 -0
  155. package/dist/script/ui/state/templates/init-lib.d.ts +8 -0
  156. package/dist/script/ui/state/toolbar/index.d.ts +33 -0
  157. package/dist/script/ui/storage-ext.d.ts +9 -0
  158. package/dist/script/ui/utils/fileOpener.d.ts +16 -0
  159. package/dist/script/ui/utils/index.d.ts +15 -0
  160. package/dist/script/ui/utils/renderStruct.d.ts +9 -0
  161. package/dist/script/ui/utils/settingsManager.d.ts +25 -0
  162. package/dist/script/ui/views/AppClipArea.d.ts +18 -0
  163. package/dist/script/ui/views/Editor.d.ts +3 -0
  164. package/dist/script/ui/views/components/ContextMenu/ContextMenu.d.ts +20 -0
  165. package/dist/script/ui/views/components/ContextMenu/ContextMenuTrigger.d.ts +18 -0
  166. package/dist/script/ui/views/components/ContextMenu/contextMenu.types.d.ts +8 -0
  167. package/dist/script/ui/views/components/ContextMenu/index.d.ts +2 -0
  168. package/dist/script/ui/views/components/ContextMenu/items/AtomBatchOperations.d.ts +20 -0
  169. package/dist/script/ui/views/components/ContextMenu/items/AtomSingleOperations.d.ts +19 -0
  170. package/dist/script/ui/views/components/ContextMenu/items/BatchDelete.d.ts +3 -0
  171. package/dist/script/ui/views/components/ContextMenu/items/BondBatchOperations.d.ts +20 -0
  172. package/dist/script/ui/views/components/ContextMenu/items/BondSingleOperations.d.ts +19 -0
  173. package/dist/script/ui/views/components/ContextMenu/items/utils.d.ts +27 -0
  174. package/dist/script/ui/views/components/Cursor.d.ts +6 -0
  175. package/dist/script/ui/views/components/Dialog/Dialog.d.ts +45 -0
  176. package/dist/script/ui/views/components/Dialog/index.d.ts +16 -0
  177. package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +17 -0
  178. package/dist/script/ui/views/components/Spinner/index.d.ts +16 -0
  179. package/dist/script/ui/views/components/StructEditor/InfoPanel.d.ts +29 -0
  180. package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +19 -0
  181. package/dist/script/ui/views/components/StructEditor/index.d.ts +16 -0
  182. package/dist/script/ui/views/components/index.d.ts +19 -0
  183. package/dist/script/ui/views/modal/Modal.container.d.ts +19 -0
  184. package/dist/script/ui/views/modal/Modal.d.ts +28 -0
  185. package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +7 -0
  186. package/dist/script/ui/views/modal/components/Confirm/index.d.ts +1 -0
  187. package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +2 -0
  188. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +18 -0
  189. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +24 -0
  190. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +26 -0
  191. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +22 -0
  192. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/index.d.ts +27 -0
  193. package/dist/script/ui/views/modal/components/ExtendedTable/helpers.d.ts +1 -0
  194. package/dist/script/ui/views/modal/components/ExtendedTable/index.d.ts +1 -0
  195. package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +37 -0
  196. package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +5 -0
  197. package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/index.d.ts +16 -0
  198. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +9 -0
  199. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +2 -0
  200. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +11 -0
  201. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +10 -0
  202. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/index.d.ts +19 -0
  203. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/index.d.ts +16 -0
  204. package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +6 -0
  205. package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/index.d.ts +16 -0
  206. package/dist/script/ui/views/modal/components/PeriodTable/components/index.d.ts +20 -0
  207. package/dist/script/ui/views/modal/components/PeriodTable/index.d.ts +16 -0
  208. package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +22 -0
  209. package/dist/script/ui/views/modal/components/Text/FontControl/index.d.ts +16 -0
  210. package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +22 -0
  211. package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +20 -0
  212. package/dist/script/ui/views/modal/components/Text/Text.d.ts +26 -0
  213. package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +30 -0
  214. package/dist/script/ui/views/modal/components/Text/TextButton/index.d.ts +16 -0
  215. package/dist/script/ui/views/modal/components/Text/index.d.ts +16 -0
  216. package/dist/script/ui/views/modal/components/document/Open/Open.container.d.ts +26 -0
  217. package/dist/script/ui/views/modal/components/document/Open/Open.d.ts +29 -0
  218. package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +20 -0
  219. package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +25 -0
  220. package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +26 -0
  221. package/dist/script/ui/views/modal/components/document/Open/components/OpenOptions.d.ts +24 -0
  222. package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +22 -0
  223. package/dist/script/ui/views/modal/components/document/Open/components/ViewSwitcher.d.ts +31 -0
  224. package/dist/script/ui/views/modal/components/document/Open/index.d.ts +16 -0
  225. package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +44 -0
  226. package/dist/script/ui/views/modal/components/document/Save/index.d.ts +16 -0
  227. package/dist/script/ui/views/modal/components/document/index.d.ts +18 -0
  228. package/dist/script/ui/views/modal/components/meta/About/About.d.ts +3 -0
  229. package/dist/script/ui/views/modal/components/meta/About/index.d.ts +16 -0
  230. package/dist/script/ui/views/modal/components/meta/Settings/Accordion/Accordion.d.ts +22 -0
  231. package/dist/script/ui/views/modal/components/meta/Settings/Accordion/index.d.ts +16 -0
  232. package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +38 -0
  233. package/dist/script/ui/views/modal/components/meta/Settings/fieldGroups.d.ts +41 -0
  234. package/dist/script/ui/views/modal/components/meta/Settings/index.d.ts +16 -0
  235. package/dist/script/ui/views/modal/components/meta/index.d.ts +18 -0
  236. package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +10 -0
  237. package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +5 -0
  238. package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/index.d.ts +16 -0
  239. package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +19 -0
  240. package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/index.d.ts +16 -0
  241. package/dist/script/ui/views/modal/components/process/Analyse/components/index.d.ts +18 -0
  242. package/dist/script/ui/views/modal/components/process/Analyse/index.d.ts +16 -0
  243. package/dist/script/ui/views/modal/components/process/Check/Check.d.ts +3 -0
  244. package/dist/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +17 -0
  245. package/dist/script/ui/views/modal/components/process/Check/components/index.d.ts +16 -0
  246. package/dist/script/ui/views/modal/components/process/Check/index.d.ts +16 -0
  247. package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +31 -0
  248. package/dist/script/ui/views/modal/components/process/Miew/index.d.ts +16 -0
  249. package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +3 -0
  250. package/dist/script/ui/views/modal/components/process/Recognize/index.d.ts +16 -0
  251. package/dist/script/ui/views/modal/components/process/index.d.ts +20 -0
  252. package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +24 -0
  253. package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +38 -0
  254. package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +22 -0
  255. package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/index.d.ts +16 -0
  256. package/dist/script/ui/views/modal/components/toolbox/Atom/index.d.ts +16 -0
  257. package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +18 -0
  258. package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +25 -0
  259. package/dist/script/ui/views/modal/components/toolbox/Attach/index.d.ts +16 -0
  260. package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +19 -0
  261. package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +33 -0
  262. package/dist/script/ui/views/modal/components/toolbox/Automap/index.d.ts +16 -0
  263. package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +18 -0
  264. package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +26 -0
  265. package/dist/script/ui/views/modal/components/toolbox/Bond/index.d.ts +16 -0
  266. package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +24 -0
  267. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +18 -0
  268. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +30 -0
  269. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +20 -0
  270. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/index.d.ts +16 -0
  271. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/index.d.ts +16 -0
  272. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/index.d.ts +16 -0
  273. package/dist/script/ui/views/modal/components/toolbox/index.d.ts +21 -0
  274. package/dist/script/ui/views/modal/index.d.ts +16 -0
  275. package/dist/script/ui/views/modal/mediaSizes.d.ts +20 -0
  276. package/dist/script/ui/views/modal/modal.types.d.ts +28 -0
  277. package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +24 -0
  278. package/dist/script/ui/views/toolbars/ArrowScroll/index.d.ts +2 -0
  279. package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.container.d.ts +20 -0
  280. package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +29 -0
  281. package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +34 -0
  282. package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/index.d.ts +16 -0
  283. package/dist/script/ui/views/toolbars/BottomToolbar/index.d.ts +16 -0
  284. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +25 -0
  285. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/index.d.ts +16 -0
  286. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/options.d.ts +24 -0
  287. package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +19 -0
  288. package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +25 -0
  289. package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +25 -0
  290. package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/index.d.ts +16 -0
  291. package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +25 -0
  292. package/dist/script/ui/views/toolbars/LeftToolbar/Shape/index.d.ts +16 -0
  293. package/dist/script/ui/views/toolbars/LeftToolbar/Transform/Transform.d.ts +25 -0
  294. package/dist/script/ui/views/toolbars/LeftToolbar/Transform/index.d.ts +16 -0
  295. package/dist/script/ui/views/toolbars/LeftToolbar/index.d.ts +16 -0
  296. package/dist/script/ui/views/toolbars/LeftToolbar/leftToolbarOptions.d.ts +9 -0
  297. package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/AtomsList.d.ts +32 -0
  298. package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/index.d.ts +16 -0
  299. package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.container.d.ts +21 -0
  300. package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +30 -0
  301. package/dist/script/ui/views/toolbars/RightToolbar/index.d.ts +16 -0
  302. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +36 -0
  303. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/index.d.ts +16 -0
  304. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +36 -0
  305. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +41 -0
  306. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/index.d.ts +16 -0
  307. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalOpening.d.ts +19 -0
  308. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalStyle.d.ts +19 -0
  309. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +23 -0
  310. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/index.d.ts +18 -0
  311. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +23 -0
  312. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/index.d.ts +16 -0
  313. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/chooseMultiTool.d.ts +18 -0
  314. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/variants.types.d.ts +35 -0
  315. package/dist/script/ui/views/toolbars/ToolbarGroupItem/index.d.ts +16 -0
  316. package/dist/script/ui/views/toolbars/ToolbarGroupItem/utils/index.d.ts +16 -0
  317. package/dist/script/ui/views/toolbars/ToolbarGroupItem/utils/makeItems.d.ts +18 -0
  318. package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +31 -0
  319. package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +17 -0
  320. package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +23 -0
  321. package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +35 -0
  322. package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +26 -0
  323. package/dist/script/ui/views/toolbars/TopToolbar/IconButton.d.ts +26 -0
  324. package/dist/script/ui/views/toolbars/TopToolbar/ScaleTransformer.d.ts +24 -0
  325. package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +28 -0
  326. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +18 -0
  327. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +55 -0
  328. package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +27 -0
  329. package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +29 -0
  330. package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +26 -0
  331. package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +23 -0
  332. package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +22 -0
  333. package/dist/script/ui/views/toolbars/TopToolbar/index.d.ts +16 -0
  334. package/dist/script/ui/views/toolbars/index.d.ts +19 -0
  335. package/dist/script/ui/views/toolbars/mediaSizes.d.ts +23 -0
  336. package/dist/script/ui/views/toolbars/shortcutStr.d.ts +1 -0
  337. package/dist/script/ui/views/toolbars/toolbar.types.d.ts +32 -0
  338. package/package.json +1 -1
@@ -0,0 +1,301 @@
1
+ export namespace atom {
2
+ const title: string;
3
+ const type: string;
4
+ const required: string[];
5
+ namespace properties {
6
+ namespace label {
7
+ const title_1: string;
8
+ export { title_1 as title };
9
+ const type_1: string;
10
+ export { type_1 as type };
11
+ export const maxLength: number;
12
+ export const invalidMessage: string;
13
+ }
14
+ namespace alias {
15
+ const title_2: string;
16
+ export { title_2 as title };
17
+ const type_2: string;
18
+ export { type_2 as type };
19
+ const invalidMessage_1: string;
20
+ export { invalidMessage_1 as invalidMessage };
21
+ }
22
+ namespace charge {
23
+ const title_3: string;
24
+ export { title_3 as title };
25
+ const type_3: string;
26
+ export { type_3 as type };
27
+ export const pattern: string;
28
+ const maxLength_1: number;
29
+ export { maxLength_1 as maxLength };
30
+ const _default: string;
31
+ export { _default as default };
32
+ const invalidMessage_2: string;
33
+ export { invalidMessage_2 as invalidMessage };
34
+ }
35
+ namespace explicitValence {
36
+ const title_4: string;
37
+ export { title_4 as title };
38
+ const _enum: number[];
39
+ export { _enum as enum };
40
+ export const enumNames: string[];
41
+ const _default_1: number;
42
+ export { _default_1 as default };
43
+ }
44
+ namespace isotope {
45
+ const title_5: string;
46
+ export { title_5 as title };
47
+ const type_4: string;
48
+ export { type_4 as type };
49
+ export const minimum: number;
50
+ const _default_2: number;
51
+ export { _default_2 as default };
52
+ const invalidMessage_3: string;
53
+ export { invalidMessage_3 as invalidMessage };
54
+ }
55
+ namespace radical {
56
+ const title_6: string;
57
+ export { title_6 as title };
58
+ const _enum_1: number[];
59
+ export { _enum_1 as enum };
60
+ const enumNames_1: string[];
61
+ export { enumNames_1 as enumNames };
62
+ const _default_3: number;
63
+ export { _default_3 as default };
64
+ }
65
+ namespace ringBondCount {
66
+ const title_7: string;
67
+ export { title_7 as title };
68
+ const _enum_2: number[];
69
+ export { _enum_2 as enum };
70
+ const enumNames_2: string[];
71
+ export { enumNames_2 as enumNames };
72
+ const _default_4: number;
73
+ export { _default_4 as default };
74
+ }
75
+ namespace hCount {
76
+ const title_8: string;
77
+ export { title_8 as title };
78
+ const _enum_3: number[];
79
+ export { _enum_3 as enum };
80
+ const enumNames_3: string[];
81
+ export { enumNames_3 as enumNames };
82
+ const _default_5: number;
83
+ export { _default_5 as default };
84
+ }
85
+ namespace substitutionCount {
86
+ const title_9: string;
87
+ export { title_9 as title };
88
+ const _enum_4: number[];
89
+ export { _enum_4 as enum };
90
+ const enumNames_4: string[];
91
+ export { enumNames_4 as enumNames };
92
+ const _default_6: number;
93
+ export { _default_6 as default };
94
+ }
95
+ namespace unsaturatedAtom {
96
+ const title_10: string;
97
+ export { title_10 as title };
98
+ const type_5: string;
99
+ export { type_5 as type };
100
+ const _default_7: boolean;
101
+ export { _default_7 as default };
102
+ }
103
+ namespace invRet {
104
+ const title_11: string;
105
+ export { title_11 as title };
106
+ const _enum_5: number[];
107
+ export { _enum_5 as enum };
108
+ const enumNames_5: string[];
109
+ export { enumNames_5 as enumNames };
110
+ const _default_8: number;
111
+ export { _default_8 as default };
112
+ }
113
+ namespace exactChangeFlag {
114
+ const title_12: string;
115
+ export { title_12 as title };
116
+ const type_6: string;
117
+ export { type_6 as type };
118
+ const _default_9: boolean;
119
+ export { _default_9 as default };
120
+ }
121
+ }
122
+ }
123
+ export namespace rgroupSchema {
124
+ const title_13: string;
125
+ export { title_13 as title };
126
+ const type_7: string;
127
+ export { type_7 as type };
128
+ export namespace properties_1 {
129
+ namespace values {
130
+ const type_8: string;
131
+ export { type_8 as type };
132
+ export namespace items {
133
+ const type_9: string;
134
+ export { type_9 as type };
135
+ const _enum_6: number[];
136
+ export { _enum_6 as enum };
137
+ const enumNames_6: string[];
138
+ export { enumNames_6 as enumNames };
139
+ }
140
+ }
141
+ }
142
+ export { properties_1 as properties };
143
+ }
144
+ export namespace labelEdit {
145
+ const title_14: string;
146
+ export { title_14 as title };
147
+ const type_10: string;
148
+ export { type_10 as type };
149
+ const required_1: string[];
150
+ export { required_1 as required };
151
+ export namespace properties_2 {
152
+ export namespace label_1 {
153
+ const title_15: string;
154
+ export { title_15 as title };
155
+ const _default_10: string;
156
+ export { _default_10 as default };
157
+ const invalidMessage_4: string;
158
+ export { invalidMessage_4 as invalidMessage };
159
+ const type_11: string;
160
+ export { type_11 as type };
161
+ }
162
+ export { label_1 as label };
163
+ }
164
+ export { properties_2 as properties };
165
+ }
166
+ export namespace attachmentPoints {
167
+ const title_16: string;
168
+ export { title_16 as title };
169
+ const type_12: string;
170
+ export { type_12 as type };
171
+ export namespace properties_3 {
172
+ namespace primary {
173
+ const title_17: string;
174
+ export { title_17 as title };
175
+ const type_13: string;
176
+ export { type_13 as type };
177
+ }
178
+ namespace secondary {
179
+ const title_18: string;
180
+ export { title_18 as title };
181
+ const type_14: string;
182
+ export { type_14 as type };
183
+ }
184
+ }
185
+ export { properties_3 as properties };
186
+ }
187
+ export namespace bond {
188
+ const title_19: string;
189
+ export { title_19 as title };
190
+ const type_15: string;
191
+ export { type_15 as type };
192
+ const required_2: string[];
193
+ export { required_2 as required };
194
+ export namespace properties_4 {
195
+ export namespace type_16 {
196
+ const title_20: string;
197
+ export { title_20 as title };
198
+ const _enum_7: string[];
199
+ export { _enum_7 as enum };
200
+ const enumNames_7: string[];
201
+ export { enumNames_7 as enumNames };
202
+ const _default_11: string;
203
+ export { _default_11 as default };
204
+ }
205
+ export { type_16 as type };
206
+ export namespace topology {
207
+ const title_21: string;
208
+ export { title_21 as title };
209
+ const _enum_8: number[];
210
+ export { _enum_8 as enum };
211
+ const enumNames_8: string[];
212
+ export { enumNames_8 as enumNames };
213
+ const _default_12: number;
214
+ export { _default_12 as default };
215
+ }
216
+ export namespace center {
217
+ const title_22: string;
218
+ export { title_22 as title };
219
+ const _enum_9: number[];
220
+ export { _enum_9 as enum };
221
+ const enumNames_9: string[];
222
+ export { enumNames_9 as enumNames };
223
+ const _default_13: number;
224
+ export { _default_13 as default };
225
+ }
226
+ }
227
+ export { properties_4 as properties };
228
+ }
229
+ export const sgroupMap: any;
230
+ export namespace rgroupLogic {
231
+ const title_23: string;
232
+ export { title_23 as title };
233
+ const type_17: string;
234
+ export { type_17 as type };
235
+ export namespace properties_5 {
236
+ namespace range {
237
+ const title_24: string;
238
+ export { title_24 as title };
239
+ const type_18: string;
240
+ export { type_18 as type };
241
+ const maxLength_2: number;
242
+ export { maxLength_2 as maxLength };
243
+ const invalidMessage_5: string;
244
+ export { invalidMessage_5 as invalidMessage };
245
+ }
246
+ namespace resth {
247
+ const title_25: string;
248
+ export { title_25 as title };
249
+ const type_19: string;
250
+ export { type_19 as type };
251
+ }
252
+ namespace ifthen {
253
+ const title_26: string;
254
+ export { title_26 as title };
255
+ const type_20: string;
256
+ export { type_20 as type };
257
+ export const minium: number;
258
+ }
259
+ }
260
+ export { properties_5 as properties };
261
+ }
262
+ export namespace textSchema {
263
+ const title_27: string;
264
+ export { title_27 as title };
265
+ const type_21: string;
266
+ export { type_21 as type };
267
+ const required_3: string[];
268
+ export { required_3 as required };
269
+ export namespace properties_6 {
270
+ export namespace label_2 {
271
+ const _default_14: string;
272
+ export { _default_14 as default };
273
+ const type_22: string;
274
+ export { type_22 as type };
275
+ }
276
+ export { label_2 as label };
277
+ }
278
+ export { properties_6 as properties };
279
+ }
280
+ export namespace attachSchema {
281
+ const title_28: string;
282
+ export { title_28 as title };
283
+ const type_23: string;
284
+ export { type_23 as type };
285
+ const required_4: string[];
286
+ export { required_4 as required };
287
+ export namespace properties_7 {
288
+ namespace name {
289
+ const title_29: string;
290
+ export { title_29 as title };
291
+ const type_24: string;
292
+ export { type_24 as type };
293
+ export const minLength: number;
294
+ const maxLength_3: number;
295
+ export { maxLength_3 as maxLength };
296
+ const invalidMessage_6: string;
297
+ export { invalidMessage_6 as invalidMessage };
298
+ }
299
+ }
300
+ export { properties_7 as properties };
301
+ }
@@ -0,0 +1,2 @@
1
+ declare var _default: import("ketcher-core").Struct[];
2
+ export default _default;
@@ -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
+ declare const _default: any;
17
+ export default _default;
@@ -0,0 +1,20 @@
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
+ /// <reference types="react" />
17
+ declare const EmptySearchResult: ({ textInfo }: {
18
+ textInfo: any;
19
+ }) => JSX.Element;
20
+ export default EmptySearchResult;
@@ -0,0 +1,44 @@
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 & {
42
+ children?: import("react").ReactNode;
43
+ }, "onFilter" | "onTabChange" | "onSelect" | "onChangeGroup" | "onAttach" | "onCancel" | "onDelete" | "initialTab" | "renderOptions" | "functionalGroups" | "saltsAndSolvents"> & TemplateLibProps & TemplateLibCallProps>;
44
+ 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,28 @@
1
+ declare var _default: import("react-redux").ConnectedComponent<typeof Attach, import("react-redux").Omit<{
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
+ tmpl: {
12
+ struct: any;
13
+ props: {
14
+ atomid: number;
15
+ bondid: number;
16
+ };
17
+ };
18
+ onResult(): {
19
+ name: any;
20
+ attach: {
21
+ atomid: any;
22
+ bondid: any;
23
+ };
24
+ } | null;
25
+ checkIsValidName(name: any): boolean;
26
+ render(): JSX.Element;
27
+ }
28
+ 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,44 @@
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 & {
42
+ children?: import("react").ReactNode;
43
+ }, "formState" | "struct">>;
44
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare var _default: import("react-redux").ConnectedComponent<typeof LabelEdit, import("react-redux").Omit<any, "formState" | "dispatch">>;
2
+ export default _default;
3
+ declare function LabelEdit(props: any): JSX.Element;
@@ -0,0 +1,15 @@
1
+ declare var _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
+ }): JSX.Element;
@@ -0,0 +1,19 @@
1
+ declare var _default: import("react-redux").ConnectedComponent<typeof SData, import("react-redux").Omit<{
2
+ [x: string]: any;
3
+ context: any;
4
+ fieldName: any;
5
+ fieldValue: any;
6
+ type: any;
7
+ radiobuttons: any;
8
+ formState: any;
9
+ }, "formState" | "dispatch">>;
10
+ export default _default;
11
+ declare function SData({ context, fieldName, fieldValue, type, radiobuttons, formState, ...prop }: {
12
+ [x: string]: any;
13
+ context: any;
14
+ fieldName: any;
15
+ fieldValue: any;
16
+ type: any;
17
+ radiobuttons: any;
18
+ formState: any;
19
+ }): JSX.Element;
@@ -0,0 +1,9 @@
1
+ declare var _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, ...prop }: {
7
+ [x: string]: any;
8
+ formState: any;
9
+ }): JSX.Element;
@@ -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,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,7 @@
1
+ export namespace supportedSGroupTypes {
2
+ const MUL: string;
3
+ const SRU: string;
4
+ const SUP: string;
5
+ const DAT: string;
6
+ const GEN: string;
7
+ }
@@ -0,0 +1,27 @@
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: (bond: 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
+ onSdataEdit: (sgroup: any) => Promise<{
18
+ type: any;
19
+ attrs: any;
20
+ }>;
21
+ onMessage: (msg: any) => void;
22
+ onAromatizeStruct: (struct: any) => any;
23
+ onDearomatizeStruct: (struct: any) => any;
24
+ onMouseDown: () => void;
25
+ onConfirm: () => Promise<any>;
26
+ onShowInfo: (payload: any) => void;
27
+ };
@@ -0,0 +1,25 @@
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
+ interface FGState {
18
+ lib: [];
19
+ functionalGroupInfo: any;
20
+ mode: string;
21
+ }
22
+ declare const functionalGroupsReducer: (state: FGState | undefined, { type, payload }: AnyAction) => any;
23
+ export declare const highlightFG: (...args: any[]) => void;
24
+ export declare function initFGTemplates(): (dispatch: any) => Promise<void>;
25
+ 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,7 @@
1
+ export declare function handleHotkeyOverAtom({ hoveredItemId, newAction, render, editor, dispatch }: {
2
+ hoveredItemId: any;
3
+ newAction: any;
4
+ render: any;
5
+ editor: any;
6
+ dispatch: any;
7
+ }): Promise<void>;