@3cr/viewer-browser 0.0.334 → 0.0.335
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/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-scan/sonarcloud-scan.log +306 -290
- package/dist/Viewer3CR.js +36 -36
- package/dist/Viewer3CR.mjs +4513 -4555
- package/dist/Viewer3CR.umd.js +40 -40
- package/package.json +1 -1
- package/src/components/modal/modal/ShareModal.vue +3 -23
- package/src/components/modal/modal/__tests__/ShareModal.spec.ts +3 -24
- package/src/plugins/locales/en.json +5 -16
- package/test-output/coverage/coverage-final.json +12 -12
- package/test-output/coverage/index.html +15 -15
- package/test-output/coverage/lcov-report/index.html +15 -15
- package/test-output/coverage/lcov-report/src/components/modal/ActionRail.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/Viewer3cr.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/Viewer3crWebGL.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/ViewerActionRail.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/ViewerNavigationDrawer.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/ViewerScanView.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/Action.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/Flip3dAction.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/FlipHorizontalAction.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/FlipVerticalAction.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/FullscreenAction.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/LengthAction.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/PanAction.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/ResetViewAction.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/Rotate2dAction.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/Slice3dAction.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/ZoomAction.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/actions/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/app-bars/ViewerActionBar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/app-bars/ViewerAppBar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/app-bars/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/layouts/WebGLClipPath.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/layouts/WebGLClipPathRect.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/layouts/composables/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/layouts/composables/useActiveLayout.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/layouts/composables/useLayout1x3.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/layouts/composables/useLayout2x2.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/layouts/composables/useLayoutFullscreen.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/layouts/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/menus/AutoAnnotateMenu.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/menus/AvatarDropdownMenu.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/menus/HelpMenu.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/menus/SettingsMenu.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/menus/ShareMenu.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/menus/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/modal/AiModelList.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/modal/AskAiModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/modal/AutoAnnotateModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/modal/CloseViewerModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/modal/DataOverlayGeneralModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/modal/DataOverlayMeasurementModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/modal/DataOverlayModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/modal/ShareModal.vue.html +12 -72
- package/test-output/coverage/lcov-report/src/components/modal/modal/UploadsDrawer.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/modal/index.html +18 -18
- package/test-output/coverage/lcov-report/src/components/modal/snackbars/AnnotationGeneratedSnackbar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/snackbars/ImagesSharedSnackbar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/modal/snackbars/LinkCopiedSnackbar.vue.html +3 -3
- package/test-output/coverage/lcov-report/src/components/modal/snackbars/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationCreateModal.vue.html +3 -3
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationCreateSnackbar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationDataTable.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationDeleteModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationDeleteSnackbar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationForm.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationIcon.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationInfo.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationMenu.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationPanel.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationTools.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationUpdateModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/AnnotationVisibilityBtn.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/DrawerTitle.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/annotation/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/display/DisplayPanel.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/display/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/history/HistoryModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/history/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadAddObjectBtn.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadDataTable.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadDataTableItems.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadDeleteModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadDropZone.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadFloating.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadIcon.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadInvert.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadLockBtn.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadMenu.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadOpacity.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadPanel.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadToggleSortBtn.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadToggleVisibilityBtn.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadUpdateModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/McadVisibilityBtn.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/mcad/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementAngleSnackbar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementDataTable.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementDeleteModal.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementDeleteSnackbar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementIcon.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementInfo.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementInfoAngle.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementInfoLength.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementInfoPolygon.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementLengthSnackbar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementMenu.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementPanel.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementPolygonSnackbar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementTools.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/MeasurementVisibilityBtn.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/navigation/measurement/index.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/ColourPalette.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/DoubleSliderSelector.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/HorizontalSliderSelector.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/KeyboardShortcuts.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/LoadingSpinner.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/MultiLoginError.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/NotificationToaster.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/ShSelect.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/ShTextField.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/ShTextarea.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/UpdateSnackbar.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/ValueSelector.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/VerticalSliderSelector.vue.html +1 -1
- package/test-output/coverage/lcov-report/src/components/shared/index.html +1 -1
- package/test-output/coverage/lcov-report/src/composables/index.html +1 -1
- package/test-output/coverage/lcov-report/src/composables/useNavigationCube.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/composables/useNotificationHandler.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/composables/useScanMovement.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/composables/useScanSliders.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/composables/useToolGroup.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/composables/useViewName.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/composables/useViewer3cr.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/config.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/constants.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/HotkeyScope.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/chunker.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/clamp.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/colours.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/fileReader.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/guards/index.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/guards/isDataOverlayAngle.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/guards/isDataOverlayLength.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/guards/isDataOverlayPolygon.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/index.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/modelHelper.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/openUrl.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/parsers/index.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/parsers/parseAction.ts.html +6 -6
- package/test-output/coverage/lcov-report/src/functions/parsers/parseCallToAction.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/parsers/parseDataOverlay.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/parsers/parseDataOverlayData.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/parsers/parseDataOverlayEvent.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/parsers/parseMcadEvent.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/platform.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/translateTooltipShortcut.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/functions/tsHelper.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/helpers/index.html +1 -1
- package/test-output/coverage/lcov-report/src/helpers/typedArray.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/index.html +1 -1
- package/test-output/coverage/lcov-report/src/models/eventHandlers.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/models/index.html +1 -1
- package/test-output/coverage/lcov-report/src/models/iso-languages.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/models/progress.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/models/scanState.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/plugins/index.html +1 -1
- package/test-output/coverage/lcov-report/src/plugins/material-symbols/aliases.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/plugins/material-symbols/index.html +1 -1
- package/test-output/coverage/lcov-report/src/plugins/material-symbols/material-symbols-filled.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/plugins/material-symbols/material-symbols-outlined.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/plugins/pinia.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/plugins/version.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/plugins/vue-i18n.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/plugins/vuetify.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/services/gpt.service.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/services/index.html +1 -1
- package/test-output/coverage/lcov-report/src/services/mobile.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/services/models.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/services/service-worker.service.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/services/viewer-3cr.service.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/data-overlay.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/demo.store.ts.html +4 -4
- package/test-output/coverage/lcov-report/src/stores/drawer.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/index.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/intro.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/language.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/mcad-floating.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/mcad.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/save.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/theme.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/tool.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/upload.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/stores/viewer.store.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/annotation-create.tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/annotation-move.tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/data-overlay.tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/index.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/mcad-move.tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/mcad-rotate.tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/mcad-scale-tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/mcad-select-tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/measurement-angle.tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/measurement-length.tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/tools/measurement-polygon.tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/types/index.html +1 -1
- package/test-output/coverage/lcov-report/src/types/viewer-tool.ts.html +1 -1
- package/test-output/coverage/lcov-report/src/vite-env.d.ts.html +1 -1
- package/test-output/coverage/lcov.info +106 -130
- package/test-output/coverage/src/components/modal/ActionRail.vue.html +1 -1
- package/test-output/coverage/src/components/modal/Viewer3cr.vue.html +1 -1
- package/test-output/coverage/src/components/modal/Viewer3crWebGL.vue.html +1 -1
- package/test-output/coverage/src/components/modal/ViewerActionRail.vue.html +1 -1
- package/test-output/coverage/src/components/modal/ViewerNavigationDrawer.vue.html +1 -1
- package/test-output/coverage/src/components/modal/ViewerScanView.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/Action.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/Flip3dAction.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/FlipHorizontalAction.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/FlipVerticalAction.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/FullscreenAction.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/LengthAction.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/PanAction.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/ResetViewAction.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/Rotate2dAction.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/Slice3dAction.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/ZoomAction.vue.html +1 -1
- package/test-output/coverage/src/components/modal/actions/index.html +1 -1
- package/test-output/coverage/src/components/modal/app-bars/ViewerActionBar.vue.html +1 -1
- package/test-output/coverage/src/components/modal/app-bars/ViewerAppBar.vue.html +1 -1
- package/test-output/coverage/src/components/modal/app-bars/index.html +1 -1
- package/test-output/coverage/src/components/modal/index.html +1 -1
- package/test-output/coverage/src/components/modal/layouts/WebGLClipPath.vue.html +1 -1
- package/test-output/coverage/src/components/modal/layouts/WebGLClipPathRect.vue.html +1 -1
- package/test-output/coverage/src/components/modal/layouts/composables/index.html +1 -1
- package/test-output/coverage/src/components/modal/layouts/composables/useActiveLayout.ts.html +1 -1
- package/test-output/coverage/src/components/modal/layouts/composables/useLayout1x3.ts.html +1 -1
- package/test-output/coverage/src/components/modal/layouts/composables/useLayout2x2.ts.html +1 -1
- package/test-output/coverage/src/components/modal/layouts/composables/useLayoutFullscreen.ts.html +1 -1
- package/test-output/coverage/src/components/modal/layouts/index.html +1 -1
- package/test-output/coverage/src/components/modal/menus/AutoAnnotateMenu.vue.html +1 -1
- package/test-output/coverage/src/components/modal/menus/AvatarDropdownMenu.vue.html +1 -1
- package/test-output/coverage/src/components/modal/menus/HelpMenu.vue.html +1 -1
- package/test-output/coverage/src/components/modal/menus/SettingsMenu.vue.html +1 -1
- package/test-output/coverage/src/components/modal/menus/ShareMenu.vue.html +1 -1
- package/test-output/coverage/src/components/modal/menus/index.html +1 -1
- package/test-output/coverage/src/components/modal/modal/AiModelList.vue.html +1 -1
- package/test-output/coverage/src/components/modal/modal/AskAiModal.vue.html +1 -1
- package/test-output/coverage/src/components/modal/modal/AutoAnnotateModal.vue.html +1 -1
- package/test-output/coverage/src/components/modal/modal/CloseViewerModal.vue.html +1 -1
- package/test-output/coverage/src/components/modal/modal/DataOverlayGeneralModal.vue.html +1 -1
- package/test-output/coverage/src/components/modal/modal/DataOverlayMeasurementModal.vue.html +1 -1
- package/test-output/coverage/src/components/modal/modal/DataOverlayModal.vue.html +1 -1
- package/test-output/coverage/src/components/modal/modal/ShareModal.vue.html +12 -72
- package/test-output/coverage/src/components/modal/modal/UploadsDrawer.vue.html +1 -1
- package/test-output/coverage/src/components/modal/modal/index.html +18 -18
- package/test-output/coverage/src/components/modal/snackbars/AnnotationGeneratedSnackbar.vue.html +1 -1
- package/test-output/coverage/src/components/modal/snackbars/ImagesSharedSnackbar.vue.html +1 -1
- package/test-output/coverage/src/components/modal/snackbars/LinkCopiedSnackbar.vue.html +3 -3
- package/test-output/coverage/src/components/modal/snackbars/index.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationCreateModal.vue.html +3 -3
- package/test-output/coverage/src/components/navigation/annotation/AnnotationCreateSnackbar.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationDataTable.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationDeleteModal.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationDeleteSnackbar.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationForm.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationIcon.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationInfo.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationMenu.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationPanel.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationTools.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationUpdateModal.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/AnnotationVisibilityBtn.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/DrawerTitle.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/annotation/index.html +1 -1
- package/test-output/coverage/src/components/navigation/display/DisplayPanel.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/display/index.html +1 -1
- package/test-output/coverage/src/components/navigation/history/HistoryModal.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/history/index.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadAddObjectBtn.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadDataTable.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadDataTableItems.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadDeleteModal.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadDropZone.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadFloating.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadIcon.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadInvert.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadLockBtn.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadMenu.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadOpacity.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadPanel.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadToggleSortBtn.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadToggleVisibilityBtn.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadUpdateModal.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/McadVisibilityBtn.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/mcad/index.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementAngleSnackbar.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementDataTable.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementDeleteModal.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementDeleteSnackbar.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementIcon.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementInfo.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementInfoAngle.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementInfoLength.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementInfoPolygon.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementLengthSnackbar.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementMenu.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementPanel.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementPolygonSnackbar.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementTools.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/MeasurementVisibilityBtn.vue.html +1 -1
- package/test-output/coverage/src/components/navigation/measurement/index.html +1 -1
- package/test-output/coverage/src/components/shared/ColourPalette.vue.html +1 -1
- package/test-output/coverage/src/components/shared/DoubleSliderSelector.vue.html +1 -1
- package/test-output/coverage/src/components/shared/HorizontalSliderSelector.vue.html +1 -1
- package/test-output/coverage/src/components/shared/KeyboardShortcuts.vue.html +1 -1
- package/test-output/coverage/src/components/shared/LoadingSpinner.vue.html +1 -1
- package/test-output/coverage/src/components/shared/MultiLoginError.vue.html +1 -1
- package/test-output/coverage/src/components/shared/NotificationToaster.vue.html +1 -1
- package/test-output/coverage/src/components/shared/ShSelect.vue.html +1 -1
- package/test-output/coverage/src/components/shared/ShTextField.vue.html +1 -1
- package/test-output/coverage/src/components/shared/ShTextarea.vue.html +1 -1
- package/test-output/coverage/src/components/shared/UpdateSnackbar.vue.html +1 -1
- package/test-output/coverage/src/components/shared/ValueSelector.vue.html +1 -1
- package/test-output/coverage/src/components/shared/VerticalSliderSelector.vue.html +1 -1
- package/test-output/coverage/src/components/shared/index.html +1 -1
- package/test-output/coverage/src/composables/index.html +1 -1
- package/test-output/coverage/src/composables/useNavigationCube.ts.html +1 -1
- package/test-output/coverage/src/composables/useNotificationHandler.ts.html +1 -1
- package/test-output/coverage/src/composables/useScanMovement.ts.html +1 -1
- package/test-output/coverage/src/composables/useScanSliders.ts.html +1 -1
- package/test-output/coverage/src/composables/useToolGroup.ts.html +1 -1
- package/test-output/coverage/src/composables/useViewName.ts.html +1 -1
- package/test-output/coverage/src/composables/useViewer3cr.ts.html +1 -1
- package/test-output/coverage/src/config.ts.html +1 -1
- package/test-output/coverage/src/constants.ts.html +1 -1
- package/test-output/coverage/src/functions/HotkeyScope.ts.html +1 -1
- package/test-output/coverage/src/functions/chunker.ts.html +1 -1
- package/test-output/coverage/src/functions/clamp.ts.html +1 -1
- package/test-output/coverage/src/functions/colours.ts.html +1 -1
- package/test-output/coverage/src/functions/fileReader.ts.html +1 -1
- package/test-output/coverage/src/functions/guards/index.html +1 -1
- package/test-output/coverage/src/functions/guards/isDataOverlayAngle.ts.html +1 -1
- package/test-output/coverage/src/functions/guards/isDataOverlayLength.ts.html +1 -1
- package/test-output/coverage/src/functions/guards/isDataOverlayPolygon.ts.html +1 -1
- package/test-output/coverage/src/functions/index.html +1 -1
- package/test-output/coverage/src/functions/modelHelper.ts.html +1 -1
- package/test-output/coverage/src/functions/openUrl.ts.html +1 -1
- package/test-output/coverage/src/functions/parsers/index.html +1 -1
- package/test-output/coverage/src/functions/parsers/parseAction.ts.html +6 -6
- package/test-output/coverage/src/functions/parsers/parseCallToAction.ts.html +1 -1
- package/test-output/coverage/src/functions/parsers/parseDataOverlay.ts.html +1 -1
- package/test-output/coverage/src/functions/parsers/parseDataOverlayData.ts.html +1 -1
- package/test-output/coverage/src/functions/parsers/parseDataOverlayEvent.ts.html +1 -1
- package/test-output/coverage/src/functions/parsers/parseMcadEvent.ts.html +1 -1
- package/test-output/coverage/src/functions/platform.ts.html +1 -1
- package/test-output/coverage/src/functions/translateTooltipShortcut.ts.html +1 -1
- package/test-output/coverage/src/functions/tsHelper.ts.html +1 -1
- package/test-output/coverage/src/helpers/index.html +1 -1
- package/test-output/coverage/src/helpers/typedArray.ts.html +1 -1
- package/test-output/coverage/src/index.html +1 -1
- package/test-output/coverage/src/models/eventHandlers.ts.html +1 -1
- package/test-output/coverage/src/models/index.html +1 -1
- package/test-output/coverage/src/models/iso-languages.ts.html +1 -1
- package/test-output/coverage/src/models/progress.ts.html +1 -1
- package/test-output/coverage/src/models/scanState.ts.html +1 -1
- package/test-output/coverage/src/plugins/index.html +1 -1
- package/test-output/coverage/src/plugins/material-symbols/aliases.ts.html +1 -1
- package/test-output/coverage/src/plugins/material-symbols/index.html +1 -1
- package/test-output/coverage/src/plugins/material-symbols/material-symbols-filled.ts.html +1 -1
- package/test-output/coverage/src/plugins/material-symbols/material-symbols-outlined.ts.html +1 -1
- package/test-output/coverage/src/plugins/pinia.ts.html +1 -1
- package/test-output/coverage/src/plugins/version.ts.html +1 -1
- package/test-output/coverage/src/plugins/vue-i18n.ts.html +1 -1
- package/test-output/coverage/src/plugins/vuetify.ts.html +1 -1
- package/test-output/coverage/src/services/gpt.service.ts.html +1 -1
- package/test-output/coverage/src/services/index.html +1 -1
- package/test-output/coverage/src/services/mobile.ts.html +1 -1
- package/test-output/coverage/src/services/models.ts.html +1 -1
- package/test-output/coverage/src/services/service-worker.service.ts.html +1 -1
- package/test-output/coverage/src/services/viewer-3cr.service.ts.html +1 -1
- package/test-output/coverage/src/stores/data-overlay.store.ts.html +1 -1
- package/test-output/coverage/src/stores/demo.store.ts.html +4 -4
- package/test-output/coverage/src/stores/drawer.store.ts.html +1 -1
- package/test-output/coverage/src/stores/index.html +1 -1
- package/test-output/coverage/src/stores/intro.store.ts.html +1 -1
- package/test-output/coverage/src/stores/language.store.ts.html +1 -1
- package/test-output/coverage/src/stores/mcad-floating.store.ts.html +1 -1
- package/test-output/coverage/src/stores/mcad.store.ts.html +1 -1
- package/test-output/coverage/src/stores/save.store.ts.html +1 -1
- package/test-output/coverage/src/stores/theme.store.ts.html +1 -1
- package/test-output/coverage/src/stores/tool.store.ts.html +1 -1
- package/test-output/coverage/src/stores/upload.store.ts.html +1 -1
- package/test-output/coverage/src/stores/viewer.store.ts.html +1 -1
- package/test-output/coverage/src/tools/annotation-create.tool.ts.html +1 -1
- package/test-output/coverage/src/tools/annotation-move.tool.ts.html +1 -1
- package/test-output/coverage/src/tools/data-overlay.tool.ts.html +1 -1
- package/test-output/coverage/src/tools/index.html +1 -1
- package/test-output/coverage/src/tools/mcad-move.tool.ts.html +1 -1
- package/test-output/coverage/src/tools/mcad-rotate.tool.ts.html +1 -1
- package/test-output/coverage/src/tools/mcad-scale-tool.ts.html +1 -1
- package/test-output/coverage/src/tools/mcad-select-tool.ts.html +1 -1
- package/test-output/coverage/src/tools/measurement-angle.tool.ts.html +1 -1
- package/test-output/coverage/src/tools/measurement-length.tool.ts.html +1 -1
- package/test-output/coverage/src/tools/measurement-polygon.tool.ts.html +1 -1
- package/test-output/coverage/src/types/index.html +1 -1
- package/test-output/coverage/src/types/viewer-tool.ts.html +1 -1
- package/test-output/coverage/src/vite-env.d.ts.html +1 -1
- package/test-output/sonar-report.xml +697 -698
package/package.json
CHANGED
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
<div class="d-flex align-center">
|
|
6
6
|
<span>{{ t('labels.shareThisImage') }}</span>
|
|
7
7
|
<v-spacer />
|
|
8
|
-
<v-btn prepend-icon="content_copy" data-testid="copy-link" color="primary" variant="text" @click="copy">
|
|
9
|
-
<span>{{ t('labels.copyLink') }}</span>
|
|
10
|
-
</v-btn>
|
|
11
8
|
<v-btn variant="text" icon="close" data-testid="close-btn" @click="modelValue = false" />
|
|
12
9
|
</div>
|
|
13
10
|
</v-card-title>
|
|
@@ -79,14 +76,6 @@
|
|
|
79
76
|
<img src="@/assets/images/apple-qr.svg" alt="apple" width="256" height="256" />
|
|
80
77
|
<img src="@/assets/images/android-qr.svg" alt="android" width="256" height="256" />
|
|
81
78
|
</div>
|
|
82
|
-
<div class="my-8">
|
|
83
|
-
<v-divider>{{ t('labels.or') }}</v-divider>
|
|
84
|
-
</div>
|
|
85
|
-
<span class="px-4 pb-4 text-center">{{ t('texts.enterCodeManually') }}</span>
|
|
86
|
-
<div class="d-flex align-center ga-2">
|
|
87
|
-
<v-text-field density="compact" hide-details readonly variant="outlined" :model-value="href" />
|
|
88
|
-
<v-btn color="primary" height="40" icon="content_copy" rounded tile variant="outlined" @click="copy" />
|
|
89
|
-
</div>
|
|
90
79
|
</div>
|
|
91
80
|
</v-tabs-window-item>
|
|
92
81
|
</v-tabs-window>
|
|
@@ -108,11 +97,11 @@
|
|
|
108
97
|
</template>
|
|
109
98
|
|
|
110
99
|
<script setup lang="ts">
|
|
111
|
-
import { computed, ref } from 'vue';
|
|
112
|
-
import { storeToRefs } from 'pinia';
|
|
113
100
|
import { useViewerStore } from '@/stores/viewer.store';
|
|
114
|
-
import { useI18n } from 'vue-i18n';
|
|
115
101
|
import { SharePermission, ShareRequest } from '@3cr/viewer-types-ts';
|
|
102
|
+
import { storeToRefs } from 'pinia';
|
|
103
|
+
import { computed, ref } from 'vue';
|
|
104
|
+
import { useI18n } from 'vue-i18n';
|
|
116
105
|
|
|
117
106
|
const { t } = useI18n();
|
|
118
107
|
const { options } = storeToRefs(useViewerStore());
|
|
@@ -130,15 +119,6 @@ const modelValue = defineModel<boolean>({ default: false });
|
|
|
130
119
|
|
|
131
120
|
const inviteRules = computed(() => [(value: unknown) => !!value || 'Email is required']);
|
|
132
121
|
|
|
133
|
-
const href = computed(() => window.location.href);
|
|
134
|
-
|
|
135
|
-
async function copy(): Promise<void> {
|
|
136
|
-
if ('clipboard' in navigator) {
|
|
137
|
-
await navigator.clipboard.writeText(href.value);
|
|
138
|
-
s_copied.value = true;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
122
|
async function done(): Promise<void> {
|
|
143
123
|
if (options.value.onShareScan) {
|
|
144
124
|
loading.value = true;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ShareMenu from '@/components/modal/menus/ShareMenu.vue';
|
|
2
2
|
import ShareModal from '@/components/modal/modal/ShareModal.vue';
|
|
3
|
-
import { VCard, VDialog, VSnackbar, VTabs, VTabsWindow, VTextField } from 'vuetify/components';
|
|
4
3
|
import ImagesSharedSnackbar from '@/components/modal/snackbars/ImagesSharedSnackbar.vue';
|
|
5
4
|
import LinkCopiedSnackbar from '@/components/modal/snackbars/LinkCopiedSnackbar.vue';
|
|
6
|
-
import
|
|
5
|
+
import { flushPromises, mount } from '@vue/test-utils';
|
|
6
|
+
import { VCard, VDialog, VSnackbar, VTabs, VTabsWindow, VTextField } from 'vuetify/components';
|
|
7
7
|
|
|
8
8
|
describe('ShareModal tests', () => {
|
|
9
9
|
it('should mount', () => {
|
|
@@ -209,27 +209,6 @@ describe('ShareModal tests', () => {
|
|
|
209
209
|
// expect(wrapper.findComponent(ShareMenu).exists()).toBeTruthy();
|
|
210
210
|
// });
|
|
211
211
|
|
|
212
|
-
it('should copy link', async () => {
|
|
213
|
-
const writeText = vi.fn();
|
|
214
|
-
Object.defineProperty(window, 'navigator', {
|
|
215
|
-
value: {
|
|
216
|
-
clipboard: {
|
|
217
|
-
writeText
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
writable: true // possibility to override
|
|
221
|
-
});
|
|
222
|
-
const wrapper = mount(ShareModal, { props: { modelValue: true } });
|
|
223
|
-
expect(wrapper).toBeTruthy();
|
|
224
|
-
|
|
225
|
-
const card = wrapper.findComponent(VCard);
|
|
226
|
-
await card.findComponentByTestId('copy-link').trigger('click');
|
|
227
|
-
|
|
228
|
-
await flushPromises();
|
|
229
|
-
|
|
230
|
-
expect(writeText).toHaveBeenCalledWith(window.location.href);
|
|
231
|
-
});
|
|
232
|
-
|
|
233
212
|
// it('should done without onshareScan', async () => {
|
|
234
213
|
// const wrapper = mount(ShareModal, { props: { modelValue: true } });
|
|
235
214
|
// expect(wrapper).toBeTruthy();
|
|
@@ -111,7 +111,6 @@
|
|
|
111
111
|
"confirm": "Confirm",
|
|
112
112
|
"continueWithDemo": "Continue with Demo",
|
|
113
113
|
"contrast": "Contrast",
|
|
114
|
-
"copyLink": "Copy Link",
|
|
115
114
|
"create": "Create",
|
|
116
115
|
"credits": "Credits",
|
|
117
116
|
"ctColour": "CT Colour",
|
|
@@ -199,7 +198,6 @@
|
|
|
199
198
|
"none": "None",
|
|
200
199
|
"notifications": "Notifications",
|
|
201
200
|
"opacity": "Opacity",
|
|
202
|
-
"or": "or",
|
|
203
201
|
"pan": "Pan",
|
|
204
202
|
"perMonth": "{price} per month",
|
|
205
203
|
"perimeter": "Perimeter",
|
|
@@ -330,9 +328,7 @@
|
|
|
330
328
|
"licence": {
|
|
331
329
|
"downloadMcad": {
|
|
332
330
|
"title": "Download your designs",
|
|
333
|
-
"subtitles": [
|
|
334
|
-
"3DICOM's white-labelled online 2D / 3D DICOM viewer allows you to download your designs"
|
|
335
|
-
]
|
|
331
|
+
"subtitles": ["3DICOM's white-labelled online 2D / 3D DICOM viewer allows you to download your designs"]
|
|
336
332
|
},
|
|
337
333
|
"downloadScan": {
|
|
338
334
|
"title": "Improve interoperability with local download of DICOM series",
|
|
@@ -360,17 +356,13 @@
|
|
|
360
356
|
},
|
|
361
357
|
"saveSession": {
|
|
362
358
|
"title": "Thank you for trying the 3DICOM Licensing Demo",
|
|
363
|
-
"subtitles": [
|
|
364
|
-
"Each 3DICOM viewer session can be saved with your changes made for future viewing."
|
|
365
|
-
]
|
|
359
|
+
"subtitles": ["Each 3DICOM viewer session can be saved with your changes made for future viewing."]
|
|
366
360
|
}
|
|
367
361
|
},
|
|
368
362
|
"patient": {
|
|
369
363
|
"downloadMcad": {
|
|
370
364
|
"title": "Download your designs",
|
|
371
|
-
"subtitles": [
|
|
372
|
-
"3DICOM's white-labelled online 2D / 3D DICOM viewer allows you to download your designs"
|
|
373
|
-
]
|
|
365
|
+
"subtitles": ["3DICOM's white-labelled online 2D / 3D DICOM viewer allows you to download your designs"]
|
|
374
366
|
},
|
|
375
367
|
"downloadScan": {
|
|
376
368
|
"title": "3DICOM Patient enables on-demand download of DICOM series",
|
|
@@ -401,9 +393,7 @@
|
|
|
401
393
|
},
|
|
402
394
|
"saveSession": {
|
|
403
395
|
"title": "Thank you for trying the 3DICOM Patient Demo.",
|
|
404
|
-
"subtitles": [
|
|
405
|
-
"Each 3DICOM viewer session can be saved with your changes made for future viewing."
|
|
406
|
-
]
|
|
396
|
+
"subtitles": ["Each 3DICOM viewer session can be saved with your changes made for future viewing."]
|
|
407
397
|
}
|
|
408
398
|
},
|
|
409
399
|
"cloud": {
|
|
@@ -429,7 +419,6 @@
|
|
|
429
419
|
"diagnosticDisclaimer": "Not for diagnostic purposes.",
|
|
430
420
|
"dontShowAgain": "Don't show me this again.",
|
|
431
421
|
"enableForCredits": "Enable annual storage for just {credits} credits!",
|
|
432
|
-
"enterCodeManually": "Enter the code manually.",
|
|
433
422
|
"flippedHorizontally": "This view has been flipped horizontally.",
|
|
434
423
|
"flippedVertically": "This view has been flipped vertically.",
|
|
435
424
|
"gettingThingsReady": "Getting things ready for you...",
|
|
@@ -473,4 +462,4 @@
|
|
|
473
462
|
"viewerAbout": "3DICOM Online Viewer developed by Singular Health Pty Ltd.",
|
|
474
463
|
"welcome": "Welcome to the Client Viewer!"
|
|
475
464
|
}
|
|
476
|
-
}
|
|
465
|
+
}
|