ketcher-react 2.28.0-rc.4 → 3.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. package/README.md +4 -0
  2. package/dist/Editor.d.ts +6 -28
  3. package/dist/MicromoleculesEditor.d.ts +28 -0
  4. package/dist/cjs/Editor.d.ts +6 -0
  5. package/dist/cjs/MicromoleculesEditor.d.ts +28 -0
  6. package/dist/cjs/components/Accordion/Accordion.d.ts +2 -0
  7. package/dist/cjs/components/Accordion/index.d.ts +16 -0
  8. package/dist/cjs/components/Accordion/styles.d.ts +29 -0
  9. package/dist/cjs/components/Accordion/types.d.ts +27 -0
  10. package/dist/cjs/components/Buttons/Button/Button.d.ts +1 -0
  11. package/dist/cjs/components/Buttons/Button/index.d.ts +16 -0
  12. package/dist/cjs/components/Buttons/Button/styles.d.ts +5 -0
  13. package/dist/cjs/components/Buttons/IconButton/IconButton.d.ts +17 -0
  14. package/dist/cjs/components/Buttons/IconButton/IconButtonBase.d.ts +17 -0
  15. package/dist/cjs/components/Buttons/IconButton/IconButtonCustomIcon.d.ts +17 -0
  16. package/dist/cjs/components/Buttons/IconButton/index.d.ts +17 -0
  17. package/dist/cjs/components/Buttons/IconButton/styles.d.ts +28 -0
  18. package/dist/cjs/components/Buttons/IconButton/types.d.ts +40 -0
  19. package/dist/cjs/components/Buttons/index.d.ts +17 -0
  20. package/dist/cjs/components/Dialog/Dialog.d.ts +45 -0
  21. package/dist/cjs/components/Dialog/index.d.ts +16 -0
  22. package/dist/cjs/components/Icon/Icon.d.ts +18 -0
  23. package/dist/cjs/components/Icon/index.d.ts +19 -0
  24. package/dist/cjs/components/Icon/types.d.ts +26 -0
  25. package/dist/cjs/components/Icon/utils/getIconByName.d.ts +17 -0
  26. package/dist/cjs/components/Icon/utils/getIconName.d.ts +17 -0
  27. package/dist/cjs/components/Icon/utils/iconNameToIcon.d.ts +237 -0
  28. package/dist/cjs/components/InfoModal/InfoModal.d.ts +22 -0
  29. package/dist/cjs/components/InfoModal/constants.d.ts +4 -0
  30. package/dist/cjs/components/InfoModal/index.d.ts +17 -0
  31. package/dist/cjs/components/Input/Input.d.ts +1 -0
  32. package/dist/cjs/components/Input/index.d.ts +16 -0
  33. package/dist/cjs/components/Input/styles.d.ts +20 -0
  34. package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/AmbiguousMonomerPreview.d.ts +9 -0
  35. package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/AmbiguousMonomerPreview.styles.d.ts +29 -0
  36. package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/index.d.ts +3 -0
  37. package/dist/cjs/components/MonomerPreview/AmbiguousMonomerPreview/types.d.ts +46 -0
  38. package/dist/cjs/components/MonomerPreview/calculatePreviewPosition.d.ts +28 -0
  39. package/dist/cjs/components/MonomerPreview/constants.d.ts +9 -0
  40. package/dist/cjs/components/MonomerPreview/index.d.ts +3 -0
  41. package/dist/cjs/components/StructRender/StructRender.d.ts +18 -0
  42. package/dist/cjs/components/StructRender/index.d.ts +16 -0
  43. package/dist/cjs/components/StructRender/styles.d.ts +22 -0
  44. package/dist/cjs/components/StructRender/types.d.ts +29 -0
  45. package/dist/cjs/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +8 -0
  46. package/dist/cjs/components/ToggleButtonGroup/ToggleButtonGroup.test.d.ts +16 -0
  47. package/dist/cjs/components/index.d.ts +23 -0
  48. package/dist/cjs/components/styles/consts.d.ts +59 -0
  49. package/dist/cjs/components/styles/index.d.ts +16 -0
  50. package/dist/cjs/constants.d.ts +49 -0
  51. package/dist/cjs/contexts/appContext.d.ts +23 -0
  52. package/dist/cjs/contexts/errorsContext.d.ts +21 -0
  53. package/dist/cjs/contexts/formContext.d.ts +18 -0
  54. package/dist/cjs/contexts/index.d.ts +21 -0
  55. package/dist/cjs/contexts/settingsContext.d.ts +21 -0
  56. package/dist/cjs/hooks/index.d.ts +21 -0
  57. package/dist/cjs/hooks/useAppContext.d.ts +16 -0
  58. package/dist/cjs/hooks/useClickOutside.d.ts +2 -0
  59. package/dist/cjs/hooks/useFormContext.d.ts +16 -0
  60. package/dist/cjs/hooks/useInterval.d.ts +16 -0
  61. package/dist/cjs/hooks/useResizeObserver.d.ts +26 -0
  62. package/dist/cjs/hooks/useSettingsContext.d.ts +16 -0
  63. package/dist/cjs/hooks/useSubscribtionOnEvents.d.ts +16 -0
  64. package/dist/cjs/index.css +2 -0
  65. package/dist/cjs/index.css.map +1 -0
  66. package/dist/cjs/index.d.ts +20 -0
  67. package/dist/{index.modern.js → cjs/index.js} +4305 -4061
  68. package/dist/cjs/index.js.map +1 -0
  69. package/dist/cjs/index.modern-285b5e16.js +15323 -0
  70. package/dist/cjs/index.modern-285b5e16.js.map +1 -0
  71. package/dist/cjs/script/api.d.ts +19 -0
  72. package/dist/cjs/script/builders/index.d.ts +16 -0
  73. package/dist/cjs/script/builders/ketcher/ButtonConfig.d.ts +18 -0
  74. package/dist/cjs/script/builders/ketcher/ButtonName.d.ts +17 -0
  75. package/dist/cjs/script/builders/ketcher/ButtonsConfig.d.ts +20 -0
  76. package/dist/cjs/script/builders/ketcher/CustomButtons.d.ts +5 -0
  77. package/dist/cjs/script/builders/ketcher/KetcherBuilder.d.ts +39 -0
  78. package/dist/cjs/script/builders/ketcher/index.d.ts +17 -0
  79. package/dist/cjs/script/editor/Editor.d.ts +119 -0
  80. package/dist/cjs/script/editor/HoverIcon.d.ts +31 -0
  81. package/dist/cjs/script/editor/highlighter.d.ts +33 -0
  82. package/dist/cjs/script/editor/index.d.ts +19 -0
  83. package/dist/cjs/script/editor/shared/closest.d.ts +43 -0
  84. package/dist/cjs/script/editor/shared/closest.types.d.ts +9 -0
  85. package/dist/cjs/script/editor/tool/Tool.d.ts +21 -0
  86. package/dist/cjs/script/editor/tool/apoint.d.ts +23 -0
  87. package/dist/cjs/script/editor/tool/apoint.utils.d.ts +2 -0
  88. package/dist/cjs/script/editor/tool/arrow/arrow.types.d.ts +19 -0
  89. package/dist/cjs/script/editor/tool/arrow/arrowTool.d.ts +9 -0
  90. package/dist/cjs/script/editor/tool/arrow/commonArrow.d.ts +17 -0
  91. package/dist/cjs/script/editor/tool/arrow/multitailArrowAdd.d.ts +14 -0
  92. package/dist/cjs/script/editor/tool/arrow/multitailArrowMoveTool.d.ts +12 -0
  93. package/dist/cjs/script/editor/tool/arrow/reactionArrowAdd.d.ts +20 -0
  94. package/dist/cjs/script/editor/tool/arrow/reactionArrowMoveTool.d.ts +12 -0
  95. package/dist/cjs/script/editor/tool/atom.d.ts +29 -0
  96. package/dist/cjs/script/editor/tool/attach.d.ts +24 -0
  97. package/dist/cjs/script/editor/tool/bond.d.ts +31 -0
  98. package/dist/cjs/script/editor/tool/chain.d.ts +27 -0
  99. package/dist/cjs/script/editor/tool/charge.d.ts +24 -0
  100. package/dist/cjs/script/editor/tool/enhanced-stereo.d.ts +25 -0
  101. package/dist/cjs/script/editor/tool/eraser.d.ts +30 -0
  102. package/dist/cjs/script/editor/tool/hand.d.ts +29 -0
  103. package/dist/cjs/script/editor/tool/helper/deleteFunctionalGroups.d.ts +2 -0
  104. package/dist/cjs/script/editor/tool/helper/dropAndMerge.d.ts +3 -0
  105. package/dist/cjs/script/editor/tool/helper/filterNotInCollapsedSGroup.d.ts +20 -0
  106. package/dist/cjs/script/editor/tool/helper/getGroupIdsFromItems.d.ts +12 -0
  107. package/dist/cjs/script/editor/tool/helper/isAtomOutSideCanvas.d.ts +2 -0
  108. package/dist/cjs/script/editor/tool/helper/isMacroMolecule.d.ts +5 -0
  109. package/dist/cjs/script/editor/tool/helper/lasso.d.ts +68 -0
  110. package/dist/cjs/script/editor/tool/helper/locate.d.ts +47 -0
  111. package/dist/cjs/script/editor/tool/image.d.ts +18 -0
  112. package/dist/cjs/script/editor/tool/index.d.ts +2 -0
  113. package/dist/cjs/script/editor/tool/paste.d.ts +34 -0
  114. package/dist/cjs/script/editor/tool/reactionmap.d.ts +27 -0
  115. package/dist/cjs/script/editor/tool/reactionplus.d.ts +26 -0
  116. package/dist/cjs/script/editor/tool/reactionunmap.d.ts +23 -0
  117. package/dist/cjs/script/editor/tool/rgroupatom.d.ts +23 -0
  118. package/dist/cjs/script/editor/tool/rgroupfragment.d.ts +24 -0
  119. package/dist/cjs/script/editor/tool/rotate-controller.d.ts +56 -0
  120. package/dist/cjs/script/editor/tool/rotate-controller.test.d.ts +1 -0
  121. package/dist/cjs/script/editor/tool/rotate-controller.utils.d.ts +3 -0
  122. package/dist/cjs/script/editor/tool/rotate.d.ts +51 -0
  123. package/dist/cjs/script/editor/tool/select/index.d.ts +7 -0
  124. package/dist/cjs/script/editor/tool/select/select.d.ts +42 -0
  125. package/dist/cjs/script/editor/tool/select/select.helpers.d.ts +17 -0
  126. package/dist/cjs/script/editor/tool/select/select.types.d.ts +1 -0
  127. package/dist/cjs/script/editor/tool/select/selectViewOnly.d.ts +14 -0
  128. package/dist/cjs/script/editor/tool/sgroup.d.ts +31 -0
  129. package/dist/cjs/script/editor/tool/simpleobject.d.ts +28 -0
  130. package/dist/cjs/script/editor/tool/template.d.ts +48 -0
  131. package/dist/cjs/script/editor/tool/templatePreview.d.ts +41 -0
  132. package/dist/cjs/script/editor/tool/text.d.ts +27 -0
  133. package/dist/cjs/script/editor/utils/customOnChangeHandler.d.ts +16 -0
  134. package/dist/cjs/script/editor/utils/elementOffset.d.ts +17 -0
  135. package/dist/cjs/script/editor/utils/functionalGroupsTooltip.d.ts +7 -0
  136. package/dist/cjs/script/editor/utils/getItemCursor.d.ts +3 -0
  137. package/dist/cjs/script/editor/utils/handleMovingPosibilityCursor.d.ts +1 -0
  138. package/dist/cjs/script/editor/utils/handleMovingPosibilityCursor.test.d.ts +1 -0
  139. package/dist/cjs/script/editor/utils/index.d.ts +19 -0
  140. package/dist/cjs/script/editor/utils/normalizeAngle.d.ts +11 -0
  141. package/dist/cjs/script/editor/utils/structLayout.d.ts +3 -0
  142. package/dist/cjs/script/index.d.ts +40 -0
  143. package/dist/cjs/script/providers/index.d.ts +1 -0
  144. package/dist/cjs/script/providers/indigoProvider.d.ts +5 -0
  145. package/dist/cjs/script/ui/App/App.container.d.ts +22 -0
  146. package/dist/cjs/script/ui/App/App.d.ts +24 -0
  147. package/dist/cjs/script/ui/App/AppHidden/AppHidden.container.d.ts +18 -0
  148. package/dist/cjs/script/ui/App/AppHidden/AppHidden.d.ts +22 -0
  149. package/dist/cjs/script/ui/App/AppHidden/index.d.ts +16 -0
  150. package/dist/cjs/script/ui/App/index.d.ts +16 -0
  151. package/dist/cjs/script/ui/App/initApp.d.ts +25 -0
  152. package/dist/cjs/script/ui/Portal/Portal.d.ts +38 -0
  153. package/dist/cjs/script/ui/Portal/index.d.ts +16 -0
  154. package/dist/cjs/script/ui/action/action.types.d.ts +45 -0
  155. package/dist/cjs/script/ui/action/atoms.d.ts +40 -0
  156. package/dist/cjs/script/ui/action/copyAs.d.ts +1 -0
  157. package/dist/cjs/script/ui/action/copyImageToClipboard.d.ts +2 -0
  158. package/dist/cjs/script/ui/action/createCopyOfSelected.d.ts +14 -0
  159. package/dist/cjs/script/ui/action/debug.d.ts +13 -0
  160. package/dist/cjs/script/ui/action/flips.d.ts +1 -0
  161. package/dist/cjs/script/ui/action/fullscreen.d.ts +24 -0
  162. package/dist/cjs/script/ui/action/functionalGroups.d.ts +31 -0
  163. package/dist/cjs/script/ui/action/help.d.ts +9 -0
  164. package/dist/cjs/script/ui/action/highlightColors/HighlightColors.d.ts +6 -0
  165. package/dist/cjs/script/ui/action/highlightColors/style.d.ts +25 -0
  166. package/dist/cjs/script/ui/action/index.d.ts +19 -0
  167. package/dist/cjs/script/ui/action/isHidden.d.ts +16 -0
  168. package/dist/cjs/script/ui/action/server.d.ts +92 -0
  169. package/dist/cjs/script/ui/action/templates.d.ts +16 -0
  170. package/dist/cjs/script/ui/action/tools.d.ts +372 -0
  171. package/dist/cjs/script/ui/action/zoom.d.ts +31 -0
  172. package/dist/cjs/script/ui/component/actionmenu.d.ts +9 -0
  173. package/dist/cjs/script/ui/component/cliparea/cliparea.d.ts +22 -0
  174. package/dist/cjs/script/ui/component/form/Input/Input.d.ts +43 -0
  175. package/dist/cjs/script/ui/component/form/Input/Input.test.d.ts +1 -0
  176. package/dist/cjs/script/ui/component/form/MeasureInput/measure-input.d.ts +12 -0
  177. package/dist/cjs/script/ui/component/form/Select/Select.d.ts +32 -0
  178. package/dist/cjs/script/ui/component/form/Select/Select.test.d.ts +1 -0
  179. package/dist/cjs/script/ui/component/form/Select/index.d.ts +17 -0
  180. package/dist/cjs/script/ui/component/form/buttonlist.d.ts +9 -0
  181. package/dist/cjs/script/ui/component/form/colorPicker/ColorPicker.d.ts +27 -0
  182. package/dist/cjs/script/ui/component/form/colorPicker/ColorPicker.test.d.ts +1 -0
  183. package/dist/cjs/script/ui/component/form/combobox/combobox.d.ts +12 -0
  184. package/dist/cjs/script/ui/component/form/form/errorPopover.d.ts +5 -0
  185. package/dist/cjs/script/ui/component/form/form/form.d.ts +29 -0
  186. package/dist/cjs/script/ui/component/form/select-checkbox.d.ts +5 -0
  187. package/dist/cjs/script/ui/component/form/select-list.d.ts +26 -0
  188. package/dist/cjs/script/ui/component/form/systemfonts.d.ts +2 -0
  189. package/dist/cjs/script/ui/component/view/Atom/Atom.d.ts +7 -0
  190. package/dist/cjs/script/ui/component/view/Atom/index.d.ts +16 -0
  191. package/dist/cjs/script/ui/component/view/SaveButton.test.d.ts +16 -0
  192. package/dist/cjs/script/ui/component/view/Tabs/Tabs.d.ts +9 -0
  193. package/dist/cjs/script/ui/component/view/Tabs/index.d.ts +16 -0
  194. package/dist/cjs/script/ui/component/view/ToolActions.test.d.ts +1 -0
  195. package/dist/cjs/script/ui/component/view/openbutton.d.ts +9 -0
  196. package/dist/cjs/script/ui/component/view/saveButton.types.d.ts +2 -0
  197. package/dist/cjs/script/ui/component/view/saveButton.utils.d.ts +2 -0
  198. package/dist/cjs/script/ui/component/view/savebutton.d.ts +33 -0
  199. package/dist/cjs/script/ui/data/convert/structConverter.d.ts +17 -0
  200. package/dist/cjs/script/ui/data/convert/structconv.d.ts +52 -0
  201. package/dist/cjs/script/ui/data/schema/options-schema.d.ts +36 -0
  202. package/dist/cjs/script/ui/data/schema/schema-helper.d.ts +2 -0
  203. package/dist/cjs/script/ui/data/schema/sdata-schema.d.ts +60 -0
  204. package/dist/cjs/script/ui/data/schema/struct-schema.d.ts +436 -0
  205. package/dist/cjs/script/ui/data/templates.d.ts +2 -0
  206. package/dist/cjs/script/ui/data/utils.d.ts +11 -0
  207. package/dist/cjs/script/ui/data/utils.test.d.ts +1 -0
  208. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.constants.d.ts +4 -0
  209. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.d.ts +16 -0
  210. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.container.test.d.ts +1 -0
  211. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.d.ts +21 -0
  212. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.d.ts +1 -0
  213. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.test.utils.d.ts +7 -0
  214. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.types.d.ts +37 -0
  215. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.d.ts +22 -0
  216. package/dist/cjs/script/ui/dialog/AbbreviationLookup/AbbreviationLookup.utils.test.d.ts +16 -0
  217. package/dist/cjs/script/ui/dialog/AbbreviationLookup/hooks/useOptions.d.ts +17 -0
  218. package/dist/cjs/script/ui/dialog/AbbreviationLookup/hooks/useOptions.test.d.ts +1 -0
  219. package/dist/cjs/script/ui/dialog/AbbreviationLookup/index.d.ts +17 -0
  220. package/dist/cjs/script/ui/dialog/index.d.ts +17 -0
  221. package/dist/cjs/script/ui/dialog/template/EmptySearchResult.d.ts +19 -0
  222. package/dist/cjs/script/ui/dialog/template/TemplateDialog.d.ts +42 -0
  223. package/dist/cjs/script/ui/dialog/template/TemplateTable.d.ts +39 -0
  224. package/dist/cjs/script/ui/dialog/template/template-attach.d.ts +33 -0
  225. package/dist/cjs/script/ui/dialog/template/useSaltsAndSolvets.d.ts +2 -0
  226. package/dist/cjs/script/ui/dialog/toolbox/SDataFieldset.d.ts +4 -0
  227. package/dist/cjs/script/ui/dialog/toolbox/SGroupFieldset.d.ts +4 -0
  228. package/dist/cjs/script/ui/dialog/toolbox/enhancedStereo/enhancedStereo.d.ts +42 -0
  229. package/dist/cjs/script/ui/dialog/toolbox/labeledit.d.ts +3 -0
  230. package/dist/cjs/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +15 -0
  231. package/dist/cjs/script/ui/dialog/toolbox/sgroup.d.ts +9 -0
  232. package/dist/cjs/script/ui/dialog/toolbox/sgroup.test.d.ts +1 -0
  233. package/dist/cjs/script/ui/index.d.ts +16 -0
  234. package/dist/cjs/script/ui/state/abbreviationLookup/abbreviationLookup.types.d.ts +19 -0
  235. package/dist/cjs/script/ui/state/abbreviationLookup/index.d.ts +30 -0
  236. package/dist/cjs/script/ui/state/abbreviationLookup/index.test.d.ts +1 -0
  237. package/dist/cjs/script/ui/state/abbreviationLookup/selectors/index.d.ts +16 -0
  238. package/dist/cjs/script/ui/state/abbreviationLookup/selectors/selectors.d.ts +17 -0
  239. package/dist/cjs/script/ui/state/action/index.d.ts +7 -0
  240. package/dist/cjs/script/ui/state/common/common.types.d.ts +21 -0
  241. package/dist/cjs/script/ui/state/common/index.d.ts +26 -0
  242. package/dist/cjs/script/ui/state/common/index.test.d.ts +1 -0
  243. package/dist/cjs/script/ui/state/common/selectors/index.d.ts +16 -0
  244. package/dist/cjs/script/ui/state/common/selectors/selectors.d.ts +19 -0
  245. package/dist/cjs/script/ui/state/constants.d.ts +23 -0
  246. package/dist/cjs/script/ui/state/editor/index.d.ts +28 -0
  247. package/dist/cjs/script/ui/state/editor/selectors/index.d.ts +16 -0
  248. package/dist/cjs/script/ui/state/editor/utils/generateCommonProperties.d.ts +6 -0
  249. package/dist/cjs/script/ui/state/editor/utils/index.d.ts +1 -0
  250. package/dist/cjs/script/ui/state/floatingTools/index.d.ts +16 -0
  251. package/dist/cjs/script/ui/state/floatingTools/selectors/index.d.ts +5 -0
  252. package/dist/cjs/script/ui/state/functionalGroups/index.d.ts +32 -0
  253. package/dist/cjs/script/ui/state/functionalGroups/selectors/index.d.ts +18 -0
  254. package/dist/cjs/script/ui/state/handleHotkeysOverItem.d.ts +15 -0
  255. package/dist/cjs/script/ui/state/hotkeys.d.ts +27 -0
  256. package/dist/cjs/script/ui/state/hotkeys.test.d.ts +1 -0
  257. package/dist/cjs/script/ui/state/index.d.ts +11 -0
  258. package/dist/cjs/script/ui/state/modal/atoms.d.ts +7 -0
  259. package/dist/cjs/script/ui/state/modal/bonds.d.ts +6 -0
  260. package/dist/cjs/script/ui/state/modal/form.d.ts +162 -0
  261. package/dist/cjs/script/ui/state/modal/index.d.ts +3 -0
  262. package/dist/cjs/script/ui/state/modal/sdata.d.ts +16 -0
  263. package/dist/cjs/script/ui/state/modal/utils/index.d.ts +1 -0
  264. package/dist/cjs/script/ui/state/modal/utils/updateOnlyChangedProperties.d.ts +1 -0
  265. package/dist/cjs/script/ui/state/mouse.d.ts +17 -0
  266. package/dist/cjs/script/ui/state/moveSelectedItems.d.ts +5 -0
  267. package/dist/cjs/script/ui/state/options/index.d.ts +106 -0
  268. package/dist/cjs/script/ui/state/request/index.d.ts +22 -0
  269. package/dist/cjs/script/ui/state/request/reducer.test.d.ts +16 -0
  270. package/dist/cjs/script/ui/state/request/request.types.d.ts +27 -0
  271. package/dist/cjs/script/ui/state/saltsAndSolvents/index.d.ts +30 -0
  272. package/dist/cjs/script/ui/state/saltsAndSolvents/selectors/index.d.ts +16 -0
  273. package/dist/cjs/script/ui/state/server/index.d.ts +7 -0
  274. package/dist/cjs/script/ui/state/server/selectors/index.d.ts +16 -0
  275. package/dist/cjs/script/ui/state/shared.d.ts +43 -0
  276. package/dist/cjs/script/ui/state/templates/index.d.ts +92 -0
  277. package/dist/cjs/script/ui/state/templates/init-lib.d.ts +28 -0
  278. package/dist/cjs/script/ui/state/templates/selectors/index.d.ts +16 -0
  279. package/dist/cjs/script/ui/state/toolbar/index.d.ts +33 -0
  280. package/dist/cjs/script/ui/storage-ext.d.ts +9 -0
  281. package/dist/cjs/script/ui/utils/fileOpener.d.ts +1 -0
  282. package/dist/cjs/script/ui/utils/index.d.ts +14 -0
  283. package/dist/cjs/script/ui/views/AppClipArea.d.ts +18 -0
  284. package/dist/cjs/script/ui/views/Editor.d.ts +3 -0
  285. package/dist/cjs/script/ui/views/components/ContextMenu/ContextMenu.d.ts +19 -0
  286. package/dist/cjs/script/ui/views/components/ContextMenu/ContextMenuTrigger.d.ts +18 -0
  287. package/dist/cjs/script/ui/views/components/ContextMenu/ContextMenuTrigger.utils.d.ts +7 -0
  288. package/dist/cjs/script/ui/views/components/ContextMenu/contextMenu.types.d.ts +74 -0
  289. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useAddAttachmentPoint.d.ts +4 -0
  290. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useAtomEdit.d.ts +4 -0
  291. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useAtomStereo.d.ts +4 -0
  292. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondEdit.d.ts +4 -0
  293. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondSGroupAttach.d.ts +4 -0
  294. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondSGroupEdit.d.ts +4 -0
  295. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useBondTypeChange.d.ts +4 -0
  296. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useChangeBondDirection.d.ts +3 -0
  297. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useDelete.d.ts +4 -0
  298. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useFunctionalGroupEoc.d.ts +7 -0
  299. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useFunctionalGroupRemove.d.ts +4 -0
  300. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useMonomerExpansionHandlers.d.ts +4 -0
  301. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useMultitailArrowTails.d.ts +11 -0
  302. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useRGroupAttachmentPointEdit.d.ts +4 -0
  303. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useRGroupAttachmentPointRemove.d.ts +4 -0
  304. package/dist/cjs/script/ui/views/components/ContextMenu/hooks/useRemoveAttachmentPoint.d.ts +4 -0
  305. package/dist/cjs/script/ui/views/components/ContextMenu/index.d.ts +2 -0
  306. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/AtomMenuItems.d.ts +4 -0
  307. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/BondMenuItems.d.ts +4 -0
  308. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/FunctionalGroupMenuItems.d.ts +4 -0
  309. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/MacromoleculeMenuItems.d.ts +3 -0
  310. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/MultitailArrowMenuItems.d.ts +2 -0
  311. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/RGroupAttachmentPointMenuItems.d.ts +4 -0
  312. package/dist/cjs/script/ui/views/components/ContextMenu/menuItems/SelectionMenuItems.d.ts +4 -0
  313. package/dist/cjs/script/ui/views/components/ContextMenu/utils.d.ts +25 -0
  314. package/dist/cjs/script/ui/views/components/ContextMenu/utils.test.d.ts +1 -0
  315. package/dist/cjs/script/ui/views/components/Spinner/LoadingCircles.d.ts +16 -0
  316. package/dist/cjs/script/ui/views/components/Spinner/index.d.ts +16 -0
  317. package/dist/cjs/script/ui/views/components/StructEditor/InfoPanel.d.ts +27 -0
  318. package/dist/cjs/script/ui/views/components/StructEditor/InfoTooltip.d.ts +23 -0
  319. package/dist/cjs/script/ui/views/components/StructEditor/SGroupDataRender.d.ts +13 -0
  320. package/dist/cjs/script/ui/views/components/StructEditor/StructEditor.d.ts +33 -0
  321. package/dist/cjs/script/ui/views/components/StructEditor/helpers.d.ts +3 -0
  322. package/dist/cjs/script/ui/views/components/StructEditor/index.d.ts +16 -0
  323. package/dist/cjs/script/ui/views/components/index.d.ts +19 -0
  324. package/dist/cjs/script/ui/views/modal/Modal.container.d.ts +19 -0
  325. package/dist/cjs/script/ui/views/modal/Modal.d.ts +27 -0
  326. package/dist/cjs/script/ui/views/modal/components/Confirm/Confirm.d.ts +6 -0
  327. package/dist/cjs/script/ui/views/modal/components/Confirm/index.d.ts +1 -0
  328. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +2 -0
  329. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +17 -0
  330. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +24 -0
  331. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +26 -0
  332. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +22 -0
  333. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/ButtonGenSet.d.ts +24 -0
  334. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/components/ButtonGenSet/index.d.ts +16 -0
  335. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/index.d.ts +27 -0
  336. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/helpers.d.ts +1 -0
  337. package/dist/cjs/script/ui/views/modal/components/ExtendedTable/index.d.ts +1 -0
  338. package/dist/cjs/script/ui/views/modal/components/InfoModal/InfoModal.d.ts +18 -0
  339. package/dist/cjs/script/ui/views/modal/components/InfoModal/InfoModal.test.d.ts +1 -0
  340. package/dist/cjs/script/ui/views/modal/components/InfoModal/InfoModal.test.utils.d.ts +63 -0
  341. package/dist/cjs/script/ui/views/modal/components/InfoModal/PasteErrorModalBody/PasteErrorModalBody.d.ts +2 -0
  342. package/dist/cjs/script/ui/views/modal/components/InfoModal/PasteErrorModalBody/index.d.ts +1 -0
  343. package/dist/cjs/script/ui/views/modal/components/InfoModal/constants.d.ts +9 -0
  344. package/dist/cjs/script/ui/views/modal/components/InfoModal/index.d.ts +16 -0
  345. package/dist/cjs/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +37 -0
  346. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +5 -0
  347. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/AtomInfo/index.d.ts +16 -0
  348. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +9 -0
  349. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +2 -0
  350. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +11 -0
  351. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +10 -0
  352. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/index.d.ts +19 -0
  353. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/ElementsTable/index.d.ts +16 -0
  354. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +6 -0
  355. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/TypeChoice/index.d.ts +16 -0
  356. package/dist/cjs/script/ui/views/modal/components/PeriodTable/components/index.d.ts +20 -0
  357. package/dist/cjs/script/ui/views/modal/components/PeriodTable/index.d.ts +16 -0
  358. package/dist/cjs/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +21 -0
  359. package/dist/cjs/script/ui/views/modal/components/Text/FontControl/index.d.ts +16 -0
  360. package/dist/cjs/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +21 -0
  361. package/dist/cjs/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +19 -0
  362. package/dist/cjs/script/ui/views/modal/components/Text/Text.d.ts +25 -0
  363. package/dist/cjs/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +30 -0
  364. package/dist/cjs/script/ui/views/modal/components/Text/TextButton/index.d.ts +16 -0
  365. package/dist/cjs/script/ui/views/modal/components/Text/index.d.ts +16 -0
  366. package/dist/cjs/script/ui/views/modal/components/document/Open/Open.container.d.ts +24 -0
  367. package/dist/cjs/script/ui/views/modal/components/document/Open/Open.d.ts +30 -0
  368. package/dist/cjs/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +19 -0
  369. package/dist/cjs/script/ui/views/modal/components/document/Open/components/CDXStructuresViewer/CDXStructuresViewer.d.ts +23 -0
  370. package/dist/cjs/script/ui/views/modal/components/document/Open/components/CDXStructuresViewer/index.d.ts +2 -0
  371. package/dist/cjs/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +24 -0
  372. package/dist/cjs/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +26 -0
  373. package/dist/cjs/script/ui/views/modal/components/document/Open/components/OpenOptions.d.ts +24 -0
  374. package/dist/cjs/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +21 -0
  375. package/dist/cjs/script/ui/views/modal/components/document/Open/components/ViewSwitcher.d.ts +33 -0
  376. package/dist/cjs/script/ui/views/modal/components/document/Open/index.d.ts +16 -0
  377. package/dist/cjs/script/ui/views/modal/components/document/Save/Save.d.ts +46 -0
  378. package/dist/cjs/script/ui/views/modal/components/document/Save/Save.test.d.ts +1 -0
  379. package/dist/cjs/script/ui/views/modal/components/document/Save/Save.test.utils.d.ts +2 -0
  380. package/dist/cjs/script/ui/views/modal/components/document/Save/index.d.ts +16 -0
  381. package/dist/cjs/script/ui/views/modal/components/document/index.d.ts +18 -0
  382. package/dist/cjs/script/ui/views/modal/components/meta/About/About.d.ts +3 -0
  383. package/dist/cjs/script/ui/views/modal/components/meta/About/index.d.ts +16 -0
  384. package/dist/cjs/script/ui/views/modal/components/meta/Settings/Accordion/Accordion.d.ts +22 -0
  385. package/dist/cjs/script/ui/views/modal/components/meta/Settings/Accordion/index.d.ts +16 -0
  386. package/dist/cjs/script/ui/views/modal/components/meta/Settings/Settings.d.ts +38 -0
  387. package/dist/cjs/script/ui/views/modal/components/meta/Settings/fieldGroups.d.ts +42 -0
  388. package/dist/cjs/script/ui/views/modal/components/meta/Settings/index.d.ts +16 -0
  389. package/dist/cjs/script/ui/views/modal/components/meta/index.d.ts +18 -0
  390. package/dist/cjs/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +10 -0
  391. package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +5 -0
  392. package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FormulaInput/index.d.ts +16 -0
  393. package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +19 -0
  394. package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/FrozenInput/index.d.ts +16 -0
  395. package/dist/cjs/script/ui/views/modal/components/process/Analyse/components/index.d.ts +18 -0
  396. package/dist/cjs/script/ui/views/modal/components/process/Analyse/index.d.ts +16 -0
  397. package/dist/cjs/script/ui/views/modal/components/process/Check/Check.d.ts +3 -0
  398. package/dist/cjs/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +17 -0
  399. package/dist/cjs/script/ui/views/modal/components/process/Check/components/index.d.ts +16 -0
  400. package/dist/cjs/script/ui/views/modal/components/process/Check/index.d.ts +16 -0
  401. package/dist/cjs/script/ui/views/modal/components/process/Miew/Miew.d.ts +30 -0
  402. package/dist/cjs/script/ui/views/modal/components/process/Miew/index.d.ts +16 -0
  403. package/dist/cjs/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +3 -0
  404. package/dist/cjs/script/ui/views/modal/components/process/Recognize/index.d.ts +16 -0
  405. package/dist/cjs/script/ui/views/modal/components/process/index.d.ts +20 -0
  406. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +24 -0
  407. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +40 -0
  408. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/AtomElement/AtomElement.d.ts +3 -0
  409. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +21 -0
  410. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/ElementNumber/index.d.ts +16 -0
  411. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/helper.d.ts +6 -0
  412. package/dist/cjs/script/ui/views/modal/components/toolbox/Atom/index.d.ts +16 -0
  413. package/dist/cjs/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +17 -0
  414. package/dist/cjs/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +24 -0
  415. package/dist/cjs/script/ui/views/modal/components/toolbox/Attach/index.d.ts +16 -0
  416. package/dist/cjs/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +18 -0
  417. package/dist/cjs/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +32 -0
  418. package/dist/cjs/script/ui/views/modal/components/toolbox/Automap/index.d.ts +16 -0
  419. package/dist/cjs/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +17 -0
  420. package/dist/cjs/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +28 -0
  421. package/dist/cjs/script/ui/views/modal/components/toolbox/Bond/index.d.ts +16 -0
  422. package/dist/cjs/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +23 -0
  423. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +17 -0
  424. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +29 -0
  425. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +19 -0
  426. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/index.d.ts +16 -0
  427. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/components/index.d.ts +16 -0
  428. package/dist/cjs/script/ui/views/modal/components/toolbox/RgroupLogic/index.d.ts +16 -0
  429. package/dist/cjs/script/ui/views/modal/components/toolbox/index.d.ts +21 -0
  430. package/dist/cjs/script/ui/views/modal/index.d.ts +16 -0
  431. package/dist/cjs/script/ui/views/modal/mediaSizes.d.ts +20 -0
  432. package/dist/cjs/script/ui/views/modal/modal.types.d.ts +28 -0
  433. package/dist/cjs/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +23 -0
  434. package/dist/cjs/script/ui/views/toolbars/ArrowScroll/index.d.ts +2 -0
  435. package/dist/cjs/script/ui/views/toolbars/BottomToolbar/BottomToolbar.container.d.ts +20 -0
  436. package/dist/cjs/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +28 -0
  437. package/dist/cjs/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +34 -0
  438. package/dist/cjs/script/ui/views/toolbars/BottomToolbar/TemplatesList/index.d.ts +16 -0
  439. package/dist/cjs/script/ui/views/toolbars/BottomToolbar/index.d.ts +16 -0
  440. package/dist/cjs/script/ui/views/toolbars/FloatingTools/FloatingTools.container.d.ts +4 -0
  441. package/dist/cjs/script/ui/views/toolbars/FloatingTools/FloatingTools.d.ts +20 -0
  442. package/dist/cjs/script/ui/views/toolbars/FloatingTools/index.d.ts +1 -0
  443. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +24 -0
  444. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Bond/index.d.ts +16 -0
  445. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Bond/options.d.ts +24 -0
  446. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +18 -0
  447. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +24 -0
  448. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +24 -0
  449. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/RGroup/index.d.ts +16 -0
  450. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +24 -0
  451. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/Shape/index.d.ts +16 -0
  452. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/index.d.ts +16 -0
  453. package/dist/cjs/script/ui/views/toolbars/LeftToolbar/leftToolbarOptions.d.ts +8 -0
  454. package/dist/cjs/script/ui/views/toolbars/ModeControl/ModeControl.d.ts +21 -0
  455. package/dist/cjs/script/ui/views/toolbars/ModeControl/index.d.ts +1 -0
  456. package/dist/cjs/script/ui/views/toolbars/RightToolbar/AtomsList/AtomsList.d.ts +33 -0
  457. package/dist/cjs/script/ui/views/toolbars/RightToolbar/AtomsList/index.d.ts +16 -0
  458. package/dist/cjs/script/ui/views/toolbars/RightToolbar/RightToolbar.container.d.ts +21 -0
  459. package/dist/cjs/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +29 -0
  460. package/dist/cjs/script/ui/views/toolbars/RightToolbar/index.d.ts +16 -0
  461. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +37 -0
  462. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/index.d.ts +16 -0
  463. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +34 -0
  464. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +41 -0
  465. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/index.d.ts +16 -0
  466. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalOpening.d.ts +19 -0
  467. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalStyle.d.ts +19 -0
  468. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +22 -0
  469. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/index.d.ts +18 -0
  470. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +22 -0
  471. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/index.d.ts +16 -0
  472. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/chooseMultiTool.d.ts +18 -0
  473. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/variants.types.d.ts +35 -0
  474. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/index.d.ts +16 -0
  475. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/utils/index.d.ts +16 -0
  476. package/dist/cjs/script/ui/views/toolbars/ToolbarGroupItem/utils/makeItems.d.ts +18 -0
  477. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +30 -0
  478. package/dist/cjs/script/ui/views/toolbars/TopToolbar/CustomButtons.d.ts +8 -0
  479. package/dist/cjs/script/ui/views/toolbars/TopToolbar/Divider.d.ts +17 -0
  480. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +23 -0
  481. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +35 -0
  482. package/dist/cjs/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +10 -0
  483. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ScaleTransformer.d.ts +24 -0
  484. package/dist/cjs/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +27 -0
  485. package/dist/cjs/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +17 -0
  486. package/dist/cjs/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +59 -0
  487. package/dist/cjs/script/ui/views/toolbars/TopToolbar/TopToolbarIconButton.d.ts +21 -0
  488. package/dist/cjs/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +26 -0
  489. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +28 -0
  490. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +26 -0
  491. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +22 -0
  492. package/dist/cjs/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +21 -0
  493. package/dist/cjs/script/ui/views/toolbars/TopToolbar/index.d.ts +16 -0
  494. package/dist/cjs/script/ui/views/toolbars/index.d.ts +20 -0
  495. package/dist/cjs/script/ui/views/toolbars/mediaSizes.d.ts +23 -0
  496. package/dist/cjs/script/ui/views/toolbars/toolbar.types.d.ts +34 -0
  497. package/dist/cjs/setupTests.d.ts +1 -0
  498. package/dist/index.css +1 -1
  499. package/dist/index.css.map +1 -1
  500. package/dist/index.js +4207 -4163
  501. package/dist/index.js.map +1 -1
  502. package/dist/index.modern-b02f5e53.js +15301 -0
  503. package/dist/index.modern-b02f5e53.js.map +1 -0
  504. package/dist/script/ui/views/toolbars/ModeControl/ModeControl.d.ts +21 -0
  505. package/dist/script/ui/views/toolbars/ModeControl/index.d.ts +1 -0
  506. package/package.json +12 -4
  507. package/dist/index.modern.js.map +0 -1
@@ -0,0 +1,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 './AtomsList';
@@ -0,0 +1,21 @@
1
+ /****************************************************************************
2
+ * Copyright 2021 EPAM Systems
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ ***************************************************************************/
16
+ import { RightToolbarProps } from './RightToolbar';
17
+ import { ComponentType } from 'react';
18
+ declare type OwnProps = Pick<RightToolbarProps, 'className'>;
19
+ declare const RightToolbarContainer: ComponentType<OwnProps>;
20
+ export { RightToolbarContainer };
21
+ export default RightToolbarContainer;
@@ -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 { ToolbarGroupItemCallProps, ToolbarGroupItemProps } from '../ToolbarGroupItem';
17
+ interface RightToolbarProps extends Omit<ToolbarGroupItemProps, 'id' | 'options'> {
18
+ className?: string;
19
+ active?: {
20
+ opts: any;
21
+ tool: string;
22
+ };
23
+ freqAtoms: any[];
24
+ }
25
+ declare type RightToolbarCallProps = ToolbarGroupItemCallProps;
26
+ declare type Props = RightToolbarProps & RightToolbarCallProps;
27
+ declare const RightToolbar: (props: Props) => import("react/jsx-runtime").JSX.Element;
28
+ export type { RightToolbarProps, RightToolbarCallProps };
29
+ export { RightToolbar };
@@ -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 './RightToolbar.container';
@@ -0,0 +1,37 @@
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 { UiAction, UiActionAction } from '../../../../action';
17
+ import { IconName } from 'components';
18
+ interface ActionButtonProps {
19
+ name: IconName;
20
+ action?: UiAction;
21
+ status?: {
22
+ disabled?: boolean;
23
+ hidden?: boolean;
24
+ };
25
+ selected?: boolean;
26
+ disableableButtons: string[];
27
+ indigoVerification: boolean;
28
+ className?: string;
29
+ dataTestId?: string;
30
+ }
31
+ interface ActionButtonCallProps {
32
+ onAction: (action: UiActionAction) => void;
33
+ }
34
+ declare type Props = ActionButtonProps & ActionButtonCallProps;
35
+ declare const ActionButton: (props: Props) => import("react/jsx-runtime").JSX.Element | null;
36
+ export type { ActionButtonProps, ActionButtonCallProps };
37
+ export { ActionButton };
@@ -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 './ActionButton';
@@ -0,0 +1,34 @@
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 { Tools, UiActionAction } from '../../../action';
17
+ import { ToolbarItem } from '../toolbar.types';
18
+ interface ToolbarGroupItemProps extends ToolbarItem {
19
+ status: Tools;
20
+ opened: string | null;
21
+ disableableButtons: string[];
22
+ indigoVerification: boolean;
23
+ className?: string;
24
+ vertical?: boolean;
25
+ dataTestId?: string;
26
+ }
27
+ interface ToolbarGroupItemCallProps {
28
+ onAction: (action: UiActionAction) => void;
29
+ onOpen: (menuName: string, isSelected: boolean) => void;
30
+ }
31
+ declare type Props = ToolbarGroupItemProps & ToolbarGroupItemCallProps;
32
+ declare const ToolbarGroupItem: (props: Props) => import("react/jsx-runtime").JSX.Element | null;
33
+ export type { ToolbarGroupItemProps, ToolbarGroupItemCallProps };
34
+ export { ToolbarGroupItem };
@@ -0,0 +1,41 @@
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 { GroupDescriptor, MultiToolVariant } from './variants/variants.types';
17
+ import { ToolbarItem, ToolbarItemVariant } from '../../toolbar.types';
18
+ import { UiAction, UiActionAction } from '../../../../action';
19
+ interface ToolbarMultiToolItemProps {
20
+ id: ToolbarItemVariant;
21
+ options: ToolbarItem[];
22
+ groups?: GroupDescriptor[];
23
+ variant?: MultiToolVariant;
24
+ status: {
25
+ [key in string]?: UiAction;
26
+ };
27
+ opened: string | null;
28
+ disableableButtons: string[];
29
+ indigoVerification: boolean;
30
+ className?: string;
31
+ vertical?: boolean;
32
+ dataTestId?: string;
33
+ }
34
+ interface ToolbarMultiToolItemCallProps {
35
+ onAction: (action: UiActionAction) => void;
36
+ onOpen: (menuName: string, isSelected: boolean) => void;
37
+ }
38
+ declare type Props = ToolbarMultiToolItemProps & ToolbarMultiToolItemCallProps;
39
+ declare const ToolbarMultiToolItem: (props: Props) => import("react/jsx-runtime").JSX.Element | null;
40
+ export type { ToolbarMultiToolItemProps, ToolbarMultiToolItemCallProps };
41
+ export { ToolbarMultiToolItem };
@@ -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 './ToolbarMultiToolItem';
@@ -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 { ToolbarItem } from '../../toolbar.types';
17
+ declare type HookParams = [string, string | null, ToolbarItem[]];
18
+ declare function usePortalOpening([id, opened, options]: HookParams): [boolean];
19
+ export { usePortalOpening };
@@ -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 { CSSProperties, RefObject } from 'react';
17
+ declare type HookParams = [RefObject<HTMLDivElement>, boolean];
18
+ declare function usePortalStyle([ref, isOpen]: HookParams): [CSSProperties];
19
+ export { usePortalStyle };
@@ -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
+ import { MultiToolCallProps, MultiToolProps } from '../variants.types';
17
+ declare type DefaultMultiToolProps = MultiToolProps;
18
+ declare type DefaultMultiToolCallProps = MultiToolCallProps;
19
+ declare type Props = DefaultMultiToolProps & DefaultMultiToolCallProps;
20
+ declare const DefaultMultiTool: (props: Props) => import("react/jsx-runtime").JSX.Element;
21
+ export type { DefaultMultiToolProps, DefaultMultiToolCallProps };
22
+ export { DefaultMultiTool };
@@ -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
+ import classes from './DefaultMultiTool.module.less';
17
+ export * from './DefaultMultiTool';
18
+ export { classes };
@@ -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
+ import { MultiToolCallProps, MultiToolProps } from '../variants.types';
17
+ declare type GroupedMultiToolProps = MultiToolProps;
18
+ declare type GroupedMultiToolCallProps = MultiToolCallProps;
19
+ declare type Props = GroupedMultiToolProps & GroupedMultiToolCallProps;
20
+ declare const GroupedMultiTool: (props: Props) => import("react/jsx-runtime").JSX.Element | null;
21
+ export type { GroupedMultiToolProps, GroupedMultiToolCallProps };
22
+ export { GroupedMultiTool };
@@ -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 './GroupedMultiTool';
@@ -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
+ import { MultiToolCallProps, MultiToolProps, MultiToolVariant } from './variants.types';
17
+ import { ComponentType } from 'react';
18
+ export declare function chooseMultiTool(variant?: MultiToolVariant): [ComponentType<MultiToolProps & MultiToolCallProps>, string?];
@@ -0,0 +1,35 @@
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 { UiAction, UiActionAction } from '../../../../../action';
17
+ import { ToolbarItem } from '../../../toolbar.types';
18
+ declare type GroupDescriptor = {
19
+ start: number;
20
+ end: number;
21
+ };
22
+ interface MultiToolProps {
23
+ options: ToolbarItem[];
24
+ groups?: GroupDescriptor[];
25
+ status: {
26
+ [key in string]?: UiAction;
27
+ };
28
+ disableableButtons: string[];
29
+ indigoVerification: boolean;
30
+ }
31
+ interface MultiToolCallProps {
32
+ onAction: (action: UiActionAction) => void;
33
+ }
34
+ declare type MultiToolVariant = 'default' | 'grouped';
35
+ export type { GroupDescriptor, MultiToolProps, MultiToolCallProps, MultiToolVariant, };
@@ -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 './ToolbarGroupItem';
@@ -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 './makeItems';
@@ -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
+ import { ToolbarItem, ToolbarItemVariant } from '../../toolbar.types';
17
+ declare function makeItems(ids: ToolbarItemVariant[]): ToolbarItem[];
18
+ export { makeItems };
@@ -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
+ interface ClipboardControlsProps {
17
+ onCopy: () => void;
18
+ onCopyMol: () => void;
19
+ onCopyKet: () => void;
20
+ onCopyImage: () => void;
21
+ onPaste: () => void;
22
+ onCut: () => void;
23
+ disabledButtons: string[];
24
+ hiddenButtons: string[];
25
+ shortcuts: {
26
+ [key in string]: string;
27
+ };
28
+ }
29
+ export declare const ClipboardControls: ({ onCopy, onCopyMol, onCopyKet, onCopyImage, onPaste, onCut, shortcuts, disabledButtons, hiddenButtons, }: ClipboardControlsProps) => import("react/jsx-runtime").JSX.Element;
30
+ export {};
@@ -0,0 +1,8 @@
1
+ import { CustomButton } from '../../../../builders/ketcher/CustomButtons';
2
+ interface CustomButtonsProps {
3
+ customButtons: Array<CustomButton>;
4
+ isCollapsed: boolean;
5
+ onCustomAction: (name: string) => void;
6
+ }
7
+ export declare const CustomButtons: ({ isCollapsed, customButtons, onCustomAction, }: CustomButtonsProps) => import("react/jsx-runtime").JSX.Element | null;
8
+ export {};
@@ -0,0 +1,17 @@
1
+ /****************************************************************************
2
+ * Copyright 2021 EPAM Systems
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ ***************************************************************************/
16
+ export declare const Divider: () => import("react/jsx-runtime").JSX.Element;
17
+ export declare const HorizontalDivider: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,23 @@
1
+ /****************************************************************************
2
+ * Copyright 2021 EPAM Systems
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ ***************************************************************************/
16
+ /// <reference types="react" />
17
+ interface ElementWithDropdownProps {
18
+ topElement?: JSX.Element;
19
+ dropDownElements: JSX.Element[];
20
+ onToolOpen: () => void;
21
+ }
22
+ export declare const ElementWithDropdown: import("react-redux").ConnectedComponent<({ topElement, dropDownElements, onToolOpen, }: ElementWithDropdownProps) => import("react/jsx-runtime").JSX.Element, import("react-redux").Omit<ElementWithDropdownProps, "onToolOpen">>;
23
+ export {};
@@ -0,0 +1,35 @@
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
+ interface ExternalFuncProps {
17
+ isCollapsed: boolean;
18
+ onLayout: () => void;
19
+ onClean: () => void;
20
+ onAromatize: () => void;
21
+ onDearomatize: () => void;
22
+ onCalculate: () => void;
23
+ onCheck: () => void;
24
+ onAnalyse: () => void;
25
+ onMiew: () => void;
26
+ onToggleExplicitHydrogens: () => void;
27
+ disabledButtons: string[];
28
+ hiddenButtons: string[];
29
+ indigoVerification: boolean;
30
+ shortcuts: {
31
+ [key in string]: string;
32
+ };
33
+ }
34
+ export declare const ExternalFuncControls: ({ isCollapsed, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onMiew, onToggleExplicitHydrogens, disabledButtons, indigoVerification, hiddenButtons, shortcuts, }: ExternalFuncProps) => import("react/jsx-runtime").JSX.Element;
35
+ export {};
@@ -0,0 +1,10 @@
1
+ interface FileControlsProps {
2
+ onFileOpen: () => void;
3
+ onSave: () => void;
4
+ shortcuts: {
5
+ [key in string]: string;
6
+ };
7
+ hiddenButtons: string[];
8
+ }
9
+ export declare const FileControls: ({ onFileOpen, onSave, shortcuts, hiddenButtons, }: FileControlsProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -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
+ export declare class ScaleTransformer {
17
+ a: number;
18
+ b: number;
19
+ zoomList: number[];
20
+ constructor(inputMax: number);
21
+ getSliderValue(zoom: number): number;
22
+ getZoomValue(sliderValue: number): any;
23
+ private pickNearestFromList;
24
+ }