ketcher-react 3.1.0-rc.1 → 3.1.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.
- package/dist/cjs/index.js +5 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/{index.modern-d9d67a18.js → index.modern-929f4d37.js} +11 -11
- package/dist/cjs/index.modern-929f4d37.js.map +1 -0
- package/dist/cjs/script/ui/state/hotkeys.d.ts +0 -1
- package/dist/index.js +5 -12
- package/dist/index.js.map +1 -1
- package/dist/{index.modern-2ad67aa5.js → index.modern-6890e3d0.js} +11 -11
- package/dist/index.modern-6890e3d0.js.map +1 -0
- package/dist/script/ui/state/hotkeys.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cjs/index.modern-d9d67a18.js.map +0 -1
- package/dist/index.modern-2ad67aa5.js.map +0 -1
|
@@ -20,7 +20,6 @@ export declare function initClipboard(dispatch: any): {
|
|
|
20
20
|
focused(): boolean;
|
|
21
21
|
onLegacyCut(): {} | null;
|
|
22
22
|
onCut(): Promise<{} | null | undefined>;
|
|
23
|
-
onLegacyCopy(): {} | null;
|
|
24
23
|
onCopy(): Promise<{} | null | undefined>;
|
|
25
24
|
onPaste(data: any, isSmarts: boolean): Promise<void | undefined>;
|
|
26
25
|
onLegacyPaste(data: any, isSmarts: boolean): void;
|
package/dist/index.js
CHANGED
|
@@ -3743,7 +3743,7 @@ var zoom = {
|
|
|
3743
3743
|
|
|
3744
3744
|
var openHelpLink = function openHelpLink() {
|
|
3745
3745
|
var _window$open;
|
|
3746
|
-
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v3.1.0-rc.
|
|
3746
|
+
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v3.1.0-rc.2\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
|
|
3747
3747
|
};
|
|
3748
3748
|
var help = {
|
|
3749
3749
|
help: {
|
|
@@ -19848,13 +19848,6 @@ function initClipboard(dispatch) {
|
|
|
19848
19848
|
}, _callee2);
|
|
19849
19849
|
}))();
|
|
19850
19850
|
},
|
|
19851
|
-
onLegacyCopy: function onLegacyCopy() {
|
|
19852
|
-
var state = global.currentState;
|
|
19853
|
-
var editor = state.editor;
|
|
19854
|
-
var data = legacyClipData(editor);
|
|
19855
|
-
editor.selection(null);
|
|
19856
|
-
return data;
|
|
19857
|
-
},
|
|
19858
19851
|
onCopy: function onCopy() {
|
|
19859
19852
|
return _asyncToGenerator( _regeneratorRuntime.mark(function _callee4() {
|
|
19860
19853
|
var ketcherInstance, result;
|
|
@@ -19999,7 +19992,7 @@ function _clipData() {
|
|
|
19999
19992
|
data = _context7.sent;
|
|
20000
19993
|
res[ChemicalMimeType.KET] = ket;
|
|
20001
19994
|
type = struct.isReaction ? ChemicalMimeType.Mol : ChemicalMimeType.Rxn;
|
|
20002
|
-
res['text/plain'] =
|
|
19995
|
+
res['text/plain'] = data;
|
|
20003
19996
|
res[type] = data;
|
|
20004
19997
|
return _context7.abrupt("return", res);
|
|
20005
19998
|
case 19:
|
|
@@ -35007,8 +35000,8 @@ var KetcherBuilder = function () {
|
|
|
35007
35000
|
cleanup = initApp(element, appRoot, staticResourcesUrl, {
|
|
35008
35001
|
buttons: buttons || {},
|
|
35009
35002
|
errorHandler: errorHandler || null,
|
|
35010
|
-
version: "3.1.0-rc.
|
|
35011
|
-
buildDate: "2025-02-
|
|
35003
|
+
version: "3.1.0-rc.2" ,
|
|
35004
|
+
buildDate: "2025-02-07T15:00:25" ,
|
|
35012
35005
|
buildNumber: '',
|
|
35013
35006
|
customButtons: customButtons || []
|
|
35014
35007
|
}, structService, resolve, togglerComponent);
|
|
@@ -35300,7 +35293,7 @@ var ModeControl = function ModeControl(_ref3) {
|
|
|
35300
35293
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
35301
35294
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35302
35295
|
var MacromoleculesEditor = lazy(function () {
|
|
35303
|
-
return import('./index.modern-
|
|
35296
|
+
return import('./index.modern-6890e3d0.js');
|
|
35304
35297
|
});
|
|
35305
35298
|
var Editor = function Editor(props) {
|
|
35306
35299
|
var _useState = useState(false),
|