dwv 0.33.0-beta.0 → 0.33.0-beta.1
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/dist/dwv.d.ts +27 -1
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/package.json +2 -2
package/dist/dwv.d.ts
CHANGED
|
@@ -299,6 +299,20 @@ export declare class App {
|
|
|
299
299
|
* @param {object} configs The configuration list.
|
|
300
300
|
*/
|
|
301
301
|
setDataViewConfig(configs: object): void;
|
|
302
|
+
/**
|
|
303
|
+
* Add a data view config.
|
|
304
|
+
*
|
|
305
|
+
* @param {number} dataId The data id.
|
|
306
|
+
* @param {object} config The view configuration.
|
|
307
|
+
*/
|
|
308
|
+
addDataViewConfig(dataId: number, config: object): void;
|
|
309
|
+
/**
|
|
310
|
+
* Remove a data view config.
|
|
311
|
+
*
|
|
312
|
+
* @param {number} dataId The data id.
|
|
313
|
+
* @param {object} config The view configuration.
|
|
314
|
+
*/
|
|
315
|
+
removeDataViewConfig(dataId: number, config: object): void;
|
|
302
316
|
/**
|
|
303
317
|
* Set the layer groups binders.
|
|
304
318
|
*
|
|
@@ -521,7 +535,13 @@ export declare const defaultPresets: {
|
|
|
521
535
|
};
|
|
522
536
|
};
|
|
523
537
|
|
|
524
|
-
export declare
|
|
538
|
+
export declare namespace defaults {
|
|
539
|
+
let labelText: {
|
|
540
|
+
[x: string]: {
|
|
541
|
+
[x: string]: string;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
}
|
|
525
545
|
|
|
526
546
|
/**
|
|
527
547
|
* DicomParser class.
|
|
@@ -1705,6 +1725,12 @@ export declare class LayerGroup {
|
|
|
1705
1725
|
* Empty the layer list.
|
|
1706
1726
|
*/
|
|
1707
1727
|
empty(): void;
|
|
1728
|
+
/**
|
|
1729
|
+
* Remove a layer from this layer group.
|
|
1730
|
+
*
|
|
1731
|
+
* @param {ViewLayer | DrawLayer} layer The layer to remove.
|
|
1732
|
+
*/
|
|
1733
|
+
removeLayer(layer: ViewLayer | DrawLayer): void;
|
|
1708
1734
|
/**
|
|
1709
1735
|
* Update layers (but not the active view layer) to a position change.
|
|
1710
1736
|
*
|