dwv 0.35.0-beta.26 → 0.35.0-beta.28
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 +13 -9
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/package.json +4 -4
package/dist/dwv.d.ts
CHANGED
|
@@ -96,10 +96,6 @@ export declare class Annotation {
|
|
|
96
96
|
* @type {Point3D[]|undefined}
|
|
97
97
|
*/
|
|
98
98
|
planePoints: Point3D[] | undefined;
|
|
99
|
-
/**
|
|
100
|
-
* Set the annotation id and uid.
|
|
101
|
-
*/
|
|
102
|
-
setIds(): void;
|
|
103
99
|
/**
|
|
104
100
|
* Get the concepts ids of the annotation meta data.
|
|
105
101
|
*
|
|
@@ -189,9 +185,9 @@ export declare class Annotation {
|
|
|
189
185
|
/**
|
|
190
186
|
* Get the math shape associated draw factory.
|
|
191
187
|
*
|
|
192
|
-
* @returns {object} The factory.
|
|
188
|
+
* @returns {object|undefined} The factory.
|
|
193
189
|
*/
|
|
194
|
-
getFactory(): object;
|
|
190
|
+
getFactory(): object | undefined;
|
|
195
191
|
#private;
|
|
196
192
|
}
|
|
197
193
|
|
|
@@ -251,8 +247,9 @@ export declare class AnnotationGroup {
|
|
|
251
247
|
*
|
|
252
248
|
* @param {Annotation} annotation The annotation to update.
|
|
253
249
|
* @param {string[]} [propKeys] Optional properties that got updated.
|
|
250
|
+
* @param {boolean} [silent] Whether to send a update event or not.
|
|
254
251
|
*/
|
|
255
|
-
update(annotation: Annotation, propKeys?: string[]): void;
|
|
252
|
+
update(annotation: Annotation, propKeys?: string[], silent?: boolean): void;
|
|
256
253
|
/**
|
|
257
254
|
* Remove an annotation.
|
|
258
255
|
*
|
|
@@ -1703,8 +1700,9 @@ export declare class DrawController {
|
|
|
1703
1700
|
*
|
|
1704
1701
|
* @param {Annotation} annotation The annotation to update.
|
|
1705
1702
|
* @param {string[]} [propKeys] Optional properties that got updated.
|
|
1703
|
+
* @param {boolean} [silent] Whether to send a update event or not.
|
|
1706
1704
|
*/
|
|
1707
|
-
updateAnnotation(annotation: Annotation, propKeys?: string[]): void;
|
|
1705
|
+
updateAnnotation(annotation: Annotation, propKeys?: string[], silent?: boolean): void;
|
|
1708
1706
|
/**
|
|
1709
1707
|
* Remove an anotation for the list.
|
|
1710
1708
|
*
|
|
@@ -2568,7 +2566,7 @@ export declare namespace i18n {
|
|
|
2568
2566
|
* @param {string} key The key to the text entry.
|
|
2569
2567
|
* @returns {string|undefined} The translated text.
|
|
2570
2568
|
*/
|
|
2571
|
-
export function t(key: string): string;
|
|
2569
|
+
export function t(key: string): string | undefined;
|
|
2572
2570
|
}
|
|
2573
2571
|
|
|
2574
2572
|
/**
|
|
@@ -5849,6 +5847,12 @@ export declare class ViewController {
|
|
|
5849
5847
|
* @returns {string} The unit.
|
|
5850
5848
|
*/
|
|
5851
5849
|
getPixelUnit(): string;
|
|
5850
|
+
/**
|
|
5851
|
+
* Get the image length unit.
|
|
5852
|
+
*
|
|
5853
|
+
* @returns {string} The unit.
|
|
5854
|
+
*/
|
|
5855
|
+
getLengthUnit(): string;
|
|
5852
5856
|
/**
|
|
5853
5857
|
* Get some values from the associated image in a region.
|
|
5854
5858
|
*
|