@datagrok-libraries/bio 6.0.2 → 6.0.4
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
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# bio changelog
|
|
2
2
|
|
|
3
|
+
## 6.0.4 (2026-09-08)
|
|
4
|
+
|
|
5
|
+
* Added `monomer-works/lib-events.ts`: `onMonomerLibLoaded` / `fireMonomerLibLoaded`, the `bio-monomer-lib-loaded` custom platform event Bio fires after every monomer library load, for packages that render or validate monomers without a library object of their own
|
|
6
|
+
|
|
3
7
|
## 6.0.2 (2026-07-06)
|
|
4
8
|
|
|
5
9
|
* To atomic level (linear path): support multi-chain HELM (e.g. `RNA1{...}|RNA2{...}`) — each disjoint chain is assembled independently and stacked vertically into a single molfile instead of being fused into one continuous chain.
|
package/package.json
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok-libraries/bio",
|
|
3
|
+
"repository": {
|
|
4
|
+
"type": "git",
|
|
5
|
+
"url": "https://github.com/datagrok-ai/public.git"
|
|
6
|
+
},
|
|
3
7
|
"author": {
|
|
4
8
|
"name": "Davit Rizhinashvili",
|
|
5
9
|
"email": "drizhinashvili@datagrok.ai"
|
|
@@ -8,12 +12,13 @@
|
|
|
8
12
|
"access": "public"
|
|
9
13
|
},
|
|
10
14
|
"friendlyName": "Datagrok bio library",
|
|
11
|
-
"version": "6.0.
|
|
15
|
+
"version": "6.0.4",
|
|
12
16
|
"description": "Bio utilities, types supporting Macromolecule, Molecule3D data",
|
|
13
17
|
"dependencies": {
|
|
14
18
|
"@datagrok-libraries/chem-meta": "^1.2.7",
|
|
15
19
|
"@datagrok-libraries/gridext": "^1.4.0",
|
|
16
|
-
"@datagrok-libraries/
|
|
20
|
+
"@datagrok-libraries/hwe": "^1.0.0",
|
|
21
|
+
"@datagrok-libraries/ml": "^6.10.16",
|
|
17
22
|
"@datagrok-libraries/utils": "^4.5.7",
|
|
18
23
|
"@deck.gl/core": "8.8.12",
|
|
19
24
|
"cash-dom": "^8.1.5",
|
|
@@ -24,9 +29,8 @@
|
|
|
24
29
|
"lru-cache": "^10.4.3",
|
|
25
30
|
"mjolnir.js": "^2.7.0",
|
|
26
31
|
"rxjs": "^6.5.5",
|
|
27
|
-
"uuid": "^
|
|
28
|
-
"wu": "^2.1.0"
|
|
29
|
-
"@datagrok-libraries/hwe": "^1.0.0"
|
|
32
|
+
"uuid": "^11.1.1",
|
|
33
|
+
"wu": "^2.1.0"
|
|
30
34
|
},
|
|
31
35
|
"devDependencies": {
|
|
32
36
|
"@types/signals": "1.0.1",
|
|
@@ -52,5 +56,8 @@
|
|
|
52
56
|
"build-all": "npm --prefix ./../../libraries/chem-meta run build && npm --prefix ./../../js-api run build && npm --prefix ./../../libraries/gridext run build && npm --prefix ./../../libraries/utils run build && npm --prefix ./../../libraries/ml run build && npm run build",
|
|
53
57
|
"lint": "eslint \"./src/**/*.ts\"",
|
|
54
58
|
"lint-fix": "eslint \"./src/**/*.ts\" --fix"
|
|
59
|
+
},
|
|
60
|
+
"overrides": {
|
|
61
|
+
"uuid": "^11.1.1"
|
|
55
62
|
}
|
|
56
63
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
export declare const MONOMER_LIB_LOADED_EVENT = "bio-monomer-lib-loaded";
|
|
3
|
+
export interface MonomerLibLoadedArgs {
|
|
4
|
+
/** The sources loaded into the monomer library, the file names for the files provider. */
|
|
5
|
+
libraries: string[];
|
|
6
|
+
/** Whether the library was cleared before the load (a settings change) or merged into. */
|
|
7
|
+
reload: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function onMonomerLibLoaded(): Observable<MonomerLibLoadedArgs>;
|
|
10
|
+
export declare function fireMonomerLibLoaded(args: MonomerLibLoadedArgs): void;
|
|
11
|
+
//# sourceMappingURL=lib-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lib-events.d.ts","sourceRoot":"","sources":["lib-events.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC,eAAO,MAAM,wBAAwB,2BAA2B,CAAC;AAEjE,MAAM,WAAW,oBAAoB;IACnC,0FAA0F;IAC1F,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,0FAA0F;IAC1F,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,kBAAkB,IAAI,UAAU,CAAC,oBAAoB,CAAC,CAErE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAErE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* The platform-wide word that the monomer libraries have (re)loaded — fired by Bio's library
|
|
2
|
+
manager after every load, for any package (or a test) that renders or validates monomers and has
|
|
3
|
+
no library object of its own to subscribe to. Carried on `grok.events` custom events, so a
|
|
4
|
+
listener needs neither Bio nor this library at hand: `grok.events.onCustomEvent('bio-monomer-lib-loaded')`. */
|
|
5
|
+
import * as grok from 'datagrok-api/grok';
|
|
6
|
+
export const MONOMER_LIB_LOADED_EVENT = 'bio-monomer-lib-loaded';
|
|
7
|
+
export function onMonomerLibLoaded() {
|
|
8
|
+
return grok.events.onCustomEvent(MONOMER_LIB_LOADED_EVENT);
|
|
9
|
+
}
|
|
10
|
+
export function fireMonomerLibLoaded(args) {
|
|
11
|
+
grok.events.fireCustomEvent(MONOMER_LIB_LOADED_EVENT, args);
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=lib-events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lib-events.js","sourceRoot":"","sources":["lib-events.ts"],"names":[],"mappings":"AAAA;;;iHAGiH;AACjH,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAG1C,MAAM,CAAC,MAAM,wBAAwB,GAAG,wBAAwB,CAAC;AASjE,MAAM,UAAU,kBAAkB;IAChC,OAAO,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,wBAAwB,CAAC,CAAC;AAC7D,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAA0B;IAC7D,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,wBAAwB,EAAE,IAAI,CAAC,CAAC;AAC9D,CAAC"}
|