@cornerstonejs/tools 0.44.0 → 0.45.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.
@@ -5,6 +5,7 @@ function normalizeSegmentationInput(segmentationInput) {
5
5
  return {
6
6
  segmentationId,
7
7
  cachedStats: {},
8
+ segmentLabels: {},
8
9
  label: null,
9
10
  segmentsLocked: new Set(),
10
11
  type: representation.type,
@@ -1 +1 @@
1
- {"version":3,"file":"normalizeSegmentationInput.js","sourceRoot":"","sources":["../../../../../src/stateManagement/segmentation/helpers/normalizeSegmentationInput.ts"],"names":[],"mappings":";;AAWA,SAAS,0BAA0B,CACjC,iBAA0C;IAE1C,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,GAAG,iBAAiB,CAAC;IAI7D,OAAO;QACL,cAAc;QACd,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,IAAI;QACX,cAAc,EAAE,IAAI,GAAG,EAAE;QACzB,IAAI,EAAE,cAAc,CAAC,IAAI;QACzB,kBAAkB,EAAE,CAAC;QACrB,kBAAkB,EAAE;YAClB,CAAC,cAAc,CAAC,IAAI,CAAC,oBAChB,cAAc,CAAC,IAAI,CACvB;SACF;KACF,CAAC;AACJ,CAAC;AAED,kBAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"normalizeSegmentationInput.js","sourceRoot":"","sources":["../../../../../src/stateManagement/segmentation/helpers/normalizeSegmentationInput.ts"],"names":[],"mappings":";;AAWA,SAAS,0BAA0B,CACjC,iBAA0C;IAE1C,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,GAAG,iBAAiB,CAAC;IAI7D,OAAO;QACL,cAAc;QACd,WAAW,EAAE,EAAE;QACf,aAAa,EAAE,EAAE;QACjB,KAAK,EAAE,IAAI;QACX,cAAc,EAAE,IAAI,GAAG,EAAE;QACzB,IAAI,EAAE,cAAc,CAAC,IAAI;QACzB,kBAAkB,EAAE,CAAC;QACrB,kBAAkB,EAAE;YAClB,CAAC,cAAc,CAAC,IAAI,CAAC,oBAChB,cAAc,CAAC,IAAI,CACvB;SACF;KACF,CAAC;AACJ,CAAC;AAED,kBAAe,0BAA0B,CAAC"}
@@ -27,6 +27,9 @@ export declare type Segmentation = {
27
27
  cachedStats: {
28
28
  [key: string]: number;
29
29
  };
30
+ segmentLabels: {
31
+ [key: string]: string;
32
+ };
30
33
  representationData: SegmentationRepresentationData;
31
34
  };
32
35
  export declare type ToolGroupSpecificRepresentationState = {
@@ -3,6 +3,7 @@ function normalizeSegmentationInput(segmentationInput) {
3
3
  return {
4
4
  segmentationId,
5
5
  cachedStats: {},
6
+ segmentLabels: {},
6
7
  label: null,
7
8
  segmentsLocked: new Set(),
8
9
  type: representation.type,
@@ -1 +1 @@
1
- {"version":3,"file":"normalizeSegmentationInput.js","sourceRoot":"","sources":["../../../../../src/stateManagement/segmentation/helpers/normalizeSegmentationInput.ts"],"names":[],"mappings":"AAWA,SAAS,0BAA0B,CACjC,iBAA0C;IAE1C,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,GAAG,iBAAiB,CAAC;IAI7D,OAAO;QACL,cAAc;QACd,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,IAAI;QACX,cAAc,EAAE,IAAI,GAAG,EAAE;QACzB,IAAI,EAAE,cAAc,CAAC,IAAI;QACzB,kBAAkB,EAAE,CAAC;QACrB,kBAAkB,EAAE;YAClB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE;gBACrB,GAAG,cAAc,CAAC,IAAI;aACvB;SACF;KACF,CAAC;AACJ,CAAC;AAED,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"normalizeSegmentationInput.js","sourceRoot":"","sources":["../../../../../src/stateManagement/segmentation/helpers/normalizeSegmentationInput.ts"],"names":[],"mappings":"AAWA,SAAS,0BAA0B,CACjC,iBAA0C;IAE1C,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,GAAG,iBAAiB,CAAC;IAI7D,OAAO;QACL,cAAc;QACd,WAAW,EAAE,EAAE;QACf,aAAa,EAAE,EAAE;QACjB,KAAK,EAAE,IAAI;QACX,cAAc,EAAE,IAAI,GAAG,EAAE;QACzB,IAAI,EAAE,cAAc,CAAC,IAAI;QACzB,kBAAkB,EAAE,CAAC;QACrB,kBAAkB,EAAE;YAClB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE;gBACrB,GAAG,cAAc,CAAC,IAAI;aACvB;SACF;KACF,CAAC;AACJ,CAAC;AAED,eAAe,0BAA0B,CAAC"}
@@ -27,6 +27,9 @@ export declare type Segmentation = {
27
27
  cachedStats: {
28
28
  [key: string]: number;
29
29
  };
30
+ segmentLabels: {
31
+ [key: string]: string;
32
+ };
30
33
  representationData: SegmentationRepresentationData;
31
34
  };
32
35
  export declare type ToolGroupSpecificRepresentationState = {