ketcher-react 2.13.0-rc.1 → 2.13.0-rc.3
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/index.js +84 -44
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +85 -45
- package/dist/index.modern.js.map +1 -1
- package/dist/script/editor/Editor.d.ts +3 -1
- package/dist/script/ui/state/editor/index.d.ts +2 -0
- package/dist/script/ui/views/Editor.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -24,7 +24,7 @@ import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
|
24
24
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
25
25
|
import _classCallCheck$2 from '@babel/runtime/helpers/classCallCheck';
|
|
26
26
|
import _createClass$1 from '@babel/runtime/helpers/createClass';
|
|
27
|
-
import { KetSerializer, MolSerializer, Ketcher, FormatterFactory, StereLabelStyleType, StereoColoringType, ShowHydrogenLabels, ShowHydrogenLabelNames, Bond as Bond$2, Elements, AtomList, StereoLabel, isAttachmentBond, Atom as Atom$2, findStereoAtoms, RxnArrowMode, SimpleObjectMode, emitEventRequestIsFinished, SGroup as SGroup$1, Pile, getStereoAtomsMap, identifyStructFormat, SupportedFormat, ChemicalMimeType, RenderStruct,
|
|
27
|
+
import { KetSerializer, MolSerializer, Ketcher, FormatterFactory, StereLabelStyleType, StereoColoringType, ShowHydrogenLabels, ShowHydrogenLabelNames, Bond as Bond$2, Elements, AtomList, StereoLabel, isAttachmentBond, Atom as Atom$2, findStereoAtoms, RxnArrowMode, SimpleObjectMode, emitEventRequestIsFinished, SGroup as SGroup$1, Pile, getStereoAtomsMap, identifyStructFormat, SupportedFormat, ChemicalMimeType, RenderStruct, Struct, SdfSerializer, FunctionalGroupsProvider, SaltsAndSolventsProvider, KetcherAsyncEvents, ElementColor, Vec2, fromMultipleMove, scrollByVector, FunctionalGroup, Scale, fracAngle, fromSgroupDeletion, fromFragmentDeletion, mergeMapOfItemsToSet, fromBondAddition, Action, fromAtomAddition, fromAtomsAttrs, checkOverlapping, fromSeveralSgroupAddition, expandSGroupWithMultipleAttachmentPoint, SgContexts, fromSgroupAction, fromItemsFuse, ReBond, setExpandSGroup, fromBondsAttrs, fromSimpleObjectResizing, fromArrowResizing, getItemsToFuse, getHoverToFuse, fromTextDeletion, fromTextUpdating, isCloseToEdgeOfCanvas, isCloseToEdgeOfScreen, getDirections, shiftAndExtendCanvasByVector, formatProperties, Fragment as Fragment$1, OperationType, ReStruct, fromOneBondDeletion, bondChangingAction, fromChain, fromStereoFlagUpdate, fromOneAtomDeletion, fromArrowDeletion, fromPlusDeletion, fromSimpleObjectDeletion, fromPaste, fromTemplateOnAtom, RGroup as RGroup$2, fromRGroupFragment, fromUpdateIfThen, fromRGroupAttrs, fromArrowAddition, fromPlusAddition, fromRotate, fromFlip, fromSimpleObjectAddition, fromTemplateOnBondAction, fromTemplateOnCanvas, fromTextCreation, fromHighlightCreate, fromHighlightClear, fromNewCanvas, Render, fromDescriptorsAlign, getPropertiesByFormat, StereoFlag, getPropertiesByImgFormat, b64toBlob, Generics, TextCommand, DefaultStructServiceOptions } from 'ketcher-core';
|
|
28
28
|
import * as React from 'react';
|
|
29
29
|
import React__default, { createRef, Component, useRef, useEffect, useState, useMemo, createElement, forwardRef, useCallback, useLayoutEffect, Fragment as Fragment$2, PureComponent, lazy, Suspense } from 'react';
|
|
30
30
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -2513,7 +2513,8 @@ var SettingsManager = function () {
|
|
|
2513
2513
|
return SettingsManager;
|
|
2514
2514
|
}();
|
|
2515
2515
|
|
|
2516
|
-
var _excluded$y = ["rescale", "fragment"]
|
|
2516
|
+
var _excluded$y = ["rescale", "fragment"],
|
|
2517
|
+
_excluded2$6 = ["isPaste"];
|
|
2517
2518
|
function ownKeys$1b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2518
2519
|
function _objectSpread$1c(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1b(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2519
2520
|
function onAction(action) {
|
|
@@ -2559,7 +2560,7 @@ function removeStructAction() {
|
|
|
2559
2560
|
function load(struct, options) {
|
|
2560
2561
|
return function () {
|
|
2561
2562
|
var _ref = _asyncToGenerator( _regeneratorRuntime.mark(function _callee(dispatch, getState) {
|
|
2562
|
-
var state, editor, server, errorHandler, parsedStruct,
|
|
2563
|
+
var state, editor, server, errorHandler, _options2, isPaste, otherOptions, parsedStruct, _otherOptions, fragment, hasUnsupportedGroups, oldStruct, stereAtomsMap;
|
|
2563
2564
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
2564
2565
|
while (1) {
|
|
2565
2566
|
switch (_context.prev = _context.next) {
|
|
@@ -2569,31 +2570,32 @@ function load(struct, options) {
|
|
|
2569
2570
|
server = state.server;
|
|
2570
2571
|
errorHandler = editor.errorHandler;
|
|
2571
2572
|
options = options || {};
|
|
2572
|
-
|
|
2573
|
+
_options2 = options, isPaste = _options2.isPaste, otherOptions = _objectWithoutProperties(_options2, _excluded2$6);
|
|
2574
|
+
otherOptions = _objectSpread$1c(_objectSpread$1c({}, otherOptions), {}, {
|
|
2573
2575
|
'dearomatize-on-load': editor.options()['dearomatize-on-load'],
|
|
2574
2576
|
ignoreChiralFlag: editor.options().ignoreChiralFlag
|
|
2575
2577
|
});
|
|
2576
2578
|
dispatch(setAnalyzingFile(true));
|
|
2577
|
-
_context.prev =
|
|
2578
|
-
_context.next =
|
|
2579
|
-
return parseStruct(struct, server,
|
|
2580
|
-
case
|
|
2579
|
+
_context.prev = 8;
|
|
2580
|
+
_context.next = 11;
|
|
2581
|
+
return parseStruct(struct, server, otherOptions);
|
|
2582
|
+
case 11:
|
|
2581
2583
|
parsedStruct = _context.sent;
|
|
2582
|
-
|
|
2584
|
+
_otherOptions = otherOptions, fragment = _otherOptions.fragment;
|
|
2583
2585
|
hasUnsupportedGroups = parsedStruct.sgroups.some(function (sGroup) {
|
|
2584
2586
|
return !supportedSGroupTypes[sGroup.type];
|
|
2585
2587
|
});
|
|
2586
2588
|
if (!hasUnsupportedGroups) {
|
|
2587
|
-
_context.next =
|
|
2589
|
+
_context.next = 18;
|
|
2588
2590
|
break;
|
|
2589
2591
|
}
|
|
2590
|
-
_context.next =
|
|
2592
|
+
_context.next = 17;
|
|
2591
2593
|
return editor.event.confirm.dispatch();
|
|
2592
|
-
case
|
|
2594
|
+
case 17:
|
|
2593
2595
|
parsedStruct.sgroups = parsedStruct.sgroups.filter(function (_key, sGroup) {
|
|
2594
2596
|
return supportedSGroupTypes[sGroup.type];
|
|
2595
2597
|
});
|
|
2596
|
-
case
|
|
2598
|
+
case 18:
|
|
2597
2599
|
parsedStruct.rescale();
|
|
2598
2600
|
if (editor.struct().atoms.size) {
|
|
2599
2601
|
oldStruct = editor.struct().clone();
|
|
@@ -2638,29 +2640,31 @@ function load(struct, options) {
|
|
|
2638
2640
|
} else {
|
|
2639
2641
|
editor.struct(parsedStruct);
|
|
2640
2642
|
}
|
|
2641
|
-
editor.zoomAccordingContent();
|
|
2642
|
-
|
|
2643
|
+
editor.zoomAccordingContent(parsedStruct);
|
|
2644
|
+
if (!isPaste) {
|
|
2645
|
+
editor.centerStruct();
|
|
2646
|
+
}
|
|
2643
2647
|
dispatch(setAnalyzingFile(false));
|
|
2644
2648
|
dispatch({
|
|
2645
2649
|
type: 'MODAL_CLOSE'
|
|
2646
2650
|
});
|
|
2647
|
-
_context.next =
|
|
2651
|
+
_context.next = 36;
|
|
2648
2652
|
break;
|
|
2649
|
-
case
|
|
2650
|
-
_context.prev =
|
|
2651
|
-
_context.t0 = _context["catch"](
|
|
2653
|
+
case 32:
|
|
2654
|
+
_context.prev = 32;
|
|
2655
|
+
_context.t0 = _context["catch"](8);
|
|
2652
2656
|
dispatch(setAnalyzingFile(false));
|
|
2653
2657
|
_context.t0 && errorHandler && errorHandler(_context.t0.message);
|
|
2654
|
-
case
|
|
2655
|
-
_context.prev =
|
|
2658
|
+
case 36:
|
|
2659
|
+
_context.prev = 36;
|
|
2656
2660
|
emitEventRequestIsFinished();
|
|
2657
|
-
return _context.finish(
|
|
2658
|
-
case
|
|
2661
|
+
return _context.finish(36);
|
|
2662
|
+
case 39:
|
|
2659
2663
|
case "end":
|
|
2660
2664
|
return _context.stop();
|
|
2661
2665
|
}
|
|
2662
2666
|
}
|
|
2663
|
-
}, _callee, null, [[
|
|
2667
|
+
}, _callee, null, [[8, 32, 36, 39]]);
|
|
2664
2668
|
}));
|
|
2665
2669
|
return function (_x, _x2) {
|
|
2666
2670
|
return _ref.apply(this, arguments);
|
|
@@ -2790,6 +2794,11 @@ function serverTransform(method, data, struct) {
|
|
|
2790
2794
|
});
|
|
2791
2795
|
};
|
|
2792
2796
|
}
|
|
2797
|
+
function resetStereoFlagsPosition(struct) {
|
|
2798
|
+
struct.frags.forEach(function (fragment) {
|
|
2799
|
+
return fragment.stereoFlagPosition = undefined;
|
|
2800
|
+
});
|
|
2801
|
+
}
|
|
2793
2802
|
function serverCall(editor, server, method, options, struct) {
|
|
2794
2803
|
var selection = editor.selection();
|
|
2795
2804
|
var selectedAtoms = [];
|
|
@@ -2800,6 +2809,9 @@ function serverCall(editor, server, method, options, struct) {
|
|
|
2800
2809
|
return aidMap.get(aid);
|
|
2801
2810
|
});
|
|
2802
2811
|
}
|
|
2812
|
+
if (method === 'layout') {
|
|
2813
|
+
resetStereoFlagsPosition(currentStruct);
|
|
2814
|
+
}
|
|
2803
2815
|
var ketSerializer = new KetSerializer();
|
|
2804
2816
|
return server.then(function () {
|
|
2805
2817
|
return server[method](Object.assign({
|
|
@@ -3027,7 +3039,7 @@ var zoom = {
|
|
|
3027
3039
|
|
|
3028
3040
|
var openHelpLink = function openHelpLink() {
|
|
3029
3041
|
var _window$open;
|
|
3030
|
-
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.13.0-rc.
|
|
3042
|
+
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.13.0-rc.3\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
|
|
3031
3043
|
};
|
|
3032
3044
|
var help = {
|
|
3033
3045
|
help: {
|
|
@@ -7006,6 +7018,16 @@ var Button = function Button(_ref) {
|
|
|
7006
7018
|
var _templateObject$9;
|
|
7007
7019
|
var Container$1 = styled.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n > svg {\n height: 100%;\n width: 100%;\n }\n"])));
|
|
7008
7020
|
|
|
7021
|
+
var normalizeStruct = function normalizeStruct(molV2000StringOrStruct) {
|
|
7022
|
+
if (molV2000StringOrStruct instanceof Struct) {
|
|
7023
|
+
return molV2000StringOrStruct;
|
|
7024
|
+
}
|
|
7025
|
+
try {
|
|
7026
|
+
return new MolSerializer().deserialize(molV2000StringOrStruct);
|
|
7027
|
+
} catch (e) {
|
|
7028
|
+
throw Error('Could not parse Struct');
|
|
7029
|
+
}
|
|
7030
|
+
};
|
|
7009
7031
|
var StructRender = function StructRender(_ref) {
|
|
7010
7032
|
var struct = _ref.struct,
|
|
7011
7033
|
options = _ref.options,
|
|
@@ -7015,7 +7037,8 @@ var StructRender = function StructRender(_ref) {
|
|
|
7015
7037
|
var container = renderRef.current;
|
|
7016
7038
|
if (container) {
|
|
7017
7039
|
container.innerHTML = '';
|
|
7018
|
-
|
|
7040
|
+
var normalizedStruct = normalizeStruct(struct);
|
|
7041
|
+
RenderStruct.render(container, normalizedStruct, options);
|
|
7019
7042
|
}
|
|
7020
7043
|
}, [struct, options]);
|
|
7021
7044
|
return jsx(Container$1, {
|
|
@@ -12521,7 +12544,8 @@ function initClipboard(dispatch) {
|
|
|
12521
12544
|
onPaste: function onPaste(data) {
|
|
12522
12545
|
var structStr = data[ChemicalMimeType.KET] || data[ChemicalMimeType.Mol] || data[ChemicalMimeType.Rxn] || data['text/plain'];
|
|
12523
12546
|
if (structStr || !rxnTextPlain.test(data['text/plain'])) loadStruct(structStr, {
|
|
12524
|
-
fragment: true
|
|
12547
|
+
fragment: true,
|
|
12548
|
+
isPaste: true
|
|
12525
12549
|
});
|
|
12526
12550
|
}
|
|
12527
12551
|
};
|
|
@@ -21369,6 +21393,8 @@ var Editor$3 = function () {
|
|
|
21369
21393
|
message: new Subscription(),
|
|
21370
21394
|
elementEdit: new PipelineSubscription(),
|
|
21371
21395
|
bondEdit: new PipelineSubscription(),
|
|
21396
|
+
zoomIn: new PipelineSubscription(),
|
|
21397
|
+
zoomOut: new PipelineSubscription(),
|
|
21372
21398
|
rgroupEdit: new PipelineSubscription(),
|
|
21373
21399
|
sgroupEdit: new PipelineSubscription(),
|
|
21374
21400
|
sdataEdit: new PipelineSubscription(),
|
|
@@ -21521,18 +21547,27 @@ var Editor$3 = function () {
|
|
|
21521
21547
|
}
|
|
21522
21548
|
}, {
|
|
21523
21549
|
key: "zoomAccordingContent",
|
|
21524
|
-
value: function zoomAccordingContent() {
|
|
21525
|
-
this.zoom(1);
|
|
21526
|
-
var clientAreaBoundingBox = this.render.clientArea.getBoundingClientRect();
|
|
21527
|
-
var paper = this.render.paper;
|
|
21550
|
+
value: function zoomAccordingContent(struct) {
|
|
21528
21551
|
var MIN_ZOOM_VALUE = 0.1;
|
|
21529
21552
|
var MAX_ZOOM_VALUE = 1;
|
|
21530
|
-
var
|
|
21531
|
-
var
|
|
21532
|
-
|
|
21533
|
-
|
|
21534
|
-
|
|
21553
|
+
var MARGIN_IN_PIXELS = 40;
|
|
21554
|
+
var parsedStructCoordBoundingBox = struct.getCoordBoundingBox();
|
|
21555
|
+
var parsedStructSize = new Vec2(parsedStructCoordBoundingBox.max.x - parsedStructCoordBoundingBox.min.x, parsedStructCoordBoundingBox.max.y - parsedStructCoordBoundingBox.min.y);
|
|
21556
|
+
var parsedStructSizeInPixels = {
|
|
21557
|
+
width: parsedStructSize.x * this.render.options.scale * this.render.options.zoom,
|
|
21558
|
+
height: parsedStructSize.y * this.render.options.scale * this.render.options.zoom
|
|
21559
|
+
};
|
|
21560
|
+
var clientAreaBoundingBox = this.render.clientArea.getBoundingClientRect();
|
|
21561
|
+
if (parsedStructSizeInPixels.width + MARGIN_IN_PIXELS < clientAreaBoundingBox.width && parsedStructSizeInPixels.height + MARGIN_IN_PIXELS < clientAreaBoundingBox.height) {
|
|
21562
|
+
return;
|
|
21535
21563
|
}
|
|
21564
|
+
var newZoomValue = this.render.options.zoom / (parsedStructSizeInPixels.height - clientAreaBoundingBox.height > parsedStructSizeInPixels.width - clientAreaBoundingBox.width ? parsedStructSizeInPixels.height / clientAreaBoundingBox.height : parsedStructSizeInPixels.width / clientAreaBoundingBox.width);
|
|
21565
|
+
if (newZoomValue >= MAX_ZOOM_VALUE) {
|
|
21566
|
+
this.zoom(MAX_ZOOM_VALUE);
|
|
21567
|
+
return;
|
|
21568
|
+
}
|
|
21569
|
+
newZoomValue -= MARGIN_IN_PIXELS / clientAreaBoundingBox.width;
|
|
21570
|
+
this.zoom(newZoomValue < MIN_ZOOM_VALUE ? MIN_ZOOM_VALUE : Number(newZoomValue.toFixed(2)));
|
|
21536
21571
|
}
|
|
21537
21572
|
}, {
|
|
21538
21573
|
key: "selection",
|
|
@@ -22989,7 +23024,7 @@ var InfoPanel$1 = connect(function (store) {
|
|
|
22989
23024
|
};
|
|
22990
23025
|
})(InfoPanel);
|
|
22991
23026
|
|
|
22992
|
-
var _excluded$o = ["Tag", "className", "indigoVerification", "struct", "tool", "toolOpts", "options", "onInit", "onSelectionChange", "onElementEdit", "onEnhancedStereoEdit", "onQuickEdit", "onBondEdit", "onRgroupEdit", "onSgroupEdit", "onRemoveFG", "onMessage", "onAromatizeStruct", "onDearomatizeStruct", "onAttachEdit", "onCipChange", "onConfirm", "onShowInfo", "onApiSettings", "showAttachmentPoints", "onUpdateFloatingTools"];
|
|
23027
|
+
var _excluded$o = ["Tag", "className", "indigoVerification", "struct", "tool", "toolOpts", "options", "onInit", "onSelectionChange", "onElementEdit", "onEnhancedStereoEdit", "onQuickEdit", "onBondEdit", "onZoomIn", "onZoomOut", "onRgroupEdit", "onSgroupEdit", "onRemoveFG", "onMessage", "onAromatizeStruct", "onDearomatizeStruct", "onAttachEdit", "onCipChange", "onConfirm", "onShowInfo", "onApiSettings", "showAttachmentPoints", "onUpdateFloatingTools"];
|
|
22993
23028
|
function ownKeys$D(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
22994
23029
|
function _objectSpread$D(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$D(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$D(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22995
23030
|
function _createSuper$9(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$9(); return function _createSuperInternal() { var Super = _getPrototypeOf$2(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$2(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$2(this, result); }; }
|
|
@@ -23178,6 +23213,8 @@ var StructEditor = function (_Component) {
|
|
|
23178
23213
|
_this$props.onEnhancedStereoEdit;
|
|
23179
23214
|
_this$props.onQuickEdit;
|
|
23180
23215
|
_this$props.onBondEdit;
|
|
23216
|
+
_this$props.onZoomIn;
|
|
23217
|
+
_this$props.onZoomOut;
|
|
23181
23218
|
_this$props.onRgroupEdit;
|
|
23182
23219
|
_this$props.onSgroupEdit;
|
|
23183
23220
|
_this$props.onRemoveFG;
|
|
@@ -29513,7 +29550,9 @@ function initEditor(dispatch, getState) {
|
|
|
29513
29550
|
onUpdateFloatingTools: memoizedDebounce(
|
|
29514
29551
|
function (payload) {
|
|
29515
29552
|
dispatch(updateFloatingTools(payload));
|
|
29516
|
-
})
|
|
29553
|
+
}),
|
|
29554
|
+
onZoomIn: updateAction,
|
|
29555
|
+
onZoomOut: updateAction
|
|
29517
29556
|
};
|
|
29518
29557
|
}
|
|
29519
29558
|
|
|
@@ -29529,10 +29568,10 @@ var mapDispatchToProps$1 = function mapDispatchToProps(dispatch) {
|
|
|
29529
29568
|
var onZoomOut = function onZoomOut() {
|
|
29530
29569
|
return dispatchAction(dispatch, 'zoom-out');
|
|
29531
29570
|
};
|
|
29532
|
-
return _objectSpread$2({
|
|
29533
|
-
|
|
29534
|
-
|
|
29535
|
-
}
|
|
29571
|
+
return _objectSpread$2(_objectSpread$2({}, dispatch(initEditor)), {}, {
|
|
29572
|
+
onZoomOut: onZoomOut,
|
|
29573
|
+
onZoomIn: onZoomIn
|
|
29574
|
+
});
|
|
29536
29575
|
};
|
|
29537
29576
|
var Editor$1 = connect(function (state) {
|
|
29538
29577
|
return {
|
|
@@ -29845,11 +29884,12 @@ var App = function App(props) {
|
|
|
29845
29884
|
dispatch(initSaltsAndSolventsTemplates());
|
|
29846
29885
|
window.scrollTo(0, 0);
|
|
29847
29886
|
}, []);
|
|
29887
|
+
var Editor = Editor$1;
|
|
29848
29888
|
return jsx(ThemeProvider, {
|
|
29849
29889
|
theme: muiTheme,
|
|
29850
29890
|
children: jsxs("div", {
|
|
29851
29891
|
className: classes$2.app,
|
|
29852
|
-
children: [jsx(AppHiddenContainer, {}), jsx(Editor
|
|
29892
|
+
children: [jsx(AppHiddenContainer, {}), jsx(Editor, {
|
|
29853
29893
|
className: classes$2.canvas
|
|
29854
29894
|
}), jsx(TopToolbarContainer, {
|
|
29855
29895
|
className: classes$2.top
|
|
@@ -29973,8 +30013,8 @@ var KetcherBuilder = function () {
|
|
|
29973
30013
|
initApp(element, staticResourcesUrl, {
|
|
29974
30014
|
buttons: buttons || {},
|
|
29975
30015
|
errorHandler: errorHandler || null,
|
|
29976
|
-
version: "2.13.0-rc.
|
|
29977
|
-
buildDate: "2023-
|
|
30016
|
+
version: "2.13.0-rc.3" ,
|
|
30017
|
+
buildDate: "2023-08-04T11:43:37" ,
|
|
29978
30018
|
buildNumber: ''
|
|
29979
30019
|
}, structService, resolve);
|
|
29980
30020
|
});
|