ketcher-react 2.8.0-rc.3-dev.1 → 2.8.0-rc.3-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/dist/Editor.d.ts +29 -0
  2. package/dist/constants.d.ts +17 -0
  3. package/dist/contexts/appContext.d.ts +22 -0
  4. package/dist/contexts/errorsContext.d.ts +21 -0
  5. package/dist/contexts/formContext.d.ts +18 -0
  6. package/dist/contexts/index.d.ts +21 -0
  7. package/dist/contexts/settingsContext.d.ts +21 -0
  8. package/dist/hooks/index.d.ts +21 -0
  9. package/dist/hooks/useAppContext.d.ts +16 -0
  10. package/dist/hooks/useFormContext.d.ts +16 -0
  11. package/dist/hooks/useInterval.d.ts +16 -0
  12. package/dist/hooks/useResizeObserver.d.ts +26 -0
  13. package/dist/hooks/useSettingsContext.d.ts +16 -0
  14. package/dist/hooks/useSubscribtionOnEvents.d.ts +16 -0
  15. package/dist/icons/index.d.ts +16 -0
  16. package/dist/index.css +2 -0
  17. package/dist/index.css.map +1 -0
  18. package/dist/index.d.ts +18 -0
  19. package/dist/index.js +23841 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/index.modern.js +23777 -0
  22. package/dist/index.modern.js.map +1 -0
  23. package/dist/script/api.d.ts +19 -0
  24. package/dist/script/builders/index.d.ts +16 -0
  25. package/dist/script/builders/ketcher/ButtonConfig.d.ts +18 -0
  26. package/dist/script/builders/ketcher/ButtonName.d.ts +16 -0
  27. package/dist/script/builders/ketcher/ButtonsConfig.d.ts +20 -0
  28. package/dist/script/builders/ketcher/KetcherBuilder.d.ts +29 -0
  29. package/dist/script/builders/ketcher/index.d.ts +17 -0
  30. package/dist/script/editor/Editor.d.ts +96 -0
  31. package/dist/script/editor/highlighter.d.ts +32 -0
  32. package/dist/script/editor/index.d.ts +18 -0
  33. package/dist/script/editor/shared/closest.d.ts +25 -0
  34. package/dist/script/editor/shared/utils.d.ts +19 -0
  35. package/dist/script/editor/tool/apoint.d.ts +23 -0
  36. package/dist/script/editor/tool/atom.d.ts +31 -0
  37. package/dist/script/editor/tool/attach.d.ts +24 -0
  38. package/dist/script/editor/tool/bond.d.ts +32 -0
  39. package/dist/script/editor/tool/chain.d.ts +27 -0
  40. package/dist/script/editor/tool/charge.d.ts +24 -0
  41. package/dist/script/editor/tool/enhanced-stereo.d.ts +24 -0
  42. package/dist/script/editor/tool/eraser.d.ts +31 -0
  43. package/dist/script/editor/tool/hand.d.ts +30 -0
  44. package/dist/script/editor/tool/helper/lasso.d.ts +59 -0
  45. package/dist/script/editor/tool/helper/locate.d.ts +40 -0
  46. package/dist/script/editor/tool/index.d.ts +47 -0
  47. package/dist/script/editor/tool/paste.d.ts +29 -0
  48. package/dist/script/editor/tool/reactionarrow.d.ts +27 -0
  49. package/dist/script/editor/tool/reactionmap.d.ts +28 -0
  50. package/dist/script/editor/tool/reactionplus.d.ts +26 -0
  51. package/dist/script/editor/tool/reactionunmap.d.ts +23 -0
  52. package/dist/script/editor/tool/rgroupatom.d.ts +23 -0
  53. package/dist/script/editor/tool/rgroupfragment.d.ts +24 -0
  54. package/dist/script/editor/tool/rotate.d.ts +28 -0
  55. package/dist/script/editor/tool/select.d.ts +38 -0
  56. package/dist/script/editor/tool/sgroup.d.ts +31 -0
  57. package/dist/script/editor/tool/simpleobject.d.ts +26 -0
  58. package/dist/script/editor/tool/template.d.ts +30 -0
  59. package/dist/script/editor/tool/text.d.ts +26 -0
  60. package/dist/script/editor/utils/customOnChangeHandler.d.ts +16 -0
  61. package/dist/script/editor/utils/elementOffset.d.ts +17 -0
  62. package/dist/script/editor/utils/functionalGroupsTooltip.d.ts +3 -0
  63. package/dist/script/editor/utils/index.d.ts +17 -0
  64. package/dist/script/index.d.ts +27 -0
  65. package/dist/script/ui/App/App.container.d.ts +20 -0
  66. package/dist/script/ui/App/App.d.ts +23 -0
  67. package/dist/script/ui/App/AppHidden/AppHidden.container.d.ts +19 -0
  68. package/dist/script/ui/App/AppHidden/AppHidden.d.ts +23 -0
  69. package/dist/script/ui/App/AppHidden/index.d.ts +16 -0
  70. package/dist/script/ui/App/index.d.ts +16 -0
  71. package/dist/script/ui/App/initApp.d.ts +18 -0
  72. package/dist/script/ui/Portal/Portal.d.ts +37 -0
  73. package/dist/script/ui/Portal/index.d.ts +16 -0
  74. package/dist/script/ui/action/action.types.d.ts +44 -0
  75. package/dist/script/ui/action/atoms.d.ts +40 -0
  76. package/dist/script/ui/action/copyAs.d.ts +1 -0
  77. package/dist/script/ui/action/copyImageToClipboard.d.ts +2 -0
  78. package/dist/script/ui/action/debug.d.ts +13 -0
  79. package/dist/script/ui/action/flips.d.ts +1 -0
  80. package/dist/script/ui/action/fullscreen.d.ts +23 -0
  81. package/dist/script/ui/action/functionalGroups.d.ts +31 -0
  82. package/dist/script/ui/action/help.d.ts +8 -0
  83. package/dist/script/ui/action/index.d.ts +650 -0
  84. package/dist/script/ui/action/isHidden.d.ts +16 -0
  85. package/dist/script/ui/action/server.d.ts +117 -0
  86. package/dist/script/ui/action/templates.d.ts +13 -0
  87. package/dist/script/ui/action/tools.d.ts +358 -0
  88. package/dist/script/ui/action/zoom.d.ts +25 -0
  89. package/dist/script/ui/component/ContextMenu/ContextMenu.d.ts +3 -0
  90. package/dist/script/ui/component/actionmenu.d.ts +9 -0
  91. package/dist/script/ui/component/cliparea/cliparea.d.ts +20 -0
  92. package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +8 -0
  93. package/dist/script/ui/component/form/Select/Select.d.ts +30 -0
  94. package/dist/script/ui/component/form/Select/Select.test.d.ts +1 -0
  95. package/dist/script/ui/component/form/Select/index.d.ts +17 -0
  96. package/dist/script/ui/component/form/buttonlist.d.ts +9 -0
  97. package/dist/script/ui/component/form/colorPicker/ColorPicker.d.ts +28 -0
  98. package/dist/script/ui/component/form/colorPicker/ColorPicker.test.d.ts +1 -0
  99. package/dist/script/ui/component/form/combobox/combobox.d.ts +12 -0
  100. package/dist/script/ui/component/form/form/errorPopover.d.ts +5 -0
  101. package/dist/script/ui/component/form/form/form.d.ts +25 -0
  102. package/dist/script/ui/component/form/input.d.ts +43 -0
  103. package/dist/script/ui/component/form/select-checkbox.d.ts +5 -0
  104. package/dist/script/ui/component/form/select-list.d.ts +26 -0
  105. package/dist/script/ui/component/form/systemfonts.d.ts +2 -0
  106. package/dist/script/ui/component/structrender.d.ts +33 -0
  107. package/dist/script/ui/component/view/Atom/Atom.d.ts +7 -0
  108. package/dist/script/ui/component/view/Atom/index.d.ts +16 -0
  109. package/dist/script/ui/component/view/Tabs/Tabs.d.ts +9 -0
  110. package/dist/script/ui/component/view/Tabs/index.d.ts +16 -0
  111. package/dist/script/ui/component/view/icon.d.ts +5 -0
  112. package/dist/script/ui/component/view/openbutton.d.ts +9 -0
  113. package/dist/script/ui/component/view/savebutton.d.ts +32 -0
  114. package/dist/script/ui/data/convert/keynorm.d.ts +6 -0
  115. package/dist/script/ui/data/convert/structConverter.d.ts +17 -0
  116. package/dist/script/ui/data/convert/structconv.d.ts +24 -0
  117. package/dist/script/ui/data/schema/options-schema.d.ts +26 -0
  118. package/dist/script/ui/data/schema/schema-helper.d.ts +2 -0
  119. package/dist/script/ui/data/schema/sdata-schema.d.ts +58 -0
  120. package/dist/script/ui/data/schema/struct-schema.d.ts +301 -0
  121. package/dist/script/ui/data/templates.d.ts +2 -0
  122. package/dist/script/ui/dialog/index.d.ts +17 -0
  123. package/dist/script/ui/dialog/template/EmptySearchResult.d.ts +20 -0
  124. package/dist/script/ui/dialog/template/TemplateDialog.d.ts +44 -0
  125. package/dist/script/ui/dialog/template/TemplateTable.d.ts +39 -0
  126. package/dist/script/ui/dialog/template/template-attach.d.ts +28 -0
  127. package/dist/script/ui/dialog/template/useSaltsAndSolvets.d.ts +2 -0
  128. package/dist/script/ui/dialog/toolbox/enhancedStereo/enhancedStereo.d.ts +44 -0
  129. package/dist/script/ui/dialog/toolbox/labeledit.d.ts +3 -0
  130. package/dist/script/ui/dialog/toolbox/rgroup/rgroup.d.ts +15 -0
  131. package/dist/script/ui/dialog/toolbox/sdata.d.ts +19 -0
  132. package/dist/script/ui/dialog/toolbox/sgroup.d.ts +9 -0
  133. package/dist/script/ui/index.d.ts +16 -0
  134. package/dist/script/ui/state/action/index.d.ts +7 -0
  135. package/dist/script/ui/state/constants.d.ts +7 -0
  136. package/dist/script/ui/state/editor/index.d.ts +27 -0
  137. package/dist/script/ui/state/functionalGroups/index.d.ts +25 -0
  138. package/dist/script/ui/state/functionalGroups/selectors/index.d.ts +18 -0
  139. package/dist/script/ui/state/handleHotkeysOverAtom.d.ts +7 -0
  140. package/dist/script/ui/state/hotkeys.d.ts +23 -0
  141. package/dist/script/ui/state/index.d.ts +6 -0
  142. package/dist/script/ui/state/modal/atoms.d.ts +13 -0
  143. package/dist/script/ui/state/modal/form.d.ts +164 -0
  144. package/dist/script/ui/state/modal/index.d.ts +3 -0
  145. package/dist/script/ui/state/modal/sdata.d.ts +16 -0
  146. package/dist/script/ui/state/options/index.d.ts +68 -0
  147. package/dist/script/ui/state/request/index.d.ts +22 -0
  148. package/dist/script/ui/state/request/reducer.test.d.ts +16 -0
  149. package/dist/script/ui/state/request/request.types.d.ts +27 -0
  150. package/dist/script/ui/state/saltsAndSolvents/index.d.ts +23 -0
  151. package/dist/script/ui/state/saltsAndSolvents/selectors/index.d.ts +16 -0
  152. package/dist/script/ui/state/server/index.d.ts +7 -0
  153. package/dist/script/ui/state/shared.d.ts +19 -0
  154. package/dist/script/ui/state/templates/index.d.ts +77 -0
  155. package/dist/script/ui/state/templates/init-lib.d.ts +8 -0
  156. package/dist/script/ui/state/toolbar/index.d.ts +33 -0
  157. package/dist/script/ui/storage-ext.d.ts +9 -0
  158. package/dist/script/ui/utils/fileOpener.d.ts +16 -0
  159. package/dist/script/ui/utils/index.d.ts +15 -0
  160. package/dist/script/ui/utils/renderStruct.d.ts +9 -0
  161. package/dist/script/ui/utils/settingsManager.d.ts +25 -0
  162. package/dist/script/ui/views/AppClipArea.d.ts +18 -0
  163. package/dist/script/ui/views/Editor.d.ts +3 -0
  164. package/dist/script/ui/views/components/ContextMenu/ContextMenu.d.ts +20 -0
  165. package/dist/script/ui/views/components/ContextMenu/ContextMenuTrigger.d.ts +18 -0
  166. package/dist/script/ui/views/components/ContextMenu/contextMenu.types.d.ts +8 -0
  167. package/dist/script/ui/views/components/ContextMenu/index.d.ts +2 -0
  168. package/dist/script/ui/views/components/ContextMenu/items/AtomBatchOperations.d.ts +20 -0
  169. package/dist/script/ui/views/components/ContextMenu/items/AtomSingleOperations.d.ts +19 -0
  170. package/dist/script/ui/views/components/ContextMenu/items/BatchDelete.d.ts +3 -0
  171. package/dist/script/ui/views/components/ContextMenu/items/BondBatchOperations.d.ts +20 -0
  172. package/dist/script/ui/views/components/ContextMenu/items/BondSingleOperations.d.ts +19 -0
  173. package/dist/script/ui/views/components/ContextMenu/items/utils.d.ts +27 -0
  174. package/dist/script/ui/views/components/Cursor.d.ts +6 -0
  175. package/dist/script/ui/views/components/Dialog/Dialog.d.ts +45 -0
  176. package/dist/script/ui/views/components/Dialog/index.d.ts +16 -0
  177. package/dist/script/ui/views/components/Spinner/LoadingCircles.d.ts +17 -0
  178. package/dist/script/ui/views/components/Spinner/index.d.ts +16 -0
  179. package/dist/script/ui/views/components/StructEditor/InfoPanel.d.ts +29 -0
  180. package/dist/script/ui/views/components/StructEditor/StructEditor.d.ts +19 -0
  181. package/dist/script/ui/views/components/StructEditor/index.d.ts +16 -0
  182. package/dist/script/ui/views/components/index.d.ts +19 -0
  183. package/dist/script/ui/views/modal/Modal.container.d.ts +19 -0
  184. package/dist/script/ui/views/modal/Modal.d.ts +28 -0
  185. package/dist/script/ui/views/modal/components/Confirm/Confirm.d.ts +7 -0
  186. package/dist/script/ui/views/modal/components/Confirm/index.d.ts +1 -0
  187. package/dist/script/ui/views/modal/components/ExtendedTable/ExtendedTable.d.ts +2 -0
  188. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/BoxWithLines.d.ts +18 -0
  189. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenGroup.d.ts +24 -0
  190. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenSet.d.ts +26 -0
  191. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/GenericGroups.d.ts +22 -0
  192. package/dist/script/ui/views/modal/components/ExtendedTable/components/GenericGroups/index.d.ts +27 -0
  193. package/dist/script/ui/views/modal/components/ExtendedTable/helpers.d.ts +1 -0
  194. package/dist/script/ui/views/modal/components/ExtendedTable/index.d.ts +1 -0
  195. package/dist/script/ui/views/modal/components/PeriodTable/PeriodTable.d.ts +37 -0
  196. package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/AtomInfo.d.ts +5 -0
  197. package/dist/script/ui/views/modal/components/PeriodTable/components/AtomInfo/index.d.ts +16 -0
  198. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/ElementsTable.d.ts +9 -0
  199. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/Header.d.ts +2 -0
  200. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/MainRow.d.ts +11 -0
  201. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/OutinerRow.d.ts +10 -0
  202. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/components/index.d.ts +19 -0
  203. package/dist/script/ui/views/modal/components/PeriodTable/components/ElementsTable/index.d.ts +16 -0
  204. package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/TypeChoice.d.ts +6 -0
  205. package/dist/script/ui/views/modal/components/PeriodTable/components/TypeChoice/index.d.ts +16 -0
  206. package/dist/script/ui/views/modal/components/PeriodTable/components/index.d.ts +20 -0
  207. package/dist/script/ui/views/modal/components/PeriodTable/index.d.ts +16 -0
  208. package/dist/script/ui/views/modal/components/Text/FontControl/FontControl.d.ts +22 -0
  209. package/dist/script/ui/views/modal/components/Text/FontControl/index.d.ts +16 -0
  210. package/dist/script/ui/views/modal/components/Text/SpecialSymbols/SpecialSymbolsButton.d.ts +22 -0
  211. package/dist/script/ui/views/modal/components/Text/SpecialSymbolsList/SpecialSymbolsList.d.ts +20 -0
  212. package/dist/script/ui/views/modal/components/Text/Text.d.ts +26 -0
  213. package/dist/script/ui/views/modal/components/Text/TextButton/TextButton.d.ts +30 -0
  214. package/dist/script/ui/views/modal/components/Text/TextButton/index.d.ts +16 -0
  215. package/dist/script/ui/views/modal/components/Text/index.d.ts +16 -0
  216. package/dist/script/ui/views/modal/components/document/Open/Open.container.d.ts +26 -0
  217. package/dist/script/ui/views/modal/components/document/Open/Open.d.ts +29 -0
  218. package/dist/script/ui/views/modal/components/document/Open/components/AnalyzingFile.d.ts +20 -0
  219. package/dist/script/ui/views/modal/components/document/Open/components/DialogActionButton.d.ts +25 -0
  220. package/dist/script/ui/views/modal/components/document/Open/components/FileDrop.d.ts +26 -0
  221. package/dist/script/ui/views/modal/components/document/Open/components/OpenOptions.d.ts +24 -0
  222. package/dist/script/ui/views/modal/components/document/Open/components/TextEditor.d.ts +22 -0
  223. package/dist/script/ui/views/modal/components/document/Open/components/ViewSwitcher.d.ts +31 -0
  224. package/dist/script/ui/views/modal/components/document/Open/index.d.ts +16 -0
  225. package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +44 -0
  226. package/dist/script/ui/views/modal/components/document/Save/index.d.ts +16 -0
  227. package/dist/script/ui/views/modal/components/document/index.d.ts +18 -0
  228. package/dist/script/ui/views/modal/components/meta/About/About.d.ts +3 -0
  229. package/dist/script/ui/views/modal/components/meta/About/index.d.ts +16 -0
  230. package/dist/script/ui/views/modal/components/meta/Settings/Accordion/Accordion.d.ts +22 -0
  231. package/dist/script/ui/views/modal/components/meta/Settings/Accordion/index.d.ts +16 -0
  232. package/dist/script/ui/views/modal/components/meta/Settings/Settings.d.ts +38 -0
  233. package/dist/script/ui/views/modal/components/meta/Settings/fieldGroups.d.ts +41 -0
  234. package/dist/script/ui/views/modal/components/meta/Settings/index.d.ts +16 -0
  235. package/dist/script/ui/views/modal/components/meta/index.d.ts +18 -0
  236. package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +10 -0
  237. package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/FormulaInput.d.ts +5 -0
  238. package/dist/script/ui/views/modal/components/process/Analyse/components/FormulaInput/index.d.ts +16 -0
  239. package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/FrozenInput.d.ts +19 -0
  240. package/dist/script/ui/views/modal/components/process/Analyse/components/FrozenInput/index.d.ts +16 -0
  241. package/dist/script/ui/views/modal/components/process/Analyse/components/index.d.ts +18 -0
  242. package/dist/script/ui/views/modal/components/process/Analyse/index.d.ts +16 -0
  243. package/dist/script/ui/views/modal/components/process/Check/Check.d.ts +3 -0
  244. package/dist/script/ui/views/modal/components/process/Check/components/ErrorsCheck.d.ts +17 -0
  245. package/dist/script/ui/views/modal/components/process/Check/components/index.d.ts +16 -0
  246. package/dist/script/ui/views/modal/components/process/Check/index.d.ts +16 -0
  247. package/dist/script/ui/views/modal/components/process/Miew/Miew.d.ts +31 -0
  248. package/dist/script/ui/views/modal/components/process/Miew/index.d.ts +16 -0
  249. package/dist/script/ui/views/modal/components/process/Recognize/Recognize.d.ts +3 -0
  250. package/dist/script/ui/views/modal/components/process/Recognize/index.d.ts +16 -0
  251. package/dist/script/ui/views/modal/components/process/index.d.ts +20 -0
  252. package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +24 -0
  253. package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +38 -0
  254. package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/ElementNumber.d.ts +22 -0
  255. package/dist/script/ui/views/modal/components/toolbox/Atom/ElementNumber/index.d.ts +16 -0
  256. package/dist/script/ui/views/modal/components/toolbox/Atom/index.d.ts +16 -0
  257. package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.container.d.ts +18 -0
  258. package/dist/script/ui/views/modal/components/toolbox/Attach/Attach.d.ts +25 -0
  259. package/dist/script/ui/views/modal/components/toolbox/Attach/index.d.ts +16 -0
  260. package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.container.d.ts +19 -0
  261. package/dist/script/ui/views/modal/components/toolbox/Automap/Automap.d.ts +33 -0
  262. package/dist/script/ui/views/modal/components/toolbox/Automap/index.d.ts +16 -0
  263. package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.container.d.ts +18 -0
  264. package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +26 -0
  265. package/dist/script/ui/views/modal/components/toolbox/Bond/index.d.ts +16 -0
  266. package/dist/script/ui/views/modal/components/toolbox/FG/RemoveFG.d.ts +24 -0
  267. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.container.d.ts +18 -0
  268. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/RgroupLogic.d.ts +30 -0
  269. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/IfThenSelect.d.ts +20 -0
  270. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/IfThenSelect/index.d.ts +16 -0
  271. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/components/index.d.ts +16 -0
  272. package/dist/script/ui/views/modal/components/toolbox/RgroupLogic/index.d.ts +16 -0
  273. package/dist/script/ui/views/modal/components/toolbox/index.d.ts +21 -0
  274. package/dist/script/ui/views/modal/index.d.ts +16 -0
  275. package/dist/script/ui/views/modal/mediaSizes.d.ts +20 -0
  276. package/dist/script/ui/views/modal/modal.types.d.ts +28 -0
  277. package/dist/script/ui/views/toolbars/ArrowScroll/ArrowScroll.d.ts +24 -0
  278. package/dist/script/ui/views/toolbars/ArrowScroll/index.d.ts +2 -0
  279. package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.container.d.ts +20 -0
  280. package/dist/script/ui/views/toolbars/BottomToolbar/BottomToolbar.d.ts +29 -0
  281. package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/TemplatesList.d.ts +34 -0
  282. package/dist/script/ui/views/toolbars/BottomToolbar/TemplatesList/index.d.ts +16 -0
  283. package/dist/script/ui/views/toolbars/BottomToolbar/index.d.ts +16 -0
  284. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/Bond.d.ts +25 -0
  285. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/index.d.ts +16 -0
  286. package/dist/script/ui/views/toolbars/LeftToolbar/Bond/options.d.ts +24 -0
  287. package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.container.d.ts +19 -0
  288. package/dist/script/ui/views/toolbars/LeftToolbar/LeftToolbar.d.ts +25 -0
  289. package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/RGroup.d.ts +25 -0
  290. package/dist/script/ui/views/toolbars/LeftToolbar/RGroup/index.d.ts +16 -0
  291. package/dist/script/ui/views/toolbars/LeftToolbar/Shape/Shape.d.ts +25 -0
  292. package/dist/script/ui/views/toolbars/LeftToolbar/Shape/index.d.ts +16 -0
  293. package/dist/script/ui/views/toolbars/LeftToolbar/Transform/Transform.d.ts +25 -0
  294. package/dist/script/ui/views/toolbars/LeftToolbar/Transform/index.d.ts +16 -0
  295. package/dist/script/ui/views/toolbars/LeftToolbar/index.d.ts +16 -0
  296. package/dist/script/ui/views/toolbars/LeftToolbar/leftToolbarOptions.d.ts +9 -0
  297. package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/AtomsList.d.ts +32 -0
  298. package/dist/script/ui/views/toolbars/RightToolbar/AtomsList/index.d.ts +16 -0
  299. package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.container.d.ts +21 -0
  300. package/dist/script/ui/views/toolbars/RightToolbar/RightToolbar.d.ts +30 -0
  301. package/dist/script/ui/views/toolbars/RightToolbar/index.d.ts +16 -0
  302. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/ActionButton.d.ts +36 -0
  303. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ActionButton/index.d.ts +16 -0
  304. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarGroupItem.d.ts +36 -0
  305. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/ToolbarMultiToolItem.d.ts +41 -0
  306. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/index.d.ts +16 -0
  307. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalOpening.d.ts +19 -0
  308. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/usePortalStyle.d.ts +19 -0
  309. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/DefaultMultiTool.d.ts +23 -0
  310. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/DefaultMultiTool/index.d.ts +18 -0
  311. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/GroupedMultiTool.d.ts +23 -0
  312. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/GroupedMultiTool/index.d.ts +16 -0
  313. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/chooseMultiTool.d.ts +18 -0
  314. package/dist/script/ui/views/toolbars/ToolbarGroupItem/ToolbarMultiToolItem/variants/variants.types.d.ts +35 -0
  315. package/dist/script/ui/views/toolbars/ToolbarGroupItem/index.d.ts +16 -0
  316. package/dist/script/ui/views/toolbars/ToolbarGroupItem/utils/index.d.ts +16 -0
  317. package/dist/script/ui/views/toolbars/ToolbarGroupItem/utils/makeItems.d.ts +18 -0
  318. package/dist/script/ui/views/toolbars/TopToolbar/ClipboardControls.d.ts +31 -0
  319. package/dist/script/ui/views/toolbars/TopToolbar/Divider.d.ts +17 -0
  320. package/dist/script/ui/views/toolbars/TopToolbar/ElementWithDropdown.d.ts +23 -0
  321. package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +35 -0
  322. package/dist/script/ui/views/toolbars/TopToolbar/FileControls.d.ts +26 -0
  323. package/dist/script/ui/views/toolbars/TopToolbar/IconButton.d.ts +26 -0
  324. package/dist/script/ui/views/toolbars/TopToolbar/ScaleTransformer.d.ts +24 -0
  325. package/dist/script/ui/views/toolbars/TopToolbar/SystemControls.d.ts +28 -0
  326. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +18 -0
  327. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +55 -0
  328. package/dist/script/ui/views/toolbars/TopToolbar/UndoRedo.d.ts +27 -0
  329. package/dist/script/ui/views/toolbars/TopToolbar/ZoomControls.d.ts +29 -0
  330. package/dist/script/ui/views/toolbars/TopToolbar/ZoomInput.d.ts +26 -0
  331. package/dist/script/ui/views/toolbars/TopToolbar/ZoomList.d.ts +23 -0
  332. package/dist/script/ui/views/toolbars/TopToolbar/ZoomSlider.d.ts +22 -0
  333. package/dist/script/ui/views/toolbars/TopToolbar/index.d.ts +16 -0
  334. package/dist/script/ui/views/toolbars/index.d.ts +19 -0
  335. package/dist/script/ui/views/toolbars/mediaSizes.d.ts +23 -0
  336. package/dist/script/ui/views/toolbars/shortcutStr.d.ts +1 -0
  337. package/dist/script/ui/views/toolbars/toolbar.types.d.ts +32 -0
  338. package/package.json +1 -1
@@ -0,0 +1,650 @@
1
+ export * from "./action.types";
2
+ export default config;
3
+ declare const config: {
4
+ help: {
5
+ shortcut: string[];
6
+ action: () => void | undefined;
7
+ hidden: (options: any) => boolean;
8
+ };
9
+ fullscreen: {
10
+ title: string;
11
+ action: () => void;
12
+ hidden: (options: any) => boolean;
13
+ };
14
+ 'functional-groups': {
15
+ shortcut: string;
16
+ title: string;
17
+ action: {
18
+ dialog: string;
19
+ prop: {
20
+ tab: number;
21
+ };
22
+ };
23
+ selected: (editor: any) => boolean;
24
+ disabled: (_: any, __: any, options: any) => boolean;
25
+ hidden: (options: any) => boolean;
26
+ };
27
+ 'template-lib': {
28
+ shortcut: string;
29
+ title: string;
30
+ action: {
31
+ dialog: string;
32
+ };
33
+ selected: (editor: any) => boolean;
34
+ disabled: (editor: any, server: any, options: any) => boolean;
35
+ hidden: (options: any) => boolean;
36
+ };
37
+ zoom: {
38
+ selected: (editor: any) => any;
39
+ hidden: (options: any) => boolean;
40
+ };
41
+ 'zoom-out': {
42
+ shortcut: string[];
43
+ title: string;
44
+ disabled: (editor: any) => boolean;
45
+ action: (editor: any) => void;
46
+ hidden: (options: any) => boolean;
47
+ };
48
+ 'zoom-in': {
49
+ shortcut: string[];
50
+ title: string;
51
+ disabled: (editor: any) => boolean;
52
+ action: (editor: any) => void;
53
+ hidden: (options: any) => boolean;
54
+ };
55
+ 'zoom-list': {
56
+ hidden: (options: any) => boolean;
57
+ };
58
+ hand: {
59
+ title: string;
60
+ shortcut: string;
61
+ action: {
62
+ tool: string;
63
+ };
64
+ hidden: (options: any) => boolean;
65
+ };
66
+ 'select-lasso': {
67
+ title: string;
68
+ shortcut: string;
69
+ action: {
70
+ tool: string;
71
+ opts: string;
72
+ };
73
+ };
74
+ 'select-rectangle': {
75
+ title: string;
76
+ shortcut: string;
77
+ action: {
78
+ tool: string;
79
+ opts: string;
80
+ };
81
+ hidden: (options: any) => boolean;
82
+ };
83
+ 'select-fragment': {
84
+ title: string;
85
+ shortcut: string;
86
+ action: {
87
+ tool: string;
88
+ opts: string;
89
+ };
90
+ hidden: (options: any) => boolean;
91
+ };
92
+ erase: {
93
+ title: string;
94
+ shortcut: string[];
95
+ action: {
96
+ tool: string;
97
+ opts: number;
98
+ };
99
+ hidden: (options: any) => boolean;
100
+ };
101
+ chain: {
102
+ title: string;
103
+ action: {
104
+ tool: string;
105
+ };
106
+ hidden: (options: any) => boolean;
107
+ };
108
+ 'enhanced-stereo': {
109
+ shortcut: string;
110
+ title: string;
111
+ action: {
112
+ tool: string;
113
+ };
114
+ disabled: (editor: any) => boolean;
115
+ hidden: (options: any) => boolean;
116
+ };
117
+ 'charge-plus': {
118
+ shortcut: string;
119
+ title: string;
120
+ action: {
121
+ tool: string;
122
+ opts: number;
123
+ };
124
+ hidden: (options: any) => boolean;
125
+ };
126
+ 'charge-minus': {
127
+ shortcut: string;
128
+ title: string;
129
+ action: {
130
+ tool: string;
131
+ opts: number;
132
+ };
133
+ hidden: (options: any) => boolean;
134
+ };
135
+ transforms: {
136
+ hidden: (options: any) => boolean;
137
+ };
138
+ 'transform-rotate': {
139
+ shortcut: string;
140
+ title: string;
141
+ action: {
142
+ tool: string;
143
+ };
144
+ hidden: (options: any) => boolean;
145
+ };
146
+ 'transform-flip-h': {
147
+ shortcut: string;
148
+ title: string;
149
+ action: {
150
+ tool: string;
151
+ opts: string;
152
+ };
153
+ disabled: typeof import("./flips").isFlipDisabled;
154
+ hidden: (options: any) => boolean;
155
+ };
156
+ 'transform-flip-v': {
157
+ shortcut: string;
158
+ title: string;
159
+ action: {
160
+ tool: string;
161
+ opts: string;
162
+ };
163
+ disabled: typeof import("./flips").isFlipDisabled;
164
+ hidden: (options: any) => boolean;
165
+ };
166
+ sgroup: {
167
+ shortcut: string;
168
+ title: string;
169
+ action: {
170
+ tool: string;
171
+ };
172
+ hidden: (options: any) => boolean;
173
+ };
174
+ 'sgroup-data': {
175
+ shortcut: string;
176
+ title: string;
177
+ action: {
178
+ tool: string;
179
+ opts: string;
180
+ };
181
+ hidden: (options: any) => boolean;
182
+ };
183
+ arrows: {
184
+ hidden: (options: any) => boolean;
185
+ };
186
+ 'reaction-arrow-open-angle': {
187
+ title: string;
188
+ action: {
189
+ tool: string;
190
+ opts: import("ketcher-core").RxnArrowMode;
191
+ };
192
+ hidden: (options: any) => boolean;
193
+ };
194
+ 'reaction-arrow-filled-triangle': {
195
+ title: string;
196
+ action: {
197
+ tool: string;
198
+ opts: import("ketcher-core").RxnArrowMode;
199
+ };
200
+ hidden: (options: any) => boolean;
201
+ };
202
+ 'reaction-arrow-filled-bow': {
203
+ title: string;
204
+ action: {
205
+ tool: string;
206
+ opts: import("ketcher-core").RxnArrowMode;
207
+ };
208
+ hidden: (options: any) => boolean;
209
+ };
210
+ 'reaction-arrow-dashed-open-angle': {
211
+ title: string;
212
+ action: {
213
+ tool: string;
214
+ opts: import("ketcher-core").RxnArrowMode;
215
+ };
216
+ hidden: (options: any) => boolean;
217
+ };
218
+ 'reaction-arrow-failed': {
219
+ title: string;
220
+ action: {
221
+ tool: string;
222
+ opts: import("ketcher-core").RxnArrowMode;
223
+ };
224
+ hidden: (options: any) => boolean;
225
+ };
226
+ 'reaction-arrow-both-ends-filled-triangle': {
227
+ title: string;
228
+ action: {
229
+ tool: string;
230
+ opts: import("ketcher-core").RxnArrowMode;
231
+ };
232
+ hidden: (options: any) => boolean;
233
+ };
234
+ 'reaction-arrow-equilibrium-filled-half-bow': {
235
+ title: string;
236
+ action: {
237
+ tool: string;
238
+ opts: import("ketcher-core").RxnArrowMode;
239
+ };
240
+ hidden: (options: any) => boolean;
241
+ };
242
+ 'reaction-arrow-equilibrium-filled-triangle': {
243
+ title: string;
244
+ action: {
245
+ tool: string;
246
+ opts: import("ketcher-core").RxnArrowMode;
247
+ };
248
+ hidden: (options: any) => boolean;
249
+ };
250
+ 'reaction-arrow-equilibrium-open-angle': {
251
+ title: string;
252
+ action: {
253
+ tool: string;
254
+ opts: import("ketcher-core").RxnArrowMode;
255
+ };
256
+ hidden: (options: any) => boolean;
257
+ };
258
+ 'reaction-arrow-unbalanced-equilibrium-filled-half-bow': {
259
+ title: string;
260
+ action: {
261
+ tool: string;
262
+ opts: import("ketcher-core").RxnArrowMode;
263
+ };
264
+ hidden: (options: any) => boolean;
265
+ };
266
+ 'reaction-arrow-unbalanced-equilibrium-open-half-angle': {
267
+ title: string;
268
+ action: {
269
+ tool: string;
270
+ opts: import("ketcher-core").RxnArrowMode;
271
+ };
272
+ hidden: (options: any) => boolean;
273
+ };
274
+ 'reaction-arrow-unbalanced-equilibrium-large-filled-half-bow': {
275
+ title: string;
276
+ action: {
277
+ tool: string;
278
+ opts: import("ketcher-core").RxnArrowMode;
279
+ };
280
+ hidden: (options: any) => boolean;
281
+ };
282
+ 'reaction-arrow-unbalanced-equilibrium-filled-half-triangle': {
283
+ title: string;
284
+ action: {
285
+ tool: string;
286
+ opts: import("ketcher-core").RxnArrowMode;
287
+ };
288
+ hidden: (options: any) => boolean;
289
+ };
290
+ 'reaction-arrow-elliptical-arc-arrow-filled-bow': {
291
+ title: string;
292
+ action: {
293
+ tool: string;
294
+ opts: import("ketcher-core").RxnArrowMode;
295
+ };
296
+ hidden: (options: any) => boolean;
297
+ };
298
+ 'reaction-arrow-elliptical-arc-arrow-filled-triangle': {
299
+ title: string;
300
+ action: {
301
+ tool: string;
302
+ opts: import("ketcher-core").RxnArrowMode;
303
+ };
304
+ hidden: (options: any) => boolean;
305
+ };
306
+ 'reaction-arrow-elliptical-arc-arrow-open-angle': {
307
+ title: string;
308
+ action: {
309
+ tool: string;
310
+ opts: import("ketcher-core").RxnArrowMode;
311
+ };
312
+ hidden: (options: any) => boolean;
313
+ };
314
+ 'reaction-arrow-elliptical-arc-arrow-open-half-angle': {
315
+ title: string;
316
+ action: {
317
+ tool: string;
318
+ opts: import("ketcher-core").RxnArrowMode;
319
+ };
320
+ hidden: (options: any) => boolean;
321
+ };
322
+ 'reaction-plus': {
323
+ title: string;
324
+ action: {
325
+ tool: string;
326
+ };
327
+ hidden: (options: any) => boolean;
328
+ };
329
+ 'reaction-mapping-tools': {
330
+ hidden: (options: any) => boolean;
331
+ };
332
+ 'reaction-map': {
333
+ title: string;
334
+ action: {
335
+ tool: string;
336
+ };
337
+ hidden: (options: any) => boolean;
338
+ };
339
+ 'reaction-unmap': {
340
+ title: string;
341
+ action: {
342
+ tool: string;
343
+ };
344
+ hidden: (options: any) => boolean;
345
+ };
346
+ rgroup: {
347
+ hidden: (options: any) => boolean;
348
+ };
349
+ 'rgroup-label': {
350
+ shortcut: string;
351
+ title: string;
352
+ action: {
353
+ tool: string;
354
+ };
355
+ hidden: (options: any) => boolean;
356
+ };
357
+ 'rgroup-fragment': {
358
+ shortcut: string[];
359
+ title: string;
360
+ action: {
361
+ tool: string;
362
+ };
363
+ hidden: (options: any) => boolean;
364
+ };
365
+ 'rgroup-attpoints': {
366
+ shortcut: string;
367
+ title: string;
368
+ action: {
369
+ tool: string;
370
+ };
371
+ hidden: (options: any) => boolean;
372
+ };
373
+ shapes: {
374
+ hidden: (options: any) => boolean;
375
+ };
376
+ 'shape-ellipse': {
377
+ title: string;
378
+ action: {
379
+ tool: string;
380
+ opts: import("ketcher-core").SimpleObjectMode;
381
+ };
382
+ hidden: (options: any) => boolean;
383
+ };
384
+ 'shape-rectangle': {
385
+ title: string;
386
+ action: {
387
+ tool: string;
388
+ opts: import("ketcher-core").SimpleObjectMode;
389
+ };
390
+ hidden: (options: any) => boolean;
391
+ };
392
+ 'shape-line': {
393
+ title: string;
394
+ action: {
395
+ tool: string;
396
+ opts: import("ketcher-core").SimpleObjectMode;
397
+ };
398
+ hidden: (options: any) => boolean;
399
+ };
400
+ text: {
401
+ title: string;
402
+ action: {
403
+ tool: string;
404
+ };
405
+ hidden: (options: any) => boolean;
406
+ };
407
+ bonds: {
408
+ hidden: (options: any) => boolean;
409
+ };
410
+ 'force-update': {
411
+ shortcut: string;
412
+ action: (editor: any) => void;
413
+ hidden: (options: any) => boolean;
414
+ };
415
+ 'qs-serialize': {
416
+ shortcut: string;
417
+ action: (editor: any) => void;
418
+ };
419
+ hidden: (options: any) => boolean;
420
+ layout: {
421
+ shortcut: string;
422
+ title: string;
423
+ action: {
424
+ thunk: (dispatch: any, getState: any) => void;
425
+ };
426
+ disabled: (editor: any, server: any, options: any) => boolean;
427
+ hidden: (options: any) => boolean;
428
+ };
429
+ clean: {
430
+ shortcut: string;
431
+ title: string;
432
+ action: {
433
+ thunk: (dispatch: any, getState: any) => void;
434
+ };
435
+ disabled: (editor: any, server: any, options: any) => boolean;
436
+ hidden: (options: any) => boolean;
437
+ };
438
+ arom: {
439
+ title: string;
440
+ action: {
441
+ thunk: (dispatch: any, getState: any) => void;
442
+ };
443
+ disabled: (editor: any, server: any, options: any) => boolean;
444
+ hidden: (options: any) => boolean;
445
+ };
446
+ dearom: {
447
+ title: string;
448
+ action: {
449
+ thunk: (dispatch: any, getState: any) => void;
450
+ };
451
+ disabled: (editor: any, server: any, options: any) => boolean;
452
+ hidden: (options: any) => boolean;
453
+ };
454
+ cip: {
455
+ shortcut: string;
456
+ title: string;
457
+ action: {
458
+ thunk: (dispatch: any, getState: any) => void;
459
+ };
460
+ disabled: (editor: any, server: any, options: any) => boolean;
461
+ hidden: (options: any) => boolean;
462
+ };
463
+ check: {
464
+ title: string;
465
+ action: {
466
+ dialog: string;
467
+ };
468
+ disabled: (editor: any, server: any, options: any) => boolean;
469
+ hidden: (options: any) => boolean;
470
+ };
471
+ analyse: {
472
+ title: string;
473
+ action: {
474
+ dialog: string;
475
+ };
476
+ disabled: (editor: any, server: any, options: any) => boolean;
477
+ hidden: (options: any) => boolean;
478
+ };
479
+ recognize: {
480
+ title: string;
481
+ action: {
482
+ dialog: string;
483
+ };
484
+ disabled: (editor: any, server: any, options: any) => boolean;
485
+ hidden: (options: any) => boolean;
486
+ };
487
+ miew: {
488
+ title: string;
489
+ action: {
490
+ dialog: string;
491
+ };
492
+ hidden: (options: any) => boolean;
493
+ };
494
+ clear: {
495
+ shortcut: string;
496
+ title: string;
497
+ action: {
498
+ thunk: (dispatch: any, getState: any) => void;
499
+ };
500
+ hidden: (options: any) => boolean;
501
+ };
502
+ open: {
503
+ shortcut: string;
504
+ title: string;
505
+ action: {
506
+ dialog: string;
507
+ };
508
+ hidden: (options: any) => boolean;
509
+ };
510
+ save: {
511
+ shortcut: string;
512
+ title: string;
513
+ action: {
514
+ dialog: string;
515
+ };
516
+ hidden: (options: any) => boolean;
517
+ };
518
+ undo: {
519
+ shortcut: string;
520
+ title: string;
521
+ action: (editor: any) => void;
522
+ disabled: (editor: any) => boolean;
523
+ hidden: (options: any) => boolean;
524
+ };
525
+ redo: {
526
+ shortcut: string[];
527
+ title: string;
528
+ action: (editor: any) => void;
529
+ disabled: (editor: any) => boolean;
530
+ hidden: (options: any) => boolean;
531
+ };
532
+ cut: {
533
+ shortcut: string;
534
+ title: string;
535
+ action: (editor: any) => void;
536
+ disabled: (editor: any) => boolean;
537
+ hidden: (options: any) => boolean;
538
+ };
539
+ copies: {
540
+ disabled: (editor: any) => boolean;
541
+ hidden: (options: any) => boolean;
542
+ };
543
+ copy: {
544
+ shortcut: string;
545
+ title: string;
546
+ action: (editor: any) => void;
547
+ disabled: (editor: any) => boolean;
548
+ hidden: (options: any) => boolean;
549
+ };
550
+ 'copy-image': {
551
+ shortcut: string;
552
+ title: string;
553
+ action: () => void;
554
+ disabled: (editor: any) => boolean;
555
+ hidden: (options: any) => boolean;
556
+ };
557
+ 'copy-mol': {
558
+ shortcut: string;
559
+ title: string;
560
+ action: () => void;
561
+ disabled: (editor: any) => boolean;
562
+ hidden: (options: any) => boolean;
563
+ };
564
+ 'copy-ket': {
565
+ shortcut: string;
566
+ title: string;
567
+ action: () => void;
568
+ disabled: (editor: any) => boolean;
569
+ hidden: (options: any) => boolean;
570
+ };
571
+ paste: {
572
+ shortcut: string;
573
+ title: string;
574
+ action: (editor: any) => void;
575
+ selected: ({ actions }: {
576
+ actions: any;
577
+ }) => any;
578
+ hidden: (options: any) => boolean;
579
+ };
580
+ settings: {
581
+ title: string;
582
+ action: {
583
+ dialog: string;
584
+ };
585
+ hidden: (options: any) => boolean;
586
+ };
587
+ about: {
588
+ title: string;
589
+ action: {
590
+ dialog: string;
591
+ };
592
+ hidden: (options: any) => boolean;
593
+ };
594
+ 'reaction-automap': {
595
+ title: string;
596
+ action: {
597
+ dialog: string;
598
+ };
599
+ hidden: (options: any) => boolean;
600
+ disabled: (editor: any, server: any, options: any) => boolean;
601
+ };
602
+ 'period-table': {
603
+ title: string;
604
+ action: {
605
+ dialog: string;
606
+ };
607
+ hidden: (options: any) => boolean;
608
+ };
609
+ 'extended-table': {
610
+ title: string;
611
+ action: {
612
+ dialog: string;
613
+ };
614
+ hidden: (options: any) => boolean;
615
+ };
616
+ 'select-all': {
617
+ title: string;
618
+ shortcut: string;
619
+ action: {
620
+ thunk: (dispatch: any, getState: any) => void;
621
+ };
622
+ hidden: (options: any) => boolean;
623
+ };
624
+ 'deselect-all': {
625
+ title: string;
626
+ shortcut: string;
627
+ action: (editor: any) => void;
628
+ hidden: (options: any) => boolean;
629
+ };
630
+ 'select-descriptors': {
631
+ title: string;
632
+ shortcut: string;
633
+ action: {
634
+ thunk: (dispatch: any, getState: any) => void;
635
+ };
636
+ hidden: (options: any) => boolean;
637
+ };
638
+ 'any-atom': {
639
+ title: string;
640
+ action: {
641
+ tool: string;
642
+ opts: {
643
+ label: string;
644
+ pseudo: string;
645
+ type: string;
646
+ };
647
+ };
648
+ hidden: (options: any) => boolean;
649
+ };
650
+ };
@@ -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 function isHidden(options: any, buttonName: string): boolean;