@3cr/viewer-browser 0.0.120 → 0.0.122
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/Viewer3CR.js +2 -2
- package/dist/Viewer3CR.mjs +13 -7
- package/dist/Viewer3CR.umd.js +2 -2
- package/package.json +1 -1
- package/src/App.vue +3 -0
- package/src/demo/licence/DemoLicenceInfoModal.vue +8 -3
- package/src/demo/patient/DemoPatientInfoModal.vue +8 -3
- package/src/demo/patient/DemoPatientShareToMobileModal.vue +65 -0
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -37,11 +37,16 @@ const modalState = computed({
|
|
|
37
37
|
theme="dark"
|
|
38
38
|
max-width="680"
|
|
39
39
|
>
|
|
40
|
-
<v-card-title
|
|
41
|
-
|
|
40
|
+
<v-card-title class="text-center mb-4 mt-2">{{
|
|
41
|
+
demoLicenceTitle
|
|
42
|
+
}}</v-card-title>
|
|
43
|
+
<v-card-text
|
|
44
|
+
class="text-justify"
|
|
45
|
+
v-for="subtitle in demoLicenceSubtitles"
|
|
46
|
+
:key="subtitle"
|
|
42
47
|
>{{ subtitle }}
|
|
43
48
|
</v-card-text>
|
|
44
|
-
<v-card-actions>
|
|
49
|
+
<v-card-actions class="mt-4">
|
|
45
50
|
<v-btn
|
|
46
51
|
color="error"
|
|
47
52
|
@click="modalState = false"
|
|
@@ -37,11 +37,16 @@ const modalState = computed({
|
|
|
37
37
|
theme="dark"
|
|
38
38
|
max-width="680"
|
|
39
39
|
>
|
|
40
|
-
<v-card-title
|
|
41
|
-
|
|
40
|
+
<v-card-title class="text-center mb-4 mt-2">{{
|
|
41
|
+
demoPatientTitle
|
|
42
|
+
}}</v-card-title>
|
|
43
|
+
<v-card-text
|
|
44
|
+
class="text-justify"
|
|
45
|
+
v-for="subtitle in demoPatientSubtitles"
|
|
46
|
+
:key="subtitle"
|
|
42
47
|
>{{ subtitle }}
|
|
43
48
|
</v-card-text>
|
|
44
|
-
<v-card-actions>
|
|
49
|
+
<v-card-actions class="mt-4">
|
|
45
50
|
<v-btn
|
|
46
51
|
color="error"
|
|
47
52
|
@click="modalState = false"
|
|
@@ -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>
|