@3cr/viewer-browser 0.0.248 → 0.0.293
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/.circleci/config.yml +53 -0
- package/README.md +79 -74
- package/components.d.ts +94 -36
- package/dist/Viewer3CR.js +663 -47
- package/dist/Viewer3CR.mjs +107687 -36565
- package/dist/Viewer3CR.umd.js +663 -47
- package/index.html +35 -33
- package/package.json +27 -8
- package/playground/img.png +0 -0
- package/playground/index.html +6 -2
- package/src/App.vue +41 -97
- package/src/__tests__/app.spec.ts +2 -1
- package/src/__tests__/main.spec.ts +14 -14
- package/src/assets/_palette.scss +112 -0
- package/src/assets/_settings.scss +64 -0
- package/src/assets/_typography.scss +187 -0
- package/src/assets/images/cloud-storage.svg +22 -0
- package/src/assets/images/courtney.png +0 -0
- package/src/assets/images/dark/magic-wand.svg +32 -0
- package/src/assets/images/dark-theme.svg +33 -0
- package/src/assets/images/dot.svg +5 -0
- package/src/assets/images/dr-miles.png +0 -0
- package/src/assets/images/illustration.svg +118 -0
- package/src/assets/images/intro.svg +30 -0
- package/src/assets/{magic_wand.svg → images/light/magic-wand.svg} +22 -14
- package/src/assets/images/light-theme.svg +33 -0
- package/src/assets/images/system-theme.svg +51 -0
- package/src/assets/images/totalSegmentator.png +0 -0
- package/src/assets/logos/3dicom/black/black.svg +30 -0
- package/src/assets/logos/3dicom/colour/colour.svg +18 -0
- package/src/assets/logos/3dicom/colour/colour_single.svg +18 -0
- package/src/assets/logos/3dicom/wordmark/patients/patients.svg +29 -0
- package/src/assets/logos/3dicom/wordmark/powered-by/powered-by.svg +41 -0
- package/src/assets/logos/3dicom/wordmark/practitioners/practitioner.svg +34 -0
- package/src/assets/logos/3dicom/wordmark/research/research.svg +29 -0
- package/src/assets/logos/license/black/black.svg +22 -0
- package/src/assets/logos/license/white/white.svg +22 -0
- package/src/assets/styles.scss +435 -12
- package/src/components/ShFlatIconBtn.vue +36 -0
- package/src/components/ShPlainIconBtn.vue +42 -0
- package/src/components/ShSelect.vue +48 -0
- package/src/components/ShTextField.vue +39 -0
- package/src/components/ShTextarea.vue +39 -0
- package/src/components/__tests__/ShFlatIconBtn.spec.ts +32 -0
- package/src/components/__tests__/ShPlainIconBtn.spec.ts +37 -0
- package/src/components/__tests__/ShSelect.spec.ts +30 -0
- package/src/components/__tests__/ShTextField.spec.ts +30 -0
- package/src/components/__tests__/ShTextarea.spec.ts +30 -0
- package/src/components/demo/CloudDropZone.vue +105 -0
- package/src/components/demo/DemoAvatarDropdownMenu.vue +343 -0
- package/src/components/demo/DemoInfoModal.vue +60 -0
- package/src/components/demo/DemoNotificationNavigationDrawer.vue +118 -0
- package/src/components/demo/DemoPurchaseCreditsModal.vue +141 -0
- package/src/components/demo/DemoUpgradeCloudStorageModal.vue +74 -0
- package/src/components/demo/DemoUpgradePlanModal.vue +17 -0
- package/src/components/demo/UploadDicomToCloudModal.vue +225 -0
- package/src/components/demo/__tests__/CloudDropZone.spec.ts +132 -0
- package/src/components/demo/__tests__/DemoAvatarDropdownMenu.spec.ts +16 -0
- package/src/components/demo/{licence/__tests__/DemoLicenceEnableCloudStorageModal.spec.ts → __tests__/DemoEnableCloudStorageModal.spec.ts} +11 -11
- package/src/components/demo/{licence/__tests__/DemoLicenceInfoModal.spec.ts → __tests__/DemoInfoModal.spec.ts} +11 -8
- package/src/components/demo/__tests__/DemoNotificationNavigationDrawer.spec.ts +56 -0
- package/src/components/demo/__tests__/UploadDicomToCloudModal.spec.ts +320 -0
- package/src/components/demo/__tests__/demo-payload.spec.ts +10 -0
- package/src/components/demo/demo-notifications.ts +45 -0
- package/src/components/demo/demo-payload.ts +9 -0
- package/src/components/demo/fileReader.ts +47 -0
- package/src/{composables/useViewerOptions.ts → components/demo/mockDemoViewerStlDecimator.ts} +8 -12
- package/src/components/intro/ViewerIntro.vue +56 -0
- package/src/components/intro/ViewerTour.vue +53 -0
- package/src/components/intro/tour/Tour.vue +205 -0
- package/src/components/intro/tour/step.ts +6 -0
- package/src/components/modal/ActionRail.vue +4 -0
- package/src/components/modal/Viewer3cr.vue +224 -0
- package/src/components/modal/Viewer3crWebGL.vue +65 -0
- package/src/components/modal/ViewerActionRail.vue +10 -27
- package/src/components/modal/ViewerMain.vue +84 -0
- package/src/components/modal/ViewerNavigationDrawer.vue +269 -68
- package/src/components/modal/ViewerScanView.vue +223 -67
- package/src/components/modal/__tests__/{MftpWebGL3DRModal.spec.ts → Viewer3cr.spec.ts} +154 -53
- package/src/components/modal/__tests__/{WebGL3DR.spec.ts → Viewer3crWebGL.spec.ts} +11 -11
- package/src/components/modal/__tests__/ViewerNavigationDrawer.spec.ts +271 -11
- package/src/components/modal/__tests__/ViewerScanView.spec.ts +15 -7
- package/src/components/modal/actions/Action.vue +3 -8
- package/src/components/modal/actions/Flip3dAction.vue +31 -16
- package/src/components/modal/actions/FlipHorizontalAction.vue +14 -5
- package/src/components/modal/actions/FlipVerticalAction.vue +14 -5
- package/src/components/modal/actions/FullscreenAction.vue +9 -5
- package/src/components/modal/actions/PanAction.vue +11 -51
- package/src/components/modal/actions/ResetViewAction.vue +10 -8
- package/src/components/modal/actions/Rotate2dAction.vue +25 -15
- package/src/components/modal/actions/Slice3dAction.vue +22 -10
- package/src/components/modal/actions/ZoomAction.vue +21 -13
- package/src/components/modal/actions/__tests__/Action.spec.ts +2 -2
- package/src/components/modal/actions/__tests__/Flip3dAction.spec.ts +58 -14
- package/src/components/modal/actions/__tests__/FlipHorizontalAction.spec.ts +15 -5
- package/src/components/modal/actions/__tests__/FlipVerticalAction.spec.ts +15 -5
- package/src/components/modal/actions/__tests__/FullscreenAction.spec.ts +7 -5
- package/src/components/modal/actions/__tests__/PanAction.spec.ts +13 -32
- package/src/components/modal/actions/__tests__/ResetViewAction.spec.ts +5 -3
- package/src/components/modal/actions/__tests__/Rotate2dAction.spec.ts +13 -6
- package/src/components/modal/actions/__tests__/Slice3dAction.spec.ts +1 -1
- package/src/components/modal/actions/__tests__/ZoomAction.spec.ts +25 -11
- package/src/components/modal/app-bars/ViewerActionBar.vue +224 -0
- package/src/components/modal/app-bars/ViewerAppBar.vue +126 -0
- package/src/components/modal/app-bars/__tests__/ViewerActionBar.spec.ts +176 -0
- package/src/components/modal/app-bars/__tests__/ViewerAppBar.spec.ts +99 -0
- package/src/components/modal/layouts/Layout1x3ClipPath.vue +35 -0
- package/src/components/modal/layouts/Layout2x2ClipPath.vue +35 -0
- package/src/components/modal/layouts/LayoutFullscreenClipPath.vue +29 -0
- package/src/components/modal/layouts/__tests__/Layout1x3ClipPath.spec.ts +15 -0
- package/src/components/modal/layouts/__tests__/Layout2x2ClipPath.spec.ts +15 -0
- package/src/components/modal/layouts/__tests__/LayoutFullscreenClipPath.spec.ts +15 -0
- package/src/components/modal/layouts/composables/__tests__/useLayout1x3.spec.ts +40 -0
- package/src/components/modal/layouts/composables/__tests__/useLayout2x2.spec.ts +40 -0
- package/src/components/modal/layouts/composables/__tests__/useLayoutFullscreen.spec.ts +40 -0
- package/src/components/modal/layouts/composables/useLayout1x3.ts +46 -0
- package/src/components/modal/layouts/composables/useLayout2x2.ts +46 -0
- package/src/components/modal/layouts/composables/useLayoutFullscreen.ts +24 -0
- package/src/components/modal/menus/AutoAnnotateMenu.vue +67 -0
- package/src/components/modal/menus/AvatarDropdownMenu.vue +66 -0
- package/src/components/modal/menus/HelpMenu.vue +47 -0
- package/src/components/modal/menus/SettingsMenu.vue +242 -92
- package/src/components/modal/menus/ShareMenu.vue +58 -0
- package/src/components/modal/menus/__tests__/AutoAnnotateMenu.spec.ts +80 -0
- package/src/components/modal/menus/__tests__/AvatarDropdownMenu.spec.ts +49 -0
- package/src/components/modal/menus/__tests__/HelpMenu.spec.ts +12 -0
- package/src/components/modal/menus/__tests__/SettingsMenu.spec.ts +163 -57
- package/src/components/modal/modal/AboutModal.vue +61 -0
- package/src/components/modal/modal/AiModelList.vue +70 -0
- package/src/components/modal/{AskAI.vue → modal/AskAiModal.vue} +26 -34
- package/src/components/modal/modal/AutoAnnotateModal.vue +136 -0
- package/src/components/modal/modal/CloseViewerModal.vue +108 -0
- package/src/components/modal/modal/DataOverlayGeneralModal.vue +122 -0
- package/src/components/modal/modal/DataOverlayMeasurementModal.vue +59 -0
- package/src/components/modal/modal/DataOverlayModal.vue +121 -0
- package/src/components/modal/modal/ShareModal.vue +201 -0
- package/src/components/modal/modal/UploadsDrawer.vue +165 -0
- package/src/components/modal/modal/WhatsNewModal.vue +45 -0
- package/src/components/modal/modal/__tests__/AboutModal.spec.ts +60 -0
- package/src/components/modal/modal/__tests__/AiModelList.spec.ts +50 -0
- package/src/components/modal/{__tests__ → modal/__tests__}/AskAI.spec.ts +8 -7
- package/src/components/modal/modal/__tests__/AutoAnnotateModal.spec.ts +29 -0
- package/src/components/modal/modal/__tests__/CloseViewerModal.spec.ts +60 -0
- package/src/components/modal/modal/__tests__/DataOverlayGeneralModal.spec.ts +55 -0
- package/src/components/modal/modal/__tests__/DataOverlayMeasurementModal.spec.ts +82 -0
- package/src/components/modal/modal/__tests__/DataOverlayModal.spec.ts +94 -0
- package/src/components/modal/modal/__tests__/ShareModal.spec.ts +260 -0
- package/src/components/modal/modal/__tests__/UploadsDrawer.spec.ts +174 -0
- package/src/components/modal/modal/__tests__/WhatsNewModal.spec.ts +29 -0
- package/src/components/modal/snackbars/AnnotationGeneratedSnackbar.vue +34 -0
- package/src/components/modal/snackbars/ImagesSharedSnackbar.vue +26 -0
- package/src/components/modal/snackbars/LinkCopiedSnackbar.vue +26 -0
- package/src/components/modal/snackbars/__tests__/AnnotationGeneratedSnackbar.spec.ts +43 -0
- package/src/components/modal/snackbars/__tests__/ImagesSharedSnackbar.spec.ts +22 -0
- package/src/components/modal/snackbars/__tests__/LinkCopiedSnackbar.spec.ts +21 -0
- package/src/components/navigation/annotation/AnnotationCreateModal.vue +104 -0
- package/src/components/navigation/annotation/AnnotationCreateSnackbar.vue +20 -0
- package/src/components/navigation/annotation/AnnotationDataTable.vue +157 -0
- package/src/components/navigation/annotation/AnnotationDeleteModal.vue +48 -0
- package/src/components/navigation/annotation/AnnotationDeleteSnackbar.vue +25 -0
- package/src/components/navigation/annotation/AnnotationForm.vue +253 -0
- package/src/components/navigation/annotation/AnnotationIcon.vue +45 -0
- package/src/components/navigation/annotation/AnnotationInfo.vue +141 -0
- package/src/components/navigation/annotation/AnnotationMenu.vue +99 -0
- package/src/components/navigation/annotation/AnnotationPanel.vue +30 -0
- package/src/components/navigation/annotation/AnnotationTools.vue +106 -0
- package/src/components/navigation/annotation/AnnotationUpdateModal.vue +92 -0
- package/src/components/navigation/annotation/AnnotationVisibilityBtn.vue +52 -0
- package/src/components/navigation/annotation/DrawerTitle.vue +25 -0
- package/src/components/navigation/annotation/__tests__/AnnotationCreateModal.spec.ts +175 -0
- package/src/components/navigation/annotation/__tests__/AnnotationCreateSnackbar.spec.ts +31 -0
- package/src/components/navigation/annotation/__tests__/AnnotationDataTable.spec.ts +79 -0
- package/src/components/navigation/annotation/__tests__/AnnotationDeleteSnackbar.spec.ts +66 -0
- package/src/components/navigation/annotation/__tests__/AnnotationForm.spec.ts +248 -0
- package/src/components/navigation/annotation/__tests__/AnnotationIcon.spec.ts +13 -0
- package/src/components/navigation/annotation/__tests__/AnnotationTools.spec.ts +107 -0
- package/src/components/navigation/display/DisplayPanel.vue +156 -0
- package/src/components/{views/__tests__/DisplaySettings.spec.ts → navigation/display/__tests__/DisplayPanel.spec.ts} +14 -3
- package/src/components/navigation/history/HistoryModal.vue +140 -0
- package/src/components/navigation/mcad/McadAddObjectBtn.vue +41 -0
- package/src/components/navigation/mcad/McadDataTable.vue +78 -0
- package/src/components/navigation/mcad/McadDataTableItems.vue +382 -0
- package/src/components/navigation/mcad/McadDeleteModal.vue +44 -0
- package/src/components/navigation/mcad/McadDropZone.vue +148 -0
- package/src/components/navigation/mcad/McadFloating.vue +193 -0
- package/src/components/navigation/mcad/McadIcon.vue +34 -0
- package/src/components/navigation/mcad/McadInvert.vue +91 -0
- package/src/components/navigation/mcad/McadLockBtn.vue +62 -0
- package/src/components/navigation/mcad/McadMenu.vue +249 -0
- package/src/components/navigation/mcad/McadOpacity.vue +79 -0
- package/src/components/navigation/mcad/McadPanel.vue +31 -0
- package/src/components/navigation/mcad/McadToggleSortBtn.vue +18 -0
- package/src/components/navigation/mcad/McadToggleVisibilityBtn.vue +46 -0
- package/src/components/navigation/mcad/McadUpdateModal.vue +108 -0
- package/src/components/navigation/mcad/McadVisibilityBtn.vue +46 -0
- package/src/components/navigation/mcad/__tests__/McadAddObjectBtn.spec.ts +73 -0
- package/src/components/navigation/mcad/__tests__/McadDataTable.spec.ts +27 -0
- package/src/components/navigation/mcad/__tests__/McadDataTableItems.spec.ts +621 -0
- package/src/components/navigation/mcad/__tests__/McadDeleteModal.spec.ts +67 -0
- package/src/components/navigation/mcad/__tests__/McadDropZone.spec.ts +109 -0
- package/src/components/navigation/mcad/__tests__/McadIcon.spec.ts +13 -0
- package/src/components/navigation/mcad/__tests__/McadInvert.spec.ts +45 -0
- package/src/components/navigation/mcad/__tests__/McadLockBtn.spec.ts +38 -0
- package/src/components/navigation/mcad/__tests__/McadMenu.spec.ts +258 -0
- package/src/components/navigation/mcad/__tests__/McadOpacity.spec.ts +68 -0
- package/src/components/navigation/mcad/__tests__/McadToggleSortBtn.spec.ts +36 -0
- package/src/components/navigation/mcad/__tests__/McadToggleVisibilityBtn.spec.ts +53 -0
- package/src/components/navigation/mcad/__tests__/McadUpdateModal.spec.ts +122 -0
- package/src/components/navigation/mcad/__tests__/McadVisibilityBtn.spec.ts +45 -0
- package/src/components/navigation/measurement/MeasurementAngleSnackbar.vue +18 -0
- package/src/components/navigation/measurement/MeasurementDataTable.vue +162 -0
- package/src/components/navigation/measurement/MeasurementDeleteModal.vue +49 -0
- package/src/components/navigation/measurement/MeasurementDeleteSnackbar.vue +40 -0
- package/src/components/navigation/measurement/MeasurementIcon.vue +41 -0
- package/src/components/navigation/measurement/MeasurementInfo.vue +25 -0
- package/src/components/navigation/measurement/MeasurementInfoAngle.vue +36 -0
- package/src/components/navigation/measurement/MeasurementInfoLength.vue +37 -0
- package/src/components/navigation/measurement/MeasurementInfoPolygon.vue +58 -0
- package/src/components/navigation/measurement/MeasurementLengthSnackbar.vue +18 -0
- package/src/components/navigation/measurement/MeasurementMenu.vue +97 -0
- package/src/components/navigation/measurement/MeasurementPanel.vue +30 -0
- package/src/components/navigation/measurement/MeasurementPolygonSnackbar.vue +18 -0
- package/src/components/navigation/measurement/MeasurementTools.vue +101 -0
- package/src/components/navigation/measurement/MeasurementVisibilityBtn.vue +53 -0
- package/src/components/navigation/measurement/__tests__/MeasurementAngleSnackbar.spec.ts +34 -0
- package/src/components/navigation/measurement/__tests__/MeasurementDataTable.spec.ts +79 -0
- package/src/components/navigation/measurement/__tests__/MeasurementDeleteSnackbar.spec.ts +51 -0
- package/src/components/navigation/measurement/__tests__/MeasurementInfo.spec.ts +77 -0
- package/src/components/navigation/measurement/__tests__/MeasurementLengthSnackbar.spec.ts +35 -0
- package/src/components/navigation/measurement/__tests__/MeasurementPolygonSnackbar.spec.ts +35 -0
- package/src/components/navigation/measurement/__tests__/MeasurementTools.spec.ts +87 -0
- package/src/components/shared/ColourPalette.vue +71 -0
- package/src/components/shared/DoubleSliderSelector.vue +66 -28
- package/src/components/shared/HorizontalSliderSelector.vue +80 -0
- package/src/components/shared/KeyboardShortcuts.vue +184 -0
- package/src/components/shared/LoadingSpinner.vue +508 -144
- package/src/components/shared/MultiLoginError.vue +98 -0
- package/src/components/shared/NotificationToaster.vue +112 -0
- package/src/components/shared/UpdateSnackbar.vue +22 -9
- package/src/components/shared/ValueSelector.vue +10 -10
- package/src/components/shared/VerticalSliderSelector.vue +45 -44
- package/src/components/shared/__tests__/ColourPalette.spec.ts +21 -0
- package/src/components/shared/__tests__/DoubleSliderSelector.spec.ts +58 -46
- package/src/components/shared/__tests__/HorizontalSliderSelector.spec.ts +35 -0
- package/src/components/shared/__tests__/KeyboardShortcuts.spec.ts +50 -0
- package/src/components/shared/__tests__/MultiLoginError.spec.ts +50 -0
- package/src/components/shared/__tests__/NotificationToaster.spec.ts +65 -0
- package/src/components/shared/__tests__/UpdateSnackbar.spec.ts +7 -7
- package/src/components/shared/__tests__/ValueSelector.spec.ts +6 -0
- package/src/composables/__tests__/useDebounce.spec.ts +17 -0
- package/src/composables/__tests__/useMovingAverage.spec.ts +40 -0
- package/src/composables/__tests__/useNavigationCube.spec.ts +79 -0
- package/src/{functions/__tests__/notification.spec.ts → composables/__tests__/useNotificationHandler.spec.ts} +74 -17
- package/src/composables/__tests__/useToolGroup.spec.ts +41 -0
- package/src/composables/__tests__/useViewName.spec.ts +29 -0
- package/src/composables/useBoundingBox.ts +32 -0
- package/src/composables/useEventListener.ts +7 -9
- package/src/composables/useMedia.ts +27 -0
- package/src/composables/useNavigationCube.ts +80 -0
- package/src/composables/useNotificationHandler.ts +82 -0
- package/src/composables/useResizeObserver.ts +31 -0
- package/src/composables/useToolGroup.ts +36 -0
- package/src/composables/useViewName.ts +34 -0
- package/src/composables/useViewer3cr.ts +3 -2
- package/src/config.ts +1 -1
- package/src/constants.ts +8 -0
- package/src/functions/HotkeyScope.ts +87 -0
- package/src/functions/__tests__/HotkeyScope.spec.ts +49 -0
- package/src/functions/__tests__/colours.spec.ts +42 -0
- package/src/functions/__tests__/fileReader.spec.ts +130 -0
- package/src/functions/__tests__/modelHelper.spec.ts +1 -0
- package/src/functions/__tests__/tsHelper.spec.ts +7 -0
- package/src/functions/chunker.ts +21 -0
- package/src/functions/colours.ts +45 -0
- package/src/functions/fileReader.ts +48 -0
- package/src/functions/guards/__tests__/isDataOverlayAngle.spec.ts +21 -0
- package/src/functions/guards/__tests__/isDataOverlayLength.spec.ts +21 -0
- package/src/functions/guards/__tests__/isDataOverlayPolygon.spec.ts +21 -0
- package/src/functions/guards/isDataOverlayAngle.ts +3 -4
- package/src/functions/guards/isDataOverlayLength.ts +3 -4
- package/src/functions/guards/isDataOverlayPolygon.ts +3 -4
- package/src/functions/openUrl.ts +3 -0
- package/src/functions/{__tests__ → parsers/__tests__}/parseAction.spec.ts +1 -1
- package/src/functions/{__tests__ → parsers/__tests__}/parseCallToAction.spec.ts +1 -1
- package/src/functions/{__tests__ → parsers/__tests__}/parseDataOverlay.spec.ts +1 -1
- package/src/functions/{__tests__ → parsers/__tests__}/parseDataOverlayData.spec.ts +1 -1
- package/src/functions/{__tests__ → parsers/__tests__}/parseDataOverlayEvent.spec.ts +3 -3
- package/src/functions/{__tests__ → parsers/__tests__}/parseMcadEvent.spec.ts +3 -3
- package/src/functions/{parseAction.ts → parsers/parseAction.ts} +1 -2
- package/src/functions/{parseCallToAction.ts → parsers/parseCallToAction.ts} +2 -2
- package/src/functions/{parseDataOverlay.ts → parsers/parseDataOverlay.ts} +3 -3
- package/src/functions/parsers/parseDataOverlayData.ts +9 -0
- package/src/functions/parsers/parseDataOverlayEvent.ts +19 -0
- package/src/functions/parsers/parseMcadEvent.ts +9 -0
- package/src/functions/platform.ts +7 -0
- package/src/functions/translateTooltipShortcut.ts +35 -0
- package/src/functions/tsHelper.ts +3 -0
- package/src/main.ts +70 -48
- package/src/models/__tests__/iso-languages.spec.ts +23 -0
- package/src/models/__tests__/scanState.spec.ts +14 -38
- package/src/models/iso-languages.ts +1609 -0
- package/src/models/progress.ts +23 -0
- package/src/models/scanState.ts +56 -100
- package/src/plugins/__tests__/pinia.spec.ts +7 -0
- package/src/plugins/__tests__/vue-i18n.spec.ts +7 -0
- package/src/plugins/__tests__/vuetify.spec.ts +3 -3
- package/src/plugins/locales/en.json +442 -0
- package/src/plugins/material-symbols/aliases.ts +43 -0
- package/src/plugins/material-symbols/material-symbols-filled.ts +11 -0
- package/src/plugins/material-symbols/material-symbols-outlined.ts +9 -0
- package/src/plugins/pinia.ts +3 -0
- package/src/plugins/vue-i18n.ts +9 -0
- package/src/plugins/vuetify.ts +157 -25
- package/src/services/__tests__/features.service.spec.ts +14 -0
- package/src/services/__tests__/gpt.service.spec.ts +64 -3
- package/src/services/__tests__/viewer-3cr.service.spec.ts +616 -192
- package/src/services/features.service.ts +32 -0
- package/src/services/gpt.service.ts +5 -2
- package/src/services/viewer-3cr.service.ts +374 -307
- package/src/stores/__tests__/data-overlay.store.spec.ts +92 -0
- package/src/stores/__tests__/demo.store.spec.ts +196 -0
- package/src/stores/__tests__/drawer.store.spec.ts +27 -0
- package/src/stores/__tests__/intro.store.spec.ts +102 -0
- package/src/stores/__tests__/language.store.spec.ts +83 -0
- package/src/stores/__tests__/mcad-floating.store.spec.ts +339 -0
- package/src/stores/__tests__/mcad.store.spec.ts +88 -0
- package/src/stores/__tests__/save.store.spec.ts +51 -0
- package/src/stores/__tests__/theme.store.spec.ts +18 -0
- package/src/stores/__tests__/tool.store.spec.ts +53 -0
- package/src/stores/__tests__/upload.store.spec.ts +19 -0
- package/src/stores/__tests__/viewer.store.spec.ts +18 -0
- package/src/stores/data-overlay.store.ts +93 -0
- package/src/stores/demo.store.ts +284 -0
- package/src/stores/drawer.store.ts +23 -0
- package/src/stores/intro.store.ts +35 -0
- package/src/stores/language.store.ts +59 -0
- package/src/stores/mcad-floating.store.ts +141 -0
- package/src/stores/mcad.store.ts +53 -0
- package/src/stores/save.store.ts +59 -0
- package/src/stores/theme.store.ts +45 -0
- package/src/stores/tool.store.ts +41 -0
- package/src/stores/upload.store.ts +19 -0
- package/src/stores/viewer.store.ts +30 -0
- package/src/tools/__tests__/annotation-create.tool.spec.ts +87 -0
- package/src/tools/__tests__/annotation-move.tool.spec.ts +107 -0
- package/src/tools/__tests__/data-overlay.tool.spec.ts +127 -0
- package/src/tools/__tests__/mcad-move.tool.spec.ts +106 -0
- package/src/tools/__tests__/mcad-rotate.tool.spec.ts +103 -0
- package/src/tools/__tests__/mcad-scale.tool.spec.ts +8 -0
- package/src/tools/__tests__/mcad-select.tool.spec.ts +63 -0
- package/src/tools/__tests__/measurement-angle.tool.spec.ts +26 -0
- package/src/tools/__tests__/measurement-length.tool.spec.ts +26 -0
- package/src/tools/__tests__/measurement-polygon.tool.spec.ts +26 -0
- package/src/tools/annotation-create.tool.ts +48 -0
- package/src/tools/annotation-move.tool.ts +48 -0
- package/src/tools/data-overlay.tool.ts +45 -48
- package/src/tools/mcad-move.tool.ts +47 -0
- package/src/tools/mcad-rotate.tool.ts +47 -0
- package/src/tools/mcad-scale-tool.ts +10 -0
- package/src/tools/mcad-select-tool.ts +32 -0
- package/src/tools/measurement-angle.tool.ts +20 -0
- package/src/tools/measurement-length.tool.ts +20 -0
- package/src/tools/measurement-polygon.tool.ts +20 -0
- package/src/types/feature.ts +6 -0
- package/src/types/viewer-tool.ts +5 -0
- package/test/MockImportOriginal.ts +7 -0
- package/test/assertions/beTypeOrNull.ts +24 -0
- package/test/fakers/action-data.faker.ts +1 -1
- package/test/fakers/action.faker.ts +1 -1
- package/test/fakers/call-to-action.faker.ts +1 -1
- package/test/fakers/data-overlay-angle.faker.ts +1 -1
- package/test/fakers/data-overlay-annotation.faker.ts +1 -1
- package/test/fakers/data-overlay-data.faker.ts +18 -15
- package/test/fakers/data-overlay-interaction.faker.ts +25 -17
- package/test/fakers/data-overlay-length.faker.ts +1 -1
- package/test/fakers/data-overlay-mcad.faker.ts +4 -3
- package/test/fakers/data-overlay-polygon.faker.ts +1 -1
- package/test/fakers/feature.faker.ts +13 -0
- package/test/fakers/file.faker.ts +11 -0
- package/test/fakers/gpt-question.faker.ts +1 -1
- package/test/fakers/gpt-response.faker.ts +1 -1
- package/test/fakers/mcad-object-interaction.faker.ts +4 -4
- package/test/fakers/orientation.faker.ts +1 -1
- package/test/fakers/segment-angle.faker.ts +1 -1
- package/test/fakers/upload.faker.ts +14 -0
- package/test/getAnimationFrame.ts +3 -0
- package/test/plugins/findByTestId.ts +13 -6
- package/test/plugins/pinia.ts +20 -0
- package/test/plugins/vitest.d.ts +8 -0
- package/test/plugins/vue-i18n.ts +22 -0
- package/test/plugins/vuetify.ts +10 -0
- package/test/setup.ts +37 -12
- package/tsconfig.json +1 -1
- package/vite.config.mts +48 -18
- package/vitest.config.mts +12 -3
- package/src/assets/images/MainBackdrop.svg +0 -48
- package/src/assets/images/dark/Singular-Health-Disc-Mono.svg +0 -9
- package/src/assets/images/dark/demo-icon-small.png +0 -0
- package/src/assets/images/dark/demo-logo-small.svg +0 -27
- package/src/assets/images/dark/demo-logo.svg +0 -1
- package/src/assets/images/light/Singular-Health-Disc-Mono.svg +0 -9
- package/src/assets/logos/3dicom/white-mini.svg +0 -20
- package/src/components/demo/DemoModal.vue +0 -44
- package/src/components/demo/DemoPatientModal.vue +0 -52
- package/src/components/demo/__tests__/DemoModal.spec.ts +0 -26
- package/src/components/demo/__tests__/DemoPatientModal.spec.ts +0 -38
- package/src/components/demo/__tests__/options.spec.ts +0 -25
- package/src/components/demo/licence/DemoLicenceEnableCloudStorageModal.vue +0 -64
- package/src/components/demo/licence/DemoLicenceInfoModal.vue +0 -49
- package/src/components/demo/licence/DemoLicenceSendToPartyModal.vue +0 -178
- package/src/components/demo/licence/DemoLicenceShareToMobileModal.vue +0 -102
- package/src/components/demo/licence/__tests__/DemoLicenceSendToPartyModal.spec.ts +0 -36
- package/src/components/demo/licence/__tests__/DemoLicenceShareToMobileModal.spec.ts +0 -52
- package/src/components/demo/options.ts +0 -170
- package/src/components/demo/patient/DemoPatientEnableCloudStorageModal.vue +0 -64
- package/src/components/demo/patient/DemoPatientInfoModal.vue +0 -49
- package/src/components/demo/patient/DemoPatientSendToPartyModal.vue +0 -177
- package/src/components/demo/patient/DemoPatientShareToMobileModal.vue +0 -102
- package/src/components/demo/patient/__tests__/DemoPatientEnableCloudStorageModal.spec.ts +0 -38
- package/src/components/demo/patient/__tests__/DemoPatientInfoModal.spec.ts +0 -38
- package/src/components/demo/patient/__tests__/DemoPatientSendToPartyModal.spec.ts +0 -36
- package/src/components/demo/patient/__tests__/DemoPatientShareToMobileModal.spec.ts +0 -52
- package/src/components/modal/CloseViewerModal.vue +0 -69
- package/src/components/modal/MftpWebGL3DRModal.vue +0 -336
- package/src/components/modal/ViewerNavigationDrawerContent.vue +0 -168
- package/src/components/modal/ViewerNavigationDrawerFooter.vue +0 -131
- package/src/components/modal/ViewerNavigationDrawerHeader.vue +0 -33
- package/src/components/modal/WebGL3DR.vue +0 -91
- package/src/components/modal/__tests__/CloseViewerModal.spec.ts +0 -70
- package/src/components/modal/__tests__/ViewerNavigationDrawerContent.spec.ts +0 -11
- package/src/components/modal/__tests__/ViewerNavigationDrawerFooter.spec.ts +0 -46
- package/src/components/modal/__tests__/ViewerNavigationDrawerHeader.spec.ts +0 -40
- package/src/components/modal/actions/NavigationCubeAction.vue +0 -26
- package/src/components/modal/actions/__tests__/NavigationCubeAction.spec.ts +0 -25
- package/src/components/modal/buttons/AutoAnnotateBtn.vue +0 -197
- package/src/components/modal/buttons/__tests__/AutoAnnotateBtn.spec.ts +0 -28
- package/src/components/modal/menus/FileMenu.vue +0 -73
- package/src/components/modal/menus/__tests__/FileMenu.spec.ts +0 -110
- package/src/components/navigation/mcad/McadGlobalActions.vue +0 -20
- package/src/components/navigation/mcad/McadGlobalOpacitySlider.vue +0 -103
- package/src/components/navigation/mcad/McadGlobalScanViewBtn.vue +0 -28
- package/src/components/navigation/mcad/McadGlobalVisibilityBtn.vue +0 -38
- package/src/components/views/AnnotationTreeView.vue +0 -236
- package/src/components/views/DisplaySettings.vue +0 -94
- package/src/components/views/MarkupTreeView.vue +0 -201
- package/src/components/views/McadObjectTreeView.vue +0 -129
- package/src/components/views/__tests__/AnnotationTreeView.spec.ts +0 -62
- package/src/components/views/__tests__/MarkupTreeView.spec.ts +0 -41
- package/src/components/views/__tests__/McadObjectTreeView.spec.ts +0 -47
- package/src/components/views/modals/DataOverlayGeneralModal.vue +0 -71
- package/src/components/views/modals/DataOverlayMarkupModal.vue +0 -60
- package/src/components/views/modals/DataOverlayModal.vue +0 -88
- package/src/components/views/shared/MaskIcon.vue +0 -44
- package/src/components/views/shared/ObjectColor.vue +0 -31
- package/src/components/views/shared/ObjectLabel.vue +0 -30
- package/src/components/views/shared/Opacity.vue +0 -65
- package/src/components/views/shared/VisibilityBtn.vue +0 -25
- package/src/components/views/shared/__tests__/MaskIcon.spec.ts +0 -10
- package/src/components/views/shared/__tests__/ObjectColor.spec.ts +0 -10
- package/src/components/views/shared/__tests__/ObjectLabel.spec.ts +0 -10
- package/src/components/views/shared/__tests__/Opacity.spec.ts +0 -24
- package/src/components/views/shared/__tests__/VisibilityBtn.spec.ts +0 -11
- package/src/components/views/types/annotation-tree-view-item-child-action.ts +0 -6
- package/src/components/views/types/annotation-tree-view-item-child.ts +0 -9
- package/src/components/views/types/annotation-tree-view-item.ts +0 -13
- package/src/components/views/types/markup-tree-view-item-child.ts +0 -6
- package/src/components/views/types/markup-tree-view-item.ts +0 -14
- package/src/components/views/types/mcad-object-tree-view-item.ts +0 -13
- package/src/composables/__tests__/useAnnotations.spec.ts +0 -35
- package/src/composables/__tests__/useIntroJs.spec.ts +0 -51
- package/src/composables/__tests__/useMarkups.spec.ts +0 -39
- package/src/composables/__tests__/useMcadObjects.spec.ts +0 -36
- package/src/composables/__tests__/useNavigationCubeObserver.spec.ts +0 -61
- package/src/composables/useAnnotations.ts +0 -37
- package/src/composables/useIntroJs.ts +0 -142
- package/src/composables/useMarkups.ts +0 -41
- package/src/composables/useMcadObjects.ts +0 -32
- package/src/composables/useNavigationCubeObserver.ts +0 -114
- package/src/composables/useVersion3cr.ts +0 -7
- package/src/functions/__tests__/layoutOverlayStyle.spec.ts +0 -325
- package/src/functions/asyncTools.ts +0 -3
- package/src/functions/layoutOverlayStyle.ts +0 -84
- package/src/functions/notification.ts +0 -82
- package/src/functions/parseDataOverlayData.ts +0 -10
- package/src/functions/parseDataOverlayEvent.ts +0 -17
- package/src/functions/parseMcadEvent.ts +0 -10
- package/src/functions/rgbaToCss.ts +0 -13
- package/src/models/__tests__/loadViewerOptions.spec.ts +0 -72
- package/src/models/__tests__/loadViewerPayload.spec.ts +0 -10
- package/src/models/callbacks.ts +0 -4
- package/src/models/loadViewerOptions.ts +0 -79
- package/src/models/loadViewerPayload.ts +0 -17
- package/src/plugins/__tests__/usePlugins.spec.ts +0 -12
- package/src/plugins/usePlugins.ts +0 -8
- package/src/types/action-data.ts +0 -4
- package/src/types/action.ts +0 -13
- package/src/types/call-to-action.ts +0 -9
- package/src/types/colour.ts +0 -6
- package/src/types/data-overlay-angle.ts +0 -16
- package/src/types/data-overlay-annotation.ts +0 -18
- package/src/types/data-overlay-data.ts +0 -15
- package/src/types/data-overlay-event.ts +0 -5
- package/src/types/data-overlay-info.ts +0 -18
- package/src/types/data-overlay-interaction.ts +0 -15
- package/src/types/data-overlay-length.ts +0 -16
- package/src/types/data-overlay-markup.ts +0 -7
- package/src/types/data-overlay-mcad.ts +0 -20
- package/src/types/data-overlay-polygon.ts +0 -18
- package/src/types/data-overlay.ts +0 -16
- package/src/types/demo-type.ts +0 -4
- package/src/types/gpt-question.ts +0 -4
- package/src/types/gpt-response-payload.ts +0 -6
- package/src/types/mcad-object-interaction.ts +0 -15
- package/src/types/segment-angle.ts +0 -5
- package/src/types/vector2.ts +0 -4
- package/src/types/vector3.ts +0 -5
- package/test/fakers/data-overlay-info.faker.ts +0 -29
- /package/src/assets/logos/3dicom/{white.svg → white/white.svg} +0 -0
- /package/src/assets/{images/light/Singular-Health-Trademark-mono.svg → logos/singular-health/black/black.svg} +0 -0
- /package/src/assets/{images/dark/Singular-Health-Trademark-mono.svg → logos/singular-health/white/white.svg} +0 -0
package/vitest.config.mts
CHANGED
|
@@ -5,21 +5,30 @@ export default mergeConfig(
|
|
|
5
5
|
viteConfig,
|
|
6
6
|
defineConfig({
|
|
7
7
|
test: {
|
|
8
|
+
api: { port: 3002 },
|
|
8
9
|
globals: true,
|
|
9
10
|
environment: 'jsdom',
|
|
11
|
+
pool: 'threads',
|
|
10
12
|
server: {
|
|
11
13
|
deps: {
|
|
12
14
|
inline: ['vuetify']
|
|
13
15
|
}
|
|
14
16
|
},
|
|
15
17
|
include: ['src/**/*.spec.ts'],
|
|
16
|
-
setupFiles: ['test/setup.ts'],
|
|
18
|
+
setupFiles: ['test/setup.ts', 'test/assertions/beTypeOrNull.ts'],
|
|
17
19
|
coverage: {
|
|
18
|
-
provider: '
|
|
20
|
+
provider: 'v8',
|
|
19
21
|
enabled: true,
|
|
20
22
|
reporter: ['html'],
|
|
21
23
|
include: ['src/**/*.{ts,vue}', 'test/**/*.{ts}'],
|
|
22
|
-
exclude: [
|
|
24
|
+
exclude: [
|
|
25
|
+
'src/**/*.spec.ts',
|
|
26
|
+
'src/components/demo/**/*',
|
|
27
|
+
'src/components/intro/**/*',
|
|
28
|
+
'src/App.vue',
|
|
29
|
+
'src/main.ts',
|
|
30
|
+
'src/components/modal/ViewerMain.vue'
|
|
31
|
+
]
|
|
23
32
|
}
|
|
24
33
|
}
|
|
25
34
|
})
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<svg width="992" height="560" viewBox="15 7 992 560" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="15" y="1" width="992" height="567" fill="url(#paint0_linear_504_579)"/>
|
|
3
|
-
<g filter="url(#filter0_i_504_579)">
|
|
4
|
-
<path d="M567.029 291.5C574.21 421.339 748.15 561 825.931 561H12L12.0001 0C153.713 0 580.363 0 580.363 0C684.258 142 560.918 181 567.029 291.5Z" fill="#1B2E43" fill-opacity="0.9"/>
|
|
5
|
-
</g>
|
|
6
|
-
<g filter="url(#filter1_i_504_579)">
|
|
7
|
-
<path d="M435.911 260.5C462.579 433.5 652.034 561 729.815 561H12L12.0001 0C233.678 0 409.954 92.1126 435.911 260.5Z" fill="#1B2E43" fill-opacity="0.9"/>
|
|
8
|
-
</g>
|
|
9
|
-
<g filter="url(#filter2_i_504_579)">
|
|
10
|
-
<circle cx="46" cy="521" r="93" fill="#1B2E43" fill-opacity="0.3"/>
|
|
11
|
-
</g>
|
|
12
|
-
<defs>
|
|
13
|
-
<filter id="filter0_i_504_579" x="12" y="0" width="858.931" height="606" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
14
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
15
|
-
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
16
|
-
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
17
|
-
<feOffset dx="45" dy="45"/>
|
|
18
|
-
<feGaussianBlur stdDeviation="50"/>
|
|
19
|
-
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
|
20
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0.653125 0 0 0 0 0.761642 0 0 0 0 0.916667 0 0 0 0.15 0"/>
|
|
21
|
-
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_504_579"/>
|
|
22
|
-
</filter>
|
|
23
|
-
<filter id="filter1_i_504_579" x="12" y="0" width="762.815" height="606" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
24
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
25
|
-
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
26
|
-
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
27
|
-
<feOffset dx="45" dy="45"/>
|
|
28
|
-
<feGaussianBlur stdDeviation="50"/>
|
|
29
|
-
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
|
30
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0.653125 0 0 0 0 0.761642 0 0 0 0 0.916667 0 0 0 0.25 0"/>
|
|
31
|
-
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_504_579"/>
|
|
32
|
-
</filter>
|
|
33
|
-
<filter id="filter2_i_504_579" x="-47" y="428" width="231" height="231" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
34
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
35
|
-
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
36
|
-
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
37
|
-
<feOffset dx="45" dy="45"/>
|
|
38
|
-
<feGaussianBlur stdDeviation="50"/>
|
|
39
|
-
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
|
40
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0.653125 0 0 0 0 0.761642 0 0 0 0 0.916667 0 0 0 0.15 0"/>
|
|
41
|
-
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_504_579"/>
|
|
42
|
-
</filter>
|
|
43
|
-
<linearGradient id="paint0_linear_504_579" x1="1251.04" y1="696.83" x2="21.486" y2="-10.2783" gradientUnits="userSpaceOnUse">
|
|
44
|
-
<stop stop-color="#0E141D"/>
|
|
45
|
-
<stop offset="1" stop-color="#23405E"/>
|
|
46
|
-
</linearGradient>
|
|
47
|
-
</defs>
|
|
48
|
-
</svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<svg id="Layer_2" data-name="Layer 2" viewBox="0 0 357.373 379.448" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<defs>
|
|
4
|
-
<style>.cls-1{fill:#fff;}.cls-2{fill:#fff;}</style>
|
|
5
|
-
</defs>
|
|
6
|
-
<title>Singular Health Trademark_4824</title>
|
|
7
|
-
<path class="cls-1" d="M 102.524 256.011 C 120.346 249.63 134.779 236.229 142.462 218.927 C 147.925 207.345 151.83 195.09 154.079 182.483 L 175.163 72.262 C 175.625 70.065 178.291 69.192 179.963 70.689 C 180.425 71.104 180.743 71.655 180.87 72.262 L 201.963 182.483 C 204.212 195.092 208.121 207.346 213.59 218.927 C 221.269 236.228 235.698 249.63 253.518 256.011 L 313.269 277.922 C 330.871 251.395 340.239 220.257 340.193 188.421 C 340.193 98.857 267.589 26.244 178.026 26.244 C 88.462 26.244 15.876 98.857 15.876 188.421 C 15.815 220.292 25.19 251.468 42.818 278.02 L 102.524 256.011 Z"/>
|
|
8
|
-
<path class="cls-2" d="M 239.047 292.482 C 213.199 280.615 198.381 261.807 193.59 235.709 C 193.59 235.709 192.799 233.176 189.146 204.501 L 179.315 129.666 C 179.173 128.698 178.036 128.245 177.269 128.852 C 177.014 129.053 176.846 129.345 176.799 129.666 L 167.021 204.501 C 163.324 233.176 162.577 235.709 162.577 235.709 C 157.777 261.807 142.959 280.615 117.12 292.482 L 73.822 312.686 C 134.126 363.265 222.044 363.232 282.309 312.606 L 239.047 292.482 Z"/>
|
|
9
|
-
</svg>
|
|
Binary file
|
|
@@ -1,27 +0,0 @@
|
|
|
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>
|
|
@@ -1 +0,0 @@
|
|
|
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"><rect width="1500" height="1500" fill="#00000000"></rect><g transform="matrix(0.6666666666666666,0,0,0.6666666666666666,249.39393939393938,699.7570253441612)"><svg viewBox="0 0 396 40" data-background-color="#ffffff" preserveAspectRatio="xMidYMid meet" height="151" width="1500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="tight-bounds" transform="matrix(1,0,0,1,0.2400000000000091,-0.035904110262748645)"><svg viewBox="0 0 395.52 40.07180822052549" height="40.07180822052549" width="395.52"><g><svg viewBox="0 0 437.0186036473404 44.27620771176696" height="40.07180822052549" width="395.52"><g transform="matrix(1,0,0,1,0,6.1192153928708315)"><svg viewBox="0 0 395.52 32.037776926025295" height="32.037776926025295" width="395.52"><g id="textblocktransform"><svg viewBox="0 0 395.52 32.037776926025295" height="32.037776926025295" width="395.52" id="textblock"><g><svg viewBox="0 0 395.52 32.037776926025295" height="32.037776926025295" width="395.52"><g transform="matrix(1,0,0,1,0,0)"><svg width="395.52" viewBox="1.05 -31.05 391.32 31.7" height="32.037776926025295" data-palette-color="#085f63"><path d="M15.7-10.9L15.7-10.9 12.15-10.9Q10.75-13 9.22-15.33 7.7-17.65 6.23-20.05 4.75-22.45 3.43-24.78 2.1-27.1 1.05-29.1L1.05-29.1Q1.25-29.65 1.8-30.18 2.35-30.7 3.25-30.7L3.25-30.7Q4.2-30.7 4.73-30.2 5.25-29.7 5.8-28.7L5.8-28.7Q6.45-27.55 7.28-26.13 8.1-24.7 9-23.13 9.9-21.55 10.8-20 11.7-18.45 12.48-17.1 13.25-15.75 13.85-14.75L13.85-14.75 14.05-14.75Q15.8-17.65 17.25-20.25 18.7-22.85 20.05-25.35 21.4-27.85 22.7-30.35L22.7-30.35Q23-30.55 23.45-30.63 23.9-30.7 24.25-30.7L24.25-30.7Q25.2-30.7 25.68-30.25 26.15-29.8 26.15-29L26.15-29Q26.15-28.5 25.38-26.88 24.6-25.25 23.2-22.83 21.8-20.4 19.9-17.35 18-14.3 15.7-10.9ZM11.9-1.6L11.9-12.85 15.95-12.85 15.95-0.1Q15.7 0 15.18 0.13 14.65 0.25 14.1 0.25L14.1 0.25Q13 0.25 12.45-0.2 11.9-0.65 11.9-1.6L11.9-1.6ZM59.2-15.2L59.2-15.2 59.2-15.2Q59.2-10 57.3-6.48 55.4-2.95 52.12-1.15 48.85 0.65 44.7 0.65L44.7 0.65Q40.6 0.65 37.3-1.15 34-2.95 32.1-6.48 30.2-10 30.2-15.2L30.2-15.2Q30.2-20.4 32.15-23.93 34.1-27.45 37.37-29.25 40.65-31.05 44.7-31.05L44.7-31.05Q48.8-31.05 52.07-29.25 55.35-27.45 57.27-23.93 59.2-20.4 59.2-15.2ZM55.05-15.2L55.05-15.2 55.05-15.2Q55.05-21.15 52.22-24.38 49.4-27.6 44.7-27.6L44.7-27.6Q40.05-27.6 37.22-24.38 34.4-21.15 34.4-15.2L34.4-15.2Q34.4-9.25 37.2-6.03 40-2.8 44.7-2.8L44.7-2.8Q49.45-2.8 52.25-6.03 55.05-9.25 55.05-15.2ZM78.15 0.65L78.15 0.65 78.15 0.65Q74.4 0.65 71.75-0.73 69.1-2.1 67.72-4.63 66.35-7.15 66.35-10.5L66.35-10.5 66.35-14.6 70.4-14.6 70.4-10.85Q70.4-6.85 72.62-4.83 74.85-2.8 78.15-2.8L78.15-2.8Q81.45-2.8 83.67-4.83 85.9-6.85 85.9-10.85L85.9-10.85 85.9-14.6 90-14.6 90-10.5Q90-7.15 88.62-4.63 87.25-2.1 84.6-0.73 81.95 0.65 78.15 0.65ZM70.4-28.8L70.4-12.55 66.35-12.55 66.35-30.3Q66.6-30.4 67.12-30.53 67.65-30.65 68.25-30.65L68.25-30.65Q69.35-30.65 69.87-30.23 70.4-29.8 70.4-28.8L70.4-28.8ZM90-28.8L90-12.55 85.9-12.55 85.9-30.3Q86.15-30.4 86.67-30.53 87.2-30.65 87.8-30.65L87.8-30.65Q88.9-30.65 89.45-30.23 90-29.8 90-28.8L90-28.8ZM102.89-27.1L102.89-14.9 108.64-14.9Q112.34-14.9 114.44-16.5 116.54-18.1 116.54-21.25L116.54-21.25Q116.54-24.35 114.34-25.95 112.14-27.55 108.04-27.55L108.04-27.55Q106.69-27.55 105.32-27.43 103.94-27.3 102.89-27.1L102.89-27.1ZM108.64-11.5L108.64-11.5 98.84-11.5 98.84-28.2Q98.84-29 99.27-29.43 99.69-29.85 100.49-30.1L100.49-30.1Q101.94-30.55 104.07-30.75 106.19-30.95 108.19-30.95L108.19-30.95Q114.44-30.95 117.54-28.4 120.64-25.85 120.64-21.25L120.64-21.25Q120.64-18.3 119.29-16.1 117.94-13.9 115.29-12.7 112.64-11.5 108.64-11.5ZM116.94-1.3L108.74-12.8 111.74-14.3Q113.14-12.55 114.64-10.65 116.14-8.75 117.54-6.95 118.94-5.15 120.04-3.73 121.14-2.3 121.74-1.5L121.74-1.5Q121.54-0.65 120.87-0.15 120.19 0.35 119.49 0.35L119.49 0.35Q118.64 0.35 118.09-0.08 117.54-0.5 116.94-1.3L116.94-1.3ZM98.84-1.6L98.84-12.6 102.94-12.6 102.94-0.1Q102.64 0 102.14 0.13 101.64 0.25 101.04 0.25L101.04 0.25Q99.94 0.25 99.39-0.2 98.84-0.65 98.84-1.6L98.84-1.6ZM143.29-2.2L143.29-17.75 147.39-17.75 147.39-0.4 145.49 0Q144.54 0 143.91-0.63 143.29-1.25 143.29-2.2L143.29-2.2ZM160.64 0L145.49 0 145.49-3.5 161.74-3.5Q161.99-3.3 162.14-2.85 162.29-2.4 162.29-1.85L162.29-1.85Q162.29-1 161.84-0.5 161.39 0 160.64 0L160.64 0ZM147.39-28.8L147.39-14.75 143.29-14.75 143.29-30.3Q143.54-30.4 144.06-30.53 144.59-30.65 145.19-30.65L145.19-30.65Q146.29-30.65 146.84-30.23 147.39-29.8 147.39-28.8L147.39-28.8ZM195.59-15.2L195.59-15.2 195.59-15.2Q195.59-10 193.69-6.48 191.79-2.95 188.51-1.15 185.24 0.65 181.09 0.65L181.09 0.65Q176.99 0.65 173.69-1.15 170.39-2.95 168.49-6.48 166.59-10 166.59-15.2L166.59-15.2Q166.59-20.4 168.54-23.93 170.49-27.45 173.76-29.25 177.04-31.05 181.09-31.05L181.09-31.05Q185.19-31.05 188.46-29.25 191.74-27.45 193.66-23.93 195.59-20.4 195.59-15.2ZM191.44-15.2L191.44-15.2 191.44-15.2Q191.44-21.15 188.61-24.38 185.79-27.6 181.09-27.6L181.09-27.6Q176.44-27.6 173.61-24.38 170.79-21.15 170.79-15.2L170.79-15.2Q170.79-9.25 173.59-6.03 176.39-2.8 181.09-2.8L181.09-2.8Q185.84-2.8 188.64-6.03 191.44-9.25 191.44-15.2ZM226.83-14.35L226.83-14.35 226.83-3.5Q226.83-2.6 226.31-1.98 225.78-1.35 224.73-0.85L224.73-0.85Q223.48-0.2 221.28 0.23 219.08 0.65 216.83 0.65L216.83 0.65Q212.18 0.65 208.61-1.05 205.03-2.75 203.03-6.25 201.03-9.75 201.03-15.15L201.03-15.15Q201.03-20.5 203.11-24.03 205.18-27.55 208.63-29.3 212.08-31.05 216.18-31.05L216.18-31.05Q219.03-31.05 221.18-30.45 223.33-29.85 224.53-28.95 225.73-28.05 225.73-27.1L225.73-27.1Q225.73-26.45 225.33-25.93 224.93-25.4 224.38-25.15L224.38-25.15Q223.03-26.05 221.18-26.83 219.33-27.6 216.43-27.6L216.43-27.6Q213.28-27.6 210.73-26.2 208.18-24.8 206.71-22.03 205.23-19.25 205.23-15.15L205.23-15.15Q205.23-10.85 206.76-8.13 208.28-5.4 210.93-4.1 213.58-2.8 216.88-2.8L216.88-2.8Q218.68-2.8 220.28-3.1 221.88-3.4 222.78-3.85L222.78-3.85 222.78-13.05 215.23-13.05Q215.08-13.3 214.93-13.73 214.78-14.15 214.78-14.65L214.78-14.65Q214.78-15.5 215.18-15.98 215.58-16.45 216.33-16.45L216.33-16.45 224.68-16.45Q225.58-16.45 226.21-15.88 226.83-15.3 226.83-14.35ZM261.98-15.2L261.98-15.2 261.98-15.2Q261.98-10 260.08-6.48 258.18-2.95 254.91-1.15 251.63 0.65 247.48 0.65L247.48 0.65Q243.38 0.65 240.08-1.15 236.78-2.95 234.88-6.48 232.98-10 232.98-15.2L232.98-15.2Q232.98-20.4 234.93-23.93 236.88-27.45 240.16-29.25 243.43-31.05 247.48-31.05L247.48-31.05Q251.58-31.05 254.86-29.25 258.13-27.45 260.06-23.93 261.98-20.4 261.98-15.2ZM257.83-15.2L257.83-15.2 257.83-15.2Q257.83-21.15 255.01-24.38 252.18-27.6 247.48-27.6L247.48-27.6Q242.83-27.6 240.01-24.38 237.18-21.15 237.18-15.2L237.18-15.2Q237.18-9.25 239.98-6.03 242.78-2.8 247.48-2.8L247.48-2.8Q252.23-2.8 255.03-6.03 257.83-9.25 257.83-15.2ZM284.18-1.6L284.18-18.1 288.28-18.1 288.28-0.1Q287.98 0 287.48 0.13 286.98 0.25 286.38 0.25L286.38 0.25Q285.28 0.25 284.73-0.2 284.18-0.65 284.18-1.6L284.18-1.6ZM288.28-28.8L288.28-14.75 284.18-14.75 284.18-30.3Q284.43-30.4 284.95-30.53 285.48-30.65 286.08-30.65L286.08-30.65Q287.18-30.65 287.73-30.23 288.28-29.8 288.28-28.8L288.28-28.8ZM303.88-1.6L303.88-18.1 307.98-18.1 307.98-0.1Q307.68 0 307.18 0.13 306.68 0.25 306.08 0.25L306.08 0.25Q304.98 0.25 304.43-0.2 303.88-0.65 303.88-1.6L303.88-1.6ZM307.98-28.8L307.98-14.75 303.88-14.75 303.88-30.3Q304.13-30.4 304.65-30.53 305.18-30.65 305.78-30.65L305.78-30.65Q306.88-30.65 307.43-30.23 307.98-29.8 307.98-28.8L307.98-28.8ZM306.03-17.1L306.03-13.7 286.63-13.7 286.63-17.1 306.03-17.1ZM316.87-2.2L316.87-18.3 320.92-18.3 320.92-0.4Q320.72-0.35 320.17-0.18 319.62 0 319.07 0L319.07 0Q318.07 0 317.47-0.63 316.87-1.25 316.87-2.2L316.87-2.2ZM320.92-30L320.92-12.4 316.87-12.45 316.87-28.2Q316.87-29.2 317.47-29.8 318.07-30.4 319.07-30.4L319.07-30.4Q319.62-30.4 320.17-30.25 320.72-30.1 320.92-30L320.92-30ZM333.02-13.9L319.07-13.9 319.07-17.3 334.12-17.3Q334.27-17.1 334.42-16.65 334.57-16.2 334.57-15.7L334.57-15.7Q334.57-14.9 334.17-14.4 333.77-13.9 333.02-13.9L333.02-13.9ZM334.82 0L319.07 0 319.07-3.4 335.92-3.4Q336.07-3.2 336.22-2.78 336.37-2.35 336.37-1.8L336.37-1.8Q336.37-1 335.97-0.5 335.57 0 334.82 0L334.82 0ZM334.57-26.95L319.07-26.95 319.07-30.4 335.67-30.4Q335.82-30.2 335.97-29.75 336.12-29.3 336.12-28.8L336.12-28.8Q336.12-28 335.72-27.48 335.32-26.95 334.57-26.95L334.57-26.95ZM347.47-27.1L347.47-14.9 353.22-14.9Q356.92-14.9 359.02-16.5 361.12-18.1 361.12-21.25L361.12-21.25Q361.12-24.35 358.92-25.95 356.72-27.55 352.62-27.55L352.62-27.55Q351.27-27.55 349.9-27.43 348.52-27.3 347.47-27.1L347.47-27.1ZM353.22-11.5L353.22-11.5 343.42-11.5 343.42-28.2Q343.42-29 343.85-29.43 344.27-29.85 345.07-30.1L345.07-30.1Q346.52-30.55 348.65-30.75 350.77-30.95 352.77-30.95L352.77-30.95Q359.02-30.95 362.12-28.4 365.22-25.85 365.22-21.25L365.22-21.25Q365.22-18.3 363.87-16.1 362.52-13.9 359.87-12.7 357.22-11.5 353.22-11.5ZM361.52-1.3L353.32-12.8 356.32-14.3Q357.72-12.55 359.22-10.65 360.72-8.75 362.12-6.95 363.52-5.15 364.62-3.73 365.72-2.3 366.32-1.5L366.32-1.5Q366.12-0.65 365.45-0.15 364.77 0.35 364.07 0.35L364.07 0.35Q363.22 0.35 362.67-0.08 362.12-0.5 361.52-1.3L361.52-1.3ZM343.42-1.6L343.42-12.6 347.52-12.6 347.52-0.1Q347.22 0 346.72 0.13 346.22 0.25 345.62 0.25L345.62 0.25Q344.52 0.25 343.97-0.2 343.42-0.65 343.42-1.6L343.42-1.6ZM372.87-2.2L372.87-18.3 376.92-18.3 376.92-0.4Q376.72-0.35 376.17-0.18 375.62 0 375.07 0L375.07 0Q374.07 0 373.47-0.63 372.87-1.25 372.87-2.2L372.87-2.2ZM376.92-30L376.92-12.4 372.87-12.45 372.87-28.2Q372.87-29.2 373.47-29.8 374.07-30.4 375.07-30.4L375.07-30.4Q375.62-30.4 376.17-30.25 376.72-30.1 376.92-30L376.92-30ZM389.02-13.9L375.07-13.9 375.07-17.3 390.12-17.3Q390.27-17.1 390.42-16.65 390.57-16.2 390.57-15.7L390.57-15.7Q390.57-14.9 390.17-14.4 389.77-13.9 389.02-13.9L389.02-13.9ZM390.82 0L375.07 0 375.07-3.4 391.92-3.4Q392.07-3.2 392.22-2.78 392.37-2.35 392.37-1.8L392.37-1.8Q392.37-1 391.97-0.5 391.57 0 390.82 0L390.82 0ZM390.57-26.95L375.07-26.95 375.07-30.4 391.67-30.4Q391.82-30.2 391.97-29.75 392.12-29.3 392.12-28.8L392.12-28.8Q392.12-28 391.72-27.48 391.32-26.95 390.57-26.95L390.57-26.95Z" opacity="1" transform="matrix(1,0,0,1,0,0)" fill="#ffffff" class="wordmark-text-0" data-fill-palette-color="primary" id="text-0"></path></svg></g></svg></g></svg></g></svg></g><g transform="matrix(1,0,0,1,403.08335022558833,0)"><svg viewBox="0 0 33.935253421752066 44.27620771176696" height="44.27620771176696" width="33.935253421752066"><g><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"></path></svg></g></svg></g></svg></g><defs></defs></svg><rect width="395.52" height="40.07180822052549" fill="none" stroke="none" visibility="hidden"></rect></g></svg></g></svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<svg id="Layer_2" data-name="Layer 2" viewBox="0 0 357.373 379.448" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<defs>
|
|
4
|
-
<style>.cls-1{fill:#5D8DC3;}.cls-2{fill:#5D8DC3;}</style>
|
|
5
|
-
</defs>
|
|
6
|
-
<title>Singular Health Trademark_4824</title>
|
|
7
|
-
<path class="cls-1" d="M 102.524 256.011 C 120.346 249.63 134.779 236.229 142.462 218.927 C 147.925 207.345 151.83 195.09 154.079 182.483 L 175.163 72.262 C 175.625 70.065 178.291 69.192 179.963 70.689 C 180.425 71.104 180.743 71.655 180.87 72.262 L 201.963 182.483 C 204.212 195.092 208.121 207.346 213.59 218.927 C 221.269 236.228 235.698 249.63 253.518 256.011 L 313.269 277.922 C 330.871 251.395 340.239 220.257 340.193 188.421 C 340.193 98.857 267.589 26.244 178.026 26.244 C 88.462 26.244 15.876 98.857 15.876 188.421 C 15.815 220.292 25.19 251.468 42.818 278.02 L 102.524 256.011 Z" style="fill: #344454;"/>
|
|
8
|
-
<path class="cls-1" d="M 239.047 292.482 C 213.199 280.615 198.381 261.807 193.59 235.709 C 193.59 235.709 192.799 233.176 189.146 204.501 L 179.315 129.666 C 179.173 128.698 178.036 128.245 177.269 128.852 C 177.014 129.053 176.846 129.345 176.799 129.666 L 167.021 204.501 C 163.324 233.176 162.577 235.709 162.577 235.709 C 157.777 261.807 142.959 280.615 117.12 292.482 L 73.822 312.686 C 134.126 363.265 222.044 363.232 282.309 312.606 L 239.047 292.482 Z" style="fill: #344454;"/>
|
|
9
|
-
</svg>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<svg viewBox="0 0 130 155" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<defs>
|
|
4
|
-
<linearGradient id="paint0_linear_184_3640" x1="97.4467" y1="10.5294" x2="85.8199" y2="69.4832" gradientUnits="userSpaceOnUse">
|
|
5
|
-
<stop stop-color="white" stop-opacity="0.8"/>
|
|
6
|
-
<stop offset="1" stop-color="white" stop-opacity="0.5"/>
|
|
7
|
-
</linearGradient>
|
|
8
|
-
<linearGradient id="paint1_linear_184_3640" x1="68.472" y1="34.3899" x2="55.5909" y2="102.885" gradientUnits="userSpaceOnUse">
|
|
9
|
-
<stop stop-color="white" stop-opacity="0.8"/>
|
|
10
|
-
<stop offset="1" stop-color="white" stop-opacity="0.5"/>
|
|
11
|
-
</linearGradient>
|
|
12
|
-
<linearGradient id="paint2_linear_184_3640" x1="41.2011" y1="58.2533" x2="26.3355" y2="135.999" gradientUnits="userSpaceOnUse">
|
|
13
|
-
<stop stop-color="white" stop-opacity="0.8"/>
|
|
14
|
-
<stop offset="1" stop-color="white" stop-opacity="0.5"/>
|
|
15
|
-
</linearGradient>
|
|
16
|
-
</defs>
|
|
17
|
-
<path d="M121.308 23.4829L73.585 10.5294V61.048L121.308 75.2969V23.4829Z" stroke="url(#paint0_linear_184_3640)" stroke-width="16" transform="matrix(1, 0, 0, 1, 0, 7.105427357601002e-15)"/>
|
|
18
|
-
<path d="M97.447 49.3887L39.4971 34.3899V92.8852L97.447 109.384V49.3887Z" stroke="url(#paint1_linear_184_3640)" stroke-width="16" transform="matrix(1, 0, 0, 1, 0, 7.105427357601002e-15)"/>
|
|
19
|
-
<path d="M73.5849 75.2974L8.81738 58.2533V124.725L73.5849 143.474V75.2974Z" stroke="url(#paint2_linear_184_3640)" stroke-width="16" transform="matrix(1, 0, 0, 1, 0, 7.105427357601002e-15)"/>
|
|
20
|
-
</svg>
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { computed } from "vue";
|
|
3
|
-
|
|
4
|
-
export interface Props {
|
|
5
|
-
modal: boolean;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
const emit = defineEmits<{
|
|
9
|
-
"update:modal": [value: boolean];
|
|
10
|
-
}>();
|
|
11
|
-
|
|
12
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
13
|
-
modal: false,
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
const modalState = computed({
|
|
17
|
-
get() {
|
|
18
|
-
return props.modal;
|
|
19
|
-
},
|
|
20
|
-
set(value) {
|
|
21
|
-
emit("update:modal", value);
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
</script>
|
|
25
|
-
|
|
26
|
-
<template>
|
|
27
|
-
<v-dialog v-model:model-value="modalState">
|
|
28
|
-
<v-card class="pa-1 ma-auto position-relative" max-width="450">
|
|
29
|
-
<v-card-title class="font-weight-bold">Demo Instance</v-card-title>
|
|
30
|
-
<v-card-text>
|
|
31
|
-
This instance of 3Dicom Online Viewer is a Demo instance.
|
|
32
|
-
</v-card-text>
|
|
33
|
-
<v-card-text>
|
|
34
|
-
Please contact us if you would like to integrate this viewer into your
|
|
35
|
-
platform
|
|
36
|
-
</v-card-text>
|
|
37
|
-
<v-card-text> support@singular.health </v-card-text>
|
|
38
|
-
<v-card-actions>
|
|
39
|
-
<v-spacer />
|
|
40
|
-
<v-btn data-testid="close" color="primary" @click="modalState = false"> Thanks! </v-btn>
|
|
41
|
-
</v-card-actions>
|
|
42
|
-
</v-card>
|
|
43
|
-
</v-dialog>
|
|
44
|
-
</template>
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { computed } from 'vue';
|
|
3
|
-
import { PRICING_URL } from '@/components/demo/options';
|
|
4
|
-
|
|
5
|
-
export interface Props {
|
|
6
|
-
modal: boolean;
|
|
7
|
-
isModalOpen?: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
const emit = defineEmits<{
|
|
11
|
-
'update:modal': [value: boolean];
|
|
12
|
-
}>();
|
|
13
|
-
|
|
14
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
15
|
-
modal: false,
|
|
16
|
-
isModalOpen: true
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
const modalState = computed({
|
|
20
|
-
get() {
|
|
21
|
-
return props.modal;
|
|
22
|
-
},
|
|
23
|
-
set(value) {
|
|
24
|
-
emit('update:modal', value);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
function openUrl(url: string) {
|
|
28
|
-
window.open(url, '_self');
|
|
29
|
-
}
|
|
30
|
-
</script>
|
|
31
|
-
|
|
32
|
-
<template>
|
|
33
|
-
<v-dialog v-model:model-value="modalState">
|
|
34
|
-
<v-card class="pa-1 ma-auto position-relative" max-width="450">
|
|
35
|
-
<v-card-title>Purchase 3Dicom Viewer</v-card-title>
|
|
36
|
-
<v-card-text> Thank you for trying 3Dicom Online Viewer! </v-card-text>
|
|
37
|
-
<v-card-text>
|
|
38
|
-
This instance of the Online Viewer is a Demo instance. If you would like to see your scans in 3D, please choose
|
|
39
|
-
a plan for 3DICOM
|
|
40
|
-
</v-card-text>
|
|
41
|
-
<v-card-actions>
|
|
42
|
-
<v-btn data-testid="close" color="error" @click="modalState = false" :disabled="!isModalOpen">
|
|
43
|
-
Continue with Viewer
|
|
44
|
-
</v-btn>
|
|
45
|
-
<v-spacer />
|
|
46
|
-
<v-btn data-testid="select-plan" variant="tonal" color="success" @click="openUrl(PRICING_URL)">
|
|
47
|
-
Select a Plan
|
|
48
|
-
</v-btn>
|
|
49
|
-
</v-card-actions>
|
|
50
|
-
</v-card>
|
|
51
|
-
</v-dialog>
|
|
52
|
-
</template>
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { mount } from '@vue/test-utils';
|
|
2
|
-
import { VDialog } from 'vuetify/components';
|
|
3
|
-
import DemoModal from '@/components/demo/DemoModal.vue';
|
|
4
|
-
|
|
5
|
-
describe('DemoModal tests', () => {
|
|
6
|
-
it('should mount', () => {
|
|
7
|
-
const props = { modal: true };
|
|
8
|
-
const wrapper = mount(DemoModal, { props });
|
|
9
|
-
expect(wrapper).toBeTruthy();
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
it('should close', async () => {
|
|
13
|
-
const props = { modal: true };
|
|
14
|
-
const wrapper = mount(DemoModal, { props });
|
|
15
|
-
const button = wrapper.findComponent('[data-testid="close"]');
|
|
16
|
-
await button.trigger('click');
|
|
17
|
-
expect(wrapper.emitted('update:modal')).toBeTruthy();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should open via input', async () => {
|
|
21
|
-
const props = { modal: false };
|
|
22
|
-
const wrapper = mount(DemoModal, { props });
|
|
23
|
-
const dialog = wrapper.findComponent(VDialog);
|
|
24
|
-
await dialog.setValue(true);
|
|
25
|
-
});
|
|
26
|
-
});
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { PRICING_URL } from '@/components/demo/options';
|
|
2
|
-
import { mount } from '@vue/test-utils';
|
|
3
|
-
import { VDialog } from 'vuetify/components';
|
|
4
|
-
import DemoPatientModal from '@/components/demo/DemoPatientModal.vue';
|
|
5
|
-
|
|
6
|
-
describe('DemoPatientModal tests', () => {
|
|
7
|
-
it('should mount', () => {
|
|
8
|
-
const props = { modal: true, isModalOpen: true };
|
|
9
|
-
const wrapper = mount(DemoPatientModal, { props });
|
|
10
|
-
expect(wrapper).toBeTruthy();
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
it('should close', async () => {
|
|
14
|
-
const props = { modal: true, isModalOpen: true };
|
|
15
|
-
const wrapper = mount(DemoPatientModal, { props });
|
|
16
|
-
const button = wrapper.findComponent('[data-testid="close"]');
|
|
17
|
-
await button.trigger('click');
|
|
18
|
-
expect(wrapper.emitted('update:modal')).toBeTruthy();
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
it('should open pricing url', async () => {
|
|
22
|
-
vi.stubGlobal('open', vi.fn());
|
|
23
|
-
const spy = vi.spyOn(window, 'open');
|
|
24
|
-
const props = { modal: true, isModalOpen: true };
|
|
25
|
-
const wrapper = mount(DemoPatientModal, { props });
|
|
26
|
-
const button = wrapper.findComponent('[data-testid="select-plan"]');
|
|
27
|
-
await button.trigger('click');
|
|
28
|
-
expect(spy).toHaveBeenCalledWith(PRICING_URL, '_self');
|
|
29
|
-
vi.restoreAllMocks();
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
it('should open via input', async () => {
|
|
33
|
-
const props = { modal: false, isModalOpen: true };
|
|
34
|
-
const wrapper = mount(DemoPatientModal, { props });
|
|
35
|
-
const dialog = wrapper.findComponent(VDialog);
|
|
36
|
-
await dialog.setValue(true);
|
|
37
|
-
});
|
|
38
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from "vitest";
|
|
2
|
-
import { demoLicenceOptions, demoPatientOptions } from "@/components/demo/options";
|
|
3
|
-
import { LoadViewerOptions } from "@/models/loadViewerOptions";
|
|
4
|
-
|
|
5
|
-
describe('options tests', () => {
|
|
6
|
-
it('should call demo license options', () => {
|
|
7
|
-
Object.keys(demoLicenceOptions).forEach(key => {
|
|
8
|
-
const k = key as keyof LoadViewerOptions;
|
|
9
|
-
const fn = demoLicenceOptions[k];
|
|
10
|
-
if (fn) {
|
|
11
|
-
expect(fn).not.toThrow();
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
it('should call demo patient options', () => {
|
|
17
|
-
Object.keys(demoPatientOptions).forEach(key => {
|
|
18
|
-
const k = key as keyof LoadViewerOptions;
|
|
19
|
-
const fn = demoPatientOptions[k];
|
|
20
|
-
if (fn) {
|
|
21
|
-
expect(fn).not.toThrow();
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
});
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-dialog width="600" v-model:model-value="modalState">
|
|
3
|
-
<v-card theme="dark" class="motif-background">
|
|
4
|
-
<v-card-title class="text-center font-weight-bold">
|
|
5
|
-
Enable Cloud Storage
|
|
6
|
-
</v-card-title>
|
|
7
|
-
<v-card-text>
|
|
8
|
-
<p style="text-align: center;">Enable annual storage for just <b>5 credits</b>.</p>
|
|
9
|
-
<br />
|
|
10
|
-
<div>
|
|
11
|
-
<v-row no-gutters v-for="(benefit, idx) in benefits" :key="idx">
|
|
12
|
-
<v-col class="d-flex justify-end" cols="2">
|
|
13
|
-
<v-icon class="mr-2" color="success" icon="check" />
|
|
14
|
-
</v-col>
|
|
15
|
-
<v-col>
|
|
16
|
-
{{ benefit }}
|
|
17
|
-
</v-col>
|
|
18
|
-
</v-row>
|
|
19
|
-
</div>
|
|
20
|
-
</v-card-text>
|
|
21
|
-
<v-card-actions>
|
|
22
|
-
<v-btn data-testid="close" color="red" @click="modalState = false">
|
|
23
|
-
Continue with Demo
|
|
24
|
-
</v-btn>
|
|
25
|
-
<v-spacer />
|
|
26
|
-
<v-btn data-testid="confirm" variant="flat" color="success" @click="openUrl(PRICING_URL)">
|
|
27
|
-
Enable Cloud Storage
|
|
28
|
-
</v-btn>
|
|
29
|
-
</v-card-actions>
|
|
30
|
-
</v-card>
|
|
31
|
-
</v-dialog>
|
|
32
|
-
</template>
|
|
33
|
-
|
|
34
|
-
<script setup lang="ts">
|
|
35
|
-
import { computed } from 'vue';
|
|
36
|
-
import { PRICING_URL, openUrl } from '@/components/demo/options';
|
|
37
|
-
|
|
38
|
-
interface Props {
|
|
39
|
-
modal?: boolean;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
type Emits = {
|
|
43
|
-
'update:modal': [value: boolean];
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
const props = defineProps<Props>();
|
|
47
|
-
|
|
48
|
-
const emit = defineEmits<Emits>();
|
|
49
|
-
|
|
50
|
-
const benefits = [
|
|
51
|
-
'Secure storage',
|
|
52
|
-
'Access your scan from any device',
|
|
53
|
-
'Keep your medical imaging records at your fingertips'
|
|
54
|
-
];
|
|
55
|
-
|
|
56
|
-
const modalState = computed({
|
|
57
|
-
get(): boolean {
|
|
58
|
-
return props.modal;
|
|
59
|
-
},
|
|
60
|
-
set(value: boolean): void {
|
|
61
|
-
emit('update:modal', value);
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
</script>
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { computed } from 'vue';
|
|
3
|
-
import { demoLicenceSubtitles, demoLicenceTitle, openUrl, SUPPORT_URL } from '@/components/demo/options';
|
|
4
|
-
|
|
5
|
-
export interface Props {
|
|
6
|
-
modal: boolean;
|
|
7
|
-
isModalOpen?: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
const emit = defineEmits<{
|
|
11
|
-
'update:modal': [value: boolean];
|
|
12
|
-
}>();
|
|
13
|
-
|
|
14
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
15
|
-
modal: false,
|
|
16
|
-
isModalOpen: true
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
const modalState = computed({
|
|
20
|
-
get() {
|
|
21
|
-
return props.modal;
|
|
22
|
-
},
|
|
23
|
-
set(value) {
|
|
24
|
-
emit('update:modal', value);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
</script>
|
|
28
|
-
|
|
29
|
-
<template>
|
|
30
|
-
<v-dialog v-model:model-value="modalState">
|
|
31
|
-
<v-card class="pa-1 ma-auto position-relative motif-background card-bg-border" theme="dark" max-width="680">
|
|
32
|
-
<v-card-title class="text-center mb-4 mt-2 font-weight-bold">{{ demoLicenceTitle }}</v-card-title>
|
|
33
|
-
<v-card-text class="text-justify" v-for="subtitle in demoLicenceSubtitles" :key="subtitle"
|
|
34
|
-
>{{ subtitle }}
|
|
35
|
-
</v-card-text>
|
|
36
|
-
<v-card-actions class="mt-4">
|
|
37
|
-
<v-btn data-testid="close" color="red" @click="modalState = false" :disabled="!isModalOpen">
|
|
38
|
-
Continue with Demo
|
|
39
|
-
</v-btn>
|
|
40
|
-
<v-spacer />
|
|
41
|
-
<v-btn data-testid="confirm" variant="flat" color="success" @click="openUrl(SUPPORT_URL)">
|
|
42
|
-
Enquire about technical integration
|
|
43
|
-
</v-btn>
|
|
44
|
-
</v-card-actions>
|
|
45
|
-
</v-card>
|
|
46
|
-
</v-dialog>
|
|
47
|
-
</template>
|
|
48
|
-
|
|
49
|
-
<style scoped></style>
|