ketcher-react 2.7.0-rc.7 → 2.7.0-rc.8

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 (324) hide show
  1. package/dist/Editor.d.ts +29 -0
  2. package/dist/constants.d.ts +16 -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 +7953 -0
  17. package/dist/index.css.map +1 -0
  18. package/dist/index.d.ts +18 -0
  19. package/dist/index.js +22753 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/index.modern.js +22691 -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 +90 -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 +30 -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 +35 -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/index.d.ts +17 -0
  63. package/dist/script/index.d.ts +27 -0
  64. package/dist/script/ui/App/App.container.d.ts +20 -0
  65. package/dist/script/ui/App/App.d.ts +23 -0
  66. package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +19 -0
  67. package/dist/script/ui/App/AppHidden/AppHidden.d.ts +23 -0
  68. package/dist/script/ui/App/AppHidden/index.d.ts +16 -0
  69. package/dist/script/ui/App/index.d.ts +16 -0
  70. package/dist/script/ui/App/initApp.d.ts +18 -0
  71. package/dist/script/ui/Portal/Portal.d.ts +37 -0
  72. package/dist/script/ui/Portal/index.d.ts +16 -0
  73. package/dist/script/ui/action/action.types.d.ts +44 -0
  74. package/dist/script/ui/action/atoms.d.ts +40 -0
  75. package/dist/script/ui/action/copyAs.d.ts +1 -0
  76. package/dist/script/ui/action/copyImageToClipboard.d.ts +2 -0
  77. package/dist/script/ui/action/debug.d.ts +13 -0
  78. package/dist/script/ui/action/fullscreen.d.ts +23 -0
  79. package/dist/script/ui/action/functionalGroups.d.ts +31 -0
  80. package/dist/script/ui/action/help.d.ts +8 -0
  81. package/dist/script/ui/action/index.d.ts +648 -0
  82. package/dist/script/ui/action/isHidden.d.ts +16 -0
  83. package/dist/script/ui/action/server.d.ts +117 -0
  84. package/dist/script/ui/action/templates.d.ts +13 -0
  85. package/dist/script/ui/action/tools.d.ts +355 -0
  86. package/dist/script/ui/action/zoom.d.ts +25 -0
  87. package/dist/script/ui/component/ContextMenu/ContextMenu.d.ts +3 -0
  88. package/dist/script/ui/component/actionmenu.d.ts +10 -0
  89. package/dist/script/ui/component/cliparea/cliparea.d.ts +20 -0
  90. package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +8 -0
  91. package/dist/script/ui/component/form/Select/Select.d.ts +30 -0
  92. package/dist/script/ui/component/form/Select/Select.test.d.ts +1 -0
  93. package/dist/script/ui/component/form/Select/index.d.ts +17 -0
  94. package/dist/script/ui/component/form/buttonlist.d.ts +9 -0
  95. package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +28 -0
  96. package/dist/script/ui/component/form/colorPicker/ColorPicker.test.d.ts +1 -0
  97. package/dist/script/ui/component/form/combobox/combobox.d.ts +12 -0
  98. package/dist/script/ui/component/form/form/errorPopover.d.ts +5 -0
  99. package/dist/script/ui/component/form/form/form.d.ts +25 -0
  100. package/dist/script/ui/component/form/input.d.ts +34 -0
  101. package/dist/script/ui/component/form/select-checkbox.d.ts +5 -0
  102. package/dist/script/ui/component/form/select-list.d.ts +26 -0
  103. package/dist/script/ui/component/form/systemfonts.d.ts +2 -0
  104. package/dist/script/ui/component/structrender.d.ts +33 -0
  105. package/dist/script/ui/component/view/Atom/Atom.d.ts +7 -0
  106. package/dist/script/ui/component/view/Atom/index.d.ts +16 -0
  107. package/dist/script/ui/component/view/Tabs/Tabs.d.ts +9 -0
  108. package/dist/script/ui/component/view/Tabs/index.d.ts +16 -0
  109. package/dist/script/ui/component/view/icon.d.ts +5 -0
  110. package/dist/script/ui/component/view/openbutton.d.ts +9 -0
  111. package/dist/script/ui/component/view/savebutton.d.ts +2 -0
  112. package/dist/script/ui/data/convert/keynorm.d.ts +6 -0
  113. package/dist/script/ui/data/convert/structConverter.d.ts +17 -0
  114. package/dist/script/ui/data/convert/structconv.d.ts +24 -0
  115. package/dist/script/ui/data/schema/options-schema.d.ts +26 -0
  116. package/dist/script/ui/data/schema/schema-helper.d.ts +2 -0
  117. package/dist/script/ui/data/schema/sdata-schema.d.ts +58 -0
  118. package/dist/script/ui/data/schema/struct-schema.d.ts +301 -0
  119. package/dist/script/ui/data/templates.d.ts +2 -0
  120. package/dist/script/ui/dialog/index.d.ts +17 -0
  121. package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +20 -0
  122. package/dist/script/ui/dialog/template/TemplateDialog.d.ts +41 -0
  123. package/dist/script/ui/dialog/template/TemplateTable.d.ts +38 -0
  124. package/dist/script/ui/dialog/template/template-attach.d.ts +28 -0
  125. package/dist/script/ui/dialog/template/useSaltsAndSolvets.d.ts +2 -0
  126. package/dist/script/ui/dialog/toolbox/enhancedStereo/enhancedStereo.d.ts +44 -0
  127. package/dist/script/ui/dialog/toolbox/labeledit.d.ts +3 -0
  128. package/dist/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +15 -0
  129. package/dist/script/ui/dialog/toolbox/sdata.d.ts +19 -0
  130. package/dist/script/ui/dialog/toolbox/sgroup.d.ts +9 -0
  131. package/dist/script/ui/index.d.ts +16 -0
  132. package/dist/script/ui/state/action/index.d.ts +7 -0
  133. package/dist/script/ui/state/constants.d.ts +7 -0
  134. package/dist/script/ui/state/editor/index.d.ts +27 -0
  135. package/dist/script/ui/state/functionalGroups/index.d.ts +25 -0
  136. package/dist/script/ui/state/functionalGroups/selectors/index.d.ts +18 -0
  137. package/dist/script/ui/state/handleHotkeysOverAtom.d.ts +7 -0
  138. package/dist/script/ui/state/hotkeys.d.ts +23 -0
  139. package/dist/script/ui/state/index.d.ts +6 -0
  140. package/dist/script/ui/state/modal/form.d.ts +164 -0
  141. package/dist/script/ui/state/modal/index.d.ts +3 -0
  142. package/dist/script/ui/state/modal/sdata.d.ts +16 -0
  143. package/dist/script/ui/state/options/index.d.ts +68 -0
  144. package/dist/script/ui/state/request/index.d.ts +22 -0
  145. package/dist/script/ui/state/request/reducer.test.d.ts +16 -0
  146. package/dist/script/ui/state/request/request.types.d.ts +27 -0
  147. package/dist/script/ui/state/saltsAndSolvents/index.d.ts +23 -0
  148. package/dist/script/ui/state/saltsAndSolvents/selectors/index.d.ts +16 -0
  149. package/dist/script/ui/state/server/index.d.ts +7 -0
  150. package/dist/script/ui/state/shared.d.ts +19 -0
  151. package/dist/script/ui/state/templates/index.d.ts +69 -0
  152. package/dist/script/ui/state/templates/init-lib.d.ts +8 -0
  153. package/dist/script/ui/state/toolbar/index.d.ts +33 -0
  154. package/dist/script/ui/storage-ext.d.ts +9 -0
  155. package/dist/script/ui/utils/fileOpener.d.ts +16 -0
  156. package/dist/script/ui/utils/index.d.ts +7 -0
  157. package/dist/script/ui/utils/renderStruct.d.ts +9 -0
  158. package/dist/script/ui/views/AppClipArea.d.ts +18 -0
  159. package/dist/script/ui/views/Editor.d.ts +3 -0
  160. package/dist/script/ui/views/components/Cursor.d.ts +6 -0
  161. package/dist/script/ui/views/components/Dialog/Dialog.d.ts +44 -0
  162. package/dist/script/ui/views/components/Dialog/index.d.ts +16 -0
  163. package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +17 -0
  164. package/dist/script/ui/views/components/Spinner/index.d.ts +16 -0
  165. package/dist/script/ui/views/components/StructEditor/InfoPanel.d.ts +29 -0
  166. package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +19 -0
  167. package/dist/script/ui/views/components/StructEditor/index.d.ts +16 -0
  168. package/dist/script/ui/views/components/index.d.ts +19 -0
  169. package/dist/script/ui/views/modal/Modal.container.d.ts +19 -0
  170. package/dist/script/ui/views/modal/Modal.d.ts +28 -0
  171. package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +7 -0
  172. package/dist/script/ui/views/modal/components/Confirm/index.d.ts +1 -0
  173. package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +2 -0
  174. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +18 -0
  175. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +24 -0
  176. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +26 -0
  177. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +22 -0
  178. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/index.d.ts +27 -0
  179. package/dist/script/ui/views/modal/components/ExtendedTable/helpers.d.ts +1 -0
  180. package/dist/script/ui/views/modal/components/ExtendedTable/index.d.ts +1 -0
  181. package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +37 -0
  182. package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +5 -0
  183. package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/index.d.ts +16 -0
  184. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +9 -0
  185. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +2 -0
  186. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +11 -0
  187. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +10 -0
  188. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/index.d.ts +19 -0
  189. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/index.d.ts +16 -0
  190. package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +6 -0
  191. package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/index.d.ts +16 -0
  192. package/dist/script/ui/views/modal/components/PeriodTable/components/index.d.ts +20 -0
  193. package/dist/script/ui/views/modal/components/PeriodTable/index.d.ts +16 -0
  194. package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +22 -0
  195. package/dist/script/ui/views/modal/components/Text/FontControl/index.d.ts +16 -0
  196. package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +22 -0
  197. package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +20 -0
  198. package/dist/script/ui/views/modal/components/Text/Text.d.ts +26 -0
  199. package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +30 -0
  200. package/dist/script/ui/views/modal/components/Text/TextButton/index.d.ts +16 -0
  201. package/dist/script/ui/views/modal/components/Text/index.d.ts +16 -0
  202. package/dist/script/ui/views/modal/components/document/Open/Open.container.d.ts +26 -0
  203. package/dist/script/ui/views/modal/components/document/Open/Open.d.ts +29 -0
  204. package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +20 -0
  205. package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +25 -0
  206. package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +26 -0
  207. package/dist/script/ui/views/modal/components/document/Open/components/OpenOptions.d.ts +24 -0
  208. package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +22 -0
  209. package/dist/script/ui/views/modal/components/document/Open/components/ViewSwitcher.d.ts +31 -0
  210. package/dist/script/ui/views/modal/components/document/Open/index.d.ts +16 -0
  211. package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +44 -0
  212. package/dist/script/ui/views/modal/components/document/Save/index.d.ts +16 -0
  213. package/dist/script/ui/views/modal/components/document/index.d.ts +18 -0
  214. package/dist/script/ui/views/modal/components/meta/About/About.d.ts +3 -0
  215. package/dist/script/ui/views/modal/components/meta/About/index.d.ts +16 -0
  216. package/dist/script/ui/views/modal/components/meta/Settings/Accordion/Accordion.d.ts +22 -0
  217. package/dist/script/ui/views/modal/components/meta/Settings/Accordion/index.d.ts +16 -0
  218. package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +38 -0
  219. package/dist/script/ui/views/modal/components/meta/Settings/fieldGroups.d.ts +41 -0
  220. package/dist/script/ui/views/modal/components/meta/Settings/index.d.ts +16 -0
  221. package/dist/script/ui/views/modal/components/meta/index.d.ts +18 -0
  222. package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +10 -0
  223. package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +5 -0
  224. package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/index.d.ts +16 -0
  225. package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +19 -0
  226. package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/index.d.ts +16 -0
  227. package/dist/script/ui/views/modal/components/process/Analyse/components/index.d.ts +18 -0
  228. package/dist/script/ui/views/modal/components/process/Analyse/index.d.ts +16 -0
  229. package/dist/script/ui/views/modal/components/process/Check/Check.d.ts +3 -0
  230. package/dist/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +17 -0
  231. package/dist/script/ui/views/modal/components/process/Check/components/index.d.ts +16 -0
  232. package/dist/script/ui/views/modal/components/process/Check/index.d.ts +16 -0
  233. package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +31 -0
  234. package/dist/script/ui/views/modal/components/process/Miew/index.d.ts +16 -0
  235. package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +3 -0
  236. package/dist/script/ui/views/modal/components/process/Recognize/index.d.ts +16 -0
  237. package/dist/script/ui/views/modal/components/process/index.d.ts +20 -0
  238. package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +20 -0
  239. package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +36 -0
  240. package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +22 -0
  241. package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/index.d.ts +16 -0
  242. package/dist/script/ui/views/modal/components/toolbox/Atom/index.d.ts +16 -0
  243. package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +18 -0
  244. package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +25 -0
  245. package/dist/script/ui/views/modal/components/toolbox/Attach/index.d.ts +16 -0
  246. package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +19 -0
  247. package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +33 -0
  248. package/dist/script/ui/views/modal/components/toolbox/Automap/index.d.ts +16 -0
  249. package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +18 -0
  250. package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +26 -0
  251. package/dist/script/ui/views/modal/components/toolbox/Bond/index.d.ts +16 -0
  252. package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +24 -0
  253. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +18 -0
  254. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +30 -0
  255. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +20 -0
  256. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/index.d.ts +16 -0
  257. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/index.d.ts +16 -0
  258. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/index.d.ts +16 -0
  259. package/dist/script/ui/views/modal/components/toolbox/index.d.ts +21 -0
  260. package/dist/script/ui/views/modal/index.d.ts +16 -0
  261. package/dist/script/ui/views/modal/mediaSizes.d.ts +20 -0
  262. package/dist/script/ui/views/modal/modal.types.d.ts +28 -0
  263. package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +24 -0
  264. package/dist/script/ui/views/toolbars/ArrowScroll/index.d.ts +2 -0
  265. package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.container.d.ts +20 -0
  266. package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +29 -0
  267. package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +34 -0
  268. package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/index.d.ts +16 -0
  269. package/dist/script/ui/views/toolbars/BottomToolbar/index.d.ts +16 -0
  270. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +25 -0
  271. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/index.d.ts +16 -0
  272. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/options.d.ts +24 -0
  273. package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +19 -0
  274. package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +25 -0
  275. package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +25 -0
  276. package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/index.d.ts +16 -0
  277. package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +25 -0
  278. package/dist/script/ui/views/toolbars/LeftToolbar/Shape/index.d.ts +16 -0
  279. package/dist/script/ui/views/toolbars/LeftToolbar/Transform/Transform.d.ts +25 -0
  280. package/dist/script/ui/views/toolbars/LeftToolbar/Transform/index.d.ts +16 -0
  281. package/dist/script/ui/views/toolbars/LeftToolbar/index.d.ts +16 -0
  282. package/dist/script/ui/views/toolbars/LeftToolbar/leftToolbarOptions.d.ts +9 -0
  283. package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/AtomsList.d.ts +32 -0
  284. package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/index.d.ts +16 -0
  285. package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.container.d.ts +21 -0
  286. package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +30 -0
  287. package/dist/script/ui/views/toolbars/RightToolbar/index.d.ts +16 -0
  288. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +36 -0
  289. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/index.d.ts +16 -0
  290. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +36 -0
  291. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +41 -0
  292. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/index.d.ts +16 -0
  293. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalOpening.d.ts +19 -0
  294. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalStyle.d.ts +19 -0
  295. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +23 -0
  296. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/index.d.ts +18 -0
  297. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +23 -0
  298. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/index.d.ts +16 -0
  299. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/chooseMultiTool.d.ts +18 -0
  300. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/variants.types.d.ts +35 -0
  301. package/dist/script/ui/views/toolbars/ToolbarGroupItem/index.d.ts +16 -0
  302. package/dist/script/ui/views/toolbars/ToolbarGroupItem/utils/index.d.ts +16 -0
  303. package/dist/script/ui/views/toolbars/ToolbarGroupItem/utils/makeItems.d.ts +18 -0
  304. package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +31 -0
  305. package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +17 -0
  306. package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +23 -0
  307. package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +36 -0
  308. package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +26 -0
  309. package/dist/script/ui/views/toolbars/TopToolbar/IconButton.d.ts +26 -0
  310. package/dist/script/ui/views/toolbars/TopToolbar/ScaleTransformer.d.ts +24 -0
  311. package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +28 -0
  312. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +18 -0
  313. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +56 -0
  314. package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +27 -0
  315. package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +29 -0
  316. package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +26 -0
  317. package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +23 -0
  318. package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +22 -0
  319. package/dist/script/ui/views/toolbars/TopToolbar/index.d.ts +16 -0
  320. package/dist/script/ui/views/toolbars/index.d.ts +19 -0
  321. package/dist/script/ui/views/toolbars/mediaSizes.d.ts +23 -0
  322. package/dist/script/ui/views/toolbars/shortcutStr.d.ts +16 -0
  323. package/dist/script/ui/views/toolbars/toolbar.types.d.ts +32 -0
  324. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ /****************************************************************************
2
+ * Copyright 2022 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 type GenericGroupsProps = {
18
+ selected: (label: string) => boolean;
19
+ onAtomSelect: (label: string, activateImmediately: boolean) => void;
20
+ };
21
+ declare function GenericGroups({ selected, onAtomSelect }: GenericGroupsProps): JSX.Element;
22
+ export default GenericGroups;
@@ -0,0 +1,27 @@
1
+ /****************************************************************************
2
+ * Copyright 2022 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 { default } from './GenericGroups';
17
+ export declare enum groupNames {
18
+ atomsGen = "atoms-gen",
19
+ specialNodes = "special-nodes",
20
+ groupGen = "group-gen",
21
+ groupAcyclic = "group-acyclic",
22
+ acyclicCarbo = "acyclic-carbo",
23
+ acyclicHetero = "acyclic-hetero",
24
+ groupCyclic = "group-cyclic",
25
+ cyclicHetero = "cyclic-hetero",
26
+ cyclicCarbo = "cyclic-carbo"
27
+ }
@@ -0,0 +1 @@
1
+ export function isGenericGroup(group: any): boolean;
@@ -0,0 +1 @@
1
+ export { default } from "./ExtendedTable";
@@ -0,0 +1,37 @@
1
+ export default PeriodTable;
2
+ declare const PeriodTable: import("react-redux").ConnectedComponent<typeof Table, any>;
3
+ declare class Table extends Component<any, any, any> {
4
+ constructor(props: any);
5
+ state: {
6
+ type: any;
7
+ value: any;
8
+ current: import("ketcher-core").Element | undefined;
9
+ isInfo: boolean;
10
+ };
11
+ changeType: (type: any) => void;
12
+ headerContent: () => JSX.Element;
13
+ selected: (label: any) => any;
14
+ onAtomSelect: (label: any, activateImmediately?: boolean) => void;
15
+ result: () => {
16
+ label: any;
17
+ pseudo: null;
18
+ type?: undefined;
19
+ values?: undefined;
20
+ } | {
21
+ type: any;
22
+ label: any;
23
+ pseudo: any;
24
+ values?: undefined;
25
+ } | {
26
+ type: any;
27
+ values: any;
28
+ label?: undefined;
29
+ pseudo?: undefined;
30
+ } | null;
31
+ currentEvents: (element: any) => {
32
+ onMouseEnter: () => void;
33
+ onMouseLeave: () => void;
34
+ };
35
+ render(): JSX.Element;
36
+ }
37
+ import { Component } from "react";
@@ -0,0 +1,5 @@
1
+ export default AtomInfo;
2
+ declare function AtomInfo({ el, isInfo }: {
3
+ el: any;
4
+ isInfo: any;
5
+ }): 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 { default } from './AtomInfo';
@@ -0,0 +1,9 @@
1
+ export default ElementsTable;
2
+ declare class ElementsTable extends Component<any, any, any> {
3
+ constructor(props: any);
4
+ constructor(props: any, context: any);
5
+ shouldComponentUpdate(nextProps: any): boolean;
6
+ getAtomClassNames: (item: any) => string[];
7
+ render(): JSX.Element;
8
+ }
9
+ import { Component } from "react";
@@ -0,0 +1,2 @@
1
+ export default Header;
2
+ declare function Header(): JSX.Element;
@@ -0,0 +1,11 @@
1
+ export default MainRow;
2
+ declare function MainRow({ row, caption, refer, onAtomSelect, onDoubleClick, currentEvents, atomClassNames, className }: {
3
+ row: any;
4
+ caption: any;
5
+ refer: any;
6
+ onAtomSelect: any;
7
+ onDoubleClick: any;
8
+ currentEvents: any;
9
+ atomClassNames: any;
10
+ className: any;
11
+ }): JSX.Element;
@@ -0,0 +1,10 @@
1
+ export default OutinerRow;
2
+ declare function OutinerRow({ row, caption, onAtomSelect, onDoubleClick, currentEvents, atomClassNames, className }: {
3
+ row: any;
4
+ caption: any;
5
+ onAtomSelect: any;
6
+ onDoubleClick: any;
7
+ currentEvents: any;
8
+ atomClassNames: any;
9
+ className: any;
10
+ }): JSX.Element;
@@ -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
+ import Header from './Header';
17
+ import MainRow from './MainRow';
18
+ import OutinerRow from './OutinerRow';
19
+ export { Header, MainRow, OutinerRow };
@@ -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 { default } from './ElementsTable';
@@ -0,0 +1,6 @@
1
+ export default TypeChoice;
2
+ declare function TypeChoice({ value, onChange, ...props }: {
3
+ [x: string]: any;
4
+ value: any;
5
+ onChange: any;
6
+ }): 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 { default } from './TypeChoice';
@@ -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
+ import AtomInfo from './AtomInfo';
17
+ import ElementsTable from './ElementsTable';
18
+ import GenericGroups from '../../ExtendedTable/components/GenericGroups';
19
+ import TypeChoice from './TypeChoice';
20
+ export { ElementsTable, AtomInfo, TypeChoice, GenericGroups };
@@ -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 { default } from './PeriodTable';
@@ -0,0 +1,22 @@
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
+ export declare const FontControl: ({ editorState, setEditorState, styles }: {
18
+ editorState: any;
19
+ setEditorState: any;
20
+ styles: any;
21
+ }) => JSX.Element;
22
+ export default FontControl;
@@ -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 './FontControl';
@@ -0,0 +1,22 @@
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 SpecialSymbolsButton: ({ editorState, setEditorState, styles }: {
18
+ editorState: any;
19
+ setEditorState: any;
20
+ styles: any;
21
+ }) => JSX.Element;
22
+ export { SpecialSymbolsButton };
@@ -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 SpecialSymbolsList: ({ select }: {
18
+ select: any;
19
+ }) => JSX.Element;
20
+ export { SpecialSymbolsList };
@@ -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
+ /// <reference types="react" />
17
+ import 'draft-js/dist/Draft.css';
18
+ import { DialogParams } from '../../../components/Dialog/Dialog';
19
+ interface TextProps extends DialogParams {
20
+ formState: any;
21
+ id?: any;
22
+ content: string;
23
+ position?: string;
24
+ }
25
+ declare const _default: import("react-redux").ConnectedComponent<(props: TextProps) => JSX.Element, import("react-redux").Omit<TextProps, "formState">>;
26
+ export default _default;
@@ -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
+ /// <reference types="react" />
17
+ import { TextCommand } from 'ketcher-core';
18
+ interface TextButtonProps {
19
+ button: {
20
+ command: TextCommand;
21
+ name: string;
22
+ };
23
+ active: boolean;
24
+ }
25
+ interface TextButtonPropsCallProps {
26
+ toggleStyle: (command: TextCommand) => void;
27
+ }
28
+ declare type Props = TextButtonProps & TextButtonPropsCallProps;
29
+ export declare const TextButton: (props: Props) => JSX.Element;
30
+ 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 './TextButton';
@@ -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 { default } from './Text';
@@ -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
+ /// <reference types="react" />
17
+ import { OpenProps } from './Open';
18
+ import { BaseCallProps } from '../../../modal.types';
19
+ declare const OpenContainer: import("react-redux").ConnectedComponent<import("react").FC<OpenProps & Pick<import("../../../modal.types").BaseProps, "className"> & BaseCallProps & {
20
+ onImageUpload: (file: File) => void;
21
+ }>, import("react-redux").Omit<OpenProps & Pick<import("../../../modal.types").BaseProps, "className"> & BaseCallProps & {
22
+ onImageUpload: (file: File) => void;
23
+ } & {
24
+ children?: import("react").ReactNode;
25
+ }, "onOk" | "server" | "errorHandler" | "isRecognizeDisabled" | "isAnalyzingFile" | "onImageUpload">>;
26
+ export default OpenContainer;
@@ -0,0 +1,29 @@
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 { BaseCallProps, BaseProps } from '../../../modal.types';
17
+ import { FC } from 'react';
18
+ interface OpenProps {
19
+ server: any;
20
+ errorHandler: (err: string) => void;
21
+ isRecognizeDisabled: boolean;
22
+ isAnalyzingFile: boolean;
23
+ }
24
+ declare type Props = OpenProps & Pick<BaseProps, 'className'> & BaseCallProps & {
25
+ onImageUpload: (file: File) => void;
26
+ };
27
+ declare const Open: FC<Props>;
28
+ export type { OpenProps };
29
+ export default Open;
@@ -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
+ export declare type AnalyzingFileProps = {
18
+ fileName?: string;
19
+ };
20
+ export declare const AnalyzingFile: ({ fileName }: AnalyzingFileProps) => JSX.Element;
@@ -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
+ /// <reference types="react" />
17
+ declare type Props = {
18
+ clickHandler: () => void;
19
+ disabled: boolean;
20
+ label: string;
21
+ styles: string;
22
+ title?: string;
23
+ };
24
+ export declare const DialogActionButton: ({ clickHandler, label, title, styles, disabled }: Props) => JSX.Element;
25
+ export {};
@@ -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
+ /// <reference types="react" />
17
+ import { DropzoneOptions } from 'react-dropzone';
18
+ declare type FileDropProps = {
19
+ buttonLabel: string;
20
+ textLabel: string;
21
+ iconName: string;
22
+ disabled?: boolean;
23
+ disabledText?: string;
24
+ } & DropzoneOptions;
25
+ declare const FileDrop: ({ buttonLabel, textLabel, iconName, disabled, disabledText, ...rest }: FileDropProps) => JSX.Element;
26
+ export { FileDrop };
@@ -0,0 +1,24 @@
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
+ export declare type OpenOptionsProps = {
18
+ selectClipboard: () => void;
19
+ errorHandler: (err: string) => void;
20
+ fileLoadHandler: (files: File[]) => void;
21
+ imageLoadHandler: (files: File[]) => void;
22
+ isRecognizeDisabled: boolean;
23
+ };
24
+ export declare const OpenOptions: FC<OpenOptionsProps>;
@@ -0,0 +1,22 @@
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
+ export declare type TextEditorProps = {
18
+ structStr: string;
19
+ inputHandler: (str: string) => void;
20
+ autoFocus?: boolean;
21
+ };
22
+ export declare const TextEditor: ({ structStr, inputHandler, autoFocus }: TextEditorProps) => JSX.Element;