@3cr/viewer-browser 0.0.119 → 0.0.121

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.119",
3
+ "version": "0.0.121",
4
4
  "main": "./dist/Viewer3CR.umd.js",
5
5
  "module": "dist/Viewer3CR.umd.js",
6
6
  "homepage": "https://docs.3cr.singular.health",
package/src/App.vue CHANGED
@@ -81,4 +81,7 @@ async function loadInstance(
81
81
  .transparent {
82
82
  background-color: transparent;
83
83
  }
84
+ .v-dialog.v-overlay--active {
85
+ backdrop-filter: blur(4px);
86
+ }
84
87
  </style>
@@ -0,0 +1,27 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="1500" height="1500" viewBox="0 0 1500 1500">
2
+ <rect width="100" height="100" fill="#00000000"></rect>
3
+ <g transform="matrix(0.6666666666666666,0,0,0.6666666666666666,249.39393939393938,699.7570253441612)">
4
+ <svg viewBox="350 0 396 40" data-background-color="#ffffff" preserveAspectRatio="xMidYMid meet" height="151" width="500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
5
+ <g id="tight-bounds" transform="matrix(1,0,0,1,0.2400000000000091,-0.035904110262748645)">
6
+ <svg viewBox="0 0 395.52 40.07180822052549" height="40.07180822052549" width="395.52">
7
+ <g>
8
+ <svg viewBox="0 0 437.0186036473404 44.27620771176696" height="40.07180822052549" width="395.52">
9
+ <g transform="matrix(1,0,0,1,403.08335022558833,0)">
10
+ <svg viewBox="0 0 33.935253421752066 44.27620771176696" height="44.27620771176696" width="33.935253421752066">
11
+ <g>
12
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="15.509999999999998 5 68.98000000000002 90" x="0" y="0" height="44.27620771176696" width="33.935253421752066" class="icon-icon-0" data-fill-palette-color="accent" id="icon-0"><path d="M49.948 5c-9.011 0-17.417 3.197-23.667 9.004-7.046 6.548-10.771 15.858-10.771 26.922 0 19.274 31.807 52.126 33.161 53.515 0.347 0.356 0.823 0.557 1.32 0.559h0.005c0.496 0 0.971-0.199 1.318-0.552 1.355-1.374 33.176-33.866 33.176-53.522C84.49 17.341 67.115 5 49.948 5m0.056 85.466c-6.047-6.46-30.79-33.85-30.79-49.54 0-10.008 3.317-18.379 9.588-24.208 5.563-5.168 13.073-8.015 21.146-8.015 14.853 0 30.839 10.084 30.839 32.223 0 16.003-24.725 43.133-30.783 49.54" fill="#ffffff" data-fill-palette-color="accent"></path><path d="M50 19.491c-10.019 0-18.171 8.152-18.171 18.171S39.981 55.833 50 55.833s18.171-8.152 18.171-18.171S60.019 19.491 50 19.491m0 32.638c-7.977 0-14.467-6.49-14.467-14.467S42.023 23.195 50 23.195c7.979 0 14.467 6.49 14.467 14.467S57.979 52.129 50 52.129" fill="#ffffff" data-fill-palette-color="accent">
13
+
14
+ </path>
15
+ </svg>
16
+ </g>
17
+ </svg>
18
+ </g>
19
+ </svg>
20
+ </g>
21
+ <defs></defs>
22
+ </svg>
23
+ <rect width="395.52" height="40.07180822052549" fill="none" stroke="none" visibility="hidden"></rect>
24
+ </g>
25
+ </svg>
26
+ </g>
27
+ </svg>
@@ -255,8 +255,8 @@
255
255
  </div>
256
256
  <div
257
257
  v-else
258
- class="d-flex align-center pb-1 my-n12"
259
- :class="drawerCollapsed ? 'py-2' : 'pa-2'"
258
+ class="d-flex align-center pb-1"
259
+ :class="drawerCollapsed ? 'py-2' : 'pa-2 my-n12'"
260
260
  >
261
261
  <img
262
262
  v-if="!drawerCollapsed"
@@ -266,6 +266,14 @@
266
266
  class="ma-auto my-n16"
267
267
  style="opacity: 0.9"
268
268
  />
269
+ <img
270
+ v-if="drawerCollapsed"
271
+ src="../../assets/images/dark/demo-icon-small.png"
272
+ height="48"
273
+ alt="logo"
274
+ class="ma-auto"
275
+ style="opacity: 0.9"
276
+ />
269
277
  </div>
270
278
  <div
271
279
  class="text-center mx-auto pa-0 text-white sub-type"
@@ -0,0 +1,65 @@
1
+ <script setup lang="ts">
2
+ import { computed } from "vue";
3
+ import {
4
+ demoPatientSubtitles,
5
+ demoPatientTitle,
6
+ openUrl,
7
+ } from "@/demo/options";
8
+
9
+ export interface Props {
10
+ modal: boolean;
11
+ isModalOpen: boolean;
12
+ }
13
+
14
+ const emit = defineEmits<{
15
+ "update:modal": [value: boolean];
16
+ }>();
17
+
18
+ const props = withDefaults(defineProps<Props>(), {
19
+ modal: false,
20
+ isModalOpen: true,
21
+ });
22
+
23
+ const modalState = computed({
24
+ get() {
25
+ return props.modal;
26
+ },
27
+ set(value) {
28
+ emit("update:modal", value);
29
+ },
30
+ });
31
+ </script>
32
+
33
+ <template>
34
+ <v-dialog v-model:model-value="modalState">
35
+ <v-card
36
+ class="pa-1 ma-auto position-relative motif-background"
37
+ theme="dark"
38
+ max-width="680"
39
+ >
40
+ <v-card-title>{{ demoPatientTitle }}</v-card-title>
41
+ <v-card-text v-for="subtitle in demoPatientSubtitles" :key="subtitle"
42
+ >{{ subtitle }}
43
+ </v-card-text>
44
+ <v-card-actions>
45
+ <v-btn
46
+ color="error"
47
+ @click="modalState = false"
48
+ :disabled="!isModalOpen"
49
+ >
50
+ Continue with Demo
51
+ </v-btn>
52
+ <v-spacer />
53
+ <v-btn
54
+ variant="tonal"
55
+ color="success"
56
+ @click="openUrl('https://3dicomviewer.com/pricing')"
57
+ >
58
+ Purchase 3Dicom Patient
59
+ </v-btn>
60
+ </v-card-actions>
61
+ </v-card>
62
+ </v-dialog>
63
+ </template>
64
+
65
+ <style scoped></style>