ketcher-react 3.9.0-rc.1 → 3.9.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.
@@ -100,7 +100,9 @@ declare class Editor implements KetcherEditor {
100
100
  private potentialLeavingAtomsForAutoAssignment;
101
101
  private potentialLeavingAtomsForManualAssignment;
102
102
  get isMonomerCreationWizardEnabled(): boolean;
103
+ isMinimalViableStructure(): boolean;
103
104
  static isStructureContinuous(struct: Struct, selection?: Selection): boolean;
105
+ static isStructureImpure(struct: Struct): boolean;
104
106
  private originalStruct;
105
107
  private originalSelection;
106
108
  private selectedToOriginalAtomsIdMap;
@@ -62,7 +62,7 @@ declare const _default: {
62
62
  hidden: (options: any) => boolean;
63
63
  };
64
64
  'charge-plus': {
65
- shortcut: string;
65
+ shortcut: string[];
66
66
  title: string;
67
67
  action: {
68
68
  tool: string;
@@ -71,7 +71,7 @@ declare const _default: {
71
71
  hidden: (options: any) => boolean;
72
72
  };
73
73
  'charge-minus': {
74
- shortcut: string;
74
+ shortcut: string[];
75
75
  title: string;
76
76
  action: {
77
77
  tool: string;
@@ -13,7 +13,7 @@ export declare type WizardValues = {
13
13
  [key in StringWizardFormFieldId]: string;
14
14
  };
15
15
  export declare type WizardNotificationType = 'info' | 'error';
16
- export declare type WizardNotificationId = 'defaultAttachmentPoints' | 'emptyMandatoryFields' | 'invalidSymbol' | 'symbolExists' | 'editingIsNotAllowed' | 'noAttachmentPoints' | 'incorrectAttachmentPointsOrder' | 'creationSuccessful' | 'incontinuousStructure';
16
+ export declare type WizardNotificationId = 'defaultAttachmentPoints' | 'emptyMandatoryFields' | 'invalidSymbol' | 'symbolExists' | 'editingIsNotAllowed' | 'noAttachmentPoints' | 'incorrectAttachmentPointsOrder' | 'creationSuccessful' | 'incontinuousStructure' | 'notMinimalViableStructure' | 'impureStructure';
17
17
  export declare type WizardNotificationTypeMap = Record<WizardNotificationId, WizardNotificationType>;
18
18
  export declare type WizardNotificationMessageMap = Record<WizardNotificationId, string>;
19
19
  export declare type WizardNotification = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ketcher-react",
3
- "version": "3.9.0-rc.1",
3
+ "version": "3.9.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",
@@ -81,7 +81,6 @@
81
81
  "subscription": "^3.0.0",
82
82
  "url-search-params-polyfill": "^8.1.1",
83
83
  "use-resize-observer": "^7.0.0",
84
- "w3c-keyname": "^2.2.4",
85
84
  "whatwg-fetch": "^3.4.1"
86
85
  },
87
86
  "devDependencies": {