@cornerstonejs/tools 1.72.4 → 1.72.5
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/cjs/utilities/getViewportForAnnotation.d.ts +2 -1
- package/dist/cjs/utilities/getViewportForAnnotation.js.map +1 -1
- package/dist/cjs/utilities/getViewportsForAnnotation.d.ts +2 -1
- package/dist/cjs/utilities/getViewportsForAnnotation.js.map +1 -1
- package/dist/esm/utilities/getViewportForAnnotation.js.map +1 -1
- package/dist/esm/utilities/getViewportsForAnnotation.js.map +1 -1
- package/dist/types/utilities/getViewportForAnnotation.d.ts +2 -1
- package/dist/types/utilities/getViewportForAnnotation.d.ts.map +1 -1
- package/dist/types/utilities/getViewportsForAnnotation.d.ts +2 -1
- package/dist/types/utilities/getViewportsForAnnotation.d.ts.map +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -3
- package/src/utilities/getViewportForAnnotation.ts +4 -1
- package/src/utilities/getViewportsForAnnotation.ts +4 -1
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { Annotation } from '../types';
|
|
2
|
-
|
|
2
|
+
import type { Types } from '@cornerstonejs/core';
|
|
3
|
+
export default function getViewportForAnnotation(annotation: Annotation): Types.IStackViewport | Types.IVolumeViewport | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getViewportForAnnotation.js","sourceRoot":"","sources":["../../../src/utilities/getViewportForAnnotation.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"getViewportForAnnotation.js","sourceRoot":"","sources":["../../../src/utilities/getViewportForAnnotation.ts"],"names":[],"mappings":";;;;;AAEA,4FAAoE;AAWpE,SAAwB,wBAAwB,CAC9C,UAAsB;IAEtB,MAAM,SAAS,GAAG,IAAA,mCAAyB,EAAC,UAAU,CAAC,CAAC;IAExD,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACrD,CAAC;AAND,2CAMC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import type { Types } from '@cornerstonejs/core';
|
|
1
2
|
import type { Annotation } from '../types';
|
|
2
|
-
export default function getViewportsForAnnotation(annotation: Annotation): (
|
|
3
|
+
export default function getViewportsForAnnotation(annotation: Annotation): (Types.IStackViewport | Types.IVolumeViewport)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getViewportsForAnnotation.js","sourceRoot":"","sources":["../../../src/utilities/getViewportsForAnnotation.ts"],"names":[],"mappings":";;AAAA,8CAA+E;
|
|
1
|
+
{"version":3,"file":"getViewportsForAnnotation.js","sourceRoot":"","sources":["../../../src/utilities/getViewportsForAnnotation.ts"],"names":[],"mappings":";;AAAA,8CAA+E;AAI/E,MAAM,EAAE,OAAO,EAAE,GAAG,gBAAO,CAAC;AAW5B,SAAwB,yBAAyB,CAC/C,UAAsB;IAEtB,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;IAEhC,OAAO,IAAA,yBAAkB,GAAE;SACxB,MAAM,CAAC,CAAC,cAAc,EAAE,EAAE;QACzB,IAAI,cAAc,CAAC,mBAAmB,KAAK,QAAQ,CAAC,mBAAmB,EAAE;YACvE,MAAM,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;YACzC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;YACzD,OAAO,CACL,OAAO,CAAC,eAAe,EAAE,QAAQ,CAAC,eAAe,CAAC;gBAClD,CAAC,CAAC,QAAQ,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CACvD,CAAC;SACH;QACD,OAAO;IACT,CAAC,CAAC;SACD,GAAG,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;AACtD,CAAC;AAlBD,4CAkBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getViewportForAnnotation.js","sourceRoot":"","sources":["../../../src/utilities/getViewportForAnnotation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getViewportForAnnotation.js","sourceRoot":"","sources":["../../../src/utilities/getViewportForAnnotation.ts"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AAWpE,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAC9C,UAAsB;IAEtB,MAAM,SAAS,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAC;IAExD,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getViewportsForAnnotation.js","sourceRoot":"","sources":["../../../src/utilities/getViewportsForAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"getViewportsForAnnotation.js","sourceRoot":"","sources":["../../../src/utilities/getViewportsForAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI/E,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;AAW5B,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAC/C,UAAsB;IAEtB,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;IAEhC,OAAO,kBAAkB,EAAE;SACxB,MAAM,CAAC,CAAC,cAAc,EAAE,EAAE;QACzB,IAAI,cAAc,CAAC,mBAAmB,KAAK,QAAQ,CAAC,mBAAmB,EAAE;YACvE,MAAM,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;YACzC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;YACzD,OAAO,CACL,OAAO,CAAC,eAAe,EAAE,QAAQ,CAAC,eAAe,CAAC;gBAClD,CAAC,CAAC,QAAQ,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CACvD,CAAC;SACH;QACD,OAAO;IACT,CAAC,CAAC;SACD,GAAG,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;AACtD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { Annotation } from '../types';
|
|
2
|
-
|
|
2
|
+
import type { Types } from '@cornerstonejs/core';
|
|
3
|
+
export default function getViewportForAnnotation(annotation: Annotation): Types.IStackViewport | Types.IVolumeViewport | undefined;
|
|
3
4
|
//# sourceMappingURL=getViewportForAnnotation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getViewportForAnnotation.d.ts","sourceRoot":"","sources":["../../../src/utilities/getViewportForAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"getViewportForAnnotation.d.ts","sourceRoot":"","sources":["../../../src/utilities/getViewportForAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAYjD,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAC9C,UAAU,EAAE,UAAU,GACrB,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,eAAe,GAAG,SAAS,CAI1D"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Types } from '@cornerstonejs/core';
|
|
1
2
|
import type { Annotation } from '../types';
|
|
2
|
-
export default function getViewportsForAnnotation(annotation: Annotation): (
|
|
3
|
+
export default function getViewportsForAnnotation(annotation: Annotation): (Types.IStackViewport | Types.IVolumeViewport)[];
|
|
3
4
|
//# sourceMappingURL=getViewportsForAnnotation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getViewportsForAnnotation.d.ts","sourceRoot":"","sources":["../../../src/utilities/getViewportsForAnnotation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAa3C,MAAM,CAAC,OAAO,UAAU,yBAAyB,
|
|
1
|
+
{"version":3,"file":"getViewportsForAnnotation.d.ts","sourceRoot":"","sources":["../../../src/utilities/getViewportsForAnnotation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAa3C,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAC/C,UAAU,EAAE,UAAU,GACrB,CAAC,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,eAAe,CAAC,EAAE,CAgBlD"}
|