@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/CHANGELOG.md +1 -0
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
- package/src/package.ts +4 -0
- package/src/utils.ts +1 -2
package/package.json
CHANGED
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
|
|
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 = [];
|