@3cr/viewer-browser 0.0.38 → 0.0.40
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 +8 -8
- package/dist/Viewer3CR.mjs +288 -287
- package/dist/Viewer3CR.umd.js +7 -7
- package/package.json +1 -1
- package/src/components/MftpWebGL3DRModal.vue +18 -46
package/package.json
CHANGED
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
<div
|
|
361
361
|
class="bordered-event-window"
|
|
362
362
|
v-for="layout in scanState.Layout.PositionData"
|
|
363
|
-
:key="
|
|
363
|
+
:key="layout.Anchor"
|
|
364
364
|
:style="{
|
|
365
365
|
...generateDivStyleForLayout(layout),
|
|
366
366
|
cursor: getCurrentActiveView(layout) === ScanView.Volume ? 'grab !important' : 'default',
|
|
@@ -373,7 +373,6 @@
|
|
|
373
373
|
|
|
374
374
|
<div v-if="scanState.Layout.PositionData.length !== 1">
|
|
375
375
|
<v-btn
|
|
376
|
-
class="transparent icon"
|
|
377
376
|
color="transparent"
|
|
378
377
|
@click="fullscreenLayout(layout.DefaultView)"
|
|
379
378
|
>
|
|
@@ -385,33 +384,26 @@
|
|
|
385
384
|
</v-tooltip>
|
|
386
385
|
</div>
|
|
387
386
|
<div v-if="scanState.Layout.PositionData.length === 1">
|
|
388
|
-
<v-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
><v-icon color="white">fullscreen_exit</v-icon></v-btn
|
|
396
|
-
>
|
|
397
|
-
</template>
|
|
387
|
+
<v-btn
|
|
388
|
+
color="transparent"
|
|
389
|
+
@click="layouts(previousLayout)"
|
|
390
|
+
>
|
|
391
|
+
<v-icon color="white">fullscreen_exit</v-icon>
|
|
392
|
+
</v-btn>
|
|
393
|
+
<v-tooltip target="cursor" location="top" activator="parent">
|
|
398
394
|
Exit Fullscreen View
|
|
399
395
|
</v-tooltip>
|
|
400
396
|
</div>
|
|
401
397
|
<div v-if="getCurrentActiveView(layout) === ScanView.Volume">
|
|
402
|
-
<v-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
"
|
|
412
|
-
><v-icon color="white">home</v-icon></v-btn
|
|
413
|
-
>
|
|
414
|
-
</template>
|
|
398
|
+
<v-btn
|
|
399
|
+
color="transparent"
|
|
400
|
+
@click="
|
|
401
|
+
viewSelection('vs_05');
|
|
402
|
+
viewSelection('vs_06');
|
|
403
|
+
"
|
|
404
|
+
><v-icon color="white">home</v-icon></v-btn
|
|
405
|
+
>
|
|
406
|
+
<v-tooltip target="cursor" location="top" activator="parent">
|
|
415
407
|
Reset volume to default view
|
|
416
408
|
</v-tooltip>
|
|
417
409
|
</div>
|
|
@@ -935,24 +927,7 @@ const isLayout1x3 = computed(() => {
|
|
|
935
927
|
unref(scanState).Layout.PositionData[3].Anchor === AnchorPoint.BOTTOM_RIGHT
|
|
936
928
|
)
|
|
937
929
|
})
|
|
938
|
-
|
|
939
|
-
// return (
|
|
940
|
-
// unref(scanState).Layout.PositionData.length > 1 &&
|
|
941
|
-
// unref(scanState).Layout.PositionData[0].Anchor === AnchorPoint.TOP_LEFT &&
|
|
942
|
-
// unref(scanState).Layout.PositionData[1].Anchor === AnchorPoint.TOP_RIGHT &&
|
|
943
|
-
// unref(scanState).Layout.PositionData[2].Anchor === AnchorPoint.BOTTOM_LEFT &&
|
|
944
|
-
// unref(scanState).Layout.PositionData[3].Anchor === AnchorPoint.BOTTOM_RIGHT
|
|
945
|
-
// );
|
|
946
|
-
// }
|
|
947
|
-
// function layoutIs1x3() {
|
|
948
|
-
// return (
|
|
949
|
-
// unref(scanState).Layout.PositionData.length > 1 &&
|
|
950
|
-
// unref(scanState).Layout.PositionData[0].Anchor === AnchorPoint.CENTER &&
|
|
951
|
-
// unref(scanState).Layout.PositionData[1].Anchor === AnchorPoint.TOP_RIGHT &&
|
|
952
|
-
// unref(scanState).Layout.PositionData[2].Anchor === AnchorPoint.RIGHT &&
|
|
953
|
-
// unref(scanState).Layout.PositionData[3].Anchor === AnchorPoint.BOTTOM_RIGHT
|
|
954
|
-
// );
|
|
955
|
-
// }
|
|
930
|
+
|
|
956
931
|
|
|
957
932
|
function getCurrentGreyscalePreset() {
|
|
958
933
|
for (const preset of unref(initialScanState).GreyscalePresets) {
|
|
@@ -978,9 +953,6 @@ function handleOnPayload(interfaceSet: string | FrontEndInterfaces, actionSet: s
|
|
|
978
953
|
if (interfaceSet === FrontEndInterfaces.scan_loading || interfaceSet === 'scan_state') {
|
|
979
954
|
i_scanState(actionSet, message)
|
|
980
955
|
}
|
|
981
|
-
// if (interfaceSet === 'scan_state') {
|
|
982
|
-
// i_scanState(actionSet, message)
|
|
983
|
-
// }
|
|
984
956
|
if (interfaceSet === FrontEndInterfaces.file_management) {
|
|
985
957
|
i_fileManagement(actionSet, message)
|
|
986
958
|
}
|