ketcher-react 2.7.0-rc1 → 2.8.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 (50) hide show
  1. package/dist/constants.d.ts +1 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.css.map +1 -1
  4. package/dist/index.js +4776 -19531
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.modern.js +4814 -19567
  7. package/dist/index.modern.js.map +1 -1
  8. package/dist/script/editor/Editor.d.ts +7 -1
  9. package/dist/script/editor/tool/bond.d.ts +2 -0
  10. package/dist/script/editor/tool/enhanced-stereo.d.ts +1 -1
  11. package/dist/script/editor/tool/hand.d.ts +1 -1
  12. package/dist/script/editor/tool/select.d.ts +1 -0
  13. package/dist/script/editor/tool/sgroup.d.ts +1 -1
  14. package/dist/script/ui/action/flips.d.ts +1 -0
  15. package/dist/script/ui/action/index.d.ts +2 -0
  16. package/dist/script/ui/action/tools.d.ts +3 -0
  17. package/dist/script/ui/component/actionmenu.d.ts +0 -1
  18. package/dist/script/ui/component/form/input.d.ts +35 -26
  19. package/dist/script/ui/component/structrender.d.ts +1 -1
  20. package/dist/script/ui/component/view/savebutton.d.ts +32 -2
  21. package/dist/script/ui/data/schema/sdata-schema.d.ts +1 -1
  22. package/dist/script/ui/dialog/template/TemplateDialog.d.ts +5 -3
  23. package/dist/script/ui/dialog/template/TemplateTable.d.ts +1 -0
  24. package/dist/script/ui/dialog/template/useSaltsAndSolvets.d.ts +2 -0
  25. package/dist/script/ui/state/editor/index.d.ts +1 -1
  26. package/dist/script/ui/state/functionalGroups/index.d.ts +1 -1
  27. package/dist/script/ui/state/handleHotkeysOverAtom.d.ts +7 -0
  28. package/dist/script/ui/state/modal/sdata.d.ts +1 -1
  29. package/dist/script/ui/state/saltsAndSolvents/index.d.ts +1 -1
  30. package/dist/script/ui/state/templates/index.d.ts +8 -0
  31. package/dist/script/ui/utils/index.d.ts +3 -2
  32. package/dist/script/ui/utils/renderStruct.d.ts +9 -0
  33. package/dist/script/ui/utils/settingsManager.d.ts +25 -0
  34. package/dist/script/ui/views/components/ContextMenu/ContextMenu.d.ts +20 -0
  35. package/dist/script/ui/views/components/ContextMenu/ContextMenuTrigger.d.ts +18 -0
  36. package/dist/script/ui/views/components/ContextMenu/contextMenu.types.d.ts +8 -0
  37. package/dist/script/ui/views/components/ContextMenu/index.d.ts +2 -0
  38. package/dist/script/ui/views/components/ContextMenu/items/AtomBatchOperations.d.ts +20 -0
  39. package/dist/script/ui/views/components/ContextMenu/items/AtomSingleOperations.d.ts +19 -0
  40. package/dist/script/ui/views/components/ContextMenu/items/BatchDelete.d.ts +3 -0
  41. package/dist/script/ui/views/components/ContextMenu/items/BondBatchOperations.d.ts +20 -0
  42. package/dist/script/ui/views/components/ContextMenu/items/BondSingleOperations.d.ts +19 -0
  43. package/dist/script/ui/views/components/ContextMenu/items/utils.d.ts +27 -0
  44. package/dist/script/ui/views/components/StructEditor/InfoPanel.d.ts +28 -1
  45. package/dist/script/ui/views/modal/components/process/Analyse/Analyse.d.ts +1 -1
  46. package/dist/script/ui/views/toolbars/TopToolbar/ExternalFuncControls.d.ts +1 -2
  47. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.container.d.ts +1 -1
  48. package/dist/script/ui/views/toolbars/TopToolbar/TopToolbar.d.ts +1 -2
  49. package/dist/script/ui/views/toolbars/shortcutStr.d.ts +0 -15
  50. package/package.json +3 -1
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  ***************************************************************************/
16
16
  /// <reference types="react" />
17
- declare const TopToolbarContainer: import("react-redux").ConnectedComponent<({ className, disabledButtons, indigoVerification, hiddenButtons, shortcuts, onClear, onFileOpen, onSave, onUndo, onRedo, onCopy, onCopyMol, onCopyKet, onCopyImage, onCut, onPaste, currentZoom, onZoom, onZoomIn, onZoomOut, onSettingsOpen, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onStereo, onMiew, onFullscreen, onAbout, onHelp }: import("./TopToolbar").PanelProps) => JSX.Element, import("react-redux").Omit<import("./TopToolbar").PanelProps, "disabledButtons" | "indigoVerification" | "hiddenButtons" | "shortcuts" | "onClear" | "onFileOpen" | "onSave" | "onUndo" | "onRedo" | "onCopy" | "onCopyMol" | "onCopyKet" | "onCopyImage" | "onCut" | "onPaste" | "currentZoom" | "onZoom" | "onZoomIn" | "onZoomOut" | "onSettingsOpen" | "onLayout" | "onClean" | "onAromatize" | "onDearomatize" | "onCalculate" | "onCheck" | "onAnalyse" | "onStereo" | "onMiew" | "onFullscreen" | "onAbout" | "onHelp">>;
17
+ declare const TopToolbarContainer: import("react-redux").ConnectedComponent<({ className, disabledButtons, indigoVerification, hiddenButtons, shortcuts, onClear, onFileOpen, onSave, onUndo, onRedo, onCopy, onCopyMol, onCopyKet, onCopyImage, onCut, onPaste, currentZoom, onZoom, onZoomIn, onZoomOut, onSettingsOpen, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onMiew, onFullscreen, onAbout, onHelp }: import("./TopToolbar").PanelProps) => JSX.Element, import("react-redux").Omit<import("./TopToolbar").PanelProps, "disabledButtons" | "indigoVerification" | "hiddenButtons" | "shortcuts" | "onClear" | "onFileOpen" | "onSave" | "onUndo" | "onRedo" | "onCopy" | "onCopyMol" | "onCopyKet" | "onCopyImage" | "onCut" | "onPaste" | "currentZoom" | "onZoom" | "onZoomIn" | "onZoomOut" | "onSettingsOpen" | "onLayout" | "onClean" | "onAromatize" | "onDearomatize" | "onCalculate" | "onCheck" | "onAnalyse" | "onMiew" | "onFullscreen" | "onAbout" | "onHelp">>;
18
18
  export { TopToolbarContainer };
@@ -46,11 +46,10 @@ export interface PanelProps {
46
46
  onCalculate: VoidFunction;
47
47
  onCheck: VoidFunction;
48
48
  onAnalyse: VoidFunction;
49
- onStereo: VoidFunction;
50
49
  onMiew: VoidFunction;
51
50
  onFullscreen: VoidFunction;
52
51
  onAbout: VoidFunction;
53
52
  onHelp: VoidFunction;
54
53
  }
55
- export declare const TopToolbar: ({ className, disabledButtons, indigoVerification, hiddenButtons, shortcuts, onClear, onFileOpen, onSave, onUndo, onRedo, onCopy, onCopyMol, onCopyKet, onCopyImage, onCut, onPaste, currentZoom, onZoom, onZoomIn, onZoomOut, onSettingsOpen, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onStereo, onMiew, onFullscreen, onAbout, onHelp }: PanelProps) => JSX.Element;
54
+ export declare const TopToolbar: ({ className, disabledButtons, indigoVerification, hiddenButtons, shortcuts, onClear, onFileOpen, onSave, onUndo, onRedo, onCopy, onCopyMol, onCopyKet, onCopyImage, onCut, onPaste, currentZoom, onZoom, onZoomIn, onZoomOut, onSettingsOpen, onLayout, onClean, onAromatize, onDearomatize, onCalculate, onCheck, onAnalyse, onMiew, onFullscreen, onAbout, onHelp }: PanelProps) => JSX.Element;
56
55
  export {};
@@ -1,16 +1 @@
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
1
  export declare function shortcutStr(shortcut?: string | string[]): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ketcher-react",
3
- "version": "2.7.0-rc1",
3
+ "version": "2.8.0-rc.2",
4
4
  "description": "Web-based molecule sketcher",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "http://lifescience.opensource.epam.com/ketcher",
@@ -62,6 +62,7 @@
62
62
  "lodash": "^4.17.21",
63
63
  "miew-react": "^1.0.0",
64
64
  "react-colorful": "^5.4.0",
65
+ "react-contexify": "^6.0.0",
65
66
  "react-contextmenu": "^2.14.0",
66
67
  "react-device-detect": "^2.2.2",
67
68
  "react-dropzone": "^11.7.1",
@@ -125,6 +126,7 @@
125
126
  "rollup-plugin-delete": "^2.0.0",
126
127
  "rollup-plugin-peer-deps-external": "^2.2.4",
127
128
  "rollup-plugin-postcss": "^4.0.2",
129
+ "rollup-plugin-string": "^3.0.0",
128
130
  "rollup-plugin-typescript2": "^0.31.1",
129
131
  "rollup-plugin-visualizer": "^5.5.2",
130
132
  "stylelint": "13.13.1",