@cosmol-studio/cosmolkit-core-search 0.6.0-rc.3 → 0.6.0
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/README.md +1 -1
- package/cosmolkit_wasm.d.ts +69 -60
- package/cosmolkit_wasm.js +318 -298
- package/cosmolkit_wasm_bg.wasm +0 -0
- package/cosmolkit_wasm_bg.wasm.d.ts +54 -53
- package/package.json +3 -3
- /package/snippets/{cosmolkit-wasm-040a2f2061bcbda8 → cosmolkit-wasm-c27ddf7a9616d0a4}/src/readonly_map.js +0 -0
package/README.md
CHANGED
package/cosmolkit_wasm.d.ts
CHANGED
|
@@ -62,7 +62,8 @@ export interface BatchQueryParamsOptions {
|
|
|
62
62
|
*/
|
|
63
63
|
progressBar?: BatchQueryParams["progressBar"];
|
|
64
64
|
/**
|
|
65
|
-
* One notification after every completed
|
|
65
|
+
* One notification after every completed query row. Retained input errors
|
|
66
|
+
* reject the query before any notification.
|
|
66
67
|
*/
|
|
67
68
|
progressCallback?: BatchQueryParams["progressCallback"];
|
|
68
69
|
}
|
|
@@ -1461,7 +1462,8 @@ export class BatchParams {
|
|
|
1461
1462
|
}
|
|
1462
1463
|
|
|
1463
1464
|
/**
|
|
1464
|
-
* Runtime overrides for ordered read results;
|
|
1465
|
+
* Runtime overrides for ordered read results; retained failures reject a query
|
|
1466
|
+
* before computation. New query failures also raise.
|
|
1465
1467
|
*/
|
|
1466
1468
|
export class BatchQueryParams {
|
|
1467
1469
|
free(): void;
|
|
@@ -1479,7 +1481,8 @@ export class BatchQueryParams {
|
|
|
1479
1481
|
get progressBar(): boolean | undefined;
|
|
1480
1482
|
set progressBar(value: BoolInput | null | undefined);
|
|
1481
1483
|
/**
|
|
1482
|
-
* One notification after every completed
|
|
1484
|
+
* One notification after every completed query row. Retained input errors
|
|
1485
|
+
* reject the query before any notification.
|
|
1483
1486
|
*/
|
|
1484
1487
|
get progressCallback(): (() => void) | undefined;
|
|
1485
1488
|
set progressCallback(value: (() => void) | null | undefined);
|
|
@@ -2280,8 +2283,8 @@ export class CxSmilesFields {
|
|
|
2280
2283
|
[Symbol.dispose](): void;
|
|
2281
2284
|
contains(other: CxSmilesFields): boolean;
|
|
2282
2285
|
union(other: CxSmilesFields): CxSmilesFields;
|
|
2283
|
-
static readonly ALL: CxSmilesFields;
|
|
2284
2286
|
static readonly ALL_BUT_COORDS: CxSmilesFields;
|
|
2287
|
+
static readonly ALL: CxSmilesFields;
|
|
2285
2288
|
static readonly ATOM_LABELS: CxSmilesFields;
|
|
2286
2289
|
static readonly ATOM_PROPS: CxSmilesFields;
|
|
2287
2290
|
static readonly BOND_ATROPISOMER: CxSmilesFields;
|
|
@@ -3735,6 +3738,11 @@ export class Molecule {
|
|
|
3735
3738
|
atomPropertyString(atom: IndexInput, key: TextInput): string | undefined;
|
|
3736
3739
|
atomPropertyUint(atom: IndexInput, key: TextInput): number | undefined;
|
|
3737
3740
|
atom(index: IndexInput): MoleculeAtom | undefined;
|
|
3741
|
+
/**
|
|
3742
|
+
* Return an independent Uint8Array of atomic numbers in atom-index order.
|
|
3743
|
+
* No atom handles are created; dummy atoms are zero. No free() is needed.
|
|
3744
|
+
*/
|
|
3745
|
+
atomicNumbers(): Uint8Array;
|
|
3738
3746
|
bondPropertyString(bond: IndexInput, key: TextInput): string | undefined;
|
|
3739
3747
|
bond(index: IndexInput): Bond | undefined;
|
|
3740
3748
|
clear3dConformers_(): void;
|
|
@@ -3771,10 +3779,10 @@ export class Molecule {
|
|
|
3771
3779
|
property(key: TextInput): PropertyValue | undefined;
|
|
3772
3780
|
removeHydrogensWithParams_(params: RemoveHsParams | RemoveHsParamsOptions): void;
|
|
3773
3781
|
removeHydrogens_(params?: RemoveHsParams | RemoveHsParamsOptions | null): void;
|
|
3774
|
-
sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
|
|
3775
3782
|
sanitizeWithParams_(params: SanitizeParams | SanitizeParamsOptions): void;
|
|
3776
|
-
|
|
3783
|
+
sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
|
|
3777
3784
|
sanitize_(params?: SanitizeParams | SanitizeParamsOptions | null): void;
|
|
3785
|
+
sanitize(params?: SanitizeParams | SanitizeParamsOptions | null): Molecule;
|
|
3778
3786
|
set2dCoordinatesWithParams_(coordinates: CoordinateRows, params: Coordinate2DInputParams | Coordinate2DInputParamsOptions): void;
|
|
3779
3787
|
set2dCoordinates_(coordinates: CoordinateRows, params?: Coordinate2DInputParams | Coordinate2DInputParamsOptions | null): void;
|
|
3780
3788
|
set3dCoordinatesWithParams_(coordinates: Coordinates3D, params: Replace3DCoordinatesParams | Replace3DCoordinatesParamsOptions): void;
|
|
@@ -5410,10 +5418,10 @@ export class SanitizeOperations {
|
|
|
5410
5418
|
union(other: SanitizeOperations): SanitizeOperations;
|
|
5411
5419
|
static readonly ADJUST_HS: SanitizeOperations;
|
|
5412
5420
|
static readonly ALL: SanitizeOperations;
|
|
5413
|
-
static readonly CLEANUP: SanitizeOperations;
|
|
5414
5421
|
static readonly CLEANUP_ATROPISOMERS: SanitizeOperations;
|
|
5415
5422
|
static readonly CLEANUP_CHIRALITY: SanitizeOperations;
|
|
5416
5423
|
static readonly CLEANUP_ORGANOMETALLICS: SanitizeOperations;
|
|
5424
|
+
static readonly CLEANUP: SanitizeOperations;
|
|
5417
5425
|
static readonly FIND_RADICALS: SanitizeOperations;
|
|
5418
5426
|
static readonly KEKULIZE: SanitizeOperations;
|
|
5419
5427
|
static readonly NONE: SanitizeOperations;
|
|
@@ -8626,6 +8634,7 @@ export interface InitOutput {
|
|
|
8626
8634
|
readonly molecule_atomPropertyString: (a: number, b: number, c: number, d: number) => void;
|
|
8627
8635
|
readonly molecule_atomPropertyStringVector: (a: number, b: number, c: number, d: number) => void;
|
|
8628
8636
|
readonly molecule_atomPropertyUint: (a: number, b: number, c: number, d: number) => void;
|
|
8637
|
+
readonly molecule_atomicNumbers: (a: number, b: number) => void;
|
|
8629
8638
|
readonly molecule_atoms: (a: number, b: number) => void;
|
|
8630
8639
|
readonly molecule_bond: (a: number, b: number, c: number) => void;
|
|
8631
8640
|
readonly molecule_bondPropertyString: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -10135,71 +10144,71 @@ export interface InitOutput {
|
|
|
10135
10144
|
readonly xyzwriteparams_precision: (a: number, b: number) => void;
|
|
10136
10145
|
readonly xyzwriteparams_set_conformerId: (a: number, b: number, c: number) => void;
|
|
10137
10146
|
readonly xyzwriteparams_set_precision: (a: number, b: number, c: number) => void;
|
|
10138
|
-
readonly
|
|
10139
|
-
readonly
|
|
10140
|
-
readonly
|
|
10141
|
-
readonly
|
|
10142
|
-
readonly
|
|
10143
|
-
readonly
|
|
10144
|
-
readonly
|
|
10145
|
-
readonly
|
|
10146
|
-
readonly
|
|
10147
|
-
readonly
|
|
10148
|
-
readonly
|
|
10149
|
-
readonly
|
|
10150
|
-
readonly
|
|
10151
|
-
readonly
|
|
10152
|
-
readonly
|
|
10153
|
-
readonly
|
|
10154
|
-
readonly
|
|
10155
|
-
readonly
|
|
10156
|
-
readonly
|
|
10157
|
-
readonly
|
|
10158
|
-
readonly
|
|
10159
|
-
readonly
|
|
10160
|
-
readonly
|
|
10161
|
-
readonly
|
|
10162
|
-
readonly
|
|
10163
|
-
readonly
|
|
10164
|
-
readonly
|
|
10165
|
-
readonly
|
|
10166
|
-
readonly
|
|
10167
|
-
readonly
|
|
10168
|
-
readonly
|
|
10169
|
-
readonly
|
|
10170
|
-
readonly
|
|
10171
|
-
readonly
|
|
10172
|
-
readonly
|
|
10173
|
-
readonly
|
|
10174
|
-
readonly
|
|
10175
|
-
readonly __wasm_bindgen_func_elem_542: (a: number, b: number, c: number) => void;
|
|
10147
|
+
readonly __wasm_bindgen_func_elem_539: (a: number, b: number, c: number) => void;
|
|
10148
|
+
readonly __wasm_bindgen_func_elem_539_2486: (a: number, b: number, c: number) => void;
|
|
10149
|
+
readonly __wasm_bindgen_func_elem_539_2489: (a: number, b: number, c: number) => void;
|
|
10150
|
+
readonly __wasm_bindgen_func_elem_539_2490: (a: number, b: number, c: number) => void;
|
|
10151
|
+
readonly __wasm_bindgen_func_elem_539_2491: (a: number, b: number, c: number) => void;
|
|
10152
|
+
readonly __wasm_bindgen_func_elem_539_2492: (a: number, b: number, c: number) => void;
|
|
10153
|
+
readonly __wasm_bindgen_func_elem_539_2493: (a: number, b: number, c: number) => void;
|
|
10154
|
+
readonly __wasm_bindgen_func_elem_539_2494: (a: number, b: number, c: number) => void;
|
|
10155
|
+
readonly __wasm_bindgen_func_elem_539_2499: (a: number, b: number, c: number) => void;
|
|
10156
|
+
readonly __wasm_bindgen_func_elem_539_2500: (a: number, b: number, c: number) => void;
|
|
10157
|
+
readonly __wasm_bindgen_func_elem_539_2501: (a: number, b: number, c: number) => void;
|
|
10158
|
+
readonly __wasm_bindgen_func_elem_539_2502: (a: number, b: number, c: number) => void;
|
|
10159
|
+
readonly __wasm_bindgen_func_elem_539_2504: (a: number, b: number, c: number) => void;
|
|
10160
|
+
readonly __wasm_bindgen_func_elem_539_2509: (a: number, b: number, c: number) => void;
|
|
10161
|
+
readonly __wasm_bindgen_func_elem_539_2510: (a: number, b: number, c: number) => void;
|
|
10162
|
+
readonly __wasm_bindgen_func_elem_539_2511: (a: number, b: number, c: number) => void;
|
|
10163
|
+
readonly __wasm_bindgen_func_elem_539_2512: (a: number, b: number, c: number) => void;
|
|
10164
|
+
readonly __wasm_bindgen_func_elem_539_2515: (a: number, b: number, c: number) => void;
|
|
10165
|
+
readonly __wasm_bindgen_func_elem_539_2516: (a: number, b: number, c: number) => void;
|
|
10166
|
+
readonly __wasm_bindgen_func_elem_539_2517: (a: number, b: number, c: number) => void;
|
|
10167
|
+
readonly __wasm_bindgen_func_elem_539_2518: (a: number, b: number, c: number) => void;
|
|
10168
|
+
readonly __wasm_bindgen_func_elem_539_2519: (a: number, b: number, c: number) => void;
|
|
10169
|
+
readonly __wasm_bindgen_func_elem_539_2528: (a: number, b: number, c: number) => void;
|
|
10170
|
+
readonly __wasm_bindgen_func_elem_539_2529: (a: number, b: number, c: number) => void;
|
|
10171
|
+
readonly __wasm_bindgen_func_elem_539_2530: (a: number, b: number, c: number) => void;
|
|
10172
|
+
readonly __wasm_bindgen_func_elem_539_2532: (a: number, b: number, c: number) => void;
|
|
10173
|
+
readonly __wasm_bindgen_func_elem_539_2534: (a: number, b: number, c: number) => void;
|
|
10174
|
+
readonly __wasm_bindgen_func_elem_539_2535: (a: number, b: number, c: number) => void;
|
|
10175
|
+
readonly __wasm_bindgen_func_elem_539_2537: (a: number, b: number, c: number) => void;
|
|
10176
|
+
readonly __wasm_bindgen_func_elem_539_2538: (a: number, b: number, c: number) => void;
|
|
10177
|
+
readonly __wasm_bindgen_func_elem_539_2539: (a: number, b: number, c: number) => void;
|
|
10178
|
+
readonly __wasm_bindgen_func_elem_539_2540: (a: number, b: number, c: number) => void;
|
|
10179
|
+
readonly __wasm_bindgen_func_elem_539_2541: (a: number, b: number, c: number) => void;
|
|
10180
|
+
readonly __wasm_bindgen_func_elem_539_29: (a: number, b: number, c: number) => void;
|
|
10181
|
+
readonly __wasm_bindgen_func_elem_539_31: (a: number, b: number, c: number) => void;
|
|
10182
|
+
readonly __wasm_bindgen_func_elem_539_32: (a: number, b: number, c: number) => void;
|
|
10183
|
+
readonly __wasm_bindgen_func_elem_539_33: (a: number, b: number, c: number) => void;
|
|
10176
10184
|
readonly __wasm_bindgen_func_elem_544: (a: number, b: number, c: number) => void;
|
|
10177
10185
|
readonly __wasm_bindgen_func_elem_546: (a: number, b: number, c: number) => void;
|
|
10178
10186
|
readonly __wasm_bindgen_func_elem_548: (a: number, b: number, c: number) => void;
|
|
10179
|
-
readonly
|
|
10180
|
-
readonly
|
|
10181
|
-
readonly
|
|
10187
|
+
readonly __wasm_bindgen_func_elem_550: (a: number, b: number, c: number) => void;
|
|
10188
|
+
readonly __wasm_bindgen_func_elem_550_1858: (a: number, b: number, c: number) => void;
|
|
10189
|
+
readonly __wasm_bindgen_func_elem_554: (a: number, b: number, c: number) => void;
|
|
10182
10190
|
readonly __wasm_bindgen_func_elem_558: (a: number, b: number, c: number) => void;
|
|
10183
|
-
readonly __wasm_bindgen_func_elem_558_2513: (a: number, b: number, c: number) => void;
|
|
10184
|
-
readonly __wasm_bindgen_func_elem_558_2532: (a: number, b: number, c: number) => void;
|
|
10185
|
-
readonly __wasm_bindgen_func_elem_558_2535: (a: number, b: number, c: number) => void;
|
|
10186
|
-
readonly __wasm_bindgen_func_elem_558_2541: (a: number, b: number, c: number) => void;
|
|
10187
10191
|
readonly __wasm_bindgen_func_elem_560: (a: number, b: number, c: number) => void;
|
|
10188
|
-
readonly
|
|
10189
|
-
readonly
|
|
10190
|
-
readonly
|
|
10191
|
-
readonly
|
|
10192
|
-
readonly
|
|
10192
|
+
readonly __wasm_bindgen_func_elem_560_2514: (a: number, b: number, c: number) => void;
|
|
10193
|
+
readonly __wasm_bindgen_func_elem_560_2533: (a: number, b: number, c: number) => void;
|
|
10194
|
+
readonly __wasm_bindgen_func_elem_560_2536: (a: number, b: number, c: number) => void;
|
|
10195
|
+
readonly __wasm_bindgen_func_elem_560_2542: (a: number, b: number, c: number) => void;
|
|
10196
|
+
readonly __wasm_bindgen_func_elem_562: (a: number, b: number, c: number) => void;
|
|
10197
|
+
readonly __wasm_bindgen_func_elem_565: (a: number, b: number, c: number) => void;
|
|
10198
|
+
readonly __wasm_bindgen_func_elem_565_2513: (a: number, b: number, c: number) => void;
|
|
10199
|
+
readonly __wasm_bindgen_func_elem_565_2524: (a: number, b: number, c: number) => void;
|
|
10200
|
+
readonly __wasm_bindgen_func_elem_569: (a: number, b: number, c: number) => void;
|
|
10193
10201
|
readonly __wasm_bindgen_func_elem_573: (a: number, b: number, c: number) => void;
|
|
10194
10202
|
readonly __wasm_bindgen_func_elem_575: (a: number, b: number, c: number) => void;
|
|
10195
10203
|
readonly __wasm_bindgen_func_elem_577: (a: number, b: number, c: number) => void;
|
|
10196
|
-
readonly
|
|
10204
|
+
readonly __wasm_bindgen_func_elem_579: (a: number, b: number, c: number) => void;
|
|
10197
10205
|
readonly __wasm_bindgen_func_elem_583: (a: number, b: number, c: number) => void;
|
|
10198
10206
|
readonly __wasm_bindgen_func_elem_585: (a: number, b: number, c: number) => void;
|
|
10199
|
-
readonly
|
|
10207
|
+
readonly __wasm_bindgen_func_elem_587: (a: number, b: number, c: number) => void;
|
|
10200
10208
|
readonly __wasm_bindgen_func_elem_591: (a: number, b: number, c: number) => void;
|
|
10201
10209
|
readonly __wasm_bindgen_func_elem_593: (a: number, b: number, c: number) => void;
|
|
10202
|
-
readonly
|
|
10210
|
+
readonly __wasm_bindgen_func_elem_595: (a: number, b: number, c: number) => void;
|
|
10211
|
+
readonly __wasm_bindgen_func_elem_599: (a: number, b: number, c: number) => void;
|
|
10203
10212
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
10204
10213
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
10205
10214
|
readonly __wbindgen_export3: (a: number) => void;
|