@datagrok/helm 2.1.17 → 2.1.18

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@datagrok/helm",
3
3
  "friendlyName": "Helm",
4
- "version": "2.1.17",
4
+ "version": "2.1.18",
5
5
  "author": {
6
6
  "name": "Oleksandra Serhiienko",
7
7
  "email": "oserhiienko@datagrok.ai"
package/src/package.ts CHANGED
@@ -18,6 +18,9 @@ export const _package = new DG.Package();
18
18
 
19
19
  //tags: init
20
20
  export async function initHelm(): Promise<void> {
21
+ //@ts-ignore
22
+ org.helm.webeditor.kCaseSensitive = true; // GROK-13880
23
+
21
24
  return Promise.all([
22
25
  new Promise((resolve, reject) => {
23
26
  // @ts-ignore
@@ -59,6 +62,7 @@ export function getMonomerLib(): IMonomerLib {
59
62
  return monomerLib!;
60
63
  }
61
64
 
65
+ /** Fills org.helm.webeditor.Monomers dictionary for WebEditor */
62
66
  function rewriteLibraries() {
63
67
  // @ts-ignore
64
68
  org.helm.webeditor.Monomers.clear();
package/src/utils.ts CHANGED
@@ -94,9 +94,8 @@ export function parseHelm(s: string): string[] {
94
94
  // return new Set(helmPartList.filter((val) => !monomerNameList.includes(val)));
95
95
  // }
96
96
 
97
- /** Searches monomers of {@link helmString} for missed. */
97
+ /** Searches monomers of helmString for missed. */
98
98
  export function findMonomers(monomerSymbolList: string[]): Set<string> {
99
- //@ts-ignore
100
99
  const types = Object.keys(org.helm.webeditor.monomerTypeList());
101
100
  const monomers: any = [];
102
101
  const monomerNames: any = [];