@3cr/viewer-browser 0.0.22 → 0.0.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3cr/viewer-browser",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "main": "./dist/Viewer3CR.umd.js",
5
5
  "module": "dist/Viewer3CR.umd.js",
6
6
  "homepage": "https://docs.3cr.singular.health",
@@ -12,7 +12,7 @@
12
12
  <body>
13
13
  <div id="app"></div>
14
14
  <script type="module">
15
- window.registerViewer('1.0.0_234', '#app').then(() => {
15
+ window.registerViewer('1.0.0', '#app').then(() => {
16
16
  window.loadViewer().then()
17
17
  })
18
18
  </script>
@@ -582,7 +582,7 @@ const props = withDefaults(defineProps<Props>(), {
582
582
  })
583
583
  });
584
584
 
585
- const emptyPayload = JSON.stringify({ Version: '1.1.0' });
585
+ const emptyPayload = { Version: '1.1.0' };
586
586
 
587
587
  const value = ref<boolean>(false);
588
588
  const drawer = ref<boolean>(true);
@@ -82,5 +82,7 @@ export function generateDivStyleForLayout(layout: PositionData) {
82
82
  props['height'] = `calc(${layout.MaxSize.X * toNumber(canvas?.offsetWidth)}px)`;
83
83
  }
84
84
  }
85
+
86
+ console.log(props)
85
87
  return props;
86
88
  }