ketcher-react 3.0.0-rc.6 → 3.0.0-rc.7
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-31c05328.js → index.modern-8c3f6bc2.js} +1 -1
- package/dist/cjs/{index.modern-31c05328.js.map → index.modern-8c3f6bc2.js.map} +1 -1
- 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-b462578c.js → index.modern-cbe2028f.js} +1 -1
- package/dist/{index.modern-b462578c.js.map → index.modern-cbe2028f.js.map} +1 -1
- package/dist/script/ui/state/hotkeys.d.ts +0 -1
- package/package.json +1 -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.0.0-rc.
|
|
3746
|
+
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v3.0.0-rc.7\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: {
|
|
@@ -19846,13 +19846,6 @@ function initClipboard(dispatch) {
|
|
|
19846
19846
|
}, _callee2);
|
|
19847
19847
|
}))();
|
|
19848
19848
|
},
|
|
19849
|
-
onLegacyCopy: function onLegacyCopy() {
|
|
19850
|
-
var state = global.currentState;
|
|
19851
|
-
var editor = state.editor;
|
|
19852
|
-
var data = legacyClipData(editor);
|
|
19853
|
-
editor.selection(null);
|
|
19854
|
-
return data;
|
|
19855
|
-
},
|
|
19856
19849
|
onCopy: function onCopy() {
|
|
19857
19850
|
return _asyncToGenerator( _regeneratorRuntime.mark(function _callee4() {
|
|
19858
19851
|
var ketcherInstance, result;
|
|
@@ -19997,7 +19990,7 @@ function _clipData() {
|
|
|
19997
19990
|
data = _context7.sent;
|
|
19998
19991
|
res[ChemicalMimeType.KET] = ket;
|
|
19999
19992
|
type = struct.isReaction ? ChemicalMimeType.Mol : ChemicalMimeType.Rxn;
|
|
20000
|
-
res['text/plain'] =
|
|
19993
|
+
res['text/plain'] = data;
|
|
20001
19994
|
res[type] = data;
|
|
20002
19995
|
return _context7.abrupt("return", res);
|
|
20003
19996
|
case 19:
|
|
@@ -34967,8 +34960,8 @@ var KetcherBuilder = function () {
|
|
|
34967
34960
|
cleanup = initApp(element, appRoot, staticResourcesUrl, {
|
|
34968
34961
|
buttons: buttons || {},
|
|
34969
34962
|
errorHandler: errorHandler || null,
|
|
34970
|
-
version: "3.0.0-rc.
|
|
34971
|
-
buildDate: "2025-
|
|
34963
|
+
version: "3.0.0-rc.7" ,
|
|
34964
|
+
buildDate: "2025-02-05T15:08:29" ,
|
|
34972
34965
|
buildNumber: '',
|
|
34973
34966
|
customButtons: customButtons || []
|
|
34974
34967
|
}, structService, resolve, togglerComponent);
|
|
@@ -35260,7 +35253,7 @@ var ModeControl = function ModeControl(_ref3) {
|
|
|
35260
35253
|
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; }
|
|
35261
35254
|
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; }
|
|
35262
35255
|
var MacromoleculesEditor = lazy(function () {
|
|
35263
|
-
return import('./index.modern-
|
|
35256
|
+
return import('./index.modern-cbe2028f.js');
|
|
35264
35257
|
});
|
|
35265
35258
|
var Editor = function Editor(props) {
|
|
35266
35259
|
var _useState = useState(false),
|